@alauda/ui 6.2.1-beta.4 → 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 +21 -71
- 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/button/button.component.d.ts +0 -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.js +2 -6
- package/esm2015/button/button.component.ngfactory.js +3 -3
- package/esm2015/button/button.component.ngsummary.json +1 -1
- 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 +6 -6
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngsummary.json +1 -1
- package/esm2015/date-picker/calendar/footer/component.ngfactory.js +5 -5
- package/esm2015/date-picker/calendar/header/component.ngfactory.js +9 -9
- package/esm2015/date-picker/calendar/panel/picker-panel.ngfactory.js +3 -3
- 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 +5 -5
- package/esm2015/dialog/dialog-content/dialog-header.component.ngfactory.js +2 -2
- package/esm2015/dialog/dialog.component.js +2 -2
- package/esm2015/dialog/dialog.component.ngfactory.js +2 -2
- package/esm2015/drawer/component/drawer.component.ngfactory.js +2 -2
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.js +2 -2
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngfactory.js +3 -3
- 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 -8
- 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 +6 -6
- 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 +18 -18
- 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 +5 -5
- 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 +22 -52
- 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 }],
|
|
@@ -1086,9 +1086,6 @@ class ButtonComponent {
|
|
|
1086
1086
|
this.renderer.addClass(this.el.nativeElement, prefix + this.size);
|
|
1087
1087
|
this.focusMonitor.monitor(this.el.nativeElement, false);
|
|
1088
1088
|
}
|
|
1089
|
-
get testId() {
|
|
1090
|
-
return this.el.nativeElement.textContent;
|
|
1091
|
-
}
|
|
1092
1089
|
get type() {
|
|
1093
1090
|
return this._type;
|
|
1094
1091
|
}
|
|
@@ -1184,7 +1181,6 @@ ButtonComponent.ctorParameters = () => [
|
|
|
1184
1181
|
{ type: FocusMonitor }
|
|
1185
1182
|
];
|
|
1186
1183
|
ButtonComponent.propDecorators = {
|
|
1187
|
-
testId: [{ type: HostBinding, args: ['attr.data-test',] }],
|
|
1188
1184
|
type: [{ type: Input, args: ['aui-button',] }],
|
|
1189
1185
|
size: [{ type: Input }],
|
|
1190
1186
|
plain: [{ type: Input }],
|
|
@@ -2161,7 +2157,7 @@ class DialogComponent {
|
|
|
2161
2157
|
DialogComponent.decorators = [
|
|
2162
2158
|
{ type: Component, args: [{
|
|
2163
2159
|
selector: 'aui-dialog',
|
|
2164
|
-
template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\"
|
|
2160
|
+
template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
|
|
2165
2161
|
encapsulation: ViewEncapsulation.None,
|
|
2166
2162
|
// tslint:disable-next-line:validate-decorators
|
|
2167
2163
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
@@ -2681,9 +2677,8 @@ FormModule.decorators = [
|
|
|
2681
2677
|
*/
|
|
2682
2678
|
// tslint:disable-next-line:directive-class-suffix
|
|
2683
2679
|
class CommonFormControl {
|
|
2684
|
-
constructor(cdr
|
|
2680
|
+
constructor(cdr) {
|
|
2685
2681
|
this.cdr = cdr;
|
|
2686
|
-
this.elementRef = elementRef;
|
|
2687
2682
|
this.valueChange = new EventEmitter();
|
|
2688
2683
|
this.value$$ = new ReplaySubject(1);
|
|
2689
2684
|
this._disabled = false;
|
|
@@ -2698,11 +2693,6 @@ class CommonFormControl {
|
|
|
2698
2693
|
set disabled(val) {
|
|
2699
2694
|
this._disabled = coerceAttrBoolean(val);
|
|
2700
2695
|
}
|
|
2701
|
-
get testId() {
|
|
2702
|
-
return ('AUI-FORM-CONTROL/' +
|
|
2703
|
-
(this.elementRef.nativeElement.getAttribute('formControlName') ||
|
|
2704
|
-
this.elementRef.nativeElement.getAttribute('name')));
|
|
2705
|
-
}
|
|
2706
2696
|
get readonly() {
|
|
2707
2697
|
return this.disabled;
|
|
2708
2698
|
}
|
|
@@ -2753,12 +2743,10 @@ CommonFormControl.decorators = [
|
|
|
2753
2743
|
{ type: Directive }
|
|
2754
2744
|
];
|
|
2755
2745
|
CommonFormControl.ctorParameters = () => [
|
|
2756
|
-
{ type: ChangeDetectorRef }
|
|
2757
|
-
{ type: ElementRef }
|
|
2746
|
+
{ type: ChangeDetectorRef }
|
|
2758
2747
|
];
|
|
2759
2748
|
CommonFormControl.propDecorators = {
|
|
2760
2749
|
disabled: [{ type: Input }],
|
|
2761
|
-
testId: [{ type: HostBinding, args: ['attr.data-test',] }],
|
|
2762
2750
|
readonly: [{ type: Input }],
|
|
2763
2751
|
propValue: [{ type: Input, args: ['value',] }],
|
|
2764
2752
|
valueChange: [{ type: Output }]
|
|
@@ -2864,9 +2852,6 @@ class BaseRadio {
|
|
|
2864
2852
|
this._value = val;
|
|
2865
2853
|
this.value$$.next(val);
|
|
2866
2854
|
}
|
|
2867
|
-
get _testId() {
|
|
2868
|
-
return 'RADIO/' + this.value;
|
|
2869
|
-
}
|
|
2870
2855
|
ngOnInit() {
|
|
2871
2856
|
this.radioGroup.name$.pipe(takeUntil(this.destroy$$)).subscribe(name => {
|
|
2872
2857
|
this.name = name;
|
|
@@ -2907,7 +2892,6 @@ BaseRadio.ctorParameters = () => [
|
|
|
2907
2892
|
BaseRadio.propDecorators = {
|
|
2908
2893
|
disabled: [{ type: Input }],
|
|
2909
2894
|
value: [{ type: Input }],
|
|
2910
|
-
_testId: [{ type: HostBinding, args: ['attr.data-test',] }],
|
|
2911
2895
|
elRef: [{ type: ViewChild, args: ['elRef', { static: true },] }]
|
|
2912
2896
|
};
|
|
2913
2897
|
|
|
@@ -3099,8 +3083,8 @@ CheckboxGroupComponent.propDecorators = {
|
|
|
3099
3083
|
|
|
3100
3084
|
let uniqueId$2 = 0;
|
|
3101
3085
|
class CheckboxComponent extends CommonFormControl {
|
|
3102
|
-
constructor(cdr, checkboxGroup, focusMonitor
|
|
3103
|
-
super(cdr
|
|
3086
|
+
constructor(cdr, checkboxGroup, focusMonitor) {
|
|
3087
|
+
super(cdr);
|
|
3104
3088
|
this.focusMonitor = focusMonitor;
|
|
3105
3089
|
this.id = `aui-checkbox-${uniqueId$2++}`;
|
|
3106
3090
|
this.name = '';
|
|
@@ -3185,13 +3169,12 @@ CheckboxComponent.decorators = [
|
|
|
3185
3169
|
CheckboxComponent.ctorParameters = () => [
|
|
3186
3170
|
{ type: ChangeDetectorRef },
|
|
3187
3171
|
{ type: CheckboxGroupComponent, decorators: [{ type: Optional }, { type: Inject, args: [forwardRef(() => CheckboxGroupComponent),] }] },
|
|
3188
|
-
{ type: FocusMonitor }
|
|
3189
|
-
{ type: ElementRef }
|
|
3172
|
+
{ type: FocusMonitor }
|
|
3190
3173
|
];
|
|
3191
3174
|
CheckboxComponent.propDecorators = {
|
|
3192
3175
|
name: [{ type: Input }],
|
|
3193
3176
|
type: [{ type: Input }],
|
|
3194
|
-
label: [{ type:
|
|
3177
|
+
label: [{ type: Input }],
|
|
3195
3178
|
indeterminate: [{ type: Input }],
|
|
3196
3179
|
elRef: [{ type: ViewChild, args: ['elRef', { static: true },] }]
|
|
3197
3180
|
};
|
|
@@ -3221,11 +3204,6 @@ class InputComponent {
|
|
|
3221
3204
|
this.renderer.addClass(this.elementRef.nativeElement, 'aui-input');
|
|
3222
3205
|
this.renderer.addClass(this.elementRef.nativeElement, 'aui-input--' + this.size);
|
|
3223
3206
|
}
|
|
3224
|
-
get testId() {
|
|
3225
|
-
return (this.elementRef.nativeElement.getAttribute('formcontrolname') ||
|
|
3226
|
-
this.elementRef.nativeElement.getAttribute('name') ||
|
|
3227
|
-
'aui-input');
|
|
3228
|
-
}
|
|
3229
3207
|
get size() {
|
|
3230
3208
|
return this._size;
|
|
3231
3209
|
}
|
|
@@ -3272,7 +3250,6 @@ InputComponent.ctorParameters = () => [
|
|
|
3272
3250
|
{ type: Renderer2 }
|
|
3273
3251
|
];
|
|
3274
3252
|
InputComponent.propDecorators = {
|
|
3275
|
-
testId: [{ type: HostBinding, args: ['attr.data-test',] }],
|
|
3276
3253
|
size: [{ type: Input }],
|
|
3277
3254
|
disabled: [{ type: Input }]
|
|
3278
3255
|
};
|
|
@@ -3448,8 +3425,8 @@ function createWithMaxRowCount(component) {
|
|
|
3448
3425
|
|
|
3449
3426
|
const INPUT_ERROR_KEY = 'input_data_error';
|
|
3450
3427
|
class TagsInputComponent extends CommonFormControl {
|
|
3451
|
-
constructor(cdr, fb, renderer, injector
|
|
3452
|
-
super(cdr
|
|
3428
|
+
constructor(cdr, fb, renderer, injector) {
|
|
3429
|
+
super(cdr);
|
|
3453
3430
|
this.fb = fb;
|
|
3454
3431
|
this.renderer = renderer;
|
|
3455
3432
|
this.injector = injector;
|
|
@@ -3672,8 +3649,7 @@ TagsInputComponent.ctorParameters = () => [
|
|
|
3672
3649
|
{ type: ChangeDetectorRef },
|
|
3673
3650
|
{ type: FormBuilder },
|
|
3674
3651
|
{ type: Renderer2 },
|
|
3675
|
-
{ type: Injector }
|
|
3676
|
-
{ type: ElementRef }
|
|
3652
|
+
{ type: Injector }
|
|
3677
3653
|
];
|
|
3678
3654
|
TagsInputComponent.propDecorators = {
|
|
3679
3655
|
placeholder: [{ type: Input }],
|
|
@@ -4409,7 +4385,7 @@ class DropdownButtonComponent {
|
|
|
4409
4385
|
DropdownButtonComponent.decorators = [
|
|
4410
4386
|
{ type: Component, args: [{
|
|
4411
4387
|
selector: 'aui-dropdown-button',
|
|
4412
|
-
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
|
|
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",
|
|
4413
4389
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4414
4390
|
encapsulation: ViewEncapsulation.None,
|
|
4415
4391
|
preserveWhitespaces: false,
|
|
@@ -4573,9 +4549,6 @@ class OptionComponent {
|
|
|
4573
4549
|
this._label = val;
|
|
4574
4550
|
this.label$$.next(val);
|
|
4575
4551
|
}
|
|
4576
|
-
get testId() {
|
|
4577
|
-
return 'AUI-OPTION/' + (this.label || this.value);
|
|
4578
|
-
}
|
|
4579
4552
|
get labelContext() {
|
|
4580
4553
|
return this._labelContext;
|
|
4581
4554
|
}
|
|
@@ -4630,7 +4603,6 @@ OptionComponent.ctorParameters = () => [
|
|
|
4630
4603
|
];
|
|
4631
4604
|
OptionComponent.propDecorators = {
|
|
4632
4605
|
label: [{ type: Input }],
|
|
4633
|
-
testId: [{ type: HostBinding, args: ['attr.data-test',] }],
|
|
4634
4606
|
labelContext: [{ type: Input }],
|
|
4635
4607
|
value: [{ type: Input }],
|
|
4636
4608
|
disabled: [{ type: Input }],
|
|
@@ -4947,8 +4919,8 @@ var SelectAllStatus;
|
|
|
4947
4919
|
})(SelectAllStatus || (SelectAllStatus = {}));
|
|
4948
4920
|
|
|
4949
4921
|
class MultiSelectComponent extends BaseSelect {
|
|
4950
|
-
constructor(cdr, renderer
|
|
4951
|
-
super(cdr
|
|
4922
|
+
constructor(cdr, renderer) {
|
|
4923
|
+
super(cdr);
|
|
4952
4924
|
this.renderer = renderer;
|
|
4953
4925
|
this.bem = buildBem('aui-multi-select');
|
|
4954
4926
|
this.bemSelectAll = buildBem('aui-option');
|
|
@@ -5180,7 +5152,7 @@ class MultiSelectComponent extends BaseSelect {
|
|
|
5180
5152
|
MultiSelectComponent.decorators = [
|
|
5181
5153
|
{ type: Component, args: [{
|
|
5182
5154
|
selector: 'aui-multi-select',
|
|
5183
|
-
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",
|
|
5184
5156
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5185
5157
|
encapsulation: ViewEncapsulation.None,
|
|
5186
5158
|
preserveWhitespaces: false,
|
|
@@ -5200,8 +5172,7 @@ MultiSelectComponent.decorators = [
|
|
|
5200
5172
|
];
|
|
5201
5173
|
MultiSelectComponent.ctorParameters = () => [
|
|
5202
5174
|
{ type: ChangeDetectorRef },
|
|
5203
|
-
{ type: Renderer2 }
|
|
5204
|
-
{ type: ElementRef }
|
|
5175
|
+
{ type: Renderer2 }
|
|
5205
5176
|
];
|
|
5206
5177
|
MultiSelectComponent.propDecorators = {
|
|
5207
5178
|
tagClassFn: [{ type: Input }],
|
|
@@ -5313,7 +5284,7 @@ class SelectComponent extends BaseSelect {
|
|
|
5313
5284
|
SelectComponent.decorators = [
|
|
5314
5285
|
{ type: Component, args: [{
|
|
5315
5286
|
selector: 'aui-select',
|
|
5316
|
-
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",
|
|
5317
5288
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5318
5289
|
encapsulation: ViewEncapsulation.None,
|
|
5319
5290
|
preserveWhitespaces: false,
|
|
@@ -5564,7 +5535,7 @@ PaginatorComponent.decorators = [
|
|
|
5564
5535
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
5565
5536
|
encapsulation: ViewEncapsulation.None,
|
|
5566
5537
|
preserveWhitespaces: false,
|
|
5567
|
-
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)}"]
|
|
5568
5539
|
},] }
|
|
5569
5540
|
];
|
|
5570
5541
|
PaginatorComponent.ctorParameters = () => [
|
|
@@ -9280,8 +9251,8 @@ const CONTROL_ITEM_HEIGHT = 28;
|
|
|
9280
9251
|
const TIME_PICKER_COLUMN_WIDTH = 80;
|
|
9281
9252
|
const bem$3 = buildBem('aui-time-picker-panel');
|
|
9282
9253
|
class TimePickerPanelComponent extends CommonFormControl {
|
|
9283
|
-
constructor(cdr
|
|
9284
|
-
super(cdr
|
|
9254
|
+
constructor(cdr) {
|
|
9255
|
+
super(cdr);
|
|
9285
9256
|
this.cdr = cdr;
|
|
9286
9257
|
this.hourStep = 1;
|
|
9287
9258
|
this.minuteStep = 1;
|
|
@@ -9463,8 +9434,7 @@ TimePickerPanelComponent.decorators = [
|
|
|
9463
9434
|
},] }
|
|
9464
9435
|
];
|
|
9465
9436
|
TimePickerPanelComponent.ctorParameters = () => [
|
|
9466
|
-
{ type: ChangeDetectorRef }
|
|
9467
|
-
{ type: ElementRef }
|
|
9437
|
+
{ type: ChangeDetectorRef }
|
|
9468
9438
|
];
|
|
9469
9439
|
TimePickerPanelComponent.propDecorators = {
|
|
9470
9440
|
format: [{ type: Input }],
|