@shival99/z-ui 1.9.24 → 1.9.26

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.9.24",
3
+ "version": "1.9.26",
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",
@@ -2,6 +2,7 @@ import * as _angular_core from '@angular/core';
2
2
  import { Signal, OnInit, ElementRef } from '@angular/core';
3
3
  import { ControlValueAccessor } from '@angular/forms';
4
4
  import { ZPopoverControl } from '@shival99/z-ui/components/z-popover';
5
+ import { ZSelectOption } from '@shival99/z-ui/components/z-select';
5
6
  import { ZEvent } from '@shival99/z-ui/utils';
6
7
  import { ClassValue } from 'clsx';
7
8
  import * as class_variance_authority_types from 'class-variance-authority/types';
@@ -204,6 +205,7 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
204
205
  protected readonly period: _angular_core.WritableSignal<"AM" | "PM">;
205
206
  protected readonly inputDisplayValue: _angular_core.WritableSignal<string>;
206
207
  protected readonly activePresetKey: _angular_core.WritableSignal<string | null>;
208
+ protected readonly quickSelectOptions: _angular_core.Signal<ZSelectOption<string>[]>;
207
209
  protected readonly uiState: _angular_core.WritableSignal<{
208
210
  hasViewChanged: boolean;
209
211
  hasEndViewChanged: boolean;
@@ -318,6 +320,7 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
318
320
  protected onQuarterClick(quarterIndex: number): void;
319
321
  protected onMonthSelect(monthIndex: number): void;
320
322
  protected onQuickSelect(preset: ZQuickSelectPreset): void;
323
+ protected onQuickSelectKeyChange(key: string | null): void;
321
324
  protected onTodayClick(): void;
322
325
  protected onClear(event: MouseEvent): void;
323
326
  protected onCancelClick(): void;
@@ -351,6 +354,7 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
351
354
  private _handleRangeSelection;
352
355
  private _updateTimeToDate;
353
356
  private _detectMatchingPreset;
357
+ private _isQuickSelectPresetDisabled;
354
358
  private _applyValue;
355
359
  private _getEmitValue;
356
360
  private _getValidationErrors;
@@ -406,16 +410,16 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
406
410
 
407
411
  declare const zCalendarVariants: (props?: ({
408
412
  zSize?: "sm" | "default" | "lg" | null | undefined;
409
- zStatus?: "default" | "disabled" | "open" | "error" | "readonly" | null | undefined;
413
+ zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
410
414
  } & class_variance_authority_types.ClassProp) | undefined) => string;
411
415
  declare const zCalendarDayVariants: (props?: ({
412
- state?: "default" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "disabled" | "otherMonth" | "hovered" | null | undefined;
416
+ state?: "default" | "disabled" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "otherMonth" | "hovered" | null | undefined;
413
417
  } & class_variance_authority_types.ClassProp) | undefined) => string;
414
418
  declare const zCalendarMonthVariants: (props?: ({
415
- state?: "default" | "selected" | "disabled" | "current" | null | undefined;
419
+ state?: "default" | "current" | "disabled" | "selected" | null | undefined;
416
420
  } & class_variance_authority_types.ClassProp) | undefined) => string;
417
421
  declare const zCalendarYearVariants: (props?: ({
418
- state?: "default" | "selected" | "disabled" | "current" | null | undefined;
422
+ state?: "default" | "current" | "disabled" | "selected" | null | undefined;
419
423
  } & class_variance_authority_types.ClassProp) | undefined) => string;
420
424
 
421
425
  export { ZCalendarComponent, zCalendarDayVariants, zCalendarMonthVariants, zCalendarVariants, zCalendarYearVariants };
@@ -231,7 +231,7 @@ declare class ZModalComponent<T, U> extends BasePortalOutlet implements OnDestro
231
231
  protected readonly effectiveOkText: _angular_core.Signal<string | null | undefined>;
232
232
  protected readonly effectiveCancelText: _angular_core.Signal<string | null | undefined>;
233
233
  protected readonly effectiveOkDestructive: _angular_core.Signal<boolean | undefined>;
234
- 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" | "subtle-primary" | "subtle-success" | "subtle-info" | "subtle-warning" | "subtle-destructive" | "link" | null | undefined>;
234
+ 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" | "subtle-primary" | "subtle-success" | "subtle-info" | "subtle-warning" | "subtle-destructive" | null | undefined>;
235
235
  protected readonly effectiveOkDisabled: _angular_core.Signal<boolean | undefined>;
236
236
  protected readonly effectiveLoading: _angular_core.Signal<boolean>;
237
237
  protected readonly effectiveContentLoading: _angular_core.Signal<boolean>;