@shival99/z-ui 2.1.21 → 2.1.23
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/README.md +8 -27
- package/assets/css/tailwind.css +1 -1
- package/assets/css/themes.css +9 -0
- package/components/z-loading/THIRD_PARTY_NOTICES.md +26 -0
- package/fesm2022/shival99-z-ui-components-z-autocomplete.mjs +6 -0
- package/fesm2022/shival99-z-ui-components-z-autocomplete.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-dropdown-menu.mjs +5 -3
- package/fesm2022/shival99-z-ui-components-z-dropdown-menu.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-icon.mjs +28 -23
- package/fesm2022/shival99-z-ui-components-z-icon.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-loading.mjs +52 -14
- package/fesm2022/shival99-z-ui-components-z-loading.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-tabs.mjs +12 -3
- package/fesm2022/shival99-z-ui-components-z-tabs.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-services.mjs +4 -42
- package/fesm2022/shival99-z-ui-services.mjs.map +1 -1
- package/package.json +77 -24
- package/types/shival99-z-ui-components-z-autocomplete.d.ts +1 -1
- package/types/shival99-z-ui-components-z-dropdown-menu.d.ts +2 -1
- package/types/shival99-z-ui-components-z-loading.d.ts +13 -5
- package/types/shival99-z-ui-components-z-table.d.ts +5 -5
- package/types/shival99-z-ui-components-z-tabs.d.ts +7 -5
- package/types/shival99-z-ui-services.d.ts +1 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shival99/z-ui",
|
|
3
|
-
"version": "2.1.
|
|
4
|
-
"description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular
|
|
3
|
+
"version": "2.1.23",
|
|
4
|
+
"description": "Z-UI: Modern Angular UI Component Library - A comprehensive, high-performance design system built with Angular 21, featuring 40+ customizable components with dark mode, accessibility, and enterprise-ready features.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
7
7
|
"angular-ui",
|
|
@@ -36,13 +36,14 @@
|
|
|
36
36
|
"url": "https://github.com/vuboi/z-ui/issues"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@angular/cdk": ">=
|
|
40
|
-
"@angular/common": ">=
|
|
41
|
-
"@angular/core": ">=
|
|
42
|
-
"@angular/forms": ">=
|
|
43
|
-
"@angular/platform-browser": "
|
|
44
|
-
"@angular/router": ">=
|
|
39
|
+
"@angular/cdk": ">=21.0.0 <22.0.0",
|
|
40
|
+
"@angular/common": ">=21.0.0 <22.0.0",
|
|
41
|
+
"@angular/core": ">=21.0.0 <22.0.0",
|
|
42
|
+
"@angular/forms": ">=21.0.0 <22.0.0",
|
|
43
|
+
"@angular/platform-browser": ">=21.0.0 <22.0.0",
|
|
44
|
+
"@angular/router": ">=21.0.0 <22.0.0",
|
|
45
45
|
"@dayflow/blossom-color-picker-angular": ">=1.0.0",
|
|
46
|
+
"@hugeicons/core-free-icons": ">=4.0.0",
|
|
46
47
|
"@ng-icons/core": ">=33.0.0",
|
|
47
48
|
"@ng-icons/iconsax": ">=33.0.0",
|
|
48
49
|
"@ng-icons/lucide": ">=33.0.0",
|
|
@@ -54,6 +55,7 @@
|
|
|
54
55
|
"@tiptap/core": ">=3.0.0",
|
|
55
56
|
"@tiptap/extension-code": ">=3.0.0",
|
|
56
57
|
"@tiptap/extension-horizontal-rule": ">=3.0.0",
|
|
58
|
+
"@tiptap/extension-image": ">=3.0.0",
|
|
57
59
|
"@tiptap/extension-link": ">=3.0.0",
|
|
58
60
|
"@tiptap/extension-mention": ">=3.0.0",
|
|
59
61
|
"@tiptap/extension-placeholder": ">=3.0.0",
|
|
@@ -64,14 +66,20 @@
|
|
|
64
66
|
"boneyard-js": ">=1.7.0",
|
|
65
67
|
"class-variance-authority": ">=0.7.0",
|
|
66
68
|
"clsx": ">=2.0.0",
|
|
69
|
+
"dompurify": ">=3.0.0",
|
|
70
|
+
"echarts": ">=5.0.0",
|
|
67
71
|
"exceljs": "^4.4.0",
|
|
68
72
|
"file-saver": "^2.0.5",
|
|
73
|
+
"mammoth": ">=1.12.0",
|
|
69
74
|
"minisearch": ">=7.0.0",
|
|
70
75
|
"ng-animated-icons": ">=1.9.0",
|
|
76
|
+
"ng2-pdfjs-viewer": ">=26.0.0",
|
|
71
77
|
"ngx-mask": ">=20.0.0",
|
|
72
78
|
"ngx-scrollbar": ">=19.0.0",
|
|
73
79
|
"ngxtension": ">=7.0.0",
|
|
80
|
+
"qrcode": ">=1.5.0",
|
|
74
81
|
"rxjs": ">=7.8.0",
|
|
82
|
+
"shiki": ">=3.0.0",
|
|
75
83
|
"tailwind-merge": ">=3.0.0",
|
|
76
84
|
"xlsx": "^0.18.5",
|
|
77
85
|
"@tiptap/extension-bubble-menu": ">=3.0.0",
|
|
@@ -80,41 +88,83 @@
|
|
|
80
88
|
"tiptap-extension-resize-image": "^1.4.0"
|
|
81
89
|
},
|
|
82
90
|
"peerDependenciesMeta": {
|
|
83
|
-
"@
|
|
91
|
+
"@dayflow/blossom-color-picker-angular": {
|
|
84
92
|
"optional": true
|
|
85
93
|
},
|
|
86
|
-
"@
|
|
94
|
+
"@shival99/angular-virtual": {
|
|
87
95
|
"optional": true
|
|
88
96
|
},
|
|
89
|
-
"
|
|
97
|
+
"@tanstack/angular-table": {
|
|
90
98
|
"optional": true
|
|
91
99
|
},
|
|
92
|
-
"
|
|
100
|
+
"@tiptap/core": {
|
|
93
101
|
"optional": true
|
|
94
102
|
},
|
|
95
|
-
"
|
|
103
|
+
"@tiptap/extension-bubble-menu": {
|
|
104
|
+
"optional": true
|
|
105
|
+
},
|
|
106
|
+
"@tiptap/extension-code": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"@tiptap/extension-horizontal-rule": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"@tiptap/extension-image": {
|
|
96
113
|
"optional": true
|
|
97
114
|
},
|
|
98
|
-
"
|
|
115
|
+
"@tiptap/extension-link": {
|
|
116
|
+
"optional": true
|
|
117
|
+
},
|
|
118
|
+
"@tiptap/extension-mention": {
|
|
119
|
+
"optional": true
|
|
120
|
+
},
|
|
121
|
+
"@tiptap/extension-placeholder": {
|
|
122
|
+
"optional": true
|
|
123
|
+
},
|
|
124
|
+
"@tiptap/extension-text-align": {
|
|
125
|
+
"optional": true
|
|
126
|
+
},
|
|
127
|
+
"@tiptap/extension-text-style": {
|
|
128
|
+
"optional": true
|
|
129
|
+
},
|
|
130
|
+
"@tiptap/extension-underline": {
|
|
131
|
+
"optional": true
|
|
132
|
+
},
|
|
133
|
+
"shiki": {
|
|
99
134
|
"optional": true
|
|
100
135
|
},
|
|
101
136
|
"@tiptap/markdown": {
|
|
102
137
|
"optional": true
|
|
138
|
+
},
|
|
139
|
+
"@tiptap/pm": {
|
|
140
|
+
"optional": true
|
|
141
|
+
},
|
|
142
|
+
"@tiptap/starter-kit": {
|
|
143
|
+
"optional": true
|
|
144
|
+
},
|
|
145
|
+
"boneyard-js": {
|
|
146
|
+
"optional": true
|
|
147
|
+
},
|
|
148
|
+
"mammoth": {
|
|
149
|
+
"optional": true
|
|
150
|
+
},
|
|
151
|
+
"ng2-pdfjs-viewer": {
|
|
152
|
+
"optional": true
|
|
153
|
+
},
|
|
154
|
+
"ngx-mask": {
|
|
155
|
+
"optional": true
|
|
156
|
+
},
|
|
157
|
+
"qrcode": {
|
|
158
|
+
"optional": true
|
|
159
|
+
},
|
|
160
|
+
"tiptap-extension-resize-image": {
|
|
161
|
+
"optional": true
|
|
103
162
|
}
|
|
104
163
|
},
|
|
105
|
-
"optionalDependencies": {
|
|
106
|
-
"dompurify": ">=3.0.0",
|
|
107
|
-
"echarts": ">=5.0.0",
|
|
108
|
-
"shiki": ">=3.0.0"
|
|
109
|
-
},
|
|
110
164
|
"sideEffects": false,
|
|
111
165
|
"engines": {
|
|
112
166
|
"node": ">=18.0.0"
|
|
113
167
|
},
|
|
114
|
-
"dependencies": {
|
|
115
|
-
"mammoth": "^1.12.0",
|
|
116
|
-
"tslib": "^2.3.0"
|
|
117
|
-
},
|
|
118
168
|
"module": "fesm2022/z-ui.mjs",
|
|
119
169
|
"typings": "types/z-ui.d.ts",
|
|
120
170
|
"exports": {
|
|
@@ -326,5 +376,8 @@
|
|
|
326
376
|
"default": "./fesm2022/shival99-z-ui-utils.mjs"
|
|
327
377
|
}
|
|
328
378
|
},
|
|
329
|
-
"type": "module"
|
|
379
|
+
"type": "module",
|
|
380
|
+
"dependencies": {
|
|
381
|
+
"tslib": "^2.3.0"
|
|
382
|
+
}
|
|
330
383
|
}
|
|
@@ -276,7 +276,7 @@ declare class ZAutocompleteComponent<T = unknown> implements OnInit, ControlValu
|
|
|
276
276
|
|
|
277
277
|
declare const zAutocompleteInputVariants: (props?: ({
|
|
278
278
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
279
|
-
zStatus?: "default" | "
|
|
279
|
+
zStatus?: "default" | "error" | "disabled" | "readonly" | "open" | null | undefined;
|
|
280
280
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
281
281
|
type ZAutocompleteInputVariants = VariantProps<typeof zAutocompleteInputVariants>;
|
|
282
282
|
declare const zAutocompleteOptionVariants: (props?: ({
|
|
@@ -33,6 +33,7 @@ declare class ZDropdownMenuComponent implements AfterContentInit {
|
|
|
33
33
|
readonly zMinWidth: _angular_core.InputSignal<number>;
|
|
34
34
|
readonly zMaxWidth: _angular_core.InputSignal<number>;
|
|
35
35
|
readonly zDisabled: _angular_core.InputSignal<boolean>;
|
|
36
|
+
readonly zWave: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
|
|
36
37
|
protected readonly hasContent: _angular_core.WritableSignal<boolean>;
|
|
37
38
|
protected readonly popoverControl: _angular_core.WritableSignal<{
|
|
38
39
|
close: () => void;
|
|
@@ -46,7 +47,7 @@ declare class ZDropdownMenuComponent implements AfterContentInit {
|
|
|
46
47
|
closeImmediate: () => void;
|
|
47
48
|
}): void;
|
|
48
49
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZDropdownMenuComponent, never>;
|
|
49
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZDropdownMenuComponent, "z-dropdown-menu", never, { "zItems": { "alias": "zItems"; "required": true; "isSignal": true; }; "zLabel": { "alias": "zLabel"; "required": false; "isSignal": true; }; "zIcon": { "alias": "zIcon"; "required": false; "isSignal": true; }; "zButtonType": { "alias": "zButtonType"; "required": false; "isSignal": true; }; "zPosition": { "alias": "zPosition"; "required": false; "isSignal": true; }; "zButtonSize": { "alias": "zButtonSize"; "required": false; "isSignal": true; }; "zOffset": { "alias": "zOffset"; "required": false; "isSignal": true; }; "zMinWidth": { "alias": "zMinWidth"; "required": false; "isSignal": true; }; "zMaxWidth": { "alias": "zMaxWidth"; "required": false; "isSignal": true; }; "zDisabled": { "alias": "zDisabled"; "required": false; "isSignal": true; }; }, { "zOnItemClick": "zOnItemClick"; }, never, ["*"], true, never>;
|
|
50
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZDropdownMenuComponent, "z-dropdown-menu", never, { "zItems": { "alias": "zItems"; "required": true; "isSignal": true; }; "zLabel": { "alias": "zLabel"; "required": false; "isSignal": true; }; "zIcon": { "alias": "zIcon"; "required": false; "isSignal": true; }; "zButtonType": { "alias": "zButtonType"; "required": false; "isSignal": true; }; "zPosition": { "alias": "zPosition"; "required": false; "isSignal": true; }; "zButtonSize": { "alias": "zButtonSize"; "required": false; "isSignal": true; }; "zOffset": { "alias": "zOffset"; "required": false; "isSignal": true; }; "zMinWidth": { "alias": "zMinWidth"; "required": false; "isSignal": true; }; "zMaxWidth": { "alias": "zMaxWidth"; "required": false; "isSignal": true; }; "zDisabled": { "alias": "zDisabled"; "required": false; "isSignal": true; }; "zWave": { "alias": "zWave"; "required": false; "isSignal": true; }; }, { "zOnItemClick": "zOnItemClick"; }, never, ["*"], true, never>;
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
export { ZDropdownMenuComponent };
|
|
@@ -3,14 +3,16 @@ import { ClassValue } from 'clsx';
|
|
|
3
3
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
declare const Z_LOADING_SPINNERS: readonly ["spinner", "orbit", "matrix", "conic", "polygon", "triple", "bar", "beat", "bounce", "circle", "climbing-box", "clip", "clock", "dot", "fade", "grid", "hash", "moon", "pacman", "propagate", "puff", "pulse", "ring", "rise", "rotate", "scale", "skew", "square", "sync"];
|
|
7
|
+
|
|
8
|
+
type ZLoadingSpinner = (typeof Z_LOADING_SPINNERS)[number];
|
|
7
9
|
type ZLoadingSize = '2xs' | 'xs' | 'default' | 'lg' | 'xl';
|
|
8
10
|
type ZLoadingColor = 'primary' | 'secondary' | 'white' | 'current';
|
|
9
11
|
type ZLoadingOverlayType = 'default' | 'dark' | 'blur';
|
|
10
12
|
|
|
11
13
|
declare class ZLoadingComponent {
|
|
12
14
|
readonly class: _angular_core.InputSignal<ClassValue>;
|
|
13
|
-
readonly zSpinner: _angular_core.InputSignal<
|
|
15
|
+
readonly zSpinner: _angular_core.InputSignal<"spinner" | "orbit" | "matrix" | "conic" | "polygon" | "triple" | "bar" | "beat" | "bounce" | "circle" | "climbing-box" | "clip" | "clock" | "dot" | "fade" | "grid" | "hash" | "moon" | "pacman" | "propagate" | "puff" | "pulse" | "ring" | "rise" | "rotate" | "scale" | "skew" | "square" | "sync">;
|
|
14
16
|
readonly zSize: _angular_core.InputSignal<ZLoadingSize>;
|
|
15
17
|
readonly zColor: _angular_core.InputSignal<ZLoadingColor>;
|
|
16
18
|
readonly zText: _angular_core.InputSignal<string>;
|
|
@@ -23,7 +25,13 @@ declare class ZLoadingComponent {
|
|
|
23
25
|
private _leaveTimeout;
|
|
24
26
|
constructor();
|
|
25
27
|
protected readonly spinnerClasses: _angular_core.Signal<string>;
|
|
26
|
-
protected readonly
|
|
28
|
+
protected readonly loaderClasses: _angular_core.Signal<string>;
|
|
29
|
+
protected readonly circleRings: readonly [0, 1, 2, 3, 4];
|
|
30
|
+
protected readonly fadeBars: readonly [0, 1, 2, 3, 4, 5, 6, 7];
|
|
31
|
+
protected readonly gridDots: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8];
|
|
32
|
+
protected readonly pacmanDots: readonly [0, 1, 2, 3];
|
|
33
|
+
protected readonly propagateDots: readonly [0, 1, 2, 3, 4, 5];
|
|
34
|
+
protected readonly scaleBars: readonly [0, 1, 2, 3, 4];
|
|
27
35
|
protected readonly overlayClasses: _angular_core.Signal<string>;
|
|
28
36
|
protected readonly textSizeClasses: _angular_core.Signal<{
|
|
29
37
|
'text-xs': boolean;
|
|
@@ -42,5 +50,5 @@ declare const zLoadingVariants: (props?: ({
|
|
|
42
50
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
43
51
|
type ZLoadingVariants = VariantProps<typeof zLoadingVariants>;
|
|
44
52
|
|
|
45
|
-
export { ZLoadingComponent, zLoadingVariants };
|
|
46
|
-
export type { ZLoadingColor, ZLoadingSize, ZLoadingSpinner, ZLoadingVariants };
|
|
53
|
+
export { ZLoadingComponent, Z_LOADING_SPINNERS, zLoadingVariants };
|
|
54
|
+
export type { ZLoadingColor, ZLoadingOverlayType, ZLoadingSize, ZLoadingSpinner, ZLoadingVariants };
|
|
@@ -1670,11 +1670,11 @@ declare class ZTableFilterComponent<T> {
|
|
|
1670
1670
|
protected readonly sortOptions: _angular_core.Signal<ZSelectOption<string>[]>;
|
|
1671
1671
|
protected readonly draftFilters: _angular_core.WritableSignal<ZTableDraftFilterCondition[]>;
|
|
1672
1672
|
protected readonly draftLegacyFilterValue: _angular_core.WritableSignal<unknown>;
|
|
1673
|
-
protected readonly draftSortState: _angular_core.WritableSignal<false | "
|
|
1673
|
+
protected readonly draftSortState: _angular_core.WritableSignal<false | "asc" | "desc">;
|
|
1674
1674
|
protected readonly columnFilterValue: _angular_core.Signal<unknown>;
|
|
1675
1675
|
protected readonly effectiveFilterValue: _angular_core.Signal<unknown>;
|
|
1676
|
-
protected readonly sortState: _angular_core.Signal<false | "
|
|
1677
|
-
protected readonly effectiveSortState: _angular_core.Signal<false | "
|
|
1676
|
+
protected readonly sortState: _angular_core.Signal<false | "asc" | "desc">;
|
|
1677
|
+
protected readonly effectiveSortState: _angular_core.Signal<false | "asc" | "desc">;
|
|
1678
1678
|
protected readonly canSort: _angular_core.Signal<boolean>;
|
|
1679
1679
|
protected readonly canFilter: _angular_core.Signal<boolean>;
|
|
1680
1680
|
protected readonly filterUi: _angular_core.Signal<ZTableFilterUi>;
|
|
@@ -1692,7 +1692,7 @@ declare class ZTableFilterComponent<T> {
|
|
|
1692
1692
|
protected readonly filterBadgeCount: _angular_core.Signal<number>;
|
|
1693
1693
|
protected readonly hasFilterValue: _angular_core.Signal<boolean>;
|
|
1694
1694
|
protected readonly isActive: _angular_core.Signal<boolean>;
|
|
1695
|
-
protected readonly draftSortValue: _angular_core.Signal<"
|
|
1695
|
+
protected readonly draftSortValue: _angular_core.Signal<"asc" | "desc" | "none">;
|
|
1696
1696
|
protected readonly rangeMinValue: _angular_core.Signal<any>;
|
|
1697
1697
|
protected readonly rangeMaxValue: _angular_core.Signal<any>;
|
|
1698
1698
|
protected readonly dateValue: _angular_core.Signal<Date | null>;
|
|
@@ -1764,7 +1764,7 @@ declare class ZTableActionsComponent<T = unknown> {
|
|
|
1764
1764
|
readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
|
|
1765
1765
|
readonly zRow: _angular_core.InputSignal<T>;
|
|
1766
1766
|
readonly zRowId: _angular_core.InputSignal<string>;
|
|
1767
|
-
readonly zDropdownButtonSize: _angular_core.InputSignal<"
|
|
1767
|
+
readonly zDropdownButtonSize: _angular_core.InputSignal<"default" | "xs" | "sm" | "lg" | "xl" | null | undefined>;
|
|
1768
1768
|
readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
|
|
1769
1769
|
protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
|
|
1770
1770
|
protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;
|
|
@@ -20,9 +20,10 @@ interface ZTab {
|
|
|
20
20
|
badge?: string | number;
|
|
21
21
|
template?: TemplateRef<unknown>;
|
|
22
22
|
}
|
|
23
|
-
type ZTabsType = 'line' | 'soft' | 'segment' | 'folder' | 'folder-soft' | 'folder-solid' | 'underline' | 'underlined' | 'badge' | 'sharp' | 'sharp-line' | 'sharp-line-filled' | 'vertical-sharp' | 'code-line';
|
|
23
|
+
type ZTabsType = 'line' | 'soft' | 'segment' | 'segment-solid' | 'folder' | 'folder-soft' | 'folder-solid' | 'underline' | 'underlined' | 'badge' | 'sharp' | 'sharp-line' | 'sharp-line-filled' | 'vertical-sharp' | 'code-line';
|
|
24
24
|
type ZTabsSize = 'xs' | 'sm' | 'default' | 'lg';
|
|
25
25
|
type ZTabsOrientation = 'horizontal' | 'vertical';
|
|
26
|
+
type ZTabsContentFit = 'none' | 'screen';
|
|
26
27
|
|
|
27
28
|
declare class ZTabsComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
28
29
|
readonly tabPanels: _angular_core.Signal<readonly ZTabPanelDirective[]>;
|
|
@@ -33,6 +34,7 @@ declare class ZTabsComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
33
34
|
readonly zType: _angular_core.InputSignal<ZTabsType>;
|
|
34
35
|
readonly zSize: _angular_core.InputSignal<ZTabsSize>;
|
|
35
36
|
readonly zOrientation: _angular_core.InputSignal<ZTabsOrientation>;
|
|
37
|
+
readonly zContentFit: _angular_core.InputSignal<ZTabsContentFit>;
|
|
36
38
|
readonly zLazy: _angular_core.InputSignal<boolean>;
|
|
37
39
|
readonly zDestroyInactive: _angular_core.InputSignal<boolean>;
|
|
38
40
|
readonly zTabsOnly: _angular_core.InputSignal<boolean>;
|
|
@@ -71,15 +73,15 @@ declare class ZTabsComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
71
73
|
private _getCacheKey;
|
|
72
74
|
protected scrollToActiveDropdownItem(): void;
|
|
73
75
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZTabsComponent, never>;
|
|
74
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZTabsComponent, "z-tabs", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zTabs": { "alias": "zTabs"; "required": true; "isSignal": true; }; "zType": { "alias": "zType"; "required": false; "isSignal": true; }; "zSize": { "alias": "zSize"; "required": false; "isSignal": true; }; "zOrientation": { "alias": "zOrientation"; "required": false; "isSignal": true; }; "zLazy": { "alias": "zLazy"; "required": false; "isSignal": true; }; "zDestroyInactive": { "alias": "zDestroyInactive"; "required": false; "isSignal": true; }; "zTabsOnly": { "alias": "zTabsOnly"; "required": false; "isSignal": true; }; "zShowContentWrapper": { "alias": "zShowContentWrapper"; "required": false; "isSignal": true; }; "zReloadable": { "alias": "zReloadable"; "required": false; "isSignal": true; }; "zEmitOnActiveClick": { "alias": "zEmitOnActiveClick"; "required": false; "isSignal": true; }; "zCache": { "alias": "zCache"; "required": false; "isSignal": true; }; "zCacheKey": { "alias": "zCacheKey"; "required": false; "isSignal": true; }; "activeTab": { "alias": "activeTab"; "required": false; "isSignal": true; }; }, { "activeTab": "activeTabChange"; "zTabChange": "zTabChange"; }, ["tabPanels"], never, true, never>;
|
|
76
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZTabsComponent, "z-tabs", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zTabs": { "alias": "zTabs"; "required": true; "isSignal": true; }; "zType": { "alias": "zType"; "required": false; "isSignal": true; }; "zSize": { "alias": "zSize"; "required": false; "isSignal": true; }; "zOrientation": { "alias": "zOrientation"; "required": false; "isSignal": true; }; "zContentFit": { "alias": "zContentFit"; "required": false; "isSignal": true; }; "zLazy": { "alias": "zLazy"; "required": false; "isSignal": true; }; "zDestroyInactive": { "alias": "zDestroyInactive"; "required": false; "isSignal": true; }; "zTabsOnly": { "alias": "zTabsOnly"; "required": false; "isSignal": true; }; "zShowContentWrapper": { "alias": "zShowContentWrapper"; "required": false; "isSignal": true; }; "zReloadable": { "alias": "zReloadable"; "required": false; "isSignal": true; }; "zEmitOnActiveClick": { "alias": "zEmitOnActiveClick"; "required": false; "isSignal": true; }; "zCache": { "alias": "zCache"; "required": false; "isSignal": true; }; "zCacheKey": { "alias": "zCacheKey"; "required": false; "isSignal": true; }; "activeTab": { "alias": "activeTab"; "required": false; "isSignal": true; }; }, { "activeTab": "activeTabChange"; "zTabChange": "zTabChange"; }, ["tabPanels"], never, true, never>;
|
|
75
77
|
}
|
|
76
78
|
|
|
77
79
|
declare const zTabsVariants: (props?: ({
|
|
78
|
-
zType?: "line" | "soft" | "segment" | "folder" | "folder-soft" | "folder-solid" | "underline" | "underlined" | "badge" | "sharp" | "sharp-line" | "sharp-line-filled" | "vertical-sharp" | "code-line" | null | undefined;
|
|
80
|
+
zType?: "line" | "soft" | "segment" | "segment-solid" | "folder" | "folder-soft" | "folder-solid" | "underline" | "underlined" | "badge" | "sharp" | "sharp-line" | "sharp-line-filled" | "vertical-sharp" | "code-line" | null | undefined;
|
|
79
81
|
zOrientation?: "horizontal" | "vertical" | null | undefined;
|
|
80
82
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
81
83
|
declare const zTabItemVariants: (props?: ({
|
|
82
|
-
zType?: "line" | "soft" | "segment" | "folder" | "folder-soft" | "folder-solid" | "underline" | "underlined" | "badge" | "sharp" | "sharp-line" | "sharp-line-filled" | "vertical-sharp" | "code-line" | null | undefined;
|
|
84
|
+
zType?: "line" | "soft" | "segment" | "segment-solid" | "folder" | "folder-soft" | "folder-solid" | "underline" | "underlined" | "badge" | "sharp" | "sharp-line" | "sharp-line-filled" | "vertical-sharp" | "code-line" | null | undefined;
|
|
83
85
|
zSize?: "xs" | "sm" | "default" | "lg" | null | undefined;
|
|
84
86
|
zOrientation?: "horizontal" | "vertical" | null | undefined;
|
|
85
87
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -87,4 +89,4 @@ type ZTabsVariants = VariantProps<typeof zTabsVariants>;
|
|
|
87
89
|
type ZTabItemVariants = VariantProps<typeof zTabItemVariants>;
|
|
88
90
|
|
|
89
91
|
export { ZTabPanelDirective, ZTabsComponent, zTabItemVariants, zTabsVariants };
|
|
90
|
-
export type { ZTab, ZTabItemVariants, ZTabsOrientation, ZTabsSize, ZTabsType, ZTabsVariants };
|
|
92
|
+
export type { ZTab, ZTabItemVariants, ZTabsContentFit, ZTabsOrientation, ZTabsSize, ZTabsType, ZTabsVariants };
|
|
@@ -558,6 +558,7 @@ interface ZThemePreferences {
|
|
|
558
558
|
theme: ZThemeName;
|
|
559
559
|
isDark: boolean;
|
|
560
560
|
}
|
|
561
|
+
/** @deprecated Theme CSS is bundled by assets/css/themes.css and no longer loaded at runtime. */
|
|
561
562
|
declare const Z_THEME_CSS_MAP: Record<ZThemeName, string>;
|
|
562
563
|
|
|
563
564
|
declare class ZThemeService {
|
|
@@ -570,7 +571,6 @@ declare class ZThemeService {
|
|
|
570
571
|
private readonly _preferencesCacheKey;
|
|
571
572
|
private readonly _isDark;
|
|
572
573
|
private readonly _currentTheme;
|
|
573
|
-
private readonly _loadedThemes;
|
|
574
574
|
readonly isDark: i0.Signal<boolean>;
|
|
575
575
|
readonly currentTheme: i0.Signal<ZThemeName>;
|
|
576
576
|
constructor();
|
|
@@ -581,7 +581,6 @@ declare class ZThemeService {
|
|
|
581
581
|
private _getInitialPreferences;
|
|
582
582
|
private _savePreferences;
|
|
583
583
|
private _isValidTheme;
|
|
584
|
-
private _loadThemeCSS;
|
|
585
584
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZThemeService, never>;
|
|
586
585
|
static ɵprov: i0.ɵɵInjectableDeclaration<ZThemeService>;
|
|
587
586
|
}
|