diff --git a/src/app/showcase/doc/accordion/controlleddoc.ts b/src/app/showcase/doc/accordion/controlleddoc.ts index 23fed1e5605..45a4a4838ec 100644 --- a/src/app/showcase/doc/accordion/controlleddoc.ts +++ b/src/app/showcase/doc/accordion/controlleddoc.ts @@ -9,9 +9,9 @@ import { Code } from '@domain/code';
- - - + + +
diff --git a/src/app/showcase/doc/blockui/basicdoc.ts b/src/app/showcase/doc/blockui/basicdoc.ts index a887e6d750b..4960b7840f0 100644 --- a/src/app/showcase/doc/blockui/basicdoc.ts +++ b/src/app/showcase/doc/blockui/basicdoc.ts @@ -8,8 +8,8 @@ import { Code } from '@domain/code';

The element to block should be placed as a child of BlockUI and blocked property is required to control the state.

- - + + @@ -27,8 +27,8 @@ export class BasicDoc { blockedPanel: boolean = false; code: Code = { - basic: ` - + basic: ` + @@ -38,8 +38,8 @@ export class BasicDoc {

`, html: `
- - + + diff --git a/src/app/showcase/doc/blockui/documentdoc.ts b/src/app/showcase/doc/blockui/documentdoc.ts index 6de2294f34c..1bff24a86c6 100644 --- a/src/app/showcase/doc/blockui/documentdoc.ts +++ b/src/app/showcase/doc/blockui/documentdoc.ts @@ -9,7 +9,7 @@ import { Code } from '@domain/code';
- +
` @@ -31,7 +31,7 @@ export class DocumentDoc { basic: ``, html: `
- +
`, typescript: `import { Component, ChangeDetectorRef } from '@angular/core'; import { BlockUIModule } from 'primeng/blockui'; diff --git a/src/app/showcase/doc/confirmdialog/accessibilitydoc.ts b/src/app/showcase/doc/confirmdialog/accessibilitydoc.ts index 7883d13ad9b..564728499b9 100644 --- a/src/app/showcase/doc/confirmdialog/accessibilitydoc.ts +++ b/src/app/showcase/doc/confirmdialog/accessibilitydoc.ts @@ -83,7 +83,7 @@ this.confirmationService.confirm({ reject: () => rejectFunc() }); - + ` diff --git a/src/app/showcase/doc/confirmdialog/basicdoc.ts b/src/app/showcase/doc/confirmdialog/basicdoc.ts index 11136e20ed1..653ede91b19 100644 --- a/src/app/showcase/doc/confirmdialog/basicdoc.ts +++ b/src/app/showcase/doc/confirmdialog/basicdoc.ts @@ -11,8 +11,8 @@ import { Code } from '@domain/code';
- - + +
`, @@ -65,14 +65,14 @@ export class BasicDoc { code: Code = { basic: ` - -`, + +`, html: `
- - + +
`, typescript: `import { Component } from '@angular/core'; diff --git a/src/app/showcase/doc/confirmdialog/headlessdoc.ts b/src/app/showcase/doc/confirmdialog/headlessdoc.ts index 13ad0f111cf..46db10b5438 100644 --- a/src/app/showcase/doc/confirmdialog/headlessdoc.ts +++ b/src/app/showcase/doc/confirmdialog/headlessdoc.ts @@ -25,7 +25,7 @@ import { Code } from '@domain/code';
- +
`, @@ -79,7 +79,7 @@ export class HeadlessDoc {
-`, +`, html: `
@@ -110,7 +110,7 @@ export class HeadlessDoc {
- + `, typescript: `import { Component } from '@angular/core'; diff --git a/src/app/showcase/doc/confirmdialog/positiondoc.ts b/src/app/showcase/doc/confirmdialog/positiondoc.ts index cf7bb306ffc..09520037fc1 100644 --- a/src/app/showcase/doc/confirmdialog/positiondoc.ts +++ b/src/app/showcase/doc/confirmdialog/positiondoc.ts @@ -12,18 +12,18 @@ import { Code } from '@domain/code';
- - + +
- - - + + +
- - - + + +
diff --git a/src/app/showcase/doc/confirmdialog/templatedoc.ts b/src/app/showcase/doc/confirmdialog/templatedoc.ts index 7b2d6114cad..a3bbd9a7319 100644 --- a/src/app/showcase/doc/confirmdialog/templatedoc.ts +++ b/src/app/showcase/doc/confirmdialog/templatedoc.ts @@ -25,7 +25,7 @@ import { Code } from '@domain/code';
- + `, @@ -64,7 +64,7 @@ export class TemplateDoc { -`, +`, html: `
@@ -76,7 +76,7 @@ export class TemplateDoc {
- + `, typescript: `import { Component } from '@angular/core'; diff --git a/src/app/showcase/doc/confirmpopup/basicdoc.ts b/src/app/showcase/doc/confirmpopup/basicdoc.ts index 5cfd928d1e8..9ea2f447252 100644 --- a/src/app/showcase/doc/confirmpopup/basicdoc.ts +++ b/src/app/showcase/doc/confirmpopup/basicdoc.ts @@ -11,8 +11,8 @@ import { Code } from '@domain/code';
- - + +
`, diff --git a/src/app/showcase/doc/confirmpopup/headlessdoc.ts b/src/app/showcase/doc/confirmpopup/headlessdoc.ts index 0e699a378ec..586eb48ad31 100644 --- a/src/app/showcase/doc/confirmpopup/headlessdoc.ts +++ b/src/app/showcase/doc/confirmpopup/headlessdoc.ts @@ -15,13 +15,13 @@ import { ConfirmPopup } from 'primeng/confirmpopup';
{{ message.message }}
- - + +
- + `, @@ -63,13 +63,13 @@ export class HeadlessDoc {
{{ message.message }}
- - + +
-`, +`, html: `
@@ -78,13 +78,13 @@ export class HeadlessDoc {
{{ message.message }}
- - + +
- +
`, typescript: `import { Component, ViewChild } from '@angular/core'; diff --git a/src/app/showcase/doc/confirmpopup/templatedoc.ts b/src/app/showcase/doc/confirmpopup/templatedoc.ts index ea13c58805e..9a9adcba825 100644 --- a/src/app/showcase/doc/confirmpopup/templatedoc.ts +++ b/src/app/showcase/doc/confirmpopup/templatedoc.ts @@ -18,7 +18,7 @@ import { Code } from '@domain/code'; - + `, @@ -60,7 +60,7 @@ export class TemplateDoc { -`, +`, html: `
@@ -72,7 +72,7 @@ export class TemplateDoc {
- + `, typescript: `import { Component } from '@angular/core'; diff --git a/src/app/showcase/doc/dialog/basicdoc.ts b/src/app/showcase/doc/dialog/basicdoc.ts index 356dac0301a..2a523bc836e 100644 --- a/src/app/showcase/doc/dialog/basicdoc.ts +++ b/src/app/showcase/doc/dialog/basicdoc.ts @@ -9,7 +9,7 @@ import { Code } from '@domain/code'; >
- + Update your information.
@@ -21,8 +21,8 @@ import { Code } from '@domain/code';
- - + +
@@ -37,7 +37,7 @@ export class BasicDoc { } code: Code = { - basic: ` + basic: ` Update your information.
@@ -49,13 +49,13 @@ export class BasicDoc {
- - + +
`, html: `
- + Update your information.
@@ -67,8 +67,8 @@ export class BasicDoc {
- - + +
`, diff --git a/src/app/showcase/doc/dialog/headlessdoc.ts b/src/app/showcase/doc/dialog/headlessdoc.ts index 1811a95ece9..58de70721f2 100644 --- a/src/app/showcase/doc/dialog/headlessdoc.ts +++ b/src/app/showcase/doc/dialog/headlessdoc.ts @@ -8,7 +8,7 @@ import { Code } from '@domain/code';

Headless mode allows you to customize the entire user interface instead of the default elements.

- +
@@ -50,8 +50,8 @@ import { Code } from '@domain/code';
- - + +
@@ -72,7 +72,7 @@ export class HeadlessDoc { } code: Code = { - basic: ` + basic: `
@@ -114,15 +114,15 @@ export class HeadlessDoc {
- - + +
`, html: `
- +
@@ -164,8 +164,8 @@ export class HeadlessDoc {
- - + +
diff --git a/src/app/showcase/doc/dialog/longcontentdoc.ts b/src/app/showcase/doc/dialog/longcontentdoc.ts index d2826526828..00acaffea08 100644 --- a/src/app/showcase/doc/dialog/longcontentdoc.ts +++ b/src/app/showcase/doc/dialog/longcontentdoc.ts @@ -8,7 +8,7 @@ import { Code } from '@domain/code';

Dialog automatically displays a scroller when content exceeeds viewport.

- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo @@ -55,7 +55,7 @@ export class LongContentDoc { } code: Code = { - basic: ` + basic: ` `, html: `

- + Setting maximizable property to true enables the full screen mode.

- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo @@ -27,7 +27,7 @@ export class MaximizableDoc { } code: Code = { - basic: ` + basic: ` `, html: `

- + Mask layer behind the Dialog can be turned on by setting the modal property to true.

- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo @@ -27,7 +27,7 @@ export class ModalDoc { } code: Code = { - basic: ` + basic: `

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo @@ -37,7 +37,7 @@ export class ModalDoc { html: `

- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo diff --git a/src/app/showcase/doc/dialog/overlaysinsidedoc.ts b/src/app/showcase/doc/dialog/overlaysinsidedoc.ts index 9759a23585b..1b33c1a3cbd 100644 --- a/src/app/showcase/doc/dialog/overlaysinsidedoc.ts +++ b/src/app/showcase/doc/dialog/overlaysinsidedoc.ts @@ -16,7 +16,7 @@ interface City {

- +
@@ -48,7 +48,7 @@ export class OverlaysInsideDoc implements OnInit { } code: Code = { - basic: ` + basic: `
@@ -57,7 +57,7 @@ export class OverlaysInsideDoc implements OnInit { html: `
- +
diff --git a/src/app/showcase/doc/dialog/positiondoc.ts b/src/app/showcase/doc/dialog/positiondoc.ts index 3564dba290f..6a4c833aaf1 100644 --- a/src/app/showcase/doc/dialog/positiondoc.ts +++ b/src/app/showcase/doc/dialog/positiondoc.ts @@ -9,18 +9,18 @@ import { Code } from '@domain/code';
- - + +
- - - + + +
- - - + + +
Update your information. @@ -33,8 +33,8 @@ import { Code } from '@domain/code';
- - + +
@@ -54,46 +54,46 @@ export class PositionDoc { code: Code = { basic: `
@@ -120,54 +120,54 @@ export class PositionDoc {
- - + +
`, html: `
@@ -194,8 +194,8 @@ export class PositionDoc {
- - + +
`, diff --git a/src/app/showcase/doc/dialog/responsivedoc.ts b/src/app/showcase/doc/dialog/responsivedoc.ts index 03f3ada34d2..b85e2506c2f 100644 --- a/src/app/showcase/doc/dialog/responsivedoc.ts +++ b/src/app/showcase/doc/dialog/responsivedoc.ts @@ -11,7 +11,7 @@ import { Code } from '@domain/code';

- +

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo @@ -30,7 +30,7 @@ export class ResponsiveDoc { } code: Code = { - basic: ` + basic: ` `, html: `

- + Dialog can be customized using header and footer templates.

- +
@@ -26,8 +26,8 @@ import { Code } from '@domain/code';
- - + +
@@ -42,7 +42,7 @@ export class TemplateDoc { } code: Code = { - basic: ` + basic: ` + (onClick)="visible = false" /> `, html: `
- + + (onClick)="visible = false" /> diff --git a/src/app/showcase/doc/dialog/withoutmodaldoc.ts b/src/app/showcase/doc/dialog/withoutmodaldoc.ts index 3170616ac16..662982e432f 100644 --- a/src/app/showcase/doc/dialog/withoutmodaldoc.ts +++ b/src/app/showcase/doc/dialog/withoutmodaldoc.ts @@ -8,7 +8,7 @@ import { Code } from '@domain/code';

Mask layer behind the Dialog is configured with the modal property. By default, no modal layer is added.

- + Update your information.
@@ -20,8 +20,8 @@ import { Code } from '@domain/code';
- - + +
@@ -36,7 +36,7 @@ export class WithoutModalDoc { } code: Code = { - basic: ` + basic: ` Update your information.
@@ -48,13 +48,13 @@ export class WithoutModalDoc {
- - + +
`, html: `
- + Update your information.
@@ -66,8 +66,8 @@ export class WithoutModalDoc {
- - + +
`, diff --git a/src/app/showcase/doc/dynamicdialog/exampledoc.ts b/src/app/showcase/doc/dynamicdialog/exampledoc.ts index 3d99288fa42..4dbab7e72e0 100644 --- a/src/app/showcase/doc/dynamicdialog/exampledoc.ts +++ b/src/app/showcase/doc/dynamicdialog/exampledoc.ts @@ -16,7 +16,7 @@ import { Footer } from './footer';
- +
`, @@ -68,11 +68,11 @@ export class ExampleDoc implements OnDestroy { code: Code = { basic: ` -`, +`, html: `
- +
`, typescript: `import { Component, OnDestroy } from '@angular/core'; @@ -173,7 +173,7 @@ import { ButtonModule } from 'primeng/button'; standalone:true, imports:[TableModule, ButtonModule], template: \`
- +
@@ -196,7 +196,7 @@ import { ButtonModule } from 'primeng/button'; {{ product.quantity }} - + @@ -259,7 +259,7 @@ import { ButtonModule } from 'primeng/button'; There are {{ totalProducts }} products in total in this list.

- +
\` }) @@ -302,7 +302,7 @@ import { ButtonModule } from 'primeng/button'; imports: [ButtonModule], template: \`
- +
\` }) export class Footer { diff --git a/src/app/showcase/doc/dynamicdialog/footer.ts b/src/app/showcase/doc/dynamicdialog/footer.ts index f6c5f872c2e..18fc9fe5b33 100644 --- a/src/app/showcase/doc/dynamicdialog/footer.ts +++ b/src/app/showcase/doc/dynamicdialog/footer.ts @@ -5,7 +5,7 @@ import { DynamicDialogRef } from 'primeng/dynamicdialog'; selector: 'footer', template: `
- +
` }) diff --git a/src/app/showcase/doc/dynamicdialog/infodemo.ts b/src/app/showcase/doc/dynamicdialog/infodemo.ts index c01841b293a..040d4145cf7 100644 --- a/src/app/showcase/doc/dynamicdialog/infodemo.ts +++ b/src/app/showcase/doc/dynamicdialog/infodemo.ts @@ -8,7 +8,7 @@ import { DialogService, DynamicDialogComponent, DynamicDialogRef } from 'primeng There are {{ totalProducts }} products in total in this list.

- +
` diff --git a/src/app/showcase/doc/dynamicdialog/productlistdemo.ts b/src/app/showcase/doc/dynamicdialog/productlistdemo.ts index 501fab8aa4c..50b5033be57 100755 --- a/src/app/showcase/doc/dynamicdialog/productlistdemo.ts +++ b/src/app/showcase/doc/dynamicdialog/productlistdemo.ts @@ -5,7 +5,7 @@ import { ProductService } from '@service/productservice'; import { InfoDemo } from './infodemo'; @Component({ template: `
- +
@@ -28,7 +28,7 @@ import { InfoDemo } from './infodemo'; {{ product.quantity }} - + diff --git a/src/app/showcase/doc/fileupload/templatedoc.ts b/src/app/showcase/doc/fileupload/templatedoc.ts index 4f85f3a7559..381e8c30c3b 100644 --- a/src/app/showcase/doc/fileupload/templatedoc.ts +++ b/src/app/showcase/doc/fileupload/templatedoc.ts @@ -38,7 +38,7 @@ import { MessageService, PrimeNGConfig } from 'primeng/api'; {{ file.name }}
{{ formatSize(file.size) }}
- +
@@ -154,7 +154,7 @@ export class TemplateDoc { {{ file.name }}
{{ formatSize(file.size) }}
- +
@@ -207,7 +207,7 @@ export class TemplateDoc { {{ file.name }}
{{ formatSize(file.size) }}
- +
diff --git a/src/app/showcase/doc/galleria/controlleddoc.ts b/src/app/showcase/doc/galleria/controlleddoc.ts index 88195c5141a..8e99400e02f 100644 --- a/src/app/showcase/doc/galleria/controlleddoc.ts +++ b/src/app/showcase/doc/galleria/controlleddoc.ts @@ -10,8 +10,8 @@ import { PhotoService } from '@service/photoservice';
- - + +
@@ -76,13 +76,13 @@ export class ControlledDoc implements OnInit { + (onClick)="next()" />
+ (onClick)="next()" />
Thumbnails can also be hidden in full screen mode.

- + + (onClick)="displayBasic = true" /> Full screen mode is enabled by adding fullScreen property.

- + @@ -81,7 +81,7 @@ export class WithThumbnailsDoc implements OnInit { + (onClick)="displayBasic = true" />
- - + +
@@ -25,11 +25,11 @@ export class ReactiveDoc {
`, @@ -38,11 +38,11 @@ export class ReactiveDoc {
`, diff --git a/src/app/showcase/doc/menu/popupdoc.ts b/src/app/showcase/doc/menu/popupdoc.ts index 4b48845b504..c37ae1bcca2 100644 --- a/src/app/showcase/doc/menu/popupdoc.ts +++ b/src/app/showcase/doc/menu/popupdoc.ts @@ -10,7 +10,7 @@ import { Code } from '@domain/code';
- +
`, @@ -39,11 +39,11 @@ export class PopupDoc implements OnInit { code: Code = { basic: ` -`, +`, html: `
- +
`, typescript: `import { Component, OnInit } from '@angular/core'; diff --git a/src/app/showcase/doc/messages/dynamicdoc.ts b/src/app/showcase/doc/messages/dynamicdoc.ts index 061088c95d5..b7189d304b1 100644 --- a/src/app/showcase/doc/messages/dynamicdoc.ts +++ b/src/app/showcase/doc/messages/dynamicdoc.ts @@ -9,8 +9,8 @@ import { Code } from '@domain/code';

A binding to the value property is required to provide messages to the component.

- - + +
@@ -35,13 +35,13 @@ export class DynamicDoc { basic: ` `, @@ -49,13 +49,13 @@ export class DynamicDoc { diff --git a/src/app/showcase/doc/messages/servicedoc.ts b/src/app/showcase/doc/messages/servicedoc.ts index a2410777643..da72f079bbd 100644 --- a/src/app/showcase/doc/messages/servicedoc.ts +++ b/src/app/showcase/doc/messages/servicedoc.ts @@ -13,9 +13,9 @@ import { Code } from '@domain/code';
- - - + + +
@@ -43,16 +43,16 @@ export class ServiceDoc { code: Code = { basic: `
- - - + + +
`, html: `
- - - + + +
`, diff --git a/src/app/showcase/doc/overlay/basicdoc.ts b/src/app/showcase/doc/overlay/basicdoc.ts index 3cecc5d39dc..e487bc87d8b 100644 --- a/src/app/showcase/doc/overlay/basicdoc.ts +++ b/src/app/showcase/doc/overlay/basicdoc.ts @@ -7,7 +7,7 @@ import { Code } from '@domain/code';

Overlay is a container to display content in an overlay window. All the options mentioned above can be used as props for this component.

- + Content
` @@ -20,13 +20,13 @@ export class OverlayBasicDemo { } code: Code = { - basic: ` + basic: ` Content `, html: `
- + Content diff --git a/src/app/showcase/doc/overlay/templatedoc.ts b/src/app/showcase/doc/overlay/templatedoc.ts index 1e8bc399e65..9d431f86b90 100644 --- a/src/app/showcase/doc/overlay/templatedoc.ts +++ b/src/app/showcase/doc/overlay/templatedoc.ts @@ -7,7 +7,7 @@ import { Code } from '@domain/code';

Content can be customized with the content template.

- + Content - {{ option.mode }} @@ -22,7 +22,7 @@ export class OverlayTemplateDemo { } code: Code = { - basic: ` + basic: ` Content - {{option.mode}} @@ -30,7 +30,7 @@ export class OverlayTemplateDemo { `, html: `
- + Content - {{option.mode}} diff --git a/src/app/showcase/doc/overlaypanel/basicdoc.ts b/src/app/showcase/doc/overlaypanel/basicdoc.ts index 368f29641d3..bececac4c50 100644 --- a/src/app/showcase/doc/overlaypanel/basicdoc.ts +++ b/src/app/showcase/doc/overlaypanel/basicdoc.ts @@ -8,7 +8,7 @@ import { Code } from '@domain/code';

OverlayPanel is accessed via its reference and visibility is controlled using toggle, show and hide methods with an event of the target.

- +
@@ -57,7 +57,7 @@ export class BasicDoc { ]; code: Code = { - basic: ` + basic: `
@@ -96,7 +96,7 @@ export class BasicDoc { `, html: `
- +
diff --git a/src/app/showcase/doc/overlaypanel/datatabledoc.ts b/src/app/showcase/doc/overlaypanel/datatabledoc.ts index fbaca20ba0c..b1c725b04e5 100644 --- a/src/app/showcase/doc/overlaypanel/datatabledoc.ts +++ b/src/app/showcase/doc/overlaypanel/datatabledoc.ts @@ -20,7 +20,7 @@ interface TableRowSelectEvent {
- +
@@ -83,7 +83,7 @@ export class DataTableDoc implements OnInit { code: Code = { basic: `
@@ -146,7 +146,7 @@ export class DataTableDoc implements OnInit { html: `
diff --git a/src/app/showcase/doc/overlaypanel/targetdoc.ts b/src/app/showcase/doc/overlaypanel/targetdoc.ts index 8c6ea3bc915..f5ddace706c 100644 --- a/src/app/showcase/doc/overlaypanel/targetdoc.ts +++ b/src/app/showcase/doc/overlaypanel/targetdoc.ts @@ -11,7 +11,7 @@ import { Code } from '@domain/code';

- +
Target Element
@@ -24,7 +24,7 @@ import { Code } from '@domain/code'; }) export class TargetDoc { code: Code = { - basic: ` + basic: `
Target Element
@@ -34,7 +34,7 @@ export class TargetDoc { html: `
- +
Target Element
diff --git a/src/app/showcase/doc/overlaypanel/templatedoc.ts b/src/app/showcase/doc/overlaypanel/templatedoc.ts index 950792d09b5..cf07a88e7aa 100644 --- a/src/app/showcase/doc/overlaypanel/templatedoc.ts +++ b/src/app/showcase/doc/overlaypanel/templatedoc.ts @@ -13,7 +13,7 @@ import { Code } from '@domain/code';

Custom Content

- +
` @@ -25,7 +25,7 @@ export class TemplateDoc {

Custom Content

-`, +`, html: `
@@ -34,7 +34,7 @@ export class TemplateDoc {

Custom Content

- +
`, typescript: ` diff --git a/src/app/showcase/doc/scroller/programmaticdoc.ts b/src/app/showcase/doc/scroller/programmaticdoc.ts index 4aaf77e5e5a..613d21f440e 100644 --- a/src/app/showcase/doc/scroller/programmaticdoc.ts +++ b/src/app/showcase/doc/scroller/programmaticdoc.ts @@ -9,7 +9,7 @@ import { Code } from '@domain/code';

Scrolling to a specific index can be done with the scrollToIndex function.

- +
{{ item }}
@@ -33,7 +33,7 @@ export class ProgrammaticDoc implements OnInit { } code: Code = { - basic: ` + basic: ` `, html: `
- + - +
` @@ -30,7 +30,7 @@ export class BasicDoc { Lorem ipsum dolor sit amet...

-`, +`, html: `
@@ -40,7 +40,7 @@ export class BasicDoc { Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

- +
`, typescript: `import { Component } from '@angular/core'; diff --git a/src/app/showcase/doc/sidebar/fullscreendoc.ts b/src/app/showcase/doc/sidebar/fullscreendoc.ts index 74afbcde5f5..d0a86799161 100644 --- a/src/app/showcase/doc/sidebar/fullscreendoc.ts +++ b/src/app/showcase/doc/sidebar/fullscreendoc.ts @@ -17,7 +17,7 @@ import { Code } from '@domain/code'; consequat.

- +
` @@ -36,7 +36,7 @@ export class FullScreenDoc { Lorem ipsum dolor sit amet, consectetur adipiscing elit...

-`, +`, html: `
@@ -50,7 +50,7 @@ export class FullScreenDoc { consequat.

- +
`, typescript: `import { Component } from '@angular/core'; diff --git a/src/app/showcase/doc/sidebar/headlessdoc.ts b/src/app/showcase/doc/sidebar/headlessdoc.ts index 84339200127..27d2d2dc432 100644 --- a/src/app/showcase/doc/sidebar/headlessdoc.ts +++ b/src/app/showcase/doc/sidebar/headlessdoc.ts @@ -46,7 +46,7 @@ import { Sidebar } from 'primeng/sidebar'; Your Logo - +
@@ -204,7 +204,7 @@ import { Sidebar } from 'primeng/sidebar';
- +
` @@ -256,7 +256,7 @@ export class HeadlessDoc { Your Logo - +
@@ -414,7 +414,7 @@ export class HeadlessDoc {
-`, +`, html: `
@@ -454,7 +454,7 @@ export class HeadlessDoc { Your Logo - +
@@ -612,7 +612,7 @@ export class HeadlessDoc {
- +
`, typescript: `import { Component, ViewChild } from '@angular/core'; diff --git a/src/app/showcase/doc/sidebar/positiondoc.ts b/src/app/showcase/doc/sidebar/positiondoc.ts index bc07e85a796..d94007f5880 100644 --- a/src/app/showcase/doc/sidebar/positiondoc.ts +++ b/src/app/showcase/doc/sidebar/positiondoc.ts @@ -24,10 +24,10 @@ import { Code } from '@domain/code';

Bottom Sidebar

- - - - + + + +
` @@ -61,22 +61,22 @@ export class PositionDoc { `, html: `
@@ -99,22 +99,22 @@ export class PositionDoc {
`, diff --git a/src/app/showcase/doc/sidebar/sizedoc.ts b/src/app/showcase/doc/sidebar/sizedoc.ts index 974baf5dacc..65fcdee413f 100644 --- a/src/app/showcase/doc/sidebar/sizedoc.ts +++ b/src/app/showcase/doc/sidebar/sizedoc.ts @@ -17,7 +17,7 @@ import { Code } from '@domain/code'; consequat.

- +
` @@ -34,7 +34,7 @@ export class SizeDoc { Lorem ipsum dolor sit amet, consectetur adipiscing elit...

-`, +`, html: `
@@ -46,7 +46,7 @@ export class SizeDoc { Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

- +
`, typescript: `import { Component } from '@angular/core'; diff --git a/src/app/showcase/doc/sidebar/templatedoc.ts b/src/app/showcase/doc/sidebar/templatedoc.ts index 4862df52b0e..12545f8d687 100644 --- a/src/app/showcase/doc/sidebar/templatedoc.ts +++ b/src/app/showcase/doc/sidebar/templatedoc.ts @@ -20,7 +20,7 @@ import { Code } from '@domain/code'; consequat.

- +
` @@ -44,7 +44,7 @@ export class TemplateDoc { Lorem ipsum dolor sit amet...

-`, +`, html: `
@@ -63,7 +63,7 @@ export class TemplateDoc { consequat.

- +
`, typescript: `import { Component } from '@angular/core'; diff --git a/src/app/showcase/doc/steps/controlleddoc.ts b/src/app/showcase/doc/steps/controlleddoc.ts index 970861c7242..58cf648f181 100644 --- a/src/app/showcase/doc/steps/controlleddoc.ts +++ b/src/app/showcase/doc/steps/controlleddoc.ts @@ -10,9 +10,9 @@ import { Code } from '@domain/code';
- - - + + +
@@ -41,19 +41,19 @@ export class ControlledDoc implements OnInit { code: Code = { basic: `
- + @@ -271,7 +271,7 @@ export class CustomersDoc { >
- + @@ -433,7 +433,7 @@ export class CustomersDoc { >
- + diff --git a/src/app/showcase/doc/table/exportdoc.ts b/src/app/showcase/doc/table/exportdoc.ts index d066856a8e7..87ed46635f9 100644 --- a/src/app/showcase/doc/table/exportdoc.ts +++ b/src/app/showcase/doc/table/exportdoc.ts @@ -24,7 +24,7 @@ interface ExportColumn {
- +
@@ -91,7 +91,7 @@ export class ExportDoc { + (onClick)="dt.exportCSV()" />
@@ -123,7 +123,7 @@ export class ExportDoc { + (onClick)="dt.exportCSV()" />
diff --git a/src/app/showcase/doc/table/filteradvanceddoc.ts b/src/app/showcase/doc/table/filteradvanceddoc.ts index d550da02d4e..c0913064dc9 100644 --- a/src/app/showcase/doc/table/filteradvanceddoc.ts +++ b/src/app/showcase/doc/table/filteradvanceddoc.ts @@ -14,7 +14,7 @@ import { CustomerService } from '../../service/customerservice';
- + @@ -233,7 +233,7 @@ export class FilterAdvancedDoc { >
- + @@ -373,7 +373,7 @@ export class FilterAdvancedDoc { >
- + diff --git a/src/app/showcase/doc/table/paginatorprogrammaticdoc.ts b/src/app/showcase/doc/table/paginatorprogrammaticdoc.ts index 0d55200c065..c3d7c37a531 100644 --- a/src/app/showcase/doc/table/paginatorprogrammaticdoc.ts +++ b/src/app/showcase/doc/table/paginatorprogrammaticdoc.ts @@ -12,9 +12,9 @@ import { CustomerService } from '@service/customerservice';
- - - + + +
@@ -152,18 +152,18 @@ export class PaginatorProgrammaticDoc {
diff --git a/src/app/showcase/doc/table/productsdoc.ts b/src/app/showcase/doc/table/productsdoc.ts index 91cfb7043e8..c191b98e720 100644 --- a/src/app/showcase/doc/table/productsdoc.ts +++ b/src/app/showcase/doc/table/productsdoc.ts @@ -14,8 +14,8 @@ import { ProductService } from '@service/productservice'; - - + + @@ -74,8 +74,8 @@ import { ProductService } from '@service/productservice'; - - + + @@ -144,8 +144,8 @@ import { ProductService } from '@service/productservice';
- - + + @@ -293,13 +293,13 @@ export class ProductsDoc { label="New" icon="pi pi-plus" class="mr-2" - (click)="openNew()" /> + (onClick)="openNew()" /> @@ -404,14 +404,14 @@ export class ProductsDoc { [rounded]="true" [outlined]="true" severity="success" - (click)="editProduct(product)" /> + (onClick)="editProduct(product)" /> + (onClick)="deleteProduct(product)" /> @@ -431,13 +431,13 @@ export class ProductsDoc { label="New" icon="pi pi-plus" class="mr-2" - (click)="openNew()" /> + (onClick)="openNew()" /> @@ -549,14 +549,14 @@ export class ProductsDoc { [rounded]="true" [outlined]="true" severity="success" - (click)="editProduct(product)" /> + (onClick)="editProduct(product)" /> + (onClick)="deleteProduct(product)" /> @@ -686,13 +686,13 @@ export class ProductsDoc { label="Cancel" icon="pi pi-times" [text]="true" - (click)="hideDialog()" /> + (onClick)="hideDialog()" /> + (onClick)="saveProduct()" /> diff --git a/src/app/showcase/doc/tabmenu/controlleddoc.ts b/src/app/showcase/doc/tabmenu/controlleddoc.ts index 248f1a057c3..45f614a2c61 100644 --- a/src/app/showcase/doc/tabmenu/controlleddoc.ts +++ b/src/app/showcase/doc/tabmenu/controlleddoc.ts @@ -10,9 +10,9 @@ import { Code } from '@domain/code';
- - - + + +
@@ -41,19 +41,19 @@ export class ControlledDoc implements OnInit { code: Code = { basic: `
- - - + + +
@@ -43,19 +43,19 @@ export class ControlledDoc { code: Code = { basic: `
Popup mode is enabled by adding popup property and calling toggle method with an event of the target.

- +
@@ -91,11 +91,11 @@ export class PopupDoc implements OnInit { } code: Code = { - basic: ` + basic: ` `, html: `
- +
`, diff --git a/src/app/showcase/doc/toast/animationdoc.ts b/src/app/showcase/doc/toast/animationdoc.ts index 35bca011b12..efe08ccfe19 100644 --- a/src/app/showcase/doc/toast/animationdoc.ts +++ b/src/app/showcase/doc/toast/animationdoc.ts @@ -10,7 +10,7 @@ import { Code } from '@domain/code';
- +
`, @@ -29,14 +29,14 @@ export class AnimationDoc { [showTransitionOptions]="'1000ms'" [hideTransitionOptions]="'1000ms'" [showTransformOptions]="'translateX(100%)'" /> -`, +`, html: `
- +
`, typescript: `import { Component } from '@angular/core'; import { MessageService } from 'primeng/api'; diff --git a/src/app/showcase/doc/toast/basicdoc.ts b/src/app/showcase/doc/toast/basicdoc.ts index 2ba76023ea2..e4bd9b7d8f9 100644 --- a/src/app/showcase/doc/toast/basicdoc.ts +++ b/src/app/showcase/doc/toast/basicdoc.ts @@ -13,7 +13,7 @@ import { Code } from '@domain/code';
- +
`, @@ -28,10 +28,10 @@ export class BasicDoc { code: Code = { basic: ` -`, +`, html: `
- +
`, typescript: `import { Component } from '@angular/core'; import { MessageService } from 'primeng/api'; diff --git a/src/app/showcase/doc/toast/cleardoc.ts b/src/app/showcase/doc/toast/cleardoc.ts index 3cf36209fb4..87de728aa34 100644 --- a/src/app/showcase/doc/toast/cleardoc.ts +++ b/src/app/showcase/doc/toast/cleardoc.ts @@ -13,8 +13,8 @@ import { Code } from '@domain/code';
- - + +
`, @@ -35,22 +35,22 @@ export class ClearDoc { basic: ` `, html: `
`, diff --git a/src/app/showcase/doc/toast/headlessdoc.ts b/src/app/showcase/doc/toast/headlessdoc.ts index a42243fafbc..a95255d6efa 100644 --- a/src/app/showcase/doc/toast/headlessdoc.ts +++ b/src/app/showcase/doc/toast/headlessdoc.ts @@ -21,14 +21,14 @@ import { Code } from '@domain/code';
- - + +
- +
`, @@ -104,18 +104,18 @@ export class HeadlessDoc { label="Another Upload?" [text]="true" styleClass="p-0" - (click)="closeFn($event)" /> + (onClick)="closeFn($event)" /> + (onClick)="closeFn($event)" />
-`, +`, html: `
+ (onClick)="closeFn($event)" /> + (onClick)="closeFn($event)" />
- +
`, typescript: `import { ChangeDetectorRef, Component } from '@angular/core'; import { MessageService } from 'primeng/api'; diff --git a/src/app/showcase/doc/toast/lifedoc.ts b/src/app/showcase/doc/toast/lifedoc.ts index c42256eac22..f1098b30c80 100644 --- a/src/app/showcase/doc/toast/lifedoc.ts +++ b/src/app/showcase/doc/toast/lifedoc.ts @@ -10,8 +10,8 @@ import { Code } from '@domain/code';
- - + +
`, @@ -32,21 +32,21 @@ export class LifeDoc { basic: ` `, html: `
`, typescript: `import { Component } from '@angular/core'; diff --git a/src/app/showcase/doc/toast/multipledoc.ts b/src/app/showcase/doc/toast/multipledoc.ts index e65b3dd9cf5..0822d5589fb 100644 --- a/src/app/showcase/doc/toast/multipledoc.ts +++ b/src/app/showcase/doc/toast/multipledoc.ts @@ -10,7 +10,7 @@ import { Code } from '@domain/code';
- +
`, @@ -32,14 +32,14 @@ export class MultipleDoc { basic: ` `, html: `
`, diff --git a/src/app/showcase/doc/toast/positiondoc.ts b/src/app/showcase/doc/toast/positiondoc.ts index 3d424fbf372..43b8621a046 100644 --- a/src/app/showcase/doc/toast/positiondoc.ts +++ b/src/app/showcase/doc/toast/positiondoc.ts @@ -13,9 +13,9 @@ import { Code } from '@domain/code'; - - - + + +
`, @@ -43,16 +43,16 @@ export class PositionDoc { `, @@ -63,16 +63,16 @@ export class PositionDoc {
`, diff --git a/src/app/showcase/doc/toast/responsivedoc.ts b/src/app/showcase/doc/toast/responsivedoc.ts index 828232c234a..536369bc939 100644 --- a/src/app/showcase/doc/toast/responsivedoc.ts +++ b/src/app/showcase/doc/toast/responsivedoc.ts @@ -13,7 +13,7 @@ import { Code } from '@domain/code';
- +
`, @@ -28,10 +28,10 @@ export class ResponsiveDoc { code: Code = { basic: ` -`, +`, html: `
- +
`, typescript: `import { Component } from '@angular/core'; import { MessageService } from 'primeng/api'; diff --git a/src/app/showcase/doc/toast/severitydoc.ts b/src/app/showcase/doc/toast/severitydoc.ts index d1b64136a8e..3f9742701d9 100644 --- a/src/app/showcase/doc/toast/severitydoc.ts +++ b/src/app/showcase/doc/toast/severitydoc.ts @@ -13,12 +13,12 @@ import { Code } from '@domain/code';
- - - - - - + + + + + +
`, @@ -56,37 +56,37 @@ export class SeverityDoc { `, html: `
@@ -94,37 +94,37 @@ export class SeverityDoc {
`, diff --git a/src/app/showcase/doc/toast/stickydoc.ts b/src/app/showcase/doc/toast/stickydoc.ts index 3056c301265..434fea5d1aa 100644 --- a/src/app/showcase/doc/toast/stickydoc.ts +++ b/src/app/showcase/doc/toast/stickydoc.ts @@ -11,8 +11,8 @@ import { Code } from '@domain/code';
- - + +
@@ -35,12 +35,12 @@ export class StickyDoc {
`, html: `
@@ -48,12 +48,12 @@ export class StickyDoc {
`, diff --git a/src/app/showcase/doc/toast/targetdoc.ts b/src/app/showcase/doc/toast/targetdoc.ts index 4deb9075d9f..881253f2e7e 100644 --- a/src/app/showcase/doc/toast/targetdoc.ts +++ b/src/app/showcase/doc/toast/targetdoc.ts @@ -11,8 +11,8 @@ import { Code } from '@domain/code';
- - + +
`, @@ -36,11 +36,11 @@ export class TargetDoc { `, html: `
@@ -48,11 +48,11 @@ export class TargetDoc {
`, diff --git a/src/app/showcase/doc/toast/templatedoc.ts b/src/app/showcase/doc/toast/templatedoc.ts index c74b9cf5f58..622b7b6d542 100644 --- a/src/app/showcase/doc/toast/templatedoc.ts +++ b/src/app/showcase/doc/toast/templatedoc.ts @@ -17,11 +17,11 @@ import { Code } from '@domain/code'; Amy Elsner
{{ message.summary }}
- +
- +
`, @@ -68,11 +68,11 @@ export class TemplateDoc {
{{ message.summary }}
- +
-`, +`, html: `
{{ message.summary }}
- +
- +
`, typescript: `import { Component } from '@angular/core'; import { MessageService } from 'primeng/api'; diff --git a/src/app/showcase/doc/tree/controlleddoc.ts b/src/app/showcase/doc/tree/controlleddoc.ts index afc13c05f55..78ad1f32cff 100644 --- a/src/app/showcase/doc/tree/controlleddoc.ts +++ b/src/app/showcase/doc/tree/controlleddoc.ts @@ -11,8 +11,8 @@ import { NodeService } from '@service/nodeservice';
- - + +
@@ -54,12 +54,12 @@ export class ControlledDoc implements OnInit { + (onClick)="collapseAll()" />
`, @@ -68,12 +68,12 @@ export class ControlledDoc implements OnInit { + (onClick)="collapseAll()" />
`, diff --git a/src/app/showcase/doc/treetable/controlleddoc.ts b/src/app/showcase/doc/treetable/controlleddoc.ts index 97ca1cb64f8..27b3327bc2d 100644 --- a/src/app/showcase/doc/treetable/controlleddoc.ts +++ b/src/app/showcase/doc/treetable/controlleddoc.ts @@ -9,7 +9,7 @@ import { NodeService } from '@service/nodeservice';

Expansion state is controlled with expandedKeys property.

- + @@ -59,7 +59,7 @@ export class ControlledDoc { } code: Code = { - basic: ` + basic: ` @@ -81,7 +81,7 @@ export class ControlledDoc { `, html: `
- +