@alauda/ui 7.3.3-beta.32 → 7.3.3-beta.33

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": "7.3.3-beta.32",
3
+ "version": "7.3.3-beta.33",
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,6 +1,6 @@
1
- import { AfterViewInit } from '@angular/core';
1
+ import { AfterViewInit, OnDestroy, OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare class TableColumnResizableDirective implements AfterViewInit {
3
+ export declare class TableColumnResizableDirective implements OnInit, AfterViewInit, OnDestroy {
4
4
  minWidth: string;
5
5
  maxWidth: string;
6
6
  private readonly renderer2;
@@ -8,9 +8,10 @@ export declare class TableColumnResizableDirective implements AfterViewInit {
8
8
  private readonly tableComponent;
9
9
  private readonly columnElement;
10
10
  private readonly containerElement;
11
- private styleElement;
12
- private hostAttr;
11
+ private readonly hostAttr;
12
+ private readonly stylesRenderer;
13
13
  private resizeSubscription;
14
+ ngOnInit(): void;
14
15
  ngAfterViewInit(): void;
15
16
  ngOnDestroy(): void;
16
17
  private bindResizable;
package/utils/index.d.ts CHANGED
@@ -5,4 +5,5 @@ export * from './fn';
5
5
  export * from './observe-dom';
6
6
  export * from './operators';
7
7
  export * from './scroll-into-view';
8
+ export * from './styles-render';
8
9
  export * from './watch-content-exist';
@@ -0,0 +1,18 @@
1
+ export declare function getCompatibleStylesRenderer(): CSSStyleSheetRenderer | StylesRenderer;
2
+ export declare class StylesRenderer implements Renderer {
3
+ private styleElement;
4
+ render(styles: string): void;
5
+ cleanup(): void;
6
+ }
7
+ export declare class CSSStyleSheetRenderer implements Renderer {
8
+ private readonly options?;
9
+ private styleSheet;
10
+ constructor(options?: CSSStyleSheetInit);
11
+ render(styles: string): void;
12
+ cleanup(): void;
13
+ }
14
+ interface Renderer {
15
+ render(styles: string): void;
16
+ cleanup(): void;
17
+ }
18
+ export {};