@alauda/ui 6.4.6-beta.9 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/ui",
3
- "version": "6.4.6-beta.9",
3
+ "version": "6.4.6",
4
4
  "description": "Angular UI components by Alauda Frontend Team.",
5
5
  "repository": "git+https://github.com/alauda/alauda-ui.git",
6
6
  "author": "Alauda Frontend",
@@ -1,5 +1,7 @@
1
- import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
2
- import { Subject } from 'rxjs';
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$$: Subject<boolean>;
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
  }