@datarailsshared/datarailsshared 1.6.310 → 1.6.312
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/datarailsshared-datarailsshared-1.6.312.tgz +0 -0
- package/esm2022/lib/dr-chip/dr-chip.component.mjs +26 -10
- package/esm2022/lib/dr-file-upload/directives/drag-drop.directive.mjs +63 -0
- package/esm2022/lib/dr-file-upload/dr-file-upload-item/dr-file-upload-item.component.mjs +168 -0
- package/esm2022/lib/dr-file-upload/dr-file-upload.component.mjs +512 -0
- package/esm2022/lib/dr-file-upload/index.mjs +6 -0
- package/esm2022/lib/dr-file-upload/models/file-upload.models.mjs +2 -0
- package/esm2022/lib/dr-file-upload/services/file-upload-validation.service.mjs +76 -0
- package/esm2022/lib/dr-file-upload/templates/dr-file-upload-image-template/dr-file-upload-image-template.component.mjs +135 -0
- package/esm2022/lib/dr-progress-bar/dr-progress-bar.component.mjs +39 -8
- package/esm2022/local-api.mjs +2 -1
- package/fesm2022/datarailsshared-datarailsshared.mjs +1233 -256
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-chip/dr-chip.component.d.ts +8 -5
- package/lib/dr-file-upload/directives/drag-drop.directive.d.ts +12 -0
- package/lib/dr-file-upload/dr-file-upload-item/dr-file-upload-item.component.d.ts +18 -0
- package/lib/dr-file-upload/dr-file-upload.component.d.ts +66 -0
- package/lib/dr-file-upload/index.d.ts +5 -0
- package/lib/dr-file-upload/models/file-upload.models.d.ts +13 -0
- package/lib/dr-file-upload/services/file-upload-validation.service.d.ts +16 -0
- package/lib/dr-file-upload/templates/dr-file-upload-image-template/dr-file-upload-image-template.component.d.ts +22 -0
- package/lib/dr-progress-bar/dr-progress-bar.component.d.ts +13 -4
- package/local-api.d.ts +1 -0
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.6.310.tgz +0 -0
|
@@ -99,9 +99,9 @@ class DrModelDebounceChangeDirective {
|
|
|
99
99
|
type: Output
|
|
100
100
|
}] }); })();
|
|
101
101
|
|
|
102
|
-
const _c0$
|
|
103
|
-
const _c1$
|
|
104
|
-
const _c2$
|
|
102
|
+
const _c0$13 = ["prefix"];
|
|
103
|
+
const _c1$p = ["suffix"];
|
|
104
|
+
const _c2$d = ["inputRef"];
|
|
105
105
|
function DrInputComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
106
106
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
107
107
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -148,8 +148,8 @@ function DrInputComponent_button_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
148
148
|
i0.ɵɵadvance(1);
|
|
149
149
|
i0.ɵɵtextInterpolate1(" ", ctx_r5._buttonOptions.text, "\n");
|
|
150
150
|
} }
|
|
151
|
-
const _c3$
|
|
152
|
-
const _c4$
|
|
151
|
+
const _c3$8 = [[["", "prefixIcon", ""]], [["", "suffixIcon", ""]]];
|
|
152
|
+
const _c4$5 = ["[prefixIcon]", "[suffixIcon]"];
|
|
153
153
|
class DrInputComponent {
|
|
154
154
|
set disabled(value) {
|
|
155
155
|
this.setDisabledState(value);
|
|
@@ -325,14 +325,14 @@ class DrInputComponent {
|
|
|
325
325
|
}
|
|
326
326
|
/** @nocollapse */ static { this.ɵfac = function DrInputComponent_Factory(t) { return new (t || DrInputComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
327
327
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrInputComponent, selectors: [["dr-input"]], contentQueries: function DrInputComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
328
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
329
|
-
i0.ɵɵcontentQuery(dirIndex, _c1$
|
|
328
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$13, 5);
|
|
329
|
+
i0.ɵɵcontentQuery(dirIndex, _c1$p, 5);
|
|
330
330
|
} if (rf & 2) {
|
|
331
331
|
let _t;
|
|
332
332
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.prefixIcon = _t.first);
|
|
333
333
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suffixIcon = _t.first);
|
|
334
334
|
} }, viewQuery: function DrInputComponent_Query(rf, ctx) { if (rf & 1) {
|
|
335
|
-
i0.ɵɵviewQuery(_c2$
|
|
335
|
+
i0.ɵɵviewQuery(_c2$d, 5);
|
|
336
336
|
} if (rf & 2) {
|
|
337
337
|
let _t;
|
|
338
338
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputElement = _t.first);
|
|
@@ -347,8 +347,8 @@ class DrInputComponent {
|
|
|
347
347
|
useExisting: forwardRef((() => DrInputComponent)),
|
|
348
348
|
multi: true,
|
|
349
349
|
},
|
|
350
|
-
])], ngContentSelectors: _c4$
|
|
351
|
-
i0.ɵɵprojectionDef(_c3$
|
|
350
|
+
])], ngContentSelectors: _c4$5, decls: 8, vars: 5, consts: [[4, "ngIf", "ngIfElse"], ["maskedInput", ""], ["class", "clear-icon", 3, "click", 4, "ngIf"], ["class", "search-icon", 3, "click", 4, "ngIf"], [3, "click", 4, "ngIf"], [3, "ngModel", "disabled", "readonly", "type", "placeholder", "name", "min", "max", "minlength", "maxlength", "step", "ngModelChange", "ngModelDebounceChange", "blur", "focus"], ["inputRef", ""], [3, "ngModel", "disabled", "readonly", "type", "placeholder", "name", "min", "max", "minlength", "maxlength", "mask", "suffix", "prefix", "step", "ngModelChange", "ngModelDebounceChange", "blur", "focus"], [1, "clear-icon", 3, "click"], [1, "search-icon", 3, "click"], [3, "click"]], template: function DrInputComponent_Template(rf, ctx) { if (rf & 1) {
|
|
351
|
+
i0.ɵɵprojectionDef(_c3$8);
|
|
352
352
|
i0.ɵɵprojection(0);
|
|
353
353
|
i0.ɵɵtemplate(1, DrInputComponent_ng_container_1_Template, 3, 12, "ng-container", 0);
|
|
354
354
|
i0.ɵɵtemplate(2, DrInputComponent_ng_template_2_Template, 2, 15, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
@@ -553,12 +553,12 @@ class DrSpinnerDirective {
|
|
|
553
553
|
args: ['attr.aria-busy']
|
|
554
554
|
}] }); })();
|
|
555
555
|
|
|
556
|
-
const _c0$
|
|
557
|
-
const _c1$
|
|
558
|
-
const _c2$
|
|
559
|
-
const _c3$
|
|
560
|
-
const _c4$
|
|
561
|
-
const _c5$
|
|
556
|
+
const _c0$12 = ["labelTemplate"];
|
|
557
|
+
const _c1$o = ["multiLabelTemplate"];
|
|
558
|
+
const _c2$c = ["optionTemplate"];
|
|
559
|
+
const _c3$7 = ["optionHeaderTemplate"];
|
|
560
|
+
const _c4$4 = ["optionFooterTemplate"];
|
|
561
|
+
const _c5$4 = ["notFoundTemplate"];
|
|
562
562
|
const _c6 = function (a0) { return { item: a0 }; };
|
|
563
563
|
function DrSelectComponent_2_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
564
564
|
i0.ɵɵelementContainer(0, 6);
|
|
@@ -815,12 +815,12 @@ class DrSelectComponent {
|
|
|
815
815
|
}
|
|
816
816
|
/** @nocollapse */ static { this.ɵfac = function DrSelectComponent_Factory(t) { return new (t || DrSelectComponent)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
817
817
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectComponent, selectors: [["dr-select"]], contentQueries: function DrSelectComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
818
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
819
|
-
i0.ɵɵcontentQuery(dirIndex, _c1$
|
|
820
|
-
i0.ɵɵcontentQuery(dirIndex, _c2$
|
|
821
|
-
i0.ɵɵcontentQuery(dirIndex, _c3$
|
|
822
|
-
i0.ɵɵcontentQuery(dirIndex, _c4$
|
|
823
|
-
i0.ɵɵcontentQuery(dirIndex, _c5$
|
|
818
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$12, 5);
|
|
819
|
+
i0.ɵɵcontentQuery(dirIndex, _c1$o, 5);
|
|
820
|
+
i0.ɵɵcontentQuery(dirIndex, _c2$c, 5);
|
|
821
|
+
i0.ɵɵcontentQuery(dirIndex, _c3$7, 5);
|
|
822
|
+
i0.ɵɵcontentQuery(dirIndex, _c4$4, 5);
|
|
823
|
+
i0.ɵɵcontentQuery(dirIndex, _c5$4, 5);
|
|
824
824
|
} if (rf & 2) {
|
|
825
825
|
let _t;
|
|
826
826
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.labelTemplate = _t.first);
|
|
@@ -1191,7 +1191,7 @@ var TooltipTheme;
|
|
|
1191
1191
|
TooltipTheme["DARK"] = "dark";
|
|
1192
1192
|
})(TooltipTheme || (TooltipTheme = {}));
|
|
1193
1193
|
|
|
1194
|
-
const _c0
|
|
1194
|
+
const _c0$11 = ["*"];
|
|
1195
1195
|
class TooltipDefaultComponent {
|
|
1196
1196
|
constructor() {
|
|
1197
1197
|
this.theme = TooltipTheme.LIGHT;
|
|
@@ -1199,7 +1199,7 @@ class TooltipDefaultComponent {
|
|
|
1199
1199
|
/** @nocollapse */ static { this.ɵfac = function TooltipDefaultComponent_Factory(t) { return new (t || TooltipDefaultComponent)(); }; }
|
|
1200
1200
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TooltipDefaultComponent, selectors: [["dr-tooltip-default"]], hostVars: 2, hostBindings: function TooltipDefaultComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
1201
1201
|
i0.ɵɵclassMap(ctx.theme);
|
|
1202
|
-
} }, inputs: { content: "content", theme: "theme" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0
|
|
1202
|
+
} }, inputs: { content: "content", theme: "theme" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$11, decls: 2, vars: 1, consts: [[1, "content", 3, "innerHTML"]], template: function TooltipDefaultComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1203
1203
|
i0.ɵɵprojectionDef();
|
|
1204
1204
|
i0.ɵɵelement(0, "span", 0);
|
|
1205
1205
|
i0.ɵɵprojection(1);
|
|
@@ -1219,7 +1219,7 @@ class TooltipDefaultComponent {
|
|
|
1219
1219
|
args: ['class']
|
|
1220
1220
|
}] }); })();
|
|
1221
1221
|
|
|
1222
|
-
const _c0$
|
|
1222
|
+
const _c0$10 = ["container"];
|
|
1223
1223
|
class TooltipCustomComponent {
|
|
1224
1224
|
constructor() {
|
|
1225
1225
|
this.injector = inject(Injector);
|
|
@@ -1250,7 +1250,7 @@ class TooltipCustomComponent {
|
|
|
1250
1250
|
}
|
|
1251
1251
|
/** @nocollapse */ static { this.ɵfac = function TooltipCustomComponent_Factory(t) { return new (t || TooltipCustomComponent)(); }; }
|
|
1252
1252
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TooltipCustomComponent, selectors: [["dr-tooltip-custom"]], viewQuery: function TooltipCustomComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1253
|
-
i0.ɵɵviewQuery(_c0$
|
|
1253
|
+
i0.ɵɵviewQuery(_c0$10, 7, ViewContainerRef);
|
|
1254
1254
|
} if (rf & 2) {
|
|
1255
1255
|
let _t;
|
|
1256
1256
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
@@ -1311,7 +1311,7 @@ function TooltipComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
1311
1311
|
const ctx_r5 = i0.ɵɵnextContext();
|
|
1312
1312
|
i0.ɵɵproperty("content", ctx_r5.content)("theme", ctx_r5.theme);
|
|
1313
1313
|
} }
|
|
1314
|
-
const _c0
|
|
1314
|
+
const _c0$$ = function (a0) { return { "dr-tooltip": a0 }; };
|
|
1315
1315
|
class TooltipComponent {
|
|
1316
1316
|
constructor() {
|
|
1317
1317
|
this.isContentTemplate = false;
|
|
@@ -1344,7 +1344,7 @@ class TooltipComponent {
|
|
|
1344
1344
|
} if (rf & 2) {
|
|
1345
1345
|
const _r2 = i0.ɵɵreference(4);
|
|
1346
1346
|
i0.ɵɵclassMap(ctx.position + " " + ctx.class + " " + ctx.theme);
|
|
1347
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0
|
|
1347
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c0$$, !(ctx.options == null ? null : ctx.options.withoutContainerStyles)));
|
|
1348
1348
|
i0.ɵɵadvance(1);
|
|
1349
1349
|
i0.ɵɵproperty("ngIf", !(ctx.options == null ? null : ctx.options.withoutArrow));
|
|
1350
1350
|
i0.ɵɵadvance(1);
|
|
@@ -1565,8 +1565,8 @@ class DrTooltipDirective {
|
|
|
1565
1565
|
args: ['mouseleave']
|
|
1566
1566
|
}] }); })();
|
|
1567
1567
|
|
|
1568
|
-
const _c0$
|
|
1569
|
-
const _c1$
|
|
1568
|
+
const _c0$_ = ["checkboxContent"];
|
|
1569
|
+
const _c1$n = ["*"];
|
|
1570
1570
|
class CheckboxComponent {
|
|
1571
1571
|
get indeterminate() {
|
|
1572
1572
|
return this._indeterminate;
|
|
@@ -1616,7 +1616,7 @@ class CheckboxComponent {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
/** @nocollapse */ static { this.ɵfac = function CheckboxComponent_Factory(t) { return new (t || CheckboxComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
1618
1618
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["dr-checkbox"]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1619
|
-
i0.ɵɵviewQuery(_c0$
|
|
1619
|
+
i0.ɵɵviewQuery(_c0$_, 5);
|
|
1620
1620
|
} if (rf & 2) {
|
|
1621
1621
|
let _t;
|
|
1622
1622
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.checkboxContent = _t.first);
|
|
@@ -1624,7 +1624,7 @@ class CheckboxComponent {
|
|
|
1624
1624
|
i0.ɵɵattribute("id", ctx.hostId);
|
|
1625
1625
|
i0.ɵɵclassMap(ctx.theme);
|
|
1626
1626
|
i0.ɵɵclassProp("disabled", ctx.disabled)("text-nowrap", ctx.textNowrap);
|
|
1627
|
-
} }, inputs: { id: "id", checkedStatus: "checkedStatus", disabled: "disabled", icon: "icon", theme: "theme", indeterminate: "indeterminate", textNowrap: "textNowrap" }, outputs: { checkedChange: "checkedChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }])], ngContentSelectors: _c1$
|
|
1627
|
+
} }, inputs: { id: "id", checkedStatus: "checkedStatus", disabled: "disabled", icon: "icon", theme: "theme", indeterminate: "indeterminate", textNowrap: "textNowrap" }, outputs: { checkedChange: "checkedChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: CheckboxComponent, multi: true }])], ngContentSelectors: _c1$n, decls: 5, vars: 9, consts: [["type", "checkbox", 3, "checked", "disabled", "change", "click"], [3, "drTooltip"], ["checkboxContent", ""]], template: function CheckboxComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1628
1628
|
i0.ɵɵprojectionDef();
|
|
1629
1629
|
i0.ɵɵelementStart(0, "label")(1, "input", 0);
|
|
1630
1630
|
i0.ɵɵlistener("change", function CheckboxComponent_Template_input_change_1_listener($event) { return ctx.setValue($event); })("click", function CheckboxComponent_Template_input_click_1_listener($event) { return $event.stopPropagation(); });
|
|
@@ -1678,7 +1678,7 @@ class CheckboxComponent {
|
|
|
1678
1678
|
args: ['checkboxContent']
|
|
1679
1679
|
}] }); })();
|
|
1680
1680
|
|
|
1681
|
-
const _c0$
|
|
1681
|
+
const _c0$Z = ["*"];
|
|
1682
1682
|
class RadioButtonComponent {
|
|
1683
1683
|
get disabled() {
|
|
1684
1684
|
return this._disabled;
|
|
@@ -1732,7 +1732,7 @@ class RadioButtonComponent {
|
|
|
1732
1732
|
useExisting: RadioButtonComponent,
|
|
1733
1733
|
multi: true,
|
|
1734
1734
|
},
|
|
1735
|
-
])], ngContentSelectors: _c0$
|
|
1735
|
+
])], ngContentSelectors: _c0$Z, decls: 4, vars: 5, consts: [["type", "radio", 3, "name", "value", "ngModel", "disabled", "change", "ngModelChange", "click"]], template: function RadioButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1736
1736
|
i0.ɵɵprojectionDef();
|
|
1737
1737
|
i0.ɵɵelementStart(0, "label")(1, "input", 0);
|
|
1738
1738
|
i0.ɵɵlistener("change", function RadioButtonComponent_Template_input_change_1_listener() { return ctx.valueChanged(ctx.value); })("ngModelChange", function RadioButtonComponent_Template_input_ngModelChange_1_listener($event) { return ctx.modelValue = $event; })("click", function RadioButtonComponent_Template_input_click_1_listener($event) { return ctx.toggleChange($event); });
|
|
@@ -1771,8 +1771,8 @@ class RadioButtonComponent {
|
|
|
1771
1771
|
type: Input
|
|
1772
1772
|
}] }); })();
|
|
1773
1773
|
|
|
1774
|
-
const _c0$
|
|
1775
|
-
const _c1$
|
|
1774
|
+
const _c0$Y = [[["dr-radio-button"]]];
|
|
1775
|
+
const _c1$m = ["dr-radio-button"];
|
|
1776
1776
|
class RadioGroupComponent {
|
|
1777
1777
|
get value() {
|
|
1778
1778
|
return this._value;
|
|
@@ -1911,8 +1911,8 @@ class RadioGroupComponent {
|
|
|
1911
1911
|
useExisting: forwardRef((() => RadioGroupComponent)),
|
|
1912
1912
|
multi: true,
|
|
1913
1913
|
},
|
|
1914
|
-
])], ngContentSelectors: _c1$
|
|
1915
|
-
i0.ɵɵprojectionDef(_c0$
|
|
1914
|
+
])], ngContentSelectors: _c1$m, decls: 1, vars: 0, template: function RadioGroupComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1915
|
+
i0.ɵɵprojectionDef(_c0$Y);
|
|
1916
1916
|
i0.ɵɵprojection(0);
|
|
1917
1917
|
} }, encapsulation: 2, changeDetection: 0 }); }
|
|
1918
1918
|
}
|
|
@@ -1971,7 +1971,7 @@ function DrToggleComponent_span_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
1971
1971
|
i0.ɵɵadvance(1);
|
|
1972
1972
|
i0.ɵɵtextInterpolate(ctx_r1.toggleTitle);
|
|
1973
1973
|
} }
|
|
1974
|
-
const _c0$
|
|
1974
|
+
const _c0$X = ["*"];
|
|
1975
1975
|
class DrToggleComponent {
|
|
1976
1976
|
set disabled(value) {
|
|
1977
1977
|
this.setDisabledState(value);
|
|
@@ -2021,7 +2021,7 @@ class DrToggleComponent {
|
|
|
2021
2021
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrToggleComponent, selectors: [["dr-toggle"]], hostVars: 3, hostBindings: function DrToggleComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
2022
2022
|
i0.ɵɵattribute("id", ctx.hostId);
|
|
2023
2023
|
i0.ɵɵclassMap(ctx.elementClass);
|
|
2024
|
-
} }, inputs: { id: "id", toggleTitle: "toggleTitle", toggleTitleRight: "toggleTitleRight", successType: "successType", checkedStatus: "checkedStatus", disabled: "disabled" }, outputs: { checkedChange: "checkedChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: DrToggleComponent, multi: true }])], ngContentSelectors: _c0$
|
|
2024
|
+
} }, inputs: { id: "id", toggleTitle: "toggleTitle", toggleTitleRight: "toggleTitleRight", successType: "successType", checkedStatus: "checkedStatus", disabled: "disabled" }, outputs: { checkedChange: "checkedChange" }, features: [i0.ɵɵProvidersFeature([{ provide: NG_VALUE_ACCESSOR, useExisting: DrToggleComponent, multi: true }])], ngContentSelectors: _c0$X, decls: 7, vars: 10, consts: [["class", "toggle-title mr-3", 3, "click", 4, "ngIf"], [1, "toggle-container"], ["type", "checkbox", 3, "checked", "disabled", "click"], [1, "toggle-body"], ["class", "toggle-title ml-3", 3, "click", 4, "ngIf"], [1, "toggle-title", "mr-3", 3, "click"], [1, "toggle-title", "ml-3", 3, "click"]], template: function DrToggleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2025
2025
|
i0.ɵɵprojectionDef();
|
|
2026
2026
|
i0.ɵɵtemplate(0, DrToggleComponent_span_0_Template, 2, 1, "span", 0);
|
|
2027
2027
|
i0.ɵɵelementStart(1, "label", 1)(2, "input", 2);
|
|
@@ -2092,7 +2092,7 @@ function DrButtonComponent_i_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
2092
2092
|
i0.ɵɵclassMap(ctx_r2.iconAfter);
|
|
2093
2093
|
i0.ɵɵstyleProp("font-size", ctx_r2.iconAfterSize)("color", ctx_r2.iconAfterColor || "inherit");
|
|
2094
2094
|
} }
|
|
2095
|
-
const _c0$
|
|
2095
|
+
const _c0$W = ["*"];
|
|
2096
2096
|
class DrButtonComponent {
|
|
2097
2097
|
constructor() {
|
|
2098
2098
|
this.theme = 'primary';
|
|
@@ -2106,7 +2106,7 @@ class DrButtonComponent {
|
|
|
2106
2106
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrButtonComponent, selectors: [["dr-button"]], hostVars: 12, hostBindings: function DrButtonComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
2107
2107
|
i0.ɵɵclassMap(ctx.theme);
|
|
2108
2108
|
i0.ɵɵclassProp("with-icon", ctx.icon)("with-icon-after", ctx.iconAfter)("disabled", ctx.disabled)("loading", ctx.isLoading)("active", ctx.isActive);
|
|
2109
|
-
} }, inputs: { theme: "theme", icon: "icon", iconColor: "iconColor", iconSize: "iconSize", iconAfter: "iconAfter", iconAfterColor: "iconAfterColor", iconAfterSize: "iconAfterSize", disabled: "disabled", isLoading: "isLoading", isActive: "isActive" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
2109
|
+
} }, inputs: { theme: "theme", icon: "icon", iconColor: "iconColor", iconSize: "iconSize", iconAfter: "iconAfter", iconAfterColor: "iconAfterColor", iconAfterSize: "iconAfterSize", disabled: "disabled", isLoading: "isLoading", isActive: "isActive" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$W, decls: 5, vars: 4, consts: [[3, "disabled"], ["class", "dr-button__icon", 3, "class", "font-size", "color", 4, "ngIf"], ["class", "dr-button__spinner", 4, "ngIf"], ["class", "dr-button__icon dr-button__icon--after", 3, "class", "font-size", "color", 4, "ngIf"], [1, "dr-button__icon"], [1, "dr-button__spinner"], [1, "dr-icon-load"], [1, "dr-button__icon", "dr-button__icon--after"]], template: function DrButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2110
2110
|
i0.ɵɵprojectionDef();
|
|
2111
2111
|
i0.ɵɵelementStart(0, "button", 0);
|
|
2112
2112
|
i0.ɵɵtemplate(1, DrButtonComponent_i_1_Template, 1, 6, "i", 1);
|
|
@@ -2647,8 +2647,8 @@ class DrShowTimeframePipe {
|
|
|
2647
2647
|
}]
|
|
2648
2648
|
}], null, null); })();
|
|
2649
2649
|
|
|
2650
|
-
const _c0$
|
|
2651
|
-
const _c1$
|
|
2650
|
+
const _c0$V = ["class", "component"];
|
|
2651
|
+
const _c1$l = function (a0) { return { "dr-datepicker-preset-date__tags__tag--selected": a0 }; };
|
|
2652
2652
|
function DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
2653
2653
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
2654
2654
|
i0.ɵɵelementStart(0, "div", 14);
|
|
@@ -2658,11 +2658,11 @@ function DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) {
|
|
|
2658
2658
|
} if (rf & 2) {
|
|
2659
2659
|
const tag_r5 = ctx.$implicit;
|
|
2660
2660
|
const ctx_r4 = i0.ɵɵnextContext(3);
|
|
2661
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
2661
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$l, tag_r5.key === ctx_r4.selectedPresetTag))("drTooltip", ctx_r4.selectedPresetTag === tag_r5.key ? "Unselect preset" : "")("drTooltipPosition", "top");
|
|
2662
2662
|
i0.ɵɵadvance(1);
|
|
2663
2663
|
i0.ɵɵtextInterpolate1(" ", tag_r5.label, " ");
|
|
2664
2664
|
} }
|
|
2665
|
-
const _c2$
|
|
2665
|
+
const _c2$b = function (a0) { return { "dr-datepicker-preset-date__tags--solo": a0 }; };
|
|
2666
2666
|
function DrDatePickerCustomHeaderComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
2667
2667
|
i0.ɵɵelementStart(0, "div", 11)(1, "div", 12);
|
|
2668
2668
|
i0.ɵɵtemplate(2, DrDatePickerCustomHeaderComponent_div_0_div_1_div_2_Template, 2, 6, "div", 13);
|
|
@@ -2670,7 +2670,7 @@ function DrDatePickerCustomHeaderComponent_div_0_div_1_Template(rf, ctx) { if (r
|
|
|
2670
2670
|
} if (rf & 2) {
|
|
2671
2671
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
2672
2672
|
i0.ɵɵadvance(1);
|
|
2673
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c2$
|
|
2673
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c2$b, !ctx_r2.datePickerService.isUsingTimeFrameSelect));
|
|
2674
2674
|
i0.ɵɵadvance(1);
|
|
2675
2675
|
i0.ɵɵproperty("ngForOf", ctx_r2.datePickerService.availableDateTagPresets);
|
|
2676
2676
|
} }
|
|
@@ -2943,7 +2943,7 @@ class DrDatePickerCustomHeaderComponent {
|
|
|
2943
2943
|
return selector;
|
|
2944
2944
|
}
|
|
2945
2945
|
/** @nocollapse */ static { this.ɵfac = function DrDatePickerCustomHeaderComponent_Factory(t) { return new (t || DrDatePickerCustomHeaderComponent)(i0.ɵɵdirectiveInject(i6.MatCalendar), i0.ɵɵdirectiveInject(i1$3.DateAdapter), i0.ɵɵdirectiveInject(MAT_DATE_FORMATS), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ApplicationRef), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
|
|
2946
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerCustomHeaderComponent, selectors: [["dr-date-picker_custom-header", 8, "component"]], attrs: _c0$
|
|
2946
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerCustomHeaderComponent, selectors: [["dr-date-picker_custom-header", 8, "component"]], attrs: _c0$V, decls: 12, vars: 4, consts: [["class", "dr-datepicker__timeframe-select__wrapper", 4, "ngIf"], [1, "dr-date-paging"], [1, "dr-date-paging", "flip-page-button", 3, "click"], [1, "dr-icon-arrow-left", "presentation_buttons-navigate_input"], [1, "example-header-label"], [3, "click"], [1, "dr-icon-arrow-right", "presentation_buttons-navigate_input"], ["class", "dr-quarterly-datepicker", 4, "ngIf"], [1, "dr-datepicker__timeframe-select__wrapper"], ["class", "dr-datepicker-preset-date", 4, "ngIf"], ["class", "dr-datepicker__timeframe-select", "bindLabel", "title", "bindValue", "value", 3, "ngModel", "items", "ngModelChange", 4, "ngIf"], [1, "dr-datepicker-preset-date"], [1, "dr-datepicker-preset-date__tags", 3, "ngClass"], ["id", "preset_tag", "class", "dr-datepicker-preset-date__tags__tag", 3, "ngClass", "drTooltip", "drTooltipPosition", "click", 4, "ngFor", "ngForOf"], ["id", "preset_tag", 1, "dr-datepicker-preset-date__tags__tag", 3, "ngClass", "drTooltip", "drTooltipPosition", "click"], ["bindLabel", "title", "bindValue", "value", 1, "dr-datepicker__timeframe-select", 3, "ngModel", "items", "ngModelChange"], [1, "dr-quarterly-datepicker"], ["quarterlyDatePicker", ""], ["class", "quarter-selector quarter-selector--select-current-quarter", 3, "class", "quarter-selector--disabled", "click", 4, "ngFor", "ngForOf"], [1, "quarter-selector", "quarter-selector--select-current-quarter", 3, "click"]], template: function DrDatePickerCustomHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2947
2947
|
i0.ɵɵtemplate(0, DrDatePickerCustomHeaderComponent_div_0_Template, 3, 2, "div", 0);
|
|
2948
2948
|
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
|
|
2949
2949
|
i0.ɵɵlistener("click", function DrDatePickerCustomHeaderComponent_Template_div_click_2_listener() { return ctx.pagingClicked(false); });
|
|
@@ -3056,7 +3056,7 @@ class DrDatePickerFormatDirective {
|
|
|
3056
3056
|
args: ['drDatePickerFormat']
|
|
3057
3057
|
}] }); })();
|
|
3058
3058
|
|
|
3059
|
-
const _c0$
|
|
3059
|
+
const _c0$U = ["datePicker"];
|
|
3060
3060
|
function DrDatePickerComponent_i_0_Template(rf, ctx) { if (rf & 1) {
|
|
3061
3061
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
3062
3062
|
i0.ɵɵelementStart(0, "i", 2);
|
|
@@ -3434,7 +3434,7 @@ class DrDatePickerComponent {
|
|
|
3434
3434
|
}
|
|
3435
3435
|
/** @nocollapse */ static { this.ɵfac = function DrDatePickerComponent_Factory(t) { return new (t || DrDatePickerComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$3.DateAdapter), i0.ɵɵdirectiveInject(DrDatePickerService)); }; }
|
|
3436
3436
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDatePickerComponent, selectors: [["dr-date-picker"]], viewQuery: function DrDatePickerComponent_Query(rf, ctx) { if (rf & 1) {
|
|
3437
|
-
i0.ɵɵviewQuery(_c0$
|
|
3437
|
+
i0.ɵɵviewQuery(_c0$U, 5);
|
|
3438
3438
|
} if (rf & 2) {
|
|
3439
3439
|
let _t;
|
|
3440
3440
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.datePicker = _t.first);
|
|
@@ -3545,7 +3545,7 @@ function DrDatePickerWithTimeframeComponent_dr_button_11_Template(rf, ctx) { if
|
|
|
3545
3545
|
const ctx_r4 = i0.ɵɵnextContext();
|
|
3546
3546
|
i0.ɵɵproperty("disabled", ctx_r4.isNextDateDisabled);
|
|
3547
3547
|
} }
|
|
3548
|
-
const _c0$
|
|
3548
|
+
const _c0$T = function (a0) { return { formattedValue: a0 }; };
|
|
3549
3549
|
class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
|
|
3550
3550
|
set dateFormatConfig(value) {
|
|
3551
3551
|
if (value) {
|
|
@@ -3744,7 +3744,7 @@ class DrDatePickerWithTimeframeComponent extends DrDatePickerComponent {
|
|
|
3744
3744
|
i0.ɵɵadvance(1);
|
|
3745
3745
|
i0.ɵɵproperty("drTooltip", ctx.datepickerTooltip)("drTooltipPosition", ctx.datepickerTooltipPosition)("drTooltipMousleaveTimeout", ctx.datepickerTooltipTimeout);
|
|
3746
3746
|
i0.ɵɵadvance(3);
|
|
3747
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c0$
|
|
3747
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(18, _c0$T, i0.ɵɵpipeBind1(5, 14, ctx.displayedFormattedValue$)));
|
|
3748
3748
|
i0.ɵɵadvance(4);
|
|
3749
3749
|
i0.ɵɵproperty("ngModel", i0.ɵɵpipeBind1(10, 16, ctx.displayValue$))("matDatepicker", _r5)("readonly", ctx.readonly)("min", ctx._min)("max", ctx._max);
|
|
3750
3750
|
i0.ɵɵadvance(3);
|
|
@@ -3940,7 +3940,7 @@ class DrToggleButtonComponent {
|
|
|
3940
3940
|
type: Input
|
|
3941
3941
|
}] }); })();
|
|
3942
3942
|
|
|
3943
|
-
const _c0$
|
|
3943
|
+
const _c0$S = ["dynamicInputRef"];
|
|
3944
3944
|
function DrSelectAddItemComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
3945
3945
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
3946
3946
|
i0.ɵɵelementStart(0, "div", 3);
|
|
@@ -4048,7 +4048,7 @@ class DrSelectAddItemComponent {
|
|
|
4048
4048
|
}
|
|
4049
4049
|
/** @nocollapse */ static { this.ɵfac = function DrSelectAddItemComponent_Factory(t) { return new (t || DrSelectAddItemComponent)(i0.ɵɵdirectiveInject(DrSelectComponent)); }; }
|
|
4050
4050
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrSelectAddItemComponent, selectors: [["dr-select-add-item"]], viewQuery: function DrSelectAddItemComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4051
|
-
i0.ɵɵviewQuery(_c0$
|
|
4051
|
+
i0.ɵɵviewQuery(_c0$S, 5);
|
|
4052
4052
|
} if (rf & 2) {
|
|
4053
4053
|
let _t;
|
|
4054
4054
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputRef = _t.first);
|
|
@@ -4375,7 +4375,7 @@ class DrDatePickerRangeComponent {
|
|
|
4375
4375
|
type: Input
|
|
4376
4376
|
}] }); })();
|
|
4377
4377
|
|
|
4378
|
-
const _c0$
|
|
4378
|
+
const _c0$R = ["*"];
|
|
4379
4379
|
var LinkTheme;
|
|
4380
4380
|
(function (LinkTheme) {
|
|
4381
4381
|
LinkTheme["DEFAULT"] = "DEFAULT";
|
|
@@ -4391,7 +4391,7 @@ class DrLinkComponent {
|
|
|
4391
4391
|
this.theme = LinkTheme.DEFAULT;
|
|
4392
4392
|
}
|
|
4393
4393
|
/** @nocollapse */ static { this.ɵfac = function DrLinkComponent_Factory(t) { return new (t || DrLinkComponent)(); }; }
|
|
4394
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLinkComponent, selectors: [["dr-link"]], inputs: { link: "link", fontSize: "fontSize", fontWeight: "fontWeight", theme: "theme" }, ngContentSelectors: _c0$
|
|
4394
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLinkComponent, selectors: [["dr-link"]], inputs: { link: "link", fontSize: "fontSize", fontWeight: "fontWeight", theme: "theme" }, ngContentSelectors: _c0$R, decls: 2, vars: 7, consts: [[1, "dr-link", 3, "href"]], template: function DrLinkComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4395
4395
|
i0.ɵɵprojectionDef();
|
|
4396
4396
|
i0.ɵɵelementStart(0, "a", 0);
|
|
4397
4397
|
i0.ɵɵprojection(1);
|
|
@@ -4416,8 +4416,8 @@ class DrLinkComponent {
|
|
|
4416
4416
|
type: Input
|
|
4417
4417
|
}] }); })();
|
|
4418
4418
|
|
|
4419
|
-
const _c0$
|
|
4420
|
-
const _c1$
|
|
4419
|
+
const _c0$Q = ["class", "component"];
|
|
4420
|
+
const _c1$k = function (a0) { return { "dr-datepicker-preset-date__tags__tag--selected": a0 }; };
|
|
4421
4421
|
function DrFiscalMonthCalendarHeaderComponent_div_0_div_1_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
4422
4422
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
4423
4423
|
i0.ɵɵelementStart(0, "div", 14);
|
|
@@ -4427,11 +4427,11 @@ function DrFiscalMonthCalendarHeaderComponent_div_0_div_1_div_2_Template(rf, ctx
|
|
|
4427
4427
|
} if (rf & 2) {
|
|
4428
4428
|
const tag_r5 = ctx.$implicit;
|
|
4429
4429
|
const ctx_r4 = i0.ɵɵnextContext(3);
|
|
4430
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$
|
|
4430
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1$k, tag_r5.key === ctx_r4.selectedPresetTag))("drTooltip", ctx_r4.selectedPresetTag === tag_r5.key ? "Unselect preset" : "")("drTooltipPosition", "top");
|
|
4431
4431
|
i0.ɵɵadvance(1);
|
|
4432
4432
|
i0.ɵɵtextInterpolate1(" ", tag_r5.label, " ");
|
|
4433
4433
|
} }
|
|
4434
|
-
const _c2$
|
|
4434
|
+
const _c2$a = function (a0) { return { "dr-datepicker-preset-date__tags--solo": a0 }; };
|
|
4435
4435
|
function DrFiscalMonthCalendarHeaderComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
4436
4436
|
i0.ɵɵelementStart(0, "div", 11)(1, "div", 12);
|
|
4437
4437
|
i0.ɵɵtemplate(2, DrFiscalMonthCalendarHeaderComponent_div_0_div_1_div_2_Template, 2, 6, "div", 13);
|
|
@@ -4439,7 +4439,7 @@ function DrFiscalMonthCalendarHeaderComponent_div_0_div_1_Template(rf, ctx) { if
|
|
|
4439
4439
|
} if (rf & 2) {
|
|
4440
4440
|
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
4441
4441
|
i0.ɵɵadvance(1);
|
|
4442
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c2$
|
|
4442
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c2$a, !ctx_r2.datePickerService.isUsingTimeFrameSelect));
|
|
4443
4443
|
i0.ɵɵadvance(1);
|
|
4444
4444
|
i0.ɵɵproperty("ngForOf", ctx_r2.datePickerService.availableDateTagPresets);
|
|
4445
4445
|
} }
|
|
@@ -4519,7 +4519,7 @@ class DrFiscalMonthCalendarHeaderComponent extends DrDatePickerCustomHeaderCompo
|
|
|
4519
4519
|
});
|
|
4520
4520
|
}
|
|
4521
4521
|
/** @nocollapse */ static { this.ɵfac = /** @pureOrBreakMyCode */ function () { let ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory; return function DrFiscalMonthCalendarHeaderComponent_Factory(t) { return (ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory || (ɵDrFiscalMonthCalendarHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(DrFiscalMonthCalendarHeaderComponent)))(t || DrFiscalMonthCalendarHeaderComponent); }; }(); }
|
|
4522
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrFiscalMonthCalendarHeaderComponent, selectors: [["dr-fiscal-month-calendar-header", 8, "component"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$
|
|
4522
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrFiscalMonthCalendarHeaderComponent, selectors: [["dr-fiscal-month-calendar-header", 8, "component"]], features: [i0.ɵɵInheritDefinitionFeature], attrs: _c0$Q, decls: 12, vars: 4, consts: [["class", "dr-datepicker__timeframe-select__wrapper", 4, "ngIf"], [1, "dr-date-paging"], [1, "dr-date-paging", "flip-page-button", 3, "click"], [1, "dr-icon-arrow-left", "presentation_buttons-navigate_input"], [1, "example-header-label"], [3, "click"], [1, "dr-icon-arrow-right", "presentation_buttons-navigate_input"], ["class", "dr-quarterly-datepicker", 4, "ngIf"], [1, "dr-datepicker__timeframe-select__wrapper"], ["class", "dr-datepicker-preset-date", 4, "ngIf"], ["class", "dr-datepicker__timeframe-select", "bindLabel", "title", "bindValue", "value", 3, "ngModel", "items", "ngModelChange", 4, "ngIf"], [1, "dr-datepicker-preset-date"], [1, "dr-datepicker-preset-date__tags", 3, "ngClass"], ["id", "preset_tag", "class", "dr-datepicker-preset-date__tags__tag", 3, "ngClass", "drTooltip", "drTooltipPosition", "click", 4, "ngFor", "ngForOf"], ["id", "preset_tag", 1, "dr-datepicker-preset-date__tags__tag", 3, "ngClass", "drTooltip", "drTooltipPosition", "click"], ["bindLabel", "title", "bindValue", "value", 1, "dr-datepicker__timeframe-select", 3, "ngModel", "items", "ngModelChange"], [1, "dr-quarterly-datepicker"], ["quarterlyDatePicker", ""], ["class", "quarter-selector quarter-selector--select-current-quarter", 3, "class", "quarter-selector--disabled", "click", 4, "ngFor", "ngForOf"], [1, "quarter-selector", "quarter-selector--select-current-quarter", 3, "click"]], template: function DrFiscalMonthCalendarHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4523
4523
|
i0.ɵɵtemplate(0, DrFiscalMonthCalendarHeaderComponent_div_0_Template, 3, 2, "div", 0);
|
|
4524
4524
|
i0.ɵɵelementStart(1, "div", 1)(2, "div", 2);
|
|
4525
4525
|
i0.ɵɵlistener("click", function DrFiscalMonthCalendarHeaderComponent_Template_div_click_2_listener() { return ctx.pagingClicked(false); });
|
|
@@ -7315,8 +7315,8 @@ class DateTimePickerComponent {
|
|
|
7315
7315
|
type: Input
|
|
7316
7316
|
}] }); })();
|
|
7317
7317
|
|
|
7318
|
-
const _c0$
|
|
7319
|
-
const _c1$
|
|
7318
|
+
const _c0$P = ["stepTextLabel"];
|
|
7319
|
+
const _c1$j = ["stepper"];
|
|
7320
7320
|
function StepperComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
7321
7321
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
7322
7322
|
i0.ɵɵelementStart(0, "div", 7);
|
|
@@ -7332,7 +7332,7 @@ function StepperComponent_ng_container_3_div_1_ng_template_5_Template(rf, ctx) {
|
|
|
7332
7332
|
i0.ɵɵelement(1, "i", 23);
|
|
7333
7333
|
i0.ɵɵelementEnd();
|
|
7334
7334
|
} }
|
|
7335
|
-
const _c2$
|
|
7335
|
+
const _c2$9 = function (a0) { return { "blue with-ellipse": a0 }; };
|
|
7336
7336
|
function StepperComponent_ng_container_3_div_1_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
7337
7337
|
i0.ɵɵelementStart(0, "div", 24)(1, "div", 25);
|
|
7338
7338
|
i0.ɵɵtext(2);
|
|
@@ -7341,7 +7341,7 @@ function StepperComponent_ng_container_3_div_1_ng_template_6_Template(rf, ctx) {
|
|
|
7341
7341
|
const step_r12 = i0.ɵɵnextContext(2).$implicit;
|
|
7342
7342
|
const ctx_r20 = i0.ɵɵnextContext();
|
|
7343
7343
|
i0.ɵɵclassProp("gray", step_r12 !== ctx_r20.currentStep);
|
|
7344
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c2$
|
|
7344
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c2$9, step_r12 === ctx_r20.currentStep));
|
|
7345
7345
|
i0.ɵɵadvance(1);
|
|
7346
7346
|
i0.ɵɵproperty("hidden", step_r12 === ctx_r20.currentStep || ctx_r20.hiddenIndex);
|
|
7347
7347
|
i0.ɵɵadvance(1);
|
|
@@ -7350,7 +7350,7 @@ function StepperComponent_ng_container_3_div_1_ng_template_6_Template(rf, ctx) {
|
|
|
7350
7350
|
function StepperComponent_ng_container_3_div_1_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
7351
7351
|
i0.ɵɵelementContainer(0);
|
|
7352
7352
|
} }
|
|
7353
|
-
const _c3$
|
|
7353
|
+
const _c3$6 = function (a0, a1, a2) { return { index: a0, isLast: a1, step: a2 }; };
|
|
7354
7354
|
function StepperComponent_ng_container_3_div_1_ng_container_9_Template(rf, ctx) { if (rf & 1) {
|
|
7355
7355
|
i0.ɵɵelementContainer(0, 26);
|
|
7356
7356
|
} if (rf & 2) {
|
|
@@ -7359,7 +7359,7 @@ function StepperComponent_ng_container_3_div_1_ng_container_9_Template(rf, ctx)
|
|
|
7359
7359
|
const isLast_r14 = ctx_r26.last;
|
|
7360
7360
|
i0.ɵɵnextContext();
|
|
7361
7361
|
const _r6 = i0.ɵɵreference(8);
|
|
7362
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c3$
|
|
7362
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c3$6, step_r12.index, isLast_r14, step_r12));
|
|
7363
7363
|
} }
|
|
7364
7364
|
function StepperComponent_ng_container_3_div_1_span_10_Template(rf, ctx) { if (rf & 1) {
|
|
7365
7365
|
i0.ɵɵelementStart(0, "span", 27);
|
|
@@ -7378,10 +7378,10 @@ function StepperComponent_ng_container_3_div_1_ng_container_11_Template(rf, ctx)
|
|
|
7378
7378
|
const isLast_r14 = ctx_r28.last;
|
|
7379
7379
|
i0.ɵɵnextContext();
|
|
7380
7380
|
const _r6 = i0.ɵɵreference(8);
|
|
7381
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c3$
|
|
7381
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r6)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c3$6, step_r12.index, isLast_r14, step_r12));
|
|
7382
7382
|
} }
|
|
7383
|
-
const _c4$
|
|
7384
|
-
const _c5$
|
|
7383
|
+
const _c4$3 = function (a0) { return { step: a0 }; };
|
|
7384
|
+
const _c5$3 = function (a0, a1) { return { step: a0, index: a1 }; };
|
|
7385
7385
|
function StepperComponent_ng_container_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
7386
7386
|
const _r31 = i0.ɵɵgetCurrentView();
|
|
7387
7387
|
i0.ɵɵelementStart(0, "div", 11);
|
|
@@ -7409,7 +7409,7 @@ function StepperComponent_ng_container_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
7409
7409
|
i0.ɵɵclassProp("step-setup", ctx_r16.inlineLabels);
|
|
7410
7410
|
i0.ɵɵattribute("data-analytics", ctx_r16.getDataAnalyticsTag(step_r12));
|
|
7411
7411
|
i0.ɵɵadvance(1);
|
|
7412
|
-
i0.ɵɵproperty("drTooltip", step_r12.description && _r4)("drTooltipContext", i0.ɵɵpureFunction1(22, _c4$
|
|
7412
|
+
i0.ɵɵproperty("drTooltip", step_r12.description && _r4)("drTooltipContext", i0.ɵɵpureFunction1(22, _c4$3, step_r12))("drTooltipPosition", "bottom");
|
|
7413
7413
|
i0.ɵɵadvance(1);
|
|
7414
7414
|
i0.ɵɵclassProp("active", ctx_r16.currentStep === step_r12)("completed", step_r12.completed);
|
|
7415
7415
|
i0.ɵɵadvance(1);
|
|
@@ -7424,7 +7424,7 @@ function StepperComponent_ng_container_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
7424
7424
|
i0.ɵɵclassProp("active", ctx_r16.currentStep === step_r12);
|
|
7425
7425
|
i0.ɵɵproperty("ngClass", step_r12.completed ? "completed" : "uncompleted");
|
|
7426
7426
|
i0.ɵɵadvance(1);
|
|
7427
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r16.stepTextLabelTemplate || _r8)("ngTemplateOutletContext", i0.ɵɵpureFunction2(24, _c5$
|
|
7427
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r16.stepTextLabelTemplate || _r8)("ngTemplateOutletContext", i0.ɵɵpureFunction2(24, _c5$3, step_r12, step_r12.index));
|
|
7428
7428
|
i0.ɵɵadvance(1);
|
|
7429
7429
|
i0.ɵɵproperty("ngIf", ctx_r16.inlineLabels);
|
|
7430
7430
|
i0.ɵɵadvance(1);
|
|
@@ -7541,12 +7541,12 @@ class StepperComponent {
|
|
|
7541
7541
|
}
|
|
7542
7542
|
/** @nocollapse */ static { this.ɵfac = function StepperComponent_Factory(t) { return new (t || StepperComponent)(); }; }
|
|
7543
7543
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: StepperComponent, selectors: [["dr-stepper"]], contentQueries: function StepperComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
7544
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
7544
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$P, 5);
|
|
7545
7545
|
} if (rf & 2) {
|
|
7546
7546
|
let _t;
|
|
7547
7547
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepTextLabelTemplate = _t.first);
|
|
7548
7548
|
} }, viewQuery: function StepperComponent_Query(rf, ctx) { if (rf & 1) {
|
|
7549
|
-
i0.ɵɵviewQuery(_c1$
|
|
7549
|
+
i0.ɵɵviewQuery(_c1$j, 5, ElementRef);
|
|
7550
7550
|
} if (rf & 2) {
|
|
7551
7551
|
let _t;
|
|
7552
7552
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.stepper = _t.first);
|
|
@@ -7716,7 +7716,7 @@ function DrChatFormComponent_dr_button_9_Template(rf, ctx) { if (rf & 1) {
|
|
|
7716
7716
|
i0.ɵɵtext(1, "Stop generating");
|
|
7717
7717
|
i0.ɵɵelementEnd();
|
|
7718
7718
|
} }
|
|
7719
|
-
const _c0$
|
|
7719
|
+
const _c0$O = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
|
|
7720
7720
|
class DrChatFormComponent {
|
|
7721
7721
|
constructor(cdr, domSanitizer) {
|
|
7722
7722
|
this.cdr = cdr;
|
|
@@ -7872,7 +7872,7 @@ class DrChatFormComponent {
|
|
|
7872
7872
|
const _r1 = i0.ɵɵreference(4);
|
|
7873
7873
|
i0.ɵɵproperty("ngIf", ctx.droppedFiles == null ? null : ctx.droppedFiles.length);
|
|
7874
7874
|
i0.ɵɵadvance(2);
|
|
7875
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$
|
|
7875
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(11, _c0$O, ctx.inputFocus, !!(ctx.message == null ? null : ctx.message.length)));
|
|
7876
7876
|
i0.ɵɵadvance(1);
|
|
7877
7877
|
i0.ɵɵstyleMap(ctx.getTextAreaHeight(_r1));
|
|
7878
7878
|
i0.ɵɵpropertyInterpolate("placeholder", ctx.fileOver ? ctx.dropFilePlaceholder : ctx.messagePlaceholder);
|
|
@@ -7987,7 +7987,7 @@ function DrAvatarComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
7987
7987
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
7988
7988
|
i0.ɵɵstyleProp("width", ctx_r0.drAvatarSize || null)("height", ctx_r0.drAvatarSize || null);
|
|
7989
7989
|
} }
|
|
7990
|
-
const _c0$
|
|
7990
|
+
const _c0$N = function (a0, a1) { return { "users-section__default": a0, "users-section__user--clickable": a1 }; };
|
|
7991
7991
|
function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
7992
7992
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
7993
7993
|
i0.ɵɵelementStart(0, "div", 5);
|
|
@@ -8001,7 +8001,7 @@ function DrAvatarComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
8001
8001
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
8002
8002
|
i0.ɵɵclassMap(user_r5.status);
|
|
8003
8003
|
i0.ɵɵstyleProp("width", ctx_r1.drAvatarSize || null)("height", ctx_r1.drAvatarSize || null)("background-color", ctx_r1.getAvatarColor(user_r5));
|
|
8004
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c0$
|
|
8004
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c0$N, ctx_r1.showUnassigned && !user_r5.email, ctx_r1.drAvatarIsClickable))("drTooltip", i0.ɵɵpipeBind1(1, 13, user_r5))("drTooltipClass", ctx_r1.drAvatarTooltipClass)("drTooltipPosition", ctx_r1.drAvatarTooltipPosition);
|
|
8005
8005
|
i0.ɵɵadvance(2);
|
|
8006
8006
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind2(3, 15, user_r5, "initials"), "\n");
|
|
8007
8007
|
} }
|
|
@@ -8277,7 +8277,7 @@ class DrChatMessageFileComponent {
|
|
|
8277
8277
|
type: Input
|
|
8278
8278
|
}] }); })();
|
|
8279
8279
|
|
|
8280
|
-
const _c0$
|
|
8280
|
+
const _c0$M = ["drChatMessageActions"];
|
|
8281
8281
|
function DrChatMessageComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
8282
8282
|
i0.ɵɵelementContainerStart(0);
|
|
8283
8283
|
i0.ɵɵelement(1, "div", 8);
|
|
@@ -8379,7 +8379,7 @@ class DrChatMessageComponent {
|
|
|
8379
8379
|
}
|
|
8380
8380
|
/** @nocollapse */ static { this.ɵfac = function DrChatMessageComponent_Factory(t) { return new (t || DrChatMessageComponent)(i0.ɵɵdirectiveInject(DrChatCustomMessageService)); }; }
|
|
8381
8381
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatMessageComponent, selectors: [["dr-chat-message"]], contentQueries: function DrChatMessageComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
8382
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
8382
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$M, 5);
|
|
8383
8383
|
} if (rf & 2) {
|
|
8384
8384
|
let _t;
|
|
8385
8385
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.drChatMessageActions = _t.first);
|
|
@@ -8450,7 +8450,7 @@ class DrChatMessageComponent {
|
|
|
8450
8450
|
args: ['drChatMessageActions']
|
|
8451
8451
|
}] }); })();
|
|
8452
8452
|
|
|
8453
|
-
const _c0$
|
|
8453
|
+
const _c0$L = ["suggestionsContainer"];
|
|
8454
8454
|
function DrChatSuggestionsComponent_ng_container_2_div_1_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
8455
8455
|
i0.ɵɵelementContainer(0);
|
|
8456
8456
|
} }
|
|
@@ -8489,18 +8489,18 @@ function DrChatSuggestionsComponent_ng_template_3_div_1_Template(rf, ctx) { if (
|
|
|
8489
8489
|
i0.ɵɵadvance(1);
|
|
8490
8490
|
i0.ɵɵtextInterpolate1(" ", item_r9, " ");
|
|
8491
8491
|
} }
|
|
8492
|
-
const _c1$
|
|
8492
|
+
const _c1$i = function (a0, a1, a2) { return { "chat-suggestions__items--three-cols": a0, "chat-suggestions__items--two-cols": a1, "chat-suggestions__items--one-col": a2 }; };
|
|
8493
8493
|
function DrChatSuggestionsComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
8494
8494
|
i0.ɵɵelementStart(0, "div", 8);
|
|
8495
8495
|
i0.ɵɵtemplate(1, DrChatSuggestionsComponent_ng_template_3_div_1_Template, 2, 1, "div", 9);
|
|
8496
8496
|
i0.ɵɵelementEnd();
|
|
8497
8497
|
} if (rf & 2) {
|
|
8498
8498
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
8499
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(2, _c1$
|
|
8499
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(2, _c1$i, ctx_r3.colsCount === 3, ctx_r3.colsCount === 2, ctx_r3.colsCount === 1));
|
|
8500
8500
|
i0.ɵɵadvance(1);
|
|
8501
8501
|
i0.ɵɵproperty("ngForOf", ctx_r3.visibleValues);
|
|
8502
8502
|
} }
|
|
8503
|
-
const _c2$
|
|
8503
|
+
const _c2$8 = function (a0, a1, a2, a3) { return { "chat-suggestions--three-cols": a0, "chat-suggestions--two-cols": a1, "chat-suggestions--one-col": a2, "chat-suggestions--button-mode": a3 }; };
|
|
8504
8504
|
class DrChatSuggestionsComponent {
|
|
8505
8505
|
get hiddenValues() {
|
|
8506
8506
|
return JSON.parse(localStorage.getItem('aiChatSuggestions')) || [];
|
|
@@ -8595,7 +8595,7 @@ class DrChatSuggestionsComponent {
|
|
|
8595
8595
|
}
|
|
8596
8596
|
/** @nocollapse */ static { this.ɵfac = function DrChatSuggestionsComponent_Factory(t) { return new (t || DrChatSuggestionsComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
8597
8597
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatSuggestionsComponent, selectors: [["dr-chat-suggestions"]], viewQuery: function DrChatSuggestionsComponent_Query(rf, ctx) { if (rf & 1) {
|
|
8598
|
-
i0.ɵɵviewQuery(_c0$
|
|
8598
|
+
i0.ɵɵviewQuery(_c0$L, 5);
|
|
8599
8599
|
} if (rf & 2) {
|
|
8600
8600
|
let _t;
|
|
8601
8601
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.suggestionContainer = _t.first);
|
|
@@ -8606,7 +8606,7 @@ class DrChatSuggestionsComponent {
|
|
|
8606
8606
|
i0.ɵɵtemplate(3, DrChatSuggestionsComponent_ng_template_3_Template, 2, 6, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
8607
8607
|
} if (rf & 2) {
|
|
8608
8608
|
const _r2 = i0.ɵɵreference(4);
|
|
8609
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(3, _c2$
|
|
8609
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(3, _c2$8, ctx.colsCount === 3, ctx.colsCount === 2, ctx.colsCount === 1, ctx.buttonMode));
|
|
8610
8610
|
i0.ɵɵadvance(2);
|
|
8611
8611
|
i0.ɵɵproperty("ngIf", ctx.buttonMode)("ngIfElse", _r2);
|
|
8612
8612
|
} }, dependencies: [i1$1.NgClass, i1$1.NgForOf, i1$1.NgIf, i1$1.NgTemplateOutlet, DrButtonComponent], styles: ["[_nghost-%COMP%]{display:flex;align-items:flex-start;justify-content:center}[_nghost-%COMP%] .chat-suggestions[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:center;max-width:956px}[_nghost-%COMP%] .chat-suggestions--button-mode[_ngcontent-%COMP%]{justify-content:flex-start}[_nghost-%COMP%] .chat-suggestions--button-mode[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{padding-top:32px}[_nghost-%COMP%] .chat-suggestions--one-col[_ngcontent-%COMP%]{padding-left:0;grid-template-columns:repeat(1,300px)}[_nghost-%COMP%] .chat-suggestions--one-col[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{grid-template-columns:repeat(1,300px)}[_nghost-%COMP%] .chat-suggestions--two-cols[_ngcontent-%COMP%]{padding-left:0;grid-template-columns:repeat(2,300px)}[_nghost-%COMP%] .chat-suggestions--two-cols[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{grid-template-columns:repeat(2,300px)}[_nghost-%COMP%] .chat-suggestions--three-cols[_ngcontent-%COMP%]{padding-left:0;grid-template-columns:repeat(3,300px)}[_nghost-%COMP%] .chat-suggestions--three-cols[_ngcontent-%COMP%] .chat-suggestions__container[_ngcontent-%COMP%]{padding-left:0}[_nghost-%COMP%] .chat-suggestions--three-cols[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{grid-template-columns:repeat(3,300px)}[_nghost-%COMP%] .chat-suggestions__container[_ngcontent-%COMP%]{display:flex;position:relative;width:auto;margin-top:12px;padding:0 16px}[_nghost-%COMP%] .chat-suggestions__container__button[_ngcontent-%COMP%]{z-index:3;background:linear-gradient(-90deg,#6969ff,#4eb7df) border-box;border-radius:2em;border:1.5px solid transparent}[_nghost-%COMP%] .chat-suggestions__container__button[_ngcontent-%COMP%] button{background:#fff;border-radius:24px;color:#4646ce;border:none;cursor:pointer}[_nghost-%COMP%] .chat-suggestions__container[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{display:none;position:absolute;width:100%;bottom:0;left:0;padding-bottom:56px;z-index:2}[_nghost-%COMP%] .chat-suggestions__container--opened[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .chat-suggestions__container--opened[_ngcontent-%COMP%] .chat-suggestions__container__button[_ngcontent-%COMP%] button{color:#4646ce;background:#f2f2fb}[_nghost-%COMP%] .chat-suggestions__container--opened[_ngcontent-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{display:grid;align-items:center;justify-content:center}[_nghost-%COMP%] .chat-suggestions__items[_ngcontent-%COMP%]{padding:0 16px;display:grid;gap:28px;grid-auto-rows:minmax(86px,auto);background:#ffffffb3}[_nghost-%COMP%] .chat-suggestions__items__item[_ngcontent-%COMP%]{font-size:14px;line-height:24px;font-weight:400;display:inline-flex;min-height:86px;width:300px;align-items:center;justify-content:center;text-align:center;padding:16px;border-radius:8px;background:#f2f2fb;box-shadow:0 1px 2px #00000026;color:#25258c}[_nghost-%COMP%] .chat-suggestions__items__item[_ngcontent-%COMP%]:hover{cursor:pointer;background:#eaeaff}"], changeDetection: 0 }); }
|
|
@@ -8629,10 +8629,10 @@ class DrChatSuggestionsComponent {
|
|
|
8629
8629
|
args: ['suggestionsContainer', { static: false }]
|
|
8630
8630
|
}] }); })();
|
|
8631
8631
|
|
|
8632
|
-
const _c0$
|
|
8633
|
-
const _c1$
|
|
8634
|
-
const _c2$
|
|
8635
|
-
const _c3$
|
|
8632
|
+
const _c0$K = ["drChatHeader"];
|
|
8633
|
+
const _c1$h = ["drChatLoader"];
|
|
8634
|
+
const _c2$7 = ["drChatContent"];
|
|
8635
|
+
const _c3$5 = ["messagesContainer"];
|
|
8636
8636
|
function DrChatComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
8637
8637
|
i0.ɵɵelementContainer(0, 8);
|
|
8638
8638
|
} if (rf & 2) {
|
|
@@ -8685,8 +8685,8 @@ function DrChatComponent_dr_chat_suggestions_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
8685
8685
|
i0.ɵɵclassProp("chat__suggestions--full-height", ctx_r3.fullScreen && !(ctx_r3.messages == null ? null : ctx_r3.messages.length));
|
|
8686
8686
|
i0.ɵɵproperty("values", ctx_r3.suggestions)("fullScreen", ctx_r3.fullScreen)("waitForReply", ctx_r3.waitForReply)("buttonMode", !!(ctx_r3.messages == null ? null : ctx_r3.messages.length));
|
|
8687
8687
|
} }
|
|
8688
|
-
const _c4$
|
|
8689
|
-
const _c5$
|
|
8688
|
+
const _c4$2 = [[["dr-chat-alert"]], [["dr-chat-form"]], [["dr-ai-search-input"]], [["", "drChatFormInput", ""]], [["dr-chat-message"]]];
|
|
8689
|
+
const _c5$2 = ["dr-chat-alert", "dr-chat-form", "dr-ai-search-input", "[drChatFormInput]", "dr-chat-message"];
|
|
8690
8690
|
class DrChatComponent {
|
|
8691
8691
|
set contentUpdateSubject(value) {
|
|
8692
8692
|
if (value) {
|
|
@@ -8766,9 +8766,9 @@ class DrChatComponent {
|
|
|
8766
8766
|
/** @nocollapse */ static { this.ɵfac = function DrChatComponent_Factory(t) { return new (t || DrChatComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
8767
8767
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatComponent, selectors: [["dr-chat"]], contentQueries: function DrChatComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
8768
8768
|
i0.ɵɵcontentQuery(dirIndex, DrChatFormComponent, 5);
|
|
8769
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
8770
|
-
i0.ɵɵcontentQuery(dirIndex, _c1$
|
|
8771
|
-
i0.ɵɵcontentQuery(dirIndex, _c2$
|
|
8769
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$K, 5);
|
|
8770
|
+
i0.ɵɵcontentQuery(dirIndex, _c1$h, 5);
|
|
8771
|
+
i0.ɵɵcontentQuery(dirIndex, _c2$7, 5);
|
|
8772
8772
|
i0.ɵɵcontentQuery(dirIndex, DrChatMessageComponent, 4);
|
|
8773
8773
|
} if (rf & 2) {
|
|
8774
8774
|
let _t;
|
|
@@ -8778,14 +8778,14 @@ class DrChatComponent {
|
|
|
8778
8778
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.chatContent = _t.first);
|
|
8779
8779
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.messages = _t);
|
|
8780
8780
|
} }, viewQuery: function DrChatComponent_Query(rf, ctx) { if (rf & 1) {
|
|
8781
|
-
i0.ɵɵviewQuery(_c3$
|
|
8781
|
+
i0.ɵɵviewQuery(_c3$5, 5);
|
|
8782
8782
|
i0.ɵɵviewQuery(DrChatSuggestionsComponent, 5);
|
|
8783
8783
|
} if (rf & 2) {
|
|
8784
8784
|
let _t;
|
|
8785
8785
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.messagesContainer = _t.first);
|
|
8786
8786
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._chatSuggestions = _t.first);
|
|
8787
|
-
} }, inputs: { fullScreen: "fullScreen", noMessagesPlaceholder: "noMessagesPlaceholder", contentUpdateSubject: "contentUpdateSubject", scrollBottom: "scrollBottom", suggestions: "suggestions", reopen: "reopen", waitForReply: "waitForReply", scrollDelay: "scrollDelay" }, outputs: { suggestionSelect: "suggestionSelect" }, features: [i0.ɵɵProvidersFeature([DrChatCustomMessageService])], ngContentSelectors: _c5$
|
|
8788
|
-
i0.ɵɵprojectionDef(_c4$
|
|
8787
|
+
} }, inputs: { fullScreen: "fullScreen", noMessagesPlaceholder: "noMessagesPlaceholder", contentUpdateSubject: "contentUpdateSubject", scrollBottom: "scrollBottom", suggestions: "suggestions", reopen: "reopen", waitForReply: "waitForReply", scrollDelay: "scrollDelay" }, outputs: { suggestionSelect: "suggestionSelect" }, features: [i0.ɵɵProvidersFeature([DrChatCustomMessageService])], ngContentSelectors: _c5$2, decls: 12, vars: 6, consts: [[1, "chat"], [1, "chat__sticky-top"], [3, "ngTemplateOutlet", 4, "ngIf"], [1, "chat__alert"], ["class", "chat__empty-state", 4, "ngIf"], ["class", "chat__messages", 4, "ngIf"], ["class", "chat__suggestions", 3, "values", "fullScreen", "waitForReply", "chat__suggestions--full-height", "buttonMode", "suggestionSelect", 4, "ngIf"], [1, "form"], [3, "ngTemplateOutlet"], [1, "chat__empty-state"], [1, "chat__empty-state__text"], [1, "chat__messages"], [1, "chat__messages__container"], ["messagesContainer", ""], [1, "chat__suggestions", 3, "values", "fullScreen", "waitForReply", "buttonMode", "suggestionSelect"]], template: function DrChatComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8788
|
+
i0.ɵɵprojectionDef(_c4$2);
|
|
8789
8789
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
8790
8790
|
i0.ɵɵtemplate(2, DrChatComponent_ng_container_2_Template, 1, 1, "ng-container", 2);
|
|
8791
8791
|
i0.ɵɵelementStart(3, "div", 3);
|
|
@@ -8855,8 +8855,8 @@ class DrChatComponent {
|
|
|
8855
8855
|
args: [DrChatSuggestionsComponent]
|
|
8856
8856
|
}] }); })();
|
|
8857
8857
|
|
|
8858
|
-
const _c0$
|
|
8859
|
-
const _c1$
|
|
8858
|
+
const _c0$J = ["textAreaElement"];
|
|
8859
|
+
const _c1$g = ["fileInput"];
|
|
8860
8860
|
function DrChatFormDropdownComponent_dr_chat_dropped_files_3_Template(rf, ctx) { if (rf & 1) {
|
|
8861
8861
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
8862
8862
|
i0.ɵɵelementStart(0, "dr-chat-dropped-files", 12);
|
|
@@ -8882,10 +8882,10 @@ function DrChatFormDropdownComponent_i_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
8882
8882
|
function DrChatFormDropdownComponent_dr_dot_flashing_15_Template(rf, ctx) { if (rf & 1) {
|
|
8883
8883
|
i0.ɵɵelement(0, "dr-dot-flashing", 15);
|
|
8884
8884
|
} }
|
|
8885
|
-
const _c2$
|
|
8886
|
-
const _c3$
|
|
8887
|
-
const _c4 = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
|
|
8888
|
-
const _c5 = ["*", "[dropItem]"];
|
|
8885
|
+
const _c2$6 = ["*", [["", "dropItem", ""]]];
|
|
8886
|
+
const _c3$4 = function (a0) { return { "message-row_loading": a0 }; };
|
|
8887
|
+
const _c4$1 = function (a0, a1) { return { "message-row__input--focused": a0, "message-row__input--filled": a1 }; };
|
|
8888
|
+
const _c5$1 = ["*", "[dropItem]"];
|
|
8889
8889
|
class DrChatFormDropdownComponent {
|
|
8890
8890
|
constructor(cdr, domSanitizer) {
|
|
8891
8891
|
this.cdr = cdr;
|
|
@@ -9088,8 +9088,8 @@ class DrChatFormDropdownComponent {
|
|
|
9088
9088
|
}
|
|
9089
9089
|
/** @nocollapse */ static { this.ɵfac = function DrChatFormDropdownComponent_Factory(t) { return new (t || DrChatFormDropdownComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$4.DomSanitizer)); }; }
|
|
9090
9090
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatFormDropdownComponent, selectors: [["dr-chat-form-dropdown"]], viewQuery: function DrChatFormDropdownComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9091
|
-
i0.ɵɵviewQuery(_c0$
|
|
9092
|
-
i0.ɵɵviewQuery(_c1$
|
|
9091
|
+
i0.ɵɵviewQuery(_c0$J, 5);
|
|
9092
|
+
i0.ɵɵviewQuery(_c1$g, 5);
|
|
9093
9093
|
} if (rf & 2) {
|
|
9094
9094
|
let _t;
|
|
9095
9095
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.textAreaElementRef = _t.first);
|
|
@@ -9098,8 +9098,8 @@ class DrChatFormDropdownComponent {
|
|
|
9098
9098
|
i0.ɵɵlistener("drop", function DrChatFormDropdownComponent_drop_HostBindingHandler($event) { return ctx.onDrop($event); })("dragover", function DrChatFormDropdownComponent_dragover_HostBindingHandler($event) { return ctx.onDragOver($event); })("dragleave", function DrChatFormDropdownComponent_dragleave_HostBindingHandler($event) { return ctx.onDragLeave($event); });
|
|
9099
9099
|
} if (rf & 2) {
|
|
9100
9100
|
i0.ɵɵclassProp("file-over", ctx.fileOver);
|
|
9101
|
-
} }, inputs: { acceptFormatFiles: "acceptFormatFiles", maxFileSizeBytes: "maxFileSizeBytes", maxFilesCount: "maxFilesCount", isUploadingFiles: "isUploadingFiles", message: "message", messagePlaceholder: "messagePlaceholder", dropFiles: "dropFiles", dropFilePlaceholder: "dropFilePlaceholder", waitForReply: "waitForReply", showDotFlashing: "showDotFlashing" }, outputs: { send: "send", uploadFiles: "uploadFiles", abort: "abort", filesRejected: "filesRejected", inputChange: "inputChange" }, ngContentSelectors: _c5, decls: 17, vars: 21, consts: [[1, "message-row", 3, "ngClass"], [1, "message-row__input", 3, "ngClass"], [3, "files", "isRemovable", "maxLengthText", "removeFileEvent", 4, "ngIf"], [1, "message-row__input-textarea-wrap"], ["type", "text", 3, "ngModel", "rows", "placeholder", "focus", "blur", "mouseenter", "mouseleave", "ngModelChange", "keydown.enter"], ["textAreaElement", ""], [1, "message-row__btns"], ["type", "file", "hidden", "", "multiple", "", 3, "accept", "change"], ["fileInput", ""], ["class", "dr-icon-send-arrow-up send-button", 3, "click", 4, "ngIf"], ["class", "dr-icon-stop abort-button", 3, "click", 4, "ngIf"], ["class", "wait-reply-dot-flashing", 4, "ngIf"], [3, "files", "isRemovable", "maxLengthText", "removeFileEvent"], [1, "dr-icon-send-arrow-up", "send-button", 3, "click"], [1, "dr-icon-stop", "abort-button", 3, "click"], [1, "wait-reply-dot-flashing"]], template: function DrChatFormDropdownComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9102
|
-
i0.ɵɵprojectionDef(_c2$
|
|
9101
|
+
} }, inputs: { acceptFormatFiles: "acceptFormatFiles", maxFileSizeBytes: "maxFileSizeBytes", maxFilesCount: "maxFilesCount", isUploadingFiles: "isUploadingFiles", message: "message", messagePlaceholder: "messagePlaceholder", dropFiles: "dropFiles", dropFilePlaceholder: "dropFilePlaceholder", waitForReply: "waitForReply", showDotFlashing: "showDotFlashing" }, outputs: { send: "send", uploadFiles: "uploadFiles", abort: "abort", filesRejected: "filesRejected", inputChange: "inputChange" }, ngContentSelectors: _c5$1, decls: 17, vars: 21, consts: [[1, "message-row", 3, "ngClass"], [1, "message-row__input", 3, "ngClass"], [3, "files", "isRemovable", "maxLengthText", "removeFileEvent", 4, "ngIf"], [1, "message-row__input-textarea-wrap"], ["type", "text", 3, "ngModel", "rows", "placeholder", "focus", "blur", "mouseenter", "mouseleave", "ngModelChange", "keydown.enter"], ["textAreaElement", ""], [1, "message-row__btns"], ["type", "file", "hidden", "", "multiple", "", 3, "accept", "change"], ["fileInput", ""], ["class", "dr-icon-send-arrow-up send-button", 3, "click", 4, "ngIf"], ["class", "dr-icon-stop abort-button", 3, "click", 4, "ngIf"], ["class", "wait-reply-dot-flashing", 4, "ngIf"], [3, "files", "isRemovable", "maxLengthText", "removeFileEvent"], [1, "dr-icon-send-arrow-up", "send-button", 3, "click"], [1, "dr-icon-stop", "abort-button", 3, "click"], [1, "wait-reply-dot-flashing"]], template: function DrChatFormDropdownComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9102
|
+
i0.ɵɵprojectionDef(_c2$6);
|
|
9103
9103
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
9104
9104
|
i0.ɵɵpipe(2, "async");
|
|
9105
9105
|
i0.ɵɵtemplate(3, DrChatFormDropdownComponent_dr_chat_dropped_files_3_Template, 2, 5, "dr-chat-dropped-files", 2);
|
|
@@ -9122,9 +9122,9 @@ class DrChatFormDropdownComponent {
|
|
|
9122
9122
|
} if (rf & 2) {
|
|
9123
9123
|
const _r1 = i0.ɵɵreference(7);
|
|
9124
9124
|
let tmp_1_0;
|
|
9125
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c3$
|
|
9125
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c3$4, ctx.isUploadingFiles));
|
|
9126
9126
|
i0.ɵɵadvance(1);
|
|
9127
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c4, ctx.inputFocus, !!(ctx.message == null ? null : (tmp_1_0 = ctx.message.trim()) == null ? null : tmp_1_0.length) || !!i0.ɵɵpipeBind1(2, 12, ctx.droppedFiles$).length));
|
|
9127
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(18, _c4$1, ctx.inputFocus, !!(ctx.message == null ? null : (tmp_1_0 = ctx.message.trim()) == null ? null : tmp_1_0.length) || !!i0.ɵɵpipeBind1(2, 12, ctx.droppedFiles$).length));
|
|
9128
9128
|
i0.ɵɵadvance(2);
|
|
9129
9129
|
i0.ɵɵproperty("ngIf", i0.ɵɵpipeBind1(4, 14, ctx.droppedFiles$).length);
|
|
9130
9130
|
i0.ɵɵadvance(3);
|
|
@@ -9237,14 +9237,14 @@ class DrChatCustomMessageDirective {
|
|
|
9237
9237
|
type: Input
|
|
9238
9238
|
}] }); })();
|
|
9239
9239
|
|
|
9240
|
-
const _c0$
|
|
9240
|
+
const _c0$I = ["*"];
|
|
9241
9241
|
class DrChatAlertComponent {
|
|
9242
9242
|
constructor() {
|
|
9243
9243
|
this.iconClass = 'dr-icon-info';
|
|
9244
9244
|
this.close = new EventEmitter();
|
|
9245
9245
|
}
|
|
9246
9246
|
/** @nocollapse */ static { this.ɵfac = function DrChatAlertComponent_Factory(t) { return new (t || DrChatAlertComponent)(); }; }
|
|
9247
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatAlertComponent, selectors: [["dr-chat-alert"]], inputs: { iconClass: "iconClass" }, outputs: { close: "close" }, ngContentSelectors: _c0$
|
|
9247
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChatAlertComponent, selectors: [["dr-chat-alert"]], inputs: { iconClass: "iconClass" }, outputs: { close: "close" }, ngContentSelectors: _c0$I, decls: 3, vars: 2, consts: [["theme", "icon", "icon", "dr-icon-exit", "drTooltip", "Close", 1, "chat-alert-close-btn", 3, "click"]], template: function DrChatAlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9248
9248
|
i0.ɵɵprojectionDef();
|
|
9249
9249
|
i0.ɵɵelement(0, "i");
|
|
9250
9250
|
i0.ɵɵprojection(1);
|
|
@@ -9377,7 +9377,7 @@ function DrAlertComponent_i_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
9377
9377
|
i0.ɵɵlistener("click", function DrAlertComponent_i_6_Template_i_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.hidden = true); });
|
|
9378
9378
|
i0.ɵɵelementEnd();
|
|
9379
9379
|
} }
|
|
9380
|
-
const _c0$
|
|
9380
|
+
const _c0$H = ["*"];
|
|
9381
9381
|
const ALERT_THEME_ICONS = {
|
|
9382
9382
|
[DrAlertTheme.SUCCESS]: 'dr-icon-uploaded-success',
|
|
9383
9383
|
[DrAlertTheme.BOLD_ERROR]: 'dr-icon-error',
|
|
@@ -9401,7 +9401,7 @@ class DrAlertComponent {
|
|
|
9401
9401
|
/** @nocollapse */ static { this.ɵfac = function DrAlertComponent_Factory(t) { return new (t || DrAlertComponent)(); }; }
|
|
9402
9402
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAlertComponent, selectors: [["dr-alert"]], hostVars: 2, hostBindings: function DrAlertComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
9403
9403
|
i0.ɵɵclassMap(ctx.elementClass);
|
|
9404
|
-
} }, inputs: { theme: "theme", customIconClass: "customIconClass", title: "title", text: "text", showClose: "showClose" }, ngContentSelectors: _c0$
|
|
9404
|
+
} }, inputs: { theme: "theme", customIconClass: "customIconClass", title: "title", text: "text", showClose: "showClose" }, ngContentSelectors: _c0$H, decls: 7, vars: 4, consts: [[1, "dr-alert__content-wrapper"], [4, "ngIf"], [1, "dr-alert__custom-content"], ["contentRef", ""], ["class", "dr-alert__close-icon dr-icon-exit", 3, "click", 4, "ngIf"], ["class", "dr-alert__title", 4, "ngIf"], ["class", "dr-alert__text", 4, "ngIf"], [1, "dr-alert__title"], [1, "dr-alert__text"], [1, "dr-alert__close-icon", "dr-icon-exit", 3, "click"]], template: function DrAlertComponent_Template(rf, ctx) { if (rf & 1) {
|
|
9405
9405
|
i0.ɵɵprojectionDef();
|
|
9406
9406
|
i0.ɵɵelement(0, "i");
|
|
9407
9407
|
i0.ɵɵelementStart(1, "div", 0);
|
|
@@ -9453,7 +9453,7 @@ class CodeEditorHintWrapperComponent {
|
|
|
9453
9453
|
}]
|
|
9454
9454
|
}], null, null); })();
|
|
9455
9455
|
|
|
9456
|
-
const _c0$
|
|
9456
|
+
const _c0$G = ["ref"];
|
|
9457
9457
|
class DrCodemirrorComponent {
|
|
9458
9458
|
set options(value) {
|
|
9459
9459
|
this._options = value;
|
|
@@ -9583,7 +9583,7 @@ class DrCodemirrorComponent {
|
|
|
9583
9583
|
}
|
|
9584
9584
|
/** @nocollapse */ static { this.ɵfac = function DrCodemirrorComponent_Factory(t) { return new (t || DrCodemirrorComponent)(i0.ɵɵdirectiveInject(i0.KeyValueDiffers), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
|
|
9585
9585
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodemirrorComponent, selectors: [["dr-codemirror"]], viewQuery: function DrCodemirrorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
9586
|
-
i0.ɵɵviewQuery(_c0$
|
|
9586
|
+
i0.ɵɵviewQuery(_c0$G, 5);
|
|
9587
9587
|
} if (rf & 2) {
|
|
9588
9588
|
let _t;
|
|
9589
9589
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.ref = _t.first);
|
|
@@ -9735,7 +9735,7 @@ class DrErrorComponent {
|
|
|
9735
9735
|
args: ['class.no-icon']
|
|
9736
9736
|
}] }); })();
|
|
9737
9737
|
|
|
9738
|
-
const _c0$
|
|
9738
|
+
const _c0$F = ["codeEditor"];
|
|
9739
9739
|
function DrCodeEditorComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
9740
9740
|
i0.ɵɵelementStart(0, "span", 4);
|
|
9741
9741
|
i0.ɵɵtext(1);
|
|
@@ -10014,7 +10014,7 @@ class DrCodeEditorComponent {
|
|
|
10014
10014
|
}
|
|
10015
10015
|
/** @nocollapse */ static { this.ɵfac = function DrCodeEditorComponent_Factory(t) { return new (t || DrCodeEditorComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.Injector)); }; }
|
|
10016
10016
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCodeEditorComponent, selectors: [["dr-code-editor"]], viewQuery: function DrCodeEditorComponent_Query(rf, ctx) { if (rf & 1) {
|
|
10017
|
-
i0.ɵɵviewQuery(_c0$
|
|
10017
|
+
i0.ɵɵviewQuery(_c0$F, 5);
|
|
10018
10018
|
} if (rf & 2) {
|
|
10019
10019
|
let _t;
|
|
10020
10020
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.codeEditor = _t.first);
|
|
@@ -10098,7 +10098,7 @@ const getAlignmentDimension = (position) => {
|
|
|
10098
10098
|
return DrPopoverAlignmentDimension.Width;
|
|
10099
10099
|
};
|
|
10100
10100
|
|
|
10101
|
-
const _c0$
|
|
10101
|
+
const _c0$E = ["popoverContainer"];
|
|
10102
10102
|
function DrPopoverComponent_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
10103
10103
|
i0.ɵɵelementContainer(0);
|
|
10104
10104
|
} }
|
|
@@ -10188,7 +10188,7 @@ class DrPopoverComponent {
|
|
|
10188
10188
|
}
|
|
10189
10189
|
/** @nocollapse */ static { this.ɵfac = function DrPopoverComponent_Factory(t) { return new (t || DrPopoverComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(DrPopoverRef)); }; }
|
|
10190
10190
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrPopoverComponent, selectors: [["dr-popover"]], viewQuery: function DrPopoverComponent_Query(rf, ctx) { if (rf & 1) {
|
|
10191
|
-
i0.ɵɵviewQuery(_c0$
|
|
10191
|
+
i0.ɵɵviewQuery(_c0$E, 7, ElementRef);
|
|
10192
10192
|
} if (rf & 2) {
|
|
10193
10193
|
let _t;
|
|
10194
10194
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.popoverContainer = _t.first);
|
|
@@ -10512,7 +10512,7 @@ var __decorate$1 = (this && this.__decorate) || function (decorators, target, ke
|
|
|
10512
10512
|
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
10513
10513
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10514
10514
|
};
|
|
10515
|
-
const _c0$
|
|
10515
|
+
const _c0$D = ["menuContainer"];
|
|
10516
10516
|
function DrDropdownComponent_dr_dropdown_item_4_ng_container_1_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
10517
10517
|
i0.ɵɵelement(0, "i", 11);
|
|
10518
10518
|
} if (rf & 2) {
|
|
@@ -10562,12 +10562,12 @@ function DrDropdownComponent_dr_dropdown_item_4_ng_container_2_Template(rf, ctx)
|
|
|
10562
10562
|
i0.ɵɵadvance(1);
|
|
10563
10563
|
i0.ɵɵproperty("ngIf", ctx_r5.hasChildren(act_r2));
|
|
10564
10564
|
} }
|
|
10565
|
-
const _c1$
|
|
10565
|
+
const _c1$f = function (a0) { return { $implicit: a0 }; };
|
|
10566
10566
|
function DrDropdownComponent_dr_dropdown_item_4_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
10567
10567
|
i0.ɵɵelementContainer(0, 17);
|
|
10568
10568
|
} if (rf & 2) {
|
|
10569
10569
|
const act_r2 = i0.ɵɵnextContext().$implicit;
|
|
10570
|
-
i0.ɵɵproperty("ngTemplateOutlet", act_r2.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c1$
|
|
10570
|
+
i0.ɵɵproperty("ngTemplateOutlet", act_r2.templateRef)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c1$f, act_r2));
|
|
10571
10571
|
} }
|
|
10572
10572
|
function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1) {
|
|
10573
10573
|
const _r20 = i0.ɵɵgetCurrentView();
|
|
@@ -10590,8 +10590,8 @@ function DrDropdownComponent_dr_dropdown_item_4_Template(rf, ctx) { if (rf & 1)
|
|
|
10590
10590
|
i0.ɵɵadvance(1);
|
|
10591
10591
|
i0.ɵɵproperty("ngIf", act_r2.templateRef);
|
|
10592
10592
|
} }
|
|
10593
|
-
const _c2$
|
|
10594
|
-
const _c3$
|
|
10593
|
+
const _c2$5 = [[["dr-dropdown-item"]]];
|
|
10594
|
+
const _c3$3 = ["dr-dropdown-item"];
|
|
10595
10595
|
class DrDropdownComponent {
|
|
10596
10596
|
constructor() {
|
|
10597
10597
|
this.cdr = inject(ChangeDetectorRef);
|
|
@@ -10743,12 +10743,12 @@ class DrDropdownComponent {
|
|
|
10743
10743
|
}
|
|
10744
10744
|
/** @nocollapse */ static { this.ɵfac = function DrDropdownComponent_Factory(t) { return new (t || DrDropdownComponent)(); }; }
|
|
10745
10745
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDropdownComponent, selectors: [["dr-dropdown"]], viewQuery: function DrDropdownComponent_Query(rf, ctx) { if (rf & 1) {
|
|
10746
|
-
i0.ɵɵviewQuery(_c0$
|
|
10746
|
+
i0.ɵɵviewQuery(_c0$D, 7);
|
|
10747
10747
|
} if (rf & 2) {
|
|
10748
10748
|
let _t;
|
|
10749
10749
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.menuContainer = _t.first);
|
|
10750
|
-
} }, inputs: { options: "options" }, outputs: { onAction: "action" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c3$
|
|
10751
|
-
i0.ɵɵprojectionDef(_c2$
|
|
10750
|
+
} }, inputs: { options: "options" }, outputs: { onAction: "action" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c3$3, decls: 6, vars: 5, consts: [[1, "dr-dropdown"], ["menuContainer", ""], ["tabindex", "-1", "role", "listbox", 1, "dr-dropdown__container", 3, "mouseenter", "mouseleave"], ["drDropdownChild", "", "tabindex", "0", 3, "drTooltip", "drTooltipPosition", "drTooltipOptions", "drTooltipTheme", "drTooltipMousleaveTimeout", "drTooltipMouseEnterTimeout", "drTooltipClass", "drDropdown", "drDropdownClass", "drDropdownInHover", "drDropdownPosition", "disabled", "selected", "divider", "mousedown", 4, "ngFor", "ngForOf"], ["drDropdownChild", "", "tabindex", "0", 3, "drTooltip", "drTooltipPosition", "drTooltipOptions", "drTooltipTheme", "drTooltipMousleaveTimeout", "drTooltipMouseEnterTimeout", "drTooltipClass", "drDropdown", "drDropdownClass", "drDropdownInHover", "drDropdownPosition", "disabled", "selected", "divider", "mousedown"], ["dropdownItemContent", "", 4, "ngIf"], ["dropdownItemActions", "", 4, "ngIf"], ["dropdownItemContent", "", 3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["dropdownItemContent", ""], ["class", "dr-dropdown__icon", 3, "class", 4, "ngIf"], [1, "dr-dropdown__text"], [1, "dr-dropdown__icon"], ["dropdownItemActions", ""], [3, "class", "showOnHover", "mousedown", 4, "ngFor", "ngForOf"], ["class", "dr-icon-arrow-right", 4, "ngIf"], [3, "mousedown"], [1, "dr-icon-arrow-right"], ["dropdownItemContent", "", 3, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function DrDropdownComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10751
|
+
i0.ɵɵprojectionDef(_c2$5);
|
|
10752
10752
|
i0.ɵɵelementStart(0, "div", 0, 1)(2, "div", 2);
|
|
10753
10753
|
i0.ɵɵlistener("mouseenter", function DrDropdownComponent_Template_div_mouseenter_2_listener() { return ctx.onMouseenter(); })("mouseleave", function DrDropdownComponent_Template_div_mouseleave_2_listener() { return ctx.onMouseleave(); });
|
|
10754
10754
|
i0.ɵɵprojection(3);
|
|
@@ -10982,8 +10982,8 @@ class DrDropdownChildDirective {
|
|
|
10982
10982
|
}]
|
|
10983
10983
|
}], null, null); })();
|
|
10984
10984
|
|
|
10985
|
-
const _c0$
|
|
10986
|
-
const _c1$
|
|
10985
|
+
const _c0$C = [[["", "dropdownItemContent", ""]], [["", "dropdownItemActions", ""]]];
|
|
10986
|
+
const _c1$e = ["[dropdownItemContent]", "[dropdownItemActions]"];
|
|
10987
10987
|
class DrDropdownItemComponent {
|
|
10988
10988
|
constructor() {
|
|
10989
10989
|
this.role = 'option';
|
|
@@ -10991,8 +10991,8 @@ class DrDropdownItemComponent {
|
|
|
10991
10991
|
/** @nocollapse */ static { this.ɵfac = function DrDropdownItemComponent_Factory(t) { return new (t || DrDropdownItemComponent)(); }; }
|
|
10992
10992
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrDropdownItemComponent, selectors: [["dr-dropdown-item"]], hostVars: 1, hostBindings: function DrDropdownItemComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
10993
10993
|
i0.ɵɵattribute("role", ctx.role);
|
|
10994
|
-
} }, inputs: { selected: "selected", disabled: "disabled", divider: "divider" }, ngContentSelectors: _c1$
|
|
10995
|
-
i0.ɵɵprojectionDef(_c0$
|
|
10994
|
+
} }, inputs: { selected: "selected", disabled: "disabled", divider: "divider" }, ngContentSelectors: _c1$e, decls: 5, vars: 6, consts: [[1, "dr-dropdown-item"], [1, "dr-dropdown-text"], [1, "dr-dropdown-actions"]], template: function DrDropdownItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
10995
|
+
i0.ɵɵprojectionDef(_c0$C);
|
|
10996
10996
|
i0.ɵɵelementStart(0, "div", 0)(1, "span", 1);
|
|
10997
10997
|
i0.ɵɵprojection(2);
|
|
10998
10998
|
i0.ɵɵelementEnd();
|
|
@@ -11034,7 +11034,7 @@ class DrDropdownItemShowPipe {
|
|
|
11034
11034
|
function DrTabComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
11035
11035
|
i0.ɵɵprojection(0);
|
|
11036
11036
|
} }
|
|
11037
|
-
const _c0$
|
|
11037
|
+
const _c0$B = ["*"];
|
|
11038
11038
|
class DrTabComponent {
|
|
11039
11039
|
constructor() { }
|
|
11040
11040
|
ngOnInit() { }
|
|
@@ -11044,7 +11044,7 @@ class DrTabComponent {
|
|
|
11044
11044
|
} if (rf & 2) {
|
|
11045
11045
|
let _t;
|
|
11046
11046
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);
|
|
11047
|
-
} }, inputs: { id: "id", label: "label", icon: "icon", disabled: "disabled", tooltip: "tooltip", customLabelTemplate: "customLabelTemplate" }, ngContentSelectors: _c0$
|
|
11047
|
+
} }, inputs: { id: "id", label: "label", icon: "icon", disabled: "disabled", tooltip: "tooltip", customLabelTemplate: "customLabelTemplate" }, ngContentSelectors: _c0$B, decls: 1, vars: 0, template: function DrTabComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11048
11048
|
i0.ɵɵprojectionDef();
|
|
11049
11049
|
i0.ɵɵtemplate(0, DrTabComponent_ng_template_0_Template, 1, 0, "ng-template");
|
|
11050
11050
|
} }, encapsulation: 2 }); }
|
|
@@ -11319,8 +11319,8 @@ class DrTabsComponent {
|
|
|
11319
11319
|
args: [DrTabComponent]
|
|
11320
11320
|
}] }); })();
|
|
11321
11321
|
|
|
11322
|
-
const _c0$
|
|
11323
|
-
const _c1$
|
|
11322
|
+
const _c0$A = [[["dr-accordion-item"]]];
|
|
11323
|
+
const _c1$d = ["dr-accordion-item"];
|
|
11324
11324
|
class DrAccordionComponent {
|
|
11325
11325
|
constructor() {
|
|
11326
11326
|
this.openCloseItems = new Subject();
|
|
@@ -11353,8 +11353,8 @@ class DrAccordionComponent {
|
|
|
11353
11353
|
/** @nocollapse */ static { this.ɵfac = function DrAccordionComponent_Factory(t) { return new (t || DrAccordionComponent)(); }; }
|
|
11354
11354
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionComponent, selectors: [["dr-accordion"]], hostVars: 2, hostBindings: function DrAccordionComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
11355
11355
|
i0.ɵɵclassMap(ctx.theme);
|
|
11356
|
-
} }, inputs: { multi: "multi", theme: "theme" }, ngContentSelectors: _c1$
|
|
11357
|
-
i0.ɵɵprojectionDef(_c0$
|
|
11356
|
+
} }, inputs: { multi: "multi", theme: "theme" }, ngContentSelectors: _c1$d, decls: 1, vars: 0, template: function DrAccordionComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11357
|
+
i0.ɵɵprojectionDef(_c0$A);
|
|
11358
11358
|
i0.ɵɵprojection(0);
|
|
11359
11359
|
} }, styles: ["[_nghost-%COMP%]{display:block;box-shadow:#2c33491a 0 5px 10px}.borderless[_nghost-%COMP%]{box-shadow:none}"], changeDetection: 0 }); }
|
|
11360
11360
|
}
|
|
@@ -11371,8 +11371,8 @@ class DrAccordionComponent {
|
|
|
11371
11371
|
args: ['class']
|
|
11372
11372
|
}] }); })();
|
|
11373
11373
|
|
|
11374
|
-
const _c0$
|
|
11375
|
-
const _c1$
|
|
11374
|
+
const _c0$z = [[["dr-accordion-item-header"]], [["dr-accordion-item-body"]]];
|
|
11375
|
+
const _c1$c = ["dr-accordion-item-header", "dr-accordion-item-body"];
|
|
11376
11376
|
class DrAccordionItemComponent {
|
|
11377
11377
|
/**
|
|
11378
11378
|
* Item is collapse (`true` by default)
|
|
@@ -11472,8 +11472,8 @@ class DrAccordionItemComponent {
|
|
|
11472
11472
|
/** @nocollapse */ static { this.ɵfac = function DrAccordionItemComponent_Factory(t) { return new (t || DrAccordionItemComponent)(i0.ɵɵdirectiveInject(DrAccordionComponent, 1), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
11473
11473
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionItemComponent, selectors: [["dr-accordion-item"]], hostVars: 6, hostBindings: function DrAccordionItemComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
11474
11474
|
i0.ɵɵclassProp("collapsed", ctx.collapsed)("expanded", ctx.expanded)("disabled", ctx.disabled);
|
|
11475
|
-
} }, inputs: { collapsed: "collapsed", expanded: "expanded", disabled: "disabled" }, outputs: { collapsedChange: "collapsedChange" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c1$
|
|
11476
|
-
i0.ɵɵprojectionDef(_c0$
|
|
11475
|
+
} }, inputs: { collapsed: "collapsed", expanded: "expanded", disabled: "disabled" }, outputs: { collapsedChange: "collapsedChange" }, features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c1$c, decls: 2, vars: 0, template: function DrAccordionItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11476
|
+
i0.ɵɵprojectionDef(_c0$z);
|
|
11477
11477
|
i0.ɵɵprojection(0);
|
|
11478
11478
|
i0.ɵɵprojection(1, 1);
|
|
11479
11479
|
} }, styles: ["[_nghost-%COMP%]{background-color:#fff;color:#222b45;font-family:Poppins,sans-serif;font-size:16px;font-weight:400;line-height:1.25rem;display:flex;flex-direction:column}"], changeDetection: 0 }); }
|
|
@@ -11515,8 +11515,8 @@ function DrAccordionItemHeaderComponent_i_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
11515
11515
|
i0.ɵɵclassMap("dr-accordion-item-header-icon " + ctx_r0.icon);
|
|
11516
11516
|
i0.ɵɵclassProp("dr-accordion-item-header-icon--additional-padding", ctx_r0.chevronPosition === "left");
|
|
11517
11517
|
} }
|
|
11518
|
-
const _c0$
|
|
11519
|
-
const _c1$
|
|
11518
|
+
const _c0$y = function (a0) { return { rotationDegree: a0 }; };
|
|
11519
|
+
const _c1$b = function (a0, a1) { return { value: a0, params: a1 }; };
|
|
11520
11520
|
function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
11521
11521
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
11522
11522
|
i0.ɵɵelementStart(0, "i", 2);
|
|
@@ -11525,10 +11525,10 @@ function DrAccordionItemHeaderComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
11525
11525
|
} if (rf & 2) {
|
|
11526
11526
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
11527
11527
|
i0.ɵɵclassMap(ctx_r1.chevronIconClass);
|
|
11528
|
-
i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$
|
|
11528
|
+
i0.ɵɵproperty("@expansionIndicator", i0.ɵɵpureFunction2(5, _c1$b, ctx_r1.state, i0.ɵɵpureFunction1(3, _c0$y, ctx_r1.chevronRotationDegree)));
|
|
11529
11529
|
} }
|
|
11530
|
-
const _c2$
|
|
11531
|
-
const _c3$
|
|
11530
|
+
const _c2$4 = [[["dr-accordion-item-title"]], [["dr-accordion-item-description"]], "*"];
|
|
11531
|
+
const _c3$2 = ["dr-accordion-item-title", "dr-accordion-item-description", "*"];
|
|
11532
11532
|
class DrAccordionItemHeaderComponent {
|
|
11533
11533
|
get isCollapsed() {
|
|
11534
11534
|
return this.accordionItem.collapsed;
|
|
@@ -11583,8 +11583,8 @@ class DrAccordionItemHeaderComponent {
|
|
|
11583
11583
|
i0.ɵɵattribute("aria-expanded", ctx.expanded)("tabindex", ctx.tabbable)("aria-disabled", ctx.disabled);
|
|
11584
11584
|
i0.ɵɵclassMap(ctx.theme);
|
|
11585
11585
|
i0.ɵɵclassProp("accordion-item-header-collapsed", ctx.isCollapsed)("accordion-item-header-expanded", ctx.expanded);
|
|
11586
|
-
} }, inputs: { chevronOrientation: "chevronOrientation", chevronPosition: "chevronPosition", icon: "icon", toggleOnChevronClick: "toggleOnChevronClick" }, ngContentSelectors: _c3$
|
|
11587
|
-
i0.ɵɵprojectionDef(_c2$
|
|
11586
|
+
} }, inputs: { chevronOrientation: "chevronOrientation", chevronPosition: "chevronPosition", icon: "icon", toggleOnChevronClick: "toggleOnChevronClick" }, ngContentSelectors: _c3$2, decls: 5, vars: 2, consts: [[3, "class", "dr-accordion-item-header-icon--additional-padding", 4, "ngIf"], [3, "class", "click", 4, "ngIf"], [3, "click"]], template: function DrAccordionItemHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11587
|
+
i0.ɵɵprojectionDef(_c2$4);
|
|
11588
11588
|
i0.ɵɵtemplate(0, DrAccordionItemHeaderComponent_i_0_Template, 1, 4, "i", 0);
|
|
11589
11589
|
i0.ɵɵtemplate(1, DrAccordionItemHeaderComponent_i_1_Template, 1, 8, "i", 1);
|
|
11590
11590
|
i0.ɵɵprojection(2);
|
|
@@ -11654,8 +11654,8 @@ class DrAccordionItemHeaderComponent {
|
|
|
11654
11654
|
args: ['keydown.enter']
|
|
11655
11655
|
}] }); })();
|
|
11656
11656
|
|
|
11657
|
-
const _c0$
|
|
11658
|
-
const _c1$
|
|
11657
|
+
const _c0$x = function (a0) { return { value: a0 }; };
|
|
11658
|
+
const _c1$a = ["*"];
|
|
11659
11659
|
const accordionItemBodyTrigger = trigger('accordionItemBody', [
|
|
11660
11660
|
state('collapsed', style({
|
|
11661
11661
|
overflow: 'hidden',
|
|
@@ -11686,13 +11686,13 @@ class DrAccordionItemBodyComponent {
|
|
|
11686
11686
|
this.destroy$.complete();
|
|
11687
11687
|
}
|
|
11688
11688
|
/** @nocollapse */ static { this.ɵfac = function DrAccordionItemBodyComponent_Factory(t) { return new (t || DrAccordionItemBodyComponent)(i0.ɵɵdirectiveInject(DrAccordionItemComponent, 1), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
11689
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionItemBodyComponent, selectors: [["dr-accordion-item-body"]], ngContentSelectors: _c1$
|
|
11689
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrAccordionItemBodyComponent, selectors: [["dr-accordion-item-body"]], ngContentSelectors: _c1$a, decls: 3, vars: 3, consts: [[1, "item-body"]], template: function DrAccordionItemBodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11690
11690
|
i0.ɵɵprojectionDef();
|
|
11691
11691
|
i0.ɵɵelementStart(0, "div")(1, "div", 0);
|
|
11692
11692
|
i0.ɵɵprojection(2);
|
|
11693
11693
|
i0.ɵɵelementEnd()();
|
|
11694
11694
|
} if (rf & 2) {
|
|
11695
|
-
i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$
|
|
11695
|
+
i0.ɵɵproperty("@accordionItemBody", i0.ɵɵpureFunction1(1, _c0$x, ctx.state));
|
|
11696
11696
|
} }, styles: [".item-body[_ngcontent-%COMP%]{flex:1;-ms-flex:1 1 auto;overflow:auto;position:relative}"], data: { animation: [accordionItemBodyTrigger] }, changeDetection: 0 }); }
|
|
11697
11697
|
}
|
|
11698
11698
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrAccordionItemBodyComponent, [{
|
|
@@ -11708,13 +11708,13 @@ class DrAccordionItemBodyComponent {
|
|
|
11708
11708
|
type: Host
|
|
11709
11709
|
}] }, { type: i0.ChangeDetectorRef }]; }, null); })();
|
|
11710
11710
|
|
|
11711
|
-
const _c0$
|
|
11712
|
-
const _c1$
|
|
11711
|
+
const _c0$w = [[["dr-layout-header"]], [["dr-layout-body"]]];
|
|
11712
|
+
const _c1$9 = ["dr-layout-header", "dr-layout-body"];
|
|
11713
11713
|
class DrLayoutComponent {
|
|
11714
11714
|
constructor() { }
|
|
11715
11715
|
/** @nocollapse */ static { this.ɵfac = function DrLayoutComponent_Factory(t) { return new (t || DrLayoutComponent)(); }; }
|
|
11716
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutComponent, selectors: [["dr-layout"]], ngContentSelectors: _c1$
|
|
11717
|
-
i0.ɵɵprojectionDef(_c0$
|
|
11716
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutComponent, selectors: [["dr-layout"]], ngContentSelectors: _c1$9, decls: 6, vars: 0, consts: [[1, "dr-layout"], [1, "dr-layout__container"], [1, "content"], [1, "columns"]], template: function DrLayoutComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11717
|
+
i0.ɵɵprojectionDef(_c0$w);
|
|
11718
11718
|
i0.ɵɵelementStart(0, "div", 0);
|
|
11719
11719
|
i0.ɵɵprojection(1);
|
|
11720
11720
|
i0.ɵɵelementStart(2, "div", 1)(3, "div", 2)(4, "div", 3);
|
|
@@ -11727,11 +11727,11 @@ class DrLayoutComponent {
|
|
|
11727
11727
|
args: [{ selector: 'dr-layout', template: "<div class=\"dr-layout\">\n <ng-content select=\"dr-layout-header\"></ng-content>\n <div class=\"dr-layout__container\">\n <div class=\"content\">\n <div class=\"columns\">\n <ng-content select=\"dr-layout-body\"></ng-content>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{font-size:16px;font-weight:400;font-family:Poppins,sans-serif;line-height:1.25rem;-webkit-font-smoothing:antialiased}:host .dr-layout{display:flex;flex-direction:column;min-height:100vh;font-size:16px;font-weight:400;line-height:1.4rem}:host .dr-layout ::ng-deep dr-layout-header{display:block;position:fixed;top:0;left:0;right:0;z-index:1040}:host .dr-layout ::ng-deep dr-layout-header nav{align-items:center;justify-content:flex-start;display:flex}:host .dr-layout__container{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:row}:host .dr-layout__container .content{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:column;min-width:0}:host .dr-layout__container .content .columns{display:flex;flex:1;-ms-flex:1 1 auto;flex-direction:row;width:100%}:host .dr-layout__container .content .columns ::ng-deep dr-layout-body{flex:1 0;min-width:0}\n"] }]
|
|
11728
11728
|
}], function () { return []; }, null); })();
|
|
11729
11729
|
|
|
11730
|
-
const _c0$
|
|
11730
|
+
const _c0$v = ["*"];
|
|
11731
11731
|
class DrLayoutHeaderComponent {
|
|
11732
11732
|
constructor() { }
|
|
11733
11733
|
/** @nocollapse */ static { this.ɵfac = function DrLayoutHeaderComponent_Factory(t) { return new (t || DrLayoutHeaderComponent)(); }; }
|
|
11734
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutHeaderComponent, selectors: [["dr-layout-header"]], ngContentSelectors: _c0$
|
|
11734
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutHeaderComponent, selectors: [["dr-layout-header"]], ngContentSelectors: _c0$v, decls: 2, vars: 0, template: function DrLayoutHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11735
11735
|
i0.ɵɵprojectionDef();
|
|
11736
11736
|
i0.ɵɵelementStart(0, "nav");
|
|
11737
11737
|
i0.ɵɵprojection(1);
|
|
@@ -11750,11 +11750,11 @@ class DrLayoutHeaderComponent {
|
|
|
11750
11750
|
}]
|
|
11751
11751
|
}], function () { return []; }, null); })();
|
|
11752
11752
|
|
|
11753
|
-
const _c0$
|
|
11753
|
+
const _c0$u = ["*"];
|
|
11754
11754
|
class DrLayoutBodyComponent {
|
|
11755
11755
|
constructor() { }
|
|
11756
11756
|
/** @nocollapse */ static { this.ɵfac = function DrLayoutBodyComponent_Factory(t) { return new (t || DrLayoutBodyComponent)(); }; }
|
|
11757
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutBodyComponent, selectors: [["dr-layout-body"]], ngContentSelectors: _c0$
|
|
11757
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrLayoutBodyComponent, selectors: [["dr-layout-body"]], ngContentSelectors: _c0$u, decls: 1, vars: 0, template: function DrLayoutBodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
11758
11758
|
i0.ɵɵprojectionDef();
|
|
11759
11759
|
i0.ɵɵprojection(0);
|
|
11760
11760
|
} }, encapsulation: 2 }); }
|
|
@@ -11776,7 +11776,7 @@ function DrDetailsListComponent_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
11776
11776
|
i0.ɵɵadvance(1);
|
|
11777
11777
|
i0.ɵɵtextInterpolate(item_r1);
|
|
11778
11778
|
} }
|
|
11779
|
-
const _c0$
|
|
11779
|
+
const _c0$t = function (a0) { return { value: a0 }; };
|
|
11780
11780
|
class DrDetailsListComponent {
|
|
11781
11781
|
set items(val) {
|
|
11782
11782
|
if (!val) {
|
|
@@ -11823,7 +11823,7 @@ class DrDetailsListComponent {
|
|
|
11823
11823
|
i0.ɵɵadvance(1);
|
|
11824
11824
|
i0.ɵɵtextInterpolate1(" ", ctx.title, " ");
|
|
11825
11825
|
i0.ɵɵadvance(1);
|
|
11826
|
-
i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$
|
|
11826
|
+
i0.ɵɵproperty("@expansionIndicatorList", i0.ɵɵpureFunction1(7, _c0$t, ctx.state));
|
|
11827
11827
|
i0.ɵɵadvance(1);
|
|
11828
11828
|
i0.ɵɵproperty("ngForOf", ctx.list);
|
|
11829
11829
|
} }, dependencies: [i1$1.NgForOf], styles: ["[_nghost-%COMP%]{font-family:Poppins,sans-serif;font-size:14px;line-height:22px;color:#6d6e6f;font-weight:400}[_nghost-%COMP%] .details[_ngcontent-%COMP%]{display:flex;flex-direction:column}[_nghost-%COMP%] .details__header[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer}[_nghost-%COMP%] .details__header[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:4px}[_nghost-%COMP%] .details__list[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding-left:28px;margin:8px 0}[_nghost-%COMP%] .details__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:disc}"], data: { animation: [
|
|
@@ -11867,8 +11867,8 @@ class DrDetailsListComponent {
|
|
|
11867
11867
|
type: Input
|
|
11868
11868
|
}] }); })();
|
|
11869
11869
|
|
|
11870
|
-
const _c0$
|
|
11871
|
-
const _c1$
|
|
11870
|
+
const _c0$s = ["content"];
|
|
11871
|
+
const _c1$8 = function (a0, a1) { return { "dr-icon-maximize": a0, "dr-icon-minimize": a1 }; };
|
|
11872
11872
|
function DialogWrapperComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
11873
11873
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
11874
11874
|
i0.ɵɵelementStart(0, "i", 11);
|
|
@@ -11876,7 +11876,7 @@ function DialogWrapperComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
11876
11876
|
i0.ɵɵelementEnd();
|
|
11877
11877
|
} if (rf & 2) {
|
|
11878
11878
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
11879
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c1$
|
|
11879
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c1$8, !ctx_r0.isMaximized, ctx_r0.isMaximized));
|
|
11880
11880
|
} }
|
|
11881
11881
|
function DialogWrapperComponent_i_2_Template(rf, ctx) { if (rf & 1) {
|
|
11882
11882
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
@@ -11980,7 +11980,7 @@ function DialogWrapperComponent_div_10_Template(rf, ctx) { if (rf & 1) {
|
|
|
11980
11980
|
i0.ɵɵadvance(1);
|
|
11981
11981
|
i0.ɵɵproperty("ngIf", ctx_r6.dialogData.acceptButton);
|
|
11982
11982
|
} }
|
|
11983
|
-
const _c2$
|
|
11983
|
+
const _c2$3 = function (a0) { return { "flex-position": a0 }; };
|
|
11984
11984
|
class DialogWrapperComponent {
|
|
11985
11985
|
get elementClass() {
|
|
11986
11986
|
return this.dialogData?.theme?.noThemeSizeClass ? null : this.dialogData?.theme?.themeSize || 'medium-modal';
|
|
@@ -12062,7 +12062,7 @@ class DialogWrapperComponent {
|
|
|
12062
12062
|
}
|
|
12063
12063
|
/** @nocollapse */ static { this.ɵfac = function DialogWrapperComponent_Factory(t) { return new (t || DialogWrapperComponent)(i0.ɵɵdirectiveInject(i1$5.MatLegacyDialogRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(MAT_LEGACY_DIALOG_DATA)); }; }
|
|
12064
12064
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DialogWrapperComponent, selectors: [["dr-dialog-wrapper"]], viewQuery: function DialogWrapperComponent_Query(rf, ctx) { if (rf & 1) {
|
|
12065
|
-
i0.ɵɵviewQuery(_c0$
|
|
12065
|
+
i0.ɵɵviewQuery(_c0$s, 5, ViewContainerRef);
|
|
12066
12066
|
} if (rf & 2) {
|
|
12067
12067
|
let _t;
|
|
12068
12068
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.content = _t.first);
|
|
@@ -12091,7 +12091,7 @@ class DialogWrapperComponent {
|
|
|
12091
12091
|
i0.ɵɵproperty("ngIf", ctx.dialogData.title);
|
|
12092
12092
|
i0.ɵɵadvance(1);
|
|
12093
12093
|
i0.ɵɵclassProp("dialog-wrapper__content--no-padding", ctx.dialogData.theme == null ? null : ctx.dialogData.theme.contentNoPadding);
|
|
12094
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c2$
|
|
12094
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c2$3, (ctx.dialogData.contentIcon == null ? null : ctx.dialogData.contentIcon.class) && !ctx.childComponent));
|
|
12095
12095
|
i0.ɵɵadvance(1);
|
|
12096
12096
|
i0.ɵɵproperty("ngIf", ctx.dialogData.contentIcon == null ? null : ctx.dialogData.contentIcon.class);
|
|
12097
12097
|
i0.ɵɵadvance(1);
|
|
@@ -12266,8 +12266,8 @@ function DialogModalWrapperComponent_form_7_div_2_label_9_Template(rf, ctx) { if
|
|
|
12266
12266
|
i0.ɵɵadvance(1);
|
|
12267
12267
|
i0.ɵɵtextInterpolate1(" ", ctx_r19.dialogData.serverErrorMessage, " ");
|
|
12268
12268
|
} }
|
|
12269
|
-
const _c0$
|
|
12270
|
-
const _c1$
|
|
12269
|
+
const _c0$r = function (a0) { return { display: a0 }; };
|
|
12270
|
+
const _c1$7 = function (a0, a1) { return { "col-md-10": a0, "col-md-12": a1 }; };
|
|
12271
12271
|
function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
12272
12272
|
i0.ɵɵelementStart(0, "div", 16);
|
|
12273
12273
|
i0.ɵɵtemplate(1, DialogModalWrapperComponent_form_7_div_2_label_1_Template, 2, 2, "label", 17);
|
|
@@ -12284,11 +12284,11 @@ function DialogModalWrapperComponent_form_7_div_2_Template(rf, ctx) { if (rf & 1
|
|
|
12284
12284
|
const field_r11 = ctx.$implicit;
|
|
12285
12285
|
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
12286
12286
|
i0.ɵɵclassMap(field_r11.formGroupClass);
|
|
12287
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$
|
|
12287
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(12, _c0$r, field_r11.isLabelFullWidth ? "block" : "flex"));
|
|
12288
12288
|
i0.ɵɵadvance(1);
|
|
12289
12289
|
i0.ɵɵproperty("ngIf", field_r11.label && field_r11.type !== ctx_r10.dialogFieldType.CHECKBOX);
|
|
12290
12290
|
i0.ɵɵadvance(1);
|
|
12291
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(14, _c1$
|
|
12291
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(14, _c1$7, field_r11.label && !field_r11.isLabelFullWidth, !field_r11.label || field_r11.isLabelFullWidth));
|
|
12292
12292
|
i0.ɵɵadvance(1);
|
|
12293
12293
|
i0.ɵɵproperty("ngIf", field_r11.type === ctx_r10.dialogFieldType.SELECT);
|
|
12294
12294
|
i0.ɵɵadvance(1);
|
|
@@ -12992,7 +12992,7 @@ function TreeviewItemComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
12992
12992
|
i0.ɵɵadvance(1);
|
|
12993
12993
|
i0.ɵɵproperty("ngForOf", ctx_r2.item.children);
|
|
12994
12994
|
} }
|
|
12995
|
-
const _c0$
|
|
12995
|
+
const _c0$q = function (a0, a1, a2) { return { item: a0, onCollapseExpand: a1, onCheckedChange: a2 }; };
|
|
12996
12996
|
function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
12997
12997
|
i0.ɵɵelementStart(0, "div", 1);
|
|
12998
12998
|
i0.ɵɵtemplate(1, TreeviewItemComponent_div_0_ng_template_1_Template, 0, 0, "ng-template", 2);
|
|
@@ -13001,7 +13001,7 @@ function TreeviewItemComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
13001
13001
|
} if (rf & 2) {
|
|
13002
13002
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
13003
13003
|
i0.ɵɵadvance(1);
|
|
13004
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$
|
|
13004
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r0.template)("ngTemplateOutletContext", i0.ɵɵpureFunction3(3, _c0$q, ctx_r0.item, ctx_r0.onCollapseExpand, ctx_r0.onCheckedChange));
|
|
13005
13005
|
i0.ɵɵadvance(1);
|
|
13006
13006
|
i0.ɵɵproperty("ngIf", !ctx_r0.item.collapsed);
|
|
13007
13007
|
} }
|
|
@@ -14383,7 +14383,7 @@ class DrImageCropperCanvasService {
|
|
|
14383
14383
|
type: Injectable
|
|
14384
14384
|
}], null, null); })();
|
|
14385
14385
|
|
|
14386
|
-
const _c0$
|
|
14386
|
+
const _c0$p = ["imageCanvas"];
|
|
14387
14387
|
class DrImageCropperComponent {
|
|
14388
14388
|
constructor(canvasService) {
|
|
14389
14389
|
this.canvasService = canvasService;
|
|
@@ -14441,7 +14441,7 @@ class DrImageCropperComponent {
|
|
|
14441
14441
|
}
|
|
14442
14442
|
/** @nocollapse */ static { this.ɵfac = function DrImageCropperComponent_Factory(t) { return new (t || DrImageCropperComponent)(i0.ɵɵdirectiveInject(DrImageCropperCanvasService)); }; }
|
|
14443
14443
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrImageCropperComponent, selectors: [["dr-image-cropper"]], viewQuery: function DrImageCropperComponent_Query(rf, ctx) { if (rf & 1) {
|
|
14444
|
-
i0.ɵɵviewQuery(_c0$
|
|
14444
|
+
i0.ɵɵviewQuery(_c0$p, 7);
|
|
14445
14445
|
} if (rf & 2) {
|
|
14446
14446
|
let _t;
|
|
14447
14447
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.canvasElement = _t.first);
|
|
@@ -14845,26 +14845,37 @@ function DrChipComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
14845
14845
|
i0.ɵɵprojection(1);
|
|
14846
14846
|
i0.ɵɵelementContainerEnd();
|
|
14847
14847
|
} }
|
|
14848
|
-
function
|
|
14848
|
+
function DrChipComponent_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
14849
14849
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
14850
|
-
i0.ɵɵelementStart(0, "
|
|
14851
|
-
i0.ɵɵlistener("click", function
|
|
14850
|
+
i0.ɵɵelementStart(0, "button", 5);
|
|
14851
|
+
i0.ɵɵlistener("click", function DrChipComponent_button_4_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onRemove($event)); });
|
|
14852
|
+
i0.ɵɵelement(1, "i", 6);
|
|
14852
14853
|
i0.ɵɵelementEnd();
|
|
14854
|
+
} if (rf & 2) {
|
|
14855
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
14856
|
+
i0.ɵɵattribute("aria-label", ctx_r2.removeAriaLabel);
|
|
14853
14857
|
} }
|
|
14854
|
-
const _c0$
|
|
14858
|
+
const _c0$o = ["*"];
|
|
14855
14859
|
class DrChipComponent {
|
|
14856
14860
|
constructor() {
|
|
14861
|
+
this.removeAriaLabel = 'Remove';
|
|
14857
14862
|
this.remove = new EventEmitter();
|
|
14858
14863
|
}
|
|
14864
|
+
onRemove(event) {
|
|
14865
|
+
event.stopPropagation();
|
|
14866
|
+
this.remove.emit();
|
|
14867
|
+
}
|
|
14859
14868
|
/** @nocollapse */ static { this.ɵfac = function DrChipComponent_Factory(t) { return new (t || DrChipComponent)(); }; }
|
|
14860
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChipComponent, selectors: [["dr-chip"]],
|
|
14869
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrChipComponent, selectors: [["dr-chip"]], hostVars: 1, hostBindings: function DrChipComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
14870
|
+
i0.ɵɵattribute("aria-label", ctx.label);
|
|
14871
|
+
} }, inputs: { label: "label", icon: "icon", removable: ["removable", "removable", booleanAttribute], removeAriaLabel: "removeAriaLabel" }, outputs: { remove: "remove" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$o, decls: 5, vars: 4, consts: [["class", "chip__icon", "aria-hidden", "true", 3, "class", 4, "ngIf"], [1, "chip__label"], [4, "ngIf"], ["type", "button", "class", "chip__remove", 3, "click", 4, "ngIf"], ["aria-hidden", "true", 1, "chip__icon"], ["type", "button", 1, "chip__remove", 3, "click"], ["aria-hidden", "true", 1, "dr-icon-exit"]], template: function DrChipComponent_Template(rf, ctx) { if (rf & 1) {
|
|
14861
14872
|
i0.ɵɵprojectionDef();
|
|
14862
14873
|
i0.ɵɵtemplate(0, DrChipComponent_i_0_Template, 1, 2, "i", 0);
|
|
14863
|
-
i0.ɵɵelementStart(1, "
|
|
14874
|
+
i0.ɵɵelementStart(1, "span", 1);
|
|
14864
14875
|
i0.ɵɵtemplate(2, DrChipComponent_ng_container_2_Template, 2, 0, "ng-container", 2);
|
|
14865
14876
|
i0.ɵɵtext(3);
|
|
14866
14877
|
i0.ɵɵelementEnd();
|
|
14867
|
-
i0.ɵɵtemplate(4,
|
|
14878
|
+
i0.ɵɵtemplate(4, DrChipComponent_button_4_Template, 2, 1, "button", 3);
|
|
14868
14879
|
} if (rf & 2) {
|
|
14869
14880
|
i0.ɵɵproperty("ngIf", ctx.icon);
|
|
14870
14881
|
i0.ɵɵadvance(2);
|
|
@@ -14873,23 +14884,28 @@ class DrChipComponent {
|
|
|
14873
14884
|
i0.ɵɵtextInterpolate1(" ", ctx.label, "\n");
|
|
14874
14885
|
i0.ɵɵadvance(1);
|
|
14875
14886
|
i0.ɵɵproperty("ngIf", ctx.removable);
|
|
14876
|
-
} }, dependencies: [CommonModule, i1$1.NgIf], styles: ["[_nghost-%COMP%]{display:inline-flex;align-items:center;height:24px;border-radius:12px;padding:0 4px;background-color:#f0f1f4}[_nghost-%COMP%] .chip__icon[_ngcontent-%COMP%]{margin-left:4px;font-size:20px;color:#6d6e6f}[_nghost-%COMP%] .chip__label[_ngcontent-%COMP%]{margin:0 4px;flex-grow:1;color:#333;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;line-height:16px;font-weight:400}[_nghost-%COMP%] .chip__remove[_ngcontent-%COMP%]{border-radius:50%;color:#6d6e6f;font-size:20px;cursor:pointer;flex-shrink:0}[_nghost-%COMP%] .chip__remove[_ngcontent-%COMP%]:hover{background-color:#f5f5f5;color:#333}"], changeDetection: 0 }); }
|
|
14887
|
+
} }, dependencies: [CommonModule, i1$1.NgIf], styles: ["[_nghost-%COMP%]{display:inline-flex;align-items:center;height:24px;border-radius:12px;padding:0 4px;background-color:#f0f1f4}[_nghost-%COMP%] .chip__icon[_ngcontent-%COMP%]{margin-left:4px;font-size:20px;color:#6d6e6f}[_nghost-%COMP%] .chip__label[_ngcontent-%COMP%]{margin:0 4px;flex-grow:1;color:#333;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;line-height:16px;font-weight:400}[_nghost-%COMP%] .chip__remove[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:none;border-radius:50%;background:transparent;color:#6d6e6f;font-size:20px;cursor:pointer;flex-shrink:0}[_nghost-%COMP%] .chip__remove[_ngcontent-%COMP%]:hover{background-color:#f5f5f5;color:#333}[_nghost-%COMP%] .chip__remove[_ngcontent-%COMP%]:focus{outline:2px solid #4646ce;outline-offset:1px}[_nghost-%COMP%] .chip__remove[_ngcontent-%COMP%]:focus:not(:focus-visible){outline:none}[_nghost-%COMP%] .chip__remove[_ngcontent-%COMP%]:focus-visible{outline:2px solid #4646ce;outline-offset:1px}[_nghost-%COMP%] .chip__remove[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:20px}"], changeDetection: 0 }); }
|
|
14877
14888
|
}
|
|
14878
14889
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrChipComponent, [{
|
|
14879
14890
|
type: Component,
|
|
14880
|
-
args: [{ selector: 'dr-chip', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule],
|
|
14891
|
+
args: [{ selector: 'dr-chip', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], host: {
|
|
14892
|
+
'[attr.aria-label]': 'label',
|
|
14893
|
+
}, template: "<i *ngIf=\"icon\" [class]=\"icon\" class=\"chip__icon\" aria-hidden=\"true\"></i>\n\n<span class=\"chip__label\">\n <ng-container *ngIf=\"!label\">\n <ng-content></ng-content>\n </ng-container>\n {{ label }}\n</span>\n\n<button\n *ngIf=\"removable\"\n type=\"button\"\n class=\"chip__remove\"\n [attr.aria-label]=\"removeAriaLabel\"\n (click)=\"onRemove($event)\">\n <i class=\"dr-icon-exit\" aria-hidden=\"true\"></i>\n</button>\n", styles: [":host{display:inline-flex;align-items:center;height:24px;border-radius:12px;padding:0 4px;background-color:#f0f1f4}:host .chip__icon{margin-left:4px;font-size:20px;color:#6d6e6f}:host .chip__label{margin:0 4px;flex-grow:1;color:#333;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;line-height:16px;font-weight:400}:host .chip__remove{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:none;border-radius:50%;background:transparent;color:#6d6e6f;font-size:20px;cursor:pointer;flex-shrink:0}:host .chip__remove:hover{background-color:#f5f5f5;color:#333}:host .chip__remove:focus{outline:2px solid #4646ce;outline-offset:1px}:host .chip__remove:focus:not(:focus-visible){outline:none}:host .chip__remove:focus-visible{outline:2px solid #4646ce;outline-offset:1px}:host .chip__remove i{font-size:20px}\n"] }]
|
|
14881
14894
|
}], null, { label: [{
|
|
14882
14895
|
type: Input
|
|
14883
14896
|
}], icon: [{
|
|
14884
14897
|
type: Input
|
|
14885
14898
|
}], removable: [{
|
|
14899
|
+
type: Input,
|
|
14900
|
+
args: [{ transform: booleanAttribute }]
|
|
14901
|
+
}], removeAriaLabel: [{
|
|
14886
14902
|
type: Input
|
|
14887
14903
|
}], remove: [{
|
|
14888
14904
|
type: Output
|
|
14889
14905
|
}] }); })();
|
|
14890
14906
|
|
|
14891
|
-
const _c0$
|
|
14892
|
-
const _c1$
|
|
14907
|
+
const _c0$n = ["carouselContainer"];
|
|
14908
|
+
const _c1$6 = ["carouselItem"];
|
|
14893
14909
|
function DrGalleryComponent_dr_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
14894
14910
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
14895
14911
|
i0.ɵɵelementStart(0, "dr-button", 5);
|
|
@@ -14901,8 +14917,8 @@ function DrGalleryComponent_dr_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
14901
14917
|
function DrGalleryComponent_div_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
14902
14918
|
i0.ɵɵelementContainer(0);
|
|
14903
14919
|
} }
|
|
14904
|
-
const _c2$
|
|
14905
|
-
const _c3 = function (a0) { return { $implicit: a0 }; };
|
|
14920
|
+
const _c2$2 = function () { return {}; };
|
|
14921
|
+
const _c3$1 = function (a0) { return { $implicit: a0 }; };
|
|
14906
14922
|
function DrGalleryComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
14907
14923
|
i0.ɵɵelementStart(0, "div", 6, 7);
|
|
14908
14924
|
i0.ɵɵtemplate(2, DrGalleryComponent_div_4_ng_container_2_Template, 1, 0, "ng-container", 8);
|
|
@@ -14913,9 +14929,9 @@ function DrGalleryComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
14913
14929
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
14914
14930
|
i0.ɵɵstyleProp("transition", ctx_r2.transition);
|
|
14915
14931
|
i0.ɵɵclassProp("dr-gallery-item_active", ctx_r2.centerIndex === i_r7)("dr-gallery-item_fadein", ctx_r2.fadeIn && ctx_r2.centerIndex === i_r7 + 1);
|
|
14916
|
-
i0.ɵɵproperty("ngStyle", ctx_r2.modeType === "loop" ? ctx_r2.getStyle() : i0.ɵɵpureFunction0(9, _c2$
|
|
14932
|
+
i0.ɵɵproperty("ngStyle", ctx_r2.modeType === "loop" ? ctx_r2.getStyle() : i0.ɵɵpureFunction0(9, _c2$2));
|
|
14917
14933
|
i0.ɵɵadvance(2);
|
|
14918
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.template)("ngTemplateOutletContext", i0.ɵɵpureFunction1(10, _c3, item_r6));
|
|
14934
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r2.template)("ngTemplateOutletContext", i0.ɵɵpureFunction1(10, _c3$1, item_r6));
|
|
14919
14935
|
} }
|
|
14920
14936
|
function DrGalleryComponent_dr_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
14921
14937
|
const _r11 = i0.ɵɵgetCurrentView();
|
|
@@ -15114,8 +15130,8 @@ class DrGalleryComponent {
|
|
|
15114
15130
|
let _t;
|
|
15115
15131
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);
|
|
15116
15132
|
} }, viewQuery: function DrGalleryComponent_Query(rf, ctx) { if (rf & 1) {
|
|
15117
|
-
i0.ɵɵviewQuery(_c0$
|
|
15118
|
-
i0.ɵɵviewQuery(_c1$
|
|
15133
|
+
i0.ɵɵviewQuery(_c0$n, 5);
|
|
15134
|
+
i0.ɵɵviewQuery(_c1$6, 5);
|
|
15119
15135
|
} if (rf & 2) {
|
|
15120
15136
|
let _t;
|
|
15121
15137
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.containerRef = _t.first);
|
|
@@ -15176,19 +15192,33 @@ function DrProgressBarComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
15176
15192
|
i0.ɵɵadvance(1);
|
|
15177
15193
|
i0.ɵɵtextInterpolate1("", ctx_r0.progress || 0, "%");
|
|
15178
15194
|
} }
|
|
15179
|
-
const _c0$
|
|
15195
|
+
const _c0$m = ["*"];
|
|
15180
15196
|
class DrProgressBarComponent {
|
|
15181
15197
|
constructor() {
|
|
15182
15198
|
/**
|
|
15183
|
-
*
|
|
15199
|
+
* Option to hide value label
|
|
15184
15200
|
*/
|
|
15185
15201
|
this.showValue = true;
|
|
15186
15202
|
this.theme = 'light';
|
|
15203
|
+
this.role = 'progressbar';
|
|
15204
|
+
this.ariaValueMin = 0;
|
|
15205
|
+
this.ariaValueMax = 100;
|
|
15206
|
+
}
|
|
15207
|
+
get ariaValueNow() {
|
|
15208
|
+
return this.progress || 0;
|
|
15209
|
+
}
|
|
15210
|
+
get ariaLabel() {
|
|
15211
|
+
const progressValue = this.progress || 0;
|
|
15212
|
+
if (this.customAriaLabel) {
|
|
15213
|
+
return `${this.customAriaLabel}: ${progressValue}% complete`;
|
|
15214
|
+
}
|
|
15215
|
+
return `Progress: ${progressValue}% complete`;
|
|
15187
15216
|
}
|
|
15188
15217
|
/** @nocollapse */ static { this.ɵfac = function DrProgressBarComponent_Factory(t) { return new (t || DrProgressBarComponent)(); }; }
|
|
15189
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrProgressBarComponent, selectors: [["dr-progress-bar"]], hostVars:
|
|
15218
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrProgressBarComponent, selectors: [["dr-progress-bar"]], hostVars: 7, hostBindings: function DrProgressBarComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
15219
|
+
i0.ɵɵattribute("role", ctx.role)("aria-valuemin", ctx.ariaValueMin)("aria-valuemax", ctx.ariaValueMax)("aria-valuenow", ctx.ariaValueNow)("aria-label", ctx.ariaLabel);
|
|
15190
15220
|
i0.ɵɵclassMap(ctx.theme);
|
|
15191
|
-
} }, inputs: { progress: "progress", showValue: "showValue", theme: "theme" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
15221
|
+
} }, inputs: { progress: "progress", showValue: "showValue", theme: "theme", customAriaLabel: ["aria-label", "customAriaLabel"] }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$m, decls: 5, vars: 3, consts: [["aria-hidden", "true", 1, "progress-bar__background"], [1, "progress-bar__background__fill"], ["aria-hidden", "true", 1, "progress-bar__value"], [4, "ngIf"]], template: function DrProgressBarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15192
15222
|
i0.ɵɵprojectionDef();
|
|
15193
15223
|
i0.ɵɵelementStart(0, "div", 0);
|
|
15194
15224
|
i0.ɵɵelement(1, "div", 1);
|
|
@@ -15202,14 +15232,13 @@ class DrProgressBarComponent {
|
|
|
15202
15232
|
i0.ɵɵstyleProp("width", (ctx.progress || 0) + "%");
|
|
15203
15233
|
i0.ɵɵadvance(3);
|
|
15204
15234
|
i0.ɵɵproperty("ngIf", ctx.showValue);
|
|
15205
|
-
} }, dependencies: [CommonModule, i1$1.NgIf], styles: ["[_nghost-%COMP%]
|
|
15235
|
+
} }, dependencies: [CommonModule, i1$1.NgIf], styles: ["[_nghost-%COMP%]{display:flex;align-items:center;width:100%;gap:16px;height:6px}.progress-bar__value[_ngcontent-%COMP%]{display:flex;align-items:center;color:#333;font-size:14px;line-height:24px;font-weight:400}.progress-bar__background[_ngcontent-%COMP%]{display:flex;flex-grow:1;position:relative;background:#dfe0e3;border-radius:20px;height:inherit}.progress-bar__background__fill[_ngcontent-%COMP%]{transition:all .5s;position:absolute;left:0;top:0;width:0;height:100%;background:#4646ce;border-radius:20px}.dark[_nghost-%COMP%] .progress-bar__value[_ngcontent-%COMP%]{color:#fff}"] }); }
|
|
15206
15236
|
}
|
|
15207
15237
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrProgressBarComponent, [{
|
|
15208
15238
|
type: Component,
|
|
15209
|
-
args: [{ selector: 'dr-progress-bar', standalone: true, imports: [CommonModule], template: "<div class=\"progress-bar__background\">\n <div class=\"progress-bar__background__fill\" [style.width]=\"(progress || 0) + '%'\"></div>\n</div>\n<span class=\"progress-bar__value\">\n <ng-content></ng-content>\n <ng-container *ngIf=\"showValue\">{{ progress || 0 }}%</ng-container>\n</span>\n", styles: [":host
|
|
15239
|
+
args: [{ selector: 'dr-progress-bar', standalone: true, imports: [CommonModule], template: "<div class=\"progress-bar__background\" aria-hidden=\"true\">\n <div class=\"progress-bar__background__fill\" [style.width]=\"(progress || 0) + '%'\"></div>\n</div>\n<span class=\"progress-bar__value\" aria-hidden=\"true\">\n <ng-content></ng-content>\n <ng-container *ngIf=\"showValue\">{{ progress || 0 }}%</ng-container>\n</span>\n", styles: [":host{display:flex;align-items:center;width:100%;gap:16px;height:6px}.progress-bar__value{display:flex;align-items:center;color:#333;font-size:14px;line-height:24px;font-weight:400}.progress-bar__background{display:flex;flex-grow:1;position:relative;background:#dfe0e3;border-radius:20px;height:inherit}.progress-bar__background__fill{transition:all .5s;position:absolute;left:0;top:0;width:0;height:100%;background:#4646ce;border-radius:20px}:host(.dark) .progress-bar__value{color:#fff}\n"] }]
|
|
15210
15240
|
}], null, { progress: [{
|
|
15211
|
-
type: Input
|
|
15212
|
-
args: [{ required: true }]
|
|
15241
|
+
type: Input
|
|
15213
15242
|
}], showValue: [{
|
|
15214
15243
|
type: Input
|
|
15215
15244
|
}], theme: [{
|
|
@@ -15217,9 +15246,27 @@ class DrProgressBarComponent {
|
|
|
15217
15246
|
}, {
|
|
15218
15247
|
type: HostBinding,
|
|
15219
15248
|
args: ['class']
|
|
15249
|
+
}], customAriaLabel: [{
|
|
15250
|
+
type: Input,
|
|
15251
|
+
args: ['aria-label']
|
|
15252
|
+
}], role: [{
|
|
15253
|
+
type: HostBinding,
|
|
15254
|
+
args: ['attr.role']
|
|
15255
|
+
}], ariaValueMin: [{
|
|
15256
|
+
type: HostBinding,
|
|
15257
|
+
args: ['attr.aria-valuemin']
|
|
15258
|
+
}], ariaValueMax: [{
|
|
15259
|
+
type: HostBinding,
|
|
15260
|
+
args: ['attr.aria-valuemax']
|
|
15261
|
+
}], ariaValueNow: [{
|
|
15262
|
+
type: HostBinding,
|
|
15263
|
+
args: ['attr.aria-valuenow']
|
|
15264
|
+
}], ariaLabel: [{
|
|
15265
|
+
type: HostBinding,
|
|
15266
|
+
args: ['attr.aria-label']
|
|
15220
15267
|
}] }); })();
|
|
15221
15268
|
|
|
15222
|
-
const _c0$
|
|
15269
|
+
const _c0$l = ["*"];
|
|
15223
15270
|
class DrBadgeComponent {
|
|
15224
15271
|
constructor() {
|
|
15225
15272
|
this.color = 'stone';
|
|
@@ -15231,7 +15278,7 @@ class DrBadgeComponent {
|
|
|
15231
15278
|
/** @nocollapse */ static { this.ɵfac = function DrBadgeComponent_Factory(t) { return new (t || DrBadgeComponent)(); }; }
|
|
15232
15279
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrBadgeComponent, selectors: [["dr-badge"]], hostVars: 2, hostBindings: function DrBadgeComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
15233
15280
|
i0.ɵɵclassMap(ctx.elementClasses);
|
|
15234
|
-
} }, inputs: { color: "color", size: "size" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
15281
|
+
} }, inputs: { color: "color", size: "size" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$l, decls: 1, vars: 0, template: function DrBadgeComponent_Template(rf, ctx) { if (rf & 1) {
|
|
15235
15282
|
i0.ɵɵprojectionDef();
|
|
15236
15283
|
i0.ɵɵprojection(0);
|
|
15237
15284
|
} }, styles: ["[_nghost-%COMP%]{display:inline-flex;align-items:center;color:#333;border-radius:4px;box-sizing:border-box;font-size:12px;line-height:16px;font-weight:500}.small[_nghost-%COMP%]{gap:2px;padding:2px 4px}.medium[_nghost-%COMP%]{gap:4px;padding:4px 8px}.light-purple[_nghost-%COMP%]{background-color:#dfd9ff}.water[_nghost-%COMP%]{background-color:#d9f2ff}.baby-blue[_nghost-%COMP%]{background-color:#d9e6ff}.baby-pink[_nghost-%COMP%]{background-color:#ffdbf1}.light-turquoise[_nghost-%COMP%]{background-color:#d6fcf9}.bright-green[_nghost-%COMP%]{background-color:#d9ffea}.stone[_nghost-%COMP%]{background-color:#f6f4f4}.peach[_nghost-%COMP%]{background-color:#ffe5b4}.soft-coral[_nghost-%COMP%]{background-color:#ffd2c2}.pale-yellow[_nghost-%COMP%]{background-color:#fffacd}.pastel-olive[_nghost-%COMP%]{background-color:#dce2b9}.powder-blue-grey[_nghost-%COMP%]{background-color:#d3dbe3}.muted-plum[_nghost-%COMP%]{background-color:#e7c7db}"], changeDetection: 0 }); }
|
|
@@ -15396,7 +15443,7 @@ class BottomPositionStrategy {
|
|
|
15396
15443
|
}
|
|
15397
15444
|
}
|
|
15398
15445
|
|
|
15399
|
-
const _c0$
|
|
15446
|
+
const _c0$k = ["handleRef"];
|
|
15400
15447
|
function DrawerContainer_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
15401
15448
|
i0.ɵɵelement(0, "div", 3, 4);
|
|
15402
15449
|
} }
|
|
@@ -15510,7 +15557,7 @@ class DrawerContainer extends CdkDialogContainer {
|
|
|
15510
15557
|
/** @nocollapse */ static { this.ɵfac = function DrawerContainer_Factory(t) { return new (t || DrawerContainer)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i1$7.FocusTrapFactory), i0.ɵɵdirectiveInject(DOCUMENT, 8), i0.ɵɵdirectiveInject(DrawerConfig), i0.ɵɵdirectiveInject(i1$7.InteractivityChecker), i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1$2.OverlayRef), i0.ɵɵdirectiveInject(i1$7.FocusMonitor)); }; }
|
|
15511
15558
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrawerContainer, selectors: [["dr-drawer-container"]], viewQuery: function DrawerContainer_Query(rf, ctx) { if (rf & 1) {
|
|
15512
15559
|
i0.ɵɵviewQuery(CdkPortalOutlet, 7);
|
|
15513
|
-
i0.ɵɵviewQuery(_c0$
|
|
15560
|
+
i0.ɵɵviewQuery(_c0$k, 5);
|
|
15514
15561
|
} if (rf & 2) {
|
|
15515
15562
|
let _t;
|
|
15516
15563
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx._portalOutlet = _t.first);
|
|
@@ -16067,7 +16114,7 @@ function SeparateTableComponent_div_2_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
16067
16114
|
function SeparateTableComponent_div_2_div_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
16068
16115
|
i0.ɵɵelementContainer(0);
|
|
16069
16116
|
} }
|
|
16070
|
-
const _c0$
|
|
16117
|
+
const _c0$j = function (a0, a1) { return { $implicit: a0, column: a1 }; };
|
|
16071
16118
|
function SeparateTableComponent_div_2_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
16072
16119
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
16073
16120
|
i0.ɵɵelementStart(0, "div", 11);
|
|
@@ -16081,7 +16128,7 @@ function SeparateTableComponent_div_2_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
16081
16128
|
const _r1 = i0.ɵɵreference(4);
|
|
16082
16129
|
i0.ɵɵproperty("ngStyle", column_r11.styles);
|
|
16083
16130
|
i0.ɵɵadvance(1);
|
|
16084
|
-
i0.ɵɵproperty("ngTemplateOutlet", column_r11.cellTemplate || _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c0$
|
|
16131
|
+
i0.ɵɵproperty("ngTemplateOutlet", column_r11.cellTemplate || _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c0$j, row_r3, column_r11));
|
|
16085
16132
|
} }
|
|
16086
16133
|
function SeparateTableComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
16087
16134
|
const _r17 = i0.ɵɵgetCurrentView();
|
|
@@ -16198,7 +16245,7 @@ class ElementOverflowDirective {
|
|
|
16198
16245
|
type: Input
|
|
16199
16246
|
}] }); })();
|
|
16200
16247
|
|
|
16201
|
-
const _c0$
|
|
16248
|
+
const _c0$i = ["container"];
|
|
16202
16249
|
function DrListOverflowComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
16203
16250
|
i0.ɵɵelementStart(0, "div", 4);
|
|
16204
16251
|
i0.ɵɵtext(1, "...");
|
|
@@ -16214,7 +16261,7 @@ function DrListOverflowComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
16214
16261
|
i0.ɵɵadvance(1);
|
|
16215
16262
|
i0.ɵɵtextInterpolate1(", +", ctx_r2.overflowed, "");
|
|
16216
16263
|
} }
|
|
16217
|
-
const _c1$
|
|
16264
|
+
const _c1$5 = ["*"];
|
|
16218
16265
|
/**
|
|
16219
16266
|
* Calculate number in HORIZONTAL list that has been overflowed
|
|
16220
16267
|
*/
|
|
@@ -16293,11 +16340,11 @@ class DrListOverflowComponent {
|
|
|
16293
16340
|
}
|
|
16294
16341
|
/** @nocollapse */ static { this.ɵfac = function DrListOverflowComponent_Factory(t) { return new (t || DrListOverflowComponent)(); }; }
|
|
16295
16342
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrListOverflowComponent, selectors: [["dr-list-overflow"], ["", "drListOverflow", ""]], viewQuery: function DrListOverflowComponent_Query(rf, ctx) { if (rf & 1) {
|
|
16296
|
-
i0.ɵɵviewQuery(_c0$
|
|
16343
|
+
i0.ɵɵviewQuery(_c0$i, 7);
|
|
16297
16344
|
} if (rf & 2) {
|
|
16298
16345
|
let _t;
|
|
16299
16346
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
16300
|
-
} }, inputs: { drListCounterWidth: ["drListCounterWidth", "drListCounterWidth", numberAttribute] }, outputs: { drListOverflowedChange: "drListOverflowedChange" }, exportAs: ["listOverflow"], standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c1$
|
|
16347
|
+
} }, inputs: { drListCounterWidth: ["drListCounterWidth", "drListCounterWidth", numberAttribute] }, outputs: { drListOverflowedChange: "drListOverflowedChange" }, exportAs: ["listOverflow"], standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵStandaloneFeature], ngContentSelectors: _c1$5, decls: 5, vars: 2, consts: [[1, "overflow-container"], ["container", ""], ["class", "overflow-ellipsis", 4, "ngIf"], ["class", "overflow-counter", 3, "width", 4, "ngIf"], [1, "overflow-ellipsis"], [1, "overflow-counter"]], template: function DrListOverflowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16301
16348
|
i0.ɵɵprojectionDef();
|
|
16302
16349
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
16303
16350
|
i0.ɵɵprojection(2);
|
|
@@ -16324,7 +16371,7 @@ class DrListOverflowComponent {
|
|
|
16324
16371
|
args: ['container', { static: true }]
|
|
16325
16372
|
}] }); })();
|
|
16326
16373
|
|
|
16327
|
-
const _c0$
|
|
16374
|
+
const _c0$h = ["*"];
|
|
16328
16375
|
class TextOverflowComponent {
|
|
16329
16376
|
constructor() {
|
|
16330
16377
|
this.overflowType = 'horizontal';
|
|
@@ -16333,7 +16380,7 @@ class TextOverflowComponent {
|
|
|
16333
16380
|
this.isOverflow = false;
|
|
16334
16381
|
}
|
|
16335
16382
|
/** @nocollapse */ static { this.ɵfac = function TextOverflowComponent_Factory(t) { return new (t || TextOverflowComponent)(); }; }
|
|
16336
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TextOverflowComponent, selectors: [["dr-text-overflow"]], inputs: { overflowType: "overflowType", showTooltip: "showTooltip", tooltipPosition: "tooltipPosition" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
16383
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: TextOverflowComponent, selectors: [["dr-text-overflow"]], inputs: { overflowType: "overflowType", showTooltip: "showTooltip", tooltipPosition: "tooltipPosition" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$h, decls: 3, vars: 4, consts: [[1, "overflow-element", 3, "drElementOverflow", "drElementOverflowType", "drTooltip", "drTooltipPosition", "drElementOverflowChange"], ["el", ""]], template: function TextOverflowComponent_Template(rf, ctx) { if (rf & 1) {
|
|
16337
16384
|
i0.ɵɵprojectionDef();
|
|
16338
16385
|
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
16339
16386
|
i0.ɵɵlistener("drElementOverflowChange", function TextOverflowComponent_Template_div_drElementOverflowChange_0_listener($event) { return ctx.isOverflow = $event; });
|
|
@@ -16501,8 +16548,8 @@ class AutofocusDirective {
|
|
|
16501
16548
|
}]
|
|
16502
16549
|
}], null, null); })();
|
|
16503
16550
|
|
|
16504
|
-
const _c0$
|
|
16505
|
-
const _c1$
|
|
16551
|
+
const _c0$g = ["dropdownItemTemplate"];
|
|
16552
|
+
const _c1$4 = ["labelItemTemplate"];
|
|
16506
16553
|
function FilterDropdownComponent_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
16507
16554
|
i0.ɵɵelementContainerStart(0);
|
|
16508
16555
|
i0.ɵɵelementContainer(1, 12);
|
|
@@ -16559,7 +16606,7 @@ function FilterDropdownComponent_ng_template_14_span_0_ng_container_1_Template(r
|
|
|
16559
16606
|
i0.ɵɵtext(1, ",");
|
|
16560
16607
|
i0.ɵɵelementContainerEnd();
|
|
16561
16608
|
} }
|
|
16562
|
-
const _c2 = function (a0) { return { $implicit: a0 }; };
|
|
16609
|
+
const _c2$1 = function (a0) { return { $implicit: a0 }; };
|
|
16563
16610
|
function FilterDropdownComponent_ng_template_14_span_0_Template(rf, ctx) { if (rf & 1) {
|
|
16564
16611
|
i0.ɵɵelementStart(0, "span");
|
|
16565
16612
|
i0.ɵɵtemplate(1, FilterDropdownComponent_ng_template_14_span_0_ng_container_1_Template, 2, 0, "ng-container", 15);
|
|
@@ -16573,7 +16620,7 @@ function FilterDropdownComponent_ng_template_14_span_0_Template(rf, ctx) { if (r
|
|
|
16573
16620
|
i0.ɵɵadvance(1);
|
|
16574
16621
|
i0.ɵɵproperty("ngIf", i_r21);
|
|
16575
16622
|
i0.ɵɵadvance(1);
|
|
16576
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r19.labelItemTemplate || _r8)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c2, item_r20));
|
|
16623
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r19.labelItemTemplate || _r8)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c2$1, item_r20));
|
|
16577
16624
|
} }
|
|
16578
16625
|
function FilterDropdownComponent_ng_template_14_Template(rf, ctx) { if (rf & 1) {
|
|
16579
16626
|
i0.ɵɵtemplate(0, FilterDropdownComponent_ng_template_14_span_0_Template, 3, 5, "span", 14);
|
|
@@ -16653,7 +16700,7 @@ function FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_dr_dropdown_
|
|
|
16653
16700
|
i0.ɵɵadvance(3);
|
|
16654
16701
|
i0.ɵɵproperty("ngIf", ctx_r37.multiple);
|
|
16655
16702
|
i0.ɵɵadvance(2);
|
|
16656
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx_r37.dropdownItemTemplate || _r41)("ngTemplateOutletContext", i0.ɵɵpureFunction1(5, _c2, item_r38));
|
|
16703
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r37.dropdownItemTemplate || _r41)("ngTemplateOutletContext", i0.ɵɵpureFunction1(5, _c2$1, item_r38));
|
|
16657
16704
|
} }
|
|
16658
16705
|
function FilterDropdownComponent_ng_template_18_div_0_dr_dropdown_6_Template(rf, ctx) { if (rf & 1) {
|
|
16659
16706
|
i0.ɵɵelementStart(0, "dr-dropdown", 30);
|
|
@@ -16833,8 +16880,8 @@ class FilterDropdownComponent {
|
|
|
16833
16880
|
}
|
|
16834
16881
|
/** @nocollapse */ static { this.ɵfac = function FilterDropdownComponent_Factory(t) { return new (t || FilterDropdownComponent)(); }; }
|
|
16835
16882
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: FilterDropdownComponent, selectors: [["dr-filter-dropdown"]], contentQueries: function FilterDropdownComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
16836
|
-
i0.ɵɵcontentQuery(dirIndex, _c0$
|
|
16837
|
-
i0.ɵɵcontentQuery(dirIndex, _c1$
|
|
16883
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$g, 5, TemplateRef);
|
|
16884
|
+
i0.ɵɵcontentQuery(dirIndex, _c1$4, 5, TemplateRef);
|
|
16838
16885
|
} if (rf & 2) {
|
|
16839
16886
|
let _t;
|
|
16840
16887
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropdownItemTemplate = _t.first);
|
|
@@ -17208,7 +17255,7 @@ class CellSetAsDefaultComponent {
|
|
|
17208
17255
|
function CellIconActionsComponent_div_1_span_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
17209
17256
|
i0.ɵɵelementContainer(0);
|
|
17210
17257
|
} }
|
|
17211
|
-
const _c0$
|
|
17258
|
+
const _c0$f = function (a0) { return { $implicit: a0 }; };
|
|
17212
17259
|
function CellIconActionsComponent_div_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
17213
17260
|
i0.ɵɵelementStart(0, "span", 6);
|
|
17214
17261
|
i0.ɵɵtemplate(1, CellIconActionsComponent_div_1_span_1_ng_container_1_Template, 1, 0, "ng-container", 7);
|
|
@@ -17222,7 +17269,7 @@ function CellIconActionsComponent_div_1_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
17222
17269
|
i0.ɵɵclassProp("badge", icon_r5.badgeColor);
|
|
17223
17270
|
i0.ɵɵproperty("drTooltipMouseEnterTimeout", 100)("drTooltip", icon_r5.customTooltip ? icon_r5.customTooltip(ctx_r8.field, ctx_r8.rowIndex, ctx_r8.rowData) : icon_r5.tooltip);
|
|
17224
17271
|
i0.ɵɵadvance(1);
|
|
17225
|
-
i0.ɵɵproperty("ngTemplateOutlet", icon_r5.isSimpleIcon ? _r3 : _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(8, _c0$
|
|
17272
|
+
i0.ɵɵproperty("ngTemplateOutlet", icon_r5.isSimpleIcon ? _r3 : _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction1(8, _c0$f, icon_r5));
|
|
17226
17273
|
} }
|
|
17227
17274
|
function CellIconActionsComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
17228
17275
|
i0.ɵɵelementStart(0, "div", 4);
|
|
@@ -17330,7 +17377,7 @@ function CellSplitRowsComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
17330
17377
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
17331
17378
|
i0.ɵɵproperty("ngForOf", ctx_r3.rows);
|
|
17332
17379
|
} }
|
|
17333
|
-
const _c0$
|
|
17380
|
+
const _c0$e = function () { return { isMainText: true }; };
|
|
17334
17381
|
class CellSplitRowsComponent {
|
|
17335
17382
|
constructor(cdr) {
|
|
17336
17383
|
this.cdr = cdr;
|
|
@@ -17370,7 +17417,7 @@ class CellSplitRowsComponent {
|
|
|
17370
17417
|
i0.ɵɵstyleProp("gap", ctx.rowGap);
|
|
17371
17418
|
i0.ɵɵproperty("drTooltip", ctx.showTooltip || ctx.hasOverflownRow ? _r0 : null);
|
|
17372
17419
|
i0.ɵɵadvance(1);
|
|
17373
|
-
i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction0(7, _c0$
|
|
17420
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction0(7, _c0$e));
|
|
17374
17421
|
} }, dependencies: [CommonModule, i1$1.NgForOf, i1$1.NgTemplateOutlet, i1$1.NgStyle, DrTooltipModule, DrTooltipDirective, ElementOverflowDirective], styles: ["[_nghost-%COMP%]{display:flex;width:100%}.cell-split-rows[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:inherit;font-weight:400}.cell-split-rows__row[_ngcontent-%COMP%]{margin:0;padding:0;color:#0c142b;line-height:16px;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cell-split-rows__row[_ngcontent-%COMP%]:first-child{line-height:24px;font-size:14px}.cell-split-rows.highlightMain[_ngcontent-%COMP%] > .cell-split-rows__row[_ngcontent-%COMP%]{font-size:14px;color:#6d6e6f}.cell-split-rows.highlightMain[_ngcontent-%COMP%] > .cell-split-rows__row[_ngcontent-%COMP%]:first-child{color:#333}.cell-split-rows.simple-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:26px}.cell-split-rows.simple-text[_ngcontent-%COMP%] > .cell-split-rows__row[_ngcontent-%COMP%]{font-weight:400;font-size:14px;line-height:24px;color:#333}.cell-split-rows__tooltip[_ngcontent-%COMP%]{padding:5px}"], changeDetection: 0 }); }
|
|
17375
17422
|
}
|
|
17376
17423
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CellSplitRowsComponent, [{
|
|
@@ -17553,7 +17600,7 @@ class CellChildrenListComponent {
|
|
|
17553
17600
|
function CellCustomTemplateComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
17554
17601
|
i0.ɵɵelementContainer(0);
|
|
17555
17602
|
} }
|
|
17556
|
-
const _c0$
|
|
17603
|
+
const _c0$d = function (a0, a1) { return { data: a0, params: a1 }; };
|
|
17557
17604
|
class CellCustomTemplateComponent {
|
|
17558
17605
|
agInit(params) {
|
|
17559
17606
|
this.data = params.data;
|
|
@@ -17566,7 +17613,7 @@ class CellCustomTemplateComponent {
|
|
|
17566
17613
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CellCustomTemplateComponent, selectors: [["dr-cell-custom-template"]], standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 1, vars: 5, consts: [[4, "ngTemplateOutlet", "ngTemplateOutletContext"]], template: function CellCustomTemplateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
17567
17614
|
i0.ɵɵtemplate(0, CellCustomTemplateComponent_ng_container_0_Template, 1, 0, "ng-container", 0);
|
|
17568
17615
|
} if (rf & 2) {
|
|
17569
|
-
i0.ɵɵproperty("ngTemplateOutlet", ctx.params.getTemplateFn(ctx.data))("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c0$
|
|
17616
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx.params.getTemplateFn(ctx.data))("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c0$d, ctx.data, ctx.params));
|
|
17570
17617
|
} }, dependencies: [CommonModule, i1$1.NgTemplateOutlet], styles: ["[_nghost-%COMP%]{display:flex;align-items:center;width:100%;height:100%;flex:1}"], changeDetection: 0 }); }
|
|
17571
17618
|
}
|
|
17572
17619
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CellCustomTemplateComponent, [{
|
|
@@ -17617,7 +17664,7 @@ class CellBadgeStatusComponent {
|
|
|
17617
17664
|
args: [{ selector: 'dr-cell-badge-status', standalone: true, imports: [CommonModule, DrBadgeStatusModule], changeDetection: ChangeDetectionStrategy.OnPush, template: "<dr-badge-status\n *ngIf=\"badgeStatus\"\n [icon]=\"badgeStatus.icon\"\n [tooltip]=\"badgeStatus.tooltip\"\n [label]=\"badgeStatus.label\"\n [theme]=\"badgeStatus.theme\"\n (click)=\"onClick()\">\n</dr-badge-status>\n", styles: [":host{display:flex;align-items:center;width:100%;height:100%}:host::ng-deep .badge-status{cursor:inherit!important}\n"] }]
|
|
17618
17665
|
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, null); })();
|
|
17619
17666
|
|
|
17620
|
-
const _c0$
|
|
17667
|
+
const _c0$c = ["textSpan"];
|
|
17621
17668
|
function CellIconTextEditComponent_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
17622
17669
|
i0.ɵɵelement(0, "i", 5);
|
|
17623
17670
|
} if (rf & 2) {
|
|
@@ -17703,7 +17750,7 @@ class CellIconTextEditComponent {
|
|
|
17703
17750
|
}
|
|
17704
17751
|
/** @nocollapse */ static { this.ɵfac = function CellIconTextEditComponent_Factory(t) { return new (t || CellIconTextEditComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); }; }
|
|
17705
17752
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CellIconTextEditComponent, selectors: [["dr-cell-icon-text-edit"]], viewQuery: function CellIconTextEditComponent_Query(rf, ctx) { if (rf & 1) {
|
|
17706
|
-
i0.ɵɵviewQuery(_c0$
|
|
17753
|
+
i0.ɵɵviewQuery(_c0$c, 5);
|
|
17707
17754
|
} if (rf & 2) {
|
|
17708
17755
|
let _t;
|
|
17709
17756
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.textSpan = _t.first);
|
|
@@ -18057,7 +18104,7 @@ const GRID_THEME_OPTIONS = {
|
|
|
18057
18104
|
},
|
|
18058
18105
|
};
|
|
18059
18106
|
|
|
18060
|
-
const _c0$
|
|
18107
|
+
const _c0$b = ["agGrid"];
|
|
18061
18108
|
function DrGridComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
18062
18109
|
i0.ɵɵelementStart(0, "div", 3);
|
|
18063
18110
|
i0.ɵɵpipe(1, "async");
|
|
@@ -18333,7 +18380,7 @@ class DrGridComponent {
|
|
|
18333
18380
|
}
|
|
18334
18381
|
/** @nocollapse */ static { this.ɵfac = function DrGridComponent_Factory(t) { return new (t || DrGridComponent)(); }; }
|
|
18335
18382
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrGridComponent, selectors: [["dr-grid"]], viewQuery: function DrGridComponent_Query(rf, ctx) { if (rf & 1) {
|
|
18336
|
-
i0.ɵɵviewQuery(_c0$
|
|
18383
|
+
i0.ɵɵviewQuery(_c0$b, 5, ElementRef);
|
|
18337
18384
|
} if (rf & 2) {
|
|
18338
18385
|
let _t;
|
|
18339
18386
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.agGridEl = _t.first);
|
|
@@ -18415,7 +18462,7 @@ function DrGridPaginationComponent_span_22_Template(rf, ctx) { if (rf & 1) {
|
|
|
18415
18462
|
i0.ɵɵadvance(3);
|
|
18416
18463
|
i0.ɵɵtextInterpolate2("", ctx_r0.toRow, " of ", ctx_r0.count, " items ");
|
|
18417
18464
|
} }
|
|
18418
|
-
const _c0$
|
|
18465
|
+
const _c0$a = function (a0) { return { disable: a0 }; };
|
|
18419
18466
|
class DrGridPaginationComponent {
|
|
18420
18467
|
constructor() {
|
|
18421
18468
|
this.perPage = 50;
|
|
@@ -18510,17 +18557,17 @@ class DrGridPaginationComponent {
|
|
|
18510
18557
|
i0.ɵɵelementEnd()()();
|
|
18511
18558
|
} if (rf & 2) {
|
|
18512
18559
|
i0.ɵɵadvance(3);
|
|
18513
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$
|
|
18560
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(9, _c0$a, ctx.showPrev));
|
|
18514
18561
|
i0.ɵɵadvance(3);
|
|
18515
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$
|
|
18562
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(11, _c0$a, ctx.showPrev));
|
|
18516
18563
|
i0.ɵɵadvance(2);
|
|
18517
18564
|
i0.ɵɵproperty("ngModel", ctx.page)("max", ctx.totalPages);
|
|
18518
18565
|
i0.ɵɵadvance(4);
|
|
18519
18566
|
i0.ɵɵtextInterpolate1("", ctx.totalPages, " ");
|
|
18520
18567
|
i0.ɵɵadvance(1);
|
|
18521
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$
|
|
18568
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(13, _c0$a, ctx.showNext));
|
|
18522
18569
|
i0.ɵɵadvance(2);
|
|
18523
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c0$
|
|
18570
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(15, _c0$a, ctx.showNext));
|
|
18524
18571
|
i0.ɵɵadvance(4);
|
|
18525
18572
|
i0.ɵɵtextInterpolate1("", ctx.perPage, "\u00A0items per page");
|
|
18526
18573
|
i0.ɵɵadvance(3);
|
|
@@ -18757,12 +18804,12 @@ function DrGridToolbarComponent_dr_input_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
18757
18804
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
18758
18805
|
i0.ɵɵproperty("ngModel", ctx_r0.searchInput)("searchMini", ctx_r0.searchMini)("clearable", true);
|
|
18759
18806
|
} }
|
|
18760
|
-
const _c0$
|
|
18807
|
+
const _c0$9 = function (a0, a1) { return { gridApi: a0, gridColumnApi: a1 }; };
|
|
18761
18808
|
function DrGridToolbarComponent_dr_button_4_Template(rf, ctx) { if (rf & 1) {
|
|
18762
18809
|
i0.ɵɵelement(0, "dr-button", 8);
|
|
18763
18810
|
} if (rf & 2) {
|
|
18764
18811
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
18765
|
-
i0.ɵɵproperty("drPopover", ctx_r1.ColumnsFilterPopover)("drPopoverPosition", "bottom-right")("drPopoverContext", i0.ɵɵpureFunction2(3, _c0$
|
|
18812
|
+
i0.ɵɵproperty("drPopover", ctx_r1.ColumnsFilterPopover)("drPopoverPosition", "bottom-right")("drPopoverContext", i0.ɵɵpureFunction2(3, _c0$9, ctx_r1.gridApi, ctx_r1.gridColumnApi));
|
|
18766
18813
|
} }
|
|
18767
18814
|
function DrGridToolbarComponent_dr_button_5_Template(rf, ctx) { if (rf & 1) {
|
|
18768
18815
|
const _r14 = i0.ɵɵgetCurrentView();
|
|
@@ -18785,7 +18832,7 @@ function DrGridToolbarComponent_dr_button_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
18785
18832
|
i0.ɵɵlistener("click", function DrGridToolbarComponent_dr_button_8_Template_dr_button_click_0_listener() { i0.ɵɵrestoreView(_r18); const ctx_r17 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r17.onExport()); });
|
|
18786
18833
|
i0.ɵɵelementEnd();
|
|
18787
18834
|
} }
|
|
18788
|
-
const _c1$
|
|
18835
|
+
const _c1$3 = ["*"];
|
|
18789
18836
|
class DrGridToolbarComponent {
|
|
18790
18837
|
constructor(router, activatedRoute) {
|
|
18791
18838
|
this.router = router;
|
|
@@ -18835,7 +18882,7 @@ class DrGridToolbarComponent {
|
|
|
18835
18882
|
this.destroy$.complete();
|
|
18836
18883
|
}
|
|
18837
18884
|
/** @nocollapse */ static { this.ɵfac = function DrGridToolbarComponent_Factory(t) { return new (t || DrGridToolbarComponent)(i0.ɵɵdirectiveInject(i1$8.Router), i0.ɵɵdirectiveInject(i1$8.ActivatedRoute)); }; }
|
|
18838
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrGridToolbarComponent, selectors: [["dr-grid-toolbar"]], inputs: { gridApi: "gridApi", gridColumnApi: "gridColumnApi", title: "title", showSearch: "showSearch", searchMini: "searchMini", reactiveSearch: "reactiveSearch", showColumnSettings: "showColumnSettings", menuActions: "menuActions", menuActionsTooltip: "menuActionsTooltip", showRefresh: "showRefresh", csvParams: "csvParams" }, outputs: { search: "search", menuActionsClick: "menuActionsClick", refresh: "refresh" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c1$
|
|
18885
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrGridToolbarComponent, selectors: [["dr-grid-toolbar"]], inputs: { gridApi: "gridApi", gridColumnApi: "gridColumnApi", title: "title", showSearch: "showSearch", searchMini: "searchMini", reactiveSearch: "reactiveSearch", showColumnSettings: "showColumnSettings", menuActions: "menuActions", menuActionsTooltip: "menuActionsTooltip", showRefresh: "showRefresh", csvParams: "csvParams" }, outputs: { search: "search", menuActionsClick: "menuActionsClick", refresh: "refresh" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c1$3, decls: 9, vars: 6, consts: [["data-test", "table_title", 1, "dr-grid-toolbar__title"], [1, "dr-grid-toolbar__actions"], ["class", "dr-grid-toolbar__actions__search", "data-analytics", "admin_admin-table-header_input-0", "type", "search", 3, "ngModel", "searchMini", "clearable", "ngModelChange", "search", "blur", "searchHandler", "clearHandler", "keyup.enter", 4, "ngIf"], ["class", "dr-grid-toolbar__actions__columns-settings", "data-analytics", "admin_admin-table-header_button-1", "theme", "icon-primary", "drTooltip", "Columns Menu", "drTooltipPosition", "top", "icon", "dr-icon-bars", 3, "drPopover", "drPopoverPosition", "drPopoverContext", 4, "ngIf"], ["class", "dr-grid-toolbar__actions__more-actions", "drTooltipPosition", "top", "data-analytics", "admin_admin-table-header_button-3", "theme", "icon-primary", "drDropdownPosition", "bottom-right", "icon", "dr-icon-more", 3, "drTooltip", "drDropdown", "click", 4, "ngIf"], ["class", "dr-grid-toolbar__actions__refresh", "data-analytics", "admin_admin-table-header_button-5", "theme", "icon-secondary", "icon", "dr-icon-refresh", "drTooltip", "Refresh", "drTooltipPosition", "top", 3, "click", 4, "ngIf"], ["class", "dr-grid-toolbar__actions__export", "drTooltip", "Export table to csv file", "drTooltipPosition", "top-right", "data-analytics", "admin_admin-table-header_button-6", "theme", "icon-secondary", "icon", "dr-icon-export-excel", 3, "click", 4, "ngIf"], ["data-analytics", "admin_admin-table-header_input-0", "type", "search", 1, "dr-grid-toolbar__actions__search", 3, "ngModel", "searchMini", "clearable", "ngModelChange", "search", "blur", "searchHandler", "clearHandler", "keyup.enter"], ["data-analytics", "admin_admin-table-header_button-1", "theme", "icon-primary", "drTooltip", "Columns Menu", "drTooltipPosition", "top", "icon", "dr-icon-bars", 1, "dr-grid-toolbar__actions__columns-settings", 3, "drPopover", "drPopoverPosition", "drPopoverContext"], ["drTooltipPosition", "top", "data-analytics", "admin_admin-table-header_button-3", "theme", "icon-primary", "drDropdownPosition", "bottom-right", "icon", "dr-icon-more", 1, "dr-grid-toolbar__actions__more-actions", 3, "drTooltip", "drDropdown", "click"], ["data-analytics", "admin_admin-table-header_button-5", "theme", "icon-secondary", "icon", "dr-icon-refresh", "drTooltip", "Refresh", "drTooltipPosition", "top", 1, "dr-grid-toolbar__actions__refresh", 3, "click"], ["drTooltip", "Export table to csv file", "drTooltipPosition", "top-right", "data-analytics", "admin_admin-table-header_button-6", "theme", "icon-secondary", "icon", "dr-icon-export-excel", 1, "dr-grid-toolbar__actions__export", 3, "click"]], template: function DrGridToolbarComponent_Template(rf, ctx) { if (rf & 1) {
|
|
18839
18886
|
i0.ɵɵprojectionDef();
|
|
18840
18887
|
i0.ɵɵelementStart(0, "div", 0);
|
|
18841
18888
|
i0.ɵɵtext(1);
|
|
@@ -18989,7 +19036,7 @@ class DrDividerComponent {
|
|
|
18989
19036
|
args: ['class.dr-divider--vertical']
|
|
18990
19037
|
}] }); })();
|
|
18991
19038
|
|
|
18992
|
-
const _c0$
|
|
19039
|
+
const _c0$8 = ["*"];
|
|
18993
19040
|
class DrCardComponent {
|
|
18994
19041
|
constructor() {
|
|
18995
19042
|
this.padding = 'medium';
|
|
@@ -19006,7 +19053,7 @@ class DrCardComponent {
|
|
|
19006
19053
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCardComponent, selectors: [["dr-card"]], hostVars: 4, hostBindings: function DrCardComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
19007
19054
|
i0.ɵɵattribute("role", ctx.role)("aria-label", ctx.ariaLabelAttr);
|
|
19008
19055
|
i0.ɵɵclassMap(ctx.hostClasses);
|
|
19009
|
-
} }, inputs: { padding: "padding", appearance: "appearance", ariaLabel: "ariaLabel" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
19056
|
+
} }, inputs: { padding: "padding", appearance: "appearance", ariaLabel: "ariaLabel" }, standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$8, decls: 1, vars: 0, template: function DrCardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19010
19057
|
i0.ɵɵprojectionDef();
|
|
19011
19058
|
i0.ɵɵprojection(0);
|
|
19012
19059
|
} }, styles: ["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%;width:100%;overflow:hidden;background-color:#fff;color:#6d6e6f}.dr-card--appearance-outlined[_nghost-%COMP%]{border-radius:12px;border:1px solid #dfe0e3}.dr-card--appearance-flat[_nghost-%COMP%]{border:none;border-radius:0}.dr-card--padding-none[_nghost-%COMP%] dr-card-header{padding:0}.dr-card--padding-none[_nghost-%COMP%] dr-card-content{padding:0}[_nghost-%COMP%] .dr-card-title{display:block;font-size:16px;font-weight:500;line-height:24px;color:#333;flex-grow:1;width:1px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[_nghost-%COMP%] .dr-card-subtitle{display:block;font-size:14px;font-weight:400;line-height:24px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"], changeDetection: 0 }); }
|
|
@@ -19031,10 +19078,10 @@ class DrCardComponent {
|
|
|
19031
19078
|
args: ['attr.aria-label']
|
|
19032
19079
|
}] }); })();
|
|
19033
19080
|
|
|
19034
|
-
const _c0$
|
|
19081
|
+
const _c0$7 = ["*"];
|
|
19035
19082
|
class DrCardContentComponent {
|
|
19036
19083
|
/** @nocollapse */ static { this.ɵfac = function DrCardContentComponent_Factory(t) { return new (t || DrCardContentComponent)(); }; }
|
|
19037
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCardContentComponent, selectors: [["dr-card-content"]], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
19084
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCardContentComponent, selectors: [["dr-card-content"]], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$7, decls: 1, vars: 0, template: function DrCardContentComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19038
19085
|
i0.ɵɵprojectionDef();
|
|
19039
19086
|
i0.ɵɵprojection(0);
|
|
19040
19087
|
} }, styles: ["[_nghost-%COMP%]{display:block;flex:1;overflow:auto;padding:0 24px;line-height:24px}"], changeDetection: 0 }); }
|
|
@@ -19044,12 +19091,12 @@ class DrCardContentComponent {
|
|
|
19044
19091
|
args: [{ selector: 'dr-card-content', template: `<ng-content></ng-content>`, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, styles: [":host{display:block;flex:1;overflow:auto;padding:0 24px;line-height:24px}\n"] }]
|
|
19045
19092
|
}], null, null); })();
|
|
19046
19093
|
|
|
19047
|
-
const _c0$
|
|
19048
|
-
const _c1 = ["dr-card-title, dr-card-header-title, [dr-card-title], [drCardTitle]", "dr-card-header-actions", "dr-card-subtitle, dr-card-header-subtitle, [dr-card-subtitle], [drCardSubtitle]"];
|
|
19094
|
+
const _c0$6 = [[["dr-card-title"], ["dr-card-header-title"], ["", "dr-card-title", ""], ["", "drCardTitle", ""]], [["dr-card-header-actions"]], [["dr-card-subtitle"], ["dr-card-header-subtitle"], ["", "dr-card-subtitle", ""], ["", "drCardSubtitle", ""]]];
|
|
19095
|
+
const _c1$2 = ["dr-card-title, dr-card-header-title, [dr-card-title], [drCardTitle]", "dr-card-header-actions", "dr-card-subtitle, dr-card-header-subtitle, [dr-card-subtitle], [drCardSubtitle]"];
|
|
19049
19096
|
class DrCardHeaderComponent {
|
|
19050
19097
|
/** @nocollapse */ static { this.ɵfac = function DrCardHeaderComponent_Factory(t) { return new (t || DrCardHeaderComponent)(); }; }
|
|
19051
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCardHeaderComponent, selectors: [["dr-card-header"]], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c1, decls: 4, vars: 0, consts: [[1, "card__header-wrapper"]], template: function DrCardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19052
|
-
i0.ɵɵprojectionDef(_c0$
|
|
19098
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCardHeaderComponent, selectors: [["dr-card-header"]], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c1$2, decls: 4, vars: 0, consts: [[1, "card__header-wrapper"]], template: function DrCardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19099
|
+
i0.ɵɵprojectionDef(_c0$6);
|
|
19053
19100
|
i0.ɵɵelementStart(0, "div", 0);
|
|
19054
19101
|
i0.ɵɵprojection(1);
|
|
19055
19102
|
i0.ɵɵprojection(2, 1);
|
|
@@ -19068,10 +19115,10 @@ class DrCardHeaderComponent {
|
|
|
19068
19115
|
`, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, styles: [":host{display:block;padding:24px 24px 16px;overflow:hidden;width:100%}:host .card__header-wrapper{flex-shrink:0;overflow:hidden;width:100%;display:flex;align-items:center}\n"] }]
|
|
19069
19116
|
}], null, null); })();
|
|
19070
19117
|
|
|
19071
|
-
const _c0$
|
|
19118
|
+
const _c0$5 = ["*"];
|
|
19072
19119
|
class DrCardHeaderActionsComponent {
|
|
19073
19120
|
/** @nocollapse */ static { this.ɵfac = function DrCardHeaderActionsComponent_Factory(t) { return new (t || DrCardHeaderActionsComponent)(); }; }
|
|
19074
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCardHeaderActionsComponent, selectors: [["dr-card-header-actions"]], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
19121
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCardHeaderActionsComponent, selectors: [["dr-card-header-actions"]], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$5, decls: 1, vars: 0, template: function DrCardHeaderActionsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19075
19122
|
i0.ɵɵprojectionDef();
|
|
19076
19123
|
i0.ɵɵprojection(0);
|
|
19077
19124
|
} }, styles: ["[_nghost-%COMP%]{display:block;line-height:24px;flex-shrink:0}"], changeDetection: 0 }); }
|
|
@@ -19082,10 +19129,10 @@ class DrCardHeaderActionsComponent {
|
|
|
19082
19129
|
}], null, null); })();
|
|
19083
19130
|
|
|
19084
19131
|
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
19085
|
-
const _c0$
|
|
19132
|
+
const _c0$4 = ["*"];
|
|
19086
19133
|
class DrCardTitleComponent {
|
|
19087
19134
|
/** @nocollapse */ static { this.ɵfac = function DrCardTitleComponent_Factory(t) { return new (t || DrCardTitleComponent)(); }; }
|
|
19088
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCardTitleComponent, selectors: [["dr-card-title"], ["dr-card-header-title"], ["", "dr-card-title", ""], ["", "drCardTitle", ""]], hostAttrs: ["role", "heading", "aria-level", "2", 1, "dr-card-title"], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
19135
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCardTitleComponent, selectors: [["dr-card-title"], ["dr-card-header-title"], ["", "dr-card-title", ""], ["", "drCardTitle", ""]], hostAttrs: ["role", "heading", "aria-level", "2", 1, "dr-card-title"], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$4, decls: 1, vars: 0, template: function DrCardTitleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19089
19136
|
i0.ɵɵprojectionDef();
|
|
19090
19137
|
i0.ɵɵprojection(0);
|
|
19091
19138
|
} }, encapsulation: 2, changeDetection: 0 }); }
|
|
@@ -19106,10 +19153,10 @@ class DrCardTitleComponent {
|
|
|
19106
19153
|
}], null, null); })();
|
|
19107
19154
|
|
|
19108
19155
|
/* eslint-disable @angular-eslint/no-host-metadata-property */
|
|
19109
|
-
const _c0$
|
|
19156
|
+
const _c0$3 = ["*"];
|
|
19110
19157
|
class DrCardSubtitleComponent {
|
|
19111
19158
|
/** @nocollapse */ static { this.ɵfac = function DrCardSubtitleComponent_Factory(t) { return new (t || DrCardSubtitleComponent)(); }; }
|
|
19112
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCardSubtitleComponent, selectors: [["dr-card-subtitle"], ["dr-card-header-subtitle"], ["", "dr-card-subtitle", ""], ["", "drCardSubtitle", ""]], hostAttrs: ["role", "heading", "aria-level", "3", 1, "dr-card-subtitle"], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$
|
|
19159
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrCardSubtitleComponent, selectors: [["dr-card-subtitle"], ["dr-card-header-subtitle"], ["", "dr-card-subtitle", ""], ["", "drCardSubtitle", ""]], hostAttrs: ["role", "heading", "aria-level", "3", 1, "dr-card-subtitle"], standalone: true, features: [i0.ɵɵStandaloneFeature], ngContentSelectors: _c0$3, decls: 1, vars: 0, template: function DrCardSubtitleComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19113
19160
|
i0.ɵɵprojectionDef();
|
|
19114
19161
|
i0.ɵɵprojection(0);
|
|
19115
19162
|
} }, encapsulation: 2, changeDetection: 0 }); }
|
|
@@ -19161,6 +19208,936 @@ class DrCardModule {
|
|
|
19161
19208
|
DrCardTitleComponent,
|
|
19162
19209
|
DrCardSubtitleComponent] }); })();
|
|
19163
19210
|
|
|
19211
|
+
class DrDragDropDirective {
|
|
19212
|
+
constructor() {
|
|
19213
|
+
this.fileDrop = new EventEmitter();
|
|
19214
|
+
this.dragStateChange = new EventEmitter();
|
|
19215
|
+
this.isDragover = false;
|
|
19216
|
+
}
|
|
19217
|
+
onDragOver(event) {
|
|
19218
|
+
event.preventDefault();
|
|
19219
|
+
event.stopPropagation();
|
|
19220
|
+
if (!this.isDragover) {
|
|
19221
|
+
this.isDragover = true;
|
|
19222
|
+
this.dragStateChange.emit(true);
|
|
19223
|
+
}
|
|
19224
|
+
}
|
|
19225
|
+
onDragLeave(event) {
|
|
19226
|
+
event.preventDefault();
|
|
19227
|
+
event.stopPropagation();
|
|
19228
|
+
this.isDragover = false;
|
|
19229
|
+
this.dragStateChange.emit(false);
|
|
19230
|
+
}
|
|
19231
|
+
onDrop(event) {
|
|
19232
|
+
event.preventDefault();
|
|
19233
|
+
event.stopPropagation();
|
|
19234
|
+
this.isDragover = false;
|
|
19235
|
+
this.dragStateChange.emit(false);
|
|
19236
|
+
const files = event.dataTransfer?.files;
|
|
19237
|
+
if (files && files.length > 0) {
|
|
19238
|
+
this.fileDrop.emit(files);
|
|
19239
|
+
}
|
|
19240
|
+
}
|
|
19241
|
+
/** @nocollapse */ static { this.ɵfac = function DrDragDropDirective_Factory(t) { return new (t || DrDragDropDirective)(); }; }
|
|
19242
|
+
/** @nocollapse */ static { this.ɵdir = /** @pureOrBreakMyCode */ i0.ɵɵdefineDirective({ type: DrDragDropDirective, selectors: [["", "drDragDrop", ""]], hostVars: 2, hostBindings: function DrDragDropDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
19243
|
+
i0.ɵɵlistener("dragover", function DrDragDropDirective_dragover_HostBindingHandler($event) { return ctx.onDragOver($event); })("dragleave", function DrDragDropDirective_dragleave_HostBindingHandler($event) { return ctx.onDragLeave($event); })("drop", function DrDragDropDirective_drop_HostBindingHandler($event) { return ctx.onDrop($event); });
|
|
19244
|
+
} if (rf & 2) {
|
|
19245
|
+
i0.ɵɵclassProp("dr-file-upload--dragover", ctx.isDragover);
|
|
19246
|
+
} }, outputs: { fileDrop: "fileDrop", dragStateChange: "dragStateChange" }, standalone: true }); }
|
|
19247
|
+
}
|
|
19248
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrDragDropDirective, [{
|
|
19249
|
+
type: Directive,
|
|
19250
|
+
args: [{
|
|
19251
|
+
selector: '[drDragDrop]',
|
|
19252
|
+
standalone: true,
|
|
19253
|
+
}]
|
|
19254
|
+
}], null, { fileDrop: [{
|
|
19255
|
+
type: Output
|
|
19256
|
+
}], dragStateChange: [{
|
|
19257
|
+
type: Output
|
|
19258
|
+
}], isDragover: [{
|
|
19259
|
+
type: HostBinding,
|
|
19260
|
+
args: ['class.dr-file-upload--dragover']
|
|
19261
|
+
}], onDragOver: [{
|
|
19262
|
+
type: HostListener,
|
|
19263
|
+
args: ['dragover', ['$event']]
|
|
19264
|
+
}], onDragLeave: [{
|
|
19265
|
+
type: HostListener,
|
|
19266
|
+
args: ['dragleave', ['$event']]
|
|
19267
|
+
}], onDrop: [{
|
|
19268
|
+
type: HostListener,
|
|
19269
|
+
args: ['drop', ['$event']]
|
|
19270
|
+
}] }); })();
|
|
19271
|
+
|
|
19272
|
+
function DrFileUploadItemComponent_ng_container_7_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
19273
|
+
i0.ɵɵelementStart(0, "div", 9);
|
|
19274
|
+
i0.ɵɵelement(1, "dr-progress-bar", 10);
|
|
19275
|
+
i0.ɵɵelementEnd();
|
|
19276
|
+
} if (rf & 2) {
|
|
19277
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
19278
|
+
i0.ɵɵattribute("aria-label", "Uploading " + ctx_r2.item.file.name + ": " + ctx_r2.item.progress + "% complete");
|
|
19279
|
+
i0.ɵɵadvance(1);
|
|
19280
|
+
i0.ɵɵproperty("progress", ctx_r2.item.progress)("showValue", false);
|
|
19281
|
+
} }
|
|
19282
|
+
function DrFileUploadItemComponent_ng_container_7_div_2_div_2_i_1_Template(rf, ctx) { if (rf & 1) {
|
|
19283
|
+
i0.ɵɵelement(0, "i", 14);
|
|
19284
|
+
} }
|
|
19285
|
+
function DrFileUploadItemComponent_ng_container_7_div_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
19286
|
+
i0.ɵɵelementStart(0, "div", 12);
|
|
19287
|
+
i0.ɵɵtemplate(1, DrFileUploadItemComponent_ng_container_7_div_2_div_2_i_1_Template, 1, 0, "i", 13);
|
|
19288
|
+
i0.ɵɵelementEnd();
|
|
19289
|
+
} if (rf & 2) {
|
|
19290
|
+
const ctx_r5 = i0.ɵɵnextContext(3);
|
|
19291
|
+
i0.ɵɵadvance(1);
|
|
19292
|
+
i0.ɵɵproperty("ngIf", ctx_r5.item.status === "success");
|
|
19293
|
+
} }
|
|
19294
|
+
function DrFileUploadItemComponent_ng_container_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
19295
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "dr-progress-bar", 10);
|
|
19296
|
+
i0.ɵɵtemplate(2, DrFileUploadItemComponent_ng_container_7_div_2_div_2_Template, 2, 1, "div", 11);
|
|
19297
|
+
i0.ɵɵelementEnd()();
|
|
19298
|
+
} if (rf & 2) {
|
|
19299
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
19300
|
+
i0.ɵɵattribute("aria-label", ctx_r3.item.file.name + " upload complete");
|
|
19301
|
+
i0.ɵɵadvance(1);
|
|
19302
|
+
i0.ɵɵproperty("progress", 100)("showValue", false);
|
|
19303
|
+
i0.ɵɵadvance(1);
|
|
19304
|
+
i0.ɵɵproperty("ngIf", !ctx_r3.compact);
|
|
19305
|
+
} }
|
|
19306
|
+
function DrFileUploadItemComponent_ng_container_7_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
19307
|
+
i0.ɵɵelementStart(0, "div", 15);
|
|
19308
|
+
i0.ɵɵtext(1);
|
|
19309
|
+
i0.ɵɵelementEnd();
|
|
19310
|
+
} if (rf & 2) {
|
|
19311
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
19312
|
+
i0.ɵɵattribute("aria-live", ctx_r4.item.status === "error" ? "assertive" : "polite")("role", ctx_r4.item.status === "error" ? "alert" : null);
|
|
19313
|
+
i0.ɵɵadvance(1);
|
|
19314
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r4.statusText, " ");
|
|
19315
|
+
} }
|
|
19316
|
+
function DrFileUploadItemComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
19317
|
+
i0.ɵɵelementContainerStart(0);
|
|
19318
|
+
i0.ɵɵtemplate(1, DrFileUploadItemComponent_ng_container_7_div_1_Template, 2, 3, "div", 7);
|
|
19319
|
+
i0.ɵɵtemplate(2, DrFileUploadItemComponent_ng_container_7_div_2_Template, 3, 4, "div", 7);
|
|
19320
|
+
i0.ɵɵtemplate(3, DrFileUploadItemComponent_ng_container_7_div_3_Template, 2, 3, "div", 8);
|
|
19321
|
+
i0.ɵɵelementContainerEnd();
|
|
19322
|
+
} if (rf & 2) {
|
|
19323
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
19324
|
+
i0.ɵɵadvance(1);
|
|
19325
|
+
i0.ɵɵproperty("ngIf", ctx_r0.item.status === "uploading" || ctx_r0.item.status === "pending");
|
|
19326
|
+
i0.ɵɵadvance(1);
|
|
19327
|
+
i0.ɵɵproperty("ngIf", ctx_r0.item.status === "success");
|
|
19328
|
+
i0.ɵɵadvance(1);
|
|
19329
|
+
i0.ɵɵproperty("ngIf", ctx_r0.statusText && !ctx_r0.compact);
|
|
19330
|
+
} }
|
|
19331
|
+
function DrFileUploadItemComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
19332
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
19333
|
+
i0.ɵɵelementStart(0, "div", 16)(1, "button", 17);
|
|
19334
|
+
i0.ɵɵlistener("click", function DrFileUploadItemComponent_div_8_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r8); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.onRemoveClick()); });
|
|
19335
|
+
i0.ɵɵelement(2, "i", 18);
|
|
19336
|
+
i0.ɵɵelementEnd()();
|
|
19337
|
+
} if (rf & 2) {
|
|
19338
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
19339
|
+
i0.ɵɵadvance(1);
|
|
19340
|
+
i0.ɵɵattribute("aria-label", "Remove file " + ctx_r1.item.file.name);
|
|
19341
|
+
} }
|
|
19342
|
+
class DrFileUploadItemComponent {
|
|
19343
|
+
constructor() {
|
|
19344
|
+
this.removable = true;
|
|
19345
|
+
this.compact = false;
|
|
19346
|
+
this.remove = new EventEmitter();
|
|
19347
|
+
}
|
|
19348
|
+
get statusText() {
|
|
19349
|
+
switch (this.item?.status) {
|
|
19350
|
+
case 'success':
|
|
19351
|
+
return 'Upload completed';
|
|
19352
|
+
case 'error':
|
|
19353
|
+
return this.item.errorMessage || 'Upload failed';
|
|
19354
|
+
case 'uploading':
|
|
19355
|
+
return 'Uploading';
|
|
19356
|
+
case 'idle':
|
|
19357
|
+
case 'pending':
|
|
19358
|
+
default:
|
|
19359
|
+
return '';
|
|
19360
|
+
}
|
|
19361
|
+
}
|
|
19362
|
+
get statusAriaText() {
|
|
19363
|
+
switch (this.item?.status) {
|
|
19364
|
+
case 'success':
|
|
19365
|
+
return 'Status: Upload completed';
|
|
19366
|
+
case 'error':
|
|
19367
|
+
return `Status: ${this.item.errorMessage || 'Upload failed'}`;
|
|
19368
|
+
case 'uploading':
|
|
19369
|
+
return `Status: Uploading, ${this.item.progress}% complete`;
|
|
19370
|
+
case 'pending':
|
|
19371
|
+
return 'Status: Pending upload';
|
|
19372
|
+
case 'idle':
|
|
19373
|
+
return 'Status: Ready for upload';
|
|
19374
|
+
default:
|
|
19375
|
+
return '';
|
|
19376
|
+
}
|
|
19377
|
+
}
|
|
19378
|
+
get withRemoveButton() {
|
|
19379
|
+
return this.removable && (!this.compact || (this.compact && this.item.status !== 'uploading'));
|
|
19380
|
+
}
|
|
19381
|
+
get withActions() {
|
|
19382
|
+
return this.withRemoveButton;
|
|
19383
|
+
}
|
|
19384
|
+
onRemoveClick() {
|
|
19385
|
+
this.remove.emit();
|
|
19386
|
+
}
|
|
19387
|
+
/** @nocollapse */ static { this.ɵfac = function DrFileUploadItemComponent_Factory(t) { return new (t || DrFileUploadItemComponent)(); }; }
|
|
19388
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrFileUploadItemComponent, selectors: [["dr-file-upload-item"]], hostAttrs: ["role", "article"], hostVars: 11, hostBindings: function DrFileUploadItemComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
19389
|
+
i0.ɵɵattribute("aria-label", ctx.statusAriaText);
|
|
19390
|
+
i0.ɵɵclassProp("dr-file-upload-item--compact", ctx.compact)("dr-file-upload-item--success", (ctx.item == null ? null : ctx.item.status) === "success")("dr-file-upload-item--error", (ctx.item == null ? null : ctx.item.status) === "error")("dr-file-upload-item--uploading", (ctx.item == null ? null : ctx.item.status) === "uploading")("dr-file-upload-item--idle", (ctx.item == null ? null : ctx.item.status) === "idle");
|
|
19391
|
+
} }, inputs: { item: "item", removable: ["removable", "removable", booleanAttribute], compact: ["compact", "compact", booleanAttribute] }, outputs: { remove: "remove" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵStandaloneFeature], decls: 9, vars: 3, consts: [["aria-hidden", "true", 1, "dr-file-upload-item__icon"], [1, "dr-icon-attachment"], [1, "dr-file-upload-item__content"], [1, "dr-file-upload-item__header"], [1, "dr-file-upload-item__filename"], [4, "ngIf"], ["class", "dr-file-upload-item__actions", 4, "ngIf"], ["class", "dr-file-upload-item__progress", 4, "ngIf"], ["class", "dr-file-upload-item__status", 4, "ngIf"], [1, "dr-file-upload-item__progress"], [3, "progress", "showValue"], ["class", "dr-file-upload-item__success-container", 4, "ngIf"], [1, "dr-file-upload-item__success-container"], ["class", "dr-file-upload-item__success-icon dr-icon-approve", "aria-hidden", "true", 4, "ngIf"], ["aria-hidden", "true", 1, "dr-file-upload-item__success-icon", "dr-icon-approve"], [1, "dr-file-upload-item__status"], [1, "dr-file-upload-item__actions"], ["type", "button", 1, "dr-file-upload-item__remove-btn", 3, "click"], ["aria-hidden", "true", 1, "dr-file-upload-item__remove-icon", "dr-icon-exit"]], template: function DrFileUploadItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19392
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
19393
|
+
i0.ɵɵelement(1, "i", 1);
|
|
19394
|
+
i0.ɵɵelementEnd();
|
|
19395
|
+
i0.ɵɵelementStart(2, "div", 2)(3, "div", 3)(4, "span", 4)(5, "dr-text-overflow");
|
|
19396
|
+
i0.ɵɵtext(6);
|
|
19397
|
+
i0.ɵɵelementEnd()()();
|
|
19398
|
+
i0.ɵɵtemplate(7, DrFileUploadItemComponent_ng_container_7_Template, 4, 3, "ng-container", 5);
|
|
19399
|
+
i0.ɵɵelementEnd();
|
|
19400
|
+
i0.ɵɵtemplate(8, DrFileUploadItemComponent_div_8_Template, 3, 1, "div", 6);
|
|
19401
|
+
} if (rf & 2) {
|
|
19402
|
+
i0.ɵɵadvance(6);
|
|
19403
|
+
i0.ɵɵtextInterpolate1(" ", ctx.item.file.name, " ");
|
|
19404
|
+
i0.ɵɵadvance(1);
|
|
19405
|
+
i0.ɵɵproperty("ngIf", ctx.item.status !== "idle");
|
|
19406
|
+
i0.ɵɵadvance(1);
|
|
19407
|
+
i0.ɵɵproperty("ngIf", ctx.withActions);
|
|
19408
|
+
} }, dependencies: [CommonModule, i1$1.NgIf, DrProgressBarComponent, TextOverflowComponent], styles: ["[_nghost-%COMP%]{display:flex;align-items:center;gap:8px;padding:4px 24px 4px 16px;background:#fff;border:1px solid #dfe0e3;border-radius:6px;min-height:40px;width:100%}.dr-file-upload-item--compact[_nghost-%COMP%]{padding:4px 16px 4px 8px;width:200px}.dr-file-upload-item--compact[_nghost-%COMP%] .dr-file-upload-item__icon[_ngcontent-%COMP%]{width:24px;height:24px}.dr-file-upload-item--compact[_nghost-%COMP%] .dr-file-upload-item__filename[_ngcontent-%COMP%]{font-size:12px;line-height:16px;font-weight:400}.dr-file-upload-item__icon[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:linear-gradient(90deg,#4646ce1a 0% 100%),#fff;border-radius:4px;flex-shrink:0}.dr-file-upload-item__icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:24px;color:#4646ce}.dr-file-upload-item__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;min-width:0;gap:4px}.dr-file-upload-item__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px}.dr-file-upload-item__filename[_ngcontent-%COMP%]{font-size:14px;line-height:24px;font-weight:400;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dr-file-upload-item__progress[_ngcontent-%COMP%]{width:100%}.dr-file-upload-item__progress[_ngcontent-%COMP%] dr-progress-bar[_ngcontent-%COMP%]{gap:8px}.dr-file-upload-item__status[_ngcontent-%COMP%]{font-size:12px;line-height:16px;font-weight:400;color:#aeabac;min-height:26px}.dr-file-upload-item__actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;flex-shrink:0}.dr-file-upload-item__success-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;border-radius:50%;width:16px;height:16px;background-color:#037c5a}.dr-file-upload-item__success-icon[_ngcontent-%COMP%]{font-size:16px;color:#fff}.dr-file-upload-item__remove-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding:0;margin:0;border:none;background:transparent;cursor:pointer;border-radius:2px}.dr-file-upload-item__remove-btn[_ngcontent-%COMP%]:focus{outline:2px solid #4646ce;outline-offset:2px}.dr-file-upload-item__remove-btn[_ngcontent-%COMP%]:focus:not(:focus-visible){outline:none}.dr-file-upload-item__remove-btn[_ngcontent-%COMP%]:focus-visible{outline:2px solid #4646ce;outline-offset:2px}.dr-file-upload-item__remove-icon[_ngcontent-%COMP%]{font-size:24px;color:#6d6e6f;cursor:pointer;transition:color .2s ease-in-out}.dr-file-upload-item__remove-icon[_ngcontent-%COMP%]:hover{color:#333}.dr-file-upload-item--success[_nghost-%COMP%] .dr-file-upload-item__status[_ngcontent-%COMP%]{color:#037c5a}.dr-file-upload-item--error[_nghost-%COMP%] .dr-file-upload-item__status[_ngcontent-%COMP%]{color:#bf1d30}"], changeDetection: 0 }); }
|
|
19409
|
+
}
|
|
19410
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrFileUploadItemComponent, [{
|
|
19411
|
+
type: Component,
|
|
19412
|
+
args: [{ selector: 'dr-file-upload-item', standalone: true, imports: [CommonModule, DrProgressBarComponent, TextOverflowComponent], changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
19413
|
+
role: 'article',
|
|
19414
|
+
'[attr.aria-label]': 'statusAriaText',
|
|
19415
|
+
'[class.dr-file-upload-item--compact]': 'compact',
|
|
19416
|
+
'[class.dr-file-upload-item--success]': 'item?.status === "success"',
|
|
19417
|
+
'[class.dr-file-upload-item--error]': 'item?.status === "error"',
|
|
19418
|
+
'[class.dr-file-upload-item--uploading]': 'item?.status === "uploading"',
|
|
19419
|
+
'[class.dr-file-upload-item--idle]': 'item?.status === "idle"',
|
|
19420
|
+
}, template: "<div class=\"dr-file-upload-item__icon\" aria-hidden=\"true\">\n <i class=\"dr-icon-attachment\"></i>\n</div>\n\n<div class=\"dr-file-upload-item__content\">\n <div class=\"dr-file-upload-item__header\">\n <span class=\"dr-file-upload-item__filename\">\n <dr-text-overflow>\n {{ item.file.name }}\n </dr-text-overflow>\n </span>\n </div>\n\n <ng-container *ngIf=\"item.status !== 'idle'\">\n <div\n class=\"dr-file-upload-item__progress\"\n *ngIf=\"item.status === 'uploading' || item.status === 'pending'\"\n [attr.aria-label]=\"'Uploading ' + item.file.name + ': ' + item.progress + '% complete'\">\n <dr-progress-bar [progress]=\"item.progress\" [showValue]=\"false\"></dr-progress-bar>\n </div>\n\n <div\n class=\"dr-file-upload-item__progress\"\n *ngIf=\"item.status === 'success'\"\n [attr.aria-label]=\"item.file.name + ' upload complete'\">\n <dr-progress-bar [progress]=\"100\" [showValue]=\"false\">\n <div class=\"dr-file-upload-item__success-container\" *ngIf=\"!compact\">\n <i\n *ngIf=\"item.status === 'success'\"\n class=\"dr-file-upload-item__success-icon dr-icon-approve\"\n aria-hidden=\"true\">\n </i>\n </div>\n </dr-progress-bar>\n </div>\n\n <div\n class=\"dr-file-upload-item__status\"\n *ngIf=\"statusText && !compact\"\n [attr.aria-live]=\"item.status === 'error' ? 'assertive' : 'polite'\"\n [attr.role]=\"item.status === 'error' ? 'alert' : null\">\n {{ statusText }}\n </div>\n </ng-container>\n</div>\n\n<div class=\"dr-file-upload-item__actions\" *ngIf=\"withActions\">\n <button\n type=\"button\"\n class=\"dr-file-upload-item__remove-btn\"\n [attr.aria-label]=\"'Remove file ' + item.file.name\"\n (click)=\"onRemoveClick()\">\n <i class=\"dr-file-upload-item__remove-icon dr-icon-exit\" aria-hidden=\"true\"></i>\n </button>\n</div>\n", styles: [":host{display:flex;align-items:center;gap:8px;padding:4px 24px 4px 16px;background:#fff;border:1px solid #dfe0e3;border-radius:6px;min-height:40px;width:100%}:host.dr-file-upload-item--compact{padding:4px 16px 4px 8px;width:200px}:host.dr-file-upload-item--compact .dr-file-upload-item__icon{width:24px;height:24px}:host.dr-file-upload-item--compact .dr-file-upload-item__filename{font-size:12px;line-height:16px;font-weight:400}.dr-file-upload-item__icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:linear-gradient(90deg,#4646ce1a 0% 100%),#fff;border-radius:4px;flex-shrink:0}.dr-file-upload-item__icon i{font-size:24px;color:#4646ce}.dr-file-upload-item__content{display:flex;flex-direction:column;flex:1;min-width:0;gap:4px}.dr-file-upload-item__header{display:flex;align-items:center;justify-content:space-between;gap:16px}.dr-file-upload-item__filename{font-size:14px;line-height:24px;font-weight:400;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dr-file-upload-item__progress{width:100%}.dr-file-upload-item__progress dr-progress-bar{gap:8px}.dr-file-upload-item__status{font-size:12px;line-height:16px;font-weight:400;color:#aeabac;min-height:26px}.dr-file-upload-item__actions{display:flex;align-items:center;gap:4px;flex-shrink:0}.dr-file-upload-item__success-container{display:flex;align-items:center;justify-content:center;border-radius:50%;width:16px;height:16px;background-color:#037c5a}.dr-file-upload-item__success-icon{font-size:16px;color:#fff}.dr-file-upload-item__remove-btn{display:flex;align-items:center;justify-content:center;padding:0;margin:0;border:none;background:transparent;cursor:pointer;border-radius:2px}.dr-file-upload-item__remove-btn:focus{outline:2px solid #4646ce;outline-offset:2px}.dr-file-upload-item__remove-btn:focus:not(:focus-visible){outline:none}.dr-file-upload-item__remove-btn:focus-visible{outline:2px solid #4646ce;outline-offset:2px}.dr-file-upload-item__remove-icon{font-size:24px;color:#6d6e6f;cursor:pointer;transition:color .2s ease-in-out}.dr-file-upload-item__remove-icon:hover{color:#333}:host(.dr-file-upload-item--success) .dr-file-upload-item__status{color:#037c5a}:host(.dr-file-upload-item--error) .dr-file-upload-item__status{color:#bf1d30}\n"] }]
|
|
19421
|
+
}], null, { item: [{
|
|
19422
|
+
type: Input,
|
|
19423
|
+
args: [{ required: true }]
|
|
19424
|
+
}], removable: [{
|
|
19425
|
+
type: Input,
|
|
19426
|
+
args: [{ transform: booleanAttribute }]
|
|
19427
|
+
}], compact: [{
|
|
19428
|
+
type: Input,
|
|
19429
|
+
args: [{ transform: booleanAttribute }]
|
|
19430
|
+
}], remove: [{
|
|
19431
|
+
type: Output
|
|
19432
|
+
}] }); })();
|
|
19433
|
+
|
|
19434
|
+
class FileUploadValidationService {
|
|
19435
|
+
filterByFormat(files, accept) {
|
|
19436
|
+
const allowedExtensions = this.getAcceptedExtensions(accept);
|
|
19437
|
+
const allowedMimes = this.getAcceptedMimes(accept);
|
|
19438
|
+
let invalidFileName;
|
|
19439
|
+
const valid = files.filter((file) => {
|
|
19440
|
+
const isValid = this.isFileFormatValid(file, allowedExtensions, allowedMimes);
|
|
19441
|
+
if (!isValid && !invalidFileName) {
|
|
19442
|
+
invalidFileName = file.name;
|
|
19443
|
+
}
|
|
19444
|
+
return isValid;
|
|
19445
|
+
});
|
|
19446
|
+
return { valid, invalidFileName };
|
|
19447
|
+
}
|
|
19448
|
+
filterBySize(files, maxFileSizeMB) {
|
|
19449
|
+
const maxBytes = maxFileSizeMB * 1024 * 1024;
|
|
19450
|
+
let oversizedFileName;
|
|
19451
|
+
const valid = files.filter((file) => {
|
|
19452
|
+
const isValid = file.size <= maxBytes;
|
|
19453
|
+
if (!isValid && !oversizedFileName) {
|
|
19454
|
+
oversizedFileName = file.name;
|
|
19455
|
+
}
|
|
19456
|
+
return isValid;
|
|
19457
|
+
});
|
|
19458
|
+
return { valid, oversizedFileName };
|
|
19459
|
+
}
|
|
19460
|
+
getAcceptedExtensions(accept) {
|
|
19461
|
+
return (accept || '')
|
|
19462
|
+
.split(',')
|
|
19463
|
+
.map((s) => s.trim().toLowerCase())
|
|
19464
|
+
.filter((s) => s.startsWith('.'))
|
|
19465
|
+
.map((s) => s.substring(1));
|
|
19466
|
+
}
|
|
19467
|
+
getAcceptedMimes(accept) {
|
|
19468
|
+
return (accept || '')
|
|
19469
|
+
.split(',')
|
|
19470
|
+
.map((s) => s.trim().toLowerCase())
|
|
19471
|
+
.filter((s) => s.includes('/'));
|
|
19472
|
+
}
|
|
19473
|
+
isFileFormatValid(file, allowedExtensions, allowedMimes) {
|
|
19474
|
+
const mime = (file.type || '').toLowerCase();
|
|
19475
|
+
const name = file.name || '';
|
|
19476
|
+
const ext = name.includes('.') ? name.split('.').pop()?.toLowerCase() || '' : '';
|
|
19477
|
+
if (mime && allowedMimes.length > 0) {
|
|
19478
|
+
const mimeMatches = allowedMimes.some((allowedMime) => {
|
|
19479
|
+
if (allowedMime === '*/*') {
|
|
19480
|
+
return true;
|
|
19481
|
+
}
|
|
19482
|
+
if (allowedMime.endsWith('/*')) {
|
|
19483
|
+
const prefix = allowedMime.slice(0, -1); // 'image/*' -> 'image/'
|
|
19484
|
+
return mime.startsWith(prefix);
|
|
19485
|
+
}
|
|
19486
|
+
return allowedMime === mime;
|
|
19487
|
+
});
|
|
19488
|
+
if (mimeMatches) {
|
|
19489
|
+
return true;
|
|
19490
|
+
}
|
|
19491
|
+
}
|
|
19492
|
+
if (ext && allowedExtensions.length > 0 && allowedExtensions.includes(ext)) {
|
|
19493
|
+
return true;
|
|
19494
|
+
}
|
|
19495
|
+
if (allowedExtensions.length === 0 && allowedMimes.length === 0) {
|
|
19496
|
+
return true;
|
|
19497
|
+
}
|
|
19498
|
+
return false;
|
|
19499
|
+
}
|
|
19500
|
+
/** @nocollapse */ static { this.ɵfac = function FileUploadValidationService_Factory(t) { return new (t || FileUploadValidationService)(); }; }
|
|
19501
|
+
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FileUploadValidationService, factory: FileUploadValidationService.ɵfac, providedIn: 'root' }); }
|
|
19502
|
+
}
|
|
19503
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileUploadValidationService, [{
|
|
19504
|
+
type: Injectable,
|
|
19505
|
+
args: [{ providedIn: 'root' }]
|
|
19506
|
+
}], null, null); })();
|
|
19507
|
+
|
|
19508
|
+
const _c0$2 = ["dropzoneTemplate"];
|
|
19509
|
+
const _c1$1 = ["fileItemTemplate"];
|
|
19510
|
+
const _c2 = ["browseButtonTemplate"];
|
|
19511
|
+
const _c3 = ["uploadTemplate"];
|
|
19512
|
+
const _c4 = ["fileInput"];
|
|
19513
|
+
function DrFileUploadComponent_div_2_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
19514
|
+
i0.ɵɵelementContainer(0);
|
|
19515
|
+
} }
|
|
19516
|
+
function DrFileUploadComponent_div_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
19517
|
+
i0.ɵɵelementContainerStart(0);
|
|
19518
|
+
i0.ɵɵtemplate(1, DrFileUploadComponent_div_2_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
19519
|
+
i0.ɵɵelementContainerEnd();
|
|
19520
|
+
} if (rf & 2) {
|
|
19521
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
19522
|
+
i0.ɵɵadvance(1);
|
|
19523
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r5.dropzoneTemplate);
|
|
19524
|
+
} }
|
|
19525
|
+
function DrFileUploadComponent_div_2_ng_template_2_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
19526
|
+
i0.ɵɵelementStart(0, "span", 15);
|
|
19527
|
+
i0.ɵɵtext(1);
|
|
19528
|
+
i0.ɵɵelementEnd();
|
|
19529
|
+
} if (rf & 2) {
|
|
19530
|
+
const ctx_r9 = i0.ɵɵnextContext(3);
|
|
19531
|
+
i0.ɵɵadvance(1);
|
|
19532
|
+
i0.ɵɵtextInterpolate(ctx_r9.computedDropzoneSubtext);
|
|
19533
|
+
} }
|
|
19534
|
+
function DrFileUploadComponent_div_2_ng_template_2_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
19535
|
+
i0.ɵɵelementContainer(0);
|
|
19536
|
+
} }
|
|
19537
|
+
function DrFileUploadComponent_div_2_ng_template_2_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
19538
|
+
i0.ɵɵelementContainerStart(0);
|
|
19539
|
+
i0.ɵɵtemplate(1, DrFileUploadComponent_div_2_ng_template_2_ng_container_7_ng_container_1_Template, 1, 0, "ng-container", 8);
|
|
19540
|
+
i0.ɵɵelementContainerEnd();
|
|
19541
|
+
} if (rf & 2) {
|
|
19542
|
+
const ctx_r10 = i0.ɵɵnextContext(3);
|
|
19543
|
+
i0.ɵɵadvance(1);
|
|
19544
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r10.browseButtonTemplate);
|
|
19545
|
+
} }
|
|
19546
|
+
function DrFileUploadComponent_div_2_ng_template_2_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
19547
|
+
const _r15 = i0.ɵɵgetCurrentView();
|
|
19548
|
+
i0.ɵɵelementStart(0, "dr-button", 16);
|
|
19549
|
+
i0.ɵɵlistener("click", function DrFileUploadComponent_div_2_ng_template_2_ng_template_8_Template_dr_button_click_0_listener($event) { i0.ɵɵrestoreView(_r15); const ctx_r14 = i0.ɵɵnextContext(3); ctx_r14.onBrowseClick(); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
19550
|
+
i0.ɵɵtext(1, " Browse ");
|
|
19551
|
+
i0.ɵɵelementEnd();
|
|
19552
|
+
} if (rf & 2) {
|
|
19553
|
+
const ctx_r12 = i0.ɵɵnextContext(3);
|
|
19554
|
+
i0.ɵɵattribute("aria-label", "Browse files. " + ctx_r12.acceptDescription);
|
|
19555
|
+
} }
|
|
19556
|
+
function DrFileUploadComponent_div_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
19557
|
+
i0.ɵɵelementStart(0, "div", 9)(1, "div", 10)(2, "span", 11);
|
|
19558
|
+
i0.ɵɵtext(3);
|
|
19559
|
+
i0.ɵɵelementEnd();
|
|
19560
|
+
i0.ɵɵtemplate(4, DrFileUploadComponent_div_2_ng_template_2_span_4_Template, 2, 1, "span", 12);
|
|
19561
|
+
i0.ɵɵelementEnd();
|
|
19562
|
+
i0.ɵɵelementStart(5, "span", 13);
|
|
19563
|
+
i0.ɵɵtext(6, "Or");
|
|
19564
|
+
i0.ɵɵelementEnd();
|
|
19565
|
+
i0.ɵɵtemplate(7, DrFileUploadComponent_div_2_ng_template_2_ng_container_7_Template, 2, 1, "ng-container", 6);
|
|
19566
|
+
i0.ɵɵtemplate(8, DrFileUploadComponent_div_2_ng_template_2_ng_template_8_Template, 2, 1, "ng-template", null, 14, i0.ɵɵtemplateRefExtractor);
|
|
19567
|
+
i0.ɵɵelementEnd();
|
|
19568
|
+
} if (rf & 2) {
|
|
19569
|
+
const _r11 = i0.ɵɵreference(9);
|
|
19570
|
+
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
19571
|
+
i0.ɵɵadvance(3);
|
|
19572
|
+
i0.ɵɵtextInterpolate(ctx_r7.dropzoneText);
|
|
19573
|
+
i0.ɵɵadvance(1);
|
|
19574
|
+
i0.ɵɵproperty("ngIf", ctx_r7.computedDropzoneSubtext);
|
|
19575
|
+
i0.ɵɵadvance(3);
|
|
19576
|
+
i0.ɵɵproperty("ngIf", ctx_r7.browseButtonTemplate)("ngIfElse", _r11);
|
|
19577
|
+
} }
|
|
19578
|
+
function DrFileUploadComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
19579
|
+
const _r17 = i0.ɵɵgetCurrentView();
|
|
19580
|
+
i0.ɵɵelementStart(0, "div", 5);
|
|
19581
|
+
i0.ɵɵlistener("fileDrop", function DrFileUploadComponent_div_2_Template_div_fileDrop_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r16.onFileDrop($event)); })("dragStateChange", function DrFileUploadComponent_div_2_Template_div_dragStateChange_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r18 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r18.onDragStateChange($event)); })("click", function DrFileUploadComponent_div_2_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r19 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r19.onBrowseClick()); })("keydown.enter", function DrFileUploadComponent_div_2_Template_div_keydown_enter_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r20 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r20.onBrowseClick()); })("keydown.space", function DrFileUploadComponent_div_2_Template_div_keydown_space_0_listener($event) { i0.ɵɵrestoreView(_r17); const ctx_r21 = i0.ɵɵnextContext(); ctx_r21.onBrowseClick(); return i0.ɵɵresetView($event.preventDefault()); });
|
|
19582
|
+
i0.ɵɵtemplate(1, DrFileUploadComponent_div_2_ng_container_1_Template, 2, 1, "ng-container", 6);
|
|
19583
|
+
i0.ɵɵtemplate(2, DrFileUploadComponent_div_2_ng_template_2_Template, 10, 4, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
19584
|
+
i0.ɵɵelementEnd();
|
|
19585
|
+
} if (rf & 2) {
|
|
19586
|
+
const _r6 = i0.ɵɵreference(3);
|
|
19587
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
19588
|
+
i0.ɵɵattribute("tabindex", ctx_r1.disabled ? -1 : 0)("aria-label", ctx_r1.dropzoneAriaLabel)("aria-disabled", ctx_r1.disabled)("aria-describedby", ctx_r1.validationErrorMessage ? "file-upload-error" : null);
|
|
19589
|
+
i0.ɵɵadvance(1);
|
|
19590
|
+
i0.ɵɵproperty("ngIf", ctx_r1.dropzoneTemplate)("ngIfElse", _r6);
|
|
19591
|
+
} }
|
|
19592
|
+
function DrFileUploadComponent_ng_container_3_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
19593
|
+
i0.ɵɵelementContainer(0);
|
|
19594
|
+
} }
|
|
19595
|
+
const _c5 = function (a0, a1) { return { $implicit: a0, remove: a1 }; };
|
|
19596
|
+
function DrFileUploadComponent_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
19597
|
+
i0.ɵɵelementContainerStart(0);
|
|
19598
|
+
i0.ɵɵtemplate(1, DrFileUploadComponent_ng_container_3_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 18);
|
|
19599
|
+
i0.ɵɵelementContainerEnd();
|
|
19600
|
+
} if (rf & 2) {
|
|
19601
|
+
const ctx_r22 = i0.ɵɵnextContext(2);
|
|
19602
|
+
i0.ɵɵadvance(1);
|
|
19603
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r22.fileItemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c5, ctx_r22.files[0], ctx_r22.onFileRemove.bind(ctx_r22)));
|
|
19604
|
+
} }
|
|
19605
|
+
function DrFileUploadComponent_ng_container_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
19606
|
+
const _r27 = i0.ɵɵgetCurrentView();
|
|
19607
|
+
i0.ɵɵelementStart(0, "div", 19)(1, "button", 20);
|
|
19608
|
+
i0.ɵɵlistener("click", function DrFileUploadComponent_ng_container_3_ng_template_2_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r27); const ctx_r26 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r26.onFileRemove(ctx_r26.files[0])); });
|
|
19609
|
+
i0.ɵɵelement(2, "i", 21);
|
|
19610
|
+
i0.ɵɵelementEnd();
|
|
19611
|
+
i0.ɵɵelement(3, "dr-file-upload-item", 22);
|
|
19612
|
+
i0.ɵɵelementEnd();
|
|
19613
|
+
} if (rf & 2) {
|
|
19614
|
+
const ctx_r24 = i0.ɵɵnextContext(2);
|
|
19615
|
+
i0.ɵɵattribute("aria-label", "Uploaded file: " + ctx_r24.files[0].file.name);
|
|
19616
|
+
i0.ɵɵadvance(1);
|
|
19617
|
+
i0.ɵɵattribute("aria-label", "Remove file " + ctx_r24.files[0].file.name);
|
|
19618
|
+
i0.ɵɵadvance(2);
|
|
19619
|
+
i0.ɵɵproperty("item", ctx_r24.files[0])("removable", false);
|
|
19620
|
+
} }
|
|
19621
|
+
function DrFileUploadComponent_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
19622
|
+
i0.ɵɵelementContainerStart(0);
|
|
19623
|
+
i0.ɵɵtemplate(1, DrFileUploadComponent_ng_container_3_ng_container_1_Template, 2, 5, "ng-container", 6);
|
|
19624
|
+
i0.ɵɵtemplate(2, DrFileUploadComponent_ng_container_3_ng_template_2_Template, 4, 4, "ng-template", null, 17, i0.ɵɵtemplateRefExtractor);
|
|
19625
|
+
i0.ɵɵelementContainerEnd();
|
|
19626
|
+
} if (rf & 2) {
|
|
19627
|
+
const _r23 = i0.ɵɵreference(3);
|
|
19628
|
+
const ctx_r2 = i0.ɵɵnextContext();
|
|
19629
|
+
i0.ɵɵadvance(1);
|
|
19630
|
+
i0.ɵɵproperty("ngIf", ctx_r2.fileItemTemplate)("ngIfElse", _r23);
|
|
19631
|
+
} }
|
|
19632
|
+
function DrFileUploadComponent_ng_container_4_li_5_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
19633
|
+
i0.ɵɵelementContainer(0);
|
|
19634
|
+
} }
|
|
19635
|
+
function DrFileUploadComponent_ng_container_4_li_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
19636
|
+
i0.ɵɵelementContainerStart(0);
|
|
19637
|
+
i0.ɵɵtemplate(1, DrFileUploadComponent_ng_container_4_li_5_ng_container_1_ng_container_1_Template, 1, 0, "ng-container", 18);
|
|
19638
|
+
i0.ɵɵelementContainerEnd();
|
|
19639
|
+
} if (rf & 2) {
|
|
19640
|
+
const item_r30 = i0.ɵɵnextContext().$implicit;
|
|
19641
|
+
const ctx_r31 = i0.ɵɵnextContext(2);
|
|
19642
|
+
i0.ɵɵadvance(1);
|
|
19643
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r31.fileItemTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c5, item_r30, ctx_r31.onFileRemove.bind(ctx_r31)));
|
|
19644
|
+
} }
|
|
19645
|
+
function DrFileUploadComponent_ng_container_4_li_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
19646
|
+
const _r38 = i0.ɵɵgetCurrentView();
|
|
19647
|
+
i0.ɵɵelementStart(0, "dr-file-upload-item", 30);
|
|
19648
|
+
i0.ɵɵlistener("remove", function DrFileUploadComponent_ng_container_4_li_5_ng_template_2_Template_dr_file_upload_item_remove_0_listener() { i0.ɵɵrestoreView(_r38); const item_r30 = i0.ɵɵnextContext().$implicit; const ctx_r36 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r36.onFileRemove(item_r30)); });
|
|
19649
|
+
i0.ɵɵelementEnd();
|
|
19650
|
+
} if (rf & 2) {
|
|
19651
|
+
const item_r30 = i0.ɵɵnextContext().$implicit;
|
|
19652
|
+
i0.ɵɵproperty("item", item_r30)("removable", true)("compact", true);
|
|
19653
|
+
} }
|
|
19654
|
+
function DrFileUploadComponent_ng_container_4_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
19655
|
+
i0.ɵɵelementStart(0, "li", 28);
|
|
19656
|
+
i0.ɵɵtemplate(1, DrFileUploadComponent_ng_container_4_li_5_ng_container_1_Template, 2, 5, "ng-container", 6);
|
|
19657
|
+
i0.ɵɵtemplate(2, DrFileUploadComponent_ng_container_4_li_5_ng_template_2_Template, 1, 3, "ng-template", null, 29, i0.ɵɵtemplateRefExtractor);
|
|
19658
|
+
i0.ɵɵelementEnd();
|
|
19659
|
+
} if (rf & 2) {
|
|
19660
|
+
const _r32 = i0.ɵɵreference(3);
|
|
19661
|
+
const ctx_r28 = i0.ɵɵnextContext(2);
|
|
19662
|
+
i0.ɵɵadvance(1);
|
|
19663
|
+
i0.ɵɵproperty("ngIf", ctx_r28.fileItemTemplate)("ngIfElse", _r32);
|
|
19664
|
+
} }
|
|
19665
|
+
function DrFileUploadComponent_ng_container_4_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
19666
|
+
i0.ɵɵelementStart(0, "div", 31);
|
|
19667
|
+
i0.ɵɵtext(1);
|
|
19668
|
+
i0.ɵɵelementEnd();
|
|
19669
|
+
} if (rf & 2) {
|
|
19670
|
+
const ctx_r29 = i0.ɵɵnextContext(2);
|
|
19671
|
+
i0.ɵɵadvance(1);
|
|
19672
|
+
i0.ɵɵtextInterpolate2(" ", ctx_r29.failedFilesCount, " ", ctx_r29.failedFilesCount === 1 ? "file" : "files", " could not be uploaded. Please try again ");
|
|
19673
|
+
} }
|
|
19674
|
+
function DrFileUploadComponent_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
19675
|
+
i0.ɵɵelementContainerStart(0);
|
|
19676
|
+
i0.ɵɵelementStart(1, "div", 23)(2, "div", 24);
|
|
19677
|
+
i0.ɵɵtext(3);
|
|
19678
|
+
i0.ɵɵelementEnd();
|
|
19679
|
+
i0.ɵɵelementStart(4, "ul", 25);
|
|
19680
|
+
i0.ɵɵtemplate(5, DrFileUploadComponent_ng_container_4_li_5_Template, 4, 2, "li", 26);
|
|
19681
|
+
i0.ɵɵelementEnd();
|
|
19682
|
+
i0.ɵɵtemplate(6, DrFileUploadComponent_ng_container_4_div_6_Template, 2, 2, "div", 27);
|
|
19683
|
+
i0.ɵɵelementEnd();
|
|
19684
|
+
i0.ɵɵelementContainerEnd();
|
|
19685
|
+
} if (rf & 2) {
|
|
19686
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
19687
|
+
i0.ɵɵadvance(3);
|
|
19688
|
+
i0.ɵɵtextInterpolate2(" ", ctx_r3.uploadedFiles.length, " ", ctx_r3.uploadedFiles.length === 1 ? "File" : "Files", " uploaded ");
|
|
19689
|
+
i0.ɵɵadvance(1);
|
|
19690
|
+
i0.ɵɵattribute("aria-label", ctx_r3.files.length + " files in upload queue");
|
|
19691
|
+
i0.ɵɵadvance(1);
|
|
19692
|
+
i0.ɵɵproperty("ngForOf", ctx_r3.files)("ngForTrackBy", ctx_r3.trackByFile);
|
|
19693
|
+
i0.ɵɵadvance(1);
|
|
19694
|
+
i0.ɵɵproperty("ngIf", ctx_r3.hasPartialSuccess);
|
|
19695
|
+
} }
|
|
19696
|
+
function DrFileUploadComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
19697
|
+
i0.ɵɵelementStart(0, "div", 32);
|
|
19698
|
+
i0.ɵɵtext(1);
|
|
19699
|
+
i0.ɵɵelementEnd();
|
|
19700
|
+
} if (rf & 2) {
|
|
19701
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
19702
|
+
i0.ɵɵadvance(1);
|
|
19703
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r4.validationErrorMessage, "\n");
|
|
19704
|
+
} }
|
|
19705
|
+
class DrFileUploadComponent {
|
|
19706
|
+
constructor() {
|
|
19707
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
19708
|
+
this.validationService = inject(FileUploadValidationService);
|
|
19709
|
+
this.variant = 'single';
|
|
19710
|
+
this.accept = '.xlsx,.xls';
|
|
19711
|
+
this.maxFiles = 10;
|
|
19712
|
+
this.disabled = false;
|
|
19713
|
+
this.validateFormats = true;
|
|
19714
|
+
this.dropzoneText = 'Drag & drop your .xlsx or .xls files here';
|
|
19715
|
+
this.filesChange = new EventEmitter();
|
|
19716
|
+
this.fileRemove = new EventEmitter();
|
|
19717
|
+
this.validationError = new EventEmitter();
|
|
19718
|
+
this._files = [];
|
|
19719
|
+
this.isDragover = false;
|
|
19720
|
+
}
|
|
19721
|
+
set files(value) {
|
|
19722
|
+
this._files = value;
|
|
19723
|
+
}
|
|
19724
|
+
get files() {
|
|
19725
|
+
return this._files;
|
|
19726
|
+
}
|
|
19727
|
+
ngAfterViewInit() {
|
|
19728
|
+
if (this.uploadTemplate) {
|
|
19729
|
+
this.dropzoneTemplate = this.uploadTemplate.dropzoneTemplate;
|
|
19730
|
+
this.fileItemTemplate = this.uploadTemplate.fileItemTemplate;
|
|
19731
|
+
this.cdr.detectChanges();
|
|
19732
|
+
}
|
|
19733
|
+
}
|
|
19734
|
+
get isDisabled() {
|
|
19735
|
+
return this.disabled;
|
|
19736
|
+
}
|
|
19737
|
+
get hasDragover() {
|
|
19738
|
+
return this.isDragover;
|
|
19739
|
+
}
|
|
19740
|
+
get hasFiles() {
|
|
19741
|
+
return this.files.length > 0;
|
|
19742
|
+
}
|
|
19743
|
+
get isSingle() {
|
|
19744
|
+
return this.variant === 'single';
|
|
19745
|
+
}
|
|
19746
|
+
get isMultiple() {
|
|
19747
|
+
return this.variant === 'multiple';
|
|
19748
|
+
}
|
|
19749
|
+
get computedDropzoneSubtext() {
|
|
19750
|
+
if (this.dropzoneSubtext) {
|
|
19751
|
+
return this.dropzoneSubtext;
|
|
19752
|
+
}
|
|
19753
|
+
const hasMaxSize = this.maxFileSize !== undefined && this.maxFileSize !== Infinity && this.maxFileSize > 0;
|
|
19754
|
+
const hasMaxFiles = this.maxFiles !== undefined && this.maxFiles !== Infinity && this.maxFiles > 0;
|
|
19755
|
+
if (this.variant === 'multiple') {
|
|
19756
|
+
const filesWord = this.maxFiles === 1 ? 'file' : 'files';
|
|
19757
|
+
if (hasMaxFiles && hasMaxSize) {
|
|
19758
|
+
return `(up to ${this.maxFiles} ${filesWord}, ${this.maxFileSize} MB each)`;
|
|
19759
|
+
}
|
|
19760
|
+
if (hasMaxFiles) {
|
|
19761
|
+
return `(up to ${this.maxFiles} ${filesWord})`;
|
|
19762
|
+
}
|
|
19763
|
+
if (hasMaxSize) {
|
|
19764
|
+
return `(up to ${this.maxFileSize} MB per file)`;
|
|
19765
|
+
}
|
|
19766
|
+
return '';
|
|
19767
|
+
}
|
|
19768
|
+
if (hasMaxSize) {
|
|
19769
|
+
return `(up to ${this.maxFileSize} MB)`;
|
|
19770
|
+
}
|
|
19771
|
+
return '';
|
|
19772
|
+
}
|
|
19773
|
+
get validationErrorMessage() {
|
|
19774
|
+
return this.invalidFormatError || this.invalidSizeError || this.overLimitError || this.errorMessage;
|
|
19775
|
+
}
|
|
19776
|
+
get showDropzone() {
|
|
19777
|
+
if (this.variant === 'multiple') {
|
|
19778
|
+
return true;
|
|
19779
|
+
}
|
|
19780
|
+
return this.files.length === 0;
|
|
19781
|
+
}
|
|
19782
|
+
get uploadedFiles() {
|
|
19783
|
+
return this.files.filter((f) => f.status === 'success');
|
|
19784
|
+
}
|
|
19785
|
+
get failedFilesCount() {
|
|
19786
|
+
return this.files.filter((f) => f.status === 'error').length;
|
|
19787
|
+
}
|
|
19788
|
+
get hasPartialSuccess() {
|
|
19789
|
+
return this.uploadedFiles.length > 0 && this.failedFilesCount > 0;
|
|
19790
|
+
}
|
|
19791
|
+
get ariaLabel() {
|
|
19792
|
+
if (this.customAriaLabel) {
|
|
19793
|
+
return this.customAriaLabel;
|
|
19794
|
+
}
|
|
19795
|
+
const fileType = this.variant === 'single' ? 'file' : 'files';
|
|
19796
|
+
return `Upload ${fileType}. ${this.acceptDescription}`;
|
|
19797
|
+
}
|
|
19798
|
+
get dropzoneAriaLabel() {
|
|
19799
|
+
const action = this.variant === 'single' ? 'Click or drag and drop a file' : 'Click or drag and drop files';
|
|
19800
|
+
return `${action}. ${this.acceptDescription}`;
|
|
19801
|
+
}
|
|
19802
|
+
get acceptDescription() {
|
|
19803
|
+
const extensions = this.validationService.getAcceptedExtensions(this.accept);
|
|
19804
|
+
if (extensions.length > 0) {
|
|
19805
|
+
return `Accepted formats: ${extensions.map((e) => '.' + e).join(', ')}`;
|
|
19806
|
+
}
|
|
19807
|
+
const mimes = this.validationService.getAcceptedMimes(this.accept);
|
|
19808
|
+
if (mimes.length > 0) {
|
|
19809
|
+
return `Accepted types: ${mimes.join(', ')}`;
|
|
19810
|
+
}
|
|
19811
|
+
return 'All file types accepted';
|
|
19812
|
+
}
|
|
19813
|
+
trackByFile(_index, item) {
|
|
19814
|
+
return item.file.name + item.file.size + item.file.lastModified;
|
|
19815
|
+
}
|
|
19816
|
+
onDragStateChange(isDragover) {
|
|
19817
|
+
this.isDragover = isDragover;
|
|
19818
|
+
this.cdr.markForCheck();
|
|
19819
|
+
}
|
|
19820
|
+
onFileDrop(fileList) {
|
|
19821
|
+
this.handleFiles(fileList);
|
|
19822
|
+
}
|
|
19823
|
+
onBrowseClick() {
|
|
19824
|
+
if (!this.disabled) {
|
|
19825
|
+
this.fileInput?.nativeElement?.click();
|
|
19826
|
+
}
|
|
19827
|
+
}
|
|
19828
|
+
onFileInputChange(event) {
|
|
19829
|
+
const input = event.target;
|
|
19830
|
+
if (input.files && input.files.length > 0) {
|
|
19831
|
+
this.handleFiles(input.files);
|
|
19832
|
+
input.value = '';
|
|
19833
|
+
}
|
|
19834
|
+
}
|
|
19835
|
+
onFileRemove(item) {
|
|
19836
|
+
this._files = this._files.filter((f) => f !== item);
|
|
19837
|
+
this.fileRemove.emit(item.file);
|
|
19838
|
+
this.filesChange.emit(this._files);
|
|
19839
|
+
this.clearValidationErrors();
|
|
19840
|
+
this.cdr.markForCheck();
|
|
19841
|
+
}
|
|
19842
|
+
handleFiles(fileList) {
|
|
19843
|
+
if (this.disabled) {
|
|
19844
|
+
return;
|
|
19845
|
+
}
|
|
19846
|
+
this.clearValidationErrors();
|
|
19847
|
+
let filesArray = Array.from(fileList);
|
|
19848
|
+
if (this.validateFormats) {
|
|
19849
|
+
const result = this.validationService.filterByFormat(filesArray, this.accept);
|
|
19850
|
+
filesArray = result.valid;
|
|
19851
|
+
if (result.invalidFileName) {
|
|
19852
|
+
this.invalidFormatError = `Invalid file format: ${result.invalidFileName}`;
|
|
19853
|
+
this.validationError.emit({
|
|
19854
|
+
type: 'format',
|
|
19855
|
+
fileName: result.invalidFileName,
|
|
19856
|
+
message: this.invalidFormatError,
|
|
19857
|
+
});
|
|
19858
|
+
}
|
|
19859
|
+
}
|
|
19860
|
+
if (this.maxFileSize !== undefined && this.maxFileSize !== Infinity && this.maxFileSize > 0) {
|
|
19861
|
+
const result = this.validationService.filterBySize(filesArray, this.maxFileSize);
|
|
19862
|
+
filesArray = result.valid;
|
|
19863
|
+
if (result.oversizedFileName) {
|
|
19864
|
+
this.invalidSizeError = `File too large: ${result.oversizedFileName} (max ${this.maxFileSize} MB)`;
|
|
19865
|
+
this.validationError.emit({
|
|
19866
|
+
type: 'size',
|
|
19867
|
+
fileName: result.oversizedFileName,
|
|
19868
|
+
message: this.invalidSizeError,
|
|
19869
|
+
});
|
|
19870
|
+
}
|
|
19871
|
+
}
|
|
19872
|
+
if (this.variant === 'multiple') {
|
|
19873
|
+
const availableSlots = Math.max(this.maxFiles - this._files.length, 0);
|
|
19874
|
+
if (availableSlots < filesArray.length) {
|
|
19875
|
+
this.overLimitError = `Maximum ${this.maxFiles} files allowed`;
|
|
19876
|
+
this.validationError.emit({
|
|
19877
|
+
type: 'limit',
|
|
19878
|
+
message: this.overLimitError,
|
|
19879
|
+
});
|
|
19880
|
+
filesArray = filesArray.slice(0, availableSlots);
|
|
19881
|
+
}
|
|
19882
|
+
}
|
|
19883
|
+
if (filesArray.length === 0) {
|
|
19884
|
+
this.cdr.markForCheck();
|
|
19885
|
+
return;
|
|
19886
|
+
}
|
|
19887
|
+
const newItems = filesArray.map((file) => ({
|
|
19888
|
+
file,
|
|
19889
|
+
progress: 0,
|
|
19890
|
+
status: 'pending',
|
|
19891
|
+
}));
|
|
19892
|
+
if (this.variant === 'single') {
|
|
19893
|
+
this._files = newItems.slice(0, 1);
|
|
19894
|
+
}
|
|
19895
|
+
else {
|
|
19896
|
+
this._files = [...this._files, ...newItems].slice(0, this.maxFiles);
|
|
19897
|
+
}
|
|
19898
|
+
this.filesChange.emit(this._files);
|
|
19899
|
+
this.cdr.markForCheck();
|
|
19900
|
+
}
|
|
19901
|
+
clearValidationErrors() {
|
|
19902
|
+
this.invalidFormatError = undefined;
|
|
19903
|
+
this.invalidSizeError = undefined;
|
|
19904
|
+
this.overLimitError = undefined;
|
|
19905
|
+
}
|
|
19906
|
+
/** @nocollapse */ static { this.ɵfac = function DrFileUploadComponent_Factory(t) { return new (t || DrFileUploadComponent)(); }; }
|
|
19907
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrFileUploadComponent, selectors: [["dr-file-upload"]], contentQueries: function DrFileUploadComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
19908
|
+
i0.ɵɵcontentQuery(dirIndex, _c0$2, 5);
|
|
19909
|
+
i0.ɵɵcontentQuery(dirIndex, _c1$1, 5);
|
|
19910
|
+
i0.ɵɵcontentQuery(dirIndex, _c2, 5);
|
|
19911
|
+
i0.ɵɵcontentQuery(dirIndex, _c3, 5);
|
|
19912
|
+
} if (rf & 2) {
|
|
19913
|
+
let _t;
|
|
19914
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropzoneTemplate = _t.first);
|
|
19915
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileItemTemplate = _t.first);
|
|
19916
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.browseButtonTemplate = _t.first);
|
|
19917
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.uploadTemplate = _t.first);
|
|
19918
|
+
} }, viewQuery: function DrFileUploadComponent_Query(rf, ctx) { if (rf & 1) {
|
|
19919
|
+
i0.ɵɵviewQuery(_c4, 7);
|
|
19920
|
+
} if (rf & 2) {
|
|
19921
|
+
let _t;
|
|
19922
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileInput = _t.first);
|
|
19923
|
+
} }, hostVars: 10, hostBindings: function DrFileUploadComponent_HostBindings(rf, ctx) { if (rf & 2) {
|
|
19924
|
+
i0.ɵɵclassProp("dr-file-upload--disabled", ctx.isDisabled)("dr-file-upload--dragover", ctx.hasDragover)("dr-file-upload--has-files", ctx.hasFiles)("dr-file-upload--single", ctx.isSingle)("dr-file-upload--multiple", ctx.isMultiple);
|
|
19925
|
+
} }, inputs: { variant: "variant", accept: "accept", maxFileSize: "maxFileSize", maxFiles: "maxFiles", disabled: ["disabled", "disabled", booleanAttribute], validateFormats: ["validateFormats", "validateFormats", booleanAttribute], dropzoneText: "dropzoneText", dropzoneSubtext: "dropzoneSubtext", errorMessage: "errorMessage", customAriaLabel: ["aria-label", "customAriaLabel"], files: "files" }, outputs: { filesChange: "filesChange", fileRemove: "fileRemove", validationError: "validationError" }, standalone: true, features: [i0.ɵɵInputTransformsFeature, i0.ɵɵStandaloneFeature], decls: 6, vars: 8, consts: [["type", "file", "hidden", "", 3, "accept", "multiple", "change"], ["fileInput", ""], ["class", "dr-file-upload__dropzone", "role", "button", "drDragDrop", "", 3, "fileDrop", "dragStateChange", "click", "keydown.enter", "keydown.space", 4, "ngIf"], [4, "ngIf"], ["id", "file-upload-error", "class", "dr-file-upload__error", "role", "alert", "aria-live", "assertive", 4, "ngIf"], ["role", "button", "drDragDrop", "", 1, "dr-file-upload__dropzone", 3, "fileDrop", "dragStateChange", "click", "keydown.enter", "keydown.space"], [4, "ngIf", "ngIfElse"], ["defaultDropzone", ""], [4, "ngTemplateOutlet"], [1, "dr-file-upload__dropzone-content"], [1, "dr-file-upload__dropzone-text"], [1, "dr-file-upload__dropzone-title"], ["class", "dr-file-upload__dropzone-subtitle", 4, "ngIf"], ["aria-hidden", "true", 1, "dr-file-upload__dropzone-or"], ["defaultBrowseButton", ""], [1, "dr-file-upload__dropzone-subtitle"], ["theme", "secondary", "icon", "dr-icon-add", 3, "click"], ["defaultSingleFileItem", ""], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["role", "group", 1, "dr-file-upload__single-item-container"], ["type", "button", 1, "dr-file-upload__single-item-close", 3, "click"], ["aria-hidden", "true", 1, "dr-icon-exit"], [3, "item", "removable"], ["role", "region", "aria-label", "Uploaded files", 1, "dr-file-upload__files-section"], ["aria-live", "polite", 1, "dr-file-upload__files-header"], ["role", "list", 1, "dr-file-upload__files-list"], ["role", "listitem", 4, "ngFor", "ngForOf", "ngForTrackBy"], ["class", "dr-file-upload__partial-error", "role", "alert", "aria-live", "assertive", 4, "ngIf"], ["role", "listitem"], ["defaultMultipleFileItem", ""], [3, "item", "removable", "compact", "remove"], ["role", "alert", "aria-live", "assertive", 1, "dr-file-upload__partial-error"], ["id", "file-upload-error", "role", "alert", "aria-live", "assertive", 1, "dr-file-upload__error"]], template: function DrFileUploadComponent_Template(rf, ctx) { if (rf & 1) {
|
|
19926
|
+
i0.ɵɵelementStart(0, "input", 0, 1);
|
|
19927
|
+
i0.ɵɵlistener("change", function DrFileUploadComponent_Template_input_change_0_listener($event) { return ctx.onFileInputChange($event); });
|
|
19928
|
+
i0.ɵɵelementEnd();
|
|
19929
|
+
i0.ɵɵtemplate(2, DrFileUploadComponent_div_2_Template, 4, 6, "div", 2);
|
|
19930
|
+
i0.ɵɵtemplate(3, DrFileUploadComponent_ng_container_3_Template, 4, 2, "ng-container", 3);
|
|
19931
|
+
i0.ɵɵtemplate(4, DrFileUploadComponent_ng_container_4_Template, 7, 6, "ng-container", 3);
|
|
19932
|
+
i0.ɵɵtemplate(5, DrFileUploadComponent_div_5_Template, 2, 1, "div", 4);
|
|
19933
|
+
} if (rf & 2) {
|
|
19934
|
+
i0.ɵɵproperty("accept", ctx.accept)("multiple", ctx.variant === "multiple");
|
|
19935
|
+
i0.ɵɵattribute("aria-label", ctx.ariaLabel)("aria-describedby", ctx.validationErrorMessage ? "file-upload-error" : null);
|
|
19936
|
+
i0.ɵɵadvance(2);
|
|
19937
|
+
i0.ɵɵproperty("ngIf", ctx.showDropzone);
|
|
19938
|
+
i0.ɵɵadvance(1);
|
|
19939
|
+
i0.ɵɵproperty("ngIf", ctx.variant === "single" && ctx.files.length > 0);
|
|
19940
|
+
i0.ɵɵadvance(1);
|
|
19941
|
+
i0.ɵɵproperty("ngIf", ctx.variant === "multiple" && ctx.files.length > 0);
|
|
19942
|
+
i0.ɵɵadvance(1);
|
|
19943
|
+
i0.ɵɵproperty("ngIf", ctx.validationErrorMessage);
|
|
19944
|
+
} }, dependencies: [CommonModule, i1$1.NgForOf, i1$1.NgIf, i1$1.NgTemplateOutlet, DrDragDropDirective, DrFileUploadItemComponent, DrButtonComponent], styles: ["[_nghost-%COMP%]{display:flex;flex-direction:column;gap:24px;width:100%}.dr-file-upload__dropzone[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 32px;background:#fff;border:1px dashed #9ea1aa;border-radius:4px;cursor:pointer;transition:all .2s ease}.dr-file-upload__dropzone[_ngcontent-%COMP%]:hover{border-color:#4646ce;background-color:#f5f5f5}.dr-file-upload__dropzone[_ngcontent-%COMP%]:focus{outline:2px solid #4646ce;outline-offset:2px}.dr-file-upload__dropzone[_ngcontent-%COMP%]:focus:not(:focus-visible){outline:none}.dr-file-upload__dropzone[_ngcontent-%COMP%]:focus-visible{outline:2px solid #4646ce;outline-offset:2px;border-color:#4646ce}.dr-file-upload__dropzone-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:8px}.dr-file-upload__dropzone-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:4px}.dr-file-upload__dropzone-title[_ngcontent-%COMP%]{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}.dr-file-upload__dropzone-subtitle[_ngcontent-%COMP%]{font-size:12px;line-height:16px;font-weight:400;color:#6d6e6f}.dr-file-upload__dropzone-or[_ngcontent-%COMP%]{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}.dr-file-upload__files-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.dr-file-upload__files-header[_ngcontent-%COMP%]{font-size:14px;line-height:24px;font-weight:400;color:#333}.dr-file-upload__files-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0}.dr-file-upload__files-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:contents}.dr-file-upload__partial-error[_ngcontent-%COMP%], .dr-file-upload__error[_ngcontent-%COMP%]{font-size:12px;line-height:16px;font-weight:400;color:#bf1d30}.dr-file-upload__single-item-container[_ngcontent-%COMP%]{position:relative;padding:32px 16px;background:#fff;border:1px dashed #9ea1aa;border-radius:4px;min-height:126px;display:flex;align-items:center}.dr-file-upload__single-item-container[_ngcontent-%COMP%] dr-file-upload-item[_ngcontent-%COMP%]{border:none;padding:0;background:transparent}.dr-file-upload__single-item-close[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;position:absolute;top:4px;right:4px;padding:0;margin:0;border:none;background:transparent;cursor:pointer;z-index:1;border-radius:2px}.dr-file-upload__single-item-close[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:16px;color:#333}.dr-file-upload__single-item-close[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{color:#333}.dr-file-upload__single-item-close[_ngcontent-%COMP%]:focus{outline:2px solid #4646ce;outline-offset:2px}.dr-file-upload__single-item-close[_ngcontent-%COMP%]:focus:not(:focus-visible){outline:none}.dr-file-upload__single-item-close[_ngcontent-%COMP%]:focus-visible{outline:2px solid #4646ce;outline-offset:2px}.dr-file-upload--dragover[_nghost-%COMP%] .dr-file-upload__dropzone[_ngcontent-%COMP%]{background:#f5f5f5;border-color:#4646ce}.dr-file-upload--disabled[_nghost-%COMP%] .dr-file-upload__dropzone[_ngcontent-%COMP%]{pointer-events:none;opacity:.6}.dr-file-upload--disabled[_nghost-%COMP%] .dr-file-upload__dropzone[_ngcontent-%COMP%]:hover{border-color:#9ea1aa}.dr-file-upload--single[_nghost-%COMP%] .dr-file-upload__dropzone[_ngcontent-%COMP%]{min-height:148px}.dr-file-upload--multiple[_nghost-%COMP%] .dr-file-upload__dropzone[_ngcontent-%COMP%]{min-height:100px}"], changeDetection: 0 }); }
|
|
19945
|
+
}
|
|
19946
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrFileUploadComponent, [{
|
|
19947
|
+
type: Component,
|
|
19948
|
+
args: [{ selector: 'dr-file-upload', standalone: true, imports: [CommonModule, DrDragDropDirective, DrFileUploadItemComponent, DrButtonComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<input\n #fileInput\n type=\"file\"\n [accept]=\"accept\"\n [multiple]=\"variant === 'multiple'\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-describedby]=\"validationErrorMessage ? 'file-upload-error' : null\"\n (change)=\"onFileInputChange($event)\"\n hidden />\n\n<div\n *ngIf=\"showDropzone\"\n class=\"dr-file-upload__dropzone\"\n role=\"button\"\n [attr.tabindex]=\"disabled ? -1 : 0\"\n [attr.aria-label]=\"dropzoneAriaLabel\"\n [attr.aria-disabled]=\"disabled\"\n [attr.aria-describedby]=\"validationErrorMessage ? 'file-upload-error' : null\"\n drDragDrop\n (fileDrop)=\"onFileDrop($event)\"\n (dragStateChange)=\"onDragStateChange($event)\"\n (click)=\"onBrowseClick()\"\n (keydown.enter)=\"onBrowseClick()\"\n (keydown.space)=\"onBrowseClick(); $event.preventDefault()\">\n <ng-container *ngIf=\"dropzoneTemplate; else defaultDropzone\">\n <ng-container *ngTemplateOutlet=\"dropzoneTemplate\"></ng-container>\n </ng-container>\n\n <ng-template #defaultDropzone>\n <div class=\"dr-file-upload__dropzone-content\">\n <div class=\"dr-file-upload__dropzone-text\">\n <span class=\"dr-file-upload__dropzone-title\">{{ dropzoneText }}</span>\n <span *ngIf=\"computedDropzoneSubtext\" class=\"dr-file-upload__dropzone-subtitle\">{{\n computedDropzoneSubtext\n }}</span>\n </div>\n <span class=\"dr-file-upload__dropzone-or\" aria-hidden=\"true\">Or</span>\n <ng-container *ngIf=\"browseButtonTemplate; else defaultBrowseButton\">\n <ng-container *ngTemplateOutlet=\"browseButtonTemplate\"></ng-container>\n </ng-container>\n <ng-template #defaultBrowseButton>\n <dr-button\n theme=\"secondary\"\n icon=\"dr-icon-add\"\n [attr.aria-label]=\"'Browse files. ' + acceptDescription\"\n (click)=\"onBrowseClick(); $event.stopPropagation()\">\n Browse\n </dr-button>\n </ng-template>\n </div>\n </ng-template>\n</div>\n\n<ng-container *ngIf=\"variant === 'single' && files.length > 0\">\n <ng-container *ngIf=\"fileItemTemplate; else defaultSingleFileItem\">\n <ng-container *ngTemplateOutlet=\"fileItemTemplate; context: { $implicit: files[0], remove: onFileRemove.bind(this) }\">\n </ng-container>\n </ng-container>\n\n <ng-template #defaultSingleFileItem>\n <div\n class=\"dr-file-upload__single-item-container\"\n role=\"group\"\n [attr.aria-label]=\"'Uploaded file: ' + files[0].file.name\">\n <button\n type=\"button\"\n class=\"dr-file-upload__single-item-close\"\n [attr.aria-label]=\"'Remove file ' + files[0].file.name\"\n (click)=\"onFileRemove(files[0])\">\n <i class=\"dr-icon-exit\" aria-hidden=\"true\"></i>\n </button>\n <dr-file-upload-item [item]=\"files[0]\" [removable]=\"false\"> </dr-file-upload-item>\n </div>\n </ng-template>\n</ng-container>\n\n<ng-container *ngIf=\"variant === 'multiple' && files.length > 0\">\n <div class=\"dr-file-upload__files-section\" role=\"region\" aria-label=\"Uploaded files\">\n <div class=\"dr-file-upload__files-header\" aria-live=\"polite\">\n {{ uploadedFiles.length }} {{ uploadedFiles.length === 1 ? 'File' : 'Files' }} uploaded\n </div>\n <ul class=\"dr-file-upload__files-list\" role=\"list\" [attr.aria-label]=\"files.length + ' files in upload queue'\">\n <li *ngFor=\"let item of files; trackBy: trackByFile\" role=\"listitem\">\n <ng-container *ngIf=\"fileItemTemplate; else defaultMultipleFileItem\">\n <ng-container\n *ngTemplateOutlet=\"fileItemTemplate; context: { $implicit: item, remove: onFileRemove.bind(this) }\">\n </ng-container>\n </ng-container>\n\n <ng-template #defaultMultipleFileItem>\n <dr-file-upload-item [item]=\"item\" [removable]=\"true\" [compact]=\"true\" (remove)=\"onFileRemove(item)\">\n </dr-file-upload-item>\n </ng-template>\n </li>\n </ul>\n <div *ngIf=\"hasPartialSuccess\" class=\"dr-file-upload__partial-error\" role=\"alert\" aria-live=\"assertive\">\n {{ failedFilesCount }} {{ failedFilesCount === 1 ? 'file' : 'files' }} could not be uploaded. Please try again\n </div>\n </div>\n</ng-container>\n\n<div\n *ngIf=\"validationErrorMessage\"\n id=\"file-upload-error\"\n class=\"dr-file-upload__error\"\n role=\"alert\"\n aria-live=\"assertive\">\n {{ validationErrorMessage }}\n</div>\n", styles: [":host{display:flex;flex-direction:column;gap:24px;width:100%}.dr-file-upload__dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px 32px;background:#fff;border:1px dashed #9ea1aa;border-radius:4px;cursor:pointer;transition:all .2s ease}.dr-file-upload__dropzone:hover{border-color:#4646ce;background-color:#f5f5f5}.dr-file-upload__dropzone:focus{outline:2px solid #4646ce;outline-offset:2px}.dr-file-upload__dropzone:focus:not(:focus-visible){outline:none}.dr-file-upload__dropzone:focus-visible{outline:2px solid #4646ce;outline-offset:2px;border-color:#4646ce}.dr-file-upload__dropzone-content{display:flex;flex-direction:column;align-items:center;gap:8px}.dr-file-upload__dropzone-text{display:flex;flex-direction:column;align-items:center;gap:4px}.dr-file-upload__dropzone-title{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}.dr-file-upload__dropzone-subtitle{font-size:12px;line-height:16px;font-weight:400;color:#6d6e6f}.dr-file-upload__dropzone-or{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}.dr-file-upload__files-section{display:flex;flex-direction:column;gap:8px}.dr-file-upload__files-header{font-size:14px;line-height:24px;font-weight:400;color:#333}.dr-file-upload__files-list{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0}.dr-file-upload__files-list li{display:contents}.dr-file-upload__partial-error,.dr-file-upload__error{font-size:12px;line-height:16px;font-weight:400;color:#bf1d30}.dr-file-upload__single-item-container{position:relative;padding:32px 16px;background:#fff;border:1px dashed #9ea1aa;border-radius:4px;min-height:126px;display:flex;align-items:center}.dr-file-upload__single-item-container dr-file-upload-item{border:none;padding:0;background:transparent}.dr-file-upload__single-item-close{display:flex;align-items:center;justify-content:center;position:absolute;top:4px;right:4px;padding:0;margin:0;border:none;background:transparent;cursor:pointer;z-index:1;border-radius:2px}.dr-file-upload__single-item-close i{font-size:16px;color:#333}.dr-file-upload__single-item-close:hover i{color:#333}.dr-file-upload__single-item-close:focus{outline:2px solid #4646ce;outline-offset:2px}.dr-file-upload__single-item-close:focus:not(:focus-visible){outline:none}.dr-file-upload__single-item-close:focus-visible{outline:2px solid #4646ce;outline-offset:2px}:host(.dr-file-upload--dragover) .dr-file-upload__dropzone{background:#f5f5f5;border-color:#4646ce}:host(.dr-file-upload--disabled) .dr-file-upload__dropzone{pointer-events:none;opacity:.6}:host(.dr-file-upload--disabled) .dr-file-upload__dropzone:hover{border-color:#9ea1aa}:host(.dr-file-upload--single) .dr-file-upload__dropzone{min-height:148px}:host(.dr-file-upload--multiple) .dr-file-upload__dropzone{min-height:100px}\n"] }]
|
|
19949
|
+
}], null, { variant: [{
|
|
19950
|
+
type: Input
|
|
19951
|
+
}], accept: [{
|
|
19952
|
+
type: Input
|
|
19953
|
+
}], maxFileSize: [{
|
|
19954
|
+
type: Input
|
|
19955
|
+
}], maxFiles: [{
|
|
19956
|
+
type: Input
|
|
19957
|
+
}], disabled: [{
|
|
19958
|
+
type: Input,
|
|
19959
|
+
args: [{ transform: booleanAttribute }]
|
|
19960
|
+
}], validateFormats: [{
|
|
19961
|
+
type: Input,
|
|
19962
|
+
args: [{ transform: booleanAttribute }]
|
|
19963
|
+
}], dropzoneText: [{
|
|
19964
|
+
type: Input
|
|
19965
|
+
}], dropzoneSubtext: [{
|
|
19966
|
+
type: Input
|
|
19967
|
+
}], errorMessage: [{
|
|
19968
|
+
type: Input
|
|
19969
|
+
}], customAriaLabel: [{
|
|
19970
|
+
type: Input,
|
|
19971
|
+
args: ['aria-label']
|
|
19972
|
+
}], files: [{
|
|
19973
|
+
type: Input
|
|
19974
|
+
}], filesChange: [{
|
|
19975
|
+
type: Output
|
|
19976
|
+
}], fileRemove: [{
|
|
19977
|
+
type: Output
|
|
19978
|
+
}], validationError: [{
|
|
19979
|
+
type: Output
|
|
19980
|
+
}], dropzoneTemplate: [{
|
|
19981
|
+
type: ContentChild,
|
|
19982
|
+
args: ['dropzoneTemplate']
|
|
19983
|
+
}], fileItemTemplate: [{
|
|
19984
|
+
type: ContentChild,
|
|
19985
|
+
args: ['fileItemTemplate']
|
|
19986
|
+
}], browseButtonTemplate: [{
|
|
19987
|
+
type: ContentChild,
|
|
19988
|
+
args: ['browseButtonTemplate']
|
|
19989
|
+
}], uploadTemplate: [{
|
|
19990
|
+
type: ContentChild,
|
|
19991
|
+
args: ['uploadTemplate']
|
|
19992
|
+
}], fileInput: [{
|
|
19993
|
+
type: ViewChild,
|
|
19994
|
+
args: ['fileInput', { static: true }]
|
|
19995
|
+
}], isDisabled: [{
|
|
19996
|
+
type: HostBinding,
|
|
19997
|
+
args: ['class.dr-file-upload--disabled']
|
|
19998
|
+
}], hasDragover: [{
|
|
19999
|
+
type: HostBinding,
|
|
20000
|
+
args: ['class.dr-file-upload--dragover']
|
|
20001
|
+
}], hasFiles: [{
|
|
20002
|
+
type: HostBinding,
|
|
20003
|
+
args: ['class.dr-file-upload--has-files']
|
|
20004
|
+
}], isSingle: [{
|
|
20005
|
+
type: HostBinding,
|
|
20006
|
+
args: ['class.dr-file-upload--single']
|
|
20007
|
+
}], isMultiple: [{
|
|
20008
|
+
type: HostBinding,
|
|
20009
|
+
args: ['class.dr-file-upload--multiple']
|
|
20010
|
+
}] }); })();
|
|
20011
|
+
|
|
20012
|
+
const _c0$1 = ["dropzoneTemplate"];
|
|
20013
|
+
const _c1 = ["fileItemTemplate"];
|
|
20014
|
+
function DrFileUploadImageTemplateComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
20015
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
20016
|
+
i0.ɵɵelement(1, "div", 3);
|
|
20017
|
+
i0.ɵɵelementStart(2, "div", 4)(3, "span", 5);
|
|
20018
|
+
i0.ɵɵtext(4);
|
|
20019
|
+
i0.ɵɵelementEnd();
|
|
20020
|
+
i0.ɵɵelementStart(5, "span", 6);
|
|
20021
|
+
i0.ɵɵtext(6, "or ");
|
|
20022
|
+
i0.ɵɵelementStart(7, "span", 7);
|
|
20023
|
+
i0.ɵɵtext(8, "Select a photo");
|
|
20024
|
+
i0.ɵɵelementEnd()()()();
|
|
20025
|
+
} if (rf & 2) {
|
|
20026
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
20027
|
+
i0.ɵɵadvance(4);
|
|
20028
|
+
i0.ɵɵtextInterpolate(ctx_r1.title);
|
|
20029
|
+
} }
|
|
20030
|
+
function DrFileUploadImageTemplateComponent_ng_template_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
20031
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
20032
|
+
i0.ɵɵelementContainerStart(0);
|
|
20033
|
+
i0.ɵɵelementStart(1, "dr-image-cropper", 11);
|
|
20034
|
+
i0.ɵɵlistener("cropChanged", function DrFileUploadImageTemplateComponent_ng_template_2_ng_container_1_Template_dr_image_cropper_cropChanged_1_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.onCropChanged($event)); })("clearClicked", function DrFileUploadImageTemplateComponent_ng_template_2_ng_container_1_Template_dr_image_cropper_clearClicked_1_listener() { i0.ɵɵrestoreView(_r11); const ctx_r13 = i0.ɵɵnextContext(); const item_r5 = ctx_r13.$implicit; const remove_r6 = ctx_r13.remove; return i0.ɵɵresetView(remove_r6(item_r5)); });
|
|
20035
|
+
i0.ɵɵelementEnd();
|
|
20036
|
+
i0.ɵɵelementContainerEnd();
|
|
20037
|
+
} if (rf & 2) {
|
|
20038
|
+
const item_r5 = i0.ɵɵnextContext().$implicit;
|
|
20039
|
+
const ctx_r7 = i0.ɵɵnextContext();
|
|
20040
|
+
i0.ɵɵadvance(1);
|
|
20041
|
+
i0.ɵɵproperty("imageFile", ctx_r7.originalImageFile || item_r5.file)("cropperSize", ctx_r7.cropperSize);
|
|
20042
|
+
} }
|
|
20043
|
+
function DrFileUploadImageTemplateComponent_ng_template_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
20044
|
+
const _r17 = i0.ɵɵgetCurrentView();
|
|
20045
|
+
i0.ɵɵelementStart(0, "div", 12);
|
|
20046
|
+
i0.ɵɵelement(1, "img", 13);
|
|
20047
|
+
i0.ɵɵelementEnd();
|
|
20048
|
+
i0.ɵɵelementStart(2, "dr-button", 14);
|
|
20049
|
+
i0.ɵɵlistener("click", function DrFileUploadImageTemplateComponent_ng_template_2_ng_template_2_Template_dr_button_click_2_listener() { i0.ɵɵrestoreView(_r17); const ctx_r16 = i0.ɵɵnextContext(); const item_r5 = ctx_r16.$implicit; const remove_r6 = ctx_r16.remove; return i0.ɵɵresetView(remove_r6(item_r5)); });
|
|
20050
|
+
i0.ɵɵtext(3, " Try another image ");
|
|
20051
|
+
i0.ɵɵelementEnd();
|
|
20052
|
+
} if (rf & 2) {
|
|
20053
|
+
const item_r5 = i0.ɵɵnextContext().$implicit;
|
|
20054
|
+
const ctx_r9 = i0.ɵɵnextContext();
|
|
20055
|
+
i0.ɵɵadvance(1);
|
|
20056
|
+
i0.ɵɵproperty("src", ctx_r9.imgUrl || ctx_r9.getImageUrl(item_r5.file), i0.ɵɵsanitizeUrl);
|
|
20057
|
+
} }
|
|
20058
|
+
function DrFileUploadImageTemplateComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
20059
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
20060
|
+
i0.ɵɵtemplate(1, DrFileUploadImageTemplateComponent_ng_template_2_ng_container_1_Template, 2, 2, "ng-container", 9);
|
|
20061
|
+
i0.ɵɵtemplate(2, DrFileUploadImageTemplateComponent_ng_template_2_ng_template_2_Template, 4, 1, "ng-template", null, 10, i0.ɵɵtemplateRefExtractor);
|
|
20062
|
+
i0.ɵɵelementEnd();
|
|
20063
|
+
} if (rf & 2) {
|
|
20064
|
+
const _r8 = i0.ɵɵreference(3);
|
|
20065
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
20066
|
+
i0.ɵɵadvance(1);
|
|
20067
|
+
i0.ɵɵproperty("ngIf", ctx_r3.useImageCropper)("ngIfElse", _r8);
|
|
20068
|
+
} }
|
|
20069
|
+
class DrFileUploadImageTemplateComponent {
|
|
20070
|
+
constructor() {
|
|
20071
|
+
this.title = 'Drag & drop a photo';
|
|
20072
|
+
this.useImageCropper = false;
|
|
20073
|
+
this.imageCropped = new EventEmitter();
|
|
20074
|
+
this.imageUrlCache = new WeakMap();
|
|
20075
|
+
this.createdUrls = new Set();
|
|
20076
|
+
}
|
|
20077
|
+
ngOnDestroy() {
|
|
20078
|
+
this.createdUrls.forEach((url) => {
|
|
20079
|
+
URL.revokeObjectURL(url);
|
|
20080
|
+
});
|
|
20081
|
+
this.createdUrls.clear();
|
|
20082
|
+
}
|
|
20083
|
+
onCropChanged(data) {
|
|
20084
|
+
this.imageCropped.emit(data);
|
|
20085
|
+
}
|
|
20086
|
+
getImageUrl(file) {
|
|
20087
|
+
if (!file) {
|
|
20088
|
+
return '';
|
|
20089
|
+
}
|
|
20090
|
+
let url = this.imageUrlCache.get(file);
|
|
20091
|
+
if (!url) {
|
|
20092
|
+
url = URL.createObjectURL(file);
|
|
20093
|
+
this.imageUrlCache.set(file, url);
|
|
20094
|
+
this.createdUrls.add(url);
|
|
20095
|
+
}
|
|
20096
|
+
return url;
|
|
20097
|
+
}
|
|
20098
|
+
revokeImageUrl(file) {
|
|
20099
|
+
const url = this.imageUrlCache.get(file);
|
|
20100
|
+
if (url) {
|
|
20101
|
+
URL.revokeObjectURL(url);
|
|
20102
|
+
this.createdUrls.delete(url);
|
|
20103
|
+
}
|
|
20104
|
+
}
|
|
20105
|
+
/** @nocollapse */ static { this.ɵfac = function DrFileUploadImageTemplateComponent_Factory(t) { return new (t || DrFileUploadImageTemplateComponent)(); }; }
|
|
20106
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: DrFileUploadImageTemplateComponent, selectors: [["dr-file-upload-image-template"]], viewQuery: function DrFileUploadImageTemplateComponent_Query(rf, ctx) { if (rf & 1) {
|
|
20107
|
+
i0.ɵɵviewQuery(_c0$1, 5);
|
|
20108
|
+
i0.ɵɵviewQuery(_c1, 5);
|
|
20109
|
+
} if (rf & 2) {
|
|
20110
|
+
let _t;
|
|
20111
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.dropzoneTemplate = _t.first);
|
|
20112
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileItemTemplate = _t.first);
|
|
20113
|
+
} }, inputs: { title: "title", useImageCropper: "useImageCropper", cropperSize: "cropperSize", originalImageFile: "originalImageFile", imgUrl: "imgUrl" }, outputs: { imageCropped: "imageCropped" }, standalone: true, features: [i0.ɵɵStandaloneFeature], decls: 4, vars: 0, consts: [["dropzoneTemplate", ""], ["fileItemTemplate", ""], [1, "image-dropzone"], [1, "image-dropzone__icon", "dr-icon-add-image"], [1, "image-dropzone__text"], [1, "image-dropzone__title"], [1, "image-dropzone__subtitle"], [1, "image-dropzone__link"], [1, "image-file-item"], [4, "ngIf", "ngIfElse"], ["originalImageTemplate", ""], [3, "imageFile", "cropperSize", "cropChanged", "clearClicked"], [1, "image-file-item__preview"], ["alt", "Uploaded image", 1, "image-file-item__img", 3, "src"], ["theme", "ghost", "data-analytics", "file-upload_file-upload-image-template_button-0", 1, "image-file-item__remove-btn", 3, "click"]], template: function DrFileUploadImageTemplateComponent_Template(rf, ctx) { if (rf & 1) {
|
|
20114
|
+
i0.ɵɵtemplate(0, DrFileUploadImageTemplateComponent_ng_template_0_Template, 9, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
20115
|
+
i0.ɵɵtemplate(2, DrFileUploadImageTemplateComponent_ng_template_2_Template, 4, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
20116
|
+
} }, dependencies: [CommonModule, i1$1.NgIf, DrButtonComponent, DrImageCropperComponent], styles: [".image-dropzone[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;width:100%;height:100%}.image-dropzone__icon[_ngcontent-%COMP%]{font-size:64px;color:#6d6e6f}.image-dropzone__text[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}.image-dropzone__title[_ngcontent-%COMP%], .image-dropzone__subtitle[_ngcontent-%COMP%]{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}.image-dropzone__link[_ngcontent-%COMP%]{color:#4646ce;cursor:pointer}.image-dropzone__link[_ngcontent-%COMP%]:hover{text-decoration:underline}.image-file-item[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:24px;width:100%}.image-file-item__preview[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;max-width:100%;max-height:300px;overflow:hidden;border-radius:4px}.image-file-item__img[_ngcontent-%COMP%]{max-width:100%;max-height:300px;object-fit:contain}.image-file-item__remove-btn[_ngcontent-%COMP%]{color:#4646ce}"], changeDetection: 0 }); }
|
|
20117
|
+
}
|
|
20118
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DrFileUploadImageTemplateComponent, [{
|
|
20119
|
+
type: Component,
|
|
20120
|
+
args: [{ selector: 'dr-file-upload-image-template', standalone: true, imports: [CommonModule, DrButtonComponent, DrImageCropperComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #dropzoneTemplate let-browse=\"browse\">\n <div class=\"image-dropzone\">\n <div class=\"image-dropzone__icon dr-icon-add-image\"></div>\n <div class=\"image-dropzone__text\">\n <span class=\"image-dropzone__title\">{{ title }}</span>\n <span class=\"image-dropzone__subtitle\">or <span class=\"image-dropzone__link\">Select a photo</span></span>\n </div>\n </div>\n</ng-template>\n\n<ng-template #fileItemTemplate let-item let-remove=\"remove\">\n <div class=\"image-file-item\">\n <ng-container *ngIf=\"useImageCropper; else originalImageTemplate\">\n <dr-image-cropper\n [imageFile]=\"originalImageFile || item.file\"\n [cropperSize]=\"cropperSize\"\n (cropChanged)=\"onCropChanged($event)\"\n (clearClicked)=\"remove(item)\">\n </dr-image-cropper>\n </ng-container>\n\n <ng-template #originalImageTemplate>\n <div class=\"image-file-item__preview\">\n <img class=\"image-file-item__img\" [src]=\"imgUrl || getImageUrl(item.file)\" alt=\"Uploaded image\" />\n </div>\n <dr-button\n theme=\"ghost\"\n class=\"image-file-item__remove-btn\"\n (click)=\"remove(item)\"\n data-analytics=\"file-upload_file-upload-image-template_button-0\">\n Try another image\n </dr-button>\n </ng-template>\n </div>\n</ng-template>\n", styles: [".image-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;width:100%;height:100%}.image-dropzone__icon{font-size:64px;color:#6d6e6f}.image-dropzone__text{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}.image-dropzone__title,.image-dropzone__subtitle{font-size:14px;line-height:24px;font-weight:400;color:#6d6e6f}.image-dropzone__link{color:#4646ce;cursor:pointer}.image-dropzone__link:hover{text-decoration:underline}.image-file-item{display:flex;flex-direction:column;align-items:center;gap:24px;width:100%}.image-file-item__preview{display:flex;align-items:center;justify-content:center;max-width:100%;max-height:300px;overflow:hidden;border-radius:4px}.image-file-item__img{max-width:100%;max-height:300px;object-fit:contain}.image-file-item__remove-btn{color:#4646ce}\n"] }]
|
|
20121
|
+
}], null, { title: [{
|
|
20122
|
+
type: Input
|
|
20123
|
+
}], useImageCropper: [{
|
|
20124
|
+
type: Input
|
|
20125
|
+
}], cropperSize: [{
|
|
20126
|
+
type: Input
|
|
20127
|
+
}], originalImageFile: [{
|
|
20128
|
+
type: Input
|
|
20129
|
+
}], imgUrl: [{
|
|
20130
|
+
type: Input
|
|
20131
|
+
}], imageCropped: [{
|
|
20132
|
+
type: Output
|
|
20133
|
+
}], dropzoneTemplate: [{
|
|
20134
|
+
type: ViewChild,
|
|
20135
|
+
args: ['dropzoneTemplate']
|
|
20136
|
+
}], fileItemTemplate: [{
|
|
20137
|
+
type: ViewChild,
|
|
20138
|
+
args: ['fileItemTemplate']
|
|
20139
|
+
}] }); })();
|
|
20140
|
+
|
|
19164
20141
|
/* components */
|
|
19165
20142
|
|
|
19166
20143
|
var EmojiPickerMode;
|
|
@@ -19310,5 +20287,5 @@ class EmojiPickerComponent {
|
|
|
19310
20287
|
* Generated bundle index. Do not edit.
|
|
19311
20288
|
*/
|
|
19312
20289
|
|
|
19313
|
-
export { ASSETS_URL, AbstractSingleGridComponent, AllCheckedPipe, AutofocusDirective, BadgeStatus, CHAT_MESSAGE_TYPE, CROP_IMAGE_MODES, CalendarView, CellActionComponent, CellBadgeStatusComponent, CellButtonComponent, CellCheckboxComponent, CellChildrenListComponent, CellCustomTemplateComponent, CellIconActionsComponent, CellIconTextEditComponent, CellLinkComponent, CellSelectComponent, CellSetAsDefaultComponent, CellSplitRowsComponent, CellToggleComponent, ChatMessage, ChatRole, CheckboxComponent, ClickOutsideDirective, ClickOutsideModule, CodeEditorHintWrapperComponent, Colors, CustomDateAdapter, CustomDateFormat, DEFAULT_LINK_FONT_SIZE, DEFAULT_LINK_FONT_WEIGHT, DIALOG_BUTTON_LABEL, DIALOG_FIELD_TYPE, DIALOG_SIZE, DR_COLOR_ADDITIONAL_BLUE, DR_COLOR_ADDITIONAL_BRIGHT_GREEN, DR_COLOR_ADDITIONAL_BRIGHT_PINK, DR_COLOR_ADDITIONAL_BRIGHT_PURPLE, DR_COLOR_ADDITIONAL_COOL_LAGOON, DR_COLOR_ADDITIONAL_DARK_BLUE, DR_COLOR_ADDITIONAL_DARK_GREEN, DR_COLOR_ADDITIONAL_DEEP_MOCHA, DR_COLOR_ADDITIONAL_FRESH_LIME, DR_COLOR_ADDITIONAL_GRAPE, DR_COLOR_ADDITIONAL_HONEY, DR_COLOR_ADDITIONAL_LAVENDER, DR_COLOR_ADDITIONAL_LIGHT_BLUE, DR_COLOR_ADDITIONAL_LIGHT_PINK, DR_COLOR_ADDITIONAL_MEDIUM_GREEN, DR_COLOR_ADDITIONAL_MOUSE, DR_COLOR_ADDITIONAL_NAVY_BLUE, DR_COLOR_ADDITIONAL_ORANGE, DR_COLOR_ADDITIONAL_ROYAL_PURPLE, DR_COLOR_ADDITIONAL_SKY_BREEZE, DR_COLOR_ADDITIONAL_SOFT_CORAL, DR_COLOR_ADDITIONAL_SPACE, DR_COLOR_AI_BACKGROUND_MAIN_GRADIENT, DR_COLOR_AI_BACKGROUND_MAIN_HOVER_GRADIENT, DR_COLOR_AI_BACKGROUND_SECONDARY_HOVER_GRADIENT, DR_COLOR_AI_BORDER_SECONDARY_GRADIENT, DR_COLOR_AI_GRADIENT, DR_COLOR_AI_LIGHT_GRADIENT, DR_COLOR_AI_PURPLE_GRADIENT, DR_COLOR_BACKGROUND_DISABLED, DR_COLOR_BACKGROUND_HEADER, DR_COLOR_BACKGROUND_HOVER, DR_COLOR_BACKGROUND_MAIN, DR_COLOR_BACKGROUND_MAIN_HEADER, DR_COLOR_BACKGROUND_SECONDARY, DR_COLOR_BACKGROUND_SELECTED, DR_COLOR_BACKGROUND_STATUS_ERROR, DR_COLOR_BACKGROUND_STATUS_INFO, DR_COLOR_BACKGROUND_STATUS_PROGRESS, DR_COLOR_BACKGROUND_STATUS_REGULAR, DR_COLOR_BACKGROUND_STATUS_SUCCESS, DR_COLOR_BACKGROUND_STATUS_WARNING, DR_COLOR_BACKGROUND_WHITE, DR_COLOR_BADGE_BABY_BLUE, DR_COLOR_BADGE_BABY_PINK, DR_COLOR_BADGE_BRIGHT_GREEN, DR_COLOR_BADGE_LIGHT_PURPLE, DR_COLOR_BADGE_LIGHT_TURQUOISE, DR_COLOR_BADGE_MUTED_PLUM, DR_COLOR_BADGE_PALE_YELLOW, DR_COLOR_BADGE_PASTEL_OLIVE, DR_COLOR_BADGE_PEACH, DR_COLOR_BADGE_POWDER_BLUE_GREY, DR_COLOR_BADGE_SOFT_CORAL, DR_COLOR_BADGE_STONE, DR_COLOR_BADGE_WATER, DR_COLOR_BORDER_ACTIVE, DR_COLOR_BORDER_DISABLED, DR_COLOR_BORDER_DIVIDER, DR_COLOR_BORDER_ERROR, DR_COLOR_BORDER_INPUT, DR_COLOR_GRAY, DR_COLOR_GRAY_DARK, DR_COLOR_GRAY_DARKER, DR_COLOR_GRAY_LIGHT, DR_COLOR_GRAY_MEDIUM_DARK, DR_COLOR_GRAY_MEDIUM_LIGHT, DR_COLOR_PINK, DR_COLOR_PINK_DARK, DR_COLOR_PINK_DARKER, DR_COLOR_PINK_LIGHT, DR_COLOR_PINK_LIGHTER, DR_COLOR_PINK_SUPER_LIGHT, DR_COLOR_PINK_ULTRA_LIGHTER, DR_COLOR_PRIMARY, DR_COLOR_PRIMARY_DARK, DR_COLOR_PRIMARY_DARKER, DR_COLOR_PRIMARY_GRADIENT, DR_COLOR_PRIMARY_LIGHT, DR_COLOR_PRIMARY_LIGHTER, DR_COLOR_PRIMARY_SUPER_LIGHT, DR_COLOR_PRIMARY_ULTRA_LIGHT, DR_COLOR_STATUS_ERROR, DR_COLOR_STATUS_INFO, DR_COLOR_STATUS_PROGRESS, DR_COLOR_STATUS_REGULAR, DR_COLOR_STATUS_SUCCESS, DR_COLOR_STATUS_WARNING, DR_COLOR_TEXT_ACTIVE, DR_COLOR_TEXT_DISABLED, DR_COLOR_TEXT_ERROR, DR_COLOR_TEXT_INFO, DR_COLOR_TEXT_MAIN, DR_COLOR_TEXT_SECONDARY, DR_COLOR_TEXT_SUCCESS, DR_COLOR_TEXT_WARNING, DR_COLOR_TEXT_WHITE, DR_COLOR_YELLOW, DR_COLOR_YELLOW_DARK, DR_COLOR_YELLOW_DARKER, DR_COLOR_YELLOW_LIGHT, DR_COLOR_YELLOW_LIGHTER, DR_COLOR_YELLOW_SUPER_LIGHT, DR_COLOR_YELLOW_ULTRA_LIGHT, DR_DRAWER_DATA, DR_DRAWER_DEFAULT_OPTIONS, DR_SHINE_ANIMATION_CLASS, DataAnalyticsService, DateFromats, DatePickerPeriodPosition, DateTags, DateTimePickerComponent, Debounce, DefaultToastrComponent, DefaultTreeviewEventParser, DefaultTreeviewI18n, DialogModalWrapperComponent, DialogService, DialogWrapperComponent, DownlineTreeviewEventParser, DrAccordionComponent, DrAccordionItemBodyComponent, DrAccordionItemComponent, DrAccordionItemHeaderComponent, DrAccordionModule, DrAlertComponent, DrAlertModule, DrAlertTheme, DrAvatarComponent, DrAvatarModule, DrAvatarPipe, DrAvatarService, DrBadgeComponent, DrBadgeStatusComponent, DrBadgeStatusModule, DrButtonComponent, DrCardComponent, DrCardContentComponent, DrCardHeaderActionsComponent, DrCardHeaderComponent, DrCardModule, DrCardSubtitleComponent, DrCardTitleComponent, DrChatAlertComponent, DrChatComponent, DrChatCustomMessageDirective, DrChatDroppedFilesComponent, DrChatFormComponent, DrChatFormDropdownComponent, DrChatMessageComponent, DrChatMessageFileComponent, DrChatMessageTextComponent, DrChatModule, DrChatSuggestionsComponent, DrChipComponent, DrCodeEditorComponent, DrCodeEditorModule, DrCodemirrorComponent, DrDatePickerComponent, DrDatePickerCustomHeaderComponent, DrDatePickerFormatDirective, DrDatePickerRangeComponent, DrDatePickerWithTimeframeComponent, DrDetailsListComponent, DrDetailsListModule, DrDialogModule, DrDividerComponent, DrDotFlashingComponent, DrDropdownChildDirective, DrDropdownComponent, DrDropdownDirective, DrDropdownItemComponent, DrDropdownItemShowPipe, DrDropdownModule, DrDropdownService, DrErrorComponent, DrErrorModule, DrFiscalMonthCalendarHeaderComponent, DrFiscalMonthCalendarPickerComponent, DrGalleryComponent, DrGridColumnsFilterPopoverComponent, DrGridComponent, DrGridNoRowsComponent, DrGridPaginationComponent, DrGridToolbarComponent, DrImageCropperComponent, DrInputComponent, DrInputsModule, DrLayoutBodyComponent, DrLayoutComponent, DrLayoutHeaderComponent, DrLayoutModule, DrLinkComponent, DrListOverflowComponent, DrModelDebounceChangeDirective, DrPopoverAlignmentDimension, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrPopoverRef, DrPopoverService, DrProgressBarComponent, DrSelectAddItemComponent, DrSelectComponent, DrSharedUtils, DrShineAnimationDirective, DrShowTimeframePipe, DrSliderComponent, DrSpinnerComponent, DrSpinnerDirective, DrSpinnerModule, DrStepperModule, DrSystemMessageComponent, DrTabComponent, DrTabsComponent, DrTabsModule, DrTagComponent, DrTagDateComponent, DrTagDayComponent, DrTagForecastComponent, DrTagListComponent, DrTagMonthComponent, DrTagQuarterComponent, DrTagWeekComponent, DrTagYearComponent, DrTagsAndScenarioComponent, DrTagsAndScenarioConstructorComponent, DrTagsConstructorComponent, DrToastrModule, DrToastrService, DrToggleButtonComponent, DrToggleComponent, DrTooltipDirective, DrTooltipModule, Drawer, DrawerConfig, DrawerContainer, DrawerModule, DrawerRef, DropdownInstanceService, ElementOverflowDirective, EmojiPickerComponent, FeedbackSentiment, FilterDropdownComponent, FilterPipe, FiscalMonthAdapter, ForecastTagService, GMT_OFFSETS, GRID_THEME_OPTIONS, GridDrEventType, GridSortDirections, ICodeEditorHintIcon, IMAGE_TYPES, ImgPipe, IndeterminatePipe, LOCAL_TIME_ZONE_OFFSET, LetContext, LetDirective, LinkTheme, OrderDownlineTreeviewEventParser, RadioButtonComponent, RadioGroupComponent, Scenario, ScenarioService, SearchPipe, SeparateTableColumnDirective, SeparateTableComponent, StepWizardDirective, StepperComponent, StepperWizardComponent, TagTypes, TagsConfigSubType, TagsConstructorService, TblHeaderComponent, TblToggleButtonHeaderComponent, TextOverflowComponent, Throttle, TimePickerComponent, TimeframeOption, ToastrStatus, ToastrStatusIcon, ToggleButtonMode, TooltipComponent, TooltipCustomComponent, TooltipDefaultComponent, TooltipInfoComponent, TooltipInfoIconTheme, TooltipInfoWidth, TooltipTheme, TrackByPropertyDirective, TreeviewComponent, TreeviewConfig, TreeviewEventParser, TreeviewHelper, TreeviewI18n, TreeviewItem, TreeviewModule, TreeviewPipe, TruncateTextDirective, getColumnSortingBySortType, getGMTLabel, getSortTypeByColumnSorting, gridSortArrayByLength, gridSortArrayWithSystem, gridSortDate, gridSortNumber, gridSortWithFormatter, gridSortWithSystem, gridSortWithSystemAndFormatter, gridSumAggregation };
|
|
20290
|
+
export { ASSETS_URL, AbstractSingleGridComponent, AllCheckedPipe, AutofocusDirective, BadgeStatus, CHAT_MESSAGE_TYPE, CROP_IMAGE_MODES, CalendarView, CellActionComponent, CellBadgeStatusComponent, CellButtonComponent, CellCheckboxComponent, CellChildrenListComponent, CellCustomTemplateComponent, CellIconActionsComponent, CellIconTextEditComponent, CellLinkComponent, CellSelectComponent, CellSetAsDefaultComponent, CellSplitRowsComponent, CellToggleComponent, ChatMessage, ChatRole, CheckboxComponent, ClickOutsideDirective, ClickOutsideModule, CodeEditorHintWrapperComponent, Colors, CustomDateAdapter, CustomDateFormat, DEFAULT_LINK_FONT_SIZE, DEFAULT_LINK_FONT_WEIGHT, DIALOG_BUTTON_LABEL, DIALOG_FIELD_TYPE, DIALOG_SIZE, DR_COLOR_ADDITIONAL_BLUE, DR_COLOR_ADDITIONAL_BRIGHT_GREEN, DR_COLOR_ADDITIONAL_BRIGHT_PINK, DR_COLOR_ADDITIONAL_BRIGHT_PURPLE, DR_COLOR_ADDITIONAL_COOL_LAGOON, DR_COLOR_ADDITIONAL_DARK_BLUE, DR_COLOR_ADDITIONAL_DARK_GREEN, DR_COLOR_ADDITIONAL_DEEP_MOCHA, DR_COLOR_ADDITIONAL_FRESH_LIME, DR_COLOR_ADDITIONAL_GRAPE, DR_COLOR_ADDITIONAL_HONEY, DR_COLOR_ADDITIONAL_LAVENDER, DR_COLOR_ADDITIONAL_LIGHT_BLUE, DR_COLOR_ADDITIONAL_LIGHT_PINK, DR_COLOR_ADDITIONAL_MEDIUM_GREEN, DR_COLOR_ADDITIONAL_MOUSE, DR_COLOR_ADDITIONAL_NAVY_BLUE, DR_COLOR_ADDITIONAL_ORANGE, DR_COLOR_ADDITIONAL_ROYAL_PURPLE, DR_COLOR_ADDITIONAL_SKY_BREEZE, DR_COLOR_ADDITIONAL_SOFT_CORAL, DR_COLOR_ADDITIONAL_SPACE, DR_COLOR_AI_BACKGROUND_MAIN_GRADIENT, DR_COLOR_AI_BACKGROUND_MAIN_HOVER_GRADIENT, DR_COLOR_AI_BACKGROUND_SECONDARY_HOVER_GRADIENT, DR_COLOR_AI_BORDER_SECONDARY_GRADIENT, DR_COLOR_AI_GRADIENT, DR_COLOR_AI_LIGHT_GRADIENT, DR_COLOR_AI_PURPLE_GRADIENT, DR_COLOR_BACKGROUND_DISABLED, DR_COLOR_BACKGROUND_HEADER, DR_COLOR_BACKGROUND_HOVER, DR_COLOR_BACKGROUND_MAIN, DR_COLOR_BACKGROUND_MAIN_HEADER, DR_COLOR_BACKGROUND_SECONDARY, DR_COLOR_BACKGROUND_SELECTED, DR_COLOR_BACKGROUND_STATUS_ERROR, DR_COLOR_BACKGROUND_STATUS_INFO, DR_COLOR_BACKGROUND_STATUS_PROGRESS, DR_COLOR_BACKGROUND_STATUS_REGULAR, DR_COLOR_BACKGROUND_STATUS_SUCCESS, DR_COLOR_BACKGROUND_STATUS_WARNING, DR_COLOR_BACKGROUND_WHITE, DR_COLOR_BADGE_BABY_BLUE, DR_COLOR_BADGE_BABY_PINK, DR_COLOR_BADGE_BRIGHT_GREEN, DR_COLOR_BADGE_LIGHT_PURPLE, DR_COLOR_BADGE_LIGHT_TURQUOISE, DR_COLOR_BADGE_MUTED_PLUM, DR_COLOR_BADGE_PALE_YELLOW, DR_COLOR_BADGE_PASTEL_OLIVE, DR_COLOR_BADGE_PEACH, DR_COLOR_BADGE_POWDER_BLUE_GREY, DR_COLOR_BADGE_SOFT_CORAL, DR_COLOR_BADGE_STONE, DR_COLOR_BADGE_WATER, DR_COLOR_BORDER_ACTIVE, DR_COLOR_BORDER_DISABLED, DR_COLOR_BORDER_DIVIDER, DR_COLOR_BORDER_ERROR, DR_COLOR_BORDER_INPUT, DR_COLOR_GRAY, DR_COLOR_GRAY_DARK, DR_COLOR_GRAY_DARKER, DR_COLOR_GRAY_LIGHT, DR_COLOR_GRAY_MEDIUM_DARK, DR_COLOR_GRAY_MEDIUM_LIGHT, DR_COLOR_PINK, DR_COLOR_PINK_DARK, DR_COLOR_PINK_DARKER, DR_COLOR_PINK_LIGHT, DR_COLOR_PINK_LIGHTER, DR_COLOR_PINK_SUPER_LIGHT, DR_COLOR_PINK_ULTRA_LIGHTER, DR_COLOR_PRIMARY, DR_COLOR_PRIMARY_DARK, DR_COLOR_PRIMARY_DARKER, DR_COLOR_PRIMARY_GRADIENT, DR_COLOR_PRIMARY_LIGHT, DR_COLOR_PRIMARY_LIGHTER, DR_COLOR_PRIMARY_SUPER_LIGHT, DR_COLOR_PRIMARY_ULTRA_LIGHT, DR_COLOR_STATUS_ERROR, DR_COLOR_STATUS_INFO, DR_COLOR_STATUS_PROGRESS, DR_COLOR_STATUS_REGULAR, DR_COLOR_STATUS_SUCCESS, DR_COLOR_STATUS_WARNING, DR_COLOR_TEXT_ACTIVE, DR_COLOR_TEXT_DISABLED, DR_COLOR_TEXT_ERROR, DR_COLOR_TEXT_INFO, DR_COLOR_TEXT_MAIN, DR_COLOR_TEXT_SECONDARY, DR_COLOR_TEXT_SUCCESS, DR_COLOR_TEXT_WARNING, DR_COLOR_TEXT_WHITE, DR_COLOR_YELLOW, DR_COLOR_YELLOW_DARK, DR_COLOR_YELLOW_DARKER, DR_COLOR_YELLOW_LIGHT, DR_COLOR_YELLOW_LIGHTER, DR_COLOR_YELLOW_SUPER_LIGHT, DR_COLOR_YELLOW_ULTRA_LIGHT, DR_DRAWER_DATA, DR_DRAWER_DEFAULT_OPTIONS, DR_SHINE_ANIMATION_CLASS, DataAnalyticsService, DateFromats, DatePickerPeriodPosition, DateTags, DateTimePickerComponent, Debounce, DefaultToastrComponent, DefaultTreeviewEventParser, DefaultTreeviewI18n, DialogModalWrapperComponent, DialogService, DialogWrapperComponent, DownlineTreeviewEventParser, DrAccordionComponent, DrAccordionItemBodyComponent, DrAccordionItemComponent, DrAccordionItemHeaderComponent, DrAccordionModule, DrAlertComponent, DrAlertModule, DrAlertTheme, DrAvatarComponent, DrAvatarModule, DrAvatarPipe, DrAvatarService, DrBadgeComponent, DrBadgeStatusComponent, DrBadgeStatusModule, DrButtonComponent, DrCardComponent, DrCardContentComponent, DrCardHeaderActionsComponent, DrCardHeaderComponent, DrCardModule, DrCardSubtitleComponent, DrCardTitleComponent, DrChatAlertComponent, DrChatComponent, DrChatCustomMessageDirective, DrChatDroppedFilesComponent, DrChatFormComponent, DrChatFormDropdownComponent, DrChatMessageComponent, DrChatMessageFileComponent, DrChatMessageTextComponent, DrChatModule, DrChatSuggestionsComponent, DrChipComponent, DrCodeEditorComponent, DrCodeEditorModule, DrCodemirrorComponent, DrDatePickerComponent, DrDatePickerCustomHeaderComponent, DrDatePickerFormatDirective, DrDatePickerRangeComponent, DrDatePickerWithTimeframeComponent, DrDetailsListComponent, DrDetailsListModule, DrDialogModule, DrDividerComponent, DrDotFlashingComponent, DrDropdownChildDirective, DrDropdownComponent, DrDropdownDirective, DrDropdownItemComponent, DrDropdownItemShowPipe, DrDropdownModule, DrDropdownService, DrErrorComponent, DrErrorModule, DrFileUploadComponent, DrFileUploadImageTemplateComponent, DrFileUploadItemComponent, DrFiscalMonthCalendarHeaderComponent, DrFiscalMonthCalendarPickerComponent, DrGalleryComponent, DrGridColumnsFilterPopoverComponent, DrGridComponent, DrGridNoRowsComponent, DrGridPaginationComponent, DrGridToolbarComponent, DrImageCropperComponent, DrInputComponent, DrInputsModule, DrLayoutBodyComponent, DrLayoutComponent, DrLayoutHeaderComponent, DrLayoutModule, DrLinkComponent, DrListOverflowComponent, DrModelDebounceChangeDirective, DrPopoverAlignmentDimension, DrPopoverComponent, DrPopoverDirective, DrPopoverModule, DrPopoverRef, DrPopoverService, DrProgressBarComponent, DrSelectAddItemComponent, DrSelectComponent, DrSharedUtils, DrShineAnimationDirective, DrShowTimeframePipe, DrSliderComponent, DrSpinnerComponent, DrSpinnerDirective, DrSpinnerModule, DrStepperModule, DrSystemMessageComponent, DrTabComponent, DrTabsComponent, DrTabsModule, DrTagComponent, DrTagDateComponent, DrTagDayComponent, DrTagForecastComponent, DrTagListComponent, DrTagMonthComponent, DrTagQuarterComponent, DrTagWeekComponent, DrTagYearComponent, DrTagsAndScenarioComponent, DrTagsAndScenarioConstructorComponent, DrTagsConstructorComponent, DrToastrModule, DrToastrService, DrToggleButtonComponent, DrToggleComponent, DrTooltipDirective, DrTooltipModule, Drawer, DrawerConfig, DrawerContainer, DrawerModule, DrawerRef, DropdownInstanceService, ElementOverflowDirective, EmojiPickerComponent, FeedbackSentiment, FileUploadValidationService, FilterDropdownComponent, FilterPipe, FiscalMonthAdapter, ForecastTagService, GMT_OFFSETS, GRID_THEME_OPTIONS, GridDrEventType, GridSortDirections, ICodeEditorHintIcon, IMAGE_TYPES, ImgPipe, IndeterminatePipe, LOCAL_TIME_ZONE_OFFSET, LetContext, LetDirective, LinkTheme, OrderDownlineTreeviewEventParser, RadioButtonComponent, RadioGroupComponent, Scenario, ScenarioService, SearchPipe, SeparateTableColumnDirective, SeparateTableComponent, StepWizardDirective, StepperComponent, StepperWizardComponent, TagTypes, TagsConfigSubType, TagsConstructorService, TblHeaderComponent, TblToggleButtonHeaderComponent, TextOverflowComponent, Throttle, TimePickerComponent, TimeframeOption, ToastrStatus, ToastrStatusIcon, ToggleButtonMode, TooltipComponent, TooltipCustomComponent, TooltipDefaultComponent, TooltipInfoComponent, TooltipInfoIconTheme, TooltipInfoWidth, TooltipTheme, TrackByPropertyDirective, TreeviewComponent, TreeviewConfig, TreeviewEventParser, TreeviewHelper, TreeviewI18n, TreeviewItem, TreeviewModule, TreeviewPipe, TruncateTextDirective, getColumnSortingBySortType, getGMTLabel, getSortTypeByColumnSorting, gridSortArrayByLength, gridSortArrayWithSystem, gridSortDate, gridSortNumber, gridSortWithFormatter, gridSortWithSystem, gridSortWithSystemAndFormatter, gridSumAggregation };
|
|
19314
20291
|
//# sourceMappingURL=datarailsshared-datarailsshared.mjs.map
|