@shival99/z-ui 1.4.20 → 1.4.22

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