@alauda/ui 6.2.0 → 6.2.1-beta.2

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 (107) hide show
  1. package/alauda-ui.metadata.json +1 -1
  2. package/bundles/alauda-ui.umd.js +65 -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/checkbox/checkbox.component.d.ts +1 -1
  7. package/esm2015/accordion/accordion-item/accordion-item.component.ngfactory.js +2 -2
  8. package/esm2015/back-top/back-top.component.ngfactory.js +2 -2
  9. package/esm2015/breadcrumb/breadcrumb-item.component.ngfactory.js +2 -2
  10. package/esm2015/button/button.component.ngfactory.js +2 -2
  11. package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngfactory.js +1 -1
  12. package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngsummary.json +1 -1
  13. package/esm2015/checkbox/checkbox.component.js +7 -6
  14. package/esm2015/checkbox/checkbox.component.ngfactory.js +3 -3
  15. package/esm2015/checkbox/checkbox.component.ngsummary.json +1 -1
  16. package/esm2015/color-picker/color-picker.component.ngfactory.js +1 -1
  17. package/esm2015/color-picker/color-picker.component.ngsummary.json +1 -1
  18. package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +4 -4
  19. package/esm2015/date-picker/calendar/date-picker-panel/component.ngsummary.json +1 -1
  20. package/esm2015/date-picker/calendar/header/component.ngfactory.js +5 -5
  21. package/esm2015/date-picker/calendar/range-picker-panel/component.ngfactory.js +5 -5
  22. package/esm2015/date-picker/calendar/range-picker-panel/component.ngsummary.json +1 -1
  23. package/esm2015/date-picker/date-picker/date-picker.component.ngfactory.js +4 -4
  24. package/esm2015/date-picker/date-picker/date-picker.component.ngsummary.json +1 -1
  25. package/esm2015/date-picker/range-picker/range-picker.component.ngfactory.js +4 -4
  26. package/esm2015/date-picker/range-picker/range-picker.component.ngsummary.json +1 -1
  27. package/esm2015/date-picker/trigger/trigger.component.ngfactory.js +9 -9
  28. package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngfactory.js +3 -3
  29. package/esm2015/dialog/dialog-content/dialog-header.component.ngfactory.js +2 -2
  30. package/esm2015/dialog/dialog.component.js +2 -2
  31. package/esm2015/dialog/dialog.component.ngfactory.js +2 -2
  32. package/esm2015/drawer/component/drawer.component.ngfactory.js +2 -2
  33. package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngfactory.js +2 -2
  34. package/esm2015/dropdown/submenu/submenu.component.ngfactory.js +2 -2
  35. package/esm2015/form/common-form.js +12 -4
  36. package/esm2015/form/common-form.ngsummary.json +1 -1
  37. package/esm2015/icon/icon.component.js +4 -4
  38. package/esm2015/icon/icon.component.ngfactory.js +4 -4
  39. package/esm2015/icon/icon.component.ngsummary.json +1 -1
  40. package/esm2015/icon/icon.module.ngfactory.js +1 -1
  41. package/esm2015/inline-alert/inline-alert.component.ngfactory.js +4 -4
  42. package/esm2015/input/input.component.js +8 -2
  43. package/esm2015/input/input.component.ngfactory.js +1 -1
  44. package/esm2015/input/input.component.ngsummary.json +1 -1
  45. package/esm2015/input/number-input/number-input.component.ngfactory.js +4 -4
  46. package/esm2015/input/number-input/number-input.component.ngsummary.json +1 -1
  47. package/esm2015/input/search/search.component.ngfactory.js +6 -6
  48. package/esm2015/input/tags-input/tags-input.component.js +5 -4
  49. package/esm2015/input/tags-input/tags-input.component.ngfactory.js +1 -1
  50. package/esm2015/input/tags-input/tags-input.component.ngsummary.json +1 -1
  51. package/esm2015/message/message.component.ngfactory.js +2 -2
  52. package/esm2015/notification/notification.component.ngfactory.js +3 -3
  53. package/esm2015/paginator/paginator.component.ngfactory.js +10 -10
  54. package/esm2015/radio/base-radio.js +6 -2
  55. package/esm2015/radio/base-radio.ngsummary.json +1 -1
  56. package/esm2015/radio/radio-button/radio-button.component.ngfactory.js +3 -3
  57. package/esm2015/radio/radio-button/radio-button.component.ngsummary.json +1 -1
  58. package/esm2015/radio/radio-group/radio-group.component.ngfactory.js +1 -1
  59. package/esm2015/radio/radio-group/radio-group.component.ngsummary.json +1 -1
  60. package/esm2015/radio/radio.component.ngfactory.js +1 -1
  61. package/esm2015/radio/radio.component.ngsummary.json +1 -1
  62. package/esm2015/select/multi-select/multi-select.component.js +6 -5
  63. package/esm2015/select/multi-select/multi-select.component.ngfactory.js +7 -7
  64. package/esm2015/select/multi-select/multi-select.component.ngsummary.json +1 -1
  65. package/esm2015/select/option/option.component.js +6 -2
  66. package/esm2015/select/option/option.component.ngfactory.js +3 -3
  67. package/esm2015/select/option/option.component.ngsummary.json +1 -1
  68. package/esm2015/select/select.component.js +2 -2
  69. package/esm2015/select/select.component.ngfactory.js +7 -7
  70. package/esm2015/select/select.component.ngsummary.json +1 -1
  71. package/esm2015/steps/steps.component.ngfactory.js +3 -3
  72. package/esm2015/switch/switch.component.ngfactory.js +1 -1
  73. package/esm2015/switch/switch.component.ngsummary.json +1 -1
  74. package/esm2015/table/table-cell.component.ngfactory.js +2 -2
  75. package/esm2015/tabs/tab-group.component.ngfactory.js +3 -3
  76. package/esm2015/tabs/tab-header.component.ngfactory.js +3 -3
  77. package/esm2015/tag/tag.component.ngfactory.js +3 -3
  78. package/esm2015/theme/public-api.js +2 -2
  79. package/esm2015/theme/public-api.ngsummary.json +1 -1
  80. package/esm2015/theme/theme-picker.pipe.js +36 -0
  81. package/esm2015/theme/{theme.pipe.ngsummary.json → theme-picker.pipe.ngsummary.json} +1 -1
  82. package/esm2015/theme/theme.module.js +2 -2
  83. package/esm2015/theme/theme.module.ngfactory.js +1 -1
  84. package/esm2015/theme/theme.module.ngsummary.json +1 -1
  85. package/esm2015/theme/theme.types.js +1 -1
  86. package/esm2015/time-picker/component.ngfactory.js +8 -8
  87. package/esm2015/time-picker/component.ngsummary.json +1 -1
  88. package/esm2015/time-picker/panel/panel.component.js +5 -4
  89. package/esm2015/time-picker/panel/panel.component.ngfactory.js +1 -1
  90. package/esm2015/time-picker/panel/panel.component.ngsummary.json +1 -1
  91. package/esm2015/tree-select/tree-node/tree-node.component.ngfactory.js +4 -4
  92. package/esm2015/tree-select/tree-select.component.ngfactory.js +5 -5
  93. package/esm2015/tree-select/tree-select.component.ngsummary.json +1 -1
  94. package/fesm2015/alauda-ui.js +50 -21
  95. package/fesm2015/alauda-ui.js.map +1 -1
  96. package/form/common-form.d.ts +4 -2
  97. package/input/input.component.d.ts +1 -0
  98. package/input/tags-input/tags-input.component.d.ts +1 -1
  99. package/package.json +1 -1
  100. package/radio/base-radio.d.ts +1 -0
  101. package/select/multi-select/multi-select.component.d.ts +1 -1
  102. package/select/option/option.component.d.ts +1 -0
  103. package/theme/public-api.d.ts +1 -1
  104. package/theme/{theme.pipe.d.ts → theme-picker.pipe.d.ts} +0 -0
  105. package/theme/theme.types.d.ts +1 -1
  106. package/time-picker/panel/panel.component.d.ts +1 -1
  107. package/esm2015/theme/theme.pipe.js +0 -33
@@ -547,6 +547,9 @@
547
547
  if (v instanceof Function) {
548
548
  return v(this.currentTheme);
549
549
  }
550
+ if (Array.isArray(v)) {
551
+ return v[this.currentTheme === 'light' ? 0 : 1];
552
+ }
550
553
  return v[this.currentTheme];
551
554
  };
552
555
  ThemePickerPipe.prototype.ngOnDestroy = function () {
@@ -683,7 +686,7 @@
683
686
  IconComponent.decorators = [
684
687
  { type: i0.Component, args: [{
685
688
  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",
689
+ 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
690
  encapsulation: i0.ViewEncapsulation.None,
688
691
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
689
692
  preserveWhitespaces: false,
@@ -694,7 +697,7 @@
694
697
  { type: IconRegisterService }
695
698
  ]; };
696
699
  IconComponent.propDecorators = {
697
- icon: [{ type: i0.Input }],
700
+ icon: [{ type: i0.HostBinding, args: ['attr.data-test',] }, { type: i0.Input }],
698
701
  light: [{ type: i0.Input }],
699
702
  dark: [{ type: i0.Input }],
700
703
  link: [{ type: i0.Input }],
@@ -2770,7 +2773,7 @@
2770
2773
  DialogComponent.decorators = [
2771
2774
  { type: i0.Component, args: [{
2772
2775
  selector: 'aui-dialog',
2773
- template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
2776
+ template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\" data-test=\"AUI-DIALOG\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
2774
2777
  encapsulation: i0.ViewEncapsulation.None,
2775
2778
  // tslint:disable-next-line:validate-decorators
2776
2779
  changeDetection: i0.ChangeDetectionStrategy.Default,
@@ -3351,9 +3354,10 @@
3351
3354
  */
3352
3355
  // tslint:disable-next-line:directive-class-suffix
3353
3356
  var CommonFormControl = /** @class */ (function () {
3354
- function CommonFormControl(cdr) {
3357
+ function CommonFormControl(cdr, elementRef) {
3355
3358
  var _this = this;
3356
3359
  this.cdr = cdr;
3360
+ this.elementRef = elementRef;
3357
3361
  this.valueChange = new i0.EventEmitter();
3358
3362
  this.value$$ = new rxjs.ReplaySubject(1);
3359
3363
  this._disabled = false;
@@ -3372,6 +3376,15 @@
3372
3376
  enumerable: false,
3373
3377
  configurable: true
3374
3378
  });
3379
+ Object.defineProperty(CommonFormControl.prototype, "testId", {
3380
+ get: function () {
3381
+ return ('AUI-FORM-CONTROL/' +
3382
+ (this.elementRef.nativeElement.getAttribute('formControlName') ||
3383
+ this.elementRef.nativeElement.getAttribute('name')));
3384
+ },
3385
+ enumerable: false,
3386
+ configurable: true
3387
+ });
3375
3388
  Object.defineProperty(CommonFormControl.prototype, "readonly", {
3376
3389
  get: function () {
3377
3390
  return this.disabled;
@@ -3431,10 +3444,12 @@
3431
3444
  { type: i0.Directive }
3432
3445
  ];
3433
3446
  CommonFormControl.ctorParameters = function () { return [
3434
- { type: i0.ChangeDetectorRef }
3447
+ { type: i0.ChangeDetectorRef },
3448
+ { type: i0.ElementRef }
3435
3449
  ]; };
3436
3450
  CommonFormControl.propDecorators = {
3437
3451
  disabled: [{ type: i0.Input }],
3452
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
3438
3453
  readonly: [{ type: i0.Input }],
3439
3454
  propValue: [{ type: i0.Input, args: ['value',] }],
3440
3455
  valueChange: [{ type: i0.Output }]
@@ -3563,6 +3578,13 @@
3563
3578
  enumerable: false,
3564
3579
  configurable: true
3565
3580
  });
3581
+ Object.defineProperty(BaseRadio.prototype, "_testId", {
3582
+ get: function () {
3583
+ return 'RADIO/' + this.value;
3584
+ },
3585
+ enumerable: false,
3586
+ configurable: true
3587
+ });
3566
3588
  BaseRadio.prototype.ngOnInit = function () {
3567
3589
  var _this = this;
3568
3590
  this.radioGroup.name$.pipe(operators.takeUntil(this.destroy$$)).subscribe(function (name) {
@@ -3608,6 +3630,7 @@
3608
3630
  BaseRadio.propDecorators = {
3609
3631
  disabled: [{ type: i0.Input }],
3610
3632
  value: [{ type: i0.Input }],
3633
+ _testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
3611
3634
  elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
3612
3635
  };
3613
3636
 
@@ -3831,8 +3854,8 @@
3831
3854
  var uniqueId$2 = 0;
3832
3855
  var CheckboxComponent = /** @class */ (function (_super) {
3833
3856
  __extends(CheckboxComponent, _super);
3834
- function CheckboxComponent(cdr, checkboxGroup, focusMonitor) {
3835
- var _this = _super.call(this, cdr) || this;
3857
+ function CheckboxComponent(cdr, checkboxGroup, focusMonitor, elementRef) {
3858
+ var _this = _super.call(this, cdr, elementRef) || this;
3836
3859
  _this.focusMonitor = focusMonitor;
3837
3860
  _this.id = "aui-checkbox-" + uniqueId$2++;
3838
3861
  _this.name = '';
@@ -3928,12 +3951,13 @@
3928
3951
  CheckboxComponent.ctorParameters = function () { return [
3929
3952
  { type: i0.ChangeDetectorRef },
3930
3953
  { type: CheckboxGroupComponent, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [i0.forwardRef(function () { return CheckboxGroupComponent; }),] }] },
3931
- { type: a11y.FocusMonitor }
3954
+ { type: a11y.FocusMonitor },
3955
+ { type: i0.ElementRef }
3932
3956
  ]; };
3933
3957
  CheckboxComponent.propDecorators = {
3934
3958
  name: [{ type: i0.Input }],
3935
3959
  type: [{ type: i0.Input }],
3936
- label: [{ type: i0.Input }],
3960
+ label: [{ type: i0.HostBinding, args: ['attr.data-test',] }, { type: i0.Input }],
3937
3961
  indeterminate: [{ type: i0.Input }],
3938
3962
  elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
3939
3963
  };
@@ -3966,6 +3990,15 @@
3966
3990
  this.renderer.addClass(this.elementRef.nativeElement, 'aui-input');
3967
3991
  this.renderer.addClass(this.elementRef.nativeElement, 'aui-input--' + this.size);
3968
3992
  }
3993
+ Object.defineProperty(InputComponent.prototype, "testId", {
3994
+ get: function () {
3995
+ return (this.elementRef.nativeElement.getAttribute('formcontrolname') ||
3996
+ this.elementRef.nativeElement.getAttribute('name') ||
3997
+ 'aui-input');
3998
+ },
3999
+ enumerable: false,
4000
+ configurable: true
4001
+ });
3969
4002
  Object.defineProperty(InputComponent.prototype, "size", {
3970
4003
  get: function () {
3971
4004
  return this._size;
@@ -4021,6 +4054,7 @@
4021
4054
  { type: i0.Renderer2 }
4022
4055
  ]; };
4023
4056
  InputComponent.propDecorators = {
4057
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
4024
4058
  size: [{ type: i0.Input }],
4025
4059
  disabled: [{ type: i0.Input }]
4026
4060
  };
@@ -4223,8 +4257,8 @@
4223
4257
  var INPUT_ERROR_KEY = 'input_data_error';
4224
4258
  var TagsInputComponent = /** @class */ (function (_super) {
4225
4259
  __extends(TagsInputComponent, _super);
4226
- function TagsInputComponent(cdr, fb, renderer, injector) {
4227
- var _this = _super.call(this, cdr) || this;
4260
+ function TagsInputComponent(cdr, fb, renderer, injector, elementRef) {
4261
+ var _this = _super.call(this, cdr, elementRef) || this;
4228
4262
  _this.fb = fb;
4229
4263
  _this.renderer = renderer;
4230
4264
  _this.injector = injector;
@@ -4483,7 +4517,8 @@
4483
4517
  { type: i0.ChangeDetectorRef },
4484
4518
  { type: forms.FormBuilder },
4485
4519
  { type: i0.Renderer2 },
4486
- { type: i0.Injector }
4520
+ { type: i0.Injector },
4521
+ { type: i0.ElementRef }
4487
4522
  ]; };
4488
4523
  TagsInputComponent.propDecorators = {
4489
4524
  placeholder: [{ type: i0.Input }],
@@ -5502,6 +5537,13 @@
5502
5537
  enumerable: false,
5503
5538
  configurable: true
5504
5539
  });
5540
+ Object.defineProperty(OptionComponent.prototype, "testId", {
5541
+ get: function () {
5542
+ return 'AUI-OPTION/' + (this.label || this.value);
5543
+ },
5544
+ enumerable: false,
5545
+ configurable: true
5546
+ });
5505
5547
  Object.defineProperty(OptionComponent.prototype, "labelContext", {
5506
5548
  get: function () {
5507
5549
  return this._labelContext;
@@ -5569,6 +5611,7 @@
5569
5611
  ]; };
5570
5612
  OptionComponent.propDecorators = {
5571
5613
  label: [{ type: i0.Input }],
5614
+ testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
5572
5615
  labelContext: [{ type: i0.Input }],
5573
5616
  value: [{ type: i0.Input }],
5574
5617
  disabled: [{ type: i0.Input }],
@@ -5932,8 +5975,8 @@
5932
5975
 
5933
5976
  var MultiSelectComponent = /** @class */ (function (_super) {
5934
5977
  __extends(MultiSelectComponent, _super);
5935
- function MultiSelectComponent(cdr, renderer) {
5936
- var _this = _super.call(this, cdr) || this;
5978
+ function MultiSelectComponent(cdr, renderer, elementRef) {
5979
+ var _this = _super.call(this, cdr, elementRef) || this;
5937
5980
  _this.renderer = renderer;
5938
5981
  _this.bem = buildBem('aui-multi-select');
5939
5982
  _this.bemSelectAll = buildBem('aui-option');
@@ -6230,7 +6273,7 @@
6230
6273
  MultiSelectComponent.decorators = [
6231
6274
  { type: i0.Component, args: [{
6232
6275
  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",
6276
+ 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
6277
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6235
6278
  encapsulation: i0.ViewEncapsulation.None,
6236
6279
  preserveWhitespaces: false,
@@ -6250,7 +6293,8 @@
6250
6293
  ];
6251
6294
  MultiSelectComponent.ctorParameters = function () { return [
6252
6295
  { type: i0.ChangeDetectorRef },
6253
- { type: i0.Renderer2 }
6296
+ { type: i0.Renderer2 },
6297
+ { type: i0.ElementRef }
6254
6298
  ]; };
6255
6299
  MultiSelectComponent.propDecorators = {
6256
6300
  tagClassFn: [{ type: i0.Input }],
@@ -6387,7 +6431,7 @@
6387
6431
  SelectComponent.decorators = [
6388
6432
  { type: i0.Component, args: [{
6389
6433
  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",
6434
+ 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
6435
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
6392
6436
  encapsulation: i0.ViewEncapsulation.None,
6393
6437
  preserveWhitespaces: false,
@@ -10841,8 +10885,8 @@
10841
10885
  var bem$3 = buildBem('aui-time-picker-panel');
10842
10886
  var TimePickerPanelComponent = /** @class */ (function (_super) {
10843
10887
  __extends(TimePickerPanelComponent, _super);
10844
- function TimePickerPanelComponent(cdr) {
10845
- var _this = _super.call(this, cdr) || this;
10888
+ function TimePickerPanelComponent(cdr, elementRef) {
10889
+ var _this = _super.call(this, cdr, elementRef) || this;
10846
10890
  _this.cdr = cdr;
10847
10891
  _this.hourStep = 1;
10848
10892
  _this.minuteStep = 1;
@@ -11038,7 +11082,8 @@
11038
11082
  },] }
11039
11083
  ];
11040
11084
  TimePickerPanelComponent.ctorParameters = function () { return [
11041
- { type: i0.ChangeDetectorRef }
11085
+ { type: i0.ChangeDetectorRef },
11086
+ { type: i0.ElementRef }
11042
11087
  ]; };
11043
11088
  TimePickerPanelComponent.propDecorators = {
11044
11089
  format: [{ type: i0.Input }],