pdm-ui-kit 1.2.1 → 1.4.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/calendar/date-picker.component.d.ts +2 -1
- 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/calendar/date-picker.component.mjs +15 -5
- 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 +3 -3
- 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/calendar/date-picker.component.mjs +15 -5
- 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 +3 -3
- 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-calendar.mjs +14 -4
- package/fesm2015/pdm-ui-kit-src-calendar.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 +2 -2
- 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 +828 -215
- 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-calendar.mjs +14 -4
- package/fesm2020/pdm-ui-kit-src-calendar.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 +2 -2
- 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 +687 -215
- 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/calendar/date-picker.component.d.ts +2 -1
- 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/fesm2015/pdm-ui-kit.mjs
CHANGED
|
@@ -12,12 +12,16 @@ 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 { __awaiter } from 'tslib';
|
|
24
|
+
import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
21
25
|
|
|
22
26
|
class PdmAccordionComponent {
|
|
23
27
|
constructor() {
|
|
@@ -59,7 +63,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
59
63
|
type: Output
|
|
60
64
|
}] } });
|
|
61
65
|
|
|
62
|
-
const COMPONENTS$
|
|
66
|
+
const COMPONENTS$D = [
|
|
63
67
|
PdmAccordionComponent,
|
|
64
68
|
];
|
|
65
69
|
class PdmAccordionModule {
|
|
@@ -71,8 +75,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
71
75
|
type: NgModule,
|
|
72
76
|
args: [{
|
|
73
77
|
imports: [CommonModule],
|
|
74
|
-
declarations: COMPONENTS$
|
|
75
|
-
exports: COMPONENTS$
|
|
78
|
+
declarations: COMPONENTS$D,
|
|
79
|
+
exports: COMPONENTS$D
|
|
76
80
|
}]
|
|
77
81
|
}] });
|
|
78
82
|
|
|
@@ -92,10 +96,10 @@ class PdmAlertComponent {
|
|
|
92
96
|
}
|
|
93
97
|
}
|
|
94
98
|
PdmAlertComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
95
|
-
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 });
|
|
99
|
+
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 });
|
|
96
100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAlertComponent, decorators: [{
|
|
97
101
|
type: Component,
|
|
98
|
-
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" }]
|
|
102
|
+
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" }]
|
|
99
103
|
}], propDecorators: { variant: [{
|
|
100
104
|
type: Input
|
|
101
105
|
}], title: [{
|
|
@@ -192,7 +196,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
192
196
|
args: ['document:keydown.escape']
|
|
193
197
|
}] } });
|
|
194
198
|
|
|
195
|
-
const COMPONENTS$
|
|
199
|
+
const COMPONENTS$C = [
|
|
196
200
|
PdmAlertComponent,
|
|
197
201
|
PdmAlertDialogComponent,
|
|
198
202
|
];
|
|
@@ -207,8 +211,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
207
211
|
type: NgModule,
|
|
208
212
|
args: [{
|
|
209
213
|
imports: [CommonModule],
|
|
210
|
-
declarations: COMPONENTS$
|
|
211
|
-
exports: COMPONENTS$
|
|
214
|
+
declarations: COMPONENTS$C,
|
|
215
|
+
exports: COMPONENTS$C
|
|
212
216
|
}]
|
|
213
217
|
}] });
|
|
214
218
|
|
|
@@ -226,10 +230,10 @@ class PdmAspectRatioComponent {
|
|
|
226
230
|
}
|
|
227
231
|
}
|
|
228
232
|
PdmAspectRatioComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
229
|
-
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 });
|
|
233
|
+
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 });
|
|
230
234
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioComponent, decorators: [{
|
|
231
235
|
type: Component,
|
|
232
|
-
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" }]
|
|
236
|
+
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" }]
|
|
233
237
|
}], propDecorators: { ratio: [{
|
|
234
238
|
type: Input
|
|
235
239
|
}], imageSrc: [{
|
|
@@ -240,20 +244,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
240
244
|
type: Input
|
|
241
245
|
}] } });
|
|
242
246
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
247
|
+
/**
|
|
248
|
+
* @deprecated Import PdmAspectRatioComponent directly instead. This module is kept for backwards compatibility.
|
|
249
|
+
* For modern Angular (v14+), use: import { PdmAspectRatioComponent } from 'pdm-ui-kit/aspect-ratio'
|
|
250
|
+
*/
|
|
246
251
|
class PdmAspectRatioModule {
|
|
247
252
|
}
|
|
248
253
|
PdmAspectRatioModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
249
|
-
PdmAspectRatioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule,
|
|
250
|
-
PdmAspectRatioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, imports: [
|
|
254
|
+
PdmAspectRatioModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, imports: [PdmAspectRatioComponent], exports: [PdmAspectRatioComponent] });
|
|
255
|
+
PdmAspectRatioModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, imports: [PdmAspectRatioComponent] });
|
|
251
256
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmAspectRatioModule, decorators: [{
|
|
252
257
|
type: NgModule,
|
|
253
258
|
args: [{
|
|
254
|
-
imports: [
|
|
255
|
-
|
|
256
|
-
exports: COMPONENTS$I
|
|
259
|
+
imports: [PdmAspectRatioComponent],
|
|
260
|
+
exports: [PdmAspectRatioComponent]
|
|
257
261
|
}]
|
|
258
262
|
}] });
|
|
259
263
|
|
|
@@ -300,7 +304,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
300
304
|
type: Input
|
|
301
305
|
}] } });
|
|
302
306
|
|
|
303
|
-
const COMPONENTS$
|
|
307
|
+
const COMPONENTS$B = [
|
|
304
308
|
PdmAvatarComponent,
|
|
305
309
|
];
|
|
306
310
|
class PdmAvatarModule {
|
|
@@ -312,8 +316,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
312
316
|
type: NgModule,
|
|
313
317
|
args: [{
|
|
314
318
|
imports: [CommonModule],
|
|
315
|
-
declarations: COMPONENTS$
|
|
316
|
-
exports: COMPONENTS$
|
|
319
|
+
declarations: COMPONENTS$B,
|
|
320
|
+
exports: COMPONENTS$B
|
|
317
321
|
}]
|
|
318
322
|
}] });
|
|
319
323
|
|
|
@@ -325,10 +329,10 @@ class PdmBadgeComponent {
|
|
|
325
329
|
}
|
|
326
330
|
}
|
|
327
331
|
PdmBadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
328
|
-
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 });
|
|
332
|
+
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 });
|
|
329
333
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeComponent, decorators: [{
|
|
330
334
|
type: Component,
|
|
331
|
-
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" }]
|
|
335
|
+
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" }]
|
|
332
336
|
}], propDecorators: { variant: [{
|
|
333
337
|
type: Input
|
|
334
338
|
}], text: [{
|
|
@@ -337,20 +341,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
337
341
|
type: Input
|
|
338
342
|
}] } });
|
|
339
343
|
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
344
|
+
/**
|
|
345
|
+
* @deprecated Import PdmBadgeComponent directly instead. This module is kept for backwards compatibility.
|
|
346
|
+
* For modern Angular (v14+), use: import { PdmBadgeComponent } from 'pdm-ui-kit/badge'
|
|
347
|
+
*/
|
|
343
348
|
class PdmBadgeModule {
|
|
344
349
|
}
|
|
345
350
|
PdmBadgeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
346
|
-
PdmBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule,
|
|
347
|
-
PdmBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, imports: [
|
|
351
|
+
PdmBadgeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, imports: [PdmBadgeComponent], exports: [PdmBadgeComponent] });
|
|
352
|
+
PdmBadgeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, imports: [PdmBadgeComponent] });
|
|
348
353
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmBadgeModule, decorators: [{
|
|
349
354
|
type: NgModule,
|
|
350
355
|
args: [{
|
|
351
|
-
imports: [
|
|
352
|
-
|
|
353
|
-
exports: COMPONENTS$G
|
|
356
|
+
imports: [PdmBadgeComponent],
|
|
357
|
+
exports: [PdmBadgeComponent]
|
|
354
358
|
}]
|
|
355
359
|
}] });
|
|
356
360
|
|
|
@@ -413,7 +417,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
413
417
|
type: Input
|
|
414
418
|
}] } });
|
|
415
419
|
|
|
416
|
-
const COMPONENTS$
|
|
420
|
+
const COMPONENTS$A = [
|
|
417
421
|
PdmBreadcrumbComponent,
|
|
418
422
|
];
|
|
419
423
|
class PdmBreadcrumbModule {
|
|
@@ -425,11 +429,66 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
425
429
|
type: NgModule,
|
|
426
430
|
args: [{
|
|
427
431
|
imports: [CommonModule],
|
|
428
|
-
declarations: COMPONENTS$
|
|
429
|
-
exports: COMPONENTS$
|
|
432
|
+
declarations: COMPONENTS$A,
|
|
433
|
+
exports: COMPONENTS$A
|
|
430
434
|
}]
|
|
431
435
|
}] });
|
|
432
436
|
|
|
437
|
+
const BUTTON_TONE_MAP = {
|
|
438
|
+
default: {
|
|
439
|
+
default: 'border-primary bg-primary text-primary-foreground',
|
|
440
|
+
hover: 'border-primary bg-primary text-primary-foreground opacity-90',
|
|
441
|
+
},
|
|
442
|
+
primary: {
|
|
443
|
+
default: 'border-primary bg-primary text-primary-foreground',
|
|
444
|
+
hover: 'border-primary bg-primary text-primary-foreground opacity-90',
|
|
445
|
+
},
|
|
446
|
+
destructive: {
|
|
447
|
+
default: 'border-border bg-destructive text-destructive-foreground',
|
|
448
|
+
hover: 'border-border bg-destructive text-destructive-foreground opacity-90',
|
|
449
|
+
},
|
|
450
|
+
outline: {
|
|
451
|
+
default: 'border-border bg-background text-foreground',
|
|
452
|
+
hover: 'border-border bg-muted text-foreground',
|
|
453
|
+
},
|
|
454
|
+
subtle: {
|
|
455
|
+
default: 'border-secondary bg-secondary text-secondary-foreground',
|
|
456
|
+
hover: 'border-accent bg-accent text-accent-foreground',
|
|
457
|
+
},
|
|
458
|
+
secondary: {
|
|
459
|
+
default: 'border-secondary bg-secondary text-secondary-foreground',
|
|
460
|
+
hover: 'border-accent bg-accent text-accent-foreground',
|
|
461
|
+
},
|
|
462
|
+
ghost: {
|
|
463
|
+
default: 'border-border bg-transparent text-foreground',
|
|
464
|
+
hover: 'border-border bg-accent text-accent-foreground',
|
|
465
|
+
},
|
|
466
|
+
link: {
|
|
467
|
+
default: 'border-border bg-transparent text-primary',
|
|
468
|
+
hover: 'border-border bg-transparent text-primary underline underline-offset-4',
|
|
469
|
+
},
|
|
470
|
+
'with-icon': {
|
|
471
|
+
default: 'border-primary bg-primary text-primary-foreground',
|
|
472
|
+
hover: 'border-primary bg-primary text-primary-foreground opacity-90',
|
|
473
|
+
},
|
|
474
|
+
icon: {
|
|
475
|
+
default: 'border-border bg-background text-foreground',
|
|
476
|
+
hover: 'border-border bg-accent text-accent-foreground',
|
|
477
|
+
},
|
|
478
|
+
'icon-circle': {
|
|
479
|
+
default: 'border-border bg-background text-foreground',
|
|
480
|
+
hover: 'border-border bg-accent text-accent-foreground',
|
|
481
|
+
},
|
|
482
|
+
rounded: {
|
|
483
|
+
default: 'border-border bg-background text-foreground',
|
|
484
|
+
hover: 'border-border bg-accent text-accent-foreground',
|
|
485
|
+
},
|
|
486
|
+
loading: {
|
|
487
|
+
default: 'border-primary bg-primary text-primary-foreground opacity-70',
|
|
488
|
+
hover: 'border-primary bg-primary text-primary-foreground opacity-70',
|
|
489
|
+
},
|
|
490
|
+
};
|
|
491
|
+
|
|
433
492
|
class PdmButtonComponent {
|
|
434
493
|
constructor() {
|
|
435
494
|
this.type = 'button';
|
|
@@ -440,21 +499,7 @@ class PdmButtonComponent {
|
|
|
440
499
|
this.loading = false;
|
|
441
500
|
this.className = '';
|
|
442
501
|
this.pressed = new EventEmitter();
|
|
443
|
-
this.toneClassMap =
|
|
444
|
-
default: { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
|
|
445
|
-
primary: { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
|
|
446
|
-
destructive: { default: 'border-border bg-destructive text-destructive-foreground', hover: 'border-border bg-destructive text-destructive-foreground opacity-90' },
|
|
447
|
-
outline: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-muted text-foreground' },
|
|
448
|
-
subtle: { default: 'border-secondary bg-secondary text-secondary-foreground', hover: 'border-accent bg-accent text-accent-foreground' },
|
|
449
|
-
secondary: { default: 'border-secondary bg-secondary text-secondary-foreground', hover: 'border-accent bg-accent text-accent-foreground' },
|
|
450
|
-
ghost: { default: 'border-border bg-transparent text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
|
|
451
|
-
link: { default: 'border-border bg-transparent text-primary', hover: 'border-border bg-transparent text-primary underline underline-offset-4' },
|
|
452
|
-
'with-icon': { default: 'border-primary bg-primary text-primary-foreground', hover: 'border-primary bg-primary text-primary-foreground opacity-90' },
|
|
453
|
-
icon: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
|
|
454
|
-
'icon-circle': { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
|
|
455
|
-
rounded: { default: 'border-border bg-background text-foreground', hover: 'border-border bg-accent text-accent-foreground' },
|
|
456
|
-
loading: { default: 'border-primary bg-primary text-primary-foreground opacity-70', hover: 'border-primary bg-primary text-primary-foreground opacity-70' }
|
|
457
|
-
};
|
|
502
|
+
this.toneClassMap = BUTTON_TONE_MAP;
|
|
458
503
|
}
|
|
459
504
|
get isDisabled() {
|
|
460
505
|
return this.disabled || this.loading || this.variant === 'loading';
|
|
@@ -519,10 +564,10 @@ class PdmButtonComponent {
|
|
|
519
564
|
}
|
|
520
565
|
}
|
|
521
566
|
PdmButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
522
|
-
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 });
|
|
567
|
+
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 });
|
|
523
568
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmButtonComponent, decorators: [{
|
|
524
569
|
type: Component,
|
|
525
|
-
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" }]
|
|
570
|
+
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" }]
|
|
526
571
|
}], propDecorators: { type: [{
|
|
527
572
|
type: Input
|
|
528
573
|
}], variant: [{
|
|
@@ -775,7 +820,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
775
820
|
type: Input
|
|
776
821
|
}] } });
|
|
777
822
|
|
|
778
|
-
const COMPONENTS$
|
|
823
|
+
const COMPONENTS$z = [
|
|
779
824
|
PdmButtonComponent,
|
|
780
825
|
PdmButtonGroupComponent,
|
|
781
826
|
];
|
|
@@ -790,8 +835,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
790
835
|
type: NgModule,
|
|
791
836
|
args: [{
|
|
792
837
|
imports: [CommonModule],
|
|
793
|
-
declarations: COMPONENTS$
|
|
794
|
-
exports: COMPONENTS$
|
|
838
|
+
declarations: COMPONENTS$z,
|
|
839
|
+
exports: COMPONENTS$z
|
|
795
840
|
}]
|
|
796
841
|
}] });
|
|
797
842
|
|
|
@@ -1342,6 +1387,7 @@ class PdmDatePickerComponent {
|
|
|
1342
1387
|
this.labelClassName = "";
|
|
1343
1388
|
this.className = "";
|
|
1344
1389
|
this.triggerClassName = "";
|
|
1390
|
+
this.iconOnly = false;
|
|
1345
1391
|
/**
|
|
1346
1392
|
* Additional CSS classes applied to the overlay panel.
|
|
1347
1393
|
* Backward-compatible: mapped to `overlayOptions.panelClass` when `overlayOptions` is not set.
|
|
@@ -1446,15 +1492,22 @@ class PdmDatePickerComponent {
|
|
|
1446
1492
|
get rootClasses() {
|
|
1447
1493
|
return [
|
|
1448
1494
|
"grid gap-2",
|
|
1449
|
-
this.
|
|
1495
|
+
this.iconOnly
|
|
1496
|
+
? "inline-grid w-auto"
|
|
1497
|
+
: this.resolvedVariant === "range"
|
|
1498
|
+
? "w-[280px]"
|
|
1499
|
+
: "w-[197px]",
|
|
1450
1500
|
this.className,
|
|
1451
1501
|
];
|
|
1452
1502
|
}
|
|
1453
1503
|
get triggerClasses() {
|
|
1454
1504
|
const focusStyle = this._open || this.triggerFocused;
|
|
1455
1505
|
return [
|
|
1456
|
-
"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 relative flex
|
|
1506
|
+
"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 relative flex appearance-none box-border items-center overflow-hidden rounded-lg border border-solid bg-background text-sm shadow-sm outline-none transition-colors",
|
|
1457
1507
|
"min-h-[36px] disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
1508
|
+
this.iconOnly
|
|
1509
|
+
? "size-9 justify-center p-0"
|
|
1510
|
+
: "w-full gap-2 px-3 py-[7.5px] text-left",
|
|
1458
1511
|
focusStyle ? "border-ring ring-2 ring-ring/50" : "",
|
|
1459
1512
|
this.invalid ? "border-destructive ring-destructive/20" : "",
|
|
1460
1513
|
this.triggerClassName,
|
|
@@ -1599,10 +1652,10 @@ class PdmDatePickerComponent {
|
|
|
1599
1652
|
}
|
|
1600
1653
|
}
|
|
1601
1654
|
PdmDatePickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDatePickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1$1.Overlay }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1602
|
-
PdmDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmDatePickerComponent, selector: "pdm-date-picker", inputs: { id: "id", variant: "variant", label: "label", labelClassName: "labelClassName", className: "className", triggerClassName: "triggerClassName", panelClassName: "panelClassName", overlayOptions: "overlayOptions", placeholder: "placeholder", rangePlaceholder: "rangePlaceholder", format: "format", disabled: "disabled", readonly: "readonly", required: "required", invalid: "invalid", allowSameDayRange: "allowSameDayRange", closeOnSelect: "closeOnSelect", minDate: "minDate", maxDate: "maxDate", minYear: "minYear", maxYear: "maxYear", disabledDates: "disabledDates", isDateDisabled: "isDateDisabled", open: "open", value: "value", rangeValue: "rangeValue" }, outputs: { valueChange: "valueChange", rangeValueChange: "rangeValueChange", openChange: "openChange", monthChange: "monthChange" }, host: { listeners: { "document:keydown.escape": "onEscape()" } }, viewQueries: [{ propertyName: "triggerRef", first: true, predicate: ["triggerEl"], descendants: true }, { propertyName: "panelTemplateRef", first: true, predicate: ["panelTemplate"], descendants: true }], ngImport: i0, template: "<div [ngClass]=\"rootClasses\">\n <pdm-label *ngIf=\"label\" [forId]=\"triggerId\" [required]=\"required\" [className]=\"labelClassName\">\n {{ label }}\n </pdm-label>\n\n <button\n #triggerEl\n type=\"button\"\n [id]=\"triggerId\"\n [disabled]=\"disabled\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"panelId\"\n [attr.aria-haspopup]=\"'dialog'\"\n [attr.aria-invalid]=\"invalid\"\n [ngClass]=\"triggerClasses\"\n [attr.title]=\"displayText\"\n (click)=\"toggleOpen()\"\n (focus)=\"onTriggerFocus()\"\n (blur)=\"onTriggerBlur()\"\n >\n <span class=\"flex h-5 w-5 shrink-0 items-center justify-center p-0.5 text-muted-foreground\" aria-hidden=\"true\">\n <svg viewBox=\"0 0 24 24\" class=\"h-4 w-4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\">\n <path d=\"M8 2v4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path d=\"M16 2v4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <rect x=\"3\" y=\"4.5\" width=\"18\" height=\"16.5\" rx=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></rect>\n <path d=\"M3 9.5h18\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n </span>\n\n <span [ngClass]=\"textClasses\">{{ displayText }}</span>\n </button>\n</div>\n\n<ng-template #panelTemplate>\n <div [id]=\"panelId\" role=\"dialog\" [attr.aria-labelledby]=\"label ? triggerId : null\">\n <pdm-calendar\n [variant]=\"resolvedVariant\"\n [value]=\"value\"\n [rangeValue]=\"rangeValue\"\n [readonly]=\"readonly\"\n [allowSameDayRange]=\"allowSameDayRange\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n [disabledDates]=\"disabledDates\"\n [isDateDisabled]=\"isDateDisabled\"\n (valueChange)=\"onCalendarValueChange($event)\"\n (rangeValueChange)=\"onCalendarRangeValueChange($event)\"\n (monthChange)=\"onCalendarMonthChange($event)\"\n ></pdm-calendar>\n </div>\n</ng-template>\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: i3.PdmLabelComponent, selector: "pdm-label", inputs: ["forId", "required", "className"] }, { kind: "component", type: PdmCalendarComponent, selector: "pdm-calendar", inputs: ["variant", "className", "disabledDates", "minDate", "maxDate", "minYear", "maxYear", "isDateDisabled", "allowSameDayRange", "readonly", "value", "rangeValue", "month"], outputs: ["valueChange", "rangeValueChange", "monthChange", "dateClick", "disabledDateClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1655
|
+
PdmDatePickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: PdmDatePickerComponent, selector: "pdm-date-picker", inputs: { id: "id", variant: "variant", label: "label", labelClassName: "labelClassName", className: "className", triggerClassName: "triggerClassName", iconOnly: "iconOnly", panelClassName: "panelClassName", overlayOptions: "overlayOptions", placeholder: "placeholder", rangePlaceholder: "rangePlaceholder", format: "format", disabled: "disabled", readonly: "readonly", required: "required", invalid: "invalid", allowSameDayRange: "allowSameDayRange", closeOnSelect: "closeOnSelect", minDate: "minDate", maxDate: "maxDate", minYear: "minYear", maxYear: "maxYear", disabledDates: "disabledDates", isDateDisabled: "isDateDisabled", open: "open", value: "value", rangeValue: "rangeValue" }, outputs: { valueChange: "valueChange", rangeValueChange: "rangeValueChange", openChange: "openChange", monthChange: "monthChange" }, host: { listeners: { "document:keydown.escape": "onEscape()" } }, viewQueries: [{ propertyName: "triggerRef", first: true, predicate: ["triggerEl"], descendants: true }, { propertyName: "panelTemplateRef", first: true, predicate: ["panelTemplate"], descendants: true }], ngImport: i0, template: "<div [ngClass]=\"rootClasses\">\n <pdm-label *ngIf=\"label\" [forId]=\"triggerId\" [required]=\"required\" [className]=\"labelClassName\">\n {{ label }}\n </pdm-label>\n\n <button\n #triggerEl\n type=\"button\"\n [id]=\"triggerId\"\n [disabled]=\"disabled\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"panelId\"\n [attr.aria-haspopup]=\"'dialog'\"\n [attr.aria-invalid]=\"invalid\"\n [attr.aria-label]=\"iconOnly ? displayText : null\"\n [ngClass]=\"triggerClasses\"\n [attr.title]=\"displayText\"\n (click)=\"toggleOpen()\"\n (focus)=\"onTriggerFocus()\"\n (blur)=\"onTriggerBlur()\"\n >\n <span class=\"flex h-5 w-5 shrink-0 items-center justify-center p-0.5 text-muted-foreground\" aria-hidden=\"true\">\n <svg viewBox=\"0 0 24 24\" class=\"h-4 w-4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\">\n <path d=\"M8 2v4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path d=\"M16 2v4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <rect x=\"3\" y=\"4.5\" width=\"18\" height=\"16.5\" rx=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></rect>\n <path d=\"M3 9.5h18\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n </span>\n\n <span *ngIf=\"!iconOnly\" [ngClass]=\"textClasses\">{{ displayText }}</span>\n </button>\n</div>\n\n<ng-template #panelTemplate>\n <div [id]=\"panelId\" role=\"dialog\" [attr.aria-labelledby]=\"label ? triggerId : null\">\n <pdm-calendar\n [variant]=\"resolvedVariant\"\n [value]=\"value\"\n [rangeValue]=\"rangeValue\"\n [readonly]=\"readonly\"\n [allowSameDayRange]=\"allowSameDayRange\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n [disabledDates]=\"disabledDates\"\n [isDateDisabled]=\"isDateDisabled\"\n (valueChange)=\"onCalendarValueChange($event)\"\n (rangeValueChange)=\"onCalendarRangeValueChange($event)\"\n (monthChange)=\"onCalendarMonthChange($event)\"\n ></pdm-calendar>\n </div>\n</ng-template>\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: i3.PdmLabelComponent, selector: "pdm-label", inputs: ["forId", "required", "className"] }, { kind: "component", type: PdmCalendarComponent, selector: "pdm-calendar", inputs: ["variant", "className", "disabledDates", "minDate", "maxDate", "minYear", "maxYear", "isDateDisabled", "allowSameDayRange", "readonly", "value", "rangeValue", "month"], outputs: ["valueChange", "rangeValueChange", "monthChange", "dateClick", "disabledDateClick"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1603
1656
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDatePickerComponent, decorators: [{
|
|
1604
1657
|
type: Component,
|
|
1605
|
-
args: [{ selector: "pdm-date-picker", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"rootClasses\">\n <pdm-label *ngIf=\"label\" [forId]=\"triggerId\" [required]=\"required\" [className]=\"labelClassName\">\n {{ label }}\n </pdm-label>\n\n <button\n #triggerEl\n type=\"button\"\n [id]=\"triggerId\"\n [disabled]=\"disabled\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"panelId\"\n [attr.aria-haspopup]=\"'dialog'\"\n [attr.aria-invalid]=\"invalid\"\n [ngClass]=\"triggerClasses\"\n [attr.title]=\"displayText\"\n (click)=\"toggleOpen()\"\n (focus)=\"onTriggerFocus()\"\n (blur)=\"onTriggerBlur()\"\n >\n <span class=\"flex h-5 w-5 shrink-0 items-center justify-center p-0.5 text-muted-foreground\" aria-hidden=\"true\">\n <svg viewBox=\"0 0 24 24\" class=\"h-4 w-4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\">\n <path d=\"M8 2v4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path d=\"M16 2v4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <rect x=\"3\" y=\"4.5\" width=\"18\" height=\"16.5\" rx=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></rect>\n <path d=\"M3 9.5h18\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n </span>\n\n <span [ngClass]=\"textClasses\">{{ displayText }}</span>\n </button>\n</div>\n\n<ng-template #panelTemplate>\n <div [id]=\"panelId\" role=\"dialog\" [attr.aria-labelledby]=\"label ? triggerId : null\">\n <pdm-calendar\n [variant]=\"resolvedVariant\"\n [value]=\"value\"\n [rangeValue]=\"rangeValue\"\n [readonly]=\"readonly\"\n [allowSameDayRange]=\"allowSameDayRange\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n [disabledDates]=\"disabledDates\"\n [isDateDisabled]=\"isDateDisabled\"\n (valueChange)=\"onCalendarValueChange($event)\"\n (rangeValueChange)=\"onCalendarRangeValueChange($event)\"\n (monthChange)=\"onCalendarMonthChange($event)\"\n ></pdm-calendar>\n </div>\n</ng-template>\n" }]
|
|
1658
|
+
args: [{ selector: "pdm-date-picker", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"rootClasses\">\n <pdm-label *ngIf=\"label\" [forId]=\"triggerId\" [required]=\"required\" [className]=\"labelClassName\">\n {{ label }}\n </pdm-label>\n\n <button\n #triggerEl\n type=\"button\"\n [id]=\"triggerId\"\n [disabled]=\"disabled\"\n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"panelId\"\n [attr.aria-haspopup]=\"'dialog'\"\n [attr.aria-invalid]=\"invalid\"\n [attr.aria-label]=\"iconOnly ? displayText : null\"\n [ngClass]=\"triggerClasses\"\n [attr.title]=\"displayText\"\n (click)=\"toggleOpen()\"\n (focus)=\"onTriggerFocus()\"\n (blur)=\"onTriggerBlur()\"\n >\n <span class=\"flex h-5 w-5 shrink-0 items-center justify-center p-0.5 text-muted-foreground\" aria-hidden=\"true\">\n <svg viewBox=\"0 0 24 24\" class=\"h-4 w-4\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\">\n <path d=\"M8 2v4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path d=\"M16 2v4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <rect x=\"3\" y=\"4.5\" width=\"18\" height=\"16.5\" rx=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></rect>\n <path d=\"M3 9.5h18\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>\n </span>\n\n <span *ngIf=\"!iconOnly\" [ngClass]=\"textClasses\">{{ displayText }}</span>\n </button>\n</div>\n\n<ng-template #panelTemplate>\n <div [id]=\"panelId\" role=\"dialog\" [attr.aria-labelledby]=\"label ? triggerId : null\">\n <pdm-calendar\n [variant]=\"resolvedVariant\"\n [value]=\"value\"\n [rangeValue]=\"rangeValue\"\n [readonly]=\"readonly\"\n [allowSameDayRange]=\"allowSameDayRange\"\n [minDate]=\"minDate\"\n [maxDate]=\"maxDate\"\n [minYear]=\"minYear\"\n [maxYear]=\"maxYear\"\n [disabledDates]=\"disabledDates\"\n [isDateDisabled]=\"isDateDisabled\"\n (valueChange)=\"onCalendarValueChange($event)\"\n (rangeValueChange)=\"onCalendarRangeValueChange($event)\"\n (monthChange)=\"onCalendarMonthChange($event)\"\n ></pdm-calendar>\n </div>\n</ng-template>\n" }]
|
|
1606
1659
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1$1.Overlay }, { type: i0.ViewContainerRef }]; }, propDecorators: { triggerRef: [{
|
|
1607
1660
|
type: ViewChild,
|
|
1608
1661
|
args: ["triggerEl"]
|
|
@@ -1621,6 +1674,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1621
1674
|
type: Input
|
|
1622
1675
|
}], triggerClassName: [{
|
|
1623
1676
|
type: Input
|
|
1677
|
+
}], iconOnly: [{
|
|
1678
|
+
type: Input
|
|
1624
1679
|
}], panelClassName: [{
|
|
1625
1680
|
type: Input
|
|
1626
1681
|
}], overlayOptions: [{
|
|
@@ -1674,7 +1729,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1674
1729
|
args: ["document:keydown.escape"]
|
|
1675
1730
|
}] } });
|
|
1676
1731
|
|
|
1677
|
-
const COMPONENTS$
|
|
1732
|
+
const COMPONENTS$y = [PdmCalendarComponent, PdmDatePickerComponent];
|
|
1678
1733
|
class PdmCalendarModule {
|
|
1679
1734
|
}
|
|
1680
1735
|
PdmCalendarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmCalendarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -1684,8 +1739,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1684
1739
|
type: NgModule,
|
|
1685
1740
|
args: [{
|
|
1686
1741
|
imports: [CommonModule, OverlayModule, PdmLabelModule$1],
|
|
1687
|
-
declarations: COMPONENTS$
|
|
1688
|
-
exports: COMPONENTS$
|
|
1742
|
+
declarations: COMPONENTS$y,
|
|
1743
|
+
exports: COMPONENTS$y,
|
|
1689
1744
|
}]
|
|
1690
1745
|
}] });
|
|
1691
1746
|
|
|
@@ -1734,7 +1789,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1734
1789
|
type: Input
|
|
1735
1790
|
}] } });
|
|
1736
1791
|
|
|
1737
|
-
const COMPONENTS$
|
|
1792
|
+
const COMPONENTS$x = [
|
|
1738
1793
|
PdmCardComponent,
|
|
1739
1794
|
];
|
|
1740
1795
|
class PdmCardModule {
|
|
@@ -1746,8 +1801,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1746
1801
|
type: NgModule,
|
|
1747
1802
|
args: [{
|
|
1748
1803
|
imports: [CommonModule],
|
|
1749
|
-
declarations: COMPONENTS$
|
|
1750
|
-
exports: COMPONENTS$
|
|
1804
|
+
declarations: COMPONENTS$x,
|
|
1805
|
+
exports: COMPONENTS$x
|
|
1751
1806
|
}]
|
|
1752
1807
|
}] });
|
|
1753
1808
|
|
|
@@ -1850,7 +1905,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1850
1905
|
type: Output
|
|
1851
1906
|
}] } });
|
|
1852
1907
|
|
|
1853
|
-
const COMPONENTS$
|
|
1908
|
+
const COMPONENTS$w = [
|
|
1854
1909
|
PdmCarouselComponent,
|
|
1855
1910
|
];
|
|
1856
1911
|
class PdmCarouselModule {
|
|
@@ -1862,8 +1917,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
1862
1917
|
type: NgModule,
|
|
1863
1918
|
args: [{
|
|
1864
1919
|
imports: [CommonModule],
|
|
1865
|
-
declarations: COMPONENTS$
|
|
1866
|
-
exports: COMPONENTS$
|
|
1920
|
+
declarations: COMPONENTS$w,
|
|
1921
|
+
exports: COMPONENTS$w
|
|
1867
1922
|
}]
|
|
1868
1923
|
}] });
|
|
1869
1924
|
|
|
@@ -2042,7 +2097,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2042
2097
|
type: Input
|
|
2043
2098
|
}] } });
|
|
2044
2099
|
|
|
2045
|
-
const COMPONENTS$
|
|
2100
|
+
const COMPONENTS$v = [
|
|
2046
2101
|
PdmChartComponent,
|
|
2047
2102
|
];
|
|
2048
2103
|
class PdmChartModule {
|
|
@@ -2054,8 +2109,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2054
2109
|
type: NgModule,
|
|
2055
2110
|
args: [{
|
|
2056
2111
|
imports: [CommonModule],
|
|
2057
|
-
declarations: COMPONENTS$
|
|
2058
|
-
exports: COMPONENTS$
|
|
2112
|
+
declarations: COMPONENTS$v,
|
|
2113
|
+
exports: COMPONENTS$v
|
|
2059
2114
|
}]
|
|
2060
2115
|
}] });
|
|
2061
2116
|
|
|
@@ -2103,7 +2158,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2103
2158
|
type: Output
|
|
2104
2159
|
}] } });
|
|
2105
2160
|
|
|
2106
|
-
const COMPONENTS$
|
|
2161
|
+
const COMPONENTS$u = [
|
|
2107
2162
|
PdmCheckboxComponent,
|
|
2108
2163
|
];
|
|
2109
2164
|
class PdmCheckboxModule {
|
|
@@ -2115,8 +2170,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2115
2170
|
type: NgModule,
|
|
2116
2171
|
args: [{
|
|
2117
2172
|
imports: [CommonModule],
|
|
2118
|
-
declarations: COMPONENTS$
|
|
2119
|
-
exports: COMPONENTS$
|
|
2173
|
+
declarations: COMPONENTS$u,
|
|
2174
|
+
exports: COMPONENTS$u
|
|
2120
2175
|
}]
|
|
2121
2176
|
}] });
|
|
2122
2177
|
|
|
@@ -2160,7 +2215,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2160
2215
|
type: Output
|
|
2161
2216
|
}] } });
|
|
2162
2217
|
|
|
2163
|
-
const COMPONENTS$
|
|
2218
|
+
const COMPONENTS$t = [
|
|
2164
2219
|
PdmCollapsibleComponent,
|
|
2165
2220
|
];
|
|
2166
2221
|
class PdmCollapsibleModule {
|
|
@@ -2172,8 +2227,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2172
2227
|
type: NgModule,
|
|
2173
2228
|
args: [{
|
|
2174
2229
|
imports: [CommonModule],
|
|
2175
|
-
declarations: COMPONENTS$
|
|
2176
|
-
exports: COMPONENTS$
|
|
2230
|
+
declarations: COMPONENTS$t,
|
|
2231
|
+
exports: COMPONENTS$t
|
|
2177
2232
|
}]
|
|
2178
2233
|
}] });
|
|
2179
2234
|
|
|
@@ -2345,7 +2400,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2345
2400
|
args: ["document:keydown.escape"]
|
|
2346
2401
|
}] } });
|
|
2347
2402
|
|
|
2348
|
-
const COMPONENTS$
|
|
2403
|
+
const COMPONENTS$s = [
|
|
2349
2404
|
PdmComboboxComponent,
|
|
2350
2405
|
];
|
|
2351
2406
|
class PdmComboboxModule {
|
|
@@ -2357,8 +2412,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2357
2412
|
type: NgModule,
|
|
2358
2413
|
args: [{
|
|
2359
2414
|
imports: [CommonModule, OverlayModule],
|
|
2360
|
-
declarations: COMPONENTS$
|
|
2361
|
-
exports: COMPONENTS$
|
|
2415
|
+
declarations: COMPONENTS$s,
|
|
2416
|
+
exports: COMPONENTS$s
|
|
2362
2417
|
}]
|
|
2363
2418
|
}] });
|
|
2364
2419
|
|
|
@@ -2434,7 +2489,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2434
2489
|
type: Output
|
|
2435
2490
|
}] } });
|
|
2436
2491
|
|
|
2437
|
-
const COMPONENTS$
|
|
2492
|
+
const COMPONENTS$r = [PdmCommandComponent];
|
|
2438
2493
|
class PdmCommandModule {
|
|
2439
2494
|
}
|
|
2440
2495
|
PdmCommandModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmCommandModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -2444,8 +2499,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2444
2499
|
type: NgModule,
|
|
2445
2500
|
args: [{
|
|
2446
2501
|
imports: [CommonModule, PdmIconModule$1],
|
|
2447
|
-
declarations: COMPONENTS$
|
|
2448
|
-
exports: COMPONENTS$
|
|
2502
|
+
declarations: COMPONENTS$r,
|
|
2503
|
+
exports: COMPONENTS$r,
|
|
2449
2504
|
}]
|
|
2450
2505
|
}] });
|
|
2451
2506
|
|
|
@@ -2608,7 +2663,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2608
2663
|
args: ["document:click"]
|
|
2609
2664
|
}] } });
|
|
2610
2665
|
|
|
2611
|
-
const COMPONENTS$
|
|
2666
|
+
const COMPONENTS$q = [
|
|
2612
2667
|
PdmContextMenuComponent,
|
|
2613
2668
|
];
|
|
2614
2669
|
class PdmContextMenuModule {
|
|
@@ -2620,8 +2675,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
2620
2675
|
type: NgModule,
|
|
2621
2676
|
args: [{
|
|
2622
2677
|
imports: [CommonModule, OverlayModule],
|
|
2623
|
-
declarations: COMPONENTS$
|
|
2624
|
-
exports: COMPONENTS$
|
|
2678
|
+
declarations: COMPONENTS$q,
|
|
2679
|
+
exports: COMPONENTS$q
|
|
2625
2680
|
}]
|
|
2626
2681
|
}] });
|
|
2627
2682
|
|
|
@@ -3396,7 +3451,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
3396
3451
|
args: ['tableElement']
|
|
3397
3452
|
}] } });
|
|
3398
3453
|
|
|
3399
|
-
const COMPONENTS$
|
|
3454
|
+
const COMPONENTS$p = [
|
|
3400
3455
|
PdmDataTableComponent,
|
|
3401
3456
|
PdmDraggableTableComponent,
|
|
3402
3457
|
PdmTableComponent,
|
|
@@ -3414,8 +3469,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
3414
3469
|
type: NgModule,
|
|
3415
3470
|
args: [{
|
|
3416
3471
|
imports: [CommonModule],
|
|
3417
|
-
declarations: COMPONENTS$
|
|
3418
|
-
exports: COMPONENTS$
|
|
3472
|
+
declarations: COMPONENTS$p,
|
|
3473
|
+
exports: COMPONENTS$p
|
|
3419
3474
|
}]
|
|
3420
3475
|
}] });
|
|
3421
3476
|
|
|
@@ -3453,7 +3508,7 @@ class PdmDialogComponent {
|
|
|
3453
3508
|
* - desktop/mobile/mobile-fullscreen: legacy, deprecado
|
|
3454
3509
|
*/
|
|
3455
3510
|
this.size = "responsive";
|
|
3456
|
-
this.title = "
|
|
3511
|
+
this.title = "";
|
|
3457
3512
|
this.description = "";
|
|
3458
3513
|
this.closeOnBackdrop = true;
|
|
3459
3514
|
this.closeOnEsc = true;
|
|
@@ -3630,10 +3685,10 @@ class PdmDialogComponent {
|
|
|
3630
3685
|
}
|
|
3631
3686
|
}
|
|
3632
3687
|
PdmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3633
|
-
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 });
|
|
3688
|
+
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 });
|
|
3634
3689
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogComponent, decorators: [{
|
|
3635
3690
|
type: Component,
|
|
3636
|
-
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"] }]
|
|
3691
|
+
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"] }]
|
|
3637
3692
|
}], propDecorators: { open: [{
|
|
3638
3693
|
type: Input
|
|
3639
3694
|
}], variant: [{
|
|
@@ -3679,20 +3734,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
3679
3734
|
args: ["document:keydown.escape"]
|
|
3680
3735
|
}] } });
|
|
3681
3736
|
|
|
3682
|
-
const COMPONENTS$
|
|
3737
|
+
const COMPONENTS$o = [
|
|
3683
3738
|
PdmDialogComponent,
|
|
3684
3739
|
];
|
|
3685
3740
|
class PdmDialogModule {
|
|
3686
3741
|
}
|
|
3687
3742
|
PdmDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3688
|
-
PdmDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, declarations: [PdmDialogComponent], imports: [CommonModule], exports: [PdmDialogComponent] });
|
|
3689
|
-
PdmDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, imports: [CommonModule] });
|
|
3743
|
+
PdmDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, declarations: [PdmDialogComponent], imports: [CommonModule, A11yModule], exports: [PdmDialogComponent] });
|
|
3744
|
+
PdmDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, imports: [CommonModule, A11yModule] });
|
|
3690
3745
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDialogModule, decorators: [{
|
|
3691
3746
|
type: NgModule,
|
|
3692
3747
|
args: [{
|
|
3693
|
-
imports: [CommonModule],
|
|
3694
|
-
declarations: COMPONENTS$
|
|
3695
|
-
exports: COMPONENTS$
|
|
3748
|
+
imports: [CommonModule, A11yModule],
|
|
3749
|
+
declarations: COMPONENTS$o,
|
|
3750
|
+
exports: COMPONENTS$o
|
|
3696
3751
|
}]
|
|
3697
3752
|
}] });
|
|
3698
3753
|
|
|
@@ -4021,7 +4076,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4021
4076
|
args: ['document:keydown.escape']
|
|
4022
4077
|
}] } });
|
|
4023
4078
|
|
|
4024
|
-
const COMPONENTS$
|
|
4079
|
+
const COMPONENTS$n = [PdmDrawerComponent, PdmSheetComponent];
|
|
4025
4080
|
class PdmDrawerModule {
|
|
4026
4081
|
}
|
|
4027
4082
|
PdmDrawerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmDrawerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -4031,8 +4086,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4031
4086
|
type: NgModule,
|
|
4032
4087
|
args: [{
|
|
4033
4088
|
imports: [CommonModule, PdmIconModule$1],
|
|
4034
|
-
declarations: COMPONENTS$
|
|
4035
|
-
exports: COMPONENTS$
|
|
4089
|
+
declarations: COMPONENTS$n,
|
|
4090
|
+
exports: COMPONENTS$n,
|
|
4036
4091
|
}]
|
|
4037
4092
|
}] });
|
|
4038
4093
|
|
|
@@ -4215,7 +4270,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4215
4270
|
args: ['document:keydown.escape']
|
|
4216
4271
|
}] } });
|
|
4217
4272
|
|
|
4218
|
-
const COMPONENTS$
|
|
4273
|
+
const COMPONENTS$m = [
|
|
4219
4274
|
PdmDropdownMenuComponent,
|
|
4220
4275
|
];
|
|
4221
4276
|
class PdmDropdownMenuModule {
|
|
@@ -4227,8 +4282,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4227
4282
|
type: NgModule,
|
|
4228
4283
|
args: [{
|
|
4229
4284
|
imports: [CommonModule, OverlayModule],
|
|
4230
|
-
declarations: COMPONENTS$
|
|
4231
|
-
exports: COMPONENTS$
|
|
4285
|
+
declarations: COMPONENTS$m,
|
|
4286
|
+
exports: COMPONENTS$m
|
|
4232
4287
|
}]
|
|
4233
4288
|
}] });
|
|
4234
4289
|
|
|
@@ -4257,7 +4312,7 @@ class PdmEmptyComponent {
|
|
|
4257
4312
|
}
|
|
4258
4313
|
}
|
|
4259
4314
|
PdmEmptyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmEmptyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4260
|
-
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$
|
|
4315
|
+
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 });
|
|
4261
4316
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmEmptyComponent, decorators: [{
|
|
4262
4317
|
type: Component,
|
|
4263
4318
|
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" }]
|
|
@@ -4285,7 +4340,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4285
4340
|
type: Output
|
|
4286
4341
|
}] } });
|
|
4287
4342
|
|
|
4288
|
-
const COMPONENTS$
|
|
4343
|
+
const COMPONENTS$l = [PdmEmptyComponent];
|
|
4289
4344
|
class PdmEmptyModule {
|
|
4290
4345
|
}
|
|
4291
4346
|
PdmEmptyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmEmptyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -4295,8 +4350,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4295
4350
|
type: NgModule,
|
|
4296
4351
|
args: [{
|
|
4297
4352
|
imports: [CommonModule, PdmButtonModule$1, PdmIconModule$1],
|
|
4298
|
-
declarations: COMPONENTS$
|
|
4299
|
-
exports: COMPONENTS$
|
|
4353
|
+
declarations: COMPONENTS$l,
|
|
4354
|
+
exports: COMPONENTS$l,
|
|
4300
4355
|
}]
|
|
4301
4356
|
}] });
|
|
4302
4357
|
|
|
@@ -4361,7 +4416,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4361
4416
|
type: Input
|
|
4362
4417
|
}] } });
|
|
4363
4418
|
|
|
4364
|
-
const COMPONENTS$
|
|
4419
|
+
const COMPONENTS$k = [
|
|
4365
4420
|
PdmFieldComponent,
|
|
4366
4421
|
];
|
|
4367
4422
|
class PdmFieldModule {
|
|
@@ -4373,8 +4428,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4373
4428
|
type: NgModule,
|
|
4374
4429
|
args: [{
|
|
4375
4430
|
imports: [CommonModule],
|
|
4376
|
-
declarations: COMPONENTS$
|
|
4377
|
-
exports: COMPONENTS$
|
|
4431
|
+
declarations: COMPONENTS$k,
|
|
4432
|
+
exports: COMPONENTS$k
|
|
4378
4433
|
}]
|
|
4379
4434
|
}] });
|
|
4380
4435
|
|
|
@@ -4577,7 +4632,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4577
4632
|
args: ["focusout"]
|
|
4578
4633
|
}] } });
|
|
4579
4634
|
|
|
4580
|
-
const COMPONENTS$
|
|
4635
|
+
const COMPONENTS$j = [
|
|
4581
4636
|
PdmHoverCardComponent,
|
|
4582
4637
|
];
|
|
4583
4638
|
class PdmHoverCardModule {
|
|
@@ -4589,8 +4644,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4589
4644
|
type: NgModule,
|
|
4590
4645
|
args: [{
|
|
4591
4646
|
imports: [CommonModule, OverlayModule],
|
|
4592
|
-
declarations: COMPONENTS$
|
|
4593
|
-
exports: COMPONENTS$
|
|
4647
|
+
declarations: COMPONENTS$j,
|
|
4648
|
+
exports: COMPONENTS$j
|
|
4594
4649
|
}]
|
|
4595
4650
|
}] });
|
|
4596
4651
|
|
|
@@ -4714,10 +4769,10 @@ class PdmIconComponent {
|
|
|
4714
4769
|
}
|
|
4715
4770
|
}
|
|
4716
4771
|
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 });
|
|
4717
|
-
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 });
|
|
4772
|
+
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 });
|
|
4718
4773
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmIconComponent, decorators: [{
|
|
4719
4774
|
type: Component,
|
|
4720
|
-
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"] }]
|
|
4775
|
+
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"] }]
|
|
4721
4776
|
}], ctorParameters: function () { return [{ type: i1$2.DomSanitizer }]; }, propDecorators: { name: [{
|
|
4722
4777
|
type: Input
|
|
4723
4778
|
}], library: [{
|
|
@@ -4736,20 +4791,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
4736
4791
|
type: Input
|
|
4737
4792
|
}] } });
|
|
4738
4793
|
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4794
|
+
/**
|
|
4795
|
+
* @deprecated Import PdmIconComponent directly instead. This module is kept for backwards compatibility.
|
|
4796
|
+
* For modern Angular (v14+), use: import { PdmIconComponent } from 'pdm-ui-kit/icon'
|
|
4797
|
+
*/
|
|
4742
4798
|
class PdmIconModule {
|
|
4743
4799
|
}
|
|
4744
4800
|
PdmIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4745
|
-
PdmIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule,
|
|
4746
|
-
PdmIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule, imports: [
|
|
4801
|
+
PdmIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule, imports: [PdmIconComponent], exports: [PdmIconComponent] });
|
|
4802
|
+
PdmIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule, imports: [PdmIconComponent] });
|
|
4747
4803
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmIconModule, decorators: [{
|
|
4748
4804
|
type: NgModule,
|
|
4749
4805
|
args: [{
|
|
4750
|
-
imports: [
|
|
4751
|
-
|
|
4752
|
-
exports: COMPONENTS$n
|
|
4806
|
+
imports: [PdmIconComponent],
|
|
4807
|
+
exports: [PdmIconComponent]
|
|
4753
4808
|
}]
|
|
4754
4809
|
}] });
|
|
4755
4810
|
|
|
@@ -4772,6 +4827,9 @@ class PdmInputComponent {
|
|
|
4772
4827
|
this.errorText = "";
|
|
4773
4828
|
this.valueChange = new EventEmitter();
|
|
4774
4829
|
this.blurred = new EventEmitter();
|
|
4830
|
+
if (this.required && this.disabled) {
|
|
4831
|
+
console.warn('PdmInputComponent: required + disabled is invalid — a required field cannot be disabled');
|
|
4832
|
+
}
|
|
4775
4833
|
}
|
|
4776
4834
|
onInput(event) {
|
|
4777
4835
|
this.valueChange.emit(event.target.value);
|
|
@@ -4779,13 +4837,22 @@ class PdmInputComponent {
|
|
|
4779
4837
|
onBlur(event) {
|
|
4780
4838
|
this.blurred.emit(event);
|
|
4781
4839
|
}
|
|
4840
|
+
get helperAttrId() {
|
|
4841
|
+
return this.id ? `${this.id}-helper` : null;
|
|
4842
|
+
}
|
|
4843
|
+
get errorAttrId() {
|
|
4844
|
+
return this.id ? `${this.id}-error` : null;
|
|
4845
|
+
}
|
|
4846
|
+
get descriptionAttrId() {
|
|
4847
|
+
return this.invalid && this.errorText ? this.errorAttrId : this.helperAttrId;
|
|
4848
|
+
}
|
|
4782
4849
|
}
|
|
4783
4850
|
PdmInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4784
|
-
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 });
|
|
4851
|
+
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 });
|
|
4785
4852
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmInputComponent, decorators: [{
|
|
4786
4853
|
type: Component,
|
|
4787
|
-
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"] }]
|
|
4788
|
-
}], propDecorators: { id: [{
|
|
4854
|
+
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"] }]
|
|
4855
|
+
}], ctorParameters: function () { return []; }, propDecorators: { id: [{
|
|
4789
4856
|
type: Input
|
|
4790
4857
|
}], type: [{
|
|
4791
4858
|
type: Input
|
|
@@ -5154,7 +5221,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5154
5221
|
type: Output
|
|
5155
5222
|
}] } });
|
|
5156
5223
|
|
|
5157
|
-
const COMPONENTS$
|
|
5224
|
+
const COMPONENTS$i = [
|
|
5158
5225
|
PdmInputComponent,
|
|
5159
5226
|
PdmInputGroupComponent,
|
|
5160
5227
|
PdmInputOtpComponent,
|
|
@@ -5178,8 +5245,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5178
5245
|
type: NgModule,
|
|
5179
5246
|
args: [{
|
|
5180
5247
|
imports: [CommonModule, PdmIconModule$1],
|
|
5181
|
-
declarations: COMPONENTS$
|
|
5182
|
-
exports: COMPONENTS$
|
|
5248
|
+
declarations: COMPONENTS$i,
|
|
5249
|
+
exports: COMPONENTS$i,
|
|
5183
5250
|
}]
|
|
5184
5251
|
}] });
|
|
5185
5252
|
|
|
@@ -5203,7 +5270,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5203
5270
|
type: Input
|
|
5204
5271
|
}] } });
|
|
5205
5272
|
|
|
5206
|
-
const COMPONENTS$
|
|
5273
|
+
const COMPONENTS$h = [
|
|
5207
5274
|
PdmItemComponent,
|
|
5208
5275
|
];
|
|
5209
5276
|
class PdmItemModule {
|
|
@@ -5215,8 +5282,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5215
5282
|
type: NgModule,
|
|
5216
5283
|
args: [{
|
|
5217
5284
|
imports: [CommonModule],
|
|
5218
|
-
declarations: COMPONENTS$
|
|
5219
|
-
exports: COMPONENTS$
|
|
5285
|
+
declarations: COMPONENTS$h,
|
|
5286
|
+
exports: COMPONENTS$h
|
|
5220
5287
|
}]
|
|
5221
5288
|
}] });
|
|
5222
5289
|
|
|
@@ -5226,28 +5293,28 @@ class PdmKbdComponent {
|
|
|
5226
5293
|
}
|
|
5227
5294
|
}
|
|
5228
5295
|
PdmKbdComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5229
|
-
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 });
|
|
5296
|
+
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 });
|
|
5230
5297
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdComponent, decorators: [{
|
|
5231
5298
|
type: Component,
|
|
5232
|
-
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" }]
|
|
5299
|
+
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" }]
|
|
5233
5300
|
}], propDecorators: { className: [{
|
|
5234
5301
|
type: Input
|
|
5235
5302
|
}] } });
|
|
5236
5303
|
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5304
|
+
/**
|
|
5305
|
+
* @deprecated Import PdmKbdComponent directly instead. This module is kept for backwards compatibility.
|
|
5306
|
+
* For modern Angular (v14+), use: import { PdmKbdComponent } from 'pdm-ui-kit/kbd'
|
|
5307
|
+
*/
|
|
5240
5308
|
class PdmKbdModule {
|
|
5241
5309
|
}
|
|
5242
5310
|
PdmKbdModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5243
|
-
PdmKbdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule,
|
|
5244
|
-
PdmKbdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule, imports: [
|
|
5311
|
+
PdmKbdModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule, imports: [PdmKbdComponent], exports: [PdmKbdComponent] });
|
|
5312
|
+
PdmKbdModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule, imports: [PdmKbdComponent] });
|
|
5245
5313
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmKbdModule, decorators: [{
|
|
5246
5314
|
type: NgModule,
|
|
5247
5315
|
args: [{
|
|
5248
|
-
imports: [
|
|
5249
|
-
|
|
5250
|
-
exports: COMPONENTS$k
|
|
5316
|
+
imports: [PdmKbdComponent],
|
|
5317
|
+
exports: [PdmKbdComponent]
|
|
5251
5318
|
}]
|
|
5252
5319
|
}] });
|
|
5253
5320
|
|
|
@@ -5271,7 +5338,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5271
5338
|
type: Input
|
|
5272
5339
|
}] } });
|
|
5273
5340
|
|
|
5274
|
-
const COMPONENTS$
|
|
5341
|
+
const COMPONENTS$g = [
|
|
5275
5342
|
PdmLabelComponent,
|
|
5276
5343
|
];
|
|
5277
5344
|
class PdmLabelModule {
|
|
@@ -5283,8 +5350,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5283
5350
|
type: NgModule,
|
|
5284
5351
|
args: [{
|
|
5285
5352
|
imports: [CommonModule],
|
|
5286
|
-
declarations: COMPONENTS$
|
|
5287
|
-
exports: COMPONENTS$
|
|
5353
|
+
declarations: COMPONENTS$g,
|
|
5354
|
+
exports: COMPONENTS$g
|
|
5288
5355
|
}]
|
|
5289
5356
|
}] });
|
|
5290
5357
|
|
|
@@ -5426,7 +5493,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5426
5493
|
args: ["document:keydown.escape"]
|
|
5427
5494
|
}] } });
|
|
5428
5495
|
|
|
5429
|
-
const COMPONENTS$
|
|
5496
|
+
const COMPONENTS$f = [
|
|
5430
5497
|
PdmMenubarComponent,
|
|
5431
5498
|
];
|
|
5432
5499
|
class PdmMenubarModule {
|
|
@@ -5438,8 +5505,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5438
5505
|
type: NgModule,
|
|
5439
5506
|
args: [{
|
|
5440
5507
|
imports: [CommonModule, OverlayModule],
|
|
5441
|
-
declarations: COMPONENTS$
|
|
5442
|
-
exports: COMPONENTS$
|
|
5508
|
+
declarations: COMPONENTS$f,
|
|
5509
|
+
exports: COMPONENTS$f
|
|
5443
5510
|
}]
|
|
5444
5511
|
}] });
|
|
5445
5512
|
|
|
@@ -5481,7 +5548,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5481
5548
|
type: Output
|
|
5482
5549
|
}] } });
|
|
5483
5550
|
|
|
5484
|
-
const COMPONENTS$
|
|
5551
|
+
const COMPONENTS$e = [PdmNativeSelectComponent];
|
|
5485
5552
|
class PdmNativeSelectModule {
|
|
5486
5553
|
}
|
|
5487
5554
|
PdmNativeSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmNativeSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -5491,8 +5558,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5491
5558
|
type: NgModule,
|
|
5492
5559
|
args: [{
|
|
5493
5560
|
imports: [CommonModule, PdmIconModule$1],
|
|
5494
|
-
declarations: COMPONENTS$
|
|
5495
|
-
exports: COMPONENTS$
|
|
5561
|
+
declarations: COMPONENTS$e,
|
|
5562
|
+
exports: COMPONENTS$e,
|
|
5496
5563
|
}]
|
|
5497
5564
|
}] });
|
|
5498
5565
|
|
|
@@ -5535,7 +5602,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5535
5602
|
type: Input
|
|
5536
5603
|
}] } });
|
|
5537
5604
|
|
|
5538
|
-
const COMPONENTS$
|
|
5605
|
+
const COMPONENTS$d = [
|
|
5539
5606
|
PdmNavigationMenuComponent,
|
|
5540
5607
|
];
|
|
5541
5608
|
class PdmNavigationMenuModule {
|
|
@@ -5547,8 +5614,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5547
5614
|
type: NgModule,
|
|
5548
5615
|
args: [{
|
|
5549
5616
|
imports: [CommonModule],
|
|
5550
|
-
declarations: COMPONENTS$
|
|
5551
|
-
exports: COMPONENTS$
|
|
5617
|
+
declarations: COMPONENTS$d,
|
|
5618
|
+
exports: COMPONENTS$d
|
|
5552
5619
|
}]
|
|
5553
5620
|
}] });
|
|
5554
5621
|
|
|
@@ -5625,10 +5692,10 @@ class PdmPaginationComponent {
|
|
|
5625
5692
|
}
|
|
5626
5693
|
}
|
|
5627
5694
|
PdmPaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmPaginationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5628
|
-
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 });
|
|
5695
|
+
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 });
|
|
5629
5696
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmPaginationComponent, decorators: [{
|
|
5630
5697
|
type: Component,
|
|
5631
|
-
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" }]
|
|
5698
|
+
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" }]
|
|
5632
5699
|
}], propDecorators: { page: [{
|
|
5633
5700
|
type: Input
|
|
5634
5701
|
}], pageCount: [{
|
|
@@ -5649,7 +5716,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5649
5716
|
type: Output
|
|
5650
5717
|
}] } });
|
|
5651
5718
|
|
|
5652
|
-
const COMPONENTS$
|
|
5719
|
+
const COMPONENTS$c = [PdmPaginationComponent];
|
|
5653
5720
|
class PdmPaginationModule {
|
|
5654
5721
|
}
|
|
5655
5722
|
PdmPaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -5659,8 +5726,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5659
5726
|
type: NgModule,
|
|
5660
5727
|
args: [{
|
|
5661
5728
|
imports: [CommonModule, PdmIconModule$1, PdmSelectModule$1],
|
|
5662
|
-
declarations: COMPONENTS$
|
|
5663
|
-
exports: COMPONENTS$
|
|
5729
|
+
declarations: COMPONENTS$c,
|
|
5730
|
+
exports: COMPONENTS$c,
|
|
5664
5731
|
}]
|
|
5665
5732
|
}] });
|
|
5666
5733
|
|
|
@@ -5821,7 +5888,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5821
5888
|
args: ["document:keydown.escape"]
|
|
5822
5889
|
}] } });
|
|
5823
5890
|
|
|
5824
|
-
const COMPONENTS$
|
|
5891
|
+
const COMPONENTS$b = [
|
|
5825
5892
|
PdmPopoverComponent,
|
|
5826
5893
|
];
|
|
5827
5894
|
class PdmPopoverModule {
|
|
@@ -5833,8 +5900,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5833
5900
|
type: NgModule,
|
|
5834
5901
|
args: [{
|
|
5835
5902
|
imports: [CommonModule, OverlayModule],
|
|
5836
|
-
declarations: COMPONENTS$
|
|
5837
|
-
exports: COMPONENTS$
|
|
5903
|
+
declarations: COMPONENTS$b,
|
|
5904
|
+
exports: COMPONENTS$b
|
|
5838
5905
|
}]
|
|
5839
5906
|
}] });
|
|
5840
5907
|
|
|
@@ -5868,7 +5935,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5868
5935
|
type: Input
|
|
5869
5936
|
}] } });
|
|
5870
5937
|
|
|
5871
|
-
const COMPONENTS$
|
|
5938
|
+
const COMPONENTS$a = [
|
|
5872
5939
|
PdmProgressComponent,
|
|
5873
5940
|
];
|
|
5874
5941
|
class PdmProgressModule {
|
|
@@ -5880,8 +5947,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5880
5947
|
type: NgModule,
|
|
5881
5948
|
args: [{
|
|
5882
5949
|
imports: [CommonModule],
|
|
5883
|
-
declarations: COMPONENTS$
|
|
5884
|
-
exports: COMPONENTS$
|
|
5950
|
+
declarations: COMPONENTS$a,
|
|
5951
|
+
exports: COMPONENTS$a
|
|
5885
5952
|
}]
|
|
5886
5953
|
}] });
|
|
5887
5954
|
|
|
@@ -5920,7 +5987,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5920
5987
|
type: Output
|
|
5921
5988
|
}] } });
|
|
5922
5989
|
|
|
5923
|
-
const COMPONENTS$
|
|
5990
|
+
const COMPONENTS$9 = [
|
|
5924
5991
|
PdmRadioGroupComponent,
|
|
5925
5992
|
];
|
|
5926
5993
|
class PdmRadioGroupModule {
|
|
@@ -5932,8 +5999,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5932
5999
|
type: NgModule,
|
|
5933
6000
|
args: [{
|
|
5934
6001
|
imports: [CommonModule],
|
|
5935
|
-
declarations: COMPONENTS$
|
|
5936
|
-
exports: COMPONENTS$
|
|
6002
|
+
declarations: COMPONENTS$9,
|
|
6003
|
+
exports: COMPONENTS$9
|
|
5937
6004
|
}]
|
|
5938
6005
|
}] });
|
|
5939
6006
|
|
|
@@ -5954,7 +6021,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5954
6021
|
type: Input
|
|
5955
6022
|
}] } });
|
|
5956
6023
|
|
|
5957
|
-
const COMPONENTS$
|
|
6024
|
+
const COMPONENTS$8 = [
|
|
5958
6025
|
PdmScrollAreaComponent,
|
|
5959
6026
|
];
|
|
5960
6027
|
class PdmScrollAreaModule {
|
|
@@ -5966,8 +6033,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
5966
6033
|
type: NgModule,
|
|
5967
6034
|
args: [{
|
|
5968
6035
|
imports: [CommonModule],
|
|
5969
|
-
declarations: COMPONENTS$
|
|
5970
|
-
exports: COMPONENTS$
|
|
6036
|
+
declarations: COMPONENTS$8,
|
|
6037
|
+
exports: COMPONENTS$8
|
|
5971
6038
|
}]
|
|
5972
6039
|
}] });
|
|
5973
6040
|
|
|
@@ -6176,7 +6243,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6176
6243
|
args: ["document:keydown.escape"]
|
|
6177
6244
|
}] } });
|
|
6178
6245
|
|
|
6179
|
-
const COMPONENTS$
|
|
6246
|
+
const COMPONENTS$7 = [PdmSelectComponent, PdmSelectOptionDirective];
|
|
6180
6247
|
class PdmSelectModule {
|
|
6181
6248
|
}
|
|
6182
6249
|
PdmSelectModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -6186,8 +6253,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6186
6253
|
type: NgModule,
|
|
6187
6254
|
args: [{
|
|
6188
6255
|
imports: [CommonModule, OverlayModule, PdmIconModule$1],
|
|
6189
|
-
declarations: COMPONENTS$
|
|
6190
|
-
exports: COMPONENTS$
|
|
6256
|
+
declarations: COMPONENTS$7,
|
|
6257
|
+
exports: COMPONENTS$7,
|
|
6191
6258
|
}]
|
|
6192
6259
|
}] });
|
|
6193
6260
|
|
|
@@ -6202,10 +6269,10 @@ class PdmSeparatorComponent {
|
|
|
6202
6269
|
}
|
|
6203
6270
|
}
|
|
6204
6271
|
PdmSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6205
|
-
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 });
|
|
6272
|
+
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 });
|
|
6206
6273
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorComponent, decorators: [{
|
|
6207
6274
|
type: Component,
|
|
6208
|
-
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" }]
|
|
6275
|
+
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" }]
|
|
6209
6276
|
}], propDecorators: { orientation: [{
|
|
6210
6277
|
type: Input
|
|
6211
6278
|
}], decorative: [{
|
|
@@ -6214,20 +6281,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6214
6281
|
type: Input
|
|
6215
6282
|
}] } });
|
|
6216
6283
|
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6284
|
+
/**
|
|
6285
|
+
* @deprecated Import PdmSeparatorComponent directly instead. This module is kept for backwards compatibility.
|
|
6286
|
+
* For modern Angular (v14+), use: import { PdmSeparatorComponent } from 'pdm-ui-kit/separator'
|
|
6287
|
+
*/
|
|
6220
6288
|
class PdmSeparatorModule {
|
|
6221
6289
|
}
|
|
6222
6290
|
PdmSeparatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6223
|
-
PdmSeparatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule,
|
|
6224
|
-
PdmSeparatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule, imports: [
|
|
6291
|
+
PdmSeparatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule, imports: [PdmSeparatorComponent], exports: [PdmSeparatorComponent] });
|
|
6292
|
+
PdmSeparatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule, imports: [PdmSeparatorComponent] });
|
|
6225
6293
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSeparatorModule, decorators: [{
|
|
6226
6294
|
type: NgModule,
|
|
6227
6295
|
args: [{
|
|
6228
|
-
imports: [
|
|
6229
|
-
|
|
6230
|
-
exports: COMPONENTS$9
|
|
6296
|
+
imports: [PdmSeparatorComponent],
|
|
6297
|
+
exports: [PdmSeparatorComponent]
|
|
6231
6298
|
}]
|
|
6232
6299
|
}] });
|
|
6233
6300
|
|
|
@@ -6295,7 +6362,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6295
6362
|
type: Output
|
|
6296
6363
|
}] } });
|
|
6297
6364
|
|
|
6298
|
-
const COMPONENTS$
|
|
6365
|
+
const COMPONENTS$6 = [
|
|
6299
6366
|
PdmSidebarComponent,
|
|
6300
6367
|
];
|
|
6301
6368
|
class PdmSidebarModule {
|
|
@@ -6307,8 +6374,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6307
6374
|
type: NgModule,
|
|
6308
6375
|
args: [{
|
|
6309
6376
|
imports: [CommonModule],
|
|
6310
|
-
declarations: COMPONENTS$
|
|
6311
|
-
exports: COMPONENTS$
|
|
6377
|
+
declarations: COMPONENTS$6,
|
|
6378
|
+
exports: COMPONENTS$6
|
|
6312
6379
|
}]
|
|
6313
6380
|
}] });
|
|
6314
6381
|
|
|
@@ -6318,28 +6385,28 @@ class PdmSkeletonComponent {
|
|
|
6318
6385
|
}
|
|
6319
6386
|
}
|
|
6320
6387
|
PdmSkeletonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6321
|
-
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 });
|
|
6388
|
+
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 });
|
|
6322
6389
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonComponent, decorators: [{
|
|
6323
6390
|
type: Component,
|
|
6324
|
-
args: [{ selector: 'pdm-skeleton', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [ngClass]=\"['animate-pulse rounded-md bg-muted', className]\"></div>\n" }]
|
|
6391
|
+
args: [{ selector: 'pdm-skeleton', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<div [ngClass]=\"['animate-pulse rounded-md bg-muted', className]\"></div>\n" }]
|
|
6325
6392
|
}], propDecorators: { className: [{
|
|
6326
6393
|
type: Input
|
|
6327
6394
|
}] } });
|
|
6328
6395
|
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6396
|
+
/**
|
|
6397
|
+
* @deprecated Import PdmSkeletonComponent directly instead. This module is kept for backwards compatibility.
|
|
6398
|
+
* For modern Angular (v14+), use: import { PdmSkeletonComponent } from 'pdm-ui-kit/skeleton'
|
|
6399
|
+
*/
|
|
6332
6400
|
class PdmSkeletonModule {
|
|
6333
6401
|
}
|
|
6334
6402
|
PdmSkeletonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6335
|
-
PdmSkeletonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule,
|
|
6336
|
-
PdmSkeletonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule, imports: [
|
|
6403
|
+
PdmSkeletonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule, imports: [PdmSkeletonComponent], exports: [PdmSkeletonComponent] });
|
|
6404
|
+
PdmSkeletonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule, imports: [PdmSkeletonComponent] });
|
|
6337
6405
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSkeletonModule, decorators: [{
|
|
6338
6406
|
type: NgModule,
|
|
6339
6407
|
args: [{
|
|
6340
|
-
imports: [
|
|
6341
|
-
|
|
6342
|
-
exports: COMPONENTS$7
|
|
6408
|
+
imports: [PdmSkeletonComponent],
|
|
6409
|
+
exports: [PdmSkeletonComponent]
|
|
6343
6410
|
}]
|
|
6344
6411
|
}] });
|
|
6345
6412
|
|
|
@@ -6386,7 +6453,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6386
6453
|
type: Output
|
|
6387
6454
|
}] } });
|
|
6388
6455
|
|
|
6389
|
-
const COMPONENTS$
|
|
6456
|
+
const COMPONENTS$5 = [
|
|
6390
6457
|
PdmSliderComponent,
|
|
6391
6458
|
];
|
|
6392
6459
|
class PdmSliderModule {
|
|
@@ -6398,8 +6465,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6398
6465
|
type: NgModule,
|
|
6399
6466
|
args: [{
|
|
6400
6467
|
imports: [CommonModule],
|
|
6401
|
-
declarations: COMPONENTS$
|
|
6402
|
-
exports: COMPONENTS$
|
|
6468
|
+
declarations: COMPONENTS$5,
|
|
6469
|
+
exports: COMPONENTS$5
|
|
6403
6470
|
}]
|
|
6404
6471
|
}] });
|
|
6405
6472
|
|
|
@@ -6438,7 +6505,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6438
6505
|
type: Output
|
|
6439
6506
|
}] } });
|
|
6440
6507
|
|
|
6441
|
-
const COMPONENTS$
|
|
6508
|
+
const COMPONENTS$4 = [PdmSonnerComponent];
|
|
6442
6509
|
class PdmSonnerModule {
|
|
6443
6510
|
}
|
|
6444
6511
|
PdmSonnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSonnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -6448,8 +6515,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImpor
|
|
|
6448
6515
|
type: NgModule,
|
|
6449
6516
|
args: [{
|
|
6450
6517
|
imports: [CommonModule, PdmIconModule$1],
|
|
6451
|
-
declarations: COMPONENTS$
|
|
6452
|
-
exports: COMPONENTS$
|
|
6518
|
+
declarations: COMPONENTS$4,
|
|
6519
|
+
exports: COMPONENTS$4,
|
|
6453
6520
|
}]
|
|
6454
6521
|
}] });
|
|
6455
6522
|
|
|
@@ -6460,30 +6527,30 @@ class PdmSpinnerComponent {
|
|
|
6460
6527
|
}
|
|
6461
6528
|
}
|
|
6462
6529
|
PdmSpinnerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6463
|
-
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 });
|
|
6530
|
+
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 });
|
|
6464
6531
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerComponent, decorators: [{
|
|
6465
6532
|
type: Component,
|
|
6466
|
-
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" }]
|
|
6533
|
+
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" }]
|
|
6467
6534
|
}], propDecorators: { size: [{
|
|
6468
6535
|
type: Input
|
|
6469
6536
|
}], className: [{
|
|
6470
6537
|
type: Input
|
|
6471
6538
|
}] } });
|
|
6472
6539
|
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6540
|
+
/**
|
|
6541
|
+
* @deprecated Import PdmSpinnerComponent directly instead. This module is kept for backwards compatibility.
|
|
6542
|
+
* For modern Angular (v14+), use: import { PdmSpinnerComponent } from 'pdm-ui-kit/spinner'
|
|
6543
|
+
*/
|
|
6476
6544
|
class PdmSpinnerModule {
|
|
6477
6545
|
}
|
|
6478
6546
|
PdmSpinnerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6479
|
-
PdmSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule,
|
|
6480
|
-
PdmSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule, imports: [
|
|
6547
|
+
PdmSpinnerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule, imports: [PdmSpinnerComponent], exports: [PdmSpinnerComponent] });
|
|
6548
|
+
PdmSpinnerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule, imports: [PdmSpinnerComponent] });
|
|
6481
6549
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: PdmSpinnerModule, decorators: [{
|
|
6482
6550
|
type: NgModule,
|
|
6483
6551
|
args: [{
|
|
6484
|
-
imports: [
|
|
6485
|
-
|
|
6486
|
-
exports: COMPONENTS$4
|
|
6552
|
+
imports: [PdmSpinnerComponent],
|
|
6553
|
+
exports: [PdmSpinnerComponent]
|
|
6487
6554
|
}]
|
|
6488
6555
|
}] });
|
|
6489
6556
|
|
|
@@ -7538,9 +7605,555 @@ function logZIndexStack(element) {
|
|
|
7538
7605
|
console.table(stack);
|
|
7539
7606
|
}
|
|
7540
7607
|
|
|
7608
|
+
class PdmInputHarness extends ComponentHarness {
|
|
7609
|
+
constructor() {
|
|
7610
|
+
super(...arguments);
|
|
7611
|
+
this.input = this.locatorFor('input');
|
|
7612
|
+
}
|
|
7613
|
+
static with(options) {
|
|
7614
|
+
return new HarnessPredicate(PdmInputHarness, options)
|
|
7615
|
+
.addOption('id', options.id, (harness, id) => HarnessPredicate.stringMatches(harness.getId(), id))
|
|
7616
|
+
.addOption('placeholder', options.placeholder, (harness, placeholder) => HarnessPredicate.stringMatches(harness.getPlaceholder(), placeholder));
|
|
7617
|
+
}
|
|
7618
|
+
getId() {
|
|
7619
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7620
|
+
return (yield this.input()).getAttribute('id') || '';
|
|
7621
|
+
});
|
|
7622
|
+
}
|
|
7623
|
+
getValue() {
|
|
7624
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7625
|
+
return (yield this.input()).getProperty('value') || '';
|
|
7626
|
+
});
|
|
7627
|
+
}
|
|
7628
|
+
setValue(value) {
|
|
7629
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7630
|
+
const input = yield this.input();
|
|
7631
|
+
yield input.clear();
|
|
7632
|
+
yield input.sendKeys(value);
|
|
7633
|
+
});
|
|
7634
|
+
}
|
|
7635
|
+
getPlaceholder() {
|
|
7636
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7637
|
+
return (yield this.input()).getAttribute('placeholder') || '';
|
|
7638
|
+
});
|
|
7639
|
+
}
|
|
7640
|
+
isDisabled() {
|
|
7641
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7642
|
+
return (yield this.input()).matchesSelector(':disabled');
|
|
7643
|
+
});
|
|
7644
|
+
}
|
|
7645
|
+
isReadonly() {
|
|
7646
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7647
|
+
return (yield this.input()).matchesSelector('[readonly]');
|
|
7648
|
+
});
|
|
7649
|
+
}
|
|
7650
|
+
isRequired() {
|
|
7651
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7652
|
+
return (yield this.input()).matchesSelector('[required]');
|
|
7653
|
+
});
|
|
7654
|
+
}
|
|
7655
|
+
isInvalid() {
|
|
7656
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7657
|
+
return (yield this.input()).matchesSelector('[aria-invalid="true"]');
|
|
7658
|
+
});
|
|
7659
|
+
}
|
|
7660
|
+
getLabel() {
|
|
7661
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7662
|
+
const label = yield this.locatorForOptional('label')();
|
|
7663
|
+
return label ? label.text() : null;
|
|
7664
|
+
});
|
|
7665
|
+
}
|
|
7666
|
+
getHelperText() {
|
|
7667
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7668
|
+
const helper = yield this.locatorForOptional('[class*="text-muted-foreground"]')();
|
|
7669
|
+
return helper ? helper.text() : null;
|
|
7670
|
+
});
|
|
7671
|
+
}
|
|
7672
|
+
getErrorText() {
|
|
7673
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7674
|
+
const error = yield this.locatorForOptional('[class*="text-destructive"]')();
|
|
7675
|
+
return error ? error.text() : null;
|
|
7676
|
+
});
|
|
7677
|
+
}
|
|
7678
|
+
focus() {
|
|
7679
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7680
|
+
return (yield this.input()).focus();
|
|
7681
|
+
});
|
|
7682
|
+
}
|
|
7683
|
+
blur() {
|
|
7684
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7685
|
+
return (yield this.input()).blur();
|
|
7686
|
+
});
|
|
7687
|
+
}
|
|
7688
|
+
getType() {
|
|
7689
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7690
|
+
return (yield this.input()).getAttribute('type') || 'text';
|
|
7691
|
+
});
|
|
7692
|
+
}
|
|
7693
|
+
clear() {
|
|
7694
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7695
|
+
return (yield this.input()).clear();
|
|
7696
|
+
});
|
|
7697
|
+
}
|
|
7698
|
+
getComponentInstance() {
|
|
7699
|
+
return this.locatorFor(PdmInputComponent)();
|
|
7700
|
+
}
|
|
7701
|
+
}
|
|
7702
|
+
PdmInputHarness.hostSelector = 'pdm-input';
|
|
7703
|
+
|
|
7704
|
+
class PdmButtonHarness extends ComponentHarness {
|
|
7705
|
+
constructor() {
|
|
7706
|
+
super(...arguments);
|
|
7707
|
+
this.button = this.locatorFor('button');
|
|
7708
|
+
}
|
|
7709
|
+
static with(options) {
|
|
7710
|
+
return new HarnessPredicate(PdmButtonHarness, options)
|
|
7711
|
+
.addOption('variant', options.variant, (harness, variant) => HarnessPredicate.stringMatches(harness.getVariant(), variant))
|
|
7712
|
+
.addOption('text', options.text, (harness, text) => HarnessPredicate.stringMatches(harness.getText(), text));
|
|
7713
|
+
}
|
|
7714
|
+
click() {
|
|
7715
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7716
|
+
return (yield this.button()).click();
|
|
7717
|
+
});
|
|
7718
|
+
}
|
|
7719
|
+
getText() {
|
|
7720
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7721
|
+
return (yield this.button()).text();
|
|
7722
|
+
});
|
|
7723
|
+
}
|
|
7724
|
+
isDisabled() {
|
|
7725
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7726
|
+
return (yield this.button()).matchesSelector(':disabled');
|
|
7727
|
+
});
|
|
7728
|
+
}
|
|
7729
|
+
isLoading() {
|
|
7730
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7731
|
+
return (yield this.button()).matchesSelector('[aria-busy="true"]');
|
|
7732
|
+
});
|
|
7733
|
+
}
|
|
7734
|
+
getVariant() {
|
|
7735
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7736
|
+
const component = yield this.getComponentInstance();
|
|
7737
|
+
return component.resolvedVariant;
|
|
7738
|
+
});
|
|
7739
|
+
}
|
|
7740
|
+
getSize() {
|
|
7741
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7742
|
+
const component = yield this.getComponentInstance();
|
|
7743
|
+
return component.resolvedSize;
|
|
7744
|
+
});
|
|
7745
|
+
}
|
|
7746
|
+
getType() {
|
|
7747
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7748
|
+
return (yield this.button()).getAttribute('type');
|
|
7749
|
+
});
|
|
7750
|
+
}
|
|
7751
|
+
hasIcon() {
|
|
7752
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7753
|
+
const icon = yield this.locatorForOptional('[pdmButtonIcon]')();
|
|
7754
|
+
return !!icon;
|
|
7755
|
+
});
|
|
7756
|
+
}
|
|
7757
|
+
focus() {
|
|
7758
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7759
|
+
return (yield this.button()).focus();
|
|
7760
|
+
});
|
|
7761
|
+
}
|
|
7762
|
+
blur() {
|
|
7763
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7764
|
+
return (yield this.button()).blur();
|
|
7765
|
+
});
|
|
7766
|
+
}
|
|
7767
|
+
getComponentInstance() {
|
|
7768
|
+
return this.locatorFor(PdmButtonComponent)();
|
|
7769
|
+
}
|
|
7770
|
+
}
|
|
7771
|
+
PdmButtonHarness.hostSelector = 'pdm-button';
|
|
7772
|
+
|
|
7773
|
+
class PdmDialogHarness extends ComponentHarness {
|
|
7774
|
+
constructor() {
|
|
7775
|
+
super(...arguments);
|
|
7776
|
+
this.dialog = this.locatorFor('[role="dialog"]');
|
|
7777
|
+
this.closeButton = this.locatorForOptional('button[aria-label="Close dialog"]');
|
|
7778
|
+
this.primaryButton = this.locatorForOptional('[role="dialog"] button:last-child');
|
|
7779
|
+
}
|
|
7780
|
+
static with(options) {
|
|
7781
|
+
return new HarnessPredicate(PdmDialogHarness, options)
|
|
7782
|
+
.addOption('title', options.title, (harness, title) => HarnessPredicate.stringMatches(harness.getTitle(), title));
|
|
7783
|
+
}
|
|
7784
|
+
isOpen() {
|
|
7785
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7786
|
+
try {
|
|
7787
|
+
yield this.dialog();
|
|
7788
|
+
return true;
|
|
7789
|
+
}
|
|
7790
|
+
catch (_a) {
|
|
7791
|
+
return false;
|
|
7792
|
+
}
|
|
7793
|
+
});
|
|
7794
|
+
}
|
|
7795
|
+
getTitle() {
|
|
7796
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7797
|
+
try {
|
|
7798
|
+
const heading = yield this.locatorForOptional('[role="dialog"] h2')();
|
|
7799
|
+
return heading ? heading.text() : '';
|
|
7800
|
+
}
|
|
7801
|
+
catch (_a) {
|
|
7802
|
+
return '';
|
|
7803
|
+
}
|
|
7804
|
+
});
|
|
7805
|
+
}
|
|
7806
|
+
getDescription() {
|
|
7807
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7808
|
+
try {
|
|
7809
|
+
const description = yield this.locatorForOptional('[role="dialog"] p')();
|
|
7810
|
+
return description ? description.text() : '';
|
|
7811
|
+
}
|
|
7812
|
+
catch (_a) {
|
|
7813
|
+
return '';
|
|
7814
|
+
}
|
|
7815
|
+
});
|
|
7816
|
+
}
|
|
7817
|
+
close() {
|
|
7818
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7819
|
+
const closeBtn = yield this.closeButton();
|
|
7820
|
+
if (closeBtn) {
|
|
7821
|
+
return closeBtn.click();
|
|
7822
|
+
}
|
|
7823
|
+
});
|
|
7824
|
+
}
|
|
7825
|
+
clickPrimaryAction() {
|
|
7826
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7827
|
+
const btn = yield this.primaryButton();
|
|
7828
|
+
if (btn) {
|
|
7829
|
+
return btn.click();
|
|
7830
|
+
}
|
|
7831
|
+
});
|
|
7832
|
+
}
|
|
7833
|
+
clickSecondaryAction() {
|
|
7834
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7835
|
+
const buttons = yield this.locatorForAll('button')();
|
|
7836
|
+
if (buttons.length >= 2) {
|
|
7837
|
+
return buttons[buttons.length - 2].click();
|
|
7838
|
+
}
|
|
7839
|
+
});
|
|
7840
|
+
}
|
|
7841
|
+
getVariant() {
|
|
7842
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7843
|
+
const component = yield this.getComponentInstance();
|
|
7844
|
+
return component.variant;
|
|
7845
|
+
});
|
|
7846
|
+
}
|
|
7847
|
+
getSize() {
|
|
7848
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7849
|
+
const component = yield this.getComponentInstance();
|
|
7850
|
+
return component.size;
|
|
7851
|
+
});
|
|
7852
|
+
}
|
|
7853
|
+
getPrimaryActionText() {
|
|
7854
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7855
|
+
const component = yield this.getComponentInstance();
|
|
7856
|
+
return component.primaryActionText;
|
|
7857
|
+
});
|
|
7858
|
+
}
|
|
7859
|
+
getSecondaryActionText() {
|
|
7860
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7861
|
+
const component = yield this.getComponentInstance();
|
|
7862
|
+
return component.secondaryActionText;
|
|
7863
|
+
});
|
|
7864
|
+
}
|
|
7865
|
+
hasCloseButton() {
|
|
7866
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7867
|
+
return !!(yield this.closeButton());
|
|
7868
|
+
});
|
|
7869
|
+
}
|
|
7870
|
+
getContent() {
|
|
7871
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7872
|
+
const dialog = yield this.dialog();
|
|
7873
|
+
return dialog.text();
|
|
7874
|
+
});
|
|
7875
|
+
}
|
|
7876
|
+
getComponentInstance() {
|
|
7877
|
+
return this.locatorFor(PdmDialogComponent)();
|
|
7878
|
+
}
|
|
7879
|
+
}
|
|
7880
|
+
PdmDialogHarness.hostSelector = 'pdm-dialog';
|
|
7881
|
+
|
|
7882
|
+
class PdmSelectHarness extends ComponentHarness {
|
|
7883
|
+
constructor() {
|
|
7884
|
+
super(...arguments);
|
|
7885
|
+
this.trigger = this.locatorFor('button');
|
|
7886
|
+
this.panel = this.locatorForOptional('.cdk-overlay-pane');
|
|
7887
|
+
}
|
|
7888
|
+
static with(options) {
|
|
7889
|
+
return new HarnessPredicate(PdmSelectHarness, options)
|
|
7890
|
+
.addOption('placeholder', options.placeholder, (harness, placeholder) => HarnessPredicate.stringMatches(harness.getPlaceholder(), placeholder));
|
|
7891
|
+
}
|
|
7892
|
+
open() {
|
|
7893
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7894
|
+
return (yield this.trigger()).click();
|
|
7895
|
+
});
|
|
7896
|
+
}
|
|
7897
|
+
close() {
|
|
7898
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7899
|
+
// Close by pressing Escape
|
|
7900
|
+
return (yield this.trigger()).sendKeys('Escape');
|
|
7901
|
+
});
|
|
7902
|
+
}
|
|
7903
|
+
isOpen() {
|
|
7904
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7905
|
+
try {
|
|
7906
|
+
const component = yield this.getComponentInstance();
|
|
7907
|
+
return component.open;
|
|
7908
|
+
}
|
|
7909
|
+
catch (_a) {
|
|
7910
|
+
return false;
|
|
7911
|
+
}
|
|
7912
|
+
});
|
|
7913
|
+
}
|
|
7914
|
+
getSelectedOption() {
|
|
7915
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7916
|
+
const component = yield this.getComponentInstance();
|
|
7917
|
+
return component.selectedOption;
|
|
7918
|
+
});
|
|
7919
|
+
}
|
|
7920
|
+
getSelectedLabel() {
|
|
7921
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7922
|
+
const component = yield this.getComponentInstance();
|
|
7923
|
+
return component.selectedLabel;
|
|
7924
|
+
});
|
|
7925
|
+
}
|
|
7926
|
+
getPlaceholder() {
|
|
7927
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7928
|
+
const component = yield this.getComponentInstance();
|
|
7929
|
+
return component.placeholder;
|
|
7930
|
+
});
|
|
7931
|
+
}
|
|
7932
|
+
selectOption(value) {
|
|
7933
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7934
|
+
yield this.open();
|
|
7935
|
+
const options = yield this.locatorForAll('.cdk-overlay-pane button')();
|
|
7936
|
+
for (const option of options) {
|
|
7937
|
+
const text = yield option.text();
|
|
7938
|
+
if (text.includes(value)) {
|
|
7939
|
+
return option.click();
|
|
7940
|
+
}
|
|
7941
|
+
}
|
|
7942
|
+
throw new Error(`Option with value "${value}" not found`);
|
|
7943
|
+
});
|
|
7944
|
+
}
|
|
7945
|
+
getOptions() {
|
|
7946
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7947
|
+
const component = yield this.getComponentInstance();
|
|
7948
|
+
return component.resolvedOptions;
|
|
7949
|
+
});
|
|
7950
|
+
}
|
|
7951
|
+
isDisabled() {
|
|
7952
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7953
|
+
const component = yield this.getComponentInstance();
|
|
7954
|
+
return component.disabled;
|
|
7955
|
+
});
|
|
7956
|
+
}
|
|
7957
|
+
isInvalid() {
|
|
7958
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7959
|
+
const component = yield this.getComponentInstance();
|
|
7960
|
+
return component.invalid;
|
|
7961
|
+
});
|
|
7962
|
+
}
|
|
7963
|
+
focus() {
|
|
7964
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7965
|
+
return (yield this.trigger()).focus();
|
|
7966
|
+
});
|
|
7967
|
+
}
|
|
7968
|
+
blur() {
|
|
7969
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7970
|
+
return (yield this.trigger()).blur();
|
|
7971
|
+
});
|
|
7972
|
+
}
|
|
7973
|
+
getComponentInstance() {
|
|
7974
|
+
return this.locatorFor(PdmSelectComponent)();
|
|
7975
|
+
}
|
|
7976
|
+
}
|
|
7977
|
+
PdmSelectHarness.hostSelector = 'pdm-select';
|
|
7978
|
+
|
|
7979
|
+
class PdmCheckboxHarness extends ComponentHarness {
|
|
7980
|
+
constructor() {
|
|
7981
|
+
super(...arguments);
|
|
7982
|
+
this.input = this.locatorFor('input[type="checkbox"]');
|
|
7983
|
+
}
|
|
7984
|
+
static with(options) {
|
|
7985
|
+
return new HarnessPredicate(PdmCheckboxHarness, options)
|
|
7986
|
+
.addOption('label', options.label, (harness, label) => HarnessPredicate.stringMatches(harness.getLabel(), label));
|
|
7987
|
+
}
|
|
7988
|
+
isChecked() {
|
|
7989
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7990
|
+
return (yield this.input()).matchesSelector(':checked');
|
|
7991
|
+
});
|
|
7992
|
+
}
|
|
7993
|
+
toggle() {
|
|
7994
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7995
|
+
return (yield this.input()).click();
|
|
7996
|
+
});
|
|
7997
|
+
}
|
|
7998
|
+
check() {
|
|
7999
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8000
|
+
if (!(yield this.isChecked())) {
|
|
8001
|
+
yield this.toggle();
|
|
8002
|
+
}
|
|
8003
|
+
});
|
|
8004
|
+
}
|
|
8005
|
+
uncheck() {
|
|
8006
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8007
|
+
if (yield this.isChecked()) {
|
|
8008
|
+
yield this.toggle();
|
|
8009
|
+
}
|
|
8010
|
+
});
|
|
8011
|
+
}
|
|
8012
|
+
isDisabled() {
|
|
8013
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8014
|
+
return (yield this.input()).matchesSelector(':disabled');
|
|
8015
|
+
});
|
|
8016
|
+
}
|
|
8017
|
+
getLabel() {
|
|
8018
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8019
|
+
const label = yield this.locatorForOptional('label')();
|
|
8020
|
+
return label ? label.text() : '';
|
|
8021
|
+
});
|
|
8022
|
+
}
|
|
8023
|
+
getDescription() {
|
|
8024
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8025
|
+
const component = yield this.getComponentInstance();
|
|
8026
|
+
return component.description;
|
|
8027
|
+
});
|
|
8028
|
+
}
|
|
8029
|
+
getVariant() {
|
|
8030
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8031
|
+
const component = yield this.getComponentInstance();
|
|
8032
|
+
return component.variant;
|
|
8033
|
+
});
|
|
8034
|
+
}
|
|
8035
|
+
focus() {
|
|
8036
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8037
|
+
return (yield this.input()).focus();
|
|
8038
|
+
});
|
|
8039
|
+
}
|
|
8040
|
+
blur() {
|
|
8041
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8042
|
+
return (yield this.input()).blur();
|
|
8043
|
+
});
|
|
8044
|
+
}
|
|
8045
|
+
getComponentInstance() {
|
|
8046
|
+
return this.locatorFor(PdmCheckboxComponent)();
|
|
8047
|
+
}
|
|
8048
|
+
}
|
|
8049
|
+
PdmCheckboxHarness.hostSelector = 'pdm-checkbox';
|
|
8050
|
+
|
|
8051
|
+
class PdmPaginationHarness extends ComponentHarness {
|
|
8052
|
+
constructor() {
|
|
8053
|
+
super(...arguments);
|
|
8054
|
+
this.nav = this.locatorFor('nav');
|
|
8055
|
+
}
|
|
8056
|
+
static with(options) {
|
|
8057
|
+
return new HarnessPredicate(PdmPaginationHarness, options);
|
|
8058
|
+
}
|
|
8059
|
+
goToPage(page) {
|
|
8060
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8061
|
+
const buttons = yield this.locatorForAll('button')();
|
|
8062
|
+
for (const button of buttons) {
|
|
8063
|
+
const text = yield button.text();
|
|
8064
|
+
if (text.trim() === String(page)) {
|
|
8065
|
+
return button.click();
|
|
8066
|
+
}
|
|
8067
|
+
}
|
|
8068
|
+
throw new Error(`Page ${page} not found in pagination`);
|
|
8069
|
+
});
|
|
8070
|
+
}
|
|
8071
|
+
goToNextPage() {
|
|
8072
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8073
|
+
const buttons = yield this.locatorForAll('button')();
|
|
8074
|
+
if (buttons.length > 0) {
|
|
8075
|
+
return buttons[buttons.length - 1].click();
|
|
8076
|
+
}
|
|
8077
|
+
});
|
|
8078
|
+
}
|
|
8079
|
+
goToPreviousPage() {
|
|
8080
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8081
|
+
const buttons = yield this.locatorForAll('button')();
|
|
8082
|
+
if (buttons.length > 0) {
|
|
8083
|
+
return buttons[0].click();
|
|
8084
|
+
}
|
|
8085
|
+
});
|
|
8086
|
+
}
|
|
8087
|
+
getCurrentPage() {
|
|
8088
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8089
|
+
const component = yield this.getComponentInstance();
|
|
8090
|
+
return component.page;
|
|
8091
|
+
});
|
|
8092
|
+
}
|
|
8093
|
+
getPageCount() {
|
|
8094
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8095
|
+
const component = yield this.getComponentInstance();
|
|
8096
|
+
return component.pageCount;
|
|
8097
|
+
});
|
|
8098
|
+
}
|
|
8099
|
+
getRowsPerPage() {
|
|
8100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8101
|
+
const component = yield this.getComponentInstance();
|
|
8102
|
+
return component.rowsPerPage;
|
|
8103
|
+
});
|
|
8104
|
+
}
|
|
8105
|
+
setRowsPerPage(rows) {
|
|
8106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8107
|
+
// This would require interacting with the select component
|
|
8108
|
+
const component = yield this.getComponentInstance();
|
|
8109
|
+
component.rowsPerPageChange.emit(rows);
|
|
8110
|
+
});
|
|
8111
|
+
}
|
|
8112
|
+
getVisiblePages() {
|
|
8113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8114
|
+
const component = yield this.getComponentInstance();
|
|
8115
|
+
return component.visiblePages;
|
|
8116
|
+
});
|
|
8117
|
+
}
|
|
8118
|
+
isNextPageDisabled() {
|
|
8119
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8120
|
+
const buttons = yield this.locatorForAll('button')();
|
|
8121
|
+
if (buttons.length > 0) {
|
|
8122
|
+
return buttons[buttons.length - 1].matchesSelector(':disabled');
|
|
8123
|
+
}
|
|
8124
|
+
return true;
|
|
8125
|
+
});
|
|
8126
|
+
}
|
|
8127
|
+
isPreviousPageDisabled() {
|
|
8128
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8129
|
+
const buttons = yield this.locatorForAll('button')();
|
|
8130
|
+
if (buttons.length > 0) {
|
|
8131
|
+
return buttons[0].matchesSelector(':disabled');
|
|
8132
|
+
}
|
|
8133
|
+
return true;
|
|
8134
|
+
});
|
|
8135
|
+
}
|
|
8136
|
+
getPageButtons() {
|
|
8137
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8138
|
+
return this.locatorForAll('button')();
|
|
8139
|
+
});
|
|
8140
|
+
}
|
|
8141
|
+
getComponentInstance() {
|
|
8142
|
+
return this.locatorFor(PdmPaginationComponent)();
|
|
8143
|
+
}
|
|
8144
|
+
}
|
|
8145
|
+
PdmPaginationHarness.hostSelector = 'pdm-pagination';
|
|
8146
|
+
|
|
8147
|
+
/**
|
|
8148
|
+
* Public API for CDK test harnesses
|
|
8149
|
+
*
|
|
8150
|
+
* Usage:
|
|
8151
|
+
* import { PdmInputHarness, PdmButtonHarness } from 'pdm-ui-kit/testing';
|
|
8152
|
+
*/
|
|
8153
|
+
|
|
7541
8154
|
/**
|
|
7542
8155
|
* Generated bundle index. Do not edit.
|
|
7543
8156
|
*/
|
|
7544
8157
|
|
|
7545
|
-
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 };
|
|
8158
|
+
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 };
|
|
7546
8159
|
//# sourceMappingURL=pdm-ui-kit.mjs.map
|