@shival99/z-ui 2.0.87 → 2.0.89
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": "@shival99/z-ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.89",
|
|
4
4
|
"description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 20+, featuring 40+ customizable components with dark mode, accessibility, and enterprise-ready features.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -887,6 +887,7 @@ interface ZTableConfig<T> {
|
|
|
887
887
|
/** Bật menu chuột phải để chèn dòng khi bảng có cell editContent. */
|
|
888
888
|
enableContentRowInsert?: boolean;
|
|
889
889
|
enableRowPinning?: boolean;
|
|
890
|
+
/** Bật/tắt ghim cột toàn bảng. Mặc định `true`. Từng cột có thể override qua `enablePinning`. */
|
|
890
891
|
enableColumnPinning?: boolean;
|
|
891
892
|
enableColumnOrdering?: boolean;
|
|
892
893
|
enableColumnSorting?: boolean;
|
|
@@ -1297,6 +1298,18 @@ declare class ZTableComponent<T> implements AfterViewInit {
|
|
|
1297
1298
|
protected readonly shouldFooterShowShadow: _angular_core.Signal<boolean>;
|
|
1298
1299
|
protected readonly tbodyContainerWidth: _angular_core.WritableSignal<number>;
|
|
1299
1300
|
protected readonly tbodyContainerHeight: _angular_core.WritableSignal<number>;
|
|
1301
|
+
/** DOM-measured widths of all visible columns, keyed by column id. Updated after each render cycle. */
|
|
1302
|
+
protected readonly _colDomWidthMap: _angular_core.WritableSignal<Record<string, number>>;
|
|
1303
|
+
/** CSS vars for pinned column offsets: --pin-left-{id} and --pin-right-{id}. Set on <table> via columnSizeVars. */
|
|
1304
|
+
protected readonly columnPinningVars: _angular_core.Signal<Record<string, string>>;
|
|
1305
|
+
private readonly _colDomWidthUpdater;
|
|
1306
|
+
/**
|
|
1307
|
+
* Returns a fixed pixel width for a column when it can be determined without DOM measurement:
|
|
1308
|
+
* - `size === minSize === maxSize` (all equal, all set) → fixed
|
|
1309
|
+
* - `config.width` is a non-percent px string → fixed
|
|
1310
|
+
* Returns null when the column width is flexible and must be measured from DOM.
|
|
1311
|
+
*/
|
|
1312
|
+
private _resolveFixedColumnWidth;
|
|
1300
1313
|
protected readonly skeletonRowHeight: _angular_core.WritableSignal<number>;
|
|
1301
1314
|
protected readonly skeletonRowCount: _angular_core.Signal<number>;
|
|
1302
1315
|
protected readonly skeletonRows: _angular_core.Signal<number[]>;
|
|
@@ -1304,7 +1317,9 @@ declare class ZTableComponent<T> implements AfterViewInit {
|
|
|
1304
1317
|
protected readonly dynamicGroupHeights: _angular_core.Signal<any[]>;
|
|
1305
1318
|
protected readonly columnSizing: _angular_core.Signal<ColumnSizingState>;
|
|
1306
1319
|
protected readonly columnSizingInfo: _angular_core.Signal<_tanstack_angular_table.ColumnSizingInfoState>;
|
|
1307
|
-
protected readonly columnSizeVars: _angular_core.Signal<
|
|
1320
|
+
protected readonly columnSizeVars: _angular_core.Signal<{
|
|
1321
|
+
[x: string]: string | number;
|
|
1322
|
+
}>;
|
|
1308
1323
|
protected readonly table: ReturnType<typeof createAngularTable<T>>;
|
|
1309
1324
|
private readonly _virtualGroupCount;
|
|
1310
1325
|
protected readonly selectedRowIds: _angular_core.Signal<string[]>;
|
|
@@ -1620,7 +1635,7 @@ declare class ZTableActionsComponent<T = unknown> {
|
|
|
1620
1635
|
readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
|
|
1621
1636
|
readonly zRow: _angular_core.InputSignal<T>;
|
|
1622
1637
|
readonly zRowId: _angular_core.InputSignal<string>;
|
|
1623
|
-
readonly zDropdownButtonSize: _angular_core.InputSignal<"
|
|
1638
|
+
readonly zDropdownButtonSize: _angular_core.InputSignal<"sm" | "default" | "lg" | "xs" | "xl" | null | undefined>;
|
|
1624
1639
|
readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
|
|
1625
1640
|
protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
|
|
1626
1641
|
protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;
|