Skip to content

Commit

Permalink
Code format
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Sep 23, 2024
1 parent a20bd13 commit b33aa8a
Show file tree
Hide file tree
Showing 93 changed files with 247 additions and 239 deletions.
2 changes: 0 additions & 2 deletions api-generator/build-apidoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ async function main() {
let mergedDocs = {};

for (const key in doc) {

const parentKey = key.includes('style') ? key.replace(/style/g, '') : key.includes('.interface') ? key.split('.')[0] : key;

if (!mergedDocs[parentKey]) {
Expand Down Expand Up @@ -419,7 +418,6 @@ async function main() {
},
};
}

}

const typedocJSON = JSON.stringify(mergedDocs, null, 4);
Expand Down
3 changes: 1 addition & 2 deletions src/app/components/accordion/style/accordionstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,5 +160,4 @@ export enum AccordionClasses {
panel = 'p-accordionpanel',
}

export interface AccordionStyle extends BaseStyle {
}
export interface AccordionStyle extends BaseStyle {}
6 changes: 2 additions & 4 deletions src/app/components/autocomplete/style/autocompletestyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,7 @@ export enum AutoCompleteClasses {
/**
* Class name of the empty message element
*/
emptyMessage = 'p-autocomplete-empty-message'
}

export interface AutoCompleteStyle extends BaseStyle {
emptyMessage = 'p-autocomplete-empty-message',
}

export interface AutoCompleteStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/avatar/style/avatarstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,7 @@ export enum AvatarClasses {
/**
* Class name of the icon element
*/
icon = 'p-avatar-icon'
icon = 'p-avatar-icon',
}

export interface AvatarStyle extends BaseStyle {
}
export interface AvatarStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/avatargroup/style/avatargroupstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ export class AvatarGroupStyle extends BaseStyle {
*
*/
export enum AvatarGroupClasses {
root = 'p-avatar-group'
root = 'p-avatar-group',
}

export interface AvatarGroupStyle extends BaseStyle {
}
export interface AvatarGroupStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/badge/style/badgestyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ export enum BadgeClasses {
/**
* Class name of the root element
*/
root = 'p-badge'
root = 'p-badge',
}

export interface BadgeStyle extends BaseStyle {
}
export interface BadgeStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/blockui/style/blockuistyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ export enum BlockUIClasses {
/**
* Class name of the root element
*/
root = 'p-blockui'
root = 'p-blockui',
}

export interface BlockUIStyle extends BaseStyle {
}
export interface BlockUIStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/breadcrumb/style/breadcrumbstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ export enum BreadcrumbClasses {
/**
* Class name of the item label element
*/
itemLabel = 'p-breadcrumb-item-label'
itemLabel = 'p-breadcrumb-item-label',
}

export interface BreadcrumbStyle extends BaseStyle {
}
export interface BreadcrumbStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/button/style/buttonstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,7 @@ export enum ButtonClasses {
/**
* Class name of the label element
*/
label = 'p-button-label'
label = 'p-button-label',
}

export interface ButtonStyle extends BaseStyle {
}
export interface ButtonStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/buttongroup/style/buttongroupstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ export enum ButtonGroupClasses {
/**
* Class name of the root element
*/
root = 'p-buttongroup'
root = 'p-buttongroup',
}

export interface ButtonGroupStyle extends BaseStyle {
}
export interface ButtonGroupStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/card/style/cardstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ export enum CardClasses {
/**
* Class name of the footer element
*/
footer = 'p-card-footer'
footer = 'p-card-footer',
}

export interface CardStyle extends BaseStyle {
}
export interface CardStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/carousel/style/carouselstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,7 @@ export enum CarouselClasses {
/**
* Class name of the footer element
*/
footer = 'p-carousel-footer'
footer = 'p-carousel-footer',
}

export interface CarouselStyle extends BaseStyle {
}
export interface CarouselStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/cascadeselect/style/cascadeselectstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,7 @@ export enum CascadeSelectClasses {
/**
* Class name of the item list element
*/
itemList = 'p-cascadeselect-item-list'
itemList = 'p-cascadeselect-item-list',
}

export interface CascadeSelectStyle extends BaseStyle {
}
export interface CascadeSelectStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/checkbox/style/checkboxstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ export enum CheckboxClasses {
/**
* Class name of the icon element
*/
icon = 'p-checkbox-icon'
icon = 'p-checkbox-icon',
}

export interface CheckboxStyle extends BaseStyle {
}
export interface CheckboxStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/chip/style/chipstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@ export enum ChipClasses {
/**
* Class name of the remove icon element
*/
removeIcon = 'p-chip-remove-icon'
removeIcon = 'p-chip-remove-icon',
}

export interface ChipStyle extends BaseStyle {
}
export interface ChipStyle extends BaseStyle {}
2 changes: 1 addition & 1 deletion src/app/components/colorpicker/colorpicker.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';

@Component({
template: ` <p-colorpicker [(ngModel)]="color1"></p-colorPicker> `,
template: ` <p-colorpicker [(ngModel)]="color1"></p-colorpicker> `,
})
class TestColorPickerComponent {
color1: string = '#1976D2';
Expand Down
5 changes: 2 additions & 3 deletions src/app/components/colorpicker/style/colorpickerstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ export enum ColorPickerClasses {
/**
* Class name of the hue handle element
*/
hueHandle = 'p-colorpicker-hue-handle'
hueHandle = 'p-colorpicker-hue-handle',
}

export interface ColorPickerStyle extends BaseStyle {
}
export interface ColorPickerStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/confirmdialog/style/confirmdialogstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ export enum ConfirmDialogClasses {
/**
* Class name of the accept button element
*/
pcAcceptButton = 'p-confirmdialog-accept-button'
pcAcceptButton = 'p-confirmdialog-accept-button',
}

export interface ConfirmDialogStyle extends BaseStyle {
}
export interface ConfirmDialogStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/confirmpopup/style/confirmpopupstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ export enum ConfirmPopupClasses {
/**
* Class name of the accept button element
*/
pcAcceptButton = 'p-confirmpopup-accept-button'
pcAcceptButton = 'p-confirmpopup-accept-button',
}

export interface ConfirmPopupStyle extends BaseStyle {
}
export interface ConfirmPopupStyle extends BaseStyle {}
6 changes: 2 additions & 4 deletions src/app/components/contextmenu/style/contextmenustyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,7 @@ export enum ContextMenuClasses {
/**
* Class name of the separator element
*/
separator = 'p-contextmenu-separator'
}

export interface ContextMenuStyle extends BaseStyle {
separator = 'p-contextmenu-separator',
}

export interface ContextMenuStyle extends BaseStyle {}
6 changes: 2 additions & 4 deletions src/app/components/dataview/style/dataviewstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ export enum DataViewClasses {
/**
* Class name of the footer element
*/
footer = 'p-dataview-footer'
}

export interface DataViewStyle extends BaseStyle {
footer = 'p-dataview-footer',
}

export interface DataViewStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/datepicker/style/datepickerstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,7 @@ export enum DatePickerClasses {
/**
* Class name of the clear button element
*/
pcClearButton = 'p-datepicker-clear-button'
pcClearButton = 'p-datepicker-clear-button',
}

export interface DatePickerStyle extends BaseStyle {
}
export interface DatePickerStyle extends BaseStyle {}
6 changes: 2 additions & 4 deletions src/app/components/dialog/style/dialogstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,7 @@ export enum DialogClasses {
/**
* Class name of the footer element
*/
footer = 'p-dialog-footer'
}

export interface DialogStyle extends BaseStyle {
footer = 'p-dialog-footer',
}

export interface DialogStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/divider/style/dividerstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ export enum DividerClasses {
/**
* Class name of the content element
*/
content = 'p-divider-content'
content = 'p-divider-content',
}

export interface DividerStyle extends BaseStyle {
}
export interface DividerStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/dock/style/dockstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ export enum DockClasses {
/**
* Class name of the item icon element
*/
itemIcon = 'p-dock-item-icon'
itemIcon = 'p-dock-item-icon',
}

export interface DockStyle extends BaseStyle {
}
export interface DockStyle extends BaseStyle {}
5 changes: 2 additions & 3 deletions src/app/components/drawer/style/drawerstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,7 @@ export enum DrawerClasses {
/**
* Class name of the content element
*/
content = 'p-drawer-content'
content = 'p-drawer-content',
}

export interface DrawerStyle extends BaseStyle {
}
export interface DrawerStyle extends BaseStyle {}
3 changes: 1 addition & 2 deletions src/app/components/dropdown/style/dropdownstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,5 +271,4 @@ import type { SelectStyle } from 'primeng/select';

export enum DropdownClasses {}

export interface DropdownStyle extends SelectStyle {
}
export interface DropdownStyle extends SelectStyle {}
6 changes: 2 additions & 4 deletions src/app/components/dynamicdialog/style/dynamicdialogstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ export enum DynamicDialogClasses {
/**
* Class name of the footer element
*/
footer = 'p-dialog-footer'
}

export interface DynamicDialogStyle {
footer = 'p-dialog-footer',
}

export interface DynamicDialogStyle {}
3 changes: 1 addition & 2 deletions src/app/components/editor/style/editorstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1112,5 +1112,4 @@ export enum EditorClasses {
content = 'p-editor-content',
}

export interface EditorStyle extends BaseStyle {
}
export interface EditorStyle extends BaseStyle {}
3 changes: 1 addition & 2 deletions src/app/components/fieldset/style/fieldsetstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,5 +141,4 @@ export enum FieldsetClasses {
content = 'p-fieldset-content',
}

export interface FieldsetStyle extends BaseStyle {
}
export interface FieldsetStyle extends BaseStyle {}
3 changes: 1 addition & 2 deletions src/app/components/fileupload/style/fileuploadstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,4 @@ export enum FileUploadClasses {
pcFileRemoveButton = 'p-fileupload-file-remove-button',
}

export interface FileUploadStyle extends BaseStyle {
}
export interface FileUploadStyle extends BaseStyle {}
3 changes: 1 addition & 2 deletions src/app/components/floatlabel/style/floatlabelstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,4 @@ export enum FloatLabelClasses {
root = 'p-floatlabel',
}

export interface FloatLabelStyle extends BaseStyle {
}
export interface FloatLabelStyle extends BaseStyle {}
3 changes: 1 addition & 2 deletions src/app/components/fluid/style/fluidstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@ export enum FluidClasses {
root = 'p-fluid',
}

export interface FluidStyle extends BaseStyle {
}
export interface FluidStyle extends BaseStyle {}
3 changes: 1 addition & 2 deletions src/app/components/galleria/style/galleriastyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -628,5 +628,4 @@ export enum GalleriaClasses {
nextThumbnailIcon = 'p-galleria-thumbnail-next-icon',
}

export interface GalleriaStyle extends BaseStyle {
}
export interface GalleriaStyle extends BaseStyle {}
3 changes: 1 addition & 2 deletions src/app/components/iconfield/style/iconfieldstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,4 @@ export enum IconFieldClasses {
root = 'p-iconfield',
}

export interface IconFieldStyle extends BaseStyle {
}
export interface IconFieldStyle extends BaseStyle {}
3 changes: 1 addition & 2 deletions src/app/components/image/style/imagestyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,4 @@ export enum ImageClasses {
original = 'p-image-original',
}

export interface ImageStyle extends BaseStyle {
}
export interface ImageStyle extends BaseStyle {}
3 changes: 1 addition & 2 deletions src/app/components/inputtextarea/style/textareastyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,4 @@ export enum TextareaClasses {
root = 'p-textarea',
}

export interface TextareaStyle extends BaseStyle {
}
export interface TextareaStyle extends BaseStyle {}
2 changes: 1 addition & 1 deletion src/app/components/orderlist/orderlist.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CdkDragDrop, DragDropModule, moveItemInArray } from '@angular/cdk/drag-drop';
import { CommonModule,isPlatformBrowser } from '@angular/common';
import { CommonModule, isPlatformBrowser } from '@angular/common';
import {
AfterContentInit,
ChangeDetectionStrategy,
Expand Down
1 change: 0 additions & 1 deletion src/app/components/panel/style/panelstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ const theme = ({ dt }) => `
}
`;


const classes = {
root: ({ props }) => [
'p-panel p-component',
Expand Down
3 changes: 1 addition & 2 deletions src/app/components/scroller/style/scrollerstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,5 +100,4 @@ export enum ScrollerClasses {
loadingIcon = 'p-virtualscroller-loading-icon',
}

export interface ScrollerStyle extends BaseStyle {
}
export interface ScrollerStyle extends BaseStyle {}
3 changes: 1 addition & 2 deletions src/app/components/scrollpanel/style/scrollpanelstyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,4 @@ export enum ScrollPanelClasses {
barY = 'p-scrollpanel-bar-y',
}

export interface ScrollPanelStyle extends BaseStyle {
}
export interface ScrollPanelStyle extends BaseStyle {}
Loading

0 comments on commit b33aa8a

Please sign in to comment.