@shival99/z-ui 1.2.13 → 1.2.15

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.13",
3
+ "version": "1.2.15",
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",
@@ -305,20 +305,6 @@ declare const zIconVariants: (props?: ({
305
305
  } & class_variance_authority_types.ClassProp) | undefined) => string;
306
306
  type ZIconVariants = VariantProps<typeof zIconVariants>;
307
307
 
308
- /**
309
- * Provides hybrid icon loading from CDN with fallback to bundled icons:
310
- * - Primary: Load icons from CDN (Lucide & Iconsax)
311
- * - Fallback: Use bundled icons from Z_ICONS if CDN fails
312
- *
313
- * @example
314
- * ```typescript
315
- * // app.config.ts
316
- * providers: [
317
- * provideHttpClient(),
318
- * provideZIconLoader(),
319
- * ]
320
- * ```
321
- */
322
308
  declare function provideZIconLoader(): EnvironmentProviders;
323
309
 
324
310
  export { ZIconComponent, Z_ICONS, provideZIconLoader, zIconVariants };
@@ -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,7 +472,9 @@ 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
479
  private _filterVisibleColumns;
473
480
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZTableComponent<any>, never>;
@@ -82,10 +82,6 @@ declare function provideZScrollbar(): EnvironmentProviders;
82
82
  */
83
83
  declare function provideZTheme(config?: ZThemeConfig): EnvironmentProviders;
84
84
 
85
- /**
86
- * Z-Translate Provider Types
87
- */
88
-
89
85
  interface ZTranslateProviderConfig {
90
86
  /** Default language (default: 'vi') */
91
87
  defaultLang?: string;
@@ -128,10 +124,6 @@ interface ZTranslateProviderConfig {
128
124
  }
129
125
 
130
126
  declare function zCreateTranslateLoader(http: HttpClient, path?: string, extension?: string, includeZUI?: boolean, zuiOverridePath?: string, customZUI?: Partial<Record<string, ZUITranslations>>): TranslateLoader;
131
- /**
132
- * Provide Z-Translate service
133
- * Z-UI translations are auto-included by default
134
- */
135
127
  declare function provideZTranslate(config?: ZTranslateProviderConfig): EnvironmentProviders;
136
128
 
137
129
  export { Z_INDEXDB_SERVICE, provideZIndexDb, provideZNgxMask, provideZScrollbar, provideZTheme, provideZTranslate, zCreateTranslateLoader };