@shival99/z-ui 2.2.2 → 2.2.4

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.2.2",
3
+ "version": "2.2.4",
4
4
  "description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 22, featuring 40+ customizable components with dark mode, accessibility, and enterprise-ready features.",
5
5
  "keywords": [
6
6
  "angular",
@@ -1122,6 +1122,7 @@ declare class ZTableComponent<T> implements AfterViewInit {
1122
1122
  private readonly _zTranslate;
1123
1123
  /** Prevents recursive scroll sync between thead/tbody/tfoot */
1124
1124
  private readonly _isSyncingScroll;
1125
+ private _lastSyncedScrollLeft;
1125
1126
  /** Preserves horizontal scroll position across loading states */
1126
1127
  private readonly _savedScrollLeft;
1127
1128
  /** Observes tbody container height changes for skeleton row count calculation */
@@ -1382,6 +1383,10 @@ declare class ZTableComponent<T> implements AfterViewInit {
1382
1383
  protected readonly virtualGroupedFlatItems: _angular_core.Signal<ZVirtualFlatItem<T>[]>;
1383
1384
  /** Sticky group header đang bật (config cho phép và đang thực sự group theo cột nào đó). */
1384
1385
  protected readonly isStickyGroupHeaderEnabled: _angular_core.Signal<boolean>;
1386
+ /** Flow layout: một transform cho cả khối thay vì mỗi row một cái. Sticky group header phải
1387
+ * dùng absolute vì rangeExtractor làm tập render không liền mạch. */
1388
+ protected readonly usesFlowVirtualRows: _angular_core.Signal<boolean>;
1389
+ protected readonly virtualFlowOffset: _angular_core.Signal<number>;
1385
1390
  /**
1386
1391
  * `top` (px) của sticky group header theo depth ở chế độ non-virtual.
1387
1392
  * Ở đây mọi group header đều là `<tr>` thật trong cùng một `<tbody>`, nên chỉ cần `position: sticky`:
@@ -1892,7 +1897,8 @@ declare class ZTableComponent<T> implements AfterViewInit {
1892
1897
  */
1893
1898
  private _warnOnOverflowingFixedRows;
1894
1899
  private _dynamicEstimateSampleCount;
1895
- /** Averages the rows measured so far to estimate the ones not yet rendered. */
1900
+ /** Averages the rows measured so far to estimate the ones not yet rendered.
1901
+ * Tính lại theo bậc ~1.5x để tổng công việc là O(N) thay vì O(N²) khi cuộn hết danh sách dài. */
1896
1902
  private _refreshDynamicEstimate;
1897
1903
  private readonly _rowDragAutoScroll;
1898
1904
  private readonly _rowDragCellSelectionCleanup;
@@ -2157,7 +2163,7 @@ declare class ZTableFilterComponent<T> {
2157
2163
  protected readonly filterBadgeCount: _angular_core.Signal<number>;
2158
2164
  protected readonly hasFilterValue: _angular_core.Signal<boolean>;
2159
2165
  protected readonly isActive: _angular_core.Signal<boolean>;
2160
- protected readonly draftSortValue: _angular_core.Signal<"asc" | "desc" | "none">;
2166
+ protected readonly draftSortValue: _angular_core.Signal<"none" | "asc" | "desc">;
2161
2167
  protected readonly rangeMinValue: _angular_core.Signal<any>;
2162
2168
  protected readonly rangeMaxValue: _angular_core.Signal<any>;
2163
2169
  protected readonly dateValue: _angular_core.Signal<Date | null>;