@acpaas-ui/ngx-forms 6.1.7 → 6.1.9
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/esm2020/lib/auto-complete/auto-complete.module.mjs +13 -14
- package/esm2020/lib/auto-complete/components/auto-complete/auto-complete.component.mjs +64 -146
- package/esm2020/lib/datepicker/components/datepicker/datepicker.component.mjs +67 -146
- package/esm2020/lib/datepicker/datepicker.module.mjs +23 -24
- package/esm2020/lib/range-slider/components/range-slider/range-slider.component.mjs +64 -116
- package/esm2020/lib/range-slider/range-slider.module.mjs +12 -13
- package/esm2020/lib/search-filter/components/search-filter/search-filter.component.mjs +51 -168
- package/esm2020/lib/search-filter/search-filter.module.mjs +12 -13
- package/esm2020/lib/shared/services/search.service.mjs +6 -6
- package/esm2020/lib/timepicker/components/timepicker/timepicker.component.mjs +37 -150
- package/esm2020/lib/timepicker/timepicker.module.mjs +13 -14
- package/esm2020/lib/upload/components/upload/upload.component.mjs +27 -55
- package/esm2020/lib/upload/components/upload-input/upload-input.component.mjs +19 -36
- package/esm2020/lib/upload/components/upload-queue/upload-queue.component.mjs +15 -51
- package/esm2020/lib/upload/components/upload-zone/upload-zone.component.mjs +43 -152
- package/esm2020/lib/upload/components/validation-list/validation-list.component.mjs +11 -42
- package/esm2020/lib/upload/services/validation-messages.service.mjs +9 -9
- package/esm2020/lib/upload/upload.module.mjs +20 -21
- package/fesm2015/acpaas-ui-ngx-forms.mjs +134 -990
- package/fesm2015/acpaas-ui-ngx-forms.mjs.map +1 -1
- package/fesm2020/acpaas-ui-ngx-forms.mjs +489 -1159
- package/fesm2020/acpaas-ui-ngx-forms.mjs.map +1 -1
- package/package.json +5 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, EventEmitter,
|
|
2
|
+
import { Injectable, EventEmitter, forwardRef, TemplateRef, Component, Input, Output, ViewChild, ContentChild, NgModule, InjectionToken, ChangeDetectionStrategy, Inject, HostBinding, HostListener } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i1$1 from '@angular/forms';
|
|
@@ -44,68 +44,12 @@ class SearchService {
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
/** @nocollapse */ SearchService.ɵfac =
|
|
48
|
-
/** @nocollapse */ SearchService.ɵprov =
|
|
49
|
-
(
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
/** @nocollapse */ SearchService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: SearchService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
48
|
+
/** @nocollapse */ SearchService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: SearchService });
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: SearchService, decorators: [{
|
|
50
|
+
type: Injectable
|
|
51
|
+
}] });
|
|
52
52
|
|
|
53
|
-
function AutoCompleteComponent_div_2_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
54
|
-
i0.ɵɵelementStart(0, "span", 7);
|
|
55
|
-
i0.ɵɵelement(1, "span", 8);
|
|
56
|
-
i0.ɵɵelementStart(2, "span", 9);
|
|
57
|
-
i0.ɵɵtext(3);
|
|
58
|
-
i0.ɵɵelementEnd()();
|
|
59
|
-
} if (rf & 2) {
|
|
60
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
61
|
-
i0.ɵɵadvance(3);
|
|
62
|
-
i0.ɵɵtextInterpolate(ctx_r1.loadingText);
|
|
63
|
-
} }
|
|
64
|
-
function AutoCompleteComponent_div_2_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
65
|
-
i0.ɵɵelementStart(0, "span", 10);
|
|
66
|
-
i0.ɵɵtext(1);
|
|
67
|
-
i0.ɵɵelementEnd();
|
|
68
|
-
} if (rf & 2) {
|
|
69
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
70
|
-
i0.ɵɵadvance(1);
|
|
71
|
-
i0.ɵɵtextInterpolate(ctx_r2.searchIncentiveText);
|
|
72
|
-
} }
|
|
73
|
-
function AutoCompleteComponent_div_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
-
i0.ɵɵelementStart(0, "span", 10);
|
|
75
|
-
i0.ɵɵtext(1);
|
|
76
|
-
i0.ɵɵelementEnd();
|
|
77
|
-
} if (rf & 2) {
|
|
78
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
79
|
-
i0.ɵɵadvance(1);
|
|
80
|
-
i0.ɵɵtextInterpolate(ctx_r3.noResultsText);
|
|
81
|
-
} }
|
|
82
|
-
function AutoCompleteComponent_div_2_aui_selectable_list_4_Template(rf, ctx) { if (rf & 1) {
|
|
83
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
|
84
|
-
i0.ɵɵelementStart(0, "aui-selectable-list", 11);
|
|
85
|
-
i0.ɵɵlistener("selected", function AutoCompleteComponent_div_2_aui_selectable_list_4_Template_aui_selectable_list_selected_0_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.onSelect($event)); });
|
|
86
|
-
i0.ɵɵelementEnd();
|
|
87
|
-
} if (rf & 2) {
|
|
88
|
-
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
89
|
-
i0.ɵɵproperty("index", ctx_r4.index)("itemTemplate", ctx_r4.template)("items", ctx_r4.results)("label", ctx_r4.label)("search", ctx_r4.query);
|
|
90
|
-
} }
|
|
91
|
-
function AutoCompleteComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
92
|
-
i0.ɵɵelementStart(0, "div", 3);
|
|
93
|
-
i0.ɵɵtemplate(1, AutoCompleteComponent_div_2_span_1_Template, 4, 1, "span", 4);
|
|
94
|
-
i0.ɵɵtemplate(2, AutoCompleteComponent_div_2_span_2_Template, 2, 1, "span", 5);
|
|
95
|
-
i0.ɵɵtemplate(3, AutoCompleteComponent_div_2_span_3_Template, 2, 1, "span", 5);
|
|
96
|
-
i0.ɵɵtemplate(4, AutoCompleteComponent_div_2_aui_selectable_list_4_Template, 1, 5, "aui-selectable-list", 6);
|
|
97
|
-
i0.ɵɵelementEnd();
|
|
98
|
-
} if (rf & 2) {
|
|
99
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
100
|
-
i0.ɵɵadvance(1);
|
|
101
|
-
i0.ɵɵproperty("ngIf", ctx_r0.focused && ctx_r0.loadingText && ctx_r0.searching);
|
|
102
|
-
i0.ɵɵadvance(1);
|
|
103
|
-
i0.ɵɵproperty("ngIf", ctx_r0.focused && ctx_r0.searchIncentiveText && !ctx_r0.searching && !ctx_r0.query && !ctx_r0.results.length);
|
|
104
|
-
i0.ɵɵadvance(1);
|
|
105
|
-
i0.ɵɵproperty("ngIf", ctx_r0.focused && ctx_r0.noResultsText && !ctx_r0.searching && ctx_r0.query && !ctx_r0.results.length);
|
|
106
|
-
i0.ɵɵadvance(1);
|
|
107
|
-
i0.ɵɵproperty("ngIf", ctx_r0.results.length > 0 && !(ctx_r0.focused && ctx_r0.loadingText && ctx_r0.searching));
|
|
108
|
-
} }
|
|
109
53
|
class AutoCompleteComponent {
|
|
110
54
|
constructor(ref, searchService) {
|
|
111
55
|
this.ref = ref;
|
|
@@ -297,111 +241,84 @@ class AutoCompleteComponent {
|
|
|
297
241
|
this.flyoutZone.element.scrollTop = this.index * liHeight - offset * liHeight;
|
|
298
242
|
}
|
|
299
243
|
}
|
|
300
|
-
/** @nocollapse */ AutoCompleteComponent.ɵfac =
|
|
301
|
-
/** @nocollapse */ AutoCompleteComponent.ɵcmp =
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
}], loadingText: [{
|
|
364
|
-
type: Input
|
|
365
|
-
}], noResultsText: [{
|
|
366
|
-
type: Input
|
|
367
|
-
}], showAllByDefault: [{
|
|
368
|
-
type: Input
|
|
369
|
-
}], autoComplete: [{
|
|
370
|
-
type: Input
|
|
371
|
-
}], label: [{
|
|
372
|
-
type: Input
|
|
373
|
-
}], value: [{
|
|
374
|
-
type: Input
|
|
375
|
-
}], search: [{
|
|
376
|
-
type: Output
|
|
377
|
-
}], select: [{
|
|
378
|
-
type: Output
|
|
379
|
-
}], flyout: [{
|
|
380
|
-
type: ViewChild,
|
|
381
|
-
args: [FlyoutDirective, { static: true }]
|
|
382
|
-
}], flyoutZone: [{
|
|
383
|
-
type: ViewChild,
|
|
384
|
-
args: [FlyoutZoneDirective, { static: true }]
|
|
385
|
-
}], template: [{
|
|
386
|
-
type: ContentChild,
|
|
387
|
-
args: [TemplateRef, { static: true }]
|
|
388
|
-
}] }); })();
|
|
244
|
+
/** @nocollapse */ AutoCompleteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AutoCompleteComponent, deps: [{ token: i0.ElementRef }, { token: SearchService }], target: i0.ɵɵFactoryTarget.Component });
|
|
245
|
+
/** @nocollapse */ AutoCompleteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: AutoCompleteComponent, selector: "aui-auto-complete", inputs: { id: "id", placeholder: "placeholder", description: "description", inputLabel: "inputLabel", results: "results", data: "data", remote: "remote", minCharacters: "minCharacters", clearInvalid: "clearInvalid", searchIncentiveText: "searchIncentiveText", loadingText: "loadingText", noResultsText: "noResultsText", showAllByDefault: "showAllByDefault", autoComplete: "autoComplete", label: "label", value: "value" }, outputs: { search: "search", select: "select" }, providers: [
|
|
246
|
+
{
|
|
247
|
+
provide: NG_VALUE_ACCESSOR,
|
|
248
|
+
useExisting: forwardRef((() => AutoCompleteComponent)),
|
|
249
|
+
multi: true,
|
|
250
|
+
},
|
|
251
|
+
], queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }], viewQueries: [{ propertyName: "flyout", first: true, predicate: FlyoutDirective, descendants: true, static: true }, { propertyName: "flyoutZone", first: true, predicate: FlyoutZoneDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div\n (closed)=\"onFlyoutClosed()\"\n [toggleClick]=\"false\"\n aria-haspopup=\"listbox\"\n auiFlyout\n class=\"m-flyout m-flyout--scrollable m-flyout--full o-auto-complete\"\n>\n <input\n (focus)=\"onFocus()\"\n (keyArrowDown)=\"onKeyArrowDown()\"\n (keyArrowUp)=\"onKeyArrowUp()\"\n (keyEnter)=\"onKeyEnter($event)\"\n (keyEscape)=\"onKeyEscape()\"\n [(ngModel)]=\"query\"\n (ngModelChange)=\"doSearch()\"\n [disabled]=\"isDisabled ? true : null\"\n [id]=\"id\"\n [placeholder]=\"placeholder\"\n aria-autocomplete=\"list\"\n auiFlyoutAction\n auiSelectableActions\n [autocomplete]=\"autoComplete\"\n type=\"text\"\n class=\"a-input\"\n />\n <div *ngIf=\"!isDisabled\" auiFlyoutZone>\n <span *ngIf=\"focused && loadingText && searching\" class=\"a-spinner a-spinner--s u-margin-xs\" role=\"alert\">\n <span class=\"a-spinner__circle\"></span>\n <span class=\"a-spinner__text\">{{ loadingText }}</span>\n </span>\n <span\n *ngIf=\"focused && searchIncentiveText && !searching && !query && !results.length\"\n class=\"o-auto-complete__info u-text-light u-margin-xs\"\n >{{ searchIncentiveText }}</span\n >\n <span\n *ngIf=\"focused && noResultsText && !searching && query && !results.length\"\n class=\"o-auto-complete__info u-text-light u-margin-xs\"\n >{{ noResultsText }}</span\n >\n <aui-selectable-list\n (selected)=\"onSelect($event)\"\n *ngIf=\"results.length > 0 && !(focused && loadingText && searching)\"\n [index]=\"index\"\n [itemTemplate]=\"template\"\n [items]=\"results\"\n [label]=\"label\"\n [search]=\"query\"\n ></aui-selectable-list>\n </div>\n</div>\n", styles: [".o-auto-complete,.o-auto-complete__info{display:block}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i4.FlyoutActionDirective, selector: "[auiFlyoutAction]", inputs: ["openOnFocus", "disabled"], exportAs: ["auiFlyoutAction"] }, { kind: "directive", type: i4.FlyoutZoneDirective, selector: "[auiFlyoutZone]", inputs: ["auiFlyoutZone"], exportAs: ["auiFlyoutZone"] }, { kind: "directive", type: i4.FlyoutDirective, selector: "[auiFlyout]", inputs: ["size", "align", "toggleClick", "activateOnFocus"], outputs: ["opened", "closed"], exportAs: ["auiFlyout"] }, { kind: "component", type: i5.SelectableListComponent, selector: "aui-selectable-list", inputs: ["items", "index", "search", "label", "itemTemplate"], outputs: ["selected"] }, { kind: "directive", type: i5.SelectableActionsDirective, selector: "[auiSelectableActions]", outputs: ["keyArrowUp", "keyArrowDown", "keyEnter", "keyEscape"], exportAs: ["auiSelectableActions"] }] });
|
|
252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AutoCompleteComponent, decorators: [{
|
|
253
|
+
type: Component,
|
|
254
|
+
args: [{ selector: 'aui-auto-complete', providers: [
|
|
255
|
+
{
|
|
256
|
+
provide: NG_VALUE_ACCESSOR,
|
|
257
|
+
useExisting: forwardRef((() => AutoCompleteComponent)),
|
|
258
|
+
multi: true,
|
|
259
|
+
},
|
|
260
|
+
], template: "<div\n (closed)=\"onFlyoutClosed()\"\n [toggleClick]=\"false\"\n aria-haspopup=\"listbox\"\n auiFlyout\n class=\"m-flyout m-flyout--scrollable m-flyout--full o-auto-complete\"\n>\n <input\n (focus)=\"onFocus()\"\n (keyArrowDown)=\"onKeyArrowDown()\"\n (keyArrowUp)=\"onKeyArrowUp()\"\n (keyEnter)=\"onKeyEnter($event)\"\n (keyEscape)=\"onKeyEscape()\"\n [(ngModel)]=\"query\"\n (ngModelChange)=\"doSearch()\"\n [disabled]=\"isDisabled ? true : null\"\n [id]=\"id\"\n [placeholder]=\"placeholder\"\n aria-autocomplete=\"list\"\n auiFlyoutAction\n auiSelectableActions\n [autocomplete]=\"autoComplete\"\n type=\"text\"\n class=\"a-input\"\n />\n <div *ngIf=\"!isDisabled\" auiFlyoutZone>\n <span *ngIf=\"focused && loadingText && searching\" class=\"a-spinner a-spinner--s u-margin-xs\" role=\"alert\">\n <span class=\"a-spinner__circle\"></span>\n <span class=\"a-spinner__text\">{{ loadingText }}</span>\n </span>\n <span\n *ngIf=\"focused && searchIncentiveText && !searching && !query && !results.length\"\n class=\"o-auto-complete__info u-text-light u-margin-xs\"\n >{{ searchIncentiveText }}</span\n >\n <span\n *ngIf=\"focused && noResultsText && !searching && query && !results.length\"\n class=\"o-auto-complete__info u-text-light u-margin-xs\"\n >{{ noResultsText }}</span\n >\n <aui-selectable-list\n (selected)=\"onSelect($event)\"\n *ngIf=\"results.length > 0 && !(focused && loadingText && searching)\"\n [index]=\"index\"\n [itemTemplate]=\"template\"\n [items]=\"results\"\n [label]=\"label\"\n [search]=\"query\"\n ></aui-selectable-list>\n </div>\n</div>\n", styles: [".o-auto-complete,.o-auto-complete__info{display:block}\n"] }]
|
|
261
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: SearchService }]; }, propDecorators: { id: [{
|
|
262
|
+
type: Input
|
|
263
|
+
}], placeholder: [{
|
|
264
|
+
type: Input
|
|
265
|
+
}], description: [{
|
|
266
|
+
type: Input
|
|
267
|
+
}], inputLabel: [{
|
|
268
|
+
type: Input
|
|
269
|
+
}], results: [{
|
|
270
|
+
type: Input
|
|
271
|
+
}], data: [{
|
|
272
|
+
type: Input
|
|
273
|
+
}], remote: [{
|
|
274
|
+
type: Input
|
|
275
|
+
}], minCharacters: [{
|
|
276
|
+
type: Input
|
|
277
|
+
}], clearInvalid: [{
|
|
278
|
+
type: Input
|
|
279
|
+
}], searchIncentiveText: [{
|
|
280
|
+
type: Input
|
|
281
|
+
}], loadingText: [{
|
|
282
|
+
type: Input
|
|
283
|
+
}], noResultsText: [{
|
|
284
|
+
type: Input
|
|
285
|
+
}], showAllByDefault: [{
|
|
286
|
+
type: Input
|
|
287
|
+
}], autoComplete: [{
|
|
288
|
+
type: Input
|
|
289
|
+
}], label: [{
|
|
290
|
+
type: Input
|
|
291
|
+
}], value: [{
|
|
292
|
+
type: Input
|
|
293
|
+
}], search: [{
|
|
294
|
+
type: Output
|
|
295
|
+
}], select: [{
|
|
296
|
+
type: Output
|
|
297
|
+
}], flyout: [{
|
|
298
|
+
type: ViewChild,
|
|
299
|
+
args: [FlyoutDirective, { static: true }]
|
|
300
|
+
}], flyoutZone: [{
|
|
301
|
+
type: ViewChild,
|
|
302
|
+
args: [FlyoutZoneDirective, { static: true }]
|
|
303
|
+
}], template: [{
|
|
304
|
+
type: ContentChild,
|
|
305
|
+
args: [TemplateRef, { static: true }]
|
|
306
|
+
}] } });
|
|
389
307
|
|
|
390
308
|
class AutoCompleteModule {
|
|
391
309
|
}
|
|
392
|
-
/** @nocollapse */ AutoCompleteModule.ɵfac =
|
|
393
|
-
/** @nocollapse */ AutoCompleteModule.ɵmod =
|
|
394
|
-
/** @nocollapse */ AutoCompleteModule.ɵinj =
|
|
395
|
-
(
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AutoCompleteModule, { declarations: [AutoCompleteComponent], imports: [CommonModule, FormsModule, FlyoutModule, SelectableListModule], exports: [AutoCompleteComponent] }); })();
|
|
310
|
+
/** @nocollapse */ AutoCompleteModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AutoCompleteModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
311
|
+
/** @nocollapse */ AutoCompleteModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: AutoCompleteModule, declarations: [AutoCompleteComponent], imports: [CommonModule, FormsModule, FlyoutModule, SelectableListModule], exports: [AutoCompleteComponent] });
|
|
312
|
+
/** @nocollapse */ AutoCompleteModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AutoCompleteModule, providers: [SearchService], imports: [CommonModule, FormsModule, FlyoutModule, SelectableListModule] });
|
|
313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: AutoCompleteModule, decorators: [{
|
|
314
|
+
type: NgModule,
|
|
315
|
+
args: [{
|
|
316
|
+
imports: [CommonModule, FormsModule, FlyoutModule, SelectableListModule],
|
|
317
|
+
declarations: [AutoCompleteComponent],
|
|
318
|
+
exports: [AutoCompleteComponent],
|
|
319
|
+
providers: [SearchService],
|
|
320
|
+
}]
|
|
321
|
+
}] });
|
|
405
322
|
|
|
406
323
|
const DATEPICKER_ERROR_LABELS = new InjectionToken('errorLabels');
|
|
407
324
|
const DATEPICKER_DEFAULT_ERROR_LABELS = {
|
|
@@ -410,52 +327,6 @@ const DATEPICKER_DEFAULT_ERROR_LABELS = {
|
|
|
410
327
|
};
|
|
411
328
|
const DATEPICKER_SEPARATOR_CHAR = '/';
|
|
412
329
|
|
|
413
|
-
function DatepickerComponent_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
414
|
-
i0.ɵɵelementStart(0, "label", 6);
|
|
415
|
-
i0.ɵɵtext(1);
|
|
416
|
-
i0.ɵɵelementEnd();
|
|
417
|
-
} if (rf & 2) {
|
|
418
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
419
|
-
i0.ɵɵpropertyInterpolate("for", ctx_r0.id);
|
|
420
|
-
i0.ɵɵadvance(1);
|
|
421
|
-
i0.ɵɵtextInterpolate(ctx_r0.label);
|
|
422
|
-
} }
|
|
423
|
-
function DatepickerComponent_small_2_Template(rf, ctx) { if (rf & 1) {
|
|
424
|
-
i0.ɵɵelementStart(0, "small", 7);
|
|
425
|
-
i0.ɵɵtext(1);
|
|
426
|
-
i0.ɵɵelementEnd();
|
|
427
|
-
} if (rf & 2) {
|
|
428
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
429
|
-
i0.ɵɵadvance(1);
|
|
430
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.description, "");
|
|
431
|
-
} }
|
|
432
|
-
function DatepickerComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
433
|
-
i0.ɵɵelementContainerStart(0);
|
|
434
|
-
i0.ɵɵelement(1, "aui-icon", 8);
|
|
435
|
-
i0.ɵɵelementContainerEnd();
|
|
436
|
-
} }
|
|
437
|
-
function DatepickerComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
438
|
-
i0.ɵɵelementContainerStart(0);
|
|
439
|
-
i0.ɵɵelement(1, "aui-icon", 9);
|
|
440
|
-
i0.ɵɵelementContainerEnd();
|
|
441
|
-
} if (rf & 2) {
|
|
442
|
-
const ctx_r3 = i0.ɵɵnextContext();
|
|
443
|
-
i0.ɵɵadvance(1);
|
|
444
|
-
i0.ɵɵproperty("openOnFocus", false);
|
|
445
|
-
i0.ɵɵattribute("aria-label", ctx_r3.ariaOpenDatepickerLabel);
|
|
446
|
-
} }
|
|
447
|
-
function DatepickerComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
448
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
|
449
|
-
i0.ɵɵelementContainerStart(0);
|
|
450
|
-
i0.ɵɵelementStart(1, "div", 10)(2, "aui-calendar", 11);
|
|
451
|
-
i0.ɵɵlistener("selectDate", function DatepickerComponent_ng_container_7_Template_aui_calendar_selectDate_2_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.selectDateFromCalendar($event)); });
|
|
452
|
-
i0.ɵɵelementEnd()();
|
|
453
|
-
i0.ɵɵelementContainerEnd();
|
|
454
|
-
} if (rf & 2) {
|
|
455
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
|
456
|
-
i0.ɵɵadvance(2);
|
|
457
|
-
i0.ɵɵproperty("range", ctx_r4.range)("selectedDate", ctx_r4.selectedDate)("interval", ctx_r4.interval)("weekdayLabels", ctx_r4.weekdayLabels)("monthLabels", ctx_r4.monthLabels);
|
|
458
|
-
} }
|
|
459
330
|
class DatepickerComponent {
|
|
460
331
|
constructor(moduleMonthLabels = CALENDAR_DEFAULT_MONTH_LABELS, moduleWeekdayLabels = CALENDAR_DEFAULT_WEEKDAY_LABELS, errorLabels = DATEPICKER_DEFAULT_ERROR_LABELS, calendarService, formBuilder, ref) {
|
|
461
332
|
this.moduleMonthLabels = moduleMonthLabels;
|
|
@@ -602,105 +473,72 @@ class DatepickerComponent {
|
|
|
602
473
|
return value.match(/\d{4}-\d{2}-\d{2}T.*/);
|
|
603
474
|
}
|
|
604
475
|
}
|
|
605
|
-
/** @nocollapse */ DatepickerComponent.ɵfac =
|
|
606
|
-
/** @nocollapse */ DatepickerComponent.ɵcmp =
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
}]
|
|
669
|
-
type:
|
|
670
|
-
|
|
671
|
-
}] }, { type: undefined, decorators: [{
|
|
672
|
-
type: Inject,
|
|
673
|
-
args: [DATEPICKER_ERROR_LABELS]
|
|
674
|
-
}] }, { type: i1$2.CalendarService }, { type: i1$1.UntypedFormBuilder }, { type: i0.ChangeDetectorRef }]; }, { flyout: [{
|
|
675
|
-
type: ViewChild,
|
|
676
|
-
args: [FlyoutDirective, { static: true }]
|
|
677
|
-
}], id: [{
|
|
678
|
-
type: Input
|
|
679
|
-
}], name: [{
|
|
680
|
-
type: Input
|
|
681
|
-
}], placeholder: [{
|
|
682
|
-
type: Input
|
|
683
|
-
}], label: [{
|
|
684
|
-
type: Input
|
|
685
|
-
}], description: [{
|
|
686
|
-
type: Input
|
|
687
|
-
}], range: [{
|
|
688
|
-
type: Input
|
|
689
|
-
}], min: [{
|
|
690
|
-
type: Input
|
|
691
|
-
}], max: [{
|
|
692
|
-
type: Input
|
|
693
|
-
}], autocomplete: [{
|
|
694
|
-
type: Input
|
|
695
|
-
}], weekdayLabels: [{
|
|
696
|
-
type: Input
|
|
697
|
-
}], monthLabels: [{
|
|
698
|
-
type: Input
|
|
699
|
-
}], ariaOpenDatepickerLabel: [{
|
|
700
|
-
type: Input
|
|
701
|
-
}], blur: [{
|
|
702
|
-
type: Output
|
|
703
|
-
}] }); })();
|
|
476
|
+
/** @nocollapse */ DatepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DatepickerComponent, deps: [{ token: CALENDAR_MONTH_LABELS }, { token: CALENDAR_WEEKDAY_LABELS }, { token: DATEPICKER_ERROR_LABELS }, { token: i1$2.CalendarService }, { token: i1$1.UntypedFormBuilder }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
477
|
+
/** @nocollapse */ DatepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: DatepickerComponent, selector: "aui-datepicker", inputs: { id: "id", name: "name", placeholder: "placeholder", label: "label", description: "description", range: "range", min: "min", max: "max", autocomplete: "autocomplete", weekdayLabels: "weekdayLabels", monthLabels: "monthLabels", ariaOpenDatepickerLabel: "ariaOpenDatepickerLabel" }, outputs: { blur: "blur" }, providers: [
|
|
478
|
+
{
|
|
479
|
+
provide: NG_VALUE_ACCESSOR,
|
|
480
|
+
useExisting: forwardRef((() => DatepickerComponent)),
|
|
481
|
+
multi: true,
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
provide: NG_VALIDATORS,
|
|
485
|
+
useExisting: forwardRef((() => DatepickerComponent)),
|
|
486
|
+
multi: true,
|
|
487
|
+
},
|
|
488
|
+
], viewQueries: [{ propertyName: "flyout", first: true, predicate: FlyoutDirective, descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div aria-haspopup=\"grid\" auiFlyout class=\"aui-datepicker a-input has-icon-right\">\n <label class=\"a-input__label\" for=\"{{ id }}\" *ngIf=\"label\">{{ label }}</label>\n <small class=\"a-input__description\" *ngIf=\"description\"> {{ description }}</small>\n <div class=\"a-input__wrapper\">\n <input\n (blur)=\"handleBlur($event)\"\n [attr.disabled]=\"isDisabled ? true : null\"\n [autocomplete]=\"autocomplete\"\n [formControl]=\"formControl\"\n id=\"{{ id }}\"\n label=\"Pick date\"\n description=\"Description\"\n name=\"{{ name }}\"\n placeholder=\"{{ placeholder }}\"\n type=\"text\"\n />\n <ng-container *ngIf=\"isDisabled\">\n <aui-icon\n name=\"ai-calendar\"\n />\n </ng-container>\n <ng-container *ngIf=\"!isDisabled\">\n <aui-icon\n auiFlyoutAction\n [openOnFocus]=\"false\"\n name=\"ai-calendar\"\n className=\"is-clickable\"\n role=\"button\"\n [attr.aria-label]=\"ariaOpenDatepickerLabel\"\n tabindex=\"0\"\n />\n </ng-container>\n\n <ng-container *ngIf=\"!isDisabled\">\n <div auiFlyoutZone class=\"m-datepicker m-datepicker--fixed\" role=\"dialog\">\n <aui-calendar\n (selectDate)=\"selectDateFromCalendar($event)\"\n [range]=\"range\"\n [selectedDate]=\"selectedDate\"\n [interval]=\"interval\"\n [weekdayLabels]=\"weekdayLabels\"\n [monthLabels]=\"monthLabels\"\n ></aui-calendar>\n </div>\n </ng-container>\n </div>\n</div>\n", styles: [":host,.aui-datepicker{display:block}.m-flyout.is-open .m-datepicker{opacity:1;transform:translateY(calc(var(--BORDER-WIDTH) * -1));transition-delay:0s;visibility:visible}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i1$2.CalendarComponent, selector: "aui-calendar", inputs: ["ariaPreviousLabels", "ariaNextLabels", "selectedDate", "range", "interval", "weekdayLabels", "monthLabels"], outputs: ["selectDate"] }, { kind: "component", type: i4$1.IconComponent, selector: "aui-icon", inputs: ["name", "ariaLabel", "className"] }, { kind: "directive", type: i4.FlyoutActionDirective, selector: "[auiFlyoutAction]", inputs: ["openOnFocus", "disabled"], exportAs: ["auiFlyoutAction"] }, { kind: "directive", type: i4.FlyoutZoneDirective, selector: "[auiFlyoutZone]", inputs: ["auiFlyoutZone"], exportAs: ["auiFlyoutZone"] }, { kind: "directive", type: i4.FlyoutDirective, selector: "[auiFlyout]", inputs: ["size", "align", "toggleClick", "activateOnFocus"], outputs: ["opened", "closed"], exportAs: ["auiFlyout"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DatepickerComponent, decorators: [{
|
|
490
|
+
type: Component,
|
|
491
|
+
args: [{ selector: 'aui-datepicker', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
492
|
+
{
|
|
493
|
+
provide: NG_VALUE_ACCESSOR,
|
|
494
|
+
useExisting: forwardRef((() => DatepickerComponent)),
|
|
495
|
+
multi: true,
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
provide: NG_VALIDATORS,
|
|
499
|
+
useExisting: forwardRef((() => DatepickerComponent)),
|
|
500
|
+
multi: true,
|
|
501
|
+
},
|
|
502
|
+
], template: "<div aria-haspopup=\"grid\" auiFlyout class=\"aui-datepicker a-input has-icon-right\">\n <label class=\"a-input__label\" for=\"{{ id }}\" *ngIf=\"label\">{{ label }}</label>\n <small class=\"a-input__description\" *ngIf=\"description\"> {{ description }}</small>\n <div class=\"a-input__wrapper\">\n <input\n (blur)=\"handleBlur($event)\"\n [attr.disabled]=\"isDisabled ? true : null\"\n [autocomplete]=\"autocomplete\"\n [formControl]=\"formControl\"\n id=\"{{ id }}\"\n label=\"Pick date\"\n description=\"Description\"\n name=\"{{ name }}\"\n placeholder=\"{{ placeholder }}\"\n type=\"text\"\n />\n <ng-container *ngIf=\"isDisabled\">\n <aui-icon\n name=\"ai-calendar\"\n />\n </ng-container>\n <ng-container *ngIf=\"!isDisabled\">\n <aui-icon\n auiFlyoutAction\n [openOnFocus]=\"false\"\n name=\"ai-calendar\"\n className=\"is-clickable\"\n role=\"button\"\n [attr.aria-label]=\"ariaOpenDatepickerLabel\"\n tabindex=\"0\"\n />\n </ng-container>\n\n <ng-container *ngIf=\"!isDisabled\">\n <div auiFlyoutZone class=\"m-datepicker m-datepicker--fixed\" role=\"dialog\">\n <aui-calendar\n (selectDate)=\"selectDateFromCalendar($event)\"\n [range]=\"range\"\n [selectedDate]=\"selectedDate\"\n [interval]=\"interval\"\n [weekdayLabels]=\"weekdayLabels\"\n [monthLabels]=\"monthLabels\"\n ></aui-calendar>\n </div>\n </ng-container>\n </div>\n</div>\n", styles: [":host,.aui-datepicker{display:block}.m-flyout.is-open .m-datepicker{opacity:1;transform:translateY(calc(var(--BORDER-WIDTH) * -1));transition-delay:0s;visibility:visible}\n"] }]
|
|
503
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
504
|
+
type: Inject,
|
|
505
|
+
args: [CALENDAR_MONTH_LABELS]
|
|
506
|
+
}] }, { type: undefined, decorators: [{
|
|
507
|
+
type: Inject,
|
|
508
|
+
args: [CALENDAR_WEEKDAY_LABELS]
|
|
509
|
+
}] }, { type: undefined, decorators: [{
|
|
510
|
+
type: Inject,
|
|
511
|
+
args: [DATEPICKER_ERROR_LABELS]
|
|
512
|
+
}] }, { type: i1$2.CalendarService }, { type: i1$1.UntypedFormBuilder }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { flyout: [{
|
|
513
|
+
type: ViewChild,
|
|
514
|
+
args: [FlyoutDirective, { static: true }]
|
|
515
|
+
}], id: [{
|
|
516
|
+
type: Input
|
|
517
|
+
}], name: [{
|
|
518
|
+
type: Input
|
|
519
|
+
}], placeholder: [{
|
|
520
|
+
type: Input
|
|
521
|
+
}], label: [{
|
|
522
|
+
type: Input
|
|
523
|
+
}], description: [{
|
|
524
|
+
type: Input
|
|
525
|
+
}], range: [{
|
|
526
|
+
type: Input
|
|
527
|
+
}], min: [{
|
|
528
|
+
type: Input
|
|
529
|
+
}], max: [{
|
|
530
|
+
type: Input
|
|
531
|
+
}], autocomplete: [{
|
|
532
|
+
type: Input
|
|
533
|
+
}], weekdayLabels: [{
|
|
534
|
+
type: Input
|
|
535
|
+
}], monthLabels: [{
|
|
536
|
+
type: Input
|
|
537
|
+
}], ariaOpenDatepickerLabel: [{
|
|
538
|
+
type: Input
|
|
539
|
+
}], blur: [{
|
|
540
|
+
type: Output
|
|
541
|
+
}] } });
|
|
704
542
|
|
|
705
543
|
class DatepickerModule {
|
|
706
544
|
static forChild(weekdayLabels, monthLabels, errorLabels) {
|
|
@@ -714,9 +552,9 @@ class DatepickerModule {
|
|
|
714
552
|
};
|
|
715
553
|
}
|
|
716
554
|
}
|
|
717
|
-
/** @nocollapse */ DatepickerModule.ɵfac =
|
|
718
|
-
/** @nocollapse */ DatepickerModule.ɵmod =
|
|
719
|
-
/** @nocollapse */ DatepickerModule.ɵinj =
|
|
555
|
+
/** @nocollapse */ DatepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DatepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
556
|
+
/** @nocollapse */ DatepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: DatepickerModule, declarations: [DatepickerComponent], imports: [CommonModule, FormsModule, ReactiveFormsModule, CalendarModule, IconModule, FlyoutModule], exports: [DatepickerComponent] });
|
|
557
|
+
/** @nocollapse */ DatepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DatepickerModule, providers: [
|
|
720
558
|
{
|
|
721
559
|
provide: CALENDAR_WEEKDAY_LABELS,
|
|
722
560
|
useValue: CALENDAR_DEFAULT_WEEKDAY_LABELS,
|
|
@@ -727,40 +565,26 @@ class DatepickerModule {
|
|
|
727
565
|
useValue: DATEPICKER_DEFAULT_ERROR_LABELS,
|
|
728
566
|
},
|
|
729
567
|
], imports: [CommonModule, FormsModule, ReactiveFormsModule, CalendarModule, IconModule, FlyoutModule] });
|
|
730
|
-
(
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DatepickerModule, { declarations: [DatepickerComponent], imports: [CommonModule, FormsModule, ReactiveFormsModule, CalendarModule, IconModule, FlyoutModule], exports: [DatepickerComponent] }); })();
|
|
568
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: DatepickerModule, decorators: [{
|
|
569
|
+
type: NgModule,
|
|
570
|
+
args: [{
|
|
571
|
+
imports: [CommonModule, FormsModule, ReactiveFormsModule, CalendarModule, IconModule, FlyoutModule],
|
|
572
|
+
declarations: [DatepickerComponent],
|
|
573
|
+
exports: [DatepickerComponent],
|
|
574
|
+
providers: [
|
|
575
|
+
{
|
|
576
|
+
provide: CALENDAR_WEEKDAY_LABELS,
|
|
577
|
+
useValue: CALENDAR_DEFAULT_WEEKDAY_LABELS,
|
|
578
|
+
},
|
|
579
|
+
{ provide: CALENDAR_MONTH_LABELS, useValue: CALENDAR_DEFAULT_MONTH_LABELS },
|
|
580
|
+
{
|
|
581
|
+
provide: DATEPICKER_ERROR_LABELS,
|
|
582
|
+
useValue: DATEPICKER_DEFAULT_ERROR_LABELS,
|
|
583
|
+
},
|
|
584
|
+
],
|
|
585
|
+
}]
|
|
586
|
+
}] });
|
|
750
587
|
|
|
751
|
-
function RangeSliderComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
752
|
-
i0.ɵɵelement(0, "div", 11);
|
|
753
|
-
} }
|
|
754
|
-
function RangeSliderComponent_span_9_Template(rf, ctx) { if (rf & 1) {
|
|
755
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
756
|
-
i0.ɵɵelementStart(0, "span", 12);
|
|
757
|
-
i0.ɵɵlistener("blur", function RangeSliderComponent_span_9_Template_span_blur_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.toggleFocus(false, null, $event)); })("dragexit", function RangeSliderComponent_span_9_Template_span_dragexit_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.onMouseUp($event)); })("focus", function RangeSliderComponent_span_9_Template_span_focus_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r7 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r7.toggleFocus(true, "end", $event)); })("mousedown", function RangeSliderComponent_span_9_Template_span_mousedown_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.onMouseDown("end")); })("touchstart", function RangeSliderComponent_span_9_Template_span_touchstart_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.onMouseDown("end")); });
|
|
758
|
-
i0.ɵɵelementEnd();
|
|
759
|
-
} if (rf & 2) {
|
|
760
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
761
|
-
i0.ɵɵstyleProp("left", ctx_r1.endPercentage + "%");
|
|
762
|
-
i0.ɵɵattribute("aria-label", ctx_r1.ariaLabelMax);
|
|
763
|
-
} }
|
|
764
588
|
class RangeSliderComponent {
|
|
765
589
|
constructor(elRef) {
|
|
766
590
|
this.elRef = elRef;
|
|
@@ -990,195 +814,84 @@ class RangeSliderComponent {
|
|
|
990
814
|
return newPercentage;
|
|
991
815
|
}
|
|
992
816
|
}
|
|
993
|
-
/** @nocollapse */ RangeSliderComponent.ɵfac =
|
|
994
|
-
/** @nocollapse */ RangeSliderComponent.ɵcmp =
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
}], minimalDistance: [{
|
|
1057
|
-
type: Input
|
|
1058
|
-
}], step: [{
|
|
1059
|
-
type: Input
|
|
1060
|
-
}], label: [{
|
|
1061
|
-
type: Input
|
|
1062
|
-
}], labelBefore: [{
|
|
1063
|
-
type: Input
|
|
1064
|
-
}], labelAfter: [{
|
|
1065
|
-
type: Input
|
|
1066
|
-
}], ariaLabelMin: [{
|
|
1067
|
-
type: Input
|
|
1068
|
-
}], ariaLabelMax: [{
|
|
1069
|
-
type: Input
|
|
1070
|
-
}], disabledClass: [{
|
|
1071
|
-
type: HostBinding,
|
|
1072
|
-
args: ['class.is-disabled']
|
|
1073
|
-
}], onKeyDown: [{
|
|
1074
|
-
type: HostListener,
|
|
1075
|
-
args: ['document:keydown', ['$event']]
|
|
1076
|
-
}], onMouseUp: [{
|
|
1077
|
-
type: HostListener,
|
|
1078
|
-
args: ['touchend', ['$event']]
|
|
1079
|
-
}, {
|
|
1080
|
-
type: HostListener,
|
|
1081
|
-
args: ['mouseup', ['$event']]
|
|
1082
|
-
}], mouseDown: [{
|
|
1083
|
-
type: HostListener,
|
|
1084
|
-
args: ['touchstart', ['$event']]
|
|
1085
|
-
}, {
|
|
1086
|
-
type: HostListener,
|
|
1087
|
-
args: ['mousedown', ['$event']]
|
|
1088
|
-
}], onMouseMove: [{
|
|
1089
|
-
type: HostListener,
|
|
1090
|
-
args: ['touchmove', ['$event']]
|
|
1091
|
-
}, {
|
|
1092
|
-
type: HostListener,
|
|
1093
|
-
args: ['mousemove', ['$event']]
|
|
1094
|
-
}] }); })();
|
|
817
|
+
/** @nocollapse */ RangeSliderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: RangeSliderComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
818
|
+
/** @nocollapse */ RangeSliderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: RangeSliderComponent, selector: "aui-range-slider", inputs: { min: "min", max: "max", minimalDistance: "minimalDistance", step: "step", label: "label", labelBefore: "labelBefore", labelAfter: "labelAfter", ariaLabelMin: "ariaLabelMin", ariaLabelMax: "ariaLabelMax" }, host: { listeners: { "document:keydown": "onKeyDown($event)", "touchend": "onMouseUp($event)", "mouseup": "onMouseUp($event)", "touchstart": "mouseDown($event)", "mousedown": "mouseDown($event)", "touchmove": "onMouseMove($event)", "mousemove": "onMouseMove($event)" }, properties: { "class.m-range-slider": "this.coreBranding", "class.is-disabled": "this.disabledClass" } }, providers: [
|
|
819
|
+
{
|
|
820
|
+
provide: NG_VALUE_ACCESSOR,
|
|
821
|
+
useExisting: forwardRef((() => RangeSliderComponent)),
|
|
822
|
+
multi: true,
|
|
823
|
+
},
|
|
824
|
+
], ngImport: i0, template: "<div class=\"a-range-slider\">\n <div class=\"a-range-slider__labels\">\n <div class=\"a-range-slider__label\">{{ label }}</div>\n </div>\n <div class=\"a-range-slider__inner\">\n <div class=\"a-range-slider__tickmarks\">\n <div *ngFor=\"let step of steps; let i = index\" class=\"a-range-slider__tickmark\"></div>\n </div>\n <div\n [style.left]=\"endPercentage ? startPercentage + '%' : false\"\n [style.width]=\"endPercentage ? endPercentage - startPercentage + '%' : startPercentage + '%'\"\n class=\"a-range-slider__bar\"\n ></div>\n <span\n (blur)=\"toggleFocus(false, null, $event)\"\n (dragexit)=\"onMouseUp($event)\"\n (focus)=\"toggleFocus(true, 'start', $event)\"\n (mousedown)=\"onMouseDown('start')\"\n (touchstart)=\"onMouseDown('start')\"\n [style.left]=\"startPercentage + '%'\"\n class=\"a-range-slider__handle\"\n [attr.aria-label]=\"ariaLabelMin\"\n tabindex=\"0\"\n >\n </span>\n\n <span\n (blur)=\"toggleFocus(false, null, $event)\"\n (dragexit)=\"onMouseUp($event)\"\n (focus)=\"toggleFocus(true, 'end', $event)\"\n (mousedown)=\"onMouseDown('end')\"\n (touchstart)=\"onMouseDown('end')\"\n *ngIf=\"end\"\n [style.left]=\"endPercentage + '%'\"\n class=\"a-range-slider__handle\"\n name=\"a-range-slider__handle__end\"\n [attr.aria-label]=\"ariaLabelMax\"\n tabindex=\"0\"\n >\n </span>\n </div>\n <div class=\"a-range-slider__descriptions\">\n <div class=\"a-range-slider__description small\">{{ labelBefore }}{{ min }}{{ labelAfter }}</div>\n <div class=\"a-range-slider__description small\">{{ labelBefore }}{{ max }}{{ labelAfter }}</div>\n </div>\n</div>\n", styles: [":host{display:block;position:relative}:host.is-disabled{cursor:not-allowed}:host.is-disabled .m-range-slider__handle:hover{cursor:not-allowed}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
825
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: RangeSliderComponent, decorators: [{
|
|
826
|
+
type: Component,
|
|
827
|
+
args: [{ selector: 'aui-range-slider', providers: [
|
|
828
|
+
{
|
|
829
|
+
provide: NG_VALUE_ACCESSOR,
|
|
830
|
+
useExisting: forwardRef((() => RangeSliderComponent)),
|
|
831
|
+
multi: true,
|
|
832
|
+
},
|
|
833
|
+
], template: "<div class=\"a-range-slider\">\n <div class=\"a-range-slider__labels\">\n <div class=\"a-range-slider__label\">{{ label }}</div>\n </div>\n <div class=\"a-range-slider__inner\">\n <div class=\"a-range-slider__tickmarks\">\n <div *ngFor=\"let step of steps; let i = index\" class=\"a-range-slider__tickmark\"></div>\n </div>\n <div\n [style.left]=\"endPercentage ? startPercentage + '%' : false\"\n [style.width]=\"endPercentage ? endPercentage - startPercentage + '%' : startPercentage + '%'\"\n class=\"a-range-slider__bar\"\n ></div>\n <span\n (blur)=\"toggleFocus(false, null, $event)\"\n (dragexit)=\"onMouseUp($event)\"\n (focus)=\"toggleFocus(true, 'start', $event)\"\n (mousedown)=\"onMouseDown('start')\"\n (touchstart)=\"onMouseDown('start')\"\n [style.left]=\"startPercentage + '%'\"\n class=\"a-range-slider__handle\"\n [attr.aria-label]=\"ariaLabelMin\"\n tabindex=\"0\"\n >\n </span>\n\n <span\n (blur)=\"toggleFocus(false, null, $event)\"\n (dragexit)=\"onMouseUp($event)\"\n (focus)=\"toggleFocus(true, 'end', $event)\"\n (mousedown)=\"onMouseDown('end')\"\n (touchstart)=\"onMouseDown('end')\"\n *ngIf=\"end\"\n [style.left]=\"endPercentage + '%'\"\n class=\"a-range-slider__handle\"\n name=\"a-range-slider__handle__end\"\n [attr.aria-label]=\"ariaLabelMax\"\n tabindex=\"0\"\n >\n </span>\n </div>\n <div class=\"a-range-slider__descriptions\">\n <div class=\"a-range-slider__description small\">{{ labelBefore }}{{ min }}{{ labelAfter }}</div>\n <div class=\"a-range-slider__description small\">{{ labelBefore }}{{ max }}{{ labelAfter }}</div>\n </div>\n</div>\n", styles: [":host{display:block;position:relative}:host.is-disabled{cursor:not-allowed}:host.is-disabled .m-range-slider__handle:hover{cursor:not-allowed}\n"] }]
|
|
834
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { coreBranding: [{
|
|
835
|
+
type: HostBinding,
|
|
836
|
+
args: ['class.m-range-slider']
|
|
837
|
+
}], min: [{
|
|
838
|
+
type: Input
|
|
839
|
+
}], max: [{
|
|
840
|
+
type: Input
|
|
841
|
+
}], minimalDistance: [{
|
|
842
|
+
type: Input
|
|
843
|
+
}], step: [{
|
|
844
|
+
type: Input
|
|
845
|
+
}], label: [{
|
|
846
|
+
type: Input
|
|
847
|
+
}], labelBefore: [{
|
|
848
|
+
type: Input
|
|
849
|
+
}], labelAfter: [{
|
|
850
|
+
type: Input
|
|
851
|
+
}], ariaLabelMin: [{
|
|
852
|
+
type: Input
|
|
853
|
+
}], ariaLabelMax: [{
|
|
854
|
+
type: Input
|
|
855
|
+
}], disabledClass: [{
|
|
856
|
+
type: HostBinding,
|
|
857
|
+
args: ['class.is-disabled']
|
|
858
|
+
}], onKeyDown: [{
|
|
859
|
+
type: HostListener,
|
|
860
|
+
args: ['document:keydown', ['$event']]
|
|
861
|
+
}], onMouseUp: [{
|
|
862
|
+
type: HostListener,
|
|
863
|
+
args: ['touchend', ['$event']]
|
|
864
|
+
}, {
|
|
865
|
+
type: HostListener,
|
|
866
|
+
args: ['mouseup', ['$event']]
|
|
867
|
+
}], mouseDown: [{
|
|
868
|
+
type: HostListener,
|
|
869
|
+
args: ['touchstart', ['$event']]
|
|
870
|
+
}, {
|
|
871
|
+
type: HostListener,
|
|
872
|
+
args: ['mousedown', ['$event']]
|
|
873
|
+
}], onMouseMove: [{
|
|
874
|
+
type: HostListener,
|
|
875
|
+
args: ['touchmove', ['$event']]
|
|
876
|
+
}, {
|
|
877
|
+
type: HostListener,
|
|
878
|
+
args: ['mousemove', ['$event']]
|
|
879
|
+
}] } });
|
|
1095
880
|
|
|
1096
881
|
class RangeSliderModule {
|
|
1097
882
|
}
|
|
1098
|
-
/** @nocollapse */ RangeSliderModule.ɵfac =
|
|
1099
|
-
/** @nocollapse */ RangeSliderModule.ɵmod =
|
|
1100
|
-
/** @nocollapse */ RangeSliderModule.ɵinj =
|
|
1101
|
-
(
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(RangeSliderModule, { declarations: [RangeSliderComponent], imports: [CommonModule, FormsModule], exports: [RangeSliderComponent] }); })();
|
|
883
|
+
/** @nocollapse */ RangeSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: RangeSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
884
|
+
/** @nocollapse */ RangeSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: RangeSliderModule, declarations: [RangeSliderComponent], imports: [CommonModule, FormsModule], exports: [RangeSliderComponent] });
|
|
885
|
+
/** @nocollapse */ RangeSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: RangeSliderModule, imports: [CommonModule, FormsModule] });
|
|
886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: RangeSliderModule, decorators: [{
|
|
887
|
+
type: NgModule,
|
|
888
|
+
args: [{
|
|
889
|
+
imports: [CommonModule, FormsModule],
|
|
890
|
+
declarations: [RangeSliderComponent],
|
|
891
|
+
exports: [RangeSliderComponent],
|
|
892
|
+
}]
|
|
893
|
+
}] });
|
|
1110
894
|
|
|
1111
|
-
const _c0$4 = function (a0, a1) { return { "a-button--l": a0, "a-button--s": a1 }; };
|
|
1112
|
-
function SearchFilterComponent_button_8_Template(rf, ctx) { if (rf & 1) {
|
|
1113
|
-
const _r6 = i0.ɵɵgetCurrentView();
|
|
1114
|
-
i0.ɵɵelementStart(0, "button", 12);
|
|
1115
|
-
i0.ɵɵlistener("click", function SearchFilterComponent_button_8_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r5.clear()); });
|
|
1116
|
-
i0.ɵɵelement(1, "aui-icon", 13);
|
|
1117
|
-
i0.ɵɵelementEnd();
|
|
1118
|
-
} if (rf & 2) {
|
|
1119
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1120
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(2, _c0$4, ctx_r0.size === "large", ctx_r0.size === "small"));
|
|
1121
|
-
i0.ɵɵattribute("disabled", ctx_r0.isDisabled || ctx_r0.closeDisabled ? "" : null);
|
|
1122
|
-
} }
|
|
1123
|
-
function SearchFilterComponent_aui_icon_9_Template(rf, ctx) { if (rf & 1) {
|
|
1124
|
-
i0.ɵɵelement(0, "aui-icon", 13);
|
|
1125
|
-
} }
|
|
1126
|
-
function SearchFilterComponent_p_11_Template(rf, ctx) { if (rf & 1) {
|
|
1127
|
-
i0.ɵɵelementStart(0, "p", 14);
|
|
1128
|
-
i0.ɵɵtext(1);
|
|
1129
|
-
i0.ɵɵelementEnd();
|
|
1130
|
-
} if (rf & 2) {
|
|
1131
|
-
const ctx_r2 = i0.ɵɵnextContext();
|
|
1132
|
-
i0.ɵɵadvance(1);
|
|
1133
|
-
i0.ɵɵtextInterpolate(ctx_r2.labelResults);
|
|
1134
|
-
} }
|
|
1135
|
-
function SearchFilterComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
1136
|
-
i0.ɵɵelement(0, "div", 15);
|
|
1137
|
-
} }
|
|
1138
|
-
function SearchFilterComponent_ul_13_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
1139
|
-
i0.ɵɵelementStart(0, "li", 19)(1, "p", 20);
|
|
1140
|
-
i0.ɵɵtext(2);
|
|
1141
|
-
i0.ɵɵelementEnd()();
|
|
1142
|
-
} if (rf & 2) {
|
|
1143
|
-
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
1144
|
-
i0.ɵɵadvance(2);
|
|
1145
|
-
i0.ɵɵtextInterpolate(ctx_r7.labelNoResults);
|
|
1146
|
-
} }
|
|
1147
|
-
function SearchFilterComponent_ul_13_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
1148
|
-
const _r12 = i0.ɵɵgetCurrentView();
|
|
1149
|
-
i0.ɵɵelementStart(0, "li", 19)(1, "div", 21)(2, "div", 22)(3, "input", 23);
|
|
1150
|
-
i0.ɵɵlistener("change", function SearchFilterComponent_ul_13_li_2_Template_input_change_3_listener() { const restoredCtx = i0.ɵɵrestoreView(_r12); const choice_r9 = restoredCtx.$implicit; const ctx_r11 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r11.toggleSelected(choice_r9.label)); });
|
|
1151
|
-
i0.ɵɵelementEnd();
|
|
1152
|
-
i0.ɵɵelementStart(4, "label", 24);
|
|
1153
|
-
i0.ɵɵtext(5);
|
|
1154
|
-
i0.ɵɵelementEnd()()()();
|
|
1155
|
-
} if (rf & 2) {
|
|
1156
|
-
const choice_r9 = ctx.$implicit;
|
|
1157
|
-
const i_r10 = ctx.index;
|
|
1158
|
-
const ctx_r8 = i0.ɵɵnextContext(2);
|
|
1159
|
-
i0.ɵɵadvance(3);
|
|
1160
|
-
i0.ɵɵpropertyInterpolate("id", "checkbox--" + i_r10 + "--" + ctx_r8.id);
|
|
1161
|
-
i0.ɵɵpropertyInterpolate("name", "checkbox--" + i_r10 + "--" + ctx_r8.id);
|
|
1162
|
-
i0.ɵɵproperty("checked", ctx_r8.selectedItems.indexOf(choice_r9.label) >= 0);
|
|
1163
|
-
i0.ɵɵattribute("disabled", ctx_r8.isDisabled ? true : null);
|
|
1164
|
-
i0.ɵɵadvance(1);
|
|
1165
|
-
i0.ɵɵpropertyInterpolate("for", "checkbox--" + i_r10 + "--" + ctx_r8.id);
|
|
1166
|
-
i0.ɵɵadvance(1);
|
|
1167
|
-
i0.ɵɵtextInterpolate(choice_r9.label);
|
|
1168
|
-
} }
|
|
1169
|
-
function SearchFilterComponent_ul_13_Template(rf, ctx) { if (rf & 1) {
|
|
1170
|
-
i0.ɵɵelementStart(0, "ul", 16);
|
|
1171
|
-
i0.ɵɵtemplate(1, SearchFilterComponent_ul_13_li_1_Template, 3, 1, "li", 17);
|
|
1172
|
-
i0.ɵɵtemplate(2, SearchFilterComponent_ul_13_li_2_Template, 6, 6, "li", 18);
|
|
1173
|
-
i0.ɵɵelementEnd();
|
|
1174
|
-
} if (rf & 2) {
|
|
1175
|
-
const ctx_r4 = i0.ɵɵnextContext();
|
|
1176
|
-
i0.ɵɵadvance(1);
|
|
1177
|
-
i0.ɵɵproperty("ngIf", !ctx_r4.filteredChoices.length);
|
|
1178
|
-
i0.ɵɵadvance(1);
|
|
1179
|
-
i0.ɵɵproperty("ngForOf", ctx_r4.filteredChoices);
|
|
1180
|
-
} }
|
|
1181
|
-
const _c1$4 = function (a0, a1, a2) { return { "a-input--l": a0, "a-input--s": a1, "has-icon-right": a2 }; };
|
|
1182
895
|
class SearchFilterComponent {
|
|
1183
896
|
constructor() {
|
|
1184
897
|
this.flyoutSize = FlyoutSize.Small;
|
|
@@ -1268,117 +981,70 @@ class SearchFilterComponent {
|
|
|
1268
981
|
}
|
|
1269
982
|
}
|
|
1270
983
|
}
|
|
1271
|
-
/** @nocollapse */ SearchFilterComponent.ɵfac =
|
|
1272
|
-
/** @nocollapse */ SearchFilterComponent.ɵcmp =
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
i0.ɵɵproperty("ngIf", ctx.loading);
|
|
1322
|
-
i0.ɵɵadvance(1);
|
|
1323
|
-
i0.ɵɵproperty("ngIf", !ctx.loading);
|
|
1324
|
-
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i4.FlyoutActionDirective, i4.FlyoutZoneDirective, i4.FlyoutDirective, i1$1.DefaultValueAccessor, i1$1.NgControlStatus, i1$1.NgModel, i4$1.IconComponent], styles: [".m-search-filter[_ngcontent-%COMP%]{display:block}.m-search-filter__input[_ngcontent-%COMP%]{display:flex;padding:0}.m-search-filter__input[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border-right:none}.m-search-filter__button[_ngcontent-%COMP%]{display:inline-block;padding:0;position:relative;vertical-align:middle}.m-search-filter__button[_ngcontent-%COMP%] .ai[_ngcontent-%COMP%]{position:relative;transform:none!important;top:0}"] });
|
|
1325
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchFilterComponent, [{
|
|
1326
|
-
type: Component,
|
|
1327
|
-
args: [{ selector: 'aui-search-filter', providers: [
|
|
1328
|
-
{
|
|
1329
|
-
provide: NG_VALUE_ACCESSOR,
|
|
1330
|
-
useExisting: forwardRef((() => SearchFilterComponent)),
|
|
1331
|
-
multi: true,
|
|
1332
|
-
},
|
|
1333
|
-
], template: "<div [align]=\"flyoutAlign\" [size]=\"flyoutSize\" aria-haspopup=\"listbox\" auiFlyout class=\"m-search-filter\">\n <div\n class=\"a-input\"\n [ngClass]=\"{\n 'a-input--l': size === 'large',\n 'a-input--s': size === 'small',\n 'has-icon-right': hasClose\n }\"\n >\n <label class=\"a-input__label\" for=\"{{ id + '-search' }}\">{{ label }}</label>\n <small class=\"a-input__description\" id=\"{{ id + '-description' }}\">{{ description }}</small>\n <div class=\"m-search-filter__input\">\n <input\n (input)=\"filterDataFromSearch()\"\n [(ngModel)]=\"query\"\n [attr.aria-labelledby]=\"id + '-label'\"\n [attr.disabled]=\"isDisabled ? '' : null\"\n aria-autocomplete=\"list\"\n id=\"{{ id + '-search' }}\"\n name=\"{{ name + '-search' }}\"\n value=\"{{ getSelectedLabels() }}\"\n type=\"text\"\n auiFlyoutAction\n />\n <button\n *ngIf=\"hasClose\"\n [ngClass]=\"{\n 'a-button--l': size === 'large',\n 'a-button--s': size === 'small'\n }\"\n class=\"a-button a-button--outlined has-icon m-search-filter__button a-button--danger\"\n aria-label=\"Zoekopdracht wissen\"\n type=\"button\"\n (click)=\"clear()\"\n [attr.disabled]=\"isDisabled || closeDisabled ? '' : null\"\n >\n <aui-icon name=\"ai-close\"></aui-icon>\n </button>\n <aui-icon *ngIf=\"!hasClose\" name=\"ai-close\"></aui-icon>\n </div>\n </div>\n <div auiFlyoutZone class=\"m-search-filter__search m-search-filter__search--scroll\">\n <p *ngIf=\"labelResults\" class=\"h6 m-search-filter__results-title u-margin-bottom-xs\">{{ labelResults }}</p>\n <div *ngIf=\"loading\" class=\"u-text-center u-padding a-spinner\"></div>\n <ul *ngIf=\"!loading\" class=\"a-checkbox-list a-checkbox-list--flushed\">\n <li *ngIf=\"!filteredChoices.length\" class=\"a-checkbox-list__item\">\n <p class=\"u-margin-xs\">{{ labelNoResults }}</p>\n </li>\n <li *ngFor=\"let choice of filteredChoices; index as i\" class=\"a-checkbox-list__item\">\n <div class=\"a-input a-checkbox-list__checkbox\">\n <div class=\"a-input__checkbox\">\n <input\n (change)=\"toggleSelected(choice.label)\"\n [attr.disabled]=\"isDisabled ? true : null\"\n [checked]=\"selectedItems.indexOf(choice.label) >= 0\"\n id=\"{{ 'checkbox--' + i + '--' + id }}\"\n name=\"{{ 'checkbox--' + i + '--' + id }}\"\n type=\"checkbox\"\n />\n <label for=\"{{ 'checkbox--' + i + '--' + id }}\">{{ choice.label }}</label>\n </div>\n </div>\n </li>\n </ul>\n </div>\n</div>\n", styles: [".m-search-filter{display:block}.m-search-filter__input{display:flex;padding:0}.m-search-filter__input input{border-right:none}.m-search-filter__button{display:inline-block;padding:0;position:relative;vertical-align:middle}.m-search-filter__button .ai{position:relative;transform:none!important;top:0}\n"] }]
|
|
1334
|
-
}], function () { return []; }, { id: [{
|
|
1335
|
-
type: Input
|
|
1336
|
-
}], name: [{
|
|
1337
|
-
type: Input
|
|
1338
|
-
}], flyoutSize: [{
|
|
1339
|
-
type: Input
|
|
1340
|
-
}], flyoutAlign: [{
|
|
1341
|
-
type: Input
|
|
1342
|
-
}], label: [{
|
|
1343
|
-
type: Input
|
|
1344
|
-
}], description: [{
|
|
1345
|
-
type: Input
|
|
1346
|
-
}], labelDeselect: [{
|
|
1347
|
-
type: Input
|
|
1348
|
-
}], labelResults: [{
|
|
1349
|
-
type: Input
|
|
1350
|
-
}], labelNoResults: [{
|
|
1351
|
-
type: Input
|
|
1352
|
-
}], choices: [{
|
|
1353
|
-
type: Input
|
|
1354
|
-
}], remote: [{
|
|
1355
|
-
type: Input
|
|
1356
|
-
}], inputDelay: [{
|
|
1357
|
-
type: Input
|
|
1358
|
-
}], onSelect: [{
|
|
1359
|
-
type: Input
|
|
1360
|
-
}], onClear: [{
|
|
1361
|
-
type: Input
|
|
1362
|
-
}], size: [{
|
|
1363
|
-
type: Input
|
|
1364
|
-
}], search: [{
|
|
1365
|
-
type: Output
|
|
1366
|
-
}] }); })();
|
|
984
|
+
/** @nocollapse */ SearchFilterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: SearchFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
985
|
+
/** @nocollapse */ SearchFilterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: SearchFilterComponent, selector: "aui-search-filter", inputs: { id: "id", name: "name", flyoutSize: "flyoutSize", flyoutAlign: "flyoutAlign", label: "label", description: "description", labelDeselect: "labelDeselect", labelResults: "labelResults", labelNoResults: "labelNoResults", choices: "choices", remote: "remote", inputDelay: "inputDelay", onSelect: "onSelect", onClear: "onClear", size: "size" }, outputs: { search: "search" }, providers: [
|
|
986
|
+
{
|
|
987
|
+
provide: NG_VALUE_ACCESSOR,
|
|
988
|
+
useExisting: forwardRef((() => SearchFilterComponent)),
|
|
989
|
+
multi: true,
|
|
990
|
+
},
|
|
991
|
+
], usesOnChanges: true, ngImport: i0, template: "<div [align]=\"flyoutAlign\" [size]=\"flyoutSize\" aria-haspopup=\"listbox\" auiFlyout class=\"m-search-filter\">\n <div\n class=\"a-input\"\n [ngClass]=\"{\n 'a-input--l': size === 'large',\n 'a-input--s': size === 'small',\n 'has-icon-right': hasClose\n }\"\n >\n <label class=\"a-input__label\" for=\"{{ id + '-search' }}\">{{ label }}</label>\n <small class=\"a-input__description\" id=\"{{ id + '-description' }}\">{{ description }}</small>\n <div class=\"m-search-filter__input\">\n <input\n (input)=\"filterDataFromSearch()\"\n [(ngModel)]=\"query\"\n [attr.aria-labelledby]=\"id + '-label'\"\n [attr.disabled]=\"isDisabled ? '' : null\"\n aria-autocomplete=\"list\"\n id=\"{{ id + '-search' }}\"\n name=\"{{ name + '-search' }}\"\n value=\"{{ getSelectedLabels() }}\"\n type=\"text\"\n auiFlyoutAction\n />\n <button\n *ngIf=\"hasClose\"\n [ngClass]=\"{\n 'a-button--l': size === 'large',\n 'a-button--s': size === 'small'\n }\"\n class=\"a-button a-button--outlined has-icon m-search-filter__button a-button--danger\"\n aria-label=\"Zoekopdracht wissen\"\n type=\"button\"\n (click)=\"clear()\"\n [attr.disabled]=\"isDisabled || closeDisabled ? '' : null\"\n >\n <aui-icon name=\"ai-close\"></aui-icon>\n </button>\n <aui-icon *ngIf=\"!hasClose\" name=\"ai-close\"></aui-icon>\n </div>\n </div>\n <div auiFlyoutZone class=\"m-search-filter__search m-search-filter__search--scroll\">\n <p *ngIf=\"labelResults\" class=\"h6 m-search-filter__results-title u-margin-bottom-xs\">{{ labelResults }}</p>\n <div *ngIf=\"loading\" class=\"u-text-center u-padding a-spinner\"></div>\n <ul *ngIf=\"!loading\" class=\"a-checkbox-list a-checkbox-list--flushed\">\n <li *ngIf=\"!filteredChoices.length\" class=\"a-checkbox-list__item\">\n <p class=\"u-margin-xs\">{{ labelNoResults }}</p>\n </li>\n <li *ngFor=\"let choice of filteredChoices; index as i\" class=\"a-checkbox-list__item\">\n <div class=\"a-input a-checkbox-list__checkbox\">\n <div class=\"a-input__checkbox\">\n <input\n (change)=\"toggleSelected(choice.label)\"\n [attr.disabled]=\"isDisabled ? true : null\"\n [checked]=\"selectedItems.indexOf(choice.label) >= 0\"\n id=\"{{ 'checkbox--' + i + '--' + id }}\"\n name=\"{{ 'checkbox--' + i + '--' + id }}\"\n type=\"checkbox\"\n />\n <label for=\"{{ 'checkbox--' + i + '--' + id }}\">{{ choice.label }}</label>\n </div>\n </div>\n </li>\n </ul>\n </div>\n</div>\n", styles: [".m-search-filter{display:block}.m-search-filter__input{display:flex;padding:0}.m-search-filter__input input{border-right:none}.m-search-filter__button{display:inline-block;padding:0;position:relative;vertical-align:middle}.m-search-filter__button .ai{position:relative;transform:none!important;top:0}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.FlyoutActionDirective, selector: "[auiFlyoutAction]", inputs: ["openOnFocus", "disabled"], exportAs: ["auiFlyoutAction"] }, { kind: "directive", type: i4.FlyoutZoneDirective, selector: "[auiFlyoutZone]", inputs: ["auiFlyoutZone"], exportAs: ["auiFlyoutZone"] }, { kind: "directive", type: i4.FlyoutDirective, selector: "[auiFlyout]", inputs: ["size", "align", "toggleClick", "activateOnFocus"], outputs: ["opened", "closed"], exportAs: ["auiFlyout"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4$1.IconComponent, selector: "aui-icon", inputs: ["name", "ariaLabel", "className"] }] });
|
|
992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: SearchFilterComponent, decorators: [{
|
|
993
|
+
type: Component,
|
|
994
|
+
args: [{ selector: 'aui-search-filter', providers: [
|
|
995
|
+
{
|
|
996
|
+
provide: NG_VALUE_ACCESSOR,
|
|
997
|
+
useExisting: forwardRef((() => SearchFilterComponent)),
|
|
998
|
+
multi: true,
|
|
999
|
+
},
|
|
1000
|
+
], template: "<div [align]=\"flyoutAlign\" [size]=\"flyoutSize\" aria-haspopup=\"listbox\" auiFlyout class=\"m-search-filter\">\n <div\n class=\"a-input\"\n [ngClass]=\"{\n 'a-input--l': size === 'large',\n 'a-input--s': size === 'small',\n 'has-icon-right': hasClose\n }\"\n >\n <label class=\"a-input__label\" for=\"{{ id + '-search' }}\">{{ label }}</label>\n <small class=\"a-input__description\" id=\"{{ id + '-description' }}\">{{ description }}</small>\n <div class=\"m-search-filter__input\">\n <input\n (input)=\"filterDataFromSearch()\"\n [(ngModel)]=\"query\"\n [attr.aria-labelledby]=\"id + '-label'\"\n [attr.disabled]=\"isDisabled ? '' : null\"\n aria-autocomplete=\"list\"\n id=\"{{ id + '-search' }}\"\n name=\"{{ name + '-search' }}\"\n value=\"{{ getSelectedLabels() }}\"\n type=\"text\"\n auiFlyoutAction\n />\n <button\n *ngIf=\"hasClose\"\n [ngClass]=\"{\n 'a-button--l': size === 'large',\n 'a-button--s': size === 'small'\n }\"\n class=\"a-button a-button--outlined has-icon m-search-filter__button a-button--danger\"\n aria-label=\"Zoekopdracht wissen\"\n type=\"button\"\n (click)=\"clear()\"\n [attr.disabled]=\"isDisabled || closeDisabled ? '' : null\"\n >\n <aui-icon name=\"ai-close\"></aui-icon>\n </button>\n <aui-icon *ngIf=\"!hasClose\" name=\"ai-close\"></aui-icon>\n </div>\n </div>\n <div auiFlyoutZone class=\"m-search-filter__search m-search-filter__search--scroll\">\n <p *ngIf=\"labelResults\" class=\"h6 m-search-filter__results-title u-margin-bottom-xs\">{{ labelResults }}</p>\n <div *ngIf=\"loading\" class=\"u-text-center u-padding a-spinner\"></div>\n <ul *ngIf=\"!loading\" class=\"a-checkbox-list a-checkbox-list--flushed\">\n <li *ngIf=\"!filteredChoices.length\" class=\"a-checkbox-list__item\">\n <p class=\"u-margin-xs\">{{ labelNoResults }}</p>\n </li>\n <li *ngFor=\"let choice of filteredChoices; index as i\" class=\"a-checkbox-list__item\">\n <div class=\"a-input a-checkbox-list__checkbox\">\n <div class=\"a-input__checkbox\">\n <input\n (change)=\"toggleSelected(choice.label)\"\n [attr.disabled]=\"isDisabled ? true : null\"\n [checked]=\"selectedItems.indexOf(choice.label) >= 0\"\n id=\"{{ 'checkbox--' + i + '--' + id }}\"\n name=\"{{ 'checkbox--' + i + '--' + id }}\"\n type=\"checkbox\"\n />\n <label for=\"{{ 'checkbox--' + i + '--' + id }}\">{{ choice.label }}</label>\n </div>\n </div>\n </li>\n </ul>\n </div>\n</div>\n", styles: [".m-search-filter{display:block}.m-search-filter__input{display:flex;padding:0}.m-search-filter__input input{border-right:none}.m-search-filter__button{display:inline-block;padding:0;position:relative;vertical-align:middle}.m-search-filter__button .ai{position:relative;transform:none!important;top:0}\n"] }]
|
|
1001
|
+
}], ctorParameters: function () { return []; }, propDecorators: { id: [{
|
|
1002
|
+
type: Input
|
|
1003
|
+
}], name: [{
|
|
1004
|
+
type: Input
|
|
1005
|
+
}], flyoutSize: [{
|
|
1006
|
+
type: Input
|
|
1007
|
+
}], flyoutAlign: [{
|
|
1008
|
+
type: Input
|
|
1009
|
+
}], label: [{
|
|
1010
|
+
type: Input
|
|
1011
|
+
}], description: [{
|
|
1012
|
+
type: Input
|
|
1013
|
+
}], labelDeselect: [{
|
|
1014
|
+
type: Input
|
|
1015
|
+
}], labelResults: [{
|
|
1016
|
+
type: Input
|
|
1017
|
+
}], labelNoResults: [{
|
|
1018
|
+
type: Input
|
|
1019
|
+
}], choices: [{
|
|
1020
|
+
type: Input
|
|
1021
|
+
}], remote: [{
|
|
1022
|
+
type: Input
|
|
1023
|
+
}], inputDelay: [{
|
|
1024
|
+
type: Input
|
|
1025
|
+
}], onSelect: [{
|
|
1026
|
+
type: Input
|
|
1027
|
+
}], onClear: [{
|
|
1028
|
+
type: Input
|
|
1029
|
+
}], size: [{
|
|
1030
|
+
type: Input
|
|
1031
|
+
}], search: [{
|
|
1032
|
+
type: Output
|
|
1033
|
+
}] } });
|
|
1367
1034
|
|
|
1368
1035
|
class SearchFilterModule {
|
|
1369
1036
|
}
|
|
1370
|
-
/** @nocollapse */ SearchFilterModule.ɵfac =
|
|
1371
|
-
/** @nocollapse */ SearchFilterModule.ɵmod =
|
|
1372
|
-
/** @nocollapse */ SearchFilterModule.ɵinj =
|
|
1373
|
-
(
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(SearchFilterModule, { declarations: [SearchFilterComponent], imports: [CommonModule, FlyoutModule, FormsModule, IconModule], exports: [SearchFilterComponent] }); })();
|
|
1037
|
+
/** @nocollapse */ SearchFilterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: SearchFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1038
|
+
/** @nocollapse */ SearchFilterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: SearchFilterModule, declarations: [SearchFilterComponent], imports: [CommonModule, FlyoutModule, FormsModule, IconModule], exports: [SearchFilterComponent] });
|
|
1039
|
+
/** @nocollapse */ SearchFilterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: SearchFilterModule, imports: [CommonModule, FlyoutModule, FormsModule, IconModule] });
|
|
1040
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: SearchFilterModule, decorators: [{
|
|
1041
|
+
type: NgModule,
|
|
1042
|
+
args: [{
|
|
1043
|
+
imports: [CommonModule, FlyoutModule, FormsModule, IconModule],
|
|
1044
|
+
declarations: [SearchFilterComponent],
|
|
1045
|
+
exports: [SearchFilterComponent],
|
|
1046
|
+
}]
|
|
1047
|
+
}] });
|
|
1382
1048
|
|
|
1383
1049
|
class TimePickerValidators {
|
|
1384
1050
|
// time `hh:mm` 24h format
|
|
@@ -1436,109 +1102,6 @@ var TimepickerInputSize;
|
|
|
1436
1102
|
TimepickerInputSize["Large"] = "large";
|
|
1437
1103
|
})(TimepickerInputSize || (TimepickerInputSize = {}));
|
|
1438
1104
|
|
|
1439
|
-
function TimepickerComponent_div_1_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
1440
|
-
i0.ɵɵelementStart(0, "label", 7);
|
|
1441
|
-
i0.ɵɵtext(1);
|
|
1442
|
-
i0.ɵɵelementEnd();
|
|
1443
|
-
} if (rf & 2) {
|
|
1444
|
-
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
1445
|
-
i0.ɵɵadvance(1);
|
|
1446
|
-
i0.ɵɵtextInterpolate(ctx_r2.label);
|
|
1447
|
-
} }
|
|
1448
|
-
function TimepickerComponent_div_1_small_2_aui_icon_1_Template(rf, ctx) { if (rf & 1) {
|
|
1449
|
-
i0.ɵɵelement(0, "aui-icon", 10);
|
|
1450
|
-
} }
|
|
1451
|
-
const _c0$3 = function (a0) { return { "is-error": a0 }; };
|
|
1452
|
-
function TimepickerComponent_div_1_small_2_Template(rf, ctx) { if (rf & 1) {
|
|
1453
|
-
i0.ɵɵelementStart(0, "small", 8);
|
|
1454
|
-
i0.ɵɵtemplate(1, TimepickerComponent_div_1_small_2_aui_icon_1_Template, 1, 0, "aui-icon", 9);
|
|
1455
|
-
i0.ɵɵtext(2);
|
|
1456
|
-
i0.ɵɵelementEnd();
|
|
1457
|
-
} if (rf & 2) {
|
|
1458
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
1459
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$3, ctx_r3.hasError));
|
|
1460
|
-
i0.ɵɵadvance(1);
|
|
1461
|
-
i0.ɵɵproperty("ngIf", ctx_r3.hasError);
|
|
1462
|
-
i0.ɵɵadvance(1);
|
|
1463
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r3.description, "");
|
|
1464
|
-
} }
|
|
1465
|
-
const _c1$3 = function (a0) { return { "has-error": a0 }; };
|
|
1466
|
-
function TimepickerComponent_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
1467
|
-
i0.ɵɵelementStart(0, "div", 3);
|
|
1468
|
-
i0.ɵɵtemplate(1, TimepickerComponent_div_1_label_1_Template, 2, 1, "label", 4);
|
|
1469
|
-
i0.ɵɵtemplate(2, TimepickerComponent_div_1_small_2_Template, 3, 5, "small", 5);
|
|
1470
|
-
i0.ɵɵelement(3, "input", 6);
|
|
1471
|
-
i0.ɵɵelementEnd();
|
|
1472
|
-
} if (rf & 2) {
|
|
1473
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1474
|
-
i0.ɵɵclassMap("a-input--" + ctx_r0.size);
|
|
1475
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$3, ctx_r0.hasError));
|
|
1476
|
-
i0.ɵɵadvance(1);
|
|
1477
|
-
i0.ɵɵproperty("ngIf", ctx_r0.label);
|
|
1478
|
-
i0.ɵɵadvance(1);
|
|
1479
|
-
i0.ɵɵproperty("ngIf", ctx_r0.description);
|
|
1480
|
-
i0.ɵɵadvance(1);
|
|
1481
|
-
i0.ɵɵproperty("formControl", ctx_r0.timeControl)("id", ctx_r0.id);
|
|
1482
|
-
i0.ɵɵattribute("aria-label", ctx_r0.ariaLabelHours + ":" + ctx_r0.ariaLabelMinutes);
|
|
1483
|
-
} }
|
|
1484
|
-
function TimepickerComponent_div_2_option_6_Template(rf, ctx) { if (rf & 1) {
|
|
1485
|
-
i0.ɵɵelementStart(0, "option", 19);
|
|
1486
|
-
i0.ɵɵtext(1);
|
|
1487
|
-
i0.ɵɵelementEnd();
|
|
1488
|
-
} if (rf & 2) {
|
|
1489
|
-
const hour_r7 = ctx.$implicit;
|
|
1490
|
-
i0.ɵɵproperty("value", hour_r7);
|
|
1491
|
-
i0.ɵɵadvance(1);
|
|
1492
|
-
i0.ɵɵtextInterpolate(hour_r7);
|
|
1493
|
-
} }
|
|
1494
|
-
function TimepickerComponent_div_2_option_13_Template(rf, ctx) { if (rf & 1) {
|
|
1495
|
-
i0.ɵɵelementStart(0, "option", 19);
|
|
1496
|
-
i0.ɵɵtext(1);
|
|
1497
|
-
i0.ɵɵelementEnd();
|
|
1498
|
-
} if (rf & 2) {
|
|
1499
|
-
const minute_r8 = ctx.$implicit;
|
|
1500
|
-
i0.ɵɵproperty("value", minute_r8);
|
|
1501
|
-
i0.ɵɵadvance(1);
|
|
1502
|
-
i0.ɵɵtextInterpolate(minute_r8);
|
|
1503
|
-
} }
|
|
1504
|
-
function TimepickerComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
1505
|
-
i0.ɵɵelementStart(0, "div", 11)(1, "div", 12)(2, "div", 13)(3, "select", 14)(4, "option", 15);
|
|
1506
|
-
i0.ɵɵtext(5);
|
|
1507
|
-
i0.ɵɵelementEnd();
|
|
1508
|
-
i0.ɵɵtemplate(6, TimepickerComponent_div_2_option_6_Template, 2, 2, "option", 16);
|
|
1509
|
-
i0.ɵɵelementEnd();
|
|
1510
|
-
i0.ɵɵelement(7, "aui-icon", 17);
|
|
1511
|
-
i0.ɵɵelementEnd()();
|
|
1512
|
-
i0.ɵɵelementStart(8, "div", 12)(9, "div", 13)(10, "select", 18)(11, "option", 15);
|
|
1513
|
-
i0.ɵɵtext(12);
|
|
1514
|
-
i0.ɵɵelementEnd();
|
|
1515
|
-
i0.ɵɵtemplate(13, TimepickerComponent_div_2_option_13_Template, 2, 2, "option", 16);
|
|
1516
|
-
i0.ɵɵelementEnd();
|
|
1517
|
-
i0.ɵɵelement(14, "aui-icon", 17);
|
|
1518
|
-
i0.ɵɵelementEnd()()();
|
|
1519
|
-
} if (rf & 2) {
|
|
1520
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
1521
|
-
i0.ɵɵproperty("formGroup", ctx_r1.fallbackForm);
|
|
1522
|
-
i0.ɵɵadvance(1);
|
|
1523
|
-
i0.ɵɵclassMap("a-input--" + ctx_r1.size);
|
|
1524
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c1$3, ctx_r1.hasError));
|
|
1525
|
-
i0.ɵɵadvance(2);
|
|
1526
|
-
i0.ɵɵproperty("id", ctx_r1.id);
|
|
1527
|
-
i0.ɵɵattribute("aria-label", ctx_r1.ariaLabelHours);
|
|
1528
|
-
i0.ɵɵadvance(2);
|
|
1529
|
-
i0.ɵɵtextInterpolate(ctx_r1.hoursPlaceholder);
|
|
1530
|
-
i0.ɵɵadvance(1);
|
|
1531
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.hours);
|
|
1532
|
-
i0.ɵɵadvance(2);
|
|
1533
|
-
i0.ɵɵclassMap("a-input--" + ctx_r1.size);
|
|
1534
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c1$3, ctx_r1.hasError));
|
|
1535
|
-
i0.ɵɵadvance(2);
|
|
1536
|
-
i0.ɵɵattribute("aria-label", ctx_r1.ariaLabelMinutes);
|
|
1537
|
-
i0.ɵɵadvance(2);
|
|
1538
|
-
i0.ɵɵtextInterpolate(ctx_r1.minutesPlaceholder);
|
|
1539
|
-
i0.ɵɵadvance(1);
|
|
1540
|
-
i0.ɵɵproperty("ngForOf", ctx_r1.minutes);
|
|
1541
|
-
} }
|
|
1542
1105
|
class TimepickerComponent {
|
|
1543
1106
|
constructor(formBuilder, renderer) {
|
|
1544
1107
|
this.formBuilder = formBuilder;
|
|
@@ -1622,68 +1185,57 @@ class TimepickerComponent {
|
|
|
1622
1185
|
});
|
|
1623
1186
|
}
|
|
1624
1187
|
}
|
|
1625
|
-
/** @nocollapse */ TimepickerComponent.ɵfac =
|
|
1626
|
-
/** @nocollapse */ TimepickerComponent.ɵcmp =
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
type: Input
|
|
1662
|
-
}], ariaLabelHours: [{
|
|
1663
|
-
type: Input
|
|
1664
|
-
}], ariaLabelMinutes: [{
|
|
1665
|
-
type: Input
|
|
1666
|
-
}], label: [{
|
|
1667
|
-
type: Input
|
|
1668
|
-
}], description: [{
|
|
1669
|
-
type: Input
|
|
1670
|
-
}] }); })();
|
|
1188
|
+
/** @nocollapse */ TimepickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TimepickerComponent, deps: [{ token: i1$1.UntypedFormBuilder }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1189
|
+
/** @nocollapse */ TimepickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: TimepickerComponent, selector: "aui-timepicker", inputs: { id: "id", hoursPlaceholder: "hoursPlaceholder", minutesPlaceholder: "minutesPlaceholder", hasError: "hasError", size: "size", ariaLabelHours: "ariaLabelHours", ariaLabelMinutes: "ariaLabelMinutes", label: "label", description: "description" }, providers: [
|
|
1190
|
+
{
|
|
1191
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1192
|
+
useExisting: forwardRef((() => TimepickerComponent)),
|
|
1193
|
+
multi: true,
|
|
1194
|
+
},
|
|
1195
|
+
], ngImport: i0, template: "<div class=\"m-timepicker\">\n <div *ngIf=\"!shouldUseFallback\" [class]=\"'a-input--' + size\" [ngClass]=\"{ 'has-error': hasError }\" class=\"a-input\">\n <label class=\"a-input__label\" for=\"id\" *ngIf=\"label\">{{ label }}</label>\n <small class=\"a-input__description\" id=\"id\" [ngClass]=\"{ 'is-error': hasError }\" *ngIf=\"description\">\n <aui-icon *ngIf=\"hasError\" name=\"ai-alert-triangle\"></aui-icon>\n {{ description }}</small\n >\n <input\n [attr.aria-label]=\"ariaLabelHours + ':' + ariaLabelMinutes\"\n [formControl]=\"timeControl\"\n [id]=\"id\"\n type=\"time\"\n />\n </div>\n\n <div *ngIf=\"shouldUseFallback\" [formGroup]=\"fallbackForm\">\n <div [class]=\"'a-input--' + size\" [ngClass]=\"{ 'has-error': hasError }\" class=\"a-input has-icon-right\">\n <div class=\"a-input__wrapper\">\n <select [attr.aria-label]=\"ariaLabelHours\" [id]=\"id\" formControlName=\"hours\">\n <option disabled value=\"null\">{{ hoursPlaceholder }}</option>\n <option *ngFor=\"let hour of hours\" [value]=\"hour\">{{ hour }}</option>\n </select>\n <aui-icon name=\"ai-arrow-down-1\"></aui-icon>\n </div>\n </div>\n\n <div [class]=\"'a-input--' + size\" [ngClass]=\"{ 'has-error': hasError }\" class=\"a-input has-icon-right\">\n <div class=\"a-input__wrapper\">\n <select [attr.aria-label]=\"ariaLabelMinutes\" formControlName=\"minutes\">\n <option disabled value=\"null\">{{ minutesPlaceholder }}</option>\n <option *ngFor=\"let minute of minutes\" [value]=\"minute\">{{ minute }}</option>\n </select>\n <aui-icon name=\"ai-arrow-down-1\"></aui-icon>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i1$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4$1.IconComponent, selector: "aui-icon", inputs: ["name", "ariaLabel", "className"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1196
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TimepickerComponent, decorators: [{
|
|
1197
|
+
type: Component,
|
|
1198
|
+
args: [{ selector: 'aui-timepicker', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
|
|
1199
|
+
{
|
|
1200
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1201
|
+
useExisting: forwardRef((() => TimepickerComponent)),
|
|
1202
|
+
multi: true,
|
|
1203
|
+
},
|
|
1204
|
+
], template: "<div class=\"m-timepicker\">\n <div *ngIf=\"!shouldUseFallback\" [class]=\"'a-input--' + size\" [ngClass]=\"{ 'has-error': hasError }\" class=\"a-input\">\n <label class=\"a-input__label\" for=\"id\" *ngIf=\"label\">{{ label }}</label>\n <small class=\"a-input__description\" id=\"id\" [ngClass]=\"{ 'is-error': hasError }\" *ngIf=\"description\">\n <aui-icon *ngIf=\"hasError\" name=\"ai-alert-triangle\"></aui-icon>\n {{ description }}</small\n >\n <input\n [attr.aria-label]=\"ariaLabelHours + ':' + ariaLabelMinutes\"\n [formControl]=\"timeControl\"\n [id]=\"id\"\n type=\"time\"\n />\n </div>\n\n <div *ngIf=\"shouldUseFallback\" [formGroup]=\"fallbackForm\">\n <div [class]=\"'a-input--' + size\" [ngClass]=\"{ 'has-error': hasError }\" class=\"a-input has-icon-right\">\n <div class=\"a-input__wrapper\">\n <select [attr.aria-label]=\"ariaLabelHours\" [id]=\"id\" formControlName=\"hours\">\n <option disabled value=\"null\">{{ hoursPlaceholder }}</option>\n <option *ngFor=\"let hour of hours\" [value]=\"hour\">{{ hour }}</option>\n </select>\n <aui-icon name=\"ai-arrow-down-1\"></aui-icon>\n </div>\n </div>\n\n <div [class]=\"'a-input--' + size\" [ngClass]=\"{ 'has-error': hasError }\" class=\"a-input has-icon-right\">\n <div class=\"a-input__wrapper\">\n <select [attr.aria-label]=\"ariaLabelMinutes\" formControlName=\"minutes\">\n <option disabled value=\"null\">{{ minutesPlaceholder }}</option>\n <option *ngFor=\"let minute of minutes\" [value]=\"minute\">{{ minute }}</option>\n </select>\n <aui-icon name=\"ai-arrow-down-1\"></aui-icon>\n </div>\n </div>\n </div>\n</div>\n", styles: [":host{display:block}\n"] }]
|
|
1205
|
+
}], ctorParameters: function () { return [{ type: i1$1.UntypedFormBuilder }, { type: i0.Renderer2 }]; }, propDecorators: { id: [{
|
|
1206
|
+
type: Input
|
|
1207
|
+
}], hoursPlaceholder: [{
|
|
1208
|
+
type: Input
|
|
1209
|
+
}], minutesPlaceholder: [{
|
|
1210
|
+
type: Input
|
|
1211
|
+
}], hasError: [{
|
|
1212
|
+
type: Input
|
|
1213
|
+
}], size: [{
|
|
1214
|
+
type: Input
|
|
1215
|
+
}], ariaLabelHours: [{
|
|
1216
|
+
type: Input
|
|
1217
|
+
}], ariaLabelMinutes: [{
|
|
1218
|
+
type: Input
|
|
1219
|
+
}], label: [{
|
|
1220
|
+
type: Input
|
|
1221
|
+
}], description: [{
|
|
1222
|
+
type: Input
|
|
1223
|
+
}] } });
|
|
1671
1224
|
|
|
1672
1225
|
class TimepickerModule {
|
|
1673
1226
|
}
|
|
1674
|
-
/** @nocollapse */ TimepickerModule.ɵfac =
|
|
1675
|
-
/** @nocollapse */ TimepickerModule.ɵmod =
|
|
1676
|
-
/** @nocollapse */ TimepickerModule.ɵinj =
|
|
1677
|
-
(
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(TimepickerModule, { declarations: [TimepickerComponent], imports: [ReactiveFormsModule, CommonModule, IconModule], exports: [TimepickerComponent] }); })();
|
|
1227
|
+
/** @nocollapse */ TimepickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TimepickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1228
|
+
/** @nocollapse */ TimepickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: TimepickerModule, declarations: [TimepickerComponent], imports: [ReactiveFormsModule, CommonModule, IconModule], exports: [TimepickerComponent] });
|
|
1229
|
+
/** @nocollapse */ TimepickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TimepickerModule, imports: [ReactiveFormsModule, CommonModule, IconModule] });
|
|
1230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: TimepickerModule, decorators: [{
|
|
1231
|
+
type: NgModule,
|
|
1232
|
+
args: [{
|
|
1233
|
+
imports: [ReactiveFormsModule, CommonModule, IconModule],
|
|
1234
|
+
declarations: [TimepickerComponent],
|
|
1235
|
+
exports: [TimepickerComponent],
|
|
1236
|
+
providers: [],
|
|
1237
|
+
}]
|
|
1238
|
+
}] });
|
|
1687
1239
|
|
|
1688
1240
|
const UPLOAD_OPTIONS_DEFAULT = {
|
|
1689
1241
|
allowedMimeTypes: [],
|
|
@@ -1806,32 +1358,6 @@ class Uploader {
|
|
|
1806
1358
|
}
|
|
1807
1359
|
}
|
|
1808
1360
|
|
|
1809
|
-
function UploadQueueComponent_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
1810
|
-
const _r5 = i0.ɵɵgetCurrentView();
|
|
1811
|
-
i0.ɵɵelementStart(0, "li");
|
|
1812
|
-
i0.ɵɵelement(1, "aui-icon", 3);
|
|
1813
|
-
i0.ɵɵelementStart(2, "span", 4);
|
|
1814
|
-
i0.ɵɵtext(3);
|
|
1815
|
-
i0.ɵɵelementEnd();
|
|
1816
|
-
i0.ɵɵelementStart(4, "button", 5);
|
|
1817
|
-
i0.ɵɵlistener("click", function UploadQueueComponent_li_1_Template_button_click_4_listener() { const restoredCtx = i0.ɵɵrestoreView(_r5); const i_r3 = restoredCtx.index; const ctx_r4 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r4.remove(i_r3)); });
|
|
1818
|
-
i0.ɵɵelement(5, "aui-icon", 6);
|
|
1819
|
-
i0.ɵɵelementEnd()();
|
|
1820
|
-
} if (rf & 2) {
|
|
1821
|
-
const file_r2 = ctx.$implicit;
|
|
1822
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1823
|
-
i0.ɵɵadvance(3);
|
|
1824
|
-
i0.ɵɵtextInterpolate(file_r2.name);
|
|
1825
|
-
i0.ɵɵadvance(2);
|
|
1826
|
-
i0.ɵɵproperty("ariaLabel", ctx_r0.ariaLabelRemove);
|
|
1827
|
-
} }
|
|
1828
|
-
function UploadQueueComponent_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
1829
|
-
const _r7 = i0.ɵɵgetCurrentView();
|
|
1830
|
-
i0.ɵɵelementStart(0, "button", 7);
|
|
1831
|
-
i0.ɵɵlistener("click", function UploadQueueComponent_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.uploadFiles()); });
|
|
1832
|
-
i0.ɵɵtext(1, "Upload");
|
|
1833
|
-
i0.ɵɵelementEnd();
|
|
1834
|
-
} }
|
|
1835
1361
|
class UploadQueueComponent {
|
|
1836
1362
|
constructor() {
|
|
1837
1363
|
this.ariaLabelRemove = 'Verwijder';
|
|
@@ -1855,125 +1381,21 @@ class UploadQueueComponent {
|
|
|
1855
1381
|
});
|
|
1856
1382
|
}
|
|
1857
1383
|
}
|
|
1858
|
-
/** @nocollapse */ UploadQueueComponent.ɵfac =
|
|
1859
|
-
/** @nocollapse */ UploadQueueComponent.ɵcmp =
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
args: [{ selector: 'aui-upload-queue', template: "<ul class=\"m-upload__files u-margin-bottom-xs\">\n <li *ngFor=\"let file of files; let i = index\">\n <aui-icon name=\"ai-common-file-empty\"></aui-icon>\n <span class=\"m-upload__filename\">{{ file.name }}</span>\n\n <button\n (click)=\"remove(i)\"\n class=\"m-upload__delete a-button a-button--text a-button--neutral a-button--s has-icon\"\n type=\"button\"\n >\n <aui-icon name=\"ai-close\" [ariaLabel]=\"ariaLabelRemove\"></aui-icon>\n </button>\n </li>\n</ul>\n\n<button (click)=\"uploadFiles()\" *ngIf=\"files.length > 0\" class=\"a-button\" type=\"button\">Upload</button>\n" }]
|
|
1873
|
-
}], null, { files: [{
|
|
1874
|
-
type: Input
|
|
1875
|
-
}], uploader: [{
|
|
1876
|
-
type: Input
|
|
1877
|
-
}], ariaLabelRemove: [{
|
|
1878
|
-
type: Input
|
|
1879
|
-
}], uploadedFiles: [{
|
|
1880
|
-
type: Output
|
|
1881
|
-
}] }); })();
|
|
1384
|
+
/** @nocollapse */ UploadQueueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: UploadQueueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1385
|
+
/** @nocollapse */ UploadQueueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: UploadQueueComponent, selector: "aui-upload-queue", inputs: { files: "files", uploader: "uploader", ariaLabelRemove: "ariaLabelRemove" }, outputs: { uploadedFiles: "uploadedFiles" }, ngImport: i0, template: "<ul class=\"m-upload__files u-margin-bottom-xs\">\n <li *ngFor=\"let file of files; let i = index\">\n <aui-icon name=\"ai-common-file-empty\"></aui-icon>\n <span class=\"m-upload__filename\">{{ file.name }}</span>\n\n <button\n (click)=\"remove(i)\"\n class=\"m-upload__delete a-button a-button--text a-button--neutral a-button--s has-icon\"\n type=\"button\"\n >\n <aui-icon name=\"ai-close\" [ariaLabel]=\"ariaLabelRemove\"></aui-icon>\n </button>\n </li>\n</ul>\n\n<button (click)=\"uploadFiles()\" *ngIf=\"files.length > 0\" class=\"a-button\" type=\"button\">Upload</button>\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4$1.IconComponent, selector: "aui-icon", inputs: ["name", "ariaLabel", "className"] }] });
|
|
1386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: UploadQueueComponent, decorators: [{
|
|
1387
|
+
type: Component,
|
|
1388
|
+
args: [{ selector: 'aui-upload-queue', template: "<ul class=\"m-upload__files u-margin-bottom-xs\">\n <li *ngFor=\"let file of files; let i = index\">\n <aui-icon name=\"ai-common-file-empty\"></aui-icon>\n <span class=\"m-upload__filename\">{{ file.name }}</span>\n\n <button\n (click)=\"remove(i)\"\n class=\"m-upload__delete a-button a-button--text a-button--neutral a-button--s has-icon\"\n type=\"button\"\n >\n <aui-icon name=\"ai-close\" [ariaLabel]=\"ariaLabelRemove\"></aui-icon>\n </button>\n </li>\n</ul>\n\n<button (click)=\"uploadFiles()\" *ngIf=\"files.length > 0\" class=\"a-button\" type=\"button\">Upload</button>\n" }]
|
|
1389
|
+
}], propDecorators: { files: [{
|
|
1390
|
+
type: Input
|
|
1391
|
+
}], uploader: [{
|
|
1392
|
+
type: Input
|
|
1393
|
+
}], ariaLabelRemove: [{
|
|
1394
|
+
type: Input
|
|
1395
|
+
}], uploadedFiles: [{
|
|
1396
|
+
type: Output
|
|
1397
|
+
}] } });
|
|
1882
1398
|
|
|
1883
|
-
const _c0$2 = ["fileInput"];
|
|
1884
|
-
function UploadZoneComponent_div_0_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
1885
|
-
i0.ɵɵelementStart(0, "div", 10)(1, "label", 11);
|
|
1886
|
-
i0.ɵɵtext(2);
|
|
1887
|
-
i0.ɵɵelementEnd();
|
|
1888
|
-
i0.ɵɵelementStart(3, "p", 12);
|
|
1889
|
-
i0.ɵɵtext(4);
|
|
1890
|
-
i0.ɵɵelementEnd()();
|
|
1891
|
-
} if (rf & 2) {
|
|
1892
|
-
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
1893
|
-
i0.ɵɵadvance(1);
|
|
1894
|
-
i0.ɵɵproperty("for", ctx_r3.ariaId);
|
|
1895
|
-
i0.ɵɵadvance(1);
|
|
1896
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r3.label, " ");
|
|
1897
|
-
i0.ɵɵadvance(2);
|
|
1898
|
-
i0.ɵɵtextInterpolate(ctx_r3.uploadedFilesString);
|
|
1899
|
-
} }
|
|
1900
|
-
function UploadZoneComponent_div_0_ng_container_6_ng_container_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
1901
|
-
i0.ɵɵelementContainerStart(0);
|
|
1902
|
-
i0.ɵɵtext(1, ",");
|
|
1903
|
-
i0.ɵɵelementContainerEnd();
|
|
1904
|
-
} }
|
|
1905
|
-
function UploadZoneComponent_div_0_ng_container_6_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
1906
|
-
i0.ɵɵelementContainerStart(0);
|
|
1907
|
-
i0.ɵɵtext(1);
|
|
1908
|
-
i0.ɵɵtemplate(2, UploadZoneComponent_div_0_ng_container_6_ng_container_2_ng_container_2_Template, 2, 0, "ng-container", 8);
|
|
1909
|
-
i0.ɵɵelementContainerEnd();
|
|
1910
|
-
} if (rf & 2) {
|
|
1911
|
-
const file_r6 = ctx.$implicit;
|
|
1912
|
-
const last_r7 = ctx.last;
|
|
1913
|
-
i0.ɵɵadvance(1);
|
|
1914
|
-
i0.ɵɵtextInterpolate1(" ", file_r6.name, " ");
|
|
1915
|
-
i0.ɵɵadvance(1);
|
|
1916
|
-
i0.ɵɵproperty("ngIf", !last_r7);
|
|
1917
|
-
} }
|
|
1918
|
-
function UploadZoneComponent_div_0_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
1919
|
-
i0.ɵɵelementContainerStart(0);
|
|
1920
|
-
i0.ɵɵelementStart(1, "p", 13);
|
|
1921
|
-
i0.ɵɵtemplate(2, UploadZoneComponent_div_0_ng_container_6_ng_container_2_Template, 3, 2, "ng-container", 14);
|
|
1922
|
-
i0.ɵɵelementEnd();
|
|
1923
|
-
i0.ɵɵelement(3, "aui-progress-bar", 15);
|
|
1924
|
-
i0.ɵɵelementContainerEnd();
|
|
1925
|
-
} if (rf & 2) {
|
|
1926
|
-
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
1927
|
-
i0.ɵɵadvance(2);
|
|
1928
|
-
i0.ɵɵproperty("ngForOf", ctx_r4.uploadingFiles);
|
|
1929
|
-
i0.ɵɵadvance(1);
|
|
1930
|
-
i0.ɵɵproperty("value", ctx_r4.uploadProgress);
|
|
1931
|
-
} }
|
|
1932
|
-
function UploadZoneComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
1933
|
-
const _r10 = i0.ɵɵgetCurrentView();
|
|
1934
|
-
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "div", 4)(3, "input", 5, 6);
|
|
1935
|
-
i0.ɵɵlistener("click", function UploadZoneComponent_div_0_Template_input_click_3_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r9 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r9.onFileClick($event)); })("change", function UploadZoneComponent_div_0_Template_input_change_3_listener() { i0.ɵɵrestoreView(_r10); const ctx_r11 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r11.updateFiles()); });
|
|
1936
|
-
i0.ɵɵelementEnd();
|
|
1937
|
-
i0.ɵɵtemplate(5, UploadZoneComponent_div_0_div_5_Template, 5, 3, "div", 7);
|
|
1938
|
-
i0.ɵɵtemplate(6, UploadZoneComponent_div_0_ng_container_6_Template, 4, 2, "ng-container", 8);
|
|
1939
|
-
i0.ɵɵelementEnd()();
|
|
1940
|
-
i0.ɵɵelementStart(7, "small", 9);
|
|
1941
|
-
i0.ɵɵtext(8);
|
|
1942
|
-
i0.ɵɵelementEnd()();
|
|
1943
|
-
} if (rf & 2) {
|
|
1944
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
1945
|
-
i0.ɵɵclassProp("is-disabled", ctx_r0.disabled);
|
|
1946
|
-
i0.ɵɵadvance(3);
|
|
1947
|
-
i0.ɵɵproperty("id", ctx_r0.id);
|
|
1948
|
-
i0.ɵɵattribute("aria-labelledby", ctx_r0.ariaId);
|
|
1949
|
-
i0.ɵɵadvance(2);
|
|
1950
|
-
i0.ɵɵproperty("ngIf", !ctx_r0.uploadProgress || ctx_r0.uploadProgress === 0);
|
|
1951
|
-
i0.ɵɵadvance(1);
|
|
1952
|
-
i0.ɵɵproperty("ngIf", ctx_r0.uploadProgress > 0);
|
|
1953
|
-
i0.ɵɵadvance(2);
|
|
1954
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r0.description, " ");
|
|
1955
|
-
} }
|
|
1956
|
-
function UploadZoneComponent_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
1957
|
-
const _r14 = i0.ɵɵgetCurrentView();
|
|
1958
|
-
i0.ɵɵelementStart(0, "button", 16);
|
|
1959
|
-
i0.ɵɵlistener("click", function UploadZoneComponent_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r13.triggerFile()); });
|
|
1960
|
-
i0.ɵɵelementStart(1, "span", 17);
|
|
1961
|
-
i0.ɵɵprojection(2);
|
|
1962
|
-
i0.ɵɵelementEnd();
|
|
1963
|
-
i0.ɵɵelementStart(3, "input", 5, 6);
|
|
1964
|
-
i0.ɵɵlistener("click", function UploadZoneComponent_button_1_Template_input_click_3_listener($event) { i0.ɵɵrestoreView(_r14); const ctx_r15 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r15.onFileClick($event)); })("change", function UploadZoneComponent_button_1_Template_input_change_3_listener() { i0.ɵɵrestoreView(_r14); const ctx_r16 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r16.updateFiles()); });
|
|
1965
|
-
i0.ɵɵelementEnd()();
|
|
1966
|
-
} if (rf & 2) {
|
|
1967
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
1968
|
-
i0.ɵɵproperty("disabled", ctx_r1.disabled);
|
|
1969
|
-
i0.ɵɵadvance(1);
|
|
1970
|
-
i0.ɵɵproperty("id", ctx_r1.ariaId);
|
|
1971
|
-
i0.ɵɵadvance(2);
|
|
1972
|
-
i0.ɵɵproperty("id", ctx_r1.id);
|
|
1973
|
-
i0.ɵɵattribute("aria-labelledby", ctx_r1.ariaId);
|
|
1974
|
-
} }
|
|
1975
|
-
const _c1$2 = [[["", 8, "m-upload__button"]]];
|
|
1976
|
-
const _c2 = [".m-upload__button"];
|
|
1977
1399
|
class UploadZoneComponent {
|
|
1978
1400
|
onDragOver(event) {
|
|
1979
1401
|
this.preventAndStop(event);
|
|
@@ -2070,63 +1492,48 @@ class UploadZoneComponent {
|
|
|
2070
1492
|
return this.fileInput.nativeElement.files.map((file) => file.name).join('');
|
|
2071
1493
|
}
|
|
2072
1494
|
}
|
|
2073
|
-
/** @nocollapse */ UploadZoneComponent.ɵfac =
|
|
2074
|
-
/** @nocollapse */ UploadZoneComponent.ɵcmp =
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
let
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
type: Output
|
|
2116
|
-
}], queuedFiles: [{
|
|
2117
|
-
type: Output
|
|
2118
|
-
}], invalidFiles: [{
|
|
2119
|
-
type: Output
|
|
2120
|
-
}], onDragOver: [{
|
|
2121
|
-
type: HostListener,
|
|
2122
|
-
args: ['dragover', ['$event']]
|
|
2123
|
-
}], onDragLeave: [{
|
|
2124
|
-
type: HostListener,
|
|
2125
|
-
args: ['dragleave', ['$event']]
|
|
2126
|
-
}], onDrop: [{
|
|
2127
|
-
type: HostListener,
|
|
2128
|
-
args: ['drop', ['$event']]
|
|
2129
|
-
}] }); })();
|
|
1495
|
+
/** @nocollapse */ UploadZoneComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: UploadZoneComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
1496
|
+
/** @nocollapse */ UploadZoneComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: UploadZoneComponent, selector: "aui-upload-zone", inputs: { uploader: "uploader", id: "id", accept: "accept", capture: "capture", ariaId: "ariaId", disabled: "disabled", multiple: "multiple", label: "label", description: "description" }, outputs: { uploadedFiles: "uploadedFiles", queuedFiles: "queuedFiles", invalidFiles: "invalidFiles" }, host: { listeners: { "dragover": "onDragOver($event)", "dragleave": "onDragLeave($event)", "drop": "onDrop($event)" } }, viewQueries: [{ propertyName: "fileInput", first: true, predicate: ["fileInput"], descendants: true }], ngImport: i0, template: "<div *ngIf=\"uploader.options.type === 'drop'\" [class.is-disabled]=\"disabled\" class=\"m-upload\">\n <div class=\"m-upload__inner\">\n <div class=\"m-upload__dropzone\">\n <input\n #fileInput\n type=\"file\"\n class=\"m-upload__input\"\n [id]=\"id\"\n [attr.aria-labelledby]=\"ariaId\"\n (click)=\"onFileClick($event)\"\n (change)=\"updateFiles()\"\n />\n\n <div *ngIf=\"!uploadProgress || uploadProgress === 0\" class=\"m-upload__content\">\n <label [for]=\"ariaId\" class=\"m-upload__message\">\n {{ label }}\n </label>\n <p class=\"m-upload__uploads u-text-bold\">{{ uploadedFilesString }}</p>\n </div>\n\n <ng-container *ngIf=\"uploadProgress > 0\">\n <p class=\"m-upload__uploads u-text-bold u-margin-bottom-xs\">\n <ng-container *ngFor=\"let file of uploadingFiles; let last = last\">\n {{ file.name }}\n <ng-container *ngIf=\"!last\">,</ng-container>\n </ng-container>\n </p>\n <aui-progress-bar [value]=\"uploadProgress\" max=\"100\"></aui-progress-bar>\n </ng-container>\n </div>\n </div>\n\n <small class=\"m-upload__description\">\n {{ description }}\n </small>\n</div>\n\n<button\n (click)=\"triggerFile()\"\n *ngIf=\"uploader.options.type === 'button'\"\n [disabled]=\"disabled\"\n class=\"a-button m-upload__button\"\n type=\"button\"\n>\n <span [id]=\"ariaId\"><ng-content select=\".m-upload__button\"></ng-content></span>\n <input\n #fileInput\n type=\"file\"\n class=\"m-upload__input\"\n [id]=\"id\"\n [attr.aria-labelledby]=\"ariaId\"\n (click)=\"onFileClick($event)\"\n (change)=\"updateFiles()\"\n />\n</button>\n", styles: [".m-upload__button{position:relative}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ProgressBarComponent, selector: "aui-progress-bar", inputs: ["value", "max"] }] });
|
|
1497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: UploadZoneComponent, decorators: [{
|
|
1498
|
+
type: Component,
|
|
1499
|
+
args: [{ selector: 'aui-upload-zone', template: "<div *ngIf=\"uploader.options.type === 'drop'\" [class.is-disabled]=\"disabled\" class=\"m-upload\">\n <div class=\"m-upload__inner\">\n <div class=\"m-upload__dropzone\">\n <input\n #fileInput\n type=\"file\"\n class=\"m-upload__input\"\n [id]=\"id\"\n [attr.aria-labelledby]=\"ariaId\"\n (click)=\"onFileClick($event)\"\n (change)=\"updateFiles()\"\n />\n\n <div *ngIf=\"!uploadProgress || uploadProgress === 0\" class=\"m-upload__content\">\n <label [for]=\"ariaId\" class=\"m-upload__message\">\n {{ label }}\n </label>\n <p class=\"m-upload__uploads u-text-bold\">{{ uploadedFilesString }}</p>\n </div>\n\n <ng-container *ngIf=\"uploadProgress > 0\">\n <p class=\"m-upload__uploads u-text-bold u-margin-bottom-xs\">\n <ng-container *ngFor=\"let file of uploadingFiles; let last = last\">\n {{ file.name }}\n <ng-container *ngIf=\"!last\">,</ng-container>\n </ng-container>\n </p>\n <aui-progress-bar [value]=\"uploadProgress\" max=\"100\"></aui-progress-bar>\n </ng-container>\n </div>\n </div>\n\n <small class=\"m-upload__description\">\n {{ description }}\n </small>\n</div>\n\n<button\n (click)=\"triggerFile()\"\n *ngIf=\"uploader.options.type === 'button'\"\n [disabled]=\"disabled\"\n class=\"a-button m-upload__button\"\n type=\"button\"\n>\n <span [id]=\"ariaId\"><ng-content select=\".m-upload__button\"></ng-content></span>\n <input\n #fileInput\n type=\"file\"\n class=\"m-upload__input\"\n [id]=\"id\"\n [attr.aria-labelledby]=\"ariaId\"\n (click)=\"onFileClick($event)\"\n (change)=\"updateFiles()\"\n />\n</button>\n", styles: [".m-upload__button{position:relative}\n"] }]
|
|
1500
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { fileInput: [{
|
|
1501
|
+
type: ViewChild,
|
|
1502
|
+
args: ['fileInput', { static: false }]
|
|
1503
|
+
}], uploader: [{
|
|
1504
|
+
type: Input
|
|
1505
|
+
}], id: [{
|
|
1506
|
+
type: Input
|
|
1507
|
+
}], accept: [{
|
|
1508
|
+
type: Input
|
|
1509
|
+
}], capture: [{
|
|
1510
|
+
type: Input
|
|
1511
|
+
}], ariaId: [{
|
|
1512
|
+
type: Input
|
|
1513
|
+
}], disabled: [{
|
|
1514
|
+
type: Input
|
|
1515
|
+
}], multiple: [{
|
|
1516
|
+
type: Input
|
|
1517
|
+
}], label: [{
|
|
1518
|
+
type: Input
|
|
1519
|
+
}], description: [{
|
|
1520
|
+
type: Input
|
|
1521
|
+
}], uploadedFiles: [{
|
|
1522
|
+
type: Output
|
|
1523
|
+
}], queuedFiles: [{
|
|
1524
|
+
type: Output
|
|
1525
|
+
}], invalidFiles: [{
|
|
1526
|
+
type: Output
|
|
1527
|
+
}], onDragOver: [{
|
|
1528
|
+
type: HostListener,
|
|
1529
|
+
args: ['dragover', ['$event']]
|
|
1530
|
+
}], onDragLeave: [{
|
|
1531
|
+
type: HostListener,
|
|
1532
|
+
args: ['dragleave', ['$event']]
|
|
1533
|
+
}], onDrop: [{
|
|
1534
|
+
type: HostListener,
|
|
1535
|
+
args: ['drop', ['$event']]
|
|
1536
|
+
}] } });
|
|
2130
1537
|
|
|
2131
1538
|
class ValidationMessagesService {
|
|
2132
1539
|
constructor(initValues) {
|
|
@@ -2145,39 +1552,15 @@ class ValidationMessagesService {
|
|
|
2145
1552
|
}
|
|
2146
1553
|
}
|
|
2147
1554
|
}
|
|
2148
|
-
/** @nocollapse */ ValidationMessagesService.ɵfac =
|
|
2149
|
-
/** @nocollapse */ ValidationMessagesService.ɵprov =
|
|
2150
|
-
(
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
1555
|
+
/** @nocollapse */ ValidationMessagesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ValidationMessagesService, deps: [{ token: UPLOAD_VALIDATION_MESSAGES }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1556
|
+
/** @nocollapse */ ValidationMessagesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ValidationMessagesService });
|
|
1557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ValidationMessagesService, decorators: [{
|
|
1558
|
+
type: Injectable
|
|
1559
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1560
|
+
type: Inject,
|
|
1561
|
+
args: [UPLOAD_VALIDATION_MESSAGES]
|
|
1562
|
+
}] }]; } });
|
|
2156
1563
|
|
|
2157
|
-
function ValidationListComponent_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
2158
|
-
const _r4 = i0.ɵɵgetCurrentView();
|
|
2159
|
-
i0.ɵɵelementStart(0, "li", 2);
|
|
2160
|
-
i0.ɵɵelement(1, "aui-icon", 3);
|
|
2161
|
-
i0.ɵɵelementStart(2, "span", 4);
|
|
2162
|
-
i0.ɵɵtext(3);
|
|
2163
|
-
i0.ɵɵelementEnd();
|
|
2164
|
-
i0.ɵɵelementStart(4, "span", 5);
|
|
2165
|
-
i0.ɵɵtext(5);
|
|
2166
|
-
i0.ɵɵelementEnd();
|
|
2167
|
-
i0.ɵɵelementStart(6, "button", 6);
|
|
2168
|
-
i0.ɵɵlistener("click", function ValidationListComponent_li_1_Template_button_click_6_listener() { const restoredCtx = i0.ɵɵrestoreView(_r4); const i_r2 = restoredCtx.index; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.remove(i_r2)); });
|
|
2169
|
-
i0.ɵɵelement(7, "aui-icon", 7);
|
|
2170
|
-
i0.ɵɵelementEnd()();
|
|
2171
|
-
} if (rf & 2) {
|
|
2172
|
-
const invalidFile_r1 = ctx.$implicit;
|
|
2173
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
2174
|
-
i0.ɵɵadvance(3);
|
|
2175
|
-
i0.ɵɵtextInterpolate(invalidFile_r1.file.name);
|
|
2176
|
-
i0.ɵɵadvance(2);
|
|
2177
|
-
i0.ɵɵtextInterpolate(ctx_r0.formatReasons(invalidFile_r1.reasons));
|
|
2178
|
-
i0.ɵɵadvance(2);
|
|
2179
|
-
i0.ɵɵproperty("ariaLabel", ctx_r0.ariaLabelRemove);
|
|
2180
|
-
} }
|
|
2181
1564
|
class ValidationListComponent {
|
|
2182
1565
|
constructor(messagesService) {
|
|
2183
1566
|
this.messagesService = messagesService;
|
|
@@ -2195,35 +1578,17 @@ class ValidationListComponent {
|
|
|
2195
1578
|
return result.join(', ');
|
|
2196
1579
|
}
|
|
2197
1580
|
}
|
|
2198
|
-
/** @nocollapse */ ValidationListComponent.ɵfac =
|
|
2199
|
-
/** @nocollapse */ ValidationListComponent.ɵcmp =
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
type: Component,
|
|
2209
|
-
args: [{ selector: 'aui-validation-list', template: "<ul class=\"m-upload__files\">\n <li *ngFor=\"let invalidFile of invalidFiles; let i = index\" class=\"is-error\">\n <aui-icon name=\"ai-alert-triangle\"></aui-icon>\n <span class=\"m-upload__filename\">{{ invalidFile.file.name }}</span>\n <span class=\"m-upload__error\">{{ formatReasons(invalidFile.reasons) }}</span>\n\n <button\n (click)=\"remove(i)\"\n class=\"m-upload__delete a-button a-button--text a-button--danger a-button--s has-icon\"\n type=\"button\"\n >\n <aui-icon name=\"ai-close\" [ariaLabel]=\"ariaLabelRemove\"></aui-icon>\n </button>\n </li>\n</ul>\n" }]
|
|
2210
|
-
}], function () { return [{ type: ValidationMessagesService }]; }, { invalidFiles: [{
|
|
2211
|
-
type: Input
|
|
2212
|
-
}], ariaLabelRemove: [{
|
|
2213
|
-
type: Input
|
|
2214
|
-
}] }); })();
|
|
1581
|
+
/** @nocollapse */ ValidationListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ValidationListComponent, deps: [{ token: ValidationMessagesService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1582
|
+
/** @nocollapse */ ValidationListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: ValidationListComponent, selector: "aui-validation-list", inputs: { invalidFiles: "invalidFiles", ariaLabelRemove: "ariaLabelRemove" }, ngImport: i0, template: "<ul class=\"m-upload__files\">\n <li *ngFor=\"let invalidFile of invalidFiles; let i = index\" class=\"is-error\">\n <aui-icon name=\"ai-alert-triangle\"></aui-icon>\n <span class=\"m-upload__filename\">{{ invalidFile.file.name }}</span>\n <span class=\"m-upload__error\">{{ formatReasons(invalidFile.reasons) }}</span>\n\n <button\n (click)=\"remove(i)\"\n class=\"m-upload__delete a-button a-button--text a-button--danger a-button--s has-icon\"\n type=\"button\"\n >\n <aui-icon name=\"ai-close\" [ariaLabel]=\"ariaLabelRemove\"></aui-icon>\n </button>\n </li>\n</ul>\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i4$1.IconComponent, selector: "aui-icon", inputs: ["name", "ariaLabel", "className"] }] });
|
|
1583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: ValidationListComponent, decorators: [{
|
|
1584
|
+
type: Component,
|
|
1585
|
+
args: [{ selector: 'aui-validation-list', template: "<ul class=\"m-upload__files\">\n <li *ngFor=\"let invalidFile of invalidFiles; let i = index\" class=\"is-error\">\n <aui-icon name=\"ai-alert-triangle\"></aui-icon>\n <span class=\"m-upload__filename\">{{ invalidFile.file.name }}</span>\n <span class=\"m-upload__error\">{{ formatReasons(invalidFile.reasons) }}</span>\n\n <button\n (click)=\"remove(i)\"\n class=\"m-upload__delete a-button a-button--text a-button--danger a-button--s has-icon\"\n type=\"button\"\n >\n <aui-icon name=\"ai-close\" [ariaLabel]=\"ariaLabelRemove\"></aui-icon>\n </button>\n </li>\n</ul>\n" }]
|
|
1586
|
+
}], ctorParameters: function () { return [{ type: ValidationMessagesService }]; }, propDecorators: { invalidFiles: [{
|
|
1587
|
+
type: Input
|
|
1588
|
+
}], ariaLabelRemove: [{
|
|
1589
|
+
type: Input
|
|
1590
|
+
}] } });
|
|
2215
1591
|
|
|
2216
|
-
function UploadComponent_aui_upload_queue_5_Template(rf, ctx) { if (rf & 1) {
|
|
2217
|
-
const _r2 = i0.ɵɵgetCurrentView();
|
|
2218
|
-
i0.ɵɵelementStart(0, "aui-upload-queue", 5);
|
|
2219
|
-
i0.ɵɵlistener("uploadedFiles", function UploadComponent_aui_upload_queue_5_Template_aui_upload_queue_uploadedFiles_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onUploadedFiles($event)); });
|
|
2220
|
-
i0.ɵɵelementEnd();
|
|
2221
|
-
} if (rf & 2) {
|
|
2222
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
2223
|
-
i0.ɵɵproperty("ariaLabelRemove", ctx_r0.ariaLabelRemove)("files", ctx_r0.queuedFiles)("uploader", ctx_r0.uploader);
|
|
2224
|
-
} }
|
|
2225
|
-
const _c0$1 = [[["", 8, "m-upload__button"]]];
|
|
2226
|
-
const _c1$1 = [".m-upload__button"];
|
|
2227
1592
|
class UploadComponent {
|
|
2228
1593
|
constructor() {
|
|
2229
1594
|
this.id = '';
|
|
@@ -2258,52 +1623,33 @@ class UploadComponent {
|
|
|
2258
1623
|
this.queuedFiles = this.queuedFiles.concat(files);
|
|
2259
1624
|
}
|
|
2260
1625
|
}
|
|
2261
|
-
/** @nocollapse */ UploadComponent.ɵfac =
|
|
2262
|
-
/** @nocollapse */ UploadComponent.ɵcmp =
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
}], capture: [{
|
|
2288
|
-
type: Input
|
|
2289
|
-
}], ariaLabelRemove: [{
|
|
2290
|
-
type: Input
|
|
2291
|
-
}], disabled: [{
|
|
2292
|
-
type: Input
|
|
2293
|
-
}], multiple: [{
|
|
2294
|
-
type: Input
|
|
2295
|
-
}], label: [{
|
|
2296
|
-
type: Input
|
|
2297
|
-
}], description: [{
|
|
2298
|
-
type: Input
|
|
2299
|
-
}], options: [{
|
|
2300
|
-
type: Input
|
|
2301
|
-
}], selectUploadedFiles: [{
|
|
2302
|
-
type: Output
|
|
2303
|
-
}] }); })();
|
|
1626
|
+
/** @nocollapse */ UploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: UploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1627
|
+
/** @nocollapse */ UploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: UploadComponent, selector: "aui-upload", inputs: { id: "id", accept: "accept", capture: "capture", ariaLabelRemove: "ariaLabelRemove", disabled: "disabled", multiple: "multiple", label: "label", description: "description", options: "options" }, outputs: { selectUploadedFiles: "selectUploadedFiles" }, ngImport: i0, template: "<div class=\"m-upload aui-upload\">\n <aui-upload-zone\n [id]=\"id\"\n [accept]=\"accept\"\n [capture]=\"capture\"\n [ariaId]=\"ariaId\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n [uploader]=\"uploader\"\n (invalidFiles)=\"onInvalidFiles($event)\"\n (queuedFiles)=\"onQueuedFiles($event)\"\n (uploadedFiles)=\"onUploadedFiles($event)\"\n [label]=\"label\"\n [description]=\"description\"\n >\n <div class=\"m-upload__button\">\n <ng-content select=\".m-upload__button\"></ng-content>\n </div>\n </aui-upload-zone>\n <aui-validation-list [ariaLabelRemove]=\"ariaLabelRemove\" [invalidFiles]=\"invalidFiles\"></aui-validation-list>\n <aui-upload-queue\n (uploadedFiles)=\"onUploadedFiles($event)\"\n *ngIf=\"!options?.autoUpload\"\n [ariaLabelRemove]=\"ariaLabelRemove\"\n [files]=\"queuedFiles\"\n [uploader]=\"uploader\"\n ></aui-upload-queue>\n</div>\n", styles: [".m-upload__button{position:relative}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: UploadQueueComponent, selector: "aui-upload-queue", inputs: ["files", "uploader", "ariaLabelRemove"], outputs: ["uploadedFiles"] }, { kind: "component", type: UploadZoneComponent, selector: "aui-upload-zone", inputs: ["uploader", "id", "accept", "capture", "ariaId", "disabled", "multiple", "label", "description"], outputs: ["uploadedFiles", "queuedFiles", "invalidFiles"] }, { kind: "component", type: ValidationListComponent, selector: "aui-validation-list", inputs: ["invalidFiles", "ariaLabelRemove"] }] });
|
|
1628
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: UploadComponent, decorators: [{
|
|
1629
|
+
type: Component,
|
|
1630
|
+
args: [{ selector: 'aui-upload', template: "<div class=\"m-upload aui-upload\">\n <aui-upload-zone\n [id]=\"id\"\n [accept]=\"accept\"\n [capture]=\"capture\"\n [ariaId]=\"ariaId\"\n [disabled]=\"disabled\"\n [multiple]=\"multiple\"\n [uploader]=\"uploader\"\n (invalidFiles)=\"onInvalidFiles($event)\"\n (queuedFiles)=\"onQueuedFiles($event)\"\n (uploadedFiles)=\"onUploadedFiles($event)\"\n [label]=\"label\"\n [description]=\"description\"\n >\n <div class=\"m-upload__button\">\n <ng-content select=\".m-upload__button\"></ng-content>\n </div>\n </aui-upload-zone>\n <aui-validation-list [ariaLabelRemove]=\"ariaLabelRemove\" [invalidFiles]=\"invalidFiles\"></aui-validation-list>\n <aui-upload-queue\n (uploadedFiles)=\"onUploadedFiles($event)\"\n *ngIf=\"!options?.autoUpload\"\n [ariaLabelRemove]=\"ariaLabelRemove\"\n [files]=\"queuedFiles\"\n [uploader]=\"uploader\"\n ></aui-upload-queue>\n</div>\n", styles: [".m-upload__button{position:relative}\n"] }]
|
|
1631
|
+
}], propDecorators: { id: [{
|
|
1632
|
+
type: Input
|
|
1633
|
+
}], accept: [{
|
|
1634
|
+
type: Input
|
|
1635
|
+
}], capture: [{
|
|
1636
|
+
type: Input
|
|
1637
|
+
}], ariaLabelRemove: [{
|
|
1638
|
+
type: Input
|
|
1639
|
+
}], disabled: [{
|
|
1640
|
+
type: Input
|
|
1641
|
+
}], multiple: [{
|
|
1642
|
+
type: Input
|
|
1643
|
+
}], label: [{
|
|
1644
|
+
type: Input
|
|
1645
|
+
}], description: [{
|
|
1646
|
+
type: Input
|
|
1647
|
+
}], options: [{
|
|
1648
|
+
type: Input
|
|
1649
|
+
}], selectUploadedFiles: [{
|
|
1650
|
+
type: Output
|
|
1651
|
+
}] } });
|
|
2304
1652
|
|
|
2305
|
-
const _c0 = [[["", 8, "m-upload__message"]], [["", 8, "m-upload__description"]], [["", 8, "m-upload__button"]]];
|
|
2306
|
-
const _c1 = [".m-upload__message", ".m-upload__description", ".m-upload__button"];
|
|
2307
1653
|
class UploadInputComponent {
|
|
2308
1654
|
constructor() {
|
|
2309
1655
|
this.propagateChange = (_) => undefined;
|
|
@@ -2320,39 +1666,24 @@ class UploadInputComponent {
|
|
|
2320
1666
|
this.propagateChange(data);
|
|
2321
1667
|
}
|
|
2322
1668
|
}
|
|
2323
|
-
/** @nocollapse */ UploadInputComponent.ɵfac =
|
|
2324
|
-
/** @nocollapse */ UploadInputComponent.ɵcmp =
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
} if (rf & 2) {
|
|
2342
|
-
i0.ɵɵproperty("options", ctx.options);
|
|
2343
|
-
} }, dependencies: [UploadComponent], encapsulation: 2 });
|
|
2344
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UploadInputComponent, [{
|
|
2345
|
-
type: Component,
|
|
2346
|
-
args: [{ selector: 'aui-upload-input', providers: [{
|
|
2347
|
-
provide: NG_VALUE_ACCESSOR,
|
|
2348
|
-
useExisting: UploadInputComponent,
|
|
2349
|
-
multi: true,
|
|
2350
|
-
}], template: "<aui-upload (selectUploadedFiles)=\"onUpload($event)\" [options]=\"options\">\n <div class=\"m-upload__message\">\n <ng-content select=\".m-upload__message\"></ng-content>\n </div>\n <div class=\"m-upload__description\">\n <ng-content select=\".m-upload__description\"></ng-content>\n </div>\n <div class=\"m-upload__button\">\n <ng-content select=\".m-upload__button\"></ng-content>\n </div>\n</aui-upload>\n" }]
|
|
2351
|
-
}], null, { options: [{
|
|
2352
|
-
type: Input
|
|
2353
|
-
}], format: [{
|
|
2354
|
-
type: Input
|
|
2355
|
-
}] }); })();
|
|
1669
|
+
/** @nocollapse */ UploadInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: UploadInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1670
|
+
/** @nocollapse */ UploadInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: UploadInputComponent, selector: "aui-upload-input", inputs: { options: "options", format: "format" }, providers: [{
|
|
1671
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1672
|
+
useExisting: UploadInputComponent,
|
|
1673
|
+
multi: true,
|
|
1674
|
+
}], ngImport: i0, template: "<aui-upload (selectUploadedFiles)=\"onUpload($event)\" [options]=\"options\">\n <div class=\"m-upload__message\">\n <ng-content select=\".m-upload__message\"></ng-content>\n </div>\n <div class=\"m-upload__description\">\n <ng-content select=\".m-upload__description\"></ng-content>\n </div>\n <div class=\"m-upload__button\">\n <ng-content select=\".m-upload__button\"></ng-content>\n </div>\n</aui-upload>\n", dependencies: [{ kind: "component", type: UploadComponent, selector: "aui-upload", inputs: ["id", "accept", "capture", "ariaLabelRemove", "disabled", "multiple", "label", "description", "options"], outputs: ["selectUploadedFiles"] }] });
|
|
1675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: UploadInputComponent, decorators: [{
|
|
1676
|
+
type: Component,
|
|
1677
|
+
args: [{ selector: 'aui-upload-input', providers: [{
|
|
1678
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1679
|
+
useExisting: UploadInputComponent,
|
|
1680
|
+
multi: true,
|
|
1681
|
+
}], template: "<aui-upload (selectUploadedFiles)=\"onUpload($event)\" [options]=\"options\">\n <div class=\"m-upload__message\">\n <ng-content select=\".m-upload__message\"></ng-content>\n </div>\n <div class=\"m-upload__description\">\n <ng-content select=\".m-upload__description\"></ng-content>\n </div>\n <div class=\"m-upload__button\">\n <ng-content select=\".m-upload__button\"></ng-content>\n </div>\n</aui-upload>\n" }]
|
|
1682
|
+
}], propDecorators: { options: [{
|
|
1683
|
+
type: Input
|
|
1684
|
+
}], format: [{
|
|
1685
|
+
type: Input
|
|
1686
|
+
}] } });
|
|
2356
1687
|
|
|
2357
1688
|
class UploadModule {
|
|
2358
1689
|
static forChild(validationMessages = {}) {
|
|
@@ -2362,29 +1693,28 @@ class UploadModule {
|
|
|
2362
1693
|
};
|
|
2363
1694
|
}
|
|
2364
1695
|
}
|
|
2365
|
-
/** @nocollapse */ UploadModule.ɵfac =
|
|
2366
|
-
/** @nocollapse */ UploadModule.ɵmod =
|
|
2367
|
-
/** @nocollapse */ UploadModule.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [ValidationMessagesService, { provide: UPLOAD_VALIDATION_MESSAGES, useValue: {} }], imports: [CommonModule, ProgressBarModule, FormsModule, IconModule] });
|
|
2368
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UploadModule, [{
|
|
2369
|
-
type: NgModule,
|
|
2370
|
-
args: [{
|
|
2371
|
-
imports: [CommonModule, ProgressBarModule, FormsModule, IconModule],
|
|
2372
|
-
declarations: [
|
|
2373
|
-
UploadComponent,
|
|
2374
|
-
UploadInputComponent,
|
|
2375
|
-
UploadQueueComponent,
|
|
2376
|
-
UploadZoneComponent,
|
|
2377
|
-
ValidationListComponent,
|
|
2378
|
-
],
|
|
2379
|
-
exports: [UploadComponent, UploadInputComponent, UploadQueueComponent, UploadZoneComponent, ValidationListComponent],
|
|
2380
|
-
providers: [ValidationMessagesService, { provide: UPLOAD_VALIDATION_MESSAGES, useValue: {} }],
|
|
2381
|
-
}]
|
|
2382
|
-
}], null, null); })();
|
|
2383
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(UploadModule, { declarations: [UploadComponent,
|
|
1696
|
+
/** @nocollapse */ UploadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: UploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1697
|
+
/** @nocollapse */ UploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.7", ngImport: i0, type: UploadModule, declarations: [UploadComponent,
|
|
2384
1698
|
UploadInputComponent,
|
|
2385
1699
|
UploadQueueComponent,
|
|
2386
1700
|
UploadZoneComponent,
|
|
2387
|
-
ValidationListComponent], imports: [CommonModule, ProgressBarModule, FormsModule, IconModule], exports: [UploadComponent, UploadInputComponent, UploadQueueComponent, UploadZoneComponent, ValidationListComponent] });
|
|
1701
|
+
ValidationListComponent], imports: [CommonModule, ProgressBarModule, FormsModule, IconModule], exports: [UploadComponent, UploadInputComponent, UploadQueueComponent, UploadZoneComponent, ValidationListComponent] });
|
|
1702
|
+
/** @nocollapse */ UploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: UploadModule, providers: [ValidationMessagesService, { provide: UPLOAD_VALIDATION_MESSAGES, useValue: {} }], imports: [CommonModule, ProgressBarModule, FormsModule, IconModule] });
|
|
1703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: UploadModule, decorators: [{
|
|
1704
|
+
type: NgModule,
|
|
1705
|
+
args: [{
|
|
1706
|
+
imports: [CommonModule, ProgressBarModule, FormsModule, IconModule],
|
|
1707
|
+
declarations: [
|
|
1708
|
+
UploadComponent,
|
|
1709
|
+
UploadInputComponent,
|
|
1710
|
+
UploadQueueComponent,
|
|
1711
|
+
UploadZoneComponent,
|
|
1712
|
+
ValidationListComponent,
|
|
1713
|
+
],
|
|
1714
|
+
exports: [UploadComponent, UploadInputComponent, UploadQueueComponent, UploadZoneComponent, ValidationListComponent],
|
|
1715
|
+
providers: [ValidationMessagesService, { provide: UPLOAD_VALIDATION_MESSAGES, useValue: {} }],
|
|
1716
|
+
}]
|
|
1717
|
+
}] });
|
|
2388
1718
|
|
|
2389
1719
|
/**
|
|
2390
1720
|
* Generated bundle index. Do not edit.
|