@shival99/z-ui 2.0.49 → 2.0.50

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": "2.0.49",
3
+ "version": "2.0.50",
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",
@@ -271,7 +271,7 @@ declare class ZAutocompleteComponent<T = unknown> implements OnInit, ControlValu
271
271
 
272
272
  declare const zAutocompleteInputVariants: (props?: ({
273
273
  zSize?: "sm" | "default" | "lg" | null | undefined;
274
- zStatus?: "default" | "open" | "error" | "disabled" | "readonly" | null | undefined;
274
+ zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
275
275
  } & class_variance_authority_types.ClassProp) | undefined) => string;
276
276
  type ZAutocompleteInputVariants = VariantProps<typeof zAutocompleteInputVariants>;
277
277
  declare const zAutocompleteOptionVariants: (props?: ({
@@ -429,16 +429,16 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
429
429
 
430
430
  declare const zCalendarVariants: (props?: ({
431
431
  zSize?: "sm" | "default" | "lg" | null | undefined;
432
- zStatus?: "default" | "disabled" | "open" | "error" | "readonly" | null | undefined;
432
+ zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
433
433
  } & class_variance_authority_types.ClassProp) | undefined) => string;
434
434
  declare const zCalendarDayVariants: (props?: ({
435
- state?: "default" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "disabled" | "otherMonth" | "hovered" | null | undefined;
435
+ state?: "default" | "disabled" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "otherMonth" | "hovered" | null | undefined;
436
436
  } & class_variance_authority_types.ClassProp) | undefined) => string;
437
437
  declare const zCalendarMonthVariants: (props?: ({
438
- state?: "default" | "selected" | "disabled" | "current" | null | undefined;
438
+ state?: "default" | "current" | "disabled" | "selected" | null | undefined;
439
439
  } & class_variance_authority_types.ClassProp) | undefined) => string;
440
440
  declare const zCalendarYearVariants: (props?: ({
441
- state?: "default" | "selected" | "disabled" | "current" | null | undefined;
441
+ state?: "default" | "current" | "disabled" | "selected" | null | undefined;
442
442
  } & class_variance_authority_types.ClassProp) | undefined) => string;
443
443
 
444
444
  export { ZCalendarComponent, zCalendarDayVariants, zCalendarMonthVariants, zCalendarVariants, zCalendarYearVariants };
@@ -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>;
@@ -140,6 +140,9 @@ interface ZGalleryPreviewOptions {
140
140
  type ZGalleryPreviewItemOptions = Omit<ZGalleryPreviewOptions, 'file' | 'files'>;
141
141
 
142
142
  declare class ZGalleryComponent implements AfterViewInit {
143
+ private readonly _destroyRef;
144
+ private readonly _previewService;
145
+ private _previewRef;
143
146
  readonly zFiles: _angular_core.InputSignal<ZGalleryFile[]>;
144
147
  readonly zMode: _angular_core.ModelSignal<ZGalleryMode>;
145
148
  readonly zSize: _angular_core.InputSignal<ZGallerySize>;
@@ -174,7 +177,6 @@ declare class ZGalleryComponent implements AfterViewInit {
174
177
  readonly zSelectionChange: _angular_core.OutputEmitterRef<ZGallerySelectionChange>;
175
178
  readonly zOnAction: _angular_core.OutputEmitterRef<ZGalleryActionEvent>;
176
179
  protected readonly modeIndex: _angular_core.WritableSignal<number | null>;
177
- protected readonly previewFile: _angular_core.WritableSignal<ZGalleryFile | null>;
178
180
  protected readonly searchInputQuery: _angular_core.WritableSignal<string>;
179
181
  protected readonly searchQuery: _angular_core.WritableSignal<string>;
180
182
  protected readonly skeletonItems: _angular_core.Signal<number[]>;
@@ -186,7 +188,7 @@ declare class ZGalleryComponent implements AfterViewInit {
186
188
  protected readonly headerControlHeight: _angular_core.Signal<"1.75rem" | "2rem" | "2.5rem" | "2.25rem">;
187
189
  protected readonly skeletonMediaHeight: _angular_core.Signal<"9rem" | "14rem" | "11rem">;
188
190
  protected readonly toggleIconSize: _angular_core.Signal<"14" | "16" | "20" | "18">;
189
- protected readonly searchInputSize: _angular_core.Signal<"sm" | "default" | "lg">;
191
+ protected readonly searchInputSize: _angular_core.Signal<"default" | "sm" | "lg">;
190
192
  protected readonly filteredFiles: _angular_core.Signal<ZGalleryFile[]>;
191
193
  protected readonly selectedIds: _angular_core.Signal<Set<string>>;
192
194
  protected readonly isAllSelected: _angular_core.Signal<boolean>;
@@ -198,8 +200,8 @@ declare class ZGalleryComponent implements AfterViewInit {
198
200
  protected onPreview(file: ZGalleryFile): void;
199
201
  protected onRemove(file: ZGalleryFile): void;
200
202
  protected closePreview(): void;
201
- protected onNavigatePreview(file: ZGalleryFile): void;
202
203
  protected onRemoveFromPreview(file: ZGalleryFile): void;
204
+ private _openPreview;
203
205
  protected isFileSelected(file: ZGalleryFile): boolean;
204
206
  protected toggleSelection(file: ZGalleryFile): void;
205
207
  protected selectAll(): void;
@@ -380,16 +382,16 @@ declare const isPreviewable: (file: ZGalleryFile) => boolean;
380
382
  declare const isImage: (file: ZGalleryFile) => boolean;
381
383
 
382
384
  declare const zGalleryVariants: (props?: ({
383
- zSize?: "sm" | "default" | "lg" | null | undefined;
385
+ zSize?: "default" | "sm" | "lg" | null | undefined;
384
386
  } & class_variance_authority_types.ClassProp) | undefined) => string;
385
387
  type ZGalleryVariants = VariantProps<typeof zGalleryVariants>;
386
388
  declare const zGalleryItemVariants: (props?: ({
387
389
  zMode?: "grid" | "list" | null | undefined;
388
- zSize?: "sm" | "default" | "lg" | null | undefined;
390
+ zSize?: "default" | "sm" | "lg" | null | undefined;
389
391
  } & class_variance_authority_types.ClassProp) | undefined) => string;
390
392
  type ZGalleryItemVariants = VariantProps<typeof zGalleryItemVariants>;
391
393
  declare const zGalleryFileIconVariants: (props?: ({
392
- zSize?: "sm" | "default" | "lg" | null | undefined;
394
+ zSize?: "default" | "sm" | "lg" | null | undefined;
393
395
  zMode?: "grid" | "list" | null | undefined;
394
396
  } & class_variance_authority_types.ClassProp) | undefined) => string;
395
397
  type ZGalleryFileIconVariants = VariantProps<typeof zGalleryFileIconVariants>;
@@ -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>;
@@ -89,7 +89,7 @@ declare class ZPopoverDirective implements OnInit, OnDestroy {
89
89
  readonly zHideDelay: _angular_core.InputSignal<number>;
90
90
  readonly zDisabled: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
91
91
  readonly zOffset: _angular_core.InputSignal<number>;
92
- readonly zPopoverWidth: _angular_core.InputSignal<number | "trigger" | "auto">;
92
+ readonly zPopoverWidth: _angular_core.InputSignal<number | "auto" | "trigger">;
93
93
  readonly zTriggerRef: _angular_core.InputSignal<HTMLElement | ElementRef<HTMLElement> | null>;
94
94
  readonly zManualClose: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
95
95
  readonly zOutsideClickClose: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
@@ -316,7 +316,7 @@ declare class ZTagClassesPipe implements PipeTransform {
316
316
 
317
317
  declare const zSelectVariants: (props?: ({
318
318
  zSize?: "sm" | "default" | "lg" | null | undefined;
319
- zStatus?: "default" | "open" | "error" | "disabled" | "readonly" | null | undefined;
319
+ zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
320
320
  } & class_variance_authority_types.ClassProp) | undefined) => string;
321
321
  declare const zSelectTagVariants: (props?: ({
322
322
  zSize?: "sm" | "default" | "lg" | null | undefined;
@@ -1263,7 +1263,7 @@ declare class ZTableFilterComponent<T> {
1263
1263
  protected readonly sortOptions: _angular_core.Signal<ZSelectOption<string>[]>;
1264
1264
  protected readonly draftFilters: _angular_core.WritableSignal<ZTableDraftFilterCondition[]>;
1265
1265
  protected readonly draftLegacyFilterValue: _angular_core.WritableSignal<unknown>;
1266
- protected readonly draftSortState: _angular_core.WritableSignal<false | "desc" | "asc">;
1266
+ protected readonly draftSortState: _angular_core.WritableSignal<false | "asc" | "desc">;
1267
1267
  protected readonly columnFilterValue: _angular_core.Signal<unknown>;
1268
1268
  protected readonly effectiveFilterValue: _angular_core.Signal<unknown>;
1269
1269
  protected readonly sortState: _angular_core.Signal<false | _tanstack_angular_table.SortDirection>;
@@ -1285,7 +1285,7 @@ declare class ZTableFilterComponent<T> {
1285
1285
  protected readonly filterBadgeCount: _angular_core.Signal<number>;
1286
1286
  protected readonly hasFilterValue: _angular_core.Signal<boolean>;
1287
1287
  protected readonly isActive: _angular_core.Signal<boolean>;
1288
- protected readonly draftSortValue: _angular_core.Signal<"none" | "desc" | "asc">;
1288
+ protected readonly draftSortValue: _angular_core.Signal<"asc" | "desc" | "none">;
1289
1289
  protected readonly rangeMinValue: _angular_core.Signal<any>;
1290
1290
  protected readonly rangeMaxValue: _angular_core.Signal<any>;
1291
1291
  protected readonly dateValue: _angular_core.Signal<Date | null>;
@@ -1353,7 +1353,7 @@ declare class ZTableActionsComponent<T = unknown> {
1353
1353
  readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
1354
1354
  readonly zRow: _angular_core.InputSignal<T>;
1355
1355
  readonly zRowId: _angular_core.InputSignal<string>;
1356
- readonly zDropdownButtonSize: _angular_core.InputSignal<"sm" | "default" | "lg" | "xs" | "xl" | null | undefined>;
1356
+ readonly zDropdownButtonSize: _angular_core.InputSignal<"default" | "sm" | "lg" | "xs" | "xl" | null | undefined>;
1357
1357
  readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
1358
1358
  protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
1359
1359
  protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;
@@ -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
 
@@ -492,7 +492,7 @@ declare class ZOverlayZIndexService {
492
492
  * Kept for backward compatibility with existing overlay flow.
493
493
  */
494
494
  next(): number;
495
- applyToOverlay(_overlayRef: OverlayRef): number;
495
+ applyToOverlay(overlayRef: OverlayRef): number;
496
496
  deferMoveToTop(overlayRef: OverlayRef): void;
497
497
  moveToTop(overlayRef: OverlayRef): void;
498
498
  static ɵfac: i0.ɵɵFactoryDeclaration<ZOverlayZIndexService, never>;