@acpaas-ui/ngx-forms 6.0.8 → 6.0.10

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.
@@ -409,30 +409,51 @@ const DATEPICKER_DEFAULT_ERROR_LABELS = {
409
409
  };
410
410
  const DATEPICKER_SEPARATOR_CHAR = '/';
411
411
 
412
- function DatepickerComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
412
+ function DatepickerComponent_label_1_Template(rf, ctx) { if (rf & 1) {
413
+ i0.ɵɵelementStart(0, "label", 6);
414
+ i0.ɵɵtext(1);
415
+ i0.ɵɵelementEnd();
416
+ } if (rf & 2) {
417
+ const ctx_r0 = i0.ɵɵnextContext();
418
+ i0.ɵɵpropertyInterpolate("for", ctx_r0.id);
419
+ i0.ɵɵadvance(1);
420
+ i0.ɵɵtextInterpolate(ctx_r0.label);
421
+ } }
422
+ function DatepickerComponent_small_2_Template(rf, ctx) { if (rf & 1) {
423
+ i0.ɵɵelementStart(0, "small", 7);
424
+ i0.ɵɵtext(1);
425
+ i0.ɵɵelementEnd();
426
+ } if (rf & 2) {
427
+ const ctx_r1 = i0.ɵɵnextContext();
428
+ i0.ɵɵadvance(1);
429
+ i0.ɵɵtextInterpolate1(" ", ctx_r1.description, "");
430
+ } }
431
+ function DatepickerComponent_ng_container_5_Template(rf, ctx) { if (rf & 1) {
413
432
  i0.ɵɵelementContainerStart(0);
414
- i0.ɵɵelement(1, "aui-icon", 6);
433
+ i0.ɵɵelement(1, "aui-icon", 8);
415
434
  i0.ɵɵelementContainerEnd();
416
435
  } }
417
- function DatepickerComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
436
+ function DatepickerComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
418
437
  i0.ɵɵelementContainerStart(0);
419
- i0.ɵɵelement(1, "aui-icon", 7);
438
+ i0.ɵɵelement(1, "aui-icon", 9);
420
439
  i0.ɵɵelementContainerEnd();
421
440
  } if (rf & 2) {
441
+ const ctx_r3 = i0.ɵɵnextContext();
422
442
  i0.ɵɵadvance(1);
423
443
  i0.ɵɵproperty("openOnFocus", false);
444
+ i0.ɵɵattribute("aria-label", ctx_r3.ariaOpenDatepickerLabel);
424
445
  } }
425
- function DatepickerComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {
426
- const _r4 = i0.ɵɵgetCurrentView();
446
+ function DatepickerComponent_ng_container_7_Template(rf, ctx) { if (rf & 1) {
447
+ const _r6 = i0.ɵɵgetCurrentView();
427
448
  i0.ɵɵelementContainerStart(0);
428
- i0.ɵɵelementStart(1, "div", 8)(2, "aui-calendar", 9);
429
- i0.ɵɵlistener("selectDate", function DatepickerComponent_ng_container_9_Template_aui_calendar_selectDate_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.selectDateFromCalendar($event)); });
449
+ i0.ɵɵelementStart(1, "div", 10)(2, "aui-calendar", 11);
450
+ 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)); });
430
451
  i0.ɵɵelementEnd()();
431
452
  i0.ɵɵelementContainerEnd();
432
453
  } if (rf & 2) {
433
- const ctx_r2 = i0.ɵɵnextContext();
454
+ const ctx_r4 = i0.ɵɵnextContext();
434
455
  i0.ɵɵadvance(2);
435
- i0.ɵɵproperty("range", ctx_r2.range)("selectedDate", ctx_r2.selectedDate)("interval", ctx_r2.interval)("weekdayLabels", ctx_r2.weekdayLabels)("monthLabels", ctx_r2.monthLabels);
456
+ i0.ɵɵproperty("range", ctx_r4.range)("selectedDate", ctx_r4.selectedDate)("interval", ctx_r4.interval)("weekdayLabels", ctx_r4.weekdayLabels)("monthLabels", ctx_r4.monthLabels);
436
457
  } }
437
458
  class DatepickerComponent {
438
459
  constructor(moduleMonthLabels = CALENDAR_DEFAULT_MONTH_LABELS, moduleWeekdayLabels = CALENDAR_DEFAULT_WEEKDAY_LABELS, errorLabels = DATEPICKER_DEFAULT_ERROR_LABELS, calendarService, formBuilder, ref) {
@@ -443,6 +464,7 @@ class DatepickerComponent {
443
464
  this.formBuilder = formBuilder;
444
465
  this.ref = ref;
445
466
  this.placeholder = 'dd/mm/yyyy';
467
+ this.ariaOpenDatepickerLabel = 'Open kalender';
446
468
  // eslint-disable-next-line @angular-eslint/no-output-native
447
469
  this.blur = new EventEmitter();
448
470
  this.isDisabled = false;
@@ -574,7 +596,7 @@ class DatepickerComponent {
574
596
  } if (rf & 2) {
575
597
  let _t;
576
598
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.flyout = _t.first);
577
- } }, inputs: { id: "id", name: "name", placeholder: "placeholder", label: "label", description: "description", range: "range", min: "min", max: "max", autocomplete: "autocomplete", weekdayLabels: "weekdayLabels", monthLabels: "monthLabels" }, outputs: { blur: "blur" }, features: [i0.ɵɵProvidersFeature([
599
+ } }, 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" }, features: [i0.ɵɵProvidersFeature([
578
600
  {
579
601
  provide: NG_VALUE_ACCESSOR,
580
602
  useExisting: forwardRef((() => DatepickerComponent)),
@@ -585,25 +607,22 @@ class DatepickerComponent {
585
607
  useExisting: forwardRef((() => DatepickerComponent)),
586
608
  multi: true,
587
609
  },
588
- ]), i0.ɵɵNgOnChangesFeature], decls: 10, vars: 11, consts: [["aria-haspopup", "grid", "auiFlyout", "", 1, "aui-datepicker", "a-input", "has-icon-right"], ["for", "id", 1, "a-input__label"], ["id", "id", 1, "a-input__description"], [1, "a-input__wrapper"], ["label", "Pick date", "description", "Description", "type", "text", 3, "autocomplete", "formControl", "id", "name", "placeholder", "blur"], [4, "ngIf"], ["name", "ai-calendar", "role", "button", "tabindex", "0"], ["auiFlyoutAction", "", "name", "ai-calendar", "className", "is-clickable", "role", "button", "tabindex", "0", 3, "openOnFocus"], ["auiFlyoutZone", "", "role", "dialog", 1, "m-datepicker", "m-datepicker--fixed"], [3, "range", "selectedDate", "interval", "weekdayLabels", "monthLabels", "selectDate"]], template: function DatepickerComponent_Template(rf, ctx) { if (rf & 1) {
589
- i0.ɵɵelementStart(0, "div", 0)(1, "label", 1);
590
- i0.ɵɵtext(2);
591
- i0.ɵɵelementEnd();
592
- i0.ɵɵelementStart(3, "small", 2);
593
- i0.ɵɵtext(4);
594
- i0.ɵɵelementEnd();
595
- i0.ɵɵelementStart(5, "div", 3)(6, "input", 4);
596
- i0.ɵɵlistener("blur", function DatepickerComponent_Template_input_blur_6_listener($event) { return ctx.handleBlur($event); });
610
+ ]), i0.ɵɵNgOnChangesFeature], decls: 8, vars: 11, consts: [["aria-haspopup", "grid", "auiFlyout", "", 1, "aui-datepicker", "a-input", "has-icon-right"], ["class", "a-input__label", 3, "for", 4, "ngIf"], ["class", "a-input__description", 4, "ngIf"], [1, "a-input__wrapper"], ["label", "Pick date", "description", "Description", "type", "text", 3, "autocomplete", "formControl", "id", "name", "placeholder", "blur"], [4, "ngIf"], [1, "a-input__label", 3, "for"], [1, "a-input__description"], ["name", "ai-calendar"], ["auiFlyoutAction", "", "name", "ai-calendar", "className", "is-clickable", "role", "button", "tabindex", "0", 3, "openOnFocus"], ["auiFlyoutZone", "", "role", "dialog", 1, "m-datepicker", "m-datepicker--fixed"], [3, "range", "selectedDate", "interval", "weekdayLabels", "monthLabels", "selectDate"]], template: function DatepickerComponent_Template(rf, ctx) { if (rf & 1) {
611
+ i0.ɵɵelementStart(0, "div", 0);
612
+ i0.ɵɵtemplate(1, DatepickerComponent_label_1_Template, 2, 2, "label", 1);
613
+ i0.ɵɵtemplate(2, DatepickerComponent_small_2_Template, 2, 1, "small", 2);
614
+ i0.ɵɵelementStart(3, "div", 3)(4, "input", 4);
615
+ i0.ɵɵlistener("blur", function DatepickerComponent_Template_input_blur_4_listener($event) { return ctx.handleBlur($event); });
597
616
  i0.ɵɵelementEnd();
598
- i0.ɵɵtemplate(7, DatepickerComponent_ng_container_7_Template, 2, 0, "ng-container", 5);
599
- i0.ɵɵtemplate(8, DatepickerComponent_ng_container_8_Template, 2, 1, "ng-container", 5);
600
- i0.ɵɵtemplate(9, DatepickerComponent_ng_container_9_Template, 3, 5, "ng-container", 5);
617
+ i0.ɵɵtemplate(5, DatepickerComponent_ng_container_5_Template, 2, 0, "ng-container", 5);
618
+ i0.ɵɵtemplate(6, DatepickerComponent_ng_container_6_Template, 2, 2, "ng-container", 5);
619
+ i0.ɵɵtemplate(7, DatepickerComponent_ng_container_7_Template, 3, 5, "ng-container", 5);
601
620
  i0.ɵɵelementEnd()();
602
621
  } if (rf & 2) {
603
- i0.ɵɵadvance(2);
604
- i0.ɵɵtextInterpolate(ctx.label);
605
- i0.ɵɵadvance(2);
606
- i0.ɵɵtextInterpolate1(" ", ctx.description, "");
622
+ i0.ɵɵadvance(1);
623
+ i0.ɵɵproperty("ngIf", ctx.label);
624
+ i0.ɵɵadvance(1);
625
+ i0.ɵɵproperty("ngIf", ctx.description);
607
626
  i0.ɵɵadvance(2);
608
627
  i0.ɵɵpropertyInterpolate("id", ctx.id);
609
628
  i0.ɵɵpropertyInterpolate("name", ctx.name);
@@ -630,7 +649,7 @@ class DatepickerComponent {
630
649
  useExisting: forwardRef((() => DatepickerComponent)),
631
650
  multi: true,
632
651
  },
633
- ], template: "<div aria-haspopup=\"grid\" auiFlyout class=\"aui-datepicker a-input has-icon-right\">\n <label class=\"a-input__label\" for=\"id\">{{ label }}</label>\n <small class=\"a-input__description\" id=\"id\"> {{ 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 role=\"button\"\n tabindex=\"0\"\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 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"] }]
652
+ ], 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"] }]
634
653
  }], function () { return [{ type: undefined, decorators: [{
635
654
  type: Inject,
636
655
  args: [CALENDAR_MONTH_LABELS]
@@ -665,6 +684,8 @@ class DatepickerComponent {
665
684
  type: Input
666
685
  }], monthLabels: [{
667
686
  type: Input
687
+ }], ariaOpenDatepickerLabel: [{
688
+ type: Input
668
689
  }], blur: [{
669
690
  type: Output
670
691
  }] }); })();
@@ -1403,78 +1424,92 @@ var TimepickerInputSize;
1403
1424
  TimepickerInputSize["Large"] = "large";
1404
1425
  })(TimepickerInputSize || (TimepickerInputSize = {}));
1405
1426
 
1406
- function TimepickerComponent_div_1_aui_icon_4_Template(rf, ctx) { if (rf & 1) {
1407
- i0.ɵɵelement(0, "aui-icon", 8);
1427
+ function TimepickerComponent_div_1_label_1_Template(rf, ctx) { if (rf & 1) {
1428
+ i0.ɵɵelementStart(0, "label", 7);
1429
+ i0.ɵɵtext(1);
1430
+ i0.ɵɵelementEnd();
1431
+ } if (rf & 2) {
1432
+ const ctx_r2 = i0.ɵɵnextContext(2);
1433
+ i0.ɵɵadvance(1);
1434
+ i0.ɵɵtextInterpolate(ctx_r2.label);
1408
1435
  } }
1409
- const _c0$3 = function (a0) { return { "has-error": a0 }; };
1410
- const _c1$3 = function (a0) { return { "is-error": a0 }; };
1411
- function TimepickerComponent_div_1_Template(rf, ctx) { if (rf & 1) {
1412
- i0.ɵɵelementStart(0, "div", 3)(1, "label", 4);
1436
+ function TimepickerComponent_div_1_small_2_aui_icon_1_Template(rf, ctx) { if (rf & 1) {
1437
+ i0.ɵɵelement(0, "aui-icon", 10);
1438
+ } }
1439
+ const _c0$3 = function (a0) { return { "is-error": a0 }; };
1440
+ function TimepickerComponent_div_1_small_2_Template(rf, ctx) { if (rf & 1) {
1441
+ i0.ɵɵelementStart(0, "small", 8);
1442
+ i0.ɵɵtemplate(1, TimepickerComponent_div_1_small_2_aui_icon_1_Template, 1, 0, "aui-icon", 9);
1413
1443
  i0.ɵɵtext(2);
1414
1444
  i0.ɵɵelementEnd();
1415
- i0.ɵɵelementStart(3, "small", 5);
1416
- i0.ɵɵtemplate(4, TimepickerComponent_div_1_aui_icon_4_Template, 1, 0, "aui-icon", 6);
1417
- i0.ɵɵtext(5);
1418
- i0.ɵɵelementEnd();
1419
- i0.ɵɵelement(6, "input", 7);
1445
+ } if (rf & 2) {
1446
+ const ctx_r3 = i0.ɵɵnextContext(2);
1447
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$3, ctx_r3.hasError));
1448
+ i0.ɵɵadvance(1);
1449
+ i0.ɵɵproperty("ngIf", ctx_r3.hasError);
1450
+ i0.ɵɵadvance(1);
1451
+ i0.ɵɵtextInterpolate1(" ", ctx_r3.description, "");
1452
+ } }
1453
+ const _c1$3 = function (a0) { return { "has-error": a0 }; };
1454
+ function TimepickerComponent_div_1_Template(rf, ctx) { if (rf & 1) {
1455
+ i0.ɵɵelementStart(0, "div", 3);
1456
+ i0.ɵɵtemplate(1, TimepickerComponent_div_1_label_1_Template, 2, 1, "label", 4);
1457
+ i0.ɵɵtemplate(2, TimepickerComponent_div_1_small_2_Template, 3, 5, "small", 5);
1458
+ i0.ɵɵelement(3, "input", 6);
1420
1459
  i0.ɵɵelementEnd();
1421
1460
  } if (rf & 2) {
1422
1461
  const ctx_r0 = i0.ɵɵnextContext();
1423
1462
  i0.ɵɵclassMap("a-input--" + ctx_r0.size);
1424
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(10, _c0$3, ctx_r0.hasError));
1425
- i0.ɵɵadvance(2);
1426
- i0.ɵɵtextInterpolate(ctx_r0.label);
1427
- i0.ɵɵadvance(1);
1428
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c1$3, ctx_r0.hasError));
1463
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c1$3, ctx_r0.hasError));
1429
1464
  i0.ɵɵadvance(1);
1430
- i0.ɵɵproperty("ngIf", ctx_r0.hasError);
1465
+ i0.ɵɵproperty("ngIf", ctx_r0.label);
1431
1466
  i0.ɵɵadvance(1);
1432
- i0.ɵɵtextInterpolate1(" ", ctx_r0.description, "");
1467
+ i0.ɵɵproperty("ngIf", ctx_r0.description);
1433
1468
  i0.ɵɵadvance(1);
1434
1469
  i0.ɵɵproperty("formControl", ctx_r0.timeControl)("id", ctx_r0.id);
1435
1470
  i0.ɵɵattribute("aria-label", ctx_r0.ariaLabelHours + ":" + ctx_r0.ariaLabelMinutes);
1436
1471
  } }
1437
1472
  function TimepickerComponent_div_2_option_6_Template(rf, ctx) { if (rf & 1) {
1438
- i0.ɵɵelementStart(0, "option", 17);
1473
+ i0.ɵɵelementStart(0, "option", 19);
1439
1474
  i0.ɵɵtext(1);
1440
1475
  i0.ɵɵelementEnd();
1441
1476
  } if (rf & 2) {
1442
- const hour_r5 = ctx.$implicit;
1443
- i0.ɵɵproperty("value", hour_r5);
1477
+ const hour_r7 = ctx.$implicit;
1478
+ i0.ɵɵproperty("value", hour_r7);
1444
1479
  i0.ɵɵadvance(1);
1445
- i0.ɵɵtextInterpolate(hour_r5);
1480
+ i0.ɵɵtextInterpolate(hour_r7);
1446
1481
  } }
1447
1482
  function TimepickerComponent_div_2_option_13_Template(rf, ctx) { if (rf & 1) {
1448
- i0.ɵɵelementStart(0, "option", 17);
1483
+ i0.ɵɵelementStart(0, "option", 19);
1449
1484
  i0.ɵɵtext(1);
1450
1485
  i0.ɵɵelementEnd();
1451
1486
  } if (rf & 2) {
1452
- const minute_r6 = ctx.$implicit;
1453
- i0.ɵɵproperty("value", minute_r6);
1487
+ const minute_r8 = ctx.$implicit;
1488
+ i0.ɵɵproperty("value", minute_r8);
1454
1489
  i0.ɵɵadvance(1);
1455
- i0.ɵɵtextInterpolate(minute_r6);
1490
+ i0.ɵɵtextInterpolate(minute_r8);
1456
1491
  } }
1457
1492
  function TimepickerComponent_div_2_Template(rf, ctx) { if (rf & 1) {
1458
- i0.ɵɵelementStart(0, "div", 9)(1, "div", 10)(2, "div", 11)(3, "select", 12)(4, "option", 13);
1493
+ i0.ɵɵelementStart(0, "div", 11)(1, "div", 12)(2, "div", 13)(3, "select", 14)(4, "option", 15);
1459
1494
  i0.ɵɵtext(5);
1460
1495
  i0.ɵɵelementEnd();
1461
- i0.ɵɵtemplate(6, TimepickerComponent_div_2_option_6_Template, 2, 2, "option", 14);
1496
+ i0.ɵɵtemplate(6, TimepickerComponent_div_2_option_6_Template, 2, 2, "option", 16);
1462
1497
  i0.ɵɵelementEnd();
1463
- i0.ɵɵelement(7, "aui-icon", 15);
1498
+ i0.ɵɵelement(7, "aui-icon", 17);
1464
1499
  i0.ɵɵelementEnd()();
1465
- i0.ɵɵelementStart(8, "div", 10)(9, "div", 11)(10, "select", 16)(11, "option", 13);
1500
+ i0.ɵɵelementStart(8, "div", 12)(9, "div", 13)(10, "select", 18)(11, "option", 15);
1466
1501
  i0.ɵɵtext(12);
1467
1502
  i0.ɵɵelementEnd();
1468
- i0.ɵɵtemplate(13, TimepickerComponent_div_2_option_13_Template, 2, 2, "option", 14);
1503
+ i0.ɵɵtemplate(13, TimepickerComponent_div_2_option_13_Template, 2, 2, "option", 16);
1469
1504
  i0.ɵɵelementEnd();
1470
- i0.ɵɵelement(14, "aui-icon", 15);
1505
+ i0.ɵɵelement(14, "aui-icon", 17);
1471
1506
  i0.ɵɵelementEnd()()();
1472
1507
  } if (rf & 2) {
1473
1508
  const ctx_r1 = i0.ɵɵnextContext();
1474
1509
  i0.ɵɵproperty("formGroup", ctx_r1.fallbackForm);
1475
1510
  i0.ɵɵadvance(1);
1476
1511
  i0.ɵɵclassMap("a-input--" + ctx_r1.size);
1477
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c0$3, ctx_r1.hasError));
1512
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(14, _c1$3, ctx_r1.hasError));
1478
1513
  i0.ɵɵadvance(2);
1479
1514
  i0.ɵɵproperty("id", ctx_r1.id);
1480
1515
  i0.ɵɵattribute("aria-label", ctx_r1.ariaLabelHours);
@@ -1484,7 +1519,7 @@ function TimepickerComponent_div_2_Template(rf, ctx) { if (rf & 1) {
1484
1519
  i0.ɵɵproperty("ngForOf", ctx_r1.hours);
1485
1520
  i0.ɵɵadvance(2);
1486
1521
  i0.ɵɵclassMap("a-input--" + ctx_r1.size);
1487
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c0$3, ctx_r1.hasError));
1522
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(16, _c1$3, ctx_r1.hasError));
1488
1523
  i0.ɵɵadvance(2);
1489
1524
  i0.ɵɵattribute("aria-label", ctx_r1.ariaLabelMinutes);
1490
1525
  i0.ɵɵadvance(2);
@@ -1582,9 +1617,9 @@ class TimepickerComponent {
1582
1617
  useExisting: forwardRef((() => TimepickerComponent)),
1583
1618
  multi: true,
1584
1619
  },
1585
- ])], decls: 3, vars: 2, consts: [[1, "m-timepicker"], ["class", "a-input", 3, "class", "ngClass", 4, "ngIf"], [3, "formGroup", 4, "ngIf"], [1, "a-input", 3, "ngClass"], ["for", "id", 1, "a-input__label"], ["id", "id", 1, "a-input__description", 3, "ngClass"], ["name", "ai-alert-triangle", 4, "ngIf"], ["type", "time", 3, "formControl", "id"], ["name", "ai-alert-triangle"], [3, "formGroup"], [1, "a-input", "has-icon-right", 3, "ngClass"], [1, "a-input__wrapper"], ["formControlName", "hours", 3, "id"], ["disabled", "", "value", "null"], [3, "value", 4, "ngFor", "ngForOf"], ["name", "ai-arrow-down-1"], ["formControlName", "minutes"], [3, "value"]], template: function TimepickerComponent_Template(rf, ctx) { if (rf & 1) {
1620
+ ])], decls: 3, vars: 2, consts: [[1, "m-timepicker"], ["class", "a-input", 3, "class", "ngClass", 4, "ngIf"], [3, "formGroup", 4, "ngIf"], [1, "a-input", 3, "ngClass"], ["class", "a-input__label", "for", "id", 4, "ngIf"], ["class", "a-input__description", "id", "id", 3, "ngClass", 4, "ngIf"], ["type", "time", 3, "formControl", "id"], ["for", "id", 1, "a-input__label"], ["id", "id", 1, "a-input__description", 3, "ngClass"], ["name", "ai-alert-triangle", 4, "ngIf"], ["name", "ai-alert-triangle"], [3, "formGroup"], [1, "a-input", "has-icon-right", 3, "ngClass"], [1, "a-input__wrapper"], ["formControlName", "hours", 3, "id"], ["disabled", "", "value", "null"], [3, "value", 4, "ngFor", "ngForOf"], ["name", "ai-arrow-down-1"], ["formControlName", "minutes"], [3, "value"]], template: function TimepickerComponent_Template(rf, ctx) { if (rf & 1) {
1586
1621
  i0.ɵɵelementStart(0, "div", 0);
1587
- i0.ɵɵtemplate(1, TimepickerComponent_div_1_Template, 7, 14, "div", 1);
1622
+ i0.ɵɵtemplate(1, TimepickerComponent_div_1_Template, 4, 10, "div", 1);
1588
1623
  i0.ɵɵtemplate(2, TimepickerComponent_div_2_Template, 15, 18, "div", 2);
1589
1624
  i0.ɵɵelementEnd();
1590
1625
  } if (rf & 2) {
@@ -1601,7 +1636,7 @@ class TimepickerComponent {
1601
1636
  useExisting: forwardRef((() => TimepickerComponent)),
1602
1637
  multi: true,
1603
1638
  },
1604
- ], 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\">{{ label }}</label>\n <small class=\"a-input__description\" id=\"id\" [ngClass]=\"{ 'is-error': hasError }\">\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"] }]
1639
+ ], 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"] }]
1605
1640
  }], function () { return [{ type: i1$1.UntypedFormBuilder }, { type: i0.Renderer2 }]; }, { id: [{
1606
1641
  type: Input
1607
1642
  }], hoursPlaceholder: [{