@smartsoft001/angular 2.173.0 → 2.175.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injectable, InjectionToken, ApplicationRef, NgModuleRef, PLATFORM_ID, Inject, signal, input, output, computed, Directive, ElementRef, ChangeDetectionStrategy, ViewEncapsulation, Component, EnvironmentInjector, createComponent, NgModule, ViewContainerRef, HostListener, Pipe, Type, model, ChangeDetectorRef, Injector,
|
|
2
|
+
import { inject, Injectable, InjectionToken, ApplicationRef, NgModuleRef, PLATFORM_ID, Inject, signal, input, output, computed, Directive, ElementRef, ChangeDetectionStrategy, ViewEncapsulation, Component, afterRenderEffect, viewChild, EnvironmentInjector, createComponent, NgModule, ViewContainerRef, HostListener, Pipe, Type, model, ChangeDetectorRef, Injector, effect, runInInjectionContext, forwardRef, linkedSignal, untracked, Renderer2, DestroyRef } from '@angular/core';
|
|
3
3
|
import { Title, DomSanitizer } from '@angular/platform-browser';
|
|
4
4
|
import { Router, NavigationEnd, NavigationStart, NavigationCancel, NavigationError, RouterModule } from '@angular/router';
|
|
5
5
|
import * as i1 from '@ngx-translate/core';
|
|
@@ -1753,6 +1753,39 @@ const TEXTAREA_STANDARD_COMPONENT_TOKEN = new InjectionToken('TEXTAREA_STANDARD_
|
|
|
1753
1753
|
const TOGGLE_STANDARD_COMPONENT_TOKEN = new InjectionToken('TOGGLE_STANDARD_COMPONENT');
|
|
1754
1754
|
const VERTICAL_NAVIGATION_STANDARD_COMPONENT_TOKEN = new InjectionToken('VERTICAL_NAVIGATION_STANDARD_COMPONENT');
|
|
1755
1755
|
|
|
1756
|
+
/**
|
|
1757
|
+
* Re-emits the outputs of the component an `NgComponentOutlet` renders.
|
|
1758
|
+
*
|
|
1759
|
+
* The wrappers render a custom implementation registered through their
|
|
1760
|
+
* `*_STANDARD_COMPONENT_TOKEN` with `NgComponentOutlet`, which passes inputs
|
|
1761
|
+
* only: without this, the wrapper's outputs stay silent as soon as a custom
|
|
1762
|
+
* implementation replaces the standard one. Each key of `targets` names an
|
|
1763
|
+
* output (or a model) of the rendered component; its value is the wrapper
|
|
1764
|
+
* output to emit, or the wrapper model to set. Outputs the rendered component
|
|
1765
|
+
* does not have are skipped. Call it in an injection context, typically the
|
|
1766
|
+
* wrapper's constructor. Declare the query as a class field
|
|
1767
|
+
* (`private readonly outlet = viewChild(NgComponentOutlet)`) and pass it in:
|
|
1768
|
+
* Angular only recognises signal queries declared as fields.
|
|
1769
|
+
*/
|
|
1770
|
+
function forwardOutletOutputs(outlet, targets) {
|
|
1771
|
+
// After render, not a plain effect: the query can resolve before the outlet
|
|
1772
|
+
// has created its component, and `componentInstance` is not a signal, so a
|
|
1773
|
+
// plain effect would read null once and never run again.
|
|
1774
|
+
afterRenderEffect((onCleanup) => {
|
|
1775
|
+
const instance = outlet()?.componentInstance;
|
|
1776
|
+
if (!instance)
|
|
1777
|
+
return;
|
|
1778
|
+
const subscriptions = [];
|
|
1779
|
+
for (const [name, target] of Object.entries(targets)) {
|
|
1780
|
+
const source = instance[name];
|
|
1781
|
+
if (typeof source?.subscribe !== 'function')
|
|
1782
|
+
continue;
|
|
1783
|
+
subscriptions.push(source.subscribe((value) => 'emit' in target ? target.emit(value) : target.set(value)));
|
|
1784
|
+
}
|
|
1785
|
+
onCleanup(() => subscriptions.forEach((sub) => sub.unsubscribe()));
|
|
1786
|
+
});
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1756
1789
|
class AlertComponent {
|
|
1757
1790
|
injectedComponent = inject(ALERT_STANDARD_COMPONENT_TOKEN, {
|
|
1758
1791
|
optional: true,
|
|
@@ -1768,8 +1801,15 @@ class AlertComponent {
|
|
|
1768
1801
|
cssClass: this.cssClass(),
|
|
1769
1802
|
}), /* @ts-ignore */
|
|
1770
1803
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
1804
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
1805
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
1806
|
+
constructor() {
|
|
1807
|
+
forwardOutletOutputs(this.outlet, {
|
|
1808
|
+
dismissed: this.dismissed,
|
|
1809
|
+
});
|
|
1810
|
+
}
|
|
1771
1811
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1772
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: AlertComponent, isStandalone: true, selector: "smart-alert", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dismissed: "dismissed" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
1812
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: AlertComponent, isStandalone: true, selector: "smart-alert", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dismissed: "dismissed" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
1773
1813
|
@if (componentType()) {
|
|
1774
1814
|
<ng-container
|
|
1775
1815
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -1805,7 +1845,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
1805
1845
|
host: { class: 'smart:contents' },
|
|
1806
1846
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1807
1847
|
}]
|
|
1808
|
-
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], dismissed: [{ type: i0.Output, args: ["dismissed"] }] } });
|
|
1848
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], dismissed: [{ type: i0.Output, args: ["dismissed"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
1809
1849
|
|
|
1810
1850
|
class AlertService {
|
|
1811
1851
|
appRef = inject(ApplicationRef);
|
|
@@ -2362,6 +2402,15 @@ class AccordionBaseComponent {
|
|
|
2362
2402
|
];
|
|
2363
2403
|
}, /* @ts-ignore */
|
|
2364
2404
|
...(ngDevMode ? [{ debugName: "sharedContainerClasses" }] : /* istanbul ignore next */ []));
|
|
2405
|
+
/**
|
|
2406
|
+
* Applies `options.open` as the initial state, once. Later toggles and a
|
|
2407
|
+
* bound `[(show)]` are left alone.
|
|
2408
|
+
*/
|
|
2409
|
+
ngOnInit() {
|
|
2410
|
+
if (this.options()?.open && !this.show()) {
|
|
2411
|
+
this.show.set(true);
|
|
2412
|
+
}
|
|
2413
|
+
}
|
|
2365
2414
|
toggle() {
|
|
2366
2415
|
if (this.options()?.disabled)
|
|
2367
2416
|
return;
|
|
@@ -3079,8 +3128,15 @@ class ActionPanelComponent {
|
|
|
3079
3128
|
cssClass: this.cssClass(),
|
|
3080
3129
|
}), /* @ts-ignore */
|
|
3081
3130
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
3131
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
3132
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
3133
|
+
constructor() {
|
|
3134
|
+
forwardOutletOutputs(this.outlet, {
|
|
3135
|
+
actionClick: this.actionClick,
|
|
3136
|
+
});
|
|
3137
|
+
}
|
|
3082
3138
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ActionPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3083
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ActionPanelComponent, isStandalone: true, selector: "smart-action-panel", inputs: { 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" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
3139
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ActionPanelComponent, isStandalone: true, selector: "smart-action-panel", inputs: { 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" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
3084
3140
|
@if (componentType()) {
|
|
3085
3141
|
<ng-container
|
|
3086
3142
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -3116,7 +3172,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
3116
3172
|
host: { class: 'smart:contents' },
|
|
3117
3173
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3118
3174
|
}]
|
|
3119
|
-
}], propDecorators: { 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"] }] } });
|
|
3175
|
+
}], ctorParameters: () => [], propDecorators: { 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"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
3120
3176
|
|
|
3121
3177
|
class AppBaseComponent {
|
|
3122
3178
|
router = inject(Router);
|
|
@@ -3280,11 +3336,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
3280
3336
|
|
|
3281
3337
|
class AvatarStandardComponent extends AvatarBaseComponent {
|
|
3282
3338
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AvatarStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3283
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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 });
|
|
3339
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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 [attr.data-placeholder-type]=\"options()?.placeholderType ?? 'icon'\"\n [attr.data-stack-direction]=\"\n isGroup() ? (options()?.stackDirection ?? 'top-to-bottom') : null\n \"\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 });
|
|
3284
3340
|
}
|
|
3285
3341
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: AvatarStandardComponent, decorators: [{
|
|
3286
3342
|
type: Component,
|
|
3287
|
-
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" }]
|
|
3343
|
+
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 [attr.data-placeholder-type]=\"options()?.placeholderType ?? 'icon'\"\n [attr.data-stack-direction]=\"\n isGroup() ? (options()?.stackDirection ?? 'top-to-bottom') : null\n \"\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" }]
|
|
3288
3344
|
}] });
|
|
3289
3345
|
|
|
3290
3346
|
/** Pixel footprint per avatar size (`size-*`). */
|
|
@@ -3549,11 +3605,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
3549
3605
|
|
|
3550
3606
|
class BadgeStandardComponent extends BadgeBaseComponent {
|
|
3551
3607
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: BadgeStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3552
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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 });
|
|
3608
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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 [attr.data-variant]=\"options()?.variant ?? 'soft'\"\n [attr.data-pill]=\"options()?.pill !== false\"\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 });
|
|
3553
3609
|
}
|
|
3554
3610
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: BadgeStandardComponent, decorators: [{
|
|
3555
3611
|
type: Component,
|
|
3556
|
-
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" }]
|
|
3612
|
+
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 [attr.data-variant]=\"options()?.variant ?? 'soft'\"\n [attr.data-pill]=\"options()?.pill !== false\"\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" }]
|
|
3557
3613
|
}] });
|
|
3558
3614
|
|
|
3559
3615
|
const SOLID_CLASSES_BY_COLOR$1 = {
|
|
@@ -3697,8 +3753,15 @@ class BadgeComponent {
|
|
|
3697
3753
|
cssClass: this.cssClass(),
|
|
3698
3754
|
}), /* @ts-ignore */
|
|
3699
3755
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
3756
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
3757
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
3758
|
+
constructor() {
|
|
3759
|
+
forwardOutletOutputs(this.outlet, {
|
|
3760
|
+
removed: this.removed,
|
|
3761
|
+
});
|
|
3762
|
+
}
|
|
3700
3763
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3701
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
3764
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
3702
3765
|
@if (componentType()) {
|
|
3703
3766
|
<ng-container
|
|
3704
3767
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -3740,7 +3803,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
3740
3803
|
host: { class: 'smart:contents' },
|
|
3741
3804
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
3742
3805
|
}]
|
|
3743
|
-
}], 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"] }] } });
|
|
3806
|
+
}], ctorParameters: () => [], 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"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
3744
3807
|
|
|
3745
3808
|
class BaseComponent {
|
|
3746
3809
|
get takeUntilDestroy() {
|
|
@@ -4004,8 +4067,15 @@ class BreadcrumbsComponent {
|
|
|
4004
4067
|
cssClass: this.cssClass(),
|
|
4005
4068
|
}), /* @ts-ignore */
|
|
4006
4069
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
4070
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
4071
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
4072
|
+
constructor() {
|
|
4073
|
+
forwardOutletOutputs(this.outlet, {
|
|
4074
|
+
itemClick: this.itemClick,
|
|
4075
|
+
});
|
|
4076
|
+
}
|
|
4007
4077
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: BreadcrumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4008
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: BreadcrumbsComponent, isStandalone: true, selector: "smart-breadcrumbs", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
4078
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: BreadcrumbsComponent, isStandalone: true, selector: "smart-breadcrumbs", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
4009
4079
|
@if (componentType()) {
|
|
4010
4080
|
<ng-container
|
|
4011
4081
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -4041,7 +4111,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
4041
4111
|
host: { class: 'smart:contents' },
|
|
4042
4112
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4043
4113
|
}]
|
|
4044
|
-
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }] } });
|
|
4114
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
4045
4115
|
|
|
4046
4116
|
class ButtonBaseComponent {
|
|
4047
4117
|
static smartType = 'button';
|
|
@@ -4527,8 +4597,16 @@ class ButtonGroupComponent {
|
|
|
4527
4597
|
cssClass: this.cssClass(),
|
|
4528
4598
|
}), /* @ts-ignore */
|
|
4529
4599
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
4600
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
4601
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
4602
|
+
constructor() {
|
|
4603
|
+
forwardOutletOutputs(this.outlet, {
|
|
4604
|
+
selected: this.selected,
|
|
4605
|
+
buttonClick: this.buttonClick,
|
|
4606
|
+
});
|
|
4607
|
+
}
|
|
4530
4608
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4531
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
4609
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
4532
4610
|
@if (componentType()) {
|
|
4533
4611
|
<ng-container
|
|
4534
4612
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -4568,7 +4646,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
4568
4646
|
host: { class: 'smart:contents' },
|
|
4569
4647
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4570
4648
|
}]
|
|
4571
|
-
}], 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"] }] } });
|
|
4649
|
+
}], ctorParameters: () => [], 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"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
4572
4650
|
|
|
4573
4651
|
class CalendarBaseComponent {
|
|
4574
4652
|
static smartType = 'calendar';
|
|
@@ -4640,6 +4718,17 @@ class CalendarBaseComponent {
|
|
|
4640
4718
|
return eventDay === target;
|
|
4641
4719
|
});
|
|
4642
4720
|
}
|
|
4721
|
+
/**
|
|
4722
|
+
* Accessible name for a day cell: the date string, followed by the number of
|
|
4723
|
+
* events on that day when there are any (e.g. `"Sat Jan 10 2026, 2 events"`).
|
|
4724
|
+
*/
|
|
4725
|
+
dayAriaLabel(day) {
|
|
4726
|
+
const label = day.toDateString();
|
|
4727
|
+
const count = this.eventsForDay(day).length;
|
|
4728
|
+
if (!count)
|
|
4729
|
+
return label;
|
|
4730
|
+
return `${label}, ${count} ${count === 1 ? 'event' : 'events'}`;
|
|
4731
|
+
}
|
|
4643
4732
|
selectDay(date) {
|
|
4644
4733
|
this.value.set(date);
|
|
4645
4734
|
}
|
|
@@ -4689,13 +4778,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
4689
4778
|
type: Directive
|
|
4690
4779
|
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], referenceDateInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "referenceDate", required: false }] }], events: [{ type: i0.Input, args: [{ isSignal: true, alias: "events", required: false }] }] } });
|
|
4691
4780
|
|
|
4781
|
+
/**
|
|
4782
|
+
* Barebones native-HTML month calendar rendered by `<smart-calendar>`.
|
|
4783
|
+
*
|
|
4784
|
+
* Days with events get `data-events="<count>"`, an aria-label that mentions
|
|
4785
|
+
* the count and, without `options.dayCellTpl`, an `aria-hidden` event marker.
|
|
4786
|
+
*/
|
|
4692
4787
|
class CalendarStandardComponent extends CalendarBaseComponent {
|
|
4693
4788
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CalendarStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4694
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: CalendarStandardComponent, isStandalone: true, selector: "smart-calendar-standard", usesInheritance: true, ngImport: i0, template: "<div [class]=\"cssClass()\">\n <div class=\"calendar\" [attr.data-view]=\"view()\">\n @if (showToolbar()) {\n <div class=\"toolbar\">\n <button type=\"button\" class=\"prev\" (click)=\"prevPeriod()\">Prev</button>\n <button type=\"button\" class=\"today-btn\" (click)=\"goToToday()\">\n Today\n </button>\n <button type=\"button\" class=\"next\" (click)=\"nextPeriod()\">Next</button>\n @if (options()?.toolbarActionsTpl) {\n <div class=\"toolbar-actions\">\n <ng-container [ngTemplateOutlet]=\"options()!.toolbarActionsTpl!\" />\n </div>\n }\n </div>\n }\n <div class=\"view-grid\">\n @for (week of monthGrid(); track $index) {\n <div class=\"week\">\n @for (cell of week; track cell.date.getTime()) {\n <button\n type=\"button\"\n class=\"day\"\n [attr.data-current-month]=\"cell.isCurrentMonth ? 'true' : null\"\n [attr.data-today]=\"cell.isToday ? 'true' : null\"\n [attr.data-selected]=\"cell.isSelected ? 'true' : null\"\n [attr.aria-label]=\"cell.date
|
|
4789
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: CalendarStandardComponent, isStandalone: true, selector: "smart-calendar-standard", usesInheritance: true, ngImport: i0, template: "<div [class]=\"cssClass()\">\n <div class=\"calendar\" [attr.data-view]=\"view()\">\n @if (showToolbar()) {\n <div class=\"toolbar\">\n <button type=\"button\" class=\"prev\" (click)=\"prevPeriod()\">Prev</button>\n <button type=\"button\" class=\"today-btn\" (click)=\"goToToday()\">\n Today\n </button>\n <button type=\"button\" class=\"next\" (click)=\"nextPeriod()\">Next</button>\n @if (options()?.toolbarActionsTpl) {\n <div class=\"toolbar-actions\">\n <ng-container [ngTemplateOutlet]=\"options()!.toolbarActionsTpl!\" />\n </div>\n }\n </div>\n }\n <div class=\"view-grid\">\n @for (week of monthGrid(); track $index) {\n <div class=\"week\">\n @for (cell of week; track cell.date.getTime()) {\n <button\n type=\"button\"\n class=\"day\"\n [attr.data-current-month]=\"cell.isCurrentMonth ? 'true' : null\"\n [attr.data-today]=\"cell.isToday ? 'true' : null\"\n [attr.data-selected]=\"cell.isSelected ? 'true' : null\"\n [attr.data-events]=\"eventsForDay(cell.date).length || null\"\n [attr.aria-label]=\"dayAriaLabel(cell.date)\"\n (click)=\"selectDay(cell.date)\"\n >\n @if (options()?.dayCellTpl) {\n <ng-container\n [ngTemplateOutlet]=\"options()!.dayCellTpl!\"\n [ngTemplateOutletContext]=\"{\n $implicit: cell,\n events: eventsForDay(cell.date),\n }\"\n />\n } @else {\n {{ cell.date.getDate() }}\n @if (eventsForDay(cell.date).length) {\n <span\n class=\"smart-calendar-event\"\n data-role=\"event-dot\"\n aria-hidden=\"true\"\n ></span>\n }\n }\n </button>\n }\n </div>\n }\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4695
4790
|
}
|
|
4696
4791
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CalendarStandardComponent, decorators: [{
|
|
4697
4792
|
type: Component,
|
|
4698
|
-
args: [{ selector: 'smart-calendar-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"cssClass()\">\n <div class=\"calendar\" [attr.data-view]=\"view()\">\n @if (showToolbar()) {\n <div class=\"toolbar\">\n <button type=\"button\" class=\"prev\" (click)=\"prevPeriod()\">Prev</button>\n <button type=\"button\" class=\"today-btn\" (click)=\"goToToday()\">\n Today\n </button>\n <button type=\"button\" class=\"next\" (click)=\"nextPeriod()\">Next</button>\n @if (options()?.toolbarActionsTpl) {\n <div class=\"toolbar-actions\">\n <ng-container [ngTemplateOutlet]=\"options()!.toolbarActionsTpl!\" />\n </div>\n }\n </div>\n }\n <div class=\"view-grid\">\n @for (week of monthGrid(); track $index) {\n <div class=\"week\">\n @for (cell of week; track cell.date.getTime()) {\n <button\n type=\"button\"\n class=\"day\"\n [attr.data-current-month]=\"cell.isCurrentMonth ? 'true' : null\"\n [attr.data-today]=\"cell.isToday ? 'true' : null\"\n [attr.data-selected]=\"cell.isSelected ? 'true' : null\"\n [attr.aria-label]=\"cell.date
|
|
4793
|
+
args: [{ selector: 'smart-calendar-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"cssClass()\">\n <div class=\"calendar\" [attr.data-view]=\"view()\">\n @if (showToolbar()) {\n <div class=\"toolbar\">\n <button type=\"button\" class=\"prev\" (click)=\"prevPeriod()\">Prev</button>\n <button type=\"button\" class=\"today-btn\" (click)=\"goToToday()\">\n Today\n </button>\n <button type=\"button\" class=\"next\" (click)=\"nextPeriod()\">Next</button>\n @if (options()?.toolbarActionsTpl) {\n <div class=\"toolbar-actions\">\n <ng-container [ngTemplateOutlet]=\"options()!.toolbarActionsTpl!\" />\n </div>\n }\n </div>\n }\n <div class=\"view-grid\">\n @for (week of monthGrid(); track $index) {\n <div class=\"week\">\n @for (cell of week; track cell.date.getTime()) {\n <button\n type=\"button\"\n class=\"day\"\n [attr.data-current-month]=\"cell.isCurrentMonth ? 'true' : null\"\n [attr.data-today]=\"cell.isToday ? 'true' : null\"\n [attr.data-selected]=\"cell.isSelected ? 'true' : null\"\n [attr.data-events]=\"eventsForDay(cell.date).length || null\"\n [attr.aria-label]=\"dayAriaLabel(cell.date)\"\n (click)=\"selectDay(cell.date)\"\n >\n @if (options()?.dayCellTpl) {\n <ng-container\n [ngTemplateOutlet]=\"options()!.dayCellTpl!\"\n [ngTemplateOutletContext]=\"{\n $implicit: cell,\n events: eventsForDay(cell.date),\n }\"\n />\n } @else {\n {{ cell.date.getDate() }}\n @if (eventsForDay(cell.date).length) {\n <span\n class=\"smart-calendar-event\"\n data-role=\"event-dot\"\n aria-hidden=\"true\"\n ></span>\n }\n }\n </button>\n }\n </div>\n }\n </div>\n </div>\n</div>\n" }]
|
|
4699
4794
|
}] });
|
|
4700
4795
|
|
|
4701
4796
|
// Outer popover card — Preline `bg-dropdown border border-dropdown-line shadow-lg`.
|
|
@@ -4868,11 +4963,11 @@ class CalendarPresetComponent extends CalendarBaseComponent {
|
|
|
4868
4963
|
return getCalendarPresetDayClasses(cell);
|
|
4869
4964
|
}
|
|
4870
4965
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CalendarPresetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
4871
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: CalendarPresetComponent, isStandalone: true, selector: "smart-calendar-preset", inputs: { cssClass: { classPropertyName: "cssClass", publicName: "cssClass", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<div [class]=\"cssClass()\">\n <div data-role=\"calendar\" [class]=\"containerClass\">\n <div [class]=\"innerClass\">\n @if (showToolbar()) {\n <div [class]=\"headerClass\">\n <div class=\"smart:col-span-1\">\n <button\n type=\"button\"\n [class]=\"navButtonClass\"\n aria-label=\"Previous\"\n (click)=\"prevPeriod()\"\n >\n <svg\n class=\"smart:shrink-0 smart:size-4\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m15 18-6-6 6-6\" />\n </svg>\n </button>\n </div>\n\n <div\n class=\"smart:col-span-3 smart:flex smart:justify-center smart:items-center smart:gap-x-1\"\n >\n <span data-role=\"month-label\" [class]=\"monthLabelClass\">{{\n monthLabel()\n }}</span>\n <span class=\"smart:text-gray-900 smart:dark:text-white\">/</span>\n <span data-role=\"year-label\" [class]=\"monthLabelClass\">{{\n yearLabel()\n }}</span>\n </div>\n\n <div class=\"smart:col-span-1 smart:flex smart:justify-end\">\n <button\n type=\"button\"\n [class]=\"navButtonClass\"\n aria-label=\"Next\"\n (click)=\"nextPeriod()\"\n >\n <svg\n class=\"smart:shrink-0 smart:size-4\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m9 18 6-6-6-6\" />\n </svg>\n </button>\n </div>\n </div>\n }\n\n <div [class]=\"weekRowClass\">\n @for (label of weekdayLabels(); track label) {\n <span data-role=\"weekday\" [class]=\"weekdayClass\">{{ label }}</span>\n }\n </div>\n\n @for (week of monthGrid(); track $index) {\n <div [class]=\"dayRowClass\">\n @for (cell of week; track cell.date.getTime()) {\n <div>\n <button\n type=\"button\"\n data-role=\"day\"\n [class]=\"dayClasses(cell)\"\n [disabled]=\"!cell.isCurrentMonth\"\n [attr.data-today]=\"cell.isToday ? 'true' : null\"\n [attr.data-selected]=\"cell.isSelected ? 'true' : null\"\n [attr.aria-label]=\"cell.date
|
|
4966
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: CalendarPresetComponent, isStandalone: true, selector: "smart-calendar-preset", inputs: { cssClass: { classPropertyName: "cssClass", publicName: "cssClass", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "<div [class]=\"cssClass()\">\n <div data-role=\"calendar\" [class]=\"containerClass\">\n <div [class]=\"innerClass\">\n @if (showToolbar()) {\n <div [class]=\"headerClass\">\n <div class=\"smart:col-span-1\">\n <button\n type=\"button\"\n [class]=\"navButtonClass\"\n aria-label=\"Previous\"\n (click)=\"prevPeriod()\"\n >\n <svg\n class=\"smart:shrink-0 smart:size-4\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m15 18-6-6 6-6\" />\n </svg>\n </button>\n </div>\n\n <div\n class=\"smart:col-span-3 smart:flex smart:justify-center smart:items-center smart:gap-x-1\"\n >\n <span data-role=\"month-label\" [class]=\"monthLabelClass\">{{\n monthLabel()\n }}</span>\n <span class=\"smart:text-gray-900 smart:dark:text-white\">/</span>\n <span data-role=\"year-label\" [class]=\"monthLabelClass\">{{\n yearLabel()\n }}</span>\n </div>\n\n <div class=\"smart:col-span-1 smart:flex smart:justify-end\">\n <button\n type=\"button\"\n [class]=\"navButtonClass\"\n aria-label=\"Next\"\n (click)=\"nextPeriod()\"\n >\n <svg\n class=\"smart:shrink-0 smart:size-4\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m9 18 6-6-6-6\" />\n </svg>\n </button>\n </div>\n </div>\n }\n\n <div [class]=\"weekRowClass\">\n @for (label of weekdayLabels(); track label) {\n <span data-role=\"weekday\" [class]=\"weekdayClass\">{{ label }}</span>\n }\n </div>\n\n @for (week of monthGrid(); track $index) {\n <div [class]=\"dayRowClass\">\n @for (cell of week; track cell.date.getTime()) {\n <div>\n <button\n type=\"button\"\n data-role=\"day\"\n [class]=\"dayClasses(cell)\"\n [disabled]=\"!cell.isCurrentMonth\"\n [attr.data-today]=\"cell.isToday ? 'true' : null\"\n [attr.data-selected]=\"cell.isSelected ? 'true' : null\"\n [attr.aria-label]=\"dayAriaLabel(cell.date)\"\n [attr.aria-pressed]=\"cell.isSelected\"\n (click)=\"selectDay(cell.date)\"\n >\n @if (options()?.dayCellTpl) {\n <ng-container\n [ngTemplateOutlet]=\"options()!.dayCellTpl!\"\n [ngTemplateOutletContext]=\"{\n $implicit: cell,\n events: eventsForDay(cell.date),\n }\"\n />\n } @else {\n {{ cell.date.getDate() }}\n @if (eventsForDay(cell.date).length) {\n <span data-role=\"event-dot\" [class]=\"eventDotClass\"></span>\n }\n }\n </button>\n </div>\n }\n </div>\n }\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
4872
4967
|
}
|
|
4873
4968
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CalendarPresetComponent, decorators: [{
|
|
4874
4969
|
type: Component,
|
|
4875
|
-
args: [{ selector: 'smart-calendar-preset', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"cssClass()\">\n <div data-role=\"calendar\" [class]=\"containerClass\">\n <div [class]=\"innerClass\">\n @if (showToolbar()) {\n <div [class]=\"headerClass\">\n <div class=\"smart:col-span-1\">\n <button\n type=\"button\"\n [class]=\"navButtonClass\"\n aria-label=\"Previous\"\n (click)=\"prevPeriod()\"\n >\n <svg\n class=\"smart:shrink-0 smart:size-4\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m15 18-6-6 6-6\" />\n </svg>\n </button>\n </div>\n\n <div\n class=\"smart:col-span-3 smart:flex smart:justify-center smart:items-center smart:gap-x-1\"\n >\n <span data-role=\"month-label\" [class]=\"monthLabelClass\">{{\n monthLabel()\n }}</span>\n <span class=\"smart:text-gray-900 smart:dark:text-white\">/</span>\n <span data-role=\"year-label\" [class]=\"monthLabelClass\">{{\n yearLabel()\n }}</span>\n </div>\n\n <div class=\"smart:col-span-1 smart:flex smart:justify-end\">\n <button\n type=\"button\"\n [class]=\"navButtonClass\"\n aria-label=\"Next\"\n (click)=\"nextPeriod()\"\n >\n <svg\n class=\"smart:shrink-0 smart:size-4\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m9 18 6-6-6-6\" />\n </svg>\n </button>\n </div>\n </div>\n }\n\n <div [class]=\"weekRowClass\">\n @for (label of weekdayLabels(); track label) {\n <span data-role=\"weekday\" [class]=\"weekdayClass\">{{ label }}</span>\n }\n </div>\n\n @for (week of monthGrid(); track $index) {\n <div [class]=\"dayRowClass\">\n @for (cell of week; track cell.date.getTime()) {\n <div>\n <button\n type=\"button\"\n data-role=\"day\"\n [class]=\"dayClasses(cell)\"\n [disabled]=\"!cell.isCurrentMonth\"\n [attr.data-today]=\"cell.isToday ? 'true' : null\"\n [attr.data-selected]=\"cell.isSelected ? 'true' : null\"\n [attr.aria-label]=\"cell.date
|
|
4970
|
+
args: [{ selector: 'smart-calendar-preset', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"cssClass()\">\n <div data-role=\"calendar\" [class]=\"containerClass\">\n <div [class]=\"innerClass\">\n @if (showToolbar()) {\n <div [class]=\"headerClass\">\n <div class=\"smart:col-span-1\">\n <button\n type=\"button\"\n [class]=\"navButtonClass\"\n aria-label=\"Previous\"\n (click)=\"prevPeriod()\"\n >\n <svg\n class=\"smart:shrink-0 smart:size-4\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m15 18-6-6 6-6\" />\n </svg>\n </button>\n </div>\n\n <div\n class=\"smart:col-span-3 smart:flex smart:justify-center smart:items-center smart:gap-x-1\"\n >\n <span data-role=\"month-label\" [class]=\"monthLabelClass\">{{\n monthLabel()\n }}</span>\n <span class=\"smart:text-gray-900 smart:dark:text-white\">/</span>\n <span data-role=\"year-label\" [class]=\"monthLabelClass\">{{\n yearLabel()\n }}</span>\n </div>\n\n <div class=\"smart:col-span-1 smart:flex smart:justify-end\">\n <button\n type=\"button\"\n [class]=\"navButtonClass\"\n aria-label=\"Next\"\n (click)=\"nextPeriod()\"\n >\n <svg\n class=\"smart:shrink-0 smart:size-4\"\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m9 18 6-6-6-6\" />\n </svg>\n </button>\n </div>\n </div>\n }\n\n <div [class]=\"weekRowClass\">\n @for (label of weekdayLabels(); track label) {\n <span data-role=\"weekday\" [class]=\"weekdayClass\">{{ label }}</span>\n }\n </div>\n\n @for (week of monthGrid(); track $index) {\n <div [class]=\"dayRowClass\">\n @for (cell of week; track cell.date.getTime()) {\n <div>\n <button\n type=\"button\"\n data-role=\"day\"\n [class]=\"dayClasses(cell)\"\n [disabled]=\"!cell.isCurrentMonth\"\n [attr.data-today]=\"cell.isToday ? 'true' : null\"\n [attr.data-selected]=\"cell.isSelected ? 'true' : null\"\n [attr.aria-label]=\"dayAriaLabel(cell.date)\"\n [attr.aria-pressed]=\"cell.isSelected\"\n (click)=\"selectDay(cell.date)\"\n >\n @if (options()?.dayCellTpl) {\n <ng-container\n [ngTemplateOutlet]=\"options()!.dayCellTpl!\"\n [ngTemplateOutletContext]=\"{\n $implicit: cell,\n events: eventsForDay(cell.date),\n }\"\n />\n } @else {\n {{ cell.date.getDate() }}\n @if (eventsForDay(cell.date).length) {\n <span data-role=\"event-dot\" [class]=\"eventDotClass\"></span>\n }\n }\n </button>\n </div>\n }\n </div>\n }\n </div>\n </div>\n</div>\n" }]
|
|
4876
4971
|
}], propDecorators: { cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "cssClass", required: false }] }] } });
|
|
4877
4972
|
|
|
4878
4973
|
class CalendarComponent {
|
|
@@ -4899,8 +4994,15 @@ class CalendarComponent {
|
|
|
4899
4994
|
events: this.events(),
|
|
4900
4995
|
}), /* @ts-ignore */
|
|
4901
4996
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
4997
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
4998
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
4999
|
+
constructor() {
|
|
5000
|
+
forwardOutletOutputs(this.outlet, {
|
|
5001
|
+
value: this.value,
|
|
5002
|
+
});
|
|
5003
|
+
}
|
|
4902
5004
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4903
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: CalendarComponent, isStandalone: true, selector: "smart-calendar", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, referenceDate: { classPropertyName: "referenceDate", publicName: "referenceDate", isSignal: true, isRequired: false, transformFunction: null }, events: { classPropertyName: "events", publicName: "events", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
5005
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: CalendarComponent, isStandalone: true, selector: "smart-calendar", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, referenceDate: { classPropertyName: "referenceDate", publicName: "referenceDate", isSignal: true, isRequired: false, transformFunction: null }, events: { classPropertyName: "events", publicName: "events", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { value: "valueChange" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
4904
5006
|
@if (componentType()) {
|
|
4905
5007
|
<ng-container
|
|
4906
5008
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -4940,7 +5042,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
4940
5042
|
host: { class: 'smart:contents' },
|
|
4941
5043
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4942
5044
|
}]
|
|
4943
|
-
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], referenceDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "referenceDate", required: false }] }], events: [{ type: i0.Input, args: [{ isSignal: true, alias: "events", required: false }] }] } });
|
|
5045
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], referenceDate: [{ type: i0.Input, args: [{ isSignal: true, alias: "referenceDate", required: false }] }], events: [{ type: i0.Input, args: [{ isSignal: true, alias: "events", required: false }] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
4944
5046
|
|
|
4945
5047
|
class CardBaseComponent {
|
|
4946
5048
|
options = input(/* @ts-ignore */
|
|
@@ -5416,8 +5518,17 @@ class CommandPaletteComponent {
|
|
|
5416
5518
|
cssClass: this.cssClass(),
|
|
5417
5519
|
}), /* @ts-ignore */
|
|
5418
5520
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
5521
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
5522
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
5523
|
+
constructor() {
|
|
5524
|
+
forwardOutletOutputs(this.outlet, {
|
|
5525
|
+
open: this.open,
|
|
5526
|
+
query: this.query,
|
|
5527
|
+
runCommand: this.runCommand,
|
|
5528
|
+
});
|
|
5529
|
+
}
|
|
5419
5530
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: CommandPaletteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5420
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
5531
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
5421
5532
|
@if (componentType()) {
|
|
5422
5533
|
<ng-container
|
|
5423
5534
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -5459,7 +5570,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
5459
5570
|
host: { class: 'smart:contents' },
|
|
5460
5571
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5461
5572
|
}]
|
|
5462
|
-
}], 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"] }] } });
|
|
5573
|
+
}], ctorParameters: () => [], 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"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
5463
5574
|
|
|
5464
5575
|
/**
|
|
5465
5576
|
* Class recipes for the styled command-palette preset.
|
|
@@ -9976,8 +10087,15 @@ class DividerComponent {
|
|
|
9976
10087
|
cssClass: this.cssClass(),
|
|
9977
10088
|
}), /* @ts-ignore */
|
|
9978
10089
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
10090
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
10091
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
10092
|
+
constructor() {
|
|
10093
|
+
forwardOutletOutputs(this.outlet, {
|
|
10094
|
+
actionClick: this.actionClick,
|
|
10095
|
+
});
|
|
10096
|
+
}
|
|
9979
10097
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: DividerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9980
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
10098
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
9981
10099
|
@if (componentType()) {
|
|
9982
10100
|
<ng-container
|
|
9983
10101
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -10021,7 +10139,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
10021
10139
|
host: { class: 'smart:contents' },
|
|
10022
10140
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10023
10141
|
}]
|
|
10024
|
-
}], 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"] }] } });
|
|
10142
|
+
}], ctorParameters: () => [], 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"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
10025
10143
|
|
|
10026
10144
|
class DrawerBaseComponent {
|
|
10027
10145
|
static smartType = 'drawer';
|
|
@@ -10219,8 +10337,16 @@ class DrawerComponent {
|
|
|
10219
10337
|
cssClass: this.cssClass(),
|
|
10220
10338
|
}), /* @ts-ignore */
|
|
10221
10339
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
10340
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
10341
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
10342
|
+
constructor() {
|
|
10343
|
+
forwardOutletOutputs(this.outlet, {
|
|
10344
|
+
open: this.open,
|
|
10345
|
+
closed: this.closed,
|
|
10346
|
+
});
|
|
10347
|
+
}
|
|
10222
10348
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: DrawerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10223
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
10349
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
10224
10350
|
@if (componentType()) {
|
|
10225
10351
|
<ng-container
|
|
10226
10352
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -10264,7 +10390,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
10264
10390
|
host: { class: 'smart:contents' },
|
|
10265
10391
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10266
10392
|
}]
|
|
10267
|
-
}], 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"] }] } });
|
|
10393
|
+
}], ctorParameters: () => [], 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"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
10268
10394
|
|
|
10269
10395
|
class DropdownBaseComponent {
|
|
10270
10396
|
static smartType = 'dropdown';
|
|
@@ -10508,8 +10634,16 @@ class DropdownComponent {
|
|
|
10508
10634
|
cssClass: this.cssClass(),
|
|
10509
10635
|
}), /* @ts-ignore */
|
|
10510
10636
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
10637
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
10638
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
10639
|
+
constructor() {
|
|
10640
|
+
forwardOutletOutputs(this.outlet, {
|
|
10641
|
+
selectedItem: this.selectedItem,
|
|
10642
|
+
open: this.open,
|
|
10643
|
+
});
|
|
10644
|
+
}
|
|
10511
10645
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: DropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10512
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
10646
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
10513
10647
|
@if (componentType()) {
|
|
10514
10648
|
<ng-container
|
|
10515
10649
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -10555,7 +10689,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
10555
10689
|
host: { class: 'smart:contents' },
|
|
10556
10690
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10557
10691
|
}]
|
|
10558
|
-
}], 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"] }] } });
|
|
10692
|
+
}], ctorParameters: () => [], 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"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
10559
10693
|
|
|
10560
10694
|
class EmptyStateBaseComponent {
|
|
10561
10695
|
static smartType = 'empty-state';
|
|
@@ -10841,8 +10975,16 @@ class EmptyStateComponent {
|
|
|
10841
10975
|
cssClass: this.cssClass(),
|
|
10842
10976
|
}), /* @ts-ignore */
|
|
10843
10977
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
10978
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
10979
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
10980
|
+
constructor() {
|
|
10981
|
+
forwardOutletOutputs(this.outlet, {
|
|
10982
|
+
actionClick: this.actionClick,
|
|
10983
|
+
itemClick: this.itemClick,
|
|
10984
|
+
});
|
|
10985
|
+
}
|
|
10844
10986
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: EmptyStateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10845
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: EmptyStateComponent, isStandalone: true, selector: "smart-empty-state", inputs: { 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", itemClick: "itemClick" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
10987
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: EmptyStateComponent, isStandalone: true, selector: "smart-empty-state", inputs: { 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", itemClick: "itemClick" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
10846
10988
|
@if (componentType()) {
|
|
10847
10989
|
<ng-container
|
|
10848
10990
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -10880,20 +11022,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
10880
11022
|
host: { class: 'smart:contents' },
|
|
10881
11023
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10882
11024
|
}]
|
|
10883
|
-
}], propDecorators: { 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"] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }] } });
|
|
11025
|
+
}], ctorParameters: () => [], propDecorators: { 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"] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
10884
11026
|
|
|
10885
11027
|
class ExportBaseComponent {
|
|
10886
11028
|
value = input(undefined, /* @ts-ignore */
|
|
10887
11029
|
...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
11030
|
+
/** Name for the exported file, passed to `handler` as its second argument. */
|
|
10888
11031
|
fileName = input(/* @ts-ignore */
|
|
10889
11032
|
...(ngDevMode ? [undefined, { debugName: "fileName" }] : /* istanbul ignore next */ []));
|
|
11033
|
+
/**
|
|
11034
|
+
* Called with `value` and `fileName` on click. Serialise and download the
|
|
11035
|
+
* data here. The `fileName` argument is optional, so `(value) => void`
|
|
11036
|
+
* handlers keep working.
|
|
11037
|
+
*/
|
|
10890
11038
|
handler = input.required(/* @ts-ignore */
|
|
10891
11039
|
...(ngDevMode ? [{ debugName: "handler" }] : /* istanbul ignore next */ []));
|
|
11040
|
+
/** Extra CSS classes applied to the rendered button. */
|
|
10892
11041
|
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : /* istanbul ignore next */ {}), alias: 'class' });
|
|
10893
11042
|
async onClick() {
|
|
10894
11043
|
const value = this.value();
|
|
10895
11044
|
if (value) {
|
|
10896
|
-
this.handler()(value);
|
|
11045
|
+
this.handler()(value, this.fileName());
|
|
10897
11046
|
return;
|
|
10898
11047
|
}
|
|
10899
11048
|
}
|
|
@@ -10910,8 +11059,13 @@ class ExportComponent extends ExportBaseComponent {
|
|
|
10910
11059
|
};
|
|
10911
11060
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ExportComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
10912
11061
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.1.3", type: ExportComponent, isStandalone: true, selector: "smart-export", usesInheritance: true, ngImport: i0, template: `
|
|
10913
|
-
<smart-button
|
|
11062
|
+
<smart-button
|
|
11063
|
+
[options]="buttonOptions"
|
|
11064
|
+
[disabled]="!value()"
|
|
11065
|
+
[class]="cssClass()"
|
|
11066
|
+
>
|
|
10914
11067
|
<svg
|
|
11068
|
+
aria-hidden="true"
|
|
10915
11069
|
xmlns="http://www.w3.org/2000/svg"
|
|
10916
11070
|
viewBox="0 0 20 20"
|
|
10917
11071
|
fill="currentColor"
|
|
@@ -10924,6 +11078,7 @@ class ExportComponent extends ExportBaseComponent {
|
|
|
10924
11078
|
d="M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z"
|
|
10925
11079
|
/>
|
|
10926
11080
|
</svg>
|
|
11081
|
+
<span class="smart:sr-only">Export</span>
|
|
10927
11082
|
</smart-button>
|
|
10928
11083
|
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "smart-button", inputs: ["options", "disabled", "class"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
10929
11084
|
}
|
|
@@ -10932,8 +11087,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
10932
11087
|
args: [{
|
|
10933
11088
|
selector: 'smart-export',
|
|
10934
11089
|
template: `
|
|
10935
|
-
<smart-button
|
|
11090
|
+
<smart-button
|
|
11091
|
+
[options]="buttonOptions"
|
|
11092
|
+
[disabled]="!value()"
|
|
11093
|
+
[class]="cssClass()"
|
|
11094
|
+
>
|
|
10936
11095
|
<svg
|
|
11096
|
+
aria-hidden="true"
|
|
10937
11097
|
xmlns="http://www.w3.org/2000/svg"
|
|
10938
11098
|
viewBox="0 0 20 20"
|
|
10939
11099
|
fill="currentColor"
|
|
@@ -10946,6 +11106,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
10946
11106
|
d="M3.5 12.75a.75.75 0 0 0-1.5 0v2.5A2.75 2.75 0 0 0 4.75 18h10.5A2.75 2.75 0 0 0 18 15.25v-2.5a.75.75 0 0 0-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5Z"
|
|
10947
11107
|
/>
|
|
10948
11108
|
</svg>
|
|
11109
|
+
<span class="smart:sr-only">Export</span>
|
|
10949
11110
|
</smart-button>
|
|
10950
11111
|
`,
|
|
10951
11112
|
imports: [ButtonComponent],
|
|
@@ -14593,18 +14754,8 @@ class PasswordStrengthComponent {
|
|
|
14593
14754
|
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
14594
14755
|
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
14595
14756
|
constructor() {
|
|
14596
|
-
|
|
14597
|
-
|
|
14598
|
-
const instance = this.outlet()?.componentInstance;
|
|
14599
|
-
subscription?.unsubscribe();
|
|
14600
|
-
subscription = null;
|
|
14601
|
-
if (instance) {
|
|
14602
|
-
subscription = instance.passwordStrength.subscribe((value) => this.passwordStrength.emit(value));
|
|
14603
|
-
}
|
|
14604
|
-
onCleanup(() => {
|
|
14605
|
-
subscription?.unsubscribe();
|
|
14606
|
-
subscription = null;
|
|
14607
|
-
});
|
|
14757
|
+
forwardOutletOutputs(this.outlet, {
|
|
14758
|
+
passwordStrength: this.passwordStrength,
|
|
14608
14759
|
});
|
|
14609
14760
|
}
|
|
14610
14761
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: PasswordStrengthComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -21571,7 +21722,12 @@ class FormComponent {
|
|
|
21571
21722
|
class: this.cssClass(),
|
|
21572
21723
|
}), /* @ts-ignore */
|
|
21573
21724
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
21725
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
21726
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
21574
21727
|
constructor() {
|
|
21728
|
+
// Only invokeSubmit comes from the rendered body: the value/valid outputs
|
|
21729
|
+
// are driven by the wrapper's own form group subscription.
|
|
21730
|
+
forwardOutletOutputs(this.outlet, { invokeSubmit: this.invokeSubmit });
|
|
21575
21731
|
effect(() => {
|
|
21576
21732
|
const options = this.options();
|
|
21577
21733
|
if (!options)
|
|
@@ -21684,7 +21840,7 @@ class FormComponent {
|
|
|
21684
21840
|
this.cd.detectChanges();
|
|
21685
21841
|
}
|
|
21686
21842
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: FormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21687
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FormComponent, isStandalone: true, selector: "smart-form", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { invokeSubmit: "invokeSubmit", valueChange: "valueChange", valuePartialChange: "valuePartialChange", validChange: "validChange" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
21843
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: FormComponent, isStandalone: true, selector: "smart-form", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: true, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { invokeSubmit: "invokeSubmit", valueChange: "valueChange", valuePartialChange: "valuePartialChange", validChange: "validChange" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
21688
21844
|
<!-- TODO: Export/Import moved to @smartsoft001-pro/angular (FRA-113, FRA-116) -->
|
|
21689
21845
|
<!--@if (export || import) {
|
|
21690
21846
|
<div style="text-align: right">
|
|
@@ -21770,7 +21926,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
21770
21926
|
host: { class: 'smart:contents' },
|
|
21771
21927
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
21772
21928
|
}]
|
|
21773
|
-
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], invokeSubmit: [{ type: i0.Output, args: ["invokeSubmit"] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], valuePartialChange: [{ type: i0.Output, args: ["valuePartialChange"] }], validChange: [{ type: i0.Output, args: ["validChange"] }] } });
|
|
21929
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: true }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], invokeSubmit: [{ type: i0.Output, args: ["invokeSubmit"] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], valuePartialChange: [{ type: i0.Output, args: ["valuePartialChange"] }], validChange: [{ type: i0.Output, args: ["validChange"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
21774
21930
|
|
|
21775
21931
|
/**
|
|
21776
21932
|
* Class recipes for the styled form variation (preset).
|
|
@@ -22128,6 +22284,12 @@ class PagingBaseComponent {
|
|
|
22128
22284
|
...(ngDevMode ? [{ debugName: "pageSize" }] : /* istanbul ignore next */ []));
|
|
22129
22285
|
totalItems = input(0, /* @ts-ignore */
|
|
22130
22286
|
...(ngDevMode ? [{ debugName: "totalItems" }] : /* istanbul ignore next */ []));
|
|
22287
|
+
/**
|
|
22288
|
+
* Layout variant: `'card-footer'` (results summary alongside the nav),
|
|
22289
|
+
* `'centered'` or `'simple'`. Purely visual, styled by the preset
|
|
22290
|
+
* (`PagingPresetComponent`); the standard component only exposes it as a
|
|
22291
|
+
* `data-variant` attribute on its `<nav>`. Forwarded by `<smart-paging>`.
|
|
22292
|
+
*/
|
|
22131
22293
|
variant = input('card-footer', /* @ts-ignore */
|
|
22132
22294
|
...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
22133
22295
|
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : /* istanbul ignore next */ {}), alias: 'class' });
|
|
@@ -22199,7 +22361,11 @@ class PagingStandardComponent extends PagingBaseComponent {
|
|
|
22199
22361
|
...(ngDevMode ? [{ debugName: "wrapperClasses" }] : /* istanbul ignore next */ []));
|
|
22200
22362
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: PagingStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
22201
22363
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: PagingStandardComponent, isStandalone: true, selector: "smart-paging-standard", usesInheritance: true, ngImport: i0, template: `
|
|
22202
|
-
<nav
|
|
22364
|
+
<nav
|
|
22365
|
+
aria-label="Pagination"
|
|
22366
|
+
[class]="wrapperClasses()"
|
|
22367
|
+
[attr.data-variant]="variant()"
|
|
22368
|
+
>
|
|
22203
22369
|
<button
|
|
22204
22370
|
type="button"
|
|
22205
22371
|
[disabled]="!canGoBack()"
|
|
@@ -22249,7 +22415,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
22249
22415
|
args: [{
|
|
22250
22416
|
selector: 'smart-paging-standard',
|
|
22251
22417
|
template: `
|
|
22252
|
-
<nav
|
|
22418
|
+
<nav
|
|
22419
|
+
aria-label="Pagination"
|
|
22420
|
+
[class]="wrapperClasses()"
|
|
22421
|
+
[attr.data-variant]="variant()"
|
|
22422
|
+
>
|
|
22253
22423
|
<button
|
|
22254
22424
|
type="button"
|
|
22255
22425
|
[disabled]="!canGoBack()"
|
|
@@ -22454,6 +22624,13 @@ class PagingComponent {
|
|
|
22454
22624
|
...(ngDevMode ? [{ debugName: "pageSize" }] : /* istanbul ignore next */ []));
|
|
22455
22625
|
totalItems = input(0, /* @ts-ignore */
|
|
22456
22626
|
...(ngDevMode ? [{ debugName: "totalItems" }] : /* istanbul ignore next */ []));
|
|
22627
|
+
/**
|
|
22628
|
+
* Layout variant forwarded to the rendered paging component. Purely
|
|
22629
|
+
* visual: styled by the preset, the standard only exposes it as
|
|
22630
|
+
* `data-variant`.
|
|
22631
|
+
*/
|
|
22632
|
+
variant = input('card-footer', /* @ts-ignore */
|
|
22633
|
+
...(ngDevMode ? [{ debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
22457
22634
|
cssClass = input('', { ...(ngDevMode ? { debugName: "cssClass" } : /* istanbul ignore next */ {}), alias: 'class' });
|
|
22458
22635
|
pageChange = output();
|
|
22459
22636
|
constructor() {
|
|
@@ -22473,11 +22650,12 @@ class PagingComponent {
|
|
|
22473
22650
|
this.componentRef.setInput('totalPages', this.totalPages());
|
|
22474
22651
|
this.componentRef.setInput('pageSize', this.pageSize());
|
|
22475
22652
|
this.componentRef.setInput('totalItems', this.totalItems());
|
|
22653
|
+
this.componentRef.setInput('variant', this.variant());
|
|
22476
22654
|
this.componentRef.setInput('class', this.cssClass());
|
|
22477
22655
|
});
|
|
22478
22656
|
}
|
|
22479
22657
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: PagingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22480
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.3", type: PagingComponent, isStandalone: true, selector: "smart-paging", inputs: { currentPage: { classPropertyName: "currentPage", publicName: "currentPage", isSignal: true, isRequired: false, transformFunction: null }, totalPages: { classPropertyName: "totalPages", publicName: "totalPages", isSignal: true, isRequired: false, transformFunction: null }, pageSize: { classPropertyName: "pageSize", publicName: "pageSize", isSignal: true, isRequired: false, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pageChange: "pageChange" }, viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, read: ViewContainerRef, isSignal: true }], ngImport: i0, template: `<ng-container #anchor></ng-container>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
22658
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "22.1.3", type: PagingComponent, isStandalone: true, selector: "smart-paging", inputs: { currentPage: { classPropertyName: "currentPage", publicName: "currentPage", isSignal: true, isRequired: false, transformFunction: null }, totalPages: { classPropertyName: "totalPages", publicName: "totalPages", isSignal: true, isRequired: false, transformFunction: null }, pageSize: { classPropertyName: "pageSize", publicName: "pageSize", isSignal: true, isRequired: false, transformFunction: null }, totalItems: { classPropertyName: "totalItems", publicName: "totalItems", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pageChange: "pageChange" }, viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true, read: ViewContainerRef, isSignal: true }], ngImport: i0, template: `<ng-container #anchor></ng-container>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
22481
22659
|
}
|
|
22482
22660
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: PagingComponent, decorators: [{
|
|
22483
22661
|
type: Component,
|
|
@@ -22489,7 +22667,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
22489
22667
|
}]
|
|
22490
22668
|
}], ctorParameters: () => [], propDecorators: { anchor: [{ type: i0.ViewChild, args: ['anchor', { ...{
|
|
22491
22669
|
read: ViewContainerRef,
|
|
22492
|
-
}, isSignal: true }] }], currentPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPage", required: false }] }], totalPages: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalPages", required: false }] }], pageSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageSize", required: false }] }], totalItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalItems", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], pageChange: [{ type: i0.Output, args: ["pageChange"] }] } });
|
|
22670
|
+
}, isSignal: true }] }], currentPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "currentPage", required: false }] }], totalPages: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalPages", required: false }] }], pageSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageSize", required: false }] }], totalItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "totalItems", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], pageChange: [{ type: i0.Output, args: ["pageChange"] }] } });
|
|
22493
22671
|
|
|
22494
22672
|
class ListBaseComponent {
|
|
22495
22673
|
static smartType = 'list';
|
|
@@ -22770,7 +22948,7 @@ class ListDesktopComponent extends ListBaseComponent {
|
|
|
22770
22948
|
}
|
|
22771
22949
|
}
|
|
22772
22950
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListDesktopComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
22773
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListDesktopComponent, isStandalone: true, selector: "smart-list-desktop", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<div class=\"smart:overflow-x-auto\">\n <table\n cdk-table\n [dataSource]=\"desktopList() ?? []\"\n [trackBy]=\"myTrackById\"\n [class]=\"containerClasses()\"\n >\n @for (key of desktopKeys; track key) {\n @let last = $last;\n <ng-template #pagination>\n @if (last && loadNextPage && totalPages()) {\n <div class=\"smart:float-right smart:text-sm smart:text-gray-500\">\n {{ 'page' | translate }}:\n <b>{{ page() }}/{{ totalPages() }}</b>\n </div>\n }\n </ng-template>\n <ng-container [cdkColumnDef]=\"key\">\n @switch (key) {\n @case ('selectMulti') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n class=\"smart:w-10 smart:px-3 smart:py-3.5\"\n ></th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n class=\"smart:w-10 smart:px-3 smart:py-4\"\n >\n @let listValue = desktopList();\n @if (listValue) {\n <input\n type=\"checkbox\"\n class=\"smart:rounded smart:border-gray-300 smart:text-indigo-600 smart:focus:ring-indigo-600\"\n (change)=\"\n onChangeMultiselect(\n $any($event.target).checked,\n element,\n listValue\n )\n \"\n />\n }\n </td>\n }\n @case ('removeAction') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n class=\"smart:w-10 smart:px-3 smart:py-3.5\"\n >\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n class=\"smart:w-10 smart:px-3 smart:py-4\"\n >\n @if (!checkRemoveHandler || checkRemoveHandler(element)) {\n <button\n type=\"button\"\n class=\"smart:text-red-600 smart:hover:text-red-900 smart:dark:text-red-400 smart:dark:hover:text-red-300\"\n (click)=\"removeHandler?.(element)\"\n >\n {{ 'remove' | translate }}\n </button>\n }\n </td>\n }\n @case ('itemAction') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n class=\"smart:w-10 smart:px-3 smart:py-3.5\"\n >\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n class=\"smart:w-10 smart:px-3 smart:py-4\"\n >\n <button\n type=\"button\"\n class=\"smart:text-indigo-600 smart:hover:text-indigo-900 smart:dark:text-indigo-400 smart:dark:hover:text-indigo-300\"\n (click)=\"itemHandler?.(element.id)\"\n >\n \u2192\n </button>\n </td>\n }\n @default {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n class=\"smart:px-3 smart:py-3.5 smart:text-left smart:text-sm smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n >\n {{ (desktopList() | smartListHeader: key : type)() }}\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n class=\"smart:px-3 smart:py-4 smart:text-sm smart:text-gray-700 smart:dark:text-gray-300\"\n [attr.smart-item-key]=\"key\"\n >\n @let cell = element | smartListCell: key : cellPipe : type;\n @if (cell) {\n @if (cell.type === FieldType.image) {\n <img\n height=\"50\"\n [lazyLoad]=\"cell.value | smartFileUrl\"\n alt=\"\"\n src=\"\"\n class=\"smart:h-10 smart:w-auto\"\n />\n } @else {\n <div [innerHTML]=\"cell.value\"></div>\n }\n }\n </td>\n }\n }\n </ng-container>\n }\n\n <tr\n cdk-header-row\n *cdkHeaderRowDef=\"desktopKeys ?? []; sticky: true\"\n class=\"smart:bg-gray-50 smart:dark:bg-gray-800/50\"\n ></tr>\n <tr\n cdk-row\n *cdkRowDef=\"let row; columns: desktopKeys ?? []\"\n class=\"smart:hover:bg-gray-50 smart:dark:hover:bg-gray-800/30\"\n ></tr>\n </table>\n</div>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: LazyLoadImageModule }, { kind: "directive", type: i1$2.LazyLoadImageDirective, selector: "[lazyLoad]", inputs: ["lazyLoad", "defaultImage", "errorImage", "scrollTarget", "customObservable", "offset", "useSrcset", "decode", "debug"], outputs: ["onStateChange"] }, { kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "class"], outputs: ["pageChange"] }, { kind: "component", type: CdkTable, selector: "cdk-table, table[cdk-table]", inputs: ["trackBy", "dataSource", "multiTemplateDataRows", "fixedLayout", "recycleRows"], outputs: ["contentChanged"], exportAs: ["cdkTable"] }, { kind: "directive", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { kind: "directive", type: CdkCell, selector: "cdk-cell, td[cdk-cell]" }, { kind: "component", type: CdkHeaderRow, selector: "cdk-header-row, tr[cdk-header-row]" }, { kind: "component", type: CdkRow, selector: "cdk-row, tr[cdk-row]" }, { kind: "directive", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["cdkColumnDef", "sticky", "stickyEnd"] }, { kind: "directive", type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { kind: "directive", type: CdkCellDef, selector: "[cdkCellDef]" }, { kind: "directive", type: CdkHeaderRowDef, selector: "[cdkHeaderRowDef]", inputs: ["cdkHeaderRowDef", "cdkHeaderRowDefSticky"] }, { kind: "directive", type: CdkRowDef, selector: "[cdkRowDef]", inputs: ["cdkRowDefColumns", "cdkRowDefWhen"] }, { kind: "pipe", type: ListHeaderPipe, name: "smartListHeader" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
22951
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListDesktopComponent, isStandalone: true, selector: "smart-list-desktop", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<div class=\"smart:overflow-x-auto\">\n <table\n cdk-table\n [dataSource]=\"desktopList() ?? []\"\n [trackBy]=\"myTrackById\"\n [class]=\"containerClasses()\"\n >\n @for (key of desktopKeys; track key) {\n @let last = $last;\n <ng-template #pagination>\n @if (last && loadNextPage && totalPages()) {\n <div class=\"smart:float-right smart:text-sm smart:text-gray-500\">\n {{ 'page' | translate }}:\n <b>{{ page() }}/{{ totalPages() }}</b>\n </div>\n }\n </ng-template>\n <ng-container [cdkColumnDef]=\"key\">\n @switch (key) {\n @case ('selectMulti') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n class=\"smart:w-10 smart:px-3 smart:py-3.5\"\n ></th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n class=\"smart:w-10 smart:px-3 smart:py-4\"\n >\n @let listValue = desktopList();\n @if (listValue) {\n <input\n type=\"checkbox\"\n class=\"smart:rounded smart:border-gray-300 smart:text-indigo-600 smart:focus:ring-indigo-600\"\n (change)=\"\n onChangeMultiselect(\n $any($event.target).checked,\n element,\n listValue\n )\n \"\n />\n }\n </td>\n }\n @case ('removeAction') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n class=\"smart:w-10 smart:px-3 smart:py-3.5\"\n >\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n class=\"smart:w-10 smart:px-3 smart:py-4\"\n >\n @if (!checkRemoveHandler || checkRemoveHandler(element)) {\n <button\n type=\"button\"\n class=\"smart:text-red-600 smart:hover:text-red-900 smart:dark:text-red-400 smart:dark:hover:text-red-300\"\n (click)=\"removeHandler?.(element)\"\n >\n {{ 'remove' | translate }}\n </button>\n }\n </td>\n }\n @case ('itemAction') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n class=\"smart:w-10 smart:px-3 smart:py-3.5\"\n >\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n class=\"smart:w-10 smart:px-3 smart:py-4\"\n >\n <button\n type=\"button\"\n class=\"smart:text-indigo-600 smart:hover:text-indigo-900 smart:dark:text-indigo-400 smart:dark:hover:text-indigo-300\"\n (click)=\"itemHandler?.(element.id)\"\n >\n \u2192\n </button>\n </td>\n }\n @default {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n class=\"smart:px-3 smart:py-3.5 smart:text-left smart:text-sm smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n >\n {{ (desktopList() | smartListHeader: key : type)() }}\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n class=\"smart:px-3 smart:py-4 smart:text-sm smart:text-gray-700 smart:dark:text-gray-300\"\n [attr.smart-item-key]=\"key\"\n >\n @let cell = element | smartListCell: key : cellPipe : type;\n @if (cell) {\n @if (cell.type === FieldType.image) {\n <img\n height=\"50\"\n [lazyLoad]=\"cell.value | smartFileUrl\"\n alt=\"\"\n src=\"\"\n class=\"smart:h-10 smart:w-auto\"\n />\n } @else {\n <div [innerHTML]=\"cell.value\"></div>\n }\n }\n </td>\n }\n }\n </ng-container>\n }\n\n <tr\n cdk-header-row\n *cdkHeaderRowDef=\"desktopKeys ?? []; sticky: true\"\n class=\"smart:bg-gray-50 smart:dark:bg-gray-800/50\"\n ></tr>\n <tr\n cdk-row\n *cdkRowDef=\"let row; columns: desktopKeys ?? []\"\n class=\"smart:hover:bg-gray-50 smart:dark:hover:bg-gray-800/30\"\n ></tr>\n </table>\n</div>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: LazyLoadImageModule }, { kind: "directive", type: i1$2.LazyLoadImageDirective, selector: "[lazyLoad]", inputs: ["lazyLoad", "defaultImage", "errorImage", "scrollTarget", "customObservable", "offset", "useSrcset", "decode", "debug"], outputs: ["onStateChange"] }, { kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "variant", "class"], outputs: ["pageChange"] }, { kind: "component", type: CdkTable, selector: "cdk-table, table[cdk-table]", inputs: ["trackBy", "dataSource", "multiTemplateDataRows", "fixedLayout", "recycleRows"], outputs: ["contentChanged"], exportAs: ["cdkTable"] }, { kind: "directive", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { kind: "directive", type: CdkCell, selector: "cdk-cell, td[cdk-cell]" }, { kind: "component", type: CdkHeaderRow, selector: "cdk-header-row, tr[cdk-header-row]" }, { kind: "component", type: CdkRow, selector: "cdk-row, tr[cdk-row]" }, { kind: "directive", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["cdkColumnDef", "sticky", "stickyEnd"] }, { kind: "directive", type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { kind: "directive", type: CdkCellDef, selector: "[cdkCellDef]" }, { kind: "directive", type: CdkHeaderRowDef, selector: "[cdkHeaderRowDef]", inputs: ["cdkHeaderRowDef", "cdkHeaderRowDefSticky"] }, { kind: "directive", type: CdkRowDef, selector: "[cdkRowDef]", inputs: ["cdkRowDefColumns", "cdkRowDefWhen"] }, { kind: "pipe", type: ListHeaderPipe, name: "smartListHeader" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
22774
22952
|
}
|
|
22775
22953
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListDesktopComponent, decorators: [{
|
|
22776
22954
|
type: Component,
|
|
@@ -22848,7 +23026,7 @@ class ListMasonryGridComponent extends ListBaseComponent {
|
|
|
22848
23026
|
}
|
|
22849
23027
|
}
|
|
22850
23028
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListMasonryGridComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
22851
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListMasonryGridComponent, isStandalone: true, selector: "smart-list-masonry-grid", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<ul role=\"list\" [class]=\"containerClasses()\">\n @for (item of listWithImages() ?? []; track item.data.id) {\n <li\n class=\"smart:col-span-1 smart:rounded-lg smart:bg-white smart:shadow-sm smart:dark:bg-gray-800/50 smart:overflow-hidden\"\n >\n @if (item.image) {\n <img\n class=\"smart:h-48 smart:w-full smart:object-cover\"\n [ngSrc]=\"item.image | smartFileUrl\"\n width=\"400\"\n height=\"192\"\n alt=\"\"\n />\n }\n <div class=\"smart:p-4\">\n @for (key of keys; track key) {\n @let cell = item.data | smartListCell: key : cellPipe : type;\n @if (cell && cell.type !== FieldType.image) {\n <p\n class=\"smart:text-sm smart:text-gray-900 smart:dark:text-white\"\n [innerHTML]=\"cell.value\"\n ></p>\n }\n }\n </div>\n </li>\n }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "class"], outputs: ["pageChange"] }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
23029
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListMasonryGridComponent, isStandalone: true, selector: "smart-list-masonry-grid", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<ul role=\"list\" [class]=\"containerClasses()\">\n @for (item of listWithImages() ?? []; track item.data.id) {\n <li\n class=\"smart:col-span-1 smart:rounded-lg smart:bg-white smart:shadow-sm smart:dark:bg-gray-800/50 smart:overflow-hidden\"\n >\n @if (item.image) {\n <img\n class=\"smart:h-48 smart:w-full smart:object-cover\"\n [ngSrc]=\"item.image | smartFileUrl\"\n width=\"400\"\n height=\"192\"\n alt=\"\"\n />\n }\n <div class=\"smart:p-4\">\n @for (key of keys; track key) {\n @let cell = item.data | smartListCell: key : cellPipe : type;\n @if (cell && cell.type !== FieldType.image) {\n <p\n class=\"smart:text-sm smart:text-gray-900 smart:dark:text-white\"\n [innerHTML]=\"cell.value\"\n ></p>\n }\n }\n </div>\n </li>\n }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "variant", "class"], outputs: ["pageChange"] }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
22852
23030
|
}
|
|
22853
23031
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListMasonryGridComponent, decorators: [{
|
|
22854
23032
|
type: Component,
|
|
@@ -22892,7 +23070,7 @@ class ListMobileComponent extends ListBaseComponent {
|
|
|
22892
23070
|
}
|
|
22893
23071
|
}
|
|
22894
23072
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListMobileComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
22895
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListMobileComponent, isStandalone: true, selector: "smart-list-mobile", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<ul role=\"list\" [class]=\"containerClasses()\">\n @let mobileItems = mobileList() ?? [];\n @for (item of mobileItems; track item.id) {\n <li class=\"smart:flex smart:justify-between smart:gap-x-6 smart:py-5\">\n <div class=\"smart:flex smart:min-w-0 smart:gap-x-4\">\n <div class=\"smart:min-w-0 smart:flex-auto\">\n @for (key of keys; track key) {\n @let cell = item | smartListCell: key : cellPipe : type;\n @if (cell) {\n <p\n class=\"smart:text-sm smart:text-gray-900 smart:dark:text-white\"\n [innerHTML]=\"cell.value\"\n ></p>\n }\n }\n </div>\n </div>\n <div class=\"smart:flex smart:shrink-0 smart:items-center smart:gap-x-4\">\n @if (\n removeHandler && (!checkRemoveHandler || checkRemoveHandler(item))\n ) {\n <button\n type=\"button\"\n class=\"smart:text-red-600 smart:hover:text-red-900 smart:dark:text-red-400 smart:dark:hover:text-red-300 smart:text-sm\"\n (click)=\"removeHandler?.(item)\"\n >\n {{ 'remove' | translate }}\n </button>\n }\n @if (itemHandler) {\n <button\n type=\"button\"\n class=\"smart:text-indigo-600 smart:hover:text-indigo-900 smart:dark:text-indigo-400 smart:dark:hover:text-indigo-300 smart:text-sm\"\n (click)=\"itemHandler?.(item.id)\"\n >\n \u2192\n </button>\n }\n </div>\n </li>\n }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "ngmodule", type: LazyLoadImageModule }, { kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "class"], outputs: ["pageChange"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
23073
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListMobileComponent, isStandalone: true, selector: "smart-list-mobile", viewQueries: [{ propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<ul role=\"list\" [class]=\"containerClasses()\">\n @let mobileItems = mobileList() ?? [];\n @for (item of mobileItems; track item.id) {\n <li class=\"smart:flex smart:justify-between smart:gap-x-6 smart:py-5\">\n <div class=\"smart:flex smart:min-w-0 smart:gap-x-4\">\n <div class=\"smart:min-w-0 smart:flex-auto\">\n @for (key of keys; track key) {\n @let cell = item | smartListCell: key : cellPipe : type;\n @if (cell) {\n <p\n class=\"smart:text-sm smart:text-gray-900 smart:dark:text-white\"\n [innerHTML]=\"cell.value\"\n ></p>\n }\n }\n </div>\n </div>\n <div class=\"smart:flex smart:shrink-0 smart:items-center smart:gap-x-4\">\n @if (\n removeHandler && (!checkRemoveHandler || checkRemoveHandler(item))\n ) {\n <button\n type=\"button\"\n class=\"smart:text-red-600 smart:hover:text-red-900 smart:dark:text-red-400 smart:dark:hover:text-red-300 smart:text-sm\"\n (click)=\"removeHandler?.(item)\"\n >\n {{ 'remove' | translate }}\n </button>\n }\n @if (itemHandler) {\n <button\n type=\"button\"\n class=\"smart:text-indigo-600 smart:hover:text-indigo-900 smart:dark:text-indigo-400 smart:dark:hover:text-indigo-300 smart:text-sm\"\n (click)=\"itemHandler?.(item.id)\"\n >\n \u2192\n </button>\n }\n </div>\n </li>\n }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "ngmodule", type: LazyLoadImageModule }, { kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "variant", "class"], outputs: ["pageChange"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
22896
23074
|
}
|
|
22897
23075
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListMobileComponent, decorators: [{
|
|
22898
23076
|
type: Component,
|
|
@@ -23086,7 +23264,7 @@ class ListDesktopPresetComponent extends ListDesktopComponent {
|
|
|
23086
23264
|
cellClasses = computed(() => getListDesktopCellClasses(), /* @ts-ignore */
|
|
23087
23265
|
...(ngDevMode ? [{ debugName: "cellClasses" }] : /* istanbul ignore next */ []));
|
|
23088
23266
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListDesktopPresetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
23089
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListDesktopPresetComponent, isStandalone: true, selector: "smart-list-desktop-preset", usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<div [class]=\"containerClasses()\">\n <table\n cdk-table\n data-role=\"table\"\n [dataSource]=\"desktopList() ?? []\"\n [trackBy]=\"myTrackById\"\n [class]=\"tableClasses()\"\n >\n @for (key of desktopKeys; track key) {\n @let last = $last;\n <ng-template #pagination>\n @if (last && loadNextPage && totalPages()) {\n <div class=\"smart:float-right smart:text-sm smart:text-gray-500\">\n {{ 'page' | translate }}:\n <b>{{ page() }}/{{ totalPages() }}</b>\n </div>\n }\n </ng-template>\n <ng-container [cdkColumnDef]=\"key\">\n @switch (key) {\n @case ('selectMulti') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n class=\"smart:w-10 smart:px-3 smart:py-3\"\n ></th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n class=\"smart:w-10 smart:px-3 smart:py-4\"\n >\n @let listValue = desktopList();\n @if (listValue) {\n <input\n type=\"checkbox\"\n class=\"smart:shrink-0 smart:border-gray-300 smart:rounded-sm smart:text-blue-600 smart:focus:ring-blue-500 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:checked:bg-blue-500 smart:dark:checked:border-blue-500\"\n (change)=\"\n onChangeMultiselect(\n $any($event.target).checked,\n element,\n listValue\n )\n \"\n />\n }\n </td>\n }\n @case ('removeAction') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n [class]=\"headerCellClasses() + ' smart:w-10 smart:text-end'\"\n >\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n [class]=\"cellClasses() + ' smart:w-10 smart:text-end'\"\n >\n @if (!checkRemoveHandler || checkRemoveHandler(element)) {\n <button\n type=\"button\"\n data-role=\"remove\"\n class=\"smart:inline-flex smart:items-center smart:gap-x-2 smart:text-sm smart:font-semibold smart:rounded-lg smart:text-red-600 smart:hover:text-red-700 smart:dark:text-red-400 smart:dark:hover:text-red-300 smart:focus:outline-hidden smart:disabled:opacity-50 smart:disabled:pointer-events-none\"\n (click)=\"removeHandler?.(element)\"\n >\n {{ 'remove' | translate }}\n </button>\n }\n </td>\n }\n @case ('itemAction') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n [class]=\"headerCellClasses() + ' smart:w-10 smart:text-end'\"\n >\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n [class]=\"cellClasses() + ' smart:w-10 smart:text-end'\"\n >\n <button\n type=\"button\"\n data-role=\"item\"\n class=\"smart:inline-flex smart:items-center smart:gap-x-2 smart:text-sm smart:font-semibold smart:rounded-lg smart:text-blue-600 smart:hover:text-blue-700 smart:dark:text-blue-400 smart:dark:hover:text-blue-300 smart:focus:outline-hidden smart:disabled:opacity-50 smart:disabled:pointer-events-none\"\n (click)=\"itemHandler?.(element.id)\"\n >\n \u2192\n </button>\n </td>\n }\n @default {\n <th cdk-header-cell *cdkHeaderCellDef [class]=\"headerCellClasses()\">\n {{ (desktopList() | smartListHeader: key : type)() }}\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n [class]=\"cellClasses()\"\n [attr.smart-item-key]=\"key\"\n >\n @let cell = element | smartListCell: key : cellPipe : type;\n @if (cell) {\n @if (cell.type === FieldType.image) {\n <img\n height=\"50\"\n [lazyLoad]=\"cell.value | smartFileUrl\"\n alt=\"\"\n src=\"\"\n class=\"smart:h-10 smart:w-auto\"\n />\n } @else {\n <div [innerHTML]=\"cell.value\"></div>\n }\n }\n </td>\n }\n }\n </ng-container>\n }\n\n <tr\n cdk-header-row\n data-role=\"header-row\"\n *cdkHeaderRowDef=\"desktopKeys ?? []; sticky: true\"\n [class]=\"headerRowClasses()\"\n ></tr>\n <tr\n cdk-row\n data-role=\"row\"\n *cdkRowDef=\"let row; columns: desktopKeys ?? []\"\n [class]=\"rowClasses()\"\n ></tr>\n </table>\n</div>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: LazyLoadImageModule }, { kind: "directive", type: i1$2.LazyLoadImageDirective, selector: "[lazyLoad]", inputs: ["lazyLoad", "defaultImage", "errorImage", "scrollTarget", "customObservable", "offset", "useSrcset", "decode", "debug"], outputs: ["onStateChange"] }, { kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "class"], outputs: ["pageChange"] }, { kind: "component", type: CdkTable, selector: "cdk-table, table[cdk-table]", inputs: ["trackBy", "dataSource", "multiTemplateDataRows", "fixedLayout", "recycleRows"], outputs: ["contentChanged"], exportAs: ["cdkTable"] }, { kind: "directive", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { kind: "directive", type: CdkCell, selector: "cdk-cell, td[cdk-cell]" }, { kind: "component", type: CdkHeaderRow, selector: "cdk-header-row, tr[cdk-header-row]" }, { kind: "component", type: CdkRow, selector: "cdk-row, tr[cdk-row]" }, { kind: "directive", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["cdkColumnDef", "sticky", "stickyEnd"] }, { kind: "directive", type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { kind: "directive", type: CdkCellDef, selector: "[cdkCellDef]" }, { kind: "directive", type: CdkHeaderRowDef, selector: "[cdkHeaderRowDef]", inputs: ["cdkHeaderRowDef", "cdkHeaderRowDefSticky"] }, { kind: "directive", type: CdkRowDef, selector: "[cdkRowDef]", inputs: ["cdkRowDefColumns", "cdkRowDefWhen"] }, { kind: "pipe", type: ListHeaderPipe, name: "smartListHeader" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
23267
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListDesktopPresetComponent, isStandalone: true, selector: "smart-list-desktop-preset", usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<div [class]=\"containerClasses()\">\n <table\n cdk-table\n data-role=\"table\"\n [dataSource]=\"desktopList() ?? []\"\n [trackBy]=\"myTrackById\"\n [class]=\"tableClasses()\"\n >\n @for (key of desktopKeys; track key) {\n @let last = $last;\n <ng-template #pagination>\n @if (last && loadNextPage && totalPages()) {\n <div class=\"smart:float-right smart:text-sm smart:text-gray-500\">\n {{ 'page' | translate }}:\n <b>{{ page() }}/{{ totalPages() }}</b>\n </div>\n }\n </ng-template>\n <ng-container [cdkColumnDef]=\"key\">\n @switch (key) {\n @case ('selectMulti') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n class=\"smart:w-10 smart:px-3 smart:py-3\"\n ></th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n class=\"smart:w-10 smart:px-3 smart:py-4\"\n >\n @let listValue = desktopList();\n @if (listValue) {\n <input\n type=\"checkbox\"\n class=\"smart:shrink-0 smart:border-gray-300 smart:rounded-sm smart:text-blue-600 smart:focus:ring-blue-500 smart:dark:bg-gray-800 smart:dark:border-gray-600 smart:dark:checked:bg-blue-500 smart:dark:checked:border-blue-500\"\n (change)=\"\n onChangeMultiselect(\n $any($event.target).checked,\n element,\n listValue\n )\n \"\n />\n }\n </td>\n }\n @case ('removeAction') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n [class]=\"headerCellClasses() + ' smart:w-10 smart:text-end'\"\n >\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n [class]=\"cellClasses() + ' smart:w-10 smart:text-end'\"\n >\n @if (!checkRemoveHandler || checkRemoveHandler(element)) {\n <button\n type=\"button\"\n data-role=\"remove\"\n class=\"smart:inline-flex smart:items-center smart:gap-x-2 smart:text-sm smart:font-semibold smart:rounded-lg smart:text-red-600 smart:hover:text-red-700 smart:dark:text-red-400 smart:dark:hover:text-red-300 smart:focus:outline-hidden smart:disabled:opacity-50 smart:disabled:pointer-events-none\"\n (click)=\"removeHandler?.(element)\"\n >\n {{ 'remove' | translate }}\n </button>\n }\n </td>\n }\n @case ('itemAction') {\n <th\n cdk-header-cell\n *cdkHeaderCellDef\n [class]=\"headerCellClasses() + ' smart:w-10 smart:text-end'\"\n >\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n [class]=\"cellClasses() + ' smart:w-10 smart:text-end'\"\n >\n <button\n type=\"button\"\n data-role=\"item\"\n class=\"smart:inline-flex smart:items-center smart:gap-x-2 smart:text-sm smart:font-semibold smart:rounded-lg smart:text-blue-600 smart:hover:text-blue-700 smart:dark:text-blue-400 smart:dark:hover:text-blue-300 smart:focus:outline-hidden smart:disabled:opacity-50 smart:disabled:pointer-events-none\"\n (click)=\"itemHandler?.(element.id)\"\n >\n \u2192\n </button>\n </td>\n }\n @default {\n <th cdk-header-cell *cdkHeaderCellDef [class]=\"headerCellClasses()\">\n {{ (desktopList() | smartListHeader: key : type)() }}\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td\n cdk-cell\n *cdkCellDef=\"let element\"\n [class]=\"cellClasses()\"\n [attr.smart-item-key]=\"key\"\n >\n @let cell = element | smartListCell: key : cellPipe : type;\n @if (cell) {\n @if (cell.type === FieldType.image) {\n <img\n height=\"50\"\n [lazyLoad]=\"cell.value | smartFileUrl\"\n alt=\"\"\n src=\"\"\n class=\"smart:h-10 smart:w-auto\"\n />\n } @else {\n <div [innerHTML]=\"cell.value\"></div>\n }\n }\n </td>\n }\n }\n </ng-container>\n }\n\n <tr\n cdk-header-row\n data-role=\"header-row\"\n *cdkHeaderRowDef=\"desktopKeys ?? []; sticky: true\"\n [class]=\"headerRowClasses()\"\n ></tr>\n <tr\n cdk-row\n data-role=\"row\"\n *cdkRowDef=\"let row; columns: desktopKeys ?? []\"\n [class]=\"rowClasses()\"\n ></tr>\n </table>\n</div>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: LazyLoadImageModule }, { kind: "directive", type: i1$2.LazyLoadImageDirective, selector: "[lazyLoad]", inputs: ["lazyLoad", "defaultImage", "errorImage", "scrollTarget", "customObservable", "offset", "useSrcset", "decode", "debug"], outputs: ["onStateChange"] }, { kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "variant", "class"], outputs: ["pageChange"] }, { kind: "component", type: CdkTable, selector: "cdk-table, table[cdk-table]", inputs: ["trackBy", "dataSource", "multiTemplateDataRows", "fixedLayout", "recycleRows"], outputs: ["contentChanged"], exportAs: ["cdkTable"] }, { kind: "directive", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { kind: "directive", type: CdkCell, selector: "cdk-cell, td[cdk-cell]" }, { kind: "component", type: CdkHeaderRow, selector: "cdk-header-row, tr[cdk-header-row]" }, { kind: "component", type: CdkRow, selector: "cdk-row, tr[cdk-row]" }, { kind: "directive", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["cdkColumnDef", "sticky", "stickyEnd"] }, { kind: "directive", type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { kind: "directive", type: CdkCellDef, selector: "[cdkCellDef]" }, { kind: "directive", type: CdkHeaderRowDef, selector: "[cdkHeaderRowDef]", inputs: ["cdkHeaderRowDef", "cdkHeaderRowDefSticky"] }, { kind: "directive", type: CdkRowDef, selector: "[cdkRowDef]", inputs: ["cdkRowDefColumns", "cdkRowDefWhen"] }, { kind: "pipe", type: ListHeaderPipe, name: "smartListHeader" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
23090
23268
|
}
|
|
23091
23269
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListDesktopPresetComponent, decorators: [{
|
|
23092
23270
|
type: Component,
|
|
@@ -23125,7 +23303,7 @@ class ListMasonryGridPresetComponent extends ListMasonryGridComponent {
|
|
|
23125
23303
|
return this.keys.find((key) => !this.isImageKey(key)) ?? null;
|
|
23126
23304
|
}
|
|
23127
23305
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListMasonryGridPresetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
23128
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListMasonryGridPresetComponent, isStandalone: true, selector: "smart-list-masonry-grid-preset", usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<ul role=\"list\" data-role=\"grid\" [class]=\"containerClasses()\">\n @for (item of listWithImages() ?? []; track item.data.id) {\n <li data-role=\"card\" [class]=\"cardContainerClasses\">\n @if (item.image) {\n <img\n data-role=\"card-image\"\n class=\"smart:h-48 smart:w-full smart:object-cover smart:rounded-t-xl\"\n [ngSrc]=\"item.image | smartFileUrl\"\n width=\"400\"\n height=\"192\"\n alt=\"\"\n />\n }\n <div class=\"smart:p-4\">\n @for (key of keys; track key) {\n @let cell = item.data | smartListCell: key : cellPipe : type;\n @if (cell && cell.type !== FieldType.image) {\n @if (key === titleKey) {\n <h3\n data-role=\"card-title\"\n class=\"smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n [innerHTML]=\"cell.value\"\n ></h3>\n } @else {\n <p\n data-role=\"card-text\"\n class=\"smart:mt-1 smart:text-gray-500 smart:dark:text-gray-400\"\n [innerHTML]=\"cell.value\"\n ></p>\n }\n }\n }\n </div>\n </li>\n }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "class"], outputs: ["pageChange"] }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
23306
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListMasonryGridPresetComponent, isStandalone: true, selector: "smart-list-masonry-grid-preset", usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<ul role=\"list\" data-role=\"grid\" [class]=\"containerClasses()\">\n @for (item of listWithImages() ?? []; track item.data.id) {\n <li data-role=\"card\" [class]=\"cardContainerClasses\">\n @if (item.image) {\n <img\n data-role=\"card-image\"\n class=\"smart:h-48 smart:w-full smart:object-cover smart:rounded-t-xl\"\n [ngSrc]=\"item.image | smartFileUrl\"\n width=\"400\"\n height=\"192\"\n alt=\"\"\n />\n }\n <div class=\"smart:p-4\">\n @for (key of keys; track key) {\n @let cell = item.data | smartListCell: key : cellPipe : type;\n @if (cell && cell.type !== FieldType.image) {\n @if (key === titleKey) {\n <h3\n data-role=\"card-title\"\n class=\"smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n [innerHTML]=\"cell.value\"\n ></h3>\n } @else {\n <p\n data-role=\"card-text\"\n class=\"smart:mt-1 smart:text-gray-500 smart:dark:text-gray-400\"\n [innerHTML]=\"cell.value\"\n ></p>\n }\n }\n }\n </div>\n </li>\n }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "variant", "class"], outputs: ["pageChange"] }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
23129
23307
|
}
|
|
23130
23308
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListMasonryGridPresetComponent, decorators: [{
|
|
23131
23309
|
type: Component,
|
|
@@ -23160,7 +23338,7 @@ class ListMobilePresetComponent extends ListMobileComponent {
|
|
|
23160
23338
|
return this.keys.find((key) => !this.isImageKey(key)) ?? null;
|
|
23161
23339
|
}
|
|
23162
23340
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListMobilePresetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
23163
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListMobilePresetComponent, isStandalone: true, selector: "smart-list-mobile-preset", usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<ul role=\"list\" [class]=\"gridClasses()\">\n @let presetItems = mobileList() ?? [];\n @for (item of presetItems; track item.id) {\n <li data-role=\"card\" [class]=\"cardContainerClasses\">\n @for (key of keys; track key) {\n @let cell = item | smartListCell: key : cellPipe : type;\n @if (cell && cell.type === FieldType.image) {\n <img\n data-role=\"card-image\"\n class=\"smart:w-full smart:h-auto smart:rounded-t-xl\"\n [lazyLoad]=\"cell.value | smartFileUrl\"\n alt=\"\"\n src=\"\"\n />\n }\n }\n <div class=\"smart:p-4\">\n @for (key of keys; track key) {\n @let cell = item | smartListCell: key : cellPipe : type;\n @if (cell && cell.type !== FieldType.image) {\n @if (key === titleKey) {\n <h3\n data-role=\"card-title\"\n class=\"smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n [innerHTML]=\"cell.value\"\n ></h3>\n } @else {\n <p\n data-role=\"card-text\"\n class=\"smart:mt-1 smart:text-gray-500 smart:dark:text-gray-400\"\n [innerHTML]=\"cell.value\"\n ></p>\n }\n }\n }\n <div class=\"smart:flex smart:items-center smart:gap-x-4\">\n @if (itemHandler) {\n <button\n type=\"button\"\n data-role=\"item\"\n class=\"smart:mt-2 smart:py-2 smart:px-3 smart:inline-flex smart:justify-center smart:items-center smart:gap-x-2 smart:text-sm smart:font-medium smart:rounded-lg smart:bg-blue-600 smart:dark:bg-blue-500 smart:text-white smart:hover:bg-blue-700 smart:dark:hover:bg-blue-600 smart:focus:outline-hidden\"\n (click)=\"itemHandler?.(item.id)\"\n >\n {{ 'details' | translate }}\n </button>\n }\n @if (\n removeHandler && (!checkRemoveHandler || checkRemoveHandler(item))\n ) {\n <button\n type=\"button\"\n data-role=\"remove\"\n class=\"smart:mt-2 smart:text-red-600 smart:hover:text-red-900 smart:dark:text-red-400 smart:dark:hover:text-red-300 smart:text-sm\"\n (click)=\"removeHandler?.(item)\"\n >\n {{ 'remove' | translate }}\n </button>\n }\n </div>\n </div>\n </li>\n }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "ngmodule", type: LazyLoadImageModule }, { kind: "directive", type: i1$2.LazyLoadImageDirective, selector: "[lazyLoad]", inputs: ["lazyLoad", "defaultImage", "errorImage", "scrollTarget", "customObservable", "offset", "useSrcset", "decode", "debug"], outputs: ["onStateChange"] }, { kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "class"], outputs: ["pageChange"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
23341
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ListMobilePresetComponent, isStandalone: true, selector: "smart-list-mobile-preset", usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<ul role=\"list\" [class]=\"gridClasses()\">\n @let presetItems = mobileList() ?? [];\n @for (item of presetItems; track item.id) {\n <li data-role=\"card\" [class]=\"cardContainerClasses\">\n @for (key of keys; track key) {\n @let cell = item | smartListCell: key : cellPipe : type;\n @if (cell && cell.type === FieldType.image) {\n <img\n data-role=\"card-image\"\n class=\"smart:w-full smart:h-auto smart:rounded-t-xl\"\n [lazyLoad]=\"cell.value | smartFileUrl\"\n alt=\"\"\n src=\"\"\n />\n }\n }\n <div class=\"smart:p-4\">\n @for (key of keys; track key) {\n @let cell = item | smartListCell: key : cellPipe : type;\n @if (cell && cell.type !== FieldType.image) {\n @if (key === titleKey) {\n <h3\n data-role=\"card-title\"\n class=\"smart:font-semibold smart:text-gray-900 smart:dark:text-white\"\n [innerHTML]=\"cell.value\"\n ></h3>\n } @else {\n <p\n data-role=\"card-text\"\n class=\"smart:mt-1 smart:text-gray-500 smart:dark:text-gray-400\"\n [innerHTML]=\"cell.value\"\n ></p>\n }\n }\n }\n <div class=\"smart:flex smart:items-center smart:gap-x-4\">\n @if (itemHandler) {\n <button\n type=\"button\"\n data-role=\"item\"\n class=\"smart:mt-2 smart:py-2 smart:px-3 smart:inline-flex smart:justify-center smart:items-center smart:gap-x-2 smart:text-sm smart:font-medium smart:rounded-lg smart:bg-blue-600 smart:dark:bg-blue-500 smart:text-white smart:hover:bg-blue-700 smart:dark:hover:bg-blue-600 smart:focus:outline-hidden\"\n (click)=\"itemHandler?.(item.id)\"\n >\n {{ 'details' | translate }}\n </button>\n }\n @if (\n removeHandler && (!checkRemoveHandler || checkRemoveHandler(item))\n ) {\n <button\n type=\"button\"\n data-role=\"remove\"\n class=\"smart:mt-2 smart:text-red-600 smart:hover:text-red-900 smart:dark:text-red-400 smart:dark:hover:text-red-300 smart:text-sm\"\n (click)=\"removeHandler?.(item)\"\n >\n {{ 'remove' | translate }}\n </button>\n }\n </div>\n </div>\n </li>\n }\n</ul>\n\n@if (options()?.pagination?.mode === PaginationMode.singlePage) {\n <smart-paging\n [currentPage]=\"page() ?? 1\"\n [totalPages]=\"totalPages() ?? 1\"\n (pageChange)=\"handlePageChange($event)\"\n ></smart-paging>\n}\n", dependencies: [{ kind: "ngmodule", type: LazyLoadImageModule }, { kind: "directive", type: i1$2.LazyLoadImageDirective, selector: "[lazyLoad]", inputs: ["lazyLoad", "defaultImage", "errorImage", "scrollTarget", "customObservable", "offset", "useSrcset", "decode", "debug"], outputs: ["onStateChange"] }, { kind: "component", type: PagingComponent, selector: "smart-paging", inputs: ["currentPage", "totalPages", "pageSize", "totalItems", "variant", "class"], outputs: ["pageChange"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "pipe", type: ListCellPipe, name: "smartListCell" }, { kind: "pipe", type: FileUrlPipe, name: "smartFileUrl" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
23164
23342
|
}
|
|
23165
23343
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ListMobilePresetComponent, decorators: [{
|
|
23166
23344
|
type: Component,
|
|
@@ -23719,8 +23897,17 @@ class ModalComponent {
|
|
|
23719
23897
|
cssClass: this.cssClass(),
|
|
23720
23898
|
}), /* @ts-ignore */
|
|
23721
23899
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
23900
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
23901
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
23902
|
+
constructor() {
|
|
23903
|
+
forwardOutletOutputs(this.outlet, {
|
|
23904
|
+
actionClick: this.actionClick,
|
|
23905
|
+
closed: this.closed,
|
|
23906
|
+
open: this.open,
|
|
23907
|
+
});
|
|
23908
|
+
}
|
|
23722
23909
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23723
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
23910
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
23724
23911
|
@if (componentType()) {
|
|
23725
23912
|
<ng-container
|
|
23726
23913
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -23770,7 +23957,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
23770
23957
|
host: { class: 'smart:contents' },
|
|
23771
23958
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23772
23959
|
}]
|
|
23773
|
-
}], 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"] }] } });
|
|
23960
|
+
}], ctorParameters: () => [], 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"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
23774
23961
|
|
|
23775
23962
|
class MultiColumnLayoutBaseComponent {
|
|
23776
23963
|
static smartType = 'multi-column-layout';
|
|
@@ -24264,8 +24451,16 @@ class NavbarComponent {
|
|
|
24264
24451
|
mobileMenuOpen: this.mobileMenuOpen(),
|
|
24265
24452
|
}), /* @ts-ignore */
|
|
24266
24453
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
24454
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
24455
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
24456
|
+
constructor() {
|
|
24457
|
+
forwardOutletOutputs(this.outlet, {
|
|
24458
|
+
itemClick: this.itemClick,
|
|
24459
|
+
mobileMenuOpen: this.mobileMenuOpen,
|
|
24460
|
+
});
|
|
24461
|
+
}
|
|
24267
24462
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: NavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24268
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: NavbarComponent, isStandalone: true, selector: "smart-navbar", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, mobileMenuOpen: { classPropertyName: "mobileMenuOpen", publicName: "mobileMenuOpen", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { mobileMenuOpen: "mobileMenuOpenChange", itemClick: "itemClick" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
24463
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: NavbarComponent, isStandalone: true, selector: "smart-navbar", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, mobileMenuOpen: { classPropertyName: "mobileMenuOpen", publicName: "mobileMenuOpen", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { mobileMenuOpen: "mobileMenuOpenChange", itemClick: "itemClick" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
24269
24464
|
@if (componentType()) {
|
|
24270
24465
|
<ng-container
|
|
24271
24466
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -24303,7 +24498,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
24303
24498
|
host: { class: 'smart:contents' },
|
|
24304
24499
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24305
24500
|
}]
|
|
24306
|
-
}], 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"] }] } });
|
|
24501
|
+
}], ctorParameters: () => [], 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"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
24307
24502
|
|
|
24308
24503
|
class NotificationBaseComponent {
|
|
24309
24504
|
static smartType = 'notification';
|
|
@@ -24589,8 +24784,16 @@ class NotificationComponent {
|
|
|
24589
24784
|
cssClass: this.cssClass(),
|
|
24590
24785
|
}), /* @ts-ignore */
|
|
24591
24786
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
24787
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
24788
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
24789
|
+
constructor() {
|
|
24790
|
+
forwardOutletOutputs(this.outlet, {
|
|
24791
|
+
dismissed: this.dismissed,
|
|
24792
|
+
actionClick: this.actionClick,
|
|
24793
|
+
});
|
|
24794
|
+
}
|
|
24592
24795
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: NotificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24593
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
24796
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", 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" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
24594
24797
|
@if (componentType()) {
|
|
24595
24798
|
<ng-container
|
|
24596
24799
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -24640,7 +24843,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
24640
24843
|
host: { class: 'smart:contents' },
|
|
24641
24844
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
24642
24845
|
}]
|
|
24643
|
-
}], 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"] }] } });
|
|
24846
|
+
}], ctorParameters: () => [], 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"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
24644
24847
|
|
|
24645
24848
|
class PageBaseComponent {
|
|
24646
24849
|
el = inject(ElementRef);
|
|
@@ -25455,8 +25658,15 @@ class ProgressBarsComponent {
|
|
|
25455
25658
|
cssClass: this.cssClass(),
|
|
25456
25659
|
}), /* @ts-ignore */
|
|
25457
25660
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
25661
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
25662
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
25663
|
+
constructor() {
|
|
25664
|
+
forwardOutletOutputs(this.outlet, {
|
|
25665
|
+
stepClick: this.stepClick,
|
|
25666
|
+
});
|
|
25667
|
+
}
|
|
25458
25668
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ProgressBarsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25459
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ProgressBarsComponent, isStandalone: true, selector: "smart-progress-bars", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stepClick: "stepClick" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
25669
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ProgressBarsComponent, isStandalone: true, selector: "smart-progress-bars", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { stepClick: "stepClick" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
25460
25670
|
@if (componentType()) {
|
|
25461
25671
|
<ng-container
|
|
25462
25672
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -25492,7 +25702,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
25492
25702
|
host: { class: 'smart:contents' },
|
|
25493
25703
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
25494
25704
|
}]
|
|
25495
|
-
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }] } });
|
|
25705
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], stepClick: [{ type: i0.Output, args: ["stepClick"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
25496
25706
|
|
|
25497
25707
|
class SearchbarBaseComponent {
|
|
25498
25708
|
static smartType = 'searchbar';
|
|
@@ -25625,8 +25835,16 @@ class SearchbarComponent {
|
|
|
25625
25835
|
cssClass: this.cssClass(),
|
|
25626
25836
|
}), /* @ts-ignore */
|
|
25627
25837
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
25838
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
25839
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
25840
|
+
constructor() {
|
|
25841
|
+
forwardOutletOutputs(this.outlet, {
|
|
25842
|
+
show: this.show,
|
|
25843
|
+
text: this.text,
|
|
25844
|
+
});
|
|
25845
|
+
}
|
|
25628
25846
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: SearchbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25629
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: SearchbarComponent, isStandalone: true, selector: "smart-searchbar", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, show: { classPropertyName: "show", publicName: "show", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { show: "showChange", text: "textChange" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
25847
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: SearchbarComponent, isStandalone: true, selector: "smart-searchbar", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, show: { classPropertyName: "show", publicName: "show", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { show: "showChange", text: "textChange" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
25630
25848
|
@if (componentType()) {
|
|
25631
25849
|
<ng-container
|
|
25632
25850
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -25664,7 +25882,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
25664
25882
|
host: { class: 'smart:contents' },
|
|
25665
25883
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
25666
25884
|
}]
|
|
25667
|
-
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], show: [{ type: i0.Input, args: [{ isSignal: true, alias: "show", required: false }] }, { type: i0.Output, args: ["showChange"] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }, { type: i0.Output, args: ["textChange"] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
25885
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], show: [{ type: i0.Input, args: [{ isSignal: true, alias: "show", required: false }] }, { type: i0.Output, args: ["showChange"] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }, { type: i0.Output, args: ["textChange"] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
25668
25886
|
|
|
25669
25887
|
class SectionHeadingBaseComponent {
|
|
25670
25888
|
static smartType = 'section-heading';
|
|
@@ -25903,8 +26121,15 @@ class SelectMenuComponent {
|
|
|
25903
26121
|
cssClass: this.cssClass(),
|
|
25904
26122
|
}), /* @ts-ignore */
|
|
25905
26123
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
26124
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
26125
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
26126
|
+
constructor() {
|
|
26127
|
+
forwardOutletOutputs(this.outlet, {
|
|
26128
|
+
value: this.value,
|
|
26129
|
+
});
|
|
26130
|
+
}
|
|
25906
26131
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: SelectMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
25907
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: SelectMenuComponent, isStandalone: true, selector: "smart-select-menu", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", 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: { value: "valueChange" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
26132
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: SelectMenuComponent, isStandalone: true, selector: "smart-select-menu", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", 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: { value: "valueChange" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
25908
26133
|
@if (componentType()) {
|
|
25909
26134
|
<ng-container
|
|
25910
26135
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -25942,7 +26167,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
25942
26167
|
host: { class: 'smart:contents' },
|
|
25943
26168
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
25944
26169
|
}]
|
|
25945
|
-
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
26170
|
+
}], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
25946
26171
|
|
|
25947
26172
|
class SidebarLayoutBaseComponent {
|
|
25948
26173
|
static smartType = 'sidebar-layout';
|
|
@@ -26206,8 +26431,16 @@ class SidebarNavigationComponent {
|
|
|
26206
26431
|
cssClass: this.cssClass(),
|
|
26207
26432
|
}), /* @ts-ignore */
|
|
26208
26433
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
26434
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
26435
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
26436
|
+
constructor() {
|
|
26437
|
+
forwardOutletOutputs(this.outlet, {
|
|
26438
|
+
itemClick: this.itemClick,
|
|
26439
|
+
itemToggle: this.itemToggle,
|
|
26440
|
+
});
|
|
26441
|
+
}
|
|
26209
26442
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: SidebarNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26210
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: SidebarNavigationComponent, isStandalone: true, selector: "smart-sidebar-navigation", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick", itemToggle: "itemToggle" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
26443
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: SidebarNavigationComponent, isStandalone: true, selector: "smart-sidebar-navigation", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick", itemToggle: "itemToggle" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
26211
26444
|
@if (componentType()) {
|
|
26212
26445
|
<ng-container
|
|
26213
26446
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -26245,7 +26478,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
26245
26478
|
host: { class: 'smart:contents' },
|
|
26246
26479
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26247
26480
|
}]
|
|
26248
|
-
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }], itemToggle: [{ type: i0.Output, args: ["itemToggle"] }] } });
|
|
26481
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }], itemToggle: [{ type: i0.Output, args: ["itemToggle"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
26249
26482
|
|
|
26250
26483
|
class SignInFormBaseComponent {
|
|
26251
26484
|
static smartType = 'sign-in-form';
|
|
@@ -26512,8 +26745,16 @@ class SignInFormComponent {
|
|
|
26512
26745
|
cssClass: this.cssClass(),
|
|
26513
26746
|
}), /* @ts-ignore */
|
|
26514
26747
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
26748
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
26749
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
26750
|
+
constructor() {
|
|
26751
|
+
forwardOutletOutputs(this.outlet, {
|
|
26752
|
+
submit: this.submit,
|
|
26753
|
+
socialClick: this.socialClick,
|
|
26754
|
+
});
|
|
26755
|
+
}
|
|
26515
26756
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: SignInFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
26516
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: SignInFormComponent, isStandalone: true, selector: "smart-sign-in-form", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", 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: { submit: "submit", socialClick: "socialClick" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
26757
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: SignInFormComponent, isStandalone: true, selector: "smart-sign-in-form", inputs: { mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", 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: { submit: "submit", socialClick: "socialClick" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
26517
26758
|
@if (componentType()) {
|
|
26518
26759
|
<ng-container
|
|
26519
26760
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -26555,7 +26796,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
26555
26796
|
host: { class: 'smart:contents' },
|
|
26556
26797
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
26557
26798
|
}]
|
|
26558
|
-
}], propDecorators: { mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], submit: [{ type: i0.Output, args: ["submit"] }], socialClick: [{ type: i0.Output, args: ["socialClick"] }] } });
|
|
26799
|
+
}], ctorParameters: () => [], propDecorators: { mode: [{ type: i0.Input, args: [{ isSignal: true, alias: "mode", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], submit: [{ type: i0.Output, args: ["submit"] }], socialClick: [{ type: i0.Output, args: ["socialClick"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
26559
26800
|
|
|
26560
26801
|
class StackedLayoutBaseComponent {
|
|
26561
26802
|
static smartType = 'stacked-layout';
|
|
@@ -26569,13 +26810,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
26569
26810
|
type: Directive
|
|
26570
26811
|
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
26571
26812
|
|
|
26813
|
+
/**
|
|
26814
|
+
* Barebones native-HTML stacked layout rendered by `<smart-stacked-layout>`.
|
|
26815
|
+
*
|
|
26816
|
+
* Renders `options.navTpl` in a `<header><nav>`, then `options.headerTpl` —
|
|
26817
|
+
* or, without it, `options.title` as `<header><h1 data-role="title">` — and
|
|
26818
|
+
* the projected content in `<main>`. `options.containerWidth` is visual only:
|
|
26819
|
+
* it is exposed as `data-container-width` (default `'xl'`) and styled by the
|
|
26820
|
+
* preset.
|
|
26821
|
+
*/
|
|
26572
26822
|
class StackedLayoutStandardComponent extends StackedLayoutBaseComponent {
|
|
26823
|
+
containerWidth = computed(() => this.options()?.containerWidth ?? 'xl', /* @ts-ignore */
|
|
26824
|
+
...(ngDevMode ? [{ debugName: "containerWidth" }] : /* istanbul ignore next */ []));
|
|
26573
26825
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StackedLayoutStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
26574
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: StackedLayoutStandardComponent, isStandalone: true, selector: "smart-stacked-layout-standard", usesInheritance: true, ngImport: i0, template: "<div [class]=\"cssClass()\">\n <header>\n <nav>\n @if (options()?.navTpl) {\n <ng-container [ngTemplateOutlet]=\"options()!.navTpl!\" />\n }\n </nav>\n </header>\n @if (options()?.headerTpl) {\n <header>\n <ng-container [ngTemplateOutlet]=\"options()!.headerTpl!\" />\n </header>\n }\n <main>\n <ng-content />\n </main>\n</div>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
26826
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: StackedLayoutStandardComponent, isStandalone: true, selector: "smart-stacked-layout-standard", usesInheritance: true, ngImport: i0, template: "<div [class]=\"cssClass()\" [attr.data-container-width]=\"containerWidth()\">\n <header>\n <nav>\n @if (options()?.navTpl) {\n <ng-container [ngTemplateOutlet]=\"options()!.navTpl!\" />\n }\n </nav>\n </header>\n @if (options()?.headerTpl) {\n <header>\n <ng-container [ngTemplateOutlet]=\"options()!.headerTpl!\" />\n </header>\n } @else if (options()?.title) {\n <header>\n <h1 data-role=\"title\">{{ options()?.title }}</h1>\n </header>\n }\n <main>\n <ng-content />\n </main>\n</div>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
26575
26827
|
}
|
|
26576
26828
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: StackedLayoutStandardComponent, decorators: [{
|
|
26577
26829
|
type: Component,
|
|
26578
|
-
args: [{ selector: 'smart-stacked-layout-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"cssClass()\">\n <header>\n <nav>\n @if (options()?.navTpl) {\n <ng-container [ngTemplateOutlet]=\"options()!.navTpl!\" />\n }\n </nav>\n </header>\n @if (options()?.headerTpl) {\n <header>\n <ng-container [ngTemplateOutlet]=\"options()!.headerTpl!\" />\n </header>\n }\n <main>\n <ng-content />\n </main>\n</div>\n" }]
|
|
26830
|
+
args: [{ selector: 'smart-stacked-layout-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [NgTemplateOutlet], template: "<div [class]=\"cssClass()\" [attr.data-container-width]=\"containerWidth()\">\n <header>\n <nav>\n @if (options()?.navTpl) {\n <ng-container [ngTemplateOutlet]=\"options()!.navTpl!\" />\n }\n </nav>\n </header>\n @if (options()?.headerTpl) {\n <header>\n <ng-container [ngTemplateOutlet]=\"options()!.headerTpl!\" />\n </header>\n } @else if (options()?.title) {\n <header>\n <h1 data-role=\"title\">{{ options()?.title }}</h1>\n </header>\n }\n <main>\n <ng-content />\n </main>\n</div>\n" }]
|
|
26579
26831
|
}] });
|
|
26580
26832
|
|
|
26581
26833
|
// HyperUI-styled class recipes for the stacked-layout preset.
|
|
@@ -27428,8 +27680,16 @@ class TabsComponent {
|
|
|
27428
27680
|
cssClass: this.cssClass(),
|
|
27429
27681
|
}), /* @ts-ignore */
|
|
27430
27682
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
27683
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
27684
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
27685
|
+
constructor() {
|
|
27686
|
+
forwardOutletOutputs(this.outlet, {
|
|
27687
|
+
tabChange: this.tabChange,
|
|
27688
|
+
selectedId: this.selectedId,
|
|
27689
|
+
});
|
|
27690
|
+
}
|
|
27431
27691
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27432
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: TabsComponent, isStandalone: true, selector: "smart-tabs", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, selectedId: { classPropertyName: "selectedId", publicName: "selectedId", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedId: "selectedIdChange", tabChange: "tabChange" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
27692
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: TabsComponent, isStandalone: true, selector: "smart-tabs", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, selectedId: { classPropertyName: "selectedId", publicName: "selectedId", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedId: "selectedIdChange", tabChange: "tabChange" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
27433
27693
|
@if (componentType()) {
|
|
27434
27694
|
<ng-container
|
|
27435
27695
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -27467,7 +27727,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
27467
27727
|
host: { class: 'smart:contents' },
|
|
27468
27728
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
27469
27729
|
}]
|
|
27470
|
-
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], selectedId: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedId", required: false }] }, { type: i0.Output, args: ["selectedIdChange"] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], tabChange: [{ type: i0.Output, args: ["tabChange"] }] } });
|
|
27730
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], selectedId: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedId", required: false }] }, { type: i0.Output, args: ["selectedIdChange"] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], tabChange: [{ type: i0.Output, args: ["tabChange"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
27471
27731
|
|
|
27472
27732
|
class TextareaBaseComponent {
|
|
27473
27733
|
static smartType = 'textarea';
|
|
@@ -27530,8 +27790,16 @@ class TextareaComponent {
|
|
|
27530
27790
|
cssClass: this.cssClass(),
|
|
27531
27791
|
}), /* @ts-ignore */
|
|
27532
27792
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
27793
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
27794
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
27795
|
+
constructor() {
|
|
27796
|
+
forwardOutletOutputs(this.outlet, {
|
|
27797
|
+
actionClick: this.actionClick,
|
|
27798
|
+
value: this.value,
|
|
27799
|
+
});
|
|
27800
|
+
}
|
|
27533
27801
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: TextareaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27534
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: TextareaComponent, isStandalone: true, selector: "smart-textarea", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", 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: { value: "valueChange", actionClick: "actionClick" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
27802
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: TextareaComponent, isStandalone: true, selector: "smart-textarea", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", 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: { value: "valueChange", actionClick: "actionClick" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
27535
27803
|
@if (componentType()) {
|
|
27536
27804
|
<ng-container
|
|
27537
27805
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -27573,7 +27841,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
27573
27841
|
host: { class: 'smart:contents' },
|
|
27574
27842
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
27575
27843
|
}]
|
|
27576
|
-
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", 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"] }] } });
|
|
27844
|
+
}], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", 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"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
27577
27845
|
|
|
27578
27846
|
class ToggleBaseComponent {
|
|
27579
27847
|
static smartType = 'toggle';
|
|
@@ -27596,17 +27864,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
27596
27864
|
type: Directive
|
|
27597
27865
|
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
27598
27866
|
|
|
27867
|
+
let nextToggleId = 0;
|
|
27868
|
+
/**
|
|
27869
|
+
* Barebones native-HTML toggle (checkbox) rendered by `<smart-toggle>`.
|
|
27870
|
+
*
|
|
27871
|
+
* `options.label` renders in a `<label for>` bound to the checkbox (so it is
|
|
27872
|
+
* the accessible name), `options.description` in an element referenced by
|
|
27873
|
+
* `aria-describedby`; both sit after the checkbox, or before it when
|
|
27874
|
+
* `options.labelPosition === 'left'`. `options.ariaLabel` names the checkbox
|
|
27875
|
+
* only when there is no visible label.
|
|
27876
|
+
*/
|
|
27599
27877
|
class ToggleStandardComponent extends ToggleBaseComponent {
|
|
27878
|
+
instanceId = `smart-toggle-${nextToggleId++}`;
|
|
27879
|
+
inputId = `${this.instanceId}-input`;
|
|
27880
|
+
descriptionId = `${this.instanceId}-description`;
|
|
27881
|
+
label = computed(() => this.options()?.label ?? '', /* @ts-ignore */
|
|
27882
|
+
...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
|
|
27883
|
+
description = computed(() => this.options()?.description ?? '', /* @ts-ignore */
|
|
27884
|
+
...(ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []));
|
|
27885
|
+
labelPosition = computed(() => this.options()?.labelPosition ?? 'right', /* @ts-ignore */
|
|
27886
|
+
...(ngDevMode ? [{ debugName: "labelPosition" }] : /* istanbul ignore next */ []));
|
|
27887
|
+
hasText = computed(() => Boolean(this.label() || this.description()), /* @ts-ignore */
|
|
27888
|
+
...(ngDevMode ? [{ debugName: "hasText" }] : /* istanbul ignore next */ []));
|
|
27600
27889
|
onChange(event) {
|
|
27601
27890
|
const target = event.target;
|
|
27602
27891
|
this.value.set(target.checked);
|
|
27603
27892
|
}
|
|
27604
27893
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ToggleStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
27605
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
27894
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ToggleStandardComponent, isStandalone: true, selector: "smart-toggle-standard", usesInheritance: true, ngImport: i0, template: "<span class=\"smart-toggle\" [attr.data-label-position]=\"labelPosition()\">\n @if (hasText() && labelPosition() === 'left') {\n <ng-container [ngTemplateOutlet]=\"text\" />\n }\n\n <input\n type=\"checkbox\"\n [id]=\"inputId\"\n [checked]=\"value()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"label() ? null : (options()?.ariaLabel ?? null)\"\n [attr.aria-describedby]=\"description() ? descriptionId : null\"\n [class]=\"cssClass()\"\n (change)=\"onChange($event)\"\n />\n\n @if (hasText() && labelPosition() === 'right') {\n <ng-container [ngTemplateOutlet]=\"text\" />\n }\n</span>\n\n<ng-template #text>\n <span class=\"smart-toggle-text\" data-role=\"text\">\n @if (label()) {\n <label class=\"smart-toggle-label\" [for]=\"inputId\">{{ label() }}</label>\n }\n @if (description()) {\n <span class=\"smart-toggle-description\" [id]=\"descriptionId\">{{\n description()\n }}</span>\n }\n </span>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
27606
27895
|
}
|
|
27607
27896
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ToggleStandardComponent, decorators: [{
|
|
27608
27897
|
type: Component,
|
|
27609
|
-
args: [{ selector: 'smart-toggle-standard', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\n
|
|
27898
|
+
args: [{ selector: 'smart-toggle-standard', imports: [NgTemplateOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<span class=\"smart-toggle\" [attr.data-label-position]=\"labelPosition()\">\n @if (hasText() && labelPosition() === 'left') {\n <ng-container [ngTemplateOutlet]=\"text\" />\n }\n\n <input\n type=\"checkbox\"\n [id]=\"inputId\"\n [checked]=\"value()\"\n [disabled]=\"disabled()\"\n [attr.aria-label]=\"label() ? null : (options()?.ariaLabel ?? null)\"\n [attr.aria-describedby]=\"description() ? descriptionId : null\"\n [class]=\"cssClass()\"\n (change)=\"onChange($event)\"\n />\n\n @if (hasText() && labelPosition() === 'right') {\n <ng-container [ngTemplateOutlet]=\"text\" />\n }\n</span>\n\n<ng-template #text>\n <span class=\"smart-toggle-text\" data-role=\"text\">\n @if (label()) {\n <label class=\"smart-toggle-label\" [for]=\"inputId\">{{ label() }}</label>\n }\n @if (description()) {\n <span class=\"smart-toggle-description\" [id]=\"descriptionId\">{{\n description()\n }}</span>\n }\n </span>\n</ng-template>\n" }]
|
|
27610
27899
|
}] });
|
|
27611
27900
|
|
|
27612
27901
|
// Class recipes for the toggle (switch) preset. Kept out of the public barrel —
|
|
@@ -27765,8 +28054,15 @@ class ToggleComponent {
|
|
|
27765
28054
|
cssClass: this.cssClass(),
|
|
27766
28055
|
}), /* @ts-ignore */
|
|
27767
28056
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
28057
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
28058
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
28059
|
+
constructor() {
|
|
28060
|
+
forwardOutletOutputs(this.outlet, {
|
|
28061
|
+
value: this.value,
|
|
28062
|
+
});
|
|
28063
|
+
}
|
|
27768
28064
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: ToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
27769
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ToggleComponent, isStandalone: true, selector: "smart-toggle", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", 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: { value: "valueChange" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
28065
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: ToggleComponent, isStandalone: true, selector: "smart-toggle", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", 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: { value: "valueChange" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
27770
28066
|
@if (componentType()) {
|
|
27771
28067
|
<ng-container
|
|
27772
28068
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -27804,7 +28100,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
27804
28100
|
host: { class: 'smart:contents' },
|
|
27805
28101
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
27806
28102
|
}]
|
|
27807
|
-
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }] } });
|
|
28103
|
+
}], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }, { type: i0.Output, args: ["valueChange"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
27808
28104
|
|
|
27809
28105
|
class VerticalNavigationBaseComponent {
|
|
27810
28106
|
static smartType = 'vertical-navigation';
|
|
@@ -28011,8 +28307,15 @@ class VerticalNavigationComponent {
|
|
|
28011
28307
|
cssClass: this.cssClass(),
|
|
28012
28308
|
}), /* @ts-ignore */
|
|
28013
28309
|
...(ngDevMode ? [{ debugName: "componentInputs" }] : /* istanbul ignore next */ []));
|
|
28310
|
+
outlet = viewChild(NgComponentOutlet, /* @ts-ignore */
|
|
28311
|
+
...(ngDevMode ? [{ debugName: "outlet" }] : /* istanbul ignore next */ []));
|
|
28312
|
+
constructor() {
|
|
28313
|
+
forwardOutletOutputs(this.outlet, {
|
|
28314
|
+
itemClick: this.itemClick,
|
|
28315
|
+
});
|
|
28316
|
+
}
|
|
28014
28317
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.3", ngImport: i0, type: VerticalNavigationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
28015
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: VerticalNavigationComponent, isStandalone: true, selector: "smart-vertical-navigation", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: { classAttribute: "smart:contents" }, ngImport: i0, template: `
|
|
28318
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.3", type: VerticalNavigationComponent, isStandalone: true, selector: "smart-vertical-navigation", inputs: { options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null }, cssClass: { classPropertyName: "cssClass", publicName: "class", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { itemClick: "itemClick" }, host: { classAttribute: "smart:contents" }, viewQueries: [{ propertyName: "outlet", first: true, predicate: NgComponentOutlet, descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
28016
28319
|
@if (componentType()) {
|
|
28017
28320
|
<ng-container
|
|
28018
28321
|
*ngComponentOutlet="componentType(); inputs: componentInputs()"
|
|
@@ -28048,7 +28351,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.3", ngImpor
|
|
|
28048
28351
|
host: { class: 'smart:contents' },
|
|
28049
28352
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
28050
28353
|
}]
|
|
28051
|
-
}], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }] } });
|
|
28354
|
+
}], ctorParameters: () => [], propDecorators: { options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], cssClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "class", required: false }] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }], outlet: [{ type: i0.ViewChild, args: [i0.forwardRef(() => NgComponentOutlet), { isSignal: true }] }] } });
|
|
28052
28355
|
|
|
28053
28356
|
class DetailsPage {
|
|
28054
28357
|
modalService = inject(ModalService);
|