@alauda/ui 6.1.3-beta.0 → 6.1.3-beta.12

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.
Files changed (29) hide show
  1. package/alauda-ui.metadata.json +1 -1
  2. package/bundles/alauda-ui.umd.js +149 -146
  3. package/bundles/alauda-ui.umd.js.map +1 -1
  4. package/bundles/alauda-ui.umd.min.js +1 -1
  5. package/bundles/alauda-ui.umd.min.js.map +1 -1
  6. package/drawer/component/drawer-ref.d.ts +2 -2
  7. package/drawer/component/drawer.component.d.ts +3 -3
  8. package/drawer/component/drawer.service.d.ts +1 -1
  9. package/esm2015/drawer/component/drawer-ref.js +1 -1
  10. package/esm2015/drawer/component/drawer-ref.ngsummary.json +1 -1
  11. package/esm2015/drawer/component/drawer.component.js +12 -10
  12. package/esm2015/drawer/component/drawer.component.ngfactory.js +6 -6
  13. package/esm2015/drawer/component/drawer.component.ngsummary.json +1 -1
  14. package/esm2015/drawer/component/drawer.component.scss.ngstyle.js +1 -1
  15. package/esm2015/drawer/component/drawer.service.js +3 -8
  16. package/esm2015/drawer/drawer.module.js +3 -3
  17. package/esm2015/input/input.module.ngfactory.js +1 -1
  18. package/esm2015/input/number-input/number-input.component.js +2 -2
  19. package/esm2015/input/number-input/number-input.component.ngfactory.js +1 -1
  20. package/esm2015/message/message.module.js +2 -2
  21. package/esm2015/table/table-scroll.directive.js +9 -4
  22. package/esm2015/table/table-scroll.directive.ngsummary.json +1 -1
  23. package/esm2015/table/table-scroll.scss.ngstyle.js +1 -1
  24. package/esm2015/table/table.component.js +1 -1
  25. package/esm2015/table/table.component.scss.ngstyle.js +1 -1
  26. package/fesm2015/alauda-ui.js +115 -112
  27. package/fesm2015/alauda-ui.js.map +1 -1
  28. package/package.json +1 -1
  29. package/table/table-scroll.directive.d.ts +3 -1
@@ -2,7 +2,7 @@
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/table'), require('@angular/common'), require('@angular/common/http'), require('@angular/animations'), require('@angular/cdk/collections'), require('@angular/cdk/a11y'), require('@angular/cdk/overlay'), require('@angular/cdk/portal'), require('clipboard-polyfill'), require('@angular/cdk/bidi'), require('@angular/forms'), require('@angular/cdk/observers'), require('@angular/cdk/scrolling'), require('@angular/cdk/accordion'), require('dayjs'), require('dayjs/plugin/customParseFormat'), require('dayjs/plugin/isBetween')) :
3
3
  typeof define === 'function' && define.amd ? define('@alauda/ui', ['exports', '@angular/core', 'rxjs', 'rxjs/operators', '@angular/cdk/table', '@angular/common', '@angular/common/http', '@angular/animations', '@angular/cdk/collections', '@angular/cdk/a11y', '@angular/cdk/overlay', '@angular/cdk/portal', 'clipboard-polyfill', '@angular/cdk/bidi', '@angular/forms', '@angular/cdk/observers', '@angular/cdk/scrolling', '@angular/cdk/accordion', 'dayjs', 'dayjs/plugin/customParseFormat', 'dayjs/plugin/isBetween'], factory) :
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.alauda = global.alauda || {}, global.alauda.ui = {}), global.ng.core, global.rxjs, global.rxjs.operators, global.ng.cdk.table, global.ng.common, global.ng.common.http, global.ng.animations, global.ng.cdk.collections, global.ng.cdk.a11y, global.ng.cdk.overlay, global.ng.cdk.portal, global.clipboardPolyfill, global.ng.cdk.bidi, global.ng.forms, global.ng.cdk.observers, global.ng.cdk.scrolling, global.ng.cdk.accordion, global.dayjs, global.customParseFormat, global.isBetween));
5
- }(this, (function (exports, i0, rxjs, operators, table, common, http, animations, collections, a11y, i1, portal, clipboardPolyfill, bidi, forms, observers, scrolling, accordion, dayjs, customParseFormat, isBetween) { 'use strict';
5
+ }(this, (function (exports, i0, rxjs, operators, table, common, http, animations, collections, a11y, overlay, portal, clipboardPolyfill, bidi, forms, observers, scrolling, accordion, dayjs, customParseFormat, isBetween) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -1068,6 +1068,77 @@
1068
1068
  hasPanel: [{ type: i0.HostBinding, args: ['class.hasPanel',] }]
1069
1069
  };
1070
1070
 
1071
+ var TableComponent = /** @class */ (function (_super) {
1072
+ __extends(TableComponent, _super);
1073
+ function TableComponent() {
1074
+ return _super !== null && _super.apply(this, arguments) || this;
1075
+ }
1076
+ Object.defineProperty(TableComponent.prototype, "stickyCssClass", {
1077
+ // FIXME: workaround to override because it will break constructor if it is field, but why MatTable works?
1078
+ // @ts-expect-error
1079
+ get: function () {
1080
+ return 'aui-table-sticky';
1081
+ },
1082
+ set: function (_stickyCssClass) {
1083
+ //
1084
+ },
1085
+ enumerable: false,
1086
+ configurable: true
1087
+ });
1088
+ TableComponent.prototype.ngAfterContentInit = function () {
1089
+ this._createPlaceholder();
1090
+ };
1091
+ TableComponent.prototype._createPlaceholder = function () {
1092
+ var footerRow = this._placeholderDef;
1093
+ if (!this._placeholderDef) {
1094
+ return;
1095
+ }
1096
+ var container = this._placeholderOutlet.viewContainer;
1097
+ container.createEmbeddedView(footerRow.templateRef);
1098
+ };
1099
+ TableComponent.prototype._clearPlaceholder = function () {
1100
+ this._placeholderOutlet.viewContainer.clear();
1101
+ };
1102
+ TableComponent.prototype.ngOnDestroy = function () {
1103
+ _super.prototype.ngOnDestroy.call(this);
1104
+ this._clearPlaceholder();
1105
+ };
1106
+ return TableComponent;
1107
+ }(table.CdkTable));
1108
+ TableComponent.decorators = [
1109
+ { type: i0.Component, args: [{
1110
+ selector: 'aui-table',
1111
+ exportAs: 'auiTable',
1112
+ encapsulation: i0.ViewEncapsulation.None,
1113
+ template: "\n " + table.CDK_TABLE_TEMPLATE + "\n <ng-container auiTablePlaceholderOutlet></ng-container>\n ",
1114
+ host: {
1115
+ class: 'aui-table',
1116
+ },
1117
+ preserveWhitespaces: false,
1118
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1119
+ providers: [
1120
+ {
1121
+ provide: table.CDK_TABLE,
1122
+ useExisting: TableComponent,
1123
+ },
1124
+ {
1125
+ provide: collections._VIEW_REPEATER_STRATEGY,
1126
+ useClass: collections._DisposeViewRepeaterStrategy,
1127
+ },
1128
+ {
1129
+ provide: table._COALESCED_STYLE_SCHEDULER,
1130
+ useClass: table._CoalescedStyleScheduler,
1131
+ },
1132
+ ],
1133
+ styles: [".aui-table{display:block;padding:0 12px 12px;font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);color:rgb(var(--aui-color-n-1));background-color:rgb(var(--aui-color-n-9));border-radius:var(--aui-border-radius-l);overflow:auto}.aui-table::-webkit-scrollbar{width:4px;height:4px}.aui-table::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3)}.aui-table__header-row,.aui-table__row{display:flex;align-items:center}.aui-table__header-row.hasPanel,.aui-table__row.hasPanel{flex-wrap:wrap}.aui-table__header-row+.aui-table__row{border-top-left-radius:var(--aui-border-radius-l);border-top-right-radius:var(--aui-border-radius-l)}.aui-table__row{position:relative;border:solid rgb(var(--aui-color-n-8));border-width:1px 1px 0;background-color:rgb(var(--aui-color-n-10));padding:0 9px;min-height:58px;box-sizing:content-box}.aui-table__row:first-child{border-top-left-radius:var(--aui-border-radius-l);border-top-right-radius:var(--aui-border-radius-l)}.aui-table__row:last-child{border-bottom-width:1px;min-height:58px;border-bottom-left-radius:var(--aui-border-radius-l);border-bottom-right-radius:var(--aui-border-radius-l)}.aui-table__row.isDisabled:before{content:\"\";z-index:2;position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgb(var(--aui-color-n-10));opacity:.7;cursor:not-allowed}.aui-table__header-row{background-color:rgb(var(--aui-color-n-9));padding:0 10px}.aui-table__cell,.aui-table__header-cell{flex:1}.aui-table__cell{padding:15px 10px;background-color:rgb(var(--aui-color-n-10));overflow:hidden;word-wrap:break-word}.aui-table__header-cell{padding:12px 10px;font-weight:var(--aui-font-weight-bold);background-color:rgb(var(--aui-color-n-9));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aui-table__column-expand-button{display:flex;align-items:center;max-width:calc(10px * 2 + var(--aui-icon-size-m))}.aui-table__column-expand-button.aui-table__cell{height:58px}.aui-table__column-expand-button .aui-expand-button{display:inline-flex;justify-content:center;align-items:center;width:var(--aui-icon-size-m);height:var(--aui-icon-size-m);font-size:var(--aui-icon-size-m);line-height:var(--aui-icon-size-m);color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6));border-radius:50%;border:none;cursor:pointer;transition:transform .1s ease-in-out}.aui-table__column-expand-button .aui-expand-button aui-icon{display:block;width:var(--aui-icon-size-m);height:var(--aui-icon-size-m)}.aui-table__column-expand-button .aui-expand-button:hover{background-color:rgb(var(--aui-color-p-7))}.aui-table__column-expand-button .aui-expand-button:active{background-color:rgb(var(--aui-color-p-5))}.aui-table__column-expand-button .aui-expand-button.isExpanded{transform:rotate(90deg);color:rgb(var(--aui-color-n-10));background-color:rgb(var(--aui-color-primary))}.aui-table__column-expand-button .aui-expand-button.isExpanded:hover{background-color:rgb(var(--aui-color-p-1))}.aui-table__column-expand-button .aui-expand-button.isExpanded:active{background-color:rgb(var(--aui-color-p-0))}.aui-table__column-expand-button .aui-expand-button.isExpanded[disabled],.aui-table__column-expand-button .aui-expand-button[disabled]{background-color:rgb(var(--aui-color-n-8));color:rgb(var(--aui-color-n-6));cursor:not-allowed}.aui-table__column-expand-panel{margin-top:-6px}.aui-table__column-expand-panel.aui-table__header-cell{display:none}.aui-table__column-expand-panel.aui-table__cell{width:100%;flex-shrink:0;flex-basis:100%;padding:0 10px;overflow:hidden}.aui-table__column-expand-panel.aui-table__cell .aui-table__cell-expand-panel{border-radius:var(--aui-border-radius-l);overflow:hidden}.aui-table__column-expand-panel.aui-table__cell .aui-table__cell-expand-panel-content.hasBackground{padding:16px;background-color:rgb(var(--aui-color-n-9))}", ".aui-table__scroll-wrapper{background-color:rgb(var(--aui-color-n-9));padding:0 12px 12px;border-radius:var(--aui-border-radius-l)}.aui-table__scroll-wrapper::-webkit-scrollbar{width:4px;height:4px}.aui-table__scroll-wrapper::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3)}.aui-table__scroll-wrapper .aui-table{padding:0}.aui-table__scroll-wrapper .aui-table__scroll-shadow.hasTableBottomShadow:after,.aui-table__scroll-wrapper .aui-table__scroll-shadow.hasTableTopShadow:before{transform:none;width:100%;left:0}.aui-table__scroll-shadow.hasTableTopShadow:before{transform:translate3d(-12px,0,0);top:28px;box-shadow:0 10px 10px -4px rgba(var(--aui-color-n-1),.16)}.aui-table__scroll-shadow.hasTableBottomShadow:after,.aui-table__scroll-shadow.hasTableTopShadow:before{content:\"\";position:-webkit-sticky;position:sticky;display:block;width:calc(100% + 24px);height:16px;margin-top:-16px;z-index:99}.aui-table__scroll-shadow.hasTableBottomShadow:after{transform:translate3d(-12px,12px,0);bottom:0;box-shadow:0 -10px 10px -4px rgba(var(--aui-color-n-1),.16) inset}.aui-table__scroll-shadow .aui-table__header-row{margin:0;padding:0;align-items:stretch}.aui-table__scroll-shadow .aui-table__header-row .aui-table__header-cell:first-of-type{padding-left:20px}.aui-table__scroll-shadow .aui-table__header-row .aui-table__header-cell:last-of-type{padding-right:20px}.aui-table__scroll-shadow .aui-table__header-row+.aui-table__row .aui-table__cell:first-of-type{border-top-left-radius:var(--aui-border-radius-l)}.aui-table__scroll-shadow .aui-table__header-row+.aui-table__row .aui-table__cell:last-of-type{border-top-right-radius:var(--aui-border-radius-l)}.aui-table__scroll-shadow .aui-table__row{border:none;padding:0;align-items:stretch}.aui-table__scroll-shadow .aui-table__row .aui-table__cell{border-color:rgb(var(--aui-color-n-8));border-style:solid;border-width:1px 0}.aui-table__scroll-shadow .aui-table__row .aui-table__cell:first-of-type{border-left-width:1px;padding-left:19px}.aui-table__scroll-shadow .aui-table__row .aui-table__cell:last-of-type{border-right-width:1px;padding-right:19px}.aui-table__scroll-shadow .aui-table__row:last-child .aui-table__cell:first-of-type{border-bottom-left-radius:var(--aui-border-radius-l)}.aui-table__scroll-shadow .aui-table__row:last-child .aui-table__cell:last-of-type{border-bottom-right-radius:var(--aui-border-radius-l)}.aui-table__scroll-shadow .aui-table__row:not(.aui-table__scroll-shadow .aui-table__row:last-child) .aui-table__cell{border-bottom-width:0}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-left:after,.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-right:after{position:absolute;top:0;bottom:-1px;width:20px;transition:box-shadow .3s;content:\"\";pointer-events:none}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-left:before,.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-right:before{position:absolute;top:0;bottom:-1px;content:\"\";background:linear-gradient(180deg,rgb(var(--aui-color-n-7)),rgb(var(--aui-color-n-7)) 8px,transparent 0,transparent);width:1px;background-size:100% 14px;height:100%}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-left{padding-right:30px}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-left:after{right:-10px}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-left:before{right:10px}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-right{padding-left:30px}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-right:after{left:-10px}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-right:before{left:10px}.aui-table__scroll-shadow--scrolling .aui-table-sticky-border-elem-left:not(.aui-table__header-row):after{box-shadow:inset 8px 0 4px -4px rgba(var(--aui-color-n-1),.16)}.aui-table__scroll-shadow--scrolling .aui-table-sticky-border-elem-left:not(.aui-table__header-row):before{background:linear-gradient(180deg,rgb(var(--aui-color-primary)),rgb(var(--aui-color-primary)) 8px,transparent 0,transparent);width:1px;background-size:100% 14px;height:100%}.aui-table__scroll-shadow--before-end .aui-table-sticky-border-elem-right:not(.aui-table__header-row):after{box-shadow:inset -8px 0 4px -4px rgba(var(--aui-color-n-1),.16)}.aui-table__scroll-shadow--before-end .aui-table-sticky-border-elem-right:not(.aui-table__header-row):before{background:linear-gradient(180deg,rgb(var(--aui-color-primary)),rgb(var(--aui-color-primary)) 8px,transparent 0,transparent);width:1px;background-size:100% 14px;height:100%}"]
1134
+ },] }
1135
+ ];
1136
+ TableComponent.propDecorators = {
1137
+ enableScrollWrapper: [{ type: i0.Input }],
1138
+ _placeholderOutlet: [{ type: i0.ViewChild, args: [TablePlaceholderOutlet, { static: true },] }],
1139
+ _placeholderDef: [{ type: i0.ContentChild, args: [TablePlaceholderDefDirective, { static: true },] }]
1140
+ };
1141
+
1071
1142
  var CLASS_PREFIX = 'aui-table';
1072
1143
  var SHADOW_CLASS = CLASS_PREFIX + "__scroll-shadow";
1073
1144
  var HAS_SCROLL_CLASS = SHADOW_CLASS + "--has-scroll";
@@ -1090,8 +1161,9 @@
1090
1161
  },] }
1091
1162
  ];
1092
1163
  var TableScrollShadowDirective = /** @class */ (function () {
1093
- function TableScrollShadowDirective(el) {
1164
+ function TableScrollShadowDirective(el, table) {
1094
1165
  this.el = el;
1166
+ this.table = table;
1095
1167
  this.destroy$$ = new rxjs.Subject();
1096
1168
  this.SCROLL_BEFORE_END_CLASS = true;
1097
1169
  this.SHADOW_CLASS = true;
@@ -1124,6 +1196,8 @@
1124
1196
  var scrollTop = this.containerEl.scrollTop;
1125
1197
  this.placeClassList(this.containerEl.classList, scrollTop > 0, HAS_TABLE_TOP_SHADOW);
1126
1198
  this.placeClassList(this.containerEl.classList, scrollTop < scrollDis, HAS_TABLE_BOTTOM_SHADOW);
1199
+ // 兼容屏幕缩放是 sticky多列的样式问题
1200
+ this.table.updateStickyColumnStyles();
1127
1201
  };
1128
1202
  TableScrollShadowDirective.prototype.mutateHorizontalScroll = function () {
1129
1203
  var scrollDis = this.containerEl.scrollWidth - this.containerEl.offsetWidth;
@@ -1146,84 +1220,14 @@
1146
1220
  },] }
1147
1221
  ];
1148
1222
  TableScrollShadowDirective.ctorParameters = function () { return [
1149
- { type: i0.ElementRef }
1223
+ { type: i0.ElementRef },
1224
+ { type: TableComponent, decorators: [{ type: i0.Host }] }
1150
1225
  ]; };
1151
1226
  TableScrollShadowDirective.propDecorators = {
1152
1227
  SCROLL_BEFORE_END_CLASS: [{ type: i0.HostBinding, args: ["class." + SCROLL_BEFORE_END_CLASS,] }],
1153
1228
  SHADOW_CLASS: [{ type: i0.HostBinding, args: ["class." + SHADOW_CLASS,] }]
1154
1229
  };
1155
1230
 
1156
- var TableComponent = /** @class */ (function (_super) {
1157
- __extends(TableComponent, _super);
1158
- function TableComponent() {
1159
- return _super !== null && _super.apply(this, arguments) || this;
1160
- }
1161
- Object.defineProperty(TableComponent.prototype, "stickyCssClass", {
1162
- // FIXME: workaround to override because it will break constructor if it is field, but why MatTable works?
1163
- // @ts-expect-error
1164
- get: function () {
1165
- return 'aui-table-sticky';
1166
- },
1167
- set: function (_stickyCssClass) {
1168
- //
1169
- },
1170
- enumerable: false,
1171
- configurable: true
1172
- });
1173
- TableComponent.prototype.ngAfterContentInit = function () {
1174
- this._createPlaceholder();
1175
- };
1176
- TableComponent.prototype._createPlaceholder = function () {
1177
- var footerRow = this._placeholderDef;
1178
- if (!this._placeholderDef) {
1179
- return;
1180
- }
1181
- var container = this._placeholderOutlet.viewContainer;
1182
- container.createEmbeddedView(footerRow.templateRef);
1183
- };
1184
- TableComponent.prototype._clearPlaceholder = function () {
1185
- this._placeholderOutlet.viewContainer.clear();
1186
- };
1187
- TableComponent.prototype.ngOnDestroy = function () {
1188
- _super.prototype.ngOnDestroy.call(this);
1189
- this._clearPlaceholder();
1190
- };
1191
- return TableComponent;
1192
- }(table.CdkTable));
1193
- TableComponent.decorators = [
1194
- { type: i0.Component, args: [{
1195
- selector: 'aui-table',
1196
- exportAs: 'auiTable',
1197
- encapsulation: i0.ViewEncapsulation.None,
1198
- template: "\n " + table.CDK_TABLE_TEMPLATE + "\n <ng-container auiTablePlaceholderOutlet></ng-container>\n ",
1199
- host: {
1200
- class: 'aui-table',
1201
- },
1202
- preserveWhitespaces: false,
1203
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1204
- providers: [
1205
- {
1206
- provide: table.CDK_TABLE,
1207
- useExisting: TableComponent,
1208
- },
1209
- {
1210
- provide: collections._VIEW_REPEATER_STRATEGY,
1211
- useClass: collections._DisposeViewRepeaterStrategy,
1212
- },
1213
- {
1214
- provide: table._COALESCED_STYLE_SCHEDULER,
1215
- useClass: table._CoalescedStyleScheduler,
1216
- },
1217
- ],
1218
- styles: [".aui-table{display:block;padding:0 12px 12px;font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);color:rgb(var(--aui-color-n-1));background-color:rgb(var(--aui-color-n-9));border-radius:var(--aui-border-radius-l);overflow:auto}.aui-table::-webkit-scrollbar{width:4px;height:4px}.aui-table::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3)}.aui-table__header-row,.aui-table__row{display:flex;align-items:center}.aui-table__header-row.hasPanel,.aui-table__row.hasPanel{flex-wrap:wrap}.aui-table__header-row+.aui-table__row{border-top-left-radius:var(--aui-border-radius-l);border-top-right-radius:var(--aui-border-radius-l)}.aui-table__row{position:relative;border:solid rgb(var(--aui-color-n-8));border-width:1px 1px 0;background-color:rgb(var(--aui-color-n-10));padding:0 10px;min-height:58px;box-sizing:content-box}.aui-table__row:first-child{border-top-left-radius:var(--aui-border-radius-l);border-top-right-radius:var(--aui-border-radius-l)}.aui-table__row:last-child{border-bottom-width:1px;min-height:58px;border-bottom-left-radius:var(--aui-border-radius-l);border-bottom-right-radius:var(--aui-border-radius-l)}.aui-table__row.isDisabled:before{content:\"\";z-index:2;position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgb(var(--aui-color-n-10));opacity:.7;cursor:not-allowed}.aui-table__header-row{background-color:rgb(var(--aui-color-n-9));padding:0 10px}.aui-table__cell,.aui-table__header-cell{flex:1}.aui-table__cell{padding:15px 10px;background-color:rgb(var(--aui-color-n-10));overflow:hidden;word-wrap:break-word}.aui-table__header-cell{padding:12px 10px;font-weight:var(--aui-font-weight-bold);background-color:rgb(var(--aui-color-n-9));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aui-table__column-expand-button{display:flex;align-items:center;max-width:calc(10px * 2 + var(--aui-icon-size-m))}.aui-table__column-expand-button.aui-table__cell{height:58px}.aui-table__column-expand-button .aui-expand-button{display:inline-flex;justify-content:center;align-items:center;width:var(--aui-icon-size-m);height:var(--aui-icon-size-m);font-size:var(--aui-icon-size-m);line-height:var(--aui-icon-size-m);color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6));border-radius:50%;border:none;cursor:pointer;transition:transform .1s ease-in-out}.aui-table__column-expand-button .aui-expand-button aui-icon{display:block;width:var(--aui-icon-size-m);height:var(--aui-icon-size-m)}.aui-table__column-expand-button .aui-expand-button:hover{background-color:rgb(var(--aui-color-p-7))}.aui-table__column-expand-button .aui-expand-button:active{background-color:rgb(var(--aui-color-p-5))}.aui-table__column-expand-button .aui-expand-button.isExpanded{transform:rotate(90deg);color:rgb(var(--aui-color-n-10));background-color:rgb(var(--aui-color-primary))}.aui-table__column-expand-button .aui-expand-button.isExpanded:hover{background-color:rgb(var(--aui-color-p-1))}.aui-table__column-expand-button .aui-expand-button.isExpanded:active{background-color:rgb(var(--aui-color-p-0))}.aui-table__column-expand-button .aui-expand-button.isExpanded[disabled],.aui-table__column-expand-button .aui-expand-button[disabled]{background-color:rgb(var(--aui-color-n-8));color:rgb(var(--aui-color-n-6));cursor:not-allowed}.aui-table__column-expand-panel{margin-top:-6px}.aui-table__column-expand-panel.aui-table__header-cell{display:none}.aui-table__column-expand-panel.aui-table__cell{width:100%;flex-shrink:0;flex-basis:100%;padding:0 10px;overflow:hidden}.aui-table__column-expand-panel.aui-table__cell .aui-table__cell-expand-panel{border-radius:var(--aui-border-radius-l);overflow:hidden}.aui-table__column-expand-panel.aui-table__cell .aui-table__cell-expand-panel-content.hasBackground{padding:16px;background-color:rgb(var(--aui-color-n-9))}", ".aui-table__scroll-wrapper{background-color:rgb(var(--aui-color-n-9));padding:0 12px 12px;border-radius:var(--aui-border-radius-l)}.aui-table__scroll-wrapper::-webkit-scrollbar{width:4px;height:4px}.aui-table__scroll-wrapper::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3)}.aui-table__scroll-wrapper .aui-table{padding:0}.aui-table__scroll-wrapper .aui-table__header-row.aui-table-sticky{margin:0 -12px;padding:0}.aui-table__scroll-wrapper .aui-table.hasTableTopShadow:before{content:\"\";position:-webkit-sticky;position:sticky;display:block;width:calc(100% + 24px);height:16px;margin-top:-16px;transform:translate3d(-12px,0,0);z-index:99;top:28px;box-shadow:0 10px 10px -4px rgba(var(--aui-color-n-1),.16)}.aui-table__scroll-wrapper .aui-table.hasTableBottomShadow:after{content:\"\";position:-webkit-sticky;position:sticky;display:block;width:calc(100% + 24px);height:16px;transform:translate3d(-12px,12px,0);z-index:99;bottom:0;margin-top:-16px;box-shadow:0 -10px 10px -4px rgba(var(--aui-color-n-1),.16) inset}.aui-table__scroll-wrapper .aui-table__scroll-shadow.hasTableBottomShadow:after,.aui-table__scroll-wrapper .aui-table__scroll-shadow.hasTableTopShadow:before{transform:none;width:100%;left:0}.aui-table__scroll-shadow .aui-table__header-row.aui-table-sticky{margin:0}.aui-table__scroll-shadow .aui-table__row{border:none;padding:0;align-items:stretch}.aui-table__scroll-shadow .aui-table__row .aui-table__cell{border-color:rgb(var(--aui-color-n-8));border-style:solid;border-width:1px 0}.aui-table__scroll-shadow .aui-table__row .aui-table__cell:first-of-type{border-left-width:1px;padding-left:20px}.aui-table__scroll-shadow .aui-table__row .aui-table__cell:last-of-type{border-right-width:1px;padding-right:20px}.aui-table__scroll-shadow .aui-table__row:first-child:not(.aui-table__header-row) .aui-table__cell:first-of-type{border-top-left-radius:var(--aui-border-radius-l)}.aui-table__scroll-shadow .aui-table__row:first-child:not(.aui-table__header-row) .aui-table__cell:last-of-type{border-top-right-radius:var(--aui-border-radius-l)}.aui-table__scroll-shadow .aui-table__row:last-child .aui-table__cell:first-of-type{border-bottom-left-radius:var(--aui-border-radius-l)}.aui-table__scroll-shadow .aui-table__row:last-child .aui-table__cell:last-of-type{border-bottom-right-radius:var(--aui-border-radius-l)}.aui-table__scroll-shadow .aui-table__row:not(.aui-table__scroll-shadow .aui-table__row:last-child) .aui-table__cell{border-bottom-width:0}.aui-table__scroll-shadow .aui-table__header-row{padding:0;align-items:stretch}.aui-table__scroll-shadow .aui-table__header-row .aui-table__header-cell:first-of-type{padding-left:20px}.aui-table__scroll-shadow .aui-table__header-row .aui-table__header-cell:last-of-type{padding-right:20px}.aui-table__scroll-shadow--has-scroll .aui-table-sticky:not(.aui-table__header-row):after{position:absolute;top:0;bottom:-1px;width:20px;transition:box-shadow .3s;content:\"\";pointer-events:none}.aui-table__scroll-shadow--has-scroll .aui-table-sticky:not(.aui-table__header-row):before{position:absolute;top:0;bottom:-1px;content:\"\";background:linear-gradient(180deg,rgb(var(--aui-color-n-7)),rgb(var(--aui-color-n-7)) 8px,transparent 0,transparent);width:1px;background-size:100% 14px;height:100%}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-left{padding-right:30px}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-left:after{right:-10px}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-left:before{right:10px}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-right{padding-left:30px}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-right:after{left:-10px}.aui-table__scroll-shadow--has-scroll .aui-table-sticky-border-elem-right:before{left:10px}.aui-table__scroll-shadow--scrolling .aui-table-sticky-border-elem-left:not(.aui-table__header-row):after{box-shadow:inset 8px 0 4px -4px rgba(var(--aui-color-n-1),.16)}.aui-table__scroll-shadow--scrolling .aui-table-sticky-border-elem-left:not(.aui-table__header-row):before{background:linear-gradient(180deg,rgb(var(--aui-color-primary)),rgb(var(--aui-color-primary)) 8px,transparent 0,transparent);width:1px;background-size:100% 14px;height:100%}.aui-table__scroll-shadow--before-end .aui-table-sticky-border-elem-right:not(.aui-table__header-row):after{box-shadow:inset -8px 0 4px -4px rgba(var(--aui-color-n-1),.16)}.aui-table__scroll-shadow--before-end .aui-table-sticky-border-elem-right:not(.aui-table__header-row):before{background:linear-gradient(180deg,rgb(var(--aui-color-primary)),rgb(var(--aui-color-primary)) 8px,transparent 0,transparent);width:1px;background-size:100% 14px;height:100%}"]
1219
- },] }
1220
- ];
1221
- TableComponent.propDecorators = {
1222
- enableScrollWrapper: [{ type: i0.Input }],
1223
- _placeholderOutlet: [{ type: i0.ViewChild, args: [TablePlaceholderOutlet, { static: true },] }],
1224
- _placeholderDef: [{ type: i0.ContentChild, args: [TablePlaceholderDefDirective, { static: true },] }]
1225
- };
1226
-
1227
1231
  var TableModule = /** @class */ (function () {
1228
1232
  function TableModule() {
1229
1233
  }
@@ -1712,7 +1716,7 @@
1712
1716
  },] }
1713
1717
  ];
1714
1718
  BackTopComponent.ctorParameters = function () { return [
1715
- { type: i1.CdkScrollable, decorators: [{ type: i0.Optional }] }
1719
+ { type: overlay.CdkScrollable, decorators: [{ type: i0.Optional }] }
1716
1720
  ]; };
1717
1721
  BackTopComponent.propDecorators = {
1718
1722
  visibilityHeight: [{ type: i0.Input }],
@@ -2073,7 +2077,7 @@
2073
2077
  Object.assign(Object.assign({}, originPosition.fallback), overlayPosition.fallback),
2074
2078
  ]);
2075
2079
  var scrollStrategy = this.overlay.scrollStrategies.reposition();
2076
- var config = new i1.OverlayConfig({
2080
+ var config = new overlay.OverlayConfig({
2077
2081
  positionStrategy: positionStrategy,
2078
2082
  scrollStrategy: scrollStrategy,
2079
2083
  });
@@ -2156,7 +2160,7 @@
2156
2160
  { type: i0.Directive }
2157
2161
  ];
2158
2162
  BaseTooltip.ctorParameters = function () { return [
2159
- { type: i1.Overlay },
2163
+ { type: overlay.Overlay },
2160
2164
  { type: i0.ViewContainerRef },
2161
2165
  { type: i0.ElementRef },
2162
2166
  { type: i0.Renderer2 },
@@ -2323,7 +2327,7 @@
2323
2327
  },] }
2324
2328
  ];
2325
2329
  TooltipCopyDirective.ctorParameters = function () { return [
2326
- { type: i1.Overlay },
2330
+ { type: overlay.Overlay },
2327
2331
  { type: i0.ViewContainerRef },
2328
2332
  { type: i0.ElementRef },
2329
2333
  { type: i0.Renderer2 },
@@ -2370,7 +2374,7 @@
2370
2374
  },] }
2371
2375
  ];
2372
2376
  TooltipDirective.ctorParameters = function () { return [
2373
- { type: i1.Overlay },
2377
+ { type: overlay.Overlay },
2374
2378
  { type: i0.ViewContainerRef },
2375
2379
  { type: i0.ElementRef },
2376
2380
  { type: i0.Renderer2 },
@@ -2390,7 +2394,7 @@
2390
2394
  }());
2391
2395
  TooltipModule.decorators = [
2392
2396
  { type: i0.NgModule, args: [{
2393
- imports: [common.CommonModule, i1.OverlayModule],
2397
+ imports: [common.CommonModule, overlay.OverlayModule],
2394
2398
  declarations: [
2395
2399
  TooltipDirective,
2396
2400
  TooltipComponent,
@@ -2514,7 +2518,7 @@
2514
2518
  this.afterOpen$ = new rxjs.Subject();
2515
2519
  this.afterClosed$ = new rxjs.Subject();
2516
2520
  dialogInstance.id = this.id;
2517
- this.scrollable = new i1.CdkScrollable({ nativeElement: overlayRef.overlayElement }, scrollDispatcher, ngZone);
2521
+ this.scrollable = new overlay.CdkScrollable({ nativeElement: overlayRef.overlayElement }, scrollDispatcher, ngZone);
2518
2522
  this.scrollable.ngOnInit();
2519
2523
  }
2520
2524
  DialogRef.prototype.close = function (result) {
@@ -2902,9 +2906,9 @@
2902
2906
  { type: i0.Injectable }
2903
2907
  ];
2904
2908
  DialogService.ctorParameters = function () { return [
2905
- { type: i1.Overlay },
2909
+ { type: overlay.Overlay },
2906
2910
  { type: i0.Injector },
2907
- { type: i1.ScrollDispatcher },
2911
+ { type: overlay.ScrollDispatcher },
2908
2912
  { type: i0.NgZone }
2909
2913
  ]; };
2910
2914
 
@@ -2949,7 +2953,7 @@
2949
2953
  return _this;
2950
2954
  }
2951
2955
  return DialogContentComponent;
2952
- }(i1.CdkScrollable));
2956
+ }(overlay.CdkScrollable));
2953
2957
  DialogContentComponent.decorators = [
2954
2958
  { type: i0.Component, args: [{
2955
2959
  selector: 'aui-dialog-content',
@@ -2961,7 +2965,7 @@
2961
2965
  ];
2962
2966
  DialogContentComponent.ctorParameters = function () { return [
2963
2967
  { type: i0.ElementRef },
2964
- { type: i1.ScrollDispatcher },
2968
+ { type: overlay.ScrollDispatcher },
2965
2969
  { type: i0.NgZone },
2966
2970
  { type: bidi.Directionality }
2967
2971
  ]; };
@@ -3028,7 +3032,7 @@
3028
3032
  { type: i0.NgModule, args: [{
3029
3033
  imports: [
3030
3034
  common.CommonModule,
3031
- i1.OverlayModule,
3035
+ overlay.OverlayModule,
3032
3036
  portal.PortalModule,
3033
3037
  IconModule,
3034
3038
  ButtonModule,
@@ -4836,7 +4840,7 @@
4836
4840
  NumberInputComponent.decorators = [
4837
4841
  { type: i0.Component, args: [{
4838
4842
  selector: 'aui-number-input',
4839
- template: "<div\n [class]=\"bem.block(size)\"\n [ngClass]=\"{\n isFocus: isFocus,\n isDisabled: disabled\n }\"\n auiClickOutside\n (auiClickOutside)=\"isFocus = false\"\n>\n <button\n *ngIf=\"controls\"\n aui-button\n type=\"button\"\n [ngClass]=\"bem.element('decrease')\"\n [disabled]=\"disabled || (value$ | async) <= min\"\n (click)=\"takeOneStep(false); isFocus = true\"\n >\n <aui-icon icon=\"minus\"></aui-icon>\n </button>\n <input\n #inputRef\n autocomplete=\"off\"\n (change)=\"inputChanged($any($event.target).value)\"\n [disabled]=\"disabled\"\n [ngClass]=\"bem.element('input')\"\n [placeholder]=\"placeholder\"\n (focus)=\"isFocus = true\"\n (blur)=\"isFocus = false\"\n />\n <button\n *ngIf=\"controls\"\n aui-button\n type=\"button\"\n [ngClass]=\"bem.element('increase')\"\n [disabled]=\"disabled || (value$ | async) >= max\"\n (click)=\"takeOneStep(true); isFocus = true\"\n >\n <aui-icon icon=\"plus\"></aui-icon>\n </button>\n</div>\n",
4843
+ template: "<div\n [class]=\"bem.block(size)\"\n [ngClass]=\"{\n isFocus: isFocus,\n isDisabled: disabled\n }\"\n auiClickOutside\n (auiClickOutside)=\"isFocus = false\"\n>\n <button\n *ngIf=\"controls\"\n aui-button\n type=\"button\"\n [ngClass]=\"bem.element('decrease')\"\n [disabled]=\"disabled || (value$ | async) <= min\"\n (click)=\"takeOneStep(false); isFocus = true\"\n >\n <aui-icon icon=\"minus\"></aui-icon>\n </button>\n <input\n #inputRef\n autocomplete=\"off\"\n (change)=\"inputChanged($event.target.value)\"\n [disabled]=\"disabled\"\n [ngClass]=\"bem.element('input')\"\n [placeholder]=\"placeholder\"\n (focus)=\"isFocus = true\"\n (blur)=\"isFocus = false\"\n />\n <button\n *ngIf=\"controls\"\n aui-button\n type=\"button\"\n [ngClass]=\"bem.element('increase')\"\n [disabled]=\"disabled || (value$ | async) >= max\"\n (click)=\"takeOneStep(true); isFocus = true\"\n >\n <aui-icon icon=\"plus\"></aui-icon>\n </button>\n</div>\n",
4840
4844
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
4841
4845
  encapsulation: i0.ViewEncapsulation.None,
4842
4846
  preserveWhitespaces: false,
@@ -5108,7 +5112,7 @@
5108
5112
  },] }
5109
5113
  ];
5110
5114
  DropdownDirective.ctorParameters = function () { return [
5111
- { type: i1.Overlay },
5115
+ { type: overlay.Overlay },
5112
5116
  { type: i0.ViewContainerRef },
5113
5117
  { type: i0.ElementRef },
5114
5118
  { type: i0.Renderer2 },
@@ -7056,6 +7060,20 @@
7056
7060
  { type: i0.ChangeDetectorRef }
7057
7061
  ]; };
7058
7062
 
7063
+ var MessageModule = /** @class */ (function () {
7064
+ function MessageModule() {
7065
+ }
7066
+ return MessageModule;
7067
+ }());
7068
+ MessageModule.decorators = [
7069
+ { type: i0.NgModule, args: [{
7070
+ imports: [common.CommonModule, overlay.OverlayModule, IconModule],
7071
+ declarations: [MessageWrapperComponent, MessageComponent],
7072
+ entryComponents: [MessageWrapperComponent, MessageComponent],
7073
+ providers: [MessageService],
7074
+ },] }
7075
+ ];
7076
+
7059
7077
  var BaseMessage = /** @class */ (function () {
7060
7078
  function BaseMessage(overlay, injector, applicationRef, cfr, overlayPaneClassName, wrapperClass, componentClass, globalConfig) {
7061
7079
  this.overlay = overlay;
@@ -7155,27 +7173,13 @@
7155
7173
  { type: i0.Injectable }
7156
7174
  ];
7157
7175
  MessageService.ctorParameters = function () { return [
7158
- { type: i1.Overlay },
7176
+ { type: overlay.Overlay },
7159
7177
  { type: i0.Injector },
7160
7178
  { type: i0.ApplicationRef },
7161
7179
  { type: i0.ComponentFactoryResolver },
7162
7180
  { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MESSAGE_CONFIG,] }] }
7163
7181
  ]; };
7164
7182
 
7165
- var MessageModule = /** @class */ (function () {
7166
- function MessageModule() {
7167
- }
7168
- return MessageModule;
7169
- }());
7170
- MessageModule.decorators = [
7171
- { type: i0.NgModule, args: [{
7172
- imports: [common.CommonModule, i1.OverlayModule, IconModule],
7173
- declarations: [MessageWrapperComponent, MessageComponent],
7174
- entryComponents: [MessageWrapperComponent, MessageComponent],
7175
- providers: [MessageService],
7176
- },] }
7177
- ];
7178
-
7179
7183
  var NotificationWrapperComponent = /** @class */ (function (_super) {
7180
7184
  __extends(NotificationWrapperComponent, _super);
7181
7185
  function NotificationWrapperComponent(elementRef) {
@@ -7321,7 +7325,7 @@
7321
7325
  { type: i0.Injectable }
7322
7326
  ];
7323
7327
  NotificationService.ctorParameters = function () { return [
7324
- { type: i1.Overlay },
7328
+ { type: overlay.Overlay },
7325
7329
  { type: i0.Injector },
7326
7330
  { type: i0.ApplicationRef },
7327
7331
  { type: i0.ComponentFactoryResolver },
@@ -7335,7 +7339,7 @@
7335
7339
  }());
7336
7340
  NotificationModule.decorators = [
7337
7341
  { type: i0.NgModule, args: [{
7338
- imports: [common.CommonModule, i1.OverlayModule, portal.PortalModule, IconModule],
7342
+ imports: [common.CommonModule, overlay.OverlayModule, portal.PortalModule, IconModule],
7339
7343
  declarations: [NotificationWrapperComponent, NotificationComponent],
7340
7344
  entryComponents: [NotificationWrapperComponent, NotificationComponent],
7341
7345
  providers: [NotificationService],
@@ -9070,7 +9074,7 @@
9070
9074
  },] }
9071
9075
  ];
9072
9076
  AutoCompleteDirective.ctorParameters = function () { return [
9073
- { type: i1.Overlay },
9077
+ { type: overlay.Overlay },
9074
9078
  { type: i0.ViewContainerRef },
9075
9079
  { type: i0.ElementRef },
9076
9080
  { type: i0.Renderer2 },
@@ -9302,7 +9306,7 @@
9302
9306
  }());
9303
9307
  AutocompleteModule.decorators = [
9304
9308
  { type: i0.NgModule, args: [{
9305
- imports: [common.CommonModule, i1.OverlayModule, TooltipModule],
9309
+ imports: [common.CommonModule, overlay.OverlayModule, TooltipModule],
9306
9310
  declarations: [
9307
9311
  AutoCompleteDirective,
9308
9312
  CustomAutoCompleteDirective,
@@ -11058,7 +11062,7 @@
11058
11062
  forms.FormsModule,
11059
11063
  forms.ReactiveFormsModule,
11060
11064
  portal.PortalModule,
11061
- i1.OverlayModule,
11065
+ overlay.OverlayModule,
11062
11066
  common.CommonModule,
11063
11067
  InputModule,
11064
11068
  TooltipModule,
@@ -11970,7 +11974,7 @@
11970
11974
  _this.injector = injector;
11971
11975
  _this.cdr = cdr;
11972
11976
  _this.size = exports.DrawerSize.Medium;
11973
- _this.offsetY = 0;
11977
+ _this.offsetY = '0px';
11974
11978
  _this.hideOnClickOutside = false;
11975
11979
  _this.showClose = true;
11976
11980
  _this._value = SIZE_MAPPER[exports.DrawerSize.Medium];
@@ -11997,7 +12001,7 @@
11997
12001
  Object.defineProperty(DrawerComponent.prototype, "drawerClasses", {
11998
12002
  get: function () {
11999
12003
  var _c;
12000
- return Object.assign({ drawer: true }, (!this.drawerClass ? null : (_c = {}, _c[this.drawerClass] = true, _c)));
12004
+ return Object.assign({ 'aui-drawer': true }, (!this.drawerClass ? null : (_c = {}, _c[this.drawerClass] = true, _c)));
12001
12005
  },
12002
12006
  enumerable: false,
12003
12007
  configurable: true
@@ -12037,7 +12041,7 @@
12037
12041
  this.open();
12038
12042
  }
12039
12043
  else {
12040
- this.closure();
12044
+ this.dispose();
12041
12045
  }
12042
12046
  }
12043
12047
  };
@@ -12067,13 +12071,15 @@
12067
12071
  _this.hideOnClickOutside &&
12068
12072
  event.target instanceof Node &&
12069
12073
  !((_b = (_a = _this.overlayRef.hostElement) === null || _a === void 0 ? void 0 : _a.parentNode) === null || _b === void 0 ? void 0 : _b.contains(event.target))) {
12070
- _this.closure();
12074
+ event.stopPropagation();
12075
+ event.preventDefault();
12076
+ _this.dispose();
12071
12077
  }
12072
12078
  });
12073
12079
  }
12074
12080
  };
12075
12081
  DrawerComponent.prototype.getOverlayConfig = function () {
12076
- return new i1.OverlayConfig({
12082
+ return new overlay.OverlayConfig({
12077
12083
  panelClass: DRAWER_OVERLAY_CLASS,
12078
12084
  positionStrategy: this.overlay.position().global(),
12079
12085
  scrollStrategy: this.overlay.scrollStrategies.block(),
@@ -12116,10 +12122,10 @@
12116
12122
  this.updateBodyOverflow();
12117
12123
  this.cdr.markForCheck();
12118
12124
  };
12119
- DrawerComponent.prototype.closure = function (result) {
12125
+ DrawerComponent.prototype.dispose = function (result) {
12120
12126
  if (result === void 0) { result = null; }
12121
12127
  this.visible = false;
12122
- this.close.next();
12128
+ this.close.emit();
12123
12129
  this.afterClosed$.next(result);
12124
12130
  this.afterClosed$.complete();
12125
12131
  this.updateBodyOverflow();
@@ -12133,7 +12139,7 @@
12133
12139
  };
12134
12140
  DrawerComponent.prototype.maskClick = function () {
12135
12141
  if (this.maskClosable && this.mask) {
12136
- this.closure();
12142
+ this.dispose();
12137
12143
  }
12138
12144
  };
12139
12145
  DrawerComponent.prototype.ngOnDestroy = function () {
@@ -12145,15 +12151,15 @@
12145
12151
  DrawerComponent.decorators = [
12146
12152
  { type: i0.Component, args: [{
12147
12153
  selector: 'aui-drawer',
12148
- template: "<ng-template #drawerTemplate>\n <div\n [class.drawer-mask-open]=\"visible\"\n class=\"drawer-mask\"\n (click)=\"maskClick()\"\n *ngIf=\"mask\"\n ></div>\n <div\n [style.marginTop.px]=\"offsetY\"\n [ngClass]=\"drawerClasses\"\n [class.drawer-open]=\"visible\"\n [ngStyle]=\"{\n transform: transform,\n width: width + 'px'\n }\"\n >\n <div\n class=\"drawer-content\"\n [style.height]=\"'calc(100% - ' + offsetY + 'px)'\"\n >\n <div class=\"drawer-body-wrapper\">\n <div class=\"drawer-header\">\n <div class=\"drawer-title\">\n <ng-container\n *ngIf=\"!isTemplateRef(title || titleTemplate); else elseTemplate\"\n >\n {{ title }}\n </ng-container>\n <ng-template #elseTemplate>\n <ng-container\n *ngIf=\"title || titleTemplate\"\n [ngTemplateOutlet]=\"$any(title || titleTemplate)\"\n [ngTemplateOutletContext]=\"templateContext\"\n ></ng-container>\n </ng-template>\n </div>\n <div class=\"drawer-close\" *ngIf=\"showClose\" (click)=\"closure()\">\n <aui-icon icon=\"close\"></aui-icon>\n </div>\n </div>\n\n <div class=\"drawer-body\">\n <ng-template cdkPortalOutlet></ng-template>\n <ng-container *ngIf=\"isTemplateRef(content || contentTemplate)\">\n <ng-container\n *ngTemplateOutlet=\"\n $any(content || contentTemplate);\n context: templateContext\n \"\n >\n </ng-container>\n </ng-container>\n </div>\n\n <div class=\"drawer-footer\" *ngIf=\"footer\">\n <ng-container\n *ngIf=\"!isTemplateRef(footer || footerTemplate); else elseTemplate\"\n >\n {{ footer }}\n </ng-container>\n <ng-template #elseTemplate>\n <ng-container\n *ngIf=\"footer || titleTemplate\"\n [ngTemplateOutlet]=\"$any(footer || titleTemplate)\"\n [ngTemplateOutletContext]=\"templateContext\"\n ></ng-container>\n </ng-template>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n",
12154
+ template: "<ng-template #drawerTemplate>\n <div\n *ngIf=\"mask\"\n class=\"aui-drawer-mask\"\n [class.isOpen]=\"visible\"\n (click)=\"maskClick()\"\n ></div>\n <div\n [style.marginTop]=\"offsetY\"\n [ngClass]=\"drawerClasses\"\n [class.isOpen]=\"visible\"\n [ngStyle]=\"{\n transform: transform,\n width: width + 'px'\n }\"\n >\n <div class=\"aui-drawer__content\">\n <div class=\"aui-drawer__body-wrapper\">\n <div class=\"aui-drawer__header\">\n <div class=\"aui-drawer__title\">\n <ng-container\n *ngIf=\"!isTemplateRef(title || titleTemplate); else elseTemplate\"\n >\n {{ title }}\n </ng-container>\n <ng-template #elseTemplate>\n <ng-container\n *ngIf=\"title || titleTemplate\"\n [ngTemplateOutlet]=\"title || titleTemplate\"\n [ngTemplateOutletContext]=\"templateContext\"\n ></ng-container>\n </ng-template>\n </div>\n <div class=\"aui-drawer__close\" *ngIf=\"showClose\" (click)=\"dispose()\">\n <aui-icon icon=\"close\"></aui-icon>\n </div>\n </div>\n\n <div class=\"aui-drawer__body\">\n <ng-template cdkPortalOutlet></ng-template>\n <ng-container *ngIf=\"isTemplateRef(content || contentTemplate)\">\n <ng-container\n *ngTemplateOutlet=\"\n content || contentTemplate;\n context: templateContext\n \"\n >\n </ng-container>\n </ng-container>\n </div>\n\n <div *ngIf=\"footer || footerTemplate\" class=\"aui-drawer__footer\">\n <ng-container\n *ngIf=\"!isTemplateRef(footer || footerTemplate); else elseTemplate\"\n >\n {{ footer }}\n </ng-container>\n <ng-template #elseTemplate>\n <ng-container\n *ngIf=\"footer || titleTemplate\"\n [ngTemplateOutlet]=\"footer || titleTemplate\"\n [ngTemplateOutletContext]=\"templateContext\"\n ></ng-container>\n </ng-template>\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n",
12149
12155
  encapsulation: i0.ViewEncapsulation.None,
12150
12156
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
12151
- styles: [".drawer-open .drawer-content{box-shadow:0 4px 16px 0 rgba(var(--aui-color-n-1),.2)}.drawer-mask{position:absolute;top:0;left:0;width:100%;height:0;opacity:.4;background-color:rgb(var(--aui-color-n-0))}.drawer-mask-open{height:100%}.drawer{height:100%;position:fixed;top:0;right:0;z-index:9999;transition:transform .3s,opacity .3s,box-shaow .3s}.drawer-content{background-color:rgb(var(--aui-color-n-10));position:absolute;height:100%;right:0;width:100%}.drawer-title{flex:1}.drawer-header{margin:20px 20px 0;background:rgb(var(--aui-color-n-10));display:flex;font-size:20px;font-weight:500;padding-bottom:16px;justify-content:space-between;border-bottom:1px solid rgb(var(--aui-color-n-7))}.drawer-close{z-index:10;display:flex;align-items:center;font-size:16px;cursor:pointer;color:rgb(var(--aui-color-n-4));margin-left:16px}.drawer-body-wrapper{width:100%;height:100%;flex-direction:column;flex-wrap:nowrap;display:flex;position:relative;z-index:1;background-clip:padding-box;border:0}.drawer-body{margin:16px 20px;overflow:hidden;overflow-y:auto;font-size:14px;height:calc(100% - 100px)}.drawer-footer{margin:0 20px 20px;padding-top:16px;border-top:1px solid rgb(var(--aui-color-n-7))}"]
12157
+ styles: [".aui-drawer-mask{position:absolute;top:0;left:0;width:100%;height:0;opacity:.4;background-color:rgb(var(--aui-color-n-0))}.aui-drawer-mask.isOpen{height:100%}.aui-drawer{position:fixed;top:0;bottom:0;right:0;z-index:9999;transition:transform .3s,opacity .3s,box-shaow .3s;font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);color:rgb(var(--aui-color-n-1))}.aui-drawer.isOpen .aui-drawer__content{box-shadow:0 4px 16px 0 rgba(var(--aui-color-n-1),.2)}.aui-drawer__content{background-color:rgb(var(--aui-color-n-10));position:absolute;height:100%;right:0;width:100%}.aui-drawer__header{margin:20px 20px 0;padding-bottom:16px;display:flex;justify-content:space-between;border-bottom:1px solid rgb(var(--aui-color-n-8))}.aui-drawer__title{flex:1;font-size:var(--aui-font-size-xxl);line-height:var(--aui-line-height-xxl);color:rgb(var(--aui-color-n-1));font-weight:var(--aui-font-weight-bold);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aui-drawer__close{z-index:10;margin-left:16px;display:flex;align-items:center;font-size:var(--aui-icon-size-m);color:rgb(var(--aui-color-n-4));cursor:pointer}.aui-drawer__close:hover{color:rgb(var(--aui-color-primary))}.aui-drawer__body-wrapper{width:100%;height:100%;display:flex;flex-direction:column;flex-wrap:nowrap;position:relative;z-index:1}.aui-drawer__body{margin:16px 20px;overflow:hidden;overflow-y:auto;height:100%}.aui-drawer__footer{margin:0 20px 20px;padding-top:16px;border-top:1px solid rgb(var(--aui-color-n-8))}"]
12152
12158
  },] }
12153
12159
  ];
12154
12160
  DrawerComponent.ctorParameters = function () { return [
12155
12161
  { type: i0.ViewContainerRef },
12156
- { type: i1.Overlay },
12162
+ { type: overlay.Overlay },
12157
12163
  { type: i0.Injector },
12158
12164
  { type: i0.ChangeDetectorRef }
12159
12165
  ]; };
@@ -12179,6 +12185,27 @@
12179
12185
  footerTemplate: [{ type: i0.ContentChild, args: [DrawerFooterDirective, { read: i0.TemplateRef },] }]
12180
12186
  };
12181
12187
 
12188
+ var COMMON = [
12189
+ DrawerComponent,
12190
+ DrawerHeaderDirective,
12191
+ DrawerContentDirective,
12192
+ DrawerFooterDirective,
12193
+ ];
12194
+ var DrawerModule = /** @class */ (function () {
12195
+ function DrawerModule() {
12196
+ }
12197
+ return DrawerModule;
12198
+ }());
12199
+ DrawerModule.decorators = [
12200
+ { type: i0.NgModule, args: [{
12201
+ imports: [common.CommonModule, IconModule, IconModule, overlay.OverlayModule, portal.PortalModule],
12202
+ declarations: COMMON,
12203
+ exports: COMMON,
12204
+ entryComponents: [DrawerComponent],
12205
+ providers: [DrawerService],
12206
+ },] }
12207
+ ];
12208
+
12182
12209
  var DrawerService = /** @class */ (function () {
12183
12210
  function DrawerService(overlay) {
12184
12211
  this.overlay = overlay;
@@ -12186,7 +12213,7 @@
12186
12213
  }
12187
12214
  DrawerService.prototype.open = function (options) {
12188
12215
  var _a, _b, _c;
12189
- (_b = (_a = this.drawerRef) === null || _a === void 0 ? void 0 : _a.instance) === null || _b === void 0 ? void 0 : _b.closure();
12216
+ (_b = (_a = this.drawerRef) === null || _a === void 0 ? void 0 : _a.instance) === null || _b === void 0 ? void 0 : _b.dispose();
12190
12217
  this.createDrawer();
12191
12218
  this.updateOptions(options);
12192
12219
  return (_c = this.drawerRef) === null || _c === void 0 ? void 0 : _c.instance;
@@ -12214,37 +12241,13 @@
12214
12241
  };
12215
12242
  return DrawerService;
12216
12243
  }());
12217
- DrawerService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DrawerService_Factory() { return new DrawerService(i0.ɵɵinject(i1.Overlay)); }, token: DrawerService, providedIn: "root" });
12218
12244
  DrawerService.decorators = [
12219
- { type: i0.Injectable, args: [{
12220
- providedIn: 'root',
12221
- },] }
12245
+ { type: i0.Injectable }
12222
12246
  ];
12223
12247
  DrawerService.ctorParameters = function () { return [
12224
- { type: i1.Overlay }
12248
+ { type: overlay.Overlay }
12225
12249
  ]; };
12226
12250
 
12227
- var COMMON = [
12228
- DrawerComponent,
12229
- DrawerHeaderDirective,
12230
- DrawerContentDirective,
12231
- DrawerFooterDirective,
12232
- ];
12233
- var DrawerModule = /** @class */ (function () {
12234
- function DrawerModule() {
12235
- }
12236
- return DrawerModule;
12237
- }());
12238
- DrawerModule.decorators = [
12239
- { type: i0.NgModule, args: [{
12240
- imports: [common.CommonModule, IconModule, IconModule, i1.OverlayModule, portal.PortalModule],
12241
- declarations: COMMON,
12242
- exports: COMMON,
12243
- providers: [DrawerService],
12244
- entryComponents: [DrawerComponent],
12245
- },] }
12246
- ];
12247
-
12248
12251
  var StepState = {
12249
12252
  Default: 'default',
12250
12253
  Done: 'done',