@shival99/z-ui 1.4.20 → 1.4.21

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": "1.4.20",
3
+ "version": "1.4.21",
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",
@@ -66,7 +66,9 @@ interface ZTableEditConfig<T = unknown> {
66
66
  max?: number;
67
67
  step?: number;
68
68
  rows?: number;
69
+ thousandSeparator?: string;
69
70
  disabled?: boolean | ((row: T) => boolean);
71
+ debounceTime?: number;
70
72
  onChange?: (value: unknown, row: T, columnId: string) => void;
71
73
  /** Size of the edit input. Default: 'sm' */
72
74
  size?: ZTableEditSize;
@@ -604,7 +606,7 @@ declare class ZTableActionsComponent<T = unknown> {
604
606
  readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
605
607
  readonly zRow: _angular_core.InputSignal<T>;
606
608
  readonly zRowId: _angular_core.InputSignal<string>;
607
- readonly zDropdownButtonSize: _angular_core.InputSignal<"sm" | "default" | "lg" | "xs" | "xl" | null | undefined>;
609
+ readonly zDropdownButtonSize: _angular_core.InputSignal<"sm" | "default" | "xs" | "lg" | "xl" | null | undefined>;
608
610
  readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
609
611
  protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
610
612
  protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;
@@ -622,7 +624,7 @@ declare class ZTableActionsComponent<T = unknown> {
622
624
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZTableActionsComponent<any>, "z-table-actions", never, { "zConfig": { "alias": "zConfig"; "required": true; "isSignal": true; }; "zRow": { "alias": "zRow"; "required": true; "isSignal": true; }; "zRowId": { "alias": "zRowId"; "required": true; "isSignal": true; }; "zDropdownButtonSize": { "alias": "zDropdownButtonSize"; "required": false; "isSignal": true; }; }, { "zActionClick": "zActionClick"; }, never, never, true, never>;
623
625
  }
624
626
 
625
- declare class ZTableEditCellComponent<T = unknown> {
627
+ declare class ZTableEditCellComponent<T = unknown> implements OnDestroy {
626
628
  readonly zRow: _angular_core.InputSignal<T>;
627
629
  readonly zRowId: _angular_core.InputSignal<string>;
628
630
  readonly zRowIndex: _angular_core.InputSignal<number>;
@@ -632,6 +634,7 @@ declare class ZTableEditCellComponent<T = unknown> {
632
634
  readonly zChange: _angular_core.OutputEmitterRef<ZTableEditCellChangeEvent<T>>;
633
635
  private readonly _currentValue;
634
636
  private _initialized;
637
+ private _debounceTimeout;
635
638
  protected readonly editConfig: _angular_core.Signal<ZTableEditConfig<T>>;
636
639
  protected readonly editType: _angular_core.Signal<ZTableEditType>;
637
640
  protected readonly size: _angular_core.Signal<ZTableEditSize>;
@@ -648,6 +651,8 @@ declare class ZTableEditCellComponent<T = unknown> {
648
651
  protected onDateChange(newValue: unknown): void;
649
652
  protected onCheckboxChange(checked: boolean): void;
650
653
  private _emitChange;
654
+ private _emitChangeWithDebounce;
655
+ ngOnDestroy(): void;
651
656
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZTableEditCellComponent<any>, never>;
652
657
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZTableEditCellComponent<any>, "z-table-edit-cell", never, { "zRow": { "alias": "zRow"; "required": true; "isSignal": true; }; "zRowId": { "alias": "zRowId"; "required": true; "isSignal": true; }; "zRowIndex": { "alias": "zRowIndex"; "required": true; "isSignal": true; }; "zColumnId": { "alias": "zColumnId"; "required": true; "isSignal": true; }; "zValue": { "alias": "zValue"; "required": false; "isSignal": true; }; "zEditConfig": { "alias": "zEditConfig"; "required": false; "isSignal": true; }; }, { "zChange": "zChange"; }, never, never, true, never>;
653
658
  }