@alauda/ui 6.2.1-beta.1 → 6.2.1-beta.5
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.
- package/alauda-ui.metadata.json +1 -1
- package/bundles/alauda-ui.umd.js +19 -59
- package/bundles/alauda-ui.umd.js.map +1 -1
- package/bundles/alauda-ui.umd.min.js +1 -1
- package/bundles/alauda-ui.umd.min.js.map +1 -1
- package/checkbox/checkbox.component.d.ts +1 -1
- package/esm2015/accordion/accordion-item/accordion-item.component.ngfactory.js +2 -2
- package/esm2015/back-top/back-top.component.ngfactory.js +2 -2
- package/esm2015/breadcrumb/breadcrumb-item.component.ngfactory.js +2 -2
- package/esm2015/button/button.component.ngfactory.js +2 -2
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngfactory.js +1 -1
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngsummary.json +1 -1
- package/esm2015/checkbox/checkbox.component.js +6 -7
- package/esm2015/checkbox/checkbox.component.ngfactory.js +3 -3
- package/esm2015/checkbox/checkbox.component.ngsummary.json +1 -1
- package/esm2015/color-picker/color-picker.component.ngfactory.js +1 -1
- package/esm2015/color-picker/color-picker.component.ngsummary.json +1 -1
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +4 -4
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngsummary.json +1 -1
- package/esm2015/date-picker/calendar/header/component.ngfactory.js +5 -5
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngfactory.js +5 -5
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngsummary.json +1 -1
- package/esm2015/date-picker/date-picker/date-picker.component.ngfactory.js +4 -4
- package/esm2015/date-picker/date-picker/date-picker.component.ngsummary.json +1 -1
- package/esm2015/date-picker/range-picker/range-picker.component.ngfactory.js +4 -4
- package/esm2015/date-picker/range-picker/range-picker.component.ngsummary.json +1 -1
- package/esm2015/date-picker/trigger/trigger.component.ngfactory.js +9 -9
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngfactory.js +3 -3
- package/esm2015/dialog/dialog-content/dialog-header.component.ngfactory.js +2 -2
- package/esm2015/drawer/component/drawer.component.ngfactory.js +2 -2
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngfactory.js +2 -2
- package/esm2015/dropdown/submenu/submenu.component.ngfactory.js +2 -2
- package/esm2015/form/common-form.js +4 -12
- package/esm2015/form/common-form.ngsummary.json +1 -1
- package/esm2015/icon/icon.component.js +3 -3
- package/esm2015/icon/icon.component.ngfactory.js +1 -1
- package/esm2015/icon/icon.component.ngsummary.json +1 -1
- package/esm2015/inline-alert/inline-alert.component.ngfactory.js +4 -4
- package/esm2015/input/input.component.js +2 -6
- package/esm2015/input/input.component.ngfactory.js +1 -1
- package/esm2015/input/input.component.ngsummary.json +1 -1
- package/esm2015/input/number-input/number-input.component.ngfactory.js +4 -4
- package/esm2015/input/number-input/number-input.component.ngsummary.json +1 -1
- package/esm2015/input/search/search.component.ngfactory.js +6 -6
- package/esm2015/input/tags-input/tags-input.component.js +4 -5
- package/esm2015/input/tags-input/tags-input.component.ngfactory.js +1 -1
- package/esm2015/input/tags-input/tags-input.component.ngsummary.json +1 -1
- package/esm2015/message/message.component.ngfactory.js +2 -2
- package/esm2015/notification/notification.component.ngfactory.js +3 -3
- package/esm2015/paginator/paginator.component.js +1 -1
- package/esm2015/paginator/paginator.component.ngfactory.js +10 -10
- package/esm2015/paginator/paginator.component.scss.ngstyle.js +1 -1
- package/esm2015/radio/base-radio.js +2 -6
- package/esm2015/radio/base-radio.ngsummary.json +1 -1
- package/esm2015/radio/radio-button/radio-button.component.ngfactory.js +3 -3
- package/esm2015/radio/radio-button/radio-button.component.ngsummary.json +1 -1
- package/esm2015/radio/radio-group/radio-group.component.ngfactory.js +1 -1
- package/esm2015/radio/radio-group/radio-group.component.ngsummary.json +1 -1
- package/esm2015/radio/radio.component.ngfactory.js +1 -1
- package/esm2015/radio/radio.component.ngsummary.json +1 -1
- package/esm2015/select/multi-select/multi-select.component.js +5 -6
- package/esm2015/select/multi-select/multi-select.component.ngfactory.js +7 -7
- package/esm2015/select/multi-select/multi-select.component.ngsummary.json +1 -1
- package/esm2015/select/option/option.component.js +2 -6
- package/esm2015/select/option/option.component.ngfactory.js +3 -3
- package/esm2015/select/option/option.component.ngsummary.json +1 -1
- package/esm2015/select/select.component.js +2 -2
- package/esm2015/select/select.component.ngfactory.js +7 -7
- package/esm2015/select/select.component.ngsummary.json +1 -1
- package/esm2015/steps/steps.component.ngfactory.js +3 -3
- package/esm2015/switch/switch.component.ngfactory.js +1 -1
- package/esm2015/switch/switch.component.ngsummary.json +1 -1
- package/esm2015/table/table-cell.component.ngfactory.js +2 -2
- package/esm2015/tabs/tab-group.component.ngfactory.js +3 -3
- package/esm2015/tabs/tab-header.component.ngfactory.js +3 -3
- package/esm2015/tag/tag.component.ngfactory.js +3 -3
- package/esm2015/time-picker/component.ngfactory.js +8 -8
- package/esm2015/time-picker/component.ngsummary.json +1 -1
- package/esm2015/time-picker/panel/panel.component.js +4 -5
- package/esm2015/time-picker/panel/panel.component.ngfactory.js +1 -1
- package/esm2015/time-picker/panel/panel.component.ngsummary.json +1 -1
- package/esm2015/tree-select/tree-node/tree-node.component.ngfactory.js +4 -4
- package/esm2015/tree-select/tree-select.component.ngfactory.js +5 -5
- package/esm2015/tree-select/tree-select.component.ngsummary.json +1 -1
- package/fesm2015/alauda-ui.js +20 -44
- package/fesm2015/alauda-ui.js.map +1 -1
- package/form/common-form.d.ts +2 -4
- package/input/input.component.d.ts +0 -1
- package/input/tags-input/tags-input.component.d.ts +1 -1
- package/package.json +1 -1
- package/radio/base-radio.d.ts +0 -1
- package/select/multi-select/multi-select.component.d.ts +1 -1
- package/select/option/option.component.d.ts +0 -1
- package/time-picker/panel/panel.component.d.ts +1 -1
package/fesm2015/alauda-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TemplateRef, ɵɵdefineInjectable, Injectable, Pipe, ChangeDetectorRef, NgModule, Optional, Inject, SkipSelf, Component, ViewEncapsulation, ChangeDetectionStrategy,
|
|
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:
|
|
355
|
+
icon: [{ type: Input }],
|
|
356
356
|
light: [{ type: Input }],
|
|
357
357
|
dark: [{ type: Input }],
|
|
358
358
|
link: [{ type: Input }],
|
|
@@ -2677,9 +2677,8 @@ FormModule.decorators = [
|
|
|
2677
2677
|
*/
|
|
2678
2678
|
// tslint:disable-next-line:directive-class-suffix
|
|
2679
2679
|
class CommonFormControl {
|
|
2680
|
-
constructor(cdr
|
|
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
|
|
3099
|
-
super(cdr
|
|
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:
|
|
3177
|
+
label: [{ type: Input }],
|
|
3191
3178
|
indeterminate: [{ type: Input }],
|
|
3192
3179
|
elRef: [{ type: ViewChild, args: ['elRef', { static: true },] }]
|
|
3193
3180
|
};
|
|
@@ -3217,9 +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('name') || 'aui-input';
|
|
3222
|
-
}
|
|
3223
3207
|
get size() {
|
|
3224
3208
|
return this._size;
|
|
3225
3209
|
}
|
|
@@ -3266,7 +3250,6 @@ InputComponent.ctorParameters = () => [
|
|
|
3266
3250
|
{ type: Renderer2 }
|
|
3267
3251
|
];
|
|
3268
3252
|
InputComponent.propDecorators = {
|
|
3269
|
-
testId: [{ type: HostBinding, args: ['attr.data-test',] }],
|
|
3270
3253
|
size: [{ type: Input }],
|
|
3271
3254
|
disabled: [{ type: Input }]
|
|
3272
3255
|
};
|
|
@@ -3442,8 +3425,8 @@ function createWithMaxRowCount(component) {
|
|
|
3442
3425
|
|
|
3443
3426
|
const INPUT_ERROR_KEY = 'input_data_error';
|
|
3444
3427
|
class TagsInputComponent extends CommonFormControl {
|
|
3445
|
-
constructor(cdr, fb, renderer, injector
|
|
3446
|
-
super(cdr
|
|
3428
|
+
constructor(cdr, fb, renderer, injector) {
|
|
3429
|
+
super(cdr);
|
|
3447
3430
|
this.fb = fb;
|
|
3448
3431
|
this.renderer = renderer;
|
|
3449
3432
|
this.injector = injector;
|
|
@@ -3666,8 +3649,7 @@ TagsInputComponent.ctorParameters = () => [
|
|
|
3666
3649
|
{ type: ChangeDetectorRef },
|
|
3667
3650
|
{ type: FormBuilder },
|
|
3668
3651
|
{ type: Renderer2 },
|
|
3669
|
-
{ type: Injector }
|
|
3670
|
-
{ type: ElementRef }
|
|
3652
|
+
{ type: Injector }
|
|
3671
3653
|
];
|
|
3672
3654
|
TagsInputComponent.propDecorators = {
|
|
3673
3655
|
placeholder: [{ type: Input }],
|
|
@@ -4567,9 +4549,6 @@ class OptionComponent {
|
|
|
4567
4549
|
this._label = val;
|
|
4568
4550
|
this.label$$.next(val);
|
|
4569
4551
|
}
|
|
4570
|
-
get testId() {
|
|
4571
|
-
return 'AUI-OPTION/' + (this.label || this.value);
|
|
4572
|
-
}
|
|
4573
4552
|
get labelContext() {
|
|
4574
4553
|
return this._labelContext;
|
|
4575
4554
|
}
|
|
@@ -4624,7 +4603,6 @@ OptionComponent.ctorParameters = () => [
|
|
|
4624
4603
|
];
|
|
4625
4604
|
OptionComponent.propDecorators = {
|
|
4626
4605
|
label: [{ type: Input }],
|
|
4627
|
-
testId: [{ type: HostBinding, args: ['attr.data-test',] }],
|
|
4628
4606
|
labelContext: [{ type: Input }],
|
|
4629
4607
|
value: [{ type: Input }],
|
|
4630
4608
|
disabled: [{ type: Input }],
|
|
@@ -4941,8 +4919,8 @@ var SelectAllStatus;
|
|
|
4941
4919
|
})(SelectAllStatus || (SelectAllStatus = {}));
|
|
4942
4920
|
|
|
4943
4921
|
class MultiSelectComponent extends BaseSelect {
|
|
4944
|
-
constructor(cdr, renderer
|
|
4945
|
-
super(cdr
|
|
4922
|
+
constructor(cdr, renderer) {
|
|
4923
|
+
super(cdr);
|
|
4946
4924
|
this.renderer = renderer;
|
|
4947
4925
|
this.bem = buildBem('aui-multi-select');
|
|
4948
4926
|
this.bemSelectAll = buildBem('aui-option');
|
|
@@ -5174,7 +5152,7 @@ class MultiSelectComponent extends BaseSelect {
|
|
|
5174
5152
|
MultiSelectComponent.decorators = [
|
|
5175
5153
|
{ type: Component, args: [{
|
|
5176
5154
|
selector: 'aui-multi-select',
|
|
5177
|
-
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
|
|
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",
|
|
5178
5156
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5179
5157
|
encapsulation: ViewEncapsulation.None,
|
|
5180
5158
|
preserveWhitespaces: false,
|
|
@@ -5194,8 +5172,7 @@ MultiSelectComponent.decorators = [
|
|
|
5194
5172
|
];
|
|
5195
5173
|
MultiSelectComponent.ctorParameters = () => [
|
|
5196
5174
|
{ type: ChangeDetectorRef },
|
|
5197
|
-
{ type: Renderer2 }
|
|
5198
|
-
{ type: ElementRef }
|
|
5175
|
+
{ type: Renderer2 }
|
|
5199
5176
|
];
|
|
5200
5177
|
MultiSelectComponent.propDecorators = {
|
|
5201
5178
|
tagClassFn: [{ type: Input }],
|
|
@@ -5307,7 +5284,7 @@ class SelectComponent extends BaseSelect {
|
|
|
5307
5284
|
SelectComponent.decorators = [
|
|
5308
5285
|
{ type: Component, args: [{
|
|
5309
5286
|
selector: 'aui-select',
|
|
5310
|
-
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
|
|
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",
|
|
5311
5288
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5312
5289
|
encapsulation: ViewEncapsulation.None,
|
|
5313
5290
|
preserveWhitespaces: false,
|
|
@@ -5558,7 +5535,7 @@ PaginatorComponent.decorators = [
|
|
|
5558
5535
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5559
5536
|
encapsulation: ViewEncapsulation.None,
|
|
5560
5537
|
preserveWhitespaces: false,
|
|
5561
|
-
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
|
|
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 .aui-button--default{background-color:transparent}.aui-paginator .aui-button .aui-button__content{padding:0}.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)}"]
|
|
5562
5539
|
},] }
|
|
5563
5540
|
];
|
|
5564
5541
|
PaginatorComponent.ctorParameters = () => [
|
|
@@ -9274,8 +9251,8 @@ const CONTROL_ITEM_HEIGHT = 28;
|
|
|
9274
9251
|
const TIME_PICKER_COLUMN_WIDTH = 80;
|
|
9275
9252
|
const bem$3 = buildBem('aui-time-picker-panel');
|
|
9276
9253
|
class TimePickerPanelComponent extends CommonFormControl {
|
|
9277
|
-
constructor(cdr
|
|
9278
|
-
super(cdr
|
|
9254
|
+
constructor(cdr) {
|
|
9255
|
+
super(cdr);
|
|
9279
9256
|
this.cdr = cdr;
|
|
9280
9257
|
this.hourStep = 1;
|
|
9281
9258
|
this.minuteStep = 1;
|
|
@@ -9457,8 +9434,7 @@ TimePickerPanelComponent.decorators = [
|
|
|
9457
9434
|
},] }
|
|
9458
9435
|
];
|
|
9459
9436
|
TimePickerPanelComponent.ctorParameters = () => [
|
|
9460
|
-
{ type: ChangeDetectorRef }
|
|
9461
|
-
{ type: ElementRef }
|
|
9437
|
+
{ type: ChangeDetectorRef }
|
|
9462
9438
|
];
|
|
9463
9439
|
TimePickerPanelComponent.propDecorators = {
|
|
9464
9440
|
format: [{ type: Input }],
|