@alauda/ui 7.3.3-beta.32 → 7.3.3-beta.34
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/esm2022/table/table-column-resizable.directive.mjs +12 -24
- package/esm2022/table/table.module.mjs +31 -73
- package/esm2022/utils/index.mjs +2 -1
- package/esm2022/utils/styles-render.mjs +45 -0
- package/fesm2022/alauda-ui.mjs +218 -225
- package/fesm2022/alauda-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/table/table-column-resizable.directive.d.ts +5 -4
- package/table/table.module.d.ts +17 -18
- package/utils/index.d.ts +1 -0
- package/utils/styles-render.d.ts +18 -0
package/package.json
CHANGED
|
@@ -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
|
|
12
|
-
private
|
|
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/table/table.module.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { TableCellDefDirective } from './table-cell-def.directive';
|
|
|
2
2
|
import { TableExpandButtonCellComponent, TableExpandPanelCellComponent } from './table-cell.component';
|
|
3
3
|
import { TableCellDirective } from './table-cell.directive';
|
|
4
4
|
import { TableColumnDefDirective } from './table-column-def.directive';
|
|
5
|
+
import { TableColumnResizableDirective } from './table-column-resizable.directive';
|
|
5
6
|
import { TableHeaderCellDefDirective } from './table-header-cell-def.directive';
|
|
6
7
|
import { TableHeaderCellDirective } from './table-header-cell.directive';
|
|
7
8
|
import { TableHeaderRowDefDirective } from './table-header-row-def.directive';
|
|
@@ -12,25 +13,23 @@ import { TableRowComponent } from './table-row.component';
|
|
|
12
13
|
import { TableScrollableDirective, TableScrollWrapperDirective } from './table-scroll.directive';
|
|
13
14
|
import { TableComponent } from './table.component';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
|
-
import * as i1 from "
|
|
16
|
-
import * as i2 from "
|
|
17
|
-
import * as i3 from "
|
|
18
|
-
import * as i4 from "./table.component";
|
|
19
|
-
import * as i5 from "./table-
|
|
20
|
-
import * as i6 from "./table-
|
|
21
|
-
import * as i7 from "./table-cell.
|
|
22
|
-
import * as i8 from "./table-
|
|
23
|
-
import * as i9 from "./table-
|
|
24
|
-
import * as i10 from "./table-header-cell.directive";
|
|
25
|
-
import * as i11 from "./table-
|
|
26
|
-
import * as i12 from "./table-
|
|
27
|
-
import * as i13 from "./table-
|
|
28
|
-
import * as i14 from "./table-
|
|
29
|
-
|
|
30
|
-
import * as i16 from "./table-placeholder.directive";
|
|
16
|
+
import * as i1 from "./table.component";
|
|
17
|
+
import * as i2 from "./table-row.component";
|
|
18
|
+
import * as i3 from "./table-header-row.component";
|
|
19
|
+
import * as i4 from "./table-cell.component";
|
|
20
|
+
import * as i5 from "./table-cell.directive";
|
|
21
|
+
import * as i6 from "./table-cell-def.directive";
|
|
22
|
+
import * as i7 from "./table-header-cell.directive";
|
|
23
|
+
import * as i8 from "./table-row-def.directive";
|
|
24
|
+
import * as i9 from "./table-header-row-def.directive";
|
|
25
|
+
import * as i10 from "./table-header-cell-def.directive";
|
|
26
|
+
import * as i11 from "./table-column-def.directive";
|
|
27
|
+
import * as i12 from "./table-column-resizable.directive";
|
|
28
|
+
import * as i13 from "./table-placeholder.directive";
|
|
29
|
+
import * as i14 from "./table-scroll.directive";
|
|
30
|
+
export declare const TABLE_MODULE: readonly [typeof TableComponent, typeof TableRowComponent, typeof TableHeaderRowComponent, typeof TableExpandButtonCellComponent, typeof TableExpandPanelCellComponent, typeof TableCellDirective, typeof TableCellDefDirective, typeof TableHeaderCellDirective, typeof TableRowDefDirective, typeof TableHeaderRowDefDirective, typeof TableHeaderCellDefDirective, typeof TableColumnDefDirective, typeof TableColumnResizableDirective, typeof TablePlaceholderOutletDirective, typeof TablePlaceholderDefDirective, typeof TableScrollWrapperDirective, typeof TableScrollableDirective];
|
|
31
31
|
export declare class TableModule {
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableModule, never>;
|
|
33
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, never, [typeof i1.
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableModule, never, [typeof i1.TableComponent, typeof i2.TableRowComponent, typeof i3.TableHeaderRowComponent, typeof i4.TableExpandButtonCellComponent, typeof i4.TableExpandPanelCellComponent, typeof i5.TableCellDirective, typeof i6.TableCellDefDirective, typeof i7.TableHeaderCellDirective, typeof i8.TableRowDefDirective, typeof i9.TableHeaderRowDefDirective, typeof i10.TableHeaderCellDefDirective, typeof i11.TableColumnDefDirective, typeof i12.TableColumnResizableDirective, typeof i13.TablePlaceholderOutletDirective, typeof i13.TablePlaceholderDefDirective, typeof i14.TableScrollWrapperDirective, typeof i14.TableScrollableDirective], [typeof i1.TableComponent, typeof i2.TableRowComponent, typeof i3.TableHeaderRowComponent, typeof i4.TableExpandButtonCellComponent, typeof i4.TableExpandPanelCellComponent, typeof i5.TableCellDirective, typeof i6.TableCellDefDirective, typeof i7.TableHeaderCellDirective, typeof i8.TableRowDefDirective, typeof i9.TableHeaderRowDefDirective, typeof i10.TableHeaderCellDefDirective, typeof i11.TableColumnDefDirective, typeof i12.TableColumnResizableDirective, typeof i13.TablePlaceholderOutletDirective, typeof i13.TablePlaceholderDefDirective, typeof i14.TableScrollWrapperDirective, typeof i14.TableScrollableDirective]>;
|
|
34
34
|
static ɵinj: i0.ɵɵInjectorDeclaration<TableModule>;
|
|
35
35
|
}
|
|
36
|
-
export declare const TABLE_MODULE: readonly [typeof TableComponent, typeof TableRowComponent, typeof TableHeaderRowComponent, typeof TableExpandButtonCellComponent, typeof TableExpandPanelCellComponent, typeof TableCellDirective, typeof TableCellDefDirective, typeof TableHeaderCellDirective, typeof TableRowDefDirective, typeof TableHeaderRowDefDirective, typeof TableHeaderCellDefDirective, typeof TableColumnDefDirective, typeof TableScrollableDirective, typeof TablePlaceholderOutletDirective, typeof TablePlaceholderDefDirective, typeof TableScrollWrapperDirective];
|
package/utils/index.d.ts
CHANGED
|
@@ -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 {};
|