@shival99/z-ui 2.2.4 → 2.2.6

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 (27) hide show
  1. package/assets/css/themes/hospital.css +28 -2
  2. package/fesm2022/shival99-z-ui-components-z-drawer.mjs +22 -13
  3. package/fesm2022/shival99-z-ui-components-z-drawer.mjs.map +1 -1
  4. package/fesm2022/shival99-z-ui-components-z-icon.mjs +80 -8
  5. package/fesm2022/shival99-z-ui-components-z-icon.mjs.map +1 -1
  6. package/fesm2022/shival99-z-ui-components-z-menu.mjs +5 -5
  7. package/fesm2022/shival99-z-ui-components-z-menu.mjs.map +1 -1
  8. package/fesm2022/shival99-z-ui-components-z-table.mjs +2 -2
  9. package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
  10. package/fesm2022/shival99-z-ui-providers.mjs +9 -2
  11. package/fesm2022/shival99-z-ui-providers.mjs.map +1 -1
  12. package/fesm2022/shival99-z-ui-services.mjs +161 -73
  13. package/fesm2022/shival99-z-ui-services.mjs.map +1 -1
  14. package/package.json +1 -1
  15. package/types/shival99-z-ui-components-z-autocomplete.d.ts +1 -1
  16. package/types/shival99-z-ui-components-z-calendar.d.ts +4 -4
  17. package/types/shival99-z-ui-components-z-drawer.d.ts +13 -5
  18. package/types/shival99-z-ui-components-z-editor.d.ts +1 -1
  19. package/types/shival99-z-ui-components-z-gallery.d.ts +4 -4
  20. package/types/shival99-z-ui-components-z-icon.d.ts +16 -4
  21. package/types/shival99-z-ui-components-z-modal.d.ts +1 -1
  22. package/types/shival99-z-ui-components-z-popover.d.ts +1 -1
  23. package/types/shival99-z-ui-components-z-select.d.ts +1 -1
  24. package/types/shival99-z-ui-components-z-table.d.ts +1 -1
  25. package/types/shival99-z-ui-components-z-upload.d.ts +3 -3
  26. package/types/shival99-z-ui-providers.d.ts +3 -1
  27. package/types/shival99-z-ui-services.d.ts +21 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shival99/z-ui",
3
- "version": "2.2.4",
3
+ "version": "2.2.6",
4
4
  "description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 22, featuring 40+ customizable components with dark mode, accessibility, and enterprise-ready features.",
5
5
  "keywords": [
6
6
  "angular",
@@ -278,7 +278,7 @@ declare class ZAutocompleteComponent<T = unknown> implements OnInit, ControlValu
278
278
 
279
279
  declare const zAutocompleteInputVariants: (props?: ({
280
280
  zSize?: "sm" | "default" | "lg" | null | undefined;
281
- zStatus?: "default" | "open" | "error" | "disabled" | "readonly" | null | undefined;
281
+ zStatus?: "default" | "error" | "disabled" | "readonly" | "open" | null | undefined;
282
282
  } & class_variance_authority_types.ClassProp) | undefined) => string;
283
283
  type ZAutocompleteInputVariants = VariantProps<typeof zAutocompleteInputVariants>;
284
284
  declare const zAutocompleteOptionVariants: (props?: ({
@@ -431,16 +431,16 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
431
431
 
432
432
  declare const zCalendarVariants: (props?: ({
433
433
  zSize?: "sm" | "default" | "lg" | null | undefined;
434
- zStatus?: "default" | "disabled" | "open" | "error" | "readonly" | null | undefined;
434
+ zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
435
435
  } & class_variance_authority_types.ClassProp) | undefined) => string;
436
436
  declare const zCalendarDayVariants: (props?: ({
437
- state?: "default" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "disabled" | "otherMonth" | "hovered" | null | undefined;
437
+ state?: "default" | "disabled" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "otherMonth" | "hovered" | null | undefined;
438
438
  } & class_variance_authority_types.ClassProp) | undefined) => string;
439
439
  declare const zCalendarMonthVariants: (props?: ({
440
- state?: "default" | "selected" | "disabled" | "current" | null | undefined;
440
+ state?: "default" | "current" | "disabled" | "selected" | null | undefined;
441
441
  } & class_variance_authority_types.ClassProp) | undefined) => string;
442
442
  declare const zCalendarYearVariants: (props?: ({
443
- state?: "default" | "selected" | "disabled" | "current" | null | undefined;
443
+ state?: "default" | "current" | "disabled" | "selected" | null | undefined;
444
444
  } & class_variance_authority_types.ClassProp) | undefined) => string;
445
445
 
446
446
  export { ZCalendarComponent, zCalendarDayVariants, zCalendarMonthVariants, zCalendarVariants, zCalendarYearVariants };
@@ -1,11 +1,11 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { TemplateRef, Type, WritableSignal, EventEmitter, ViewContainerRef, InjectionToken, OnDestroy, AfterViewChecked, ComponentRef, EmbeddedViewRef } from '@angular/core';
2
+ import { TemplateRef, Type, WritableSignal, EventEmitter, ViewContainerRef, OnDestroy, AfterViewChecked, ComponentRef, EmbeddedViewRef, InjectionToken } from '@angular/core';
3
3
  import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
4
4
  import { ClassValue } from 'clsx';
5
5
  import { NgScrollbar } from 'ngx-scrollbar';
6
- import { ComponentType, OverlayRef } from '@angular/cdk/overlay';
7
6
  import { ZIcon } from '@shival99/z-ui/components/z-icon';
8
7
  import { Observable } from 'rxjs';
8
+ import { ComponentType, OverlayRef } from '@angular/cdk/overlay';
9
9
  import * as class_variance_authority_types from 'class-variance-authority/types';
10
10
 
11
11
  declare class ZDrawerContentDirective {
@@ -28,8 +28,9 @@ declare class ZDrawerHeaderDirective {
28
28
 
29
29
  type ZDrawerContentType<T> = ComponentType<T> | TemplateRef<T> | string;
30
30
  type ZDrawerPlacement = 'left' | 'right' | 'top' | 'bottom';
31
- declare const Z_DRAWER_DATA: InjectionToken<any>;
31
+ type ZDrawerScrollMode = 'drawer' | 'inner';
32
32
  type ZDrawerOnClickCallBack<T> = (instance: T, drawerRef?: unknown) => false | void | object;
33
+
33
34
  /**
34
35
  * Configuration options for z-drawer component.
35
36
  *
@@ -110,6 +111,8 @@ declare class ZDrawerOptions<T, U> {
110
111
  zSkeletonRows?: number;
111
112
  /** Whether the drawer can be resized from its outer edge */
112
113
  zExpand?: boolean;
114
+ /** Scroll ownership: the drawer viewport by default, or an inner content viewport */
115
+ zScrollMode?: ZDrawerScrollMode;
113
116
  }
114
117
 
115
118
  declare class ZDrawerRef<T = any, R = any, U = any> {
@@ -168,6 +171,7 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
168
171
  readonly zContentLoading: _angular_core.InputSignal<boolean>;
169
172
  readonly zSkeletonRows: _angular_core.InputSignal<number | null>;
170
173
  readonly zExpand: _angular_core.InputSignalWithTransform<boolean, unknown>;
174
+ readonly zScrollMode: _angular_core.InputSignal<ZDrawerScrollMode>;
171
175
  protected readonly customHeader: _angular_core.Signal<ZDrawerHeaderDirective | undefined>;
172
176
  protected readonly customContent: _angular_core.Signal<ZDrawerContentDirective | undefined>;
173
177
  protected readonly customFooter: _angular_core.Signal<ZDrawerFooterDirective | undefined>;
@@ -232,6 +236,8 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
232
236
  protected readonly effectiveSkeletonRows: _angular_core.Signal<number>;
233
237
  protected readonly effectivePlacement: _angular_core.Signal<ZDrawerPlacement>;
234
238
  protected readonly effectiveExpand: _angular_core.Signal<boolean>;
239
+ protected readonly effectiveScrollMode: _angular_core.Signal<ZDrawerScrollMode>;
240
+ protected readonly isInnerScrollMode: _angular_core.Signal<boolean>;
235
241
  protected readonly resizeIcon: _angular_core.Signal<"lucideGripVertical" | "lucideGripHorizontal">;
236
242
  protected readonly effectiveShadow: _angular_core.Signal<boolean>;
237
243
  protected readonly effectiveShape: _angular_core.Signal<ZDrawerShape>;
@@ -262,7 +268,7 @@ declare class ZDrawerComponent<T, U> extends BasePortalOutlet implements OnDestr
262
268
  private _clearCloseTimeout;
263
269
  private _disposeTemplateOverlay;
264
270
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZDrawerComponent<any, any>, never>;
265
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZDrawerComponent<any, any>, "z-drawer", ["zDrawer"], { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zBodyClass": { "alias": "zBodyClass"; "required": false; "isSignal": true; }; "zVisible": { "alias": "zVisible"; "required": false; "isSignal": true; }; "zTitle": { "alias": "zTitle"; "required": false; "isSignal": true; }; "zDescription": { "alias": "zDescription"; "required": false; "isSignal": true; }; "zWidth": { "alias": "zWidth"; "required": false; "isSignal": true; }; "zHeight": { "alias": "zHeight"; "required": false; "isSignal": true; }; "zPlacement": { "alias": "zPlacement"; "required": false; "isSignal": true; }; "zClosable": { "alias": "zClosable"; "required": false; "isSignal": true; }; "zMaskClosable": { "alias": "zMaskClosable"; "required": false; "isSignal": true; }; "zDisableShadow": { "alias": "zDisableShadow"; "required": false; "isSignal": true; }; "zHeaderBorder": { "alias": "zHeaderBorder"; "required": false; "isSignal": true; }; "zFooterBorder": { "alias": "zFooterBorder"; "required": false; "isSignal": true; }; "zHideFooter": { "alias": "zHideFooter"; "required": false; "isSignal": true; }; "zHideHeader": { "alias": "zHideHeader"; "required": false; "isSignal": true; }; "zOkText": { "alias": "zOkText"; "required": false; "isSignal": true; }; "zCancelText": { "alias": "zCancelText"; "required": false; "isSignal": true; }; "zOkDestructive": { "alias": "zOkDestructive"; "required": false; "isSignal": true; }; "zOkDisabled": { "alias": "zOkDisabled"; "required": false; "isSignal": true; }; "zLoading": { "alias": "zLoading"; "required": false; "isSignal": true; }; "zOverlay": { "alias": "zOverlay"; "required": false; "isSignal": true; }; "zShadow": { "alias": "zShadow"; "required": false; "isSignal": true; }; "zShape": { "alias": "zShape"; "required": false; "isSignal": true; }; "zContentLoading": { "alias": "zContentLoading"; "required": false; "isSignal": true; }; "zSkeletonRows": { "alias": "zSkeletonRows"; "required": false; "isSignal": true; }; "zExpand": { "alias": "zExpand"; "required": false; "isSignal": true; }; }, { "zOnOk": "zOnOk"; "zOnCancel": "zOnCancel"; "zAfterClose": "zAfterClose"; "zScrollbar": "zScrollbar"; "zVisible": "zVisibleChange"; }, ["customHeader", "customContent", "customFooter"], ["*"], true, never>;
271
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZDrawerComponent<any, any>, "z-drawer", ["zDrawer"], { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zBodyClass": { "alias": "zBodyClass"; "required": false; "isSignal": true; }; "zVisible": { "alias": "zVisible"; "required": false; "isSignal": true; }; "zTitle": { "alias": "zTitle"; "required": false; "isSignal": true; }; "zDescription": { "alias": "zDescription"; "required": false; "isSignal": true; }; "zWidth": { "alias": "zWidth"; "required": false; "isSignal": true; }; "zHeight": { "alias": "zHeight"; "required": false; "isSignal": true; }; "zPlacement": { "alias": "zPlacement"; "required": false; "isSignal": true; }; "zClosable": { "alias": "zClosable"; "required": false; "isSignal": true; }; "zMaskClosable": { "alias": "zMaskClosable"; "required": false; "isSignal": true; }; "zDisableShadow": { "alias": "zDisableShadow"; "required": false; "isSignal": true; }; "zHeaderBorder": { "alias": "zHeaderBorder"; "required": false; "isSignal": true; }; "zFooterBorder": { "alias": "zFooterBorder"; "required": false; "isSignal": true; }; "zHideFooter": { "alias": "zHideFooter"; "required": false; "isSignal": true; }; "zHideHeader": { "alias": "zHideHeader"; "required": false; "isSignal": true; }; "zOkText": { "alias": "zOkText"; "required": false; "isSignal": true; }; "zCancelText": { "alias": "zCancelText"; "required": false; "isSignal": true; }; "zOkDestructive": { "alias": "zOkDestructive"; "required": false; "isSignal": true; }; "zOkDisabled": { "alias": "zOkDisabled"; "required": false; "isSignal": true; }; "zLoading": { "alias": "zLoading"; "required": false; "isSignal": true; }; "zOverlay": { "alias": "zOverlay"; "required": false; "isSignal": true; }; "zShadow": { "alias": "zShadow"; "required": false; "isSignal": true; }; "zShape": { "alias": "zShape"; "required": false; "isSignal": true; }; "zContentLoading": { "alias": "zContentLoading"; "required": false; "isSignal": true; }; "zSkeletonRows": { "alias": "zSkeletonRows"; "required": false; "isSignal": true; }; "zExpand": { "alias": "zExpand"; "required": false; "isSignal": true; }; "zScrollMode": { "alias": "zScrollMode"; "required": false; "isSignal": true; }; }, { "zOnOk": "zOnOk"; "zOnCancel": "zOnCancel"; "zAfterClose": "zAfterClose"; "zScrollbar": "zScrollbar"; "zVisible": "zVisibleChange"; }, ["customHeader", "customContent", "customFooter"], ["*"], true, never>;
266
272
  }
267
273
 
268
274
  declare class ZDrawerService {
@@ -280,5 +286,7 @@ declare class ZDrawerService {
280
286
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<ZDrawerService>;
281
287
  }
282
288
 
289
+ declare const Z_DRAWER_DATA: InjectionToken<any>;
290
+
283
291
  export { ZDrawerComponent, ZDrawerContentDirective, ZDrawerFooterDirective, ZDrawerHeaderDirective, ZDrawerOptions, ZDrawerRef, ZDrawerService, Z_DRAWER_DATA, zDrawerVariants };
284
- export type { ZDrawerContentType, ZDrawerPlacement };
292
+ export type { ZDrawerContentType, ZDrawerOnClickCallBack, ZDrawerPlacement, ZDrawerScrollMode };
@@ -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>;
@@ -187,7 +187,7 @@ declare class ZGalleryComponent implements AfterViewInit {
187
187
  protected readonly headerControlHeight: _angular_core.Signal<"1.75rem" | "2rem" | "2.5rem" | "2.25rem">;
188
188
  protected readonly skeletonMediaHeight: _angular_core.Signal<"9rem" | "14rem" | "11rem">;
189
189
  protected readonly toggleIconSize: _angular_core.Signal<"14" | "16" | "20" | "18">;
190
- protected readonly searchInputSize: _angular_core.Signal<"sm" | "default" | "lg">;
190
+ protected readonly searchInputSize: _angular_core.Signal<"default" | "sm" | "lg">;
191
191
  protected readonly filteredFiles: _angular_core.Signal<ZGalleryFile[]>;
192
192
  protected readonly selectedIds: _angular_core.Signal<Set<string>>;
193
193
  protected readonly isAllSelected: _angular_core.Signal<boolean>;
@@ -383,16 +383,16 @@ declare const isPreviewable: (file: ZGalleryFile) => boolean;
383
383
  declare const isImage: (file: ZGalleryFile) => boolean;
384
384
 
385
385
  declare const zGalleryVariants: (props?: ({
386
- zSize?: "sm" | "default" | "lg" | null | undefined;
386
+ zSize?: "default" | "sm" | "lg" | null | undefined;
387
387
  } & class_variance_authority_types.ClassProp) | undefined) => string;
388
388
  type ZGalleryVariants = VariantProps<typeof zGalleryVariants>;
389
389
  declare const zGalleryItemVariants: (props?: ({
390
390
  zMode?: "grid" | "list" | null | undefined;
391
- zSize?: "sm" | "default" | "lg" | null | undefined;
391
+ zSize?: "default" | "sm" | "lg" | null | undefined;
392
392
  } & class_variance_authority_types.ClassProp) | undefined) => string;
393
393
  type ZGalleryItemVariants = VariantProps<typeof zGalleryItemVariants>;
394
394
  declare const zGalleryFileIconVariants: (props?: ({
395
- zSize?: "sm" | "default" | "lg" | null | undefined;
395
+ zSize?: "default" | "sm" | "lg" | null | undefined;
396
396
  zMode?: "grid" | "list" | null | undefined;
397
397
  } & class_variance_authority_types.ClassProp) | undefined) => string;
398
398
  type ZGalleryFileIconVariants = VariantProps<typeof zGalleryFileIconVariants>;
@@ -1,5 +1,5 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { Type, EnvironmentProviders } from '@angular/core';
2
+ import { OnDestroy, ViewContainerRef, Type, EnvironmentProviders } from '@angular/core';
3
3
  import { ClassValue } from 'clsx';
4
4
  import * as hugeIcons from '@hugeicons/core-free-icons';
5
5
  import * as saxBoldIcons from '@ng-icons/iconsax/bold';
@@ -15,6 +15,8 @@ import * as animatedIcons from 'ng-animated-icons';
15
15
  import * as class_variance_authority_types from 'class-variance-authority/types';
16
16
  import { VariantProps } from 'class-variance-authority';
17
17
 
18
+ type ZIconAnimationTrigger = 'manual' | 'hover' | 'focus' | 'interaction' | 'always';
19
+
18
20
  type ZLucideIcon = Extract<keyof typeof lucideIcons, `lucide${string}`>;
19
21
  type ZSaxIcon = Extract<keyof typeof saxBoldIcons | keyof typeof saxOutlineIcons, `sax${string}`>;
20
22
  type ZPhosphorIcon = Extract<keyof typeof phosphorRegularIcons | keyof typeof phosphorBoldIcons | keyof typeof phosphorFillIcons | keyof typeof phosphorLightIcons | keyof typeof phosphorThinIcons | keyof typeof phosphorDuotoneIcons, `phosphor${string}`>;
@@ -38,8 +40,7 @@ type ZBrandIcon = `brand${string}`;
38
40
  declare const Z_ICONS: {};
39
41
  type ZIcon = ZLucideIcon | ZSaxIcon | ZPhosphorIcon | ZHugeIcon | ZBrandIcon;
40
42
 
41
- type ZIconAnimationTrigger = 'manual' | 'hover' | 'focus' | 'interaction' | 'always';
42
- declare class ZIconComponent {
43
+ declare class ZIconComponent implements OnDestroy {
43
44
  readonly class: _angular_core.InputSignal<ClassValue>;
44
45
  readonly zType: _angular_core.InputSignal<ZIcon | undefined>;
45
46
  readonly zAnimatedType: _angular_core.InputSignal<("accessibility" | "activity" | "play" | "airplay" | "check" | "alarm-clock-check" | "clock" | "alarm-clock" | "alarm-clock-off" | "align-horizontal-space-around" | "align-vertical-space-around" | "anvil" | "archive" | "arrow-big-down-dash" | "arrow-big-down" | "arrow-big-left-dash" | "arrow-big-left" | "arrow-big-right-dash" | "arrow-big-right" | "arrow-big-up-dash" | "arrow-big-up" | "arrow-down-01" | "arrow-down-10" | "arrow-down-a-z" | "arrow-down" | "arrow-down-left" | "arrow-down-right" | "arrow-down-z-a" | "arrow-left" | "arrow-left-right" | "arrow-right" | "arrow-right-left" | "arrow-up-01" | "arrow-up-10" | "arrow-up-a-z" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "arrow-up-z-a" | "award" | "x" | "axe" | "axis-3d" | "badge-alert" | "badge-check" | "badge-question-mark" | "battery-charging" | "battery-full" | "battery" | "battery-low" | "battery-medium" | "battery-warning" | "bean-off" | "beer-off" | "bell" | "bell-off" | "bell-ring" | "between-horizontal-end" | "between-horizontal-start" | "between-vertical-end" | "between-vertical-start" | "binary" | "blend" | "blocks" | "bluetooth-off" | "bold" | "bolt" | "bone" | "book-a" | "book-audio" | "book-check" | "book-dashed" | "book-down" | "book-headphones" | "heart" | "book-heart" | "book" | "book-image" | "key" | "book-key" | "book-lock" | "book-marked" | "minus" | "book-minus" | "book-open-check" | "book-open-text" | "plus" | "book-plus" | "book-text" | "book-type" | "book-up-2" | "book-up" | "user" | "book-user" | "book-x" | "bookmark-check" | "bookmark" | "bookmark-minus" | "bookmark-plus" | "bookmark-x" | "bot" | "bot-off" | "boxes" | "cog" | "brain-cog" | "briefcase-business" | "briefcase-conveyor-belt" | "briefcase" | "briefcase-medical" | "brush-cleaning" | "brush" | "bug-off" | "calendar-check-2" | "calendar-check" | "calendar-cog" | "calendar-days" | "calendar-off" | "calendar-sync" | "camera-off" | "candy-off" | "captions-off" | "cast" | "cctv" | "chart-bar-decreasing" | "chart-bar" | "chart-bar-increasing" | "chart-column-decreasing" | "chart-column" | "chart-column-increasing" | "chart-gantt" | "chart-line" | "chart-no-axes-column-decreasing" | "chart-no-axes-column" | "chart-no-axes-column-increasing" | "chart-no-axes-combined" | "chart-no-axes-gantt" | "chart-pie" | "chart-scatter" | "chart-spline" | "check-check" | "cherry" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chevrons-down" | "chevrons-down-up" | "chevrons-left" | "chevrons-left-right" | "chevrons-right" | "chevrons-right-left" | "chevrons-up-down" | "chevrons-up" | "cigarette-off" | "circle-alert" | "circle-arrow-down" | "circle-arrow-left" | "circle-arrow-out-down-left" | "circle-arrow-out-down-right" | "circle-arrow-out-up-left" | "circle-arrow-out-up-right" | "circle-arrow-right" | "circle-arrow-up" | "circle-check-big" | "circle-check" | "circle-chevron-down" | "circle-chevron-left" | "circle-chevron-right" | "circle-chevron-up" | "circle-off" | "circle-parking-off" | "circle-plus" | "circle-question-mark" | "clapperboard" | "clipboard-check" | "clipboard" | "clipboard-list" | "pen" | "clipboard-pen" | "pen-line" | "clipboard-pen-line" | "clipboard-x" | "clock-10" | "clock-11" | "clock-12" | "clock-1" | "clock-2" | "clock-3" | "clock-4" | "clock-5" | "clock-6" | "clock-7" | "clock-8" | "clock-9" | "cloud-cog" | "download" | "cloud-download" | "cloud-moon" | "cloud-off" | "upload" | "cloud-upload" | "compass" | "contrast" | "copy-check" | "copy" | "cpu" | "crop" | "diamond-plus" | "dice-1" | "dice-2" | "dice-3" | "dice-4" | "dice-5" | "dice-6" | "diff" | "dna-off" | "droplet-off" | "drum" | "ear-off" | "eclipse" | "egg-off" | "expand" | "eye-off" | "file-chart-column" | "file-chart-column-increasing" | "file-chart-line" | "file-check-corner" | "file-check" | "file-cog" | "file-down" | "file-exclamation-point" | "file-minus" | "file-pen" | "file-pen-line" | "file-plus" | "file-question-mark" | "file-sliders" | "file-stack" | "terminal" | "file-terminal" | "file-up" | "fish-off" | "flag-off" | "flashlight-off" | "flask-conical-off" | "folder-check" | "folder-cog" | "folder-down" | "kanban" | "folder-kanban" | "folder-pen" | "folder-plus" | "folder-sync" | "folder-up" | "folder-x" | "frame" | "funnel-x" | "gallery-horizontal-end" | "gallery-horizontal" | "gallery-thumbnails" | "gallery-vertical-end" | "gallery-vertical" | "gauge" | "gavel" | "grid-2x2-check" | "grip-horizontal" | "grip" | "grip-vertical" | "hammer" | "hand-coins" | "hand-heart" | "hard-drive-download" | "hard-drive-upload" | "phone-off" | "headphone-off" | "heart-off" | "history" | "hop-off" | "house" | "wifi" | "house-wifi" | "image-down" | "image-off" | "image-up" | "images" | "infinity" | "key-round" | "key-square" | "keyboard" | "keyboard-off" | "landmark" | "layers" | "layout-dashboard" | "layout-grid" | "layout-panel-left" | "layout-panel-top" | "layout-template" | "lightbulb" | "lightbulb-off" | "link2-off" | "list-check" | "list-checks" | "list-restart" | "list-todo" | "loader-pinwheel" | "locate-off" | "log-out" | "mail-check" | "map-pin-check" | "map-pin-check-inside" | "pin-off" | "map-pin-off" | "maximize-2" | "maximize" | "megaphone-off" | "message-circle" | "message-circle-more" | "message-circle-off" | "message-circle-question-mark" | "message-circle-warning" | "message-square" | "message-square-more" | "message-square-off" | "mic-off" | "milk-off" | "minimize-2" | "minimize" | "monitor-check" | "monitor-cog" | "monitor-down" | "monitor-off" | "monitor-up" | "mouse-off" | "mouse-pointer-2" | "mouse-pointer" | "move-diagonal-2" | "move-diagonal" | "move-down" | "move-down-left" | "move-down-right" | "move-horizontal" | "move-left" | "move-right" | "move-up" | "move-up-left" | "move-up-right" | "move-vertical" | "navigation2-off" | "navigation-off" | "nfc" | "notebook-pen" | "nut-off" | "octagon-alert" | "orbit" | "package-check" | "paintbrush" | "panel-bottom-close" | "panel-bottom-open" | "panel-left-close" | "panel-left-open" | "panel-right-close" | "panel-right-open" | "panel-top-close" | "panel-top-open" | "paperclip" | "pen-off" | "pencil" | "pencil-line" | "pencil-off" | "pickaxe" | "plane" | "pointer-off" | "power-off" | "printer-check" | "rabbit" | "radar" | "radio" | "radio-tower" | "rainbow" | "redo-dot" | "redo" | "refresh-ccw-dot" | "refresh-ccw" | "refresh-cw" | "refresh-cw-off" | "rocket" | "rocking-chair" | "rotate-ccw" | "rotate-ccw-key" | "rotate-cw" | "route" | "route-off" | "rss" | "save-off" | "scan-text" | "scissors" | "search-check" | "search" | "send-horizontal" | "send" | "server-cog" | "server-off" | "settings" | "shield-alert" | "shield-check" | "shield-off" | "shield-plus" | "shield-question-mark" | "ship" | "ship-wheel" | "shopping-cart" | "shovel" | "shower-head" | "shrink" | "signal-high" | "signal" | "signal-low" | "signal-medium" | "signal-zero" | "signature" | "sliders-horizontal" | "sliders-vertical" | "smartphone-nfc" | "snowflake" | "sparkle" | "sparkles" | "speech" | "spell-check" | "square-arrow-down" | "square-arrow-down-left" | "square-arrow-down-right" | "square-arrow-left" | "square-arrow-out-down-left" | "square-arrow-out-down-right" | "square-arrow-out-up-left" | "square-arrow-out-up-right" | "square-arrow-right" | "square-arrow-up" | "square-arrow-up-left" | "square-arrow-up-right" | "square-chart-gantt" | "square-check-big" | "square-check" | "square-chevron-down" | "square-chevron-left" | "square-chevron-right" | "square-chevron-up" | "square-dashed-kanban" | "square-kanban" | "square-parking-off" | "square-pen" | "square-plus" | "square-scissors" | "square-stack" | "square-terminal" | "star" | "star-off" | "sun" | "sword" | "tag" | "telescope" | "text-align-center" | "text-cursor" | "text-cursor-input" | "text-search" | "thermometer" | "thumbs-down" | "thumbs-up" | "ticket-check" | "timer" | "timer-off" | "toggle-left" | "toggle-right" | "tornado" | "touchpad-off" | "trash-2" | "trash" | "triangle-alert" | "umbrella-off" | "undo-dot" | "undo" | "unfold-horizontal" | "unfold-vertical" | "unplug" | "user-check" | "user-cog" | "user-pen" | "user-round-check" | "user-round-cog" | "user-round" | "user-round-pen" | "vibrate" | "vibrate-off" | "video-off" | "volume-off" | "vote" | "waves" | "webhook-off" | "wheat-off" | "wifi-high" | "wifi-low" | "wifi-off" | "wifi-pen" | "wifi-zero" | "wine-off" | "zap-off") | undefined>;
@@ -55,10 +56,21 @@ declare class ZIconComponent {
55
56
  protected readonly normalizedSize: _angular_core.Signal<string>;
56
57
  private readonly _svgFetchError;
57
58
  protected readonly zClasses: _angular_core.Signal<string>;
59
+ protected readonly animatedIconHost: _angular_core.Signal<ViewContainerRef | undefined>;
58
60
  protected readonly animatedIcon: _angular_core.Signal<Type<unknown> | null>;
59
- protected readonly animatedIconInputs: _angular_core.Signal<Record<string, unknown>>;
61
+ private readonly _animatedIconInputs;
62
+ private _animatedIconRef;
63
+ private _animatedIconType;
64
+ private _animatedIconListenerCleanup;
65
+ private _animatedIconRestartTimeoutId;
66
+ private readonly _isPersistentAnimate;
60
67
  protected readonly shouldAnimate: _angular_core.Signal<boolean>;
61
68
  constructor();
69
+ private _destroyAnimatedIconRef;
70
+ private _attachAnimatedIconLoopListener;
71
+ private _restartAnimatedIconLoop;
72
+ private _cancelAnimatedIconRestart;
73
+ ngOnDestroy(): void;
62
74
  private _isRawSvg;
63
75
  protected setHoverActive(isActive: boolean): void;
64
76
  protected setFocusActive(isActive: boolean): void;
@@ -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>;
@@ -117,7 +117,7 @@ declare class ZPopoverDirective implements OnInit, OnDestroy {
117
117
  readonly zHideDelay: _angular_core.InputSignal<number>;
118
118
  readonly zDisabled: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
119
119
  readonly zOffset: _angular_core.InputSignal<number>;
120
- readonly zPopoverWidth: _angular_core.InputSignal<number | "trigger" | "auto">;
120
+ readonly zPopoverWidth: _angular_core.InputSignal<number | "auto" | "trigger">;
121
121
  readonly zTriggerRef: _angular_core.InputSignal<HTMLElement | ElementRef<HTMLElement> | null>;
122
122
  readonly zManualClose: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
123
123
  readonly zOutsideClickClose: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
@@ -331,7 +331,7 @@ declare class ZTagClassesPipe implements PipeTransform {
331
331
 
332
332
  declare const zSelectVariants: (props?: ({
333
333
  zSize?: "sm" | "default" | "lg" | null | undefined;
334
- zStatus?: "default" | "open" | "error" | "disabled" | "readonly" | null | undefined;
334
+ zStatus?: "default" | "error" | "disabled" | "readonly" | "open" | null | undefined;
335
335
  } & class_variance_authority_types.ClassProp) | undefined) => string;
336
336
  declare const zSelectTagVariants: (props?: ({
337
337
  zSize?: "sm" | "default" | "lg" | null | undefined;
@@ -2163,7 +2163,7 @@ declare class ZTableFilterComponent<T> {
2163
2163
  protected readonly filterBadgeCount: _angular_core.Signal<number>;
2164
2164
  protected readonly hasFilterValue: _angular_core.Signal<boolean>;
2165
2165
  protected readonly isActive: _angular_core.Signal<boolean>;
2166
- protected readonly draftSortValue: _angular_core.Signal<"none" | "asc" | "desc">;
2166
+ protected readonly draftSortValue: _angular_core.Signal<"asc" | "desc" | "none">;
2167
2167
  protected readonly rangeMinValue: _angular_core.Signal<any>;
2168
2168
  protected readonly rangeMaxValue: _angular_core.Signal<any>;
2169
2169
  protected readonly dateValue: _angular_core.Signal<Date | null>;
@@ -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
 
@@ -18,7 +18,8 @@ declare const Z_CACHE_CONFIG: InjectionToken<ZCacheConfig>;
18
18
  * export const appConfig: ApplicationConfig = {
19
19
  * providers: [
20
20
  * provideZCache({
21
- * prefix: 'myapp_',
21
+ * appName: 'my-app',
22
+ * prefix: 'custom_',
22
23
  * encrypt: false, // Disable encryption for debugging
23
24
  * }),
24
25
  * ],
@@ -39,6 +40,7 @@ declare const Z_INDEXDB_SERVICE: InjectionToken<ZIndexDbService>;
39
40
  * export const appConfig: ApplicationConfig = {
40
41
  * providers: [
41
42
  * provideZIndexDb({
43
+ * appName: 'my-app',
42
44
  * dbName: 'MyApp',
43
45
  * version: 1,
44
46
  * stores: [
@@ -14,6 +14,7 @@ interface ZCacheEntry<T = unknown> {
14
14
  ttl: number;
15
15
  }
16
16
  interface ZCacheConfig {
17
+ appName?: string;
17
18
  prefix?: string;
18
19
  encrypt?: boolean;
19
20
  }
@@ -27,8 +28,9 @@ declare class ZCacheService {
27
28
  private static _normalizeLegacyKey;
28
29
  private static _normalizeKey;
29
30
  private static _toStorageKey;
31
+ private static _toLegacyStorageKey;
30
32
  private static _getFullKey;
31
- private static _getLegacyFullKey;
33
+ private static _getLegacyFullKeys;
32
34
  private static _getCandidateStorageKeys;
33
35
  private static _decodeStorageKey;
34
36
  private static _isManagedStorageKey;
@@ -390,6 +392,7 @@ interface ZIndexDbStoreConfig {
390
392
  protectedKeys?: string[];
391
393
  }
392
394
  interface ZIndexDbConfig {
395
+ appName?: string;
393
396
  dbName?: string;
394
397
  version?: number;
395
398
  mode?: IDBTransactionMode;
@@ -411,6 +414,7 @@ interface ZIndexDbSetOptions {
411
414
  declare class ZIndexDbService {
412
415
  private _db;
413
416
  private _dbName;
417
+ private _appName;
414
418
  private _legacyDbName;
415
419
  private _version;
416
420
  private _mode;
@@ -430,7 +434,6 @@ declare class ZIndexDbService {
430
434
  private _shouldEncrypt;
431
435
  private _normalizeLegacyKey;
432
436
  private _normalizeKey;
433
- private _resolveLegacyNormalizedKey;
434
437
  private _buildStorageKeys;
435
438
  private _encryptData;
436
439
  private _decryptData;
@@ -446,6 +449,7 @@ declare class ZIndexDbService {
446
449
  private _resetDatabase;
447
450
  private _getMissingStores;
448
451
  private _ensureStoreExists;
452
+ private _getDbOrThrow;
449
453
  get<T>(key: string, options?: ZIndexDbGetOptions<T>): Promise<T | undefined>;
450
454
  set<T>(key: string, value: T, options?: ZIndexDbSetOptions): Promise<void>;
451
455
  /**
@@ -686,9 +690,20 @@ declare class ZThemeService {
686
690
  static ɵprov: i0.ɵɵInjectableDeclaration<ZThemeService>;
687
691
  }
688
692
 
689
- declare function zBuildScopedCacheKey(baseKey: string): string;
690
- declare function zBuildScopedDbName(baseDbName: string): string;
691
- declare function zStripScopedCacheKey(key: string): string;
693
+ declare const Z_CACHE_SCOPE_SEPARATOR = "-";
694
+ declare const Z_DB_SCOPE_SEPARATOR = "__";
695
+ declare const Z_STORAGE_SCOPE_FALLBACK = "global";
696
+ declare const Z_CACHE_DEFAULT_PREFIX = "z_";
697
+
698
+ declare function zNormalizeStorageAppName(appName?: string): string;
699
+ declare function zConfigureStorageAppName(appName?: string): void;
700
+ declare function zGetStorageAppName(): string | undefined;
701
+ declare function zBuildScopedCacheKey(baseKey: string, appName?: string | undefined): string;
702
+ declare function zBuildScopedDbName(baseDbName: string, appName?: string | undefined): string;
703
+ declare function zStripScopedCacheKey(key: string, appName?: string | undefined): string;
704
+ declare function zBuildLegacyScopedCacheKey(baseKey: string): string;
705
+ declare function zBuildLegacyScopedDbName(baseDbName: string): string;
706
+ declare function zStripLegacyScopedCacheKey(key: string): string;
692
707
 
693
708
  /** Injection token for data passed to a dynamic component or template. */
694
709
  declare const Z_DYNAMIC_DATA: InjectionToken<unknown>;
@@ -771,5 +786,5 @@ interface ZTranslateI18nConfig {
771
786
  }
772
787
  declare const Z_LANG_CACHE_KEY = "Z_LANGUAGE";
773
788
 
774
- export { ZCacheService, ZDynamicRef, ZDynamicService, ZExcelService, ZHttpAbstractService, ZIndexDbService, ZOverlayContainerService, ZOverlayZIndexService, ZSubjectService, ZThemeService, ZTranslateService, Z_DEFAULT_THEME, Z_DYNAMIC_DATA, Z_EXCEL_BORDER_THIN, Z_EXCEL_CHAR_WIDTH_MAP, Z_EXCEL_COLORS, Z_EXCEL_DEFAULT_CONFIG, Z_EXCEL_FONT_MULTIPLIERS, Z_EXCEL_WIDTH_LIMITS, Z_HTTP_DEFAULT_CONFIG, Z_INDEXDB_BATCH_SIZE, Z_INDEXDB_DEFAULT_CONFIG, Z_INDEXDB_MAX_VERSION, Z_LANG_CACHE_KEY, Z_LANG_TO_LOCALE, Z_THEME_CONFIG, Z_THEME_CSS_MAP, Z_THEME_PREFERENCES_CACHE_KEY, zBuildScopedCacheKey, zBuildScopedDbName, zStripScopedCacheKey };
789
+ export { ZCacheService, ZDynamicRef, ZDynamicService, ZExcelService, ZHttpAbstractService, ZIndexDbService, ZOverlayContainerService, ZOverlayZIndexService, ZSubjectService, ZThemeService, ZTranslateService, Z_CACHE_DEFAULT_PREFIX, Z_CACHE_SCOPE_SEPARATOR, Z_DB_SCOPE_SEPARATOR, Z_DEFAULT_THEME, Z_DYNAMIC_DATA, Z_EXCEL_BORDER_THIN, Z_EXCEL_CHAR_WIDTH_MAP, Z_EXCEL_COLORS, Z_EXCEL_DEFAULT_CONFIG, Z_EXCEL_FONT_MULTIPLIERS, Z_EXCEL_WIDTH_LIMITS, Z_HTTP_DEFAULT_CONFIG, Z_INDEXDB_BATCH_SIZE, Z_INDEXDB_DEFAULT_CONFIG, Z_INDEXDB_MAX_VERSION, Z_LANG_CACHE_KEY, Z_LANG_TO_LOCALE, Z_STORAGE_SCOPE_FALLBACK, Z_THEME_CONFIG, Z_THEME_CSS_MAP, Z_THEME_PREFERENCES_CACHE_KEY, zBuildLegacyScopedCacheKey, zBuildLegacyScopedDbName, zBuildScopedCacheKey, zBuildScopedDbName, zConfigureStorageAppName, zGetStorageAppName, zNormalizeStorageAppName, zStripLegacyScopedCacheKey, zStripScopedCacheKey };
775
790
  export type { ZCacheConfig, ZCacheEntry, ZDynamicContent, ZDynamicOptions, ZDynamicResult, ZDynamicTemplateContext, ZExcelAlign, ZExcelCell, ZExcelCellContext, ZExcelColumnConfig, ZExcelConfig, ZExcelDefaultConfig, ZExcelExportOptions, ZExcelExportResult, ZExcelFontConfig, ZExcelFromTableConfig, ZExcelHeaderColors, ZExcelHeaderContext, ZExcelSheetSource, ZExcelTableColumnConfig, ZExcelTableHeaderConfig, ZExcelToastHandler, ZHttpBaseOptions, ZHttpCacheEntry, ZHttpConfig, ZHttpContentType, ZHttpError, ZHttpNetworkCheck, ZHttpOptions, ZHttpParamsType, ZIndexDbConfig, ZIndexDbGetOptions, ZIndexDbSetOptions, ZIndexDbStoreConfig, ZTableToExcelColumn, ZThemeConfig, ZThemeName, ZThemePreferences, ZTranslateConfig, ZTranslateI18nConfig };