@alauda/ui 6.2.1-beta.0 → 6.2.1-beta.4

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 (100) hide show
  1. package/alauda-ui.metadata.json +1 -1
  2. package/bundles/alauda-ui.umd.js +70 -20
  3. package/bundles/alauda-ui.umd.js.map +1 -1
  4. package/bundles/alauda-ui.umd.min.js +1 -1
  5. package/bundles/alauda-ui.umd.min.js.map +1 -1
  6. package/button/button.component.d.ts +1 -0
  7. package/checkbox/checkbox.component.d.ts +1 -1
  8. package/esm2015/accordion/accordion-item/accordion-item.component.ngfactory.js +2 -2
  9. package/esm2015/back-top/back-top.component.ngfactory.js +2 -2
  10. package/esm2015/breadcrumb/breadcrumb-item.component.ngfactory.js +2 -2
  11. package/esm2015/button/button.component.js +6 -2
  12. package/esm2015/button/button.component.ngfactory.js +3 -3
  13. package/esm2015/button/button.component.ngsummary.json +1 -1
  14. package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngfactory.js +1 -1
  15. package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngsummary.json +1 -1
  16. package/esm2015/checkbox/checkbox.component.js +7 -6
  17. package/esm2015/checkbox/checkbox.component.ngfactory.js +3 -3
  18. package/esm2015/checkbox/checkbox.component.ngsummary.json +1 -1
  19. package/esm2015/color-picker/color-picker.component.ngfactory.js +1 -1
  20. package/esm2015/color-picker/color-picker.component.ngsummary.json +1 -1
  21. package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +6 -6
  22. package/esm2015/date-picker/calendar/date-picker-panel/component.ngsummary.json +1 -1
  23. package/esm2015/date-picker/calendar/footer/component.ngfactory.js +5 -5
  24. package/esm2015/date-picker/calendar/header/component.ngfactory.js +9 -9
  25. package/esm2015/date-picker/calendar/panel/picker-panel.ngfactory.js +3 -3
  26. package/esm2015/date-picker/calendar/range-picker-panel/component.ngfactory.js +5 -5
  27. package/esm2015/date-picker/calendar/range-picker-panel/component.ngsummary.json +1 -1
  28. package/esm2015/date-picker/date-picker/date-picker.component.ngfactory.js +4 -4
  29. package/esm2015/date-picker/date-picker/date-picker.component.ngsummary.json +1 -1
  30. package/esm2015/date-picker/range-picker/range-picker.component.ngfactory.js +4 -4
  31. package/esm2015/date-picker/range-picker/range-picker.component.ngsummary.json +1 -1
  32. package/esm2015/date-picker/trigger/trigger.component.ngfactory.js +9 -9
  33. package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngfactory.js +5 -5
  34. package/esm2015/dialog/dialog-content/dialog-header.component.ngfactory.js +2 -2
  35. package/esm2015/dialog/dialog.component.js +2 -2
  36. package/esm2015/dialog/dialog.component.ngfactory.js +2 -2
  37. package/esm2015/drawer/component/drawer.component.ngfactory.js +2 -2
  38. package/esm2015/dropdown/dropdown-button/dropdown-button.component.js +2 -2
  39. package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngfactory.js +3 -3
  40. package/esm2015/dropdown/submenu/submenu.component.ngfactory.js +2 -2
  41. package/esm2015/form/common-form.js +12 -4
  42. package/esm2015/form/common-form.ngsummary.json +1 -1
  43. package/esm2015/icon/icon.component.js +3 -3
  44. package/esm2015/icon/icon.component.ngfactory.js +1 -1
  45. package/esm2015/icon/icon.component.ngsummary.json +1 -1
  46. package/esm2015/inline-alert/inline-alert.component.ngfactory.js +4 -4
  47. package/esm2015/input/input.component.js +8 -2
  48. package/esm2015/input/input.component.ngfactory.js +1 -1
  49. package/esm2015/input/input.component.ngsummary.json +1 -1
  50. package/esm2015/input/number-input/number-input.component.ngfactory.js +6 -6
  51. package/esm2015/input/number-input/number-input.component.ngsummary.json +1 -1
  52. package/esm2015/input/search/search.component.ngfactory.js +6 -6
  53. package/esm2015/input/tags-input/tags-input.component.js +5 -4
  54. package/esm2015/input/tags-input/tags-input.component.ngfactory.js +1 -1
  55. package/esm2015/input/tags-input/tags-input.component.ngsummary.json +1 -1
  56. package/esm2015/message/message.component.ngfactory.js +2 -2
  57. package/esm2015/notification/notification.component.ngfactory.js +3 -3
  58. package/esm2015/paginator/paginator.component.ngfactory.js +18 -18
  59. package/esm2015/radio/base-radio.js +6 -2
  60. package/esm2015/radio/base-radio.ngsummary.json +1 -1
  61. package/esm2015/radio/radio-button/radio-button.component.ngfactory.js +3 -3
  62. package/esm2015/radio/radio-button/radio-button.component.ngsummary.json +1 -1
  63. package/esm2015/radio/radio-group/radio-group.component.ngfactory.js +1 -1
  64. package/esm2015/radio/radio-group/radio-group.component.ngsummary.json +1 -1
  65. package/esm2015/radio/radio.component.ngfactory.js +1 -1
  66. package/esm2015/radio/radio.component.ngsummary.json +1 -1
  67. package/esm2015/select/multi-select/multi-select.component.js +6 -5
  68. package/esm2015/select/multi-select/multi-select.component.ngfactory.js +7 -7
  69. package/esm2015/select/multi-select/multi-select.component.ngsummary.json +1 -1
  70. package/esm2015/select/option/option.component.js +6 -2
  71. package/esm2015/select/option/option.component.ngfactory.js +3 -3
  72. package/esm2015/select/option/option.component.ngsummary.json +1 -1
  73. package/esm2015/select/select.component.js +2 -2
  74. package/esm2015/select/select.component.ngfactory.js +7 -7
  75. package/esm2015/select/select.component.ngsummary.json +1 -1
  76. package/esm2015/steps/steps.component.ngfactory.js +3 -3
  77. package/esm2015/switch/switch.component.ngfactory.js +1 -1
  78. package/esm2015/switch/switch.component.ngsummary.json +1 -1
  79. package/esm2015/table/table-cell.component.ngfactory.js +2 -2
  80. package/esm2015/tabs/tab-group.component.ngfactory.js +3 -3
  81. package/esm2015/tabs/tab-header.component.ngfactory.js +3 -3
  82. package/esm2015/tag/tag.component.ngfactory.js +3 -3
  83. package/esm2015/time-picker/component.ngfactory.js +8 -8
  84. package/esm2015/time-picker/component.ngsummary.json +1 -1
  85. package/esm2015/time-picker/panel/panel.component.js +5 -4
  86. package/esm2015/time-picker/panel/panel.component.ngfactory.js +5 -5
  87. package/esm2015/time-picker/panel/panel.component.ngsummary.json +1 -1
  88. package/esm2015/tree-select/tree-node/tree-node.component.ngfactory.js +4 -4
  89. package/esm2015/tree-select/tree-select.component.ngfactory.js +5 -5
  90. package/esm2015/tree-select/tree-select.component.ngsummary.json +1 -1
  91. package/fesm2015/alauda-ui.js +51 -21
  92. package/fesm2015/alauda-ui.js.map +1 -1
  93. package/form/common-form.d.ts +4 -2
  94. package/input/input.component.d.ts +1 -0
  95. package/input/tags-input/tags-input.component.d.ts +1 -1
  96. package/package.json +1 -1
  97. package/radio/base-radio.d.ts +1 -0
  98. package/select/multi-select/multi-select.component.d.ts +1 -1
  99. package/select/option/option.component.d.ts +1 -0
  100. package/time-picker/panel/panel.component.d.ts +1 -1
@@ -697,7 +697,7 @@
697
697
  { type: IconRegisterService }
698
698
  ]; };
699
699
  IconComponent.propDecorators = {
700
- icon: [{ type: i0.Input }],
700
+ icon: [{ type: i0.HostBinding, args: ['attr.data-test',] }, { type: i0.Input }],
701
701
  light: [{ type: i0.Input }],
702
702
  dark: [{ type: i0.Input }],
703
703
  link: [{ type: i0.Input }],
@@ -1502,6 +1502,13 @@
1502
1502
  this.renderer.addClass(this.el.nativeElement, prefix + this.size);
1503
1503
  this.focusMonitor.monitor(this.el.nativeElement, false);
1504
1504
  }
1505
+ Object.defineProperty(ButtonComponent.prototype, "testId", {
1506
+ get: function () {
1507
+ return this.el.nativeElement.textContent;
1508
+ },
1509
+ enumerable: false,
1510
+ configurable: true
1511
+ });
1505
1512
  Object.defineProperty(ButtonComponent.prototype, "type", {
1506
1513
  get: function () {
1507
1514
  return this._type;
@@ -1622,6 +1629,7 @@
1622
1629
  { type: a11y.FocusMonitor }
1623
1630
  ]; };
1624
1631
  ButtonComponent.propDecorators = {
1632
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
1625
1633
  type: [{ type: i0.Input, args: ['aui-button',] }],
1626
1634
  size: [{ type: i0.Input }],
1627
1635
  plain: [{ type: i0.Input }],
@@ -2773,7 +2781,7 @@
2773
2781
  DialogComponent.decorators = [
2774
2782
  { type: i0.Component, args: [{
2775
2783
  selector: 'aui-dialog',
2776
- template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
2784
+ template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\" data-test=\"AUI-DIALOG\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
2777
2785
  encapsulation: i0.ViewEncapsulation.None,
2778
2786
  // tslint:disable-next-line:validate-decorators
2779
2787
  changeDetection: i0.ChangeDetectionStrategy.Default,
@@ -3354,9 +3362,10 @@
3354
3362
  */
3355
3363
  // tslint:disable-next-line:directive-class-suffix
3356
3364
  var CommonFormControl = /** @class */ (function () {
3357
- function CommonFormControl(cdr) {
3365
+ function CommonFormControl(cdr, elementRef) {
3358
3366
  var _this = this;
3359
3367
  this.cdr = cdr;
3368
+ this.elementRef = elementRef;
3360
3369
  this.valueChange = new i0.EventEmitter();
3361
3370
  this.value$$ = new rxjs.ReplaySubject(1);
3362
3371
  this._disabled = false;
@@ -3375,6 +3384,15 @@
3375
3384
  enumerable: false,
3376
3385
  configurable: true
3377
3386
  });
3387
+ Object.defineProperty(CommonFormControl.prototype, "testId", {
3388
+ get: function () {
3389
+ return ('AUI-FORM-CONTROL/' +
3390
+ (this.elementRef.nativeElement.getAttribute('formControlName') ||
3391
+ this.elementRef.nativeElement.getAttribute('name')));
3392
+ },
3393
+ enumerable: false,
3394
+ configurable: true
3395
+ });
3378
3396
  Object.defineProperty(CommonFormControl.prototype, "readonly", {
3379
3397
  get: function () {
3380
3398
  return this.disabled;
@@ -3434,10 +3452,12 @@
3434
3452
  { type: i0.Directive }
3435
3453
  ];
3436
3454
  CommonFormControl.ctorParameters = function () { return [
3437
- { type: i0.ChangeDetectorRef }
3455
+ { type: i0.ChangeDetectorRef },
3456
+ { type: i0.ElementRef }
3438
3457
  ]; };
3439
3458
  CommonFormControl.propDecorators = {
3440
3459
  disabled: [{ type: i0.Input }],
3460
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
3441
3461
  readonly: [{ type: i0.Input }],
3442
3462
  propValue: [{ type: i0.Input, args: ['value',] }],
3443
3463
  valueChange: [{ type: i0.Output }]
@@ -3566,6 +3586,13 @@
3566
3586
  enumerable: false,
3567
3587
  configurable: true
3568
3588
  });
3589
+ Object.defineProperty(BaseRadio.prototype, "_testId", {
3590
+ get: function () {
3591
+ return 'RADIO/' + this.value;
3592
+ },
3593
+ enumerable: false,
3594
+ configurable: true
3595
+ });
3569
3596
  BaseRadio.prototype.ngOnInit = function () {
3570
3597
  var _this = this;
3571
3598
  this.radioGroup.name$.pipe(operators.takeUntil(this.destroy$$)).subscribe(function (name) {
@@ -3611,6 +3638,7 @@
3611
3638
  BaseRadio.propDecorators = {
3612
3639
  disabled: [{ type: i0.Input }],
3613
3640
  value: [{ type: i0.Input }],
3641
+ _testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
3614
3642
  elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
3615
3643
  };
3616
3644
 
@@ -3834,8 +3862,8 @@
3834
3862
  var uniqueId$2 = 0;
3835
3863
  var CheckboxComponent = /** @class */ (function (_super) {
3836
3864
  __extends(CheckboxComponent, _super);
3837
- function CheckboxComponent(cdr, checkboxGroup, focusMonitor) {
3838
- var _this = _super.call(this, cdr) || this;
3865
+ function CheckboxComponent(cdr, checkboxGroup, focusMonitor, elementRef) {
3866
+ var _this = _super.call(this, cdr, elementRef) || this;
3839
3867
  _this.focusMonitor = focusMonitor;
3840
3868
  _this.id = "aui-checkbox-" + uniqueId$2++;
3841
3869
  _this.name = '';
@@ -3931,12 +3959,13 @@
3931
3959
  CheckboxComponent.ctorParameters = function () { return [
3932
3960
  { type: i0.ChangeDetectorRef },
3933
3961
  { type: CheckboxGroupComponent, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [i0.forwardRef(function () { return CheckboxGroupComponent; }),] }] },
3934
- { type: a11y.FocusMonitor }
3962
+ { type: a11y.FocusMonitor },
3963
+ { type: i0.ElementRef }
3935
3964
  ]; };
3936
3965
  CheckboxComponent.propDecorators = {
3937
3966
  name: [{ type: i0.Input }],
3938
3967
  type: [{ type: i0.Input }],
3939
- label: [{ type: i0.Input }],
3968
+ label: [{ type: i0.HostBinding, args: ['attr.data-test',] }, { type: i0.Input }],
3940
3969
  indeterminate: [{ type: i0.Input }],
3941
3970
  elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
3942
3971
  };
@@ -3969,6 +3998,15 @@
3969
3998
  this.renderer.addClass(this.elementRef.nativeElement, 'aui-input');
3970
3999
  this.renderer.addClass(this.elementRef.nativeElement, 'aui-input--' + this.size);
3971
4000
  }
4001
+ Object.defineProperty(InputComponent.prototype, "testId", {
4002
+ get: function () {
4003
+ return (this.elementRef.nativeElement.getAttribute('formcontrolname') ||
4004
+ this.elementRef.nativeElement.getAttribute('name') ||
4005
+ 'aui-input');
4006
+ },
4007
+ enumerable: false,
4008
+ configurable: true
4009
+ });
3972
4010
  Object.defineProperty(InputComponent.prototype, "size", {
3973
4011
  get: function () {
3974
4012
  return this._size;
@@ -4024,6 +4062,7 @@
4024
4062
  { type: i0.Renderer2 }
4025
4063
  ]; };
4026
4064
  InputComponent.propDecorators = {
4065
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
4027
4066
  size: [{ type: i0.Input }],
4028
4067
  disabled: [{ type: i0.Input }]
4029
4068
  };
@@ -4226,8 +4265,8 @@
4226
4265
  var INPUT_ERROR_KEY = 'input_data_error';
4227
4266
  var TagsInputComponent = /** @class */ (function (_super) {
4228
4267
  __extends(TagsInputComponent, _super);
4229
- function TagsInputComponent(cdr, fb, renderer, injector) {
4230
- var _this = _super.call(this, cdr) || this;
4268
+ function TagsInputComponent(cdr, fb, renderer, injector, elementRef) {
4269
+ var _this = _super.call(this, cdr, elementRef) || this;
4231
4270
  _this.fb = fb;
4232
4271
  _this.renderer = renderer;
4233
4272
  _this.injector = injector;
@@ -4486,7 +4525,8 @@
4486
4525
  { type: i0.ChangeDetectorRef },
4487
4526
  { type: forms.FormBuilder },
4488
4527
  { type: i0.Renderer2 },
4489
- { type: i0.Injector }
4528
+ { type: i0.Injector },
4529
+ { type: i0.ElementRef }
4490
4530
  ]; };
4491
4531
  TagsInputComponent.propDecorators = {
4492
4532
  placeholder: [{ type: i0.Input }],
@@ -5299,7 +5339,7 @@
5299
5339
  DropdownButtonComponent.decorators = [
5300
5340
  { type: i0.Component, args: [{
5301
5341
  selector: 'aui-dropdown-button',
5302
- 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",
5342
+ 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",
5303
5343
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5304
5344
  encapsulation: i0.ViewEncapsulation.None,
5305
5345
  preserveWhitespaces: false,
@@ -5505,6 +5545,13 @@
5505
5545
  enumerable: false,
5506
5546
  configurable: true
5507
5547
  });
5548
+ Object.defineProperty(OptionComponent.prototype, "testId", {
5549
+ get: function () {
5550
+ return 'AUI-OPTION/' + (this.label || this.value);
5551
+ },
5552
+ enumerable: false,
5553
+ configurable: true
5554
+ });
5508
5555
  Object.defineProperty(OptionComponent.prototype, "labelContext", {
5509
5556
  get: function () {
5510
5557
  return this._labelContext;
@@ -5572,6 +5619,7 @@
5572
5619
  ]; };
5573
5620
  OptionComponent.propDecorators = {
5574
5621
  label: [{ type: i0.Input }],
5622
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
5575
5623
  labelContext: [{ type: i0.Input }],
5576
5624
  value: [{ type: i0.Input }],
5577
5625
  disabled: [{ type: i0.Input }],
@@ -5935,8 +5983,8 @@
5935
5983
 
5936
5984
  var MultiSelectComponent = /** @class */ (function (_super) {
5937
5985
  __extends(MultiSelectComponent, _super);
5938
- function MultiSelectComponent(cdr, renderer) {
5939
- var _this = _super.call(this, cdr) || this;
5986
+ function MultiSelectComponent(cdr, renderer, elementRef) {
5987
+ var _this = _super.call(this, cdr, elementRef) || this;
5940
5988
  _this.renderer = renderer;
5941
5989
  _this.bem = buildBem('aui-multi-select');
5942
5990
  _this.bemSelectAll = buildBem('aui-option');
@@ -6233,7 +6281,7 @@
6233
6281
  MultiSelectComponent.decorators = [
6234
6282
  { type: i0.Component, args: [{
6235
6283
  selector: 'aui-multi-select',
6236
- 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",
6284
+ 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",
6237
6285
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6238
6286
  encapsulation: i0.ViewEncapsulation.None,
6239
6287
  preserveWhitespaces: false,
@@ -6253,7 +6301,8 @@
6253
6301
  ];
6254
6302
  MultiSelectComponent.ctorParameters = function () { return [
6255
6303
  { type: i0.ChangeDetectorRef },
6256
- { type: i0.Renderer2 }
6304
+ { type: i0.Renderer2 },
6305
+ { type: i0.ElementRef }
6257
6306
  ]; };
6258
6307
  MultiSelectComponent.propDecorators = {
6259
6308
  tagClassFn: [{ type: i0.Input }],
@@ -6390,7 +6439,7 @@
6390
6439
  SelectComponent.decorators = [
6391
6440
  { type: i0.Component, args: [{
6392
6441
  selector: 'aui-select',
6393
- 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",
6442
+ 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",
6394
6443
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6395
6444
  encapsulation: i0.ViewEncapsulation.None,
6396
6445
  preserveWhitespaces: false,
@@ -10844,8 +10893,8 @@
10844
10893
  var bem$3 = buildBem('aui-time-picker-panel');
10845
10894
  var TimePickerPanelComponent = /** @class */ (function (_super) {
10846
10895
  __extends(TimePickerPanelComponent, _super);
10847
- function TimePickerPanelComponent(cdr) {
10848
- var _this = _super.call(this, cdr) || this;
10896
+ function TimePickerPanelComponent(cdr, elementRef) {
10897
+ var _this = _super.call(this, cdr, elementRef) || this;
10849
10898
  _this.cdr = cdr;
10850
10899
  _this.hourStep = 1;
10851
10900
  _this.minuteStep = 1;
@@ -11041,7 +11090,8 @@
11041
11090
  },] }
11042
11091
  ];
11043
11092
  TimePickerPanelComponent.ctorParameters = function () { return [
11044
- { type: i0.ChangeDetectorRef }
11093
+ { type: i0.ChangeDetectorRef },
11094
+ { type: i0.ElementRef }
11045
11095
  ]; };
11046
11096
  TimePickerPanelComponent.propDecorators = {
11047
11097
  format: [{ type: i0.Input }],