@shival99/z-ui 2.1.7 → 2.1.9

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.
Files changed (28) hide show
  1. package/fesm2022/shival99-z-ui-components-z-button-group.mjs +18 -13
  2. package/fesm2022/shival99-z-ui-components-z-button-group.mjs.map +1 -1
  3. package/fesm2022/shival99-z-ui-components-z-checkbox.mjs +2 -2
  4. package/fesm2022/shival99-z-ui-components-z-checkbox.mjs.map +1 -1
  5. package/fesm2022/shival99-z-ui-components-z-gallery.mjs +1 -1
  6. package/fesm2022/shival99-z-ui-components-z-gallery.mjs.map +1 -1
  7. package/fesm2022/shival99-z-ui-components-z-icon.mjs +121 -4
  8. package/fesm2022/shival99-z-ui-components-z-icon.mjs.map +1 -1
  9. package/fesm2022/shival99-z-ui-components-z-menu.mjs +5 -4
  10. package/fesm2022/shival99-z-ui-components-z-menu.mjs.map +1 -1
  11. package/fesm2022/shival99-z-ui-components-z-pagination.mjs +1 -1
  12. package/fesm2022/shival99-z-ui-components-z-pagination.mjs.map +1 -1
  13. package/fesm2022/shival99-z-ui-components-z-radio.mjs +1 -1
  14. package/fesm2022/shival99-z-ui-components-z-radio.mjs.map +1 -1
  15. package/fesm2022/shival99-z-ui-components-z-table.mjs +365 -75
  16. package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
  17. package/package.json +1 -4
  18. package/types/shival99-z-ui-components-z-autocomplete.d.ts +1 -1
  19. package/types/shival99-z-ui-components-z-button-group.d.ts +18 -13
  20. package/types/shival99-z-ui-components-z-editor.d.ts +1 -1
  21. package/types/shival99-z-ui-components-z-icon.d.ts +10 -1
  22. package/types/shival99-z-ui-components-z-menu.d.ts +1 -0
  23. package/types/shival99-z-ui-components-z-modal.d.ts +1 -1
  24. package/types/shival99-z-ui-components-z-select.d.ts +1 -1
  25. package/types/shival99-z-ui-components-z-table.d.ts +39 -3
  26. package/types/shival99-z-ui-components-z-toast.d.ts +2 -2
  27. package/types/shival99-z-ui-components-z-upload.d.ts +3 -3
  28. package/scripts/z-init-project.mjs +0 -645
package/package.json CHANGED
@@ -1,10 +1,7 @@
1
1
  {
2
2
  "name": "@shival99/z-ui",
3
- "version": "2.1.7",
3
+ "version": "2.1.9",
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
- "bin": {
6
- "z-ui-init": "./scripts/z-init-project.mjs"
7
- },
8
5
  "keywords": [
9
6
  "angular",
10
7
  "angular-ui",
@@ -274,7 +274,7 @@ declare class ZAutocompleteComponent<T = unknown> implements OnInit, ControlValu
274
274
 
275
275
  declare const zAutocompleteInputVariants: (props?: ({
276
276
  zSize?: "sm" | "default" | "lg" | null | undefined;
277
- zStatus?: "default" | "open" | "error" | "disabled" | "readonly" | null | undefined;
277
+ zStatus?: "default" | "error" | "disabled" | "readonly" | "open" | null | undefined;
278
278
  } & class_variance_authority_types.ClassProp) | undefined) => string;
279
279
  type ZAutocompleteInputVariants = VariantProps<typeof zAutocompleteInputVariants>;
280
280
  declare const zAutocompleteOptionVariants: (props?: ({
@@ -4,15 +4,25 @@ import { ClassValue } from 'clsx';
4
4
  import * as class_variance_authority_types from 'class-variance-authority/types';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
 
7
+ type ZButtonGroupValue = string | number;
8
+ interface ZButtonGroupHost {
9
+ _selectItem(value: ZButtonGroupValue, index: number): void;
10
+ _isItemActive(value: ZButtonGroupValue): boolean;
11
+ }
12
+ declare const Z_BUTTON_GROUP: InjectionToken<ZButtonGroupHost>;
13
+
7
14
  declare class ZButtonGroupItemDirective {
8
15
  private readonly _group;
9
16
  private readonly _index;
17
+ /** Khóa ổn định tùy chọn, ưu tiên hơn index khi xác định active. */
18
+ readonly zValue: _angular_core.InputSignal<ZButtonGroupValue | undefined>;
19
+ private readonly _value;
10
20
  readonly isActive: _angular_core.Signal<boolean>;
11
21
  readonly index: _angular_core.Signal<number>;
12
22
  _setIndex(index: number): void;
13
23
  protected onClick(): void;
14
24
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZButtonGroupItemDirective, never>;
15
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ZButtonGroupItemDirective, "[z-button-group-item]", ["zButtonGroupItem"], {}, {}, never, never, true, never>;
25
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ZButtonGroupItemDirective, "[z-button-group-item]", ["zButtonGroupItem"], { "zValue": { "alias": "zValue"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
16
26
  }
17
27
 
18
28
  declare class ZButtonGroupSeparatorComponent {
@@ -23,24 +33,19 @@ declare class ZButtonGroupSeparatorComponent {
23
33
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZButtonGroupSeparatorComponent, "z-button-group-separator", ["zButtonGroupSeparator"], { "zClass": { "alias": "zClass"; "required": false; "isSignal": true; }; "zOrientation": { "alias": "zOrientation"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
24
34
  }
25
35
 
26
- interface ZButtonGroupHost {
27
- _selectItem(index: number): void;
28
- _isItemActive(index: number): boolean;
29
- }
30
- declare const Z_BUTTON_GROUP: InjectionToken<ZButtonGroupHost>;
31
-
32
36
  declare class ZButtonGroupComponent implements ZButtonGroupHost {
33
37
  readonly zClass: _angular_core.InputSignal<ClassValue>;
34
38
  readonly zOrientation: _angular_core.InputSignal<"horizontal" | "vertical" | null | undefined>;
35
- readonly zActive: _angular_core.ModelSignal<number | null>;
36
- readonly zActiveChange: _angular_core.OutputEmitterRef<number | null>;
39
+ readonly zActive: _angular_core.ModelSignal<ZButtonGroupValue | null>;
40
+ readonly zActiveIndexChange: _angular_core.OutputEmitterRef<number | null>;
41
+ readonly zActiveValueChange: _angular_core.OutputEmitterRef<ZButtonGroupValue | null>;
37
42
  private readonly _items;
38
43
  protected readonly zClasses: _angular_core.Signal<string>;
39
44
  constructor();
40
- _selectItem(index: number): void;
41
- _isItemActive(index: number): boolean;
45
+ _selectItem(value: ZButtonGroupValue, index: number): void;
46
+ _isItemActive(value: ZButtonGroupValue): boolean;
42
47
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZButtonGroupComponent, never>;
43
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZButtonGroupComponent, "z-button-group", ["zButtonGroup"], { "zClass": { "alias": "zClass"; "required": false; "isSignal": true; }; "zOrientation": { "alias": "zOrientation"; "required": false; "isSignal": true; }; "zActive": { "alias": "zActive"; "required": false; "isSignal": true; }; }, { "zActive": "zActiveChange"; "zActiveChange": "zActiveChange"; }, ["_items"], ["*"], true, never>;
48
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZButtonGroupComponent, "z-button-group", ["zButtonGroup"], { "zClass": { "alias": "zClass"; "required": false; "isSignal": true; }; "zOrientation": { "alias": "zOrientation"; "required": false; "isSignal": true; }; "zActive": { "alias": "zActive"; "required": false; "isSignal": true; }; }, { "zActive": "zActiveChange"; "zActiveIndexChange": "zActiveIndexChange"; "zActiveValueChange": "zActiveValueChange"; }, ["_items"], ["*"], true, never>;
44
49
  }
45
50
 
46
51
  declare const zButtonGroupVariants: (props?: ({
@@ -53,4 +58,4 @@ type ZButtonGroupVariants = VariantProps<typeof zButtonGroupVariants>;
53
58
  type ZButtonGroupSeparatorVariants = VariantProps<typeof zButtonGroupSeparatorVariants>;
54
59
 
55
60
  export { ZButtonGroupComponent, ZButtonGroupItemDirective, ZButtonGroupSeparatorComponent, Z_BUTTON_GROUP, zButtonGroupSeparatorVariants, zButtonGroupVariants };
56
- export type { ZButtonGroupHost, ZButtonGroupSeparatorVariants, ZButtonGroupVariants };
61
+ export type { ZButtonGroupHost, ZButtonGroupSeparatorVariants, ZButtonGroupValue, ZButtonGroupVariants };
@@ -328,7 +328,7 @@ declare const Z_EDITOR_DEFAULT_TOOLBAR: readonly ZEditorToolbarItem[];
328
328
 
329
329
  declare const zEditorVariants: (props?: ({
330
330
  zSize?: "sm" | "default" | "lg" | null | undefined;
331
- zStatus?: "default" | "error" | "disabled" | "readonly" | null | undefined;
331
+ zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
332
332
  zPlaceholderMode?: "firstLine" | "everyLine" | null | undefined;
333
333
  } & class_variance_authority_types.ClassProp) | undefined) => string;
334
334
  type ZEditorVariants = VariantProps<typeof zEditorVariants>;
@@ -26,8 +26,17 @@ type ZPhosphorIcon = Extract<keyof typeof phosphorRegularIcons | keyof typeof ph
26
26
  type ZHugeIcon = {
27
27
  [K in keyof typeof hugeIcons as K extends `${infer Name}Icon` ? `huge${Name}` : never]: true;
28
28
  } extends infer M ? Extract<keyof M, `huge${string}`> : never;
29
+ /**
30
+ * Brand/logo icons served at runtime from theSVG (thesvg.org). These are
31
+ * loaded dynamically by slug, so unlike the other families there is no
32
+ * generated union to validate against — any `brand`-prefixed name is accepted.
33
+ * The PascalCase part maps to the CDN slug, and an optional Color/Light/Dark/
34
+ * Wordmark suffix selects the variant (default `mono`, which uses currentColor).
35
+ * Examples: `brandGithub`, `brandSlackWordmark`, `brandFigmaColor`.
36
+ */
37
+ type ZBrandIcon = `brand${string}`;
29
38
  declare const Z_ICONS: {};
30
- type ZIcon = ZLucideIcon | ZSaxIcon | ZPhosphorIcon | ZHugeIcon;
39
+ type ZIcon = ZLucideIcon | ZSaxIcon | ZPhosphorIcon | ZHugeIcon | ZBrandIcon;
31
40
 
32
41
  type ZIconAnimationTrigger = 'manual' | 'hover' | 'focus' | 'interaction' | 'always';
33
42
  declare class ZIconComponent {
@@ -25,6 +25,7 @@ interface ZMenuItem {
25
25
  menuTemplateWidth?: number;
26
26
  renderChildren?: boolean;
27
27
  renderExpanded?: boolean;
28
+ groupLabel?: string;
28
29
  }
29
30
  type ZMenuV2Item = Omit<ZMenuItem, 'children' | 'menuTemplate' | 'menuTemplateWidth' | 'renderChildren' | 'renderExpanded'> & {
30
31
  children?: ZMenuV2Item[];
@@ -251,7 +251,7 @@ declare class ZModalComponent<T, U> extends BasePortalOutlet implements OnDestro
251
251
  protected readonly effectiveOkText: _angular_core.Signal<string | null | undefined>;
252
252
  protected readonly effectiveCancelText: _angular_core.Signal<string | null | undefined>;
253
253
  protected readonly effectiveOkDestructive: _angular_core.Signal<boolean | undefined>;
254
- protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "link" | "default" | "primary" | "secondary" | "destructive" | "destructive-heartbeat" | "success" | "outline" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-info" | "outline-warning" | "outline-error" | "outline-destructive" | "outline-shimmer" | "outline-success-secondary" | "outline-info-secondary" | "outline-warning-secondary" | "outline-error-secondary" | "outline-destructive-secondary" | "outline-primary-secondary" | "outline-primary-soft" | "outline-success-soft" | "outline-info-soft" | "outline-warning-soft" | "outline-error-soft" | "outline-destructive-soft" | "outline-primary-soft-border" | "outline-success-soft-border" | "outline-info-soft-border" | "outline-warning-soft-border" | "outline-error-soft-border" | "outline-destructive-soft-border" | "ghost" | "ghost-primary" | "ghost-success" | "ghost-info" | "ghost-warning" | "ghost-error" | "ghost-destructive" | "subtle" | "subtle-primary" | "subtle-success" | "subtle-info" | "subtle-warning" | "subtle-destructive" | "subtle-outline" | "subtle-primary-outline" | "subtle-success-outline" | "subtle-info-outline" | "subtle-warning-outline" | "subtle-destructive-outline" | null | undefined>;
254
+ protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "default" | "primary" | "secondary" | "destructive" | "destructive-heartbeat" | "success" | "outline" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-info" | "outline-warning" | "outline-error" | "outline-destructive" | "outline-shimmer" | "outline-success-secondary" | "outline-info-secondary" | "outline-warning-secondary" | "outline-error-secondary" | "outline-destructive-secondary" | "outline-primary-secondary" | "outline-primary-soft" | "outline-success-soft" | "outline-info-soft" | "outline-warning-soft" | "outline-error-soft" | "outline-destructive-soft" | "outline-primary-soft-border" | "outline-success-soft-border" | "outline-info-soft-border" | "outline-warning-soft-border" | "outline-error-soft-border" | "outline-destructive-soft-border" | "ghost" | "ghost-primary" | "ghost-success" | "ghost-info" | "ghost-warning" | "ghost-error" | "ghost-destructive" | "subtle" | "subtle-primary" | "subtle-success" | "subtle-info" | "subtle-warning" | "subtle-destructive" | "subtle-outline" | "subtle-primary-outline" | "subtle-success-outline" | "subtle-info-outline" | "subtle-warning-outline" | "subtle-destructive-outline" | "link" | null | undefined>;
255
255
  protected readonly effectiveOkDisabled: _angular_core.Signal<boolean | undefined>;
256
256
  protected readonly effectiveLoading: _angular_core.Signal<boolean>;
257
257
  protected readonly effectiveContentLoading: _angular_core.Signal<boolean>;
@@ -323,7 +323,7 @@ declare class ZTagClassesPipe implements PipeTransform {
323
323
 
324
324
  declare const zSelectVariants: (props?: ({
325
325
  zSize?: "sm" | "default" | "lg" | null | undefined;
326
- zStatus?: "default" | "open" | "error" | "disabled" | "readonly" | null | undefined;
326
+ zStatus?: "default" | "error" | "disabled" | "readonly" | "open" | null | undefined;
327
327
  } & class_variance_authority_types.ClassProp) | undefined) => string;
328
328
  declare const zSelectTagVariants: (props?: ({
329
329
  zSize?: "sm" | "default" | "lg" | null | undefined;
@@ -1082,9 +1082,12 @@ declare class ZTableComponent<T> implements AfterViewInit {
1082
1082
  private _contentRowMenuOutsideTimer;
1083
1083
  private _contentRowMenuOutsideCleanup;
1084
1084
  private _cellInteractionOutsideCleanup;
1085
+ private _pinnedRowHeightsFrame;
1086
+ private _virtualSpacerWidthFrame;
1085
1087
  private readonly _activeColumnVisibilityPopover;
1086
1088
  private _hasInitializedColumnPinning;
1087
1089
  private _initializedGroupingSchemaKey;
1090
+ private _initializedPaginationSchemaKey;
1088
1091
  private _isFitColumnScheduled;
1089
1092
  private _skipNextConfigSave;
1090
1093
  /** Merged loading state from both zLoading input and config.loading */
@@ -1134,6 +1137,12 @@ declare class ZTableComponent<T> implements AfterViewInit {
1134
1137
  rowId: string;
1135
1138
  columnId: string;
1136
1139
  } | null>;
1140
+ private _cellDragArmed;
1141
+ private _isCellDragging;
1142
+ private _cellDragStart;
1143
+ private _cellDragCleanup;
1144
+ /** Pointer must move at least this many px before an armed press becomes a range drag. */
1145
+ private static readonly _cellDragThreshold;
1137
1146
  protected readonly cellMenu: _angular_core.WritableSignal<{
1138
1147
  rowId: string;
1139
1148
  columnId: string;
@@ -1180,8 +1189,16 @@ declare class ZTableComponent<T> implements AfterViewInit {
1180
1189
  protected readonly hasScrollLeft: _angular_core.WritableSignal<boolean>;
1181
1190
  /** True when table has right-pinned columns and body isn't scrolled to the end */
1182
1191
  protected readonly hasScrollRight: _angular_core.WritableSignal<boolean>;
1192
+ /** True khi top-pinned rows đang đè lên nội dung body đã scroll qua đầu */
1193
+ protected readonly hasScrollTop: _angular_core.WritableSignal<boolean>;
1194
+ /** True khi bottom-pinned rows đang đè lên nội dung body còn scroll xuống được */
1195
+ protected readonly hasScrollBottom: _angular_core.WritableSignal<boolean>;
1183
1196
  /** Maps row IDs to measured DOM heights for pinned row offset calculations */
1184
1197
  protected readonly pinnedRowHeights: _angular_core.WritableSignal<Record<string, number>>;
1198
+ protected readonly virtualMeasuredLeftSpacerWidth: _angular_core.WritableSignal<number>;
1199
+ protected readonly virtualMeasuredRightSpacerWidth: _angular_core.WritableSignal<number>;
1200
+ private readonly _virtualMeasuredLeftSpacerSourceWidth;
1201
+ private readonly _virtualMeasuredRightSpacerSourceWidth;
1185
1202
  protected readonly defaultBulkActions: _angular_core.Signal<ZTableBulkActionItem<T>[]>;
1186
1203
  /** Bumped to force recomputation of pinned column IDs after programmatic pin changes */
1187
1204
  private readonly _columnPinVersion;
@@ -1290,6 +1307,7 @@ declare class ZTableComponent<T> implements AfterViewInit {
1290
1307
  * nhầm cho row đang nằm ở giữa bảng.
1291
1308
  */
1292
1309
  protected readonly renderedBodyRows: _angular_core.Signal<Row<T>[]>;
1310
+ protected readonly bodyRowSpanRows: _angular_core.Signal<Row<T>[]>;
1293
1311
  protected readonly virtualGroupedFlatItems: _angular_core.Signal<ZVirtualFlatItem<T>[]>;
1294
1312
  protected _getVirtualGroupHeader(item: ZVirtualFlatItem<T> | undefined): ZTableGroupRowItem | null;
1295
1313
  protected _isVirtualGroupChild(item: ZVirtualFlatItem<T> | undefined): boolean;
@@ -1333,15 +1351,17 @@ declare class ZTableComponent<T> implements AfterViewInit {
1333
1351
  protected readonly rightLeafColumns: _angular_core.Signal<Column<T, unknown>[]>;
1334
1352
  protected readonly hasComplexColumnLayout: _angular_core.Signal<boolean>;
1335
1353
  protected readonly canUseVirtualColumns: _angular_core.Signal<boolean>;
1336
- protected readonly columnVirtualizer: _shival99_angular_virtual.AngularVirtualizer<HTMLDivElement, Element>;
1354
+ protected readonly columnVirtualizer: _shival99_angular_virtual.AngularVirtualizer<HTMLElement, Element>;
1337
1355
  protected readonly virtualCenterColumnItems: _angular_core.Signal<_shival99_angular_virtual.VirtualItem[]>;
1338
1356
  protected readonly virtualCenterColumns: _angular_core.Signal<Column<T, unknown>[]>;
1339
1357
  protected readonly virtualCenterColumnVisibilityMap: _angular_core.Signal<Record<string, boolean>>;
1340
1358
  protected readonly firstVirtualCenterColumnId: _angular_core.Signal<string>;
1341
1359
  protected readonly lastVirtualCenterColumnId: _angular_core.Signal<string>;
1342
1360
  protected readonly virtualLeftSpacerWidth: _angular_core.Signal<number>;
1361
+ protected readonly virtualRenderedLeftSpacerWidth: _angular_core.Signal<number>;
1343
1362
  protected readonly virtualCenterTotalWidth: _angular_core.Signal<number>;
1344
1363
  protected readonly virtualRightSpacerWidth: _angular_core.Signal<number>;
1364
+ protected readonly virtualRenderedRightSpacerWidth: _angular_core.Signal<number>;
1345
1365
  protected readonly renderedColumnCount: _angular_core.Signal<number>;
1346
1366
  protected readonly renderedNativeColumnWidth: _angular_core.Signal<number>;
1347
1367
  protected readonly renderedTableWidth: _angular_core.Signal<number>;
@@ -1375,6 +1395,12 @@ declare class ZTableComponent<T> implements AfterViewInit {
1375
1395
  protected readonly skeletonRowCount: _angular_core.Signal<number>;
1376
1396
  protected readonly skeletonRows: _angular_core.Signal<number[]>;
1377
1397
  protected readonly dynamicGroupRows: _angular_core.Signal<Row<T>[][]>;
1398
+ /** Pinned top rows rendered separately from the virtualizer loop in virtual scroll mode. */
1399
+ protected readonly virtualPinnedTopRows: _angular_core.Signal<Row<T>[]>;
1400
+ protected readonly virtualPinnedTopHeight: _angular_core.Signal<number>;
1401
+ /** Pinned bottom rows rendered separately from the virtualizer loop in virtual scroll mode. */
1402
+ protected readonly virtualPinnedBottomRows: _angular_core.Signal<Row<T>[]>;
1403
+ protected readonly virtualPinnedBottomHeight: _angular_core.Signal<number>;
1378
1404
  protected readonly dynamicGroupHeights: _angular_core.Signal<any[]>;
1379
1405
  protected readonly columnSizing: _angular_core.Signal<ColumnSizingState>;
1380
1406
  protected readonly columnSizingInfo: _angular_core.Signal<_tanstack_angular_table.ColumnSizingInfoState>;
@@ -1393,8 +1419,9 @@ declare class ZTableComponent<T> implements AfterViewInit {
1393
1419
  private readonly _virtualItemKeys;
1394
1420
  /** Estimate height learned from rendered rows (dynamicSize); falls back to `virtual.size`. Reduces layout shift. */
1395
1421
  private _dynamicEstimateHeight;
1422
+ protected readonly effectiveDynamicRowSizing: _angular_core.Signal<boolean>;
1396
1423
  /** Virtualizer instance — operates on groups rather than individual rows */
1397
- protected readonly virtualizer: _shival99_angular_virtual.AngularVirtualizer<HTMLDivElement, Element>;
1424
+ protected readonly virtualizer: _shival99_angular_virtual.AngularVirtualizer<HTMLElement, Element>;
1398
1425
  private readonly _measureVirtualItems;
1399
1426
  /** Learn estimate height from measured rows (reads the measurement cache, no reflow). Locks once. */
1400
1427
  private _learnDynamicEstimate;
@@ -1430,6 +1457,12 @@ declare class ZTableComponent<T> implements AfterViewInit {
1430
1457
  private _emitFilterChangeDebounced;
1431
1458
  private _checkScrollState;
1432
1459
  private _refreshPinnedRowHeights;
1460
+ private _schedulePinnedRowHeightsRefresh;
1461
+ private _cancelPinnedRowHeightsRefresh;
1462
+ private _refreshVirtualSpacerWidths;
1463
+ private _setVirtualMeasuredSpacerWidths;
1464
+ private _scheduleVirtualSpacerWidthRefresh;
1465
+ private _cancelVirtualSpacerWidthRefresh;
1433
1466
  private _checkVerticalScroll;
1434
1467
  private _checkLastRowTouchesBottom;
1435
1468
  private _getTbodyViewportElement;
@@ -1444,6 +1477,7 @@ declare class ZTableComponent<T> implements AfterViewInit {
1444
1477
  private _reconcileColumnSizing;
1445
1478
  private _checkHorizontalScroll;
1446
1479
  private _updateScrollShadowState;
1480
+ private _updateVerticalScrollShadowState;
1447
1481
  hasRightPinnedColumns(): boolean;
1448
1482
  onTbodyScroll(event: Event): void;
1449
1483
  private _syncScrollLeft;
@@ -1470,6 +1504,8 @@ declare class ZTableComponent<T> implements AfterViewInit {
1470
1504
  protected clearCellMenu(): void;
1471
1505
  protected clearContentRowMenu(): void;
1472
1506
  protected onCellPointerDown(event: PointerEvent, row: Row<T>, columnId: string): void;
1507
+ /** Arms a range-drag on cell pointerdown and starts document-level move/up tracking to confirm it. */
1508
+ private _armCellDrag;
1473
1509
  protected onCellPointerEnter(event: PointerEvent, row: Row<T>, columnId: string): void;
1474
1510
  protected openCellMenu(event: MouseEvent, row: Row<T>, columnId: string): void;
1475
1511
  protected openContentRowMenu(event: MouseEvent, row: Row<T>, columnId?: string): void;
@@ -1720,7 +1756,7 @@ declare class ZTableActionsComponent<T = unknown> {
1720
1756
  readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
1721
1757
  readonly zRow: _angular_core.InputSignal<T>;
1722
1758
  readonly zRowId: _angular_core.InputSignal<string>;
1723
- readonly zDropdownButtonSize: _angular_core.InputSignal<"sm" | "default" | "lg" | "xs" | "xl" | null | undefined>;
1759
+ readonly zDropdownButtonSize: _angular_core.InputSignal<"default" | "sm" | "lg" | "xs" | "xl" | null | undefined>;
1724
1760
  readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
1725
1761
  protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
1726
1762
  protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;
@@ -57,7 +57,7 @@ declare class ZToastComponent {
57
57
  private readonly _themeService;
58
58
  private readonly _config;
59
59
  readonly class: _angular_core.InputSignal<ClassValue>;
60
- readonly zVariant: _angular_core.InputSignal<"default" | "success" | "error" | "warning" | "info" | null | undefined>;
60
+ readonly zVariant: _angular_core.InputSignal<"success" | "error" | "warning" | "info" | "default" | null | undefined>;
61
61
  readonly zTheme: _angular_core.InputSignal<ZToastTheme | undefined>;
62
62
  readonly zPosition: _angular_core.InputSignal<ZToastPosition | undefined>;
63
63
  readonly zRichColors: _angular_core.InputSignal<boolean | undefined>;
@@ -152,7 +152,7 @@ declare class ZToastService implements OnDestroy {
152
152
  }
153
153
 
154
154
  declare const zToastVariants: (props?: ({
155
- zVariant?: "default" | "success" | "error" | "warning" | "info" | null | undefined;
155
+ zVariant?: "success" | "error" | "warning" | "info" | "default" | null | undefined;
156
156
  } & class_variance_authority_types.ClassProp) | undefined) => string;
157
157
  type ZToastVariants = VariantProps<typeof zToastVariants>;
158
158
 
@@ -100,7 +100,7 @@ declare class ZUploadComponent implements OnInit, ControlValueAccessor {
100
100
  protected readonly hasError: _angular_core.Signal<boolean>;
101
101
  protected readonly showError: _angular_core.Signal<boolean>;
102
102
  protected readonly errorMessage: _angular_core.Signal<string>;
103
- protected readonly currentStatus: _angular_core.Signal<"default" | "error" | "disabled" | "readonly" | "active">;
103
+ protected readonly currentStatus: _angular_core.Signal<"default" | "disabled" | "readonly" | "error" | "active">;
104
104
  protected readonly dropzoneClasses: _angular_core.Signal<string>;
105
105
  protected readonly acceptTypes: _angular_core.Signal<string>;
106
106
  protected readonly formatFileSize: (bytes: number) => string;
@@ -141,11 +141,11 @@ declare class ZUploadComponent implements OnInit, ControlValueAccessor {
141
141
 
142
142
  declare const zUploadDropzoneVariants: (props?: ({
143
143
  zSize?: "sm" | "default" | "lg" | null | undefined;
144
- zStatus?: "default" | "error" | "active" | "disabled" | "readonly" | null | undefined;
144
+ zStatus?: "default" | "disabled" | "readonly" | "error" | "active" | null | undefined;
145
145
  } & class_variance_authority_types.ClassProp) | undefined) => string;
146
146
  type ZUploadDropzoneVariants = VariantProps<typeof zUploadDropzoneVariants>;
147
147
  declare const zUploadFileItemVariants: (props?: ({
148
- zStatus?: "pending" | "uploading" | "success" | "error" | null | undefined;
148
+ zStatus?: "error" | "pending" | "uploading" | "success" | null | undefined;
149
149
  } & class_variance_authority_types.ClassProp) | undefined) => string;
150
150
  type ZUploadFileItemVariants = VariantProps<typeof zUploadFileItemVariants>;
151
151