@alauda/ui 6.4.6-beta.8 → 6.4.6
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/esm2020/dialog/dialog.component.mjs +2 -2
- package/esm2020/drawer/component/drawer.component.mjs +5 -4
- package/esm2020/select/base-select.mjs +2 -2
- package/esm2020/select/multi-select/multi-select.component.mjs +3 -2
- package/esm2020/table/table-scroll.directive.mjs +22 -10
- package/esm2020/table/table.component.mjs +2 -2
- package/fesm2015/alauda-ui.mjs +29 -19
- package/fesm2015/alauda-ui.mjs.map +1 -1
- package/fesm2020/alauda-ui.mjs +29 -19
- package/fesm2020/alauda-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/table/table-scroll.directive.d.ts +8 -6
package/package.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
2
|
+
import { CdkScrollable, ScrollDispatcher } from '@angular/cdk/scrolling';
|
|
3
|
+
import { AfterViewInit, ElementRef, NgZone, OnDestroy } from '@angular/core';
|
|
4
|
+
import { Subject, BehaviorSubject } from 'rxjs';
|
|
3
5
|
import { TableComponent } from './table.component';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
7
|
export declare class TableScrollWrapperDirective {
|
|
@@ -7,13 +9,13 @@ export declare class TableScrollWrapperDirective {
|
|
|
7
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollWrapperDirective, never>;
|
|
8
10
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollWrapperDirective, "[auiTableScrollWrapper]", never, { "auiTableScrollWrapper": "auiTableScrollWrapper"; }, {}, never>;
|
|
9
11
|
}
|
|
10
|
-
export declare class TableScrollShadowDirective implements AfterViewInit, OnDestroy {
|
|
12
|
+
export declare class TableScrollShadowDirective extends CdkScrollable implements AfterViewInit, OnDestroy {
|
|
11
13
|
private readonly el;
|
|
12
14
|
private readonly table;
|
|
13
|
-
scrollShadow$$:
|
|
15
|
+
scrollShadow$$: BehaviorSubject<boolean>;
|
|
14
16
|
destroy$$: Subject<void>;
|
|
15
17
|
set auiTableScrollShadow(scrollShadow: boolean | '');
|
|
16
|
-
constructor(el: ElementRef<HTMLElement>, table: TableComponent<unknown
|
|
18
|
+
constructor(el: ElementRef<HTMLElement>, scrollDispatcher: ScrollDispatcher, ngZone: NgZone, table: TableComponent<unknown>, dir?: Directionality);
|
|
17
19
|
SCROLL_BEFORE_END_CLASS: boolean;
|
|
18
20
|
SHADOW_CLASS: boolean;
|
|
19
21
|
get containerEl(): HTMLElement;
|
|
@@ -23,6 +25,6 @@ export declare class TableScrollShadowDirective implements AfterViewInit, OnDest
|
|
|
23
25
|
mutateHorizontalScroll(): void;
|
|
24
26
|
placeClassList(classList: DOMTokenList, condition: boolean, className: string): void;
|
|
25
27
|
ngOnDestroy(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollShadowDirective, [null, { host: true; }]>;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableScrollShadowDirective, [null, null, null, { host: true; }, { optional: true; }]>;
|
|
27
29
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TableScrollShadowDirective, "[auiTableScrollShadow]", never, { "auiTableScrollShadow": "auiTableScrollShadow"; }, {}, never>;
|
|
28
30
|
}
|