pdm-ui-kit 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aspect-ratio/aspect-ratio.component.d.ts +1 -1
- package/aspect-ratio/aspect-ratio.module.d.ts +5 -2
- package/badge/badge.component.d.ts +1 -1
- package/badge/badge.module.d.ts +5 -2
- package/button/button-theme.constant.d.ts +2 -0
- package/button/button.component.d.ts +1 -4
- package/button/testing/button-harness.d.ts +23 -0
- package/checkbox/testing/checkbox-harness.d.ts +22 -0
- package/dialog/dialog.module.d.ts +2 -1
- package/dialog/testing/dialog-harness.d.ts +26 -0
- package/esm2020/alert/alert.component.mjs +3 -3
- package/esm2020/aspect-ratio/aspect-ratio.component.mjs +4 -3
- package/esm2020/aspect-ratio/aspect-ratio.module.mjs +9 -10
- package/esm2020/badge/badge.component.mjs +4 -3
- package/esm2020/badge/badge.module.mjs +9 -10
- package/esm2020/button/button-theme.constant.mjs +55 -0
- package/esm2020/button/button.component.mjs +5 -18
- package/esm2020/button/testing/button-harness.mjs +51 -0
- package/esm2020/checkbox/testing/checkbox-harness.mjs +54 -0
- package/esm2020/dialog/dialog.component.mjs +5 -4
- package/esm2020/dialog/dialog.module.mjs +5 -4
- package/esm2020/dialog/testing/dialog-harness.mjs +87 -0
- package/esm2020/empty/empty.component.mjs +1 -1
- package/esm2020/icon/icon.component.mjs +4 -3
- package/esm2020/icon/icon.module.mjs +9 -10
- package/esm2020/input/input.component.mjs +16 -4
- package/esm2020/input/testing/input-harness.mjs +68 -0
- package/esm2020/kbd/kbd.component.mjs +4 -3
- package/esm2020/kbd/kbd.module.mjs +9 -10
- package/esm2020/pagination/pagination.component.mjs +35 -5
- package/esm2020/pagination/testing/pagination-harness.mjs +76 -0
- package/esm2020/public-api.mjs +3 -1
- package/esm2020/select/testing/select-harness.mjs +75 -0
- package/esm2020/separator/separator.component.mjs +4 -3
- package/esm2020/separator/separator.module.mjs +9 -10
- package/esm2020/skeleton/skeleton.component.mjs +4 -3
- package/esm2020/skeleton/skeleton.module.mjs +9 -10
- package/esm2020/spinner/spinner.component.mjs +4 -3
- package/esm2020/spinner/spinner.module.mjs +9 -10
- package/esm2020/src/alert/alert.component.mjs +3 -3
- package/esm2020/src/aspect-ratio/aspect-ratio.component.mjs +4 -3
- package/esm2020/src/aspect-ratio/aspect-ratio.module.mjs +9 -10
- package/esm2020/src/badge/badge.component.mjs +4 -3
- package/esm2020/src/badge/badge.module.mjs +9 -10
- package/esm2020/src/button/button-theme.constant.mjs +55 -0
- package/esm2020/src/button/button.component.mjs +5 -18
- package/esm2020/src/dialog/dialog.component.mjs +5 -4
- package/esm2020/src/dialog/dialog.module.mjs +5 -4
- package/esm2020/src/empty/empty.component.mjs +1 -1
- package/esm2020/src/icon/icon.component.mjs +4 -3
- package/esm2020/src/icon/icon.module.mjs +9 -10
- package/esm2020/src/input/input.component.mjs +16 -4
- package/esm2020/src/kbd/kbd.component.mjs +4 -3
- package/esm2020/src/kbd/kbd.module.mjs +9 -10
- package/esm2020/src/pagination/pagination.component.mjs +35 -5
- package/esm2020/src/separator/separator.component.mjs +4 -3
- package/esm2020/src/separator/separator.module.mjs +9 -10
- package/esm2020/src/skeleton/skeleton.component.mjs +4 -3
- package/esm2020/src/skeleton/skeleton.module.mjs +9 -10
- package/esm2020/src/spinner/spinner.component.mjs +4 -3
- package/esm2020/src/spinner/spinner.module.mjs +9 -10
- package/esm2020/src/utils/public-api.mjs +2 -1
- package/esm2020/src/utils/validators.mjs +180 -0
- package/esm2020/testing.mjs +13 -0
- package/fesm2015/pdm-ui-kit-src-alert.mjs +2 -2
- package/fesm2015/pdm-ui-kit-src-alert.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-aspect-ratio.mjs +10 -10
- package/fesm2015/pdm-ui-kit-src-aspect-ratio.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-badge.mjs +10 -10
- package/fesm2015/pdm-ui-kit-src-badge.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-button.mjs +58 -17
- package/fesm2015/pdm-ui-kit-src-button.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-dialog.mjs +8 -6
- package/fesm2015/pdm-ui-kit-src-dialog.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-empty.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-icon.mjs +12 -12
- package/fesm2015/pdm-ui-kit-src-icon.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-input.mjs +15 -3
- package/fesm2015/pdm-ui-kit-src-input.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-kbd.mjs +10 -10
- package/fesm2015/pdm-ui-kit-src-kbd.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-pagination.mjs +34 -4
- package/fesm2015/pdm-ui-kit-src-pagination.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-separator.mjs +10 -10
- package/fesm2015/pdm-ui-kit-src-separator.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-skeleton.mjs +10 -10
- package/fesm2015/pdm-ui-kit-src-skeleton.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-spinner.mjs +10 -10
- package/fesm2015/pdm-ui-kit-src-spinner.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit-src-utils.mjs +181 -1
- package/fesm2015/pdm-ui-kit-src-utils.mjs.map +1 -1
- package/fesm2015/pdm-ui-kit.mjs +846 -213
- package/fesm2015/pdm-ui-kit.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-alert.mjs +2 -2
- package/fesm2020/pdm-ui-kit-src-alert.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-aspect-ratio.mjs +10 -10
- package/fesm2020/pdm-ui-kit-src-aspect-ratio.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-badge.mjs +10 -10
- package/fesm2020/pdm-ui-kit-src-badge.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-button.mjs +58 -17
- package/fesm2020/pdm-ui-kit-src-button.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-dialog.mjs +8 -6
- package/fesm2020/pdm-ui-kit-src-dialog.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-empty.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-icon.mjs +12 -12
- package/fesm2020/pdm-ui-kit-src-icon.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-input.mjs +15 -3
- package/fesm2020/pdm-ui-kit-src-input.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-kbd.mjs +10 -10
- package/fesm2020/pdm-ui-kit-src-kbd.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-pagination.mjs +34 -4
- package/fesm2020/pdm-ui-kit-src-pagination.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-separator.mjs +10 -10
- package/fesm2020/pdm-ui-kit-src-separator.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-skeleton.mjs +10 -10
- package/fesm2020/pdm-ui-kit-src-skeleton.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-spinner.mjs +10 -10
- package/fesm2020/pdm-ui-kit-src-spinner.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit-src-utils.mjs +181 -1
- package/fesm2020/pdm-ui-kit-src-utils.mjs.map +1 -1
- package/fesm2020/pdm-ui-kit.mjs +705 -213
- package/fesm2020/pdm-ui-kit.mjs.map +1 -1
- package/icon/icon.component.d.ts +1 -1
- package/icon/icon.module.d.ts +5 -2
- package/input/input.component.d.ts +4 -0
- package/input/testing/input-harness.d.ts +27 -0
- package/kbd/kbd.component.d.ts +1 -1
- package/kbd/kbd.module.d.ts +5 -2
- package/package.json +1 -1
- package/pagination/testing/pagination-harness.d.ts +21 -0
- package/public-api.d.ts +1 -0
- package/select/testing/select-harness.d.ts +25 -0
- package/separator/separator.component.d.ts +1 -1
- package/separator/separator.module.d.ts +5 -2
- package/skeleton/skeleton.component.d.ts +1 -1
- package/skeleton/skeleton.module.d.ts +5 -2
- package/spinner/spinner.component.d.ts +1 -1
- package/spinner/spinner.module.d.ts +5 -2
- package/src/aspect-ratio/aspect-ratio.component.d.ts +1 -1
- package/src/aspect-ratio/aspect-ratio.module.d.ts +5 -2
- package/src/badge/badge.component.d.ts +1 -1
- package/src/badge/badge.module.d.ts +5 -2
- package/src/button/button-theme.constant.d.ts +2 -0
- package/src/button/button.component.d.ts +1 -4
- package/src/dialog/dialog.module.d.ts +2 -1
- package/src/icon/icon.component.d.ts +1 -1
- package/src/icon/icon.module.d.ts +5 -2
- package/src/input/input.component.d.ts +4 -0
- package/src/kbd/kbd.component.d.ts +1 -1
- package/src/kbd/kbd.module.d.ts +5 -2
- package/src/separator/separator.component.d.ts +1 -1
- package/src/separator/separator.module.d.ts +5 -2
- package/src/skeleton/skeleton.component.d.ts +1 -1
- package/src/skeleton/skeleton.module.d.ts +5 -2
- package/src/spinner/spinner.component.d.ts +1 -1
- package/src/spinner/spinner.module.d.ts +5 -2
- package/src/utils/public-api.d.ts +1 -0
- package/src/utils/validators.d.ts +109 -0
- package/testing.d.ts +12 -0
package/fesm2020/pdm-ui-kit.mjs
CHANGED
|
@@ -12,12 +12,15 @@ import { createFlexiblePositionStrategy as createFlexiblePositionStrategy$1, mer
|
|
|
12
12
|
import * as i2 from 'pdm-ui-kit/src/icon';
|
|
13
13
|
import { PdmIconModule as PdmIconModule$1 } from 'pdm-ui-kit/src/icon';
|
|
14
14
|
import { TABLE_RESPONSIVE as TABLE_RESPONSIVE$1, Z_INDEX as Z_INDEX$1, responsive as responsive$1 } from 'pdm-ui-kit/src/utils';
|
|
15
|
-
import * as i2$1 from '
|
|
15
|
+
import * as i2$1 from '@angular/cdk/a11y';
|
|
16
|
+
import { A11yModule } from '@angular/cdk/a11y';
|
|
17
|
+
import * as i2$2 from 'pdm-ui-kit/src/button';
|
|
16
18
|
import { PdmButtonModule as PdmButtonModule$1 } from 'pdm-ui-kit/src/button';
|
|
17
19
|
import { icons } from 'lucide';
|
|
18
20
|
import * as i1$2 from '@angular/platform-browser';
|
|
19
21
|
import * as i3$1 from 'pdm-ui-kit/src/select';
|
|
20
22
|
import { PdmSelectModule as PdmSelectModule$1 } from 'pdm-ui-kit/src/select';
|
|
23
|
+
import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
21
24
|
|
|
22
25
|
class PdmAccordionComponent {
|
|
23
26
|
constructor() {
|
|
@@ -58,7 +61,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
58
61
|
type: Output
|
|
59
62
|
}] } });
|
|
60
63
|
|
|
61
|
-
const COMPONENTS$
|
|
64
|
+
const COMPONENTS$D = [
|
|
62
65
|
PdmAccordionComponent,
|
|
63
66
|
];
|
|
64
67
|
class PdmAccordionModule {
|
|
@@ -70,8 +73,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
70
73
|
type: NgModule,
|
|
71
74
|
args: [{
|
|
72
75
|
imports: [CommonModule],
|
|
73
|
-
declarations: COMPONENTS$
|
|
74
|
-
exports: COMPONENTS$
|
|
76
|
+
declarations: COMPONENTS$D,
|
|
77
|
+
exports: COMPONENTS$D
|
|
75
78
|
}]
|
|
76
79
|
}] });
|
|
77
80
|
|
|
@@ -91,10 +94,10 @@ class PdmAlertComponent {
|
|
|
91
94
|
}
|
|
92
95
|
}
|
|
93
96
|
PdmAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
94
|
-
PdmAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmAlertComponent, selector: "pdm-alert", inputs: { variant: "variant", title: "title", description: "description", details: "details", className: "className" }, ngImport: i0, template: "<section\n role=\"alert\"\n [ngClass]=\"[\n 'w-full rounded-lg border border-solid border-border bg-background p-4',\n className\n ]\"\n>\n <div [ngClass]=\"['flex gap-3', isDestructive ? 'items-start' : 'items-center']\">\n <span class=\"inline-flex h-6 w-6 shrink-0 items-center justify-center\">\n <svg *ngIf=\"!isDestructive && !isTitleOnly\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-foreground\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M8.5 12.5L10.8 14.8L15.8 9.8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n <svg *ngIf=\"isTitleOnly\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-foreground\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 8H19\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <path d=\"M9 8V6.5C9 5.67 9.67 5 10.5 5H13.5C14.33 5 15 5.67 15 6.5V8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <path d=\"M7 8L8 18.5C8.07 19.33 8.77 20 9.6 20H14.4C15.23 20 15.93 19.33 16 18.5L17 8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n </svg>\n <svg *ngIf=\"isDestructive\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-destructive\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M12 8V12\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <circle cx=\"12\" cy=\"16\" r=\"1\" fill=\"currentColor\"></circle>\n </svg>\n </span>\n\n <div class=\"min-w-0 flex-1\">\n <h4\n [ngClass]=\"[\n 'm-0 text-sm font-medium',\n isDestructive ? 'text-destructive' : 'text-foreground'\n ]\"\n >\n {{ title }}\n </h4>\n\n <p\n *ngIf=\"!isTitleOnly && description\"\n [ngClass]=\"[\n 'm-0 mt-0.5 text-sm',\n isDestructive ? 'text-destructive' : 'text-muted-foreground'\n ]\"\n >\n {{ description }}\n </p>\n\n <ul *ngIf=\"isDestructive && details.length\" class=\"m-0 mt-1 pl-5 text-sm text-destructive\">\n <li *ngFor=\"let item of details\">{{ item }}</li>\n </ul>\n </div>\n </div>\n</section>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
97
|
+
PdmAlertComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmAlertComponent, selector: "pdm-alert", inputs: { variant: "variant", title: "title", description: "description", details: "details", className: "className" }, ngImport: i0, template: "<section\n role=\"alert\"\n [ngClass]=\"[\n 'w-full rounded-lg border border-solid border-border bg-background p-4',\n className\n ]\"\n>\n <div [ngClass]=\"['flex gap-3', isDestructive ? 'items-start' : 'items-center']\">\n <span class=\"inline-flex h-6 w-6 shrink-0 items-center justify-center\">\n <svg *ngIf=\"!isDestructive && !isTitleOnly\" aria-label=\"Success\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-foreground\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M8.5 12.5L10.8 14.8L15.8 9.8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n <svg *ngIf=\"isTitleOnly\" aria-label=\"Info\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-foreground\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 8H19\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <path d=\"M9 8V6.5C9 5.67 9.67 5 10.5 5H13.5C14.33 5 15 5.67 15 6.5V8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <path d=\"M7 8L8 18.5C8.07 19.33 8.77 20 9.6 20H14.4C15.23 20 15.93 19.33 16 18.5L17 8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n </svg>\n <svg *ngIf=\"isDestructive\" aria-label=\"Error\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-destructive\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M12 8V12\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <circle cx=\"12\" cy=\"16\" r=\"1\" fill=\"currentColor\"></circle>\n </svg>\n </span>\n\n <div class=\"min-w-0 flex-1\">\n <h4\n [ngClass]=\"[\n 'm-0 text-sm font-medium',\n isDestructive ? 'text-destructive' : 'text-foreground'\n ]\"\n >\n {{ title }}\n </h4>\n\n <p\n *ngIf=\"!isTitleOnly && description\"\n [ngClass]=\"[\n 'm-0 mt-0.5 text-sm',\n isDestructive ? 'text-destructive' : 'text-muted-foreground'\n ]\"\n >\n {{ description }}\n </p>\n\n <ul *ngIf=\"isDestructive && details.length\" class=\"m-0 mt-1 pl-5 text-sm text-destructive\">\n <li *ngFor=\"let item of details\">{{ item }}</li>\n </ul>\n </div>\n </div>\n</section>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
95
98
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAlertComponent, decorators: [{
|
|
96
99
|
type: Component,
|
|
97
|
-
args: [{ selector: 'pdm-alert', changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\n role=\"alert\"\n [ngClass]=\"[\n 'w-full rounded-lg border border-solid border-border bg-background p-4',\n className\n ]\"\n>\n <div [ngClass]=\"['flex gap-3', isDestructive ? 'items-start' : 'items-center']\">\n <span class=\"inline-flex h-6 w-6 shrink-0 items-center justify-center\">\n <svg *ngIf=\"!isDestructive && !isTitleOnly\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-foreground\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M8.5 12.5L10.8 14.8L15.8 9.8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n <svg *ngIf=\"isTitleOnly\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-foreground\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 8H19\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <path d=\"M9 8V6.5C9 5.67 9.67 5 10.5 5H13.5C14.33 5 15 5.67 15 6.5V8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <path d=\"M7 8L8 18.5C8.07 19.33 8.77 20 9.6 20H14.4C15.23 20 15.93 19.33 16 18.5L17 8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n </svg>\n <svg *ngIf=\"isDestructive\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-destructive\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M12 8V12\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <circle cx=\"12\" cy=\"16\" r=\"1\" fill=\"currentColor\"></circle>\n </svg>\n </span>\n\n <div class=\"min-w-0 flex-1\">\n <h4\n [ngClass]=\"[\n 'm-0 text-sm font-medium',\n isDestructive ? 'text-destructive' : 'text-foreground'\n ]\"\n >\n {{ title }}\n </h4>\n\n <p\n *ngIf=\"!isTitleOnly && description\"\n [ngClass]=\"[\n 'm-0 mt-0.5 text-sm',\n isDestructive ? 'text-destructive' : 'text-muted-foreground'\n ]\"\n >\n {{ description }}\n </p>\n\n <ul *ngIf=\"isDestructive && details.length\" class=\"m-0 mt-1 pl-5 text-sm text-destructive\">\n <li *ngFor=\"let item of details\">{{ item }}</li>\n </ul>\n </div>\n </div>\n</section>\n" }]
|
|
100
|
+
args: [{ selector: 'pdm-alert', changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\n role=\"alert\"\n [ngClass]=\"[\n 'w-full rounded-lg border border-solid border-border bg-background p-4',\n className\n ]\"\n>\n <div [ngClass]=\"['flex gap-3', isDestructive ? 'items-start' : 'items-center']\">\n <span class=\"inline-flex h-6 w-6 shrink-0 items-center justify-center\">\n <svg *ngIf=\"!isDestructive && !isTitleOnly\" aria-label=\"Success\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-foreground\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M8.5 12.5L10.8 14.8L15.8 9.8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n <svg *ngIf=\"isTitleOnly\" aria-label=\"Info\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-foreground\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 8H19\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <path d=\"M9 8V6.5C9 5.67 9.67 5 10.5 5H13.5C14.33 5 15 5.67 15 6.5V8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <path d=\"M7 8L8 18.5C8.07 19.33 8.77 20 9.6 20H14.4C15.23 20 15.93 19.33 16 18.5L17 8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n </svg>\n <svg *ngIf=\"isDestructive\" aria-label=\"Error\" viewBox=\"0 0 24 24\" class=\"h-5 w-5 text-destructive\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M12 8V12\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n <circle cx=\"12\" cy=\"16\" r=\"1\" fill=\"currentColor\"></circle>\n </svg>\n </span>\n\n <div class=\"min-w-0 flex-1\">\n <h4\n [ngClass]=\"[\n 'm-0 text-sm font-medium',\n isDestructive ? 'text-destructive' : 'text-foreground'\n ]\"\n >\n {{ title }}\n </h4>\n\n <p\n *ngIf=\"!isTitleOnly && description\"\n [ngClass]=\"[\n 'm-0 mt-0.5 text-sm',\n isDestructive ? 'text-destructive' : 'text-muted-foreground'\n ]\"\n >\n {{ description }}\n </p>\n\n <ul *ngIf=\"isDestructive && details.length\" class=\"m-0 mt-1 pl-5 text-sm text-destructive\">\n <li *ngFor=\"let item of details\">{{ item }}</li>\n </ul>\n </div>\n </div>\n</section>\n" }]
|
|
98
101
|
}], propDecorators: { variant: [{
|
|
99
102
|
type: Input
|
|
100
103
|
}], title: [{
|
|
@@ -191,7 +194,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
191
194
|
args: ['document:keydown.escape']
|
|
192
195
|
}] } });
|
|
193
196
|
|
|
194
|
-
const COMPONENTS$
|
|
197
|
+
const COMPONENTS$C = [
|
|
195
198
|
PdmAlertComponent,
|
|
196
199
|
PdmAlertDialogComponent,
|
|
197
200
|
];
|
|
@@ -206,8 +209,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
206
209
|
type: NgModule,
|
|
207
210
|
args: [{
|
|
208
211
|
imports: [CommonModule],
|
|
209
|
-
declarations: COMPONENTS$
|
|
210
|
-
exports: COMPONENTS$
|
|
212
|
+
declarations: COMPONENTS$C,
|
|
213
|
+
exports: COMPONENTS$C
|
|
211
214
|
}]
|
|
212
215
|
}] });
|
|
213
216
|
|
|
@@ -225,10 +228,10 @@ class PdmAspectRatioComponent {
|
|
|
225
228
|
}
|
|
226
229
|
}
|
|
227
230
|
PdmAspectRatioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
228
|
-
PdmAspectRatioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmAspectRatioComponent, selector: "pdm-aspect-ratio", inputs: { ratio: "ratio", imageSrc: "imageSrc", imageAlt: "imageAlt", className: "className" }, ngImport: i0, template: "<div class=\"relative w-full\" [ngClass]=\"className\" [style.paddingTop]=\"paddingTop\">\n <div class=\"absolute inset-0 overflow-hidden rounded-lg\">\n <img\n *ngIf=\"imageSrc\"\n [src]=\"imageSrc\"\n [alt]=\"imageAlt\"\n class=\"pointer-events-none h-full w-full rounded-lg object-cover\"\n />\n <ng-content></ng-content>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
231
|
+
PdmAspectRatioComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmAspectRatioComponent, isStandalone: true, selector: "pdm-aspect-ratio", inputs: { ratio: "ratio", imageSrc: "imageSrc", imageAlt: "imageAlt", className: "className" }, ngImport: i0, template: "<div class=\"relative w-full\" [ngClass]=\"className\" [style.paddingTop]=\"paddingTop\">\n <div class=\"absolute inset-0 overflow-hidden rounded-lg\">\n <img\n *ngIf=\"imageSrc\"\n [src]=\"imageSrc\"\n [alt]=\"imageAlt\"\n class=\"pointer-events-none h-full w-full rounded-lg object-cover\"\n />\n <ng-content></ng-content>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
229
232
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioComponent, decorators: [{
|
|
230
233
|
type: Component,
|
|
231
|
-
args: [{ selector: 'pdm-aspect-ratio', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"relative w-full\" [ngClass]=\"className\" [style.paddingTop]=\"paddingTop\">\n <div class=\"absolute inset-0 overflow-hidden rounded-lg\">\n <img\n *ngIf=\"imageSrc\"\n [src]=\"imageSrc\"\n [alt]=\"imageAlt\"\n class=\"pointer-events-none h-full w-full rounded-lg object-cover\"\n />\n <ng-content></ng-content>\n </div>\n</div>\n" }]
|
|
234
|
+
args: [{ selector: 'pdm-aspect-ratio', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<div class=\"relative w-full\" [ngClass]=\"className\" [style.paddingTop]=\"paddingTop\">\n <div class=\"absolute inset-0 overflow-hidden rounded-lg\">\n <img\n *ngIf=\"imageSrc\"\n [src]=\"imageSrc\"\n [alt]=\"imageAlt\"\n class=\"pointer-events-none h-full w-full rounded-lg object-cover\"\n />\n <ng-content></ng-content>\n </div>\n</div>\n" }]
|
|
232
235
|
}], propDecorators: { ratio: [{
|
|
233
236
|
type: Input
|
|
234
237
|
}], imageSrc: [{
|
|
@@ -239,20 +242,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
239
242
|
type: Input
|
|
240
243
|
}] } });
|
|
241
244
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
+
/**
|
|
246
|
+
* @deprecated Import PdmAspectRatioComponent directly instead. This module is kept for backwards compatibility.
|
|
247
|
+
* For modern Angular (v14+), use: import { PdmAspectRatioComponent } from 'pdm-ui-kit/aspect-ratio'
|
|
248
|
+
*/
|
|
245
249
|
class PdmAspectRatioModule {
|
|
246
250
|
}
|
|
247
251
|
PdmAspectRatioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
248
|
-
PdmAspectRatioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule,
|
|
249
|
-
PdmAspectRatioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, imports: [
|
|
252
|
+
PdmAspectRatioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, imports: [PdmAspectRatioComponent], exports: [PdmAspectRatioComponent] });
|
|
253
|
+
PdmAspectRatioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, imports: [PdmAspectRatioComponent] });
|
|
250
254
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, decorators: [{
|
|
251
255
|
type: NgModule,
|
|
252
256
|
args: [{
|
|
253
|
-
imports: [
|
|
254
|
-
|
|
255
|
-
exports: COMPONENTS$I
|
|
257
|
+
imports: [PdmAspectRatioComponent],
|
|
258
|
+
exports: [PdmAspectRatioComponent]
|
|
256
259
|
}]
|
|
257
260
|
}] });
|
|
258
261
|
|
|
@@ -299,7 +302,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
299
302
|
type: Input
|
|
300
303
|
}] } });
|
|
301
304
|
|
|
302
|
-
const COMPONENTS$
|
|
305
|
+
const COMPONENTS$B = [
|
|
303
306
|
PdmAvatarComponent,
|
|
304
307
|
];
|
|
305
308
|
class PdmAvatarModule {
|
|
@@ -311,8 +314,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
311
314
|
type: NgModule,
|
|
312
315
|
args: [{
|
|
313
316
|
imports: [CommonModule],
|
|
314
|
-
declarations: COMPONENTS$
|
|
315
|
-
exports: COMPONENTS$
|
|
317
|
+
declarations: COMPONENTS$B,
|
|
318
|
+
exports: COMPONENTS$B
|
|
316
319
|
}]
|
|
317
320
|
}] });
|
|
318
321
|
|
|
@@ -324,10 +327,10 @@ class PdmBadgeComponent {
|
|
|
324
327
|
}
|
|
325
328
|
}
|
|
326
329
|
PdmBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
327
|
-
PdmBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmBadgeComponent, selector: "pdm-badge", inputs: { variant: "variant", text: "text", className: "className" }, ngImport: i0, template: "<span\n [ngClass]=\"[\n 'inline-flex items-center justify-center text-center align-middle rounded-full px-2.5 py-0.5 text-xs font-semibold',\n variant === 'default' ? 'bg-primary text-primary-foreground' : '',\n variant === 'secondary' ? 'bg-secondary text-secondary-foreground' : '',\n variant === 'destructive' ? 'bg-destructive text-destructive-foreground' : '',\n variant === 'outline' ? 'border border-solid border-input text-foreground' : '',\n variant === 'icon' ? 'gap-1 bg-primary text-primary-foreground' : '',\n variant === 'number' ? 'min-w-5 rounded-full bg-primary px-1.5 text-primary-foreground' : '',\n variant === 'destructive-number' ? 'min-w-5 rounded-full bg-destructive px-1.5 text-destructive-foreground' : '',\n variant === 'secondary-number' ? 'min-w-5 rounded-full border border-solid border-input px-1.5 text-foreground' : '',\n className\n ]\"\n>\n <svg\n *ngIf=\"variant === 'icon'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M8.5 12.5L10.8 14.8L15.8 9.8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n <span [ngClass]=\"[variant === 'secondary-number' ? 'font-mono' : '']\">{{ text }}</span>\n</span>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
330
|
+
PdmBadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmBadgeComponent, isStandalone: true, selector: "pdm-badge", inputs: { variant: "variant", text: "text", className: "className" }, ngImport: i0, template: "<span\n [ngClass]=\"[\n 'inline-flex items-center justify-center text-center align-middle rounded-full px-2.5 py-0.5 text-xs font-semibold',\n variant === 'default' ? 'bg-primary text-primary-foreground' : '',\n variant === 'secondary' ? 'bg-secondary text-secondary-foreground' : '',\n variant === 'destructive' ? 'bg-destructive text-destructive-foreground' : '',\n variant === 'outline' ? 'border border-solid border-input text-foreground' : '',\n variant === 'icon' ? 'gap-1 bg-primary text-primary-foreground' : '',\n variant === 'number' ? 'min-w-5 rounded-full bg-primary px-1.5 text-primary-foreground' : '',\n variant === 'destructive-number' ? 'min-w-5 rounded-full bg-destructive px-1.5 text-destructive-foreground' : '',\n variant === 'secondary-number' ? 'min-w-5 rounded-full border border-solid border-input px-1.5 text-foreground' : '',\n className\n ]\"\n>\n <svg\n *ngIf=\"variant === 'icon'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M8.5 12.5L10.8 14.8L15.8 9.8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n <span [ngClass]=\"[variant === 'secondary-number' ? 'font-mono' : '']\">{{ text }}</span>\n</span>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
328
331
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeComponent, decorators: [{
|
|
329
332
|
type: Component,
|
|
330
|
-
args: [{ selector: 'pdm-badge', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span\n [ngClass]=\"[\n 'inline-flex items-center justify-center text-center align-middle rounded-full px-2.5 py-0.5 text-xs font-semibold',\n variant === 'default' ? 'bg-primary text-primary-foreground' : '',\n variant === 'secondary' ? 'bg-secondary text-secondary-foreground' : '',\n variant === 'destructive' ? 'bg-destructive text-destructive-foreground' : '',\n variant === 'outline' ? 'border border-solid border-input text-foreground' : '',\n variant === 'icon' ? 'gap-1 bg-primary text-primary-foreground' : '',\n variant === 'number' ? 'min-w-5 rounded-full bg-primary px-1.5 text-primary-foreground' : '',\n variant === 'destructive-number' ? 'min-w-5 rounded-full bg-destructive px-1.5 text-destructive-foreground' : '',\n variant === 'secondary-number' ? 'min-w-5 rounded-full border border-solid border-input px-1.5 text-foreground' : '',\n className\n ]\"\n>\n <svg\n *ngIf=\"variant === 'icon'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M8.5 12.5L10.8 14.8L15.8 9.8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n <span [ngClass]=\"[variant === 'secondary-number' ? 'font-mono' : '']\">{{ text }}</span>\n</span>\n" }]
|
|
333
|
+
args: [{ selector: 'pdm-badge', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<span\n [ngClass]=\"[\n 'inline-flex items-center justify-center text-center align-middle rounded-full px-2.5 py-0.5 text-xs font-semibold',\n variant === 'default' ? 'bg-primary text-primary-foreground' : '',\n variant === 'secondary' ? 'bg-secondary text-secondary-foreground' : '',\n variant === 'destructive' ? 'bg-destructive text-destructive-foreground' : '',\n variant === 'outline' ? 'border border-solid border-input text-foreground' : '',\n variant === 'icon' ? 'gap-1 bg-primary text-primary-foreground' : '',\n variant === 'number' ? 'min-w-5 rounded-full bg-primary px-1.5 text-primary-foreground' : '',\n variant === 'destructive-number' ? 'min-w-5 rounded-full bg-destructive px-1.5 text-destructive-foreground' : '',\n variant === 'secondary-number' ? 'min-w-5 rounded-full border border-solid border-input px-1.5 text-foreground' : '',\n className\n ]\"\n>\n <svg\n *ngIf=\"variant === 'icon'\"\n viewBox=\"0 0 24 24\"\n class=\"h-4 w-4\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <circle cx=\"12\" cy=\"12\" r=\"9\" stroke=\"currentColor\" stroke-width=\"1.5\"></circle>\n <path d=\"M8.5 12.5L10.8 14.8L15.8 9.8\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n <span [ngClass]=\"[variant === 'secondary-number' ? 'font-mono' : '']\">{{ text }}</span>\n</span>\n" }]
|
|
331
334
|
}], propDecorators: { variant: [{
|
|
332
335
|
type: Input
|
|
333
336
|
}], text: [{
|
|
@@ -336,20 +339,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
336
339
|
type: Input
|
|
337
340
|
}] } });
|
|
338
341
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
+
/**
|
|
343
|
+
* @deprecated Import PdmBadgeComponent directly instead. This module is kept for backwards compatibility.
|
|
344
|
+
* For modern Angular (v14+), use: import { PdmBadgeComponent } from 'pdm-ui-kit/badge'
|
|
345
|
+
*/
|
|
342
346
|
class PdmBadgeModule {
|
|
343
347
|
}
|
|
344
348
|
PdmBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
345
|
-
PdmBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule,
|
|
346
|
-
PdmBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, imports: [
|
|
349
|
+
PdmBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, imports: [PdmBadgeComponent], exports: [PdmBadgeComponent] });
|
|
350
|
+
PdmBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, imports: [PdmBadgeComponent] });
|
|
347
351
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, decorators: [{
|
|
348
352
|
type: NgModule,
|
|
349
353
|
args: [{
|
|
350
|
-
imports: [
|
|
351
|
-
|
|
352
|
-
exports: COMPONENTS$G
|
|
354
|
+
imports: [PdmBadgeComponent],
|
|
355
|
+
exports: [PdmBadgeComponent]
|
|
353
356
|
}]
|
|
354
357
|
}] });
|
|
355
358
|
|
|
@@ -412,7 +415,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
412
415
|
type: Input
|
|
413
416
|
}] } });
|
|
414
417
|
|
|
415
|
-
const COMPONENTS$
|
|
418
|
+
const COMPONENTS$A = [
|
|
416
419
|
PdmBreadcrumbComponent,
|
|
417
420
|
];
|
|
418
421
|
class PdmBreadcrumbModule {
|
|
@@ -424,11 +427,66 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
424
427
|
type: NgModule,
|
|
425
428
|
args: [{
|
|
426
429
|
imports: [CommonModule],
|
|
427
|
-
declarations: COMPONENTS$
|
|
428
|
-
exports: COMPONENTS$
|
|
430
|
+
declarations: COMPONENTS$A,
|
|
431
|
+
exports: COMPONENTS$A
|
|
429
432
|
}]
|
|
430
433
|
}] });
|
|
431
434
|
|
|
435
|
+
const BUTTON_TONE_MAP = {
|
|
436
|
+
default: {
|
|
437
|
+
default: 'border-primary bg-primary text-primary-foreground',
|
|
438
|
+
hover: 'border-primary bg-primary text-primary-foreground opacity-90',
|
|
439
|
+
},
|
|
440
|
+
primary: {
|
|
441
|
+
default: 'border-primary bg-primary text-primary-foreground',
|
|
442
|
+
hover: 'border-primary bg-primary text-primary-foreground opacity-90',
|
|
443
|
+
},
|
|
444
|
+
destructive: {
|
|
445
|
+
default: 'border-border bg-destructive text-destructive-foreground',
|
|
446
|
+
hover: 'border-border bg-destructive text-destructive-foreground opacity-90',
|
|
447
|
+
},
|
|
448
|
+
outline: {
|
|
449
|
+
default: 'border-border bg-background text-foreground',
|
|
450
|
+
hover: 'border-border bg-muted text-foreground',
|
|
451
|
+
},
|
|
452
|
+
subtle: {
|
|
453
|
+
default: 'border-secondary bg-secondary text-secondary-foreground',
|
|
454
|
+
hover: 'border-accent bg-accent text-accent-foreground',
|
|
455
|
+
},
|
|
456
|
+
secondary: {
|
|
457
|
+
default: 'border-secondary bg-secondary text-secondary-foreground',
|
|
458
|
+
hover: 'border-accent bg-accent text-accent-foreground',
|
|
459
|
+
},
|
|
460
|
+
ghost: {
|
|
461
|
+
default: 'border-border bg-transparent text-foreground',
|
|
462
|
+
hover: 'border-border bg-accent text-accent-foreground',
|
|
463
|
+
},
|
|
464
|
+
link: {
|
|
465
|
+
default: 'border-border bg-transparent text-primary',
|
|
466
|
+
hover: 'border-border bg-transparent text-primary underline underline-offset-4',
|
|
467
|
+
},
|
|
468
|
+
'with-icon': {
|
|
469
|
+
default: 'border-primary bg-primary text-primary-foreground',
|
|
470
|
+
hover: 'border-primary bg-primary text-primary-foreground opacity-90',
|
|
471
|
+
},
|
|
472
|
+
icon: {
|
|
473
|
+
default: 'border-border bg-background text-foreground',
|
|
474
|
+
hover: 'border-border bg-accent text-accent-foreground',
|
|
475
|
+
},
|
|
476
|
+
'icon-circle': {
|
|
477
|
+
default: 'border-border bg-background text-foreground',
|
|
478
|
+
hover: 'border-border bg-accent text-accent-foreground',
|
|
479
|
+
},
|
|
480
|
+
rounded: {
|
|
481
|
+
default: 'border-border bg-background text-foreground',
|
|
482
|
+
hover: 'border-border bg-accent text-accent-foreground',
|
|
483
|
+
},
|
|
484
|
+
loading: {
|
|
485
|
+
default: 'border-primary bg-primary text-primary-foreground opacity-70',
|
|
486
|
+
hover: 'border-primary bg-primary text-primary-foreground opacity-70',
|
|
487
|
+
},
|
|
488
|
+
};
|
|
489
|
+
|
|
432
490
|
class PdmButtonComponent {
|
|
433
491
|
constructor() {
|
|
434
492
|
this.type = 'button';
|
|
@@ -439,21 +497,7 @@ class PdmButtonComponent {
|
|
|
439
497
|
this.loading = false;
|
|
440
498
|
this.className = '';
|
|
441
499
|
this.pressed = new EventEmitter();
|
|
442
|
-
this.toneClassMap =
|
|
443
|
-
default: { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
|
|
444
|
-
primary: { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
|
|
445
|
-
destructive: { default: 'border-border bg-destructive text-destructive-foreground', hover: 'border-border bg-destructive text-destructive-foreground opacity-90' },
|
|
446
|
-
outline: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-muted text-foreground' },
|
|
447
|
-
subtle: { default: 'border-secondary bg-secondary text-secondary-foreground', hover: 'border-accent bg-accent text-accent-foreground' },
|
|
448
|
-
secondary: { default: 'border-secondary bg-secondary text-secondary-foreground', hover: 'border-accent bg-accent text-accent-foreground' },
|
|
449
|
-
ghost: { default: 'border-border bg-transparent text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
|
|
450
|
-
link: { default: 'border-border bg-transparent text-primary', hover: 'border-border bg-transparent text-primary underline underline-offset-4' },
|
|
451
|
-
'with-icon': { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
|
|
452
|
-
icon: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
|
|
453
|
-
'icon-circle': { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
|
|
454
|
-
rounded: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
|
|
455
|
-
loading: { default: 'border-primary bg-primary text-primary-foreground opacity-70', hover: 'border-primary bg-primary text-primary-foreground opacity-70' }
|
|
456
|
-
};
|
|
500
|
+
this.toneClassMap = BUTTON_TONE_MAP;
|
|
457
501
|
}
|
|
458
502
|
get isDisabled() {
|
|
459
503
|
return this.disabled || this.loading || this.variant === 'loading';
|
|
@@ -518,10 +562,10 @@ class PdmButtonComponent {
|
|
|
518
562
|
}
|
|
519
563
|
}
|
|
520
564
|
PdmButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
521
|
-
PdmButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmButtonComponent, selector: "pdm-button", inputs: { type: "type", variant: "variant", state: "state", size: "size", disabled: "disabled", loading: "loading", className: "className" }, outputs: { pressed: "pressed" }, ngImport: i0, template: "<button\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n [attr.aria-busy]=\"loading\"\n [ngClass]=\"rootClasses\"\n (click)=\"onClick($event)\"\n>\n <span\n *ngIf=\"loading\"\n class=\"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent\"\n aria-hidden=\"true\"\n ></span>\n <ng-content select=\"[pdmButtonIcon]\" *ngIf=\"showsIconSlot\"></ng-content>\n <ng-content></ng-content>\n</button>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
565
|
+
PdmButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmButtonComponent, selector: "pdm-button", inputs: { type: "type", variant: "variant", state: "state", size: "size", disabled: "disabled", loading: "loading", className: "className" }, outputs: { pressed: "pressed" }, ngImport: i0, template: "<button\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n [attr.aria-busy]=\"isDisabled && loading ? true : null\"\n [ngClass]=\"rootClasses\"\n (click)=\"onClick($event)\"\n>\n <span\n *ngIf=\"loading\"\n class=\"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent\"\n aria-hidden=\"true\"\n ></span>\n <ng-content select=\"[pdmButtonIcon]\" *ngIf=\"showsIconSlot\"></ng-content>\n <ng-content></ng-content>\n</button>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
522
566
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonComponent, decorators: [{
|
|
523
567
|
type: Component,
|
|
524
|
-
args: [{ selector: 'pdm-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n [attr.aria-busy]=\"loading\"\n [ngClass]=\"rootClasses\"\n (click)=\"onClick($event)\"\n>\n <span\n *ngIf=\"loading\"\n class=\"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent\"\n aria-hidden=\"true\"\n ></span>\n <ng-content select=\"[pdmButtonIcon]\" *ngIf=\"showsIconSlot\"></ng-content>\n <ng-content></ng-content>\n</button>\n" }]
|
|
568
|
+
args: [{ selector: 'pdm-button', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n [attr.aria-busy]=\"isDisabled && loading ? true : null\"\n [ngClass]=\"rootClasses\"\n (click)=\"onClick($event)\"\n>\n <span\n *ngIf=\"loading\"\n class=\"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent\"\n aria-hidden=\"true\"\n ></span>\n <ng-content select=\"[pdmButtonIcon]\" *ngIf=\"showsIconSlot\"></ng-content>\n <ng-content></ng-content>\n</button>\n" }]
|
|
525
569
|
}], propDecorators: { type: [{
|
|
526
570
|
type: Input
|
|
527
571
|
}], variant: [{
|
|
@@ -773,7 +817,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
773
817
|
type: Input
|
|
774
818
|
}] } });
|
|
775
819
|
|
|
776
|
-
const COMPONENTS$
|
|
820
|
+
const COMPONENTS$z = [
|
|
777
821
|
PdmButtonComponent,
|
|
778
822
|
PdmButtonGroupComponent,
|
|
779
823
|
];
|
|
@@ -788,8 +832,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
788
832
|
type: NgModule,
|
|
789
833
|
args: [{
|
|
790
834
|
imports: [CommonModule],
|
|
791
|
-
declarations: COMPONENTS$
|
|
792
|
-
exports: COMPONENTS$
|
|
835
|
+
declarations: COMPONENTS$z,
|
|
836
|
+
exports: COMPONENTS$z
|
|
793
837
|
}]
|
|
794
838
|
}] });
|
|
795
839
|
|
|
@@ -1671,7 +1715,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1671
1715
|
args: ["document:keydown.escape"]
|
|
1672
1716
|
}] } });
|
|
1673
1717
|
|
|
1674
|
-
const COMPONENTS$
|
|
1718
|
+
const COMPONENTS$y = [PdmCalendarComponent, PdmDatePickerComponent];
|
|
1675
1719
|
class PdmCalendarModule {
|
|
1676
1720
|
}
|
|
1677
1721
|
PdmCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -1681,8 +1725,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1681
1725
|
type: NgModule,
|
|
1682
1726
|
args: [{
|
|
1683
1727
|
imports: [CommonModule, OverlayModule, PdmLabelModule$1],
|
|
1684
|
-
declarations: COMPONENTS$
|
|
1685
|
-
exports: COMPONENTS$
|
|
1728
|
+
declarations: COMPONENTS$y,
|
|
1729
|
+
exports: COMPONENTS$y,
|
|
1686
1730
|
}]
|
|
1687
1731
|
}] });
|
|
1688
1732
|
|
|
@@ -1731,7 +1775,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1731
1775
|
type: Input
|
|
1732
1776
|
}] } });
|
|
1733
1777
|
|
|
1734
|
-
const COMPONENTS$
|
|
1778
|
+
const COMPONENTS$x = [
|
|
1735
1779
|
PdmCardComponent,
|
|
1736
1780
|
];
|
|
1737
1781
|
class PdmCardModule {
|
|
@@ -1743,8 +1787,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1743
1787
|
type: NgModule,
|
|
1744
1788
|
args: [{
|
|
1745
1789
|
imports: [CommonModule],
|
|
1746
|
-
declarations: COMPONENTS$
|
|
1747
|
-
exports: COMPONENTS$
|
|
1790
|
+
declarations: COMPONENTS$x,
|
|
1791
|
+
exports: COMPONENTS$x
|
|
1748
1792
|
}]
|
|
1749
1793
|
}] });
|
|
1750
1794
|
|
|
@@ -1847,7 +1891,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1847
1891
|
type: Output
|
|
1848
1892
|
}] } });
|
|
1849
1893
|
|
|
1850
|
-
const COMPONENTS$
|
|
1894
|
+
const COMPONENTS$w = [
|
|
1851
1895
|
PdmCarouselComponent,
|
|
1852
1896
|
];
|
|
1853
1897
|
class PdmCarouselModule {
|
|
@@ -1859,8 +1903,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1859
1903
|
type: NgModule,
|
|
1860
1904
|
args: [{
|
|
1861
1905
|
imports: [CommonModule],
|
|
1862
|
-
declarations: COMPONENTS$
|
|
1863
|
-
exports: COMPONENTS$
|
|
1906
|
+
declarations: COMPONENTS$w,
|
|
1907
|
+
exports: COMPONENTS$w
|
|
1864
1908
|
}]
|
|
1865
1909
|
}] });
|
|
1866
1910
|
|
|
@@ -2038,7 +2082,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2038
2082
|
type: Input
|
|
2039
2083
|
}] } });
|
|
2040
2084
|
|
|
2041
|
-
const COMPONENTS$
|
|
2085
|
+
const COMPONENTS$v = [
|
|
2042
2086
|
PdmChartComponent,
|
|
2043
2087
|
];
|
|
2044
2088
|
class PdmChartModule {
|
|
@@ -2050,8 +2094,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2050
2094
|
type: NgModule,
|
|
2051
2095
|
args: [{
|
|
2052
2096
|
imports: [CommonModule],
|
|
2053
|
-
declarations: COMPONENTS$
|
|
2054
|
-
exports: COMPONENTS$
|
|
2097
|
+
declarations: COMPONENTS$v,
|
|
2098
|
+
exports: COMPONENTS$v
|
|
2055
2099
|
}]
|
|
2056
2100
|
}] });
|
|
2057
2101
|
|
|
@@ -2099,7 +2143,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2099
2143
|
type: Output
|
|
2100
2144
|
}] } });
|
|
2101
2145
|
|
|
2102
|
-
const COMPONENTS$
|
|
2146
|
+
const COMPONENTS$u = [
|
|
2103
2147
|
PdmCheckboxComponent,
|
|
2104
2148
|
];
|
|
2105
2149
|
class PdmCheckboxModule {
|
|
@@ -2111,8 +2155,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2111
2155
|
type: NgModule,
|
|
2112
2156
|
args: [{
|
|
2113
2157
|
imports: [CommonModule],
|
|
2114
|
-
declarations: COMPONENTS$
|
|
2115
|
-
exports: COMPONENTS$
|
|
2158
|
+
declarations: COMPONENTS$u,
|
|
2159
|
+
exports: COMPONENTS$u
|
|
2116
2160
|
}]
|
|
2117
2161
|
}] });
|
|
2118
2162
|
|
|
@@ -2156,7 +2200,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2156
2200
|
type: Output
|
|
2157
2201
|
}] } });
|
|
2158
2202
|
|
|
2159
|
-
const COMPONENTS$
|
|
2203
|
+
const COMPONENTS$t = [
|
|
2160
2204
|
PdmCollapsibleComponent,
|
|
2161
2205
|
];
|
|
2162
2206
|
class PdmCollapsibleModule {
|
|
@@ -2168,8 +2212,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2168
2212
|
type: NgModule,
|
|
2169
2213
|
args: [{
|
|
2170
2214
|
imports: [CommonModule],
|
|
2171
|
-
declarations: COMPONENTS$
|
|
2172
|
-
exports: COMPONENTS$
|
|
2215
|
+
declarations: COMPONENTS$t,
|
|
2216
|
+
exports: COMPONENTS$t
|
|
2173
2217
|
}]
|
|
2174
2218
|
}] });
|
|
2175
2219
|
|
|
@@ -2340,7 +2384,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2340
2384
|
args: ["document:keydown.escape"]
|
|
2341
2385
|
}] } });
|
|
2342
2386
|
|
|
2343
|
-
const COMPONENTS$
|
|
2387
|
+
const COMPONENTS$s = [
|
|
2344
2388
|
PdmComboboxComponent,
|
|
2345
2389
|
];
|
|
2346
2390
|
class PdmComboboxModule {
|
|
@@ -2352,8 +2396,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2352
2396
|
type: NgModule,
|
|
2353
2397
|
args: [{
|
|
2354
2398
|
imports: [CommonModule, OverlayModule],
|
|
2355
|
-
declarations: COMPONENTS$
|
|
2356
|
-
exports: COMPONENTS$
|
|
2399
|
+
declarations: COMPONENTS$s,
|
|
2400
|
+
exports: COMPONENTS$s
|
|
2357
2401
|
}]
|
|
2358
2402
|
}] });
|
|
2359
2403
|
|
|
@@ -2428,7 +2472,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2428
2472
|
type: Output
|
|
2429
2473
|
}] } });
|
|
2430
2474
|
|
|
2431
|
-
const COMPONENTS$
|
|
2475
|
+
const COMPONENTS$r = [PdmCommandComponent];
|
|
2432
2476
|
class PdmCommandModule {
|
|
2433
2477
|
}
|
|
2434
2478
|
PdmCommandModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmCommandModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -2438,8 +2482,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2438
2482
|
type: NgModule,
|
|
2439
2483
|
args: [{
|
|
2440
2484
|
imports: [CommonModule, PdmIconModule$1],
|
|
2441
|
-
declarations: COMPONENTS$
|
|
2442
|
-
exports: COMPONENTS$
|
|
2485
|
+
declarations: COMPONENTS$r,
|
|
2486
|
+
exports: COMPONENTS$r,
|
|
2443
2487
|
}]
|
|
2444
2488
|
}] });
|
|
2445
2489
|
|
|
@@ -2602,7 +2646,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2602
2646
|
args: ["document:click"]
|
|
2603
2647
|
}] } });
|
|
2604
2648
|
|
|
2605
|
-
const COMPONENTS$
|
|
2649
|
+
const COMPONENTS$q = [
|
|
2606
2650
|
PdmContextMenuComponent,
|
|
2607
2651
|
];
|
|
2608
2652
|
class PdmContextMenuModule {
|
|
@@ -2614,8 +2658,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2614
2658
|
type: NgModule,
|
|
2615
2659
|
args: [{
|
|
2616
2660
|
imports: [CommonModule, OverlayModule],
|
|
2617
|
-
declarations: COMPONENTS$
|
|
2618
|
-
exports: COMPONENTS$
|
|
2661
|
+
declarations: COMPONENTS$q,
|
|
2662
|
+
exports: COMPONENTS$q
|
|
2619
2663
|
}]
|
|
2620
2664
|
}] });
|
|
2621
2665
|
|
|
@@ -3389,7 +3433,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
3389
3433
|
args: ['tableElement']
|
|
3390
3434
|
}] } });
|
|
3391
3435
|
|
|
3392
|
-
const COMPONENTS$
|
|
3436
|
+
const COMPONENTS$p = [
|
|
3393
3437
|
PdmDataTableComponent,
|
|
3394
3438
|
PdmDraggableTableComponent,
|
|
3395
3439
|
PdmTableComponent,
|
|
@@ -3407,8 +3451,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
3407
3451
|
type: NgModule,
|
|
3408
3452
|
args: [{
|
|
3409
3453
|
imports: [CommonModule],
|
|
3410
|
-
declarations: COMPONENTS$
|
|
3411
|
-
exports: COMPONENTS$
|
|
3454
|
+
declarations: COMPONENTS$p,
|
|
3455
|
+
exports: COMPONENTS$p
|
|
3412
3456
|
}]
|
|
3413
3457
|
}] });
|
|
3414
3458
|
|
|
@@ -3446,7 +3490,7 @@ class PdmDialogComponent {
|
|
|
3446
3490
|
* - desktop/mobile/mobile-fullscreen: legacy, deprecado
|
|
3447
3491
|
*/
|
|
3448
3492
|
this.size = "responsive";
|
|
3449
|
-
this.title = "
|
|
3493
|
+
this.title = "";
|
|
3450
3494
|
this.description = "";
|
|
3451
3495
|
this.closeOnBackdrop = true;
|
|
3452
3496
|
this.closeOnEsc = true;
|
|
@@ -3623,10 +3667,10 @@ class PdmDialogComponent {
|
|
|
3623
3667
|
}
|
|
3624
3668
|
}
|
|
3625
3669
|
PdmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3626
|
-
PdmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmDialogComponent, selector: "pdm-dialog", inputs: { open: "open", variant: "variant", size: "size", title: "title", description: "description", closeOnBackdrop: "closeOnBackdrop", closeOnEsc: "closeOnEsc", showCloseButton: "showCloseButton", showHeader: "showHeader", showFooter: "showFooter", primaryActionText: "primaryActionText", secondaryActionText: "secondaryActionText", alignFooter: "alignFooter", headerClassName: "headerClassName", bodyClassName: "bodyClassName", footerClassName: "footerClassName", className: "className" }, outputs: { openChange: "openChange", primaryAction: "primaryAction", secondaryAction: "secondaryAction" }, host: { listeners: { "document:keydown.escape": "onEsc()" } }, ngImport: i0, template: "<div *ngIf=\"open\" [ngClass]=\"containerClassName\">\n <!-- Backdrop -->\n <div class=\"absolute inset-0 bg-foreground/30 backdrop-blur-sm\" (click)=\"onBackdropClick()\"></div>\n \n <!-- Dialog Panel -->\n <section role=\"dialog\" aria-modal=\"true\" [ngClass]=\"panelClassName\">\n <!-- Header -->\n <div *ngIf=\"showHeader\" [ngClass]=\"headerWrapperClassName\">\n <div class=\"min-w-0 flex-1\">\n <h2 class=\"m-0 text-lg font-semibold leading-none tracking-tight text-foreground\">{{ title }}</h2>\n <p *ngIf=\"description\" class=\"m-0 mt-2 text-sm text-muted-foreground\">{{ description }}</p>\n </div>\n <button\n *ngIf=\"showCloseButton\"\n type=\"button\"\n class=\"inline-flex h-6 w-6 flex-shrink-0 appearance-none box-border items-center justify-center rounded-sm border-0 bg-transparent p-0 text-foreground opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none\"\n (click)=\"close()\"\n aria-label=\"Close dialog\"\n >\n <svg viewBox=\"0 0 24 24\" class=\"h-4 w-4\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M6 6L18 18M18 6L6 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n </svg>\n </button>\n </div>\n\n <!-- Body -->\n <div [ngClass]=\"bodyWrapperClassName\">\n <ng-content></ng-content>\n </div>\n\n <!-- Footer -->\n <div *ngIf=\"showFooter\" [ngClass]=\"footerWrapperClassName\">\n <ng-container *ngIf=\"variant === 'custom-close'; else defaultActions\">\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md border border-solid border-input bg-background px-4 py-2 text-sm font-medium text-foreground shadow-sm sm:w-auto\"\n (click)=\"onSecondaryAction()\"\n >\n {{ secondaryActionText }}\n </button>\n </ng-container>\n\n <ng-template #defaultActions>\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md border border-solid border-input bg-background px-4 py-2 text-sm font-medium text-foreground shadow-sm sm:w-auto\"\n (click)=\"onSecondaryAction()\"\n >\n {{ secondaryActionText }}\n </button>\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow-sm sm:w-auto\"\n (click)=\"onPrimaryAction()\"\n >\n {{ primaryActionText }}\n </button>\n </ng-template>\n </div>\n </section>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3670
|
+
PdmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmDialogComponent, selector: "pdm-dialog", inputs: { open: "open", variant: "variant", size: "size", title: "title", description: "description", closeOnBackdrop: "closeOnBackdrop", closeOnEsc: "closeOnEsc", showCloseButton: "showCloseButton", showHeader: "showHeader", showFooter: "showFooter", primaryActionText: "primaryActionText", secondaryActionText: "secondaryActionText", alignFooter: "alignFooter", headerClassName: "headerClassName", bodyClassName: "bodyClassName", footerClassName: "footerClassName", className: "className" }, outputs: { openChange: "openChange", primaryAction: "primaryAction", secondaryAction: "secondaryAction" }, host: { listeners: { "document:keydown.escape": "onEsc()" } }, ngImport: i0, template: "<div *ngIf=\"open\" [ngClass]=\"containerClassName\">\n <!-- Backdrop -->\n <div class=\"absolute inset-0 bg-foreground/30 backdrop-blur-sm\" (click)=\"onBackdropClick()\"></div>\n \n <!-- Dialog Panel -->\n <section role=\"dialog\" aria-modal=\"true\" cdkTrapFocus [ngClass]=\"panelClassName\">\n <!-- Header -->\n <div *ngIf=\"showHeader\" [ngClass]=\"headerWrapperClassName\">\n <div class=\"min-w-0 flex-1\">\n <h2 class=\"m-0 text-lg font-semibold leading-none tracking-tight text-foreground\">{{ title }}</h2>\n <p *ngIf=\"description\" class=\"m-0 mt-2 text-sm text-muted-foreground\">{{ description }}</p>\n </div>\n <button\n *ngIf=\"showCloseButton\"\n type=\"button\"\n class=\"inline-flex h-6 w-6 flex-shrink-0 appearance-none box-border items-center justify-center rounded-sm border-0 bg-transparent p-0 text-foreground opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none\"\n (click)=\"close()\"\n aria-label=\"Close dialog\"\n >\n <svg viewBox=\"0 0 24 24\" class=\"h-4 w-4\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M6 6L18 18M18 6L6 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n </svg>\n </button>\n </div>\n\n <!-- Body -->\n <div [ngClass]=\"bodyWrapperClassName\">\n <ng-content></ng-content>\n </div>\n\n <!-- Footer -->\n <div *ngIf=\"showFooter\" [ngClass]=\"footerWrapperClassName\">\n <ng-container *ngIf=\"variant === 'custom-close'; else defaultActions\">\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md border border-solid border-input bg-background px-4 py-2 text-sm font-medium text-foreground shadow-sm sm:w-auto\"\n (click)=\"onSecondaryAction()\"\n >\n {{ secondaryActionText }}\n </button>\n </ng-container>\n\n <ng-template #defaultActions>\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md border border-solid border-input bg-background px-4 py-2 text-sm font-medium text-foreground shadow-sm sm:w-auto\"\n (click)=\"onSecondaryAction()\"\n >\n {{ secondaryActionText }}\n </button>\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow-sm sm:w-auto\"\n (click)=\"onPrimaryAction()\"\n >\n {{ primaryActionText }}\n </button>\n </ng-template>\n </div>\n </section>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
3627
3671
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogComponent, decorators: [{
|
|
3628
3672
|
type: Component,
|
|
3629
|
-
args: [{ selector: "pdm-dialog", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"open\" [ngClass]=\"containerClassName\">\n <!-- Backdrop -->\n <div class=\"absolute inset-0 bg-foreground/30 backdrop-blur-sm\" (click)=\"onBackdropClick()\"></div>\n \n <!-- Dialog Panel -->\n <section role=\"dialog\" aria-modal=\"true\" [ngClass]=\"panelClassName\">\n <!-- Header -->\n <div *ngIf=\"showHeader\" [ngClass]=\"headerWrapperClassName\">\n <div class=\"min-w-0 flex-1\">\n <h2 class=\"m-0 text-lg font-semibold leading-none tracking-tight text-foreground\">{{ title }}</h2>\n <p *ngIf=\"description\" class=\"m-0 mt-2 text-sm text-muted-foreground\">{{ description }}</p>\n </div>\n <button\n *ngIf=\"showCloseButton\"\n type=\"button\"\n class=\"inline-flex h-6 w-6 flex-shrink-0 appearance-none box-border items-center justify-center rounded-sm border-0 bg-transparent p-0 text-foreground opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none\"\n (click)=\"close()\"\n aria-label=\"Close dialog\"\n >\n <svg viewBox=\"0 0 24 24\" class=\"h-4 w-4\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M6 6L18 18M18 6L6 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n </svg>\n </button>\n </div>\n\n <!-- Body -->\n <div [ngClass]=\"bodyWrapperClassName\">\n <ng-content></ng-content>\n </div>\n\n <!-- Footer -->\n <div *ngIf=\"showFooter\" [ngClass]=\"footerWrapperClassName\">\n <ng-container *ngIf=\"variant === 'custom-close'; else defaultActions\">\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md border border-solid border-input bg-background px-4 py-2 text-sm font-medium text-foreground shadow-sm sm:w-auto\"\n (click)=\"onSecondaryAction()\"\n >\n {{ secondaryActionText }}\n </button>\n </ng-container>\n\n <ng-template #defaultActions>\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md border border-solid border-input bg-background px-4 py-2 text-sm font-medium text-foreground shadow-sm sm:w-auto\"\n (click)=\"onSecondaryAction()\"\n >\n {{ secondaryActionText }}\n </button>\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow-sm sm:w-auto\"\n (click)=\"onPrimaryAction()\"\n >\n {{ primaryActionText }}\n </button>\n </ng-template>\n </div>\n </section>\n</div>\n", styles: [":host{display:block}\n"] }]
|
|
3673
|
+
args: [{ selector: "pdm-dialog", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"open\" [ngClass]=\"containerClassName\">\n <!-- Backdrop -->\n <div class=\"absolute inset-0 bg-foreground/30 backdrop-blur-sm\" (click)=\"onBackdropClick()\"></div>\n \n <!-- Dialog Panel -->\n <section role=\"dialog\" aria-modal=\"true\" cdkTrapFocus [ngClass]=\"panelClassName\">\n <!-- Header -->\n <div *ngIf=\"showHeader\" [ngClass]=\"headerWrapperClassName\">\n <div class=\"min-w-0 flex-1\">\n <h2 class=\"m-0 text-lg font-semibold leading-none tracking-tight text-foreground\">{{ title }}</h2>\n <p *ngIf=\"description\" class=\"m-0 mt-2 text-sm text-muted-foreground\">{{ description }}</p>\n </div>\n <button\n *ngIf=\"showCloseButton\"\n type=\"button\"\n class=\"inline-flex h-6 w-6 flex-shrink-0 appearance-none box-border items-center justify-center rounded-sm border-0 bg-transparent p-0 text-foreground opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none\"\n (click)=\"close()\"\n aria-label=\"Close dialog\"\n >\n <svg viewBox=\"0 0 24 24\" class=\"h-4 w-4\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M6 6L18 18M18 6L6 18\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\"></path>\n </svg>\n </button>\n </div>\n\n <!-- Body -->\n <div [ngClass]=\"bodyWrapperClassName\">\n <ng-content></ng-content>\n </div>\n\n <!-- Footer -->\n <div *ngIf=\"showFooter\" [ngClass]=\"footerWrapperClassName\">\n <ng-container *ngIf=\"variant === 'custom-close'; else defaultActions\">\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md border border-solid border-input bg-background px-4 py-2 text-sm font-medium text-foreground shadow-sm sm:w-auto\"\n (click)=\"onSecondaryAction()\"\n >\n {{ secondaryActionText }}\n </button>\n </ng-container>\n\n <ng-template #defaultActions>\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md border border-solid border-input bg-background px-4 py-2 text-sm font-medium text-foreground shadow-sm sm:w-auto\"\n (click)=\"onSecondaryAction()\"\n >\n {{ secondaryActionText }}\n </button>\n <button\n type=\"button\"\n class=\"inline-flex h-9 w-full appearance-none box-border items-center justify-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow-sm sm:w-auto\"\n (click)=\"onPrimaryAction()\"\n >\n {{ primaryActionText }}\n </button>\n </ng-template>\n </div>\n </section>\n</div>\n", styles: [":host{display:block}\n"] }]
|
|
3630
3674
|
}], propDecorators: { open: [{
|
|
3631
3675
|
type: Input
|
|
3632
3676
|
}], variant: [{
|
|
@@ -3672,20 +3716,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
3672
3716
|
args: ["document:keydown.escape"]
|
|
3673
3717
|
}] } });
|
|
3674
3718
|
|
|
3675
|
-
const COMPONENTS$
|
|
3719
|
+
const COMPONENTS$o = [
|
|
3676
3720
|
PdmDialogComponent,
|
|
3677
3721
|
];
|
|
3678
3722
|
class PdmDialogModule {
|
|
3679
3723
|
}
|
|
3680
3724
|
PdmDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3681
|
-
PdmDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, declarations: [PdmDialogComponent], imports: [CommonModule], exports: [PdmDialogComponent] });
|
|
3682
|
-
PdmDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, imports: [CommonModule] });
|
|
3725
|
+
PdmDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, declarations: [PdmDialogComponent], imports: [CommonModule, A11yModule], exports: [PdmDialogComponent] });
|
|
3726
|
+
PdmDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, imports: [CommonModule, A11yModule] });
|
|
3683
3727
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, decorators: [{
|
|
3684
3728
|
type: NgModule,
|
|
3685
3729
|
args: [{
|
|
3686
|
-
imports: [CommonModule],
|
|
3687
|
-
declarations: COMPONENTS$
|
|
3688
|
-
exports: COMPONENTS$
|
|
3730
|
+
imports: [CommonModule, A11yModule],
|
|
3731
|
+
declarations: COMPONENTS$o,
|
|
3732
|
+
exports: COMPONENTS$o
|
|
3689
3733
|
}]
|
|
3690
3734
|
}] });
|
|
3691
3735
|
|
|
@@ -4014,7 +4058,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4014
4058
|
args: ['document:keydown.escape']
|
|
4015
4059
|
}] } });
|
|
4016
4060
|
|
|
4017
|
-
const COMPONENTS$
|
|
4061
|
+
const COMPONENTS$n = [PdmDrawerComponent, PdmSheetComponent];
|
|
4018
4062
|
class PdmDrawerModule {
|
|
4019
4063
|
}
|
|
4020
4064
|
PdmDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -4024,8 +4068,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4024
4068
|
type: NgModule,
|
|
4025
4069
|
args: [{
|
|
4026
4070
|
imports: [CommonModule, PdmIconModule$1],
|
|
4027
|
-
declarations: COMPONENTS$
|
|
4028
|
-
exports: COMPONENTS$
|
|
4071
|
+
declarations: COMPONENTS$n,
|
|
4072
|
+
exports: COMPONENTS$n,
|
|
4029
4073
|
}]
|
|
4030
4074
|
}] });
|
|
4031
4075
|
|
|
@@ -4214,7 +4258,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4214
4258
|
args: ['document:keydown.escape']
|
|
4215
4259
|
}] } });
|
|
4216
4260
|
|
|
4217
|
-
const COMPONENTS$
|
|
4261
|
+
const COMPONENTS$m = [
|
|
4218
4262
|
PdmDropdownMenuComponent,
|
|
4219
4263
|
];
|
|
4220
4264
|
class PdmDropdownMenuModule {
|
|
@@ -4226,8 +4270,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4226
4270
|
type: NgModule,
|
|
4227
4271
|
args: [{
|
|
4228
4272
|
imports: [CommonModule, OverlayModule],
|
|
4229
|
-
declarations: COMPONENTS$
|
|
4230
|
-
exports: COMPONENTS$
|
|
4273
|
+
declarations: COMPONENTS$m,
|
|
4274
|
+
exports: COMPONENTS$m
|
|
4231
4275
|
}]
|
|
4232
4276
|
}] });
|
|
4233
4277
|
|
|
@@ -4256,7 +4300,7 @@ class PdmEmptyComponent {
|
|
|
4256
4300
|
}
|
|
4257
4301
|
}
|
|
4258
4302
|
PdmEmptyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmEmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4259
|
-
PdmEmptyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmEmptyComponent, selector: "pdm-empty", inputs: { variant: "variant", title: "title", description: "description", iconName: "iconName", primaryActionLabel: "primaryActionLabel", secondaryActionLabel: "secondaryActionLabel", linkLabel: "linkLabel", className: "className" }, outputs: { primaryAction: "primaryAction", secondaryAction: "secondaryAction", linkAction: "linkAction" }, ngImport: i0, template: "<section [ngClass]=\"['flex flex-col items-center justify-center gap-4 px-6 py-10 text-center text-foreground', containerClass, className]\">\n <div class=\"flex h-10 w-10 items-center justify-center rounded-lg bg-muted text-muted-foreground\">\n <pdm-icon [name]=\"iconName\" [size]=\"20\"></pdm-icon>\n </div>\n\n <div class=\"space-y-2\">\n <h3 class=\"m-0 text-2xl font-semibold leading-none tracking-tight\">{{ title }}</h3>\n <p class=\"m-0 mx-auto max-w-md text-sm leading-relaxed text-muted-foreground\">\n {{ description }}\n </p>\n </div>\n\n <div *ngIf=\"primaryActionLabel || secondaryActionLabel\" class=\"mt-1 flex flex-wrap items-center justify-center gap-3\">\n <pdm-button *ngIf=\"primaryActionLabel\" variant=\"default\" (pressed)=\"primaryAction.emit()\">{{ primaryActionLabel }}</pdm-button>\n <pdm-button *ngIf=\"secondaryActionLabel\" variant=\"outline\" (pressed)=\"secondaryAction.emit()\">{{ secondaryActionLabel }}</pdm-button>\n </div>\n\n <button\n *ngIf=\"linkLabel\"\n type=\"button\"\n class=\"mt-1 inline-flex appearance-none box-border items-center gap-2 border-0 bg-transparent p-0 text-sm font-medium text-muted-foreground underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n (click)=\"linkAction.emit()\"\n >\n <span>{{ linkLabel }}</span>\n <pdm-icon name=\"arrow-up-right\" [size]=\"16\"></pdm-icon>\n </button>\n\n <ng-content></ng-content>\n</section>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$
|
|
4303
|
+
PdmEmptyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmEmptyComponent, selector: "pdm-empty", inputs: { variant: "variant", title: "title", description: "description", iconName: "iconName", primaryActionLabel: "primaryActionLabel", secondaryActionLabel: "secondaryActionLabel", linkLabel: "linkLabel", className: "className" }, outputs: { primaryAction: "primaryAction", secondaryAction: "secondaryAction", linkAction: "linkAction" }, ngImport: i0, template: "<section [ngClass]=\"['flex flex-col items-center justify-center gap-4 px-6 py-10 text-center text-foreground', containerClass, className]\">\n <div class=\"flex h-10 w-10 items-center justify-center rounded-lg bg-muted text-muted-foreground\">\n <pdm-icon [name]=\"iconName\" [size]=\"20\"></pdm-icon>\n </div>\n\n <div class=\"space-y-2\">\n <h3 class=\"m-0 text-2xl font-semibold leading-none tracking-tight\">{{ title }}</h3>\n <p class=\"m-0 mx-auto max-w-md text-sm leading-relaxed text-muted-foreground\">\n {{ description }}\n </p>\n </div>\n\n <div *ngIf=\"primaryActionLabel || secondaryActionLabel\" class=\"mt-1 flex flex-wrap items-center justify-center gap-3\">\n <pdm-button *ngIf=\"primaryActionLabel\" variant=\"default\" (pressed)=\"primaryAction.emit()\">{{ primaryActionLabel }}</pdm-button>\n <pdm-button *ngIf=\"secondaryActionLabel\" variant=\"outline\" (pressed)=\"secondaryAction.emit()\">{{ secondaryActionLabel }}</pdm-button>\n </div>\n\n <button\n *ngIf=\"linkLabel\"\n type=\"button\"\n class=\"mt-1 inline-flex appearance-none box-border items-center gap-2 border-0 bg-transparent p-0 text-sm font-medium text-muted-foreground underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n (click)=\"linkAction.emit()\"\n >\n <span>{{ linkLabel }}</span>\n <pdm-icon name=\"arrow-up-right\" [size]=\"16\"></pdm-icon>\n </button>\n\n <ng-content></ng-content>\n</section>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$2.PdmButtonComponent, selector: "pdm-button", inputs: ["type", "variant", "state", "size", "disabled", "loading", "className"], outputs: ["pressed"] }, { kind: "component", type: i2.PdmIconComponent, selector: "pdm-icon", inputs: ["name", "library", "assetUrl", "size", "strokeWidth", "className", "ariaLabel", "decorative"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4260
4304
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmEmptyComponent, decorators: [{
|
|
4261
4305
|
type: Component,
|
|
4262
4306
|
args: [{ selector: 'pdm-empty', changeDetection: ChangeDetectionStrategy.OnPush, template: "<section [ngClass]=\"['flex flex-col items-center justify-center gap-4 px-6 py-10 text-center text-foreground', containerClass, className]\">\n <div class=\"flex h-10 w-10 items-center justify-center rounded-lg bg-muted text-muted-foreground\">\n <pdm-icon [name]=\"iconName\" [size]=\"20\"></pdm-icon>\n </div>\n\n <div class=\"space-y-2\">\n <h3 class=\"m-0 text-2xl font-semibold leading-none tracking-tight\">{{ title }}</h3>\n <p class=\"m-0 mx-auto max-w-md text-sm leading-relaxed text-muted-foreground\">\n {{ description }}\n </p>\n </div>\n\n <div *ngIf=\"primaryActionLabel || secondaryActionLabel\" class=\"mt-1 flex flex-wrap items-center justify-center gap-3\">\n <pdm-button *ngIf=\"primaryActionLabel\" variant=\"default\" (pressed)=\"primaryAction.emit()\">{{ primaryActionLabel }}</pdm-button>\n <pdm-button *ngIf=\"secondaryActionLabel\" variant=\"outline\" (pressed)=\"secondaryAction.emit()\">{{ secondaryActionLabel }}</pdm-button>\n </div>\n\n <button\n *ngIf=\"linkLabel\"\n type=\"button\"\n class=\"mt-1 inline-flex appearance-none box-border items-center gap-2 border-0 bg-transparent p-0 text-sm font-medium text-muted-foreground underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n (click)=\"linkAction.emit()\"\n >\n <span>{{ linkLabel }}</span>\n <pdm-icon name=\"arrow-up-right\" [size]=\"16\"></pdm-icon>\n </button>\n\n <ng-content></ng-content>\n</section>\n" }]
|
|
@@ -4284,7 +4328,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4284
4328
|
type: Output
|
|
4285
4329
|
}] } });
|
|
4286
4330
|
|
|
4287
|
-
const COMPONENTS$
|
|
4331
|
+
const COMPONENTS$l = [PdmEmptyComponent];
|
|
4288
4332
|
class PdmEmptyModule {
|
|
4289
4333
|
}
|
|
4290
4334
|
PdmEmptyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmEmptyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -4294,8 +4338,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4294
4338
|
type: NgModule,
|
|
4295
4339
|
args: [{
|
|
4296
4340
|
imports: [CommonModule, PdmButtonModule$1, PdmIconModule$1],
|
|
4297
|
-
declarations: COMPONENTS$
|
|
4298
|
-
exports: COMPONENTS$
|
|
4341
|
+
declarations: COMPONENTS$l,
|
|
4342
|
+
exports: COMPONENTS$l,
|
|
4299
4343
|
}]
|
|
4300
4344
|
}] });
|
|
4301
4345
|
|
|
@@ -4360,7 +4404,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4360
4404
|
type: Input
|
|
4361
4405
|
}] } });
|
|
4362
4406
|
|
|
4363
|
-
const COMPONENTS$
|
|
4407
|
+
const COMPONENTS$k = [
|
|
4364
4408
|
PdmFieldComponent,
|
|
4365
4409
|
];
|
|
4366
4410
|
class PdmFieldModule {
|
|
@@ -4372,8 +4416,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4372
4416
|
type: NgModule,
|
|
4373
4417
|
args: [{
|
|
4374
4418
|
imports: [CommonModule],
|
|
4375
|
-
declarations: COMPONENTS$
|
|
4376
|
-
exports: COMPONENTS$
|
|
4419
|
+
declarations: COMPONENTS$k,
|
|
4420
|
+
exports: COMPONENTS$k
|
|
4377
4421
|
}]
|
|
4378
4422
|
}] });
|
|
4379
4423
|
|
|
@@ -4576,7 +4620,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4576
4620
|
args: ["focusout"]
|
|
4577
4621
|
}] } });
|
|
4578
4622
|
|
|
4579
|
-
const COMPONENTS$
|
|
4623
|
+
const COMPONENTS$j = [
|
|
4580
4624
|
PdmHoverCardComponent,
|
|
4581
4625
|
];
|
|
4582
4626
|
class PdmHoverCardModule {
|
|
@@ -4588,8 +4632,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4588
4632
|
type: NgModule,
|
|
4589
4633
|
args: [{
|
|
4590
4634
|
imports: [CommonModule, OverlayModule],
|
|
4591
|
-
declarations: COMPONENTS$
|
|
4592
|
-
exports: COMPONENTS$
|
|
4635
|
+
declarations: COMPONENTS$j,
|
|
4636
|
+
exports: COMPONENTS$j
|
|
4593
4637
|
}]
|
|
4594
4638
|
}] });
|
|
4595
4639
|
|
|
@@ -4710,10 +4754,10 @@ class PdmIconComponent {
|
|
|
4710
4754
|
}
|
|
4711
4755
|
}
|
|
4712
4756
|
PdmIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmIconComponent, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
4713
|
-
PdmIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmIconComponent, selector: "pdm-icon", inputs: { name: "name", library: "library", assetUrl: "assetUrl", size: "size", strokeWidth: "strokeWidth", className: "className", ariaLabel: "ariaLabel", decorative: "decorative" }, ngImport: i0, template: "<ng-container *ngIf=\"assetUrl; else inlineIcon\">\n <img\n [src]=\"assetUrl\"\n [style.width.px]=\"resolvedSize\"\n [style.height.px]=\"resolvedSize\"\n [ngClass]=\"className\"\n [attr.role]=\"decorative ? null : 'img'\"\n [attr.aria-hidden]=\"decorative ? 'true' : null\"\n [attr.aria-label]=\"!decorative ? ariaLabel || name : null\"\n alt=\"\"\n />\n</ng-container>\n\n<ng-template #inlineIcon>\n <span\n [ngClass]=\"className\"\n [style.display]=\"'inline-flex'\"\n [style.align-items]=\"'center'\"\n [style.justify-content]=\"'center'\"\n [style.line-height]=\"0\"\n [style.width.px]=\"resolvedSize\"\n [style.height.px]=\"resolvedSize\"\n [attr.role]=\"decorative ? null : 'img'\"\n [attr.aria-hidden]=\"decorative ? 'true' : null\"\n [attr.aria-label]=\"!decorative ? ariaLabel || name : null\"\n [innerHTML]=\"svgMarkup\"\n ></span>\n</ng-template>\n", styles: [":host{display:inline-flex;align-items:center;justify-content:center;line-height:0;flex-shrink:0}:host svg{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4757
|
+
PdmIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmIconComponent, isStandalone: true, selector: "pdm-icon", inputs: { name: "name", library: "library", assetUrl: "assetUrl", size: "size", strokeWidth: "strokeWidth", className: "className", ariaLabel: "ariaLabel", decorative: "decorative" }, ngImport: i0, template: "<ng-container *ngIf=\"assetUrl; else inlineIcon\">\n <img\n [src]=\"assetUrl\"\n [style.width.px]=\"resolvedSize\"\n [style.height.px]=\"resolvedSize\"\n [ngClass]=\"className\"\n [attr.role]=\"decorative ? null : 'img'\"\n [attr.aria-hidden]=\"decorative ? 'true' : null\"\n [attr.aria-label]=\"!decorative ? ariaLabel || name : null\"\n alt=\"\"\n />\n</ng-container>\n\n<ng-template #inlineIcon>\n <span\n [ngClass]=\"className\"\n [style.display]=\"'inline-flex'\"\n [style.align-items]=\"'center'\"\n [style.justify-content]=\"'center'\"\n [style.line-height]=\"0\"\n [style.width.px]=\"resolvedSize\"\n [style.height.px]=\"resolvedSize\"\n [attr.role]=\"decorative ? null : 'img'\"\n [attr.aria-hidden]=\"decorative ? 'true' : null\"\n [attr.aria-label]=\"!decorative ? ariaLabel || name : null\"\n [innerHTML]=\"svgMarkup\"\n ></span>\n</ng-template>\n", styles: [":host{display:inline-flex;align-items:center;justify-content:center;line-height:0;flex-shrink:0}:host svg{display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4714
4758
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmIconComponent, decorators: [{
|
|
4715
4759
|
type: Component,
|
|
4716
|
-
args: [{ selector: 'pdm-icon', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"assetUrl; else inlineIcon\">\n <img\n [src]=\"assetUrl\"\n [style.width.px]=\"resolvedSize\"\n [style.height.px]=\"resolvedSize\"\n [ngClass]=\"className\"\n [attr.role]=\"decorative ? null : 'img'\"\n [attr.aria-hidden]=\"decorative ? 'true' : null\"\n [attr.aria-label]=\"!decorative ? ariaLabel || name : null\"\n alt=\"\"\n />\n</ng-container>\n\n<ng-template #inlineIcon>\n <span\n [ngClass]=\"className\"\n [style.display]=\"'inline-flex'\"\n [style.align-items]=\"'center'\"\n [style.justify-content]=\"'center'\"\n [style.line-height]=\"0\"\n [style.width.px]=\"resolvedSize\"\n [style.height.px]=\"resolvedSize\"\n [attr.role]=\"decorative ? null : 'img'\"\n [attr.aria-hidden]=\"decorative ? 'true' : null\"\n [attr.aria-label]=\"!decorative ? ariaLabel || name : null\"\n [innerHTML]=\"svgMarkup\"\n ></span>\n</ng-template>\n", styles: [":host{display:inline-flex;align-items:center;justify-content:center;line-height:0;flex-shrink:0}:host svg{display:block}\n"] }]
|
|
4760
|
+
args: [{ selector: 'pdm-icon', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<ng-container *ngIf=\"assetUrl; else inlineIcon\">\n <img\n [src]=\"assetUrl\"\n [style.width.px]=\"resolvedSize\"\n [style.height.px]=\"resolvedSize\"\n [ngClass]=\"className\"\n [attr.role]=\"decorative ? null : 'img'\"\n [attr.aria-hidden]=\"decorative ? 'true' : null\"\n [attr.aria-label]=\"!decorative ? ariaLabel || name : null\"\n alt=\"\"\n />\n</ng-container>\n\n<ng-template #inlineIcon>\n <span\n [ngClass]=\"className\"\n [style.display]=\"'inline-flex'\"\n [style.align-items]=\"'center'\"\n [style.justify-content]=\"'center'\"\n [style.line-height]=\"0\"\n [style.width.px]=\"resolvedSize\"\n [style.height.px]=\"resolvedSize\"\n [attr.role]=\"decorative ? null : 'img'\"\n [attr.aria-hidden]=\"decorative ? 'true' : null\"\n [attr.aria-label]=\"!decorative ? ariaLabel || name : null\"\n [innerHTML]=\"svgMarkup\"\n ></span>\n</ng-template>\n", styles: [":host{display:inline-flex;align-items:center;justify-content:center;line-height:0;flex-shrink:0}:host svg{display:block}\n"] }]
|
|
4717
4761
|
}], ctorParameters: function () { return [{ type: i1$2.DomSanitizer }]; }, propDecorators: { name: [{
|
|
4718
4762
|
type: Input
|
|
4719
4763
|
}], library: [{
|
|
@@ -4732,20 +4776,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4732
4776
|
type: Input
|
|
4733
4777
|
}] } });
|
|
4734
4778
|
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4779
|
+
/**
|
|
4780
|
+
* @deprecated Import PdmIconComponent directly instead. This module is kept for backwards compatibility.
|
|
4781
|
+
* For modern Angular (v14+), use: import { PdmIconComponent } from 'pdm-ui-kit/icon'
|
|
4782
|
+
*/
|
|
4738
4783
|
class PdmIconModule {
|
|
4739
4784
|
}
|
|
4740
4785
|
PdmIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4741
|
-
PdmIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule,
|
|
4742
|
-
PdmIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule, imports: [
|
|
4786
|
+
PdmIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule, imports: [PdmIconComponent], exports: [PdmIconComponent] });
|
|
4787
|
+
PdmIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule, imports: [PdmIconComponent] });
|
|
4743
4788
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule, decorators: [{
|
|
4744
4789
|
type: NgModule,
|
|
4745
4790
|
args: [{
|
|
4746
|
-
imports: [
|
|
4747
|
-
|
|
4748
|
-
exports: COMPONENTS$n
|
|
4791
|
+
imports: [PdmIconComponent],
|
|
4792
|
+
exports: [PdmIconComponent]
|
|
4749
4793
|
}]
|
|
4750
4794
|
}] });
|
|
4751
4795
|
|
|
@@ -4768,6 +4812,9 @@ class PdmInputComponent {
|
|
|
4768
4812
|
this.errorText = "";
|
|
4769
4813
|
this.valueChange = new EventEmitter();
|
|
4770
4814
|
this.blurred = new EventEmitter();
|
|
4815
|
+
if (this.required && this.disabled) {
|
|
4816
|
+
console.warn('PdmInputComponent: required + disabled is invalid — a required field cannot be disabled');
|
|
4817
|
+
}
|
|
4771
4818
|
}
|
|
4772
4819
|
onInput(event) {
|
|
4773
4820
|
this.valueChange.emit(event.target.value);
|
|
@@ -4775,13 +4822,22 @@ class PdmInputComponent {
|
|
|
4775
4822
|
onBlur(event) {
|
|
4776
4823
|
this.blurred.emit(event);
|
|
4777
4824
|
}
|
|
4825
|
+
get helperAttrId() {
|
|
4826
|
+
return this.id ? `${this.id}-helper` : null;
|
|
4827
|
+
}
|
|
4828
|
+
get errorAttrId() {
|
|
4829
|
+
return this.id ? `${this.id}-error` : null;
|
|
4830
|
+
}
|
|
4831
|
+
get descriptionAttrId() {
|
|
4832
|
+
return this.invalid && this.errorText ? this.errorAttrId : this.helperAttrId;
|
|
4833
|
+
}
|
|
4778
4834
|
}
|
|
4779
4835
|
PdmInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4780
|
-
PdmInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmInputComponent, selector: "pdm-input", inputs: { id: "id", type: "type", value: "value", placeholder: "placeholder", disabled: "disabled", readonly: "readonly", required: "required", invalid: "invalid", size: "size", roundness: "roundness", className: "className", inputClassName: "inputClassName", label: "label", helperText: "helperText", errorText: "errorText" }, outputs: { valueChange: "valueChange", blurred: "blurred" }, ngImport: i0, template: "<div [ngClass]=\"['grid w-full gap-3', className]\">\n <label\n *ngIf=\"label\"\n [attr.for]=\"id\"\n [ngClass]=\"[\n 'text-sm font-medium leading-none',\n invalid ? 'text-destructive' : 'text-foreground',\n ]\"\n >{{ label }}</label\n >\n <input\n [id]=\"id\"\n [type]=\"type\"\n [value]=\"value\"\n [placeholder]=\"placeholder\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [attr.aria-invalid]=\"invalid\"\n [ngClass]=\"[\n 'border-input focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/50 aria-invalid:ring-2 aria-invalid:ring-destructive aria-invalid:border-destructive aria-invalid:placeholder:text-destructive/70 placeholder:text-muted-foreground w-full min-w-0 appearance-none box-border rounded-lg border border-solid bg-transparent px-3 py-1 text-sm shadow-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50',\n size === 'large' ? 'h-10 px-4 text-sm' : '',\n size === 'regular' ? 'h-9 px-3 text-sm' : '',\n size === 'small' ? 'h-8 px-2 text-sm' : '',\n size === 'mini' ? 'h-6 px-1.5 text-xs' : '',\n roundness === 'round' ? 'rounded-full' : 'rounded-lg',\n type === 'file' ? 'text-sm' : 'text-foreground',\n inputClassName,\n ]\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur($event)\"\n />\n <p *ngIf=\"!invalid && helperText\" class=\"m-0 text-sm text-muted-foreground\">\n {{ helperText }}\n </p>\n <p *ngIf=\"invalid && errorText\" class=\"m-0 text-sm text-destructive\">\n {{ errorText }}\n </p>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4836
|
+
PdmInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmInputComponent, selector: "pdm-input", inputs: { id: "id", type: "type", value: "value", placeholder: "placeholder", disabled: "disabled", readonly: "readonly", required: "required", invalid: "invalid", size: "size", roundness: "roundness", className: "className", inputClassName: "inputClassName", label: "label", helperText: "helperText", errorText: "errorText" }, outputs: { valueChange: "valueChange", blurred: "blurred" }, ngImport: i0, template: "<div [ngClass]=\"['grid w-full gap-3', className]\">\n <label\n *ngIf=\"label\"\n [attr.for]=\"id\"\n [ngClass]=\"[\n 'text-sm font-medium leading-none',\n invalid ? 'text-destructive' : 'text-foreground',\n ]\"\n >{{ label }}</label\n >\n <input\n [id]=\"id\"\n [type]=\"type\"\n [value]=\"value\"\n [placeholder]=\"placeholder\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [attr.aria-invalid]=\"invalid\"\n [attr.aria-describedby]=\"descriptionAttrId\"\n [ngClass]=\"[\n 'border-input focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/50 aria-invalid:ring-2 aria-invalid:ring-destructive aria-invalid:border-destructive aria-invalid:placeholder:text-destructive/70 placeholder:text-muted-foreground w-full min-w-0 appearance-none box-border rounded-lg border border-solid bg-transparent px-3 py-1 text-sm shadow-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50',\n size === 'large' ? 'h-10 px-4 text-sm' : '',\n size === 'regular' ? 'h-9 px-3 text-sm' : '',\n size === 'small' ? 'h-8 px-2 text-sm' : '',\n size === 'mini' ? 'h-6 px-1.5 text-xs' : '',\n roundness === 'round' ? 'rounded-full' : 'rounded-lg',\n type === 'file' ? 'text-sm' : 'text-foreground',\n inputClassName,\n ]\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur($event)\"\n />\n <p *ngIf=\"!invalid && helperText\" [id]=\"helperAttrId\" class=\"m-0 text-sm text-muted-foreground\">\n {{ helperText }}\n </p>\n <p *ngIf=\"invalid && errorText\" [id]=\"errorAttrId\" class=\"m-0 text-sm text-destructive\">\n {{ errorText }}\n </p>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4781
4837
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmInputComponent, decorators: [{
|
|
4782
4838
|
type: Component,
|
|
4783
|
-
args: [{ selector: "pdm-input", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"['grid w-full gap-3', className]\">\n <label\n *ngIf=\"label\"\n [attr.for]=\"id\"\n [ngClass]=\"[\n 'text-sm font-medium leading-none',\n invalid ? 'text-destructive' : 'text-foreground',\n ]\"\n >{{ label }}</label\n >\n <input\n [id]=\"id\"\n [type]=\"type\"\n [value]=\"value\"\n [placeholder]=\"placeholder\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [attr.aria-invalid]=\"invalid\"\n [ngClass]=\"[\n 'border-input focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/50 aria-invalid:ring-2 aria-invalid:ring-destructive aria-invalid:border-destructive aria-invalid:placeholder:text-destructive/70 placeholder:text-muted-foreground w-full min-w-0 appearance-none box-border rounded-lg border border-solid bg-transparent px-3 py-1 text-sm shadow-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50',\n size === 'large' ? 'h-10 px-4 text-sm' : '',\n size === 'regular' ? 'h-9 px-3 text-sm' : '',\n size === 'small' ? 'h-8 px-2 text-sm' : '',\n size === 'mini' ? 'h-6 px-1.5 text-xs' : '',\n roundness === 'round' ? 'rounded-full' : 'rounded-lg',\n type === 'file' ? 'text-sm' : 'text-foreground',\n inputClassName,\n ]\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur($event)\"\n />\n <p *ngIf=\"!invalid && helperText\" class=\"m-0 text-sm text-muted-foreground\">\n {{ helperText }}\n </p>\n <p *ngIf=\"invalid && errorText\" class=\"m-0 text-sm text-destructive\">\n {{ errorText }}\n </p>\n</div>\n", styles: [":host{display:block}\n"] }]
|
|
4784
|
-
}], propDecorators: { id: [{
|
|
4839
|
+
args: [{ selector: "pdm-input", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"['grid w-full gap-3', className]\">\n <label\n *ngIf=\"label\"\n [attr.for]=\"id\"\n [ngClass]=\"[\n 'text-sm font-medium leading-none',\n invalid ? 'text-destructive' : 'text-foreground',\n ]\"\n >{{ label }}</label\n >\n <input\n [id]=\"id\"\n [type]=\"type\"\n [value]=\"value\"\n [placeholder]=\"placeholder\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [attr.aria-invalid]=\"invalid\"\n [attr.aria-describedby]=\"descriptionAttrId\"\n [ngClass]=\"[\n 'border-input focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/50 aria-invalid:ring-2 aria-invalid:ring-destructive aria-invalid:border-destructive aria-invalid:placeholder:text-destructive/70 placeholder:text-muted-foreground w-full min-w-0 appearance-none box-border rounded-lg border border-solid bg-transparent px-3 py-1 text-sm shadow-sm transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50',\n size === 'large' ? 'h-10 px-4 text-sm' : '',\n size === 'regular' ? 'h-9 px-3 text-sm' : '',\n size === 'small' ? 'h-8 px-2 text-sm' : '',\n size === 'mini' ? 'h-6 px-1.5 text-xs' : '',\n roundness === 'round' ? 'rounded-full' : 'rounded-lg',\n type === 'file' ? 'text-sm' : 'text-foreground',\n inputClassName,\n ]\"\n (input)=\"onInput($event)\"\n (blur)=\"onBlur($event)\"\n />\n <p *ngIf=\"!invalid && helperText\" [id]=\"helperAttrId\" class=\"m-0 text-sm text-muted-foreground\">\n {{ helperText }}\n </p>\n <p *ngIf=\"invalid && errorText\" [id]=\"errorAttrId\" class=\"m-0 text-sm text-destructive\">\n {{ errorText }}\n </p>\n</div>\n", styles: [":host{display:block}\n"] }]
|
|
4840
|
+
}], ctorParameters: function () { return []; }, propDecorators: { id: [{
|
|
4785
4841
|
type: Input
|
|
4786
4842
|
}], type: [{
|
|
4787
4843
|
type: Input
|
|
@@ -5148,7 +5204,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5148
5204
|
type: Output
|
|
5149
5205
|
}] } });
|
|
5150
5206
|
|
|
5151
|
-
const COMPONENTS$
|
|
5207
|
+
const COMPONENTS$i = [
|
|
5152
5208
|
PdmInputComponent,
|
|
5153
5209
|
PdmInputGroupComponent,
|
|
5154
5210
|
PdmInputOtpComponent,
|
|
@@ -5172,8 +5228,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5172
5228
|
type: NgModule,
|
|
5173
5229
|
args: [{
|
|
5174
5230
|
imports: [CommonModule, PdmIconModule$1],
|
|
5175
|
-
declarations: COMPONENTS$
|
|
5176
|
-
exports: COMPONENTS$
|
|
5231
|
+
declarations: COMPONENTS$i,
|
|
5232
|
+
exports: COMPONENTS$i,
|
|
5177
5233
|
}]
|
|
5178
5234
|
}] });
|
|
5179
5235
|
|
|
@@ -5197,7 +5253,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5197
5253
|
type: Input
|
|
5198
5254
|
}] } });
|
|
5199
5255
|
|
|
5200
|
-
const COMPONENTS$
|
|
5256
|
+
const COMPONENTS$h = [
|
|
5201
5257
|
PdmItemComponent,
|
|
5202
5258
|
];
|
|
5203
5259
|
class PdmItemModule {
|
|
@@ -5209,8 +5265,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5209
5265
|
type: NgModule,
|
|
5210
5266
|
args: [{
|
|
5211
5267
|
imports: [CommonModule],
|
|
5212
|
-
declarations: COMPONENTS$
|
|
5213
|
-
exports: COMPONENTS$
|
|
5268
|
+
declarations: COMPONENTS$h,
|
|
5269
|
+
exports: COMPONENTS$h
|
|
5214
5270
|
}]
|
|
5215
5271
|
}] });
|
|
5216
5272
|
|
|
@@ -5220,28 +5276,28 @@ class PdmKbdComponent {
|
|
|
5220
5276
|
}
|
|
5221
5277
|
}
|
|
5222
5278
|
PdmKbdComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5223
|
-
PdmKbdComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmKbdComponent, selector: "pdm-kbd", inputs: { className: "className" }, ngImport: i0, template: "<kbd [ngClass]=\"['inline-flex h-6 min-w-6 items-center justify-center rounded-md border border-solid border-border bg-muted px-1.5 font-mono text-xs font-medium text-muted-foreground', className]\">\n <ng-content></ng-content>\n</kbd>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5279
|
+
PdmKbdComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmKbdComponent, isStandalone: true, selector: "pdm-kbd", inputs: { className: "className" }, ngImport: i0, template: "<kbd [ngClass]=\"['inline-flex h-6 min-w-6 items-center justify-center rounded-md border border-solid border-border bg-muted px-1.5 font-mono text-xs font-medium text-muted-foreground', className]\">\n <ng-content></ng-content>\n</kbd>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5224
5280
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdComponent, decorators: [{
|
|
5225
5281
|
type: Component,
|
|
5226
|
-
args: [{ selector: 'pdm-kbd', changeDetection: ChangeDetectionStrategy.OnPush, template: "<kbd [ngClass]=\"['inline-flex h-6 min-w-6 items-center justify-center rounded-md border border-solid border-border bg-muted px-1.5 font-mono text-xs font-medium text-muted-foreground', className]\">\n <ng-content></ng-content>\n</kbd>\n" }]
|
|
5282
|
+
args: [{ selector: 'pdm-kbd', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<kbd [ngClass]=\"['inline-flex h-6 min-w-6 items-center justify-center rounded-md border border-solid border-border bg-muted px-1.5 font-mono text-xs font-medium text-muted-foreground', className]\">\n <ng-content></ng-content>\n</kbd>\n" }]
|
|
5227
5283
|
}], propDecorators: { className: [{
|
|
5228
5284
|
type: Input
|
|
5229
5285
|
}] } });
|
|
5230
5286
|
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5287
|
+
/**
|
|
5288
|
+
* @deprecated Import PdmKbdComponent directly instead. This module is kept for backwards compatibility.
|
|
5289
|
+
* For modern Angular (v14+), use: import { PdmKbdComponent } from 'pdm-ui-kit/kbd'
|
|
5290
|
+
*/
|
|
5234
5291
|
class PdmKbdModule {
|
|
5235
5292
|
}
|
|
5236
5293
|
PdmKbdModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5237
|
-
PdmKbdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule,
|
|
5238
|
-
PdmKbdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule, imports: [
|
|
5294
|
+
PdmKbdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule, imports: [PdmKbdComponent], exports: [PdmKbdComponent] });
|
|
5295
|
+
PdmKbdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule, imports: [PdmKbdComponent] });
|
|
5239
5296
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule, decorators: [{
|
|
5240
5297
|
type: NgModule,
|
|
5241
5298
|
args: [{
|
|
5242
|
-
imports: [
|
|
5243
|
-
|
|
5244
|
-
exports: COMPONENTS$k
|
|
5299
|
+
imports: [PdmKbdComponent],
|
|
5300
|
+
exports: [PdmKbdComponent]
|
|
5245
5301
|
}]
|
|
5246
5302
|
}] });
|
|
5247
5303
|
|
|
@@ -5265,7 +5321,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5265
5321
|
type: Input
|
|
5266
5322
|
}] } });
|
|
5267
5323
|
|
|
5268
|
-
const COMPONENTS$
|
|
5324
|
+
const COMPONENTS$g = [
|
|
5269
5325
|
PdmLabelComponent,
|
|
5270
5326
|
];
|
|
5271
5327
|
class PdmLabelModule {
|
|
@@ -5277,8 +5333,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5277
5333
|
type: NgModule,
|
|
5278
5334
|
args: [{
|
|
5279
5335
|
imports: [CommonModule],
|
|
5280
|
-
declarations: COMPONENTS$
|
|
5281
|
-
exports: COMPONENTS$
|
|
5336
|
+
declarations: COMPONENTS$g,
|
|
5337
|
+
exports: COMPONENTS$g
|
|
5282
5338
|
}]
|
|
5283
5339
|
}] });
|
|
5284
5340
|
|
|
@@ -5420,7 +5476,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5420
5476
|
args: ["document:keydown.escape"]
|
|
5421
5477
|
}] } });
|
|
5422
5478
|
|
|
5423
|
-
const COMPONENTS$
|
|
5479
|
+
const COMPONENTS$f = [
|
|
5424
5480
|
PdmMenubarComponent,
|
|
5425
5481
|
];
|
|
5426
5482
|
class PdmMenubarModule {
|
|
@@ -5432,8 +5488,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5432
5488
|
type: NgModule,
|
|
5433
5489
|
args: [{
|
|
5434
5490
|
imports: [CommonModule, OverlayModule],
|
|
5435
|
-
declarations: COMPONENTS$
|
|
5436
|
-
exports: COMPONENTS$
|
|
5491
|
+
declarations: COMPONENTS$f,
|
|
5492
|
+
exports: COMPONENTS$f
|
|
5437
5493
|
}]
|
|
5438
5494
|
}] });
|
|
5439
5495
|
|
|
@@ -5475,7 +5531,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5475
5531
|
type: Output
|
|
5476
5532
|
}] } });
|
|
5477
5533
|
|
|
5478
|
-
const COMPONENTS$
|
|
5534
|
+
const COMPONENTS$e = [PdmNativeSelectComponent];
|
|
5479
5535
|
class PdmNativeSelectModule {
|
|
5480
5536
|
}
|
|
5481
5537
|
PdmNativeSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmNativeSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -5485,8 +5541,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5485
5541
|
type: NgModule,
|
|
5486
5542
|
args: [{
|
|
5487
5543
|
imports: [CommonModule, PdmIconModule$1],
|
|
5488
|
-
declarations: COMPONENTS$
|
|
5489
|
-
exports: COMPONENTS$
|
|
5544
|
+
declarations: COMPONENTS$e,
|
|
5545
|
+
exports: COMPONENTS$e,
|
|
5490
5546
|
}]
|
|
5491
5547
|
}] });
|
|
5492
5548
|
|
|
@@ -5529,7 +5585,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5529
5585
|
type: Input
|
|
5530
5586
|
}] } });
|
|
5531
5587
|
|
|
5532
|
-
const COMPONENTS$
|
|
5588
|
+
const COMPONENTS$d = [
|
|
5533
5589
|
PdmNavigationMenuComponent,
|
|
5534
5590
|
];
|
|
5535
5591
|
class PdmNavigationMenuModule {
|
|
@@ -5541,8 +5597,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5541
5597
|
type: NgModule,
|
|
5542
5598
|
args: [{
|
|
5543
5599
|
imports: [CommonModule],
|
|
5544
|
-
declarations: COMPONENTS$
|
|
5545
|
-
exports: COMPONENTS$
|
|
5600
|
+
declarations: COMPONENTS$d,
|
|
5601
|
+
exports: COMPONENTS$d
|
|
5546
5602
|
}]
|
|
5547
5603
|
}] });
|
|
5548
5604
|
|
|
@@ -5569,10 +5625,40 @@ class PdmPaginationComponent {
|
|
|
5569
5625
|
}
|
|
5570
5626
|
get visiblePages() {
|
|
5571
5627
|
const total = Math.max(1, this.pageCount);
|
|
5572
|
-
|
|
5628
|
+
const current = Math.min(Math.max(1, this.page), total);
|
|
5629
|
+
const maxNumericPages = Math.max(3, Math.floor(this.maxVisible));
|
|
5630
|
+
if (total <= maxNumericPages) {
|
|
5573
5631
|
return Array.from({ length: total }, (_, i) => i + 1);
|
|
5574
5632
|
}
|
|
5575
|
-
|
|
5633
|
+
const middleSlots = maxNumericPages - 2;
|
|
5634
|
+
let start = current - Math.floor((middleSlots - 1) / 2);
|
|
5635
|
+
let end = start + middleSlots - 1;
|
|
5636
|
+
if (start < 2) {
|
|
5637
|
+
start = 2;
|
|
5638
|
+
end = start + middleSlots - 1;
|
|
5639
|
+
}
|
|
5640
|
+
if (end > total - 1) {
|
|
5641
|
+
end = total - 1;
|
|
5642
|
+
start = end - middleSlots + 1;
|
|
5643
|
+
}
|
|
5644
|
+
const pages = [1];
|
|
5645
|
+
for (let pageNumber = start; pageNumber <= end; pageNumber += 1) {
|
|
5646
|
+
pages.push(pageNumber);
|
|
5647
|
+
}
|
|
5648
|
+
pages.push(total);
|
|
5649
|
+
return pages.reduce((result, pageNumber) => {
|
|
5650
|
+
const previous = result[result.length - 1];
|
|
5651
|
+
if (typeof previous === 'number') {
|
|
5652
|
+
if (pageNumber - previous === 2) {
|
|
5653
|
+
result.push(previous + 1);
|
|
5654
|
+
}
|
|
5655
|
+
else if (pageNumber - previous > 2) {
|
|
5656
|
+
result.push('ellipsis');
|
|
5657
|
+
}
|
|
5658
|
+
}
|
|
5659
|
+
result.push(pageNumber);
|
|
5660
|
+
return result;
|
|
5661
|
+
}, []);
|
|
5576
5662
|
}
|
|
5577
5663
|
setPage(next) {
|
|
5578
5664
|
if (next < 1 || next > this.pageCount || next === this.page) {
|
|
@@ -5589,10 +5675,10 @@ class PdmPaginationComponent {
|
|
|
5589
5675
|
}
|
|
5590
5676
|
}
|
|
5591
5677
|
PdmPaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5592
|
-
PdmPaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmPaginationComponent, selector: "pdm-pagination", inputs: { page: "page", pageCount: "pageCount", maxVisible: "maxVisible", className: "className", rowsPerPageLabel: "rowsPerPageLabel", rowsPerPage: "rowsPerPage", rowsPerPageOptions: "rowsPerPageOptions" }, outputs: { pageChange: "pageChange", rowsPerPageChange: "rowsPerPageChange" }, ngImport: i0, template: "<nav\n aria-label=\"Pagination\"\n [ngClass]=\"[\n 'mx-auto flex w-full flex-wrap items-center justify-center gap-4',\n className,\n ]\"\n>\n <div class=\"flex items-center gap-3\" *ngIf=\"rowsPerPageOptions.length > 0\">\n <span class=\"text-sm font-medium text-foreground\">{{\n rowsPerPageLabel\n }}</span>\n <pdm-select\n [value]=\"rowsPerPageValue\"\n [options]=\"rowsPerPageSelectOptions\"\n [placeholder]=\"rowsPerPageValue\"\n className=\"w-[100px] sm:w-[120px]\"\n (valueChange)=\"onRowsPerPageChangeValue($event)\"\n ></pdm-select>\n </div>\n\n <ul class=\"m-0 flex list-none items-center gap-1 p-0\">\n <li>\n <button\n type=\"button\"\n class=\"inline-flex h-9 appearance-none box-border items-center justify-center gap-1 rounded-md border-0 bg-transparent px-2 text-sm text-foreground hover:bg-accent disabled:opacity-50 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n [disabled]=\"page <= 1\"\n (click)=\"setPage(page - 1)\"\n >\n <pdm-icon name=\"chevron-left\" [size]=\"14\"></pdm-icon>\n Previous\n </button>\n </li>\n <li *ngFor=\"let pageNumber of visiblePages\">\n <ng-container *ngIf=\"pageNumber === 'ellipsis'; else pageButton\">\n <span\n class=\"inline-flex h-9 min-w-9 items-center justify-center px-2 text-sm text-muted-foreground\"\n >...</span\n >\n </ng-container>\n <ng-template #pageButton>\n <button\n type=\"button\"\n [ngClass]=\"[\n 'inline-flex h-9 min-w-9 items-center justify-center rounded-md px-2 text-sm ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n pageNumber === page\n ? 'appearance-none box-border border border-solid border-border bg-muted text-foreground shadow-sm'\n : 'appearance-none box-border border-0 bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground',\n ]\"\n (click)=\"setPage(+pageNumber)\"\n >\n {{ pageNumber }}\n </button>\n </ng-template>\n </li>\n <li>\n <button\n type=\"button\"\n class=\"inline-flex h-9 appearance-none box-border items-center justify-center gap-1 rounded-md border-0 bg-transparent px-2 text-sm text-foreground hover:bg-accent disabled:opacity-50 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n [disabled]=\"page >= pageCount\"\n (click)=\"setPage(page + 1)\"\n >\n Next\n <pdm-icon name=\"chevron-right\" [size]=\"14\"></pdm-icon>\n </button>\n </li>\n </ul>\n</nav>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.PdmIconComponent, selector: "pdm-icon", inputs: ["name", "library", "assetUrl", "size", "strokeWidth", "className", "ariaLabel", "decorative"] }, { kind: "component", type: i3$1.PdmSelectComponent, selector: "pdm-select", inputs: ["id", "value", "options", "disabled", "invalid", "className", "placeholder", "overlayOptions"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5678
|
+
PdmPaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmPaginationComponent, selector: "pdm-pagination", inputs: { page: "page", pageCount: "pageCount", maxVisible: "maxVisible", className: "className", rowsPerPageLabel: "rowsPerPageLabel", rowsPerPage: "rowsPerPage", rowsPerPageOptions: "rowsPerPageOptions" }, outputs: { pageChange: "pageChange", rowsPerPageChange: "rowsPerPageChange" }, ngImport: i0, template: "<nav\n aria-label=\"Pagination\"\n [ngClass]=\"[\n 'mx-auto flex w-full flex-wrap items-center justify-center gap-4',\n className,\n ]\"\n>\n <div class=\"flex items-center gap-3\" *ngIf=\"rowsPerPageOptions.length > 0\">\n <span class=\"text-sm font-medium text-foreground\">{{\n rowsPerPageLabel\n }}</span>\n <pdm-select\n [value]=\"rowsPerPageValue\"\n [options]=\"rowsPerPageSelectOptions\"\n [placeholder]=\"rowsPerPageValue\"\n className=\"w-[100px] sm:w-[120px]\"\n (valueChange)=\"onRowsPerPageChangeValue($event)\"\n ></pdm-select>\n </div>\n\n <ul class=\"m-0 flex list-none items-center gap-1 p-0\">\n <li>\n <button\n type=\"button\"\n class=\"inline-flex h-9 appearance-none box-border items-center justify-center gap-1 rounded-md border-0 bg-transparent px-2 text-sm text-foreground hover:bg-accent disabled:opacity-50 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n [disabled]=\"page <= 1\"\n [attr.aria-label]=\"'Go to previous page'\"\n (click)=\"setPage(page - 1)\"\n >\n <pdm-icon name=\"chevron-left\" [size]=\"14\"></pdm-icon>\n Previous\n </button>\n </li>\n <li *ngFor=\"let pageNumber of visiblePages\">\n <ng-container *ngIf=\"pageNumber === 'ellipsis'; else pageButton\">\n <span\n class=\"inline-flex h-9 min-w-9 items-center justify-center px-2 text-sm text-muted-foreground\"\n >...</span\n >\n </ng-container>\n <ng-template #pageButton>\n <button\n type=\"button\"\n [ngClass]=\"[\n 'inline-flex h-9 min-w-9 items-center justify-center rounded-md px-2 text-sm ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n pageNumber === page\n ? 'appearance-none box-border border border-solid border-border bg-muted text-foreground shadow-sm'\n : 'appearance-none box-border border-0 bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground',\n ]\"\n [attr.aria-label]=\"'Go to page ' + pageNumber\"\n [attr.aria-current]=\"pageNumber === page ? 'page' : null\"\n (click)=\"setPage(+pageNumber)\"\n >\n {{ pageNumber }}\n </button>\n </ng-template>\n </li>\n <li>\n <button\n type=\"button\"\n class=\"inline-flex h-9 appearance-none box-border items-center justify-center gap-1 rounded-md border-0 bg-transparent px-2 text-sm text-foreground hover:bg-accent disabled:opacity-50 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n [disabled]=\"page >= pageCount\"\n [attr.aria-label]=\"'Go to next page'\"\n (click)=\"setPage(page + 1)\"\n >\n Next\n <pdm-icon name=\"chevron-right\" [size]=\"14\"></pdm-icon>\n </button>\n </li>\n </ul>\n</nav>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.PdmIconComponent, selector: "pdm-icon", inputs: ["name", "library", "assetUrl", "size", "strokeWidth", "className", "ariaLabel", "decorative"] }, { kind: "component", type: i3$1.PdmSelectComponent, selector: "pdm-select", inputs: ["id", "value", "options", "disabled", "invalid", "className", "placeholder", "overlayOptions"], outputs: ["valueChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5593
5679
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmPaginationComponent, decorators: [{
|
|
5594
5680
|
type: Component,
|
|
5595
|
-
args: [{ selector: 'pdm-pagination', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav\n aria-label=\"Pagination\"\n [ngClass]=\"[\n 'mx-auto flex w-full flex-wrap items-center justify-center gap-4',\n className,\n ]\"\n>\n <div class=\"flex items-center gap-3\" *ngIf=\"rowsPerPageOptions.length > 0\">\n <span class=\"text-sm font-medium text-foreground\">{{\n rowsPerPageLabel\n }}</span>\n <pdm-select\n [value]=\"rowsPerPageValue\"\n [options]=\"rowsPerPageSelectOptions\"\n [placeholder]=\"rowsPerPageValue\"\n className=\"w-[100px] sm:w-[120px]\"\n (valueChange)=\"onRowsPerPageChangeValue($event)\"\n ></pdm-select>\n </div>\n\n <ul class=\"m-0 flex list-none items-center gap-1 p-0\">\n <li>\n <button\n type=\"button\"\n class=\"inline-flex h-9 appearance-none box-border items-center justify-center gap-1 rounded-md border-0 bg-transparent px-2 text-sm text-foreground hover:bg-accent disabled:opacity-50 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n [disabled]=\"page <= 1\"\n (click)=\"setPage(page - 1)\"\n >\n <pdm-icon name=\"chevron-left\" [size]=\"14\"></pdm-icon>\n Previous\n </button>\n </li>\n <li *ngFor=\"let pageNumber of visiblePages\">\n <ng-container *ngIf=\"pageNumber === 'ellipsis'; else pageButton\">\n <span\n class=\"inline-flex h-9 min-w-9 items-center justify-center px-2 text-sm text-muted-foreground\"\n >...</span\n >\n </ng-container>\n <ng-template #pageButton>\n <button\n type=\"button\"\n [ngClass]=\"[\n 'inline-flex h-9 min-w-9 items-center justify-center rounded-md px-2 text-sm ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n pageNumber === page\n ? 'appearance-none box-border border border-solid border-border bg-muted text-foreground shadow-sm'\n : 'appearance-none box-border border-0 bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground',\n ]\"\n (click)=\"setPage(+pageNumber)\"\n >\n {{ pageNumber }}\n </button>\n </ng-template>\n </li>\n <li>\n <button\n type=\"button\"\n class=\"inline-flex h-9 appearance-none box-border items-center justify-center gap-1 rounded-md border-0 bg-transparent px-2 text-sm text-foreground hover:bg-accent disabled:opacity-50 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n [disabled]=\"page >= pageCount\"\n (click)=\"setPage(page + 1)\"\n >\n Next\n <pdm-icon name=\"chevron-right\" [size]=\"14\"></pdm-icon>\n </button>\n </li>\n </ul>\n</nav>\n" }]
|
|
5681
|
+
args: [{ selector: 'pdm-pagination', changeDetection: ChangeDetectionStrategy.OnPush, template: "<nav\n aria-label=\"Pagination\"\n [ngClass]=\"[\n 'mx-auto flex w-full flex-wrap items-center justify-center gap-4',\n className,\n ]\"\n>\n <div class=\"flex items-center gap-3\" *ngIf=\"rowsPerPageOptions.length > 0\">\n <span class=\"text-sm font-medium text-foreground\">{{\n rowsPerPageLabel\n }}</span>\n <pdm-select\n [value]=\"rowsPerPageValue\"\n [options]=\"rowsPerPageSelectOptions\"\n [placeholder]=\"rowsPerPageValue\"\n className=\"w-[100px] sm:w-[120px]\"\n (valueChange)=\"onRowsPerPageChangeValue($event)\"\n ></pdm-select>\n </div>\n\n <ul class=\"m-0 flex list-none items-center gap-1 p-0\">\n <li>\n <button\n type=\"button\"\n class=\"inline-flex h-9 appearance-none box-border items-center justify-center gap-1 rounded-md border-0 bg-transparent px-2 text-sm text-foreground hover:bg-accent disabled:opacity-50 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n [disabled]=\"page <= 1\"\n [attr.aria-label]=\"'Go to previous page'\"\n (click)=\"setPage(page - 1)\"\n >\n <pdm-icon name=\"chevron-left\" [size]=\"14\"></pdm-icon>\n Previous\n </button>\n </li>\n <li *ngFor=\"let pageNumber of visiblePages\">\n <ng-container *ngIf=\"pageNumber === 'ellipsis'; else pageButton\">\n <span\n class=\"inline-flex h-9 min-w-9 items-center justify-center px-2 text-sm text-muted-foreground\"\n >...</span\n >\n </ng-container>\n <ng-template #pageButton>\n <button\n type=\"button\"\n [ngClass]=\"[\n 'inline-flex h-9 min-w-9 items-center justify-center rounded-md px-2 text-sm ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2',\n pageNumber === page\n ? 'appearance-none box-border border border-solid border-border bg-muted text-foreground shadow-sm'\n : 'appearance-none box-border border-0 bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground',\n ]\"\n [attr.aria-label]=\"'Go to page ' + pageNumber\"\n [attr.aria-current]=\"pageNumber === page ? 'page' : null\"\n (click)=\"setPage(+pageNumber)\"\n >\n {{ pageNumber }}\n </button>\n </ng-template>\n </li>\n <li>\n <button\n type=\"button\"\n class=\"inline-flex h-9 appearance-none box-border items-center justify-center gap-1 rounded-md border-0 bg-transparent px-2 text-sm text-foreground hover:bg-accent disabled:opacity-50 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\"\n [disabled]=\"page >= pageCount\"\n [attr.aria-label]=\"'Go to next page'\"\n (click)=\"setPage(page + 1)\"\n >\n Next\n <pdm-icon name=\"chevron-right\" [size]=\"14\"></pdm-icon>\n </button>\n </li>\n </ul>\n</nav>\n" }]
|
|
5596
5682
|
}], propDecorators: { page: [{
|
|
5597
5683
|
type: Input
|
|
5598
5684
|
}], pageCount: [{
|
|
@@ -5613,7 +5699,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5613
5699
|
type: Output
|
|
5614
5700
|
}] } });
|
|
5615
5701
|
|
|
5616
|
-
const COMPONENTS$
|
|
5702
|
+
const COMPONENTS$c = [PdmPaginationComponent];
|
|
5617
5703
|
class PdmPaginationModule {
|
|
5618
5704
|
}
|
|
5619
5705
|
PdmPaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -5623,8 +5709,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5623
5709
|
type: NgModule,
|
|
5624
5710
|
args: [{
|
|
5625
5711
|
imports: [CommonModule, PdmIconModule$1, PdmSelectModule$1],
|
|
5626
|
-
declarations: COMPONENTS$
|
|
5627
|
-
exports: COMPONENTS$
|
|
5712
|
+
declarations: COMPONENTS$c,
|
|
5713
|
+
exports: COMPONENTS$c,
|
|
5628
5714
|
}]
|
|
5629
5715
|
}] });
|
|
5630
5716
|
|
|
@@ -5784,7 +5870,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5784
5870
|
args: ["document:keydown.escape"]
|
|
5785
5871
|
}] } });
|
|
5786
5872
|
|
|
5787
|
-
const COMPONENTS$
|
|
5873
|
+
const COMPONENTS$b = [
|
|
5788
5874
|
PdmPopoverComponent,
|
|
5789
5875
|
];
|
|
5790
5876
|
class PdmPopoverModule {
|
|
@@ -5796,8 +5882,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5796
5882
|
type: NgModule,
|
|
5797
5883
|
args: [{
|
|
5798
5884
|
imports: [CommonModule, OverlayModule],
|
|
5799
|
-
declarations: COMPONENTS$
|
|
5800
|
-
exports: COMPONENTS$
|
|
5885
|
+
declarations: COMPONENTS$b,
|
|
5886
|
+
exports: COMPONENTS$b
|
|
5801
5887
|
}]
|
|
5802
5888
|
}] });
|
|
5803
5889
|
|
|
@@ -5831,7 +5917,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5831
5917
|
type: Input
|
|
5832
5918
|
}] } });
|
|
5833
5919
|
|
|
5834
|
-
const COMPONENTS$
|
|
5920
|
+
const COMPONENTS$a = [
|
|
5835
5921
|
PdmProgressComponent,
|
|
5836
5922
|
];
|
|
5837
5923
|
class PdmProgressModule {
|
|
@@ -5843,8 +5929,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5843
5929
|
type: NgModule,
|
|
5844
5930
|
args: [{
|
|
5845
5931
|
imports: [CommonModule],
|
|
5846
|
-
declarations: COMPONENTS$
|
|
5847
|
-
exports: COMPONENTS$
|
|
5932
|
+
declarations: COMPONENTS$a,
|
|
5933
|
+
exports: COMPONENTS$a
|
|
5848
5934
|
}]
|
|
5849
5935
|
}] });
|
|
5850
5936
|
|
|
@@ -5883,7 +5969,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5883
5969
|
type: Output
|
|
5884
5970
|
}] } });
|
|
5885
5971
|
|
|
5886
|
-
const COMPONENTS$
|
|
5972
|
+
const COMPONENTS$9 = [
|
|
5887
5973
|
PdmRadioGroupComponent,
|
|
5888
5974
|
];
|
|
5889
5975
|
class PdmRadioGroupModule {
|
|
@@ -5895,8 +5981,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5895
5981
|
type: NgModule,
|
|
5896
5982
|
args: [{
|
|
5897
5983
|
imports: [CommonModule],
|
|
5898
|
-
declarations: COMPONENTS$
|
|
5899
|
-
exports: COMPONENTS$
|
|
5984
|
+
declarations: COMPONENTS$9,
|
|
5985
|
+
exports: COMPONENTS$9
|
|
5900
5986
|
}]
|
|
5901
5987
|
}] });
|
|
5902
5988
|
|
|
@@ -5917,7 +6003,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5917
6003
|
type: Input
|
|
5918
6004
|
}] } });
|
|
5919
6005
|
|
|
5920
|
-
const COMPONENTS$
|
|
6006
|
+
const COMPONENTS$8 = [
|
|
5921
6007
|
PdmScrollAreaComponent,
|
|
5922
6008
|
];
|
|
5923
6009
|
class PdmScrollAreaModule {
|
|
@@ -5929,8 +6015,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5929
6015
|
type: NgModule,
|
|
5930
6016
|
args: [{
|
|
5931
6017
|
imports: [CommonModule],
|
|
5932
|
-
declarations: COMPONENTS$
|
|
5933
|
-
exports: COMPONENTS$
|
|
6018
|
+
declarations: COMPONENTS$8,
|
|
6019
|
+
exports: COMPONENTS$8
|
|
5934
6020
|
}]
|
|
5935
6021
|
}] });
|
|
5936
6022
|
|
|
@@ -6142,7 +6228,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6142
6228
|
args: ["document:keydown.escape"]
|
|
6143
6229
|
}] } });
|
|
6144
6230
|
|
|
6145
|
-
const COMPONENTS$
|
|
6231
|
+
const COMPONENTS$7 = [PdmSelectComponent, PdmSelectOptionDirective];
|
|
6146
6232
|
class PdmSelectModule {
|
|
6147
6233
|
}
|
|
6148
6234
|
PdmSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -6152,8 +6238,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6152
6238
|
type: NgModule,
|
|
6153
6239
|
args: [{
|
|
6154
6240
|
imports: [CommonModule, OverlayModule, PdmIconModule$1],
|
|
6155
|
-
declarations: COMPONENTS$
|
|
6156
|
-
exports: COMPONENTS$
|
|
6241
|
+
declarations: COMPONENTS$7,
|
|
6242
|
+
exports: COMPONENTS$7,
|
|
6157
6243
|
}]
|
|
6158
6244
|
}] });
|
|
6159
6245
|
|
|
@@ -6168,10 +6254,10 @@ class PdmSeparatorComponent {
|
|
|
6168
6254
|
}
|
|
6169
6255
|
}
|
|
6170
6256
|
PdmSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6171
|
-
PdmSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmSeparatorComponent, selector: "pdm-separator", inputs: { orientation: "orientation", decorative: "decorative", className: "className" }, ngImport: i0, template: "<div\n [attr.role]=\"decorative ? 'none' : 'separator'\"\n [attr.aria-orientation]=\"orientation\"\n [ngClass]=\"['shrink-0 bg-border', orientationClass, className]\"\n></div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6257
|
+
PdmSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmSeparatorComponent, isStandalone: true, selector: "pdm-separator", inputs: { orientation: "orientation", decorative: "decorative", className: "className" }, ngImport: i0, template: "<div\n [attr.role]=\"decorative ? 'none' : 'separator'\"\n [attr.aria-orientation]=\"orientation\"\n [ngClass]=\"['shrink-0 bg-border', orientationClass, className]\"\n></div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6172
6258
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorComponent, decorators: [{
|
|
6173
6259
|
type: Component,
|
|
6174
|
-
args: [{ selector: 'pdm-separator', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n [attr.role]=\"decorative ? 'none' : 'separator'\"\n [attr.aria-orientation]=\"orientation\"\n [ngClass]=\"['shrink-0 bg-border', orientationClass, className]\"\n></div>\n" }]
|
|
6260
|
+
args: [{ selector: 'pdm-separator', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<div\n [attr.role]=\"decorative ? 'none' : 'separator'\"\n [attr.aria-orientation]=\"orientation\"\n [ngClass]=\"['shrink-0 bg-border', orientationClass, className]\"\n></div>\n" }]
|
|
6175
6261
|
}], propDecorators: { orientation: [{
|
|
6176
6262
|
type: Input
|
|
6177
6263
|
}], decorative: [{
|
|
@@ -6180,20 +6266,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6180
6266
|
type: Input
|
|
6181
6267
|
}] } });
|
|
6182
6268
|
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6269
|
+
/**
|
|
6270
|
+
* @deprecated Import PdmSeparatorComponent directly instead. This module is kept for backwards compatibility.
|
|
6271
|
+
* For modern Angular (v14+), use: import { PdmSeparatorComponent } from 'pdm-ui-kit/separator'
|
|
6272
|
+
*/
|
|
6186
6273
|
class PdmSeparatorModule {
|
|
6187
6274
|
}
|
|
6188
6275
|
PdmSeparatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6189
|
-
PdmSeparatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule,
|
|
6190
|
-
PdmSeparatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule, imports: [
|
|
6276
|
+
PdmSeparatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule, imports: [PdmSeparatorComponent], exports: [PdmSeparatorComponent] });
|
|
6277
|
+
PdmSeparatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule, imports: [PdmSeparatorComponent] });
|
|
6191
6278
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule, decorators: [{
|
|
6192
6279
|
type: NgModule,
|
|
6193
6280
|
args: [{
|
|
6194
|
-
imports: [
|
|
6195
|
-
|
|
6196
|
-
exports: COMPONENTS$9
|
|
6281
|
+
imports: [PdmSeparatorComponent],
|
|
6282
|
+
exports: [PdmSeparatorComponent]
|
|
6197
6283
|
}]
|
|
6198
6284
|
}] });
|
|
6199
6285
|
|
|
@@ -6261,7 +6347,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6261
6347
|
type: Output
|
|
6262
6348
|
}] } });
|
|
6263
6349
|
|
|
6264
|
-
const COMPONENTS$
|
|
6350
|
+
const COMPONENTS$6 = [
|
|
6265
6351
|
PdmSidebarComponent,
|
|
6266
6352
|
];
|
|
6267
6353
|
class PdmSidebarModule {
|
|
@@ -6273,8 +6359,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6273
6359
|
type: NgModule,
|
|
6274
6360
|
args: [{
|
|
6275
6361
|
imports: [CommonModule],
|
|
6276
|
-
declarations: COMPONENTS$
|
|
6277
|
-
exports: COMPONENTS$
|
|
6362
|
+
declarations: COMPONENTS$6,
|
|
6363
|
+
exports: COMPONENTS$6
|
|
6278
6364
|
}]
|
|
6279
6365
|
}] });
|
|
6280
6366
|
|
|
@@ -6284,28 +6370,28 @@ class PdmSkeletonComponent {
|
|
|
6284
6370
|
}
|
|
6285
6371
|
}
|
|
6286
6372
|
PdmSkeletonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6287
|
-
PdmSkeletonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmSkeletonComponent, selector: "pdm-skeleton", inputs: { className: "className" }, ngImport: i0, template: "<div [ngClass]=\"['animate-pulse rounded-md bg-muted', className]\"></div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6373
|
+
PdmSkeletonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmSkeletonComponent, isStandalone: true, selector: "pdm-skeleton", inputs: { className: "className" }, ngImport: i0, template: "<div [ngClass]=\"['animate-pulse rounded-md bg-muted', className]\"></div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6288
6374
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonComponent, decorators: [{
|
|
6289
6375
|
type: Component,
|
|
6290
|
-
args: [{ selector: 'pdm-skeleton', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"['animate-pulse rounded-md bg-muted', className]\"></div>\n" }]
|
|
6376
|
+
args: [{ selector: 'pdm-skeleton', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<div [ngClass]=\"['animate-pulse rounded-md bg-muted', className]\"></div>\n" }]
|
|
6291
6377
|
}], propDecorators: { className: [{
|
|
6292
6378
|
type: Input
|
|
6293
6379
|
}] } });
|
|
6294
6380
|
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6381
|
+
/**
|
|
6382
|
+
* @deprecated Import PdmSkeletonComponent directly instead. This module is kept for backwards compatibility.
|
|
6383
|
+
* For modern Angular (v14+), use: import { PdmSkeletonComponent } from 'pdm-ui-kit/skeleton'
|
|
6384
|
+
*/
|
|
6298
6385
|
class PdmSkeletonModule {
|
|
6299
6386
|
}
|
|
6300
6387
|
PdmSkeletonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6301
|
-
PdmSkeletonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule,
|
|
6302
|
-
PdmSkeletonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule, imports: [
|
|
6388
|
+
PdmSkeletonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule, imports: [PdmSkeletonComponent], exports: [PdmSkeletonComponent] });
|
|
6389
|
+
PdmSkeletonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule, imports: [PdmSkeletonComponent] });
|
|
6303
6390
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule, decorators: [{
|
|
6304
6391
|
type: NgModule,
|
|
6305
6392
|
args: [{
|
|
6306
|
-
imports: [
|
|
6307
|
-
|
|
6308
|
-
exports: COMPONENTS$7
|
|
6393
|
+
imports: [PdmSkeletonComponent],
|
|
6394
|
+
exports: [PdmSkeletonComponent]
|
|
6309
6395
|
}]
|
|
6310
6396
|
}] });
|
|
6311
6397
|
|
|
@@ -6352,7 +6438,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6352
6438
|
type: Output
|
|
6353
6439
|
}] } });
|
|
6354
6440
|
|
|
6355
|
-
const COMPONENTS$
|
|
6441
|
+
const COMPONENTS$5 = [
|
|
6356
6442
|
PdmSliderComponent,
|
|
6357
6443
|
];
|
|
6358
6444
|
class PdmSliderModule {
|
|
@@ -6364,8 +6450,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6364
6450
|
type: NgModule,
|
|
6365
6451
|
args: [{
|
|
6366
6452
|
imports: [CommonModule],
|
|
6367
|
-
declarations: COMPONENTS$
|
|
6368
|
-
exports: COMPONENTS$
|
|
6453
|
+
declarations: COMPONENTS$5,
|
|
6454
|
+
exports: COMPONENTS$5
|
|
6369
6455
|
}]
|
|
6370
6456
|
}] });
|
|
6371
6457
|
|
|
@@ -6404,7 +6490,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6404
6490
|
type: Output
|
|
6405
6491
|
}] } });
|
|
6406
6492
|
|
|
6407
|
-
const COMPONENTS$
|
|
6493
|
+
const COMPONENTS$4 = [PdmSonnerComponent];
|
|
6408
6494
|
class PdmSonnerModule {
|
|
6409
6495
|
}
|
|
6410
6496
|
PdmSonnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSonnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -6414,8 +6500,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6414
6500
|
type: NgModule,
|
|
6415
6501
|
args: [{
|
|
6416
6502
|
imports: [CommonModule, PdmIconModule$1],
|
|
6417
|
-
declarations: COMPONENTS$
|
|
6418
|
-
exports: COMPONENTS$
|
|
6503
|
+
declarations: COMPONENTS$4,
|
|
6504
|
+
exports: COMPONENTS$4,
|
|
6419
6505
|
}]
|
|
6420
6506
|
}] });
|
|
6421
6507
|
|
|
@@ -6426,30 +6512,30 @@ class PdmSpinnerComponent {
|
|
|
6426
6512
|
}
|
|
6427
6513
|
}
|
|
6428
6514
|
PdmSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6429
|
-
PdmSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmSpinnerComponent, selector: "pdm-spinner", inputs: { size: "size", className: "className" }, ngImport: i0, template: "<span\n [style.width.px]=\"size\"\n [style.height.px]=\"size\"\n [ngClass]=\"['inline-block animate-spin rounded-full border-2 border-current border-r-transparent', className]\"\n aria-hidden=\"true\"\n></span>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6515
|
+
PdmSpinnerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmSpinnerComponent, isStandalone: true, selector: "pdm-spinner", inputs: { size: "size", className: "className" }, ngImport: i0, template: "<span\n [style.width.px]=\"size\"\n [style.height.px]=\"size\"\n [ngClass]=\"['inline-block animate-spin rounded-full border-2 border-current border-r-transparent', className]\"\n aria-hidden=\"true\"\n></span>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6430
6516
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerComponent, decorators: [{
|
|
6431
6517
|
type: Component,
|
|
6432
|
-
args: [{ selector: 'pdm-spinner', changeDetection: ChangeDetectionStrategy.OnPush, template: "<span\n [style.width.px]=\"size\"\n [style.height.px]=\"size\"\n [ngClass]=\"['inline-block animate-spin rounded-full border-2 border-current border-r-transparent', className]\"\n aria-hidden=\"true\"\n></span>\n" }]
|
|
6518
|
+
args: [{ selector: 'pdm-spinner', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<span\n [style.width.px]=\"size\"\n [style.height.px]=\"size\"\n [ngClass]=\"['inline-block animate-spin rounded-full border-2 border-current border-r-transparent', className]\"\n aria-hidden=\"true\"\n></span>\n" }]
|
|
6433
6519
|
}], propDecorators: { size: [{
|
|
6434
6520
|
type: Input
|
|
6435
6521
|
}], className: [{
|
|
6436
6522
|
type: Input
|
|
6437
6523
|
}] } });
|
|
6438
6524
|
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6525
|
+
/**
|
|
6526
|
+
* @deprecated Import PdmSpinnerComponent directly instead. This module is kept for backwards compatibility.
|
|
6527
|
+
* For modern Angular (v14+), use: import { PdmSpinnerComponent } from 'pdm-ui-kit/spinner'
|
|
6528
|
+
*/
|
|
6442
6529
|
class PdmSpinnerModule {
|
|
6443
6530
|
}
|
|
6444
6531
|
PdmSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6445
|
-
PdmSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule,
|
|
6446
|
-
PdmSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule, imports: [
|
|
6532
|
+
PdmSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule, imports: [PdmSpinnerComponent], exports: [PdmSpinnerComponent] });
|
|
6533
|
+
PdmSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule, imports: [PdmSpinnerComponent] });
|
|
6447
6534
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule, decorators: [{
|
|
6448
6535
|
type: NgModule,
|
|
6449
6536
|
args: [{
|
|
6450
|
-
imports: [
|
|
6451
|
-
|
|
6452
|
-
exports: COMPONENTS$4
|
|
6537
|
+
imports: [PdmSpinnerComponent],
|
|
6538
|
+
exports: [PdmSpinnerComponent]
|
|
6453
6539
|
}]
|
|
6454
6540
|
}] });
|
|
6455
6541
|
|
|
@@ -7508,9 +7594,415 @@ function logZIndexStack(element) {
|
|
|
7508
7594
|
console.table(stack);
|
|
7509
7595
|
}
|
|
7510
7596
|
|
|
7597
|
+
class PdmInputHarness extends ComponentHarness {
|
|
7598
|
+
constructor() {
|
|
7599
|
+
super(...arguments);
|
|
7600
|
+
this.input = this.locatorFor('input');
|
|
7601
|
+
}
|
|
7602
|
+
static with(options) {
|
|
7603
|
+
return new HarnessPredicate(PdmInputHarness, options)
|
|
7604
|
+
.addOption('id', options.id, (harness, id) => HarnessPredicate.stringMatches(harness.getId(), id))
|
|
7605
|
+
.addOption('placeholder', options.placeholder, (harness, placeholder) => HarnessPredicate.stringMatches(harness.getPlaceholder(), placeholder));
|
|
7606
|
+
}
|
|
7607
|
+
async getId() {
|
|
7608
|
+
return (await this.input()).getAttribute('id') || '';
|
|
7609
|
+
}
|
|
7610
|
+
async getValue() {
|
|
7611
|
+
return (await this.input()).getProperty('value') || '';
|
|
7612
|
+
}
|
|
7613
|
+
async setValue(value) {
|
|
7614
|
+
const input = await this.input();
|
|
7615
|
+
await input.clear();
|
|
7616
|
+
await input.sendKeys(value);
|
|
7617
|
+
}
|
|
7618
|
+
async getPlaceholder() {
|
|
7619
|
+
return (await this.input()).getAttribute('placeholder') || '';
|
|
7620
|
+
}
|
|
7621
|
+
async isDisabled() {
|
|
7622
|
+
return (await this.input()).matchesSelector(':disabled');
|
|
7623
|
+
}
|
|
7624
|
+
async isReadonly() {
|
|
7625
|
+
return (await this.input()).matchesSelector('[readonly]');
|
|
7626
|
+
}
|
|
7627
|
+
async isRequired() {
|
|
7628
|
+
return (await this.input()).matchesSelector('[required]');
|
|
7629
|
+
}
|
|
7630
|
+
async isInvalid() {
|
|
7631
|
+
return (await this.input()).matchesSelector('[aria-invalid="true"]');
|
|
7632
|
+
}
|
|
7633
|
+
async getLabel() {
|
|
7634
|
+
const label = await this.locatorForOptional('label')();
|
|
7635
|
+
return label ? label.text() : null;
|
|
7636
|
+
}
|
|
7637
|
+
async getHelperText() {
|
|
7638
|
+
const helper = await this.locatorForOptional('[class*="text-muted-foreground"]')();
|
|
7639
|
+
return helper ? helper.text() : null;
|
|
7640
|
+
}
|
|
7641
|
+
async getErrorText() {
|
|
7642
|
+
const error = await this.locatorForOptional('[class*="text-destructive"]')();
|
|
7643
|
+
return error ? error.text() : null;
|
|
7644
|
+
}
|
|
7645
|
+
async focus() {
|
|
7646
|
+
return (await this.input()).focus();
|
|
7647
|
+
}
|
|
7648
|
+
async blur() {
|
|
7649
|
+
return (await this.input()).blur();
|
|
7650
|
+
}
|
|
7651
|
+
async getType() {
|
|
7652
|
+
return (await this.input()).getAttribute('type') || 'text';
|
|
7653
|
+
}
|
|
7654
|
+
async clear() {
|
|
7655
|
+
return (await this.input()).clear();
|
|
7656
|
+
}
|
|
7657
|
+
getComponentInstance() {
|
|
7658
|
+
return this.locatorFor(PdmInputComponent)();
|
|
7659
|
+
}
|
|
7660
|
+
}
|
|
7661
|
+
PdmInputHarness.hostSelector = 'pdm-input';
|
|
7662
|
+
|
|
7663
|
+
class PdmButtonHarness extends ComponentHarness {
|
|
7664
|
+
constructor() {
|
|
7665
|
+
super(...arguments);
|
|
7666
|
+
this.button = this.locatorFor('button');
|
|
7667
|
+
}
|
|
7668
|
+
static with(options) {
|
|
7669
|
+
return new HarnessPredicate(PdmButtonHarness, options)
|
|
7670
|
+
.addOption('variant', options.variant, (harness, variant) => HarnessPredicate.stringMatches(harness.getVariant(), variant))
|
|
7671
|
+
.addOption('text', options.text, (harness, text) => HarnessPredicate.stringMatches(harness.getText(), text));
|
|
7672
|
+
}
|
|
7673
|
+
async click() {
|
|
7674
|
+
return (await this.button()).click();
|
|
7675
|
+
}
|
|
7676
|
+
async getText() {
|
|
7677
|
+
return (await this.button()).text();
|
|
7678
|
+
}
|
|
7679
|
+
async isDisabled() {
|
|
7680
|
+
return (await this.button()).matchesSelector(':disabled');
|
|
7681
|
+
}
|
|
7682
|
+
async isLoading() {
|
|
7683
|
+
return (await this.button()).matchesSelector('[aria-busy="true"]');
|
|
7684
|
+
}
|
|
7685
|
+
async getVariant() {
|
|
7686
|
+
const component = await this.getComponentInstance();
|
|
7687
|
+
return component.resolvedVariant;
|
|
7688
|
+
}
|
|
7689
|
+
async getSize() {
|
|
7690
|
+
const component = await this.getComponentInstance();
|
|
7691
|
+
return component.resolvedSize;
|
|
7692
|
+
}
|
|
7693
|
+
async getType() {
|
|
7694
|
+
return (await this.button()).getAttribute('type');
|
|
7695
|
+
}
|
|
7696
|
+
async hasIcon() {
|
|
7697
|
+
const icon = await this.locatorForOptional('[pdmButtonIcon]')();
|
|
7698
|
+
return !!icon;
|
|
7699
|
+
}
|
|
7700
|
+
async focus() {
|
|
7701
|
+
return (await this.button()).focus();
|
|
7702
|
+
}
|
|
7703
|
+
async blur() {
|
|
7704
|
+
return (await this.button()).blur();
|
|
7705
|
+
}
|
|
7706
|
+
getComponentInstance() {
|
|
7707
|
+
return this.locatorFor(PdmButtonComponent)();
|
|
7708
|
+
}
|
|
7709
|
+
}
|
|
7710
|
+
PdmButtonHarness.hostSelector = 'pdm-button';
|
|
7711
|
+
|
|
7712
|
+
class PdmDialogHarness extends ComponentHarness {
|
|
7713
|
+
constructor() {
|
|
7714
|
+
super(...arguments);
|
|
7715
|
+
this.dialog = this.locatorFor('[role="dialog"]');
|
|
7716
|
+
this.closeButton = this.locatorForOptional('button[aria-label="Close dialog"]');
|
|
7717
|
+
this.primaryButton = this.locatorForOptional('[role="dialog"] button:last-child');
|
|
7718
|
+
}
|
|
7719
|
+
static with(options) {
|
|
7720
|
+
return new HarnessPredicate(PdmDialogHarness, options)
|
|
7721
|
+
.addOption('title', options.title, (harness, title) => HarnessPredicate.stringMatches(harness.getTitle(), title));
|
|
7722
|
+
}
|
|
7723
|
+
async isOpen() {
|
|
7724
|
+
try {
|
|
7725
|
+
await this.dialog();
|
|
7726
|
+
return true;
|
|
7727
|
+
}
|
|
7728
|
+
catch {
|
|
7729
|
+
return false;
|
|
7730
|
+
}
|
|
7731
|
+
}
|
|
7732
|
+
async getTitle() {
|
|
7733
|
+
try {
|
|
7734
|
+
const heading = await this.locatorForOptional('[role="dialog"] h2')();
|
|
7735
|
+
return heading ? heading.text() : '';
|
|
7736
|
+
}
|
|
7737
|
+
catch {
|
|
7738
|
+
return '';
|
|
7739
|
+
}
|
|
7740
|
+
}
|
|
7741
|
+
async getDescription() {
|
|
7742
|
+
try {
|
|
7743
|
+
const description = await this.locatorForOptional('[role="dialog"] p')();
|
|
7744
|
+
return description ? description.text() : '';
|
|
7745
|
+
}
|
|
7746
|
+
catch {
|
|
7747
|
+
return '';
|
|
7748
|
+
}
|
|
7749
|
+
}
|
|
7750
|
+
async close() {
|
|
7751
|
+
const closeBtn = await this.closeButton();
|
|
7752
|
+
if (closeBtn) {
|
|
7753
|
+
return closeBtn.click();
|
|
7754
|
+
}
|
|
7755
|
+
}
|
|
7756
|
+
async clickPrimaryAction() {
|
|
7757
|
+
const btn = await this.primaryButton();
|
|
7758
|
+
if (btn) {
|
|
7759
|
+
return btn.click();
|
|
7760
|
+
}
|
|
7761
|
+
}
|
|
7762
|
+
async clickSecondaryAction() {
|
|
7763
|
+
const buttons = await this.locatorForAll('button')();
|
|
7764
|
+
if (buttons.length >= 2) {
|
|
7765
|
+
return buttons[buttons.length - 2].click();
|
|
7766
|
+
}
|
|
7767
|
+
}
|
|
7768
|
+
async getVariant() {
|
|
7769
|
+
const component = await this.getComponentInstance();
|
|
7770
|
+
return component.variant;
|
|
7771
|
+
}
|
|
7772
|
+
async getSize() {
|
|
7773
|
+
const component = await this.getComponentInstance();
|
|
7774
|
+
return component.size;
|
|
7775
|
+
}
|
|
7776
|
+
async getPrimaryActionText() {
|
|
7777
|
+
const component = await this.getComponentInstance();
|
|
7778
|
+
return component.primaryActionText;
|
|
7779
|
+
}
|
|
7780
|
+
async getSecondaryActionText() {
|
|
7781
|
+
const component = await this.getComponentInstance();
|
|
7782
|
+
return component.secondaryActionText;
|
|
7783
|
+
}
|
|
7784
|
+
async hasCloseButton() {
|
|
7785
|
+
return !!(await this.closeButton());
|
|
7786
|
+
}
|
|
7787
|
+
async getContent() {
|
|
7788
|
+
const dialog = await this.dialog();
|
|
7789
|
+
return dialog.text();
|
|
7790
|
+
}
|
|
7791
|
+
getComponentInstance() {
|
|
7792
|
+
return this.locatorFor(PdmDialogComponent)();
|
|
7793
|
+
}
|
|
7794
|
+
}
|
|
7795
|
+
PdmDialogHarness.hostSelector = 'pdm-dialog';
|
|
7796
|
+
|
|
7797
|
+
class PdmSelectHarness extends ComponentHarness {
|
|
7798
|
+
constructor() {
|
|
7799
|
+
super(...arguments);
|
|
7800
|
+
this.trigger = this.locatorFor('button');
|
|
7801
|
+
this.panel = this.locatorForOptional('.cdk-overlay-pane');
|
|
7802
|
+
}
|
|
7803
|
+
static with(options) {
|
|
7804
|
+
return new HarnessPredicate(PdmSelectHarness, options)
|
|
7805
|
+
.addOption('placeholder', options.placeholder, (harness, placeholder) => HarnessPredicate.stringMatches(harness.getPlaceholder(), placeholder));
|
|
7806
|
+
}
|
|
7807
|
+
async open() {
|
|
7808
|
+
return (await this.trigger()).click();
|
|
7809
|
+
}
|
|
7810
|
+
async close() {
|
|
7811
|
+
// Close by pressing Escape
|
|
7812
|
+
return (await this.trigger()).sendKeys('Escape');
|
|
7813
|
+
}
|
|
7814
|
+
async isOpen() {
|
|
7815
|
+
try {
|
|
7816
|
+
const component = await this.getComponentInstance();
|
|
7817
|
+
return component.open;
|
|
7818
|
+
}
|
|
7819
|
+
catch {
|
|
7820
|
+
return false;
|
|
7821
|
+
}
|
|
7822
|
+
}
|
|
7823
|
+
async getSelectedOption() {
|
|
7824
|
+
const component = await this.getComponentInstance();
|
|
7825
|
+
return component.selectedOption;
|
|
7826
|
+
}
|
|
7827
|
+
async getSelectedLabel() {
|
|
7828
|
+
const component = await this.getComponentInstance();
|
|
7829
|
+
return component.selectedLabel;
|
|
7830
|
+
}
|
|
7831
|
+
async getPlaceholder() {
|
|
7832
|
+
const component = await this.getComponentInstance();
|
|
7833
|
+
return component.placeholder;
|
|
7834
|
+
}
|
|
7835
|
+
async selectOption(value) {
|
|
7836
|
+
await this.open();
|
|
7837
|
+
const options = await this.locatorForAll('.cdk-overlay-pane button')();
|
|
7838
|
+
for (const option of options) {
|
|
7839
|
+
const text = await option.text();
|
|
7840
|
+
if (text.includes(value)) {
|
|
7841
|
+
return option.click();
|
|
7842
|
+
}
|
|
7843
|
+
}
|
|
7844
|
+
throw new Error(`Option with value "${value}" not found`);
|
|
7845
|
+
}
|
|
7846
|
+
async getOptions() {
|
|
7847
|
+
const component = await this.getComponentInstance();
|
|
7848
|
+
return component.resolvedOptions;
|
|
7849
|
+
}
|
|
7850
|
+
async isDisabled() {
|
|
7851
|
+
const component = await this.getComponentInstance();
|
|
7852
|
+
return component.disabled;
|
|
7853
|
+
}
|
|
7854
|
+
async isInvalid() {
|
|
7855
|
+
const component = await this.getComponentInstance();
|
|
7856
|
+
return component.invalid;
|
|
7857
|
+
}
|
|
7858
|
+
async focus() {
|
|
7859
|
+
return (await this.trigger()).focus();
|
|
7860
|
+
}
|
|
7861
|
+
async blur() {
|
|
7862
|
+
return (await this.trigger()).blur();
|
|
7863
|
+
}
|
|
7864
|
+
getComponentInstance() {
|
|
7865
|
+
return this.locatorFor(PdmSelectComponent)();
|
|
7866
|
+
}
|
|
7867
|
+
}
|
|
7868
|
+
PdmSelectHarness.hostSelector = 'pdm-select';
|
|
7869
|
+
|
|
7870
|
+
class PdmCheckboxHarness extends ComponentHarness {
|
|
7871
|
+
constructor() {
|
|
7872
|
+
super(...arguments);
|
|
7873
|
+
this.input = this.locatorFor('input[type="checkbox"]');
|
|
7874
|
+
}
|
|
7875
|
+
static with(options) {
|
|
7876
|
+
return new HarnessPredicate(PdmCheckboxHarness, options)
|
|
7877
|
+
.addOption('label', options.label, (harness, label) => HarnessPredicate.stringMatches(harness.getLabel(), label));
|
|
7878
|
+
}
|
|
7879
|
+
async isChecked() {
|
|
7880
|
+
return (await this.input()).matchesSelector(':checked');
|
|
7881
|
+
}
|
|
7882
|
+
async toggle() {
|
|
7883
|
+
return (await this.input()).click();
|
|
7884
|
+
}
|
|
7885
|
+
async check() {
|
|
7886
|
+
if (!(await this.isChecked())) {
|
|
7887
|
+
await this.toggle();
|
|
7888
|
+
}
|
|
7889
|
+
}
|
|
7890
|
+
async uncheck() {
|
|
7891
|
+
if (await this.isChecked()) {
|
|
7892
|
+
await this.toggle();
|
|
7893
|
+
}
|
|
7894
|
+
}
|
|
7895
|
+
async isDisabled() {
|
|
7896
|
+
return (await this.input()).matchesSelector(':disabled');
|
|
7897
|
+
}
|
|
7898
|
+
async getLabel() {
|
|
7899
|
+
const label = await this.locatorForOptional('label')();
|
|
7900
|
+
return label ? label.text() : '';
|
|
7901
|
+
}
|
|
7902
|
+
async getDescription() {
|
|
7903
|
+
const component = await this.getComponentInstance();
|
|
7904
|
+
return component.description;
|
|
7905
|
+
}
|
|
7906
|
+
async getVariant() {
|
|
7907
|
+
const component = await this.getComponentInstance();
|
|
7908
|
+
return component.variant;
|
|
7909
|
+
}
|
|
7910
|
+
async focus() {
|
|
7911
|
+
return (await this.input()).focus();
|
|
7912
|
+
}
|
|
7913
|
+
async blur() {
|
|
7914
|
+
return (await this.input()).blur();
|
|
7915
|
+
}
|
|
7916
|
+
getComponentInstance() {
|
|
7917
|
+
return this.locatorFor(PdmCheckboxComponent)();
|
|
7918
|
+
}
|
|
7919
|
+
}
|
|
7920
|
+
PdmCheckboxHarness.hostSelector = 'pdm-checkbox';
|
|
7921
|
+
|
|
7922
|
+
class PdmPaginationHarness extends ComponentHarness {
|
|
7923
|
+
constructor() {
|
|
7924
|
+
super(...arguments);
|
|
7925
|
+
this.nav = this.locatorFor('nav');
|
|
7926
|
+
}
|
|
7927
|
+
static with(options) {
|
|
7928
|
+
return new HarnessPredicate(PdmPaginationHarness, options);
|
|
7929
|
+
}
|
|
7930
|
+
async goToPage(page) {
|
|
7931
|
+
const buttons = await this.locatorForAll('button')();
|
|
7932
|
+
for (const button of buttons) {
|
|
7933
|
+
const text = await button.text();
|
|
7934
|
+
if (text.trim() === String(page)) {
|
|
7935
|
+
return button.click();
|
|
7936
|
+
}
|
|
7937
|
+
}
|
|
7938
|
+
throw new Error(`Page ${page} not found in pagination`);
|
|
7939
|
+
}
|
|
7940
|
+
async goToNextPage() {
|
|
7941
|
+
const buttons = await this.locatorForAll('button')();
|
|
7942
|
+
if (buttons.length > 0) {
|
|
7943
|
+
return buttons[buttons.length - 1].click();
|
|
7944
|
+
}
|
|
7945
|
+
}
|
|
7946
|
+
async goToPreviousPage() {
|
|
7947
|
+
const buttons = await this.locatorForAll('button')();
|
|
7948
|
+
if (buttons.length > 0) {
|
|
7949
|
+
return buttons[0].click();
|
|
7950
|
+
}
|
|
7951
|
+
}
|
|
7952
|
+
async getCurrentPage() {
|
|
7953
|
+
const component = await this.getComponentInstance();
|
|
7954
|
+
return component.page;
|
|
7955
|
+
}
|
|
7956
|
+
async getPageCount() {
|
|
7957
|
+
const component = await this.getComponentInstance();
|
|
7958
|
+
return component.pageCount;
|
|
7959
|
+
}
|
|
7960
|
+
async getRowsPerPage() {
|
|
7961
|
+
const component = await this.getComponentInstance();
|
|
7962
|
+
return component.rowsPerPage;
|
|
7963
|
+
}
|
|
7964
|
+
async setRowsPerPage(rows) {
|
|
7965
|
+
// This would require interacting with the select component
|
|
7966
|
+
const component = await this.getComponentInstance();
|
|
7967
|
+
component.rowsPerPageChange.emit(rows);
|
|
7968
|
+
}
|
|
7969
|
+
async getVisiblePages() {
|
|
7970
|
+
const component = await this.getComponentInstance();
|
|
7971
|
+
return component.visiblePages;
|
|
7972
|
+
}
|
|
7973
|
+
async isNextPageDisabled() {
|
|
7974
|
+
const buttons = await this.locatorForAll('button')();
|
|
7975
|
+
if (buttons.length > 0) {
|
|
7976
|
+
return buttons[buttons.length - 1].matchesSelector(':disabled');
|
|
7977
|
+
}
|
|
7978
|
+
return true;
|
|
7979
|
+
}
|
|
7980
|
+
async isPreviousPageDisabled() {
|
|
7981
|
+
const buttons = await this.locatorForAll('button')();
|
|
7982
|
+
if (buttons.length > 0) {
|
|
7983
|
+
return buttons[0].matchesSelector(':disabled');
|
|
7984
|
+
}
|
|
7985
|
+
return true;
|
|
7986
|
+
}
|
|
7987
|
+
async getPageButtons() {
|
|
7988
|
+
return this.locatorForAll('button')();
|
|
7989
|
+
}
|
|
7990
|
+
getComponentInstance() {
|
|
7991
|
+
return this.locatorFor(PdmPaginationComponent)();
|
|
7992
|
+
}
|
|
7993
|
+
}
|
|
7994
|
+
PdmPaginationHarness.hostSelector = 'pdm-pagination';
|
|
7995
|
+
|
|
7996
|
+
/**
|
|
7997
|
+
* Public API for CDK test harnesses
|
|
7998
|
+
*
|
|
7999
|
+
* Usage:
|
|
8000
|
+
* import { PdmInputHarness, PdmButtonHarness } from 'pdm-ui-kit/testing';
|
|
8001
|
+
*/
|
|
8002
|
+
|
|
7511
8003
|
/**
|
|
7512
8004
|
* Generated bundle index. Do not edit.
|
|
7513
8005
|
*/
|
|
7514
8006
|
|
|
7515
|
-
export { BREAKPOINTS, OVERLAY_BASE_Z_INDEX, PdmAccordionComponent, PdmAccordionModule, PdmAlertComponent, PdmAlertDialogComponent, PdmAlertModule, PdmAspectRatioComponent, PdmAspectRatioModule, PdmAvatarComponent, PdmAvatarModule, PdmBadgeComponent, PdmBadgeModule, PdmBreadcrumbComponent, PdmBreadcrumbModule, PdmButtonComponent, PdmButtonGroupComponent, PdmButtonModule, PdmCalendarComponent, PdmCalendarModule, PdmCardComponent, PdmCardModule, PdmCarouselComponent, PdmCarouselModule, PdmChartComponent, PdmChartModule, PdmCheckboxComponent, PdmCheckboxModule, PdmCollapsibleComponent, PdmCollapsibleModule, PdmComboboxComponent, PdmComboboxModule, PdmCommandComponent, PdmCommandModule, PdmContextMenuComponent, PdmContextMenuModule, PdmDataTableComponent, PdmDataTableModule, PdmDatePickerComponent, PdmDialogComponent, PdmDialogModule, PdmDraggableTableComponent, PdmDrawerComponent, PdmDrawerModule, PdmDropdownMenuComponent, PdmDropdownMenuModule, PdmEmptyComponent, PdmEmptyModule, PdmFieldComponent, PdmFieldModule, PdmHoverCardComponent, PdmHoverCardModule, PdmIconComponent, PdmIconModule, PdmInputComponent, PdmInputGroupComponent, PdmInputModule, PdmInputOtpComponent, PdmInputPasswordComponent, PdmItemComponent, PdmItemModule, PdmKbdComponent, PdmKbdModule, PdmLabelComponent, PdmLabelModule, PdmMenubarComponent, PdmMenubarModule, PdmNativeSelectComponent, PdmNativeSelectModule, PdmNavigationMenuComponent, PdmNavigationMenuModule, PdmOutsideClickDirective, PdmOutsideClickModule, PdmPaginationComponent, PdmPaginationModule, PdmPopoverComponent, PdmPopoverModule, PdmProgressComponent, PdmProgressModule, PdmRadioGroupComponent, PdmRadioGroupModule, PdmScrollAreaComponent, PdmScrollAreaModule, PdmSelectComponent, PdmSelectModule, PdmSelectOptionDirective, PdmSeparatorComponent, PdmSeparatorModule, PdmSheetComponent, PdmSidebarComponent, PdmSidebarModule, PdmSkeletonComponent, PdmSkeletonModule, PdmSliderComponent, PdmSliderModule, PdmSonnerComponent, PdmSonnerModule, PdmSpinnerComponent, PdmSpinnerModule, PdmSwitchComponent, PdmSwitchModule, PdmTableComponent, PdmTabsComponent, PdmTabsModule, PdmTextareaComponent, PdmToggleComponent, PdmToggleGroupComponent, PdmToggleModule, PdmTooltipComponent, PdmTooltipModule, PdmUiKitModule, RESPONSIVE_CONTAINER, RESPONSIVE_DISPLAY, TABLE_RESPONSIVE, Z_INDEX, createFlexiblePositionStrategy, createZIndexEnforcedOverlay, extractZIndex, logZIndexStack, mergeOverlayPanelClass, overflowResponsive, responsive, spacingResponsive, widthResponsive };
|
|
8007
|
+
export { BREAKPOINTS, OVERLAY_BASE_Z_INDEX, PdmAccordionComponent, PdmAccordionModule, PdmAlertComponent, PdmAlertDialogComponent, PdmAlertModule, PdmAspectRatioComponent, PdmAspectRatioModule, PdmAvatarComponent, PdmAvatarModule, PdmBadgeComponent, PdmBadgeModule, PdmBreadcrumbComponent, PdmBreadcrumbModule, PdmButtonComponent, PdmButtonGroupComponent, PdmButtonHarness, PdmButtonModule, PdmCalendarComponent, PdmCalendarModule, PdmCardComponent, PdmCardModule, PdmCarouselComponent, PdmCarouselModule, PdmChartComponent, PdmChartModule, PdmCheckboxComponent, PdmCheckboxHarness, PdmCheckboxModule, PdmCollapsibleComponent, PdmCollapsibleModule, PdmComboboxComponent, PdmComboboxModule, PdmCommandComponent, PdmCommandModule, PdmContextMenuComponent, PdmContextMenuModule, PdmDataTableComponent, PdmDataTableModule, PdmDatePickerComponent, PdmDialogComponent, PdmDialogHarness, PdmDialogModule, PdmDraggableTableComponent, PdmDrawerComponent, PdmDrawerModule, PdmDropdownMenuComponent, PdmDropdownMenuModule, PdmEmptyComponent, PdmEmptyModule, PdmFieldComponent, PdmFieldModule, PdmHoverCardComponent, PdmHoverCardModule, PdmIconComponent, PdmIconModule, PdmInputComponent, PdmInputGroupComponent, PdmInputHarness, PdmInputModule, PdmInputOtpComponent, PdmInputPasswordComponent, PdmItemComponent, PdmItemModule, PdmKbdComponent, PdmKbdModule, PdmLabelComponent, PdmLabelModule, PdmMenubarComponent, PdmMenubarModule, PdmNativeSelectComponent, PdmNativeSelectModule, PdmNavigationMenuComponent, PdmNavigationMenuModule, PdmOutsideClickDirective, PdmOutsideClickModule, PdmPaginationComponent, PdmPaginationHarness, PdmPaginationModule, PdmPopoverComponent, PdmPopoverModule, PdmProgressComponent, PdmProgressModule, PdmRadioGroupComponent, PdmRadioGroupModule, PdmScrollAreaComponent, PdmScrollAreaModule, PdmSelectComponent, PdmSelectHarness, PdmSelectModule, PdmSelectOptionDirective, PdmSeparatorComponent, PdmSeparatorModule, PdmSheetComponent, PdmSidebarComponent, PdmSidebarModule, PdmSkeletonComponent, PdmSkeletonModule, PdmSliderComponent, PdmSliderModule, PdmSonnerComponent, PdmSonnerModule, PdmSpinnerComponent, PdmSpinnerModule, PdmSwitchComponent, PdmSwitchModule, PdmTableComponent, PdmTabsComponent, PdmTabsModule, PdmTextareaComponent, PdmToggleComponent, PdmToggleGroupComponent, PdmToggleModule, PdmTooltipComponent, PdmTooltipModule, PdmUiKitModule, RESPONSIVE_CONTAINER, RESPONSIVE_DISPLAY, TABLE_RESPONSIVE, Z_INDEX, createFlexiblePositionStrategy, createZIndexEnforcedOverlay, extractZIndex, logZIndexStack, mergeOverlayPanelClass, overflowResponsive, responsive, spacingResponsive, widthResponsive };
|
|
7516
8008
|
//# sourceMappingURL=pdm-ui-kit.mjs.map
|