@shival99/z-ui 2.1.1 → 2.1.2
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/fesm2022/shival99-z-ui-components-z-dropdown-menu.mjs +3 -3
- package/fesm2022/shival99-z-ui-components-z-dropdown-menu.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs +31 -19
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-dropdown-menu.d.ts +1 -0
- package/types/shival99-z-ui-components-z-table.d.ts +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shival99/z-ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
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",
|
|
@@ -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';
|
|
@@ -1544,7 +1545,7 @@ declare class ZTableFilterComponent<T> {
|
|
|
1544
1545
|
protected readonly sortOptions: _angular_core.Signal<ZSelectOption<string>[]>;
|
|
1545
1546
|
protected readonly draftFilters: _angular_core.WritableSignal<ZTableDraftFilterCondition[]>;
|
|
1546
1547
|
protected readonly draftLegacyFilterValue: _angular_core.WritableSignal<unknown>;
|
|
1547
|
-
protected readonly draftSortState: _angular_core.WritableSignal<false | "
|
|
1548
|
+
protected readonly draftSortState: _angular_core.WritableSignal<false | "asc" | "desc">;
|
|
1548
1549
|
protected readonly columnFilterValue: _angular_core.Signal<unknown>;
|
|
1549
1550
|
protected readonly effectiveFilterValue: _angular_core.Signal<unknown>;
|
|
1550
1551
|
protected readonly sortState: _angular_core.Signal<false | _tanstack_angular_table.SortDirection>;
|
|
@@ -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<"
|
|
1570
|
+
protected readonly draftSortValue: _angular_core.Signal<"asc" | "desc" | "none">;
|
|
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<"
|
|
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
|
}>>;
|