@shival99/z-ui 1.2.23 → 1.2.25

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.23",
3
+ "version": "1.2.25",
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
 
@@ -177,11 +177,11 @@ declare class ZInputComponent implements OnInit, ControlValueAccessor {
177
177
 
178
178
  declare const zInputVariants: (props?: ({
179
179
  zSize?: "sm" | "default" | "lg" | null | undefined;
180
- zStatus?: "default" | "error" | "disabled" | "readonly" | null | undefined;
180
+ zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
181
181
  } & class_variance_authority_types.ClassProp) | undefined) => string;
182
182
  type ZInputVariants = VariantProps<typeof zInputVariants>;
183
183
  declare const zTextareaVariants: (props?: ({
184
- zStatus?: "default" | "error" | "disabled" | "readonly" | null | undefined;
184
+ zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
185
185
  } & class_variance_authority_types.ClassProp) | undefined) => string;
186
186
  type ZTextareaVariants = VariantProps<typeof zTextareaVariants>;
187
187
 
@@ -218,7 +218,7 @@ declare class ZModalComponent<T, U> extends BasePortalOutlet implements OnDestro
218
218
  protected readonly effectiveOkText: _angular_core.Signal<string | null | undefined>;
219
219
  protected readonly effectiveCancelText: _angular_core.Signal<string | null | undefined>;
220
220
  protected readonly effectiveOkDestructive: _angular_core.Signal<boolean | undefined>;
221
- protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "link" | "default" | "primary" | "secondary" | "destructive" | "success" | "outline" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-info" | "outline-warning" | "outline-error" | "outline-destructive" | "outline-success-secondary" | "outline-info-secondary" | "outline-warning-secondary" | "outline-error-secondary" | "outline-destructive-secondary" | "outline-primary-secondary" | "ghost" | "ghost-primary" | "ghost-success" | "ghost-info" | "ghost-warning" | "ghost-error" | "ghost-destructive" | "subtle" | null | undefined>;
221
+ protected readonly effectiveTypeOk: _angular_core.Signal<"info" | "warning" | "error" | "default" | "primary" | "secondary" | "destructive" | "success" | "outline" | "outline-primary" | "outline-secondary" | "outline-success" | "outline-info" | "outline-warning" | "outline-error" | "outline-destructive" | "outline-success-secondary" | "outline-info-secondary" | "outline-warning-secondary" | "outline-error-secondary" | "outline-destructive-secondary" | "outline-primary-secondary" | "ghost" | "ghost-primary" | "ghost-success" | "ghost-info" | "ghost-warning" | "ghost-error" | "ghost-destructive" | "subtle" | "link" | null | undefined>;
222
222
  protected readonly effectiveOkDisabled: _angular_core.Signal<boolean | undefined>;
223
223
  protected readonly effectiveLoading: _angular_core.Signal<boolean>;
224
224
  protected readonly effectiveContentLoading: _angular_core.Signal<boolean>;
@@ -77,7 +77,7 @@ declare class ZPopoverDirective implements OnInit, OnDestroy {
77
77
  readonly zHideDelay: _angular_core.InputSignal<number>;
78
78
  readonly zDisabled: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
79
79
  readonly zOffset: _angular_core.InputSignal<number>;
80
- readonly zPopoverWidth: _angular_core.InputSignal<number | "trigger" | "auto">;
80
+ readonly zPopoverWidth: _angular_core.InputSignal<number | "auto" | "trigger">;
81
81
  readonly zManualClose: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
82
82
  readonly zScrollClose: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
83
83
  readonly zShowArrow: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
@@ -281,6 +281,7 @@ interface ZTableVirtualConfig {
281
281
  rowHeight?: number;
282
282
  overscan?: number;
283
283
  groupSize?: number;
284
+ unEqualSizeItems?: boolean;
284
285
  }
285
286
  interface ZTableSearchConfig {
286
287
  enabled?: boolean;
@@ -390,7 +391,11 @@ declare class ZTableComponent<T> implements AfterViewInit {
390
391
  } | null>;
391
392
  protected readonly hasActionColumn: _angular_core.Signal<boolean>;
392
393
  protected readonly hasFiltering: _angular_core.Signal<boolean>;
394
+ protected readonly hasLocalFiltering: _angular_core.Signal<boolean>;
393
395
  protected readonly hasSorting: _angular_core.Signal<boolean>;
396
+ protected readonly hasLocalSorting: _angular_core.Signal<boolean>;
397
+ protected readonly hasServerFiltering: _angular_core.Signal<boolean>;
398
+ protected readonly hasServerSorting: _angular_core.Signal<boolean>;
394
399
  protected readonly searchConfig: _angular_core.Signal<{
395
400
  enabled: boolean;
396
401
  placeholder: string;
@@ -404,6 +409,7 @@ declare class ZTableComponent<T> implements AfterViewInit {
404
409
  protected readonly isVirtual: _angular_core.Signal<boolean>;
405
410
  private readonly _virtualConfig;
406
411
  protected readonly virtualRowHeight: _angular_core.Signal<number>;
412
+ protected readonly unEqualSizeItems: _angular_core.Signal<boolean>;
407
413
  protected readonly groupSize: _angular_core.Signal<number>;
408
414
  protected readonly groupHeight: _angular_core.Signal<number>;
409
415
  private readonly _dynamicGroupsVersion;
@@ -438,7 +444,7 @@ declare class ZTableComponent<T> implements AfterViewInit {
438
444
  protected readonly columnSizeVars: _angular_core.Signal<Record<string, number>>;
439
445
  protected readonly table: ReturnType<typeof createAngularTable<T>>;
440
446
  private readonly _virtualGroupCount;
441
- protected readonly virtualizer: _shival99_angular_virtual.AngularVirtualizer<HTMLDivElement, Element>;
447
+ protected readonly virtualizer: _shival99_angular_virtual.AngularVirtualizer<HTMLDivElement, HTMLElement>;
442
448
  constructor();
443
449
  ngAfterViewInit(): void;
444
450
  private _handleRowSelectionWithParents;
@@ -475,6 +481,12 @@ declare class ZTableComponent<T> implements AfterViewInit {
475
481
  private _collectColumnInfo;
476
482
  private _loadConfig;
477
483
  private _isColumnConfigValid;
484
+ private _getChangedFilterColumnIds;
485
+ private _getChangedSortColumnIds;
486
+ private _isColumnFilterModeLocal;
487
+ private _isColumnSortModeLocal;
488
+ private _filterServerModeColumnFilters;
489
+ private _filterServerModeSorting;
478
490
  private _findColumnConfig;
479
491
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZTableComponent<any>, never>;
480
492
  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>;
@@ -86,7 +86,7 @@ declare class ZUploadComponent implements OnInit, ControlValueAccessor {
86
86
  protected readonly hasError: _angular_core.Signal<boolean>;
87
87
  protected readonly showError: _angular_core.Signal<boolean>;
88
88
  protected readonly errorMessage: _angular_core.Signal<string>;
89
- protected readonly currentStatus: _angular_core.Signal<"default" | "error" | "disabled" | "readonly" | "active">;
89
+ protected readonly currentStatus: _angular_core.Signal<"default" | "disabled" | "readonly" | "error" | "active">;
90
90
  protected readonly dropzoneClasses: _angular_core.Signal<string>;
91
91
  protected readonly acceptTypes: _angular_core.Signal<string>;
92
92
  protected readonly formatFileSize: (bytes: number) => string;
@@ -125,11 +125,11 @@ declare class ZUploadComponent implements OnInit, ControlValueAccessor {
125
125
 
126
126
  declare const zUploadDropzoneVariants: (props?: ({
127
127
  zSize?: "sm" | "default" | "lg" | null | undefined;
128
- zStatus?: "default" | "error" | "active" | "disabled" | "readonly" | null | undefined;
128
+ zStatus?: "default" | "disabled" | "readonly" | "error" | "active" | null | undefined;
129
129
  } & class_variance_authority_types.ClassProp) | undefined) => string;
130
130
  type ZUploadDropzoneVariants = VariantProps<typeof zUploadDropzoneVariants>;
131
131
  declare const zUploadFileItemVariants: (props?: ({
132
- zStatus?: "pending" | "uploading" | "success" | "error" | null | undefined;
132
+ zStatus?: "error" | "pending" | "uploading" | "success" | null | undefined;
133
133
  } & class_variance_authority_types.ClassProp) | undefined) => string;
134
134
  type ZUploadFileItemVariants = VariantProps<typeof zUploadFileItemVariants>;
135
135