@ardium-ui/ui 3.6.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/buttons/_button-base.defaults.mjs +1 -1
- package/esm2022/lib/buttons/_button-base.mjs +1 -1
- package/esm2022/lib/buttons/button/button.component.mjs +1 -1
- package/esm2022/lib/buttons/fab/fab.component.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/checkbox/checkbox.module.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.types.mjs +1 -1
- package/esm2022/lib/dialog/dialog.component.mjs +18 -7
- package/esm2022/lib/dialog/dialog.defaults.mjs +1 -1
- package/esm2022/lib/dialog/dialog.directives.mjs +12 -1
- package/esm2022/lib/dialog/dialog.module.mjs +7 -7
- package/esm2022/lib/dialog/dialog.types.mjs +1 -1
- package/esm2022/lib/modal/index.mjs +2 -1
- package/esm2022/lib/modal/modal.component.mjs +18 -5
- package/esm2022/lib/modal/modal.defaults.mjs +1 -1
- package/esm2022/lib/modal/modal.directives.mjs +14 -0
- package/esm2022/lib/modal/modal.module.mjs +8 -7
- package/esm2022/lib/star/index.mjs +2 -1
- package/esm2022/lib/star/rating-display/index.mjs +6 -0
- package/esm2022/lib/star/rating-display/rating-display.component.mjs +71 -0
- package/esm2022/lib/star/rating-display/rating-display.defaults.mjs +16 -0
- package/esm2022/lib/star/rating-display/rating-display.directives.mjs +16 -0
- package/esm2022/lib/star/rating-display/rating-display.module.mjs +20 -0
- package/esm2022/lib/star/rating-display/rating-display.types.mjs +2 -0
- package/esm2022/lib/star/rating-input/index.mjs +6 -0
- package/esm2022/lib/star/rating-input/rating-input.component.mjs +191 -0
- package/esm2022/lib/star/rating-input/rating-input.defaults.mjs +17 -0
- package/esm2022/lib/star/rating-input/rating-input.directives.mjs +16 -0
- package/esm2022/lib/star/rating-input/rating-input.module.mjs +20 -0
- package/esm2022/lib/star/rating-input/rating-input.types.mjs +2 -0
- package/esm2022/lib/star/star-button/index.mjs +3 -1
- package/esm2022/lib/star/star-button/star-button.component.mjs +13 -5
- package/esm2022/lib/star/star-button/star-button.defaults.mjs +2 -2
- package/esm2022/lib/star/star-button/star-button.directives.mjs +16 -0
- package/esm2022/lib/star/star-button/star-button.module.mjs +7 -6
- package/esm2022/lib/star/star-button/star-button.types.mjs +2 -0
- package/esm2022/lib/star/star.component.mjs +14 -5
- package/esm2022/lib/star/star.defaults.mjs +2 -2
- package/esm2022/lib/star/star.directives.mjs +16 -0
- package/esm2022/lib/star/star.module.mjs +9 -7
- package/esm2022/lib/star/star.types.mjs +3 -3
- package/esm2022/public-api.mjs +3 -3
- package/fesm2022/ardium-ui-ui.mjs +258 -132
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/dialog/dialog.component.d.ts +6 -2
- package/lib/dialog/dialog.directives.d.ts +6 -0
- package/lib/dialog/dialog.module.d.ts +1 -1
- package/lib/dialog/dialog.types.d.ts +1 -0
- package/lib/modal/index.d.ts +1 -0
- package/lib/modal/modal.component.d.ts +7 -1
- package/lib/modal/modal.directives.d.ts +8 -0
- package/lib/modal/modal.module.d.ts +6 -5
- package/lib/star/index.d.ts +1 -0
- package/lib/star/rating-display/index.d.ts +5 -0
- package/lib/star/rating-display/rating-display.component.d.ts +17 -0
- package/lib/star/rating-display/rating-display.defaults.d.ts +9 -0
- package/lib/star/rating-display/rating-display.directives.d.ts +9 -0
- package/lib/star/rating-display/rating-display.module.d.ts +10 -0
- package/lib/star/rating-display/rating-display.types.d.ts +8 -0
- package/lib/star/rating-input/index.d.ts +5 -0
- package/lib/star/rating-input/rating-input.component.d.ts +46 -0
- package/lib/star/rating-input/rating-input.defaults.d.ts +9 -0
- package/lib/star/rating-input/rating-input.directives.d.ts +9 -0
- package/lib/star/rating-input/rating-input.module.d.ts +10 -0
- package/lib/star/rating-input/rating-input.types.d.ts +12 -0
- package/lib/star/star-button/index.d.ts +2 -0
- package/lib/star/star-button/star-button.component.d.ts +5 -1
- package/lib/star/star-button/star-button.directives.d.ts +9 -0
- package/lib/star/star-button/star-button.module.d.ts +4 -3
- package/lib/star/star-button/star-button.types.d.ts +6 -0
- package/lib/star/star.component.d.ts +6 -3
- package/lib/star/star.directives.d.ts +9 -0
- package/lib/star/star.module.d.ts +4 -2
- package/lib/star/star.types.d.ts +5 -2
- package/package.json +1 -1
- package/prebuilt-themes/default/buttons/button.css +2 -2
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/fab.css +2 -2
- package/prebuilt-themes/default/buttons/fab.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +2 -2
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/card.css +5 -0
- package/prebuilt-themes/default/card.css.map +1 -1
- package/prebuilt-themes/default/core.css +1 -1
- package/prebuilt-themes/default/kbd.css +1 -0
- package/prebuilt-themes/default/kbd.css.map +1 -1
- package/prebuilt-themes/default/modal.css +3 -2
- package/prebuilt-themes/default/modal.css.map +1 -1
- package/prebuilt-themes/default/spinner.css +1 -1
- package/prebuilt-themes/default/stars.css +31 -73
- package/prebuilt-themes/default/stars.css.map +1 -1
- package/public-api.d.ts +2 -2
- package/themes/_variables.scss +121 -121
- package/themes/default/buttons/_button-mixins.scss +137 -138
- package/themes/default/buttons/button.scss +79 -79
- package/themes/default/buttons/fab.scss +81 -81
- package/themes/default/buttons/icon-button.scss +62 -62
- package/themes/default/card.scss +135 -129
- package/themes/default/core.scss +1 -1
- package/themes/default/kbd.scss +21 -20
- package/themes/default/modal.scss +94 -93
- package/themes/default/spinner.scss +21 -21
- package/themes/default/stars.scss +85 -122
- package/esm2022/lib/star/star-display/index.mjs +0 -4
- package/esm2022/lib/star/star-display/star-display.component.mjs +0 -61
- package/esm2022/lib/star/star-display/star-display.defaults.mjs +0 -16
- package/esm2022/lib/star/star-display/star-display.module.mjs +0 -19
- package/esm2022/lib/star/star-input/index.mjs +0 -4
- package/esm2022/lib/star/star-input/star-input.component.mjs +0 -188
- package/esm2022/lib/star/star-input/star-input.defaults.mjs +0 -17
- package/esm2022/lib/star/star-input/star-input.module.mjs +0 -19
- package/lib/star/star-display/index.d.ts +0 -3
- package/lib/star/star-display/star-display.component.d.ts +0 -13
- package/lib/star/star-display/star-display.defaults.d.ts +0 -9
- package/lib/star/star-display/star-display.module.d.ts +0 -9
- package/lib/star/star-input/index.d.ts +0 -3
- package/lib/star/star-input/star-input.component.d.ts +0 -48
- package/lib/star/star-input/star-input.defaults.d.ts +0 -9
- package/lib/star/star-input/star-input.module.d.ts +0 -9
|
@@ -7936,7 +7936,7 @@ class ArdiumCheckboxComponent extends _BooleanComponentBase {
|
|
|
7936
7936
|
useExisting: forwardRef(() => ArdiumCheckboxComponent),
|
|
7937
7937
|
multi: true,
|
|
7938
7938
|
},
|
|
7939
|
-
], usesInheritance: true, ngImport: i0, template: "<button\n class=\"ard-checkbox\"\n role=\"checkbox\"\n type=\"button\"\n [id]=\"htmlId()\"\n [ariaChecked]=\"selected()\"\n [tabindex]=\"tabIndex()\"\n [ngClass]=\"ngClasses()\"\n (click)=\"toggleState()\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur($event)\"\n>\n <div class=\"ard-hitbox\"></div>\n <div class=\"ard-focus-overlay\"></div>\n <div class=\"ard-checkbox-icon ard-icon-for-selected\"></div>\n <div class=\"ard-checkbox-icon ard-icon-for-indeterminate\"></div>\n <div class=\"ard-checkbox-icon ard-icon-for-unselected\"></div>\n</button>\n", styles: ["ard-checkbox{display:inline}.ard-checkbox{font-size:inherit}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7939
|
+
], usesInheritance: true, ngImport: i0, template: "<button\r\n class=\"ard-checkbox\"\r\n role=\"checkbox\"\r\n type=\"button\"\r\n [id]=\"htmlId()\"\r\n [ariaChecked]=\"selected()\"\r\n [tabindex]=\"tabIndex()\"\r\n [ngClass]=\"ngClasses()\"\r\n (click)=\"toggleState()\"\r\n (focus)=\"onFocus($event)\"\r\n (blur)=\"onBlur($event)\"\r\n>\r\n <div class=\"ard-hitbox\"></div>\r\n <div class=\"ard-focus-overlay\"></div>\r\n <div class=\"ard-checkbox-icon ard-icon-for-selected\"></div>\r\n <div class=\"ard-checkbox-icon ard-icon-for-indeterminate\"></div>\r\n <div class=\"ard-checkbox-icon ard-icon-for-unselected\"></div>\r\n</button>\r\n", styles: ["ard-checkbox{display:inline}.ard-checkbox{font-size:inherit}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
7940
7940
|
}
|
|
7941
7941
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumCheckboxComponent, decorators: [{
|
|
7942
7942
|
type: Component,
|
|
@@ -7946,7 +7946,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
7946
7946
|
useExisting: forwardRef(() => ArdiumCheckboxComponent),
|
|
7947
7947
|
multi: true,
|
|
7948
7948
|
},
|
|
7949
|
-
], template: "<button\n class=\"ard-checkbox\"\n role=\"checkbox\"\n type=\"button\"\n [id]=\"htmlId()\"\n [ariaChecked]=\"selected()\"\n [tabindex]=\"tabIndex()\"\n [ngClass]=\"ngClasses()\"\n (click)=\"toggleState()\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur($event)\"\n>\n <div class=\"ard-hitbox\"></div>\n <div class=\"ard-focus-overlay\"></div>\n <div class=\"ard-checkbox-icon ard-icon-for-selected\"></div>\n <div class=\"ard-checkbox-icon ard-icon-for-indeterminate\"></div>\n <div class=\"ard-checkbox-icon ard-icon-for-unselected\"></div>\n</button>\n", styles: ["ard-checkbox{display:inline}.ard-checkbox{font-size:inherit}\n"] }]
|
|
7949
|
+
], template: "<button\r\n class=\"ard-checkbox\"\r\n role=\"checkbox\"\r\n type=\"button\"\r\n [id]=\"htmlId()\"\r\n [ariaChecked]=\"selected()\"\r\n [tabindex]=\"tabIndex()\"\r\n [ngClass]=\"ngClasses()\"\r\n (click)=\"toggleState()\"\r\n (focus)=\"onFocus($event)\"\r\n (blur)=\"onBlur($event)\"\r\n>\r\n <div class=\"ard-hitbox\"></div>\r\n <div class=\"ard-focus-overlay\"></div>\r\n <div class=\"ard-checkbox-icon ard-icon-for-selected\"></div>\r\n <div class=\"ard-checkbox-icon ard-icon-for-indeterminate\"></div>\r\n <div class=\"ard-checkbox-icon ard-icon-for-unselected\"></div>\r\n</button>\r\n", styles: ["ard-checkbox{display:inline}.ard-checkbox{font-size:inherit}\n"] }]
|
|
7950
7950
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
7951
7951
|
type: Inject,
|
|
7952
7952
|
args: [ARD_CHECKBOX_DEFAULTS]
|
|
@@ -9704,11 +9704,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9704
9704
|
}]
|
|
9705
9705
|
}] });
|
|
9706
9706
|
|
|
9707
|
-
const ClickStrategy = {
|
|
9708
|
-
Noop: 'noop',
|
|
9709
|
-
Default: 'default',
|
|
9710
|
-
};
|
|
9711
|
-
|
|
9712
9707
|
const StarFillMode = {
|
|
9713
9708
|
/**
|
|
9714
9709
|
* The star is not filled, just an outline.
|
|
@@ -9726,15 +9721,48 @@ const StarFillMode = {
|
|
|
9726
9721
|
const StarColor = {
|
|
9727
9722
|
...SimpleComponentColor,
|
|
9728
9723
|
/**
|
|
9729
|
-
*
|
|
9724
|
+
* The app's color set for all stars. Usually gold or yellow-gold.
|
|
9730
9725
|
*/
|
|
9731
|
-
|
|
9726
|
+
Gold: 'gold',
|
|
9727
|
+
};
|
|
9728
|
+
|
|
9729
|
+
const _ratingInputDefaults = {
|
|
9730
|
+
..._ngModelComponentDefaults,
|
|
9731
|
+
color: StarColor.Gold,
|
|
9732
|
+
max: 5,
|
|
9733
|
+
};
|
|
9734
|
+
const ARD_RATING_INPUT_DEFAULTS = new InjectionToken('ard-rating-input-defaults', {
|
|
9735
|
+
factory: () => ({
|
|
9736
|
+
..._ratingInputDefaults,
|
|
9737
|
+
}),
|
|
9738
|
+
});
|
|
9739
|
+
function provideRatingInputDefaults(config) {
|
|
9740
|
+
return { provide: ARD_RATING_INPUT_DEFAULTS, useValue: { ..._ratingInputDefaults, ...config } };
|
|
9741
|
+
}
|
|
9742
|
+
|
|
9743
|
+
class ArdRatingInputStarButtonTemplateDirective {
|
|
9744
|
+
constructor(template) {
|
|
9745
|
+
this.template = template;
|
|
9746
|
+
}
|
|
9747
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdRatingInputStarButtonTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9748
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ArdRatingInputStarButtonTemplateDirective, selector: "ard-rating-input > ng-template[ard-star-button-tmp]", ngImport: i0 }); }
|
|
9749
|
+
}
|
|
9750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdRatingInputStarButtonTemplateDirective, decorators: [{
|
|
9751
|
+
type: Directive,
|
|
9752
|
+
args: [{
|
|
9753
|
+
selector: 'ard-rating-input > ng-template[ard-star-button-tmp]',
|
|
9754
|
+
}]
|
|
9755
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
9756
|
+
|
|
9757
|
+
const ClickStrategy = {
|
|
9758
|
+
Noop: 'noop',
|
|
9759
|
+
Default: 'default',
|
|
9732
9760
|
};
|
|
9733
9761
|
|
|
9734
9762
|
const _starButtonDefaults = {
|
|
9735
9763
|
..._booleanComponentDefaults,
|
|
9736
9764
|
clickStrategy: ClickStrategy.Default,
|
|
9737
|
-
color: StarColor.
|
|
9765
|
+
color: StarColor.Gold,
|
|
9738
9766
|
};
|
|
9739
9767
|
const ARD_STAR_BUTTON_DEFAULTS = new InjectionToken('ard-star-button-defaults', {
|
|
9740
9768
|
factory: () => ({
|
|
@@ -9745,8 +9773,22 @@ function provideStarButtonDefaults(config) {
|
|
|
9745
9773
|
return { provide: ARD_STAR_BUTTON_DEFAULTS, useValue: { ..._starButtonDefaults, ...config } };
|
|
9746
9774
|
}
|
|
9747
9775
|
|
|
9776
|
+
class ArdStarButtonStarTemplateDirective {
|
|
9777
|
+
constructor(template) {
|
|
9778
|
+
this.template = template;
|
|
9779
|
+
}
|
|
9780
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdStarButtonStarTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9781
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ArdStarButtonStarTemplateDirective, selector: "ard-star-button > ng-template[ard-star-tmp]", ngImport: i0 }); }
|
|
9782
|
+
}
|
|
9783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdStarButtonStarTemplateDirective, decorators: [{
|
|
9784
|
+
type: Directive,
|
|
9785
|
+
args: [{
|
|
9786
|
+
selector: 'ard-star-button > ng-template[ard-star-tmp]',
|
|
9787
|
+
}]
|
|
9788
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
9789
|
+
|
|
9748
9790
|
const _starDefaults = {
|
|
9749
|
-
color: StarColor.
|
|
9791
|
+
color: StarColor.Gold,
|
|
9750
9792
|
filled: StarFillMode.None,
|
|
9751
9793
|
};
|
|
9752
9794
|
const ARD_STAR_DEFAULTS = new InjectionToken('ard-star-defaults', {
|
|
@@ -9758,6 +9800,20 @@ function provideStarDefaults(config) {
|
|
|
9758
9800
|
return { provide: ARD_STAR_DEFAULTS, useValue: { ..._starDefaults, ...config } };
|
|
9759
9801
|
}
|
|
9760
9802
|
|
|
9803
|
+
class ArdStarIconTemplateDirective {
|
|
9804
|
+
constructor(template) {
|
|
9805
|
+
this.template = template;
|
|
9806
|
+
}
|
|
9807
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdStarIconTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
9808
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ArdStarIconTemplateDirective, selector: "ard-star > ng-template[ard-star-icon-tmp]", ngImport: i0 }); }
|
|
9809
|
+
}
|
|
9810
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdStarIconTemplateDirective, decorators: [{
|
|
9811
|
+
type: Directive,
|
|
9812
|
+
args: [{
|
|
9813
|
+
selector: 'ard-star > ng-template[ard-star-icon-tmp]',
|
|
9814
|
+
}]
|
|
9815
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
9816
|
+
|
|
9761
9817
|
class ArdiumStarComponent {
|
|
9762
9818
|
constructor() {
|
|
9763
9819
|
this.wrapperClasses = input('');
|
|
@@ -9768,16 +9824,22 @@ class ArdiumStarComponent {
|
|
|
9768
9824
|
transform: this._transformFillMode,
|
|
9769
9825
|
});
|
|
9770
9826
|
this.ngClasses = computed(() => [this.wrapperClasses(), `ard-color-${this.color()}`, `ard-star-fill-${this.filled()}`].join(' '));
|
|
9827
|
+
//! template
|
|
9828
|
+
this.iconTemplate = contentChild(ArdStarIconTemplateDirective);
|
|
9829
|
+
this.iconTemplateContext = computed(() => ({ $implicit: this.filled() }));
|
|
9771
9830
|
}
|
|
9772
9831
|
_transformFillMode(value) {
|
|
9773
|
-
|
|
9832
|
+
if (value === StarFillMode.None || value === StarFillMode.Half || value === StarFillMode.Filled) {
|
|
9833
|
+
return value;
|
|
9834
|
+
}
|
|
9835
|
+
return coerceBooleanProperty(value) ? StarFillMode.Filled : StarFillMode.None;
|
|
9774
9836
|
}
|
|
9775
9837
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9776
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
9838
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: ArdiumStarComponent, selector: "ard-star", inputs: { wrapperClasses: { classPropertyName: "wrapperClasses", publicName: "wrapperClasses", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, filled: { classPropertyName: "filled", publicName: "filled", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "iconTemplate", first: true, predicate: ArdStarIconTemplateDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<div\r\n class=\"ard-star\"\r\n [ngClass]=\"ngClasses()\"\r\n>\r\n <ng-template\r\n #defaultIconTemplate\r\n let-fillMode\r\n >\r\n @if (fillMode === 'filled') {\r\n <ard-icon filled>star</ard-icon>\r\n } @else if (fillMode === 'half') {\r\n <ard-icon>star-half</ard-icon>\r\n } @else {\r\n <ard-icon>star</ard-icon>\r\n }\r\n </ng-template>\r\n\r\n <ng-template\r\n [ngTemplateOutlet]=\"iconTemplate()?.template || defaultIconTemplate\"\r\n [ngTemplateOutletContext]=\"iconTemplateContext()\"\r\n />\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ArdiumIconComponent, selector: "ard-icon", inputs: ["ariaLabel", "icon", "filled", "weight", "grade", "opticalSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9777
9839
|
}
|
|
9778
9840
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarComponent, decorators: [{
|
|
9779
9841
|
type: Component,
|
|
9780
|
-
args: [{ selector: 'ard-star', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"ard-star\"\n [ngClass]=\"ngClasses()\"\n>\n <
|
|
9842
|
+
args: [{ selector: 'ard-star', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n class=\"ard-star\"\r\n [ngClass]=\"ngClasses()\"\r\n>\r\n <ng-template\r\n #defaultIconTemplate\r\n let-fillMode\r\n >\r\n @if (fillMode === 'filled') {\r\n <ard-icon filled>star</ard-icon>\r\n } @else if (fillMode === 'half') {\r\n <ard-icon>star-half</ard-icon>\r\n } @else {\r\n <ard-icon>star</ard-icon>\r\n }\r\n </ng-template>\r\n\r\n <ng-template\r\n [ngTemplateOutlet]=\"iconTemplate()?.template || defaultIconTemplate\"\r\n [ngTemplateOutletContext]=\"iconTemplateContext()\"\r\n />\r\n</div>\r\n" }]
|
|
9781
9843
|
}] });
|
|
9782
9844
|
|
|
9783
9845
|
class ArdiumStarButtonComponent extends _BooleanComponentBase {
|
|
@@ -9789,6 +9851,13 @@ class ArdiumStarButtonComponent extends _BooleanComponentBase {
|
|
|
9789
9851
|
this.color = input(this._DEFAULTS.color);
|
|
9790
9852
|
this.ngClasses = computed(() => [this.wrapperClasses(), `ard-color-${this.color}`].join(' '));
|
|
9791
9853
|
this.starFillState = computed(() => (this.selected() ? StarFillMode.Filled : StarFillMode.None));
|
|
9854
|
+
//! template
|
|
9855
|
+
this.starTemplate = contentChild(ArdStarButtonStarTemplateDirective);
|
|
9856
|
+
this.starTemplateContext = computed(() => ({
|
|
9857
|
+
$implicit: this.starFillState(),
|
|
9858
|
+
fillMode: this.starFillState(),
|
|
9859
|
+
color: this.color(),
|
|
9860
|
+
}));
|
|
9792
9861
|
}
|
|
9793
9862
|
onClick() {
|
|
9794
9863
|
if (this.clickStrategy() === ClickStrategy.Noop)
|
|
@@ -9796,13 +9865,13 @@ class ArdiumStarButtonComponent extends _BooleanComponentBase {
|
|
|
9796
9865
|
this.toggleSelected();
|
|
9797
9866
|
}
|
|
9798
9867
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarButtonComponent, deps: [{ token: ARD_STAR_BUTTON_DEFAULTS }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9799
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
9868
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "18.2.13", type: ArdiumStarButtonComponent, selector: "ard-star-button", inputs: { wrapperClasses: { classPropertyName: "wrapperClasses", publicName: "wrapperClasses", isSignal: true, isRequired: false, transformFunction: null }, clickStrategy: { classPropertyName: "clickStrategy", publicName: "clickStrategy", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
9800
9869
|
{
|
|
9801
9870
|
provide: NG_VALUE_ACCESSOR,
|
|
9802
9871
|
useExisting: forwardRef(() => ArdiumStarButtonComponent),
|
|
9803
9872
|
multi: true,
|
|
9804
9873
|
},
|
|
9805
|
-
], usesInheritance: true, ngImport: i0, template: "<button\n #focusableElement\n type=\"button\"\n class=\"ard-star-button\"\n [ngClass]=\"ngClasses()\"\n (click)=\"onClick()\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur($event)\"\n [tabindex]=\"tabIndex()\"\n>\n <div class=\"ard-hitbox\"></div>\n <div class=\"ard-focus-overlay\"></div>\n <ard-star\n
|
|
9874
|
+
], queries: [{ propertyName: "starTemplate", first: true, predicate: ArdStarButtonStarTemplateDirective, descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<button\r\n #focusableElement\r\n type=\"button\"\r\n class=\"ard-star-button\"\r\n [ngClass]=\"ngClasses()\"\r\n (click)=\"onClick()\"\r\n (focus)=\"onFocus($event)\"\r\n (blur)=\"onBlur($event)\"\r\n [tabindex]=\"tabIndex()\"\r\n>\r\n <div class=\"ard-hitbox\"></div>\r\n <div class=\"ard-focus-overlay\"></div>\r\n\r\n <ng-template\r\n #defaultStarTemplate\r\n let-fillMode=\"fillMode\"\r\n let-color=\"color\"\r\n >\r\n <ard-star\r\n [filled]=\"fillMode\"\r\n [color]=\"color\"\r\n />\r\n </ng-template>\r\n\r\n <ng-template\r\n [ngTemplateOutlet]=\"starTemplate()?.template || defaultStarTemplate\"\r\n [ngTemplateOutletContext]=\"starTemplateContext()\"\r\n />\r\n</button>\r\n", styles: [".ard-star-button{border:none;background:transparent}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ArdiumStarComponent, selector: "ard-star", inputs: ["wrapperClasses", "color", "filled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
9806
9875
|
}
|
|
9807
9876
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarButtonComponent, decorators: [{
|
|
9808
9877
|
type: Component,
|
|
@@ -9812,55 +9881,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
9812
9881
|
useExisting: forwardRef(() => ArdiumStarButtonComponent),
|
|
9813
9882
|
multi: true,
|
|
9814
9883
|
},
|
|
9815
|
-
], template: "<button\n #focusableElement\n type=\"button\"\n class=\"ard-star-button\"\n [ngClass]=\"ngClasses()\"\n (click)=\"onClick()\"\n (focus)=\"onFocus($event)\"\n (blur)=\"onBlur($event)\"\n [tabindex]=\"tabIndex()\"\n>\n <div class=\"ard-hitbox\"></div>\n <div class=\"ard-focus-overlay\"></div>\n <ard-star\n
|
|
9884
|
+
], template: "<button\r\n #focusableElement\r\n type=\"button\"\r\n class=\"ard-star-button\"\r\n [ngClass]=\"ngClasses()\"\r\n (click)=\"onClick()\"\r\n (focus)=\"onFocus($event)\"\r\n (blur)=\"onBlur($event)\"\r\n [tabindex]=\"tabIndex()\"\r\n>\r\n <div class=\"ard-hitbox\"></div>\r\n <div class=\"ard-focus-overlay\"></div>\r\n\r\n <ng-template\r\n #defaultStarTemplate\r\n let-fillMode=\"fillMode\"\r\n let-color=\"color\"\r\n >\r\n <ard-star\r\n [filled]=\"fillMode\"\r\n [color]=\"color\"\r\n />\r\n </ng-template>\r\n\r\n <ng-template\r\n [ngTemplateOutlet]=\"starTemplate()?.template || defaultStarTemplate\"\r\n [ngTemplateOutletContext]=\"starTemplateContext()\"\r\n />\r\n</button>\r\n", styles: [".ard-star-button{border:none;background:transparent}\n"] }]
|
|
9816
9885
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
9817
9886
|
type: Inject,
|
|
9818
9887
|
args: [ARD_STAR_BUTTON_DEFAULTS]
|
|
9819
9888
|
}] }] });
|
|
9820
9889
|
|
|
9821
|
-
class
|
|
9822
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9823
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarModule, declarations: [ArdiumStarComponent], imports: [CommonModule], exports: [ArdiumStarComponent] }); }
|
|
9824
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarModule, imports: [CommonModule] }); }
|
|
9825
|
-
}
|
|
9826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarModule, decorators: [{
|
|
9827
|
-
type: NgModule,
|
|
9828
|
-
args: [{
|
|
9829
|
-
declarations: [ArdiumStarComponent],
|
|
9830
|
-
imports: [CommonModule],
|
|
9831
|
-
exports: [ArdiumStarComponent],
|
|
9832
|
-
}]
|
|
9833
|
-
}] });
|
|
9834
|
-
|
|
9835
|
-
class ArdiumStarButtonModule {
|
|
9836
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9837
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarButtonModule, declarations: [ArdiumStarButtonComponent], imports: [CommonModule, ArdiumStarModule], exports: [ArdiumStarButtonComponent] }); }
|
|
9838
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarButtonModule, imports: [CommonModule, ArdiumStarModule] }); }
|
|
9839
|
-
}
|
|
9840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarButtonModule, decorators: [{
|
|
9841
|
-
type: NgModule,
|
|
9842
|
-
args: [{
|
|
9843
|
-
declarations: [ArdiumStarButtonComponent],
|
|
9844
|
-
imports: [CommonModule, ArdiumStarModule],
|
|
9845
|
-
exports: [ArdiumStarButtonComponent],
|
|
9846
|
-
}]
|
|
9847
|
-
}] });
|
|
9848
|
-
|
|
9849
|
-
const _starInputDefaults = {
|
|
9850
|
-
..._ngModelComponentDefaults,
|
|
9851
|
-
color: StarColor.Star,
|
|
9852
|
-
max: 5,
|
|
9853
|
-
};
|
|
9854
|
-
const ARD_STAR_INPUT_DEFAULTS = new InjectionToken('ard-star-input-defaults', {
|
|
9855
|
-
factory: () => ({
|
|
9856
|
-
..._starInputDefaults,
|
|
9857
|
-
}),
|
|
9858
|
-
});
|
|
9859
|
-
function provideStarInputDefaults(config) {
|
|
9860
|
-
return { provide: ARD_STAR_INPUT_DEFAULTS, useValue: { ..._starInputDefaults, ...config } };
|
|
9861
|
-
}
|
|
9862
|
-
|
|
9863
|
-
class ArdiumStarInputComponent extends _NgModelComponentBase {
|
|
9890
|
+
class ArdiumRatingInputComponent extends _NgModelComponentBase {
|
|
9864
9891
|
constructor(defaults) {
|
|
9865
9892
|
super(defaults);
|
|
9866
9893
|
this.wrapperClasses = input('');
|
|
@@ -9868,35 +9895,38 @@ class ArdiumStarInputComponent extends _NgModelComponentBase {
|
|
|
9868
9895
|
this.color = input(this._DEFAULTS.color);
|
|
9869
9896
|
this.ngClasses = computed(() => [this.wrapperClasses(), `ard-color-${this.color()}`].join(' '));
|
|
9870
9897
|
//! events
|
|
9871
|
-
this.changeEvent = output({ alias: 'change' });
|
|
9872
9898
|
this.highlightEvent = output({ alias: 'highlight' });
|
|
9873
|
-
this.value = model(
|
|
9899
|
+
this.value = model(null);
|
|
9874
9900
|
//! stars
|
|
9875
9901
|
this.max = input(this._DEFAULTS.max, { transform: v => coerceNumberProperty(v, this._DEFAULTS.max) });
|
|
9876
9902
|
this.starButtonInstances = viewChildren('starButton');
|
|
9877
9903
|
this._highlightedStarIndex = signal(null);
|
|
9878
|
-
this.starArray = computed(() =>
|
|
9879
|
-
const v = this.value();
|
|
9880
|
-
const max = this.max();
|
|
9881
|
-
const hi = Math.round(this._highlightedStarIndex() ?? -1);
|
|
9882
|
-
const arr = new Array(max);
|
|
9883
|
-
for (let i = 0; i < max; i++) {
|
|
9884
|
-
if (i <= hi) {
|
|
9885
|
-
arr[i] = { filled: true, isInValue: true };
|
|
9886
|
-
continue;
|
|
9887
|
-
}
|
|
9888
|
-
if (i < v) {
|
|
9889
|
-
arr[i] = { filled: hi === -1, isInValue: true };
|
|
9890
|
-
continue;
|
|
9891
|
-
}
|
|
9892
|
-
arr[i] = { filled: false, isInValue: false };
|
|
9893
|
-
}
|
|
9894
|
-
return arr;
|
|
9895
|
-
});
|
|
9904
|
+
this.starArray = computed(() => new Array(this.max()).fill(0).map((_, i) => i));
|
|
9896
9905
|
//* focus handlers
|
|
9897
9906
|
this._isFocusEventSuppressed = false;
|
|
9898
9907
|
this._isBlurEventSuppressed = false;
|
|
9899
9908
|
this._currentFocusIndex = null;
|
|
9909
|
+
//! template
|
|
9910
|
+
this.starButtonTemplate = contentChild(ArdRatingInputStarButtonTemplateDirective);
|
|
9911
|
+
this.getStarButtonTemplateContext = computed(() => index => ({
|
|
9912
|
+
color: this.color(),
|
|
9913
|
+
index,
|
|
9914
|
+
highlightedIndex: this._highlightedStarIndex() ?? -1,
|
|
9915
|
+
valueIndex: (this.value() ?? 0) - 1,
|
|
9916
|
+
tabIndex: this.tabIndex(),
|
|
9917
|
+
onClick: () => {
|
|
9918
|
+
this.onStarClick(index);
|
|
9919
|
+
},
|
|
9920
|
+
onFocus: (event) => {
|
|
9921
|
+
this.onStarButtonFocus(event, index);
|
|
9922
|
+
},
|
|
9923
|
+
onBlur: (event) => {
|
|
9924
|
+
this.onStarButtonBlur(event);
|
|
9925
|
+
},
|
|
9926
|
+
onHighlight: () => {
|
|
9927
|
+
this.onStarHighlight(index);
|
|
9928
|
+
},
|
|
9929
|
+
}));
|
|
9900
9930
|
effect(() => {
|
|
9901
9931
|
const hi = this._highlightedStarIndex();
|
|
9902
9932
|
if (hi !== null) {
|
|
@@ -9923,9 +9953,8 @@ class ArdiumStarInputComponent extends _NgModelComponentBase {
|
|
|
9923
9953
|
}
|
|
9924
9954
|
_emitChange() {
|
|
9925
9955
|
this._onChangeRegistered?.(this.value());
|
|
9926
|
-
this.changeEvent.emit(this.value());
|
|
9927
9956
|
}
|
|
9928
|
-
onStarButtonFocus(
|
|
9957
|
+
onStarButtonFocus(event, index) {
|
|
9929
9958
|
this._currentFocusIndex = index;
|
|
9930
9959
|
if (this._isFocusEventSuppressed) {
|
|
9931
9960
|
this._isFocusEventSuppressed = false;
|
|
@@ -10014,43 +10043,71 @@ class ArdiumStarInputComponent extends _NgModelComponentBase {
|
|
|
10014
10043
|
_onTabPress() {
|
|
10015
10044
|
this.focusStarButtonByIndex(this.max() - 1);
|
|
10016
10045
|
}
|
|
10017
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
10018
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type:
|
|
10046
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingInputComponent, deps: [{ token: ARD_RATING_INPUT_DEFAULTS }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10047
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: ArdiumRatingInputComponent, selector: "ard-rating-input", inputs: { wrapperClasses: { classPropertyName: "wrapperClasses", publicName: "wrapperClasses", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { highlightEvent: "highlight", value: "valueChange" }, host: { listeners: { "keydown": "onKeyPress($event)" } }, providers: [
|
|
10019
10048
|
{
|
|
10020
10049
|
provide: NG_VALUE_ACCESSOR,
|
|
10021
|
-
useExisting: forwardRef(() =>
|
|
10050
|
+
useExisting: forwardRef(() => ArdiumRatingInputComponent),
|
|
10022
10051
|
multi: true,
|
|
10023
10052
|
},
|
|
10024
|
-
], viewQueries: [{ propertyName: "starButtonInstances", predicate: ["starButton"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"ard-
|
|
10053
|
+
], queries: [{ propertyName: "starButtonTemplate", first: true, predicate: ArdRatingInputStarButtonTemplateDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "starButtonInstances", predicate: ["starButton"], descendants: true, isSignal: true }], usesInheritance: true, ngImport: i0, template: "<div\r\n class=\"ard-rating-input\"\r\n [ngClass]=\"ngClasses()\"\r\n (mouseleave)=\"setDisplayToValue()\"\r\n>\r\n <ng-template\r\n #defaultStarButtonTemplate\r\n let-color=\"color\"\r\n let-index=\"index\"\r\n let-highlightedIndex=\"highlightedIndex\"\r\n let-valueIndex=\"valueIndex\"\r\n let-tabIndex=\"tabIndex\"\r\n let-onClick=\"onClick\"\r\n let-onFocus=\"onFocus\"\r\n let-onBlur=\"onBlur\"\r\n let-onHighlight=\"onHighlight\"\r\n >\r\n <ard-star-button\r\n #starButton\r\n [class.ard-star-not-in-value]=\"index > valueIndex && index > highlightedIndex\"\r\n [color]=\"index <= valueIndex || index <= highlightedIndex ? color : 'none'\"\r\n clickStrategy=\"noop\"\r\n [selected]=\"highlightedIndex === -1 ? index <= valueIndex : index <= highlightedIndex\"\r\n (click)=\"onClick()\"\r\n (focus)=\"onFocus($event)\"\r\n (blur)=\"onBlur($event)\"\r\n (mouseenter)=\"onHighlight()\"\r\n [tabIndex]=\"tabIndex\"\r\n />\r\n </ng-template>\r\n\r\n @for (index of starArray(); track index) {\r\n <ng-template\r\n [ngTemplateOutlet]=\"starButtonTemplate()?.template || defaultStarButtonTemplate\"\r\n [ngTemplateOutletContext]=\"getStarButtonTemplateContext()(index)\"\r\n />\r\n <input\r\n type=\"radio\"\r\n class=\"ard-rating-input__radio\"\r\n value=\"index\"\r\n [id]=\"htmlId() + index\"\r\n tabindex=\"-1\"\r\n />\r\n }\r\n</div>\r\n", styles: [".ard-rating-input{width:max-content}.ard-rating-input__radio{appearance:none;opacity:0;position:absolute;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ArdiumStarButtonComponent, selector: "ard-star-button", inputs: ["wrapperClasses", "clickStrategy", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
10025
10054
|
}
|
|
10026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
10055
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingInputComponent, decorators: [{
|
|
10027
10056
|
type: Component,
|
|
10028
|
-
args: [{ selector: 'ard-
|
|
10057
|
+
args: [{ selector: 'ard-rating-input', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
10029
10058
|
{
|
|
10030
10059
|
provide: NG_VALUE_ACCESSOR,
|
|
10031
|
-
useExisting: forwardRef(() =>
|
|
10060
|
+
useExisting: forwardRef(() => ArdiumRatingInputComponent),
|
|
10032
10061
|
multi: true,
|
|
10033
10062
|
},
|
|
10034
|
-
], template: "<div\n class=\"ard-
|
|
10063
|
+
], template: "<div\r\n class=\"ard-rating-input\"\r\n [ngClass]=\"ngClasses()\"\r\n (mouseleave)=\"setDisplayToValue()\"\r\n>\r\n <ng-template\r\n #defaultStarButtonTemplate\r\n let-color=\"color\"\r\n let-index=\"index\"\r\n let-highlightedIndex=\"highlightedIndex\"\r\n let-valueIndex=\"valueIndex\"\r\n let-tabIndex=\"tabIndex\"\r\n let-onClick=\"onClick\"\r\n let-onFocus=\"onFocus\"\r\n let-onBlur=\"onBlur\"\r\n let-onHighlight=\"onHighlight\"\r\n >\r\n <ard-star-button\r\n #starButton\r\n [class.ard-star-not-in-value]=\"index > valueIndex && index > highlightedIndex\"\r\n [color]=\"index <= valueIndex || index <= highlightedIndex ? color : 'none'\"\r\n clickStrategy=\"noop\"\r\n [selected]=\"highlightedIndex === -1 ? index <= valueIndex : index <= highlightedIndex\"\r\n (click)=\"onClick()\"\r\n (focus)=\"onFocus($event)\"\r\n (blur)=\"onBlur($event)\"\r\n (mouseenter)=\"onHighlight()\"\r\n [tabIndex]=\"tabIndex\"\r\n />\r\n </ng-template>\r\n\r\n @for (index of starArray(); track index) {\r\n <ng-template\r\n [ngTemplateOutlet]=\"starButtonTemplate()?.template || defaultStarButtonTemplate\"\r\n [ngTemplateOutletContext]=\"getStarButtonTemplateContext()(index)\"\r\n />\r\n <input\r\n type=\"radio\"\r\n class=\"ard-rating-input__radio\"\r\n value=\"index\"\r\n [id]=\"htmlId() + index\"\r\n tabindex=\"-1\"\r\n />\r\n }\r\n</div>\r\n", styles: [".ard-rating-input{width:max-content}.ard-rating-input__radio{appearance:none;opacity:0;position:absolute;pointer-events:none}\n"] }]
|
|
10035
10064
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
10036
10065
|
type: Inject,
|
|
10037
|
-
args: [
|
|
10066
|
+
args: [ARD_RATING_INPUT_DEFAULTS]
|
|
10038
10067
|
}] }], propDecorators: { onKeyPress: [{
|
|
10039
10068
|
type: HostListener,
|
|
10040
10069
|
args: ['keydown', ['$event']]
|
|
10041
10070
|
}] } });
|
|
10042
10071
|
|
|
10043
|
-
class
|
|
10044
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
10045
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type:
|
|
10046
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
10072
|
+
class ArdiumStarModule {
|
|
10073
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10074
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarModule, declarations: [ArdiumStarComponent, ArdStarIconTemplateDirective], imports: [CommonModule, ArdiumIconModule], exports: [ArdiumStarComponent, ArdStarIconTemplateDirective] }); }
|
|
10075
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarModule, imports: [CommonModule, ArdiumIconModule] }); }
|
|
10076
|
+
}
|
|
10077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarModule, decorators: [{
|
|
10078
|
+
type: NgModule,
|
|
10079
|
+
args: [{
|
|
10080
|
+
declarations: [ArdiumStarComponent, ArdStarIconTemplateDirective],
|
|
10081
|
+
imports: [CommonModule, ArdiumIconModule],
|
|
10082
|
+
exports: [ArdiumStarComponent, ArdStarIconTemplateDirective],
|
|
10083
|
+
}]
|
|
10084
|
+
}] });
|
|
10085
|
+
|
|
10086
|
+
class ArdiumStarButtonModule {
|
|
10087
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10088
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarButtonModule, declarations: [ArdiumStarButtonComponent, ArdStarButtonStarTemplateDirective], imports: [CommonModule, ArdiumStarModule], exports: [ArdiumStarButtonComponent, ArdStarButtonStarTemplateDirective] }); }
|
|
10089
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarButtonModule, imports: [CommonModule, ArdiumStarModule] }); }
|
|
10090
|
+
}
|
|
10091
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumStarButtonModule, decorators: [{
|
|
10092
|
+
type: NgModule,
|
|
10093
|
+
args: [{
|
|
10094
|
+
declarations: [ArdiumStarButtonComponent, ArdStarButtonStarTemplateDirective],
|
|
10095
|
+
imports: [CommonModule, ArdiumStarModule],
|
|
10096
|
+
exports: [ArdiumStarButtonComponent, ArdStarButtonStarTemplateDirective],
|
|
10097
|
+
}]
|
|
10098
|
+
}] });
|
|
10099
|
+
|
|
10100
|
+
class ArdiumRatingInputModule {
|
|
10101
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
10102
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingInputModule, declarations: [ArdiumRatingInputComponent, ArdRatingInputStarButtonTemplateDirective], imports: [CommonModule, ArdiumStarButtonModule], exports: [ArdiumRatingInputComponent, ArdRatingInputStarButtonTemplateDirective] }); }
|
|
10103
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingInputModule, imports: [CommonModule, ArdiumStarButtonModule] }); }
|
|
10047
10104
|
}
|
|
10048
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
10105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingInputModule, decorators: [{
|
|
10049
10106
|
type: NgModule,
|
|
10050
10107
|
args: [{
|
|
10051
|
-
declarations: [
|
|
10108
|
+
declarations: [ArdiumRatingInputComponent, ArdRatingInputStarButtonTemplateDirective],
|
|
10052
10109
|
imports: [CommonModule, ArdiumStarButtonModule],
|
|
10053
|
-
exports: [
|
|
10110
|
+
exports: [ArdiumRatingInputComponent, ArdRatingInputStarButtonTemplateDirective],
|
|
10054
10111
|
}]
|
|
10055
10112
|
}] });
|
|
10056
10113
|
|
|
@@ -11116,24 +11173,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
11116
11173
|
}]
|
|
11117
11174
|
}] });
|
|
11118
11175
|
|
|
11119
|
-
const
|
|
11120
|
-
color: StarColor.
|
|
11176
|
+
const _ratingDisplayDefaults = {
|
|
11177
|
+
color: StarColor.Gold,
|
|
11121
11178
|
max: 5,
|
|
11122
11179
|
value: 0,
|
|
11123
11180
|
};
|
|
11124
|
-
const
|
|
11181
|
+
const ARD_RATING_DISPLAY_DEFAULTS = new InjectionToken('ard-rating-display-defaults', {
|
|
11125
11182
|
factory: () => ({
|
|
11126
|
-
...
|
|
11183
|
+
..._ratingDisplayDefaults,
|
|
11127
11184
|
}),
|
|
11128
11185
|
});
|
|
11129
|
-
function
|
|
11130
|
-
return { provide:
|
|
11186
|
+
function provideRatingDisplayDefaults(config) {
|
|
11187
|
+
return { provide: ARD_RATING_DISPLAY_DEFAULTS, useValue: { ..._ratingDisplayDefaults, ...config } };
|
|
11131
11188
|
}
|
|
11132
11189
|
|
|
11133
|
-
class
|
|
11190
|
+
class ArdRatingDisplayStarTemplateDirective {
|
|
11191
|
+
constructor(template) {
|
|
11192
|
+
this.template = template;
|
|
11193
|
+
}
|
|
11194
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdRatingDisplayStarTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
11195
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ArdRatingDisplayStarTemplateDirective, selector: "ard-rating-display > ng-template[ard-star-tmp]", ngImport: i0 }); }
|
|
11196
|
+
}
|
|
11197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdRatingDisplayStarTemplateDirective, decorators: [{
|
|
11198
|
+
type: Directive,
|
|
11199
|
+
args: [{
|
|
11200
|
+
selector: 'ard-rating-display > ng-template[ard-star-tmp]',
|
|
11201
|
+
}]
|
|
11202
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
11203
|
+
|
|
11204
|
+
class ArdiumRatingDisplayComponent {
|
|
11134
11205
|
constructor() {
|
|
11135
11206
|
this.wrapperClasses = input('');
|
|
11136
|
-
this._DEFAULTS = inject(
|
|
11207
|
+
this._DEFAULTS = inject(ARD_RATING_DISPLAY_DEFAULTS);
|
|
11137
11208
|
//! appearance
|
|
11138
11209
|
this.color = input(this._DEFAULTS.color);
|
|
11139
11210
|
this.ngClasses = computed(() => [this.wrapperClasses(), `ard-color-${this.color}`].join(' '));
|
|
@@ -11174,26 +11245,35 @@ class ArdiumStarDisplayComponent {
|
|
|
11174
11245
|
}
|
|
11175
11246
|
return newArr;
|
|
11176
11247
|
});
|
|
11248
|
+
//! template
|
|
11249
|
+
this.starTemplate = contentChild(ArdRatingDisplayStarTemplateDirective);
|
|
11250
|
+
this.getStarTemplateContext = computed(() => (fillMode, index) => ({
|
|
11251
|
+
$implicit: fillMode,
|
|
11252
|
+
fillMode,
|
|
11253
|
+
index,
|
|
11254
|
+
valueIndex: isNumber(this.value()) ? this.value() - 1 : -1,
|
|
11255
|
+
color: this.color(),
|
|
11256
|
+
}));
|
|
11177
11257
|
}
|
|
11178
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
11179
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type:
|
|
11258
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingDisplayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11259
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: ArdiumRatingDisplayComponent, selector: "ard-rating-display", inputs: { wrapperClasses: { classPropertyName: "wrapperClasses", publicName: "wrapperClasses", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, queries: [{ propertyName: "starTemplate", first: true, predicate: ArdRatingDisplayStarTemplateDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<div\r\n class=\"ard-rating-display\"\r\n [ngClass]=\"ngClasses()\"\r\n>\r\n <ng-template\r\n #defaultStarTemplate\r\n let-fillMode=\"fillMode\"\r\n let-color=\"color\"\r\n >\r\n <ard-star\r\n [filled]=\"fillMode\"\r\n [color]=\"color\"\r\n />\r\n </ng-template>\r\n\r\n @for (fillMode of starArray(); track $index) {\r\n <ng-template\r\n [ngTemplateOutlet]=\"starTemplate()?.template || defaultStarTemplate\"\r\n [ngTemplateOutletContext]=\"getStarTemplateContext()(fillMode, $index)\"\r\n />\r\n }\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ArdiumStarComponent, selector: "ard-star", inputs: ["wrapperClasses", "color", "filled"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
11180
11260
|
}
|
|
11181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
11261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingDisplayComponent, decorators: [{
|
|
11182
11262
|
type: Component,
|
|
11183
|
-
args: [{ selector: 'ard-
|
|
11263
|
+
args: [{ selector: 'ard-rating-display', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\r\n class=\"ard-rating-display\"\r\n [ngClass]=\"ngClasses()\"\r\n>\r\n <ng-template\r\n #defaultStarTemplate\r\n let-fillMode=\"fillMode\"\r\n let-color=\"color\"\r\n >\r\n <ard-star\r\n [filled]=\"fillMode\"\r\n [color]=\"color\"\r\n />\r\n </ng-template>\r\n\r\n @for (fillMode of starArray(); track $index) {\r\n <ng-template\r\n [ngTemplateOutlet]=\"starTemplate()?.template || defaultStarTemplate\"\r\n [ngTemplateOutletContext]=\"getStarTemplateContext()(fillMode, $index)\"\r\n />\r\n }\r\n</div>\r\n" }]
|
|
11184
11264
|
}] });
|
|
11185
11265
|
|
|
11186
|
-
class
|
|
11187
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
11188
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type:
|
|
11189
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
11266
|
+
class ArdiumRatingDisplayModule {
|
|
11267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingDisplayModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11268
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingDisplayModule, declarations: [ArdiumRatingDisplayComponent, ArdRatingDisplayStarTemplateDirective], imports: [CommonModule, ArdiumStarModule], exports: [ArdiumRatingDisplayComponent, ArdRatingDisplayStarTemplateDirective] }); }
|
|
11269
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingDisplayModule, imports: [CommonModule, ArdiumStarModule] }); }
|
|
11190
11270
|
}
|
|
11191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
11271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumRatingDisplayModule, decorators: [{
|
|
11192
11272
|
type: NgModule,
|
|
11193
11273
|
args: [{
|
|
11194
|
-
declarations: [
|
|
11274
|
+
declarations: [ArdiumRatingDisplayComponent, ArdRatingDisplayStarTemplateDirective],
|
|
11195
11275
|
imports: [CommonModule, ArdiumStarModule],
|
|
11196
|
-
exports: [
|
|
11276
|
+
exports: [ArdiumRatingDisplayComponent, ArdRatingDisplayStarTemplateDirective],
|
|
11197
11277
|
}]
|
|
11198
11278
|
}] });
|
|
11199
11279
|
|
|
@@ -13182,6 +13262,29 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
13182
13262
|
type: Directive,
|
|
13183
13263
|
args: [{ selector: 'ard-dialog > ng-template[ard-buttons-tmp]' }]
|
|
13184
13264
|
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
13265
|
+
class ArdDialogCloseIconTemplateDirective {
|
|
13266
|
+
constructor(template) {
|
|
13267
|
+
this.template = template;
|
|
13268
|
+
}
|
|
13269
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdDialogCloseIconTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13270
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ArdDialogCloseIconTemplateDirective, selector: "ard-dialog > ng-template[ard-close-icon-tmp]", ngImport: i0 }); }
|
|
13271
|
+
}
|
|
13272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdDialogCloseIconTemplateDirective, decorators: [{
|
|
13273
|
+
type: Directive,
|
|
13274
|
+
args: [{ selector: 'ard-dialog > ng-template[ard-close-icon-tmp]' }]
|
|
13275
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
13276
|
+
|
|
13277
|
+
class ArdModalCloseIconTemplateDirective {
|
|
13278
|
+
constructor(template) {
|
|
13279
|
+
this.template = template;
|
|
13280
|
+
}
|
|
13281
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdModalCloseIconTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13282
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: ArdModalCloseIconTemplateDirective, selector: "ard-modal > ng-template[ard-close-icon-tmp]", ngImport: i0 }); }
|
|
13283
|
+
}
|
|
13284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdModalCloseIconTemplateDirective, decorators: [{
|
|
13285
|
+
type: Directive,
|
|
13286
|
+
args: [{ selector: 'ard-modal > ng-template[ard-close-icon-tmp]' }]
|
|
13287
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
13185
13288
|
|
|
13186
13289
|
class ArdiumModalComponent {
|
|
13187
13290
|
constructor() {
|
|
@@ -13202,12 +13305,16 @@ class ArdiumModalComponent {
|
|
|
13202
13305
|
this.disableBackdropClose = input(this._DEFAULTS.disableBackdropClose, {
|
|
13203
13306
|
transform: v => coerceBooleanProperty(v),
|
|
13204
13307
|
});
|
|
13308
|
+
this.allActionsDisabled = input(false, { transform: v => coerceBooleanProperty(v) });
|
|
13205
13309
|
//! open state handling
|
|
13206
13310
|
this.open = signal(false);
|
|
13207
13311
|
this.openChange = output();
|
|
13208
13312
|
this.closeEvent = output({ alias: 'close' });
|
|
13209
13313
|
//! overlay handling
|
|
13210
13314
|
this.modalTemplate = viewChild('modalTemplate', { read: TemplateRef });
|
|
13315
|
+
//! templates
|
|
13316
|
+
this.closeIconTemplate = contentChild(ArdModalCloseIconTemplateDirective);
|
|
13317
|
+
this._closeIconTemplate = input(undefined);
|
|
13211
13318
|
}
|
|
13212
13319
|
set _open(v) {
|
|
13213
13320
|
this.open.set(coerceBooleanProperty(v));
|
|
@@ -13216,6 +13323,12 @@ class ArdiumModalComponent {
|
|
|
13216
13323
|
else
|
|
13217
13324
|
this._destroyOverlay();
|
|
13218
13325
|
}
|
|
13326
|
+
openProgrammatically() {
|
|
13327
|
+
this.open.set(true);
|
|
13328
|
+
}
|
|
13329
|
+
closeProgrammatically() {
|
|
13330
|
+
this.open.set(false);
|
|
13331
|
+
}
|
|
13219
13332
|
_openOverlay() {
|
|
13220
13333
|
const strategy = this.overlay.position().global();
|
|
13221
13334
|
const config = new OverlayConfig({
|
|
@@ -13237,19 +13350,21 @@ class ArdiumModalComponent {
|
|
|
13237
13350
|
}
|
|
13238
13351
|
//! events
|
|
13239
13352
|
onBackdropClick() {
|
|
13240
|
-
if (this.disableBackdropClose())
|
|
13353
|
+
if (this.disableBackdropClose() || this.allActionsDisabled())
|
|
13241
13354
|
return;
|
|
13242
13355
|
this._destroyOverlay();
|
|
13243
13356
|
}
|
|
13244
13357
|
onCloseButtonClick() {
|
|
13358
|
+
if (this.allActionsDisabled())
|
|
13359
|
+
return;
|
|
13245
13360
|
this._destroyOverlay();
|
|
13246
13361
|
}
|
|
13247
13362
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13248
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: ArdiumModalComponent, selector: "ard-modal", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, noCloseButton: { classPropertyName: "noCloseButton", publicName: "noCloseButton", isSignal: true, isRequired: false, transformFunction: null }, noBackdrop: { classPropertyName: "noBackdrop", publicName: "noBackdrop", isSignal: true, isRequired: false, transformFunction: null }, disableBackdropClose: { classPropertyName: "disableBackdropClose", publicName: "disableBackdropClose", isSignal: true, isRequired: false, transformFunction: null }, _open: { classPropertyName: "_open", publicName: "open", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { openChange: "openChange", closeEvent: "close" }, viewQueries: [{ propertyName: "modalTemplate", first: true, predicate: ["modalTemplate"], descendants: true, read: TemplateRef, isSignal: true }], ngImport: i0, template: "<ng-template #modalTemplate>\n @if (noBackdrop()) {\n
|
|
13363
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: ArdiumModalComponent, selector: "ard-modal", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, noCloseButton: { classPropertyName: "noCloseButton", publicName: "noCloseButton", isSignal: true, isRequired: false, transformFunction: null }, noBackdrop: { classPropertyName: "noBackdrop", publicName: "noBackdrop", isSignal: true, isRequired: false, transformFunction: null }, disableBackdropClose: { classPropertyName: "disableBackdropClose", publicName: "disableBackdropClose", isSignal: true, isRequired: false, transformFunction: null }, allActionsDisabled: { classPropertyName: "allActionsDisabled", publicName: "allActionsDisabled", isSignal: true, isRequired: false, transformFunction: null }, _open: { classPropertyName: "_open", publicName: "open", isSignal: false, isRequired: false, transformFunction: null }, _closeIconTemplate: { classPropertyName: "_closeIconTemplate", publicName: "_closeIconTemplate", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { openChange: "openChange", closeEvent: "close" }, queries: [{ propertyName: "closeIconTemplate", first: true, predicate: ArdModalCloseIconTemplateDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "modalTemplate", first: true, predicate: ["modalTemplate"], descendants: true, read: TemplateRef, isSignal: true }], ngImport: i0, template: "<ng-template #modalTemplate>\r\n @if (noBackdrop()) {\r\n <div\r\n class=\"ard-modal\"\r\n [ngClass]=\"ngClasses()\"\r\n (click)=\"onBackdropClick()\"\r\n >\r\n <ng-template [ngTemplateOutlet]=\"_modalInsidePanel\"></ng-template>\r\n </div>\r\n } @else {\r\n <div\r\n class=\"ard-modal ard-modal-backdrop\"\r\n [ngClass]=\"ngClasses()\"\r\n (click)=\"onBackdropClick()\"\r\n >\r\n <ng-template [ngTemplateOutlet]=\"_modalInsidePanel\"></ng-template>\r\n </div>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #_modalInsidePanel>\r\n <div\r\n class=\"ard-modal-panel\"\r\n cdkTrapFocus\r\n [class.ard-modal-no-heading-text]=\"!heading()\"\r\n [class.ard-modal-has-close-button]=\"!noCloseButton()\"\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n <div class=\"ard-modal-heading\">\r\n <div class=\"ard-modal-heading-text\">{{ heading() || (noCloseButton() ? '' : ' ') }}</div>\r\n @if (!noCloseButton()) {\r\n <ard-icon-button\r\n class=\"ard-modal-close-button\"\r\n color=\"none\"\r\n [compact]=\"compact()\"\r\n [disabled]=\"allActionsDisabled()\"\r\n (click)=\"onCloseButtonClick()\"\r\n >\r\n <ng-template #defaultCloseIconTemplate>\r\n <ard-icon>close</ard-icon>\r\n </ng-template>\r\n\r\n <ng-template\r\n [ngTemplateOutlet]=\"closeIconTemplate()?.template ?? _closeIconTemplate()?.template ?? defaultCloseIconTemplate\"\r\n />\r\n </ard-icon-button>\r\n }\r\n </div>\r\n <div class=\"ard-modal-content\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".ard-modal-content{width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ArdiumIconButtonComponent, selector: "ard-icon-button", inputs: ["wrapperClasses", "type", "color", "lightColoring", "compact", "pointerEventsWhenDisabled"] }, { kind: "component", type: ArdiumIconComponent, selector: "ard-icon", inputs: ["ariaLabel", "icon", "filled", "weight", "grade", "opticalSize"] }, { kind: "directive", type: i4$1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
13249
13364
|
}
|
|
13250
13365
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumModalComponent, decorators: [{
|
|
13251
13366
|
type: Component,
|
|
13252
|
-
args: [{ selector: 'ard-modal', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #modalTemplate>\n @if (noBackdrop()) {\n
|
|
13367
|
+
args: [{ selector: 'ard-modal', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #modalTemplate>\r\n @if (noBackdrop()) {\r\n <div\r\n class=\"ard-modal\"\r\n [ngClass]=\"ngClasses()\"\r\n (click)=\"onBackdropClick()\"\r\n >\r\n <ng-template [ngTemplateOutlet]=\"_modalInsidePanel\"></ng-template>\r\n </div>\r\n } @else {\r\n <div\r\n class=\"ard-modal ard-modal-backdrop\"\r\n [ngClass]=\"ngClasses()\"\r\n (click)=\"onBackdropClick()\"\r\n >\r\n <ng-template [ngTemplateOutlet]=\"_modalInsidePanel\"></ng-template>\r\n </div>\r\n }\r\n</ng-template>\r\n\r\n<ng-template #_modalInsidePanel>\r\n <div\r\n class=\"ard-modal-panel\"\r\n cdkTrapFocus\r\n [class.ard-modal-no-heading-text]=\"!heading()\"\r\n [class.ard-modal-has-close-button]=\"!noCloseButton()\"\r\n (click)=\"$event.stopPropagation()\"\r\n >\r\n <div class=\"ard-modal-heading\">\r\n <div class=\"ard-modal-heading-text\">{{ heading() || (noCloseButton() ? '' : ' ') }}</div>\r\n @if (!noCloseButton()) {\r\n <ard-icon-button\r\n class=\"ard-modal-close-button\"\r\n color=\"none\"\r\n [compact]=\"compact()\"\r\n [disabled]=\"allActionsDisabled()\"\r\n (click)=\"onCloseButtonClick()\"\r\n >\r\n <ng-template #defaultCloseIconTemplate>\r\n <ard-icon>close</ard-icon>\r\n </ng-template>\r\n\r\n <ng-template\r\n [ngTemplateOutlet]=\"closeIconTemplate()?.template ?? _closeIconTemplate()?.template ?? defaultCloseIconTemplate\"\r\n />\r\n </ard-icon-button>\r\n }\r\n </div>\r\n <div class=\"ard-modal-content\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".ard-modal-content{width:100%}\n"] }]
|
|
13253
13368
|
}], propDecorators: { _open: [{
|
|
13254
13369
|
type: Input,
|
|
13255
13370
|
args: [{ alias: 'open' }]
|
|
@@ -13274,6 +13389,7 @@ class ArdiumDialogComponent {
|
|
|
13274
13389
|
transform: v => coerceBooleanProperty(v),
|
|
13275
13390
|
});
|
|
13276
13391
|
this.buttonActionType = input(this._DEFAULTS.buttonActionType);
|
|
13392
|
+
this.allActionsDisabled = input(false, { transform: v => coerceBooleanProperty(v) });
|
|
13277
13393
|
//! open state handling
|
|
13278
13394
|
//all handled by modal component
|
|
13279
13395
|
this.open = model(false);
|
|
@@ -13291,6 +13407,7 @@ class ArdiumDialogComponent {
|
|
|
13291
13407
|
this.canConfirm = input(this._DEFAULTS.canConfirm, { transform: v => coerceBooleanProperty(v) });
|
|
13292
13408
|
//! templates
|
|
13293
13409
|
this.buttonsTemplate = contentChild(ArdDialogButtonsTemplateDirective);
|
|
13410
|
+
this.closeIconTemplate = contentChild(ArdDialogCloseIconTemplateDirective);
|
|
13294
13411
|
this.getButtonsContext = computed(() => {
|
|
13295
13412
|
return {
|
|
13296
13413
|
confirmButton: {
|
|
@@ -13305,6 +13422,7 @@ class ArdiumDialogComponent {
|
|
|
13305
13422
|
appearance: this.rejectButtonAppearance(),
|
|
13306
13423
|
},
|
|
13307
13424
|
canConfirm: this.canConfirm(),
|
|
13425
|
+
allActionsDisabled: this.allActionsDisabled(),
|
|
13308
13426
|
onConfirm: () => this.onConfirmClick(),
|
|
13309
13427
|
onReject: () => this.onRejectClick(),
|
|
13310
13428
|
dialogAppearance: this.appearance(),
|
|
@@ -13313,62 +13431,70 @@ class ArdiumDialogComponent {
|
|
|
13313
13431
|
};
|
|
13314
13432
|
});
|
|
13315
13433
|
}
|
|
13434
|
+
openProgrammatically() {
|
|
13435
|
+
this.open.set(true);
|
|
13436
|
+
}
|
|
13437
|
+
closeProgrammatically() {
|
|
13438
|
+
this.open.set(false);
|
|
13439
|
+
}
|
|
13316
13440
|
onConfirmClick() {
|
|
13317
|
-
if (!this.canConfirm())
|
|
13441
|
+
if (!this.canConfirm() || this.allActionsDisabled())
|
|
13318
13442
|
return;
|
|
13319
13443
|
if (this.buttonActionType() === ArdDialogActionType.AutoClose) {
|
|
13320
13444
|
this.open.set(false);
|
|
13321
13445
|
}
|
|
13322
13446
|
setTimeout(() => {
|
|
13323
|
-
this.closeEvent.emit('confirm');
|
|
13324
13447
|
this.confirmEvent.emit();
|
|
13448
|
+
this.closeEvent.emit('confirm');
|
|
13325
13449
|
}, 0);
|
|
13326
13450
|
}
|
|
13327
13451
|
onRejectClick() {
|
|
13452
|
+
if (this.allActionsDisabled())
|
|
13453
|
+
return;
|
|
13328
13454
|
if (this.buttonActionType() === ArdDialogActionType.AutoClose) {
|
|
13329
13455
|
this.open.set(false);
|
|
13330
13456
|
}
|
|
13331
13457
|
setTimeout(() => {
|
|
13332
|
-
this.closeEvent.emit('reject');
|
|
13333
13458
|
this.rejectEvent.emit();
|
|
13459
|
+
this.closeEvent.emit('reject');
|
|
13334
13460
|
}, 0);
|
|
13335
13461
|
}
|
|
13336
13462
|
onModalClose() {
|
|
13337
13463
|
this.closeEvent.emit('close');
|
|
13338
13464
|
}
|
|
13339
13465
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13340
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: ArdiumDialogComponent, selector: "ard-dialog", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, noCloseButton: { classPropertyName: "noCloseButton", publicName: "noCloseButton", isSignal: true, isRequired: false, transformFunction: null }, noBackdrop: { classPropertyName: "noBackdrop", publicName: "noBackdrop", isSignal: true, isRequired: false, transformFunction: null }, disableBackdropClose: { classPropertyName: "disableBackdropClose", publicName: "disableBackdropClose", isSignal: true, isRequired: false, transformFunction: null }, buttonActionType: { classPropertyName: "buttonActionType", publicName: "buttonActionType", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, confirmButtonText: { classPropertyName: "confirmButtonText", publicName: "confirmButtonText", isSignal: true, isRequired: false, transformFunction: null }, confirmButtonColor: { classPropertyName: "confirmButtonColor", publicName: "confirmButtonColor", isSignal: true, isRequired: false, transformFunction: null }, confirmButtonAppearance: { classPropertyName: "confirmButtonAppearance", publicName: "confirmButtonAppearance", isSignal: true, isRequired: false, transformFunction: null }, rejectButtonText: { classPropertyName: "rejectButtonText", publicName: "rejectButtonText", isSignal: true, isRequired: false, transformFunction: null }, rejectButtonColor: { classPropertyName: "rejectButtonColor", publicName: "rejectButtonColor", isSignal: true, isRequired: false, transformFunction: null }, rejectButtonAppearance: { classPropertyName: "rejectButtonAppearance", publicName: "rejectButtonAppearance", isSignal: true, isRequired: false, transformFunction: null }, noRejectButton: { classPropertyName: "noRejectButton", publicName: "noRejectButton", isSignal: true, isRequired: false, transformFunction: null }, canConfirm: { classPropertyName: "canConfirm", publicName: "canConfirm", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", closeEvent: "close", confirmEvent: "confirm", rejectEvent: "reject" }, queries: [{ propertyName: "buttonsTemplate", first: true, predicate: ArdDialogButtonsTemplateDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<ard-modal\n [appearance]=\"appearance()\"\n [variant]=\"variant()\"\n [compact]=\"compact()\"\n [heading]=\"heading()\"\n [noCloseButton]=\"noCloseButton()\"\n [noBackdrop]=\"noBackdrop()\"\n [disableBackdropClose]=\"disableBackdropClose()\"\n [(open)]=\"open\"\n (close)=\"onModalClose()\"\n>\n <div class=\"ard-dialog-container\">\n <div class=\"ard-dialog-content\">\n <ng-content></ng-content>\n </div>\n <div class=\"ard-dialog-buttons\">\n <ng-template\n #defaultButtonsTemplate\n let-confirmButton=\"confirmButton\"\n let-rejectButton=\"rejectButton\"\n let-canConfirm=\"canConfirm\"\n let-onConfirm=\"onConfirm\"\n let-onReject=\"onReject\"\n let-dialogVariant=\"dialogVariant\"\n let-dialogCompact=\"dialogCompact\"\n >\n <div class=\"ard-dialog-buttons-container\">\n @if (rejectButton.enabled) {\n <ard-button\n [color]=\"rejectButton.color\"\n [appearance]=\"rejectButton.appearance\"\n [variant]=\"dialogVariant\"\n [compact]=\"dialogCompact\"\n (click)=\"onReject()\"\n >\n {{ rejectButton.text }}\n </ard-button>\n }\n <ard-button\n [color]=\"confirmButton.color\"\n [appearance]=\"confirmButton.appearance\"\n [variant]=\"dialogVariant\"\n [compact]=\"dialogCompact\"\n (click)=\"onConfirm()\"\n [disabled]=\"!canConfirm\"\n >\n {{ confirmButton.text }}\n </ard-button>\n </div>\n </ng-template>\n\n <ng-template\n [ngTemplateOutlet]=\"buttonsTemplate()?.template ?? defaultButtonsTemplate\"\n [ngTemplateOutletContext]=\"getButtonsContext()\"\n
|
|
13466
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: ArdiumDialogComponent, selector: "ard-dialog", inputs: { appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null }, noCloseButton: { classPropertyName: "noCloseButton", publicName: "noCloseButton", isSignal: true, isRequired: false, transformFunction: null }, noBackdrop: { classPropertyName: "noBackdrop", publicName: "noBackdrop", isSignal: true, isRequired: false, transformFunction: null }, disableBackdropClose: { classPropertyName: "disableBackdropClose", publicName: "disableBackdropClose", isSignal: true, isRequired: false, transformFunction: null }, buttonActionType: { classPropertyName: "buttonActionType", publicName: "buttonActionType", isSignal: true, isRequired: false, transformFunction: null }, allActionsDisabled: { classPropertyName: "allActionsDisabled", publicName: "allActionsDisabled", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, confirmButtonText: { classPropertyName: "confirmButtonText", publicName: "confirmButtonText", isSignal: true, isRequired: false, transformFunction: null }, confirmButtonColor: { classPropertyName: "confirmButtonColor", publicName: "confirmButtonColor", isSignal: true, isRequired: false, transformFunction: null }, confirmButtonAppearance: { classPropertyName: "confirmButtonAppearance", publicName: "confirmButtonAppearance", isSignal: true, isRequired: false, transformFunction: null }, rejectButtonText: { classPropertyName: "rejectButtonText", publicName: "rejectButtonText", isSignal: true, isRequired: false, transformFunction: null }, rejectButtonColor: { classPropertyName: "rejectButtonColor", publicName: "rejectButtonColor", isSignal: true, isRequired: false, transformFunction: null }, rejectButtonAppearance: { classPropertyName: "rejectButtonAppearance", publicName: "rejectButtonAppearance", isSignal: true, isRequired: false, transformFunction: null }, noRejectButton: { classPropertyName: "noRejectButton", publicName: "noRejectButton", isSignal: true, isRequired: false, transformFunction: null }, canConfirm: { classPropertyName: "canConfirm", publicName: "canConfirm", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { open: "openChange", closeEvent: "close", confirmEvent: "confirm", rejectEvent: "reject" }, queries: [{ propertyName: "buttonsTemplate", first: true, predicate: ArdDialogButtonsTemplateDirective, descendants: true, isSignal: true }, { propertyName: "closeIconTemplate", first: true, predicate: ArdDialogCloseIconTemplateDirective, descendants: true, isSignal: true }], ngImport: i0, template: "<ard-modal\r\n [appearance]=\"appearance()\"\r\n [variant]=\"variant()\"\r\n [compact]=\"compact()\"\r\n [heading]=\"heading()\"\r\n [noCloseButton]=\"noCloseButton()\"\r\n [noBackdrop]=\"noBackdrop()\"\r\n [disableBackdropClose]=\"disableBackdropClose()\"\r\n [allActionsDisabled]=\"allActionsDisabled()\"\r\n [(open)]=\"open\"\r\n (close)=\"onModalClose()\"\r\n [_closeIconTemplate]=\"closeIconTemplate()\"\r\n>\r\n <div class=\"ard-dialog-container\">\r\n <div class=\"ard-dialog-content\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"ard-dialog-buttons\">\r\n <ng-template\r\n #defaultButtonsTemplate\r\n let-confirmButton=\"confirmButton\"\r\n let-rejectButton=\"rejectButton\"\r\n let-canConfirm=\"canConfirm\"\r\n let-allActionsDisabled=\"allActionsDisabled\"\r\n let-onConfirm=\"onConfirm\"\r\n let-onReject=\"onReject\"\r\n let-dialogVariant=\"dialogVariant\"\r\n let-dialogCompact=\"dialogCompact\"\r\n >\r\n <div class=\"ard-dialog-buttons-container\">\r\n @if (rejectButton.enabled) {\r\n <ard-button\r\n [color]=\"rejectButton.color\"\r\n [appearance]=\"rejectButton.appearance\"\r\n [variant]=\"dialogVariant\"\r\n [compact]=\"dialogCompact\"\r\n [disabled]=\"allActionsDisabled\"\r\n (click)=\"onReject()\"\r\n >\r\n {{ rejectButton.text }}\r\n </ard-button>\r\n }\r\n <ard-button\r\n [color]=\"confirmButton.color\"\r\n [appearance]=\"confirmButton.appearance\"\r\n [variant]=\"dialogVariant\"\r\n [compact]=\"dialogCompact\"\r\n (click)=\"onConfirm()\"\r\n [disabled]=\"!canConfirm || allActionsDisabled\"\r\n >\r\n {{ confirmButton.text }}\r\n </ard-button>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template\r\n [ngTemplateOutlet]=\"buttonsTemplate()?.template ?? defaultButtonsTemplate\"\r\n [ngTemplateOutletContext]=\"getButtonsContext()\"\r\n />\r\n </div>\r\n </div>\r\n</ard-modal>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ArdiumButtonComponent, selector: "ard-button", inputs: ["icon", "variant", "alignIcon", "vertical"] }, { kind: "component", type: ArdiumModalComponent, selector: "ard-modal", inputs: ["appearance", "variant", "compact", "heading", "noCloseButton", "noBackdrop", "disableBackdropClose", "allActionsDisabled", "open", "_closeIconTemplate"], outputs: ["openChange", "close"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
13341
13467
|
}
|
|
13342
13468
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumDialogComponent, decorators: [{
|
|
13343
13469
|
type: Component,
|
|
13344
|
-
args: [{ selector: 'ard-dialog', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ard-modal\n [appearance]=\"appearance()\"\n [variant]=\"variant()\"\n [compact]=\"compact()\"\n [heading]=\"heading()\"\n [noCloseButton]=\"noCloseButton()\"\n [noBackdrop]=\"noBackdrop()\"\n [disableBackdropClose]=\"disableBackdropClose()\"\n [(open)]=\"open\"\n (close)=\"onModalClose()\"\n>\n <div class=\"ard-dialog-container\">\n <div class=\"ard-dialog-content\">\n <ng-content></ng-content>\n </div>\n <div class=\"ard-dialog-buttons\">\n <ng-template\n #defaultButtonsTemplate\n let-confirmButton=\"confirmButton\"\n let-rejectButton=\"rejectButton\"\n let-canConfirm=\"canConfirm\"\n let-onConfirm=\"onConfirm\"\n let-onReject=\"onReject\"\n let-dialogVariant=\"dialogVariant\"\n let-dialogCompact=\"dialogCompact\"\n >\n <div class=\"ard-dialog-buttons-container\">\n @if (rejectButton.enabled) {\n <ard-button\n [color]=\"rejectButton.color\"\n [appearance]=\"rejectButton.appearance\"\n [variant]=\"dialogVariant\"\n [compact]=\"dialogCompact\"\n (click)=\"onReject()\"\n >\n {{ rejectButton.text }}\n </ard-button>\n }\n <ard-button\n [color]=\"confirmButton.color\"\n [appearance]=\"confirmButton.appearance\"\n [variant]=\"dialogVariant\"\n [compact]=\"dialogCompact\"\n (click)=\"onConfirm()\"\n [disabled]=\"!canConfirm\"\n >\n {{ confirmButton.text }}\n </ard-button>\n </div>\n </ng-template>\n\n <ng-template\n [ngTemplateOutlet]=\"buttonsTemplate()?.template ?? defaultButtonsTemplate\"\n [ngTemplateOutletContext]=\"getButtonsContext()\"\n
|
|
13470
|
+
args: [{ selector: 'ard-dialog', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ard-modal\r\n [appearance]=\"appearance()\"\r\n [variant]=\"variant()\"\r\n [compact]=\"compact()\"\r\n [heading]=\"heading()\"\r\n [noCloseButton]=\"noCloseButton()\"\r\n [noBackdrop]=\"noBackdrop()\"\r\n [disableBackdropClose]=\"disableBackdropClose()\"\r\n [allActionsDisabled]=\"allActionsDisabled()\"\r\n [(open)]=\"open\"\r\n (close)=\"onModalClose()\"\r\n [_closeIconTemplate]=\"closeIconTemplate()\"\r\n>\r\n <div class=\"ard-dialog-container\">\r\n <div class=\"ard-dialog-content\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"ard-dialog-buttons\">\r\n <ng-template\r\n #defaultButtonsTemplate\r\n let-confirmButton=\"confirmButton\"\r\n let-rejectButton=\"rejectButton\"\r\n let-canConfirm=\"canConfirm\"\r\n let-allActionsDisabled=\"allActionsDisabled\"\r\n let-onConfirm=\"onConfirm\"\r\n let-onReject=\"onReject\"\r\n let-dialogVariant=\"dialogVariant\"\r\n let-dialogCompact=\"dialogCompact\"\r\n >\r\n <div class=\"ard-dialog-buttons-container\">\r\n @if (rejectButton.enabled) {\r\n <ard-button\r\n [color]=\"rejectButton.color\"\r\n [appearance]=\"rejectButton.appearance\"\r\n [variant]=\"dialogVariant\"\r\n [compact]=\"dialogCompact\"\r\n [disabled]=\"allActionsDisabled\"\r\n (click)=\"onReject()\"\r\n >\r\n {{ rejectButton.text }}\r\n </ard-button>\r\n }\r\n <ard-button\r\n [color]=\"confirmButton.color\"\r\n [appearance]=\"confirmButton.appearance\"\r\n [variant]=\"dialogVariant\"\r\n [compact]=\"dialogCompact\"\r\n (click)=\"onConfirm()\"\r\n [disabled]=\"!canConfirm || allActionsDisabled\"\r\n >\r\n {{ confirmButton.text }}\r\n </ard-button>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template\r\n [ngTemplateOutlet]=\"buttonsTemplate()?.template ?? defaultButtonsTemplate\"\r\n [ngTemplateOutletContext]=\"getButtonsContext()\"\r\n />\r\n </div>\r\n </div>\r\n</ard-modal>\r\n" }]
|
|
13345
13471
|
}] });
|
|
13346
13472
|
|
|
13347
13473
|
class ArdiumModalModule {
|
|
13348
13474
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13349
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ArdiumModalModule, declarations: [ArdiumModalComponent], imports: [CommonModule, ArdiumIconButtonModule, ArdiumIconModule, A11yModule], exports: [ArdiumModalComponent] }); }
|
|
13475
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ArdiumModalModule, declarations: [ArdiumModalComponent, ArdModalCloseIconTemplateDirective], imports: [CommonModule, ArdiumIconButtonModule, ArdiumIconModule, A11yModule], exports: [ArdiumModalComponent, ArdModalCloseIconTemplateDirective] }); }
|
|
13350
13476
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumModalModule, imports: [CommonModule, ArdiumIconButtonModule, ArdiumIconModule, A11yModule] }); }
|
|
13351
13477
|
}
|
|
13352
13478
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumModalModule, decorators: [{
|
|
13353
13479
|
type: NgModule,
|
|
13354
13480
|
args: [{
|
|
13355
|
-
declarations: [ArdiumModalComponent],
|
|
13481
|
+
declarations: [ArdiumModalComponent, ArdModalCloseIconTemplateDirective],
|
|
13356
13482
|
imports: [CommonModule, ArdiumIconButtonModule, ArdiumIconModule, A11yModule],
|
|
13357
|
-
exports: [ArdiumModalComponent],
|
|
13483
|
+
exports: [ArdiumModalComponent, ArdModalCloseIconTemplateDirective],
|
|
13358
13484
|
}]
|
|
13359
13485
|
}] });
|
|
13360
13486
|
|
|
13361
13487
|
class ArdiumDialogModule {
|
|
13362
13488
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
13363
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ArdiumDialogModule, declarations: [ArdiumDialogComponent, ArdDialogButtonsTemplateDirective], imports: [CommonModule, ArdiumButtonModule, ArdiumModalModule], exports: [ArdiumDialogComponent, ArdDialogButtonsTemplateDirective] }); }
|
|
13489
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: ArdiumDialogModule, declarations: [ArdiumDialogComponent, ArdDialogButtonsTemplateDirective, ArdDialogCloseIconTemplateDirective], imports: [CommonModule, ArdiumButtonModule, ArdiumModalModule], exports: [ArdiumDialogComponent, ArdDialogButtonsTemplateDirective, ArdDialogCloseIconTemplateDirective] }); }
|
|
13364
13490
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumDialogModule, imports: [CommonModule, ArdiumButtonModule, ArdiumModalModule] }); }
|
|
13365
13491
|
}
|
|
13366
13492
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ArdiumDialogModule, decorators: [{
|
|
13367
13493
|
type: NgModule,
|
|
13368
13494
|
args: [{
|
|
13369
|
-
declarations: [ArdiumDialogComponent, ArdDialogButtonsTemplateDirective],
|
|
13495
|
+
declarations: [ArdiumDialogComponent, ArdDialogButtonsTemplateDirective, ArdDialogCloseIconTemplateDirective],
|
|
13370
13496
|
imports: [CommonModule, ArdiumButtonModule, ArdiumModalModule],
|
|
13371
|
-
exports: [ArdiumDialogComponent, ArdDialogButtonsTemplateDirective],
|
|
13497
|
+
exports: [ArdiumDialogComponent, ArdDialogButtonsTemplateDirective, ArdDialogCloseIconTemplateDirective],
|
|
13372
13498
|
}]
|
|
13373
13499
|
}] });
|
|
13374
13500
|
|
|
@@ -13787,5 +13913,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
13787
13913
|
* Generated bundle index. Do not edit.
|
|
13788
13914
|
*/
|
|
13789
13915
|
|
|
13790
|
-
export { ARD_BADGE_DEFAULTS, ARD_BUTTON_DEFAULTS, ARD_CALENDAR_DEFAULTS, ARD_CARD_DEFAULTS, ARD_CHECKBOX_DEFAULTS, ARD_CHECKBOX_LIST_DEFAULTS, ARD_CHIP_DEFAULTS, ARD_COLOR_DISPLAY_DEFAULTS, ARD_DATE_INPUT_DEFAULTS, ARD_DELETABLE_CHIP_DEFAULTS, ARD_DIALOG_DEFAULTS, ARD_DIGIT_INPUT_DEFAULTS, ARD_DIVIDER_DEFAULTS, ARD_DROPDOWN_PANEL_DEFAULTS, ARD_FAB_DEFAULTS, ARD_FILE_DROP_AREA_DEFAULTS, ARD_FILE_INPUT_DEFAULTS, ARD_FORM_FIELD_FRAME_DEFAULTS, ARD_HEX_INPUT_DEFAULTS, ARD_ICON_BUTTON_DEFAULTS, ARD_ICON_DEFAULTS, ARD_KBD_DEFAULTS, ARD_KBD_SHORTCUT_DEFAULTS, ARD_MODAL_DEFAULTS, ARD_NUMBER_INPUT_DEFAULTS, ARD_PASSWORD_INPUT_DEFAULTS, ARD_PROGRESS_BAR_DEFAULTS, ARD_PROGRESS_CIRCLE_DEFAULTS, ARD_RADIO_DEFAULTS, ARD_SEGMENT_DEFAULTS, ARD_SELECTABLE_CHIP_DEFAULTS, ARD_SELECT_DEFAULTS, ARD_SIMPLE_INPUT_DEFAULTS, ARD_SLIDER_DEFAULTS, ARD_SLIDE_TOGGLE_DEFAULTS, ARD_SNACKBAR_ANIMATION_LENGTH, ARD_SNACKBAR_DATA, ARD_SNACKBAR_DEFAULTS, ARD_SPINNER_DEFAULTS, ARD_STAR_BUTTON_DEFAULTS, ARD_STAR_DEFAULTS,
|
|
13916
|
+
export { ARD_BADGE_DEFAULTS, ARD_BUTTON_DEFAULTS, ARD_CALENDAR_DEFAULTS, ARD_CARD_DEFAULTS, ARD_CHECKBOX_DEFAULTS, ARD_CHECKBOX_LIST_DEFAULTS, ARD_CHIP_DEFAULTS, ARD_COLOR_DISPLAY_DEFAULTS, ARD_DATE_INPUT_DEFAULTS, ARD_DELETABLE_CHIP_DEFAULTS, ARD_DIALOG_DEFAULTS, ARD_DIGIT_INPUT_DEFAULTS, ARD_DIVIDER_DEFAULTS, ARD_DROPDOWN_PANEL_DEFAULTS, ARD_FAB_DEFAULTS, ARD_FILE_DROP_AREA_DEFAULTS, ARD_FILE_INPUT_DEFAULTS, ARD_FORM_FIELD_FRAME_DEFAULTS, ARD_HEX_INPUT_DEFAULTS, ARD_ICON_BUTTON_DEFAULTS, ARD_ICON_DEFAULTS, ARD_KBD_DEFAULTS, ARD_KBD_SHORTCUT_DEFAULTS, ARD_MODAL_DEFAULTS, ARD_NUMBER_INPUT_DEFAULTS, ARD_PASSWORD_INPUT_DEFAULTS, ARD_PROGRESS_BAR_DEFAULTS, ARD_PROGRESS_CIRCLE_DEFAULTS, ARD_RADIO_DEFAULTS, ARD_RATING_DISPLAY_DEFAULTS, ARD_RATING_INPUT_DEFAULTS, ARD_SEGMENT_DEFAULTS, ARD_SELECTABLE_CHIP_DEFAULTS, ARD_SELECT_DEFAULTS, ARD_SIMPLE_INPUT_DEFAULTS, ARD_SLIDER_DEFAULTS, ARD_SLIDE_TOGGLE_DEFAULTS, ARD_SNACKBAR_ANIMATION_LENGTH, ARD_SNACKBAR_DATA, ARD_SNACKBAR_DEFAULTS, ARD_SPINNER_DEFAULTS, ARD_STAR_BUTTON_DEFAULTS, ARD_STAR_DEFAULTS, ARD_STATEBOX_DEFAULTS, ARD_TABBER_DEFAULTS, ARD_TABLE_DEFAULTS, ARD_TABLE_FROM_CSV_DEFAULTS, ARD_TABLE_PAGINATION_DEFAULTS, ARD_TAB_DEFAULTS, ArdAddCustomTemplateDirective, ArdCalendarView, ArdDateInputAcceptButtonsTemplateDirective, ArdDateInputCalendarIconTemplateDirective, ArdDateInputMinMaxStrategy, ArdDateInputPrefixTemplateDirective, ArdDateInputSuffixTemplateDirective, ArdDateInputValueTemplateDirective, ArdDialogActionType, ArdDialogButtonsTemplateDirective, ArdDialogCloseIconTemplateDirective, ArdDialogResult, ArdDropdownFooterTemplateDirective, ArdDropdownHeaderTemplateDirective, ArdFileInputPlaceholderTemplateDirective, ArdFileInputPrefixTemplateDirective, ArdFileInputSuffixTemplateDirective, ArdFormFieldPrefixTemplateDirective, ArdFormFieldSuffixTemplateDirective, ArdHexInputPlaceholderTemplateDirective, ArdHexInputPrefixTemplateDirective, ArdHexInputSuffixTemplateDirective, ArdInputLoadingTemplateDirective, ArdInputPlaceholderTemplateDirective, ArdInputPrefixTemplateDirective, ArdInputSuffixTemplateDirective, ArdInputSuggestionTemplateDirective, ArdItemDisplayLimitTemplateDirective, ArdItemLimitReachedTemplateDirective, ArdLoadingPlaceholderTemplateDirective, ArdLoadingSpinnerTemplateDirective, ArdModalCloseIconTemplateDirective, ArdNoItemsFoundTemplateDirective, ArdNumberInputPlaceholderTemplateDirective, ArdOptgroupTemplateDirective, ArdOptionTemplateDirective, ArdPanelPosition, ArdPasswordInputPlaceholderTemplateDirective, ArdPasswordInputPrefixTemplateDirective, ArdPasswordInputRevealButtonTemplateDirective, ArdPasswordInputSuffixTemplateDirective, ArdProgressBarValueTemplateDirective, ArdProgressCircleValueTemplateDirective, ArdRatingDisplayStarTemplateDirective, ArdRatingInputStarButtonTemplateDirective, searchFunctions as ArdSearchFunction, ArdSegmentOptionTemplateDirective, ArdSelectPlaceholderTemplateDirective, ArdSelectPrefixTemplateDirective, ArdSelectSuffixTemplateDirective, ArdSimpleInputPlaceholderTemplateDirective, ArdSimpleInputPrefixTemplateDirective, ArdSimpleInputSuffixTemplateDirective, ArdSlideToggleAppearance, ArdSliderTooltipDirective, ArdSnackbarAlignment, ArdSnackbarOriginRelation, ArdSnackbarQueueHandling, ArdSnackbarRef, ArdSnackbarType, ArdStarButtonStarTemplateDirective, ArdStarIconTemplateDirective, ArdValueChipTemplateDirective, ArdValueTemplateDirective, ArdiumBadgeDirective, ArdiumBadgeModule, ArdiumButtonComponent, ArdiumButtonModule, ArdiumCalendarComponent, ArdiumCalendarModule, ArdiumCardActionButtonsDirective, ArdiumCardAvatarDirective, ArdiumCardComponent, ArdiumCardContentDirective, ArdiumCardDirective, ArdiumCardFooterDirective, ArdiumCardHeaderComponent, ArdiumCardImageDirective, ArdiumCardModule, ArdiumCardSubtitleDirective, ArdiumCardTitleDirective, ArdiumCheckboxComponent, ArdiumCheckboxListComponent, ArdiumCheckboxListModule, ArdiumCheckboxModule, ArdiumChipComponent, ArdiumChipModule, ArdiumColorDisplayComponent, ArdiumColorDisplayModule, ArdiumDateInputComponent, ArdiumDateInputModule, ArdiumDeletableChipComponent, ArdiumDialogComponent, ArdiumDialogModule, ArdiumDigitInputComponent, ArdiumDigitInputModule, ArdiumDividerComponent, ArdiumDividerModule, ArdiumDropdownPanelComponent, ArdiumDropdownPanelModule, ArdiumErrorComponent, ArdiumErrorDirective, ArdiumFabComponent, ArdiumFabModule, ArdiumFileDropAreaComponent, ArdiumFileDropAreaDragoverContentTemplateDirective, ArdiumFileDropAreaIdleContentTemplateDirective, ArdiumFileDropAreaModule, ArdiumFileDropAreaUploadedContentTemplateDirective, ArdiumFileInputComponent, ArdiumFileInputDragoverContentTemplateDirective, ArdiumFileInputIdleContentTemplateDirective, ArdiumFileInputModule, ArdiumFileInputUploadedContentTemplateDirective, ArdiumFormFieldComponent, ArdiumFormFieldFrameComponent, ArdiumFormFieldFrameModule, ArdiumFormFieldModule, ArdiumHexInputComponent, ArdiumHexInputModule, ArdiumHintComponent, ArdiumHintDirective, ArdiumHorizontalFormFieldComponent, ArdiumIconButtonComponent, ArdiumIconButtonModule, ArdiumIconComponent, ArdiumIconModule, ArdiumIconPipe, ArdiumInputComponent, ArdiumInputModule, ArdiumKbdComponent, ArdiumKbdDirective, ArdiumKbdModule, ArdiumKbdPipe, ArdiumKbdShortcutComponent, ArdiumKbdShortcutModule, ArdiumLabelComponent, ArdiumModalComponent, ArdiumModalModule, ArdiumNumberInputComponent, ArdiumNumberInputModule, ArdiumOptionComponent, ArdiumOptionModule, ArdiumPasswordInputComponent, ArdiumPasswordInputModule, ArdiumProgressBarComponent, ArdiumProgressBarModule, ArdiumProgressCircleComponent, ArdiumProgressCircleModule, ArdiumRadioComponent, ArdiumRadioGroupComponent, ArdiumRadioModule, ArdiumRangeSliderComponent, ArdiumRangeSliderModule, ArdiumRatingDisplayComponent, ArdiumRatingDisplayModule, ArdiumRatingInputComponent, ArdiumRatingInputModule, ArdiumSegmentComponent, ArdiumSegmentModule, ArdiumSelectComponent, ArdiumSelectModule, ArdiumSelectableChipComponent, ArdiumSimpleInputComponent, ArdiumSimpleInputModule, ArdiumSlideToggleComponent, ArdiumSlideToggleModule, ArdiumSliderComponent, ArdiumSliderModule, ArdiumSnackbarService, ArdiumSpinnerComponent, ArdiumSpinnerModule, ArdiumStarButtonComponent, ArdiumStarButtonModule, ArdiumStarComponent, ArdiumStarModule, ArdiumStateboxComponent, ArdiumStateboxModule, ArdiumTabComponent, ArdiumTabberComponent, ArdiumTabberModule, ArdiumTableCaptionTemplateDirective, ArdiumTableCheckboxTemplateDirective, ArdiumTableComponent, ArdiumTableFromCsvComponent, ArdiumTableFromCsvModule, ArdiumTableHeaderCheckboxTemplateDirective, ArdiumTableModule, ArdiumTablePaginationComponent, ArdiumTablePaginationModule, ArdiumTablePaginationTemplateDirective, ArdiumTableTemplateDirective, ArdiumTextListComponent, ArdiumTextListModule, ArdiumTextListPipe, BadgePosition, BadgeSize, ButtonAppearance, ButtonVariant, CardAppearance, CardVariant, CheckboxListAlignType, CheckboxState, ClickStrategy, ColorDisplayAppearance, ComponentColor, DecorationElementAppearance, DigitInputPrimitiveOption, DigitInputShape, DropdownPanelAppearance, DropdownPanelVariant, FabSize, FormElementAppearance, FormElementVariant, OneAxisAlignment, OutlinedAppearance, PaginationAlign, PanelAppearance, PanelVariant, ProgressBarAppearance, ProgressBarMode, ProgressBarSize, ProgressBarVariant, ProgressCircleAppearance, ProgressCircleVariant, SegmentAppearance, SegmentVariant, SimpleComponentColor, SimpleOneAxisAlignment, SliderDecorationPosition, SliderTooltipBehavior, SortType, StarColor, StarFillMode, TableAlignType, TableAppearance, TablePaginationStrategy, TableVariant, TransformType, _chipDefaults, _modalDefaults, provideBadgeDefaults, provideButtonDefaults, provideCalendarDefaults, provideCardDefaults, provideCheckboxDefaults, provideCheckboxListDefaults, provideChipDefaults, provideColorDisplayDefaults, provideDateInputDefaults, provideDeletableChipDefaults, provideDialogDefaults, provideDigitInputDefaults, provideDividerDefaults, provideDropdownPanelDefaults, provideFabDefaults, provideFileDropAreaDefaults, provideFileInputDefaults, provideFormFieldFrameDefaults, provideHexInputDefaults, provideIconButtonDefaults, provideIconDefaults, provideKbdDefaults, provideKbdShortcutDefaults, provideModalDefaults, provideNumberInputDefaults, providePasswordInputDefaults, provideProgressBarDefaults, provideProgressCircleDefaults, provideRadioDefaults, provideRatingDisplayDefaults, provideRatingInputDefaults, provideSegmentDefaults, provideSelectDefaults, provideSelectableChipDefaults, provideSimpleInputDefaults, provideSlideToggleDefaults, provideSliderDefaults, provideSnackbarDefaults, provideSpinnerDefaults, provideStarButtonDefaults, provideStarDefaults, provideStateboxDefaults, provideTabDefaults, provideTabberDefaults, provideTableDefaults, provideTableFromCsvDefaults, provideTablePaginationDefaults, searchInString };
|
|
13791
13917
|
//# sourceMappingURL=ardium-ui-ui.mjs.map
|