diff --git a/api-generator/build-apidoc.ts b/api-generator/build-apidoc.ts index 74f2dd2e735..ad34f3de605 100644 --- a/api-generator/build-apidoc.ts +++ b/api-generator/build-apidoc.ts @@ -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]) { @@ -419,7 +418,6 @@ async function main() { }, }; } - } const typedocJSON = JSON.stringify(mergedDocs, null, 4); diff --git a/src/app/components/accordion/style/accordionstyle.ts b/src/app/components/accordion/style/accordionstyle.ts index cac3dd4c889..c4a79291aae 100644 --- a/src/app/components/accordion/style/accordionstyle.ts +++ b/src/app/components/accordion/style/accordionstyle.ts @@ -160,5 +160,4 @@ export enum AccordionClasses { panel = 'p-accordionpanel', } -export interface AccordionStyle extends BaseStyle { -} +export interface AccordionStyle extends BaseStyle {} diff --git a/src/app/components/autocomplete/style/autocompletestyle.ts b/src/app/components/autocomplete/style/autocompletestyle.ts index 9a2d987890a..2cf7f76c45a 100644 --- a/src/app/components/autocomplete/style/autocompletestyle.ts +++ b/src/app/components/autocomplete/style/autocompletestyle.ts @@ -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 {} diff --git a/src/app/components/avatar/style/avatarstyle.ts b/src/app/components/avatar/style/avatarstyle.ts index b899389d175..02b654e29ae 100644 --- a/src/app/components/avatar/style/avatarstyle.ts +++ b/src/app/components/avatar/style/avatarstyle.ts @@ -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 {} diff --git a/src/app/components/avatargroup/style/avatargroupstyle.ts b/src/app/components/avatargroup/style/avatargroupstyle.ts index a25c4351235..6c4cb22a55c 100644 --- a/src/app/components/avatargroup/style/avatargroupstyle.ts +++ b/src/app/components/avatargroup/style/avatargroupstyle.ts @@ -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 {} diff --git a/src/app/components/badge/style/badgestyle.ts b/src/app/components/badge/style/badgestyle.ts index 7e820eb4d40..b746217b0c7 100644 --- a/src/app/components/badge/style/badgestyle.ts +++ b/src/app/components/badge/style/badgestyle.ts @@ -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 {} diff --git a/src/app/components/blockui/style/blockuistyle.ts b/src/app/components/blockui/style/blockuistyle.ts index 6f108a7cdf1..481960d5985 100644 --- a/src/app/components/blockui/style/blockuistyle.ts +++ b/src/app/components/blockui/style/blockuistyle.ts @@ -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 {} diff --git a/src/app/components/breadcrumb/style/breadcrumbstyle.ts b/src/app/components/breadcrumb/style/breadcrumbstyle.ts index d7f72e60656..f25dd0f494f 100644 --- a/src/app/components/breadcrumb/style/breadcrumbstyle.ts +++ b/src/app/components/breadcrumb/style/breadcrumbstyle.ts @@ -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 {} diff --git a/src/app/components/button/style/buttonstyle.ts b/src/app/components/button/style/buttonstyle.ts index 0a23138a2b4..2ad809ee7f1 100644 --- a/src/app/components/button/style/buttonstyle.ts +++ b/src/app/components/button/style/buttonstyle.ts @@ -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 {} diff --git a/src/app/components/buttongroup/style/buttongroupstyle.ts b/src/app/components/buttongroup/style/buttongroupstyle.ts index 7d2d990ea80..8ffea69713a 100644 --- a/src/app/components/buttongroup/style/buttongroupstyle.ts +++ b/src/app/components/buttongroup/style/buttongroupstyle.ts @@ -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 {} diff --git a/src/app/components/card/style/cardstyle.ts b/src/app/components/card/style/cardstyle.ts index da4b01b1b6e..afb3a42675b 100644 --- a/src/app/components/card/style/cardstyle.ts +++ b/src/app/components/card/style/cardstyle.ts @@ -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 {} diff --git a/src/app/components/carousel/style/carouselstyle.ts b/src/app/components/carousel/style/carouselstyle.ts index 5d4d186c4d4..87103968512 100644 --- a/src/app/components/carousel/style/carouselstyle.ts +++ b/src/app/components/carousel/style/carouselstyle.ts @@ -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 {} diff --git a/src/app/components/cascadeselect/style/cascadeselectstyle.ts b/src/app/components/cascadeselect/style/cascadeselectstyle.ts index 8b78cef0107..16b934e1b69 100644 --- a/src/app/components/cascadeselect/style/cascadeselectstyle.ts +++ b/src/app/components/cascadeselect/style/cascadeselectstyle.ts @@ -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 {} diff --git a/src/app/components/checkbox/style/checkboxstyle.ts b/src/app/components/checkbox/style/checkboxstyle.ts index a751d0b94ca..584f79ec5d6 100644 --- a/src/app/components/checkbox/style/checkboxstyle.ts +++ b/src/app/components/checkbox/style/checkboxstyle.ts @@ -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 {} diff --git a/src/app/components/chip/style/chipstyle.ts b/src/app/components/chip/style/chipstyle.ts index 4a2cb76c7c0..3ac1d4726bd 100644 --- a/src/app/components/chip/style/chipstyle.ts +++ b/src/app/components/chip/style/chipstyle.ts @@ -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 {} diff --git a/src/app/components/colorpicker/colorpicker.spec.ts b/src/app/components/colorpicker/colorpicker.spec.ts index 8d6d1f421c6..74525c072b8 100755 --- a/src/app/components/colorpicker/colorpicker.spec.ts +++ b/src/app/components/colorpicker/colorpicker.spec.ts @@ -6,7 +6,7 @@ import { Component } from '@angular/core'; import { FormsModule } from '@angular/forms'; @Component({ - template: ` `, + template: ` `, }) class TestColorPickerComponent { color1: string = '#1976D2'; diff --git a/src/app/components/colorpicker/style/colorpickerstyle.ts b/src/app/components/colorpicker/style/colorpickerstyle.ts index 46fd6c535f8..41970053c1a 100644 --- a/src/app/components/colorpicker/style/colorpickerstyle.ts +++ b/src/app/components/colorpicker/style/colorpickerstyle.ts @@ -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 {} diff --git a/src/app/components/confirmdialog/style/confirmdialogstyle.ts b/src/app/components/confirmdialog/style/confirmdialogstyle.ts index f4fc864e7cb..fbda2d19ba9 100644 --- a/src/app/components/confirmdialog/style/confirmdialogstyle.ts +++ b/src/app/components/confirmdialog/style/confirmdialogstyle.ts @@ -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 {} diff --git a/src/app/components/confirmpopup/style/confirmpopupstyle.ts b/src/app/components/confirmpopup/style/confirmpopupstyle.ts index a9e862630a6..8dcaae44592 100644 --- a/src/app/components/confirmpopup/style/confirmpopupstyle.ts +++ b/src/app/components/confirmpopup/style/confirmpopupstyle.ts @@ -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 {} diff --git a/src/app/components/contextmenu/style/contextmenustyle.ts b/src/app/components/contextmenu/style/contextmenustyle.ts index d5148cf28c4..b006ec22652 100644 --- a/src/app/components/contextmenu/style/contextmenustyle.ts +++ b/src/app/components/contextmenu/style/contextmenustyle.ts @@ -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 {} diff --git a/src/app/components/dataview/style/dataviewstyle.ts b/src/app/components/dataview/style/dataviewstyle.ts index 04d87afa051..122ee01a6c0 100644 --- a/src/app/components/dataview/style/dataviewstyle.ts +++ b/src/app/components/dataview/style/dataviewstyle.ts @@ -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 {} diff --git a/src/app/components/datepicker/style/datepickerstyle.ts b/src/app/components/datepicker/style/datepickerstyle.ts index 8b1b3e9fc86..d7e98b74387 100644 --- a/src/app/components/datepicker/style/datepickerstyle.ts +++ b/src/app/components/datepicker/style/datepickerstyle.ts @@ -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 {} diff --git a/src/app/components/dialog/style/dialogstyle.ts b/src/app/components/dialog/style/dialogstyle.ts index 00b8671e8b2..17bbd5e0832 100644 --- a/src/app/components/dialog/style/dialogstyle.ts +++ b/src/app/components/dialog/style/dialogstyle.ts @@ -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 {} diff --git a/src/app/components/divider/style/dividerstyle.ts b/src/app/components/divider/style/dividerstyle.ts index fd37e3c7590..84fae033e72 100644 --- a/src/app/components/divider/style/dividerstyle.ts +++ b/src/app/components/divider/style/dividerstyle.ts @@ -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 {} diff --git a/src/app/components/dock/style/dockstyle.ts b/src/app/components/dock/style/dockstyle.ts index c1bd2293f37..8258c42459f 100644 --- a/src/app/components/dock/style/dockstyle.ts +++ b/src/app/components/dock/style/dockstyle.ts @@ -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 {} diff --git a/src/app/components/drawer/style/drawerstyle.ts b/src/app/components/drawer/style/drawerstyle.ts index 38e8fb2fdc9..4000e314330 100644 --- a/src/app/components/drawer/style/drawerstyle.ts +++ b/src/app/components/drawer/style/drawerstyle.ts @@ -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 {} diff --git a/src/app/components/dropdown/style/dropdownstyle.ts b/src/app/components/dropdown/style/dropdownstyle.ts index 894efb55628..a0e513268e2 100644 --- a/src/app/components/dropdown/style/dropdownstyle.ts +++ b/src/app/components/dropdown/style/dropdownstyle.ts @@ -271,5 +271,4 @@ import type { SelectStyle } from 'primeng/select'; export enum DropdownClasses {} -export interface DropdownStyle extends SelectStyle { -} +export interface DropdownStyle extends SelectStyle {} diff --git a/src/app/components/dynamicdialog/style/dynamicdialogstyle.ts b/src/app/components/dynamicdialog/style/dynamicdialogstyle.ts index 4a0193b57c0..0eee8d1450a 100644 --- a/src/app/components/dynamicdialog/style/dynamicdialogstyle.ts +++ b/src/app/components/dynamicdialog/style/dynamicdialogstyle.ts @@ -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 {} diff --git a/src/app/components/editor/style/editorstyle.ts b/src/app/components/editor/style/editorstyle.ts index bff16a5a00e..22369e5c182 100644 --- a/src/app/components/editor/style/editorstyle.ts +++ b/src/app/components/editor/style/editorstyle.ts @@ -1112,5 +1112,4 @@ export enum EditorClasses { content = 'p-editor-content', } -export interface EditorStyle extends BaseStyle { -} +export interface EditorStyle extends BaseStyle {} diff --git a/src/app/components/fieldset/style/fieldsetstyle.ts b/src/app/components/fieldset/style/fieldsetstyle.ts index bbe2d1fa599..5b082d2e764 100644 --- a/src/app/components/fieldset/style/fieldsetstyle.ts +++ b/src/app/components/fieldset/style/fieldsetstyle.ts @@ -141,5 +141,4 @@ export enum FieldsetClasses { content = 'p-fieldset-content', } -export interface FieldsetStyle extends BaseStyle { -} +export interface FieldsetStyle extends BaseStyle {} diff --git a/src/app/components/fileupload/style/fileuploadstyle.ts b/src/app/components/fileupload/style/fileuploadstyle.ts index 657ff9c5341..5b1f6afa273 100644 --- a/src/app/components/fileupload/style/fileuploadstyle.ts +++ b/src/app/components/fileupload/style/fileuploadstyle.ts @@ -192,5 +192,4 @@ export enum FileUploadClasses { pcFileRemoveButton = 'p-fileupload-file-remove-button', } -export interface FileUploadStyle extends BaseStyle { -} +export interface FileUploadStyle extends BaseStyle {} diff --git a/src/app/components/floatlabel/style/floatlabelstyle.ts b/src/app/components/floatlabel/style/floatlabelstyle.ts index 7169fdcbae4..e6494aeb083 100644 --- a/src/app/components/floatlabel/style/floatlabelstyle.ts +++ b/src/app/components/floatlabel/style/floatlabelstyle.ts @@ -96,5 +96,4 @@ export enum FloatLabelClasses { root = 'p-floatlabel', } -export interface FloatLabelStyle extends BaseStyle { -} +export interface FloatLabelStyle extends BaseStyle {} diff --git a/src/app/components/fluid/style/fluidstyle.ts b/src/app/components/fluid/style/fluidstyle.ts index c3bfc58ec3e..97b06eb3d81 100644 --- a/src/app/components/fluid/style/fluidstyle.ts +++ b/src/app/components/fluid/style/fluidstyle.ts @@ -36,5 +36,4 @@ export enum FluidClasses { root = 'p-fluid', } -export interface FluidStyle extends BaseStyle { -} +export interface FluidStyle extends BaseStyle {} diff --git a/src/app/components/galleria/style/galleriastyle.ts b/src/app/components/galleria/style/galleriastyle.ts index 78eda2e5ea5..ac09880c5c3 100644 --- a/src/app/components/galleria/style/galleriastyle.ts +++ b/src/app/components/galleria/style/galleriastyle.ts @@ -628,5 +628,4 @@ export enum GalleriaClasses { nextThumbnailIcon = 'p-galleria-thumbnail-next-icon', } -export interface GalleriaStyle extends BaseStyle { -} +export interface GalleriaStyle extends BaseStyle {} diff --git a/src/app/components/iconfield/style/iconfieldstyle.ts b/src/app/components/iconfield/style/iconfieldstyle.ts index f7e4d6f9981..ef2701fb966 100644 --- a/src/app/components/iconfield/style/iconfieldstyle.ts +++ b/src/app/components/iconfield/style/iconfieldstyle.ts @@ -70,5 +70,4 @@ export enum IconFieldClasses { root = 'p-iconfield', } -export interface IconFieldStyle extends BaseStyle { -} +export interface IconFieldStyle extends BaseStyle {} diff --git a/src/app/components/image/style/imagestyle.ts b/src/app/components/image/style/imagestyle.ts index b3993a83af6..00812b7cf96 100644 --- a/src/app/components/image/style/imagestyle.ts +++ b/src/app/components/image/style/imagestyle.ts @@ -217,5 +217,4 @@ export enum ImageClasses { original = 'p-image-original', } -export interface ImageStyle extends BaseStyle { -} +export interface ImageStyle extends BaseStyle {} diff --git a/src/app/components/inputtextarea/style/textareastyle.ts b/src/app/components/inputtextarea/style/textareastyle.ts index a0ae48b5f31..ac15052413f 100644 --- a/src/app/components/inputtextarea/style/textareastyle.ts +++ b/src/app/components/inputtextarea/style/textareastyle.ts @@ -109,5 +109,4 @@ export enum TextareaClasses { root = 'p-textarea', } -export interface TextareaStyle extends BaseStyle { -} +export interface TextareaStyle extends BaseStyle {} diff --git a/src/app/components/orderlist/orderlist.ts b/src/app/components/orderlist/orderlist.ts index 2904d148ee4..d637547dfff 100755 --- a/src/app/components/orderlist/orderlist.ts +++ b/src/app/components/orderlist/orderlist.ts @@ -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, diff --git a/src/app/components/panel/style/panelstyle.ts b/src/app/components/panel/style/panelstyle.ts index 4ea2522332a..9aa6beb595f 100644 --- a/src/app/components/panel/style/panelstyle.ts +++ b/src/app/components/panel/style/panelstyle.ts @@ -49,7 +49,6 @@ const theme = ({ dt }) => ` } `; - const classes = { root: ({ props }) => [ 'p-panel p-component', diff --git a/src/app/components/scroller/style/scrollerstyle.ts b/src/app/components/scroller/style/scrollerstyle.ts index e2814acd6fc..fa8e8259e0e 100644 --- a/src/app/components/scroller/style/scrollerstyle.ts +++ b/src/app/components/scroller/style/scrollerstyle.ts @@ -100,5 +100,4 @@ export enum ScrollerClasses { loadingIcon = 'p-virtualscroller-loading-icon', } -export interface ScrollerStyle extends BaseStyle { -} +export interface ScrollerStyle extends BaseStyle {} diff --git a/src/app/components/scrollpanel/style/scrollpanelstyle.ts b/src/app/components/scrollpanel/style/scrollpanelstyle.ts index 4cba844044a..2b794b7410b 100644 --- a/src/app/components/scrollpanel/style/scrollpanelstyle.ts +++ b/src/app/components/scrollpanel/style/scrollpanelstyle.ts @@ -117,5 +117,4 @@ export enum ScrollPanelClasses { barY = 'p-scrollpanel-bar-y', } -export interface ScrollPanelStyle extends BaseStyle { -} +export interface ScrollPanelStyle extends BaseStyle {} diff --git a/src/app/components/scrolltop/style/scrolltopstyle.ts b/src/app/components/scrolltop/style/scrolltopstyle.ts index 6781286a3f7..b18bc0cd08b 100644 --- a/src/app/components/scrolltop/style/scrolltopstyle.ts +++ b/src/app/components/scrolltop/style/scrolltopstyle.ts @@ -70,5 +70,4 @@ export enum ScrollTopClasses { icon = 'p-scrolltop-icon', } -export interface ScrollTopStyle extends BaseStyle { -} +export interface ScrollTopStyle extends BaseStyle {} diff --git a/src/app/components/select/select.ts b/src/app/components/select/select.ts index b937a608030..ff2fb2ab3e3 100755 --- a/src/app/components/select/select.ts +++ b/src/app/components/select/select.ts @@ -702,7 +702,7 @@ export class Select extends BaseComponent implements OnInit, AfterViewInit, Afte * Fields used when filtering the options, defaults to optionLabel. * @group Props */ - @Input({ transform: booleanAttribute }) focusOnHover: boolean = true + @Input({ transform: booleanAttribute }) focusOnHover: boolean = true; /** * Determines if the option will be selected on focus. * @group Props diff --git a/src/app/components/select/style/selectstyle.ts b/src/app/components/select/style/selectstyle.ts index 3da39efb313..8bd37c6ef3d 100644 --- a/src/app/components/select/style/selectstyle.ts +++ b/src/app/components/select/style/selectstyle.ts @@ -342,5 +342,4 @@ export enum SelectClasses { emptyMessage = 'p-select-empty-message', } -export interface SelectStyle extends BaseStyle { -} +export interface SelectStyle extends BaseStyle {} diff --git a/src/app/components/selectbutton/style/selectbuttonstyle.ts b/src/app/components/selectbutton/style/selectbuttonstyle.ts index a595b83fb80..5e798435562 100644 --- a/src/app/components/selectbutton/style/selectbuttonstyle.ts +++ b/src/app/components/selectbutton/style/selectbuttonstyle.ts @@ -68,8 +68,7 @@ export enum SelectButtonClasses { /** * Class name of the root element */ - root = 'p-selectbutton' + root = 'p-selectbutton', } -export interface SelectButtonStyle extends BaseStyle { -} +export interface SelectButtonStyle extends BaseStyle {} diff --git a/src/app/components/skeleton/style/skeletonstyle.ts b/src/app/components/skeleton/style/skeletonstyle.ts index 9f0014caee4..ece1083938d 100644 --- a/src/app/components/skeleton/style/skeletonstyle.ts +++ b/src/app/components/skeleton/style/skeletonstyle.ts @@ -77,8 +77,7 @@ export enum SkeletonClasses { /** * Class name of the root element */ - root = 'p-skeleton' + root = 'p-skeleton', } -export interface SkeletonStyle extends BaseStyle { -} +export interface SkeletonStyle extends BaseStyle {} diff --git a/src/app/components/slider/style/sliderstyle.ts b/src/app/components/slider/style/sliderstyle.ts index 13d65105328..b880c9bb672 100644 --- a/src/app/components/slider/style/sliderstyle.ts +++ b/src/app/components/slider/style/sliderstyle.ts @@ -140,8 +140,7 @@ export enum SliderClasses { /** * Class name of the handle element */ - handle = 'p-slider-handle' + handle = 'p-slider-handle', } -export interface SliderStyle extends BaseStyle { -} +export interface SliderStyle extends BaseStyle {} diff --git a/src/app/components/speeddial/style/speeddialstyle.ts b/src/app/components/speeddial/style/speeddialstyle.ts index 53cf479517b..93062339e25 100644 --- a/src/app/components/speeddial/style/speeddialstyle.ts +++ b/src/app/components/speeddial/style/speeddialstyle.ts @@ -182,8 +182,7 @@ export enum SpeedDialClasses { /** * Class name of the mask element */ - mask = 'p-speeddial-mask' + mask = 'p-speeddial-mask', } -export interface SpeedDialStyle extends BaseStyle { -} +export interface SpeedDialStyle extends BaseStyle {} diff --git a/src/app/components/splitbutton/style/splitbuttonstyle.ts b/src/app/components/splitbutton/style/splitbuttonstyle.ts index 11fc665335c..c3cc748d285 100644 --- a/src/app/components/splitbutton/style/splitbuttonstyle.ts +++ b/src/app/components/splitbutton/style/splitbuttonstyle.ts @@ -95,8 +95,7 @@ export enum SplitButtonClasses { /** * Class name of the dropdown element */ - pcDropdown = 'p-splitbutton-dropdown' + pcDropdown = 'p-splitbutton-dropdown', } -export interface SplitButtonStyle extends BaseStyle { -} +export interface SplitButtonStyle extends BaseStyle {} diff --git a/src/app/components/splitter/style/splitterstyle.ts b/src/app/components/splitter/style/splitterstyle.ts index a9028213271..4fb47daf6b5 100644 --- a/src/app/components/splitter/style/splitterstyle.ts +++ b/src/app/components/splitter/style/splitterstyle.ts @@ -123,8 +123,7 @@ export enum SplitterClasses { /** * Class name of the gutter handle element */ - gutterHandle = 'p-splitter-gutter-handle' + gutterHandle = 'p-splitter-gutter-handle', } -export interface SplitterStyle extends BaseStyle { -} +export interface SplitterStyle extends BaseStyle {} diff --git a/src/app/components/stepper/style/stepperstyle.ts b/src/app/components/stepper/style/stepperstyle.ts index 9aa89e46e75..ff5deb93110 100644 --- a/src/app/components/stepper/style/stepperstyle.ts +++ b/src/app/components/stepper/style/stepperstyle.ts @@ -225,8 +225,7 @@ export enum StepperClasses { /** * Class name of the separator element */ - separator = 'p-stepper-separator' + separator = 'p-stepper-separator', } -export interface StepperStyle extends BaseStyle { -} +export interface StepperStyle extends BaseStyle {} diff --git a/src/app/components/steps/style/stepsstyle.ts b/src/app/components/steps/style/stepsstyle.ts index ae2368c29fb..dcc42c23e00 100644 --- a/src/app/components/steps/style/stepsstyle.ts +++ b/src/app/components/steps/style/stepsstyle.ts @@ -174,8 +174,7 @@ export enum StepsClasses { /** * Class name of the item label element */ - itemLabel = 'p-steps-item-label' + itemLabel = 'p-steps-item-label', } -export interface StepsStyle extends BaseStyle { -} +export interface StepsStyle extends BaseStyle {} diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index e5fb229bdf4..760077d5d4c 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -3472,7 +3472,12 @@ export class TableBody implements AfterViewInit, OnDestroy { } } - constructor(public dt: Table, public tableService: TableService, public cd: ChangeDetectorRef, public el: ElementRef) { + constructor( + public dt: Table, + public tableService: TableService, + public cd: ChangeDetectorRef, + public el: ElementRef, + ) { this.subscription = this.dt.tableService.valueSource$.subscribe(() => { if (this.dt.virtualScroll) { this.cd.detectChanges(); @@ -3598,7 +3603,10 @@ export class FrozenColumn implements AfterViewInit { @Input() alignFrozen: string = 'left'; - constructor(private el: ElementRef, private zone: NgZone) {} + constructor( + private el: ElementRef, + private zone: NgZone, + ) {} ngAfterViewInit() { this.zone.runOutsideAngular(() => { @@ -3753,7 +3761,10 @@ export class SortIcon implements OnInit, OnDestroy { sortOrder: number | undefined; - constructor(public dt: Table, public cd: ChangeDetectorRef) { + constructor( + public dt: Table, + public cd: ChangeDetectorRef, + ) { this.subscription = this.dt.tableService.sortSource$.subscribe((sortMeta) => { this.updateSortState(); }); @@ -3832,7 +3843,11 @@ export class SelectableRow implements OnInit, OnDestroy { subscription: Subscription | undefined; - constructor(public dt: Table, public tableService: TableService, private el: ElementRef) { + constructor( + public dt: Table, + public tableService: TableService, + private el: ElementRef, + ) { if (this.isEnabled()) { this.subscription = this.dt.tableService.selectionSource$.subscribe(() => { this.selected = this.dt.isSelected(this.data); @@ -4083,7 +4098,10 @@ export class SelectableRowDblClick implements OnInit, OnDestroy { subscription: Subscription | undefined; - constructor(public dt: Table, public tableService: TableService) { + constructor( + public dt: Table, + public tableService: TableService, + ) { if (this.isEnabled()) { this.subscription = this.dt.tableService.selectionSource$.subscribe(() => { this.selected = this.dt.isSelected(this.data); @@ -4137,7 +4155,11 @@ export class ContextMenuRow { subscription: Subscription | undefined; - constructor(public dt: Table, public tableService: TableService, private el: ElementRef) { + constructor( + public dt: Table, + public tableService: TableService, + private el: ElementRef, + ) { if (this.isEnabled()) { this.subscription = this.dt.tableService.contextMenuSource$.subscribe((data) => { this.selected = this.dt.equals(this.data, data); @@ -4446,7 +4468,11 @@ export class EditableColumn implements OnChanges, AfterViewInit, OnDestroy { overlayEventListener: any; - constructor(public dt: Table, public el: ElementRef, public zone: NgZone) {} + constructor( + public dt: Table, + public el: ElementRef, + public zone: NgZone, + ) {} public ngOnChanges(changes: SimpleChanges): void { if (this.el.nativeElement && !changes.data?.firstChange) { @@ -4793,7 +4819,10 @@ export class EditableRow { }, }) export class InitEditableRow { - constructor(public dt: Table, public editableRow: EditableRow) {} + constructor( + public dt: Table, + public editableRow: EditableRow, + ) {} @HostListener('click', ['$event']) onClick(event: Event) { @@ -4809,7 +4838,10 @@ export class InitEditableRow { }, }) export class SaveEditableRow { - constructor(public dt: Table, public editableRow: EditableRow) {} + constructor( + public dt: Table, + public editableRow: EditableRow, + ) {} @HostListener('click', ['$event']) onClick(event: Event) { @@ -4825,7 +4857,10 @@ export class SaveEditableRow { }, }) export class CancelEditableRow { - constructor(public dt: Table, public editableRow: EditableRow) {} + constructor( + public dt: Table, + public editableRow: EditableRow, + ) {} @HostListener('click', ['$event']) onClick(event: Event) { @@ -4853,7 +4888,11 @@ export class CellEditor implements AfterContentInit { outputTemplate: Nullable>; - constructor(public dt: Table, @Optional() public editableColumn: EditableColumn, @Optional() public editableRow: EditableRow) {} + constructor( + public dt: Table, + @Optional() public editableColumn: EditableColumn, + @Optional() public editableRow: EditableRow, + ) {} ngAfterContentInit() { (this.templates as QueryList).forEach((item) => { @@ -4916,7 +4955,10 @@ export class TableRadioButton { subscription: Subscription; - constructor(public dt: Table, public cd: ChangeDetectorRef) { + constructor( + public dt: Table, + public cd: ChangeDetectorRef, + ) { this.subscription = this.dt.tableService.selectionSource$.subscribe(() => { this.checked = this.dt.isSelected(this.value); @@ -4991,7 +5033,11 @@ export class TableCheckbox { subscription: Subscription; - constructor(public dt: Table, public tableService: TableService, public cd: ChangeDetectorRef) { + constructor( + public dt: Table, + public tableService: TableService, + public cd: ChangeDetectorRef, + ) { this.subscription = this.dt.tableService.selectionSource$.subscribe(() => { this.checked = this.dt.isSelected(this.value) && !this.disabled; this.ariaLabel = @@ -5067,7 +5113,11 @@ export class TableHeaderCheckbox { valueChangeSubscription: Subscription; - constructor(public dt: Table, public tableService: TableService, public cd: ChangeDetectorRef) { + constructor( + public dt: Table, + public tableService: TableService, + public cd: ChangeDetectorRef, + ) { this.valueChangeSubscription = this.dt.tableService.valueSource$.subscribe(() => { this.checked = this.updateCheckedState(); this.ariaLabel = @@ -5174,7 +5224,12 @@ export class ReorderableRow implements AfterViewInit { dropListener: VoidListener; - constructor(private renderer: Renderer2, public dt: Table, public el: ElementRef, public zone: NgZone) {} + constructor( + private renderer: Renderer2, + public dt: Table, + public el: ElementRef, + public zone: NgZone, + ) {} ngAfterViewInit() { if (this.isEnabled()) { @@ -6316,7 +6371,10 @@ export class ColumnFilterFormElement implements OnInit { filterCallback: any; - constructor(public dt: Table, private colFilter: ColumnFilter) {} + constructor( + public dt: Table, + private colFilter: ColumnFilter, + ) {} ngOnInit() { this.filterCallback = (value: any) => { diff --git a/src/app/components/tabmenu/style/tabmenustyle.ts b/src/app/components/tabmenu/style/tabmenustyle.ts index 679769c76a9..9d9b768d248 100644 --- a/src/app/components/tabmenu/style/tabmenustyle.ts +++ b/src/app/components/tabmenu/style/tabmenustyle.ts @@ -185,8 +185,7 @@ export enum TabMenuClasses { /** * Class name of the inkbar element */ - inkbar = 'p-tabmenu-ink-bar' + inkbar = 'p-tabmenu-ink-bar', } -export interface TabMenuStyle extends BaseStyle { -} +export interface TabMenuStyle extends BaseStyle {} diff --git a/src/app/components/tabs/style/tabsstyle.ts b/src/app/components/tabs/style/tabsstyle.ts index 4c4210754aa..d639eeb1823 100644 --- a/src/app/components/tabs/style/tabsstyle.ts +++ b/src/app/components/tabs/style/tabsstyle.ts @@ -210,6 +210,4 @@ export enum TabsClasses { tabpanel = 'p-tabs-panel', } -export interface TabsStyle extends BaseStyle { -} - +export interface TabsStyle extends BaseStyle {} diff --git a/src/app/components/tabview/style/tabsstyle.ts b/src/app/components/tabview/style/tabsstyle.ts index 1ee5048f76b..dce08a6fae3 100644 --- a/src/app/components/tabview/style/tabsstyle.ts +++ b/src/app/components/tabview/style/tabsstyle.ts @@ -210,5 +210,4 @@ export enum TabViewClasses { tabpanel = 'p-tabs-panel', } -export interface TabViewStyle extends BaseStyle { -} +export interface TabViewStyle extends BaseStyle {} diff --git a/src/app/components/tag/style/tagstyle.ts b/src/app/components/tag/style/tagstyle.ts index 27e114542a0..2c983a5cd2c 100644 --- a/src/app/components/tag/style/tagstyle.ts +++ b/src/app/components/tag/style/tagstyle.ts @@ -103,8 +103,7 @@ export enum TagClasses { /** * Class name of the label element */ - label = 'p-tag-label' + label = 'p-tag-label', } -export interface TagStyle extends BaseStyle { -} +export interface TagStyle extends BaseStyle {} diff --git a/src/app/components/terminal/style/terminalstyle.ts b/src/app/components/terminal/style/terminalstyle.ts index 27d79c942ae..69ab87b20b7 100644 --- a/src/app/components/terminal/style/terminalstyle.ts +++ b/src/app/components/terminal/style/terminalstyle.ts @@ -108,8 +108,7 @@ export enum TerminalClasses { /** * Class name of the prompt value element */ - promptValue = 'p-terminal-prompt-value' + promptValue = 'p-terminal-prompt-value', } -export interface TerminalStyle extends BaseStyle { -} +export interface TerminalStyle extends BaseStyle {} diff --git a/src/app/components/textarea/style/textareastyle.ts b/src/app/components/textarea/style/textareastyle.ts index 877063e808f..e60f2fb8ad3 100644 --- a/src/app/components/textarea/style/textareastyle.ts +++ b/src/app/components/textarea/style/textareastyle.ts @@ -105,8 +105,7 @@ export enum TextareaClasses { /** * Class name of the root element */ - root = 'p-textarea' + root = 'p-textarea', } -export interface TextareaStyle extends BaseStyle { -} +export interface TextareaStyle extends BaseStyle {} diff --git a/src/app/components/tieredmenu/style/tieredmenustyle.ts b/src/app/components/tieredmenu/style/tieredmenustyle.ts index 63cec86605d..f258497d5cd 100644 --- a/src/app/components/tieredmenu/style/tieredmenustyle.ts +++ b/src/app/components/tieredmenu/style/tieredmenustyle.ts @@ -227,8 +227,7 @@ export enum TieredMenuClasses { /** * Class name of the end element */ - end = 'p-tieredmenu-end' + end = 'p-tieredmenu-end', } -export interface TieredMenuStyle extends BaseStyle { -} +export interface TieredMenuStyle extends BaseStyle {} diff --git a/src/app/components/timeline/style/timelinestyle.ts b/src/app/components/timeline/style/timelinestyle.ts index 480aa188cc1..a944af4c07f 100644 --- a/src/app/components/timeline/style/timelinestyle.ts +++ b/src/app/components/timeline/style/timelinestyle.ts @@ -211,8 +211,7 @@ export enum TimelineClasses { /** * Class name of the event content element */ - eventContent = 'p-timeline-event-content' + eventContent = 'p-timeline-event-content', } -export interface TimelineStyle extends BaseStyle { -} +export interface TimelineStyle extends BaseStyle {} diff --git a/src/app/components/toast/style/toaststyle.ts b/src/app/components/toast/style/toaststyle.ts index dbff558fe33..28b5c48c1f8 100644 --- a/src/app/components/toast/style/toaststyle.ts +++ b/src/app/components/toast/style/toaststyle.ts @@ -355,8 +355,7 @@ export enum ToastClasses { /** * Class name of the close icon element */ - closeIcon = 'p-toast-close-icon' + closeIcon = 'p-toast-close-icon', } -export interface ToastStyle extends BaseStyle { -} +export interface ToastStyle extends BaseStyle {} diff --git a/src/app/components/togglebutton/style/togglebuttonstyle.ts b/src/app/components/togglebutton/style/togglebuttonstyle.ts index 13fce0f21c9..792cfc85bfc 100644 --- a/src/app/components/togglebutton/style/togglebuttonstyle.ts +++ b/src/app/components/togglebutton/style/togglebuttonstyle.ts @@ -157,8 +157,7 @@ export enum ToggleButtonClasses { /** * Class name of the label element */ - label = 'p-togglebutton-label' + label = 'p-togglebutton-label', } -export interface ToggleButtonStyle extends BaseStyle { -} +export interface ToggleButtonStyle extends BaseStyle {} diff --git a/src/app/components/toggleswitch/style/toggleswitchstyle.ts b/src/app/components/toggleswitch/style/toggleswitchstyle.ts index b58498f2268..3c686b2b65c 100644 --- a/src/app/components/toggleswitch/style/toggleswitchstyle.ts +++ b/src/app/components/toggleswitch/style/toggleswitchstyle.ts @@ -154,8 +154,7 @@ export enum ToggleSwitchClasses { /** * Class name of the slider element */ - slider = 'p-toggleswitch-slider' + slider = 'p-toggleswitch-slider', } -export interface ToggleSwitchStyle extends BaseStyle { -} +export interface ToggleSwitchStyle extends BaseStyle {} diff --git a/src/app/components/toolbar/style/toolbarstyle.ts b/src/app/components/toolbar/style/toolbarstyle.ts index 9268a41f903..ea320ec4f8b 100644 --- a/src/app/components/toolbar/style/toolbarstyle.ts +++ b/src/app/components/toolbar/style/toolbarstyle.ts @@ -64,8 +64,7 @@ export enum ToolbarClasses { /** * Class name of the end element */ - end = 'p-toolbar-end' + end = 'p-toolbar-end', } -export interface ToolbarStyle extends BaseStyle { -} +export interface ToolbarStyle extends BaseStyle {} diff --git a/src/app/components/tooltip/style/tooltipstyle.ts b/src/app/components/tooltip/style/tooltipstyle.ts index 261cdaf8017..3e3afb6792e 100644 --- a/src/app/components/tooltip/style/tooltipstyle.ts +++ b/src/app/components/tooltip/style/tooltipstyle.ts @@ -108,8 +108,7 @@ export enum TooltipClasses { /** * Class name of the text element */ - text = 'p-tooltip-text' + text = 'p-tooltip-text', } -export interface TooltipStyle extends BaseStyle { -} +export interface TooltipStyle extends BaseStyle {} diff --git a/src/app/components/tree/style/treestyle.ts b/src/app/components/tree/style/treestyle.ts index 800eddd6f6e..166c9c09bbd 100644 --- a/src/app/components/tree/style/treestyle.ts +++ b/src/app/components/tree/style/treestyle.ts @@ -317,8 +317,7 @@ export enum TreeClasses { /** * Class name of the node children element */ - nodeChildren = 'p-tree-node-children' + nodeChildren = 'p-tree-node-children', } -export interface TreeStyle extends BaseStyle { -} +export interface TreeStyle extends BaseStyle {} diff --git a/src/app/components/treeselect/style/treeselectstyle.ts b/src/app/components/treeselect/style/treeselectstyle.ts index 4cf2f025830..bbf34d8d0d0 100644 --- a/src/app/components/treeselect/style/treeselectstyle.ts +++ b/src/app/components/treeselect/style/treeselectstyle.ts @@ -239,8 +239,7 @@ export enum TreeSelectClasses { /** * Class name of the empty message element */ - emptyMessage = 'p-treeselect-empty-message' + emptyMessage = 'p-treeselect-empty-message', } -export interface TreeSelectStyle extends BaseStyle { -} +export interface TreeSelectStyle extends BaseStyle {} diff --git a/src/app/components/treetable/style/treetablestyle.ts b/src/app/components/treetable/style/treetablestyle.ts index 31ca5a53289..80beaf7dc13 100644 --- a/src/app/components/treetable/style/treetablestyle.ts +++ b/src/app/components/treetable/style/treetablestyle.ts @@ -618,8 +618,7 @@ export enum TreeTableClasses { /** * Class name of the column resize indicator element */ - columnResizeIndicator = 'p-treetable-column-resize-indicator' + columnResizeIndicator = 'p-treetable-column-resize-indicator', } -export interface TreeTableStyle extends BaseStyle { -} +export interface TreeTableStyle extends BaseStyle {} diff --git a/src/app/showcase/doc/carousel/basicdoc.ts b/src/app/showcase/doc/carousel/basicdoc.ts index 3054a4b60d5..407ae02db30 100644 --- a/src/app/showcase/doc/carousel/basicdoc.ts +++ b/src/app/showcase/doc/carousel/basicdoc.ts @@ -49,7 +49,10 @@ export class BasicDoc implements OnInit { responsiveOptions: any[] | undefined; - constructor(private productService: ProductService, private cdr: ChangeDetectorRef) {} + constructor( + private productService: ProductService, + private cdr: ChangeDetectorRef, + ) {} ngOnInit() { this.productService.getProductsSmall().then((products) => { diff --git a/src/app/showcase/doc/chart/doughnutdoc.ts b/src/app/showcase/doc/chart/doughnutdoc.ts index 0e6eae1f2b3..f5f1312a7cd 100644 --- a/src/app/showcase/doc/chart/doughnutdoc.ts +++ b/src/app/showcase/doc/chart/doughnutdoc.ts @@ -21,7 +21,7 @@ export class DoughnutDoc implements OnInit { data: any; options: any; - + platformId = inject(PLATFORM_ID); configService = inject(AppConfigService); @@ -35,7 +35,6 @@ export class DoughnutDoc implements OnInit { } }); - ngOnInit() { this.initChart(); } diff --git a/src/app/showcase/doc/chart/horizontalbardoc.ts b/src/app/showcase/doc/chart/horizontalbardoc.ts index 7b08b3a392d..7c2f342f7cd 100644 --- a/src/app/showcase/doc/chart/horizontalbardoc.ts +++ b/src/app/showcase/doc/chart/horizontalbardoc.ts @@ -19,7 +19,7 @@ export class HorizontalBarDoc implements OnInit { data: any; options: any; - + platformId = inject(PLATFORM_ID); configService = inject(AppConfigService); diff --git a/src/app/showcase/doc/chart/multiaxisdoc.ts b/src/app/showcase/doc/chart/multiaxisdoc.ts index ef8cd17bf5d..fc817c2bcef 100644 --- a/src/app/showcase/doc/chart/multiaxisdoc.ts +++ b/src/app/showcase/doc/chart/multiaxisdoc.ts @@ -1,5 +1,5 @@ import { isPlatformBrowser } from '@angular/common'; -import { ChangeDetectorRef, Component, effect, inject , OnInit, PLATFORM_ID } from '@angular/core'; +import { ChangeDetectorRef, Component, effect, inject, OnInit, PLATFORM_ID } from '@angular/core'; import { Code } from '@domain/code'; import { AppConfigService } from '@service/appconfigservice'; diff --git a/src/app/showcase/doc/chart/polarareadoc.ts b/src/app/showcase/doc/chart/polarareadoc.ts index 64aaab17f2f..1686210a468 100644 --- a/src/app/showcase/doc/chart/polarareadoc.ts +++ b/src/app/showcase/doc/chart/polarareadoc.ts @@ -38,7 +38,7 @@ export class PolarAreaDoc implements OnInit { ngOnInit() { this.initChart(); } - + initChart() { if (isPlatformBrowser(this.platformId)) { const documentStyle = getComputedStyle(document.documentElement); diff --git a/src/app/showcase/doc/chart/radardoc.ts b/src/app/showcase/doc/chart/radardoc.ts index 62084d0b194..c54fb394672 100644 --- a/src/app/showcase/doc/chart/radardoc.ts +++ b/src/app/showcase/doc/chart/radardoc.ts @@ -35,7 +35,6 @@ export class RadarDoc implements OnInit { } }); - ngOnInit() { this.initChart(); } diff --git a/src/app/showcase/doc/focustrap/focustrapdoc.module.ts b/src/app/showcase/doc/focustrap/focustrapdoc.module.ts index 9c4201add51..7ab049b6ef6 100644 --- a/src/app/showcase/doc/focustrap/focustrapdoc.module.ts +++ b/src/app/showcase/doc/focustrap/focustrapdoc.module.ts @@ -27,7 +27,7 @@ import { CheckboxModule } from 'primeng/checkbox'; FloatLabelModule, IconFieldModule, InputIconModule, - CheckboxModule + CheckboxModule, ], declarations: [ImportDoc, BasicDoc], exports: [AppDocModule], diff --git a/src/app/showcase/doc/inputnumber/importdoc.ts b/src/app/showcase/doc/inputnumber/importdoc.ts index 9c87d22bde5..45ca625dd64 100644 --- a/src/app/showcase/doc/inputnumber/importdoc.ts +++ b/src/app/showcase/doc/inputnumber/importdoc.ts @@ -9,4 +9,4 @@ export class ImportDoc { code: Code = { typescript: `import { InputNumberModule } from 'primeng/inputnumber';`, }; -} \ No newline at end of file +} diff --git a/src/app/showcase/doc/popover/popoverdoc.module.ts b/src/app/showcase/doc/popover/popoverdoc.module.ts index c6faf64bad3..dc7c64f9b89 100644 --- a/src/app/showcase/doc/popover/popoverdoc.module.ts +++ b/src/app/showcase/doc/popover/popoverdoc.module.ts @@ -33,7 +33,7 @@ import { SelectDataDoc } from './selectdatadoc'; InputGroupModule, InputGroupAddonModule, InputTextModule, - TagModule + TagModule, ], declarations: [BasicDoc, ImportDoc, StyleDoc, DataTableDoc, TemplateDoc, TargetDoc, SelectDataDoc, AccessibilityDoc], exports: [AppDocModule], diff --git a/src/app/showcase/doc/splitbutton/templatedoc.ts b/src/app/showcase/doc/splitbutton/templatedoc.ts index 0f04298c3ed..90a14eff39c 100644 --- a/src/app/showcase/doc/splitbutton/templatedoc.ts +++ b/src/app/showcase/doc/splitbutton/templatedoc.ts @@ -53,7 +53,6 @@ export class TemplateDoc { ]; } - save() { this.messageService.add({ severity: 'success', summary: 'Success', detail: 'Data Saved' }); } diff --git a/src/app/showcase/doc/table/filteradvanceddoc.ts b/src/app/showcase/doc/table/filteradvanceddoc.ts index 2a40e069173..c63e9cf78bb 100644 --- a/src/app/showcase/doc/table/filteradvanceddoc.ts +++ b/src/app/showcase/doc/table/filteradvanceddoc.ts @@ -179,10 +179,10 @@ import { CustomerService } from '../../service/customerservice'; {{ customer.representative.name }} - {{ customer.date | date : 'MM/dd/yyyy' }} + {{ customer.date | date: 'MM/dd/yyyy' }} - {{ customer.balance | currency : 'USD' : 'symbol' }} + {{ customer.balance | currency: 'USD' : 'symbol' }} @@ -225,7 +225,10 @@ export class FilterAdvancedDoc { activityValues: number[] = [0, 100]; - constructor(private customerService: CustomerService, private cd: ChangeDetectorRef) {} + constructor( + private customerService: CustomerService, + private cd: ChangeDetectorRef, + ) {} loadDemoData() { this.customerService.getCustomersLarge().then((customers) => { diff --git a/src/app/showcase/doc/table/productsdoc.ts b/src/app/showcase/doc/table/productsdoc.ts index 48cd45a2237..921adbc6625 100644 --- a/src/app/showcase/doc/table/productsdoc.ts +++ b/src/app/showcase/doc/table/productsdoc.ts @@ -95,7 +95,7 @@ import { ProductService } from '@service/productservice'; class="shadow-lg" /> - {{ product.price | currency : 'USD' }} + {{ product.price | currency: 'USD' }} {{ product.category }} diff --git a/src/app/showcase/doc/table/tabledoc.module.ts b/src/app/showcase/doc/table/tabledoc.module.ts index e5f9d335c3e..1a2cf169b67 100644 --- a/src/app/showcase/doc/table/tabledoc.module.ts +++ b/src/app/showcase/doc/table/tabledoc.module.ts @@ -120,7 +120,7 @@ import { TextareaModule } from 'primeng/textarea'; DeferredDemo, IconFieldModule, InputIconModule, - ToggleSwitchModule + ToggleSwitchModule, ], declarations: [ ImportDoc, diff --git a/src/app/showcase/doc/tree/treedoc.module.ts b/src/app/showcase/doc/tree/treedoc.module.ts index 38843db5389..ce209027914 100644 --- a/src/app/showcase/doc/tree/treedoc.module.ts +++ b/src/app/showcase/doc/tree/treedoc.module.ts @@ -35,7 +35,7 @@ import { ToggleSwitchModule } from 'primeng/toggleswitch'; FormsModule, ToastModule, ContextMenuModule, - ToggleSwitchModule + ToggleSwitchModule, ], exports: [AppDocModule], declarations: [ diff --git a/src/app/showcase/doc/treetable/treetabledoc.module.ts b/src/app/showcase/doc/treetable/treetabledoc.module.ts index 38a1a08880b..186141eed69 100644 --- a/src/app/showcase/doc/treetable/treetabledoc.module.ts +++ b/src/app/showcase/doc/treetable/treetabledoc.module.ts @@ -69,7 +69,7 @@ import { InputIconModule } from 'primeng/inputicon'; DeferredDemo, ToggleSwitchModule, IconFieldModule, - InputIconModule + InputIconModule, ], exports: [AppDocModule], declarations: [ diff --git a/src/app/showcase/layout/doc/app.docapitable.component.ts b/src/app/showcase/layout/doc/app.docapitable.component.ts index d03388d6c30..2f194116421 100644 --- a/src/app/showcase/layout/doc/app.docapitable.component.ts +++ b/src/app/showcase/layout/doc/app.docapitable.component.ts @@ -147,7 +147,7 @@ export class AppDocApiTable { public location: Location, private configService: AppConfigService, ) {} - + get isDarkMode(): boolean { return this.configService.appState().darkTheme; } diff --git a/src/app/showcase/layout/news/app.news.component.ts b/src/app/showcase/layout/news/app.news.component.ts index 7a0be8a2e08..889a4b049d2 100644 --- a/src/app/showcase/layout/news/app.news.component.ts +++ b/src/app/showcase/layout/news/app.news.component.ts @@ -17,7 +17,10 @@ export class AppNewsComponent { announcement: any; - constructor(private configService: AppConfigService, private cd: ChangeDetectorRef) { + constructor( + private configService: AppConfigService, + private cd: ChangeDetectorRef, + ) { afterNextRender(() => { const itemString = localStorage.getItem(this.storageKey); diff --git a/src/app/showcase/layout/templates/templatefeatures.ts b/src/app/showcase/layout/templates/templatefeatures.ts index d861a5a89b4..5dfe3075665 100644 --- a/src/app/showcase/layout/templates/templatefeatures.ts +++ b/src/app/showcase/layout/templates/templatefeatures.ts @@ -43,7 +43,11 @@ import { AppConfigService } from '../../service/appconfigservice';
- +

{{ data.title }}

{{ data.description }}

diff --git a/src/app/showcase/layout/templates/templatefeaturesanimation/templatefeaturesanimation.ts b/src/app/showcase/layout/templates/templatefeaturesanimation/templatefeaturesanimation.ts index 2f0a21cb294..8eee960b6d4 100644 --- a/src/app/showcase/layout/templates/templatefeaturesanimation/templatefeaturesanimation.ts +++ b/src/app/showcase/layout/templates/templatefeaturesanimation/templatefeaturesanimation.ts @@ -52,11 +52,15 @@ import { TemplateFeaturesAnimationInlineModule } from './templatefeaturesanimati > {{ (i + 1).toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false }) }}
-
{{ (i + 1).toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false }) }}
+
+ {{ (i + 1).toLocaleString('en-US', { minimumIntegerDigits: 2, useGrouping: false }) }} +
-
{{ data.title }}
-

{{ data.description }}

+
{{ data.title }}
+

+ {{ data.description }} +

@@ -71,7 +75,11 @@ import { TemplateFeaturesAnimationInlineModule } from './templatefeaturesanimati >
- Animation Feature Image + Animation Feature Image diff --git a/src/app/showcase/layout/templates/templatefeaturesanimation/templatefeaturesanimationinline.ts b/src/app/showcase/layout/templates/templatefeaturesanimation/templatefeaturesanimationinline.ts index 151365fbf68..8093d533bce 100644 --- a/src/app/showcase/layout/templates/templatefeaturesanimation/templatefeaturesanimationinline.ts +++ b/src/app/showcase/layout/templates/templatefeaturesanimation/templatefeaturesanimationinline.ts @@ -34,7 +34,11 @@ import { SharedModule } from 'primeng/api';
- Animation Inline Feature Image + Animation Inline Feature Image
`, diff --git a/src/app/showcase/layout/templates/templateseparator.ts b/src/app/showcase/layout/templates/templateseparator.ts index f0f21d192d3..da806ec46da 100644 --- a/src/app/showcase/layout/templates/templateseparator.ts +++ b/src/app/showcase/layout/templates/templateseparator.ts @@ -6,13 +6,15 @@ import { DividerModule } from 'primeng/divider'; @Component({ selector: 'template-separator', template: ` -
- -
- +
+ +
+ +
+
- -
`, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, diff --git a/src/app/showcase/pages/landing/herosection.component.ts b/src/app/showcase/pages/landing/herosection.component.ts index 9c22ea0ae72..db1cc941bb0 100644 --- a/src/app/showcase/pages/landing/herosection.component.ts +++ b/src/app/showcase/pages/landing/herosection.component.ts @@ -676,9 +676,7 @@ export class HeroSectionComponent implements OnInit, OnDestroy { { icon: 'pi pi-user', title: 'Customers' }, { icon: 'pi pi-video', title: 'Movies' }, ]; - this.sampleAppsSidebarNavsMore = [ - { icon: 'pi pi-cog', title: 'Settings' }, - ]; + this.sampleAppsSidebarNavsMore = [{ icon: 'pi pi-cog', title: 'Settings' }]; this.selectedSampleAppsSidebarNav = 'Overview'; this.selectButtonValue = { label: 'Styled', value: 1 }; diff --git a/src/app/showcase/pages/landing/samples/cardsapp.component.ts b/src/app/showcase/pages/landing/samples/cardsapp.component.ts index 1cec10c8b54..58d54202ba2 100644 --- a/src/app/showcase/pages/landing/samples/cardsapp.component.ts +++ b/src/app/showcase/pages/landing/samples/cardsapp.component.ts @@ -54,7 +54,7 @@ import { ToggleSwitchModule } from 'primeng/toggleswitch'; FileUploadModule, OverlayBadgeModule, CheckboxModule, - ToggleSwitchModule + ToggleSwitchModule, ], template: `
Cards
diff --git a/src/app/showcase/pages/templates/apollo/apollologo.ts b/src/app/showcase/pages/templates/apollo/apollologo.ts index cad1da569f7..80c4468c3cb 100644 --- a/src/app/showcase/pages/templates/apollo/apollologo.ts +++ b/src/app/showcase/pages/templates/apollo/apollologo.ts @@ -29,9 +29,9 @@ import { AppConfigService } from '@service/appconfigservice'; /> `, - host:{ - class:"h-8 lg:h-10 [&>svg]:h-full [&>svg]:w-auto select-none" - } + host: { + class: 'h-8 lg:h-10 [&>svg]:h-full [&>svg]:w-auto select-none', + }, }) export class ApolloLogo { configService = inject(AppConfigService);