@alauda/ui 6.1.3-beta.9 → 6.1.3

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 (30) hide show
  1. package/alauda-ui.metadata.json +1 -1
  2. package/bundles/alauda-ui.umd.js +134 -132
  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/esm2015/dialog/dialog.module.js +3 -1
  7. package/esm2015/dialog/dialog.module.ngfactory.js +8 -7
  8. package/esm2015/dialog/dialog.module.ngsummary.json +1 -1
  9. package/esm2015/dialog/dialog.service.js +2 -6
  10. package/esm2015/drawer/component/drawer.service.js +2 -7
  11. package/esm2015/drawer/drawer.module.js +3 -1
  12. package/esm2015/drawer/drawer.module.ngfactory.js +7 -6
  13. package/esm2015/drawer/drawer.module.ngsummary.json +1 -1
  14. package/esm2015/message/message.module.js +3 -1
  15. package/esm2015/message/message.module.ngfactory.js +8 -6
  16. package/esm2015/message/message.module.ngsummary.json +1 -1
  17. package/esm2015/message/message.service.js +2 -6
  18. package/esm2015/notification/notification.module.js +3 -1
  19. package/esm2015/notification/notification.module.ngfactory.js +8 -6
  20. package/esm2015/notification/notification.module.ngsummary.json +1 -1
  21. package/esm2015/notification/notification.service.js +2 -6
  22. package/esm2015/table/table-scroll.directive.js +9 -4
  23. package/esm2015/table/table-scroll.directive.ngsummary.json +1 -1
  24. package/esm2015/table/table-scroll.scss.ngstyle.js +1 -1
  25. package/esm2015/table/table.component.js +1 -1
  26. package/esm2015/table/table.component.scss.ngstyle.js +1 -1
  27. package/fesm2015/alauda-ui.js +94 -92
  28. package/fesm2015/alauda-ui.js.map +1 -1
  29. package/package.json +1 -1
  30. package/table/table-scroll.directive.d.ts +3 -1
@@ -1,4 +1,4 @@
1
- import { TemplateRef, ɵɵdefineInjectable, Injectable, Pipe, ChangeDetectorRef, NgModule, Optional, Inject, SkipSelf, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Directive, EventEmitter, Output, ElementRef, ViewContainerRef, HostBinding, ViewChild, ContentChild, isDevMode, Renderer2, NgZone, HostListener, InjectionToken, Injector, ɵɵinject, INJECTOR, ContentChildren, forwardRef, ApplicationRef, ComponentFactoryResolver, ViewChildren, Host, Type } from '@angular/core';
1
+ import { TemplateRef, ɵɵdefineInjectable, Injectable, Pipe, ChangeDetectorRef, NgModule, Optional, Inject, SkipSelf, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Directive, EventEmitter, Output, ElementRef, ViewContainerRef, HostBinding, ViewChild, ContentChild, Host, isDevMode, Renderer2, NgZone, HostListener, InjectionToken, Injector, ContentChildren, forwardRef, ɵɵinject, ApplicationRef, ComponentFactoryResolver, ViewChildren, Type } from '@angular/core';
2
2
  import { Observable, ReplaySubject, Subject, merge, fromEvent, BehaviorSubject, combineLatest, of, Subscription, EMPTY, animationFrameScheduler } from 'rxjs';
3
3
  import { startWith, map, publishReplay, refCount, distinctUntilChanged, takeUntil, switchMap, throttleTime, debounceTime, first, tap, take, pluck, observeOn, repeat, takeWhile, endWith, filter } from 'rxjs/operators';
4
4
  import { CdkCellDef, CdkCell, CdkColumnDef, CdkHeaderCellDef, CdkHeaderCell, CdkHeaderRowDef, CdkHeaderRow, CDK_ROW_TEMPLATE, CdkRowDef, CdkRow, CdkTable, CDK_TABLE_TEMPLATE, CDK_TABLE, _COALESCED_STYLE_SCHEDULER, _CoalescedStyleScheduler, CdkTableModule } from '@angular/cdk/table';
@@ -7,14 +7,14 @@ import { HttpClient } from '@angular/common/http';
7
7
  import { trigger, state, style, transition, animate } from '@angular/animations';
8
8
  import { _VIEW_REPEATER_STRATEGY, _DisposeViewRepeaterStrategy, UniqueSelectionDispatcher } from '@angular/cdk/collections';
9
9
  import { FocusMonitor, FocusKeyManager, A11yModule } from '@angular/cdk/a11y';
10
- import { CdkScrollable, OverlayConfig, Overlay, OverlayModule, ScrollDispatcher as ScrollDispatcher$1 } from '@angular/cdk/overlay';
10
+ import { CdkScrollable, OverlayConfig, Overlay, OverlayModule, ScrollDispatcher } from '@angular/cdk/overlay';
11
11
  import { __awaiter } from 'tslib';
12
12
  import { ComponentPortal, CdkPortalOutlet, TemplatePortal, PortalModule, DomPortalOutlet, CdkPortal } from '@angular/cdk/portal';
13
13
  import { writeText } from 'clipboard-polyfill';
14
- import { ScrollDispatcher, ViewportRuler, VIRTUAL_SCROLL_STRATEGY, _fixedSizeVirtualScrollStrategyFactory, CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport, CdkScrollable as CdkScrollable$1 } from '@angular/cdk/scrolling';
15
14
  import { Directionality } from '@angular/cdk/bidi';
16
15
  import { ControlContainer, NgForm, FormGroupDirective, NgControl, NG_VALUE_ACCESSOR, Validators, FormBuilder, FormsModule, ReactiveFormsModule, NG_VALIDATORS } from '@angular/forms';
17
16
  import { ObserversModule } from '@angular/cdk/observers';
17
+ import { ViewportRuler, VIRTUAL_SCROLL_STRATEGY, _fixedSizeVirtualScrollStrategyFactory, CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport, CdkScrollable as CdkScrollable$1 } from '@angular/cdk/scrolling';
18
18
  import { CdkAccordion, CdkAccordionItem, CdkAccordionModule } from '@angular/cdk/accordion';
19
19
  import dayjs from 'dayjs';
20
20
  import customParseFormat from 'dayjs/plugin/customParseFormat';
@@ -684,6 +684,71 @@ TableRowComponent.propDecorators = {
684
684
  hasPanel: [{ type: HostBinding, args: ['class.hasPanel',] }]
685
685
  };
686
686
 
687
+ class TableComponent extends CdkTable {
688
+ // FIXME: workaround to override because it will break constructor if it is field, but why MatTable works?
689
+ // @ts-expect-error
690
+ get stickyCssClass() {
691
+ return 'aui-table-sticky';
692
+ }
693
+ set stickyCssClass(_stickyCssClass) {
694
+ //
695
+ }
696
+ ngAfterContentInit() {
697
+ this._createPlaceholder();
698
+ }
699
+ _createPlaceholder() {
700
+ const footerRow = this._placeholderDef;
701
+ if (!this._placeholderDef) {
702
+ return;
703
+ }
704
+ const container = this._placeholderOutlet.viewContainer;
705
+ container.createEmbeddedView(footerRow.templateRef);
706
+ }
707
+ _clearPlaceholder() {
708
+ this._placeholderOutlet.viewContainer.clear();
709
+ }
710
+ ngOnDestroy() {
711
+ super.ngOnDestroy();
712
+ this._clearPlaceholder();
713
+ }
714
+ }
715
+ TableComponent.decorators = [
716
+ { type: Component, args: [{
717
+ selector: 'aui-table',
718
+ exportAs: 'auiTable',
719
+ encapsulation: ViewEncapsulation.None,
720
+ template: `
721
+ ${CDK_TABLE_TEMPLATE}
722
+ <ng-container auiTablePlaceholderOutlet></ng-container>
723
+ `,
724
+ host: {
725
+ class: 'aui-table',
726
+ },
727
+ preserveWhitespaces: false,
728
+ changeDetection: ChangeDetectionStrategy.OnPush,
729
+ providers: [
730
+ {
731
+ provide: CDK_TABLE,
732
+ useExisting: TableComponent,
733
+ },
734
+ {
735
+ provide: _VIEW_REPEATER_STRATEGY,
736
+ useClass: _DisposeViewRepeaterStrategy,
737
+ },
738
+ {
739
+ provide: _COALESCED_STYLE_SCHEDULER,
740
+ useClass: _CoalescedStyleScheduler,
741
+ },
742
+ ],
743
+ 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%}"]
744
+ },] }
745
+ ];
746
+ TableComponent.propDecorators = {
747
+ enableScrollWrapper: [{ type: Input }],
748
+ _placeholderOutlet: [{ type: ViewChild, args: [TablePlaceholderOutlet, { static: true },] }],
749
+ _placeholderDef: [{ type: ContentChild, args: [TablePlaceholderDefDirective, { static: true },] }]
750
+ };
751
+
687
752
  const CLASS_PREFIX = 'aui-table';
688
753
  const SHADOW_CLASS = `${CLASS_PREFIX}__scroll-shadow`;
689
754
  const HAS_SCROLL_CLASS = `${SHADOW_CLASS}--has-scroll`;
@@ -703,8 +768,9 @@ TableScrollWrapperDirective.decorators = [
703
768
  },] }
704
769
  ];
705
770
  class TableScrollShadowDirective {
706
- constructor(el) {
771
+ constructor(el, table) {
707
772
  this.el = el;
773
+ this.table = table;
708
774
  this.destroy$$ = new Subject();
709
775
  this.SCROLL_BEFORE_END_CLASS = true;
710
776
  this.SHADOW_CLASS = true;
@@ -731,6 +797,8 @@ class TableScrollShadowDirective {
731
797
  const scrollTop = this.containerEl.scrollTop;
732
798
  this.placeClassList(this.containerEl.classList, scrollTop > 0, HAS_TABLE_TOP_SHADOW);
733
799
  this.placeClassList(this.containerEl.classList, scrollTop < scrollDis, HAS_TABLE_BOTTOM_SHADOW);
800
+ // 兼容屏幕缩放是 sticky多列的样式问题
801
+ this.table.updateStickyColumnStyles();
734
802
  }
735
803
  mutateHorizontalScroll() {
736
804
  const scrollDis = this.containerEl.scrollWidth - this.containerEl.offsetWidth;
@@ -752,78 +820,14 @@ TableScrollShadowDirective.decorators = [
752
820
  },] }
753
821
  ];
754
822
  TableScrollShadowDirective.ctorParameters = () => [
755
- { type: ElementRef }
823
+ { type: ElementRef },
824
+ { type: TableComponent, decorators: [{ type: Host }] }
756
825
  ];
757
826
  TableScrollShadowDirective.propDecorators = {
758
827
  SCROLL_BEFORE_END_CLASS: [{ type: HostBinding, args: [`class.${SCROLL_BEFORE_END_CLASS}`,] }],
759
828
  SHADOW_CLASS: [{ type: HostBinding, args: [`class.${SHADOW_CLASS}`,] }]
760
829
  };
761
830
 
762
- class TableComponent extends CdkTable {
763
- // FIXME: workaround to override because it will break constructor if it is field, but why MatTable works?
764
- // @ts-expect-error
765
- get stickyCssClass() {
766
- return 'aui-table-sticky';
767
- }
768
- set stickyCssClass(_stickyCssClass) {
769
- //
770
- }
771
- ngAfterContentInit() {
772
- this._createPlaceholder();
773
- }
774
- _createPlaceholder() {
775
- const footerRow = this._placeholderDef;
776
- if (!this._placeholderDef) {
777
- return;
778
- }
779
- const container = this._placeholderOutlet.viewContainer;
780
- container.createEmbeddedView(footerRow.templateRef);
781
- }
782
- _clearPlaceholder() {
783
- this._placeholderOutlet.viewContainer.clear();
784
- }
785
- ngOnDestroy() {
786
- super.ngOnDestroy();
787
- this._clearPlaceholder();
788
- }
789
- }
790
- TableComponent.decorators = [
791
- { type: Component, args: [{
792
- selector: 'aui-table',
793
- exportAs: 'auiTable',
794
- encapsulation: ViewEncapsulation.None,
795
- template: `
796
- ${CDK_TABLE_TEMPLATE}
797
- <ng-container auiTablePlaceholderOutlet></ng-container>
798
- `,
799
- host: {
800
- class: 'aui-table',
801
- },
802
- preserveWhitespaces: false,
803
- changeDetection: ChangeDetectionStrategy.OnPush,
804
- providers: [
805
- {
806
- provide: CDK_TABLE,
807
- useExisting: TableComponent,
808
- },
809
- {
810
- provide: _VIEW_REPEATER_STRATEGY,
811
- useClass: _DisposeViewRepeaterStrategy,
812
- },
813
- {
814
- provide: _COALESCED_STYLE_SCHEDULER,
815
- useClass: _CoalescedStyleScheduler,
816
- },
817
- ],
818
- 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%}"]
819
- },] }
820
- ];
821
- TableComponent.propDecorators = {
822
- enableScrollWrapper: [{ type: Input }],
823
- _placeholderOutlet: [{ type: ViewChild, args: [TablePlaceholderOutlet, { static: true },] }],
824
- _placeholderDef: [{ type: ContentChild, args: [TablePlaceholderDefDirective, { static: true },] }]
825
- };
826
-
827
831
  class TableModule {
828
832
  }
829
833
  TableModule.decorators = [
@@ -2279,14 +2283,13 @@ class DialogService {
2279
2283
  }
2280
2284
  DialogService.DIALOG_OVERLAY_PANE_CLASS = 'aui-dialog-overlay-pane';
2281
2285
  DialogService.DIALOG_BACKDROP_CLASS = 'aui-dialog-backdrop';
2282
- DialogService.ɵprov = ɵɵdefineInjectable({ factory: function DialogService_Factory() { return new DialogService(ɵɵinject(Overlay), ɵɵinject(INJECTOR), ɵɵinject(ScrollDispatcher), ɵɵinject(NgZone)); }, token: DialogService, providedIn: "root" });
2283
2286
  DialogService.decorators = [
2284
- { type: Injectable, args: [{ providedIn: 'root' },] }
2287
+ { type: Injectable }
2285
2288
  ];
2286
2289
  DialogService.ctorParameters = () => [
2287
2290
  { type: Overlay },
2288
2291
  { type: Injector },
2289
- { type: ScrollDispatcher$1 },
2292
+ { type: ScrollDispatcher },
2290
2293
  { type: NgZone }
2291
2294
  ];
2292
2295
 
@@ -2339,7 +2342,7 @@ DialogContentComponent.decorators = [
2339
2342
  ];
2340
2343
  DialogContentComponent.ctorParameters = () => [
2341
2344
  { type: ElementRef },
2342
- { type: ScrollDispatcher$1 },
2345
+ { type: ScrollDispatcher },
2343
2346
  { type: NgZone },
2344
2347
  { type: Directionality }
2345
2348
  ];
@@ -2422,6 +2425,7 @@ DialogModule.decorators = [
2422
2425
  DialogCloseDirective,
2423
2426
  ],
2424
2427
  entryComponents: [DialogComponent, ConfirmDialogComponent],
2428
+ providers: [DialogService],
2425
2429
  },] }
2426
2430
  ];
2427
2431
 
@@ -5884,6 +5888,7 @@ MessageModule.decorators = [
5884
5888
  imports: [CommonModule, OverlayModule, IconModule],
5885
5889
  declarations: [MessageWrapperComponent, MessageComponent],
5886
5890
  entryComponents: [MessageWrapperComponent, MessageComponent],
5891
+ providers: [MessageService],
5887
5892
  },] }
5888
5893
  ];
5889
5894
 
@@ -5977,9 +5982,8 @@ class MessageService extends BaseMessage {
5977
5982
  super(overlay, injector, applicationRef, cfr, 'aui-message-overlay-pane', MessageWrapperComponent, MessageComponent, Object.assign(Object.assign({}, MESSAGE_DEFAULT_CONFIG), globalConfig));
5978
5983
  }
5979
5984
  }
5980
- MessageService.ɵprov = ɵɵdefineInjectable({ factory: function MessageService_Factory() { return new MessageService(ɵɵinject(Overlay), ɵɵinject(INJECTOR), ɵɵinject(ApplicationRef), ɵɵinject(ComponentFactoryResolver), ɵɵinject(MESSAGE_CONFIG, 8)); }, token: MessageService, providedIn: "root" });
5981
5985
  MessageService.decorators = [
5982
- { type: Injectable, args: [{ providedIn: 'root' },] }
5986
+ { type: Injectable }
5983
5987
  ];
5984
5988
  MessageService.ctorParameters = () => [
5985
5989
  { type: Overlay },
@@ -6110,16 +6114,6 @@ NotificationComponent.propDecorators = {
6110
6114
  onMouseLeave: [{ type: HostListener, args: ['mouseleave',] }]
6111
6115
  };
6112
6116
 
6113
- class NotificationModule {
6114
- }
6115
- NotificationModule.decorators = [
6116
- { type: NgModule, args: [{
6117
- imports: [CommonModule, OverlayModule, PortalModule, IconModule],
6118
- declarations: [NotificationWrapperComponent, NotificationComponent],
6119
- entryComponents: [NotificationWrapperComponent, NotificationComponent],
6120
- },] }
6121
- ];
6122
-
6123
6117
  const NOTIFICATION_CONFIG = new InjectionToken('NOTIFICATION_CONFIG');
6124
6118
  const NOTIFICATION_DEFAULT_CONFIG = {
6125
6119
  duration: 6000,
@@ -6131,9 +6125,8 @@ class NotificationService extends BaseMessage {
6131
6125
  super(overlay, injector, applicationRef, cfr, 'aui-notification-overlay-pane', NotificationWrapperComponent, NotificationComponent, Object.assign(Object.assign({}, NOTIFICATION_DEFAULT_CONFIG), globalConfig));
6132
6126
  }
6133
6127
  }
6134
- NotificationService.ɵprov = ɵɵdefineInjectable({ factory: function NotificationService_Factory() { return new NotificationService(ɵɵinject(Overlay), ɵɵinject(INJECTOR), ɵɵinject(ApplicationRef), ɵɵinject(ComponentFactoryResolver), ɵɵinject(NOTIFICATION_CONFIG, 8)); }, token: NotificationService, providedIn: "root" });
6135
6128
  NotificationService.decorators = [
6136
- { type: Injectable, args: [{ providedIn: 'root' },] }
6129
+ { type: Injectable }
6137
6130
  ];
6138
6131
  NotificationService.ctorParameters = () => [
6139
6132
  { type: Overlay },
@@ -6143,6 +6136,17 @@ NotificationService.ctorParameters = () => [
6143
6136
  { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [NOTIFICATION_CONFIG,] }] }
6144
6137
  ];
6145
6138
 
6139
+ class NotificationModule {
6140
+ }
6141
+ NotificationModule.decorators = [
6142
+ { type: NgModule, args: [{
6143
+ imports: [CommonModule, OverlayModule, PortalModule, IconModule],
6144
+ declarations: [NotificationWrapperComponent, NotificationComponent],
6145
+ entryComponents: [NotificationWrapperComponent, NotificationComponent],
6146
+ providers: [NotificationService],
6147
+ },] }
6148
+ ];
6149
+
6146
6150
  class TabBodyComponent {
6147
6151
  constructor() {
6148
6152
  this.content$ = new BehaviorSubject(null);
@@ -10471,6 +10475,7 @@ DrawerModule.decorators = [
10471
10475
  declarations: COMMON,
10472
10476
  exports: COMMON,
10473
10477
  entryComponents: [DrawerComponent],
10478
+ providers: [DrawerService],
10474
10479
  },] }
10475
10480
  ];
10476
10481
 
@@ -10507,11 +10512,8 @@ class DrawerService {
10507
10512
  });
10508
10513
  }
10509
10514
  }
10510
- DrawerService.ɵprov = ɵɵdefineInjectable({ factory: function DrawerService_Factory() { return new DrawerService(ɵɵinject(Overlay)); }, token: DrawerService, providedIn: "root" });
10511
10515
  DrawerService.decorators = [
10512
- { type: Injectable, args: [{
10513
- providedIn: 'root',
10514
- },] }
10516
+ { type: Injectable }
10515
10517
  ];
10516
10518
  DrawerService.ctorParameters = () => [
10517
10519
  { type: Overlay }