@shival99/z-ui 1.2.14 → 1.2.16

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.2.14",
3
+ "version": "1.2.16",
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",
@@ -109,7 +109,7 @@ declare class ZEditorComponent implements OnInit, ControlValueAccessor {
109
109
 
110
110
  declare const zEditorVariants: (props?: ({
111
111
  zSize?: "sm" | "default" | "lg" | null | undefined;
112
- zStatus?: "default" | "error" | "disabled" | "readonly" | null | undefined;
112
+ zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
113
113
  } & class_variance_authority_types.ClassProp) | undefined) => string;
114
114
  type ZEditorVariants = VariantProps<typeof zEditorVariants>;
115
115
 
@@ -55,6 +55,10 @@ interface ZTableFilterConfig<T = unknown> {
55
55
  placeholder?: string;
56
56
  filterFn?: ZTableBuiltInFilterFn | ZTableCustomFilterFn<T>;
57
57
  }
58
+ interface ZTableSavedColumnInfo {
59
+ id: string;
60
+ accessorKey?: string;
61
+ }
58
62
  interface ZTableSavedConfig {
59
63
  columnOrder: string[];
60
64
  columnSizing: Record<string, number>;
@@ -63,6 +67,7 @@ interface ZTableSavedConfig {
63
67
  right?: string[];
64
68
  };
65
69
  columnVisibility: Record<string, boolean>;
70
+ columnInfo: ZTableSavedColumnInfo[];
66
71
  showHeaderFooterShadow: boolean;
67
72
  showHorizontalBorder: boolean;
68
73
  showVerticalBorder: boolean;
@@ -467,9 +472,10 @@ declare class ZTableComponent<T> implements AfterViewInit {
467
472
  isFirstMovableColumn(columnId: string): boolean;
468
473
  isLastMovableColumn(columnId: string): boolean;
469
474
  private _saveConfig;
475
+ private _collectColumnInfo;
470
476
  private _loadConfig;
477
+ private _isColumnConfigValid;
471
478
  private _findColumnConfig;
472
- private _filterVisibleColumns;
473
479
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZTableComponent<any>, never>;
474
480
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZTableComponent<any>, "z-table", ["zTable"], { "zConfig": { "alias": "zConfig"; "required": false; "isSignal": true; }; "zLoading": { "alias": "zLoading"; "required": false; "isSignal": true; }; "zKey": { "alias": "zKey"; "required": false; "isSignal": true; }; }, { "zChange": "zChange"; "zControl": "zControl"; }, never, never, true, never>;
475
481
  }