@alauda/ui 6.2.1-beta.0 → 6.2.1-beta.1
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 +58 -18
- 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 +7 -6
- 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 +12 -4
- 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 +6 -2
- 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 +5 -4
- 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.ngfactory.js +10 -10
- package/esm2015/radio/base-radio.js +6 -2
- 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 +6 -5
- 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 +6 -2
- 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 +5 -4
- 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 +43 -19
- package/fesm2015/alauda-ui.js.map +1 -1
- package/form/common-form.d.ts +4 -2
- package/input/input.component.d.ts +1 -0
- package/input/tags-input/tags-input.component.d.ts +1 -1
- package/package.json +1 -1
- package/radio/base-radio.d.ts +1 -0
- package/select/multi-select/multi-select.component.d.ts +1 -1
- package/select/option/option.component.d.ts +1 -0
- package/time-picker/panel/panel.component.d.ts +1 -1
package/bundles/alauda-ui.umd.js
CHANGED
|
@@ -697,7 +697,7 @@
|
|
|
697
697
|
{ type: IconRegisterService }
|
|
698
698
|
]; };
|
|
699
699
|
IconComponent.propDecorators = {
|
|
700
|
-
icon: [{ type: i0.Input }],
|
|
700
|
+
icon: [{ type: i0.HostBinding, args: ['attr.data-test',] }, { type: i0.Input }],
|
|
701
701
|
light: [{ type: i0.Input }],
|
|
702
702
|
dark: [{ type: i0.Input }],
|
|
703
703
|
link: [{ type: i0.Input }],
|
|
@@ -3354,9 +3354,10 @@
|
|
|
3354
3354
|
*/
|
|
3355
3355
|
// tslint:disable-next-line:directive-class-suffix
|
|
3356
3356
|
var CommonFormControl = /** @class */ (function () {
|
|
3357
|
-
function CommonFormControl(cdr) {
|
|
3357
|
+
function CommonFormControl(cdr, elementRef) {
|
|
3358
3358
|
var _this = this;
|
|
3359
3359
|
this.cdr = cdr;
|
|
3360
|
+
this.elementRef = elementRef;
|
|
3360
3361
|
this.valueChange = new i0.EventEmitter();
|
|
3361
3362
|
this.value$$ = new rxjs.ReplaySubject(1);
|
|
3362
3363
|
this._disabled = false;
|
|
@@ -3375,6 +3376,15 @@
|
|
|
3375
3376
|
enumerable: false,
|
|
3376
3377
|
configurable: true
|
|
3377
3378
|
});
|
|
3379
|
+
Object.defineProperty(CommonFormControl.prototype, "testId", {
|
|
3380
|
+
get: function () {
|
|
3381
|
+
return ('AUI-FORM-CONTROL/' +
|
|
3382
|
+
(this.elementRef.nativeElement.getAttribute('formControlName') ||
|
|
3383
|
+
this.elementRef.nativeElement.getAttribute('name')));
|
|
3384
|
+
},
|
|
3385
|
+
enumerable: false,
|
|
3386
|
+
configurable: true
|
|
3387
|
+
});
|
|
3378
3388
|
Object.defineProperty(CommonFormControl.prototype, "readonly", {
|
|
3379
3389
|
get: function () {
|
|
3380
3390
|
return this.disabled;
|
|
@@ -3434,10 +3444,12 @@
|
|
|
3434
3444
|
{ type: i0.Directive }
|
|
3435
3445
|
];
|
|
3436
3446
|
CommonFormControl.ctorParameters = function () { return [
|
|
3437
|
-
{ type: i0.ChangeDetectorRef }
|
|
3447
|
+
{ type: i0.ChangeDetectorRef },
|
|
3448
|
+
{ type: i0.ElementRef }
|
|
3438
3449
|
]; };
|
|
3439
3450
|
CommonFormControl.propDecorators = {
|
|
3440
3451
|
disabled: [{ type: i0.Input }],
|
|
3452
|
+
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
3441
3453
|
readonly: [{ type: i0.Input }],
|
|
3442
3454
|
propValue: [{ type: i0.Input, args: ['value',] }],
|
|
3443
3455
|
valueChange: [{ type: i0.Output }]
|
|
@@ -3566,6 +3578,13 @@
|
|
|
3566
3578
|
enumerable: false,
|
|
3567
3579
|
configurable: true
|
|
3568
3580
|
});
|
|
3581
|
+
Object.defineProperty(BaseRadio.prototype, "_testId", {
|
|
3582
|
+
get: function () {
|
|
3583
|
+
return 'RADIO/' + this.value;
|
|
3584
|
+
},
|
|
3585
|
+
enumerable: false,
|
|
3586
|
+
configurable: true
|
|
3587
|
+
});
|
|
3569
3588
|
BaseRadio.prototype.ngOnInit = function () {
|
|
3570
3589
|
var _this = this;
|
|
3571
3590
|
this.radioGroup.name$.pipe(operators.takeUntil(this.destroy$$)).subscribe(function (name) {
|
|
@@ -3611,6 +3630,7 @@
|
|
|
3611
3630
|
BaseRadio.propDecorators = {
|
|
3612
3631
|
disabled: [{ type: i0.Input }],
|
|
3613
3632
|
value: [{ type: i0.Input }],
|
|
3633
|
+
_testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
3614
3634
|
elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
|
|
3615
3635
|
};
|
|
3616
3636
|
|
|
@@ -3834,8 +3854,8 @@
|
|
|
3834
3854
|
var uniqueId$2 = 0;
|
|
3835
3855
|
var CheckboxComponent = /** @class */ (function (_super) {
|
|
3836
3856
|
__extends(CheckboxComponent, _super);
|
|
3837
|
-
function CheckboxComponent(cdr, checkboxGroup, focusMonitor) {
|
|
3838
|
-
var _this = _super.call(this, cdr) || this;
|
|
3857
|
+
function CheckboxComponent(cdr, checkboxGroup, focusMonitor, elementRef) {
|
|
3858
|
+
var _this = _super.call(this, cdr, elementRef) || this;
|
|
3839
3859
|
_this.focusMonitor = focusMonitor;
|
|
3840
3860
|
_this.id = "aui-checkbox-" + uniqueId$2++;
|
|
3841
3861
|
_this.name = '';
|
|
@@ -3931,12 +3951,13 @@
|
|
|
3931
3951
|
CheckboxComponent.ctorParameters = function () { return [
|
|
3932
3952
|
{ type: i0.ChangeDetectorRef },
|
|
3933
3953
|
{ type: CheckboxGroupComponent, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [i0.forwardRef(function () { return CheckboxGroupComponent; }),] }] },
|
|
3934
|
-
{ type: a11y.FocusMonitor }
|
|
3954
|
+
{ type: a11y.FocusMonitor },
|
|
3955
|
+
{ type: i0.ElementRef }
|
|
3935
3956
|
]; };
|
|
3936
3957
|
CheckboxComponent.propDecorators = {
|
|
3937
3958
|
name: [{ type: i0.Input }],
|
|
3938
3959
|
type: [{ type: i0.Input }],
|
|
3939
|
-
label: [{ type: i0.Input }],
|
|
3960
|
+
label: [{ type: i0.HostBinding, args: ['attr.data-test',] }, { type: i0.Input }],
|
|
3940
3961
|
indeterminate: [{ type: i0.Input }],
|
|
3941
3962
|
elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
|
|
3942
3963
|
};
|
|
@@ -3969,6 +3990,13 @@
|
|
|
3969
3990
|
this.renderer.addClass(this.elementRef.nativeElement, 'aui-input');
|
|
3970
3991
|
this.renderer.addClass(this.elementRef.nativeElement, 'aui-input--' + this.size);
|
|
3971
3992
|
}
|
|
3993
|
+
Object.defineProperty(InputComponent.prototype, "testId", {
|
|
3994
|
+
get: function () {
|
|
3995
|
+
return this.elementRef.nativeElement.getAttribute('name') || 'aui-input';
|
|
3996
|
+
},
|
|
3997
|
+
enumerable: false,
|
|
3998
|
+
configurable: true
|
|
3999
|
+
});
|
|
3972
4000
|
Object.defineProperty(InputComponent.prototype, "size", {
|
|
3973
4001
|
get: function () {
|
|
3974
4002
|
return this._size;
|
|
@@ -4024,6 +4052,7 @@
|
|
|
4024
4052
|
{ type: i0.Renderer2 }
|
|
4025
4053
|
]; };
|
|
4026
4054
|
InputComponent.propDecorators = {
|
|
4055
|
+
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
4027
4056
|
size: [{ type: i0.Input }],
|
|
4028
4057
|
disabled: [{ type: i0.Input }]
|
|
4029
4058
|
};
|
|
@@ -4226,8 +4255,8 @@
|
|
|
4226
4255
|
var INPUT_ERROR_KEY = 'input_data_error';
|
|
4227
4256
|
var TagsInputComponent = /** @class */ (function (_super) {
|
|
4228
4257
|
__extends(TagsInputComponent, _super);
|
|
4229
|
-
function TagsInputComponent(cdr, fb, renderer, injector) {
|
|
4230
|
-
var _this = _super.call(this, cdr) || this;
|
|
4258
|
+
function TagsInputComponent(cdr, fb, renderer, injector, elementRef) {
|
|
4259
|
+
var _this = _super.call(this, cdr, elementRef) || this;
|
|
4231
4260
|
_this.fb = fb;
|
|
4232
4261
|
_this.renderer = renderer;
|
|
4233
4262
|
_this.injector = injector;
|
|
@@ -4486,7 +4515,8 @@
|
|
|
4486
4515
|
{ type: i0.ChangeDetectorRef },
|
|
4487
4516
|
{ type: forms.FormBuilder },
|
|
4488
4517
|
{ type: i0.Renderer2 },
|
|
4489
|
-
{ type: i0.Injector }
|
|
4518
|
+
{ type: i0.Injector },
|
|
4519
|
+
{ type: i0.ElementRef }
|
|
4490
4520
|
]; };
|
|
4491
4521
|
TagsInputComponent.propDecorators = {
|
|
4492
4522
|
placeholder: [{ type: i0.Input }],
|
|
@@ -5505,6 +5535,13 @@
|
|
|
5505
5535
|
enumerable: false,
|
|
5506
5536
|
configurable: true
|
|
5507
5537
|
});
|
|
5538
|
+
Object.defineProperty(OptionComponent.prototype, "testId", {
|
|
5539
|
+
get: function () {
|
|
5540
|
+
return 'AUI-OPTION/' + (this.label || this.value);
|
|
5541
|
+
},
|
|
5542
|
+
enumerable: false,
|
|
5543
|
+
configurable: true
|
|
5544
|
+
});
|
|
5508
5545
|
Object.defineProperty(OptionComponent.prototype, "labelContext", {
|
|
5509
5546
|
get: function () {
|
|
5510
5547
|
return this._labelContext;
|
|
@@ -5572,6 +5609,7 @@
|
|
|
5572
5609
|
]; };
|
|
5573
5610
|
OptionComponent.propDecorators = {
|
|
5574
5611
|
label: [{ type: i0.Input }],
|
|
5612
|
+
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
5575
5613
|
labelContext: [{ type: i0.Input }],
|
|
5576
5614
|
value: [{ type: i0.Input }],
|
|
5577
5615
|
disabled: [{ type: i0.Input }],
|
|
@@ -5935,8 +5973,8 @@
|
|
|
5935
5973
|
|
|
5936
5974
|
var MultiSelectComponent = /** @class */ (function (_super) {
|
|
5937
5975
|
__extends(MultiSelectComponent, _super);
|
|
5938
|
-
function MultiSelectComponent(cdr, renderer) {
|
|
5939
|
-
var _this = _super.call(this, cdr) || this;
|
|
5976
|
+
function MultiSelectComponent(cdr, renderer, elementRef) {
|
|
5977
|
+
var _this = _super.call(this, cdr, elementRef) || this;
|
|
5940
5978
|
_this.renderer = renderer;
|
|
5941
5979
|
_this.bem = buildBem('aui-multi-select');
|
|
5942
5980
|
_this.bemSelectAll = buildBem('aui-option');
|
|
@@ -6233,7 +6271,7 @@
|
|
|
6233
6271
|
MultiSelectComponent.decorators = [
|
|
6234
6272
|
{ type: i0.Component, args: [{
|
|
6235
6273
|
selector: 'aui-multi-select',
|
|
6236
|
-
template: "<div\n [class]=\"rootClass\"\n #selectRef\n #tooltipRef=\"auiTooltip\"\n [auiTooltip]=\"templateRef\"\n [auiTooltipDisabled]=\"disabled\"\n auiTooltipTrigger=\"click\"\n auiTooltipPosition=\"bottom start\"\n auiTooltipType=\"plain\"\n (auiTooltipShow)=\"onShowOptions()\"\n (auiTooltipHide)=\"onHideOptions()\"\n (mousedown)=\"$event.preventDefault()\"\n [style.max-height]=\"maxHeight\"\n>\n <div class=\"aui-multi-select__suffix\">\n <span class=\"aui-multi-select__icon-container\">\n <aui-icon\n class=\"aui-multi-select__indicator\"\n [icon]=\"loading ? 'spinner' : 'caret_down_s'\"\n ></aui-icon>\n <aui-icon\n class=\"aui-multi-select__clear\"\n icon=\"close_small\"\n (click)=\"clearValue($event)\"\n ></aui-icon>\n </span>\n </div>\n <span\n [hidden]=\"selectedValues.length || inputRef.value.length\"\n [class]=\"bem.element('placeholder')\"\n >\n {{ placeholder }}\n </span>\n <aui-tag\n *ngFor=\"let option of selectedOptions$ | async; trackBy: trackByValue\"\n type=\"info\"\n [round]=\"true\"\n [border]=\"true\"\n [size]=\"tagSize\"\n [closeable]=\"!disabled\"\n (close)=\"removeValue(option.value)\"\n [ngClass]=\"tagClassFn && tagClassFn(option.label, option.value)\"\n >\n <ng-container\n *ngIf=\"isTemplateRef(option.label); else label\"\n [ngTemplateOutlet]=\"option.label\"\n [ngTemplateOutletContext]=\"option.labelContext\"\n ></ng-container>\n <ng-template #label>\n {{ option.label }}\n </ng-template>\n </aui-tag>\n <input\n #inputRef\n autocomplete=\"off\"\n [readonly]=\"inputReadonly\"\n [class]=\"inputClass\"\n (focus)=\"onInputFocus()\"\n (blur)=\"onInputBlur()\"\n (keydown)=\"onKeyDown($event)\"\n (input)=\"onInput($event)\"\n />\n <span #inputValueMirror [class]=\"bem.element('mirror')\">\n {{ inputValue }}\n </span>\n</div>\n\n<ng-template #templateRef>\n <div\n class=\"aui-option-container\"\n [style.minWidth]=\"containerWidth\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <div #optionListRef class=\"aui-option-container__content\">\n <ng-container\n *ngIf=\"\n allowSelectAll &&\n (hasEnabledOptions$ | async) &&\n ((hasVisibleOption$ | async) ||\n (allowCreate && (customCreatedOptions$ | async).length) ||\n (allowCreate && filterString))\n \"\n >\n <div\n class=\"aui-option\"\n [class]=\"bemSelectAll.block(size$ | async)\"\n [class.isDisabled]=\"disabled\"\n [class.isSelected]=\"!!(selectAllStatus$ | async)\"\n [class.isMulti]=\"true\"\n (click)=\"onSelectAllClick()\"\n >\n <i class=\"aui-option__pointer\">\n <aui-icon\n [icon]=\"\n (selectAllStatus$ | async) === 'checked'\n ? 'check_s'\n : 'square_s'\n \"\n [hidden]=\"!(selectAllStatus$ | async)\"\n ></aui-icon>\n </i>\n {{ 'select_all' | auiI18n }}\n </div>\n <hr class=\"divider\" />\n </ng-container>\n <aui-option\n #inputtingOption\n *ngIf=\"allowCreate && filterString && !(hasMatchedOption$ | async)\"\n [value]=\"filterString\"\n >\n {{ filterString }}\n </aui-option>\n <ng-container *ngIf=\"allowCreate\">\n <aui-option\n *ngFor=\"let option of customCreatedOptions$ | async\"\n [label]=\"option.label\"\n [value]=\"option.value\"\n
|
|
6274
|
+
template: "<div\n [class]=\"rootClass\"\n #selectRef\n #tooltipRef=\"auiTooltip\"\n [auiTooltip]=\"templateRef\"\n [auiTooltipDisabled]=\"disabled\"\n auiTooltipTrigger=\"click\"\n auiTooltipPosition=\"bottom start\"\n auiTooltipType=\"plain\"\n (auiTooltipShow)=\"onShowOptions()\"\n (auiTooltipHide)=\"onHideOptions()\"\n (mousedown)=\"$event.preventDefault()\"\n [style.max-height]=\"maxHeight\"\n>\n <div class=\"aui-multi-select__suffix\">\n <span class=\"aui-multi-select__icon-container\">\n <aui-icon\n class=\"aui-multi-select__indicator\"\n [icon]=\"loading ? 'spinner' : 'caret_down_s'\"\n ></aui-icon>\n <aui-icon\n class=\"aui-multi-select__clear\"\n icon=\"close_small\"\n (click)=\"clearValue($event)\"\n ></aui-icon>\n </span>\n </div>\n <span\n [hidden]=\"selectedValues.length || inputRef.value.length\"\n [class]=\"bem.element('placeholder')\"\n >\n {{ placeholder }}\n </span>\n <aui-tag\n *ngFor=\"let option of selectedOptions$ | async; trackBy: trackByValue\"\n type=\"info\"\n [round]=\"true\"\n [border]=\"true\"\n [size]=\"tagSize\"\n [closeable]=\"!disabled\"\n (close)=\"removeValue(option.value)\"\n [ngClass]=\"tagClassFn && tagClassFn(option.label, option.value)\"\n >\n <ng-container\n *ngIf=\"isTemplateRef(option.label); else label\"\n [ngTemplateOutlet]=\"option.label\"\n [ngTemplateOutletContext]=\"option.labelContext\"\n ></ng-container>\n <ng-template #label>\n {{ option.label }}\n </ng-template>\n </aui-tag>\n <input\n #inputRef\n autocomplete=\"off\"\n [readonly]=\"inputReadonly\"\n [class]=\"inputClass\"\n (focus)=\"onInputFocus()\"\n (blur)=\"onInputBlur()\"\n (keydown)=\"onKeyDown($event)\"\n (input)=\"onInput($event)\"\n />\n <span #inputValueMirror [class]=\"bem.element('mirror')\">\n {{ inputValue }}\n </span>\n</div>\n\n<ng-template #templateRef>\n <div\n class=\"aui-option-container\"\n [style.minWidth]=\"containerWidth\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <div #optionListRef class=\"aui-option-container__content\">\n <ng-container\n *ngIf=\"\n allowSelectAll &&\n (hasEnabledOptions$ | async) &&\n ((hasVisibleOption$ | async) ||\n (allowCreate && (customCreatedOptions$ | async).length) ||\n (allowCreate && filterString))\n \"\n >\n <div\n class=\"aui-option\"\n [class]=\"bemSelectAll.block(size$ | async)\"\n [class.isDisabled]=\"disabled\"\n [class.isSelected]=\"!!(selectAllStatus$ | async)\"\n [class.isMulti]=\"true\"\n (click)=\"onSelectAllClick()\"\n >\n <i class=\"aui-option__pointer\">\n <aui-icon\n [icon]=\"\n (selectAllStatus$ | async) === 'checked'\n ? 'check_s'\n : 'square_s'\n \"\n [hidden]=\"!(selectAllStatus$ | async)\"\n ></aui-icon>\n </i>\n {{ 'select_all' | auiI18n }}\n </div>\n <hr class=\"divider\" />\n </ng-container>\n <aui-option\n #inputtingOption\n *ngIf=\"allowCreate && filterString && !(hasMatchedOption$ | async)\"\n [value]=\"filterString\"\n >\n {{ filterString }}\n </aui-option>\n <ng-container *ngIf=\"allowCreate\">\n <aui-option\n *ngFor=\"let option of customCreatedOptions$ | async\"\n [label]=\"option.label\"\n [value]=\"option.value\"\n [attr.data-test]=\"'aui-option/' + option.label\"\n >AUI-FORM-CONTROL/\n {{ option.label }}\n </aui-option>\n </ng-container>\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"\n !(\n (hasVisibleOption$ | async) ||\n (allowCreate && (customCreatedOptions$ | async).length) ||\n (allowCreate && filterString)\n )\n \"\n class=\"aui-option-container__placeholder\"\n >\n <ng-content select=\"aui-option-placeholder\"></ng-content>\n </div>\n </div>\n</ng-template>\n",
|
|
6237
6275
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6238
6276
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6239
6277
|
preserveWhitespaces: false,
|
|
@@ -6253,7 +6291,8 @@
|
|
|
6253
6291
|
];
|
|
6254
6292
|
MultiSelectComponent.ctorParameters = function () { return [
|
|
6255
6293
|
{ type: i0.ChangeDetectorRef },
|
|
6256
|
-
{ type: i0.Renderer2 }
|
|
6294
|
+
{ type: i0.Renderer2 },
|
|
6295
|
+
{ type: i0.ElementRef }
|
|
6257
6296
|
]; };
|
|
6258
6297
|
MultiSelectComponent.propDecorators = {
|
|
6259
6298
|
tagClassFn: [{ type: i0.Input }],
|
|
@@ -6390,7 +6429,7 @@
|
|
|
6390
6429
|
SelectComponent.decorators = [
|
|
6391
6430
|
{ type: i0.Component, args: [{
|
|
6392
6431
|
selector: 'aui-select',
|
|
6393
|
-
template: "<div\n [class]=\"rootClass\"\n [class.isDisabled]=\"disabled\"\n [class.isClearable]=\"isClearable(hasSelected$ | async)\"\n [class.isFilterable]=\"filterable\"\n [class.isOpened]=\"opened\"\n #selectRef\n #tooltipRef=\"auiTooltip\"\n [auiTooltip]=\"templateRef\"\n [auiTooltipDisabled]=\"disabled\"\n auiTooltipTrigger=\"click\"\n auiTooltipPosition=\"bottom start\"\n auiTooltipType=\"plain\"\n (auiTooltipShow)=\"onShowOptions()\"\n (auiTooltipHide)=\"onHideOptions()\"\n>\n <aui-input-group>\n <input\n #inputRef\n class=\"aui-select__input\"\n autocomplete=\"off\"\n aui-input\n [disabled]=\"disabled\"\n [size]=\"size\"\n [readonly]=\"inputReadonly\"\n [placeholder]=\"!(hasSelected$ | async) ? placeholder : ''\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeyDown($event)\"\n (blur)=\"closeOption()\"\n />\n <span auiInputSuffix class=\"aui-select__icon-container\">\n <aui-icon\n class=\"aui-select__indicator\"\n [icon]=\"loading ? 'spinner' : 'caret_down_s'\"\n ></aui-icon>\n <aui-icon\n class=\"aui-select__clear\"\n icon=\"close_small\"\n (click)=\"clearValue($event)\"\n ></aui-icon>\n </span>\n <div\n *ngIf=\"(selectedOption$ | async) && !filterString\"\n class=\"aui-select__label-container aui-input aui-input--{{ size }}\"\n [attr.disabled]=\"disabled ? true : null\"\n >\n <div class=\"aui-select__label\">\n <ng-container *ngIf=\"(selectedOption$ | async).label as optionLabel\">\n <ng-container\n *ngIf=\"isTemplateRef(optionLabel); else label\"\n [ngTemplateOutlet]=\"optionLabel\"\n [ngTemplateOutletContext]=\"(selectedOption$ | async).labelContext\"\n ></ng-container>\n <ng-template #label>{{ optionLabel }}</ng-template>\n </ng-container>\n </div>\n </div>\n </aui-input-group>\n</div>\n\n<ng-template #templateRef>\n <div\n [class]=\"containerClass\"\n [style.minWidth]=\"containerWidth\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <div #optionListRef class=\"aui-option-container__content\">\n <aui-option\n #inputtingOption\n *ngIf=\"allowCreate && filterString && !(hasMatchedOption$ | async)\"\n [value]=\"filterString\"\n >\n {{ filterString }}\n </aui-option>\n <ng-container *ngIf=\"allowCreate\">\n <aui-option\n *ngFor=\"let option of customCreatedOptions$ | async\"\n [label]=\"option.label\"\n [value]=\"option.value\"\n >\n {{ option.label }}\n </aui-option>\n </ng-container>\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"\n !(\n (hasVisibleOption$ | async) ||\n (allowCreate && (customCreatedOptions$ | async).length) ||\n (allowCreate && filterString)\n )\n \"\n class=\"aui-option-container__placeholder\"\n >\n <ng-content select=\"aui-option-placeholder\"></ng-content>\n </div>\n </div>\n</ng-template>\n",
|
|
6432
|
+
template: "<div\n [class]=\"rootClass\"\n [class.isDisabled]=\"disabled\"\n [class.isClearable]=\"isClearable(hasSelected$ | async)\"\n [class.isFilterable]=\"filterable\"\n [class.isOpened]=\"opened\"\n #selectRef\n #tooltipRef=\"auiTooltip\"\n [auiTooltip]=\"templateRef\"\n [auiTooltipDisabled]=\"disabled\"\n auiTooltipTrigger=\"click\"\n auiTooltipPosition=\"bottom start\"\n auiTooltipType=\"plain\"\n (auiTooltipShow)=\"onShowOptions()\"\n (auiTooltipHide)=\"onHideOptions()\"\n>\n <aui-input-group>\n <input\n #inputRef\n class=\"aui-select__input\"\n autocomplete=\"off\"\n aui-input\n [disabled]=\"disabled\"\n [size]=\"size\"\n [readonly]=\"inputReadonly\"\n [placeholder]=\"!(hasSelected$ | async) ? placeholder : ''\"\n (input)=\"onInput($event)\"\n (keydown)=\"onKeyDown($event)\"\n (blur)=\"closeOption()\"\n />\n <span auiInputSuffix class=\"aui-select__icon-container\">\n <aui-icon\n class=\"aui-select__indicator\"\n [icon]=\"loading ? 'spinner' : 'caret_down_s'\"\n ></aui-icon>\n <aui-icon\n class=\"aui-select__clear\"\n icon=\"close_small\"\n (click)=\"clearValue($event)\"\n ></aui-icon>\n </span>\n <div\n *ngIf=\"(selectedOption$ | async) && !filterString\"\n class=\"aui-select__label-container aui-input aui-input--{{ size }}\"\n [attr.disabled]=\"disabled ? true : null\"\n >\n <div class=\"aui-select__label\">\n <ng-container *ngIf=\"(selectedOption$ | async).label as optionLabel\">\n <ng-container\n *ngIf=\"isTemplateRef(optionLabel); else label\"\n [ngTemplateOutlet]=\"optionLabel\"\n [ngTemplateOutletContext]=\"(selectedOption$ | async).labelContext\"\n ></ng-container>\n <ng-template #label>{{ optionLabel }}</ng-template>\n </ng-container>\n </div>\n </div>\n </aui-input-group>\n</div>\n\n<ng-template #templateRef>\n <div\n [class]=\"containerClass\"\n [style.minWidth]=\"containerWidth\"\n (mousedown)=\"$event.preventDefault()\"\n >\n <div #optionListRef class=\"aui-option-container__content\">\n <aui-option\n #inputtingOption\n *ngIf=\"allowCreate && filterString && !(hasMatchedOption$ | async)\"\n [value]=\"filterString\"\n >\n {{ filterString }}\n </aui-option>\n <ng-container *ngIf=\"allowCreate\">\n <aui-option\n *ngFor=\"let option of customCreatedOptions$ | async\"\n [label]=\"option.label\"\n [value]=\"option.value\"\n [attr.data-test]=\"'aui-option/' + option.label\"\n >\n {{ option.label }}\n </aui-option>\n </ng-container>\n <ng-content></ng-content>\n </div>\n <div\n *ngIf=\"\n !(\n (hasVisibleOption$ | async) ||\n (allowCreate && (customCreatedOptions$ | async).length) ||\n (allowCreate && filterString)\n )\n \"\n class=\"aui-option-container__placeholder\"\n >\n <ng-content select=\"aui-option-placeholder\"></ng-content>\n </div>\n </div>\n</ng-template>\n",
|
|
6394
6433
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6395
6434
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6396
6435
|
preserveWhitespaces: false,
|
|
@@ -10844,8 +10883,8 @@
|
|
|
10844
10883
|
var bem$3 = buildBem('aui-time-picker-panel');
|
|
10845
10884
|
var TimePickerPanelComponent = /** @class */ (function (_super) {
|
|
10846
10885
|
__extends(TimePickerPanelComponent, _super);
|
|
10847
|
-
function TimePickerPanelComponent(cdr) {
|
|
10848
|
-
var _this = _super.call(this, cdr) || this;
|
|
10886
|
+
function TimePickerPanelComponent(cdr, elementRef) {
|
|
10887
|
+
var _this = _super.call(this, cdr, elementRef) || this;
|
|
10849
10888
|
_this.cdr = cdr;
|
|
10850
10889
|
_this.hourStep = 1;
|
|
10851
10890
|
_this.minuteStep = 1;
|
|
@@ -11041,7 +11080,8 @@
|
|
|
11041
11080
|
},] }
|
|
11042
11081
|
];
|
|
11043
11082
|
TimePickerPanelComponent.ctorParameters = function () { return [
|
|
11044
|
-
{ type: i0.ChangeDetectorRef }
|
|
11083
|
+
{ type: i0.ChangeDetectorRef },
|
|
11084
|
+
{ type: i0.ElementRef }
|
|
11045
11085
|
]; };
|
|
11046
11086
|
TimePickerPanelComponent.propDecorators = {
|
|
11047
11087
|
format: [{ type: i0.Input }],
|