@alauda/ui 6.2.0 → 6.2.1-beta.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.
Files changed (134) hide show
  1. package/alauda-ui.d.ts +3 -3
  2. package/alauda-ui.metadata.json +1 -1
  3. package/bundles/alauda-ui.umd.js +138 -29
  4. package/bundles/alauda-ui.umd.js.map +1 -1
  5. package/bundles/alauda-ui.umd.min.js +1 -1
  6. package/bundles/alauda-ui.umd.min.js.map +1 -1
  7. package/button/button.component.d.ts +1 -0
  8. package/checkbox/checkbox.component.d.ts +1 -1
  9. package/dropdown/dropdown.directive.d.ts +1 -0
  10. package/esm2015/accordion/accordion-item/accordion-item.component.ngfactory.js +2 -2
  11. package/esm2015/alauda-ui.js +4 -4
  12. package/esm2015/alauda-ui.ngsummary.json +1 -1
  13. package/esm2015/autocomplete/autocomplete.module.js +3 -1
  14. package/esm2015/autocomplete/autocomplete.module.ngfactory.js +1 -1
  15. package/esm2015/autocomplete/suggestion/suggestion.component.ngfactory.js +9 -8
  16. package/esm2015/back-top/back-top.component.ngfactory.js +2 -2
  17. package/esm2015/breadcrumb/breadcrumb-item.component.ngfactory.js +2 -2
  18. package/esm2015/button/button.component.js +7 -2
  19. package/esm2015/button/button.component.ngfactory.js +3 -3
  20. package/esm2015/button/button.component.ngsummary.json +1 -1
  21. package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngfactory.js +1 -1
  22. package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngsummary.json +1 -1
  23. package/esm2015/checkbox/checkbox.component.js +7 -6
  24. package/esm2015/checkbox/checkbox.component.ngfactory.js +3 -3
  25. package/esm2015/checkbox/checkbox.component.ngsummary.json +1 -1
  26. package/esm2015/color-picker/color-picker.component.ngfactory.js +1 -1
  27. package/esm2015/color-picker/color-picker.component.ngsummary.json +1 -1
  28. package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +6 -6
  29. package/esm2015/date-picker/calendar/date-picker-panel/component.ngsummary.json +1 -1
  30. package/esm2015/date-picker/calendar/footer/component.ngfactory.js +5 -5
  31. package/esm2015/date-picker/calendar/header/component.ngfactory.js +9 -9
  32. package/esm2015/date-picker/calendar/panel/picker-panel.ngfactory.js +3 -3
  33. package/esm2015/date-picker/calendar/range-picker-panel/component.ngfactory.js +5 -5
  34. package/esm2015/date-picker/calendar/range-picker-panel/component.ngsummary.json +1 -1
  35. package/esm2015/date-picker/date-picker/date-picker.component.ngfactory.js +4 -4
  36. package/esm2015/date-picker/date-picker/date-picker.component.ngsummary.json +1 -1
  37. package/esm2015/date-picker/range-picker/range-picker.component.ngfactory.js +4 -4
  38. package/esm2015/date-picker/range-picker/range-picker.component.ngsummary.json +1 -1
  39. package/esm2015/date-picker/trigger/trigger.component.ngfactory.js +9 -9
  40. package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngfactory.js +5 -5
  41. package/esm2015/dialog/dialog-content/dialog-header.component.ngfactory.js +2 -2
  42. package/esm2015/dialog/dialog.component.js +2 -2
  43. package/esm2015/dialog/dialog.component.ngfactory.js +2 -2
  44. package/esm2015/drawer/component/drawer.component.ngfactory.js +2 -2
  45. package/esm2015/dropdown/dropdown-button/dropdown-button.component.js +2 -2
  46. package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngfactory.js +3 -3
  47. package/esm2015/dropdown/dropdown.directive.js +8 -2
  48. package/esm2015/dropdown/dropdown.directive.ngsummary.json +1 -1
  49. package/esm2015/dropdown/submenu/submenu.component.ngfactory.js +2 -2
  50. package/esm2015/form/common-form.js +12 -4
  51. package/esm2015/form/common-form.ngsummary.json +1 -1
  52. package/esm2015/icon/icon.component.js +4 -4
  53. package/esm2015/icon/icon.component.ngfactory.js +4 -4
  54. package/esm2015/icon/icon.component.ngsummary.json +1 -1
  55. package/esm2015/icon/icon.module.ngfactory.js +1 -1
  56. package/esm2015/inline-alert/inline-alert.component.ngfactory.js +4 -4
  57. package/esm2015/input/input.component.js +9 -2
  58. package/esm2015/input/input.component.ngfactory.js +1 -1
  59. package/esm2015/input/input.component.ngsummary.json +1 -1
  60. package/esm2015/input/number-input/number-input.component.ngfactory.js +6 -6
  61. package/esm2015/input/number-input/number-input.component.ngsummary.json +1 -1
  62. package/esm2015/input/search/search.component.ngfactory.js +6 -6
  63. package/esm2015/input/tags-input/tags-input.component.js +5 -4
  64. package/esm2015/input/tags-input/tags-input.component.ngfactory.js +1 -1
  65. package/esm2015/input/tags-input/tags-input.component.ngsummary.json +1 -1
  66. package/esm2015/message/message.component.ngfactory.js +2 -2
  67. package/esm2015/notification/notification.component.ngfactory.js +3 -3
  68. package/esm2015/paginator/paginator.component.js +1 -1
  69. package/esm2015/paginator/paginator.component.ngfactory.js +18 -18
  70. package/esm2015/paginator/paginator.component.scss.ngstyle.js +1 -1
  71. package/esm2015/public-api.ngsummary.json +1 -1
  72. package/esm2015/radio/base-radio.js +6 -2
  73. package/esm2015/radio/base-radio.ngsummary.json +1 -1
  74. package/esm2015/radio/radio-button/radio-button.component.ngfactory.js +3 -3
  75. package/esm2015/radio/radio-button/radio-button.component.ngsummary.json +1 -1
  76. package/esm2015/radio/radio-group/radio-group.component.ngfactory.js +1 -1
  77. package/esm2015/radio/radio-group/radio-group.component.ngsummary.json +1 -1
  78. package/esm2015/radio/radio.component.ngfactory.js +1 -1
  79. package/esm2015/radio/radio.component.ngsummary.json +1 -1
  80. package/esm2015/select/multi-select/multi-select.component.js +6 -5
  81. package/esm2015/select/multi-select/multi-select.component.ngfactory.js +7 -7
  82. package/esm2015/select/multi-select/multi-select.component.ngsummary.json +1 -1
  83. package/esm2015/select/option/option.component.js +6 -2
  84. package/esm2015/select/option/option.component.ngfactory.js +3 -3
  85. package/esm2015/select/option/option.component.ngsummary.json +1 -1
  86. package/esm2015/select/select.component.js +2 -2
  87. package/esm2015/select/select.component.ngfactory.js +7 -7
  88. package/esm2015/select/select.component.ngsummary.json +1 -1
  89. package/esm2015/steps/steps.component.ngfactory.js +3 -3
  90. package/esm2015/switch/switch.component.ngfactory.js +1 -1
  91. package/esm2015/switch/switch.component.ngsummary.json +1 -1
  92. package/esm2015/table/table-cell.component.ngfactory.js +2 -2
  93. package/esm2015/tabs/tab-group.component.ngfactory.js +3 -3
  94. package/esm2015/tabs/tab-header.component.ngfactory.js +3 -3
  95. package/esm2015/tag/tag.component.ngfactory.js +3 -3
  96. package/esm2015/theme/public-api.js +2 -2
  97. package/esm2015/theme/public-api.ngsummary.json +1 -1
  98. package/esm2015/theme/theme-picker.pipe.js +36 -0
  99. package/esm2015/theme/{theme.pipe.ngsummary.json → theme-picker.pipe.ngsummary.json} +1 -1
  100. package/esm2015/theme/theme.module.js +2 -2
  101. package/esm2015/theme/theme.module.ngfactory.js +1 -1
  102. package/esm2015/theme/theme.module.ngsummary.json +1 -1
  103. package/esm2015/theme/theme.types.js +1 -1
  104. package/esm2015/time-picker/component.ngfactory.js +8 -8
  105. package/esm2015/time-picker/component.ngsummary.json +1 -1
  106. package/esm2015/time-picker/panel/panel.component.js +5 -4
  107. package/esm2015/time-picker/panel/panel.component.ngfactory.js +5 -5
  108. package/esm2015/time-picker/panel/panel.component.ngsummary.json +1 -1
  109. package/esm2015/tree-select/tree-node/tree-node.component.ngfactory.js +4 -4
  110. package/esm2015/tree-select/tree-select.component.ngfactory.js +5 -5
  111. package/esm2015/tree-select/tree-select.component.ngsummary.json +1 -1
  112. package/esm2015/utils/e2e-attribute-binding.directive.js +34 -0
  113. package/esm2015/utils/e2e-attribute-binding.directive.ngsummary.json +1 -0
  114. package/esm2015/utils/fn.js +10 -1
  115. package/esm2015/utils/fn.ngsummary.json +1 -1
  116. package/esm2015/utils/index.js +2 -1
  117. package/esm2015/utils/index.ngsummary.json +1 -1
  118. package/fesm2015/alauda-ui.js +109 -28
  119. package/fesm2015/alauda-ui.js.map +1 -1
  120. package/form/common-form.d.ts +4 -2
  121. package/input/input.component.d.ts +1 -0
  122. package/input/tags-input/tags-input.component.d.ts +1 -1
  123. package/package.json +1 -1
  124. package/radio/base-radio.d.ts +1 -0
  125. package/select/multi-select/multi-select.component.d.ts +1 -1
  126. package/select/option/option.component.d.ts +1 -0
  127. package/theme/public-api.d.ts +1 -1
  128. package/theme/{theme.pipe.d.ts → theme-picker.pipe.d.ts} +0 -0
  129. package/theme/theme.types.d.ts +1 -1
  130. package/time-picker/panel/panel.component.d.ts +1 -1
  131. package/utils/e2e-attribute-binding.directive.d.ts +7 -0
  132. package/utils/fn.d.ts +1 -0
  133. package/utils/index.d.ts +1 -0
  134. package/esm2015/theme/theme.pipe.js +0 -33
@@ -106,6 +106,15 @@
106
106
  var last = function (values) { return values === null || values === void 0 ? void 0 : values[values.length - 1]; };
107
107
  var isTemplateRef = function (label) { return label instanceof i0.TemplateRef; };
108
108
  var handlePixel = function (value) { return Number.isNaN(+value) ? value : value + 'px'; };
109
+ var simplifyStringToTestId = function (input) {
110
+ if (!input)
111
+ return '';
112
+ return input
113
+ .replaceAll('\r', '')
114
+ .replaceAll('\n', '')
115
+ .replaceAll('\\s', '')
116
+ .replaceAll(' ', '');
117
+ };
109
118
 
110
119
  /*! *****************************************************************************
111
120
  Copyright (c) Microsoft Corporation.
@@ -481,6 +490,39 @@
481
490
  return queryList.changes.pipe(operators.startWith(queryList), operators.map(function (list) { return !!list.length; }), operators.publishReplay(1), operators.refCount());
482
491
  }
483
492
 
493
+ var simplifyString = function (str) { return str
494
+ .replaceAll('\r', '')
495
+ .replaceAll('\n', '')
496
+ .replaceAll('\\s', '')
497
+ .replaceAll(' ', ''); };
498
+ var ɵ0 = simplifyString;
499
+ var E2eAttributeBindingDirective = /** @class */ (function () {
500
+ function E2eAttributeBindingDirective(el) {
501
+ this.el = el;
502
+ }
503
+ E2eAttributeBindingDirective.prototype.ngAfterViewInit = function () {
504
+ this.setId();
505
+ };
506
+ E2eAttributeBindingDirective.prototype.setId = function () {
507
+ var currentAttr = simplifyString(this.el.nativeElement.getAttribute('data-test') ||
508
+ simplifyString(this.el.nativeElement.nodeName +
509
+ '/' +
510
+ this.el.nativeElement.textContent));
511
+ if (currentAttr !== this.el.nativeElement.getAttribute('data-test')) {
512
+ this.el.nativeElement.dataset.test = currentAttr;
513
+ }
514
+ };
515
+ return E2eAttributeBindingDirective;
516
+ }());
517
+ E2eAttributeBindingDirective.decorators = [
518
+ { type: i0.Directive, args: [{
519
+ selector: '[click]',
520
+ },] }
521
+ ];
522
+ E2eAttributeBindingDirective.ctorParameters = function () { return [
523
+ { type: i0.ElementRef }
524
+ ]; };
525
+
484
526
  var ThemeService = /** @class */ (function () {
485
527
  function ThemeService() {
486
528
  var _this = this;
@@ -547,6 +589,9 @@
547
589
  if (v instanceof Function) {
548
590
  return v(this.currentTheme);
549
591
  }
592
+ if (Array.isArray(v)) {
593
+ return v[this.currentTheme === 'light' ? 0 : 1];
594
+ }
550
595
  return v[this.currentTheme];
551
596
  };
552
597
  ThemePickerPipe.prototype.ngOnDestroy = function () {
@@ -683,7 +728,7 @@
683
728
  IconComponent.decorators = [
684
729
  { type: i0.Component, args: [{
685
730
  selector: 'aui-icon',
686
- template: "<svg\n *ngIf=\"icon === 'spinner'; else icons\"\n [attr.class]=\"getClass('aui-icon-spinner')\"\n [style.fill]=\"color\"\n [style.width]=\"getWidth()\"\n [style.height]=\"getHeight()\"\n viewBox=\"0 0 200 200\"\n>\n <defs>\n <linearGradient\n [attr.id]=\"'right-' + id\"\n gradientUnits=\"userSpaceOnUse\"\n x1=\"150\"\n y1=\"20\"\n x2=\"150\"\n y2=\"180\"\n >\n <stop offset=\"0\" style=\"stop-color: #000\" />\n <stop offset=\"1\" style=\"stop-color: #808080\" />\n </linearGradient>\n <linearGradient\n [attr.id]=\"'left-' + id\"\n gradientUnits=\"userSpaceOnUse\"\n x1=\"50\"\n y1=\"0\"\n x2=\"50\"\n y2=\"180\"\n >\n <stop offset=\"0\" style=\"stop-color: #fff\" />\n <stop offset=\"1\" style=\"stop-color: #808080\" />\n </linearGradient>\n <mask [attr.id]=\"'mask-' + id\">\n <g>\n <path\n [attr.fill]=\"'url(#right-' + id + ')'\"\n d=\"M100,0v20c44.1,0,80,35.9,80,80c0,44.1-35.9,80-80,80v20c55.2,0,100-44.8,100-100S155.2,0,100,0z\"\n />\n <path\n [attr.fill]=\"'url(#left-' + id + ')'\"\n d=\"M20,100c0-44.1,35.9-80,80-80V0C44.8,0,0,44.8,0,100s44.8,100,100,100v-20C55.9,180,20,144.1,20,100z\"\n />\n </g>\n </mask>\n </defs>\n <rect\n x=\"0\"\n y=\"0\"\n width=\"200\"\n height=\"200\"\n [attr.mask]=\"'url(#mask-' + id + ')'\"\n />\n</svg>\n\n<ng-template #icons>\n <svg\n *ngIf=\"\n getIconId(\n icon ? icon : ({ light: light, dark: dark } | auiThemePicker)\n ) as iconId\n \"\n [attr.class]=\"getClass(iconId)\"\n [style.fill]=\"color\"\n [style.width]=\"getWidth()\"\n [style.height]=\"getHeight()\"\n >\n <use [attr.xlink:href]=\"link + '#' + iconId\"></use>\n </svg>\n</ng-template>\n",
731
+ template: "<svg\n *ngIf=\"icon === 'spinner'; else icons\"\n [attr.class]=\"getClass('aui-icon-spinner')\"\n [style.fill]=\"color\"\n [style.width]=\"getWidth()\"\n [style.height]=\"getHeight()\"\n viewBox=\"0 0 200 200\"\n>\n <defs>\n <linearGradient\n [attr.id]=\"'right-' + id\"\n gradientUnits=\"userSpaceOnUse\"\n x1=\"150\"\n y1=\"20\"\n x2=\"150\"\n y2=\"180\"\n >\n <stop offset=\"0\" style=\"stop-color: #000\" />\n <stop offset=\"1\" style=\"stop-color: #808080\" />\n </linearGradient>\n <linearGradient\n [attr.id]=\"'left-' + id\"\n gradientUnits=\"userSpaceOnUse\"\n x1=\"50\"\n y1=\"0\"\n x2=\"50\"\n y2=\"180\"\n >\n <stop offset=\"0\" style=\"stop-color: #fff\" />\n <stop offset=\"1\" style=\"stop-color: #808080\" />\n </linearGradient>\n <mask [attr.id]=\"'mask-' + id\">\n <g>\n <path\n [attr.fill]=\"'url(#right-' + id + ')'\"\n d=\"M100,0v20c44.1,0,80,35.9,80,80c0,44.1-35.9,80-80,80v20c55.2,0,100-44.8,100-100S155.2,0,100,0z\"\n />\n <path\n [attr.fill]=\"'url(#left-' + id + ')'\"\n d=\"M20,100c0-44.1,35.9-80,80-80V0C44.8,0,0,44.8,0,100s44.8,100,100,100v-20C55.9,180,20,144.1,20,100z\"\n />\n </g>\n </mask>\n </defs>\n <rect\n x=\"0\"\n y=\"0\"\n width=\"200\"\n height=\"200\"\n [attr.mask]=\"'url(#mask-' + id + ')'\"\n />\n</svg>\n\n<ng-template #icons>\n <svg\n *ngIf=\"getIconId(icon ? icon : ([light, dark] | auiThemePicker)) as iconId\"\n [attr.class]=\"getClass(iconId)\"\n [style.fill]=\"color\"\n [style.width]=\"getWidth()\"\n [style.height]=\"getHeight()\"\n >\n <use [attr.xlink:href]=\"link + '#' + iconId\"></use>\n </svg>\n</ng-template>\n",
687
732
  encapsulation: i0.ViewEncapsulation.None,
688
733
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
689
734
  preserveWhitespaces: false,
@@ -694,7 +739,7 @@
694
739
  { type: IconRegisterService }
695
740
  ]; };
696
741
  IconComponent.propDecorators = {
697
- icon: [{ type: i0.Input }],
742
+ icon: [{ type: i0.HostBinding, args: ['attr.data-test',] }, { type: i0.Input }],
698
743
  light: [{ type: i0.Input }],
699
744
  dark: [{ type: i0.Input }],
700
745
  link: [{ type: i0.Input }],
@@ -1499,6 +1544,13 @@
1499
1544
  this.renderer.addClass(this.el.nativeElement, prefix + this.size);
1500
1545
  this.focusMonitor.monitor(this.el.nativeElement, false);
1501
1546
  }
1547
+ Object.defineProperty(ButtonComponent.prototype, "testId", {
1548
+ get: function () {
1549
+ return ('AUI-BUTTON/' + simplifyStringToTestId(this.el.nativeElement.textContent));
1550
+ },
1551
+ enumerable: false,
1552
+ configurable: true
1553
+ });
1502
1554
  Object.defineProperty(ButtonComponent.prototype, "type", {
1503
1555
  get: function () {
1504
1556
  return this._type;
@@ -1619,6 +1671,7 @@
1619
1671
  { type: a11y.FocusMonitor }
1620
1672
  ]; };
1621
1673
  ButtonComponent.propDecorators = {
1674
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
1622
1675
  type: [{ type: i0.Input, args: ['aui-button',] }],
1623
1676
  size: [{ type: i0.Input }],
1624
1677
  plain: [{ type: i0.Input }],
@@ -2770,7 +2823,7 @@
2770
2823
  DialogComponent.decorators = [
2771
2824
  { type: i0.Component, args: [{
2772
2825
  selector: 'aui-dialog',
2773
- template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
2826
+ template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\" data-test=\"AUI-DIALOG\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
2774
2827
  encapsulation: i0.ViewEncapsulation.None,
2775
2828
  // tslint:disable-next-line:validate-decorators
2776
2829
  changeDetection: i0.ChangeDetectionStrategy.Default,
@@ -3351,9 +3404,10 @@
3351
3404
  */
3352
3405
  // tslint:disable-next-line:directive-class-suffix
3353
3406
  var CommonFormControl = /** @class */ (function () {
3354
- function CommonFormControl(cdr) {
3407
+ function CommonFormControl(cdr, elementRef) {
3355
3408
  var _this = this;
3356
3409
  this.cdr = cdr;
3410
+ this.elementRef = elementRef;
3357
3411
  this.valueChange = new i0.EventEmitter();
3358
3412
  this.value$$ = new rxjs.ReplaySubject(1);
3359
3413
  this._disabled = false;
@@ -3372,6 +3426,15 @@
3372
3426
  enumerable: false,
3373
3427
  configurable: true
3374
3428
  });
3429
+ Object.defineProperty(CommonFormControl.prototype, "testId", {
3430
+ get: function () {
3431
+ return ('AUI-FORM-CONTROL/' +
3432
+ (this.elementRef.nativeElement.getAttribute('formControlName') ||
3433
+ this.elementRef.nativeElement.getAttribute('name')));
3434
+ },
3435
+ enumerable: false,
3436
+ configurable: true
3437
+ });
3375
3438
  Object.defineProperty(CommonFormControl.prototype, "readonly", {
3376
3439
  get: function () {
3377
3440
  return this.disabled;
@@ -3431,10 +3494,12 @@
3431
3494
  { type: i0.Directive }
3432
3495
  ];
3433
3496
  CommonFormControl.ctorParameters = function () { return [
3434
- { type: i0.ChangeDetectorRef }
3497
+ { type: i0.ChangeDetectorRef },
3498
+ { type: i0.ElementRef }
3435
3499
  ]; };
3436
3500
  CommonFormControl.propDecorators = {
3437
3501
  disabled: [{ type: i0.Input }],
3502
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
3438
3503
  readonly: [{ type: i0.Input }],
3439
3504
  propValue: [{ type: i0.Input, args: ['value',] }],
3440
3505
  valueChange: [{ type: i0.Output }]
@@ -3563,6 +3628,13 @@
3563
3628
  enumerable: false,
3564
3629
  configurable: true
3565
3630
  });
3631
+ Object.defineProperty(BaseRadio.prototype, "_testId", {
3632
+ get: function () {
3633
+ return 'AUI-RADIO/' + this.value;
3634
+ },
3635
+ enumerable: false,
3636
+ configurable: true
3637
+ });
3566
3638
  BaseRadio.prototype.ngOnInit = function () {
3567
3639
  var _this = this;
3568
3640
  this.radioGroup.name$.pipe(operators.takeUntil(this.destroy$$)).subscribe(function (name) {
@@ -3608,6 +3680,7 @@
3608
3680
  BaseRadio.propDecorators = {
3609
3681
  disabled: [{ type: i0.Input }],
3610
3682
  value: [{ type: i0.Input }],
3683
+ _testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
3611
3684
  elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
3612
3685
  };
3613
3686
 
@@ -3831,8 +3904,8 @@
3831
3904
  var uniqueId$2 = 0;
3832
3905
  var CheckboxComponent = /** @class */ (function (_super) {
3833
3906
  __extends(CheckboxComponent, _super);
3834
- function CheckboxComponent(cdr, checkboxGroup, focusMonitor) {
3835
- var _this = _super.call(this, cdr) || this;
3907
+ function CheckboxComponent(cdr, checkboxGroup, focusMonitor, elementRef) {
3908
+ var _this = _super.call(this, cdr, elementRef) || this;
3836
3909
  _this.focusMonitor = focusMonitor;
3837
3910
  _this.id = "aui-checkbox-" + uniqueId$2++;
3838
3911
  _this.name = '';
@@ -3928,12 +4001,13 @@
3928
4001
  CheckboxComponent.ctorParameters = function () { return [
3929
4002
  { type: i0.ChangeDetectorRef },
3930
4003
  { type: CheckboxGroupComponent, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [i0.forwardRef(function () { return CheckboxGroupComponent; }),] }] },
3931
- { type: a11y.FocusMonitor }
4004
+ { type: a11y.FocusMonitor },
4005
+ { type: i0.ElementRef }
3932
4006
  ]; };
3933
4007
  CheckboxComponent.propDecorators = {
3934
4008
  name: [{ type: i0.Input }],
3935
4009
  type: [{ type: i0.Input }],
3936
- label: [{ type: i0.Input }],
4010
+ label: [{ type: i0.HostBinding, args: ['attr.data-test',] }, { type: i0.Input }],
3937
4011
  indeterminate: [{ type: i0.Input }],
3938
4012
  elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
3939
4013
  };
@@ -3966,6 +4040,16 @@
3966
4040
  this.renderer.addClass(this.elementRef.nativeElement, 'aui-input');
3967
4041
  this.renderer.addClass(this.elementRef.nativeElement, 'aui-input--' + this.size);
3968
4042
  }
4043
+ Object.defineProperty(InputComponent.prototype, "testId", {
4044
+ get: function () {
4045
+ return ('AUI-INPUT/' +
4046
+ (this.elementRef.nativeElement.getAttribute('formcontrolname') ||
4047
+ this.elementRef.nativeElement.getAttribute('name') ||
4048
+ ''));
4049
+ },
4050
+ enumerable: false,
4051
+ configurable: true
4052
+ });
3969
4053
  Object.defineProperty(InputComponent.prototype, "size", {
3970
4054
  get: function () {
3971
4055
  return this._size;
@@ -4021,6 +4105,7 @@
4021
4105
  { type: i0.Renderer2 }
4022
4106
  ]; };
4023
4107
  InputComponent.propDecorators = {
4108
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
4024
4109
  size: [{ type: i0.Input }],
4025
4110
  disabled: [{ type: i0.Input }]
4026
4111
  };
@@ -4223,8 +4308,8 @@
4223
4308
  var INPUT_ERROR_KEY = 'input_data_error';
4224
4309
  var TagsInputComponent = /** @class */ (function (_super) {
4225
4310
  __extends(TagsInputComponent, _super);
4226
- function TagsInputComponent(cdr, fb, renderer, injector) {
4227
- var _this = _super.call(this, cdr) || this;
4311
+ function TagsInputComponent(cdr, fb, renderer, injector, elementRef) {
4312
+ var _this = _super.call(this, cdr, elementRef) || this;
4228
4313
  _this.fb = fb;
4229
4314
  _this.renderer = renderer;
4230
4315
  _this.injector = injector;
@@ -4483,7 +4568,8 @@
4483
4568
  { type: i0.ChangeDetectorRef },
4484
4569
  { type: forms.FormBuilder },
4485
4570
  { type: i0.Renderer2 },
4486
- { type: i0.Injector }
4571
+ { type: i0.Injector },
4572
+ { type: i0.ElementRef }
4487
4573
  ]; };
4488
4574
  TagsInputComponent.propDecorators = {
4489
4575
  placeholder: [{ type: i0.Input }],
@@ -5063,6 +5149,14 @@
5063
5149
  _this.trigger = exports.TooltipTrigger.Click;
5064
5150
  return _this;
5065
5151
  }
5152
+ Object.defineProperty(DropdownDirective.prototype, "testId", {
5153
+ get: function () {
5154
+ return ('AUI-DROPDOWN/' +
5155
+ simplifyStringToTestId(this.elRef.nativeElement.textContent));
5156
+ },
5157
+ enumerable: false,
5158
+ configurable: true
5159
+ });
5066
5160
  Object.defineProperty(DropdownDirective.prototype, "menu", {
5067
5161
  get: function () {
5068
5162
  return this._menu;
@@ -5120,6 +5214,7 @@
5120
5214
  { type: i0.NgZone }
5121
5215
  ]; };
5122
5216
  DropdownDirective.propDecorators = {
5217
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
5123
5218
  menu: [{ type: i0.Input, args: ['auiDropdown',] }],
5124
5219
  lazyContentContext: [{ type: i0.Input, args: ['auiDropdownContext',] }],
5125
5220
  hideOnClick: [{ type: i0.Input, args: ['auiDropdownHideOnClick',] }],
@@ -5296,7 +5391,7 @@
5296
5391
  DropdownButtonComponent.decorators = [
5297
5392
  { type: i0.Component, args: [{
5298
5393
  selector: 'aui-dropdown-button',
5299
- template: "<div [class]=\"bem.block(size)\">\n <button\n type=\"button\"\n class=\"aui-dropdown-button__content\"\n [aui-button]=\"type\"\n [plain]=\"plain\"\n [size]=\"size\"\n [loading]=\"loading\"\n [disabled]=\"disabled\"\n (click)=\"buttonClick.emit($event)\"\n >\n <ng-content></ng-content>\n </button>\n <button\n type=\"button\"\n class=\"aui-dropdown-button__trigger\"\n [aui-button]=\"type\"\n [plain]=\"plain\"\n [size]=\"size\"\n [auiDropdown]=\"menu\"\n [disabled]=\"disableTrigger\"\n >\n <aui-icon icon=\"angle_down\"></aui-icon>\n </button>\n</div>\n",
5394
+ template: "<div [class]=\"bem.block(size)\">\n <button\n type=\"button\"\n class=\"aui-dropdown-button__content\"\n [aui-button]=\"type\"\n [plain]=\"plain\"\n [size]=\"size\"\n [loading]=\"loading\"\n [disabled]=\"disabled\"\n (click)=\"buttonClick.emit($event)\"\n data-test=\"DROPDOWN-BUTTON/\"\n >\n <ng-content></ng-content>\n </button>\n <button\n type=\"button\"\n class=\"aui-dropdown-button__trigger\"\n [aui-button]=\"type\"\n [plain]=\"plain\"\n [size]=\"size\"\n [auiDropdown]=\"menu\"\n [disabled]=\"disableTrigger\"\n >\n <aui-icon icon=\"angle_down\"></aui-icon>\n </button>\n</div>\n",
5300
5395
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5301
5396
  encapsulation: i0.ViewEncapsulation.None,
5302
5397
  preserveWhitespaces: false,
@@ -5502,6 +5597,13 @@
5502
5597
  enumerable: false,
5503
5598
  configurable: true
5504
5599
  });
5600
+ Object.defineProperty(OptionComponent.prototype, "testId", {
5601
+ get: function () {
5602
+ return 'AUI-OPTION/' + (this.label || this.value);
5603
+ },
5604
+ enumerable: false,
5605
+ configurable: true
5606
+ });
5505
5607
  Object.defineProperty(OptionComponent.prototype, "labelContext", {
5506
5608
  get: function () {
5507
5609
  return this._labelContext;
@@ -5569,6 +5671,7 @@
5569
5671
  ]; };
5570
5672
  OptionComponent.propDecorators = {
5571
5673
  label: [{ type: i0.Input }],
5674
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
5572
5675
  labelContext: [{ type: i0.Input }],
5573
5676
  value: [{ type: i0.Input }],
5574
5677
  disabled: [{ type: i0.Input }],
@@ -5932,8 +6035,8 @@
5932
6035
 
5933
6036
  var MultiSelectComponent = /** @class */ (function (_super) {
5934
6037
  __extends(MultiSelectComponent, _super);
5935
- function MultiSelectComponent(cdr, renderer) {
5936
- var _this = _super.call(this, cdr) || this;
6038
+ function MultiSelectComponent(cdr, renderer, elementRef) {
6039
+ var _this = _super.call(this, cdr, elementRef) || this;
5937
6040
  _this.renderer = renderer;
5938
6041
  _this.bem = buildBem('aui-multi-select');
5939
6042
  _this.bemSelectAll = buildBem('aui-option');
@@ -6230,7 +6333,7 @@
6230
6333
  MultiSelectComponent.decorators = [
6231
6334
  { type: i0.Component, args: [{
6232
6335
  selector: 'aui-multi-select',
6233
- template: "<div\n [class]=\"rootClass\"\n #selectRef\n #tooltipRef=\"auiTooltip\"\n [auiTooltip]=\"templateRef\"\n [auiTooltipDisabled]=\"disabled\"\n auiTooltipTrigger=\"click\"\n auiTooltipPosition=\"bottom start\"\n auiTooltipType=\"plain\"\n (auiTooltipShow)=\"onShowOptions()\"\n (auiTooltipHide)=\"onHideOptions()\"\n (mousedown)=\"$event.preventDefault()\"\n [style.max-height]=\"maxHeight\"\n>\n <div class=\"aui-multi-select__suffix\">\n <span class=\"aui-multi-select__icon-container\">\n <aui-icon\n class=\"aui-multi-select__indicator\"\n [icon]=\"loading ? 'spinner' : 'caret_down_s'\"\n ></aui-icon>\n <aui-icon\n class=\"aui-multi-select__clear\"\n icon=\"close_small\"\n (click)=\"clearValue($event)\"\n ></aui-icon>\n </span>\n </div>\n <span\n [hidden]=\"selectedValues.length || inputRef.value.length\"\n [class]=\"bem.element('placeholder')\"\n >\n {{ placeholder }}\n </span>\n <aui-tag\n *ngFor=\"let option of selectedOptions$ | async; trackBy: trackByValue\"\n type=\"info\"\n [round]=\"true\"\n [border]=\"true\"\n [size]=\"tagSize\"\n [closeable]=\"!disabled\"\n (close)=\"removeValue(option.value)\"\n [ngClass]=\"tagClassFn && tagClassFn(option.label, option.value)\"\n >\n <ng-container\n *ngIf=\"isTemplateRef(option.label); else label\"\n [ngTemplateOutlet]=\"option.label\"\n [ngTemplateOutletContext]=\"option.labelContext\"\n ></ng-container>\n <ng-template #label>\n {{ option.label }}\n </ng-template>\n </aui-tag>\n <input\n #inputRef\n autocomplete=\"off\"\n [readonly]=\"inputReadonly\"\n [class]=\"inputClass\"\n (focus)=\"onInputFocus()\"\n (blur)=\"onInputBlur()\"\n (keydown)=\"onKeyDown($event)\"\n (input)=\"onInput($event)\"\n />\n <span #inputValueMirror [class]=\"bem.element('mirror')\">\n {{ inputValue }}\n </span>\n</div>\n\n<ng-template #templateRef>\n <div\n class=\"aui-option-container\"\n [style.minWidth]=\"containerWidth\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <div #optionListRef class=\"aui-option-container__content\">\n <ng-container\n *ngIf=\"\n allowSelectAll &&\n (hasEnabledOptions$ | async) &&\n ((hasVisibleOption$ | async) ||\n (allowCreate && (customCreatedOptions$ | async).length) ||\n (allowCreate && filterString))\n \"\n >\n <div\n class=\"aui-option\"\n [class]=\"bemSelectAll.block(size$ | async)\"\n [class.isDisabled]=\"disabled\"\n [class.isSelected]=\"!!(selectAllStatus$ | async)\"\n [class.isMulti]=\"true\"\n (click)=\"onSelectAllClick()\"\n >\n <i class=\"aui-option__pointer\">\n <aui-icon\n [icon]=\"\n (selectAllStatus$ | async) === 'checked'\n ? 'check_s'\n : 'square_s'\n \"\n [hidden]=\"!(selectAllStatus$ | async)\"\n ></aui-icon>\n </i>\n {{ 'select_all' | auiI18n }}\n </div>\n <hr class=\"divider\" />\n </ng-container>\n <aui-option\n #inputtingOption\n *ngIf=\"allowCreate && filterString && !(hasMatchedOption$ | async)\"\n [value]=\"filterString\"\n >\n {{ filterString }}\n </aui-option>\n <ng-container *ngIf=\"allowCreate\">\n <aui-option\n *ngFor=\"let option of customCreatedOptions$ | async\"\n [label]=\"option.label\"\n [value]=\"option.value\"\n >\n {{ option.label }}\n </aui-option>\n </ng-container>\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"\n !(\n (hasVisibleOption$ | async) ||\n (allowCreate && (customCreatedOptions$ | async).length) ||\n (allowCreate && filterString)\n )\n \"\n class=\"aui-option-container__placeholder\"\n >\n <ng-content select=\"aui-option-placeholder\"></ng-content>\n </div>\n </div>\n</ng-template>\n",
6336
+ template: "<div\n [class]=\"rootClass\"\n #selectRef\n #tooltipRef=\"auiTooltip\"\n [auiTooltip]=\"templateRef\"\n [auiTooltipDisabled]=\"disabled\"\n auiTooltipTrigger=\"click\"\n auiTooltipPosition=\"bottom start\"\n auiTooltipType=\"plain\"\n (auiTooltipShow)=\"onShowOptions()\"\n (auiTooltipHide)=\"onHideOptions()\"\n (mousedown)=\"$event.preventDefault()\"\n [style.max-height]=\"maxHeight\"\n>\n <div class=\"aui-multi-select__suffix\">\n <span class=\"aui-multi-select__icon-container\">\n <aui-icon\n class=\"aui-multi-select__indicator\"\n [icon]=\"loading ? 'spinner' : 'caret_down_s'\"\n ></aui-icon>\n <aui-icon\n class=\"aui-multi-select__clear\"\n icon=\"close_small\"\n (click)=\"clearValue($event)\"\n ></aui-icon>\n </span>\n </div>\n <span\n [hidden]=\"selectedValues.length || inputRef.value.length\"\n [class]=\"bem.element('placeholder')\"\n >\n {{ placeholder }}\n </span>\n <aui-tag\n *ngFor=\"let option of selectedOptions$ | async; trackBy: trackByValue\"\n type=\"info\"\n [round]=\"true\"\n [border]=\"true\"\n [size]=\"tagSize\"\n [closeable]=\"!disabled\"\n (close)=\"removeValue(option.value)\"\n [ngClass]=\"tagClassFn && tagClassFn(option.label, option.value)\"\n >\n <ng-container\n *ngIf=\"isTemplateRef(option.label); else label\"\n [ngTemplateOutlet]=\"option.label\"\n [ngTemplateOutletContext]=\"option.labelContext\"\n ></ng-container>\n <ng-template #label>\n {{ option.label }}\n </ng-template>\n </aui-tag>\n <input\n #inputRef\n autocomplete=\"off\"\n [readonly]=\"inputReadonly\"\n [class]=\"inputClass\"\n (focus)=\"onInputFocus()\"\n (blur)=\"onInputBlur()\"\n (keydown)=\"onKeyDown($event)\"\n (input)=\"onInput($event)\"\n />\n <span #inputValueMirror [class]=\"bem.element('mirror')\">\n {{ inputValue }}\n </span>\n</div>\n\n<ng-template #templateRef>\n <div\n class=\"aui-option-container\"\n [style.minWidth]=\"containerWidth\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <div #optionListRef class=\"aui-option-container__content\">\n <ng-container\n *ngIf=\"\n allowSelectAll &&\n (hasEnabledOptions$ | async) &&\n ((hasVisibleOption$ | async) ||\n (allowCreate && (customCreatedOptions$ | async).length) ||\n (allowCreate && filterString))\n \"\n >\n <div\n class=\"aui-option\"\n [class]=\"bemSelectAll.block(size$ | async)\"\n [class.isDisabled]=\"disabled\"\n [class.isSelected]=\"!!(selectAllStatus$ | async)\"\n [class.isMulti]=\"true\"\n (click)=\"onSelectAllClick()\"\n >\n <i class=\"aui-option__pointer\">\n <aui-icon\n [icon]=\"\n (selectAllStatus$ | async) === 'checked'\n ? 'check_s'\n : 'square_s'\n \"\n [hidden]=\"!(selectAllStatus$ | async)\"\n ></aui-icon>\n </i>\n {{ 'select_all' | auiI18n }}\n </div>\n <hr class=\"divider\" />\n </ng-container>\n <aui-option\n #inputtingOption\n *ngIf=\"allowCreate && filterString && !(hasMatchedOption$ | async)\"\n [value]=\"filterString\"\n >\n {{ filterString }}\n </aui-option>\n <ng-container *ngIf=\"allowCreate\">\n <aui-option\n *ngFor=\"let option of customCreatedOptions$ | async\"\n [label]=\"option.label\"\n [value]=\"option.value\"\n [attr.data-test]=\"'aui-option/' + option.label\"\n >AUI-FORM-CONTROL/\n {{ option.label }}\n </aui-option>\n </ng-container>\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"\n !(\n (hasVisibleOption$ | async) ||\n (allowCreate && (customCreatedOptions$ | async).length) ||\n (allowCreate && filterString)\n )\n \"\n class=\"aui-option-container__placeholder\"\n >\n <ng-content select=\"aui-option-placeholder\"></ng-content>\n </div>\n </div>\n</ng-template>\n",
6234
6337
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6235
6338
  encapsulation: i0.ViewEncapsulation.None,
6236
6339
  preserveWhitespaces: false,
@@ -6250,7 +6353,8 @@
6250
6353
  ];
6251
6354
  MultiSelectComponent.ctorParameters = function () { return [
6252
6355
  { type: i0.ChangeDetectorRef },
6253
- { type: i0.Renderer2 }
6356
+ { type: i0.Renderer2 },
6357
+ { type: i0.ElementRef }
6254
6358
  ]; };
6255
6359
  MultiSelectComponent.propDecorators = {
6256
6360
  tagClassFn: [{ type: i0.Input }],
@@ -6387,7 +6491,7 @@
6387
6491
  SelectComponent.decorators = [
6388
6492
  { type: i0.Component, args: [{
6389
6493
  selector: 'aui-select',
6390
- template: "<div\n [class]=\"rootClass\"\n [class.isDisabled]=\"disabled\"\n [class.isClearable]=\"isClearable(hasSelected$ | async)\"\n [class.isFilterable]=\"filterable\"\n [class.isOpened]=\"opened\"\n #selectRef\n #tooltipRef=\"auiTooltip\"\n [auiTooltip]=\"templateRef\"\n [auiTooltipDisabled]=\"disabled\"\n auiTooltipTrigger=\"click\"\n auiTooltipPosition=\"bottom start\"\n auiTooltipType=\"plain\"\n (auiTooltipShow)=\"onShowOptions()\"\n (auiTooltipHide)=\"onHideOptions()\"\n>\n <aui-input-group>\n <input\n #inputRef\n class=\"aui-select__input\"\n autocomplete=\"off\"\n aui-input\n [disabled]=\"disabled\"\n [size]=\"size\"\n [readonly]=\"inputReadonly\"\n [placeholder]=\"!(hasSelected$ | async) ? placeholder : ''\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeyDown($event)\"\n (blur)=\"closeOption()\"\n />\n <span auiInputSuffix class=\"aui-select__icon-container\">\n <aui-icon\n class=\"aui-select__indicator\"\n [icon]=\"loading ? 'spinner' : 'caret_down_s'\"\n ></aui-icon>\n <aui-icon\n class=\"aui-select__clear\"\n icon=\"close_small\"\n (click)=\"clearValue($event)\"\n ></aui-icon>\n </span>\n <div\n *ngIf=\"(selectedOption$ | async) && !filterString\"\n class=\"aui-select__label-container aui-input aui-input--{{ size }}\"\n [attr.disabled]=\"disabled ? true : null\"\n >\n <div class=\"aui-select__label\">\n <ng-container *ngIf=\"(selectedOption$ | async).label as optionLabel\">\n <ng-container\n *ngIf=\"isTemplateRef(optionLabel); else label\"\n [ngTemplateOutlet]=\"optionLabel\"\n [ngTemplateOutletContext]=\"(selectedOption$ | async).labelContext\"\n ></ng-container>\n <ng-template #label>{{ optionLabel }}</ng-template>\n </ng-container>\n </div>\n </div>\n </aui-input-group>\n</div>\n\n<ng-template #templateRef>\n <div\n [class]=\"containerClass\"\n [style.minWidth]=\"containerWidth\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <div #optionListRef class=\"aui-option-container__content\">\n <aui-option\n #inputtingOption\n *ngIf=\"allowCreate && filterString && !(hasMatchedOption$ | async)\"\n [value]=\"filterString\"\n >\n {{ filterString }}\n </aui-option>\n <ng-container *ngIf=\"allowCreate\">\n <aui-option\n *ngFor=\"let option of customCreatedOptions$ | async\"\n [label]=\"option.label\"\n [value]=\"option.value\"\n >\n {{ option.label }}\n </aui-option>\n </ng-container>\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"\n !(\n (hasVisibleOption$ | async) ||\n (allowCreate && (customCreatedOptions$ | async).length) ||\n (allowCreate && filterString)\n )\n \"\n class=\"aui-option-container__placeholder\"\n >\n <ng-content select=\"aui-option-placeholder\"></ng-content>\n </div>\n </div>\n</ng-template>\n",
6494
+ template: "<div\n [class]=\"rootClass\"\n [class.isDisabled]=\"disabled\"\n [class.isClearable]=\"isClearable(hasSelected$ | async)\"\n [class.isFilterable]=\"filterable\"\n [class.isOpened]=\"opened\"\n #selectRef\n #tooltipRef=\"auiTooltip\"\n [auiTooltip]=\"templateRef\"\n [auiTooltipDisabled]=\"disabled\"\n auiTooltipTrigger=\"click\"\n auiTooltipPosition=\"bottom start\"\n auiTooltipType=\"plain\"\n (auiTooltipShow)=\"onShowOptions()\"\n (auiTooltipHide)=\"onHideOptions()\"\n>\n <aui-input-group>\n <input\n #inputRef\n class=\"aui-select__input\"\n autocomplete=\"off\"\n aui-input\n [disabled]=\"disabled\"\n [size]=\"size\"\n [readonly]=\"inputReadonly\"\n [placeholder]=\"!(hasSelected$ | async) ? placeholder : ''\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeyDown($event)\"\n (blur)=\"closeOption()\"\n />\n <span auiInputSuffix class=\"aui-select__icon-container\">\n <aui-icon\n class=\"aui-select__indicator\"\n [icon]=\"loading ? 'spinner' : 'caret_down_s'\"\n ></aui-icon>\n <aui-icon\n class=\"aui-select__clear\"\n icon=\"close_small\"\n (click)=\"clearValue($event)\"\n ></aui-icon>\n </span>\n <div\n *ngIf=\"(selectedOption$ | async) && !filterString\"\n class=\"aui-select__label-container aui-input aui-input--{{ size }}\"\n [attr.disabled]=\"disabled ? true : null\"\n >\n <div class=\"aui-select__label\">\n <ng-container *ngIf=\"(selectedOption$ | async).label as optionLabel\">\n <ng-container\n *ngIf=\"isTemplateRef(optionLabel); else label\"\n [ngTemplateOutlet]=\"optionLabel\"\n [ngTemplateOutletContext]=\"(selectedOption$ | async).labelContext\"\n ></ng-container>\n <ng-template #label>{{ optionLabel }}</ng-template>\n </ng-container>\n </div>\n </div>\n </aui-input-group>\n</div>\n\n<ng-template #templateRef>\n <div\n [class]=\"containerClass\"\n [style.minWidth]=\"containerWidth\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <div #optionListRef class=\"aui-option-container__content\">\n <aui-option\n #inputtingOption\n *ngIf=\"allowCreate && filterString && !(hasMatchedOption$ | async)\"\n [value]=\"filterString\"\n >\n {{ filterString }}\n </aui-option>\n <ng-container *ngIf=\"allowCreate\">\n <aui-option\n *ngFor=\"let option of customCreatedOptions$ | async\"\n [label]=\"option.label\"\n [value]=\"option.value\"\n [attr.data-test]=\"'aui-option/' + option.label\"\n >\n {{ option.label }}\n </aui-option>\n </ng-container>\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"\n !(\n (hasVisibleOption$ | async) ||\n (allowCreate && (customCreatedOptions$ | async).length) ||\n (allowCreate && filterString)\n )\n \"\n class=\"aui-option-container__placeholder\"\n >\n <ng-content select=\"aui-option-placeholder\"></ng-content>\n </div>\n </div>\n</ng-template>\n",
6391
6495
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6392
6496
  encapsulation: i0.ViewEncapsulation.None,
6393
6497
  preserveWhitespaces: false,
@@ -6669,7 +6773,7 @@
6669
6773
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6670
6774
  encapsulation: i0.ViewEncapsulation.None,
6671
6775
  preserveWhitespaces: false,
6672
- styles: [".aui-paginator{display:inline-flex;align-items:center;color:rgb(var(--aui-color-n-1))}.aui-paginator .aui-button{width:var(--aui-line-height-xl);height:var(--aui-line-height-xl);border:unset;background-color:transparent}.aui-paginator .aui-button .aui-button__content{padding:unset}.aui-paginator__fast-navigator[hidden]{display:none}.aui-paginator__fast-navigator .aui-icon{margin:0}.aui-paginator__fast-navigator:hover aui-icon:first-child,.aui-paginator__fast-navigator aui-icon:last-child{display:none}.aui-paginator__fast-navigator:hover aui-icon:last-child{display:inline}.aui-paginator__sizes{display:inline-flex;align-items:center}.aui-paginator__sizes .aui-select{width:80px;margin-right:var(--aui-spacing-s)}.aui-paginator__jumper .aui-input{width:80px}.aui-paginator__jumper span+input{margin-left:var(--aui-spacing-m)}.aui-paginator__jumper input+span{margin-left:var(--aui-spacing-s)}.aui-paginator__total{font-size:var(--aui-font-size-m)}.aui-paginator__navigator.aui-button{background-color:rgb(var(--aui-color-n-8))}.aui-paginator__navigator.aui-button aui-icon{font-size:var(--aui-font-size-l)}.aui-paginator__navigator.aui-button:hover{background-color:rgb(var(--aui-color-p-6))}.aui-paginator__pager{border:1px solid rgb(var(--aui-color-n-7));padding:3px;border-radius:var(--aui-border-radius-m);background-color:rgb(var(--aui-color-main-bg))}.aui-paginator__layout{display:inline-block}.aui-paginator__layout+.aui-paginator__layout{margin-left:var(--aui-spacing-l)}"]
6776
+ styles: [".aui-paginator{display:inline-flex;align-items:center;color:rgb(var(--aui-color-n-1))}.aui-paginator .aui-button{width:var(--aui-line-height-xl);height:var(--aui-line-height-xl);border:unset}.aui-paginator .aui-button--default{background-color:transparent}.aui-paginator .aui-button .aui-button__content{padding:unset}.aui-paginator__fast-navigator[hidden]{display:none}.aui-paginator__fast-navigator .aui-icon{margin:0}.aui-paginator__fast-navigator:hover aui-icon:first-child,.aui-paginator__fast-navigator aui-icon:last-child{display:none}.aui-paginator__fast-navigator:hover aui-icon:last-child{display:inline}.aui-paginator__sizes{display:inline-flex;align-items:center}.aui-paginator__sizes .aui-select{width:80px;margin-right:var(--aui-spacing-s)}.aui-paginator__jumper .aui-input{width:80px}.aui-paginator__jumper span+input{margin-left:var(--aui-spacing-m)}.aui-paginator__jumper input+span{margin-left:var(--aui-spacing-s)}.aui-paginator__total{font-size:var(--aui-font-size-m)}.aui-paginator__navigator.aui-button{background-color:rgb(var(--aui-color-n-8))}.aui-paginator__navigator.aui-button aui-icon{font-size:var(--aui-font-size-l)}.aui-paginator__navigator.aui-button:hover{background-color:rgb(var(--aui-color-p-6))}.aui-paginator__pager{border:1px solid rgb(var(--aui-color-n-7));padding:3px;border-radius:var(--aui-border-radius-m);background-color:rgb(var(--aui-color-main-bg))}.aui-paginator__layout{display:inline-block}.aui-paginator__layout+.aui-paginator__layout{margin-left:var(--aui-spacing-l)}"]
6673
6777
  },] }
6674
6778
  ];
6675
6779
  PaginatorComponent.ctorParameters = function () { return [
@@ -9312,6 +9416,7 @@
9312
9416
  AutocompletePlaceholderComponent,
9313
9417
  SuggestionGroupComponent,
9314
9418
  SuggestionGroupTitleDirective,
9419
+ E2eAttributeBindingDirective,
9315
9420
  ],
9316
9421
  exports: [
9317
9422
  AutoCompleteDirective,
@@ -9947,7 +10052,7 @@
9947
10052
  table: [{ type: i0.ContentChild, args: [TableComponent, { static: false },] }]
9948
10053
  };
9949
10054
 
9950
- var ɵ0 = scrolling._fixedSizeVirtualScrollStrategyFactory;
10055
+ var ɵ0$1 = scrolling._fixedSizeVirtualScrollStrategyFactory;
9951
10056
  var FixedSizeVirtualScrollDirective = /** @class */ (function (_super) {
9952
10057
  __extends(FixedSizeVirtualScrollDirective, _super);
9953
10058
  function FixedSizeVirtualScrollDirective() {
@@ -9962,7 +10067,7 @@
9962
10067
  providers: [
9963
10068
  {
9964
10069
  provide: scrolling.VIRTUAL_SCROLL_STRATEGY,
9965
- useFactory: ɵ0,
10070
+ useFactory: ɵ0$1,
9966
10071
  deps: [i0.forwardRef(function () { return FixedSizeVirtualScrollDirective; })],
9967
10072
  },
9968
10073
  ],
@@ -10829,8 +10934,8 @@
10829
10934
  tooltipRef: [{ type: i0.ViewChild, args: ['tooltipRef',] }]
10830
10935
  };
10831
10936
 
10832
- var ɵ0$1 = function (_, index) { return index; };
10833
- var HOUR_ITEMS = Array.from({ length: 24 }).map(ɵ0$1);
10937
+ var ɵ0$2 = function (_, index) { return index; };
10938
+ var HOUR_ITEMS = Array.from({ length: 24 }).map(ɵ0$2);
10834
10939
  var ɵ1 = function (_, index) { return index; };
10835
10940
  var MINUTE_ITEMS = Array.from({ length: 60 }).map(ɵ1);
10836
10941
  var ɵ2 = function (_, index) { return index; };
@@ -10841,8 +10946,8 @@
10841
10946
  var bem$3 = buildBem('aui-time-picker-panel');
10842
10947
  var TimePickerPanelComponent = /** @class */ (function (_super) {
10843
10948
  __extends(TimePickerPanelComponent, _super);
10844
- function TimePickerPanelComponent(cdr) {
10845
- var _this = _super.call(this, cdr) || this;
10949
+ function TimePickerPanelComponent(cdr, elementRef) {
10950
+ var _this = _super.call(this, cdr, elementRef) || this;
10846
10951
  _this.cdr = cdr;
10847
10952
  _this.hourStep = 1;
10848
10953
  _this.minuteStep = 1;
@@ -11038,7 +11143,8 @@
11038
11143
  },] }
11039
11144
  ];
11040
11145
  TimePickerPanelComponent.ctorParameters = function () { return [
11041
- { type: i0.ChangeDetectorRef }
11146
+ { type: i0.ChangeDetectorRef },
11147
+ { type: i0.ElementRef }
11042
11148
  ]; };
11043
11149
  TimePickerPanelComponent.propDecorators = {
11044
11150
  format: [{ type: i0.Input }],
@@ -12549,6 +12655,7 @@
12549
12655
  exports.DropdownButtonComponent = DropdownButtonComponent;
12550
12656
  exports.DropdownDirective = DropdownDirective;
12551
12657
  exports.DropdownModule = DropdownModule;
12658
+ exports.E2eAttributeBindingDirective = E2eAttributeBindingDirective;
12552
12659
  exports.FixedSizeTableVirtualScrollDirective = FixedSizeTableVirtualScrollDirective;
12553
12660
  exports.FixedSizeTableVirtualScrollStrategy = FixedSizeTableVirtualScrollStrategy;
12554
12661
  exports.FixedSizeVirtualScrollDirective = FixedSizeVirtualScrollDirective;
@@ -12725,6 +12832,7 @@
12725
12832
  exports.observeMutationOn = observeMutationOn;
12726
12833
  exports.observeResizeOn = observeResizeOn;
12727
12834
  exports.scrollIntoView = scrollIntoView;
12835
+ exports.simplifyStringToTestId = simplifyStringToTestId;
12728
12836
  exports.sleep = sleep;
12729
12837
  exports.watchContentExist = watchContentExist;
12730
12838
  exports.zh = zh;
@@ -12753,9 +12861,10 @@
12753
12861
  exports.ɵt = MessageAnimations;
12754
12862
  exports.ɵu = BaseMessage;
12755
12863
  exports.ɵv = NotificationWrapperComponent;
12756
- exports.ɵw = VirtualForOfDirective;
12757
- exports.ɵx = _isNumberValue;
12758
- exports.ɵy = DatePickerComponent;
12864
+ exports.ɵw = E2eAttributeBindingDirective;
12865
+ exports.ɵx = VirtualForOfDirective;
12866
+ exports.ɵy = _isNumberValue;
12867
+ exports.ɵz = DatePickerComponent;
12759
12868
 
12760
12869
  Object.defineProperty(exports, '__esModule', { value: true });
12761
12870