diff --git a/angular.json b/angular.json
index 39cd552..826298d 100644
--- a/angular.json
+++ b/angular.json
@@ -53,12 +53,9 @@
"outputHashing": "all"
},
"development": {
- "buildOptimizer": false,
"optimization": false,
- "vendorChunk": true,
"extractLicenses": false,
- "sourceMap": true,
- "namedChunks": true
+ "sourceMap": true
}
},
"defaultConfiguration": "production"
diff --git a/package-lock.json b/package-lock.json
index 30b6502..9962aef 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,11 +1,11 @@
{
- "name": "sakai-19",
+ "name": "sakai-ng",
"version": "0.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
- "name": "sakai-19",
+ "name": "sakai-ng",
"version": "0.0.0",
"dependencies": {
"@angular/animations": "^19.0.0",
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 7e8f265..f792405 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -3,6 +3,7 @@ import {RouterModule} from '@angular/router';
@Component({
selector: 'app-root',
+ standalone: true,
imports: [RouterModule],
templateUrl: './app.component.html'
})
diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts
index 8c3b95a..0464625 100644
--- a/src/app/app.routes.ts
+++ b/src/app/app.routes.ts
@@ -1,21 +1,21 @@
import { Routes } from '@angular/router';
import {AppLayoutComponent} from './layout/app.layout.component';
-import {NotfoundComponent} from './demo/components/notfound/notfound.component';
export const routes: Routes = [
{
path: '', component: AppLayoutComponent,
- children: [
- { path: '', loadChildren: () => import('./demo/components/dashboard/dashboard.module').then(m => m.DashboardModule) },
- { path: 'uikit', loadChildren: () => import('./demo/components/uikit/uikit.module').then(m => m.UIkitModule) },
- { path: 'utilities', loadChildren: () => import('./demo/components/utilities/utilities.module').then(m => m.UtilitiesModule) },
- { path: 'documentation', loadChildren: () => import('./demo/components/documentation/documentation.module').then(m => m.DocumentationModule) },
- { path: 'blocks', loadChildren: () => import('./demo/components/primeblocks/primeblocks.module').then(m => m.PrimeBlocksModule) },
- { path: 'pages', loadChildren: () => import('./demo/components/pages/pages.module').then(m => m.PagesModule) }
- ]
+ // children:
+ // [
+ // { path: '', loadChildren: () => import('./demo/components/dashboard/dashboard.module').then(m => m.DashboardModule) },
+ // { path: 'uikit', loadChildren: () => import('./demo/components/uikit/uikit.module').then(m => m.UIkitModule) },
+ // { path: 'utilities', loadChildren: () => import('./demo/components/utilities/utilities.module').then(m => m.UtilitiesModule) },
+ // { path: 'documentation', loadChildren: () => import('./demo/components/documentation/documentation.module').then(m => m.DocumentationModule) },
+ // { path: 'blocks', loadChildren: () => import('./demo/components/primeblocks/primeblocks.module').then(m => m.PrimeBlocksModule) },
+ // { path: 'pages', loadChildren: () => import('./demo/components/pages/pages.module').then(m => m.PagesModule) }
+ // ]
},
- { path: 'auth', loadChildren: () => import('./demo/components/auth/auth.module').then(m => m.AuthModule) },
- { path: 'landing', loadChildren: () => import('./demo/components/landing/landing.module').then(m => m.LandingModule) },
- { path: 'notfound', component: NotfoundComponent },
+ // { path: 'auth', loadChildren: () => import('./demo/components/auth/auth.module').then(m => m.AuthModule) },
+ // { path: 'landing', loadChildren: () => import('./demo/components/landing/landing.module').then(m => m.LandingModule) },
+ // { path: 'notfound', component: NotfoundComponent },
{ path: '**', redirectTo: '/notfound' },
];
diff --git a/src/app/demo/components/auth/access/access-routing.module.ts b/src/app/demo/components/auth/access/access-routing.module.ts
deleted file mode 100644
index c636009..0000000
--- a/src/app/demo/components/auth/access/access-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { AccessComponent } from './access.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: AccessComponent }
- ])],
- exports: [RouterModule]
-})
-export class AccessRoutingModule { }
diff --git a/src/app/demo/components/auth/access/access.component.html b/src/app/demo/components/auth/access/access.component.html
deleted file mode 100644
index c592c6f..0000000
--- a/src/app/demo/components/auth/access/access.component.html
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
Access Denied
-
You do not have the necessary permisions. Please contact admins.
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/app/demo/components/auth/access/access.component.ts b/src/app/demo/components/auth/access/access.component.ts
deleted file mode 100644
index bc2d815..0000000
--- a/src/app/demo/components/auth/access/access.component.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'app-access',
- templateUrl: './access.component.html',
-})
-export class AccessComponent { }
diff --git a/src/app/demo/components/auth/access/access.module.ts b/src/app/demo/components/auth/access/access.module.ts
deleted file mode 100644
index d739367..0000000
--- a/src/app/demo/components/auth/access/access.module.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { ButtonModule } from 'primeng/button';
-
-import { AccessRoutingModule } from './access-routing.module';
-import { AccessComponent } from './access.component';
-
-@NgModule({
- imports: [
- CommonModule,
- AccessRoutingModule,
- ButtonModule
- ],
- declarations: [AccessComponent]
-})
-export class AccessModule { }
diff --git a/src/app/demo/components/auth/auth-routing.module.ts b/src/app/demo/components/auth/auth-routing.module.ts
deleted file mode 100644
index 7e610c1..0000000
--- a/src/app/demo/components/auth/auth-routing.module.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: 'error', loadChildren: () => import('./error/error.module').then(m => m.ErrorModule) },
- { path: 'access', loadChildren: () => import('./access/access.module').then(m => m.AccessModule) },
- { path: 'login', loadChildren: () => import('./login/login.module').then(m => m.LoginModule) },
- { path: '**', redirectTo: '/notfound' }
- ])],
- exports: [RouterModule]
-})
-export class AuthRoutingModule { }
diff --git a/src/app/demo/components/auth/auth.module.ts b/src/app/demo/components/auth/auth.module.ts
deleted file mode 100644
index d12e91e..0000000
--- a/src/app/demo/components/auth/auth.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { AuthRoutingModule } from './auth-routing.module';
-
-@NgModule({
- imports: [
- CommonModule,
- AuthRoutingModule
- ]
-})
-export class AuthModule { }
diff --git a/src/app/demo/components/auth/error/error-routing.module.ts b/src/app/demo/components/auth/error/error-routing.module.ts
deleted file mode 100644
index 8ba5545..0000000
--- a/src/app/demo/components/auth/error/error-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { ErrorComponent } from './error.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: ErrorComponent }
- ])],
- exports: [RouterModule]
-})
-export class ErrorRoutingModule { }
diff --git a/src/app/demo/components/auth/error/error.component.html b/src/app/demo/components/auth/error/error.component.html
deleted file mode 100644
index f51f8c4..0000000
--- a/src/app/demo/components/auth/error/error.component.html
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
-
-
-
Error Occured
-
Requested resource is not available.
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/app/demo/components/auth/error/error.component.ts b/src/app/demo/components/auth/error/error.component.ts
deleted file mode 100644
index d9b38d1..0000000
--- a/src/app/demo/components/auth/error/error.component.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'app-error',
- templateUrl: './error.component.html',
-})
-export class ErrorComponent { }
\ No newline at end of file
diff --git a/src/app/demo/components/auth/error/error.module.ts b/src/app/demo/components/auth/error/error.module.ts
deleted file mode 100644
index bdfa2ac..0000000
--- a/src/app/demo/components/auth/error/error.module.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { ErrorRoutingModule } from './error-routing.module';
-import { ErrorComponent } from './error.component';
-import { ButtonModule } from 'primeng/button';
-
-@NgModule({
- imports: [
- CommonModule,
- ErrorRoutingModule,
- ButtonModule
- ],
- declarations: [ErrorComponent]
-})
-export class ErrorModule { }
diff --git a/src/app/demo/components/auth/login/login-routing.module.ts b/src/app/demo/components/auth/login/login-routing.module.ts
deleted file mode 100644
index 095ccda..0000000
--- a/src/app/demo/components/auth/login/login-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { LoginComponent } from './login.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: LoginComponent }
- ])],
- exports: [RouterModule]
-})
-export class LoginRoutingModule { }
diff --git a/src/app/demo/components/auth/login/login.component.html b/src/app/demo/components/auth/login/login.component.html
deleted file mode 100644
index 7fb5edb..0000000
--- a/src/app/demo/components/auth/login/login.component.html
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-
-
-
-
-
Welcome, Isabel!
-
Sign in to continue
-
-
-
-
Email
-
-
-
Password
-
-
-
-
-
-
-
-
-
diff --git a/src/app/demo/components/auth/login/login.component.ts b/src/app/demo/components/auth/login/login.component.ts
deleted file mode 100644
index 6a30f8b..0000000
--- a/src/app/demo/components/auth/login/login.component.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import { Component } from '@angular/core';
-import { LayoutService } from 'src/app/layout/service/app.layout.service';
-
-@Component({
- selector: 'app-login',
- templateUrl: './login.component.html',
- styles: [`
- :host ::ng-deep .pi-eye,
- :host ::ng-deep .pi-eye-slash {
- transform:scale(1.6);
- margin-right: 1rem;
- color: var(--primary-color) !important;
- }
- `]
-})
-export class LoginComponent {
-
- valCheck: string[] = ['remember'];
-
- password!: string;
-
- constructor(public layoutService: LayoutService) { }
-}
diff --git a/src/app/demo/components/auth/login/login.module.ts b/src/app/demo/components/auth/login/login.module.ts
deleted file mode 100644
index fff9b46..0000000
--- a/src/app/demo/components/auth/login/login.module.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { LoginRoutingModule } from './login-routing.module';
-import { LoginComponent } from './login.component';
-import { ButtonModule } from 'primeng/button';
-import { CheckboxModule } from 'primeng/checkbox';
-import { FormsModule } from '@angular/forms';
-import { PasswordModule } from 'primeng/password';
-import { InputTextModule } from 'primeng/inputtext';
-
-@NgModule({
- imports: [
- CommonModule,
- LoginRoutingModule,
- ButtonModule,
- CheckboxModule,
- InputTextModule,
- FormsModule,
- PasswordModule
- ],
- declarations: [LoginComponent]
-})
-export class LoginModule { }
diff --git a/src/app/demo/components/dashboard/dashboard-routing.module.ts b/src/app/demo/components/dashboard/dashboard-routing.module.ts
deleted file mode 100644
index 97dfa23..0000000
--- a/src/app/demo/components/dashboard/dashboard-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { DashboardComponent } from './dashboard.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: DashboardComponent }
- ])],
- exports: [RouterModule]
-})
-export class DashboardsRoutingModule { }
diff --git a/src/app/demo/components/dashboard/dashboard.component.html b/src/app/demo/components/dashboard/dashboard.component.html
deleted file mode 100644
index e1ca2b7..0000000
--- a/src/app/demo/components/dashboard/dashboard.component.html
+++ /dev/null
@@ -1,239 +0,0 @@
-
-
-
-
-
24 new
-
since last visit
-
-
-
-
-
-
%52+
-
since last week
-
-
-
-
-
-
520
-
newly registered
-
-
-
-
-
-
-
Comments
-
152 Unread
-
-
-
-
-
-
85
-
responded
-
-
-
-
-
-
Recent Sales
-
-
-
- Image
- Name
- Price
- View
-
-
-
-
-
-
-
- {{product.name}}
- {{product.price | currency:'USD'}}
-
-
-
-
-
-
-
-
-
-
Best Selling Products
-
-
-
-
-
-
Space T-Shirt
-
Clothing
-
-
-
-
-
-
Portal Sticker
-
Accessories
-
-
-
-
-
-
Supernova Sticker
-
Accessories
-
-
-
-
-
-
Wonders Notebook
-
Office
-
-
-
-
-
-
Mat Black Case
-
Accessories
-
-
-
-
-
-
Robots T-Shirt
-
Clothing
-
-
-
-
-
-
-
-
-
-
-
-
-
-
TODAY
-
-
-
-
-
- Richard Jones
- has purchased a blue t-shirt for 79$
-
-
-
-
-
-
- Your request for withdrawal of 2500$ has been initiated.
-
-
-
-
YESTERDAY
-
-
-
-
-
- Keyser Wick
- has purchased a black jacket for 59$
-
-
-
-
-
-
- Jane Davis has posted a new questions about your product.
-
-
-
-
-
-
-
TAKE THE NEXT STEP
-
Try PrimeBlocks
-
-
-
-
-
-
diff --git a/src/app/demo/components/dashboard/dashboard.component.ts b/src/app/demo/components/dashboard/dashboard.component.ts
deleted file mode 100644
index 6e9fe23..0000000
--- a/src/app/demo/components/dashboard/dashboard.component.ts
+++ /dev/null
@@ -1,105 +0,0 @@
-import { Component, OnInit, OnDestroy } from '@angular/core';
-import { MenuItem } from 'primeng/api';
-import { Product } from '../../api/product';
-import { ProductService } from '../../service/product.service';
-import { Subscription, debounceTime } from 'rxjs';
-import { LayoutService } from 'src/app/layout/service/app.layout.service';
-
-@Component({
- templateUrl: './dashboard.component.html',
-})
-export class DashboardComponent implements OnInit, OnDestroy {
-
- items!: MenuItem[];
-
- products!: Product[];
-
- chartData: any;
-
- chartOptions: any;
-
- subscription!: Subscription;
-
- constructor(private productService: ProductService, public layoutService: LayoutService) {
- this.subscription = this.layoutService.configUpdate$
- .pipe(debounceTime(25))
- .subscribe((config) => {
- this.initChart();
- });
- }
-
- ngOnInit() {
- this.initChart();
- this.productService.getProductsSmall().then(data => this.products = data);
-
- this.items = [
- { label: 'Add New', icon: 'pi pi-fw pi-plus' },
- { label: 'Remove', icon: 'pi pi-fw pi-minus' }
- ];
- }
-
- initChart() {
- const documentStyle = getComputedStyle(document.documentElement);
- const textColor = documentStyle.getPropertyValue('--text-color');
- const textColorSecondary = documentStyle.getPropertyValue('--text-color-secondary');
- const surfaceBorder = documentStyle.getPropertyValue('--surface-border');
-
- this.chartData = {
- labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
- datasets: [
- {
- label: 'First Dataset',
- data: [65, 59, 80, 81, 56, 55, 40],
- fill: false,
- backgroundColor: documentStyle.getPropertyValue('--bluegray-700'),
- borderColor: documentStyle.getPropertyValue('--bluegray-700'),
- tension: .4
- },
- {
- label: 'Second Dataset',
- data: [28, 48, 40, 19, 86, 27, 90],
- fill: false,
- backgroundColor: documentStyle.getPropertyValue('--green-600'),
- borderColor: documentStyle.getPropertyValue('--green-600'),
- tension: .4
- }
- ]
- };
-
- this.chartOptions = {
- plugins: {
- legend: {
- labels: {
- color: textColor
- }
- }
- },
- scales: {
- x: {
- ticks: {
- color: textColorSecondary
- },
- grid: {
- color: surfaceBorder,
- drawBorder: false
- }
- },
- y: {
- ticks: {
- color: textColorSecondary
- },
- grid: {
- color: surfaceBorder,
- drawBorder: false
- }
- }
- }
- };
- }
-
- ngOnDestroy() {
- if (this.subscription) {
- this.subscription.unsubscribe();
- }
- }
-}
diff --git a/src/app/demo/components/dashboard/dashboard.module.ts b/src/app/demo/components/dashboard/dashboard.module.ts
deleted file mode 100644
index f740165..0000000
--- a/src/app/demo/components/dashboard/dashboard.module.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { DashboardComponent } from './dashboard.component';
-import { ChartModule } from 'primeng/chart';
-import { MenuModule } from 'primeng/menu';
-import { TableModule } from 'primeng/table';
-import { ButtonModule } from 'primeng/button';
-import { StyleClassModule } from 'primeng/styleclass';
-import { PanelMenuModule } from 'primeng/panelmenu';
-import { DashboardsRoutingModule } from './dashboard-routing.module';
-
-@NgModule({
- imports: [
- CommonModule,
- FormsModule,
- ChartModule,
- MenuModule,
- TableModule,
- StyleClassModule,
- PanelMenuModule,
- ButtonModule,
- DashboardsRoutingModule
- ],
- declarations: [DashboardComponent]
-})
-export class DashboardModule { }
diff --git a/src/app/demo/components/documentation/documentation-routing.module.ts b/src/app/demo/components/documentation/documentation-routing.module.ts
deleted file mode 100644
index 36371a4..0000000
--- a/src/app/demo/components/documentation/documentation-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { DocumentationComponent } from './documentation.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: DocumentationComponent }
- ])],
- exports: [RouterModule]
-})
-export class DocumentationRoutingModule { }
diff --git a/src/app/demo/components/documentation/documentation.component.html b/src/app/demo/components/documentation/documentation.component.html
deleted file mode 100644
index 41b6f52..0000000
--- a/src/app/demo/components/documentation/documentation.component.html
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
Documentation
-
Getting Started
-
Sakai is an application template for Angular and is distributed as a CLI project. Current versions is Angular v17 with PrimeNG v17. In case CLI is not installed already, use the command below to set it up.
-
-
npm install -g @angular/cli
-
-
Once CLI is ready in your system, extract the contents of the zip file distribution, cd to the directory,
- install the libraries from npm and then execute "ng serve" to run the application in your local environment.
-
-
cd sakai
-npm install
-ng serve
-
-
The application should run at http://localhost:4200/ , you may now start with the development of your application.
-
-
Important CLI Commands
-
Following commands are derived from CLI.
-
-
Run 'ng serve' for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
-
-Run 'ng generate component component-name' to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.
-
-Run 'ng build' to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
-
-Run 'ng test' to execute the unit tests via [Karma](https://karma-runner.github.io).
-
-Run 'ng e2e' to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
-
-Run 'ng help' for more options.
-
-
Structure
-
Sakai consists of 3 main parts; the application layout, layout assets and PrimeNG component theme assets. Layout is placed inside the src/app/layout folder,
- and the assets are in the src/assets/layout folder.
-
-
-
Default Configuration
-
Initial layout configuration can be defined at the main app component by injecting the LayoutService , this step is optional and only necessary when customizing the defaults. Note that theme and
- scale are not reactive since theme is configured outside of Angular at index.html by default and
- initial scale is defined with the $scale at layout.scss . When default theme or scale is changed at their files initially, it is required to configure the layout service with the matching values
- to avoid sync issues.
-
-
import { Component, OnInit } from '@angular/core';
-import { PrimeNGConfig } from 'primeng/api';
-import { LayoutService, AppConfig } from './layout/service/app.layout.service';
-
-@Component({
- selector: 'app-root',
- templateUrl: './app.component.html'
-})
-export class AppComponent implements OnInit {
-
- constructor(private primengConfig: PrimeNGConfig, private layoutService: LayoutService) { }
-
- ngOnInit(): void {
- this.primengConfig.ripple = true; //enables core ripple functionality
-
- //optional configuration with the default configuration
- const config: AppConfig = {
- ripple: false, //toggles ripple on and off
- inputStyle: 'outlined', //default style for input elements
- menuMode: 'static', //layout mode of the menu, valid values are "static" and "overlay"
- colorScheme: 'light', //color scheme of the template, valid values are "light" and "dark"
- theme: 'lara-light-indigo', //default component theme for PrimeNG
- scale: 14 //size of the body font size to scale the whole application
- };
- this.layoutService.config.set(config);
- }
-
-}
-
-
Menu
-
Menu is a separate component defined in src/app/layout/app.menu.component.ts file and based on PrimeNG MenuModel API. In order to define the menuitems,
- navigate to this file and define your own model as a nested structure.
-
-
import { OnInit } from '@angular/core';
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'app-menu',
- templateUrl: './app.menu.component.html'
-})
-export class AppMenuComponent implements OnInit {
-
- model: any[] = [];
-
- ngOnInit() {
- this.model = [
- {
- label: 'Home',
- items: [
- {
- label: 'Dashboard',
- icon: 'pi pi-fw pi-home',
- routerLink: ['/']
- }
- ]
- },
- //...
- ];
- }
-}
-
-
Integration with Existing Angular CLI Projects
-
Sakai structure is designed in a modular way so that it can easily be integrated with your existing application. We've created a short tutorial with details.
-
-
- VIDEO
-
-
-
Theme
-
Sakai provides 34 PrimeNG themes out of the box. Setup of a theme is simple by including the css of theme
- to your bundle that are located inside assets/layout/styles/theme/
- folder such as assets/layout/styles/theme/lara-light-indigo/theme.css .
-
-
Another alternative would be creating dynamic bundles, please see the video tutorial for an example.
-
-
diff --git a/src/app/demo/components/documentation/documentation.component.scss b/src/app/demo/components/documentation/documentation.component.scss
deleted file mode 100644
index b170178..0000000
--- a/src/app/demo/components/documentation/documentation.component.scss
+++ /dev/null
@@ -1,16 +0,0 @@
-@media screen and (max-width: 991px) {
- .video-container {
- position: relative;
- width: 100%;
- height: 0;
- padding-bottom: 56.25%;
-
- iframe {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- }
- }
-}
\ No newline at end of file
diff --git a/src/app/demo/components/documentation/documentation.component.ts b/src/app/demo/components/documentation/documentation.component.ts
deleted file mode 100644
index b1125a1..0000000
--- a/src/app/demo/components/documentation/documentation.component.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- templateUrl: './documentation.component.html',
- styleUrls: ['./documentation.component.scss']
-})
-export class DocumentationComponent { }
\ No newline at end of file
diff --git a/src/app/demo/components/documentation/documentation.module.ts b/src/app/demo/components/documentation/documentation.module.ts
deleted file mode 100644
index 2e6bdc9..0000000
--- a/src/app/demo/components/documentation/documentation.module.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { DocumentationRoutingModule } from './documentation-routing.module';
-import { DocumentationComponent } from './documentation.component';
-
-@NgModule({
- imports: [
- CommonModule,
- DocumentationRoutingModule
- ],
- declarations: [DocumentationComponent]
-})
-export class DocumentationModule { }
diff --git a/src/app/demo/components/landing/landing-routing.module.ts b/src/app/demo/components/landing/landing-routing.module.ts
deleted file mode 100644
index ecaf3c1..0000000
--- a/src/app/demo/components/landing/landing-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { LandingComponent } from './landing.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: LandingComponent }
- ])],
- exports: [RouterModule]
-})
-export class LandingRoutingModule { }
diff --git a/src/app/demo/components/landing/landing.component.html b/src/app/demo/components/landing/landing.component.html
deleted file mode 100644
index 80e9642..0000000
--- a/src/app/demo/components/landing/landing.component.html
+++ /dev/null
@@ -1,362 +0,0 @@
-
-
-
-
-
-
-
Eu sem integer eget magna fermentum
-
Sed blandit libero volutpat sed cras. Fames ac turpis egestas integer. Placerat in egestas erat...
-
-
-
-
-
-
-
-
-
-
-
Marvelous Features
- Placerat in egestas erat...
-
-
-
-
-
-
-
-
-
Easy to Use
-
Posuere morbi leo urna molestie.
-
-
-
-
-
-
-
-
-
-
-
Fresh Design
-
Semper risus in hendrerit.
-
-
-
-
-
-
-
-
-
-
-
Well Documented
-
Non arcu risus quis varius quam quisque.
-
-
-
-
-
-
-
-
-
-
-
Responsive Layout
-
Nulla malesuada pellentesque elit.
-
-
-
-
-
-
-
-
-
-
-
Clean Code
-
Condimentum lacinia quis vel eros.
-
-
-
-
-
-
-
-
-
-
-
Dark Mode
-
Convallis tellus id interdum velit laoreet.
-
-
-
-
-
-
-
-
-
-
-
Ready to Use
-
Mauris sit amet massa vitae.
-
-
-
-
-
-
-
-
-
-
-
Modern Practices
-
Elementum nibh tellus molestie nunc non.
-
-
-
-
-
-
-
-
-
-
-
Privacy
-
Neque egestas congue quisque.
-
-
-
-
-
-
-
Joséphine Miller
-
Peak Interactive
-
“Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.”
-
-
-
-
-
-
-
-
-
-
Powerful Everywhere
- Amet consectetur adipiscing elit...
-
-
-
-
-
-
-
-
-
-
-
-
Congue Quisque Egestas
-
Lectus arcu bibendum at varius vel pharetra vel turpis nunc. Eget aliquet nibh praesent tristique magna sit amet purus gravida. Sit amet mattis vulputate enim nulla aliquet.
-
-
-
-
-
-
-
-
-
Celerisque Eu Ultrices
-
Adipiscing commodo elit at imperdiet dui. Viverra nibh cras pulvinar mattis nunc sed blandit libero. Suspendisse in est ante in. Mauris pharetra et ultrices neque ornare aenean euismod elementum nisi.
-
-
-
-
-
-
-
-
-
-
-
Matchless Pricing
- Amet consectetur adipiscing elit...
-
-
-
-
-
-
Free
-
-
- $0
- per month
-
-
-
-
-
-
- Responsive Layout
-
-
-
- Unlimited Push Messages
-
-
-
- 50 Support Ticket
-
-
-
- Free Shipping
-
-
-
-
-
-
-
-
Startup
-
-
- $1
- per month
-
-
-
-
-
-
- Responsive Layout
-
-
-
- Unlimited Push Messages
-
-
-
- 50 Support Ticket
-
-
-
- Free Shipping
-
-
-
-
-
-
-
-
Enterprise
-
-
- $999
- per month
-
-
-
-
-
-
- Responsive Layout
-
-
-
- Unlimited Push Messages
-
-
-
- 50 Support Ticket
-
-
-
- Free Shipping
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/app/demo/components/landing/landing.component.ts b/src/app/demo/components/landing/landing.component.ts
deleted file mode 100644
index b10d35d..0000000
--- a/src/app/demo/components/landing/landing.component.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { Component } from '@angular/core';
-import { Router } from '@angular/router';
-import { LayoutService } from 'src/app/layout/service/app.layout.service';
-
-@Component({
- selector: 'app-landing',
- templateUrl: './landing.component.html'
-})
-export class LandingComponent {
-
- constructor(public layoutService: LayoutService, public router: Router) { }
-
-}
diff --git a/src/app/demo/components/landing/landing.module.ts b/src/app/demo/components/landing/landing.module.ts
deleted file mode 100644
index 3a08743..0000000
--- a/src/app/demo/components/landing/landing.module.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { LandingRoutingModule } from './landing-routing.module';
-import { LandingComponent } from './landing.component';
-import { StyleClassModule } from 'primeng/styleclass';
-import { DividerModule } from 'primeng/divider';
-import { ChartModule } from 'primeng/chart';
-import { PanelModule } from 'primeng/panel';
-import { ButtonModule } from 'primeng/button';
-
-@NgModule({
- imports: [
- CommonModule,
- LandingRoutingModule,
- DividerModule,
- StyleClassModule,
- ChartModule,
- PanelModule,
- ButtonModule
- ],
- declarations: [LandingComponent]
-})
-export class LandingModule { }
diff --git a/src/app/demo/components/notfound/notfound.component.html b/src/app/demo/components/notfound/notfound.component.html
deleted file mode 100644
index 8d15cfe..0000000
--- a/src/app/demo/components/notfound/notfound.component.html
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/app/demo/components/notfound/notfound.component.ts b/src/app/demo/components/notfound/notfound.component.ts
deleted file mode 100644
index 8ec0c15..0000000
--- a/src/app/demo/components/notfound/notfound.component.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- selector: 'app-notfound',
- templateUrl: './notfound.component.html',
-})
-export class NotfoundComponent { }
\ No newline at end of file
diff --git a/src/app/demo/components/pages/crud/crud-routing.module.ts b/src/app/demo/components/pages/crud/crud-routing.module.ts
deleted file mode 100644
index 75ac279..0000000
--- a/src/app/demo/components/pages/crud/crud-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { CrudComponent } from './crud.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: CrudComponent }
- ])],
- exports: [RouterModule]
-})
-export class CrudRoutingModule { }
diff --git a/src/app/demo/components/pages/crud/crud.component.html b/src/app/demo/components/pages/crud/crud.component.html
deleted file mode 100644
index e32c015..0000000
--- a/src/app/demo/components/pages/crud/crud.component.html
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Manage Products
-
-
-
-
-
-
-
-
-
-
-
- Code
- Name
- Image
- Price
- Category
- Reviews
- Status
-
-
-
-
-
-
-
-
- Code
- {{product.code || product.id}}
-
-
- Name
- {{product.name}}
-
- Image
-
-
-
- Price
- {{product.price | currency:'USD'}}
-
-
- Category
- {{product.category}}
-
- Reviews
-
-
- Status
- {{product.inventoryStatus}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
- Name is required.
-
-
- Description
-
-
-
-
Inventory Status
-
-
- {{product.inventoryStatus}}
-
-
- {{option.label}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Are you sure you want to delete {{product.name}} ?
-
-
-
-
-
-
-
-
-
-
- Are you sure you want to delete selected products?
-
-
-
-
-
-
-
-
diff --git a/src/app/demo/components/pages/crud/crud.component.ts b/src/app/demo/components/pages/crud/crud.component.ts
deleted file mode 100644
index a01e2be..0000000
--- a/src/app/demo/components/pages/crud/crud.component.ts
+++ /dev/null
@@ -1,141 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { Product } from 'src/app/demo/api/product';
-import { MessageService } from 'primeng/api';
-import { Table } from 'primeng/table';
-import { ProductService } from 'src/app/demo/service/product.service';
-
-@Component({
- templateUrl: './crud.component.html',
- providers: [MessageService]
-})
-export class CrudComponent implements OnInit {
-
- productDialog: boolean = false;
-
- deleteProductDialog: boolean = false;
-
- deleteProductsDialog: boolean = false;
-
- products: Product[] = [];
-
- product: Product = {};
-
- selectedProducts: Product[] = [];
-
- submitted: boolean = false;
-
- cols: any[] = [];
-
- statuses: any[] = [];
-
- rowsPerPageOptions = [5, 10, 20];
-
- constructor(private productService: ProductService, private messageService: MessageService) { }
-
- ngOnInit() {
- this.productService.getProducts().then(data => this.products = data);
-
- this.cols = [
- { field: 'product', header: 'Product' },
- { field: 'price', header: 'Price' },
- { field: 'category', header: 'Category' },
- { field: 'rating', header: 'Reviews' },
- { field: 'inventoryStatus', header: 'Status' }
- ];
-
- this.statuses = [
- { label: 'INSTOCK', value: 'instock' },
- { label: 'LOWSTOCK', value: 'lowstock' },
- { label: 'OUTOFSTOCK', value: 'outofstock' }
- ];
- }
-
- openNew() {
- this.product = {};
- this.submitted = false;
- this.productDialog = true;
- }
-
- deleteSelectedProducts() {
- this.deleteProductsDialog = true;
- }
-
- editProduct(product: Product) {
- this.product = { ...product };
- this.productDialog = true;
- }
-
- deleteProduct(product: Product) {
- this.deleteProductDialog = true;
- this.product = { ...product };
- }
-
- confirmDeleteSelected() {
- this.deleteProductsDialog = false;
- this.products = this.products.filter(val => !this.selectedProducts.includes(val));
- this.messageService.add({ severity: 'success', summary: 'Successful', detail: 'Products Deleted', life: 3000 });
- this.selectedProducts = [];
- }
-
- confirmDelete() {
- this.deleteProductDialog = false;
- this.products = this.products.filter(val => val.id !== this.product.id);
- this.messageService.add({ severity: 'success', summary: 'Successful', detail: 'Product Deleted', life: 3000 });
- this.product = {};
- }
-
- hideDialog() {
- this.productDialog = false;
- this.submitted = false;
- }
-
- saveProduct() {
- this.submitted = true;
-
- if (this.product.name?.trim()) {
- if (this.product.id) {
- // @ts-ignore
- this.product.inventoryStatus = this.product.inventoryStatus.value ? this.product.inventoryStatus.value : this.product.inventoryStatus;
- this.products[this.findIndexById(this.product.id)] = this.product;
- this.messageService.add({ severity: 'success', summary: 'Successful', detail: 'Product Updated', life: 3000 });
- } else {
- this.product.id = this.createId();
- this.product.code = this.createId();
- this.product.image = 'product-placeholder.svg';
- // @ts-ignore
- this.product.inventoryStatus = this.product.inventoryStatus ? this.product.inventoryStatus.value : 'INSTOCK';
- this.products.push(this.product);
- this.messageService.add({ severity: 'success', summary: 'Successful', detail: 'Product Created', life: 3000 });
- }
-
- this.products = [...this.products];
- this.productDialog = false;
- this.product = {};
- }
- }
-
- findIndexById(id: string): number {
- let index = -1;
- for (let i = 0; i < this.products.length; i++) {
- if (this.products[i].id === id) {
- index = i;
- break;
- }
- }
-
- return index;
- }
-
- createId(): string {
- let id = '';
- const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
- for (let i = 0; i < 5; i++) {
- id += chars.charAt(Math.floor(Math.random() * chars.length));
- }
- return id;
- }
-
- onGlobalFilter(table: Table, event: Event) {
- table.filterGlobal((event.target as HTMLInputElement).value, 'contains');
- }
-}
diff --git a/src/app/demo/components/pages/crud/crud.module.ts b/src/app/demo/components/pages/crud/crud.module.ts
deleted file mode 100644
index 8f79bbb..0000000
--- a/src/app/demo/components/pages/crud/crud.module.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { CrudRoutingModule } from './crud-routing.module';
-import { CrudComponent } from './crud.component';
-import { TableModule } from 'primeng/table';
-import { FileUploadModule } from 'primeng/fileupload';
-import { ButtonModule } from 'primeng/button';
-import { RippleModule } from 'primeng/ripple';
-import { ToastModule } from 'primeng/toast';
-import { ToolbarModule } from 'primeng/toolbar';
-import { RatingModule } from 'primeng/rating';
-import { InputTextModule } from 'primeng/inputtext';
-import { InputTextareaModule } from 'primeng/inputtextarea';
-import { DropdownModule } from 'primeng/dropdown';
-import { RadioButtonModule } from 'primeng/radiobutton';
-import { InputNumberModule } from 'primeng/inputnumber';
-import { DialogModule } from 'primeng/dialog';
-
-@NgModule({
- imports: [
- CommonModule,
- CrudRoutingModule,
- TableModule,
- FileUploadModule,
- FormsModule,
- ButtonModule,
- RippleModule,
- ToastModule,
- ToolbarModule,
- RatingModule,
- InputTextModule,
- InputTextareaModule,
- DropdownModule,
- RadioButtonModule,
- InputNumberModule,
- DialogModule
- ],
- declarations: [CrudComponent]
-})
-export class CrudModule { }
diff --git a/src/app/demo/components/pages/empty/emptydemo-routing.module.ts b/src/app/demo/components/pages/empty/emptydemo-routing.module.ts
deleted file mode 100644
index 52ed8c5..0000000
--- a/src/app/demo/components/pages/empty/emptydemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { EmptyDemoComponent } from './emptydemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: EmptyDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class EmptyDemoRoutingModule { }
diff --git a/src/app/demo/components/pages/empty/emptydemo.component.html b/src/app/demo/components/pages/empty/emptydemo.component.html
deleted file mode 100644
index cb04b32..0000000
--- a/src/app/demo/components/pages/empty/emptydemo.component.html
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
Empty Page
-
This is your empty page template to start building beautiful applications.
-
-
-
diff --git a/src/app/demo/components/pages/empty/emptydemo.component.ts b/src/app/demo/components/pages/empty/emptydemo.component.ts
deleted file mode 100644
index 65fef35..0000000
--- a/src/app/demo/components/pages/empty/emptydemo.component.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- templateUrl: './emptydemo.component.html'
-})
-export class EmptyDemoComponent { }
diff --git a/src/app/demo/components/pages/empty/emptydemo.module.ts b/src/app/demo/components/pages/empty/emptydemo.module.ts
deleted file mode 100644
index 59302aa..0000000
--- a/src/app/demo/components/pages/empty/emptydemo.module.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { EmptyDemoRoutingModule } from './emptydemo-routing.module';
-import { EmptyDemoComponent } from './emptydemo.component';
-
-@NgModule({
- imports: [
- CommonModule,
- EmptyDemoRoutingModule
- ],
- declarations: [EmptyDemoComponent]
-})
-export class EmptyDemoModule { }
diff --git a/src/app/demo/components/pages/pages-routing.module.ts b/src/app/demo/components/pages/pages-routing.module.ts
deleted file mode 100644
index a1cd86a..0000000
--- a/src/app/demo/components/pages/pages-routing.module.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: 'crud', loadChildren: () => import('./crud/crud.module').then(m => m.CrudModule) },
- { path: 'empty', loadChildren: () => import('./empty/emptydemo.module').then(m => m.EmptyDemoModule) },
- { path: 'timeline', loadChildren: () => import('./timeline/timelinedemo.module').then(m => m.TimelineDemoModule) },
- { path: '**', redirectTo: '/notfound' }
- ])],
- exports: [RouterModule]
-})
-export class PagesRoutingModule { }
diff --git a/src/app/demo/components/pages/pages.module.ts b/src/app/demo/components/pages/pages.module.ts
deleted file mode 100644
index 7b4557f..0000000
--- a/src/app/demo/components/pages/pages.module.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { PagesRoutingModule } from './pages-routing.module';
-
-@NgModule({
- declarations: [],
- imports: [
- CommonModule,
- PagesRoutingModule
- ]
-})
-export class PagesModule { }
diff --git a/src/app/demo/components/pages/timeline/timelinedemo-routing.module.ts b/src/app/demo/components/pages/timeline/timelinedemo-routing.module.ts
deleted file mode 100644
index a4522b0..0000000
--- a/src/app/demo/components/pages/timeline/timelinedemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { TimelineDemoComponent } from './timelinedemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: TimelineDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class TimelineDemoRoutingModule { }
diff --git a/src/app/demo/components/pages/timeline/timelinedemo.component.html b/src/app/demo/components/pages/timeline/timelinedemo.component.html
deleted file mode 100644
index 25e0776..0000000
--- a/src/app/demo/components/pages/timeline/timelinedemo.component.html
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
-
Left Align
-
-
- {{event.status}}
-
-
-
-
-
-
-
Right Align
-
-
- {{event.status}}
-
-
-
-
-
-
-
Alternate Align
-
-
- {{event.status}}
-
-
-
-
-
-
-
Opposite Content
-
-
- {{event.date}}
-
-
- {{event.status}}
-
-
-
-
-
-
-
-
Customized
-
-
-
-
-
-
-
-
-
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Inventore sed consequuntur error repudiandae numquam deserunt
- quisquam repellat libero asperiores earum nam nobis, culpa ratione quam perferendis esse, cupiditate neque quas!
-
-
-
-
-
-
-
-
Horizontal
-
Top Align
-
-
- {{event}}
-
-
-
-
Bottom Align
-
-
- {{event}}
-
-
-
-
Alternate Align
-
-
- {{event}}
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/app/demo/components/pages/timeline/timelinedemo.component.ts b/src/app/demo/components/pages/timeline/timelinedemo.component.ts
deleted file mode 100644
index 738a53b..0000000
--- a/src/app/demo/components/pages/timeline/timelinedemo.component.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { PrimeIcons } from 'primeng/api';
-
-@Component({
- templateUrl: './timelinedemo.component.html',
- styleUrls: ['./timelinedemo.scss']
-})
-export class TimelineDemoComponent implements OnInit {
-
- events1: any[] = [];
-
- events2: any[] = [];
-
- ngOnInit() {
- this.events1 = [
- { status: 'Ordered', date: '15/10/2020 10:30', icon: PrimeIcons.SHOPPING_CART, color: '#9C27B0', image: 'game-controller.jpg' },
- { status: 'Processing', date: '15/10/2020 14:00', icon: PrimeIcons.COG, color: '#673AB7' },
- { status: 'Shipped', date: '15/10/2020 16:15', icon: PrimeIcons.ENVELOPE, color: '#FF9800' },
- { status: 'Delivered', date: '16/10/2020 10:00', icon: PrimeIcons.CHECK, color: '#607D8B' }
- ];
-
- this.events2 = [
- "2020", "2021", "2022", "2023"
- ];
- }
-
-}
diff --git a/src/app/demo/components/pages/timeline/timelinedemo.module.ts b/src/app/demo/components/pages/timeline/timelinedemo.module.ts
deleted file mode 100644
index 082be85..0000000
--- a/src/app/demo/components/pages/timeline/timelinedemo.module.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { TimelineDemoRoutingModule } from './timelinedemo-routing.module';
-import { TimelineDemoComponent } from './timelinedemo.component';
-import { TimelineModule } from 'primeng/timeline';
-import { ButtonModule } from 'primeng/button';
-import { CardModule } from 'primeng/card';
-
-@NgModule({
- imports: [
- CommonModule,
- TimelineModule,
- ButtonModule,
- CardModule,
- TimelineDemoRoutingModule
- ],
- declarations: [TimelineDemoComponent]
-})
-export class TimelineDemoModule { }
diff --git a/src/app/demo/components/pages/timeline/timelinedemo.scss b/src/app/demo/components/pages/timeline/timelinedemo.scss
deleted file mode 100644
index 12a423e..0000000
--- a/src/app/demo/components/pages/timeline/timelinedemo.scss
+++ /dev/null
@@ -1,21 +0,0 @@
-@media screen and (max-width: 960px) {
- ::ng-deep {
- .customized-timeline {
- .p-timeline-event:nth-child(even) {
- flex-direction: row !important;
-
- .p-timeline-event-content {
- text-align: left !important;
- }
- }
-
- .p-timeline-event-opposite {
- flex: 0;
- }
-
- .p-card {
- margin-top: 1rem;
- }
- }
- }
-}
\ No newline at end of file
diff --git a/src/app/demo/components/primeblocks/blocks/blocks.component.html b/src/app/demo/components/primeblocks/blocks/blocks.component.html
deleted file mode 100644
index 2888882..0000000
--- a/src/app/demo/components/primeblocks/blocks/blocks.component.html
+++ /dev/null
@@ -1,409 +0,0 @@
-
-
-
-
- Create the screens your
- visitors deserve to see
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- One Product,
- Many Solutions
-
-
Ac turpis egestas maecenas pharetra convallis posuere morbi leo urna.
-
-
-
-
-
-
Built for Developers
-
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
-
-
-
-
-
-
End-to-End Encryption
-
Risus nec feugiat in fermentum posuere urna nec. Posuere sollicitudin aliquam ultrices sagittis.
-
-
-
-
-
-
Easy to Use
-
Ornare suspendisse sed nisi lacus sed viverra tellus. Neque volutpat ac tincidunt vitae semper.
-
-
-
-
-
-
Fast & Global Support
-
Fermentum et sollicitudin ac orci phasellus egestas tellus rutrum tellus.
-
-
-
-
-
-
Open Source
-
Nec tincidunt praesent semper feugiat. Sed adipiscing diam donec adipiscing tristique risus nec feugiat.
-
-
-
-
-
-
Trusted Securitty
-
Mattis rhoncus urna neque viverra justo nec ultrices. Id cursus metus aliquam eleifend.
-
-
-
-
-
-
-
-
Pricing Plans
-
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Velit numquam eligendi quos.
-
-
-
-
-
-
Basic
-
Plan description
-
-
- $9
- per month
-
-
-
-
-
- Arcu vitae elementum
-
-
-
- Dui faucibus in ornare
-
-
-
- Morbi tincidunt augue
-
-
-
-
-
-
-
-
-
-
-
-
Premium
-
Plan description
-
-
- $29
- per month
-
-
-
-
-
- Arcu vitae elementum
-
-
-
- Dui faucibus in ornare
-
-
-
- Morbi tincidunt augue
-
-
-
- Duis ultricies lacus sed
-
-
-
-
-
-
-
-
-
-
-
-
Enterprise
-
Plan description
-
-
- $49
- per month
-
-
-
-
-
- Arcu vitae elementum
-
-
-
- Dui faucibus in ornare
-
-
-
- Morbi tincidunt augue
-
-
-
- Duis ultricies lacus sed
-
-
-
- Imperdiet proin
-
-
-
- Nisi scelerisque
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
POWERED BY DISCORD
-
Join Our Design Community
-
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Velit numquam eligendi quos.
-
-
-
-
-
-
-
-
🔥 Hot Deals!
-
- Libero voluptatum atque exercitationem praesentium provident odit.
-
-
- Learn More
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Customers
-
-
-
- 332 Active Users
-
-
-
- 9402 Sessions
-
-
-
- 2.32m Avg. Duration
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
24 new
-
since last visit
-
-
-
-
-
-
%52+
-
since last week
-
-
-
-
-
-
520
-
newly registered
-
-
-
-
-
-
-
Comments
-
152 Unread
-
-
-
-
-
-
85
-
responded
-
-
-
-
-
-
-
-
-
-
-
Welcome Back
-
Don't have an account?
-
Create today!
-
-
-
-
Email
-
-
-
Password
-
-
-
-
-
-
-
-
-
-
-
-
Movie Information
-
Morbi tristique blandit turpis. In viverra ligula id nulla hendrerit rutrum.
-
-
- Title
- Heat
-
-
-
-
-
- Genre
-
-
-
-
-
-
- Director
- Michael Mann
-
-
-
-
-
- Actors
- Robert De Niro, Al Pacino
-
-
-
-
-
- Plot
-
- A group of professional bank robbers start to feel the heat from police
- when they unknowingly leave a clue at their latest heist.
-
-
-
-
-
-
-
-
-
-
-
Card Title
-
Vivamus id nisl interdum, blandit augue sit amet, eleifend mi.
-
-
-
diff --git a/src/app/demo/components/primeblocks/blocks/blocks.component.ts b/src/app/demo/components/primeblocks/blocks/blocks.component.ts
deleted file mode 100644
index 1068f63..0000000
--- a/src/app/demo/components/primeblocks/blocks/blocks.component.ts
+++ /dev/null
@@ -1,407 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- templateUrl: './blocks.component.html'
-})
-export class BlocksComponent{
-
- block1: string = `
-
-
-
- Create the screens your
- visitors deserve to see
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
-
-
-
-
-
-
-
-
-
`;
-
- block2: string = `
-
-
- One Product,
- Many Solutions
-
-
Ac turpis egestas maecenas pharetra convallis posuere morbi leo urna.
-
-
-
-
-
-
Built for Developers
-
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
-
-
-
-
-
-
End-to-End Encryption
-
Risus nec feugiat in fermentum posuere urna nec. Posuere sollicitudin aliquam ultrices sagittis.
-
-
-
-
-
-
Easy to Use
-
Ornare suspendisse sed nisi lacus sed viverra tellus. Neque volutpat ac tincidunt vitae semper.
-
-
-
-
-
-
Fast & Global Support
-
Fermentum et sollicitudin ac orci phasellus egestas tellus rutrum tellus.
-
-
-
-
-
-
Open Source
-
Nec tincidunt praesent semper feugiat. Sed adipiscing diam donec adipiscing tristique risus nec feugiat.
-
-
-
-
-
-
Trusted Securitty
-
Mattis rhoncus urna neque viverra justo nec ultrices. Id cursus metus aliquam eleifend.
-
-
-
`;
-
- block3: string = `
-
-
Pricing Plans
-
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Velit numquam eligendi quos.
-
-
-
-
-
-
Basic
-
Plan description
-
-
- $9
- per month
-
-
-
-
-
- Arcu vitae elementum
-
-
-
- Dui faucibus in ornare
-
-
-
- Morbi tincidunt augue
-
-
-
-
-
-
-
-
-
-
-
-
Premium
-
Plan description
-
-
- $29
- per month
-
-
-
-
-
- Arcu vitae elementum
-
-
-
- Dui faucibus in ornare
-
-
-
- Morbi tincidunt augue
-
-
-
- Duis ultricies lacus sed
-
-
-
-
-
-
-
-
-
-
-
-
Enterprise
-
Plan description
-
-
- $49
- per month
-
-
-
-
-
- Arcu vitae elementum
-
-
-
- Dui faucibus in ornare
-
-
-
- Morbi tincidunt augue
-
-
-
- Duis ultricies lacus sed
-
-
-
- Imperdiet proin
-
-
-
- Nisi scelerisque
-
-
-
-
-
-
-
-
-
`;
-
- block4: string = `
-
-
-
POWERED BY DISCORD
-
Join Our Design Community
-
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Velit numquam eligendi quos.
-
-
-
`;
-
- block5: string = `
-
-
🔥 Hot Deals!
-
- Libero voluptatum atque exercitationem praesentium provident odit.
-
-
- Learn More
-
-
-
-
-
`;
-
- block6: string = `
-
-
-
-
-
Customers
-
-
-
- 332 Active Users
-
-
-
- 9402 Sessions
-
-
-
- 2.32m Avg. Duration
-
-
-
-
-
-
-
-
-
`;
-
- block7: string = `
-
-
-
-
-
-
24 new
-
since last visit
-
-
-
-
-
-
%52+
-
since last week
-
-
-
-
-
-
520
-
newly registered
-
-
-
-
-
-
-
Comments
-
152 Unread
-
-
-
-
-
-
85
-
responded
-
-
-
-
`;
-
- block8: string = `
-
-
-
-
Welcome Back
-
Don't have an account?
-
Create today!
-
-
-
-
Email
-
-
-
Password
-
-
-
-
-
-
-
`;
-
- block9: string = `
-
-
Movie Information
-
Morbi tristique blandit turpis. In viverra ligula id nulla hendrerit rutrum.
-
-
- Title
- Heat
-
-
-
-
-
- Genre
-
-
-
-
-
-
- Director
- Michael Mann
-
-
-
-
-
- Actors
- Robert De Niro, Al Pacino
-
-
-
-
-
- Plot
-
- A group of professional bank robbers start to feel the heat from police
- when they unknowingly leave a clue at their latest heist.
-
-
-
-
-
-
`;
-
- block10: string = `
-
-
Card Title
-
Vivamus id nisl interdum, blandit augue sit amet, eleifend mi.
-
-
`;
-
-}
\ No newline at end of file
diff --git a/src/app/demo/components/primeblocks/blockviewer/blockviewer.component.scss b/src/app/demo/components/primeblocks/blockviewer/blockviewer.component.scss
deleted file mode 100644
index 9eabcb0..0000000
--- a/src/app/demo/components/primeblocks/blockviewer/blockviewer.component.scss
+++ /dev/null
@@ -1,106 +0,0 @@
-.block-section {
- margin-bottom: 4rem;
-}
-
-.block-header {
- padding: 1rem 2rem;
- background-color: var(--surface-section);
- border-top-left-radius: 4px;
- border-top-right-radius: 4px;
- border:1px solid var(--surface-border);
- display: flex;
- align-items: center;
- justify-content: space-between;
-
- .block-title {
- font-weight: 700;
- display: inline-flex;
- align-items: center;
-
- .badge-free {
- border-radius: 4px;
- padding: .25rem .5rem;
- background-color: var(--orange-500);
- color: white;
- margin-left: 1rem;
- font-weight: 700;
- font-size: .875rem;
- }
- }
-
- .block-actions {
- display: flex;
- align-items: center;
- justify-content: space-between;
- user-select: none;
- margin-left: 1rem;
-
- a {
- display: flex;
- align-items: center;
- margin-right: .75rem;
- padding: .5rem 1rem;
- border-radius: 4px;
- border: 1px solid transparent;
- transition: background-color .2s;
- cursor: pointer;
-
- &:last-child {
- margin-right: 0;
- }
-
- &:not(.block-action-disabled):hover {
- background-color: var(--surface-hover);
- }
-
- &.block-action-active {
- border-color: var(--primary-color);
- color: var(--primary-color);
- }
-
- &.block-action-copy {
- i {
- color: var(--primary-color);
- font-size: 1.25rem;
- }
- }
-
- &.block-action-disabled {
- opacity: .6;
- cursor: auto !important;
- }
-
- i {
- margin-right: .5rem;
- }
- }
- }
-}
-
-.block-content {
- padding: 0;
- border:1px solid var(--surface-border);
- border-top: 0 none;
-
- pre.app-code {
- background-color: var(--surface-card) !important;
- padding-bottom: 1rem !important;
- margin-bottom: 0 !important;
-
- code {
- padding: 1rem 2.5rem;
- }
- }
-}
-
-@media screen and (max-width: 575px) {
- .block-header {
- flex-direction: column;
- align-items: start;
-
- .block-actions {
- margin-top: 1rem;
- margin-left: 0;
- }
- }
-}
\ No newline at end of file
diff --git a/src/app/demo/components/primeblocks/blockviewer/blockviewer.component.ts b/src/app/demo/components/primeblocks/blockviewer/blockviewer.component.ts
deleted file mode 100644
index a557937..0000000
--- a/src/app/demo/components/primeblocks/blockviewer/blockviewer.component.ts
+++ /dev/null
@@ -1,70 +0,0 @@
-import { Component, Input } from '@angular/core';
-
-enum BlockView {
- PREVIEW,
- CODE
-}
-
-@Component({
- // eslint-disable-next-line @angular-eslint/component-selector
- selector: 'block-viewer',
- template: `
-
- `,
- styleUrls: ['./blockviewer.component.scss']
-})
-export class BlockViewerComponent {
-
- @Input() header!: string;
-
- @Input() code!: string;
-
- @Input() containerClass!: string;
-
- @Input() previewStyle!: object;
-
- @Input() free: boolean = true;
-
- @Input() new: boolean = false;
-
- BlockView = BlockView;
-
- blockView: BlockView = BlockView.PREVIEW;
-
- activateView(event: Event, blockView: BlockView) {
-
- this.blockView = blockView;
- event.preventDefault();
- }
-
-
- async copyCode(event: Event) {
- await navigator.clipboard.writeText(this.code);
- event.preventDefault();
- }
-
-}
diff --git a/src/app/demo/components/primeblocks/primeblocks-routing.module.ts b/src/app/demo/components/primeblocks/primeblocks-routing.module.ts
deleted file mode 100644
index b3149f4..0000000
--- a/src/app/demo/components/primeblocks/primeblocks-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { BlocksComponent } from './blocks/blocks.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: BlocksComponent }
- ])],
- exports: [RouterModule]
-})
-export class PrimeBlocksRoutingModule { }
diff --git a/src/app/demo/components/primeblocks/primeblocks.module.ts b/src/app/demo/components/primeblocks/primeblocks.module.ts
deleted file mode 100644
index fb40158..0000000
--- a/src/app/demo/components/primeblocks/primeblocks.module.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { BlocksComponent } from './blocks/blocks.component';
-import { PrimeBlocksRoutingModule } from './primeblocks-routing.module';
-import { BlockViewerComponent } from './blockviewer/blockviewer.component'
-import { ChipModule } from 'primeng/chip';
-import { CheckboxModule } from 'primeng/checkbox';
-import { ButtonModule } from 'primeng/button';
-import { RippleModule } from 'primeng/ripple';
-import { FormsModule } from '@angular/forms';
-import { InputTextModule } from 'primeng/inputtext';
-import { PasswordModule } from 'primeng/password';
-import { TooltipModule } from 'primeng/tooltip';
-
-@NgModule({
- imports: [
- CommonModule,
- ButtonModule,
- RippleModule,
- ChipModule,
- CheckboxModule,
- FormsModule,
- InputTextModule,
- PasswordModule,
- TooltipModule,
- PrimeBlocksRoutingModule
- ],
- declarations: [BlocksComponent, BlockViewerComponent]
-})
-export class PrimeBlocksModule { }
diff --git a/src/app/demo/components/uikit/button/buttondemo-routing.module.ts b/src/app/demo/components/uikit/button/buttondemo-routing.module.ts
deleted file mode 100644
index 28bec84..0000000
--- a/src/app/demo/components/uikit/button/buttondemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { ButtonDemoComponent } from './buttondemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: ButtonDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class ButtonDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/button/buttondemo.component.html b/src/app/demo/components/uikit/button/buttondemo.component.html
deleted file mode 100644
index cc56d7b..0000000
--- a/src/app/demo/components/uikit/button/buttondemo.component.html
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
Severities
-
-
-
-
-
-
-
-
-
-
-
-
-
Text
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Outlined
-
-
-
-
-
-
-
-
-
-
-
-
-
Button Set
-
-
-
-
-
-
-
-
-
Templating
-
-
-
-
-
-
-
- PrimeNG
-
-
-
-
-
-
-
-
-
Raised
-
-
-
-
-
-
-
-
-
-
-
-
-
Rounded
-
-
-
-
-
-
-
-
-
-
-
-
-
Rounded Icons
-
-
-
-
-
-
-
-
-
-
-
-
-
Rounded Text
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Rounded Outlined
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/app/demo/components/uikit/button/buttondemo.component.ts b/src/app/demo/components/uikit/button/buttondemo.component.ts
deleted file mode 100644
index 43b8486..0000000
--- a/src/app/demo/components/uikit/button/buttondemo.component.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { MenuItem } from 'primeng/api';
-
-@Component({
- templateUrl: './buttondemo.component.html'
-})
-export class ButtonDemoComponent implements OnInit {
-
- items: MenuItem[] = [];
-
- loading = [false, false, false, false];
-
- ngOnInit() {
- this.items = [
- { label: 'Update', icon: 'pi pi-refresh' },
- { label: 'Delete', icon: 'pi pi-times' },
- { label: 'Angular.io', icon: 'pi pi-info', url: 'http://angular.io' },
- { separator: true },
- { label: 'Setup', icon: 'pi pi-cog' }
- ];
- }
-
- load(index: number) {
- this.loading[index] = true;
- setTimeout(() => this.loading[index] = false, 1000);
- }
-
-}
diff --git a/src/app/demo/components/uikit/button/buttondemo.module.ts b/src/app/demo/components/uikit/button/buttondemo.module.ts
deleted file mode 100644
index a902360..0000000
--- a/src/app/demo/components/uikit/button/buttondemo.module.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { ButtonDemoRoutingModule } from './buttondemo-routing.module';
-import { ButtonDemoComponent } from './buttondemo.component';
-import { ButtonModule } from 'primeng/button';
-import { RippleModule } from 'primeng/ripple';
-import { SplitButtonModule } from 'primeng/splitbutton';
-import { ToggleButtonModule } from 'primeng/togglebutton';
-
-@NgModule({
- imports: [
- CommonModule,
- ButtonDemoRoutingModule,
- ButtonModule,
- RippleModule,
- SplitButtonModule,
- ToggleButtonModule,
- ],
- declarations: [ButtonDemoComponent]
-})
-export class ButtonDemoModule { }
diff --git a/src/app/demo/components/uikit/charts/chartsdemo-routing.module.ts b/src/app/demo/components/uikit/charts/chartsdemo-routing.module.ts
deleted file mode 100644
index 00f7221..0000000
--- a/src/app/demo/components/uikit/charts/chartsdemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { ChartsDemoComponent } from './chartsdemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: ChartsDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class ChartsDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/charts/chartsdemo.component.html b/src/app/demo/components/uikit/charts/chartsdemo.component.html
deleted file mode 100755
index 4448be9..0000000
--- a/src/app/demo/components/uikit/charts/chartsdemo.component.html
+++ /dev/null
@@ -1,34 +0,0 @@
-
diff --git a/src/app/demo/components/uikit/charts/chartsdemo.component.ts b/src/app/demo/components/uikit/charts/chartsdemo.component.ts
deleted file mode 100755
index 7f48bb3..0000000
--- a/src/app/demo/components/uikit/charts/chartsdemo.component.ts
+++ /dev/null
@@ -1,270 +0,0 @@
-import { Component, OnDestroy, OnInit } from '@angular/core';
-import { Subscription, debounceTime } from 'rxjs';
-import { LayoutService } from 'src/app/layout/service/app.layout.service';
-
-@Component({
- templateUrl: './chartsdemo.component.html'
-})
-export class ChartsDemoComponent implements OnInit, OnDestroy {
-
- lineData: any;
-
- barData: any;
-
- pieData: any;
-
- polarData: any;
-
- radarData: any;
-
- lineOptions: any;
-
- barOptions: any;
-
- pieOptions: any;
-
- polarOptions: any;
-
- radarOptions: any;
-
- subscription: Subscription;
- constructor(private layoutService: LayoutService) {
- this.subscription = this.layoutService.configUpdate$
- .pipe(debounceTime(25))
- .subscribe((config) => {
- this.initCharts();
- });
- }
-
- ngOnInit() {
- this.initCharts();
- }
-
- initCharts() {
- const documentStyle = getComputedStyle(document.documentElement);
- const textColor = documentStyle.getPropertyValue('--text-color');
- const textColorSecondary = documentStyle.getPropertyValue('--text-color-secondary');
- const surfaceBorder = documentStyle.getPropertyValue('--surface-border');
-
- this.barData = {
- labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
- datasets: [
- {
- label: 'My First dataset',
- backgroundColor: documentStyle.getPropertyValue('--primary-500'),
- borderColor: documentStyle.getPropertyValue('--primary-500'),
- data: [65, 59, 80, 81, 56, 55, 40]
- },
- {
- label: 'My Second dataset',
- backgroundColor: documentStyle.getPropertyValue('--primary-200'),
- borderColor: documentStyle.getPropertyValue('--primary-200'),
- data: [28, 48, 40, 19, 86, 27, 90]
- }
- ]
- };
-
- this.barOptions = {
- plugins: {
- legend: {
- labels: {
- fontColor: textColor
- }
- }
- },
- scales: {
- x: {
- ticks: {
- color: textColorSecondary,
- font: {
- weight: 500
- }
- },
- grid: {
- display: false,
- drawBorder: false
- }
- },
- y: {
- ticks: {
- color: textColorSecondary
- },
- grid: {
- color: surfaceBorder,
- drawBorder: false
- }
- },
- }
- };
-
- this.pieData = {
- labels: ['A', 'B', 'C'],
- datasets: [
- {
- data: [540, 325, 702],
- backgroundColor: [
- documentStyle.getPropertyValue('--indigo-500'),
- documentStyle.getPropertyValue('--purple-500'),
- documentStyle.getPropertyValue('--teal-500')
- ],
- hoverBackgroundColor: [
- documentStyle.getPropertyValue('--indigo-400'),
- documentStyle.getPropertyValue('--purple-400'),
- documentStyle.getPropertyValue('--teal-400')
- ]
- }]
- };
-
- this.pieOptions = {
- plugins: {
- legend: {
- labels: {
- usePointStyle: true,
- color: textColor
- }
- }
- }
- };
-
- this.lineData = {
- labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
- datasets: [
- {
- label: 'First Dataset',
- data: [65, 59, 80, 81, 56, 55, 40],
- fill: false,
- backgroundColor: documentStyle.getPropertyValue('--primary-500'),
- borderColor: documentStyle.getPropertyValue('--primary-500'),
- tension: .4
- },
- {
- label: 'Second Dataset',
- data: [28, 48, 40, 19, 86, 27, 90],
- fill: false,
- backgroundColor: documentStyle.getPropertyValue('--primary-200'),
- borderColor: documentStyle.getPropertyValue('--primary-200'),
- tension: .4
- }
- ]
- };
-
- this.lineOptions = {
- plugins: {
- legend: {
- labels: {
- fontColor: textColor
- }
- }
- },
- scales: {
- x: {
- ticks: {
- color: textColorSecondary
- },
- grid: {
- color: surfaceBorder,
- drawBorder: false
- }
- },
- y: {
- ticks: {
- color: textColorSecondary
- },
- grid: {
- color: surfaceBorder,
- drawBorder: false
- }
- },
- }
- };
-
- this.polarData = {
- datasets: [{
- data: [
- 11,
- 16,
- 7,
- 3
- ],
- backgroundColor: [
- documentStyle.getPropertyValue('--indigo-500'),
- documentStyle.getPropertyValue('--purple-500'),
- documentStyle.getPropertyValue('--teal-500'),
- documentStyle.getPropertyValue('--orange-500')
- ],
- label: 'My dataset'
- }],
- labels: [
- 'Indigo',
- 'Purple',
- 'Teal',
- 'Orange'
- ]
- };
-
- this.polarOptions = {
- plugins: {
- legend: {
- labels: {
- color: textColor
- }
- }
- },
- scales: {
- r: {
- grid: {
- color: surfaceBorder
- }
- }
- }
- };
-
- this.radarData = {
- labels: ['Eating', 'Drinking', 'Sleeping', 'Designing', 'Coding', 'Cycling', 'Running'],
- datasets: [
- {
- label: 'My First dataset',
- borderColor: documentStyle.getPropertyValue('--indigo-400'),
- pointBackgroundColor: documentStyle.getPropertyValue('--indigo-400'),
- pointBorderColor: documentStyle.getPropertyValue('--indigo-400'),
- pointHoverBackgroundColor: textColor,
- pointHoverBorderColor: documentStyle.getPropertyValue('--indigo-400'),
- data: [65, 59, 90, 81, 56, 55, 40]
- },
- {
- label: 'My Second dataset',
- borderColor: documentStyle.getPropertyValue('--purple-400'),
- pointBackgroundColor: documentStyle.getPropertyValue('--purple-400'),
- pointBorderColor: documentStyle.getPropertyValue('--purple-400'),
- pointHoverBackgroundColor: textColor,
- pointHoverBorderColor: documentStyle.getPropertyValue('--purple-400'),
- data: [28, 48, 40, 19, 96, 27, 100]
- }
- ]
- };
-
- this.radarOptions = {
- plugins: {
- legend: {
- labels: {
- fontColor: textColor
- }
- }
- },
- scales: {
- r: {
- grid: {
- color: textColorSecondary
- }
- }
- }
- };
- }
-
- ngOnDestroy() {
- if (this.subscription) {
- this.subscription.unsubscribe();
- }
- }
-
-}
diff --git a/src/app/demo/components/uikit/charts/chartsdemo.module.ts b/src/app/demo/components/uikit/charts/chartsdemo.module.ts
deleted file mode 100644
index 7a9f7ae..0000000
--- a/src/app/demo/components/uikit/charts/chartsdemo.module.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { ChartsDemoRoutingModule } from './chartsdemo-routing.module';
-import { ChartModule } from 'primeng/chart'
-import { ChartsDemoComponent } from './chartsdemo.component';
-
-@NgModule({
- imports: [
- CommonModule,
- ChartsDemoRoutingModule,
- ChartModule
- ],
- declarations: [ChartsDemoComponent]
-})
-export class ChartsDemoModule { }
diff --git a/src/app/demo/components/uikit/file/filedemo-routing.module.ts b/src/app/demo/components/uikit/file/filedemo-routing.module.ts
deleted file mode 100644
index 68b13f1..0000000
--- a/src/app/demo/components/uikit/file/filedemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { FileDemoComponent } from './filedemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: FileDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class FileDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/file/filedemo.component.html b/src/app/demo/components/uikit/file/filedemo.component.html
deleted file mode 100755
index 5fcdb0e..0000000
--- a/src/app/demo/components/uikit/file/filedemo.component.html
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
Advanced
-
-
-
- {{file.name}} - {{file.size}} bytes
-
-
-
-
-
Basic
-
-
-
-
-
\ No newline at end of file
diff --git a/src/app/demo/components/uikit/file/filedemo.component.ts b/src/app/demo/components/uikit/file/filedemo.component.ts
deleted file mode 100755
index d0eeb9b..0000000
--- a/src/app/demo/components/uikit/file/filedemo.component.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { Component } from '@angular/core';
-import { MessageService } from 'primeng/api';
-
-@Component({
- templateUrl: './filedemo.component.html',
- providers: [MessageService]
-})
-export class FileDemoComponent {
-
- uploadedFiles: any[] = [];
-
- constructor(private messageService: MessageService) {}
-
- onUpload(event: any) {
- for (const file of event.files) {
- this.uploadedFiles.push(file);
- }
-
- this.messageService.add({ severity: 'info', summary: 'Success', detail: 'File Uploaded' });
- }
-
- onBasicUpload() {
- this.messageService.add({ severity: 'info', summary: 'Success', detail: 'File Uploaded with Basic Mode' });
- }
-
-}
diff --git a/src/app/demo/components/uikit/file/filedemo.module.ts b/src/app/demo/components/uikit/file/filedemo.module.ts
deleted file mode 100644
index 0d4205f..0000000
--- a/src/app/demo/components/uikit/file/filedemo.module.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { FileUploadModule } from 'primeng/fileupload';
-import { FileDemoRoutingModule } from './filedemo-routing.module';
-import { FileDemoComponent } from './filedemo.component';
-
-
-@NgModule({
- imports: [
- CommonModule,
- FormsModule,
- FileDemoRoutingModule,
- FileUploadModule
- ],
- declarations: [FileDemoComponent],
-})
-export class FileDemoModule { }
diff --git a/src/app/demo/components/uikit/floatlabel/floatlabeldemo-routing.module.ts b/src/app/demo/components/uikit/floatlabel/floatlabeldemo-routing.module.ts
deleted file mode 100644
index a4190df..0000000
--- a/src/app/demo/components/uikit/floatlabel/floatlabeldemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { FloatLabelDemoComponent } from './floatlabeldemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: FloatLabelDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class FloatlabelDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/floatlabel/floatlabeldemo.component.html b/src/app/demo/components/uikit/floatlabel/floatlabeldemo.component.html
deleted file mode 100644
index 5909ff2..0000000
--- a/src/app/demo/components/uikit/floatlabel/floatlabeldemo.component.html
+++ /dev/null
@@ -1,142 +0,0 @@
-
-
Float Label
-
- All input text components support floating labels by adding
- (.p-float-label ) to wrapper class.
-
-
-
-
-
- InputText
-
-
-
-
-
-
-
- Left Icon
-
-
-
-
-
- Right Icon
-
-
-
-
-
-
-
-
-
-
-
-
-
- Textarea
-
-
-
-
diff --git a/src/app/demo/components/uikit/floatlabel/floatlabeldemo.component.ts b/src/app/demo/components/uikit/floatlabel/floatlabeldemo.component.ts
deleted file mode 100644
index 6680a32..0000000
--- a/src/app/demo/components/uikit/floatlabel/floatlabeldemo.component.ts
+++ /dev/null
@@ -1,70 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { CountryService } from 'src/app/demo/service/country.service';
-
-@Component({
- templateUrl: './floatlabeldemo.component.html',
-})
-export class FloatLabelDemoComponent implements OnInit {
-
- countries: any[] = [];
-
- cities: any[];
-
- filteredCountries: any[] = [];
-
- value1: any;
-
- value2: any;
-
- value3: any;
-
- value4: any;
-
- value5: any;
-
- value6: any;
-
- value7: any;
-
- value8: any;
-
- value9: any;
-
- value10: any;
-
- value11: any;
-
- value12: any;
-
- constructor(private countryService: CountryService) {
- this.cities = [
- {name: 'New York', code: 'NY'},
- {name: 'Rome', code: 'RM'},
- {name: 'London', code: 'LDN'},
- {name: 'Istanbul', code: 'IST'},
- {name: 'Paris', code: 'PRS'}
- ];
- }
-
- ngOnInit() {
- this.countryService.getCountries().then(countries => {
- this.countries = countries;
- });
- }
-
- searchCountry(event: any) {
- // in a real application, make a request to a remote url with the query and
- // return filtered results, for demo we filter at client side
- const filtered: any[] = [];
- const query = event.query;
- // tslint:disable-next-line:prefer-for-of
- for (let i = 0; i < this.countries.length; i++) {
- const country = this.countries[i];
- if (country.name.toLowerCase().indexOf(query.toLowerCase()) == 0) {
- filtered.push(country);
- }
- }
-
- this.filteredCountries = filtered;
- }
-}
diff --git a/src/app/demo/components/uikit/floatlabel/floatlabeldemo.module.ts b/src/app/demo/components/uikit/floatlabel/floatlabeldemo.module.ts
deleted file mode 100644
index 0880d64..0000000
--- a/src/app/demo/components/uikit/floatlabel/floatlabeldemo.module.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { FloatLabelDemoComponent } from './floatlabeldemo.component';
-import { FloatlabelDemoRoutingModule } from './floatlabeldemo-routing.module';
-import { AutoCompleteModule } from "primeng/autocomplete";
-import { CalendarModule } from "primeng/calendar";
-import { ChipsModule } from "primeng/chips";
-import { DropdownModule } from "primeng/dropdown";
-import { InputMaskModule } from "primeng/inputmask";
-import { InputNumberModule } from "primeng/inputnumber";
-import { CascadeSelectModule } from "primeng/cascadeselect";
-import { MultiSelectModule } from "primeng/multiselect";
-import { InputTextareaModule } from "primeng/inputtextarea";
-import { InputTextModule } from "primeng/inputtext";
-import { InputGroupAddonModule } from 'primeng/inputgroupaddon';
-import { InputGroupModule } from 'primeng/inputgroup';
-@NgModule({
- imports: [
- CommonModule,
- FormsModule,
- FloatlabelDemoRoutingModule,
- AutoCompleteModule,
- CalendarModule,
- ChipsModule,
- DropdownModule,
- InputMaskModule,
- InputNumberModule,
- CascadeSelectModule,
- MultiSelectModule,
- InputTextareaModule,
- InputTextModule,
- InputGroupModule,
- InputGroupAddonModule
- ],
- declarations: [FloatLabelDemoComponent]
-})
-export class FloatlabelDemoModule { }
diff --git a/src/app/demo/components/uikit/formlayout/formlayoutdemo-routing.module.ts b/src/app/demo/components/uikit/formlayout/formlayoutdemo-routing.module.ts
deleted file mode 100644
index 07cd104..0000000
--- a/src/app/demo/components/uikit/formlayout/formlayoutdemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { FormLayoutDemoComponent } from './formlayoutdemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: FormLayoutDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class FormLayoutDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/formlayout/formlayoutdemo.component.html b/src/app/demo/components/uikit/formlayout/formlayoutdemo.component.html
deleted file mode 100644
index e8570fe..0000000
--- a/src/app/demo/components/uikit/formlayout/formlayoutdemo.component.html
+++ /dev/null
@@ -1,107 +0,0 @@
-
-
-
-
-
-
-
-
-
-
Help Text
-
- Username
-
- Enter your username to reset your password.
-
-
-
-
-
-
diff --git a/src/app/demo/components/uikit/formlayout/formlayoutdemo.component.ts b/src/app/demo/components/uikit/formlayout/formlayoutdemo.component.ts
deleted file mode 100644
index 9e20107..0000000
--- a/src/app/demo/components/uikit/formlayout/formlayoutdemo.component.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- templateUrl: './formlayoutdemo.component.html'
-})
-export class FormLayoutDemoComponent {
-
- selectedState: any = null;
-
- states: any[] = [
- {name: 'Arizona', code: 'Arizona'},
- {name: 'California', value: 'California'},
- {name: 'Florida', code: 'Florida'},
- {name: 'Ohio', code: 'Ohio'},
- {name: 'Washington', code: 'Washington'}
- ];
-
- dropdownItems = [
- { name: 'Option 1', code: 'Option 1' },
- { name: 'Option 2', code: 'Option 2' },
- { name: 'Option 3', code: 'Option 3' }
- ];
-
- cities1: any[] = [];
-
- cities2: any[] = [];
-
- city1: any = null;
-
- city2: any = null;
-
-}
diff --git a/src/app/demo/components/uikit/formlayout/formlayoutdemo.module.ts b/src/app/demo/components/uikit/formlayout/formlayoutdemo.module.ts
deleted file mode 100644
index 248f351..0000000
--- a/src/app/demo/components/uikit/formlayout/formlayoutdemo.module.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { FormLayoutDemoComponent } from './formlayoutdemo.component';
-import { FormLayoutDemoRoutingModule } from './formlayoutdemo-routing.module';
-import { AutoCompleteModule } from "primeng/autocomplete";
-import { CalendarModule } from "primeng/calendar";
-import { ChipsModule } from "primeng/chips";
-import { DropdownModule } from "primeng/dropdown";
-import { InputMaskModule } from "primeng/inputmask";
-import { InputNumberModule } from "primeng/inputnumber";
-import { CascadeSelectModule } from "primeng/cascadeselect";
-import { MultiSelectModule } from "primeng/multiselect";
-import { InputTextareaModule } from "primeng/inputtextarea";
-import { InputTextModule } from "primeng/inputtext";
-
-@NgModule({
- imports: [
- CommonModule,
- FormsModule,
- FormLayoutDemoRoutingModule,
- AutoCompleteModule,
- CalendarModule,
- ChipsModule,
- DropdownModule,
- InputMaskModule,
- InputNumberModule,
- CascadeSelectModule,
- MultiSelectModule,
- InputTextareaModule,
- InputTextModule
- ],
- declarations: [FormLayoutDemoComponent]
-})
-export class FormLayoutDemoModule { }
diff --git a/src/app/demo/components/uikit/input/inputdemo-routing.module.ts b/src/app/demo/components/uikit/input/inputdemo-routing.module.ts
deleted file mode 100644
index 2660434..0000000
--- a/src/app/demo/components/uikit/input/inputdemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { InputDemoComponent } from './inputdemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: InputDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class InputDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/input/inputdemo.component.html b/src/app/demo/components/uikit/input/inputdemo.component.html
deleted file mode 100644
index 92a4d09..0000000
--- a/src/app/demo/components/uikit/input/inputdemo.component.html
+++ /dev/null
@@ -1,211 +0,0 @@
-
-
-
-
InputText
-
-
-
Icons
-
-
-
Float Label
-
-
- Username
-
-
-
Textarea
-
-
-
AutoComplete
-
-
-
-
Calendar
-
-
-
InputNumber
-
-
-
-
Chips
-
-
-
-
-
-
-
-
-
RadioButton
-
-
-
Checkbox
-
-
-
Input Switch
-
-
-
-
-
Listbox
-
-
-
Dropdown
-
-
-
Multiselect
-
-
-
-
-
{{country.name}}
-
-
-
-
-
-
-
ToggleButton
-
-
-
SelectOneButton
-
-
-
SelectManyButton
-
-
-
-
-
-
diff --git a/src/app/demo/components/uikit/input/inputdemo.component.ts b/src/app/demo/components/uikit/input/inputdemo.component.ts
deleted file mode 100644
index 44e74a5..0000000
--- a/src/app/demo/components/uikit/input/inputdemo.component.ts
+++ /dev/null
@@ -1,80 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { SelectItem } from 'primeng/api';
-import { CountryService } from 'src/app/demo/service/country.service';
-
-@Component({
- templateUrl: './inputdemo.component.html'
-})
-export class InputDemoComponent implements OnInit {
-
- countries: any[] = [];
-
- filteredCountries: any[] = [];
-
- selectedCountryAdvanced: any[] = [];
-
- valSlider = 50;
-
- valColor = '#424242';
-
- valRadio: string = '';
-
- valCheck: string[] = [];
-
- valCheck2: boolean = false;
-
- valSwitch: boolean = false;
-
- cities: SelectItem[] = [];
-
- selectedList: SelectItem = { value: '' };
-
- selectedDrop: SelectItem = { value: '' };
-
- selectedMulti: any[] = [];
-
- valToggle = false;
-
- paymentOptions: any[] = [];
-
- valSelect1: string = "";
-
- valSelect2: string = "";
-
- valueKnob = 20;
-
- constructor(private countryService: CountryService) { }
-
- ngOnInit() {
- this.countryService.getCountries().then(countries => {
- this.countries = countries;
- });
-
- this.cities = [
- { label: 'New York', value: { id: 1, name: 'New York', code: 'NY' } },
- { label: 'Rome', value: { id: 2, name: 'Rome', code: 'RM' } },
- { label: 'London', value: { id: 3, name: 'London', code: 'LDN' } },
- { label: 'Istanbul', value: { id: 4, name: 'Istanbul', code: 'IST' } },
- { label: 'Paris', value: { id: 5, name: 'Paris', code: 'PRS' } }
- ];
-
- this.paymentOptions = [
- { name: 'Option 1', value: 1 },
- { name: 'Option 2', value: 2 },
- { name: 'Option 3', value: 3 }
- ];
- }
-
- filterCountry(event: any) {
- const filtered: any[] = [];
- const query = event.query;
- for (let i = 0; i < this.countries.length; i++) {
- const country = this.countries[i];
- if (country.name.toLowerCase().indexOf(query.toLowerCase()) == 0) {
- filtered.push(country);
- }
- }
-
- this.filteredCountries = filtered;
- }
-}
diff --git a/src/app/demo/components/uikit/input/inputdemo.module.ts b/src/app/demo/components/uikit/input/inputdemo.module.ts
deleted file mode 100644
index bccd000..0000000
--- a/src/app/demo/components/uikit/input/inputdemo.module.ts
+++ /dev/null
@@ -1,62 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { InputDemoComponent } from './inputdemo.component';
-import { InputDemoRoutingModule } from './inputdemo-routing.module';
-import { AutoCompleteModule } from "primeng/autocomplete";
-import { CalendarModule } from "primeng/calendar";
-import { ChipsModule } from "primeng/chips";
-import { ChipModule } from "primeng/chip";
-import { DropdownModule } from "primeng/dropdown";
-import { InputMaskModule } from "primeng/inputmask";
-import { InputNumberModule } from "primeng/inputnumber";
-import { CascadeSelectModule } from "primeng/cascadeselect";
-import { MultiSelectModule } from "primeng/multiselect";
-import { InputTextareaModule } from "primeng/inputtextarea";
-import { InputTextModule } from "primeng/inputtext";
-import { RatingModule } from 'primeng/rating';
-import { KnobModule } from 'primeng/knob';
-import { ListboxModule } from 'primeng/listbox';
-import { SelectButtonModule } from 'primeng/selectbutton';
-import { CheckboxModule } from 'primeng/checkbox';
-import { ButtonModule } from 'primeng/button';
-import { InputSwitchModule } from 'primeng/inputswitch';
-import { RadioButtonModule } from 'primeng/radiobutton';
-import { ColorPickerModule } from 'primeng/colorpicker';
-import { ToggleButtonModule } from 'primeng/togglebutton';
-import { SliderModule } from 'primeng/slider';
-import { InputGroupAddonModule } from 'primeng/inputgroupaddon';
-import { InputGroupModule } from 'primeng/inputgroup';
-@NgModule({
- imports: [
- CommonModule,
- FormsModule,
- InputDemoRoutingModule,
- AutoCompleteModule,
- CalendarModule,
- ChipsModule,
- DropdownModule,
- InputMaskModule,
- InputNumberModule,
- ColorPickerModule,
- CascadeSelectModule,
- MultiSelectModule,
- ToggleButtonModule,
- SliderModule,
- InputTextareaModule,
- RadioButtonModule,
- InputTextModule,
- RatingModule,
- ChipModule,
- KnobModule,
- InputSwitchModule,
- ListboxModule,
- SelectButtonModule,
- CheckboxModule,
- ButtonModule,
- InputGroupModule,
- InputGroupAddonModule
- ],
- declarations: [InputDemoComponent]
-})
-export class InputDemoModule { }
diff --git a/src/app/demo/components/uikit/invalid/invalidstatedemo-routing.module.ts b/src/app/demo/components/uikit/invalid/invalidstatedemo-routing.module.ts
deleted file mode 100644
index 84a92dd..0000000
--- a/src/app/demo/components/uikit/invalid/invalidstatedemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { InvalidStateDemoComponent } from './invalidstatedemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: InvalidStateDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class InvalidStateDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/invalid/invalidstatedemo.component.html b/src/app/demo/components/uikit/invalid/invalidstatedemo.component.html
deleted file mode 100644
index 12ebae8..0000000
--- a/src/app/demo/components/uikit/invalid/invalidstatedemo.component.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
Invalid State
-
All form components have an invalid state style to display the validation errors when ng-invalid ng-dirty combination is applied by Angular.
-
-
-
- InputText
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Textarea
-
-
-
-
-
-
diff --git a/src/app/demo/components/uikit/invalid/invalidstatedemo.component.ts b/src/app/demo/components/uikit/invalid/invalidstatedemo.component.ts
deleted file mode 100644
index 7c48ae0..0000000
--- a/src/app/demo/components/uikit/invalid/invalidstatedemo.component.ts
+++ /dev/null
@@ -1,66 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { CountryService } from 'src/app/demo/service/country.service';
-
-@Component({
- templateUrl: './invalidstatedemo.component.html'
-})
-export class InvalidStateDemoComponent implements OnInit {
-
- countries: any[] = [];
-
- cities: any[];
-
- filteredCountries: any[] = [];
-
- value1: any;
-
- value2: any;
-
- value3: any;
-
- value4: any;
-
- value5: any;
-
- value6: any;
-
- value7: any;
-
- value8: any;
-
- value9: any;
-
- value10: any;
-
- constructor(private countryService: CountryService) {
- this.cities = [
- { name: 'New York', code: 'NY' },
- { name: 'Rome', code: 'RM' },
- { name: 'London', code: 'LDN' },
- { name: 'Istanbul', code: 'IST' },
- { name: 'Paris', code: 'PRS' }
- ];
- }
-
- ngOnInit() {
- this.countryService.getCountries().then(countries => {
- this.countries = countries;
- });
- }
-
- searchCountry(event: any) {
- // in a real application, make a request to a remote url with the query and return filtered results,
- // for demo we filter at client side
- const filtered: any[] = [];
- const query = event.query;
- for (let i = 0; i < this.countries.length; i++) {
- const country = this.countries[i];
- if (country.name.toLowerCase().indexOf(query.toLowerCase()) == 0) {
- filtered.push(country);
- }
- }
-
- this.filteredCountries = filtered;
- }
-
-}
diff --git a/src/app/demo/components/uikit/invalid/invalidstatedemo.module.ts b/src/app/demo/components/uikit/invalid/invalidstatedemo.module.ts
deleted file mode 100644
index 8a632dc..0000000
--- a/src/app/demo/components/uikit/invalid/invalidstatedemo.module.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { InvalidStateDemoComponent } from './invalidstatedemo.component';
-import { InvalidStateDemoRoutingModule } from './invalidstatedemo-routing.module';
-import { AutoCompleteModule } from "primeng/autocomplete";
-import { CalendarModule } from "primeng/calendar";
-import { ChipsModule } from "primeng/chips";
-import { DropdownModule } from "primeng/dropdown";
-import { InputMaskModule } from "primeng/inputmask";
-import { InputNumberModule } from "primeng/inputnumber";
-import { CascadeSelectModule } from "primeng/cascadeselect";
-import { MultiSelectModule } from "primeng/multiselect";
-import { InputTextareaModule } from "primeng/inputtextarea";
-import { InputTextModule } from "primeng/inputtext";
-import { PasswordModule } from "primeng/password";
-
-@NgModule({
- imports: [
- CommonModule,
- FormsModule,
- InvalidStateDemoRoutingModule,
- AutoCompleteModule,
- CalendarModule,
- ChipsModule,
- DropdownModule,
- InputMaskModule,
- InputNumberModule,
- CascadeSelectModule,
- MultiSelectModule,
- PasswordModule,
- InputTextareaModule,
- InputTextModule
- ],
- declarations: [InvalidStateDemoComponent]
-})
-export class InvalidStateDemoModule { }
diff --git a/src/app/demo/components/uikit/list/listdemo-routing.module.ts b/src/app/demo/components/uikit/list/listdemo-routing.module.ts
deleted file mode 100644
index 2e8243b..0000000
--- a/src/app/demo/components/uikit/list/listdemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { ListDemoComponent } from './listdemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: ListDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class ListDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/list/listdemo.component.html b/src/app/demo/components/uikit/list/listdemo.component.html
deleted file mode 100644
index a2fb55b..0000000
--- a/src/app/demo/components/uikit/list/listdemo.component.html
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
-
-
DataView
-
-
-
-
-
-
-
-
-
-
-
{{product.name}}
-
{{product.description}}
-
-
-
- {{product.category}}
-
-
-
-
${{product.price}}
-
-
{{product.inventoryStatus}}
-
-
-
-
-
-
-
-
-
-
-
-
- {{product.category}}
-
-
{{product.inventoryStatus}}
-
-
-
-
{{product.name}}
-
{{product.description}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
PickList
-
-
- {{city.name}}
-
-
-
-
-
-
-
-
OrderList
-
-
- {{city.name}}
-
-
-
-
-
diff --git a/src/app/demo/components/uikit/list/listdemo.component.ts b/src/app/demo/components/uikit/list/listdemo.component.ts
deleted file mode 100644
index f062366..0000000
--- a/src/app/demo/components/uikit/list/listdemo.component.ts
+++ /dev/null
@@ -1,73 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { SelectItem } from 'primeng/api';
-import { DataView } from 'primeng/dataview';
-import { Product } from 'src/app/demo/api/product';
-import { ProductService } from 'src/app/demo/service/product.service';
-
-@Component({
- templateUrl: './listdemo.component.html'
-})
-export class ListDemoComponent implements OnInit {
-
- products: Product[] = [];
-
- sortOptions: SelectItem[] = [];
-
- sortOrder: number = 0;
-
- sortField: string = '';
-
- sourceCities: any[] = [];
-
- targetCities: any[] = [];
-
- orderCities: any[] = [];
-
- constructor(private productService: ProductService) { }
-
- ngOnInit() {
- this.productService.getProducts().then(data => this.products = data);
-
- this.sourceCities = [
- { name: 'San Francisco', code: 'SF' },
- { name: 'London', code: 'LDN' },
- { name: 'Paris', code: 'PRS' },
- { name: 'Istanbul', code: 'IST' },
- { name: 'Berlin', code: 'BRL' },
- { name: 'Barcelona', code: 'BRC' },
- { name: 'Rome', code: 'RM' }];
-
- this.targetCities = [];
-
- this.orderCities = [
- { name: 'San Francisco', code: 'SF' },
- { name: 'London', code: 'LDN' },
- { name: 'Paris', code: 'PRS' },
- { name: 'Istanbul', code: 'IST' },
- { name: 'Berlin', code: 'BRL' },
- { name: 'Barcelona', code: 'BRC' },
- { name: 'Rome', code: 'RM' }];
-
- this.sortOptions = [
- { label: 'Price High to Low', value: '!price' },
- { label: 'Price Low to High', value: 'price' }
- ];
- }
-
- onSortChange(event: any) {
- const value = event.value;
-
- if (value.indexOf('!') === 0) {
- this.sortOrder = -1;
- this.sortField = value.substring(1, value.length);
- } else {
- this.sortOrder = 1;
- this.sortField = value;
- }
- }
-
- onFilter(dv: DataView, event: Event) {
- dv.filter((event.target as HTMLInputElement).value);
- }
-
-}
diff --git a/src/app/demo/components/uikit/list/listdemo.module.ts b/src/app/demo/components/uikit/list/listdemo.module.ts
deleted file mode 100644
index 68c948f..0000000
--- a/src/app/demo/components/uikit/list/listdemo.module.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { ListDemoComponent } from './listdemo.component';
-import { ListDemoRoutingModule } from './listdemo-routing.module';
-import { DataViewModule } from 'primeng/dataview';
-import { PickListModule } from 'primeng/picklist';
-import { OrderListModule } from 'primeng/orderlist';
-import { InputTextModule } from 'primeng/inputtext';
-import { DropdownModule } from 'primeng/dropdown';
-import { RatingModule } from 'primeng/rating';
-import { ButtonModule } from 'primeng/button';
-
-@NgModule({
- imports: [
- CommonModule,
- FormsModule,
- ListDemoRoutingModule,
- DataViewModule,
- PickListModule,
- OrderListModule,
- InputTextModule,
- DropdownModule,
- RatingModule,
- ButtonModule
- ],
- declarations: [ListDemoComponent]
-})
-export class ListDemoModule { }
diff --git a/src/app/demo/components/uikit/media/mediademo-routing.module.ts b/src/app/demo/components/uikit/media/mediademo-routing.module.ts
deleted file mode 100644
index 665538c..0000000
--- a/src/app/demo/components/uikit/media/mediademo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { MediaDemoComponent } from './mediademo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: MediaDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class MediaDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/media/mediademo.component.html b/src/app/demo/components/uikit/media/mediademo.component.html
deleted file mode 100644
index 74ffe0e..0000000
--- a/src/app/demo/components/uikit/media/mediademo.component.html
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
-
-
Carousel
-
-
-
-
-
-
-
-
{{product.name}}
-
${{product.price}}
-
{{product.inventoryStatus}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Galleria
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/app/demo/components/uikit/media/mediademo.component.ts b/src/app/demo/components/uikit/media/mediademo.component.ts
deleted file mode 100644
index dd251ee..0000000
--- a/src/app/demo/components/uikit/media/mediademo.component.ts
+++ /dev/null
@@ -1,64 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { ProductService } from 'src/app/demo/service/product.service';
-import { PhotoService } from 'src/app/demo/service/photo.service';
-import { Product } from 'src/app/demo/api/product';
-
-@Component({
- templateUrl: './mediademo.component.html'
-})
-export class MediaDemoComponent implements OnInit {
-
- products!: Product[];
-
- images!: any[];
-
- galleriaResponsiveOptions: any[] = [
- {
- breakpoint: '1024px',
- numVisible: 5
- },
- {
- breakpoint: '960px',
- numVisible: 4
- },
- {
- breakpoint: '768px',
- numVisible: 3
- },
- {
- breakpoint: '560px',
- numVisible: 1
- }
- ];
-
- carouselResponsiveOptions: any[] = [
- {
- breakpoint: '1024px',
- numVisible: 3,
- numScroll: 3
- },
- {
- breakpoint: '768px',
- numVisible: 2,
- numScroll: 2
- },
- {
- breakpoint: '560px',
- numVisible: 1,
- numScroll: 1
- }
- ];
-
- constructor(private productService: ProductService, private photoService: PhotoService) { }
-
- ngOnInit() {
- this.productService.getProductsSmall().then(products => {
- this.products = products;
- });
-
- this.photoService.getImages().then(images => {
- this.images = images;
- });
- }
-
-}
diff --git a/src/app/demo/components/uikit/media/mediademo.module.ts b/src/app/demo/components/uikit/media/mediademo.module.ts
deleted file mode 100644
index bca3a0e..0000000
--- a/src/app/demo/components/uikit/media/mediademo.module.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { MediaDemoComponent } from './mediademo.component';
-import { MediaDemoRoutingModule } from './mediademo-routing.module';
-import { ButtonModule } from 'primeng/button';
-import { ImageModule } from 'primeng/image';
-import { GalleriaModule } from 'primeng/galleria';
-import { CarouselModule } from 'primeng/carousel';
-
-@NgModule({
- imports: [
- CommonModule,
- MediaDemoRoutingModule,
- ButtonModule,
- ImageModule,
- GalleriaModule,
- CarouselModule
- ],
- declarations: [MediaDemoComponent]
-})
-export class MediaDemoModule { }
diff --git a/src/app/demo/components/uikit/menus/confirmation.component.ts b/src/app/demo/components/uikit/menus/confirmation.component.ts
deleted file mode 100644
index 26516d1..0000000
--- a/src/app/demo/components/uikit/menus/confirmation.component.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- template: `
-
-
-
Confirmation Component Content via Child Route
-
- `
-})
-export class ConfirmationComponent {
-
- constructor() { }
-}
diff --git a/src/app/demo/components/uikit/menus/menus.component.html b/src/app/demo/components/uikit/menus/menus.component.html
deleted file mode 100755
index 2c7b0b6..0000000
--- a/src/app/demo/components/uikit/menus/menus.component.html
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
-
-
MenuBar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
TabMenu
-
-
-
Steps
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ContextMenu
- Right click to display.
-
-
-
-
-
-
-
MegaMenu - Horizontal
-
-
-
MegaMenu - Vertical
-
-
-
-
-
-
diff --git a/src/app/demo/components/uikit/menus/menus.component.ts b/src/app/demo/components/uikit/menus/menus.component.ts
deleted file mode 100755
index e49e299..0000000
--- a/src/app/demo/components/uikit/menus/menus.component.ts
+++ /dev/null
@@ -1,476 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { MegaMenuItem, MenuItem } from 'primeng/api';
-
-@Component({
- templateUrl: './menus.component.html',
- styles: [`
- :host ::ng-deep .p-menubar-root-list {
- flex-wrap: wrap;
- }
- `]
-})
-export class MenusComponent implements OnInit {
-
- breadcrumbItems: MenuItem[] = [];
-
- tieredItems: MenuItem[] = [];
-
- items: MenuItem[] = [];
-
- routeItems: MenuItem[] = [];
-
- megaMenuItems: MegaMenuItem[] = [];
-
- panelMenuItems: MenuItem[] = [];
-
- stepsItems: MenuItem[] = [];
-
- slideItems: MenuItem[] = [];
-
- menuItems: MenuItem[] = [];
-
- plainMenuItems: MenuItem[] = [];
-
- pageIndex: number = 0;
-
- ngOnInit() {
- this.tieredItems = [
- {
- label: 'Customers',
- icon: 'pi pi-fw pi-table',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-plus',
- items: [
- {
- label: 'Customer',
- icon: 'pi pi-fw pi-plus'
- },
- {
- label: 'Duplicate',
- icon: 'pi pi-fw pi-copy'
- },
-
- ]
- },
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-user-edit'
- }
- ]
- },
- {
- label: 'Orders',
- icon: 'pi pi-fw pi-shopping-cart',
- items: [
- {
- label: 'View',
- icon: 'pi pi-fw pi-list'
- },
- {
- label: 'Search',
- icon: 'pi pi-fw pi-search'
- }
-
- ]
- },
- {
- label: 'Shipments',
- icon: 'pi pi-fw pi-envelope',
- items: [
- {
- label: 'Tracker',
- icon: 'pi pi-fw pi-compass',
-
- },
- {
- label: 'Map',
- icon: 'pi pi-fw pi-map-marker',
-
- },
- {
- label: 'Manage',
- icon: 'pi pi-fw pi-pencil'
- }
- ]
- },
- {
- label: 'Profile',
- icon: 'pi pi-fw pi-user',
- items: [
- {
- label: 'Settings',
- icon: 'pi pi-fw pi-cog'
- },
- {
- label: 'Billing',
- icon: 'pi pi-fw pi-file'
- }
- ]
- },
- { separator: true },
- {
- label: 'Quit',
- icon: 'pi pi-fw pi-sign-out'
- }
- ];
-
- this.items = [
- {
- label: 'Customers',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-plus'
- },
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-user-edit'
- }
- ]
- },
- {
- label: 'Orders',
- items: [
- {
- label: 'View',
- icon: 'pi pi-fw pi-list'
- },
- {
- label: 'Search',
- icon: 'pi pi-fw pi-search'
- }
-
- ]
- },
- {
- label: 'Shipments',
- items: [
- {
- label: 'Tracker',
- icon: 'pi pi-fw pi-compass',
-
- },
- {
- label: 'Map',
- icon: 'pi pi-fw pi-map-marker',
-
- },
- {
- label: 'Manage',
- icon: 'pi pi-fw pi-pencil'
- }
- ]
- }
- ];
-
- this.menuItems = [
- {
- label: 'Save', icon: 'pi pi-fw pi-check'
- },
- {
- label: 'Update', icon: 'pi pi-fw pi-refresh'
- },
- {
- label: 'Delete', icon: 'pi pi-fw pi-trash'
- },
- {
- separator: true
- },
- {
- label: 'Home', icon: 'pi pi-fw pi-home'
- },
- ];
-
- this.slideItems = [
- {
- label: 'Customers',
- icon: 'pi pi-fw pi-table',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-plus'
- },
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-user-edit'
- }
- ]
- },
- {
- label: 'Orders',
- icon: 'pi pi-fw pi-shopping-cart',
- items: [
- {
- label: 'View',
- icon: 'pi pi-fw pi-list'
- },
- {
- label: 'Search',
- icon: 'pi pi-fw pi-search'
- }
-
- ]
- },
- {
- label: 'Shipments',
- icon: 'pi pi-fw pi-envelope',
- items: [
- {
- label: 'Tracker',
- icon: 'pi pi-fw pi-compass',
-
- },
- {
- label: 'Map',
- icon: 'pi pi-fw pi-map-marker',
-
- },
- {
- label: 'Manage',
- icon: 'pi pi-fw pi-pencil'
- }
- ]
- },
- {
- label: 'Profile',
- icon: 'pi pi-fw pi-user',
- items: [
- {
- label: 'Settings',
- icon: 'pi pi-fw pi-cog'
- },
- {
- label: 'Billing',
- icon: 'pi pi-fw pi-file'
- }
- ]
- }
- ];
-
- this.plainMenuItems = [
- {
- label: 'Customers',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-plus'
- },
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-user-edit'
- }
- ]
- },
- {
- label: 'Orders',
- items: [
- {
- label: 'View',
- icon: 'pi pi-fw pi-list'
- },
- {
- label: 'Search',
- icon: 'pi pi-fw pi-search'
- }
-
- ]
- }
- ];
-
- this.breadcrumbItems = [];
- this.breadcrumbItems.push({ label: 'Electronics' });
- this.breadcrumbItems.push({ label: 'Computer' });
- this.breadcrumbItems.push({ label: 'Notebook' });
- this.breadcrumbItems.push({ label: 'Accessories' });
- this.breadcrumbItems.push({ label: 'Backpacks' });
- this.breadcrumbItems.push({ label: 'Item' });
-
- this.routeItems = [
- { label: 'Personal', routerLink: 'personal' },
- { label: 'Seat', routerLink: 'seat' },
- { label: 'Payment', routerLink: 'payment' },
- { label: 'Confirmation', routerLink: 'confirmation' },
- ];
-
- this.megaMenuItems = [
- {
- label: 'Fashion', icon: 'pi pi-fw pi-tag',
- items: [
- [
- {
- label: 'Women',
- items: [{ label: 'Women Item' }, { label: 'Women Item' }, { label: 'Women Item' }]
- },
- {
- label: 'Men',
- items: [{ label: 'Men Item' }, { label: 'Men Item' }, { label: 'Men Item' }]
- }
- ],
- [
- {
- label: 'Kids',
- items: [{ label: 'Kids Item' }, { label: 'Kids Item' }]
- },
- {
- label: 'Luggage',
- items: [{ label: 'Luggage Item' }, { label: 'Luggage Item' }, { label: 'Luggage Item' }]
- }
- ]
- ]
- },
- {
- label: 'Electronics', icon: 'pi pi-fw pi-desktop',
- items: [
- [
- {
- label: 'Computer',
- items: [{ label: 'Computer Item' }, { label: 'Computer Item' }]
- },
- {
- label: 'Camcorder',
- items: [{ label: 'Camcorder Item' }, { label: 'Camcorder Item' }, { label: 'Camcorder Item' }]
- }
- ],
- [
- {
- label: 'TV',
- items: [{ label: 'TV Item' }, { label: 'TV Item' }]
- },
- {
- label: 'Audio',
- items: [{ label: 'Audio Item' }, { label: 'Audio Item' }, { label: 'Audio Item' }]
- }
- ],
- [
- {
- label: 'Sports.7',
- items: [{ label: 'Sports.7.1' }, { label: 'Sports.7.2' }]
- }
- ]
- ]
- },
- {
- label: 'Furniture', icon: 'pi pi-fw pi-image',
- items: [
- [
- {
- label: 'Living Room',
- items: [{ label: 'Living Room Item' }, { label: 'Living Room Item' }]
- },
- {
- label: 'Kitchen',
- items: [{ label: 'Kitchen Item' }, { label: 'Kitchen Item' }, { label: 'Kitchen Item' }]
- }
- ],
- [
- {
- label: 'Bedroom',
- items: [{ label: 'Bedroom Item' }, { label: 'Bedroom Item' }]
- },
- {
- label: 'Outdoor',
- items: [{ label: 'Outdoor Item' }, { label: 'Outdoor Item' }, { label: 'Outdoor Item' }]
- }
- ]
- ]
- },
- {
- label: 'Sports', icon: 'pi pi-fw pi-star',
- items: [
- [
- {
- label: 'Basketball',
- items: [{ label: 'Basketball Item' }, { label: 'Basketball Item' }]
- },
- {
- label: 'Football',
- items: [{ label: 'Football Item' }, { label: 'Football Item' }, { label: 'Football Item' }]
- }
- ],
- [
- {
- label: 'Tennis',
- items: [{ label: 'Tennis Item' }, { label: 'Tennis Item' }]
- }
- ]
- ]
- },
- ];
-
- this.panelMenuItems = [
- {
- label: 'Customers',
- items: [
- {
- label: 'New',
- icon: 'pi pi-fw pi-plus',
- items: [
- {
- label: 'Customer',
- icon: 'pi pi-fw pi-plus'
- },
- {
- label: 'Duplicate',
- icon: 'pi pi-fw pi-copy'
- },
-
- ]
- },
- {
- label: 'Edit',
- icon: 'pi pi-fw pi-user-edit'
- }
- ]
- },
- {
- label: 'Orders',
- items: [
- {
- label: 'View',
- icon: 'pi pi-fw pi-list'
- },
- {
- label: 'Search',
- icon: 'pi pi-fw pi-search'
- }
-
- ]
- },
- {
- label: 'Shipments',
- items: [
- {
- label: 'Tracker',
- icon: 'pi pi-fw pi-compass',
-
- },
- {
- label: 'Map',
- icon: 'pi pi-fw pi-map-marker',
-
- },
- {
- label: 'Manage',
- icon: 'pi pi-fw pi-pencil'
- }
- ]
- },
- {
- label: 'Profile',
- items: [
- {
- label: 'Settings',
- icon: 'pi pi-fw pi-cog'
- },
- {
- label: 'Billing',
- icon: 'pi pi-fw pi-file'
- }
- ]
- }
- ];
- }
-
-}
diff --git a/src/app/demo/components/uikit/menus/menus.module.ts b/src/app/demo/components/uikit/menus/menus.module.ts
deleted file mode 100644
index 659899d..0000000
--- a/src/app/demo/components/uikit/menus/menus.module.ts
+++ /dev/null
@@ -1,49 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { RouterModule } from '@angular/router';
-import { MenusComponent } from './menus.component';
-import { PaymentComponent } from './payment.component';
-import { SeatComponent } from './seat.component';
-import { PersonalComponent } from './personal.component';
-import { ConfirmationComponent } from './confirmation.component';
-import { BreadcrumbModule } from 'primeng/breadcrumb';
-import { MenubarModule } from 'primeng/menubar';
-import { TabMenuModule } from 'primeng/tabmenu';
-import { StepsModule } from 'primeng/steps';
-import { TieredMenuModule } from 'primeng/tieredmenu';
-import { MenuModule } from 'primeng/menu';
-import { ButtonModule } from 'primeng/button';
-import { ContextMenuModule } from 'primeng/contextmenu';
-import { MegaMenuModule } from 'primeng/megamenu';
-import { PanelMenuModule } from 'primeng/panelmenu';
-import { InputTextModule } from 'primeng/inputtext';
-@NgModule({
- imports: [
- CommonModule,
- BreadcrumbModule,
- MenubarModule,
- TabMenuModule,
- StepsModule,
- TieredMenuModule,
- MenuModule,
- ButtonModule,
- ContextMenuModule,
- MegaMenuModule,
- PanelMenuModule,
- InputTextModule,
- RouterModule.forChild([
- {
- path: '', component: MenusComponent, children: [
- { path: '', redirectTo: 'personal', pathMatch: 'full' },
- { path: 'personal', component: PersonalComponent },
- { path: 'confirmation', component: ConfirmationComponent },
- { path: 'seat', component: SeatComponent },
- { path: 'payment', component: PaymentComponent }
- ]
- }
- ])
- ],
- declarations: [MenusComponent],
- exports: [RouterModule]
-})
-export class MenusModule { }
diff --git a/src/app/demo/components/uikit/menus/payment.component.ts b/src/app/demo/components/uikit/menus/payment.component.ts
deleted file mode 100644
index 41f9a05..0000000
--- a/src/app/demo/components/uikit/menus/payment.component.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- template: `
-
-
-
Payment Component Content via Child Route
-
- `
-})
-export class PaymentComponent {
-
- constructor() { }
-}
diff --git a/src/app/demo/components/uikit/menus/personal.component.ts b/src/app/demo/components/uikit/menus/personal.component.ts
deleted file mode 100644
index dfe602b..0000000
--- a/src/app/demo/components/uikit/menus/personal.component.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- template: `
-
-
-
Personal Component Content via Child Route
-
- `
-})
-export class PersonalComponent {
-
- constructor() { }
-}
diff --git a/src/app/demo/components/uikit/menus/seat.component.ts b/src/app/demo/components/uikit/menus/seat.component.ts
deleted file mode 100644
index 7903e38..0000000
--- a/src/app/demo/components/uikit/menus/seat.component.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import { Component } from '@angular/core';
-
-@Component({
- template: `
-
-
-
Seat Component Content via Child Route
-
- `
-})
-export class SeatComponent {
-
- constructor() { }
-}
diff --git a/src/app/demo/components/uikit/messages/messagesdemo-routing.module.ts b/src/app/demo/components/uikit/messages/messagesdemo-routing.module.ts
deleted file mode 100644
index 97015df..0000000
--- a/src/app/demo/components/uikit/messages/messagesdemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { MessagesDemoComponent } from './messagesdemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: MessagesDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class MessagesDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/messages/messagesdemo.component.html b/src/app/demo/components/uikit/messages/messagesdemo.component.html
deleted file mode 100755
index 1e0f861..0000000
--- a/src/app/demo/components/uikit/messages/messagesdemo.component.html
+++ /dev/null
@@ -1,56 +0,0 @@
-
-
-
-
-
-
Messages
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Help Text
-
- Username
-
- Enter your username to reset your password.
-
-
-
-
diff --git a/src/app/demo/components/uikit/messages/messagesdemo.component.ts b/src/app/demo/components/uikit/messages/messagesdemo.component.ts
deleted file mode 100755
index 97c425f..0000000
--- a/src/app/demo/components/uikit/messages/messagesdemo.component.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-import { Component } from '@angular/core';
-import { Message, MessageService } from 'primeng/api';
-
-@Component({
- templateUrl: './messagesdemo.component.html',
- providers: [MessageService]
-})
-export class MessagesDemoComponent {
-
- msgs: Message[] = [];
-
- constructor(private service: MessageService) { }
-
- showInfoViaToast() {
- this.service.add({ key: 'tst', severity: 'info', summary: 'Info Message', detail: 'PrimeNG rocks' });
- }
-
- showWarnViaToast() {
- this.service.add({ key: 'tst', severity: 'warn', summary: 'Warn Message', detail: 'There are unsaved changes' });
- }
-
- showErrorViaToast() {
- this.service.add({ key: 'tst', severity: 'error', summary: 'Error Message', detail: 'Validation failed' });
- }
-
- showSuccessViaToast() {
- this.service.add({ key: 'tst', severity: 'success', summary: 'Success Message', detail: 'Message sent' });
- }
-
- showInfoViaMessages() {
- this.msgs = [];
- this.msgs.push({ severity: 'info', summary: 'Info Message', detail: 'PrimeNG rocks' });
- }
-
- showWarnViaMessages() {
- this.msgs = [];
- this.msgs.push({ severity: 'warn', summary: 'Warn Message', detail: 'There are unsaved changes' });
- }
-
- showErrorViaMessages() {
- this.msgs = [];
- this.msgs.push({ severity: 'error', summary: 'Error Message', detail: 'Validation failed' });
- }
-
- showSuccessViaMessages() {
- this.msgs = [];
- this.msgs.push({ severity: 'success', summary: 'Success Message', detail: 'Message sent' });
- }
-
-}
diff --git a/src/app/demo/components/uikit/messages/messagesdemo.module.ts b/src/app/demo/components/uikit/messages/messagesdemo.module.ts
deleted file mode 100644
index 8c0e73e..0000000
--- a/src/app/demo/components/uikit/messages/messagesdemo.module.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { MessagesDemoComponent } from './messagesdemo.component';
-import { MessagesDemoRoutingModule } from './messagesdemo-routing.module';
-import { MessagesModule } from 'primeng/messages';
-import { MessageModule } from 'primeng/message';
-import { ButtonModule } from 'primeng/button';
-import { ToastModule } from 'primeng/toast';
-import { InputTextModule } from 'primeng/inputtext';
-
-@NgModule({
- imports: [
- CommonModule,
- MessagesDemoRoutingModule,
- MessagesModule,
- MessageModule,
- ButtonModule,
- ToastModule,
- InputTextModule
- ],
- declarations: [MessagesDemoComponent]
-})
-export class MessagesDemoModule { }
diff --git a/src/app/demo/components/uikit/misc/miscdemo-routing.module.ts b/src/app/demo/components/uikit/misc/miscdemo-routing.module.ts
deleted file mode 100644
index e9efdd1..0000000
--- a/src/app/demo/components/uikit/misc/miscdemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { MiscDemoComponent } from './miscdemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: MiscDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class MiscDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/misc/miscdemo.component.html b/src/app/demo/components/uikit/misc/miscdemo.component.html
deleted file mode 100755
index b610691..0000000
--- a/src/app/demo/components/uikit/misc/miscdemo.component.html
+++ /dev/null
@@ -1,178 +0,0 @@
-
-
-
-
-
Badge
-
Numbers
-
-
-
Positioned Badge
-
-
-
-
-
-
-
-
Inline Button Badge
-
-
-
-
Sizes
-
-
-
-
-
Avatar
-
Avatar Group
-
-
-
-
-
-
-
-
-
-
Label - Circle
-
-
-
Icon - Badge
-
-
-
-
-
ScrollTop
-
-
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Vitae et leo duis ut diam.
- Ultricies mi quis hendrerit dolor magna eget est lorem. Amet consectetur adipiscing elit ut.
- Nam libero justo laoreet sit amet. Pharetra massa massa ultricies mi quis hendrerit dolor magna.
- Est ultricies integer quis auctor elit sed vulputate. Consequat ac felis donec et. Tellus orci ac auctor augue mauris.
- Semper feugiat nibh sed pulvinar proin gravida hendrerit lectus a. Tincidunt arcu non sodales neque sodales.
- Metus aliquam eleifend mi in nulla posuere sollicitudin aliquam ultrices. Sodales ut etiam sit amet nisl purus.
- Cursus sit amet dictum sit amet. Tristique senectus et netus et malesuada fames ac turpis egestas.
- Et tortor consequat id porta nibh venenatis cras sed. Diam maecenas ultricies mi eget mauris.
- Eget egestas purus viverra accumsan in nisl nisi. Suscipit adipiscing bibendum est ultricies integer.
- Mattis aliquam faucibus purus in massa tempor nec.
-
-
-
-
-
-
-
-
Tag
-
Tags
-
-
-
Pills
-
-
-
Icons
-
-
-
-
-
Chip
-
Basic
-
-
-
Icon
-
-
-
Image
-
-
-
Styling
-
-
-
-
-
-
diff --git a/src/app/demo/components/uikit/misc/miscdemo.component.ts b/src/app/demo/components/uikit/misc/miscdemo.component.ts
deleted file mode 100755
index c951e10..0000000
--- a/src/app/demo/components/uikit/misc/miscdemo.component.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { Component, OnDestroy, OnInit } from '@angular/core';
-
-@Component({
- templateUrl: './miscdemo.component.html'
-})
-export class MiscDemoComponent implements OnInit, OnDestroy {
-
- value = 0;
-
- interval: any;
-
- ngOnInit() {
- this.interval = setInterval(() => {
- this.value = this.value + Math.floor(Math.random() * 10) + 1;
- if (this.value >= 100) {
- this.value = 100;
- clearInterval(this.interval);
- }
- }, 2000);
- }
-
- ngOnDestroy() {
- clearInterval(this.interval);
- }
-
-}
diff --git a/src/app/demo/components/uikit/misc/miscdemo.module.ts b/src/app/demo/components/uikit/misc/miscdemo.module.ts
deleted file mode 100644
index 22928b2..0000000
--- a/src/app/demo/components/uikit/misc/miscdemo.module.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { MiscDemoComponent } from './miscdemo.component';
-import { MiscDemoRoutingModule } from './miscdemo-routing.module';
-import { ProgressBarModule } from 'primeng/progressbar';
-import { BadgeModule } from 'primeng/badge';
-import { AvatarModule } from 'primeng/avatar';
-import { ScrollPanelModule } from 'primeng/scrollpanel';
-import { TagModule } from 'primeng/tag';
-import { ChipModule } from 'primeng/chip';
-import { SkeletonModule } from 'primeng/skeleton';
-import { ButtonModule } from 'primeng/button';
-import { AvatarGroupModule } from 'primeng/avatargroup';
-import { ScrollTopModule } from 'primeng/scrolltop';
-
-@NgModule({
- imports: [
- CommonModule,
- MiscDemoRoutingModule,
- ProgressBarModule,
- BadgeModule,
- AvatarModule,
- ScrollPanelModule,
- TagModule,
- ChipModule,
- ButtonModule,
- SkeletonModule,
- AvatarGroupModule,
- ScrollTopModule
- ],
- declarations: [MiscDemoComponent]
-})
-export class MiscDemoModule { }
diff --git a/src/app/demo/components/uikit/overlays/overlaysdemo-routing.module.ts b/src/app/demo/components/uikit/overlays/overlaysdemo-routing.module.ts
deleted file mode 100644
index 88a81cc..0000000
--- a/src/app/demo/components/uikit/overlays/overlaysdemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { OverlaysDemoComponent } from './overlaysdemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: OverlaysDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class OverlaysDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/overlays/overlaysdemo.component.html b/src/app/demo/components/uikit/overlays/overlaysdemo.component.html
deleted file mode 100755
index f4f0f5b..0000000
--- a/src/app/demo/components/uikit/overlays/overlaysdemo.component.html
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
-
-
-
Dialog
-
-
- 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 consequat. Duis aute irure dolor in reprehenderit
- in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
-
-
-
-
-
-
-
-
-
-
Overlay Panel
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
- Image
- Price
-
-
-
-
- {{product.name}}
-
- {{formatCurrency(product.price)}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Sidebar
-
- Left Sidebar
-
-
-
- Right Sidebar
-
-
-
- Top Sidebar
-
-
-
- Bottom Sidebar
-
-
-
- Full Screen Sidebar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Tooltip
-
-
- Username
-
-
-
-
-
-
-
-
-
diff --git a/src/app/demo/components/uikit/overlays/overlaysdemo.component.ts b/src/app/demo/components/uikit/overlays/overlaysdemo.component.ts
deleted file mode 100755
index bd20ef1..0000000
--- a/src/app/demo/components/uikit/overlays/overlaysdemo.component.ts
+++ /dev/null
@@ -1,80 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { ConfirmationService, MessageService } from 'primeng/api';
-import { Product } from 'src/app/demo/api/product';
-import { ProductService } from 'src/app/demo/service/product.service';
-
-@Component({
- templateUrl: './overlaysdemo.component.html',
- providers: [ConfirmationService, MessageService]
-})
-export class OverlaysDemoComponent implements OnInit {
-
- images: any[] = [];
-
- display: boolean = false;
-
- products: Product[] = [];
-
- selectedProduct: Product = {};
-
- visibleSidebar1: boolean = false;
-
- visibleSidebar2: boolean = false;
-
- visibleSidebar3: boolean = false;
-
- visibleSidebar4: boolean = false;
-
- visibleSidebar5: boolean = false;
-
- constructor(private productService: ProductService, private confirmationService: ConfirmationService, private messageService: MessageService) { }
-
- ngOnInit() {
- this.productService.getProductsSmall().then(products => this.products = products);
-
- this.images = [];
- this.images.push({
- source: 'assets/demo/images/sopranos/sopranos1.jpg',
- thumbnail: 'assets/demo/images/sopranos/sopranos1_small.jpg', title: 'Sopranos 1'
- });
- this.images.push({
- source: 'assets/demo/images/sopranos/sopranos2.jpg',
- thumbnail: 'assets/demo/images/sopranos/sopranos2_small.jpg', title: 'Sopranos 2'
- });
- this.images.push({
- source: 'assets/demo/images/sopranos/sopranos3.jpg',
- thumbnail: 'assets/demo/images/sopranos/sopranos3_small.jpg', title: 'Sopranos 3'
- });
- this.images.push({
- source: 'assets/demo/images/sopranos/sopranos4.jpg',
- thumbnail: 'assets/demo/images/sopranos/sopranos4_small.jpg', title: 'Sopranos 4'
- });
- }
-
- confirm1() {
- this.confirmationService.confirm({
- key: 'confirm1',
- message: 'Are you sure to perform this action?'
- });
- }
-
- confirm2(event: Event) {
- this.confirmationService.confirm({
- key: 'confirm2',
- target: event.target || new EventTarget,
- message: 'Are you sure that you want to proceed?',
- icon: 'pi pi-exclamation-triangle',
- accept: () => {
- this.messageService.add({ severity: 'info', summary: 'Confirmed', detail: 'You have accepted' });
- },
- reject: () => {
- this.messageService.add({ severity: 'error', summary: 'Rejected', detail: 'You have rejected' });
- }
- });
- }
-
- formatCurrency(value: number) {
- return value.toLocaleString('en-US', { style: 'currency', currency: 'USD' });
- }
-
-}
diff --git a/src/app/demo/components/uikit/overlays/overlaysdemo.module.ts b/src/app/demo/components/uikit/overlays/overlaysdemo.module.ts
deleted file mode 100644
index 4dcf1f8..0000000
--- a/src/app/demo/components/uikit/overlays/overlaysdemo.module.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { OverlaysDemoComponent } from './overlaysdemo.component';
-import { OverlaysDemoRoutingModule } from './overlaysdemo-routing.module';
-import { ToastModule } from 'primeng/toast';
-import { DialogModule } from 'primeng/dialog';
-import { ButtonModule } from 'primeng/button';
-import { OverlayPanelModule } from 'primeng/overlaypanel';
-import { TableModule } from 'primeng/table';
-import { ConfirmDialogModule } from 'primeng/confirmdialog';
-import { SidebarModule } from 'primeng/sidebar';
-import { RippleModule } from 'primeng/ripple';
-import { ConfirmPopupModule } from 'primeng/confirmpopup';
-import { TooltipModule } from 'primeng/tooltip';
-import { InputTextModule } from 'primeng/inputtext';
-@NgModule({
- imports: [
- CommonModule,
- OverlaysDemoRoutingModule,
- ToastModule,
- DialogModule,
- FormsModule,
- TooltipModule,
- InputTextModule,
- ButtonModule,
- OverlayPanelModule,
- TableModule,
- ConfirmDialogModule,
- SidebarModule,
- RippleModule,
- ConfirmPopupModule
- ],
- declarations: [OverlaysDemoComponent]
-})
-export class OverlaysDemoModule { }
diff --git a/src/app/demo/components/uikit/panels/panelsdemo-routing.module.ts b/src/app/demo/components/uikit/panels/panelsdemo-routing.module.ts
deleted file mode 100644
index 5b33fb7..0000000
--- a/src/app/demo/components/uikit/panels/panelsdemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { PanelsDemoComponent } from './panelsdemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: PanelsDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class PanelsDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/panels/panelsdemo.component.html b/src/app/demo/components/uikit/panels/panelsdemo.component.html
deleted file mode 100755
index f122747..0000000
--- a/src/app/demo/components/uikit/panels/panelsdemo.component.html
+++ /dev/null
@@ -1,218 +0,0 @@
-
-
-
-
Toolbar
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
AccordionPanel
-
-
- 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
- consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
- pariatur.
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
- est laborum.
-
-
- Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,
- totam rem aperiam, eaque
- ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo
- enim ipsam voluptatem quia
- voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione
- voluptatem sequi nesciunt.
- Consectetur, adipisci velit, sed quia non numquam eius modi.
-
-
- At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum
- deleniti atque corrupti quos dolores
- et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui
- officia deserunt mollitia animi, id est laborum et dolorum fuga.
- Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est
- eligendi optio cumque nihil impedit
- quo minus.
-
-
-
-
-
-
TabView
-
-
- 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
- consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
- pariatur.
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id
- est laborum.
-
-
- Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,
- totam rem aperiam, eaque
- ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo
- enim ipsam voluptatem quia
- voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione
- voluptatem sequi nesciunt.
- Consectetur, adipisci velit, sed quia non numquam eius modi.
-
-
- At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum
- deleniti atque corrupti quos dolores
- et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui
- officia deserunt mollitia animi, id est laborum et dolorum fuga.
- Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est
- eligendi optio cumque nihil impedit
- quo minus.
-
-
-
-
-
-
-
-
Panel
-
- 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
- consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est
- laborum.
-
-
-
-
-
Fieldset
-
- 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
- consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est
- laborum.
-
-
-
-
-
-
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
- consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
- Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est
- laborum.
-
-
-
-
-
-
Divider
-
-
-
-
- Username
-
-
-
- Password
-
-
-
-
-
-
-
-
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium,
- totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi
- architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit
- aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione
- voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
-
-
- Badge
-
-
-
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum
- deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati
- cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est
- laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.
- Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus.
-
-
-
-
-
-
Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et
- voluptates repudiandae sint et molestiae non recusandae. Itaque earum rerum hic tenetur
- a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis
- doloribus asperiores repellat.
- Donec vel volutpat ipsum. Integer nunc magna, posuere ut tincidunt eget, egestas vitae sapien.
- Morbi dapibus luctus odio.
-
-
-
-
-
-
-
-
Splitter
-
-
-
- Panel 1
-
-
-
-
-
-
- Panel 2
-
-
-
-
- Panel 3
-
-
-
-
-
-
-
-
diff --git a/src/app/demo/components/uikit/panels/panelsdemo.component.ts b/src/app/demo/components/uikit/panels/panelsdemo.component.ts
deleted file mode 100755
index 646e54e..0000000
--- a/src/app/demo/components/uikit/panels/panelsdemo.component.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { MenuItem } from 'primeng/api';
-
-@Component({
- templateUrl: './panelsdemo.component.html'
-})
-export class PanelsDemoComponent implements OnInit {
-
- items: MenuItem[] = [];
-
- cardMenu: MenuItem[] = [];
-
- ngOnInit() {
- this.items = [
- { label: 'Angular.io', icon: 'pi pi-external-link', url: 'http://angular.io' },
- { label: 'Theming', icon: 'pi pi-bookmark', routerLink: ['/theming'] }
- ];
-
- this.cardMenu = [
- {
- label: 'Save', icon: 'pi pi-fw pi-check'
- },
- {
- label: 'Update', icon: 'pi pi-fw pi-refresh'
- },
- {
- label: 'Delete', icon: 'pi pi-fw pi-trash'
- },
- ];
- }
-
-}
diff --git a/src/app/demo/components/uikit/panels/panelsdemo.module.ts b/src/app/demo/components/uikit/panels/panelsdemo.module.ts
deleted file mode 100644
index 79c87a7..0000000
--- a/src/app/demo/components/uikit/panels/panelsdemo.module.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { PanelsDemoComponent } from './panelsdemo.component';
-import { PanelsDemoRoutingModule } from './panelsdemo-routing.module';
-import { ToolbarModule } from 'primeng/toolbar';
-import { ButtonModule } from 'primeng/button';
-import { RippleModule } from 'primeng/ripple';
-import { SplitButtonModule } from 'primeng/splitbutton';
-import { AccordionModule } from 'primeng/accordion';
-import { TabViewModule } from 'primeng/tabview';
-import { FieldsetModule } from 'primeng/fieldset';
-import { MenuModule } from 'primeng/menu';
-import { InputTextModule } from 'primeng/inputtext';
-import { DividerModule } from 'primeng/divider';
-import { SplitterModule } from 'primeng/splitter';
-import { PanelModule } from 'primeng/panel';
-
-@NgModule({
- imports: [
- CommonModule,
- FormsModule,
- PanelsDemoRoutingModule,
- ToolbarModule,
- ButtonModule,
- RippleModule,
- SplitButtonModule,
- AccordionModule,
- TabViewModule,
- FieldsetModule,
- MenuModule,
- InputTextModule,
- DividerModule,
- SplitterModule,
- PanelModule
- ],
- declarations: [PanelsDemoComponent]
-})
-export class PanelsDemoModule { }
diff --git a/src/app/demo/components/uikit/table/tabledemo-routing.module.ts b/src/app/demo/components/uikit/table/tabledemo-routing.module.ts
deleted file mode 100644
index 5297dc0..0000000
--- a/src/app/demo/components/uikit/table/tabledemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { TableDemoComponent } from './tabledemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: TableDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class TableDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/table/tabledemo.component.html b/src/app/demo/components/uikit/table/tabledemo.component.html
deleted file mode 100644
index c377be0..0000000
--- a/src/app/demo/components/uikit/table/tabledemo.component.html
+++ /dev/null
@@ -1,303 +0,0 @@
-
-
-
-
Filter Menu
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Agent
-
-
-
- Agent Picker
-
-
-
-
-
-
-
-
{{option.name}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Status
-
-
-
-
- {{option.label}}
-
-
-
-
-
-
-
-
- Activity
-
-
-
-
- {{activityValues[0]}}
- {{activityValues[1]}}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{customer.name}}
-
-
-
- {{customer.country.name}}
-
-
-
- {{customer.representative.name}}
-
-
- {{customer.date | date: 'MM/dd/yyyy'}}
-
-
- {{customer.balance | currency:'USD':'symbol'}}
-
-
- {{customer.status}}
-
-
-
-
-
-
-
-
-
-
-
- No customers found.
-
-
-
-
- Loading customers data. Please wait.
-
-
-
-
-
-
-
-
-
-
Frozen Columns
-
-
-
-
-
- Name
- Id
- Country
- Date
- Company
- Status
- Activity
- Representative
- Balance
-
-
-
-
- {{customer.name}}
- {{customer.id}}
-
-
- {{customer.country.name}}
-
- {{customer.date}}
- {{customer.company}}
-
- {{customer.status}}
-
- {{customer.activity}}
-
-
- {{customer.representative.name}}
-
- {{formatCurrency(customer.balance)}}
-
-
-
-
-
-
-
-
-
Row Expand
-
-
-
-
-
-
-
-
-
- Name
- Image
- Price
- Category
- Reviews
- Status
-
-
-
-
-
-
-
- {{product.name}}
-
- {{product.price | currency:'USD'}}
- {{product.category}}
-
- {{product.inventoryStatus}}
-
-
-
-
-
-
-
-
-
- Id
- Customer
- Date
- Amount
- Status
-
-
-
-
-
- {{order.id}}
- {{order.customer}}
- {{order.date}}
- {{order.amount | currency:'USD'}}
- {{order.status}}
-
-
-
-
-
- There are no order for this product yet.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Subheader Grouping
-
-
-
- Name
- Country
- Company
- Status
- Date
-
-
-
-
-
-
- {{customer.representative.name}}
-
-
-
-
- {{customer.name}}
-
-
-
- {{customer.country.name}}
-
-
- {{customer.company}}
-
-
- {{customer.status}}
-
-
- {{customer.date}}
-
-
-
-
-
-
-
diff --git a/src/app/demo/components/uikit/table/tabledemo.component.ts b/src/app/demo/components/uikit/table/tabledemo.component.ts
deleted file mode 100644
index 88ebc2a..0000000
--- a/src/app/demo/components/uikit/table/tabledemo.component.ts
+++ /dev/null
@@ -1,138 +0,0 @@
-import { Component, OnInit, ViewChild, ElementRef } from '@angular/core';
-import { Customer, Representative } from 'src/app/demo/api/customer';
-import { CustomerService } from 'src/app/demo/service/customer.service';
-import { Product } from 'src/app/demo/api/product';
-import { ProductService } from 'src/app/demo/service/product.service';
-import { Table } from 'primeng/table';
-import { MessageService, ConfirmationService } from 'primeng/api';
-
-interface expandedRows {
- [key: string]: boolean;
-}
-
-@Component({
- templateUrl: './tabledemo.component.html',
- providers: [MessageService, ConfirmationService]
-})
-export class TableDemoComponent implements OnInit {
-
- customers1: Customer[] = [];
-
- customers2: Customer[] = [];
-
- customers3: Customer[] = [];
-
- selectedCustomers1: Customer[] = [];
-
- selectedCustomer: Customer = {};
-
- representatives: Representative[] = [];
-
- statuses: any[] = [];
-
- products: Product[] = [];
-
- rowGroupMetadata: any;
-
- expandedRows: expandedRows = {};
-
- activityValues: number[] = [0, 100];
-
- isExpanded: boolean = false;
-
- idFrozen: boolean = false;
-
- loading: boolean = true;
-
- @ViewChild('filter') filter!: ElementRef;
-
- constructor(private customerService: CustomerService, private productService: ProductService) { }
-
- ngOnInit() {
- this.customerService.getCustomersLarge().then(customers => {
- this.customers1 = customers;
- this.loading = false;
-
- // @ts-ignore
- this.customers1.forEach(customer => customer.date = new Date(customer.date));
- });
- this.customerService.getCustomersMedium().then(customers => this.customers2 = customers);
- this.customerService.getCustomersLarge().then(customers => this.customers3 = customers);
- this.productService.getProductsWithOrdersSmall().then(data => this.products = data);
-
- this.representatives = [
- { name: 'Amy Elsner', image: 'amyelsner.png' },
- { name: 'Anna Fali', image: 'annafali.png' },
- { name: 'Asiya Javayant', image: 'asiyajavayant.png' },
- { name: 'Bernardo Dominic', image: 'bernardodominic.png' },
- { name: 'Elwin Sharvill', image: 'elwinsharvill.png' },
- { name: 'Ioni Bowcher', image: 'ionibowcher.png' },
- { name: 'Ivan Magalhaes', image: 'ivanmagalhaes.png' },
- { name: 'Onyama Limba', image: 'onyamalimba.png' },
- { name: 'Stephen Shaw', image: 'stephenshaw.png' },
- { name: 'XuXue Feng', image: 'xuxuefeng.png' }
- ];
-
- this.statuses = [
- { label: 'Unqualified', value: 'unqualified' },
- { label: 'Qualified', value: 'qualified' },
- { label: 'New', value: 'new' },
- { label: 'Negotiation', value: 'negotiation' },
- { label: 'Renewal', value: 'renewal' },
- { label: 'Proposal', value: 'proposal' }
- ];
- }
-
- onSort() {
- this.updateRowGroupMetaData();
- }
-
- updateRowGroupMetaData() {
- this.rowGroupMetadata = {};
-
- if (this.customers3) {
- for (let i = 0; i < this.customers3.length; i++) {
- const rowData = this.customers3[i];
- const representativeName = rowData?.representative?.name || '';
-
- if (i === 0) {
- this.rowGroupMetadata[representativeName] = { index: 0, size: 1 };
- }
- else {
- const previousRowData = this.customers3[i - 1];
- const previousRowGroup = previousRowData?.representative?.name;
- if (representativeName === previousRowGroup) {
- this.rowGroupMetadata[representativeName].size++;
- }
- else {
- this.rowGroupMetadata[representativeName] = { index: i, size: 1 };
- }
- }
- }
- }
- }
-
- expandAll() {
- if (!this.isExpanded) {
- this.products.forEach(product => product && product.name ? this.expandedRows[product.name] = true : '');
-
- } else {
- this.expandedRows = {};
- }
- this.isExpanded = !this.isExpanded;
- }
-
- formatCurrency(value: number) {
- return value.toLocaleString('en-US', { style: 'currency', currency: 'USD' });
- }
-
- onGlobalFilter(table: Table, event: Event) {
- table.filterGlobal((event.target as HTMLInputElement).value, 'contains');
- }
-
- clear(table: Table) {
- table.clear();
- this.filter.nativeElement.value = '';
- }
-
-}
\ No newline at end of file
diff --git a/src/app/demo/components/uikit/table/tabledemo.module.ts b/src/app/demo/components/uikit/table/tabledemo.module.ts
deleted file mode 100644
index 290afd9..0000000
--- a/src/app/demo/components/uikit/table/tabledemo.module.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { TableDemoComponent } from './tabledemo.component';
-import { TableDemoRoutingModule } from './tabledemo-routing.module';
-import { TableModule } from 'primeng/table';
-import { ButtonModule } from 'primeng/button';
-import { InputTextModule } from 'primeng/inputtext';
-import { ToggleButtonModule } from 'primeng/togglebutton';
-import { RippleModule } from 'primeng/ripple';
-import { MultiSelectModule } from 'primeng/multiselect';
-import { DropdownModule } from 'primeng/dropdown';
-import { ProgressBarModule } from 'primeng/progressbar';
-import { ToastModule } from 'primeng/toast';
-import { SliderModule } from 'primeng/slider';
-import { RatingModule } from 'primeng/rating';
-
-@NgModule({
- imports: [
- CommonModule,
- TableDemoRoutingModule,
- FormsModule,
- TableModule,
- RatingModule,
- ButtonModule,
- SliderModule,
- InputTextModule,
- ToggleButtonModule,
- RippleModule,
- MultiSelectModule,
- DropdownModule,
- ProgressBarModule,
- ToastModule
- ],
- declarations: [TableDemoComponent]
-})
-export class TableDemoModule { }
diff --git a/src/app/demo/components/uikit/tree/treedemo-routing.module.ts b/src/app/demo/components/uikit/tree/treedemo-routing.module.ts
deleted file mode 100644
index e5ba0f7..0000000
--- a/src/app/demo/components/uikit/tree/treedemo-routing.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { TreeDemoComponent } from './treedemo.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: '', component: TreeDemoComponent }
- ])],
- exports: [RouterModule]
-})
-export class TreeDemoRoutingModule { }
diff --git a/src/app/demo/components/uikit/tree/treedemo.component.html b/src/app/demo/components/uikit/tree/treedemo.component.html
deleted file mode 100644
index 4fb121f..0000000
--- a/src/app/demo/components/uikit/tree/treedemo.component.html
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
TreeTable
-
-
-
-
- {{col.header}}
-
-
-
-
-
-
-
-
- {{rowData[col.field]}}
-
-
-
-
-
-
-
-
diff --git a/src/app/demo/components/uikit/tree/treedemo.component.ts b/src/app/demo/components/uikit/tree/treedemo.component.ts
deleted file mode 100644
index 1db3875..0000000
--- a/src/app/demo/components/uikit/tree/treedemo.component.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { NodeService } from 'src/app/demo/service/node.service';
-import { TreeNode} from 'primeng/api';
-
-@Component({
- templateUrl: './treedemo.component.html'
-})
-export class TreeDemoComponent implements OnInit {
-
- files1: TreeNode[] = [];
-
- files2: TreeNode[] = [];
-
- files3: TreeNode[] = [];
-
- selectedFiles1: TreeNode[] = [];
-
- selectedFiles2: TreeNode[] = [];
-
- selectedFiles3: TreeNode = {};
-
- cols: any[] = [];
-
- constructor(private nodeService: NodeService) {}
-
- ngOnInit() {
- this.nodeService.getFiles().then(files => this.files1 = files);
- this.nodeService.getFilesystem().then(files => this.files2 = files);
- this.nodeService.getFiles().then(files => {
- this.files3 = [{
- label: 'Root',
- children: files
- }];
- });
-
- this.cols = [
- { field: 'name', header: 'Name' },
- { field: 'size', header: 'Size' },
- { field: 'type', header: 'Type' }
- ];
- }
-}
diff --git a/src/app/demo/components/uikit/tree/treedemo.module.ts b/src/app/demo/components/uikit/tree/treedemo.module.ts
deleted file mode 100644
index c3db357..0000000
--- a/src/app/demo/components/uikit/tree/treedemo.module.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { TreeDemoComponent } from './treedemo.component';
-import { TreeDemoRoutingModule } from './treedemo-routing.module';
-import { TreeModule } from 'primeng/tree';
-import { TreeTableModule } from 'primeng/treetable';
-
-@NgModule({
- imports: [
- CommonModule,
- TreeDemoRoutingModule,
- FormsModule,
- TreeModule,
- TreeTableModule
- ],
- declarations: [TreeDemoComponent],
-})
-export class TreeDemoModule { }
diff --git a/src/app/demo/components/uikit/uikit-routing.module.ts b/src/app/demo/components/uikit/uikit-routing.module.ts
deleted file mode 100644
index be10bf9..0000000
--- a/src/app/demo/components/uikit/uikit-routing.module.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: 'button', data: { breadcrumb: 'Button' }, loadChildren: () => import('./button/buttondemo.module').then(m => m.ButtonDemoModule) },
- { path: 'charts', data: { breadcrumb: 'Charts' }, loadChildren: () => import('./charts/chartsdemo.module').then(m => m.ChartsDemoModule) },
- { path: 'file', data: { breadcrumb: 'File' }, loadChildren: () => import('./file/filedemo.module').then(m => m.FileDemoModule) },
- { path: 'floatlabel', data: { breadcrumb: 'Float Label' }, loadChildren: () => import('./floatlabel/floatlabeldemo.module').then(m => m.FloatlabelDemoModule) },
- { path: 'formlayout', data: { breadcrumb: 'Form Layout' }, loadChildren: () => import('./formlayout/formlayoutdemo.module').then(m => m.FormLayoutDemoModule) },
- { path: 'input', data: { breadcrumb: 'Input' }, loadChildren: () => import('./input/inputdemo.module').then(m => m.InputDemoModule) },
- { path: 'invalidstate', data: { breadcrumb: 'Invalid State' }, loadChildren: () => import('./invalid/invalidstatedemo.module').then(m => m.InvalidStateDemoModule) },
- { path: 'list', data: { breadcrumb: 'List' }, loadChildren: () => import('./list/listdemo.module').then(m => m.ListDemoModule) },
- { path: 'media', data: { breadcrumb: 'Media' }, loadChildren: () => import('./media/mediademo.module').then(m => m.MediaDemoModule) },
- { path: 'message', data: { breadcrumb: 'Message' }, loadChildren: () => import('./messages/messagesdemo.module').then(m => m.MessagesDemoModule) },
- { path: 'misc', data: { breadcrumb: 'Misc' }, loadChildren: () => import('./misc/miscdemo.module').then(m => m.MiscDemoModule) },
- { path: 'overlay', data: { breadcrumb: 'Overlay' }, loadChildren: () => import('./overlays/overlaysdemo.module').then(m => m.OverlaysDemoModule) },
- { path: 'panel', data: { breadcrumb: 'Panel' }, loadChildren: () => import('./panels/panelsdemo.module').then(m => m.PanelsDemoModule) },
- { path: 'table', data: { breadcrumb: 'Table' }, loadChildren: () => import('./table/tabledemo.module').then(m => m.TableDemoModule) },
- { path: 'tree', data: { breadcrumb: 'Tree' }, loadChildren: () => import('./tree/treedemo.module').then(m => m.TreeDemoModule) },
- { path: 'menu', data: { breadcrumb: 'Menu' }, loadChildren: () => import('./menus/menus.module').then(m => m.MenusModule) },
- { path: '**', redirectTo: '/notfound' }
- ])],
- exports: [RouterModule]
-})
-export class UIkitRoutingModule { }
diff --git a/src/app/demo/components/uikit/uikit.module.ts b/src/app/demo/components/uikit/uikit.module.ts
deleted file mode 100644
index f52e70b..0000000
--- a/src/app/demo/components/uikit/uikit.module.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { UIkitRoutingModule } from './uikit-routing.module';
-
-@NgModule({
- imports: [
- CommonModule,
- UIkitRoutingModule
- ]
-})
-export class UIkitModule { }
diff --git a/src/app/demo/components/utilities/icons/icons.component.html b/src/app/demo/components/utilities/icons/icons.component.html
deleted file mode 100644
index 86e6d0e..0000000
--- a/src/app/demo/components/utilities/icons/icons.component.html
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
Icons
-
Download
-
npm install primeicons --save
-
-
Getting Started
-
PrimeIcons use the pi pi-{icon} syntax such as pi pi-check .
- A standalone icon can be displayed using an element such as i or span
-
-
<i class="pi pi-check"></i>
-<i class="pi pi-times"></i>
-
-
-
-
-
Size
-
Size of the icons can easily be changed using font-size property.
-
-
<i class="pi pi-check"></i>
-
-
-
-
<i class="pi pi-check" style="font-size: 2rem"></i>
-
-
-
-
Spinning Animation
-
Special pi-spin class applies infinite rotate to an icon.
-
-
<i class="pi pi-spin pi-spinner" style="font-size: 2rem"></i>
-
-
-
-
List of Icons
-
Here is the current list of PrimeIcons, more icons will be added periodically. You may also request new icons at the issue tracker.
-
-
-
-
-
-
-
-
pi-{{icon.properties.name}}
-
-
-
\ No newline at end of file
diff --git a/src/app/demo/components/utilities/icons/icons.component.ts b/src/app/demo/components/utilities/icons/icons.component.ts
deleted file mode 100644
index 2db504a..0000000
--- a/src/app/demo/components/utilities/icons/icons.component.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-import { Component, OnInit } from '@angular/core';
-import { IconService } from 'src/app/demo/service/icon.service';
-
-@Component({
- templateUrl: './icons.component.html',
-})
-export class IconsComponent implements OnInit {
-
- icons: any[] = [];
-
- filteredIcons: any[] = [];
-
- selectedIcon: any;
-
- constructor(private iconService: IconService) { }
-
- ngOnInit() {
- this.iconService.getIcons().subscribe(data => {
- data = data.filter(value => {
- return value.icon.tags.indexOf('deprecate') === -1;
- });
-
- let icons = data;
- icons.sort((icon1, icon2) => {
- if (icon1.properties.name < icon2.properties.name)
- return -1;
- else if (icon1.properties.name < icon2.properties.name)
- return 1;
- else
- return 0;
- });
-
- this.icons = icons;
- this.filteredIcons = data;
- });
- }
-
- onFilter(event: Event): void {
- const searchText = (event.target as HTMLInputElement).value;
-
- if (!searchText) {
- this.filteredIcons = this.icons;
- }
- else {
- this.filteredIcons = this.icons.filter(it => {
- return it.icon.tags[0].includes(searchText);
- });
- }
- }
-}
diff --git a/src/app/demo/components/utilities/utilities-routing.module.ts b/src/app/demo/components/utilities/utilities-routing.module.ts
deleted file mode 100644
index e6b0c11..0000000
--- a/src/app/demo/components/utilities/utilities-routing.module.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import { NgModule } from '@angular/core';
-import { RouterModule } from '@angular/router';
-import { IconsComponent } from './icons/icons.component';
-
-@NgModule({
- imports: [RouterModule.forChild([
- { path: 'icons', data: { breadcrumb: 'Prime Icons' }, component: IconsComponent },
- { path: '**', redirectTo: '/notfound' }
- ])],
- exports: [RouterModule]
-})
-export class UtilitiesRoutingModule { }
diff --git a/src/app/demo/components/utilities/utilities.module.ts b/src/app/demo/components/utilities/utilities.module.ts
deleted file mode 100644
index 39e0591..0000000
--- a/src/app/demo/components/utilities/utilities.module.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { IconsComponent } from './icons/icons.component';
-import { UtilitiesRoutingModule } from './utilities-routing.module';
-import { InputTextModule } from 'primeng/inputtext';
-
-@NgModule({
- imports: [
- CommonModule,
- UtilitiesRoutingModule,
- InputTextModule
- ],
- declarations: [IconsComponent]
-})
-export class UtilitiesModule { }
diff --git a/src/app/layout/app.footer.component.ts b/src/app/layout/app.footer.component.ts
index 0c96a45..5ceea3b 100644
--- a/src/app/layout/app.footer.component.ts
+++ b/src/app/layout/app.footer.component.ts
@@ -1,10 +1,17 @@
-import { Component } from '@angular/core';
+import {Component, inject} from '@angular/core';
import { LayoutService } from "./service/app.layout.service";
@Component({
selector: 'app-footer',
- templateUrl: './app.footer.component.html'
+ standalone: true,
+ providers: [LayoutService],
+ template: `
+ `
})
export class AppFooterComponent {
- constructor(public layoutService: LayoutService) { }
+ layoutService = inject(LayoutService);
}
diff --git a/src/app/layout/app.layout.component.ts b/src/app/layout/app.layout.component.ts
index 43aea03..c5be2ca 100644
--- a/src/app/layout/app.layout.component.ts
+++ b/src/app/layout/app.layout.component.ts
@@ -1,12 +1,17 @@
import { Component, OnDestroy, Renderer2, ViewChild } from '@angular/core';
-import { NavigationEnd, Router } from '@angular/router';
+import {NavigationEnd, Router, RouterModule} from '@angular/router';
import { filter, Subscription } from 'rxjs';
import { LayoutService } from "./service/app.layout.service";
import { AppSidebarComponent } from "./app.sidebar.component";
import { AppTopBarComponent } from './app.topbar.component';
+import {AppConfigComponent} from './config/app.config.component';
+import {AppFooterComponent} from './app.footer.component';
+import {CommonModule} from '@angular/common';
@Component({
selector: 'app-layout',
+ standalone: true,
+ imports: [CommonModule, RouterModule, AppTopBarComponent, AppSidebarComponent, AppConfigComponent, AppFooterComponent],
templateUrl: './app.layout.component.html'
})
export class AppLayoutComponent implements OnDestroy {
@@ -25,9 +30,9 @@ export class AppLayoutComponent implements OnDestroy {
this.overlayMenuOpenSubscription = this.layoutService.overlayOpen$.subscribe(() => {
if (!this.menuOutsideClickListener) {
this.menuOutsideClickListener = this.renderer.listen('document', 'click', event => {
- const isOutsideClicked = !(this.appSidebar.el.nativeElement.isSameNode(event.target) || this.appSidebar.el.nativeElement.contains(event.target)
+ const isOutsideClicked = !(this.appSidebar.el.nativeElement.isSameNode(event.target) || this.appSidebar.el.nativeElement.contains(event.target)
|| this.appTopbar.menuButton.nativeElement.isSameNode(event.target) || this.appTopbar.menuButton.nativeElement.contains(event.target));
-
+
if (isOutsideClicked) {
this.hideMenu();
}
diff --git a/src/app/layout/app.menu.component.ts b/src/app/layout/app.menu.component.ts
index e515892..1d5d240 100644
--- a/src/app/layout/app.menu.component.ts
+++ b/src/app/layout/app.menu.component.ts
@@ -1,9 +1,14 @@
import { OnInit } from '@angular/core';
import { Component } from '@angular/core';
import { LayoutService } from './service/app.layout.service';
+import {CommonModule} from '@angular/common';
+import {RouterModule} from '@angular/router';
+import {AppMenuitemComponent} from './app.menuitem.component';
@Component({
selector: 'app-menu',
+ standalone: true,
+ imports: [RouterModule, CommonModule, AppMenuitemComponent],
templateUrl: './app.menu.component.html'
})
export class AppMenuComponent implements OnInit {
diff --git a/src/app/layout/app.menuitem.component.ts b/src/app/layout/app.menuitem.component.ts
index 2ec9c92..fba448a 100644
--- a/src/app/layout/app.menuitem.component.ts
+++ b/src/app/layout/app.menuitem.component.ts
@@ -1,14 +1,17 @@
import { ChangeDetectorRef, Component, Host, HostBinding, Input, OnDestroy, OnInit } from '@angular/core';
-import { NavigationEnd, Router } from '@angular/router';
+import {NavigationEnd, Router, RouterModule} from '@angular/router';
import { animate, state, style, transition, trigger } from '@angular/animations';
import { Subscription } from 'rxjs';
import { filter } from 'rxjs/operators';
import { MenuService } from './app.menu.service';
import { LayoutService } from './service/app.layout.service';
+import {CommonModule} from '@angular/common';
@Component({
// eslint-disable-next-line @angular-eslint/component-selector
selector: '[app-menuitem]',
+ standalone: true,
+ imports: [CommonModule, RouterModule],
template: `
@@ -18,9 +21,9 @@ import { LayoutService } from './service/app.layout.service';
-
@@ -131,7 +134,7 @@ export class AppMenuitemComponent implements OnInit, OnDestroy {
return this.root ? 'expanded' : (this.active ? 'expanded' : 'collapsed');
}
- @HostBinding('class.active-menuitem')
+ @HostBinding('class.active-menuitem')
get activeClass() {
return this.active && !this.root;
}
diff --git a/src/app/layout/app.sidebar.component.ts b/src/app/layout/app.sidebar.component.ts
index c48f9bb..40c5322 100644
--- a/src/app/layout/app.sidebar.component.ts
+++ b/src/app/layout/app.sidebar.component.ts
@@ -1,8 +1,11 @@
import { Component, ElementRef } from '@angular/core';
import { LayoutService } from "./service/app.layout.service";
+import {AppMenuComponent} from './app.menu.component';
@Component({
selector: 'app-sidebar',
+ standalone: true,
+ imports: [AppMenuComponent],
templateUrl: './app.sidebar.component.html'
})
export class AppSidebarComponent {
diff --git a/src/app/layout/app.topbar.component.ts b/src/app/layout/app.topbar.component.ts
index c8e62ab..1d7b4ed 100644
--- a/src/app/layout/app.topbar.component.ts
+++ b/src/app/layout/app.topbar.component.ts
@@ -1,9 +1,13 @@
import { Component, ElementRef, ViewChild } from '@angular/core';
import { MenuItem } from 'primeng/api';
import { LayoutService } from "./service/app.layout.service";
+import {RouterModule} from '@angular/router';
+import {CommonModule} from '@angular/common';
@Component({
selector: 'app-topbar',
+ standalone: true,
+ imports: [CommonModule, RouterModule],
templateUrl: './app.topbar.component.html'
})
export class AppTopBarComponent {
diff --git a/src/app/layout/config/app.config.component.ts b/src/app/layout/config/app.config.component.ts
index 5831866..f1a3bd9 100644
--- a/src/app/layout/config/app.config.component.ts
+++ b/src/app/layout/config/app.config.component.ts
@@ -1,9 +1,24 @@
import { Component, Input } from '@angular/core';
import { LayoutService } from '../service/app.layout.service';
import { MenuService } from '../app.menu.service';
+import {CommonModule} from '@angular/common';
+import {FormsModule} from '@angular/forms';
+import {SidebarModule} from 'primeng/sidebar';
+import {RadioButtonModule} from 'primeng/radiobutton';
+import {ButtonModule} from 'primeng/button';
+import {InputSwitchModule} from 'primeng/inputswitch';
@Component({
selector: 'app-config',
+ standalone: true,
+ imports: [
+ CommonModule,
+ FormsModule,
+ SidebarModule,
+ RadioButtonModule,
+ ButtonModule,
+ InputSwitchModule
+ ],
templateUrl: './app.config.component.html',
})
export class AppConfigComponent {
diff --git a/src/app/layout/config/config.module.ts b/src/app/layout/config/config.module.ts
index 2c00f85..8e93e5d 100644
--- a/src/app/layout/config/config.module.ts
+++ b/src/app/layout/config/config.module.ts
@@ -1,23 +1,9 @@
import { NgModule } from '@angular/core';
-import { CommonModule } from '@angular/common';
-import { FormsModule } from '@angular/forms';
-import { SidebarModule } from 'primeng/sidebar';
-import { RadioButtonModule } from 'primeng/radiobutton';
-import { ButtonModule } from 'primeng/button';
-import { InputSwitchModule } from 'primeng/inputswitch';
import { AppConfigComponent } from './app.config.component';
@NgModule({
imports: [
- CommonModule,
- FormsModule,
- SidebarModule,
- RadioButtonModule,
- ButtonModule,
- InputSwitchModule
- ],
- declarations: [
- AppConfigComponent
+ AppConfigComponent,
],
exports: [
AppConfigComponent
diff --git a/tsconfig.json b/tsconfig.json
index 5525117..268414f 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -4,7 +4,7 @@
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
- "strict": true,
+ "strict": false,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,