@shival99/z-ui 2.1.1 → 2.1.3

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.1.1",
3
+ "version": "2.1.3",
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",
@@ -9,6 +9,7 @@ interface ZDropdownMenuItem {
9
9
  iconSize?: ZIconVariants['zSize'];
10
10
  shortcut?: string;
11
11
  class?: string;
12
+ loading?: boolean;
12
13
  disabled?: boolean;
13
14
  hidden?: boolean;
14
15
  onClick?: () => void;
@@ -546,6 +546,7 @@ interface ZTableActionItem<T = unknown> {
546
546
  type?: ZButtonVariants['zType'];
547
547
  size?: ZButtonVariants['zSize'];
548
548
  class?: string;
549
+ loading?: boolean | ((row: T) => boolean);
549
550
  disabled?: boolean | ((row: T) => boolean);
550
551
  hidden?: boolean | ((row: T) => boolean);
551
552
  divide?: 'before' | 'after';
@@ -1566,7 +1567,7 @@ declare class ZTableFilterComponent<T> {
1566
1567
  protected readonly filterBadgeCount: _angular_core.Signal<number>;
1567
1568
  protected readonly hasFilterValue: _angular_core.Signal<boolean>;
1568
1569
  protected readonly isActive: _angular_core.Signal<boolean>;
1569
- protected readonly draftSortValue: _angular_core.Signal<"desc" | "asc" | "none">;
1570
+ protected readonly draftSortValue: _angular_core.Signal<"none" | "desc" | "asc">;
1570
1571
  protected readonly rangeMinValue: _angular_core.Signal<any>;
1571
1572
  protected readonly rangeMaxValue: _angular_core.Signal<any>;
1572
1573
  protected readonly dateValue: _angular_core.Signal<Date | null>;
@@ -1634,12 +1635,13 @@ declare class ZTableActionsComponent<T = unknown> {
1634
1635
  readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
1635
1636
  readonly zRow: _angular_core.InputSignal<T>;
1636
1637
  readonly zRowId: _angular_core.InputSignal<string>;
1637
- readonly zDropdownButtonSize: _angular_core.InputSignal<"sm" | "default" | "lg" | "xs" | "xl" | null | undefined>;
1638
+ readonly zDropdownButtonSize: _angular_core.InputSignal<"default" | "xs" | "sm" | "lg" | "xl" | null | undefined>;
1638
1639
  readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
1639
1640
  protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
1640
1641
  protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;
1641
1642
  protected readonly actionStates: _angular_core.Signal<Record<string, {
1642
1643
  visible: boolean;
1644
+ loading: boolean;
1643
1645
  disabled: boolean;
1644
1646
  tooltipState: ZActionTooltipState;
1645
1647
  }>>;