@smartsoft001/angular 2.122.0 → 2.123.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/README.md +298 -0
- package/fesm2022/smartsoft001-angular.mjs +1148 -53
- package/fesm2022/smartsoft001-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/types/smartsoft001-angular.d.ts +590 -5
|
@@ -2554,6 +2554,7 @@ const BUTTON_STANDARD_COMPONENT_TOKEN = new InjectionToken('BUTTON_STANDARD_COMP
|
|
|
2554
2554
|
const CALENDAR_STANDARD_COMPONENT_TOKEN = new InjectionToken('CALENDAR_STANDARD_COMPONENT');
|
|
2555
2555
|
const CARD_STANDARD_COMPONENT_TOKEN = new InjectionToken('CARD_STANDARD_COMPONENT');
|
|
2556
2556
|
const CARD_HEADING_STANDARD_COMPONENT_TOKEN = new InjectionToken('CARD_HEADING_STANDARD_COMPONENT');
|
|
2557
|
+
const COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN = new InjectionToken('COMMAND_PALETTE_STANDARD_COMPONENT');
|
|
2557
2558
|
const DETAILS_STANDARD_COMPONENT_TOKEN = new InjectionToken('DETAILS_STANDARD_COMPONENT');
|
|
2558
2559
|
const DETAIL_FIELD_COMPONENTS_TOKEN = new InjectionToken('DETAIL_FIELD_COMPONENTS_TOKEN');
|
|
2559
2560
|
const EMPTY_STATE_STANDARD_COMPONENT_TOKEN = new InjectionToken('EMPTY_STATE_STANDARD_COMPONENT');
|
|
@@ -2565,6 +2566,17 @@ const INFO_STANDARD_COMPONENT_TOKEN = new InjectionToken('INFO_STANDARD_COMPONEN
|
|
|
2565
2566
|
const INPUT_FIELD_COMPONENTS_TOKEN = new InjectionToken('INPUT_FIELD_COMPONENTS_TOKEN');
|
|
2566
2567
|
const LIST_MODE_COMPONENTS_TOKEN = new InjectionToken('LIST_MODE_COMPONENTS');
|
|
2567
2568
|
const LOADER_STANDARD_COMPONENT_TOKEN = new InjectionToken('LOADER_STANDARD_COMPONENT');
|
|
2569
|
+
const MODAL_STANDARD_COMPONENT_TOKEN = new InjectionToken('MODAL_STANDARD_COMPONENT');
|
|
2570
|
+
const AVATAR_STANDARD_COMPONENT_TOKEN = new InjectionToken('AVATAR_STANDARD_COMPONENT');
|
|
2571
|
+
const BADGE_STANDARD_COMPONENT_TOKEN = new InjectionToken('BADGE_STANDARD_COMPONENT');
|
|
2572
|
+
const BUTTON_GROUP_STANDARD_COMPONENT_TOKEN = new InjectionToken('BUTTON_GROUP_STANDARD_COMPONENT');
|
|
2573
|
+
const CONTAINER_STANDARD_COMPONENT_TOKEN = new InjectionToken('CONTAINER_STANDARD_COMPONENT');
|
|
2574
|
+
const DIVIDER_STANDARD_COMPONENT_TOKEN = new InjectionToken('DIVIDER_STANDARD_COMPONENT');
|
|
2575
|
+
const DRAWER_STANDARD_COMPONENT_TOKEN = new InjectionToken('DRAWER_STANDARD_COMPONENT');
|
|
2576
|
+
const DROPDOWN_STANDARD_COMPONENT_TOKEN = new InjectionToken('DROPDOWN_STANDARD_COMPONENT');
|
|
2577
|
+
const LIST_CONTAINER_STANDARD_COMPONENT_TOKEN = new InjectionToken('LIST_CONTAINER_STANDARD_COMPONENT');
|
|
2578
|
+
const MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN = new InjectionToken('MEDIA_OBJECT_STANDARD_COMPONENT');
|
|
2579
|
+
const NOTIFICATION_STANDARD_COMPONENT_TOKEN = new InjectionToken('NOTIFICATION_STANDARD_COMPONENT');
|
|
2568
2580
|
const MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT_TOKEN = new InjectionToken('MULTI_COLUMN_LAYOUT_STANDARD_COMPONENT');
|
|
2569
2581
|
const NAVBAR_STANDARD_COMPONENT_TOKEN = new InjectionToken('NAVBAR_STANDARD_COMPONENT');
|
|
2570
2582
|
const PAGE_VARIANT_COMPONENTS_TOKEN = new InjectionToken('PAGE_VARIANT_COMPONENTS');
|
|
@@ -2767,6 +2779,193 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
2767
2779
|
type: Directive
|
|
2768
2780
|
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], endMenuContainer: [{ type: i0.ViewChild, args: ['endMenuContainer', { isSignal: true }] }] } });
|
|
2769
2781
|
|
|
2782
|
+
class AvatarBaseComponent {
|
|
2783
|
+
static smartType = 'avatar';
|
|
2784
|
+
imageUrl = input(...(ngDevMode ? [undefined, { debugName: "imageUrl" }] : []));
|
|
2785
|
+
initials = input(...(ngDevMode ? [undefined, { debugName: "initials" }] : []));
|
|
2786
|
+
size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
2787
|
+
shape = input('circle', ...(ngDevMode ? [{ debugName: "shape" }] : []));
|
|
2788
|
+
notificationPosition = input(...(ngDevMode ? [undefined, { debugName: "notificationPosition" }] : []));
|
|
2789
|
+
group = input(...(ngDevMode ? [undefined, { debugName: "group" }] : []));
|
|
2790
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
2791
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
2792
|
+
isGroup = computed(() => !!this.group()?.length, ...(ngDevMode ? [{ debugName: "isGroup" }] : []));
|
|
2793
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AvatarBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2794
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: AvatarBaseComponent, isStandalone: true, inputs: { imageUrl: { classPropertyName: "imageUrl", publicName: "imageUrl", isSignal: true, isRequired: false, transformFunction: null }, initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, shape: { classPropertyName: "shape", publicName: "shape", isSignal: true, isRequired: false, transformFunction: null }, notificationPosition: { classPropertyName: "notificationPosition", publicName: "notificationPosition", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
2795
|
+
}
|
|
2796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AvatarBaseComponent, decorators: [{
|
|
2797
|
+
type: Directive
|
|
2798
|
+
}], propDecorators: { imageUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "imageUrl", required: false }] }], initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], shape: [{ type: i0.Input, args: [{ isSignal: true, alias: "shape", required: false }] }], notificationPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "notificationPosition", required: false }] }], group: [{ type: i0.Input, args: [{ isSignal: true, alias: "group", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
2799
|
+
|
|
2800
|
+
class AvatarStandardComponent extends AvatarBaseComponent {
|
|
2801
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AvatarStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2802
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AvatarStandardComponent, isStandalone: true, selector: "smart-avatar-standard", usesInheritance: true, ngImport: i0, template: "<span\n [class]=\"cssClass()\"\n [attr.data-size]=\"size()\"\n [attr.data-shape]=\"shape()\"\n>\n @if (isGroup()) {\n @for (item of group(); track item.id) {\n <span class=\"smart-avatar-group-item\">\n @if (item.imageUrl) {\n <img [src]=\"item.imageUrl\" alt=\"\" />\n } @else {\n <span class=\"smart-avatar-initials\">{{ item.initials }}</span>\n }\n </span>\n }\n } @else {\n @if (imageUrl()) {\n <img [src]=\"imageUrl()\" alt=\"\" />\n } @else if (initials()) {\n <span class=\"smart-avatar-initials\">{{ initials() }}</span>\n } @else {\n <span aria-hidden=\"true\" class=\"smart-avatar-placeholder\">\u00B7</span>\n }\n }\n</span>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2803
|
+
}
|
|
2804
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AvatarStandardComponent, decorators: [{
|
|
2805
|
+
type: Component,
|
|
2806
|
+
args: [{ selector: 'smart-avatar-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<span\n [class]=\"cssClass()\"\n [attr.data-size]=\"size()\"\n [attr.data-shape]=\"shape()\"\n>\n @if (isGroup()) {\n @for (item of group(); track item.id) {\n <span class=\"smart-avatar-group-item\">\n @if (item.imageUrl) {\n <img [src]=\"item.imageUrl\" alt=\"\" />\n } @else {\n <span class=\"smart-avatar-initials\">{{ item.initials }}</span>\n }\n </span>\n }\n } @else {\n @if (imageUrl()) {\n <img [src]=\"imageUrl()\" alt=\"\" />\n } @else if (initials()) {\n <span class=\"smart-avatar-initials\">{{ initials() }}</span>\n } @else {\n <span aria-hidden=\"true\" class=\"smart-avatar-placeholder\">\u00B7</span>\n }\n }\n</span>\n" }]
|
|
2807
|
+
}] });
|
|
2808
|
+
|
|
2809
|
+
class AvatarComponent {
|
|
2810
|
+
injectedComponent = inject(AVATAR_STANDARD_COMPONENT_TOKEN, {
|
|
2811
|
+
optional: true,
|
|
2812
|
+
});
|
|
2813
|
+
imageUrl = input(...(ngDevMode ? [undefined, { debugName: "imageUrl" }] : []));
|
|
2814
|
+
initials = input(...(ngDevMode ? [undefined, { debugName: "initials" }] : []));
|
|
2815
|
+
size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
2816
|
+
shape = input('circle', ...(ngDevMode ? [{ debugName: "shape" }] : []));
|
|
2817
|
+
notificationPosition = input(...(ngDevMode ? [undefined, { debugName: "notificationPosition" }] : []));
|
|
2818
|
+
group = input(...(ngDevMode ? [undefined, { debugName: "group" }] : []));
|
|
2819
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
2820
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
2821
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
2822
|
+
componentInputs = computed(() => ({
|
|
2823
|
+
imageUrl: this.imageUrl(),
|
|
2824
|
+
initials: this.initials(),
|
|
2825
|
+
size: this.size(),
|
|
2826
|
+
shape: this.shape(),
|
|
2827
|
+
notificationPosition: this.notificationPosition(),
|
|
2828
|
+
group: this.group(),
|
|
2829
|
+
options: this.options(),
|
|
2830
|
+
cssClass: this.cssClass(),
|
|
2831
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
2832
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2833
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AvatarComponent, isStandalone: true, selector: "smart-avatar", inputs: { imageUrl: { classPropertyName: "imageUrl", publicName: "imageUrl", isSignal: true, isRequired: false, transformFunction: null }, initials: { classPropertyName: "initials", publicName: "initials", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, shape: { classPropertyName: "shape", publicName: "shape", isSignal: true, isRequired: false, transformFunction: null }, notificationPosition: { classPropertyName: "notificationPosition", publicName: "notificationPosition", isSignal: true, isRequired: false, transformFunction: null }, group: { classPropertyName: "group", publicName: "group", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
2834
|
+
@if (componentType()) {
|
|
2835
|
+
<ng-container
|
|
2836
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
2837
|
+
/>
|
|
2838
|
+
} @else {
|
|
2839
|
+
<smart-avatar-standard
|
|
2840
|
+
[imageUrl]="imageUrl()"
|
|
2841
|
+
[initials]="initials()"
|
|
2842
|
+
[size]="size()"
|
|
2843
|
+
[shape]="shape()"
|
|
2844
|
+
[notificationPosition]="notificationPosition()"
|
|
2845
|
+
[group]="group()"
|
|
2846
|
+
[options]="options()"
|
|
2847
|
+
[class]="cssClass()"
|
|
2848
|
+
/>
|
|
2849
|
+
}
|
|
2850
|
+
`, isInline: true, dependencies: [{ kind: "component", type: AvatarStandardComponent, selector: "smart-avatar-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2851
|
+
}
|
|
2852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
2853
|
+
type: Component,
|
|
2854
|
+
args: [{
|
|
2855
|
+
selector: 'smart-avatar',
|
|
2856
|
+
template: `
|
|
2857
|
+
@if (componentType()) {
|
|
2858
|
+
<ng-container
|
|
2859
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
2860
|
+
/>
|
|
2861
|
+
} @else {
|
|
2862
|
+
<smart-avatar-standard
|
|
2863
|
+
[imageUrl]="imageUrl()"
|
|
2864
|
+
[initials]="initials()"
|
|
2865
|
+
[size]="size()"
|
|
2866
|
+
[shape]="shape()"
|
|
2867
|
+
[notificationPosition]="notificationPosition()"
|
|
2868
|
+
[group]="group()"
|
|
2869
|
+
[options]="options()"
|
|
2870
|
+
[class]="cssClass()"
|
|
2871
|
+
/>
|
|
2872
|
+
}
|
|
2873
|
+
`,
|
|
2874
|
+
encapsulation: ViewEncapsulation.None,
|
|
2875
|
+
imports: [AvatarStandardComponent, NgComponentOutlet],
|
|
2876
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2877
|
+
}]
|
|
2878
|
+
}], propDecorators: { imageUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "imageUrl", required: false }] }], initials: [{ type: i0.Input, args: [{ isSignal: true, alias: "initials", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], shape: [{ type: i0.Input, args: [{ isSignal: true, alias: "shape", required: false }] }], notificationPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "notificationPosition", required: false }] }], group: [{ type: i0.Input, args: [{ isSignal: true, alias: "group", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
2879
|
+
|
|
2880
|
+
class BadgeBaseComponent {
|
|
2881
|
+
static smartType = 'badge';
|
|
2882
|
+
text = input.required(...(ngDevMode ? [{ debugName: "text" }] : []));
|
|
2883
|
+
color = input('gray', ...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
2884
|
+
size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
2885
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
2886
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
2887
|
+
removed = output();
|
|
2888
|
+
remove() {
|
|
2889
|
+
this.removed.emit();
|
|
2890
|
+
}
|
|
2891
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: BadgeBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2892
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: BadgeBaseComponent, isStandalone: true, inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { removed: "removed" }, ngImport: i0 });
|
|
2893
|
+
}
|
|
2894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: BadgeBaseComponent, decorators: [{
|
|
2895
|
+
type: Directive
|
|
2896
|
+
}], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], removed: [{ type: i0.Output, args: ["removed"] }] } });
|
|
2897
|
+
|
|
2898
|
+
class BadgeStandardComponent extends BadgeBaseComponent {
|
|
2899
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: BadgeStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2900
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: BadgeStandardComponent, isStandalone: true, selector: "smart-badge-standard", usesInheritance: true, ngImport: i0, template: "<span\n [class]=\"cssClass()\"\n [attr.data-color]=\"color()\"\n [attr.data-size]=\"size()\"\n>\n @if (options()?.withDot) {\n <span aria-hidden=\"true\" class=\"smart-badge-dot\">•</span>\n }\n <span class=\"smart-badge-text\">{{ text() }}</span>\n @if (options()?.withRemove) {\n <button type=\"button\" aria-label=\"Remove\" (click)=\"remove()\">\n ×\n </button>\n }\n</span>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2901
|
+
}
|
|
2902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: BadgeStandardComponent, decorators: [{
|
|
2903
|
+
type: Component,
|
|
2904
|
+
args: [{ selector: 'smart-badge-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<span\n [class]=\"cssClass()\"\n [attr.data-color]=\"color()\"\n [attr.data-size]=\"size()\"\n>\n @if (options()?.withDot) {\n <span aria-hidden=\"true\" class=\"smart-badge-dot\">•</span>\n }\n <span class=\"smart-badge-text\">{{ text() }}</span>\n @if (options()?.withRemove) {\n <button type=\"button\" aria-label=\"Remove\" (click)=\"remove()\">\n ×\n </button>\n }\n</span>\n" }]
|
|
2905
|
+
}] });
|
|
2906
|
+
|
|
2907
|
+
class BadgeComponent {
|
|
2908
|
+
injectedComponent = inject(BADGE_STANDARD_COMPONENT_TOKEN, {
|
|
2909
|
+
optional: true,
|
|
2910
|
+
});
|
|
2911
|
+
text = input.required(...(ngDevMode ? [{ debugName: "text" }] : []));
|
|
2912
|
+
color = input('gray', ...(ngDevMode ? [{ debugName: "color" }] : []));
|
|
2913
|
+
size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
2914
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
2915
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
2916
|
+
removed = output();
|
|
2917
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
2918
|
+
componentInputs = computed(() => ({
|
|
2919
|
+
text: this.text(),
|
|
2920
|
+
color: this.color(),
|
|
2921
|
+
size: this.size(),
|
|
2922
|
+
options: this.options(),
|
|
2923
|
+
cssClass: this.cssClass(),
|
|
2924
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
2925
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2926
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: BadgeComponent, isStandalone: true, selector: "smart-badge", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { removed: "removed" }, ngImport: i0, template: `
|
|
2927
|
+
@if (componentType()) {
|
|
2928
|
+
<ng-container
|
|
2929
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
2930
|
+
/>
|
|
2931
|
+
} @else {
|
|
2932
|
+
<smart-badge-standard
|
|
2933
|
+
[text]="text()"
|
|
2934
|
+
[color]="color()"
|
|
2935
|
+
[size]="size()"
|
|
2936
|
+
[options]="options()"
|
|
2937
|
+
[class]="cssClass()"
|
|
2938
|
+
(removed)="removed.emit()"
|
|
2939
|
+
/>
|
|
2940
|
+
}
|
|
2941
|
+
`, isInline: true, dependencies: [{ kind: "component", type: BadgeStandardComponent, selector: "smart-badge-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
2942
|
+
}
|
|
2943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: BadgeComponent, decorators: [{
|
|
2944
|
+
type: Component,
|
|
2945
|
+
args: [{
|
|
2946
|
+
selector: 'smart-badge',
|
|
2947
|
+
template: `
|
|
2948
|
+
@if (componentType()) {
|
|
2949
|
+
<ng-container
|
|
2950
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
2951
|
+
/>
|
|
2952
|
+
} @else {
|
|
2953
|
+
<smart-badge-standard
|
|
2954
|
+
[text]="text()"
|
|
2955
|
+
[color]="color()"
|
|
2956
|
+
[size]="size()"
|
|
2957
|
+
[options]="options()"
|
|
2958
|
+
[class]="cssClass()"
|
|
2959
|
+
(removed)="removed.emit()"
|
|
2960
|
+
/>
|
|
2961
|
+
}
|
|
2962
|
+
`,
|
|
2963
|
+
encapsulation: ViewEncapsulation.None,
|
|
2964
|
+
imports: [BadgeStandardComponent, NgComponentOutlet],
|
|
2965
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2966
|
+
}]
|
|
2967
|
+
}], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], removed: [{ type: i0.Output, args: ["removed"] }] } });
|
|
2968
|
+
|
|
2770
2969
|
class BaseComponent {
|
|
2771
2970
|
get takeUntilDestroy() {
|
|
2772
2971
|
return takeUntil(this.destroy$);
|
|
@@ -3061,6 +3260,91 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
3061
3260
|
}]
|
|
3062
3261
|
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
3063
3262
|
|
|
3263
|
+
class ButtonGroupBaseComponent {
|
|
3264
|
+
static smartType = 'button-group';
|
|
3265
|
+
buttons = input([], ...(ngDevMode ? [{ debugName: "buttons" }] : []));
|
|
3266
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
3267
|
+
selected = model(undefined, ...(ngDevMode ? [{ debugName: "selected" }] : []));
|
|
3268
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
3269
|
+
buttonClick = output();
|
|
3270
|
+
select(id) {
|
|
3271
|
+
this.selected.set(id);
|
|
3272
|
+
this.buttonClick.emit({ buttonId: id });
|
|
3273
|
+
}
|
|
3274
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonGroupBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3275
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: ButtonGroupBaseComponent, isStandalone: true, inputs: { buttons: { classPropertyName: "buttons", publicName: "buttons", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selected: "selectedChange", buttonClick: "buttonClick" }, ngImport: i0 });
|
|
3276
|
+
}
|
|
3277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonGroupBaseComponent, decorators: [{
|
|
3278
|
+
type: Directive
|
|
3279
|
+
}], propDecorators: { buttons: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttons", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }, { type: i0.Output, args: ["selectedChange"] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], buttonClick: [{ type: i0.Output, args: ["buttonClick"] }] } });
|
|
3280
|
+
|
|
3281
|
+
class ButtonGroupStandardComponent extends ButtonGroupBaseComponent {
|
|
3282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonGroupStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3283
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ButtonGroupStandardComponent, isStandalone: true, selector: "smart-button-group-standard", usesInheritance: true, ngImport: i0, template: "<div role=\"group\" [class]=\"cssClass()\">\n @for (btn of buttons(); track btn.id) {\n <button\n type=\"button\"\n [disabled]=\"btn.disabled\"\n [attr.aria-pressed]=\"selected() === btn.id\"\n (click)=\"select(btn.id)\"\n >\n @if (btn.label) {\n <span class=\"smart-button-group-label\">{{ btn.label }}</span>\n }\n @if (btn.count != null) {\n <span class=\"smart-button-group-count\">{{ btn.count }}</span>\n }\n </button>\n }\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3284
|
+
}
|
|
3285
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonGroupStandardComponent, decorators: [{
|
|
3286
|
+
type: Component,
|
|
3287
|
+
args: [{ selector: 'smart-button-group-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div role=\"group\" [class]=\"cssClass()\">\n @for (btn of buttons(); track btn.id) {\n <button\n type=\"button\"\n [disabled]=\"btn.disabled\"\n [attr.aria-pressed]=\"selected() === btn.id\"\n (click)=\"select(btn.id)\"\n >\n @if (btn.label) {\n <span class=\"smart-button-group-label\">{{ btn.label }}</span>\n }\n @if (btn.count != null) {\n <span class=\"smart-button-group-count\">{{ btn.count }}</span>\n }\n </button>\n }\n</div>\n" }]
|
|
3288
|
+
}] });
|
|
3289
|
+
|
|
3290
|
+
class ButtonGroupComponent {
|
|
3291
|
+
injectedComponent = inject(BUTTON_GROUP_STANDARD_COMPONENT_TOKEN, {
|
|
3292
|
+
optional: true,
|
|
3293
|
+
});
|
|
3294
|
+
buttons = input([], ...(ngDevMode ? [{ debugName: "buttons" }] : []));
|
|
3295
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
3296
|
+
selected = model(undefined, ...(ngDevMode ? [{ debugName: "selected" }] : []));
|
|
3297
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
3298
|
+
buttonClick = output();
|
|
3299
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
3300
|
+
componentInputs = computed(() => ({
|
|
3301
|
+
buttons: this.buttons(),
|
|
3302
|
+
options: this.options(),
|
|
3303
|
+
selected: this.selected(),
|
|
3304
|
+
cssClass: this.cssClass(),
|
|
3305
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
3306
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3307
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ButtonGroupComponent, isStandalone: true, selector: "smart-button-group", inputs: { buttons: { classPropertyName: "buttons", publicName: "buttons", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selected: "selectedChange", buttonClick: "buttonClick" }, ngImport: i0, template: `
|
|
3308
|
+
@if (componentType()) {
|
|
3309
|
+
<ng-container
|
|
3310
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
3311
|
+
/>
|
|
3312
|
+
} @else {
|
|
3313
|
+
<smart-button-group-standard
|
|
3314
|
+
[buttons]="buttons()"
|
|
3315
|
+
[options]="options()"
|
|
3316
|
+
[(selected)]="selected"
|
|
3317
|
+
[class]="cssClass()"
|
|
3318
|
+
(buttonClick)="buttonClick.emit($event)"
|
|
3319
|
+
/>
|
|
3320
|
+
}
|
|
3321
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonGroupStandardComponent, selector: "smart-button-group-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3322
|
+
}
|
|
3323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ButtonGroupComponent, decorators: [{
|
|
3324
|
+
type: Component,
|
|
3325
|
+
args: [{
|
|
3326
|
+
selector: 'smart-button-group',
|
|
3327
|
+
template: `
|
|
3328
|
+
@if (componentType()) {
|
|
3329
|
+
<ng-container
|
|
3330
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
3331
|
+
/>
|
|
3332
|
+
} @else {
|
|
3333
|
+
<smart-button-group-standard
|
|
3334
|
+
[buttons]="buttons()"
|
|
3335
|
+
[options]="options()"
|
|
3336
|
+
[(selected)]="selected"
|
|
3337
|
+
[class]="cssClass()"
|
|
3338
|
+
(buttonClick)="buttonClick.emit($event)"
|
|
3339
|
+
/>
|
|
3340
|
+
}
|
|
3341
|
+
`,
|
|
3342
|
+
encapsulation: ViewEncapsulation.None,
|
|
3343
|
+
imports: [ButtonGroupStandardComponent, NgComponentOutlet],
|
|
3344
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3345
|
+
}]
|
|
3346
|
+
}], propDecorators: { buttons: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttons", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }, { type: i0.Output, args: ["selectedChange"] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], buttonClick: [{ type: i0.Output, args: ["buttonClick"] }] } });
|
|
3347
|
+
|
|
3064
3348
|
class CalendarBaseComponent {
|
|
3065
3349
|
static smartType = 'calendar';
|
|
3066
3350
|
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
@@ -3457,6 +3741,174 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
3457
3741
|
}]
|
|
3458
3742
|
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
3459
3743
|
|
|
3744
|
+
class CommandPaletteBaseComponent {
|
|
3745
|
+
static smartType = 'command-palette';
|
|
3746
|
+
commands = input([], ...(ngDevMode ? [{ debugName: "commands" }] : []));
|
|
3747
|
+
open = model(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
3748
|
+
query = model('', ...(ngDevMode ? [{ debugName: "query" }] : []));
|
|
3749
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
3750
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
3751
|
+
filteredCommands = computed(() => {
|
|
3752
|
+
const q = this.query().toLowerCase();
|
|
3753
|
+
if (!q)
|
|
3754
|
+
return this.commands();
|
|
3755
|
+
return this.commands().filter((c) => c.label.toLowerCase().includes(q));
|
|
3756
|
+
}, ...(ngDevMode ? [{ debugName: "filteredCommands" }] : []));
|
|
3757
|
+
runCommand = output();
|
|
3758
|
+
selectCommand(commandId) {
|
|
3759
|
+
this.runCommand.emit({ commandId });
|
|
3760
|
+
this.open.set(false);
|
|
3761
|
+
}
|
|
3762
|
+
close() {
|
|
3763
|
+
this.open.set(false);
|
|
3764
|
+
}
|
|
3765
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: CommandPaletteBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3766
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: CommandPaletteBaseComponent, isStandalone: true, inputs: { commands: { classPropertyName: "commands", publicName: "commands", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, query: { classPropertyName: "query", publicName: "query", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", query: "queryChange", runCommand: "runCommand" }, ngImport: i0 });
|
|
3767
|
+
}
|
|
3768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: CommandPaletteBaseComponent, decorators: [{
|
|
3769
|
+
type: Directive
|
|
3770
|
+
}], propDecorators: { commands: [{ type: i0.Input, args: [{ isSignal: true, alias: "commands", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], query: [{ type: i0.Input, args: [{ isSignal: true, alias: "query", required: false }] }, { type: i0.Output, args: ["queryChange"] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], runCommand: [{ type: i0.Output, args: ["runCommand"] }] } });
|
|
3771
|
+
|
|
3772
|
+
class CommandPaletteStandardComponent extends CommandPaletteBaseComponent {
|
|
3773
|
+
onQueryChange(event) {
|
|
3774
|
+
const target = event.target;
|
|
3775
|
+
this.query.set(target.value);
|
|
3776
|
+
}
|
|
3777
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: CommandPaletteStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3778
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: CommandPaletteStandardComponent, isStandalone: true, selector: "smart-command-palette-standard", usesInheritance: true, ngImport: i0, template: "<dialog [open]=\"open()\" [class]=\"cssClass()\" (close)=\"close()\">\n <input\n type=\"search\"\n [value]=\"query()\"\n [attr.placeholder]=\"options()?.placeholder ?? null\"\n [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n (input)=\"onQueryChange($event)\"\n />\n <ul role=\"listbox\">\n @for (command of filteredCommands(); track command.id) {\n <li role=\"option\" (click)=\"selectCommand(command.id)\">\n {{ command.label }}\n </li>\n } @empty {\n <li class=\"smart-command-palette-empty\">\n {{ options()?.emptyText ?? 'No results' }}\n </li>\n }\n </ul>\n</dialog>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3779
|
+
}
|
|
3780
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: CommandPaletteStandardComponent, decorators: [{
|
|
3781
|
+
type: Component,
|
|
3782
|
+
args: [{ selector: 'smart-command-palette-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<dialog [open]=\"open()\" [class]=\"cssClass()\" (close)=\"close()\">\n <input\n type=\"search\"\n [value]=\"query()\"\n [attr.placeholder]=\"options()?.placeholder ?? null\"\n [attr.aria-label]=\"options()?.ariaLabel ?? null\"\n (input)=\"onQueryChange($event)\"\n />\n <ul role=\"listbox\">\n @for (command of filteredCommands(); track command.id) {\n <li role=\"option\" (click)=\"selectCommand(command.id)\">\n {{ command.label }}\n </li>\n } @empty {\n <li class=\"smart-command-palette-empty\">\n {{ options()?.emptyText ?? 'No results' }}\n </li>\n }\n </ul>\n</dialog>\n" }]
|
|
3783
|
+
}] });
|
|
3784
|
+
|
|
3785
|
+
class CommandPaletteComponent {
|
|
3786
|
+
injectedComponent = inject(COMMAND_PALETTE_STANDARD_COMPONENT_TOKEN, {
|
|
3787
|
+
optional: true,
|
|
3788
|
+
});
|
|
3789
|
+
commands = input([], ...(ngDevMode ? [{ debugName: "commands" }] : []));
|
|
3790
|
+
open = model(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
3791
|
+
query = model('', ...(ngDevMode ? [{ debugName: "query" }] : []));
|
|
3792
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
3793
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
3794
|
+
runCommand = output();
|
|
3795
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
3796
|
+
componentInputs = computed(() => ({
|
|
3797
|
+
commands: this.commands(),
|
|
3798
|
+
open: this.open(),
|
|
3799
|
+
query: this.query(),
|
|
3800
|
+
options: this.options(),
|
|
3801
|
+
cssClass: this.cssClass(),
|
|
3802
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
3803
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: CommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3804
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: CommandPaletteComponent, isStandalone: true, selector: "smart-command-palette", inputs: { commands: { classPropertyName: "commands", publicName: "commands", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, query: { classPropertyName: "query", publicName: "query", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", query: "queryChange", runCommand: "runCommand" }, ngImport: i0, template: `
|
|
3805
|
+
@if (componentType()) {
|
|
3806
|
+
<ng-container
|
|
3807
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
3808
|
+
/>
|
|
3809
|
+
} @else {
|
|
3810
|
+
<smart-command-palette-standard
|
|
3811
|
+
[commands]="commands()"
|
|
3812
|
+
[(open)]="open"
|
|
3813
|
+
[(query)]="query"
|
|
3814
|
+
[options]="options()"
|
|
3815
|
+
[class]="cssClass()"
|
|
3816
|
+
(runCommand)="runCommand.emit($event)"
|
|
3817
|
+
/>
|
|
3818
|
+
}
|
|
3819
|
+
`, isInline: true, dependencies: [{ kind: "component", type: CommandPaletteStandardComponent, selector: "smart-command-palette-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3820
|
+
}
|
|
3821
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: CommandPaletteComponent, decorators: [{
|
|
3822
|
+
type: Component,
|
|
3823
|
+
args: [{
|
|
3824
|
+
selector: 'smart-command-palette',
|
|
3825
|
+
template: `
|
|
3826
|
+
@if (componentType()) {
|
|
3827
|
+
<ng-container
|
|
3828
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
3829
|
+
/>
|
|
3830
|
+
} @else {
|
|
3831
|
+
<smart-command-palette-standard
|
|
3832
|
+
[commands]="commands()"
|
|
3833
|
+
[(open)]="open"
|
|
3834
|
+
[(query)]="query"
|
|
3835
|
+
[options]="options()"
|
|
3836
|
+
[class]="cssClass()"
|
|
3837
|
+
(runCommand)="runCommand.emit($event)"
|
|
3838
|
+
/>
|
|
3839
|
+
}
|
|
3840
|
+
`,
|
|
3841
|
+
encapsulation: ViewEncapsulation.None,
|
|
3842
|
+
imports: [CommandPaletteStandardComponent, NgComponentOutlet],
|
|
3843
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3844
|
+
}]
|
|
3845
|
+
}], propDecorators: { commands: [{ type: i0.Input, args: [{ isSignal: true, alias: "commands", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], query: [{ type: i0.Input, args: [{ isSignal: true, alias: "query", required: false }] }, { type: i0.Output, args: ["queryChange"] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], runCommand: [{ type: i0.Output, args: ["runCommand"] }] } });
|
|
3846
|
+
|
|
3847
|
+
class ContainerBaseComponent {
|
|
3848
|
+
static smartType = 'container';
|
|
3849
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
3850
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
3851
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ContainerBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3852
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: ContainerBaseComponent, isStandalone: true, inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
3853
|
+
}
|
|
3854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ContainerBaseComponent, decorators: [{
|
|
3855
|
+
type: Directive
|
|
3856
|
+
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
3857
|
+
|
|
3858
|
+
class ContainerStandardComponent extends ContainerBaseComponent {
|
|
3859
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ContainerStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3860
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: ContainerStandardComponent, isStandalone: true, selector: "smart-container-standard", usesInheritance: true, ngImport: i0, template: "<div\n [class]=\"cssClass()\"\n [attr.data-mode]=\"options()?.mode ?? null\"\n [attr.data-padding]=\"options()?.padding ?? null\"\n>\n <ng-content />\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3861
|
+
}
|
|
3862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ContainerStandardComponent, decorators: [{
|
|
3863
|
+
type: Component,
|
|
3864
|
+
args: [{ selector: 'smart-container-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n [class]=\"cssClass()\"\n [attr.data-mode]=\"options()?.mode ?? null\"\n [attr.data-padding]=\"options()?.padding ?? null\"\n>\n <ng-content />\n</div>\n" }]
|
|
3865
|
+
}] });
|
|
3866
|
+
|
|
3867
|
+
class ContainerComponent {
|
|
3868
|
+
injectedComponent = inject(CONTAINER_STANDARD_COMPONENT_TOKEN, {
|
|
3869
|
+
optional: true,
|
|
3870
|
+
});
|
|
3871
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
3872
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
3873
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
3874
|
+
componentInputs = computed(() => ({
|
|
3875
|
+
options: this.options(),
|
|
3876
|
+
cssClass: this.cssClass(),
|
|
3877
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
3878
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3879
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ContainerComponent, isStandalone: true, selector: "smart-container", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
3880
|
+
@if (componentType()) {
|
|
3881
|
+
<ng-container
|
|
3882
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
3883
|
+
/>
|
|
3884
|
+
} @else {
|
|
3885
|
+
<smart-container-standard [options]="options()" [class]="cssClass()">
|
|
3886
|
+
<ng-content />
|
|
3887
|
+
</smart-container-standard>
|
|
3888
|
+
}
|
|
3889
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ContainerStandardComponent, selector: "smart-container-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3890
|
+
}
|
|
3891
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ContainerComponent, decorators: [{
|
|
3892
|
+
type: Component,
|
|
3893
|
+
args: [{
|
|
3894
|
+
selector: 'smart-container',
|
|
3895
|
+
template: `
|
|
3896
|
+
@if (componentType()) {
|
|
3897
|
+
<ng-container
|
|
3898
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
3899
|
+
/>
|
|
3900
|
+
} @else {
|
|
3901
|
+
<smart-container-standard [options]="options()" [class]="cssClass()">
|
|
3902
|
+
<ng-content />
|
|
3903
|
+
</smart-container-standard>
|
|
3904
|
+
}
|
|
3905
|
+
`,
|
|
3906
|
+
encapsulation: ViewEncapsulation.None,
|
|
3907
|
+
imports: [ContainerStandardComponent, NgComponentOutlet],
|
|
3908
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3909
|
+
}]
|
|
3910
|
+
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
3911
|
+
|
|
3460
3912
|
class DateEditBaseComponent {
|
|
3461
3913
|
cd = inject(ChangeDetectorRef);
|
|
3462
3914
|
DEFAULT_DATE = '2001-01-01';
|
|
@@ -5157,98 +5609,378 @@ class DetailsBaseComponent {
|
|
|
5157
5609
|
this.generateDynamicComponents();
|
|
5158
5610
|
});
|
|
5159
5611
|
}
|
|
5160
|
-
ngAfterViewInit() {
|
|
5161
|
-
this.generateDynamicComponents();
|
|
5612
|
+
ngAfterViewInit() {
|
|
5613
|
+
this.generateDynamicComponents();
|
|
5614
|
+
}
|
|
5615
|
+
generateDynamicComponents() {
|
|
5616
|
+
if (!this.componentFactories)
|
|
5617
|
+
return;
|
|
5618
|
+
const topTpl = this.topTpl();
|
|
5619
|
+
if (this.componentFactories.top && topTpl) {
|
|
5620
|
+
if (!topTpl.get(0)) {
|
|
5621
|
+
topTpl.createComponent(this.componentFactories.top);
|
|
5622
|
+
}
|
|
5623
|
+
}
|
|
5624
|
+
const bottomTpl = this.bottomTpl();
|
|
5625
|
+
if (this.componentFactories.bottom && bottomTpl) {
|
|
5626
|
+
if (!bottomTpl.get(0)) {
|
|
5627
|
+
bottomTpl.createComponent(this.componentFactories.bottom);
|
|
5628
|
+
}
|
|
5629
|
+
}
|
|
5630
|
+
}
|
|
5631
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5632
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.1", type: DetailsBaseComponent, isStandalone: true, inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, isSignal: true }, { propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, isSignal: true }, { propertyName: "bottomTpl", first: true, predicate: ["bottomTpl"], descendants: true, isSignal: true }], ngImport: i0 });
|
|
5633
|
+
}
|
|
5634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsBaseComponent, decorators: [{
|
|
5635
|
+
type: Directive
|
|
5636
|
+
}], ctorParameters: () => [], propDecorators: { contentTpl: [{ type: i0.ViewChild, args: ['contentTpl', { isSignal: true }] }], topTpl: [{ type: i0.ViewChild, args: ['topTpl', { isSignal: true }] }], bottomTpl: [{ type: i0.ViewChild, args: ['bottomTpl', { isSignal: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
5637
|
+
|
|
5638
|
+
class DetailsStandardComponent extends DetailsBaseComponent {
|
|
5639
|
+
containerClasses = computed(() => {
|
|
5640
|
+
const classes = [
|
|
5641
|
+
'smart:border-t',
|
|
5642
|
+
'smart:border-gray-100',
|
|
5643
|
+
'smart:dark:border-white/10',
|
|
5644
|
+
];
|
|
5645
|
+
const extra = this.cssClass();
|
|
5646
|
+
if (extra)
|
|
5647
|
+
classes.push(extra);
|
|
5648
|
+
return classes.join(' ');
|
|
5649
|
+
}, ...(ngDevMode ? [{ debugName: "containerClasses" }] : []));
|
|
5650
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5651
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailsStandardComponent, isStandalone: true, selector: "smart-details-standard", usesInheritance: true, ngImport: i0, template: "<div [class]=\"containerClasses()\">\n <div #topTpl></div>\n\n <dl class=\"smart:divide-y smart:divide-gray-100 smart:dark:divide-white/10\">\n @for (field of fields; track field.key) {\n <div\n class=\"smart:px-4 smart:py-4 smart:sm:grid smart:sm:grid-cols-3 smart:sm:gap-4\"\n >\n <smart-detail\n [type]=\"type\"\n [options]=\"{\n key: field.key,\n options: field.options,\n cellPipe: cellPipe() ?? undefined,\n item: item,\n loading: loading ?? undefined,\n }\"\n ></smart-detail>\n </div>\n }\n </dl>\n\n <div #bottomTpl></div>\n</div>\n", dependencies: [{ kind: "component", type: DetailComponent, selector: "smart-detail", inputs: ["options", "type"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5652
|
+
}
|
|
5653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsStandardComponent, decorators: [{
|
|
5654
|
+
type: Component,
|
|
5655
|
+
args: [{ selector: 'smart-details-standard', encapsulation: ViewEncapsulation.None, imports: [DetailComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"containerClasses()\">\n <div #topTpl></div>\n\n <dl class=\"smart:divide-y smart:divide-gray-100 smart:dark:divide-white/10\">\n @for (field of fields; track field.key) {\n <div\n class=\"smart:px-4 smart:py-4 smart:sm:grid smart:sm:grid-cols-3 smart:sm:gap-4\"\n >\n <smart-detail\n [type]=\"type\"\n [options]=\"{\n key: field.key,\n options: field.options,\n cellPipe: cellPipe() ?? undefined,\n item: item,\n loading: loading ?? undefined,\n }\"\n ></smart-detail>\n </div>\n }\n </dl>\n\n <div #bottomTpl></div>\n</div>\n" }]
|
|
5656
|
+
}] });
|
|
5657
|
+
|
|
5658
|
+
class DetailsComponent {
|
|
5659
|
+
injectedComponent = inject(DETAILS_STANDARD_COMPONENT_TOKEN, {
|
|
5660
|
+
optional: true,
|
|
5661
|
+
});
|
|
5662
|
+
options = input(undefined, ...(ngDevMode ? [{ debugName: "options" }] : []));
|
|
5663
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
5664
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
5665
|
+
componentInputs = computed(() => ({
|
|
5666
|
+
options: this.options(),
|
|
5667
|
+
class: this.cssClass(),
|
|
5668
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
5669
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5670
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailsComponent, isStandalone: true, selector: "smart-details", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
5671
|
+
@if (componentType()) {
|
|
5672
|
+
<ng-container
|
|
5673
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
5674
|
+
/>
|
|
5675
|
+
} @else {
|
|
5676
|
+
<smart-details-standard
|
|
5677
|
+
[options]="options()"
|
|
5678
|
+
[class]="cssClass()"
|
|
5679
|
+
></smart-details-standard>
|
|
5680
|
+
}
|
|
5681
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DetailsStandardComponent, selector: "smart-details-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5682
|
+
}
|
|
5683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsComponent, decorators: [{
|
|
5684
|
+
type: Component,
|
|
5685
|
+
args: [{
|
|
5686
|
+
selector: 'smart-details',
|
|
5687
|
+
template: `
|
|
5688
|
+
@if (componentType()) {
|
|
5689
|
+
<ng-container
|
|
5690
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
5691
|
+
/>
|
|
5692
|
+
} @else {
|
|
5693
|
+
<smart-details-standard
|
|
5694
|
+
[options]="options()"
|
|
5695
|
+
[class]="cssClass()"
|
|
5696
|
+
></smart-details-standard>
|
|
5697
|
+
}
|
|
5698
|
+
`,
|
|
5699
|
+
encapsulation: ViewEncapsulation.None,
|
|
5700
|
+
imports: [DetailsStandardComponent, NgComponentOutlet],
|
|
5701
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5702
|
+
}]
|
|
5703
|
+
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
5704
|
+
|
|
5705
|
+
class DividerBaseComponent {
|
|
5706
|
+
static smartType = 'divider';
|
|
5707
|
+
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
|
|
5708
|
+
iconName = input(...(ngDevMode ? [undefined, { debugName: "iconName" }] : []));
|
|
5709
|
+
title = input(...(ngDevMode ? [undefined, { debugName: "title" }] : []));
|
|
5710
|
+
actionLabel = input(...(ngDevMode ? [undefined, { debugName: "actionLabel" }] : []));
|
|
5711
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
5712
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
5713
|
+
actionClick = output();
|
|
5714
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DividerBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5715
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: DividerBaseComponent, isStandalone: true, inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, iconName: { classPropertyName: "iconName", publicName: "iconName", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, actionLabel: { classPropertyName: "actionLabel", publicName: "actionLabel", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { actionClick: "actionClick" }, ngImport: i0 });
|
|
5716
|
+
}
|
|
5717
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DividerBaseComponent, decorators: [{
|
|
5718
|
+
type: Directive
|
|
5719
|
+
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], iconName: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconName", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], actionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "actionLabel", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], actionClick: [{ type: i0.Output, args: ["actionClick"] }] } });
|
|
5720
|
+
|
|
5721
|
+
class DividerStandardComponent extends DividerBaseComponent {
|
|
5722
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DividerStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5723
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DividerStandardComponent, isStandalone: true, selector: "smart-divider-standard", usesInheritance: true, ngImport: i0, template: "<div\n role=\"separator\"\n [class]=\"cssClass()\"\n [attr.data-position]=\"options()?.position ?? 'center'\"\n>\n @if (title()) {\n <h3 class=\"smart-divider-title\">{{ title() }}</h3>\n }\n @if (label()) {\n <span class=\"smart-divider-label\">{{ label() }}</span>\n }\n @if (!title() && !label() && !actionLabel()) {\n <hr />\n }\n @if (actionLabel()) {\n <button\n type=\"button\"\n class=\"smart-divider-action\"\n (click)=\"actionClick.emit()\"\n >\n {{ actionLabel() }}\n </button>\n }\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5724
|
+
}
|
|
5725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DividerStandardComponent, decorators: [{
|
|
5726
|
+
type: Component,
|
|
5727
|
+
args: [{ selector: 'smart-divider-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n role=\"separator\"\n [class]=\"cssClass()\"\n [attr.data-position]=\"options()?.position ?? 'center'\"\n>\n @if (title()) {\n <h3 class=\"smart-divider-title\">{{ title() }}</h3>\n }\n @if (label()) {\n <span class=\"smart-divider-label\">{{ label() }}</span>\n }\n @if (!title() && !label() && !actionLabel()) {\n <hr />\n }\n @if (actionLabel()) {\n <button\n type=\"button\"\n class=\"smart-divider-action\"\n (click)=\"actionClick.emit()\"\n >\n {{ actionLabel() }}\n </button>\n }\n</div>\n" }]
|
|
5728
|
+
}] });
|
|
5729
|
+
|
|
5730
|
+
class DividerComponent {
|
|
5731
|
+
injectedComponent = inject(DIVIDER_STANDARD_COMPONENT_TOKEN, {
|
|
5732
|
+
optional: true,
|
|
5733
|
+
});
|
|
5734
|
+
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
|
|
5735
|
+
iconName = input(...(ngDevMode ? [undefined, { debugName: "iconName" }] : []));
|
|
5736
|
+
title = input(...(ngDevMode ? [undefined, { debugName: "title" }] : []));
|
|
5737
|
+
actionLabel = input(...(ngDevMode ? [undefined, { debugName: "actionLabel" }] : []));
|
|
5738
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
5739
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
5740
|
+
actionClick = output();
|
|
5741
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
5742
|
+
componentInputs = computed(() => ({
|
|
5743
|
+
label: this.label(),
|
|
5744
|
+
iconName: this.iconName(),
|
|
5745
|
+
title: this.title(),
|
|
5746
|
+
actionLabel: this.actionLabel(),
|
|
5747
|
+
options: this.options(),
|
|
5748
|
+
cssClass: this.cssClass(),
|
|
5749
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
5750
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5751
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DividerComponent, isStandalone: true, selector: "smart-divider", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, iconName: { classPropertyName: "iconName", publicName: "iconName", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, actionLabel: { classPropertyName: "actionLabel", publicName: "actionLabel", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { actionClick: "actionClick" }, ngImport: i0, template: `
|
|
5752
|
+
@if (componentType()) {
|
|
5753
|
+
<ng-container
|
|
5754
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
5755
|
+
/>
|
|
5756
|
+
} @else {
|
|
5757
|
+
<smart-divider-standard
|
|
5758
|
+
[label]="label()"
|
|
5759
|
+
[iconName]="iconName()"
|
|
5760
|
+
[title]="title()"
|
|
5761
|
+
[actionLabel]="actionLabel()"
|
|
5762
|
+
[options]="options()"
|
|
5763
|
+
[class]="cssClass()"
|
|
5764
|
+
(actionClick)="actionClick.emit()"
|
|
5765
|
+
/>
|
|
5766
|
+
}
|
|
5767
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DividerStandardComponent, selector: "smart-divider-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5768
|
+
}
|
|
5769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DividerComponent, decorators: [{
|
|
5770
|
+
type: Component,
|
|
5771
|
+
args: [{
|
|
5772
|
+
selector: 'smart-divider',
|
|
5773
|
+
template: `
|
|
5774
|
+
@if (componentType()) {
|
|
5775
|
+
<ng-container
|
|
5776
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
5777
|
+
/>
|
|
5778
|
+
} @else {
|
|
5779
|
+
<smart-divider-standard
|
|
5780
|
+
[label]="label()"
|
|
5781
|
+
[iconName]="iconName()"
|
|
5782
|
+
[title]="title()"
|
|
5783
|
+
[actionLabel]="actionLabel()"
|
|
5784
|
+
[options]="options()"
|
|
5785
|
+
[class]="cssClass()"
|
|
5786
|
+
(actionClick)="actionClick.emit()"
|
|
5787
|
+
/>
|
|
5788
|
+
}
|
|
5789
|
+
`,
|
|
5790
|
+
encapsulation: ViewEncapsulation.None,
|
|
5791
|
+
imports: [DividerStandardComponent, NgComponentOutlet],
|
|
5792
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5793
|
+
}]
|
|
5794
|
+
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], iconName: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconName", required: false }] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], actionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "actionLabel", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], actionClick: [{ type: i0.Output, args: ["actionClick"] }] } });
|
|
5795
|
+
|
|
5796
|
+
class DrawerBaseComponent {
|
|
5797
|
+
static smartType = 'drawer';
|
|
5798
|
+
open = model(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
5799
|
+
title = input(...(ngDevMode ? [undefined, { debugName: "title" }] : []));
|
|
5800
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
5801
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
5802
|
+
closed = output();
|
|
5803
|
+
close() {
|
|
5804
|
+
this.open.set(false);
|
|
5805
|
+
this.closed.emit();
|
|
5806
|
+
}
|
|
5807
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DrawerBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5808
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: DrawerBaseComponent, isStandalone: true, inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", closed: "closed" }, ngImport: i0 });
|
|
5809
|
+
}
|
|
5810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DrawerBaseComponent, decorators: [{
|
|
5811
|
+
type: Directive
|
|
5812
|
+
}], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
|
|
5813
|
+
|
|
5814
|
+
class DrawerStandardComponent extends DrawerBaseComponent {
|
|
5815
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DrawerStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5816
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DrawerStandardComponent, isStandalone: true, selector: "smart-drawer-standard", usesInheritance: true, ngImport: i0, template: "@if (open()) {\n @if (options()?.withOverlay) {\n <div class=\"drawer-overlay\" (click)=\"close()\"></div>\n }\n <aside\n role=\"dialog\"\n aria-modal=\"true\"\n [class]=\"cssClass()\"\n [attr.data-position]=\"options()?.position ?? 'right'\"\n [attr.aria-labelledby]=\"title() ? 'smart-drawer-title' : null\"\n >\n @if (title()) {\n <header>\n <h2 id=\"smart-drawer-title\">{{ title() }}</h2>\n <button type=\"button\" aria-label=\"Close\" (click)=\"close()\">\n ×\n </button>\n </header>\n }\n <ng-content />\n </aside>\n}\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5817
|
+
}
|
|
5818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DrawerStandardComponent, decorators: [{
|
|
5819
|
+
type: Component,
|
|
5820
|
+
args: [{ selector: 'smart-drawer-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (open()) {\n @if (options()?.withOverlay) {\n <div class=\"drawer-overlay\" (click)=\"close()\"></div>\n }\n <aside\n role=\"dialog\"\n aria-modal=\"true\"\n [class]=\"cssClass()\"\n [attr.data-position]=\"options()?.position ?? 'right'\"\n [attr.aria-labelledby]=\"title() ? 'smart-drawer-title' : null\"\n >\n @if (title()) {\n <header>\n <h2 id=\"smart-drawer-title\">{{ title() }}</h2>\n <button type=\"button\" aria-label=\"Close\" (click)=\"close()\">\n ×\n </button>\n </header>\n }\n <ng-content />\n </aside>\n}\n" }]
|
|
5821
|
+
}] });
|
|
5822
|
+
|
|
5823
|
+
class DrawerComponent {
|
|
5824
|
+
injectedComponent = inject(DRAWER_STANDARD_COMPONENT_TOKEN, {
|
|
5825
|
+
optional: true,
|
|
5826
|
+
});
|
|
5827
|
+
open = model(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
5828
|
+
title = input(...(ngDevMode ? [undefined, { debugName: "title" }] : []));
|
|
5829
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
5830
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
5831
|
+
closed = output();
|
|
5832
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
5833
|
+
componentInputs = computed(() => ({
|
|
5834
|
+
open: this.open(),
|
|
5835
|
+
title: this.title(),
|
|
5836
|
+
options: this.options(),
|
|
5837
|
+
cssClass: this.cssClass(),
|
|
5838
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
5839
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5840
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DrawerComponent, isStandalone: true, selector: "smart-drawer", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", closed: "closed" }, ngImport: i0, template: `
|
|
5841
|
+
@if (componentType()) {
|
|
5842
|
+
<ng-container
|
|
5843
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
5844
|
+
/>
|
|
5845
|
+
} @else {
|
|
5846
|
+
<smart-drawer-standard
|
|
5847
|
+
[(open)]="open"
|
|
5848
|
+
[title]="title()"
|
|
5849
|
+
[options]="options()"
|
|
5850
|
+
[class]="cssClass()"
|
|
5851
|
+
(closed)="closed.emit()"
|
|
5852
|
+
>
|
|
5853
|
+
<ng-content />
|
|
5854
|
+
</smart-drawer-standard>
|
|
5855
|
+
}
|
|
5856
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DrawerStandardComponent, selector: "smart-drawer-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5857
|
+
}
|
|
5858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DrawerComponent, decorators: [{
|
|
5859
|
+
type: Component,
|
|
5860
|
+
args: [{
|
|
5861
|
+
selector: 'smart-drawer',
|
|
5862
|
+
template: `
|
|
5863
|
+
@if (componentType()) {
|
|
5864
|
+
<ng-container
|
|
5865
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
5866
|
+
/>
|
|
5867
|
+
} @else {
|
|
5868
|
+
<smart-drawer-standard
|
|
5869
|
+
[(open)]="open"
|
|
5870
|
+
[title]="title()"
|
|
5871
|
+
[options]="options()"
|
|
5872
|
+
[class]="cssClass()"
|
|
5873
|
+
(closed)="closed.emit()"
|
|
5874
|
+
>
|
|
5875
|
+
<ng-content />
|
|
5876
|
+
</smart-drawer-standard>
|
|
5877
|
+
}
|
|
5878
|
+
`,
|
|
5879
|
+
encapsulation: ViewEncapsulation.None,
|
|
5880
|
+
imports: [DrawerStandardComponent, NgComponentOutlet],
|
|
5881
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5882
|
+
}]
|
|
5883
|
+
}], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
|
|
5884
|
+
|
|
5885
|
+
class DropdownBaseComponent {
|
|
5886
|
+
static smartType = 'dropdown';
|
|
5887
|
+
items = input([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
5888
|
+
triggerLabel = input(...(ngDevMode ? [undefined, { debugName: "triggerLabel" }] : []));
|
|
5889
|
+
open = model(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
5890
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
5891
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
5892
|
+
selectedItem = output();
|
|
5893
|
+
toggle() {
|
|
5894
|
+
this.open.set(!this.open());
|
|
5895
|
+
}
|
|
5896
|
+
close() {
|
|
5897
|
+
this.open.set(false);
|
|
5162
5898
|
}
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
const topTpl = this.topTpl();
|
|
5167
|
-
if (this.componentFactories.top && topTpl) {
|
|
5168
|
-
if (!topTpl.get(0)) {
|
|
5169
|
-
topTpl.createComponent(this.componentFactories.top);
|
|
5170
|
-
}
|
|
5171
|
-
}
|
|
5172
|
-
const bottomTpl = this.bottomTpl();
|
|
5173
|
-
if (this.componentFactories.bottom && bottomTpl) {
|
|
5174
|
-
if (!bottomTpl.get(0)) {
|
|
5175
|
-
bottomTpl.createComponent(this.componentFactories.bottom);
|
|
5176
|
-
}
|
|
5177
|
-
}
|
|
5899
|
+
selectItem(itemId) {
|
|
5900
|
+
this.selectedItem.emit({ itemId });
|
|
5901
|
+
this.open.set(false);
|
|
5178
5902
|
}
|
|
5179
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type:
|
|
5180
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.
|
|
5903
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DropdownBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5904
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: DropdownBaseComponent, isStandalone: true, inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, triggerLabel: { classPropertyName: "triggerLabel", publicName: "triggerLabel", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", selectedItem: "selectedItem" }, ngImport: i0 });
|
|
5181
5905
|
}
|
|
5182
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type:
|
|
5906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DropdownBaseComponent, decorators: [{
|
|
5183
5907
|
type: Directive
|
|
5184
|
-
}],
|
|
5908
|
+
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], triggerLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerLabel", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], selectedItem: [{ type: i0.Output, args: ["selectedItem"] }] } });
|
|
5185
5909
|
|
|
5186
|
-
class
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
'smart:border-t',
|
|
5190
|
-
'smart:border-gray-100',
|
|
5191
|
-
'smart:dark:border-white/10',
|
|
5192
|
-
];
|
|
5193
|
-
const extra = this.cssClass();
|
|
5194
|
-
if (extra)
|
|
5195
|
-
classes.push(extra);
|
|
5196
|
-
return classes.join(' ');
|
|
5197
|
-
}, ...(ngDevMode ? [{ debugName: "containerClasses" }] : []));
|
|
5198
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DetailsStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5199
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DetailsStandardComponent, isStandalone: true, selector: "smart-details-standard", usesInheritance: true, ngImport: i0, template: "<div [class]=\"containerClasses()\">\n <div #topTpl></div>\n\n <dl class=\"smart:divide-y smart:divide-gray-100 smart:dark:divide-white/10\">\n @for (field of fields; track field.key) {\n <div\n class=\"smart:px-4 smart:py-4 smart:sm:grid smart:sm:grid-cols-3 smart:sm:gap-4\"\n >\n <smart-detail\n [type]=\"type\"\n [options]=\"{\n key: field.key,\n options: field.options,\n cellPipe: cellPipe() ?? undefined,\n item: item,\n loading: loading ?? undefined,\n }\"\n ></smart-detail>\n </div>\n }\n </dl>\n\n <div #bottomTpl></div>\n</div>\n", dependencies: [{ kind: "component", type: DetailComponent, selector: "smart-detail", inputs: ["options", "type"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5910
|
+
class DropdownStandardComponent extends DropdownBaseComponent {
|
|
5911
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DropdownStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
5912
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DropdownStandardComponent, isStandalone: true, selector: "smart-dropdown-standard", usesInheritance: true, ngImport: i0, template: "<div [class]=\"cssClass()\">\n <button\n type=\"button\"\n class=\"smart-dropdown-trigger\"\n [attr.aria-expanded]=\"open()\"\n (click)=\"toggle()\"\n >\n <ng-content>{{ triggerLabel() }}</ng-content>\n </button>\n @if (open()) {\n <ul role=\"menu\">\n @if (options()?.variant === 'with-header' && options()?.headerLabel) {\n <li role=\"presentation\" class=\"smart-dropdown-header\">\n {{ options()?.headerLabel }}\n </li>\n }\n @for (item of items(); track item.id) {\n @if (item.divider) {\n <li role=\"separator\"></li>\n } @else {\n <li role=\"menuitem\">\n <button\n type=\"button\"\n [disabled]=\"item.disabled\"\n (click)=\"selectItem(item.id)\"\n >\n {{ item.label }}\n </button>\n </li>\n }\n }\n </ul>\n }\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5200
5913
|
}
|
|
5201
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type:
|
|
5914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DropdownStandardComponent, decorators: [{
|
|
5202
5915
|
type: Component,
|
|
5203
|
-
args: [{ selector: 'smart-
|
|
5916
|
+
args: [{ selector: 'smart-dropdown-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"cssClass()\">\n <button\n type=\"button\"\n class=\"smart-dropdown-trigger\"\n [attr.aria-expanded]=\"open()\"\n (click)=\"toggle()\"\n >\n <ng-content>{{ triggerLabel() }}</ng-content>\n </button>\n @if (open()) {\n <ul role=\"menu\">\n @if (options()?.variant === 'with-header' && options()?.headerLabel) {\n <li role=\"presentation\" class=\"smart-dropdown-header\">\n {{ options()?.headerLabel }}\n </li>\n }\n @for (item of items(); track item.id) {\n @if (item.divider) {\n <li role=\"separator\"></li>\n } @else {\n <li role=\"menuitem\">\n <button\n type=\"button\"\n [disabled]=\"item.disabled\"\n (click)=\"selectItem(item.id)\"\n >\n {{ item.label }}\n </button>\n </li>\n }\n }\n </ul>\n }\n</div>\n" }]
|
|
5204
5917
|
}] });
|
|
5205
5918
|
|
|
5206
|
-
class
|
|
5207
|
-
injectedComponent = inject(
|
|
5919
|
+
class DropdownComponent {
|
|
5920
|
+
injectedComponent = inject(DROPDOWN_STANDARD_COMPONENT_TOKEN, {
|
|
5208
5921
|
optional: true,
|
|
5209
5922
|
});
|
|
5210
|
-
|
|
5923
|
+
items = input([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
5924
|
+
triggerLabel = input(...(ngDevMode ? [undefined, { debugName: "triggerLabel" }] : []));
|
|
5925
|
+
open = model(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
5926
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
5211
5927
|
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
5928
|
+
selectedItem = output();
|
|
5212
5929
|
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
5213
5930
|
componentInputs = computed(() => ({
|
|
5931
|
+
items: this.items(),
|
|
5932
|
+
triggerLabel: this.triggerLabel(),
|
|
5933
|
+
open: this.open(),
|
|
5214
5934
|
options: this.options(),
|
|
5215
|
-
|
|
5935
|
+
cssClass: this.cssClass(),
|
|
5216
5936
|
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
5217
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type:
|
|
5218
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type:
|
|
5937
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5938
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: DropdownComponent, isStandalone: true, selector: "smart-dropdown", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, triggerLabel: { classPropertyName: "triggerLabel", publicName: "triggerLabel", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", selectedItem: "selectedItem" }, ngImport: i0, template: `
|
|
5219
5939
|
@if (componentType()) {
|
|
5220
5940
|
<ng-container
|
|
5221
5941
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
5222
5942
|
/>
|
|
5223
5943
|
} @else {
|
|
5224
|
-
<smart-
|
|
5944
|
+
<smart-dropdown-standard
|
|
5945
|
+
[items]="items()"
|
|
5946
|
+
[triggerLabel]="triggerLabel()"
|
|
5947
|
+
[(open)]="open"
|
|
5225
5948
|
[options]="options()"
|
|
5226
5949
|
[class]="cssClass()"
|
|
5227
|
-
|
|
5950
|
+
(selectedItem)="selectedItem.emit($event)"
|
|
5951
|
+
>
|
|
5952
|
+
<ng-content />
|
|
5953
|
+
</smart-dropdown-standard>
|
|
5228
5954
|
}
|
|
5229
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
|
5955
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DropdownStandardComponent, selector: "smart-dropdown-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
5230
5956
|
}
|
|
5231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type:
|
|
5957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: DropdownComponent, decorators: [{
|
|
5232
5958
|
type: Component,
|
|
5233
5959
|
args: [{
|
|
5234
|
-
selector: 'smart-
|
|
5960
|
+
selector: 'smart-dropdown',
|
|
5235
5961
|
template: `
|
|
5236
5962
|
@if (componentType()) {
|
|
5237
5963
|
<ng-container
|
|
5238
5964
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
5239
5965
|
/>
|
|
5240
5966
|
} @else {
|
|
5241
|
-
<smart-
|
|
5967
|
+
<smart-dropdown-standard
|
|
5968
|
+
[items]="items()"
|
|
5969
|
+
[triggerLabel]="triggerLabel()"
|
|
5970
|
+
[(open)]="open"
|
|
5242
5971
|
[options]="options()"
|
|
5243
5972
|
[class]="cssClass()"
|
|
5244
|
-
|
|
5973
|
+
(selectedItem)="selectedItem.emit($event)"
|
|
5974
|
+
>
|
|
5975
|
+
<ng-content />
|
|
5976
|
+
</smart-dropdown-standard>
|
|
5245
5977
|
}
|
|
5246
5978
|
`,
|
|
5247
5979
|
encapsulation: ViewEncapsulation.None,
|
|
5248
|
-
imports: [
|
|
5980
|
+
imports: [DropdownStandardComponent, NgComponentOutlet],
|
|
5249
5981
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5250
5982
|
}]
|
|
5251
|
-
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
5983
|
+
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], triggerLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "triggerLabel", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], selectedItem: [{ type: i0.Output, args: ["selectedItem"] }] } });
|
|
5252
5984
|
|
|
5253
5985
|
class EmptyStateBaseComponent {
|
|
5254
5986
|
static smartType = 'empty-state';
|
|
@@ -11090,6 +11822,258 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
11090
11822
|
args: [{ selector: 'smart-list', encapsulation: ViewEncapsulation.None, imports: [NgComponentOutlet, TranslatePipe, LoaderComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "@let loading = internalOptions?.provider?.loading?.();\n@if (componentType(); as cmp) {\n <ng-container\n *ngComponentOutlet=\"cmp; inputs: componentInputs()\"\n ></ng-container>\n}\n<smart-loader [show]=\"loading ?? false\"></smart-loader>\n@if (!loading && !internalOptions?.provider?.list?.()?.length) {\n <h2\n class=\"smart:mt-4 smart:text-center smart:text-gray-500 smart:dark:text-gray-400\"\n >\n {{ 'noResults' | translate }}\n </h2>\n}\n" }]
|
|
11091
11823
|
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
11092
11824
|
|
|
11825
|
+
class ListContainerBaseComponent {
|
|
11826
|
+
static smartType = 'list-container';
|
|
11827
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
11828
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
11829
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListContainerBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11830
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: ListContainerBaseComponent, isStandalone: true, inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
11831
|
+
}
|
|
11832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListContainerBaseComponent, decorators: [{
|
|
11833
|
+
type: Directive
|
|
11834
|
+
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
11835
|
+
|
|
11836
|
+
class ListContainerStandardComponent extends ListContainerBaseComponent {
|
|
11837
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListContainerStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11838
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: ListContainerStandardComponent, isStandalone: true, selector: "smart-list-container-standard", usesInheritance: true, ngImport: i0, template: "<div\n role=\"list\"\n [class]=\"cssClass()\"\n [attr.data-variant]=\"options()?.variant ?? null\"\n>\n <ng-content />\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11839
|
+
}
|
|
11840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListContainerStandardComponent, decorators: [{
|
|
11841
|
+
type: Component,
|
|
11842
|
+
args: [{ selector: 'smart-list-container-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n role=\"list\"\n [class]=\"cssClass()\"\n [attr.data-variant]=\"options()?.variant ?? null\"\n>\n <ng-content />\n</div>\n" }]
|
|
11843
|
+
}] });
|
|
11844
|
+
|
|
11845
|
+
class ListContainerComponent {
|
|
11846
|
+
injectedComponent = inject(LIST_CONTAINER_STANDARD_COMPONENT_TOKEN, {
|
|
11847
|
+
optional: true,
|
|
11848
|
+
});
|
|
11849
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
11850
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
11851
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
11852
|
+
componentInputs = computed(() => ({
|
|
11853
|
+
options: this.options(),
|
|
11854
|
+
cssClass: this.cssClass(),
|
|
11855
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
11856
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11857
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ListContainerComponent, isStandalone: true, selector: "smart-list-container", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
11858
|
+
@if (componentType()) {
|
|
11859
|
+
<ng-container
|
|
11860
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
11861
|
+
/>
|
|
11862
|
+
} @else {
|
|
11863
|
+
<smart-list-container-standard [options]="options()" [class]="cssClass()">
|
|
11864
|
+
<ng-content />
|
|
11865
|
+
</smart-list-container-standard>
|
|
11866
|
+
}
|
|
11867
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ListContainerStandardComponent, selector: "smart-list-container-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11868
|
+
}
|
|
11869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ListContainerComponent, decorators: [{
|
|
11870
|
+
type: Component,
|
|
11871
|
+
args: [{
|
|
11872
|
+
selector: 'smart-list-container',
|
|
11873
|
+
template: `
|
|
11874
|
+
@if (componentType()) {
|
|
11875
|
+
<ng-container
|
|
11876
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
11877
|
+
/>
|
|
11878
|
+
} @else {
|
|
11879
|
+
<smart-list-container-standard [options]="options()" [class]="cssClass()">
|
|
11880
|
+
<ng-content />
|
|
11881
|
+
</smart-list-container-standard>
|
|
11882
|
+
}
|
|
11883
|
+
`,
|
|
11884
|
+
encapsulation: ViewEncapsulation.None,
|
|
11885
|
+
imports: [ListContainerStandardComponent, NgComponentOutlet],
|
|
11886
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11887
|
+
}]
|
|
11888
|
+
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
11889
|
+
|
|
11890
|
+
class MediaObjectBaseComponent {
|
|
11891
|
+
static smartType = 'media-object';
|
|
11892
|
+
mediaUrl = input.required(...(ngDevMode ? [{ debugName: "mediaUrl" }] : []));
|
|
11893
|
+
mediaAlt = input.required(...(ngDevMode ? [{ debugName: "mediaAlt" }] : []));
|
|
11894
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
11895
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
11896
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: MediaObjectBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11897
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: MediaObjectBaseComponent, isStandalone: true, inputs: { mediaUrl: { classPropertyName: "mediaUrl", publicName: "mediaUrl", isSignal: true, isRequired: true, transformFunction: null }, mediaAlt: { classPropertyName: "mediaAlt", publicName: "mediaAlt", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
11898
|
+
}
|
|
11899
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: MediaObjectBaseComponent, decorators: [{
|
|
11900
|
+
type: Directive
|
|
11901
|
+
}], propDecorators: { mediaUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediaUrl", required: true }] }], mediaAlt: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediaAlt", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
11902
|
+
|
|
11903
|
+
class MediaObjectStandardComponent extends MediaObjectBaseComponent {
|
|
11904
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: MediaObjectStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11905
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: MediaObjectStandardComponent, isStandalone: true, selector: "smart-media-object-standard", usesInheritance: true, ngImport: i0, template: "<div\n [class]=\"cssClass()\"\n [attr.data-position]=\"options()?.position ?? 'left'\"\n [attr.data-alignment]=\"options()?.alignment ?? null\"\n>\n <img [src]=\"mediaUrl()\" [alt]=\"mediaAlt()\" />\n <div class=\"smart-media-object-body\">\n <ng-content />\n </div>\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11906
|
+
}
|
|
11907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: MediaObjectStandardComponent, decorators: [{
|
|
11908
|
+
type: Component,
|
|
11909
|
+
args: [{ selector: 'smart-media-object-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n [class]=\"cssClass()\"\n [attr.data-position]=\"options()?.position ?? 'left'\"\n [attr.data-alignment]=\"options()?.alignment ?? null\"\n>\n <img [src]=\"mediaUrl()\" [alt]=\"mediaAlt()\" />\n <div class=\"smart-media-object-body\">\n <ng-content />\n </div>\n</div>\n" }]
|
|
11910
|
+
}] });
|
|
11911
|
+
|
|
11912
|
+
class MediaObjectComponent {
|
|
11913
|
+
injectedComponent = inject(MEDIA_OBJECT_STANDARD_COMPONENT_TOKEN, {
|
|
11914
|
+
optional: true,
|
|
11915
|
+
});
|
|
11916
|
+
mediaUrl = input.required(...(ngDevMode ? [{ debugName: "mediaUrl" }] : []));
|
|
11917
|
+
mediaAlt = input.required(...(ngDevMode ? [{ debugName: "mediaAlt" }] : []));
|
|
11918
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
11919
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
11920
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
11921
|
+
componentInputs = computed(() => ({
|
|
11922
|
+
mediaUrl: this.mediaUrl(),
|
|
11923
|
+
mediaAlt: this.mediaAlt(),
|
|
11924
|
+
options: this.options(),
|
|
11925
|
+
cssClass: this.cssClass(),
|
|
11926
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
11927
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: MediaObjectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11928
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: MediaObjectComponent, isStandalone: true, selector: "smart-media-object", inputs: { mediaUrl: { classPropertyName: "mediaUrl", publicName: "mediaUrl", isSignal: true, isRequired: true, transformFunction: null }, mediaAlt: { classPropertyName: "mediaAlt", publicName: "mediaAlt", isSignal: true, isRequired: true, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
11929
|
+
@if (componentType()) {
|
|
11930
|
+
<ng-container
|
|
11931
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
11932
|
+
/>
|
|
11933
|
+
} @else {
|
|
11934
|
+
<smart-media-object-standard
|
|
11935
|
+
[mediaUrl]="mediaUrl()"
|
|
11936
|
+
[mediaAlt]="mediaAlt()"
|
|
11937
|
+
[options]="options()"
|
|
11938
|
+
[class]="cssClass()"
|
|
11939
|
+
>
|
|
11940
|
+
<ng-content />
|
|
11941
|
+
</smart-media-object-standard>
|
|
11942
|
+
}
|
|
11943
|
+
`, isInline: true, dependencies: [{ kind: "component", type: MediaObjectStandardComponent, selector: "smart-media-object-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11944
|
+
}
|
|
11945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: MediaObjectComponent, decorators: [{
|
|
11946
|
+
type: Component,
|
|
11947
|
+
args: [{
|
|
11948
|
+
selector: 'smart-media-object',
|
|
11949
|
+
template: `
|
|
11950
|
+
@if (componentType()) {
|
|
11951
|
+
<ng-container
|
|
11952
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
11953
|
+
/>
|
|
11954
|
+
} @else {
|
|
11955
|
+
<smart-media-object-standard
|
|
11956
|
+
[mediaUrl]="mediaUrl()"
|
|
11957
|
+
[mediaAlt]="mediaAlt()"
|
|
11958
|
+
[options]="options()"
|
|
11959
|
+
[class]="cssClass()"
|
|
11960
|
+
>
|
|
11961
|
+
<ng-content />
|
|
11962
|
+
</smart-media-object-standard>
|
|
11963
|
+
}
|
|
11964
|
+
`,
|
|
11965
|
+
encapsulation: ViewEncapsulation.None,
|
|
11966
|
+
imports: [MediaObjectStandardComponent, NgComponentOutlet],
|
|
11967
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11968
|
+
}]
|
|
11969
|
+
}], propDecorators: { mediaUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediaUrl", required: true }] }], mediaAlt: [{ type: i0.Input, args: [{ isSignal: true, alias: "mediaAlt", required: true }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
11970
|
+
|
|
11971
|
+
class ModalBaseComponent {
|
|
11972
|
+
static smartType = 'modal';
|
|
11973
|
+
open = model(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
11974
|
+
title = input(...(ngDevMode ? [undefined, { debugName: "title" }] : []));
|
|
11975
|
+
description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : []));
|
|
11976
|
+
actions = input([], ...(ngDevMode ? [{ debugName: "actions" }] : []));
|
|
11977
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
11978
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
11979
|
+
actionClick = output();
|
|
11980
|
+
closed = output();
|
|
11981
|
+
invokeAction(actionId) {
|
|
11982
|
+
this.actionClick.emit({ actionId });
|
|
11983
|
+
}
|
|
11984
|
+
close() {
|
|
11985
|
+
this.open.set(false);
|
|
11986
|
+
this.closed.emit();
|
|
11987
|
+
}
|
|
11988
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ModalBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
11989
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: ModalBaseComponent, isStandalone: true, inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", actionClick: "actionClick", closed: "closed" }, ngImport: i0 });
|
|
11990
|
+
}
|
|
11991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ModalBaseComponent, decorators: [{
|
|
11992
|
+
type: Directive
|
|
11993
|
+
}], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], actions: [{ type: i0.Input, args: [{ isSignal: true, alias: "actions", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], actionClick: [{ type: i0.Output, args: ["actionClick"] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
|
|
11994
|
+
|
|
11995
|
+
class ModalStandardComponent extends ModalBaseComponent {
|
|
11996
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ModalStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11997
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ModalStandardComponent, isStandalone: true, selector: "smart-modal-standard", usesInheritance: true, ngImport: i0, template: "<dialog\n [open]=\"open()\"\n [class]=\"cssClass()\"\n role=\"dialog\"\n aria-modal=\"true\"\n [attr.aria-labelledby]=\"title() ? 'smart-modal-title' : null\"\n [attr.aria-label]=\"!title() ? (options()?.ariaLabel ?? null) : null\"\n (close)=\"close()\"\n>\n @if (options()?.withDismiss) {\n <button\n type=\"button\"\n class=\"smart-modal-dismiss\"\n aria-label=\"Close\"\n (click)=\"close()\"\n >\n ×\n </button>\n }\n @if (title()) {\n <h2 id=\"smart-modal-title\">{{ title() }}</h2>\n }\n @if (description()) {\n <p>{{ description() }}</p>\n }\n <ng-content />\n @if (actions().length > 0) {\n <footer>\n @for (action of actions(); track action.id) {\n <button\n type=\"button\"\n [attr.data-variant]=\"action.variant ?? 'primary'\"\n (click)=\"invokeAction(action.id)\"\n >\n {{ action.label }}\n </button>\n }\n </footer>\n }\n</dialog>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11998
|
+
}
|
|
11999
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ModalStandardComponent, decorators: [{
|
|
12000
|
+
type: Component,
|
|
12001
|
+
args: [{ selector: 'smart-modal-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<dialog\n [open]=\"open()\"\n [class]=\"cssClass()\"\n role=\"dialog\"\n aria-modal=\"true\"\n [attr.aria-labelledby]=\"title() ? 'smart-modal-title' : null\"\n [attr.aria-label]=\"!title() ? (options()?.ariaLabel ?? null) : null\"\n (close)=\"close()\"\n>\n @if (options()?.withDismiss) {\n <button\n type=\"button\"\n class=\"smart-modal-dismiss\"\n aria-label=\"Close\"\n (click)=\"close()\"\n >\n ×\n </button>\n }\n @if (title()) {\n <h2 id=\"smart-modal-title\">{{ title() }}</h2>\n }\n @if (description()) {\n <p>{{ description() }}</p>\n }\n <ng-content />\n @if (actions().length > 0) {\n <footer>\n @for (action of actions(); track action.id) {\n <button\n type=\"button\"\n [attr.data-variant]=\"action.variant ?? 'primary'\"\n (click)=\"invokeAction(action.id)\"\n >\n {{ action.label }}\n </button>\n }\n </footer>\n }\n</dialog>\n" }]
|
|
12002
|
+
}] });
|
|
12003
|
+
|
|
12004
|
+
class ModalComponent {
|
|
12005
|
+
injectedComponent = inject(MODAL_STANDARD_COMPONENT_TOKEN, {
|
|
12006
|
+
optional: true,
|
|
12007
|
+
});
|
|
12008
|
+
open = model(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
12009
|
+
title = input(...(ngDevMode ? [undefined, { debugName: "title" }] : []));
|
|
12010
|
+
description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : []));
|
|
12011
|
+
actions = input([], ...(ngDevMode ? [{ debugName: "actions" }] : []));
|
|
12012
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
12013
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
12014
|
+
actionClick = output();
|
|
12015
|
+
closed = output();
|
|
12016
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
12017
|
+
componentInputs = computed(() => ({
|
|
12018
|
+
open: this.open(),
|
|
12019
|
+
title: this.title(),
|
|
12020
|
+
description: this.description(),
|
|
12021
|
+
actions: this.actions(),
|
|
12022
|
+
options: this.options(),
|
|
12023
|
+
cssClass: this.cssClass(),
|
|
12024
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
12025
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12026
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ModalComponent, isStandalone: true, selector: "smart-modal", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", actionClick: "actionClick", closed: "closed" }, ngImport: i0, template: `
|
|
12027
|
+
@if (componentType()) {
|
|
12028
|
+
<ng-container
|
|
12029
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
12030
|
+
/>
|
|
12031
|
+
} @else {
|
|
12032
|
+
<smart-modal-standard
|
|
12033
|
+
[(open)]="open"
|
|
12034
|
+
[title]="title()"
|
|
12035
|
+
[description]="description()"
|
|
12036
|
+
[actions]="actions()"
|
|
12037
|
+
[options]="options()"
|
|
12038
|
+
[class]="cssClass()"
|
|
12039
|
+
(actionClick)="actionClick.emit($event)"
|
|
12040
|
+
(closed)="closed.emit()"
|
|
12041
|
+
>
|
|
12042
|
+
<ng-content />
|
|
12043
|
+
</smart-modal-standard>
|
|
12044
|
+
}
|
|
12045
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ModalStandardComponent, selector: "smart-modal-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
12046
|
+
}
|
|
12047
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ModalComponent, decorators: [{
|
|
12048
|
+
type: Component,
|
|
12049
|
+
args: [{
|
|
12050
|
+
selector: 'smart-modal',
|
|
12051
|
+
template: `
|
|
12052
|
+
@if (componentType()) {
|
|
12053
|
+
<ng-container
|
|
12054
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
12055
|
+
/>
|
|
12056
|
+
} @else {
|
|
12057
|
+
<smart-modal-standard
|
|
12058
|
+
[(open)]="open"
|
|
12059
|
+
[title]="title()"
|
|
12060
|
+
[description]="description()"
|
|
12061
|
+
[actions]="actions()"
|
|
12062
|
+
[options]="options()"
|
|
12063
|
+
[class]="cssClass()"
|
|
12064
|
+
(actionClick)="actionClick.emit($event)"
|
|
12065
|
+
(closed)="closed.emit()"
|
|
12066
|
+
>
|
|
12067
|
+
<ng-content />
|
|
12068
|
+
</smart-modal-standard>
|
|
12069
|
+
}
|
|
12070
|
+
`,
|
|
12071
|
+
encapsulation: ViewEncapsulation.None,
|
|
12072
|
+
imports: [ModalStandardComponent, NgComponentOutlet],
|
|
12073
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12074
|
+
}]
|
|
12075
|
+
}], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }, { type: i0.Output, args: ["openChange"] }], title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], actions: [{ type: i0.Input, args: [{ isSignal: true, alias: "actions", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], actionClick: [{ type: i0.Output, args: ["actionClick"] }], closed: [{ type: i0.Output, args: ["closed"] }] } });
|
|
12076
|
+
|
|
11093
12077
|
class MultiColumnLayoutBaseComponent {
|
|
11094
12078
|
static smartType = 'multi-column-layout';
|
|
11095
12079
|
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
@@ -11243,6 +12227,117 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
11243
12227
|
}]
|
|
11244
12228
|
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], mobileMenuOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "mobileMenuOpen", required: false }] }, { type: i0.Output, args: ["mobileMenuOpenChange"] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }] } });
|
|
11245
12229
|
|
|
12230
|
+
class NotificationBaseComponent {
|
|
12231
|
+
static smartType = 'notification';
|
|
12232
|
+
title = input.required(...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
12233
|
+
description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : []));
|
|
12234
|
+
iconName = input(...(ngDevMode ? [undefined, { debugName: "iconName" }] : []));
|
|
12235
|
+
avatarUrl = input(...(ngDevMode ? [undefined, { debugName: "avatarUrl" }] : []));
|
|
12236
|
+
actions = input([], ...(ngDevMode ? [{ debugName: "actions" }] : []));
|
|
12237
|
+
dismissible = input(false, ...(ngDevMode ? [{ debugName: "dismissible" }] : []));
|
|
12238
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
12239
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
12240
|
+
dismissed = output();
|
|
12241
|
+
actionClick = output();
|
|
12242
|
+
dismiss() {
|
|
12243
|
+
this.dismissed.emit();
|
|
12244
|
+
}
|
|
12245
|
+
invokeAction(actionId) {
|
|
12246
|
+
this.actionClick.emit({ actionId });
|
|
12247
|
+
}
|
|
12248
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotificationBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12249
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.1", type: NotificationBaseComponent, isStandalone: true, inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, iconName: { classPropertyName: "iconName", publicName: "iconName", isSignal: true, isRequired: false, transformFunction: null }, avatarUrl: { classPropertyName: "avatarUrl", publicName: "avatarUrl", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, dismissible: { classPropertyName: "dismissible", publicName: "dismissible", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dismissed: "dismissed", actionClick: "actionClick" }, ngImport: i0 });
|
|
12250
|
+
}
|
|
12251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotificationBaseComponent, decorators: [{
|
|
12252
|
+
type: Directive
|
|
12253
|
+
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], iconName: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconName", required: false }] }], avatarUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarUrl", required: false }] }], actions: [{ type: i0.Input, args: [{ isSignal: true, alias: "actions", required: false }] }], dismissible: [{ type: i0.Input, args: [{ isSignal: true, alias: "dismissible", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], dismissed: [{ type: i0.Output, args: ["dismissed"] }], actionClick: [{ type: i0.Output, args: ["actionClick"] }] } });
|
|
12254
|
+
|
|
12255
|
+
class NotificationStandardComponent extends NotificationBaseComponent {
|
|
12256
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotificationStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
12257
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: NotificationStandardComponent, isStandalone: true, selector: "smart-notification-standard", usesInheritance: true, ngImport: i0, template: "<div\n role=\"status\"\n [attr.aria-live]=\"options()?.ariaLive ?? 'polite'\"\n [class]=\"cssClass()\"\n>\n <h3>{{ title() }}</h3>\n @if (description()) {\n <p>{{ description() }}</p>\n }\n @if (dismissible()) {\n <button type=\"button\" aria-label=\"Close\" (click)=\"dismiss()\">\n ×\n </button>\n }\n @for (action of actions(); track action.id) {\n <button\n type=\"button\"\n [attr.data-variant]=\"action.variant ?? 'primary'\"\n (click)=\"invokeAction(action.id)\"\n >\n {{ action.label }}\n </button>\n }\n</div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
12258
|
+
}
|
|
12259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotificationStandardComponent, decorators: [{
|
|
12260
|
+
type: Component,
|
|
12261
|
+
args: [{ selector: 'smart-notification-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n role=\"status\"\n [attr.aria-live]=\"options()?.ariaLive ?? 'polite'\"\n [class]=\"cssClass()\"\n>\n <h3>{{ title() }}</h3>\n @if (description()) {\n <p>{{ description() }}</p>\n }\n @if (dismissible()) {\n <button type=\"button\" aria-label=\"Close\" (click)=\"dismiss()\">\n ×\n </button>\n }\n @for (action of actions(); track action.id) {\n <button\n type=\"button\"\n [attr.data-variant]=\"action.variant ?? 'primary'\"\n (click)=\"invokeAction(action.id)\"\n >\n {{ action.label }}\n </button>\n }\n</div>\n" }]
|
|
12262
|
+
}] });
|
|
12263
|
+
|
|
12264
|
+
class NotificationComponent {
|
|
12265
|
+
injectedComponent = inject(NOTIFICATION_STANDARD_COMPONENT_TOKEN, {
|
|
12266
|
+
optional: true,
|
|
12267
|
+
});
|
|
12268
|
+
title = input.required(...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
12269
|
+
description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : []));
|
|
12270
|
+
iconName = input(...(ngDevMode ? [undefined, { debugName: "iconName" }] : []));
|
|
12271
|
+
avatarUrl = input(...(ngDevMode ? [undefined, { debugName: "avatarUrl" }] : []));
|
|
12272
|
+
actions = input([], ...(ngDevMode ? [{ debugName: "actions" }] : []));
|
|
12273
|
+
dismissible = input(false, ...(ngDevMode ? [{ debugName: "dismissible" }] : []));
|
|
12274
|
+
options = input(...(ngDevMode ? [undefined, { debugName: "options" }] : []));
|
|
12275
|
+
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : {}), alias: 'class' });
|
|
12276
|
+
dismissed = output();
|
|
12277
|
+
actionClick = output();
|
|
12278
|
+
componentType = computed(() => this.injectedComponent ?? null, ...(ngDevMode ? [{ debugName: "componentType" }] : []));
|
|
12279
|
+
componentInputs = computed(() => ({
|
|
12280
|
+
title: this.title(),
|
|
12281
|
+
description: this.description(),
|
|
12282
|
+
iconName: this.iconName(),
|
|
12283
|
+
avatarUrl: this.avatarUrl(),
|
|
12284
|
+
actions: this.actions(),
|
|
12285
|
+
dismissible: this.dismissible(),
|
|
12286
|
+
options: this.options(),
|
|
12287
|
+
cssClass: this.cssClass(),
|
|
12288
|
+
}), ...(ngDevMode ? [{ debugName: "componentInputs" }] : []));
|
|
12289
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12290
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: NotificationComponent, isStandalone: true, selector: "smart-notification", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, iconName: { classPropertyName: "iconName", publicName: "iconName", isSignal: true, isRequired: false, transformFunction: null }, avatarUrl: { classPropertyName: "avatarUrl", publicName: "avatarUrl", isSignal: true, isRequired: false, transformFunction: null }, actions: { classPropertyName: "actions", publicName: "actions", isSignal: true, isRequired: false, transformFunction: null }, dismissible: { classPropertyName: "dismissible", publicName: "dismissible", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dismissed: "dismissed", actionClick: "actionClick" }, ngImport: i0, template: `
|
|
12291
|
+
@if (componentType()) {
|
|
12292
|
+
<ng-container
|
|
12293
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
12294
|
+
/>
|
|
12295
|
+
} @else {
|
|
12296
|
+
<smart-notification-standard
|
|
12297
|
+
[title]="title()"
|
|
12298
|
+
[description]="description()"
|
|
12299
|
+
[iconName]="iconName()"
|
|
12300
|
+
[avatarUrl]="avatarUrl()"
|
|
12301
|
+
[actions]="actions()"
|
|
12302
|
+
[dismissible]="dismissible()"
|
|
12303
|
+
[options]="options()"
|
|
12304
|
+
[class]="cssClass()"
|
|
12305
|
+
(dismissed)="dismissed.emit()"
|
|
12306
|
+
(actionClick)="actionClick.emit($event)"
|
|
12307
|
+
/>
|
|
12308
|
+
}
|
|
12309
|
+
`, isInline: true, dependencies: [{ kind: "component", type: NotificationStandardComponent, selector: "smart-notification-standard" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
12310
|
+
}
|
|
12311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotificationComponent, decorators: [{
|
|
12312
|
+
type: Component,
|
|
12313
|
+
args: [{
|
|
12314
|
+
selector: 'smart-notification',
|
|
12315
|
+
template: `
|
|
12316
|
+
@if (componentType()) {
|
|
12317
|
+
<ng-container
|
|
12318
|
+
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
12319
|
+
/>
|
|
12320
|
+
} @else {
|
|
12321
|
+
<smart-notification-standard
|
|
12322
|
+
[title]="title()"
|
|
12323
|
+
[description]="description()"
|
|
12324
|
+
[iconName]="iconName()"
|
|
12325
|
+
[avatarUrl]="avatarUrl()"
|
|
12326
|
+
[actions]="actions()"
|
|
12327
|
+
[dismissible]="dismissible()"
|
|
12328
|
+
[options]="options()"
|
|
12329
|
+
[class]="cssClass()"
|
|
12330
|
+
(dismissed)="dismissed.emit()"
|
|
12331
|
+
(actionClick)="actionClick.emit($event)"
|
|
12332
|
+
/>
|
|
12333
|
+
}
|
|
12334
|
+
`,
|
|
12335
|
+
encapsulation: ViewEncapsulation.None,
|
|
12336
|
+
imports: [NotificationStandardComponent, NgComponentOutlet],
|
|
12337
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12338
|
+
}]
|
|
12339
|
+
}], propDecorators: { title: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: true }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], iconName: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconName", required: false }] }], avatarUrl: [{ type: i0.Input, args: [{ isSignal: true, alias: "avatarUrl", required: false }] }], actions: [{ type: i0.Input, args: [{ isSignal: true, alias: "actions", required: false }] }], dismissible: [{ type: i0.Input, args: [{ isSignal: true, alias: "dismissible", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], dismissed: [{ type: i0.Output, args: ["dismissed"] }], actionClick: [{ type: i0.Output, args: ["actionClick"] }] } });
|
|
12340
|
+
|
|
11246
12341
|
class PageBaseComponent {
|
|
11247
12342
|
el = inject(ElementRef);
|
|
11248
12343
|
renderer = inject(Renderer2);
|
|
@@ -13757,5 +14852,5 @@ function SmartNgModuleDecorator(options) {
|
|
|
13757
14852
|
* Generated bundle index. Do not edit.
|
|
13758
14853
|
*/
|
|
13759
14854
|
|
|
13760
|
-
export { AUTH_TOKEN, AccordionBaseComponent, AccordionBodyComponent, AccordionComponent, AccordionDefaultComponent, AccordionHeaderComponent, ActionPanelBaseComponent, ActionPanelComponent, ActionPanelStandardComponent, AlertService, AppBaseComponent, AppService, AuthService, BaseComponent, BreadcrumbsBaseComponent, BreadcrumbsComponent, BreadcrumbsStandardComponent, ButtonBaseComponent, ButtonComponent, ButtonStandardComponent, COMPONENT_COLORS, CalendarBaseComponent, CalendarComponent, CalendarService, CalendarStandardComponent, CardBaseComponent, CardComponent, CardHeadingBaseComponent, CardHeadingComponent, CardHeadingStandardComponent, CardStandardComponent, CreateDynamicComponent, DETAIL_FIELD_COMPONENTS_TOKEN, DYNAMIC_COMPONENTS_STORE, DateEditBaseComponent, DateEditComponent, DateEditStandardComponent, DateRangeBaseComponent, DateRangeComponent, DateRangeModalBaseComponent, DateRangeModalStandardComponent, DateRangeStandardComponent, DescriptionListBaseComponent, DescriptionListComponent, DescriptionListStandardComponent, DetailAddressComponent, DetailArrayComponent, DetailAttachmentComponent, DetailBaseComponent, DetailColorComponent, DetailComponent, DetailDateRangeComponent, DetailEmailComponent, DetailEnumComponent, DetailFlagComponent, DetailImageComponent, DetailLogoComponent, DetailObjectComponent, DetailPdfComponent, DetailPhoneNumberPlComponent, DetailTextComponent, DetailVideoComponent, DetailsBaseComponent, DetailsComponent, DetailsDirective, DetailsPage, DetailsService, DetailsStandardComponent, DynamicComponentLoader, DynamicComponentStorageService, DynamicContentDirective, EmptyStateBaseComponent, EmptyStateComponent, EmptyStateStandardComponent, EnumToListPipe, ErrorService, ExportBaseComponent, ExportComponent, FILE_SERVICE_CONFIG, FORM_STANDARD_COMPONENT_TOKEN, FeedBaseComponent, FeedComponent, FeedStandardComponent, FileService, FileUrlPipe, FormBaseComponent, FormComponent, FormFactory, FormStandardComponent, GridListBaseComponent, GridListComponent, GridListStandardComponent, HardwareService, IModelExportProvider, IModelImportProvider, IModelLabelProvider, IModelPossibilitiesProvider, IModelValidatorsProvider, INPUT_FIELD_COMPONENTS_TOKEN, IconBaseComponent, IconChevronDownComponent, IconChevronUpComponent, IconComponent, IconSpinnerComponent, ImportBaseComponent, ImportComponent, InfoBaseComponent, InfoComponent, InfoStandardComponent, InputAddressComponent, InputArrayComponent, InputAttachmentComponent, InputBaseComponent, InputCheckComponent, InputColorComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputDateWithEditComponent, InputEmailComponent, InputEnumComponent, InputErrorComponent, InputFileBaseComponent, InputFileComponent, InputFlagComponent, InputFloatComponent, InputImageComponent, InputIntComponent, InputIntsComponent, InputLogoComponent, InputLongTextComponent, InputNipComponent, InputObjectComponent, InputPasswordComponent, InputPdfComponent, InputPeselComponent, InputPhoneNumberComponent, InputPhoneNumberPlComponent, InputPossibilitiesBaseComponent, InputRadioComponent, InputStringsComponent, InputTextComponent, InputVideoComponent, ListBaseComponent, ListCellPipe, ListComponent, ListDesktopComponent, ListHeaderPipe, ListMasonryGridComponent, ListMobileComponent, ListMode, LoaderBaseComponent, LoaderComponent, LoaderStandardComponent, MODEL_EXPORT_PROVIDER, MODEL_IMPORT_PROVIDER, MODEL_LABEL_PROVIDER, MODEL_POSSIBILITIES_PROVIDER, MODEL_VALIDATORS_PROVIDER, MenuService, ModalService, ModelLabelPipe, MultiColumnLayoutBaseComponent, MultiColumnLayoutComponent, MultiColumnLayoutStandardComponent, NavbarBaseComponent, NavbarComponent, NavbarStandardComponent, NgrxSharedModule, NgrxStoreService, PAGE_VARIANT_COMPONENTS_TOKEN, PIPES, PageBaseComponent, PageComponent, PageHeadingBaseComponent, PageHeadingComponent, PageHeadingStandardComponent, PageStandardComponent, PaginationMode, PagingBaseComponent, PagingComponent, PagingStandardComponent, PasswordStrengthBaseComponent, PasswordStrengthComponent, PasswordStrengthStandardComponent, PopoverService, ProgressBarsBaseComponent, ProgressBarsComponent, ProgressBarsStandardComponent, ReduxAction, ReduxActionDecorator, ReduxSelect, RemoveHtmlPipe, SearchbarBaseComponent, SearchbarComponent, SearchbarStandardComponent, SectionHeadingBaseComponent, SectionHeadingComponent, SectionHeadingStandardComponent, SelectMenuBaseComponent, SelectMenuComponent, SelectMenuStandardComponent, SharedDirectivesModule, SharedFactoriesModule, SharedModule, SharedPagesModule, SharedPipesModule, SharedServicesModule, SidebarLayoutBaseComponent, SidebarLayoutComponent, SidebarLayoutStandardComponent, SidebarNavigationBaseComponent, SidebarNavigationComponent, SidebarNavigationStandardComponent, SignInFormBaseComponent, SignInFormComponent, SignInFormStandardComponent, SlugPipe, SmartFormGroup, SmartNgModule, SmartNgModuleDecorator, StackedLayoutBaseComponent, StackedLayoutComponent, StackedLayoutStandardComponent, StackedListBaseComponent, StackedListComponent, StackedListStandardComponent, StatsBaseComponent, StatsComponent, StatsStandardComponent, StorageService, StyleService, TableBaseComponent, TableComponent, TableStandardComponent, TabsBaseComponent, TabsComponent, TabsStandardComponent, TextareaBaseComponent, TextareaComponent, TextareaStandardComponent, ToastService, ToggleBaseComponent, ToggleComponent, ToggleStandardComponent, TrustHtmlPipe, UIService, VerticalNavigationBaseComponent, VerticalNavigationComponent, VerticalNavigationStandardComponent, fastPropGetter };
|
|
14855
|
+
export { AUTH_TOKEN, AccordionBaseComponent, AccordionBodyComponent, AccordionComponent, AccordionDefaultComponent, AccordionHeaderComponent, ActionPanelBaseComponent, ActionPanelComponent, ActionPanelStandardComponent, AlertService, AppBaseComponent, AppService, AuthService, AvatarBaseComponent, AvatarComponent, AvatarStandardComponent, BadgeBaseComponent, BadgeComponent, BadgeStandardComponent, BaseComponent, BreadcrumbsBaseComponent, BreadcrumbsComponent, BreadcrumbsStandardComponent, ButtonBaseComponent, ButtonComponent, ButtonGroupBaseComponent, ButtonGroupComponent, ButtonGroupStandardComponent, ButtonStandardComponent, COMPONENT_COLORS, CalendarBaseComponent, CalendarComponent, CalendarService, CalendarStandardComponent, CardBaseComponent, CardComponent, CardHeadingBaseComponent, CardHeadingComponent, CardHeadingStandardComponent, CardStandardComponent, CommandPaletteBaseComponent, CommandPaletteComponent, CommandPaletteStandardComponent, ContainerBaseComponent, ContainerComponent, ContainerStandardComponent, CreateDynamicComponent, DETAIL_FIELD_COMPONENTS_TOKEN, DYNAMIC_COMPONENTS_STORE, DateEditBaseComponent, DateEditComponent, DateEditStandardComponent, DateRangeBaseComponent, DateRangeComponent, DateRangeModalBaseComponent, DateRangeModalStandardComponent, DateRangeStandardComponent, DescriptionListBaseComponent, DescriptionListComponent, DescriptionListStandardComponent, DetailAddressComponent, DetailArrayComponent, DetailAttachmentComponent, DetailBaseComponent, DetailColorComponent, DetailComponent, DetailDateRangeComponent, DetailEmailComponent, DetailEnumComponent, DetailFlagComponent, DetailImageComponent, DetailLogoComponent, DetailObjectComponent, DetailPdfComponent, DetailPhoneNumberPlComponent, DetailTextComponent, DetailVideoComponent, DetailsBaseComponent, DetailsComponent, DetailsDirective, DetailsPage, DetailsService, DetailsStandardComponent, DividerBaseComponent, DividerComponent, DividerStandardComponent, DrawerBaseComponent, DrawerComponent, DrawerStandardComponent, DropdownBaseComponent, DropdownComponent, DropdownStandardComponent, DynamicComponentLoader, DynamicComponentStorageService, DynamicContentDirective, EmptyStateBaseComponent, EmptyStateComponent, EmptyStateStandardComponent, EnumToListPipe, ErrorService, ExportBaseComponent, ExportComponent, FILE_SERVICE_CONFIG, FORM_STANDARD_COMPONENT_TOKEN, FeedBaseComponent, FeedComponent, FeedStandardComponent, FileService, FileUrlPipe, FormBaseComponent, FormComponent, FormFactory, FormStandardComponent, GridListBaseComponent, GridListComponent, GridListStandardComponent, HardwareService, IModelExportProvider, IModelImportProvider, IModelLabelProvider, IModelPossibilitiesProvider, IModelValidatorsProvider, INPUT_FIELD_COMPONENTS_TOKEN, IconBaseComponent, IconChevronDownComponent, IconChevronUpComponent, IconComponent, IconSpinnerComponent, ImportBaseComponent, ImportComponent, InfoBaseComponent, InfoComponent, InfoStandardComponent, InputAddressComponent, InputArrayComponent, InputAttachmentComponent, InputBaseComponent, InputCheckComponent, InputColorComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputDateWithEditComponent, InputEmailComponent, InputEnumComponent, InputErrorComponent, InputFileBaseComponent, InputFileComponent, InputFlagComponent, InputFloatComponent, InputImageComponent, InputIntComponent, InputIntsComponent, InputLogoComponent, InputLongTextComponent, InputNipComponent, InputObjectComponent, InputPasswordComponent, InputPdfComponent, InputPeselComponent, InputPhoneNumberComponent, InputPhoneNumberPlComponent, InputPossibilitiesBaseComponent, InputRadioComponent, InputStringsComponent, InputTextComponent, InputVideoComponent, ListBaseComponent, ListCellPipe, ListComponent, ListContainerBaseComponent, ListContainerComponent, ListContainerStandardComponent, ListDesktopComponent, ListHeaderPipe, ListMasonryGridComponent, ListMobileComponent, ListMode, LoaderBaseComponent, LoaderComponent, LoaderStandardComponent, MODEL_EXPORT_PROVIDER, MODEL_IMPORT_PROVIDER, MODEL_LABEL_PROVIDER, MODEL_POSSIBILITIES_PROVIDER, MODEL_VALIDATORS_PROVIDER, MediaObjectBaseComponent, MediaObjectComponent, MediaObjectStandardComponent, MenuService, ModalBaseComponent, ModalComponent, ModalService, ModalStandardComponent, ModelLabelPipe, MultiColumnLayoutBaseComponent, MultiColumnLayoutComponent, MultiColumnLayoutStandardComponent, NavbarBaseComponent, NavbarComponent, NavbarStandardComponent, NgrxSharedModule, NgrxStoreService, NotificationBaseComponent, NotificationComponent, NotificationStandardComponent, PAGE_VARIANT_COMPONENTS_TOKEN, PIPES, PageBaseComponent, PageComponent, PageHeadingBaseComponent, PageHeadingComponent, PageHeadingStandardComponent, PageStandardComponent, PaginationMode, PagingBaseComponent, PagingComponent, PagingStandardComponent, PasswordStrengthBaseComponent, PasswordStrengthComponent, PasswordStrengthStandardComponent, PopoverService, ProgressBarsBaseComponent, ProgressBarsComponent, ProgressBarsStandardComponent, ReduxAction, ReduxActionDecorator, ReduxSelect, RemoveHtmlPipe, SearchbarBaseComponent, SearchbarComponent, SearchbarStandardComponent, SectionHeadingBaseComponent, SectionHeadingComponent, SectionHeadingStandardComponent, SelectMenuBaseComponent, SelectMenuComponent, SelectMenuStandardComponent, SharedDirectivesModule, SharedFactoriesModule, SharedModule, SharedPagesModule, SharedPipesModule, SharedServicesModule, SidebarLayoutBaseComponent, SidebarLayoutComponent, SidebarLayoutStandardComponent, SidebarNavigationBaseComponent, SidebarNavigationComponent, SidebarNavigationStandardComponent, SignInFormBaseComponent, SignInFormComponent, SignInFormStandardComponent, SlugPipe, SmartFormGroup, SmartNgModule, SmartNgModuleDecorator, StackedLayoutBaseComponent, StackedLayoutComponent, StackedLayoutStandardComponent, StackedListBaseComponent, StackedListComponent, StackedListStandardComponent, StatsBaseComponent, StatsComponent, StatsStandardComponent, StorageService, StyleService, TableBaseComponent, TableComponent, TableStandardComponent, TabsBaseComponent, TabsComponent, TabsStandardComponent, TextareaBaseComponent, TextareaComponent, TextareaStandardComponent, ToastService, ToggleBaseComponent, ToggleComponent, ToggleStandardComponent, TrustHtmlPipe, UIService, VerticalNavigationBaseComponent, VerticalNavigationComponent, VerticalNavigationStandardComponent, fastPropGetter };
|
|
13761
14856
|
//# sourceMappingURL=smartsoft001-angular.mjs.map
|