diff --git a/src/app/showcase/data/news.json b/src/app/showcase/data/news.json
index c815bb169a9..8284142bd57 100644
--- a/src/app/showcase/data/news.json
+++ b/src/app/showcase/data/news.json
@@ -1,8 +1,8 @@
{
- "id": 58,
- "content": "Sakai Free Admin Template",
- "linkText": "Learn More",
- "linkHref": "https://primefaces.org/sakai-ng",
+ "id": 59,
+ "content": "🎉 Black Friday Sale! Up to 50% Off",
+ "linkText": "Buy Now",
+ "linkHref": "https://www.primefaces.org/store",
"backgroundStyle": "background-color:#3B82F6",
"textStyle": "color:#ffffff;font-weight:500",
"linkStyle": "color:#ffffff;font-weight:700",
diff --git a/src/app/showcase/doc/contextmenu/contextmenudoc.module.ts b/src/app/showcase/doc/contextmenu/contextmenudoc.module.ts
index cef9b48ab6e..dd1e3755407 100644
--- a/src/app/showcase/doc/contextmenu/contextmenudoc.module.ts
+++ b/src/app/showcase/doc/contextmenu/contextmenudoc.module.ts
@@ -9,11 +9,10 @@ import { BasicDoc } from './basicdoc';
import { DocumentDoc } from './documentdoc';
import { ImportDoc } from './importdoc';
import { StyleDoc } from './styledoc';
-import { TriggerEventDoc } from './triggereventdoc';
@NgModule({
imports: [CommonModule, AppCodeModule, RouterModule, ContextMenuModule, AppDocModule],
- declarations: [BasicDoc, ImportDoc, DocumentDoc, StyleDoc, TriggerEventDoc, AccessibilityDoc],
+ declarations: [BasicDoc, ImportDoc, DocumentDoc, StyleDoc, AccessibilityDoc],
exports: [AppDocModule]
})
export class ContextMenuDocModule {}
diff --git a/src/app/showcase/doc/contextmenu/triggereventdoc.ts b/src/app/showcase/doc/contextmenu/triggereventdoc.ts
deleted file mode 100644
index d5ac1838c93..00000000000
--- a/src/app/showcase/doc/contextmenu/triggereventdoc.ts
+++ /dev/null
@@ -1,318 +0,0 @@
-import { Component, Input, OnInit } from '@angular/core';
-import { MenuItem } from 'primeng/api';
-import { Code } from '../../domain/code';
-
-@Component({
- selector: 'context-menu-trigger-event-demo',
- template: `
-
- Trigger event of context menu can be replaced by a different event with triggerEvent property. Default value of triggerEvent is contextmenu.
-
-
-
-
-
-
- `
-})
-export class TriggerEventDoc implements OnInit {
- @Input() id: string;
-
- @Input() title: string;
-
- items: MenuItem[] | undefined;
-
- ngOnInit() {
- this.items = [
- {
- label: 'File',
- icon: 'pi pi-fw pi-file',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-plus',
- items: [
- {
- label: 'Bookmark',
- icon: 'pi pi-fw pi-bookmark'
- },
- {
- label: 'Video',
- icon: 'pi pi-fw pi-video'
- }
- ]
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-trash'
- },
- {
- separator: true
- },
- {
- label: 'Export',
- icon: 'pi pi-fw pi-external-link'
- }
- ]
- },
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
- items: [
- {
- label: 'Left',
- icon: 'pi pi-fw pi-align-left'
- },
- {
- label: 'Right',
- icon: 'pi pi-fw pi-align-right'
- },
- {
- label: 'Center',
- icon: 'pi pi-fw pi-align-center'
- },
- {
- label: 'Justify',
- icon: 'pi pi-fw pi-align-justify'
- }
- ]
- },
- {
- label: 'Users',
- icon: 'pi pi-fw pi-user',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-user-plus'
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-user-minus'
- },
- {
- label: 'Search',
- icon: 'pi pi-fw pi-users',
- items: [
- {
- label: 'Filter',
- icon: 'pi pi-fw pi-filter',
- items: [
- {
- label: 'Print',
- icon: 'pi pi-fw pi-print'
- }
- ]
- },
- {
- icon: 'pi pi-fw pi-bars',
- label: 'List'
- }
- ]
- }
- ]
- },
- {
- label: 'Events',
- icon: 'pi pi-fw pi-calendar',
- items: [
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
- items: [
- {
- label: 'Save',
- icon: 'pi pi-fw pi-calendar-plus'
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- },
- {
- label: 'Archieve',
- icon: 'pi pi-fw pi-calendar-times',
- items: [
- {
- label: 'Remove',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- }
- ]
- },
- {
- separator: true
- },
- {
- label: 'Quit',
- icon: 'pi pi-fw pi-power-off'
- }
- ];
- }
-
- code: Code = {
- basic: `
-
-`,
-
- html: `
-
-
-
-
`,
-
- typescript: `
-import { Component, OnInit } from '@angular/core';
-import { MenuItem } from 'primeng/api';
-
-@Component({
- selector: 'context-menu-trigger-event-demo',
- templateUrl: './context-menu-trigger-event-demo.html'
-})
-export class ContextMenuTriggerEventDemo implements OnInit {
- items: MenuItem[] | undefined;
-
- ngOnInit() {
- this.items = [
- {
- label: 'File',
- icon: 'pi pi-fw pi-file',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-plus',
- items: [
- {
- label: 'Bookmark',
- icon: 'pi pi-fw pi-bookmark'
- },
- {
- label: 'Video',
- icon: 'pi pi-fw pi-video'
- }
- ]
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-trash'
- },
- {
- separator: true
- },
- {
- label: 'Export',
- icon: 'pi pi-fw pi-external-link'
- }
- ]
- },
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
- items: [
- {
- label: 'Left',
- icon: 'pi pi-fw pi-align-left'
- },
- {
- label: 'Right',
- icon: 'pi pi-fw pi-align-right'
- },
- {
- label: 'Center',
- icon: 'pi pi-fw pi-align-center'
- },
- {
- label: 'Justify',
- icon: 'pi pi-fw pi-align-justify'
- }
- ]
- },
- {
- label: 'Users',
- icon: 'pi pi-fw pi-user',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-user-plus'
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-user-minus'
- },
- {
- label: 'Search',
- icon: 'pi pi-fw pi-users',
- items: [
- {
- label: 'Filter',
- icon: 'pi pi-fw pi-filter',
- items: [
- {
- label: 'Print',
- icon: 'pi pi-fw pi-print'
- }
- ]
- },
- {
- icon: 'pi pi-fw pi-bars',
- label: 'List'
- }
- ]
- }
- ]
- },
- {
- label: 'Events',
- icon: 'pi pi-fw pi-calendar',
- items: [
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-pencil',
- items: [
- {
- label: 'Save',
- icon: 'pi pi-fw pi-calendar-plus'
- },
- {
- label: 'Delete',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- },
- {
- label: 'Archieve',
- icon: 'pi pi-fw pi-calendar-times',
- items: [
- {
- label: 'Remove',
- icon: 'pi pi-fw pi-calendar-minus'
- }
- ]
- }
- ]
- },
- {
- separator: true
- },
- {
- label: 'Quit',
- icon: 'pi pi-fw pi-power-off'
- }
- ];
- }
-}`,
-
- module: `
-import { CommonModule } from '@angular/common';
-import { NgModule } from '@angular/core';
-import { ContextMenuModule } from 'primeng/contextmenu';
-import { ContextMenuDemo } from './contextmenudemo';
-
-@NgModule({
- imports: [CommonModule, ContextMenuModule],
- declarations: [ContextMenuDemo]
-})
-export class ContextMenuDemoModule {}`
- };
-}
diff --git a/src/app/showcase/doc/galleria/fullscreen/customcontentdoc.ts b/src/app/showcase/doc/galleria/fullscreen/customcontentdoc.ts
index 5ec49291bcf..6c3230fbb89 100644
--- a/src/app/showcase/doc/galleria/fullscreen/customcontentdoc.ts
+++ b/src/app/showcase/doc/galleria/fullscreen/customcontentdoc.ts
@@ -9,9 +9,9 @@ import { PhotoService } from '../../../service/photoservice';
Using activeIndex, Galleria is displayed with a specific initial image.
-
-
-
+
+
@@ -98,9 +98,9 @@ export class FullScreenTemplateDoc implements OnInit {
`,
html: `
-
-
-
+
+
diff --git a/src/app/showcase/doc/multiselect/basicdoc.ts b/src/app/showcase/doc/multiselect/basicdoc.ts
index 6a4996018cf..a2c63063ec6 100644
--- a/src/app/showcase/doc/multiselect/basicdoc.ts
+++ b/src/app/showcase/doc/multiselect/basicdoc.ts
@@ -1,6 +1,5 @@
import { Component, Input, OnInit } from '@angular/core';
import { Code } from '../../domain/code';
-import { FormGroup, FormControl } from '@angular/forms';
interface City {
name: string;
@@ -18,7 +17,7 @@ interface City {
`
diff --git a/src/app/showcase/doc/table/columntoggledoc.ts b/src/app/showcase/doc/table/columntoggledoc.ts
index 882cb2bae86..5c6a49407b8 100644
--- a/src/app/showcase/doc/table/columntoggledoc.ts
+++ b/src/app/showcase/doc/table/columntoggledoc.ts
@@ -14,27 +14,27 @@ interface Column {
This demo uses a multiselect component to implement toggleable columns.
-
-
-
-
-
-
- Code |
-
- {{ col.header }}
- |
-
-
-
-
- {{ product.code }} |
-
- {{ product[col.field] }}
- |
-
-
-
+
+
+
+
+
+
+ Code |
+
+ {{ col.header }}
+ |
+
+
+
+
+ {{ product.code }} |
+
+ {{ product[col.field] }}
+ |
+
+
+
`,
diff --git a/src/app/showcase/pages/contextmenu/contextmenudemo.ts b/src/app/showcase/pages/contextmenu/contextmenudemo.ts
index dc02fae806f..2d52556bd18 100755
--- a/src/app/showcase/pages/contextmenu/contextmenudemo.ts
+++ b/src/app/showcase/pages/contextmenu/contextmenudemo.ts
@@ -4,7 +4,6 @@ import { BasicDoc } from '../../doc/contextmenu/basicdoc';
import { DocumentDoc } from '../../doc/contextmenu/documentdoc';
import { ImportDoc } from '../../doc/contextmenu/importdoc';
import { StyleDoc } from '../../doc/contextmenu/styledoc';
-import { TriggerEventDoc } from '../../doc/contextmenu/triggereventdoc';
@Component({
templateUrl: './contextmenudemo.html'
diff --git a/src/app/showcase/pages/lts/lts.component.html b/src/app/showcase/pages/lts/lts.component.html
index 7ea16fd754d..804077217d3 100755
--- a/src/app/showcase/pages/lts/lts.component.html
+++ b/src/app/showcase/pages/lts/lts.component.html
@@ -140,7 +140,8 @@
@@ -180,7 +181,8 @@
diff --git a/src/app/showcase/pages/uikit/uikit.component.html b/src/app/showcase/pages/uikit/uikit.component.html
index 0b1d938d99a..151fdb2d2d5 100755
--- a/src/app/showcase/pages/uikit/uikit.component.html
+++ b/src/app/showcase/pages/uikit/uikit.component.html
@@ -143,7 +143,8 @@
For individual designers
- $99
+ $99
+ $49