@alauda/ui 6.2.1-beta.9 → 6.2.2-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.d.ts +21 -20
- package/alauda-ui.metadata.json +1 -1
- package/bundles/alauda-ui.umd.js +97 -127
- 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/dropdown/dropdown.directive.d.ts +0 -1
- package/esm2015/accordion/accordion-item/accordion-item.component.ngfactory.js +2 -2
- package/esm2015/alauda-ui.js +22 -21
- package/esm2015/alauda-ui.ngsummary.json +1 -1
- 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 -7
- 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.js +2 -2
- 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 +3 -3
- package/esm2015/dialog/dialog.component.ngfactory.js +2 -2
- package/esm2015/dialog/dialog.component.scss.ngstyle.js +1 -1
- package/esm2015/dialog/dialog.module.ngfactory.js +1 -1
- 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/dropdown.directive.js +2 -8
- package/esm2015/dropdown/dropdown.directive.ngsummary.json +1 -1
- package/esm2015/dropdown/menu/menu.component.js +1 -1
- package/esm2015/dropdown/menu/menu.component.scss.ngstyle.js +1 -1
- 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 +8 -6
- package/esm2015/icon/icon.component.ngfactory.js +5 -4
- package/esm2015/icon/icon.component.ngsummary.json +1 -1
- package/esm2015/icon/icon.component.scss.ngstyle.js +1 -1
- package/esm2015/icon/icon.module.ngfactory.js +1 -1
- package/esm2015/inline-alert/inline-alert.component.js +2 -2
- package/esm2015/inline-alert/inline-alert.component.ngfactory.js +4 -4
- package/esm2015/input/input.component.js +2 -9
- 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.js +2 -2
- package/esm2015/message/message.component.ngfactory.js +2 -2
- package/esm2015/message/message.module.ngfactory.js +1 -1
- package/esm2015/notification/notification.component.js +2 -2
- package/esm2015/notification/notification.component.ngfactory.js +3 -3
- package/esm2015/notification/notification.module.ngfactory.js +1 -1
- package/esm2015/paginator/paginator.component.ngfactory.js +18 -18
- package/esm2015/public-api.ngsummary.json +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.js +1 -1
- package/esm2015/steps/steps.component.ngfactory.js +3 -3
- package/esm2015/steps/steps.component.scss.ngstyle.js +1 -1
- 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/theme/color.pipe.js +26 -0
- package/esm2015/theme/color.pipe.ngsummary.json +1 -0
- package/esm2015/theme/theme.module.js +4 -3
- package/esm2015/theme/theme.module.ngfactory.js +1 -1
- package/esm2015/theme/theme.module.ngsummary.json +1 -1
- 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/esm2015/utils/fn.js +1 -10
- package/esm2015/utils/fn.ngsummary.json +1 -1
- package/esm2015/utils/index.ngsummary.json +1 -1
- package/fesm2015/alauda-ui.js +61 -79
- package/fesm2015/alauda-ui.js.map +1 -1
- package/form/common-form.d.ts +2 -4
- package/icon/icon.component.d.ts +2 -0
- 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/theme/color.pipe.d.ts +10 -0
- package/theme/style.css +68 -68
- package/time-picker/panel/panel.component.d.ts +1 -1
- package/utils/fn.d.ts +0 -1
package/bundles/alauda-ui.umd.js
CHANGED
|
@@ -106,15 +106,6 @@
|
|
|
106
106
|
var last = function (values) { return values === null || values === void 0 ? void 0 : values[values.length - 1]; };
|
|
107
107
|
var isTemplateRef = function (label) { return label instanceof i0.TemplateRef; };
|
|
108
108
|
var handlePixel = function (value) { return Number.isNaN(+value) ? value : value + 'px'; };
|
|
109
|
-
var simplifyStringToTestId = function (input) {
|
|
110
|
-
if (!input)
|
|
111
|
-
return '';
|
|
112
|
-
return input
|
|
113
|
-
.replaceAll('\r', '')
|
|
114
|
-
.replaceAll('\n', '')
|
|
115
|
-
.replaceAll('\\s', '')
|
|
116
|
-
.replaceAll(' ', '');
|
|
117
|
-
};
|
|
118
109
|
|
|
119
110
|
/*! *****************************************************************************
|
|
120
111
|
Copyright (c) Microsoft Corporation.
|
|
@@ -575,6 +566,41 @@
|
|
|
575
566
|
{ type: i0.ChangeDetectorRef }
|
|
576
567
|
]; };
|
|
577
568
|
|
|
569
|
+
var RgbColorPipe = /** @class */ (function () {
|
|
570
|
+
function RgbColorPipe() {
|
|
571
|
+
}
|
|
572
|
+
RgbColorPipe.prototype.transform = function (color) {
|
|
573
|
+
return "rgb(var(--aui-color-" + color + "))";
|
|
574
|
+
};
|
|
575
|
+
return RgbColorPipe;
|
|
576
|
+
}());
|
|
577
|
+
RgbColorPipe.decorators = [
|
|
578
|
+
{ type: i0.Pipe, args: [{ name: 'auiRgbColor', pure: true },] }
|
|
579
|
+
];
|
|
580
|
+
var RgbaColorPipe = /** @class */ (function () {
|
|
581
|
+
function RgbaColorPipe() {
|
|
582
|
+
}
|
|
583
|
+
RgbaColorPipe.prototype.transform = function (_a) {
|
|
584
|
+
var _b = __read(_a, 2), color = _b[0], opacity = _b[1];
|
|
585
|
+
return "rgba(var(--aui-color-" + color + "), " + opacity + ")";
|
|
586
|
+
};
|
|
587
|
+
return RgbaColorPipe;
|
|
588
|
+
}());
|
|
589
|
+
RgbaColorPipe.decorators = [
|
|
590
|
+
{ type: i0.Pipe, args: [{ name: 'auiRgbaColor', pure: true },] }
|
|
591
|
+
];
|
|
592
|
+
var CssVarPipe = /** @class */ (function () {
|
|
593
|
+
function CssVarPipe() {
|
|
594
|
+
}
|
|
595
|
+
CssVarPipe.prototype.transform = function (value) {
|
|
596
|
+
return "var(--aui-" + value + ")";
|
|
597
|
+
};
|
|
598
|
+
return CssVarPipe;
|
|
599
|
+
}());
|
|
600
|
+
CssVarPipe.decorators = [
|
|
601
|
+
{ type: i0.Pipe, args: [{ name: 'auiCssVar', pure: true },] }
|
|
602
|
+
];
|
|
603
|
+
|
|
578
604
|
var ThemeModule = /** @class */ (function () {
|
|
579
605
|
function ThemeModule() {
|
|
580
606
|
}
|
|
@@ -583,8 +609,8 @@
|
|
|
583
609
|
ThemeModule.decorators = [
|
|
584
610
|
{ type: i0.NgModule, args: [{
|
|
585
611
|
imports: [common.CommonModule],
|
|
586
|
-
declarations: [ThemePickerPipe],
|
|
587
|
-
exports: [ThemePickerPipe],
|
|
612
|
+
declarations: [ThemePickerPipe, RgbColorPipe, RgbaColorPipe, CssVarPipe],
|
|
613
|
+
exports: [ThemePickerPipe, RgbColorPipe, RgbaColorPipe, CssVarPipe],
|
|
588
614
|
},] }
|
|
589
615
|
];
|
|
590
616
|
|
|
@@ -695,24 +721,26 @@
|
|
|
695
721
|
IconComponent.decorators = [
|
|
696
722
|
{ type: i0.Component, args: [{
|
|
697
723
|
selector: 'aui-icon',
|
|
698
|
-
template: "<svg\n *ngIf=\"icon === 'spinner'; else icons\"\n [attr.class]=\"getClass('aui-icon-spinner')\"\n [style.fill]=\"color\"\n [style.width]=\"getWidth()\"\n [style.height]=\"getHeight()\"\n viewBox=\"0 0 200 200\"\n>\n <defs>\n <linearGradient\n [attr.id]=\"'right-' + id\"\n gradientUnits=\"userSpaceOnUse\"\n x1=\"150\"\n y1=\"20\"\n x2=\"150\"\n y2=\"180\"\n >\n <stop offset=\"0\" style=\"stop-color: #000\" />\n <stop offset=\"1\" style=\"stop-color: #808080\" />\n </linearGradient>\n <linearGradient\n [attr.id]=\"'left-' + id\"\n gradientUnits=\"userSpaceOnUse\"\n x1=\"50\"\n y1=\"0\"\n x2=\"50\"\n y2=\"180\"\n >\n <stop offset=\"0\" style=\"stop-color: #fff\" />\n <stop offset=\"1\" style=\"stop-color: #808080\" />\n </linearGradient>\n <mask [attr.id]=\"'mask-' + id\">\n <g>\n <path\n [attr.fill]=\"'url(#right-' + id + ')'\"\n d=\"M100,0v20c44.1,0,80,35.9,80,80c0,44.1-35.9,80-80,80v20c55.2,0,100-44.8,100-100S155.2,0,100,0z\"\n />\n <path\n [attr.fill]=\"'url(#left-' + id + ')'\"\n d=\"M20,100c0-44.1,35.9-80,80-80V0C44.8,0,0,44.8,0,100s44.8,100,100,100v-20C55.9,180,20,144.1,20,100z\"\n />\n </g>\n </mask>\n </defs>\n <rect\n x=\"0\"\n y=\"0\"\n width=\"200\"\n height=\"200\"\n [attr.mask]=\"'url(#mask-' + id + ')'\"\n />\n</svg>\n\n<ng-template #icons>\n <svg\n *ngIf=\"getIconId(icon ? icon : ([light, dark] | auiThemePicker)) as iconId\"\n [
|
|
724
|
+
template: "<svg\n *ngIf=\"icon === 'spinner'; else icons\"\n [attr.class]=\"getClass('aui-icon-spinner')\"\n [style.fill]=\"color\"\n [style.width]=\"getWidth()\"\n [style.height]=\"getHeight()\"\n viewBox=\"0 0 200 200\"\n>\n <defs>\n <linearGradient\n [attr.id]=\"'right-' + id\"\n gradientUnits=\"userSpaceOnUse\"\n x1=\"150\"\n y1=\"20\"\n x2=\"150\"\n y2=\"180\"\n >\n <stop offset=\"0\" style=\"stop-color: #000\" />\n <stop offset=\"1\" style=\"stop-color: #808080\" />\n </linearGradient>\n <linearGradient\n [attr.id]=\"'left-' + id\"\n gradientUnits=\"userSpaceOnUse\"\n x1=\"50\"\n y1=\"0\"\n x2=\"50\"\n y2=\"180\"\n >\n <stop offset=\"0\" style=\"stop-color: #fff\" />\n <stop offset=\"1\" style=\"stop-color: #808080\" />\n </linearGradient>\n <mask [attr.id]=\"'mask-' + id\">\n <g>\n <path\n [attr.fill]=\"'url(#right-' + id + ')'\"\n d=\"M100,0v20c44.1,0,80,35.9,80,80c0,44.1-35.9,80-80,80v20c55.2,0,100-44.8,100-100S155.2,0,100,0z\"\n />\n <path\n [attr.fill]=\"'url(#left-' + id + ')'\"\n d=\"M20,100c0-44.1,35.9-80,80-80V0C44.8,0,0,44.8,0,100s44.8,100,100,100v-20C55.9,180,20,144.1,20,100z\"\n />\n </g>\n </mask>\n </defs>\n <rect\n x=\"0\"\n y=\"0\"\n width=\"200\"\n height=\"200\"\n [attr.mask]=\"'url(#mask-' + id + ')'\"\n />\n</svg>\n\n<ng-template #icons>\n <svg\n *ngIf=\"getIconId(icon ? icon : ([light, dark] | auiThemePicker)) as iconId\"\n [ngClass]=\"getClass(iconId)\"\n [style.fill]=\"color\"\n [style.width]=\"getWidth()\"\n [style.height]=\"getHeight()\"\n >\n <rect\n *ngIf=\"background\"\n class=\"aui-icon__background\"\n [ngClass]=\"background\"\n [attr.fill]=\"backgroundColor\"\n x=\"0\"\n y=\"0\"\n ></rect>\n <use [attr.xlink:href]=\"link + '#' + iconId\"></use>\n </svg>\n</ng-template>\n",
|
|
699
725
|
encapsulation: i0.ViewEncapsulation.None,
|
|
700
726
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
701
727
|
preserveWhitespaces: false,
|
|
702
|
-
styles: ["aui-icon{vertical-align:bottom}.aui-icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em;fill:currentColor}.aui-icon--left{margin-left:var(--aui-spacing-s)}.aui-icon--right{margin-right:var(--aui-spacing-s)}.aui-icon-spinner{-webkit-animation:rotating .5s linear infinite;animation:rotating .5s linear infinite}aui-icon+aui-icon>.aui-icon{margin-left:var(--aui-spacing-s)}@-webkit-keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"]
|
|
728
|
+
styles: ["aui-icon{vertical-align:bottom}.aui-icon{display:inline-block;width:1em;height:1em;vertical-align:-.125em;fill:currentColor}.aui-icon__background{width:1em;height:1em;fill:#fff}.aui-icon__background.circle{-webkit-clip-path:circle(calc(.5em - 1px));clip-path:circle(calc(.5em - 1px))}.aui-icon__background.triangle{-webkit-clip-path:polygon(.5em 1px,calc(1em - 1px) calc(1em - 1px),1px calc(1em - 1px));clip-path:polygon(.5em 1px,calc(1em - 1px) calc(1em - 1px),1px calc(1em - 1px))}.aui-icon--left{margin-left:var(--aui-spacing-s)}.aui-icon--right{margin-right:var(--aui-spacing-s)}.aui-icon-spinner{-webkit-animation:rotating .5s linear infinite;animation:rotating .5s linear infinite}aui-icon+aui-icon>.aui-icon{margin-left:var(--aui-spacing-s)}@-webkit-keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"]
|
|
703
729
|
},] }
|
|
704
730
|
];
|
|
705
731
|
IconComponent.ctorParameters = function () { return [
|
|
706
732
|
{ type: IconRegisterService }
|
|
707
733
|
]; };
|
|
708
734
|
IconComponent.propDecorators = {
|
|
709
|
-
icon: [{ type: i0.
|
|
735
|
+
icon: [{ type: i0.Input }],
|
|
710
736
|
light: [{ type: i0.Input }],
|
|
711
737
|
dark: [{ type: i0.Input }],
|
|
712
738
|
link: [{ type: i0.Input }],
|
|
713
739
|
margin: [{ type: i0.Input }],
|
|
714
740
|
size: [{ type: i0.Input }],
|
|
715
|
-
color: [{ type: i0.Input }]
|
|
741
|
+
color: [{ type: i0.Input }],
|
|
742
|
+
background: [{ type: i0.Input }],
|
|
743
|
+
backgroundColor: [{ type: i0.Input }]
|
|
716
744
|
};
|
|
717
745
|
|
|
718
746
|
var IconModule = /** @class */ (function () {
|
|
@@ -1511,13 +1539,6 @@
|
|
|
1511
1539
|
this.renderer.addClass(this.el.nativeElement, prefix + this.size);
|
|
1512
1540
|
this.focusMonitor.monitor(this.el.nativeElement, false);
|
|
1513
1541
|
}
|
|
1514
|
-
Object.defineProperty(ButtonComponent.prototype, "testId", {
|
|
1515
|
-
get: function () {
|
|
1516
|
-
return ('AUI-BUTTON/' + simplifyStringToTestId(this.el.nativeElement.textContent));
|
|
1517
|
-
},
|
|
1518
|
-
enumerable: false,
|
|
1519
|
-
configurable: true
|
|
1520
|
-
});
|
|
1521
1542
|
Object.defineProperty(ButtonComponent.prototype, "type", {
|
|
1522
1543
|
get: function () {
|
|
1523
1544
|
return this._type;
|
|
@@ -1638,7 +1659,6 @@
|
|
|
1638
1659
|
{ type: a11y.FocusMonitor }
|
|
1639
1660
|
]; };
|
|
1640
1661
|
ButtonComponent.propDecorators = {
|
|
1641
|
-
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
1642
1662
|
type: [{ type: i0.Input, args: ['aui-button',] }],
|
|
1643
1663
|
size: [{ type: i0.Input }],
|
|
1644
1664
|
plain: [{ type: i0.Input }],
|
|
@@ -2697,7 +2717,7 @@
|
|
|
2697
2717
|
ConfirmDialogComponent.decorators = [
|
|
2698
2718
|
{ type: i0.Component, args: [{
|
|
2699
2719
|
selector: 'aui-confirm-dialog',
|
|
2700
|
-
template: "<div [class]=\"bem.block()\">\n <div [class]=\"bem.element('title')\">\n <span [class]=\"bem.element('icon', config.confirmType + '')\">\n <aui-icon
|
|
2720
|
+
template: "<div [class]=\"bem.block()\">\n <div [class]=\"bem.element('title')\">\n <span [class]=\"bem.element('icon', config.confirmType + '')\">\n <aui-icon\n [icon]=\"iconMap(config.confirmType)\"\n [background]=\"\n iconMap(config.confirmType).endsWith('_triangle_s')\n ? 'triangle'\n : 'circle'\n \"\n ></aui-icon>\n </span>\n <span>{{ config.title }}</span>\n </div>\n <div [class]=\"bem.element('content')\">{{ config.content }}</div>\n <div [class]=\"bem.element('button-wrapper')\">\n <div>\n <button\n [aui-button]=\"config.confirmType\"\n [ngClass]=\"bem.element('confirm-button')\"\n [loading]=\"waitConfirm\"\n [disabled]=\"waitConfirm || waitCancel\"\n (click)=\"confirm()\"\n >\n {{ config.confirmText }}\n </button>\n <button\n *ngIf=\"config.cancelButton\"\n aui-button\n [ngClass]=\"bem.element('cancel-button')\"\n [loading]=\"waitCancel\"\n [disabled]=\"waitConfirm || waitCancel\"\n (click)=\"cancel()\"\n >\n {{ config.cancelText }}\n </button>\n </div>\n </div>\n</div>\n",
|
|
2701
2721
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
2702
2722
|
encapsulation: i0.ViewEncapsulation.None,
|
|
2703
2723
|
preserveWhitespaces: false,
|
|
@@ -2790,12 +2810,12 @@
|
|
|
2790
2810
|
DialogComponent.decorators = [
|
|
2791
2811
|
{ type: i0.Component, args: [{
|
|
2792
2812
|
selector: 'aui-dialog',
|
|
2793
|
-
template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\"
|
|
2813
|
+
template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n",
|
|
2794
2814
|
encapsulation: i0.ViewEncapsulation.None,
|
|
2795
2815
|
// tslint:disable-next-line:validate-decorators
|
|
2796
2816
|
changeDetection: i0.ChangeDetectionStrategy.Default,
|
|
2797
2817
|
preserveWhitespaces: false,
|
|
2798
|
-
styles: [".cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}:root .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop,html[aui-theme-mode=light] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.4)}@media (prefers-color-scheme:dark){html[aui-theme-mode=system] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.65)}}html[aui-theme-mode=dark] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.65)}.cdk-overlay-pane.aui-dialog-overlay-pane{justify-content:center;overflow:auto}.cdk-overlay-pane.aui-dialog-overlay-pane::-webkit-scrollbar{width:4px;height:4px}.cdk-overlay-pane.aui-dialog-overlay-pane::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3)}.aui-dialog{margin:18vh auto 20px;display:flex;flex-direction:column;background-color:rgb(var(--aui-color-n-10));border-radius:var(--aui-border-radius-l);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);color:rgb(var(--aui-color-n-1))}:root .aui-dialog,html[aui-theme-mode=light] .aui-dialog{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}@media (prefers-color-scheme:dark){html[aui-theme-mode=system] .aui-dialog{box-shadow:0 4px 16px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .aui-dialog{box-shadow:0 4px 16px 0 rgba(var(--aui-color-origin-shadow),.75)}.aui-dialog aui-dialog-content{height:100%;overflow:auto}.aui-dialog aui-dialog-content::-webkit-scrollbar{width:4px;height:4px}.aui-dialog aui-dialog-content::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3)}.aui-dialog aui-dialog-content:first-child .aui-dialog__content{padding-top:20px}.aui-dialog aui-dialog-content:last-child .aui-dialog__content{padding-bottom:20px}.aui-dialog__header{margin:0 20px;padding:20px 0 16px;display:flex;justify-content:space-between}.aui-dialog__header.hasDivider{margin-bottom:16px;border-bottom:1px solid rgb(var(--aui-color-n-8))}.aui-dialog__header-title{width:100%;font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl);color:rgb(var(--aui-color-n-1));font-weight:var(--aui-font-weight-bold)}.aui-dialog__header-title>aui-icon:first-child{font-size:var(--aui-icon-size-xl);margin-right:var(--aui-spacing-m)}.aui-dialog__header-title>aui-icon:first-child[icon=info_circle_s]{color:rgb(var(--aui-color-primary))}.aui-dialog__header-title>aui-icon:first-child[icon=check_circle_s]{color:rgb(var(--aui-color-green))}.aui-dialog__header-title>aui-icon:first-child[icon=exclamation_circle_s]{color:rgb(var(--aui-color-yellow))}.aui-dialog__header-title>aui-icon:first-child[icon=exclamation_triangle_s]{color:rgb(var(--aui-color-red))}.aui-dialog__header-close{margin-left:var(--aui-spacing-xl);line-height:var(--aui-line-height-xl);font-size:var(--aui-font-size-l);color:rgb(var(--aui-color-n-4));cursor:pointer}.aui-dialog__header-close:hover{color:rgb(var(--aui-color-primary))}.aui-dialog__content{padding:0 20px;min-height:80px}.aui-dialog__footer{padding:
|
|
2818
|
+
styles: [".cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper,.cdk-overlay-pane{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{pointer-events:auto;box-sizing:border-box;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}:root .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop,html[aui-theme-mode=light] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.4)}@media (prefers-color-scheme:dark){html[aui-theme-mode=system] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.65)}}html[aui-theme-mode=dark] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.65)}.cdk-overlay-pane.aui-dialog-overlay-pane{justify-content:center;overflow:auto}.cdk-overlay-pane.aui-dialog-overlay-pane::-webkit-scrollbar{width:4px;height:4px}.cdk-overlay-pane.aui-dialog-overlay-pane::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3)}.aui-dialog{margin:18vh auto 20px;display:flex;flex-direction:column;background-color:rgb(var(--aui-color-n-10));border-radius:var(--aui-border-radius-l);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);color:rgb(var(--aui-color-n-1))}:root .aui-dialog,html[aui-theme-mode=light] .aui-dialog{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}@media (prefers-color-scheme:dark){html[aui-theme-mode=system] .aui-dialog{box-shadow:0 4px 16px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .aui-dialog{box-shadow:0 4px 16px 0 rgba(var(--aui-color-origin-shadow),.75)}.aui-dialog aui-dialog-content{height:100%;overflow:auto}.aui-dialog aui-dialog-content::-webkit-scrollbar{width:4px;height:4px}.aui-dialog aui-dialog-content::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3)}.aui-dialog aui-dialog-content:first-child .aui-dialog__content{padding-top:20px}.aui-dialog aui-dialog-content:last-child .aui-dialog__content{padding-bottom:20px}.aui-dialog__header{margin:0 20px;padding:20px 0 16px;display:flex;justify-content:space-between}.aui-dialog__header.hasDivider{margin-bottom:16px;border-bottom:1px solid rgb(var(--aui-color-n-8))}.aui-dialog__header-title{width:100%;font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl);color:rgb(var(--aui-color-n-1));font-weight:var(--aui-font-weight-bold)}.aui-dialog__header-title>aui-icon:first-child{font-size:var(--aui-icon-size-xl);margin-right:var(--aui-spacing-m)}.aui-dialog__header-title>aui-icon:first-child[icon=info_circle_s]{color:rgb(var(--aui-color-primary))}.aui-dialog__header-title>aui-icon:first-child[icon=check_circle_s]{color:rgb(var(--aui-color-green))}.aui-dialog__header-title>aui-icon:first-child[icon=exclamation_circle_s]{color:rgb(var(--aui-color-yellow))}.aui-dialog__header-title>aui-icon:first-child[icon=exclamation_triangle_s]{color:rgb(var(--aui-color-red))}.aui-dialog__header-close{margin-left:var(--aui-spacing-xl);line-height:var(--aui-line-height-xl);font-size:var(--aui-font-size-l);color:rgb(var(--aui-color-n-4));cursor:pointer}.aui-dialog__header-close:hover{color:rgb(var(--aui-color-primary))}.aui-dialog__content{padding:0 20px;min-height:80px}.aui-dialog__footer{padding:20px;display:flex;justify-content:flex-end}.aui-dialog--small{width:400px}.aui-dialog--medium{width:600px}.aui-dialog--big{width:800px}.aui-dialog--large{width:960px}.aui-dialog--fit-content{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.aui-dialog--fullscreen{width:90vw;height:calc(100vh - (20px * 2))}.aui-dialog--fit-viewport,.aui-dialog--fullscreen{margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.aui-dialog--fit-viewport{max-width:90vw;max-height:calc(100vh - (20px * 2))}.aui-dialog--fit-viewport .aui-dialog__header{margin:0;padding:20px 20px 16px;border-bottom:1px solid rgb(var(--aui-color-n-8))}.aui-dialog--fit-viewport .aui-dialog__footer{padding-top:16px;border-top:1px solid rgb(var(--aui-color-n-8))}.aui-dialog--fit-viewport aui-dialog-content:not(:first-child) .aui-dialog__content{padding-top:16px}.aui-dialog--fit-viewport aui-dialog-content:not(:last-child) .aui-dialog__content{padding-bottom:16px}.aui-dialog--fit-viewport>ng-component{display:flex;flex-direction:column;overflow:auto}.aui-dialog--fit-viewport>ng-component:after{clear:both}"]
|
|
2799
2819
|
},] }
|
|
2800
2820
|
];
|
|
2801
2821
|
DialogComponent.ctorParameters = function () { return [
|
|
@@ -3371,10 +3391,9 @@
|
|
|
3371
3391
|
*/
|
|
3372
3392
|
// tslint:disable-next-line:directive-class-suffix
|
|
3373
3393
|
var CommonFormControl = /** @class */ (function () {
|
|
3374
|
-
function CommonFormControl(cdr
|
|
3394
|
+
function CommonFormControl(cdr) {
|
|
3375
3395
|
var _this = this;
|
|
3376
3396
|
this.cdr = cdr;
|
|
3377
|
-
this.elementRef = elementRef;
|
|
3378
3397
|
this.valueChange = new i0.EventEmitter();
|
|
3379
3398
|
this.value$$ = new rxjs.ReplaySubject(1);
|
|
3380
3399
|
this._disabled = false;
|
|
@@ -3393,15 +3412,6 @@
|
|
|
3393
3412
|
enumerable: false,
|
|
3394
3413
|
configurable: true
|
|
3395
3414
|
});
|
|
3396
|
-
Object.defineProperty(CommonFormControl.prototype, "testId", {
|
|
3397
|
-
get: function () {
|
|
3398
|
-
return ('AUI-FORM-CONTROL/' +
|
|
3399
|
-
(this.elementRef.nativeElement.getAttribute('formControlName') ||
|
|
3400
|
-
this.elementRef.nativeElement.getAttribute('name')));
|
|
3401
|
-
},
|
|
3402
|
-
enumerable: false,
|
|
3403
|
-
configurable: true
|
|
3404
|
-
});
|
|
3405
3415
|
Object.defineProperty(CommonFormControl.prototype, "readonly", {
|
|
3406
3416
|
get: function () {
|
|
3407
3417
|
return this.disabled;
|
|
@@ -3461,12 +3471,10 @@
|
|
|
3461
3471
|
{ type: i0.Directive }
|
|
3462
3472
|
];
|
|
3463
3473
|
CommonFormControl.ctorParameters = function () { return [
|
|
3464
|
-
{ type: i0.ChangeDetectorRef }
|
|
3465
|
-
{ type: i0.ElementRef }
|
|
3474
|
+
{ type: i0.ChangeDetectorRef }
|
|
3466
3475
|
]; };
|
|
3467
3476
|
CommonFormControl.propDecorators = {
|
|
3468
3477
|
disabled: [{ type: i0.Input }],
|
|
3469
|
-
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
3470
3478
|
readonly: [{ type: i0.Input }],
|
|
3471
3479
|
propValue: [{ type: i0.Input, args: ['value',] }],
|
|
3472
3480
|
valueChange: [{ type: i0.Output }]
|
|
@@ -3595,13 +3603,6 @@
|
|
|
3595
3603
|
enumerable: false,
|
|
3596
3604
|
configurable: true
|
|
3597
3605
|
});
|
|
3598
|
-
Object.defineProperty(BaseRadio.prototype, "_testId", {
|
|
3599
|
-
get: function () {
|
|
3600
|
-
return 'AUI-RADIO/' + this.value;
|
|
3601
|
-
},
|
|
3602
|
-
enumerable: false,
|
|
3603
|
-
configurable: true
|
|
3604
|
-
});
|
|
3605
3606
|
BaseRadio.prototype.ngOnInit = function () {
|
|
3606
3607
|
var _this = this;
|
|
3607
3608
|
this.radioGroup.name$.pipe(operators.takeUntil(this.destroy$$)).subscribe(function (name) {
|
|
@@ -3647,7 +3648,6 @@
|
|
|
3647
3648
|
BaseRadio.propDecorators = {
|
|
3648
3649
|
disabled: [{ type: i0.Input }],
|
|
3649
3650
|
value: [{ type: i0.Input }],
|
|
3650
|
-
_testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
3651
3651
|
elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
|
|
3652
3652
|
};
|
|
3653
3653
|
|
|
@@ -3871,8 +3871,8 @@
|
|
|
3871
3871
|
var uniqueId$2 = 0;
|
|
3872
3872
|
var CheckboxComponent = /** @class */ (function (_super) {
|
|
3873
3873
|
__extends(CheckboxComponent, _super);
|
|
3874
|
-
function CheckboxComponent(cdr, checkboxGroup, focusMonitor
|
|
3875
|
-
var _this = _super.call(this, cdr
|
|
3874
|
+
function CheckboxComponent(cdr, checkboxGroup, focusMonitor) {
|
|
3875
|
+
var _this = _super.call(this, cdr) || this;
|
|
3876
3876
|
_this.focusMonitor = focusMonitor;
|
|
3877
3877
|
_this.id = "aui-checkbox-" + uniqueId$2++;
|
|
3878
3878
|
_this.name = '';
|
|
@@ -3968,13 +3968,12 @@
|
|
|
3968
3968
|
CheckboxComponent.ctorParameters = function () { return [
|
|
3969
3969
|
{ type: i0.ChangeDetectorRef },
|
|
3970
3970
|
{ type: CheckboxGroupComponent, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [i0.forwardRef(function () { return CheckboxGroupComponent; }),] }] },
|
|
3971
|
-
{ type: a11y.FocusMonitor }
|
|
3972
|
-
{ type: i0.ElementRef }
|
|
3971
|
+
{ type: a11y.FocusMonitor }
|
|
3973
3972
|
]; };
|
|
3974
3973
|
CheckboxComponent.propDecorators = {
|
|
3975
3974
|
name: [{ type: i0.Input }],
|
|
3976
3975
|
type: [{ type: i0.Input }],
|
|
3977
|
-
label: [{ type: i0.
|
|
3976
|
+
label: [{ type: i0.Input }],
|
|
3978
3977
|
indeterminate: [{ type: i0.Input }],
|
|
3979
3978
|
elRef: [{ type: i0.ViewChild, args: ['elRef', { static: true },] }]
|
|
3980
3979
|
};
|
|
@@ -4007,16 +4006,6 @@
|
|
|
4007
4006
|
this.renderer.addClass(this.elementRef.nativeElement, 'aui-input');
|
|
4008
4007
|
this.renderer.addClass(this.elementRef.nativeElement, 'aui-input--' + this.size);
|
|
4009
4008
|
}
|
|
4010
|
-
Object.defineProperty(InputComponent.prototype, "testId", {
|
|
4011
|
-
get: function () {
|
|
4012
|
-
return ('AUI-INPUT/' +
|
|
4013
|
-
(this.elementRef.nativeElement.getAttribute('formcontrolname') ||
|
|
4014
|
-
this.elementRef.nativeElement.getAttribute('name') ||
|
|
4015
|
-
''));
|
|
4016
|
-
},
|
|
4017
|
-
enumerable: false,
|
|
4018
|
-
configurable: true
|
|
4019
|
-
});
|
|
4020
4009
|
Object.defineProperty(InputComponent.prototype, "size", {
|
|
4021
4010
|
get: function () {
|
|
4022
4011
|
return this._size;
|
|
@@ -4072,7 +4061,6 @@
|
|
|
4072
4061
|
{ type: i0.Renderer2 }
|
|
4073
4062
|
]; };
|
|
4074
4063
|
InputComponent.propDecorators = {
|
|
4075
|
-
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
4076
4064
|
size: [{ type: i0.Input }],
|
|
4077
4065
|
disabled: [{ type: i0.Input }]
|
|
4078
4066
|
};
|
|
@@ -4275,8 +4263,8 @@
|
|
|
4275
4263
|
var INPUT_ERROR_KEY = 'input_data_error';
|
|
4276
4264
|
var TagsInputComponent = /** @class */ (function (_super) {
|
|
4277
4265
|
__extends(TagsInputComponent, _super);
|
|
4278
|
-
function TagsInputComponent(cdr, fb, renderer, injector
|
|
4279
|
-
var _this = _super.call(this, cdr
|
|
4266
|
+
function TagsInputComponent(cdr, fb, renderer, injector) {
|
|
4267
|
+
var _this = _super.call(this, cdr) || this;
|
|
4280
4268
|
_this.fb = fb;
|
|
4281
4269
|
_this.renderer = renderer;
|
|
4282
4270
|
_this.injector = injector;
|
|
@@ -4535,8 +4523,7 @@
|
|
|
4535
4523
|
{ type: i0.ChangeDetectorRef },
|
|
4536
4524
|
{ type: forms.FormBuilder },
|
|
4537
4525
|
{ type: i0.Renderer2 },
|
|
4538
|
-
{ type: i0.Injector }
|
|
4539
|
-
{ type: i0.ElementRef }
|
|
4526
|
+
{ type: i0.Injector }
|
|
4540
4527
|
]; };
|
|
4541
4528
|
TagsInputComponent.propDecorators = {
|
|
4542
4529
|
placeholder: [{ type: i0.Input }],
|
|
@@ -5116,14 +5103,6 @@
|
|
|
5116
5103
|
_this.trigger = exports.TooltipTrigger.Click;
|
|
5117
5104
|
return _this;
|
|
5118
5105
|
}
|
|
5119
|
-
Object.defineProperty(DropdownDirective.prototype, "testId", {
|
|
5120
|
-
get: function () {
|
|
5121
|
-
return ('AUI-DROPDOWN/' +
|
|
5122
|
-
simplifyStringToTestId(this.elRef.nativeElement.textContent));
|
|
5123
|
-
},
|
|
5124
|
-
enumerable: false,
|
|
5125
|
-
configurable: true
|
|
5126
|
-
});
|
|
5127
5106
|
Object.defineProperty(DropdownDirective.prototype, "menu", {
|
|
5128
5107
|
get: function () {
|
|
5129
5108
|
return this._menu;
|
|
@@ -5181,7 +5160,6 @@
|
|
|
5181
5160
|
{ type: i0.NgZone }
|
|
5182
5161
|
]; };
|
|
5183
5162
|
DropdownDirective.propDecorators = {
|
|
5184
|
-
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
5185
5163
|
menu: [{ type: i0.Input, args: ['auiDropdown',] }],
|
|
5186
5164
|
lazyContentContext: [{ type: i0.Input, args: ['auiDropdownContext',] }],
|
|
5187
5165
|
hideOnClick: [{ type: i0.Input, args: ['auiDropdownHideOnClick',] }],
|
|
@@ -5315,7 +5293,7 @@
|
|
|
5315
5293
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5316
5294
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5317
5295
|
preserveWhitespaces: false,
|
|
5318
|
-
styles: ["aui-menu{display:none}.aui-menu{padding:var(--aui-spacing-m);max-width:280px;border-radius:var(--aui-border-radius-m);background-color:rgb(var(--aui-color-popper-bg))}:root .aui-menu,html[aui-theme-mode=light] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}@media (prefers-color-scheme:dark){html[aui-theme-mode=system] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.75)}.aui-menu--large .aui-menu-item,.aui-menu--large .aui-submenu{height:var(--aui-inline-height-l);font-size:var(--aui-font-size-l)}.aui-menu--medium .aui-menu-item,.aui-menu--medium .aui-submenu{height:var(--aui-inline-height-m);font-size:var(--aui-font-size-
|
|
5296
|
+
styles: ["aui-menu{display:none}.aui-menu{padding:var(--aui-spacing-m);max-width:280px;border-radius:var(--aui-border-radius-m);background-color:rgb(var(--aui-color-popper-bg))}:root .aui-menu,html[aui-theme-mode=light] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}@media (prefers-color-scheme:dark){html[aui-theme-mode=system] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.75)}.aui-menu--large .aui-menu-item,.aui-menu--large .aui-submenu{height:var(--aui-inline-height-l);font-size:var(--aui-font-size-l);line-height:var(--aui-line-height-l)}.aui-menu--large .aui-menu-item aui-icon,.aui-menu--large .aui-submenu aui-icon{height:var(--aui-line-height-l);font-size:var(--aui-icon-size-l)}.aui-menu--medium .aui-menu-item,.aui-menu--medium .aui-submenu{height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-menu--medium .aui-menu-item aui-icon,.aui-menu--medium .aui-submenu aui-icon{height:var(--aui-line-height-m);font-size:var(--aui-icon-size-m)}.aui-menu--small .aui-menu-item,.aui-menu--small .aui-submenu{height:var(--aui-inline-height-s);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-menu--small .aui-menu-item aui-icon,.aui-menu--small .aui-submenu aui-icon{height:var(--aui-line-height-m);font-size:var(--aui-icon-size-m)}.aui-menu--mini .aui-menu-item,.aui-menu--mini .aui-submenu{height:var(--aui-inline-height-xs);font-size:var(--aui-font-size-s);line-height:var(--aui-line-height-s)}.aui-menu--mini .aui-menu-item aui-icon,.aui-menu--mini .aui-submenu aui-icon{height:var(--aui-line-height-s);font-size:var(--aui-icon-size-s)}"]
|
|
5319
5297
|
},] }
|
|
5320
5298
|
];
|
|
5321
5299
|
MenuComponent.propDecorators = {
|
|
@@ -5358,7 +5336,7 @@
|
|
|
5358
5336
|
DropdownButtonComponent.decorators = [
|
|
5359
5337
|
{ type: i0.Component, args: [{
|
|
5360
5338
|
selector: 'aui-dropdown-button',
|
|
5361
|
-
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
|
|
5339
|
+
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",
|
|
5362
5340
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5363
5341
|
encapsulation: i0.ViewEncapsulation.None,
|
|
5364
5342
|
preserveWhitespaces: false,
|
|
@@ -5564,13 +5542,6 @@
|
|
|
5564
5542
|
enumerable: false,
|
|
5565
5543
|
configurable: true
|
|
5566
5544
|
});
|
|
5567
|
-
Object.defineProperty(OptionComponent.prototype, "testId", {
|
|
5568
|
-
get: function () {
|
|
5569
|
-
return 'AUI-OPTION/' + (this.label || this.value);
|
|
5570
|
-
},
|
|
5571
|
-
enumerable: false,
|
|
5572
|
-
configurable: true
|
|
5573
|
-
});
|
|
5574
5545
|
Object.defineProperty(OptionComponent.prototype, "labelContext", {
|
|
5575
5546
|
get: function () {
|
|
5576
5547
|
return this._labelContext;
|
|
@@ -5638,7 +5609,6 @@
|
|
|
5638
5609
|
]; };
|
|
5639
5610
|
OptionComponent.propDecorators = {
|
|
5640
5611
|
label: [{ type: i0.Input }],
|
|
5641
|
-
testId: [{ type: i0.HostBinding, args: ['attr.data-test',] }],
|
|
5642
5612
|
labelContext: [{ type: i0.Input }],
|
|
5643
5613
|
value: [{ type: i0.Input }],
|
|
5644
5614
|
disabled: [{ type: i0.Input }],
|
|
@@ -6002,8 +5972,8 @@
|
|
|
6002
5972
|
|
|
6003
5973
|
var MultiSelectComponent = /** @class */ (function (_super) {
|
|
6004
5974
|
__extends(MultiSelectComponent, _super);
|
|
6005
|
-
function MultiSelectComponent(cdr, renderer
|
|
6006
|
-
var _this = _super.call(this, cdr
|
|
5975
|
+
function MultiSelectComponent(cdr, renderer) {
|
|
5976
|
+
var _this = _super.call(this, cdr) || this;
|
|
6007
5977
|
_this.renderer = renderer;
|
|
6008
5978
|
_this.bem = buildBem('aui-multi-select');
|
|
6009
5979
|
_this.bemSelectAll = buildBem('aui-option');
|
|
@@ -6300,7 +6270,7 @@
|
|
|
6300
6270
|
MultiSelectComponent.decorators = [
|
|
6301
6271
|
{ type: i0.Component, args: [{
|
|
6302
6272
|
selector: 'aui-multi-select',
|
|
6303
|
-
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
|
|
6273
|
+
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",
|
|
6304
6274
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6305
6275
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6306
6276
|
preserveWhitespaces: false,
|
|
@@ -6320,8 +6290,7 @@
|
|
|
6320
6290
|
];
|
|
6321
6291
|
MultiSelectComponent.ctorParameters = function () { return [
|
|
6322
6292
|
{ type: i0.ChangeDetectorRef },
|
|
6323
|
-
{ type: i0.Renderer2 }
|
|
6324
|
-
{ type: i0.ElementRef }
|
|
6293
|
+
{ type: i0.Renderer2 }
|
|
6325
6294
|
]; };
|
|
6326
6295
|
MultiSelectComponent.propDecorators = {
|
|
6327
6296
|
tagClassFn: [{ type: i0.Input }],
|
|
@@ -6458,7 +6427,7 @@
|
|
|
6458
6427
|
SelectComponent.decorators = [
|
|
6459
6428
|
{ type: i0.Component, args: [{
|
|
6460
6429
|
selector: 'aui-select',
|
|
6461
|
-
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
|
|
6430
|
+
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",
|
|
6462
6431
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6463
6432
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6464
6433
|
preserveWhitespaces: false,
|
|
@@ -6827,7 +6796,7 @@
|
|
|
6827
6796
|
InlineAlertComponent.decorators = [
|
|
6828
6797
|
{ type: i0.Component, args: [{
|
|
6829
6798
|
selector: 'aui-inline-alert',
|
|
6830
|
-
template: "<div\n *ngIf=\"visible\"\n [class]=\"bem.block(type)\"\n [class.hasTitle]=\"title || titleRef\"\n>\n <aui-icon
|
|
6799
|
+
template: "<div\n *ngIf=\"visible\"\n [class]=\"bem.block(type)\"\n [class.hasTitle]=\"title || titleRef\"\n>\n <aui-icon\n class=\"aui-inline-alert__icon\"\n [icon]=\"iconMap(type)\"\n [background]=\"iconMap(type).endsWith('_triangle_s') ? 'triangle' : 'circle'\"\n ></aui-icon>\n <div class=\"aui-inline-alert__body\">\n <div class=\"aui-inline-alert__title\" *ngIf=\"title || titleRef\">\n <ng-container *ngIf=\"title\">{{ title }}</ng-container>\n <ng-content select=\"[auiInlineAlertTitle]\"></ng-content>\n </div>\n <div class=\"aui-inline-alert__content\">\n <ng-container *ngIf=\"content\">{{ content }}</ng-container>\n <ng-content></ng-content>\n </div>\n </div>\n <aui-icon\n *ngIf=\"closable\"\n class=\"aui-inline-alert__close\"\n icon=\"close\"\n (click)=\"closeSelf()\"\n ></aui-icon>\n</div>\n",
|
|
6831
6800
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6832
6801
|
encapsulation: i0.ViewEncapsulation.None,
|
|
6833
6802
|
preserveWhitespaces: false,
|
|
@@ -7118,7 +7087,7 @@
|
|
|
7118
7087
|
MessageComponent.decorators = [
|
|
7119
7088
|
{ type: i0.Component, args: [{
|
|
7120
7089
|
selector: 'aui-message',
|
|
7121
|
-
template: "<div\n [@inOut]=\"animateState\"\n (@inOut.done)=\"onAnimationEnd($event)\"\n [class]=\"bem.block(type) + ' ' + uniqueId\"\n>\n <div [class]=\"bem.element('icon', type)\">\n <aui-icon
|
|
7090
|
+
template: "<div\n [@inOut]=\"animateState\"\n (@inOut.done)=\"onAnimationEnd($event)\"\n [class]=\"bem.block(type) + ' ' + uniqueId\"\n>\n <div [class]=\"bem.element('icon', type)\">\n <aui-icon\n [icon]=\"icon\"\n [background]=\"icon.endsWith('_triangle_s') ? 'triangle' : 'circle'\"\n ></aui-icon>\n </div>\n <div [class]=\"bem.element('content')\">{{ content }}</div>\n</div>\n",
|
|
7122
7091
|
animations: [MessageAnimations.inOut],
|
|
7123
7092
|
encapsulation: i0.ViewEncapsulation.None,
|
|
7124
7093
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
@@ -7359,7 +7328,7 @@
|
|
|
7359
7328
|
NotificationComponent.decorators = [
|
|
7360
7329
|
{ type: i0.Component, args: [{
|
|
7361
7330
|
selector: 'aui-notification',
|
|
7362
|
-
template: "<div\n [@inOut]=\"animateState\"\n (@inOut.done)=\"onAnimationEnd($event)\"\n [class]=\"bem.block(type) + ' ' + uniqueId + ' ' + customClass\"\n>\n <div [class]=\"bem.element('icon')\"
|
|
7331
|
+
template: "<div\n [@inOut]=\"animateState\"\n (@inOut.done)=\"onAnimationEnd($event)\"\n [class]=\"bem.block(type) + ' ' + uniqueId + ' ' + customClass\"\n>\n <div [class]=\"bem.element('icon')\">\n <aui-icon\n [icon]=\"icon\"\n [background]=\"icon.endsWith('_triangle_s') ? 'triangle' : 'circle'\"\n ></aui-icon>\n </div>\n <div [class]=\"bem.element('body')\">\n <div *ngIf=\"title\" [class]=\"bem.element('title')\">{{ title }}</div>\n <div *ngIf=\"content\" [class]=\"bem.element('content')\">{{ content }}</div>\n <ng-template cdkPortalHost></ng-template>\n <ng-template #modalComponent></ng-template>\n </div>\n <div [class]=\"bem.element('close')\">\n <div\n *ngIf=\"duration <= 0 || isHover\"\n [class]=\"bem.element('remove')\"\n (click)=\"remove()\"\n >\n <aui-icon icon=\"close\"></aui-icon>\n </div>\n <div *ngIf=\"duration > 0 && !isHover\" [class]=\"bem.element('duration')\">\n {{ remains > 0 ? remains : 1 }}s\n </div>\n </div>\n <div *ngIf=\"footerPortal\" [class]=\"bem.element('footer')\">\n <ng-template [cdkPortalOutlet]=\"footerPortal\"></ng-template>\n </div>\n</div>\n",
|
|
7363
7332
|
animations: [MessageAnimations.inOut],
|
|
7364
7333
|
encapsulation: i0.ViewEncapsulation.None,
|
|
7365
7334
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
@@ -10912,8 +10881,8 @@
|
|
|
10912
10881
|
var bem$3 = buildBem('aui-time-picker-panel');
|
|
10913
10882
|
var TimePickerPanelComponent = /** @class */ (function (_super) {
|
|
10914
10883
|
__extends(TimePickerPanelComponent, _super);
|
|
10915
|
-
function TimePickerPanelComponent(cdr
|
|
10916
|
-
var _this = _super.call(this, cdr
|
|
10884
|
+
function TimePickerPanelComponent(cdr) {
|
|
10885
|
+
var _this = _super.call(this, cdr) || this;
|
|
10917
10886
|
_this.cdr = cdr;
|
|
10918
10887
|
_this.hourStep = 1;
|
|
10919
10888
|
_this.minuteStep = 1;
|
|
@@ -11109,8 +11078,7 @@
|
|
|
11109
11078
|
},] }
|
|
11110
11079
|
];
|
|
11111
11080
|
TimePickerPanelComponent.ctorParameters = function () { return [
|
|
11112
|
-
{ type: i0.ChangeDetectorRef }
|
|
11113
|
-
{ type: i0.ElementRef }
|
|
11081
|
+
{ type: i0.ChangeDetectorRef }
|
|
11114
11082
|
]; };
|
|
11115
11083
|
TimePickerPanelComponent.propDecorators = {
|
|
11116
11084
|
format: [{ type: i0.Input }],
|
|
@@ -12513,7 +12481,7 @@
|
|
|
12513
12481
|
template: "<div\n class=\"aui-steps aui-steps--{{ orientation || 'horizontal' }} aui-steps--{{\n type || 'step'\n }}\"\n>\n <ng-container *ngFor=\"let step of steps; let i = index; let isLast = last\">\n <div\n class=\"aui-step\"\n (click)=\"select(i)\"\n [class.isLastActive]=\"isLastActive(i, steps)\"\n [class.clickable]=\"isSelectable(i)\"\n >\n <div class=\"aui-step__indicator\">\n <ng-container *ngIf=\"isProgress\">\n <ng-container [ngSwitch]=\"getIcon(i, step.state)\">\n <span\n class=\"aui-step__indicator-number aui-step__indicator-number--{{\n step.state\n }}\"\n *ngSwitchCase=\"'number'\"\n [class.selected]=\"getActiveIndex() === i\"\n >\n {{ i + 1 }}\n </span>\n <aui-icon\n class=\"aui-step__indicator-icon aui-step__indicator-icon--{{\n step.state\n }}\"\n *ngSwitchDefault\n [class.selected]=\"getActiveIndex() === i\"\n [icon]=\"getIcon(i, step.state)\"\n ></aui-icon>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"!isProgress\">\n <span\n class=\"aui-step__indicator-number\"\n [class.selected]=\"_currentIndex === i\"\n *ngIf=\"i >= _currentIndex\"\n >\n {{ i + 1 }}\n </span>\n <aui-icon\n class=\"aui-step__indicator-icon aui-step__indicator-icon--done\"\n [class.selected]=\"_currentIndex === i\"\n *ngIf=\"i < _currentIndex\"\n [icon]=\"getIcon(i, 'done')\"\n ></aui-icon>\n </ng-container>\n <div\n *ngIf=\"!isLast && isVertical\"\n class=\"aui-steps__vertical-line aui-steps__vertical-line--{{\n step.state\n }}\"\n ></div>\n </div>\n <div\n class=\"aui-step__info aui-step__info--{{\n isProgress\n ? step.state || 'default'\n : i < _currentIndex\n ? 'done'\n : 'default'\n }}\"\n [class.aui-step__info--selected]=\"getActiveIndex() === i\"\n >\n <div class=\"aui-step__name\">\n {{ step.label }}\n </div>\n <div class=\"aui-step__description\" *ngIf=\"step.description\">\n {{ step.description }}\n </div>\n </div>\n </div>\n <div\n *ngIf=\"!isLast && !isVertical\"\n class=\"aui-steps__horizontal-line\"\n ></div>\n </ng-container>\n</div>\n",
|
|
12514
12482
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
12515
12483
|
encapsulation: i0.ViewEncapsulation.None,
|
|
12516
|
-
styles: ["@-webkit-keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.aui-step{display:flex;align-items:center;font-weight:var(--aui-font-weight-normal)}.aui-step__indicator{margin-right:var(--aui-spacing-m);width:24px;height:24px;display:inline-flex;color:rgb(var(--aui-color-n-4))}.aui-step__indicator-number{border-radius:50%;border:1px solid rgb(var(--aui-color-n-7));background-color:rgb(var(--aui-color-n-8));font-weight:var(--aui-font-weight-bold);font-size:var(--aui-font-size-l);display:flex;justify-content:center;width:var(--aui-icon-size-xl);height:var(--aui-icon-size-xl);line-height:var(--aui-line-height-l)}.aui-step__indicator-number.selected{border-color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-primary));color:#fff}.aui-step__indicator-icon{font-size:var(--aui-icon-size-xl);display:inline-flex;border-radius:50%}.aui-step__indicator-icon--done,.aui-step__indicator-icon--pending{background-color:rgb(var(--aui-color-p-6));color:rgb(var(--aui-color-primary))}.aui-step__indicator-icon--done.selected,.aui-step__indicator-icon--pending.selected{background-color:#fff}.aui-step__indicator-icon--error{background-color:rgb(var(--aui-color-r-6));color:rgb(var(--aui-color-red))}.aui-step__indicator-icon--error.selected{background-color:#fff}.aui-step__indicator-icon--pending{transform-origin:center;-webkit-animation:spin
|
|
12484
|
+
styles: ["@-webkit-keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.aui-step{display:flex;align-items:center;font-weight:var(--aui-font-weight-normal)}.aui-step__indicator{margin-right:var(--aui-spacing-m);width:24px;height:24px;display:inline-flex;color:rgb(var(--aui-color-n-4))}.aui-step__indicator-number{border-radius:50%;border:1px solid rgb(var(--aui-color-n-7));background-color:rgb(var(--aui-color-n-8));font-weight:var(--aui-font-weight-bold);font-size:var(--aui-font-size-l);display:flex;justify-content:center;width:var(--aui-icon-size-xl);height:var(--aui-icon-size-xl);line-height:var(--aui-line-height-l)}.aui-step__indicator-number.selected{border-color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-primary));color:#fff}.aui-step__indicator-icon{font-size:var(--aui-icon-size-xl);display:inline-flex;border-radius:50%}.aui-step__indicator-icon--done,.aui-step__indicator-icon--pending{background-color:rgb(var(--aui-color-p-6));color:rgb(var(--aui-color-primary))}.aui-step__indicator-icon--done.selected,.aui-step__indicator-icon--pending.selected{background-color:#fff}.aui-step__indicator-icon--error{background-color:rgb(var(--aui-color-r-6));color:rgb(var(--aui-color-red))}.aui-step__indicator-icon--error.selected{background-color:#fff}.aui-step__indicator-icon--pending{transform-origin:center;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}.aui-step__name{font-size:var(--aui-font-size-l);max-width:128px}.aui-step__description{font-size:var(--aui-font-size-s);margin-top:var(--aui-spacing-s);line-height:var(--aui-line-height-s)}.aui-step__info{color:rgb(var(--aui-color-n-4))}.aui-step__info--done,.aui-step__info--error,.aui-step__info--pending,.aui-step__info--selected{color:rgb(var(--aui-color-n-1))}.aui-step__info--selected .aui-step__name{font-weight:var(--aui-font-weight-bold)}.aui-step.clickable{cursor:pointer}.aui-steps--progress .aui-step.clickable .aui-step__info:hover{color:rgb(var(--aui-color-primary))}.aui-steps__horizontal-line{height:1px;background-color:rgb(var(--aui-color-n-7));flex:1;max-width:240px;margin:0 var(--aui-spacing-l)}.aui-steps__vertical-line{min-height:12px;width:1px;background-color:rgb(var(--aui-color-n-7));margin-top:var(--aui-spacing-s);flex:1}.aui-steps__vertical-line--done{background-color:rgb(var(--aui-color-green))}.aui-steps__vertical-line--error{background-color:rgb(var(--aui-color-red))}.aui-steps__vertical-line--pending{background-color:rgb(var(--aui-color-primary))}.aui-steps--horizontal{padding:0 120px;display:flex;justify-content:center;align-items:center}.aui-steps--vertical{max-width:200px}.aui-steps--vertical .aui-step{align-items:stretch}.aui-steps--vertical .aui-step:not(:last-child){margin-bottom:var(--aui-spacing-s)}.aui-steps--vertical .aui-step__indicator{height:auto;display:flex;align-items:center;flex-direction:column}.aui-steps--vertical .aui-step__indicator-icon--done{color:rgb(var(--aui-color-green));background-color:rgb(var(--aui-color-g-6))}.aui-steps--vertical .aui-step__indicator-icon--done.selected{background-color:#fff}.aui-steps--vertical .aui-step__info{padding-bottom:13px}.aui-steps--vertical .aui-step.isLastActive .aui-steps__vertical-line{background-color:rgb(var(--aui-color-n-7))}"]
|
|
12517
12485
|
},] }
|
|
12518
12486
|
];
|
|
12519
12487
|
StepsComponent.propDecorators = {
|
|
@@ -12797,38 +12765,40 @@
|
|
|
12797
12765
|
exports.observeMutationOn = observeMutationOn;
|
|
12798
12766
|
exports.observeResizeOn = observeResizeOn;
|
|
12799
12767
|
exports.scrollIntoView = scrollIntoView;
|
|
12800
|
-
exports.simplifyStringToTestId = simplifyStringToTestId;
|
|
12801
12768
|
exports.sleep = sleep;
|
|
12802
12769
|
exports.watchContentExist = watchContentExist;
|
|
12803
12770
|
exports.zh = zh;
|
|
12804
12771
|
exports.ɵ0 = ɵ0;
|
|
12805
12772
|
exports.ɵ1 = ɵ1;
|
|
12806
12773
|
exports.ɵ2 = ɵ2;
|
|
12807
|
-
exports.ɵa =
|
|
12808
|
-
exports.ɵb =
|
|
12809
|
-
exports.ɵ
|
|
12810
|
-
exports.ɵ
|
|
12811
|
-
exports.ɵ
|
|
12812
|
-
exports.ɵ
|
|
12813
|
-
exports.ɵ
|
|
12814
|
-
exports.ɵ
|
|
12815
|
-
exports.ɵ
|
|
12816
|
-
exports.ɵ
|
|
12817
|
-
exports.ɵ
|
|
12818
|
-
exports.ɵ
|
|
12819
|
-
exports.ɵ
|
|
12820
|
-
exports.ɵ
|
|
12821
|
-
exports.ɵ
|
|
12822
|
-
exports.ɵ
|
|
12823
|
-
exports.ɵ
|
|
12824
|
-
exports.ɵ
|
|
12825
|
-
exports.ɵ
|
|
12826
|
-
exports.ɵ
|
|
12827
|
-
exports.ɵ
|
|
12828
|
-
exports.ɵ
|
|
12829
|
-
exports.ɵ
|
|
12830
|
-
exports.ɵ
|
|
12831
|
-
exports.ɵ
|
|
12774
|
+
exports.ɵa = RgbColorPipe;
|
|
12775
|
+
exports.ɵb = RgbaColorPipe;
|
|
12776
|
+
exports.ɵba = _isNumberValue;
|
|
12777
|
+
exports.ɵbb = DatePickerComponent;
|
|
12778
|
+
exports.ɵc = CssVarPipe;
|
|
12779
|
+
exports.ɵd = TablePlaceholderDefDirective;
|
|
12780
|
+
exports.ɵe = TablePlaceholderOutlet;
|
|
12781
|
+
exports.ɵf = TableExpandButtonCellComponent;
|
|
12782
|
+
exports.ɵg = TableExpandPanelCellComponent;
|
|
12783
|
+
exports.ɵh = TooltipCopyDirective;
|
|
12784
|
+
exports.ɵi = DialogComponent;
|
|
12785
|
+
exports.ɵj = ConfirmDialogComponent;
|
|
12786
|
+
exports.ɵk = BaseRadio;
|
|
12787
|
+
exports.ɵl = InputAddonBeforeDirective;
|
|
12788
|
+
exports.ɵm = InputAddonAfterDirective;
|
|
12789
|
+
exports.ɵn = InputPrefixDirective;
|
|
12790
|
+
exports.ɵo = InputSuffixDirective;
|
|
12791
|
+
exports.ɵp = SharedModule;
|
|
12792
|
+
exports.ɵq = ClickOutsideDirective;
|
|
12793
|
+
exports.ɵr = AutosizeDirective;
|
|
12794
|
+
exports.ɵs = BaseSelect;
|
|
12795
|
+
exports.ɵt = MenuGroupTitleDirective;
|
|
12796
|
+
exports.ɵu = MessageWrapperComponent;
|
|
12797
|
+
exports.ɵv = MessageComponent;
|
|
12798
|
+
exports.ɵw = MessageAnimations;
|
|
12799
|
+
exports.ɵx = BaseMessage;
|
|
12800
|
+
exports.ɵy = NotificationWrapperComponent;
|
|
12801
|
+
exports.ɵz = VirtualForOfDirective;
|
|
12832
12802
|
|
|
12833
12803
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
12834
12804
|
|