@alauda/ui 6.2.1-beta.3 → 6.2.1-beta.7

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 (97) hide show
  1. package/alauda-ui.metadata.json +1 -1
  2. package/bundles/alauda-ui.umd.js +21 -63
  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 +6 -7
  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.js +2 -2
  34. package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngfactory.js +3 -3
  35. package/esm2015/dropdown/submenu/submenu.component.ngfactory.js +2 -2
  36. package/esm2015/form/common-form.js +4 -12
  37. package/esm2015/form/common-form.ngsummary.json +1 -1
  38. package/esm2015/icon/icon.component.js +3 -3
  39. package/esm2015/icon/icon.component.ngfactory.js +1 -1
  40. package/esm2015/icon/icon.component.ngsummary.json +1 -1
  41. package/esm2015/inline-alert/inline-alert.component.ngfactory.js +4 -4
  42. package/esm2015/input/input.component.js +2 -8
  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 +4 -5
  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.js +1 -1
  54. package/esm2015/paginator/paginator.component.ngfactory.js +10 -10
  55. package/esm2015/paginator/paginator.component.scss.ngstyle.js +1 -1
  56. package/esm2015/radio/base-radio.js +2 -6
  57. package/esm2015/radio/base-radio.ngsummary.json +1 -1
  58. package/esm2015/radio/radio-button/radio-button.component.ngfactory.js +3 -3
  59. package/esm2015/radio/radio-button/radio-button.component.ngsummary.json +1 -1
  60. package/esm2015/radio/radio-group/radio-group.component.ngfactory.js +1 -1
  61. package/esm2015/radio/radio-group/radio-group.component.ngsummary.json +1 -1
  62. package/esm2015/radio/radio.component.ngfactory.js +1 -1
  63. package/esm2015/radio/radio.component.ngsummary.json +1 -1
  64. package/esm2015/select/multi-select/multi-select.component.js +5 -6
  65. package/esm2015/select/multi-select/multi-select.component.ngfactory.js +7 -7
  66. package/esm2015/select/multi-select/multi-select.component.ngsummary.json +1 -1
  67. package/esm2015/select/option/option.component.js +2 -6
  68. package/esm2015/select/option/option.component.ngfactory.js +3 -3
  69. package/esm2015/select/option/option.component.ngsummary.json +1 -1
  70. package/esm2015/select/select.component.js +2 -2
  71. package/esm2015/select/select.component.ngfactory.js +7 -7
  72. package/esm2015/select/select.component.ngsummary.json +1 -1
  73. package/esm2015/steps/steps.component.ngfactory.js +3 -3
  74. package/esm2015/switch/switch.component.ngfactory.js +1 -1
  75. package/esm2015/switch/switch.component.ngsummary.json +1 -1
  76. package/esm2015/table/table-cell.component.ngfactory.js +2 -2
  77. package/esm2015/tabs/tab-group.component.ngfactory.js +3 -3
  78. package/esm2015/tabs/tab-header.component.ngfactory.js +3 -3
  79. package/esm2015/tag/tag.component.ngfactory.js +3 -3
  80. package/esm2015/time-picker/component.ngfactory.js +8 -8
  81. package/esm2015/time-picker/component.ngsummary.json +1 -1
  82. package/esm2015/time-picker/panel/panel.component.js +4 -5
  83. package/esm2015/time-picker/panel/panel.component.ngfactory.js +1 -1
  84. package/esm2015/time-picker/panel/panel.component.ngsummary.json +1 -1
  85. package/esm2015/tree-select/tree-node/tree-node.component.ngfactory.js +4 -4
  86. package/esm2015/tree-select/tree-select.component.ngfactory.js +5 -5
  87. package/esm2015/tree-select/tree-select.component.ngsummary.json +1 -1
  88. package/fesm2015/alauda-ui.js +22 -48
  89. package/fesm2015/alauda-ui.js.map +1 -1
  90. package/form/common-form.d.ts +2 -4
  91. package/input/input.component.d.ts +0 -1
  92. package/input/tags-input/tags-input.component.d.ts +1 -1
  93. package/package.json +1 -1
  94. package/radio/base-radio.d.ts +0 -1
  95. package/select/multi-select/multi-select.component.d.ts +1 -1
  96. package/select/option/option.component.d.ts +0 -1
  97. package/time-picker/panel/panel.component.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- import { TemplateRef, ɵɵdefineInjectable, Injectable, Pipe, ChangeDetectorRef, NgModule, Optional, Inject, SkipSelf, Component, ViewEncapsulation, ChangeDetectionStrategy, HostBinding, Input, Directive, EventEmitter, Output, ElementRef, ViewContainerRef, ViewChild, ContentChild, Host, isDevMode, Renderer2, NgZone, HostListener, InjectionToken, Injector, ContentChildren, forwardRef, ɵɵinject, ApplicationRef, ComponentFactoryResolver, ViewChildren, Type } from '@angular/core';
1
+ import { TemplateRef, ɵɵdefineInjectable, Injectable, Pipe, ChangeDetectorRef, NgModule, Optional, Inject, SkipSelf, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Directive, EventEmitter, Output, ElementRef, ViewContainerRef, HostBinding, ViewChild, ContentChild, Host, isDevMode, Renderer2, NgZone, HostListener, InjectionToken, Injector, ContentChildren, forwardRef, ɵɵinject, ApplicationRef, ComponentFactoryResolver, ViewChildren, Type } from '@angular/core';
2
2
  import { Observable, ReplaySubject, Subject, merge, fromEvent, BehaviorSubject, combineLatest, of, Subscription, EMPTY, animationFrameScheduler } from 'rxjs';
3
3
  import { startWith, map, publishReplay, refCount, distinctUntilChanged, takeUntil, switchMap, throttleTime, debounceTime, first, tap, take, pluck, observeOn, repeat, takeWhile, endWith, filter } from 'rxjs/operators';
4
4
  import { CdkCellDef, CdkCell, CdkColumnDef, CdkHeaderCellDef, CdkHeaderCell, CdkHeaderRowDef, CdkHeaderRow, CDK_ROW_TEMPLATE, CdkRowDef, CdkRow, CdkTable, CDK_TABLE_TEMPLATE, CDK_TABLE, _COALESCED_STYLE_SCHEDULER, _CoalescedStyleScheduler, CdkTableModule } from '@angular/cdk/table';
@@ -352,7 +352,7 @@ IconComponent.ctorParameters = () => [
352
352
  { type: IconRegisterService }
353
353
  ];
354
354
  IconComponent.propDecorators = {
355
- icon: [{ type: HostBinding, args: ['attr.data-test',] }, { type: Input }],
355
+ icon: [{ type: Input }],
356
356
  light: [{ type: Input }],
357
357
  dark: [{ type: Input }],
358
358
  link: [{ type: Input }],
@@ -2157,7 +2157,7 @@ class DialogComponent {
2157
2157
  DialogComponent.decorators = [
2158
2158
  { type: Component, args: [{
2159
2159
  selector: 'aui-dialog',
2160
- template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\" data-test=\"AUI-DIALOG\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
2160
+ template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
2161
2161
  encapsulation: ViewEncapsulation.None,
2162
2162
  // tslint:disable-next-line:validate-decorators
2163
2163
  changeDetection: ChangeDetectionStrategy.Default,
@@ -2677,9 +2677,8 @@ FormModule.decorators = [
2677
2677
  */
2678
2678
  // tslint:disable-next-line:directive-class-suffix
2679
2679
  class CommonFormControl {
2680
- constructor(cdr, elementRef) {
2680
+ constructor(cdr) {
2681
2681
  this.cdr = cdr;
2682
- this.elementRef = elementRef;
2683
2682
  this.valueChange = new EventEmitter();
2684
2683
  this.value$$ = new ReplaySubject(1);
2685
2684
  this._disabled = false;
@@ -2694,11 +2693,6 @@ class CommonFormControl {
2694
2693
  set disabled(val) {
2695
2694
  this._disabled = coerceAttrBoolean(val);
2696
2695
  }
2697
- get testId() {
2698
- return ('AUI-FORM-CONTROL/' +
2699
- (this.elementRef.nativeElement.getAttribute('formControlName') ||
2700
- this.elementRef.nativeElement.getAttribute('name')));
2701
- }
2702
2696
  get readonly() {
2703
2697
  return this.disabled;
2704
2698
  }
@@ -2749,12 +2743,10 @@ CommonFormControl.decorators = [
2749
2743
  { type: Directive }
2750
2744
  ];
2751
2745
  CommonFormControl.ctorParameters = () => [
2752
- { type: ChangeDetectorRef },
2753
- { type: ElementRef }
2746
+ { type: ChangeDetectorRef }
2754
2747
  ];
2755
2748
  CommonFormControl.propDecorators = {
2756
2749
  disabled: [{ type: Input }],
2757
- testId: [{ type: HostBinding, args: ['attr.data-test',] }],
2758
2750
  readonly: [{ type: Input }],
2759
2751
  propValue: [{ type: Input, args: ['value',] }],
2760
2752
  valueChange: [{ type: Output }]
@@ -2860,9 +2852,6 @@ class BaseRadio {
2860
2852
  this._value = val;
2861
2853
  this.value$$.next(val);
2862
2854
  }
2863
- get _testId() {
2864
- return 'RADIO/' + this.value;
2865
- }
2866
2855
  ngOnInit() {
2867
2856
  this.radioGroup.name$.pipe(takeUntil(this.destroy$$)).subscribe(name => {
2868
2857
  this.name = name;
@@ -2903,7 +2892,6 @@ BaseRadio.ctorParameters = () => [
2903
2892
  BaseRadio.propDecorators = {
2904
2893
  disabled: [{ type: Input }],
2905
2894
  value: [{ type: Input }],
2906
- _testId: [{ type: HostBinding, args: ['attr.data-test',] }],
2907
2895
  elRef: [{ type: ViewChild, args: ['elRef', { static: true },] }]
2908
2896
  };
2909
2897
 
@@ -3095,8 +3083,8 @@ CheckboxGroupComponent.propDecorators = {
3095
3083
 
3096
3084
  let uniqueId$2 = 0;
3097
3085
  class CheckboxComponent extends CommonFormControl {
3098
- constructor(cdr, checkboxGroup, focusMonitor, elementRef) {
3099
- super(cdr, elementRef);
3086
+ constructor(cdr, checkboxGroup, focusMonitor) {
3087
+ super(cdr);
3100
3088
  this.focusMonitor = focusMonitor;
3101
3089
  this.id = `aui-checkbox-${uniqueId$2++}`;
3102
3090
  this.name = '';
@@ -3181,13 +3169,12 @@ CheckboxComponent.decorators = [
3181
3169
  CheckboxComponent.ctorParameters = () => [
3182
3170
  { type: ChangeDetectorRef },
3183
3171
  { type: CheckboxGroupComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef(() => CheckboxGroupComponent),] }] },
3184
- { type: FocusMonitor },
3185
- { type: ElementRef }
3172
+ { type: FocusMonitor }
3186
3173
  ];
3187
3174
  CheckboxComponent.propDecorators = {
3188
3175
  name: [{ type: Input }],
3189
3176
  type: [{ type: Input }],
3190
- label: [{ type: HostBinding, args: ['attr.data-test',] }, { type: Input }],
3177
+ label: [{ type: Input }],
3191
3178
  indeterminate: [{ type: Input }],
3192
3179
  elRef: [{ type: ViewChild, args: ['elRef', { static: true },] }]
3193
3180
  };
@@ -3217,11 +3204,6 @@ class InputComponent {
3217
3204
  this.renderer.addClass(this.elementRef.nativeElement, 'aui-input');
3218
3205
  this.renderer.addClass(this.elementRef.nativeElement, 'aui-input--' + this.size);
3219
3206
  }
3220
- get testId() {
3221
- return (this.elementRef.nativeElement.getAttribute('formcontrolname') ||
3222
- this.elementRef.nativeElement.getAttribute('name') ||
3223
- 'aui-input');
3224
- }
3225
3207
  get size() {
3226
3208
  return this._size;
3227
3209
  }
@@ -3268,7 +3250,6 @@ InputComponent.ctorParameters = () => [
3268
3250
  { type: Renderer2 }
3269
3251
  ];
3270
3252
  InputComponent.propDecorators = {
3271
- testId: [{ type: HostBinding, args: ['attr.data-test',] }],
3272
3253
  size: [{ type: Input }],
3273
3254
  disabled: [{ type: Input }]
3274
3255
  };
@@ -3444,8 +3425,8 @@ function createWithMaxRowCount(component) {
3444
3425
 
3445
3426
  const INPUT_ERROR_KEY = 'input_data_error';
3446
3427
  class TagsInputComponent extends CommonFormControl {
3447
- constructor(cdr, fb, renderer, injector, elementRef) {
3448
- super(cdr, elementRef);
3428
+ constructor(cdr, fb, renderer, injector) {
3429
+ super(cdr);
3449
3430
  this.fb = fb;
3450
3431
  this.renderer = renderer;
3451
3432
  this.injector = injector;
@@ -3668,8 +3649,7 @@ TagsInputComponent.ctorParameters = () => [
3668
3649
  { type: ChangeDetectorRef },
3669
3650
  { type: FormBuilder },
3670
3651
  { type: Renderer2 },
3671
- { type: Injector },
3672
- { type: ElementRef }
3652
+ { type: Injector }
3673
3653
  ];
3674
3654
  TagsInputComponent.propDecorators = {
3675
3655
  placeholder: [{ type: Input }],
@@ -4405,7 +4385,7 @@ class DropdownButtonComponent {
4405
4385
  DropdownButtonComponent.decorators = [
4406
4386
  { type: Component, args: [{
4407
4387
  selector: 'aui-dropdown-button',
4408
- 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",
4388
+ 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",
4409
4389
  changeDetection: ChangeDetectionStrategy.OnPush,
4410
4390
  encapsulation: ViewEncapsulation.None,
4411
4391
  preserveWhitespaces: false,
@@ -4569,9 +4549,6 @@ class OptionComponent {
4569
4549
  this._label = val;
4570
4550
  this.label$$.next(val);
4571
4551
  }
4572
- get testId() {
4573
- return 'AUI-OPTION/' + (this.label || this.value);
4574
- }
4575
4552
  get labelContext() {
4576
4553
  return this._labelContext;
4577
4554
  }
@@ -4626,7 +4603,6 @@ OptionComponent.ctorParameters = () => [
4626
4603
  ];
4627
4604
  OptionComponent.propDecorators = {
4628
4605
  label: [{ type: Input }],
4629
- testId: [{ type: HostBinding, args: ['attr.data-test',] }],
4630
4606
  labelContext: [{ type: Input }],
4631
4607
  value: [{ type: Input }],
4632
4608
  disabled: [{ type: Input }],
@@ -4943,8 +4919,8 @@ var SelectAllStatus;
4943
4919
  })(SelectAllStatus || (SelectAllStatus = {}));
4944
4920
 
4945
4921
  class MultiSelectComponent extends BaseSelect {
4946
- constructor(cdr, renderer, elementRef) {
4947
- super(cdr, elementRef);
4922
+ constructor(cdr, renderer) {
4923
+ super(cdr);
4948
4924
  this.renderer = renderer;
4949
4925
  this.bem = buildBem('aui-multi-select');
4950
4926
  this.bemSelectAll = buildBem('aui-option');
@@ -5176,7 +5152,7 @@ class MultiSelectComponent extends BaseSelect {
5176
5152
  MultiSelectComponent.decorators = [
5177
5153
  { type: Component, args: [{
5178
5154
  selector: 'aui-multi-select',
5179
- 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",
5155
+ 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",
5180
5156
  changeDetection: ChangeDetectionStrategy.OnPush,
5181
5157
  encapsulation: ViewEncapsulation.None,
5182
5158
  preserveWhitespaces: false,
@@ -5196,8 +5172,7 @@ MultiSelectComponent.decorators = [
5196
5172
  ];
5197
5173
  MultiSelectComponent.ctorParameters = () => [
5198
5174
  { type: ChangeDetectorRef },
5199
- { type: Renderer2 },
5200
- { type: ElementRef }
5175
+ { type: Renderer2 }
5201
5176
  ];
5202
5177
  MultiSelectComponent.propDecorators = {
5203
5178
  tagClassFn: [{ type: Input }],
@@ -5309,7 +5284,7 @@ class SelectComponent extends BaseSelect {
5309
5284
  SelectComponent.decorators = [
5310
5285
  { type: Component, args: [{
5311
5286
  selector: 'aui-select',
5312
- 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",
5287
+ 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",
5313
5288
  changeDetection: ChangeDetectionStrategy.OnPush,
5314
5289
  encapsulation: ViewEncapsulation.None,
5315
5290
  preserveWhitespaces: false,
@@ -5560,7 +5535,7 @@ PaginatorComponent.decorators = [
5560
5535
  changeDetection: ChangeDetectionStrategy.OnPush,
5561
5536
  encapsulation: ViewEncapsulation.None,
5562
5537
  preserveWhitespaces: false,
5563
- 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)}"]
5538
+ 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)}"]
5564
5539
  },] }
5565
5540
  ];
5566
5541
  PaginatorComponent.ctorParameters = () => [
@@ -9276,8 +9251,8 @@ const CONTROL_ITEM_HEIGHT = 28;
9276
9251
  const TIME_PICKER_COLUMN_WIDTH = 80;
9277
9252
  const bem$3 = buildBem('aui-time-picker-panel');
9278
9253
  class TimePickerPanelComponent extends CommonFormControl {
9279
- constructor(cdr, elementRef) {
9280
- super(cdr, elementRef);
9254
+ constructor(cdr) {
9255
+ super(cdr);
9281
9256
  this.cdr = cdr;
9282
9257
  this.hourStep = 1;
9283
9258
  this.minuteStep = 1;
@@ -9459,8 +9434,7 @@ TimePickerPanelComponent.decorators = [
9459
9434
  },] }
9460
9435
  ];
9461
9436
  TimePickerPanelComponent.ctorParameters = () => [
9462
- { type: ChangeDetectorRef },
9463
- { type: ElementRef }
9437
+ { type: ChangeDetectorRef }
9464
9438
  ];
9465
9439
  TimePickerPanelComponent.propDecorators = {
9466
9440
  format: [{ type: Input }],