@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/bundles/alauda-ui.umd.js
CHANGED
|
@@ -697,7 +697,7 @@
|
|
|
697
697
|
{ type: IconRegisterService }
|
|
698
698
|
]; };
|
|
699
699
|
IconComponent.propDecorators = {
|
|
700
|
-
icon: [{ type: i0.
|
|
700
|
+
icon: [{ type: i0.Input }],
|
|
701
701
|
light: [{ type: i0.Input }],
|
|
702
702
|
dark: [{ type: i0.Input }],
|
|
703
703
|
link: [{ type: i0.Input }],
|
|
@@ -1502,13 +1502,6 @@
|
|
|
1502
1502
|
this.renderer.addClass(this.el.nativeElement, prefix + this.size);
|
|
1503
1503
|
this.focusMonitor.monitor(this.el.nativeElement, false);
|
|
1504
1504
|
}
|
|
1505
|
-
Object.defineProperty(ButtonComponent.prototype, "testId", {
|
|
1506
|
-
get: function () {
|
|
1507
|
-
return this.el.nativeElement.textContent;
|
|
1508
|
-
},
|
|
1509
|
-
enumerable: false,
|
|
1510
|
-
configurable: true
|
|
1511
|
-
});
|
|
1512
1505
|
Object.defineProperty(ButtonComponent.prototype, "type", {
|
|
1513
1506
|
get: function () {
|
|
1514
1507
|
return this._type;
|
|
@@ -1629,7 +1622,6 @@
|
|
|
1629
1622
|
{ type: a11y.FocusMonitor }
|
|
1630
1623
|
]; };
|
|
1631
1624
|
ButtonComponent.propDecorators = {
|
|
1632
|
-
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
1633
1625
|
type: [{ type: i0.Input, args: ['aui-button',] }],
|
|
1634
1626
|
size: [{ type: i0.Input }],
|
|
1635
1627
|
plain: [{ type: i0.Input }],
|
|
@@ -2781,7 +2773,7 @@
|
|
|
2781
2773
|
DialogComponent.decorators = [
|
|
2782
2774
|
{ type: i0.Component, args: [{
|
|
2783
2775
|
selector: 'aui-dialog',
|
|
2784
|
-
template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\"
|
|
2776
|
+
template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
|
|
2785
2777
|
encapsulation: i0.ViewEncapsulation.None,
|
|
2786
2778
|
// tslint:disable-next-line:validate-decorators
|
|
2787
2779
|
changeDetection: i0.ChangeDetectionStrategy.Default,
|
|
@@ -3362,10 +3354,9 @@
|
|
|
3362
3354
|
*/
|
|
3363
3355
|
// tslint:disable-next-line:directive-class-suffix
|
|
3364
3356
|
var CommonFormControl = /** @class */ (function () {
|
|
3365
|
-
function CommonFormControl(cdr
|
|
3357
|
+
function CommonFormControl(cdr) {
|
|
3366
3358
|
var _this = this;
|
|
3367
3359
|
this.cdr = cdr;
|
|
3368
|
-
this.elementRef = elementRef;
|
|
3369
3360
|
this.valueChange = new i0.EventEmitter();
|
|
3370
3361
|
this.value$$ = new rxjs.ReplaySubject(1);
|
|
3371
3362
|
this._disabled = false;
|
|
@@ -3384,15 +3375,6 @@
|
|
|
3384
3375
|
enumerable: false,
|
|
3385
3376
|
configurable: true
|
|
3386
3377
|
});
|
|
3387
|
-
Object.defineProperty(CommonFormControl.prototype, "testId", {
|
|
3388
|
-
get: function () {
|
|
3389
|
-
return ('AUI-FORM-CONTROL/' +
|
|
3390
|
-
(this.elementRef.nativeElement.getAttribute('formControlName') ||
|
|
3391
|
-
this.elementRef.nativeElement.getAttribute('name')));
|
|
3392
|
-
},
|
|
3393
|
-
enumerable: false,
|
|
3394
|
-
configurable: true
|
|
3395
|
-
});
|
|
3396
3378
|
Object.defineProperty(CommonFormControl.prototype, "readonly", {
|
|
3397
3379
|
get: function () {
|
|
3398
3380
|
return this.disabled;
|
|
@@ -3452,12 +3434,10 @@
|
|
|
3452
3434
|
{ type: i0.Directive }
|
|
3453
3435
|
];
|
|
3454
3436
|
CommonFormControl.ctorParameters = function () { return [
|
|
3455
|
-
{ type: i0.ChangeDetectorRef }
|
|
3456
|
-
{ type: i0.ElementRef }
|
|
3437
|
+
{ type: i0.ChangeDetectorRef }
|
|
3457
3438
|
]; };
|
|
3458
3439
|
CommonFormControl.propDecorators = {
|
|
3459
3440
|
disabled: [{ type: i0.Input }],
|
|
3460
|
-
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
3461
3441
|
readonly: [{ type: i0.Input }],
|
|
3462
3442
|
propValue: [{ type: i0.Input, args: ['value',] }],
|
|
3463
3443
|
valueChange: [{ type: i0.Output }]
|
|
@@ -3586,13 +3566,6 @@
|
|
|
3586
3566
|
enumerable: false,
|
|
3587
3567
|
configurable: true
|
|
3588
3568
|
});
|
|
3589
|
-
Object.defineProperty(BaseRadio.prototype, "_testId", {
|
|
3590
|
-
get: function () {
|
|
3591
|
-
return 'RADIO/' + this.value;
|
|
3592
|
-
},
|
|
3593
|
-
enumerable: false,
|
|
3594
|
-
configurable: true
|
|
3595
|
-
});
|
|
3596
3569
|
BaseRadio.prototype.ngOnInit = function () {
|
|
3597
3570
|
var _this = this;
|
|
3598
3571
|
this.radioGroup.name$.pipe(operators.takeUntil(this.destroy$$)).subscribe(function (name) {
|
|
@@ -3638,7 +3611,6 @@
|
|
|
3638
3611
|
BaseRadio.propDecorators = {
|
|
3639
3612
|
disabled: [{ type: i0.Input }],
|
|
3640
3613
|
value: [{ type: i0.Input }],
|
|
3641
|
-
_testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
3642
3614
|
elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
|
|
3643
3615
|
};
|
|
3644
3616
|
|
|
@@ -3862,8 +3834,8 @@
|
|
|
3862
3834
|
var uniqueId$2 = 0;
|
|
3863
3835
|
var CheckboxComponent = /** @class */ (function (_super) {
|
|
3864
3836
|
__extends(CheckboxComponent, _super);
|
|
3865
|
-
function CheckboxComponent(cdr, checkboxGroup, focusMonitor
|
|
3866
|
-
var _this = _super.call(this, cdr
|
|
3837
|
+
function CheckboxComponent(cdr, checkboxGroup, focusMonitor) {
|
|
3838
|
+
var _this = _super.call(this, cdr) || this;
|
|
3867
3839
|
_this.focusMonitor = focusMonitor;
|
|
3868
3840
|
_this.id = "aui-checkbox-" + uniqueId$2++;
|
|
3869
3841
|
_this.name = '';
|
|
@@ -3959,13 +3931,12 @@
|
|
|
3959
3931
|
CheckboxComponent.ctorParameters = function () { return [
|
|
3960
3932
|
{ type: i0.ChangeDetectorRef },
|
|
3961
3933
|
{ type: CheckboxGroupComponent, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [i0.forwardRef(function () { return CheckboxGroupComponent; }),] }] },
|
|
3962
|
-
{ type: a11y.FocusMonitor }
|
|
3963
|
-
{ type: i0.ElementRef }
|
|
3934
|
+
{ type: a11y.FocusMonitor }
|
|
3964
3935
|
]; };
|
|
3965
3936
|
CheckboxComponent.propDecorators = {
|
|
3966
3937
|
name: [{ type: i0.Input }],
|
|
3967
3938
|
type: [{ type: i0.Input }],
|
|
3968
|
-
label: [{ type: i0.
|
|
3939
|
+
label: [{ type: i0.Input }],
|
|
3969
3940
|
indeterminate: [{ type: i0.Input }],
|
|
3970
3941
|
elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
|
|
3971
3942
|
};
|
|
@@ -3998,15 +3969,6 @@
|
|
|
3998
3969
|
this.renderer.addClass(this.elementRef.nativeElement, 'aui-input');
|
|
3999
3970
|
this.renderer.addClass(this.elementRef.nativeElement, 'aui-input--' + this.size);
|
|
4000
3971
|
}
|
|
4001
|
-
Object.defineProperty(InputComponent.prototype, "testId", {
|
|
4002
|
-
get: function () {
|
|
4003
|
-
return (this.elementRef.nativeElement.getAttribute('formcontrolname') ||
|
|
4004
|
-
this.elementRef.nativeElement.getAttribute('name') ||
|
|
4005
|
-
'aui-input');
|
|
4006
|
-
},
|
|
4007
|
-
enumerable: false,
|
|
4008
|
-
configurable: true
|
|
4009
|
-
});
|
|
4010
3972
|
Object.defineProperty(InputComponent.prototype, "size", {
|
|
4011
3973
|
get: function () {
|
|
4012
3974
|
return this._size;
|
|
@@ -4062,7 +4024,6 @@
|
|
|
4062
4024
|
{ type: i0.Renderer2 }
|
|
4063
4025
|
]; };
|
|
4064
4026
|
InputComponent.propDecorators = {
|
|
4065
|
-
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
4066
4027
|
size: [{ type: i0.Input }],
|
|
4067
4028
|
disabled: [{ type: i0.Input }]
|
|
4068
4029
|
};
|
|
@@ -4265,8 +4226,8 @@
|
|
|
4265
4226
|
var INPUT_ERROR_KEY = 'input_data_error';
|
|
4266
4227
|
var TagsInputComponent = /** @class */ (function (_super) {
|
|
4267
4228
|
__extends(TagsInputComponent, _super);
|
|
4268
|
-
function TagsInputComponent(cdr, fb, renderer, injector
|
|
4269
|
-
var _this = _super.call(this, cdr
|
|
4229
|
+
function TagsInputComponent(cdr, fb, renderer, injector) {
|
|
4230
|
+
var _this = _super.call(this, cdr) || this;
|
|
4270
4231
|
_this.fb = fb;
|
|
4271
4232
|
_this.renderer = renderer;
|
|
4272
4233
|
_this.injector = injector;
|
|
@@ -4525,8 +4486,7 @@
|
|
|
4525
4486
|
{ type: i0.ChangeDetectorRef },
|
|
4526
4487
|
{ type: forms.FormBuilder },
|
|
4527
4488
|
{ type: i0.Renderer2 },
|
|
4528
|
-
{ type: i0.Injector }
|
|
4529
|
-
{ type: i0.ElementRef }
|
|
4489
|
+
{ type: i0.Injector }
|
|
4530
4490
|
]; };
|
|
4531
4491
|
TagsInputComponent.propDecorators = {
|
|
4532
4492
|
placeholder: [{ type: i0.Input }],
|
|
@@ -5339,7 +5299,7 @@
|
|
|
5339
5299
|
DropdownButtonComponent.decorators = [
|
|
5340
5300
|
{ type: i0.Component, args: [{
|
|
5341
5301
|
selector: 'aui-dropdown-button',
|
|
5342
|
-
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
|
|
5302
|
+
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",
|
|
5343
5303
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5344
5304
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5345
5305
|
preserveWhitespaces: false,
|
|
@@ -5545,13 +5505,6 @@
|
|
|
5545
5505
|
enumerable: false,
|
|
5546
5506
|
configurable: true
|
|
5547
5507
|
});
|
|
5548
|
-
Object.defineProperty(OptionComponent.prototype, "testId", {
|
|
5549
|
-
get: function () {
|
|
5550
|
-
return 'AUI-OPTION/' + (this.label || this.value);
|
|
5551
|
-
},
|
|
5552
|
-
enumerable: false,
|
|
5553
|
-
configurable: true
|
|
5554
|
-
});
|
|
5555
5508
|
Object.defineProperty(OptionComponent.prototype, "labelContext", {
|
|
5556
5509
|
get: function () {
|
|
5557
5510
|
return this._labelContext;
|
|
@@ -5619,7 +5572,6 @@
|
|
|
5619
5572
|
]; };
|
|
5620
5573
|
OptionComponent.propDecorators = {
|
|
5621
5574
|
label: [{ type: i0.Input }],
|
|
5622
|
-
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
5623
5575
|
labelContext: [{ type: i0.Input }],
|
|
5624
5576
|
value: [{ type: i0.Input }],
|
|
5625
5577
|
disabled: [{ type: i0.Input }],
|
|
@@ -5983,8 +5935,8 @@
|
|
|
5983
5935
|
|
|
5984
5936
|
var MultiSelectComponent = /** @class */ (function (_super) {
|
|
5985
5937
|
__extends(MultiSelectComponent, _super);
|
|
5986
|
-
function MultiSelectComponent(cdr, renderer
|
|
5987
|
-
var _this = _super.call(this, cdr
|
|
5938
|
+
function MultiSelectComponent(cdr, renderer) {
|
|
5939
|
+
var _this = _super.call(this, cdr) || this;
|
|
5988
5940
|
_this.renderer = renderer;
|
|
5989
5941
|
_this.bem = buildBem('aui-multi-select');
|
|
5990
5942
|
_this.bemSelectAll = buildBem('aui-option');
|
|
@@ -6281,7 +6233,7 @@
|
|
|
6281
6233
|
MultiSelectComponent.decorators = [
|
|
6282
6234
|
{ type: i0.Component, args: [{
|
|
6283
6235
|
selector: 'aui-multi-select',
|
|
6284
|
-
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
|
|
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 >\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",
|
|
6285
6237
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6286
6238
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6287
6239
|
preserveWhitespaces: false,
|
|
@@ -6301,8 +6253,7 @@
|
|
|
6301
6253
|
];
|
|
6302
6254
|
MultiSelectComponent.ctorParameters = function () { return [
|
|
6303
6255
|
{ type: i0.ChangeDetectorRef },
|
|
6304
|
-
{ type: i0.Renderer2 }
|
|
6305
|
-
{ type: i0.ElementRef }
|
|
6256
|
+
{ type: i0.Renderer2 }
|
|
6306
6257
|
]; };
|
|
6307
6258
|
MultiSelectComponent.propDecorators = {
|
|
6308
6259
|
tagClassFn: [{ type: i0.Input }],
|
|
@@ -6439,7 +6390,7 @@
|
|
|
6439
6390
|
SelectComponent.decorators = [
|
|
6440
6391
|
{ type: i0.Component, args: [{
|
|
6441
6392
|
selector: 'aui-select',
|
|
6442
|
-
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
|
|
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",
|
|
6443
6394
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6444
6395
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6445
6396
|
preserveWhitespaces: false,
|
|
@@ -6721,7 +6672,7 @@
|
|
|
6721
6672
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6722
6673
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6723
6674
|
preserveWhitespaces: false,
|
|
6724
|
-
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
|
|
6675
|
+
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)}"]
|
|
6725
6676
|
},] }
|
|
6726
6677
|
];
|
|
6727
6678
|
PaginatorComponent.ctorParameters = function () { return [
|
|
@@ -10893,8 +10844,8 @@
|
|
|
10893
10844
|
var bem$3 = buildBem('aui-time-picker-panel');
|
|
10894
10845
|
var TimePickerPanelComponent = /** @class */ (function (_super) {
|
|
10895
10846
|
__extends(TimePickerPanelComponent, _super);
|
|
10896
|
-
function TimePickerPanelComponent(cdr
|
|
10897
|
-
var _this = _super.call(this, cdr
|
|
10847
|
+
function TimePickerPanelComponent(cdr) {
|
|
10848
|
+
var _this = _super.call(this, cdr) || this;
|
|
10898
10849
|
_this.cdr = cdr;
|
|
10899
10850
|
_this.hourStep = 1;
|
|
10900
10851
|
_this.minuteStep = 1;
|
|
@@ -11090,8 +11041,7 @@
|
|
|
11090
11041
|
},] }
|
|
11091
11042
|
];
|
|
11092
11043
|
TimePickerPanelComponent.ctorParameters = function () { return [
|
|
11093
|
-
{ type: i0.ChangeDetectorRef }
|
|
11094
|
-
{ type: i0.ElementRef }
|
|
11044
|
+
{ type: i0.ChangeDetectorRef }
|
|
11095
11045
|
]; };
|
|
11096
11046
|
TimePickerPanelComponent.propDecorators = {
|
|
11097
11047
|
format: [{ type: i0.Input }],
|