@shival99/z-ui 1.0.1 → 1.0.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.
Files changed (114) hide show
  1. package/assets/css/animations.css +207 -0
  2. package/assets/css/base.css +76 -0
  3. package/assets/css/tailwind.css +53 -0
  4. package/assets/css/themes/gray.css +73 -0
  5. package/assets/css/themes/green.css +75 -0
  6. package/assets/css/themes/hospital.css +79 -0
  7. package/assets/css/themes/neutral.css +73 -0
  8. package/assets/css/themes/orange.css +73 -0
  9. package/assets/css/themes/slate.css +73 -0
  10. package/assets/css/themes/stone.css +73 -0
  11. package/assets/css/themes/violet.css +73 -0
  12. package/assets/css/themes/zinc.css +73 -0
  13. package/assets/images/avatar.svg +6 -0
  14. package/assets/images/logo.svg +6 -0
  15. package/fesm2022/shival99-z-ui-components-z-accordion.mjs +148 -0
  16. package/fesm2022/shival99-z-ui-components-z-accordion.mjs.map +1 -0
  17. package/fesm2022/shival99-z-ui-components-z-breadcrumb.mjs +74 -0
  18. package/fesm2022/shival99-z-ui-components-z-breadcrumb.mjs.map +1 -0
  19. package/fesm2022/shival99-z-ui-components-z-button.mjs +155 -0
  20. package/fesm2022/shival99-z-ui-components-z-button.mjs.map +1 -0
  21. package/fesm2022/shival99-z-ui-components-z-calendar.mjs +2335 -0
  22. package/fesm2022/shival99-z-ui-components-z-calendar.mjs.map +1 -0
  23. package/fesm2022/shival99-z-ui-components-z-checkbox.mjs +240 -0
  24. package/fesm2022/shival99-z-ui-components-z-checkbox.mjs.map +1 -0
  25. package/fesm2022/shival99-z-ui-components-z-code.mjs +139 -0
  26. package/fesm2022/shival99-z-ui-components-z-code.mjs.map +1 -0
  27. package/fesm2022/shival99-z-ui-components-z-drawer.mjs +664 -0
  28. package/fesm2022/shival99-z-ui-components-z-drawer.mjs.map +1 -0
  29. package/fesm2022/shival99-z-ui-components-z-dropdown-menu.mjs +55 -0
  30. package/fesm2022/shival99-z-ui-components-z-dropdown-menu.mjs.map +1 -0
  31. package/fesm2022/shival99-z-ui-components-z-editor.mjs +411 -0
  32. package/fesm2022/shival99-z-ui-components-z-editor.mjs.map +1 -0
  33. package/fesm2022/shival99-z-ui-components-z-filter.mjs +794 -0
  34. package/fesm2022/shival99-z-ui-components-z-filter.mjs.map +1 -0
  35. package/fesm2022/shival99-z-ui-components-z-icon.mjs +451 -0
  36. package/fesm2022/shival99-z-ui-components-z-icon.mjs.map +1 -0
  37. package/fesm2022/shival99-z-ui-components-z-input.mjs +804 -0
  38. package/fesm2022/shival99-z-ui-components-z-input.mjs.map +1 -0
  39. package/fesm2022/shival99-z-ui-components-z-loading.mjs +105 -0
  40. package/fesm2022/shival99-z-ui-components-z-loading.mjs.map +1 -0
  41. package/fesm2022/shival99-z-ui-components-z-menu.mjs +351 -0
  42. package/fesm2022/shival99-z-ui-components-z-menu.mjs.map +1 -0
  43. package/fesm2022/shival99-z-ui-components-z-modal.mjs +722 -0
  44. package/fesm2022/shival99-z-ui-components-z-modal.mjs.map +1 -0
  45. package/fesm2022/shival99-z-ui-components-z-pagination.mjs +131 -0
  46. package/fesm2022/shival99-z-ui-components-z-pagination.mjs.map +1 -0
  47. package/fesm2022/shival99-z-ui-components-z-popover.mjs +917 -0
  48. package/fesm2022/shival99-z-ui-components-z-popover.mjs.map +1 -0
  49. package/fesm2022/shival99-z-ui-components-z-radio.mjs +154 -0
  50. package/fesm2022/shival99-z-ui-components-z-radio.mjs.map +1 -0
  51. package/fesm2022/shival99-z-ui-components-z-select.mjs +998 -0
  52. package/fesm2022/shival99-z-ui-components-z-select.mjs.map +1 -0
  53. package/fesm2022/shival99-z-ui-components-z-skeleton.mjs +139 -0
  54. package/fesm2022/shival99-z-ui-components-z-skeleton.mjs.map +1 -0
  55. package/fesm2022/shival99-z-ui-components-z-switch.mjs +127 -0
  56. package/fesm2022/shival99-z-ui-components-z-switch.mjs.map +1 -0
  57. package/fesm2022/shival99-z-ui-components-z-table.mjs +2628 -0
  58. package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -0
  59. package/fesm2022/shival99-z-ui-components-z-tabs.mjs +259 -0
  60. package/fesm2022/shival99-z-ui-components-z-tabs.mjs.map +1 -0
  61. package/fesm2022/shival99-z-ui-components-z-timeline.mjs +335 -0
  62. package/fesm2022/shival99-z-ui-components-z-timeline.mjs.map +1 -0
  63. package/fesm2022/shival99-z-ui-components-z-toast.mjs +93 -0
  64. package/fesm2022/shival99-z-ui-components-z-toast.mjs.map +1 -0
  65. package/fesm2022/shival99-z-ui-components-z-tooltip.mjs +660 -0
  66. package/fesm2022/shival99-z-ui-components-z-tooltip.mjs.map +1 -0
  67. package/fesm2022/shival99-z-ui-components-z-upload.mjs +504 -0
  68. package/fesm2022/shival99-z-ui-components-z-upload.mjs.map +1 -0
  69. package/fesm2022/shival99-z-ui-i18n.mjs +258 -0
  70. package/fesm2022/shival99-z-ui-i18n.mjs.map +1 -0
  71. package/fesm2022/shival99-z-ui-pipes.mjs +116 -0
  72. package/fesm2022/shival99-z-ui-pipes.mjs.map +1 -0
  73. package/fesm2022/shival99-z-ui-providers.mjs +203 -0
  74. package/fesm2022/shival99-z-ui-providers.mjs.map +1 -0
  75. package/fesm2022/shival99-z-ui-services.mjs +919 -0
  76. package/fesm2022/shival99-z-ui-services.mjs.map +1 -0
  77. package/fesm2022/shival99-z-ui-utils.mjs +591 -0
  78. package/fesm2022/shival99-z-ui-utils.mjs.map +1 -0
  79. package/fesm2022/z-ui.mjs +3 -19924
  80. package/fesm2022/z-ui.mjs.map +1 -1
  81. package/package.json +129 -1
  82. package/types/shival99-z-ui-components-z-accordion.d.ts +55 -0
  83. package/types/shival99-z-ui-components-z-breadcrumb.d.ts +36 -0
  84. package/types/shival99-z-ui-components-z-button.d.ts +41 -0
  85. package/types/shival99-z-ui-components-z-calendar.d.ts +300 -0
  86. package/types/shival99-z-ui-components-z-checkbox.d.ts +84 -0
  87. package/types/shival99-z-ui-components-z-code.d.ts +35 -0
  88. package/types/shival99-z-ui-components-z-drawer.d.ts +232 -0
  89. package/types/shival99-z-ui-components-z-dropdown-menu.d.ts +50 -0
  90. package/types/shival99-z-ui-components-z-editor.d.ts +115 -0
  91. package/types/shival99-z-ui-components-z-filter.d.ts +268 -0
  92. package/types/shival99-z-ui-components-z-icon.d.ts +291 -0
  93. package/types/shival99-z-ui-components-z-input.d.ts +188 -0
  94. package/types/shival99-z-ui-components-z-loading.d.ts +46 -0
  95. package/types/shival99-z-ui-components-z-menu.d.ts +116 -0
  96. package/types/shival99-z-ui-components-z-modal.d.ts +270 -0
  97. package/types/shival99-z-ui-components-z-pagination.d.ts +52 -0
  98. package/types/shival99-z-ui-components-z-popover.d.ts +134 -0
  99. package/types/shival99-z-ui-components-z-radio.d.ts +63 -0
  100. package/types/shival99-z-ui-components-z-select.d.ts +268 -0
  101. package/types/shival99-z-ui-components-z-skeleton.d.ts +55 -0
  102. package/types/shival99-z-ui-components-z-switch.d.ts +48 -0
  103. package/types/shival99-z-ui-components-z-table.d.ts +482 -0
  104. package/types/shival99-z-ui-components-z-tabs.d.ts +75 -0
  105. package/types/shival99-z-ui-components-z-timeline.d.ts +98 -0
  106. package/types/shival99-z-ui-components-z-toast.d.ts +61 -0
  107. package/types/shival99-z-ui-components-z-tooltip.d.ts +85 -0
  108. package/types/shival99-z-ui-components-z-upload.d.ts +136 -0
  109. package/types/shival99-z-ui-i18n.d.ts +50 -0
  110. package/types/shival99-z-ui-pipes.d.ts +36 -0
  111. package/types/shival99-z-ui-providers.d.ts +132 -0
  112. package/types/shival99-z-ui-services.d.ts +364 -0
  113. package/types/shival99-z-ui-utils.d.ts +145 -0
  114. package/types/z-ui.d.ts +3 -4977
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shival99/z-ui",
3
- "version": "1.0.1",
3
+ "version": "1.0.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",
@@ -105,6 +105,134 @@
105
105
  ".": {
106
106
  "types": "./types/z-ui.d.ts",
107
107
  "default": "./fesm2022/z-ui.mjs"
108
+ },
109
+ "./components/z-accordion": {
110
+ "types": "./types/shival99-z-ui-components-z-accordion.d.ts",
111
+ "default": "./fesm2022/shival99-z-ui-components-z-accordion.mjs"
112
+ },
113
+ "./components/z-breadcrumb": {
114
+ "types": "./types/shival99-z-ui-components-z-breadcrumb.d.ts",
115
+ "default": "./fesm2022/shival99-z-ui-components-z-breadcrumb.mjs"
116
+ },
117
+ "./components/z-button": {
118
+ "types": "./types/shival99-z-ui-components-z-button.d.ts",
119
+ "default": "./fesm2022/shival99-z-ui-components-z-button.mjs"
120
+ },
121
+ "./components/z-calendar": {
122
+ "types": "./types/shival99-z-ui-components-z-calendar.d.ts",
123
+ "default": "./fesm2022/shival99-z-ui-components-z-calendar.mjs"
124
+ },
125
+ "./components/z-checkbox": {
126
+ "types": "./types/shival99-z-ui-components-z-checkbox.d.ts",
127
+ "default": "./fesm2022/shival99-z-ui-components-z-checkbox.mjs"
128
+ },
129
+ "./components/z-code": {
130
+ "types": "./types/shival99-z-ui-components-z-code.d.ts",
131
+ "default": "./fesm2022/shival99-z-ui-components-z-code.mjs"
132
+ },
133
+ "./components/z-drawer": {
134
+ "types": "./types/shival99-z-ui-components-z-drawer.d.ts",
135
+ "default": "./fesm2022/shival99-z-ui-components-z-drawer.mjs"
136
+ },
137
+ "./components/z-dropdown-menu": {
138
+ "types": "./types/shival99-z-ui-components-z-dropdown-menu.d.ts",
139
+ "default": "./fesm2022/shival99-z-ui-components-z-dropdown-menu.mjs"
140
+ },
141
+ "./components/z-editor": {
142
+ "types": "./types/shival99-z-ui-components-z-editor.d.ts",
143
+ "default": "./fesm2022/shival99-z-ui-components-z-editor.mjs"
144
+ },
145
+ "./components/z-filter": {
146
+ "types": "./types/shival99-z-ui-components-z-filter.d.ts",
147
+ "default": "./fesm2022/shival99-z-ui-components-z-filter.mjs"
148
+ },
149
+ "./components/z-icon": {
150
+ "types": "./types/shival99-z-ui-components-z-icon.d.ts",
151
+ "default": "./fesm2022/shival99-z-ui-components-z-icon.mjs"
152
+ },
153
+ "./components/z-input": {
154
+ "types": "./types/shival99-z-ui-components-z-input.d.ts",
155
+ "default": "./fesm2022/shival99-z-ui-components-z-input.mjs"
156
+ },
157
+ "./components/z-loading": {
158
+ "types": "./types/shival99-z-ui-components-z-loading.d.ts",
159
+ "default": "./fesm2022/shival99-z-ui-components-z-loading.mjs"
160
+ },
161
+ "./components/z-menu": {
162
+ "types": "./types/shival99-z-ui-components-z-menu.d.ts",
163
+ "default": "./fesm2022/shival99-z-ui-components-z-menu.mjs"
164
+ },
165
+ "./components/z-modal": {
166
+ "types": "./types/shival99-z-ui-components-z-modal.d.ts",
167
+ "default": "./fesm2022/shival99-z-ui-components-z-modal.mjs"
168
+ },
169
+ "./components/z-pagination": {
170
+ "types": "./types/shival99-z-ui-components-z-pagination.d.ts",
171
+ "default": "./fesm2022/shival99-z-ui-components-z-pagination.mjs"
172
+ },
173
+ "./components/z-popover": {
174
+ "types": "./types/shival99-z-ui-components-z-popover.d.ts",
175
+ "default": "./fesm2022/shival99-z-ui-components-z-popover.mjs"
176
+ },
177
+ "./components/z-radio": {
178
+ "types": "./types/shival99-z-ui-components-z-radio.d.ts",
179
+ "default": "./fesm2022/shival99-z-ui-components-z-radio.mjs"
180
+ },
181
+ "./components/z-select": {
182
+ "types": "./types/shival99-z-ui-components-z-select.d.ts",
183
+ "default": "./fesm2022/shival99-z-ui-components-z-select.mjs"
184
+ },
185
+ "./components/z-skeleton": {
186
+ "types": "./types/shival99-z-ui-components-z-skeleton.d.ts",
187
+ "default": "./fesm2022/shival99-z-ui-components-z-skeleton.mjs"
188
+ },
189
+ "./components/z-switch": {
190
+ "types": "./types/shival99-z-ui-components-z-switch.d.ts",
191
+ "default": "./fesm2022/shival99-z-ui-components-z-switch.mjs"
192
+ },
193
+ "./components/z-table": {
194
+ "types": "./types/shival99-z-ui-components-z-table.d.ts",
195
+ "default": "./fesm2022/shival99-z-ui-components-z-table.mjs"
196
+ },
197
+ "./components/z-tabs": {
198
+ "types": "./types/shival99-z-ui-components-z-tabs.d.ts",
199
+ "default": "./fesm2022/shival99-z-ui-components-z-tabs.mjs"
200
+ },
201
+ "./components/z-timeline": {
202
+ "types": "./types/shival99-z-ui-components-z-timeline.d.ts",
203
+ "default": "./fesm2022/shival99-z-ui-components-z-timeline.mjs"
204
+ },
205
+ "./components/z-toast": {
206
+ "types": "./types/shival99-z-ui-components-z-toast.d.ts",
207
+ "default": "./fesm2022/shival99-z-ui-components-z-toast.mjs"
208
+ },
209
+ "./components/z-tooltip": {
210
+ "types": "./types/shival99-z-ui-components-z-tooltip.d.ts",
211
+ "default": "./fesm2022/shival99-z-ui-components-z-tooltip.mjs"
212
+ },
213
+ "./components/z-upload": {
214
+ "types": "./types/shival99-z-ui-components-z-upload.d.ts",
215
+ "default": "./fesm2022/shival99-z-ui-components-z-upload.mjs"
216
+ },
217
+ "./i18n": {
218
+ "types": "./types/shival99-z-ui-i18n.d.ts",
219
+ "default": "./fesm2022/shival99-z-ui-i18n.mjs"
220
+ },
221
+ "./pipes": {
222
+ "types": "./types/shival99-z-ui-pipes.d.ts",
223
+ "default": "./fesm2022/shival99-z-ui-pipes.mjs"
224
+ },
225
+ "./providers": {
226
+ "types": "./types/shival99-z-ui-providers.d.ts",
227
+ "default": "./fesm2022/shival99-z-ui-providers.mjs"
228
+ },
229
+ "./services": {
230
+ "types": "./types/shival99-z-ui-services.d.ts",
231
+ "default": "./fesm2022/shival99-z-ui-services.mjs"
232
+ },
233
+ "./utils": {
234
+ "types": "./types/shival99-z-ui-utils.d.ts",
235
+ "default": "./fesm2022/shival99-z-ui-utils.mjs"
108
236
  }
109
237
  },
110
238
  "dependencies": {
@@ -0,0 +1,55 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ClassValue } from 'clsx';
3
+ import * as class_variance_authority_types from 'class-variance-authority/types';
4
+ import { VariantProps } from 'class-variance-authority';
5
+
6
+ declare class ZAccordionItemComponent {
7
+ readonly class: _angular_core.InputSignal<ClassValue>;
8
+ readonly zId: _angular_core.InputSignal<string>;
9
+ readonly zTitle: _angular_core.InputSignal<string>;
10
+ readonly zDisabled: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
11
+ private readonly _accordion;
12
+ protected readonly isOpen: _angular_core.Signal<boolean>;
13
+ protected readonly itemClasses: _angular_core.Signal<string>;
14
+ protected readonly triggerClasses: _angular_core.Signal<string>;
15
+ protected toggle(): void;
16
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZAccordionItemComponent, never>;
17
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZAccordionItemComponent, "z-accordion-item", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zId": { "alias": "zId"; "required": true; "isSignal": true; }; "zTitle": { "alias": "zTitle"; "required": true; "isSignal": true; }; "zDisabled": { "alias": "zDisabled"; "required": false; "isSignal": true; }; }, {}, never, ["[zAccordionIcon]", "*"], true, never>;
18
+ }
19
+
20
+ declare class ZAccordionComponent {
21
+ readonly class: _angular_core.InputSignal<ClassValue>;
22
+ readonly zType: _angular_core.InputSignal<"default" | "ghost" | "outline" | null | undefined>;
23
+ readonly zMultiple: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
24
+ readonly zCollapsible: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
25
+ protected readonly items: _angular_core.Signal<readonly ZAccordionItemComponent[]>;
26
+ private readonly _openItems;
27
+ protected readonly zClasses: _angular_core.Signal<string>;
28
+ isItemOpen(itemId: string): boolean;
29
+ toggleItem(itemId: string): void;
30
+ openItem(itemId: string): void;
31
+ closeItem(itemId: string): void;
32
+ closeAll(): void;
33
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZAccordionComponent, never>;
34
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZAccordionComponent, "z-accordion", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zType": { "alias": "zType"; "required": false; "isSignal": true; }; "zMultiple": { "alias": "zMultiple"; "required": false; "isSignal": true; }; "zCollapsible": { "alias": "zCollapsible"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
35
+ }
36
+
37
+ declare const zAccordionVariants: (props?: ({
38
+ zType?: "default" | "ghost" | "outline" | null | undefined;
39
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
40
+ declare const zAccordionItemVariants: (props?: ({
41
+ isDisabled?: boolean | null | undefined;
42
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
43
+ type ZAccordionVariants = VariantProps<typeof zAccordionVariants>;
44
+ type ZAccordionItemVariants = VariantProps<typeof zAccordionItemVariants>;
45
+
46
+ interface ZAccordionItem {
47
+ id: string;
48
+ title: string;
49
+ content?: string;
50
+ disabled?: boolean;
51
+ icon?: string;
52
+ }
53
+
54
+ export { ZAccordionComponent, ZAccordionItemComponent, zAccordionItemVariants, zAccordionVariants };
55
+ export type { ZAccordionItem, ZAccordionItemVariants, ZAccordionVariants };
@@ -0,0 +1,36 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { ClassValue } from 'clsx';
3
+ import { ZIcon } from '@shival99/z-ui/components/z-icon';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import { VariantProps } from 'class-variance-authority';
6
+
7
+ interface ZBreadcrumbItem {
8
+ label: string;
9
+ path?: string;
10
+ icon?: ZIcon;
11
+ disabled?: boolean;
12
+ }
13
+
14
+ declare class ZBreadcrumbComponent {
15
+ readonly class: _angular_core.InputSignal<ClassValue>;
16
+ readonly zItems: _angular_core.InputSignal<ZBreadcrumbItem[]>;
17
+ readonly zSize: _angular_core.InputSignal<"sm" | "default" | "lg" | null | undefined>;
18
+ readonly zSeparator: _angular_core.InputSignal<"lucideLayers2" | "lucideStore" | "lucideChartBarStacked" | "lucideBookCheck" | "lucideAlarmClock" | "lucideClipboardPlus" | "lucideSave" | "lucideSaveAll" | "lucideFlag" | "lucideFlagTriangleRight" | "lucideMessageSquareDot" | "lucideCheckCheck" | "lucideTriangleAlert" | "lucideMessageSquareWarning" | "lucideCheck" | "lucidePencil" | "lucideMail" | "lucideLayoutGrid" | "lucideArrowLeft" | "lucideArrowRight" | "lucideMenu" | "lucideLock" | "lucideLogOut" | "lucideUser" | "lucideSettings" | "lucidePill" | "lucideCalendarFold" | "lucideSettings2" | "lucideChevronLeft" | "lucideChevronRight" | "lucideChevronDown" | "lucidePlus" | "lucideSearch" | "lucideUsers" | "lucideEye" | "lucideEyeOff" | "lucideEllipsis" | "lucidePanelLeftClose" | "lucidePanelLeftOpen" | "lucideLayoutDashboard" | "lucideChartColumn" | "lucideUsersRound" | "lucideLogs" | "lucideChevronUp" | "lucideTrendingUp" | "lucidePackage" | "lucideShoppingCart" | "lucideUserCheck" | "lucideActivity" | "lucideZap" | "lucideMousePointer" | "lucideInfo" | "lucideLayers" | "lucideBriefcase" | "lucideTarget" | "lucideWorkflow" | "lucideWarehouse" | "lucideLoaderCircle" | "lucideChevronsLeft" | "lucideChevronsRight" | "lucideBellRing" | "lucideSlidersHorizontal" | "lucideTrash2" | "lucideFileDown" | "lucideFunnel" | "lucideAlignJustify" | "lucideX" | "lucideFiles" | "lucideCrown" | "lucideBadgeInfo" | "lucideMinus" | "lucideBox" | "lucideCog" | "lucideBellMinus" | "lucidePackageOpen" | "lucideInbox" | "lucideClock" | "lucideBookOpen" | "lucideCalendar" | "lucideCalculator" | "lucideClipboardList" | "lucideDatabase" | "lucideDollarSign" | "lucideFileText" | "lucideGraduationCap" | "lucideHeart" | "lucideHospital" | "lucideMapPin" | "lucideMonitor" | "lucidePhone" | "lucideShield" | "lucideStar" | "lucideStethoscope" | "lucideTimer" | "lucideTrendingDown" | "lucideUserPlus" | "lucideVideo" | "lucideWallet" | "lucideWrench" | "lucideBuilding2" | "lucideCar" | "lucideCreditCard" | "lucideFileSpreadsheet" | "lucideGlobe" | "lucideHeadphones" | "lucideKey" | "lucideLightbulb" | "lucideMailCheck" | "lucideNetwork" | "lucidePalette" | "lucidePhoneCall" | "lucidePrinter" | "lucideRadio" | "lucideServer" | "lucideSmartphone" | "lucideTablet" | "lucideTerminal" | "lucideTruck" | "lucideWifi" | "lucideRefreshCcw" | "lucideLockKeyhole" | "lucideArrowDown" | "lucideArrowUp" | "lucideUserLock" | "lucideCircleCheck" | "lucideHouse" | "lucideChartBar" | "lucideChartPie" | "lucideChartLine" | "lucideCalendarRange" | "lucideCalendar1" | "lucideCalendarCheck" | "lucideNotepadText" | "lucideFileUp" | "lucideTableOfContents" | "lucideBot" | "lucideSend" | "lucidePause" | "lucidePaperclip" | "saxPauseBold" | "lucideCopy" | "lucideUserRoundPen" | "lucideFilePenLine" | "lucideArrowDownUp" | "lucideCircleX" | "lucideCheckLine" | "lucideBadgeCheck" | "lucideShieldCheck" | "lucideCircleCheckBig" | "lucideBadgeX" | "lucideLockKeyholeOpen" | "lucideFileSymlink" | "lucideWifiZero" | "lucideCloudCheck" | "lucideMailPlus" | "lucideHardDriveDownload" | "saxCloudChangeBold" | "saxRefreshBold" | "lucideBarcode" | "lucideCode" | "lucideScanQrCode" | "lucideQrCode" | "lucideScanLine" | "lucideListPlus" | "lucideFilePlus" | "lucideFilePlus2" | "lucideBookUp2" | "lucideFileClock" | "lucideRefreshCwOff" | "lucideListChecks" | "lucideFastForward" | "lucideBrushCleaning" | "lucideChartColumnIncreasing" | "lucideBell" | "lucideCheckCircle2" | "lucideAlertCircle" | "lucideXCircle" | "lucideLink" | "lucideDatabaseBackup" | "lucideFileCheck" | "lucideListChevronsDownUp" | "lucideListChevronsUpDown" | "lucideSun" | "lucideMoon" | "lucideLoader" | "lucideAlertOctagon" | "lucideMessageCircle" | "lucideCircleAlert" | "lucideMessageCircleQuestion" | "lucideComponent" | "lucidePanelRightOpen" | "lucideLoader2" | "lucideGithub" | "lucideLifeBuoy" | "lucideCloud" | "lucideBarChart" | "lucideHome" | "lucideFolderOpen" | "lucideSquarePen" | "lucideLayoutTemplate" | "lucideFileOutput" | "lucideCircleHelp" | "lucideGripHorizontal" | "lucideImage" | "lucideList" | "lucideHash" | "lucideMegaphone" | "lucidePenTool" | "lucideSquare" | "lucideRocket" | "lucideBarChart3" | "lucideUsers2" | "lucideGrid3x3" | "lucideFolderTree" | "lucideCheckCircle" | "lucideSliders" | "lucideFileEdit" | "lucideNavigation" | "lucideListFilter" | "lucideTextCursor" | "lucidePieChart" | "lucideUserSearch" | "lucideFolders" | "lucideSparkles" | "lucideSquareCheck" | "lucideCircleDot" | "lucideToggleLeft" | "lucideUpload" | "lucideUploadCloud" | "lucideDownload" | "lucideFile" | "lucideMusic" | "lucideFileCode" | "lucideFileJson" | "lucideFileArchive" | "lucideTable2" | "lucideGripVertical" | "lucidePin" | "lucideSearchX" | "lucideMoreVertical" | "lucideGitBranch" | "lucideAlertTriangle" | "lucideFilter" | "lucideFunnelX" | "lucideBan" | "lucideBuilding" | "lucideType">;
19
+ readonly zSeparatorSize: _angular_core.InputSignal<"10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | null | undefined>;
20
+ readonly zHomeIcon: _angular_core.InputSignal<"lucideLayers2" | "lucideStore" | "lucideChartBarStacked" | "lucideBookCheck" | "lucideAlarmClock" | "lucideClipboardPlus" | "lucideSave" | "lucideSaveAll" | "lucideFlag" | "lucideFlagTriangleRight" | "lucideMessageSquareDot" | "lucideCheckCheck" | "lucideTriangleAlert" | "lucideMessageSquareWarning" | "lucideCheck" | "lucidePencil" | "lucideMail" | "lucideLayoutGrid" | "lucideArrowLeft" | "lucideArrowRight" | "lucideMenu" | "lucideLock" | "lucideLogOut" | "lucideUser" | "lucideSettings" | "lucidePill" | "lucideCalendarFold" | "lucideSettings2" | "lucideChevronLeft" | "lucideChevronRight" | "lucideChevronDown" | "lucidePlus" | "lucideSearch" | "lucideUsers" | "lucideEye" | "lucideEyeOff" | "lucideEllipsis" | "lucidePanelLeftClose" | "lucidePanelLeftOpen" | "lucideLayoutDashboard" | "lucideChartColumn" | "lucideUsersRound" | "lucideLogs" | "lucideChevronUp" | "lucideTrendingUp" | "lucidePackage" | "lucideShoppingCart" | "lucideUserCheck" | "lucideActivity" | "lucideZap" | "lucideMousePointer" | "lucideInfo" | "lucideLayers" | "lucideBriefcase" | "lucideTarget" | "lucideWorkflow" | "lucideWarehouse" | "lucideLoaderCircle" | "lucideChevronsLeft" | "lucideChevronsRight" | "lucideBellRing" | "lucideSlidersHorizontal" | "lucideTrash2" | "lucideFileDown" | "lucideFunnel" | "lucideAlignJustify" | "lucideX" | "lucideFiles" | "lucideCrown" | "lucideBadgeInfo" | "lucideMinus" | "lucideBox" | "lucideCog" | "lucideBellMinus" | "lucidePackageOpen" | "lucideInbox" | "lucideClock" | "lucideBookOpen" | "lucideCalendar" | "lucideCalculator" | "lucideClipboardList" | "lucideDatabase" | "lucideDollarSign" | "lucideFileText" | "lucideGraduationCap" | "lucideHeart" | "lucideHospital" | "lucideMapPin" | "lucideMonitor" | "lucidePhone" | "lucideShield" | "lucideStar" | "lucideStethoscope" | "lucideTimer" | "lucideTrendingDown" | "lucideUserPlus" | "lucideVideo" | "lucideWallet" | "lucideWrench" | "lucideBuilding2" | "lucideCar" | "lucideCreditCard" | "lucideFileSpreadsheet" | "lucideGlobe" | "lucideHeadphones" | "lucideKey" | "lucideLightbulb" | "lucideMailCheck" | "lucideNetwork" | "lucidePalette" | "lucidePhoneCall" | "lucidePrinter" | "lucideRadio" | "lucideServer" | "lucideSmartphone" | "lucideTablet" | "lucideTerminal" | "lucideTruck" | "lucideWifi" | "lucideRefreshCcw" | "lucideLockKeyhole" | "lucideArrowDown" | "lucideArrowUp" | "lucideUserLock" | "lucideCircleCheck" | "lucideHouse" | "lucideChartBar" | "lucideChartPie" | "lucideChartLine" | "lucideCalendarRange" | "lucideCalendar1" | "lucideCalendarCheck" | "lucideNotepadText" | "lucideFileUp" | "lucideTableOfContents" | "lucideBot" | "lucideSend" | "lucidePause" | "lucidePaperclip" | "saxPauseBold" | "lucideCopy" | "lucideUserRoundPen" | "lucideFilePenLine" | "lucideArrowDownUp" | "lucideCircleX" | "lucideCheckLine" | "lucideBadgeCheck" | "lucideShieldCheck" | "lucideCircleCheckBig" | "lucideBadgeX" | "lucideLockKeyholeOpen" | "lucideFileSymlink" | "lucideWifiZero" | "lucideCloudCheck" | "lucideMailPlus" | "lucideHardDriveDownload" | "saxCloudChangeBold" | "saxRefreshBold" | "lucideBarcode" | "lucideCode" | "lucideScanQrCode" | "lucideQrCode" | "lucideScanLine" | "lucideListPlus" | "lucideFilePlus" | "lucideFilePlus2" | "lucideBookUp2" | "lucideFileClock" | "lucideRefreshCwOff" | "lucideListChecks" | "lucideFastForward" | "lucideBrushCleaning" | "lucideChartColumnIncreasing" | "lucideBell" | "lucideCheckCircle2" | "lucideAlertCircle" | "lucideXCircle" | "lucideLink" | "lucideDatabaseBackup" | "lucideFileCheck" | "lucideListChevronsDownUp" | "lucideListChevronsUpDown" | "lucideSun" | "lucideMoon" | "lucideLoader" | "lucideAlertOctagon" | "lucideMessageCircle" | "lucideCircleAlert" | "lucideMessageCircleQuestion" | "lucideComponent" | "lucidePanelRightOpen" | "lucideLoader2" | "lucideGithub" | "lucideLifeBuoy" | "lucideCloud" | "lucideBarChart" | "lucideHome" | "lucideFolderOpen" | "lucideSquarePen" | "lucideLayoutTemplate" | "lucideFileOutput" | "lucideCircleHelp" | "lucideGripHorizontal" | "lucideImage" | "lucideList" | "lucideHash" | "lucideMegaphone" | "lucidePenTool" | "lucideSquare" | "lucideRocket" | "lucideBarChart3" | "lucideUsers2" | "lucideGrid3x3" | "lucideFolderTree" | "lucideCheckCircle" | "lucideSliders" | "lucideFileEdit" | "lucideNavigation" | "lucideListFilter" | "lucideTextCursor" | "lucidePieChart" | "lucideUserSearch" | "lucideFolders" | "lucideSparkles" | "lucideSquareCheck" | "lucideCircleDot" | "lucideToggleLeft" | "lucideUpload" | "lucideUploadCloud" | "lucideDownload" | "lucideFile" | "lucideMusic" | "lucideFileCode" | "lucideFileJson" | "lucideFileArchive" | "lucideTable2" | "lucideGripVertical" | "lucidePin" | "lucideSearchX" | "lucideMoreVertical" | "lucideGitBranch" | "lucideAlertTriangle" | "lucideFilter" | "lucideFunnelX" | "lucideBan" | "lucideBuilding" | "lucideType" | undefined>;
21
+ readonly zShowHome: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
22
+ readonly zItemClick: _angular_core.OutputEmitterRef<ZBreadcrumbItem>;
23
+ protected readonly zClasses: _angular_core.Signal<string>;
24
+ protected getItemClasses(item: ZBreadcrumbItem, isLast: boolean): string;
25
+ protected onItemClick(item: ZBreadcrumbItem, isLast: boolean): void;
26
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZBreadcrumbComponent, never>;
27
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZBreadcrumbComponent, "z-breadcrumb", never, { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zItems": { "alias": "zItems"; "required": false; "isSignal": true; }; "zSize": { "alias": "zSize"; "required": false; "isSignal": true; }; "zSeparator": { "alias": "zSeparator"; "required": false; "isSignal": true; }; "zSeparatorSize": { "alias": "zSeparatorSize"; "required": false; "isSignal": true; }; "zHomeIcon": { "alias": "zHomeIcon"; "required": false; "isSignal": true; }; "zShowHome": { "alias": "zShowHome"; "required": false; "isSignal": true; }; }, { "zItemClick": "zItemClick"; }, never, never, true, never>;
28
+ }
29
+
30
+ declare const zBreadcrumbVariants: (props?: ({
31
+ zSize?: "sm" | "default" | "lg" | null | undefined;
32
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
33
+ type ZBreadcrumbVariants = VariantProps<typeof zBreadcrumbVariants>;
34
+
35
+ export { ZBreadcrumbComponent, zBreadcrumbVariants };
36
+ export type { ZBreadcrumbItem, ZBreadcrumbVariants };
@@ -0,0 +1,41 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { OnDestroy } from '@angular/core';
3
+ import { ClassValue } from 'clsx';
4
+ import * as class_variance_authority_types from 'class-variance-authority/types';
5
+ import { VariantProps } from 'class-variance-authority';
6
+
7
+ declare class ZButtonComponent implements OnDestroy {
8
+ readonly class: _angular_core.InputSignal<ClassValue>;
9
+ readonly zType: _angular_core.InputSignal<"default" | "primary" | "secondary" | "destructive" | "success" | "info" | "warning" | "error" | "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>;
10
+ readonly zSize: _angular_core.InputSignal<"default" | "xs" | "sm" | "lg" | "xl" | null | undefined>;
11
+ readonly zShape: _angular_core.InputSignal<"default" | "circle" | "square" | null | undefined>;
12
+ readonly zLabel: _angular_core.InputSignal<string>;
13
+ readonly zLoading: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
14
+ readonly zDisabled: _angular_core.InputSignal<boolean>;
15
+ readonly zTypeIcon: _angular_core.InputSignal<"lucideLayers2" | "lucideStore" | "lucideChartBarStacked" | "lucideBookCheck" | "lucideAlarmClock" | "lucideClipboardPlus" | "lucideSave" | "lucideSaveAll" | "lucideFlag" | "lucideFlagTriangleRight" | "lucideMessageSquareDot" | "lucideCheckCheck" | "lucideTriangleAlert" | "lucideMessageSquareWarning" | "lucideCheck" | "lucidePencil" | "lucideMail" | "lucideLayoutGrid" | "lucideArrowLeft" | "lucideArrowRight" | "lucideMenu" | "lucideLock" | "lucideLogOut" | "lucideUser" | "lucideSettings" | "lucidePill" | "lucideCalendarFold" | "lucideSettings2" | "lucideChevronLeft" | "lucideChevronRight" | "lucideChevronDown" | "lucidePlus" | "lucideSearch" | "lucideUsers" | "lucideEye" | "lucideEyeOff" | "lucideEllipsis" | "lucidePanelLeftClose" | "lucidePanelLeftOpen" | "lucideLayoutDashboard" | "lucideChartColumn" | "lucideUsersRound" | "lucideLogs" | "lucideChevronUp" | "lucideTrendingUp" | "lucidePackage" | "lucideShoppingCart" | "lucideUserCheck" | "lucideActivity" | "lucideZap" | "lucideMousePointer" | "lucideInfo" | "lucideLayers" | "lucideBriefcase" | "lucideTarget" | "lucideWorkflow" | "lucideWarehouse" | "lucideLoaderCircle" | "lucideChevronsLeft" | "lucideChevronsRight" | "lucideBellRing" | "lucideSlidersHorizontal" | "lucideTrash2" | "lucideFileDown" | "lucideFunnel" | "lucideAlignJustify" | "lucideX" | "lucideFiles" | "lucideCrown" | "lucideBadgeInfo" | "lucideMinus" | "lucideBox" | "lucideCog" | "lucideBellMinus" | "lucidePackageOpen" | "lucideInbox" | "lucideClock" | "lucideBookOpen" | "lucideCalendar" | "lucideCalculator" | "lucideClipboardList" | "lucideDatabase" | "lucideDollarSign" | "lucideFileText" | "lucideGraduationCap" | "lucideHeart" | "lucideHospital" | "lucideMapPin" | "lucideMonitor" | "lucidePhone" | "lucideShield" | "lucideStar" | "lucideStethoscope" | "lucideTimer" | "lucideTrendingDown" | "lucideUserPlus" | "lucideVideo" | "lucideWallet" | "lucideWrench" | "lucideBuilding2" | "lucideCar" | "lucideCreditCard" | "lucideFileSpreadsheet" | "lucideGlobe" | "lucideHeadphones" | "lucideKey" | "lucideLightbulb" | "lucideMailCheck" | "lucideNetwork" | "lucidePalette" | "lucidePhoneCall" | "lucidePrinter" | "lucideRadio" | "lucideServer" | "lucideSmartphone" | "lucideTablet" | "lucideTerminal" | "lucideTruck" | "lucideWifi" | "lucideRefreshCcw" | "lucideLockKeyhole" | "lucideArrowDown" | "lucideArrowUp" | "lucideUserLock" | "lucideCircleCheck" | "lucideHouse" | "lucideChartBar" | "lucideChartPie" | "lucideChartLine" | "lucideCalendarRange" | "lucideCalendar1" | "lucideCalendarCheck" | "lucideNotepadText" | "lucideFileUp" | "lucideTableOfContents" | "lucideBot" | "lucideSend" | "lucidePause" | "lucidePaperclip" | "saxPauseBold" | "lucideCopy" | "lucideUserRoundPen" | "lucideFilePenLine" | "lucideArrowDownUp" | "lucideCircleX" | "lucideCheckLine" | "lucideBadgeCheck" | "lucideShieldCheck" | "lucideCircleCheckBig" | "lucideBadgeX" | "lucideLockKeyholeOpen" | "lucideFileSymlink" | "lucideWifiZero" | "lucideCloudCheck" | "lucideMailPlus" | "lucideHardDriveDownload" | "saxCloudChangeBold" | "saxRefreshBold" | "lucideBarcode" | "lucideCode" | "lucideScanQrCode" | "lucideQrCode" | "lucideScanLine" | "lucideListPlus" | "lucideFilePlus" | "lucideFilePlus2" | "lucideBookUp2" | "lucideFileClock" | "lucideRefreshCwOff" | "lucideListChecks" | "lucideFastForward" | "lucideBrushCleaning" | "lucideChartColumnIncreasing" | "lucideBell" | "lucideCheckCircle2" | "lucideAlertCircle" | "lucideXCircle" | "lucideLink" | "lucideDatabaseBackup" | "lucideFileCheck" | "lucideListChevronsDownUp" | "lucideListChevronsUpDown" | "lucideSun" | "lucideMoon" | "lucideLoader" | "lucideAlertOctagon" | "lucideMessageCircle" | "lucideCircleAlert" | "lucideMessageCircleQuestion" | "lucideComponent" | "lucidePanelRightOpen" | "lucideLoader2" | "lucideGithub" | "lucideLifeBuoy" | "lucideCloud" | "lucideBarChart" | "lucideHome" | "lucideFolderOpen" | "lucideSquarePen" | "lucideLayoutTemplate" | "lucideFileOutput" | "lucideCircleHelp" | "lucideGripHorizontal" | "lucideImage" | "lucideList" | "lucideHash" | "lucideMegaphone" | "lucidePenTool" | "lucideSquare" | "lucideRocket" | "lucideBarChart3" | "lucideUsers2" | "lucideGrid3x3" | "lucideFolderTree" | "lucideCheckCircle" | "lucideSliders" | "lucideFileEdit" | "lucideNavigation" | "lucideListFilter" | "lucideTextCursor" | "lucidePieChart" | "lucideUserSearch" | "lucideFolders" | "lucideSparkles" | "lucideSquareCheck" | "lucideCircleDot" | "lucideToggleLeft" | "lucideUpload" | "lucideUploadCloud" | "lucideDownload" | "lucideFile" | "lucideMusic" | "lucideFileCode" | "lucideFileJson" | "lucideFileArchive" | "lucideTable2" | "lucideGripVertical" | "lucidePin" | "lucideSearchX" | "lucideMoreVertical" | "lucideGitBranch" | "lucideAlertTriangle" | "lucideFilter" | "lucideFunnelX" | "lucideBan" | "lucideBuilding" | "lucideType" | undefined>;
16
+ readonly zSizeIcon: _angular_core.InputSignal<"10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30" | "31" | "32" | "33" | "34" | "35" | "36" | "37" | "38" | "39" | "40" | null | undefined>;
17
+ readonly zStrokeWidthIcon: _angular_core.InputSignal<number>;
18
+ readonly zWave: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
19
+ private readonly _zIconOnlyState;
20
+ private _mutationObserver;
21
+ protected readonly zIconOnly: _angular_core.Signal<boolean>;
22
+ protected readonly zClasses: _angular_core.Signal<string>;
23
+ private readonly _elementRef;
24
+ constructor();
25
+ ngOnDestroy(): void;
26
+ protected onWaveClick(): void;
27
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZButtonComponent, never>;
28
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZButtonComponent, "z-button, button[z-button], a[z-button]", ["zButton"], { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zType": { "alias": "zType"; "required": false; "isSignal": true; }; "zSize": { "alias": "zSize"; "required": false; "isSignal": true; }; "zShape": { "alias": "zShape"; "required": false; "isSignal": true; }; "zLabel": { "alias": "zLabel"; "required": false; "isSignal": true; }; "zLoading": { "alias": "zLoading"; "required": false; "isSignal": true; }; "zDisabled": { "alias": "zDisabled"; "required": false; "isSignal": true; }; "zTypeIcon": { "alias": "zTypeIcon"; "required": false; "isSignal": true; }; "zSizeIcon": { "alias": "zSizeIcon"; "required": false; "isSignal": true; }; "zStrokeWidthIcon": { "alias": "zStrokeWidthIcon"; "required": false; "isSignal": true; }; "zWave": { "alias": "zWave"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
29
+ }
30
+
31
+ declare const zButtonVariants: (props?: ({
32
+ zType?: "default" | "primary" | "secondary" | "destructive" | "success" | "info" | "warning" | "error" | "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;
33
+ zSize?: "default" | "xs" | "sm" | "lg" | "xl" | null | undefined;
34
+ zShape?: "default" | "circle" | "square" | null | undefined;
35
+ zLoading?: boolean | null | undefined;
36
+ zDisabled?: boolean | null | undefined;
37
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
38
+ type ZButtonVariants = VariantProps<typeof zButtonVariants>;
39
+
40
+ export { ZButtonComponent, zButtonVariants };
41
+ export type { ZButtonVariants };
@@ -0,0 +1,300 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { Signal, OnInit, ElementRef } from '@angular/core';
3
+ import { ControlValueAccessor } from '@angular/forms';
4
+ import { ClassValue } from 'clsx';
5
+ import { ZPopoverControl } from '@shival99/z-ui/components/z-popover';
6
+ import * as class_variance_authority_types from 'class-variance-authority/types';
7
+
8
+ interface ZCalendarDay {
9
+ date: Date;
10
+ day: number;
11
+ isCurrentMonth: boolean;
12
+ isToday: boolean;
13
+ isDisabled: boolean;
14
+ isSelected: boolean;
15
+ isInRange: boolean;
16
+ isRangeStart: boolean;
17
+ isRangeEnd: boolean;
18
+ isHovered: boolean;
19
+ }
20
+ interface ZDateRange {
21
+ start: Date | null;
22
+ end: Date | null;
23
+ }
24
+ type ZCalendarMode = 'single' | 'range' | 'time' | 'month' | 'year' | 'quarter';
25
+ type ZCalendarValueType = 'date' | 'iso' | 'string';
26
+ type ZCalendarView = 'day' | 'month' | 'year' | 'quarter';
27
+ type ZCalendarSize = 'sm' | 'default' | 'lg';
28
+ interface ZQuickSelectPreset {
29
+ key: string;
30
+ label: string;
31
+ getValue: () => ZDateRange | Date | null;
32
+ }
33
+ interface ZCalendarControl {
34
+ validate: () => void;
35
+ reset: () => void;
36
+ focus: () => void;
37
+ blur: () => void;
38
+ open: () => void;
39
+ close: () => void;
40
+ clear: () => void;
41
+ markAsTouched: () => void;
42
+ markAsUntouched: () => void;
43
+ markAsDirty: () => void;
44
+ markAsPristine: () => void;
45
+ hasError: Signal<boolean>;
46
+ isOpen: Signal<boolean>;
47
+ value: Signal<ZCalendarValue>;
48
+ errorMessage: Signal<string>;
49
+ }
50
+ type ZCalendarValue = Date | ZDateRange | string | null;
51
+ interface ZCalendarValidator {
52
+ error: string;
53
+ message: string;
54
+ validate: (value: ZCalendarValue) => boolean;
55
+ }
56
+
57
+ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
58
+ readonly class: _angular_core.InputSignal<ClassValue>;
59
+ readonly zMode: _angular_core.InputSignal<ZCalendarMode>;
60
+ readonly zSize: _angular_core.InputSignal<ZCalendarSize>;
61
+ readonly zLabel: _angular_core.InputSignal<string>;
62
+ readonly zLabelClass: _angular_core.InputSignal<string>;
63
+ readonly zPlaceholder: _angular_core.InputSignal<string>;
64
+ readonly zRequired: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
65
+ readonly zDisabled: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
66
+ readonly zReadonly: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
67
+ readonly zShowTime: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
68
+ readonly zTimeFormat: _angular_core.InputSignal<"12h" | "24h">;
69
+ readonly zShowHour: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
70
+ readonly zShowMinute: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
71
+ readonly zShowSecond: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
72
+ readonly zQuickSelect: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
73
+ readonly zAllowClear: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
74
+ readonly zFormat: _angular_core.InputSignal<string>;
75
+ readonly zMinDate: _angular_core.InputSignal<Date | null>;
76
+ readonly zMaxDate: _angular_core.InputSignal<Date | null>;
77
+ readonly zValueType: _angular_core.InputSignal<ZCalendarValueType>;
78
+ readonly zValidators: _angular_core.InputSignal<ZCalendarValidator[]>;
79
+ readonly zLocale: _angular_core.InputSignal<string>;
80
+ readonly zShowOk: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
81
+ readonly zOkText: _angular_core.InputSignal<string>;
82
+ readonly zShowCancel: _angular_core.InputSignalWithTransform<boolean, string | boolean>;
83
+ readonly zCancelText: _angular_core.InputSignal<string>;
84
+ readonly zDisabledDate: _angular_core.InputSignal<((date: Date) => boolean) | null>;
85
+ readonly zControl: _angular_core.OutputEmitterRef<ZCalendarControl>;
86
+ readonly zChange: _angular_core.OutputEmitterRef<ZCalendarValue>;
87
+ protected readonly triggerRef: _angular_core.Signal<ElementRef<HTMLDivElement> | undefined>;
88
+ protected readonly inputRef: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
89
+ protected readonly pickerId: string;
90
+ protected readonly weekdayNames: string[];
91
+ protected readonly monthNames: string[];
92
+ protected readonly quickSelectPresets: ZQuickSelectPreset[];
93
+ protected readonly formattedHour: _angular_core.Signal<string>;
94
+ protected readonly formattedMinute: _angular_core.Signal<string>;
95
+ protected readonly formattedSecond: _angular_core.Signal<string>;
96
+ private readonly _popoverControl;
97
+ private readonly _selectedDate;
98
+ private readonly _rangeStart;
99
+ private readonly _rangeEnd;
100
+ private readonly _hoveredDate;
101
+ private readonly _currentMonth;
102
+ private readonly _endMonth;
103
+ private readonly _currentView;
104
+ private readonly _endView;
105
+ private readonly _hour;
106
+ private readonly _minute;
107
+ private readonly _second;
108
+ private readonly _period;
109
+ private readonly _hourEnd;
110
+ private readonly _minuteEnd;
111
+ private readonly _secondEnd;
112
+ private readonly _periodEnd;
113
+ private readonly _disabled;
114
+ private readonly _touched;
115
+ private readonly _dirty;
116
+ private readonly _formControl;
117
+ private readonly _formStateVersion;
118
+ private readonly _inputDisplayValue;
119
+ private readonly _backupSelectedDate;
120
+ private readonly _backupRangeStart;
121
+ private readonly _backupRangeEnd;
122
+ private readonly _activePresetKey;
123
+ private readonly _hasViewChanged;
124
+ private readonly _hasEndViewChanged;
125
+ private readonly _appliedViaOk;
126
+ private readonly _skipBlurHandler;
127
+ private readonly _injector;
128
+ private readonly _destroyRef;
129
+ private readonly _cdr;
130
+ private _onChange;
131
+ private _onTouched;
132
+ private _ngControl;
133
+ protected readonly isOpen: _angular_core.Signal<boolean>;
134
+ protected readonly hoveredDate: _angular_core.Signal<Date | null>;
135
+ protected readonly currentView: _angular_core.Signal<ZCalendarView>;
136
+ protected readonly hour: _angular_core.Signal<number>;
137
+ protected readonly minute: _angular_core.Signal<number>;
138
+ protected readonly second: _angular_core.Signal<number>;
139
+ protected readonly period: _angular_core.Signal<"AM" | "PM">;
140
+ protected readonly inputDisplayValue: _angular_core.Signal<string>;
141
+ protected readonly activePresetKey: _angular_core.Signal<string | null>;
142
+ protected readonly hasViewChanged: _angular_core.Signal<boolean>;
143
+ protected readonly hasEndViewChanged: _angular_core.Signal<boolean>;
144
+ protected readonly quarterNames: string[];
145
+ protected readonly currentQuarterIndex: _angular_core.Signal<number>;
146
+ protected readonly isDisabled: _angular_core.Signal<boolean>;
147
+ protected readonly isRangeMode: _angular_core.Signal<boolean>;
148
+ protected readonly canApply: _angular_core.Signal<boolean>;
149
+ protected readonly showOkButton: _angular_core.Signal<boolean>;
150
+ protected readonly showCancelButton: _angular_core.Signal<boolean>;
151
+ protected readonly isTimeMode: _angular_core.Signal<boolean>;
152
+ protected readonly isMonthMode: _angular_core.Signal<boolean>;
153
+ protected readonly isYearMode: _angular_core.Signal<boolean>;
154
+ protected readonly isQuarterMode: _angular_core.Signal<boolean>;
155
+ protected readonly todayButtonText: _angular_core.Signal<"Quý này" | "Năm này" | "Tháng này" | "Bây giờ" | "Hôm nay">;
156
+ protected readonly currentMonth: _angular_core.Signal<Date>;
157
+ protected readonly currentYear: _angular_core.Signal<number>;
158
+ protected readonly currentMonthIndex: _angular_core.Signal<number>;
159
+ protected readonly currentMonthName: _angular_core.Signal<string>;
160
+ protected readonly yearRange: _angular_core.Signal<number[]>;
161
+ protected readonly yearRangeSmall: _angular_core.Signal<number[]>;
162
+ protected readonly calendarDays: _angular_core.Signal<ZCalendarDay[][]>;
163
+ protected readonly endMonth: _angular_core.Signal<Date>;
164
+ protected readonly endMonthName: _angular_core.Signal<string>;
165
+ protected readonly endMonthYear: _angular_core.Signal<number>;
166
+ protected readonly calendarDaysEnd: _angular_core.Signal<ZCalendarDay[][]>;
167
+ protected readonly formattedHourEnd: _angular_core.Signal<string>;
168
+ protected readonly formattedMinuteEnd: _angular_core.Signal<string>;
169
+ protected readonly formattedSecondEnd: _angular_core.Signal<string>;
170
+ protected readonly periodEnd: _angular_core.Signal<"AM" | "PM">;
171
+ protected readonly endView: _angular_core.Signal<ZCalendarView>;
172
+ protected readonly endYearRange: _angular_core.Signal<number[]>;
173
+ protected isStartMonthDisabled(monthIndex: number): boolean;
174
+ protected isEndMonthDisabled(monthIndex: number): boolean;
175
+ protected isStartYearDisabled(year: number): boolean;
176
+ protected isEndYearDisabled(year: number): boolean;
177
+ protected readonly canNavigateStartNext: _angular_core.Signal<boolean>;
178
+ protected readonly canNavigateEndPrev: _angular_core.Signal<boolean>;
179
+ protected readonly displayValue: _angular_core.Signal<string>;
180
+ private readonly _inputDisplayStart;
181
+ private readonly _inputDisplayEnd;
182
+ protected readonly inputDisplayStart: _angular_core.Signal<string>;
183
+ protected readonly inputDisplayEnd: _angular_core.Signal<string>;
184
+ protected readonly displayValueStart: _angular_core.Signal<string>;
185
+ protected readonly displayValueEnd: _angular_core.Signal<string>;
186
+ private _getDisplayFormat;
187
+ protected readonly showClearButton: _angular_core.Signal<boolean>;
188
+ protected readonly hasValue: _angular_core.Signal<boolean>;
189
+ protected readonly currentStatus: _angular_core.Signal<"default" | "disabled" | "readonly" | "open" | "error">;
190
+ protected readonly triggerClasses: _angular_core.Signal<string>;
191
+ private readonly _shouldShowValidation;
192
+ protected readonly hasError: _angular_core.Signal<boolean>;
193
+ protected readonly showError: _angular_core.Signal<boolean>;
194
+ protected readonly errorMessage: _angular_core.Signal<string>;
195
+ constructor();
196
+ ngOnInit(): void;
197
+ writeValue(value: ZCalendarValue): void;
198
+ registerOnChange(fn: (value: ZCalendarValue) => void): void;
199
+ registerOnTouched(fn: () => void): void;
200
+ setDisabledState(isDisabled: boolean): void;
201
+ open(): void;
202
+ close(): void;
203
+ toggle(): void;
204
+ clear(): void;
205
+ focus(): void;
206
+ blur(): void;
207
+ reset(): void;
208
+ validate(): void;
209
+ markAsTouched(): void;
210
+ markAsUntouched(): void;
211
+ markAsDirty(): void;
212
+ markAsPristine(): void;
213
+ protected onPopoverShow(): void;
214
+ private _initializeTimeIfNeeded;
215
+ private _syncEndTimeSignals;
216
+ private _resetCalendarsToDefault;
217
+ private _backupIfNeeded;
218
+ protected onPopoverHide(): void;
219
+ private _restoreFromBackup;
220
+ protected onPopoverControl(control: ZPopoverControl): void;
221
+ protected onTriggerKeydown(event: KeyboardEvent): void;
222
+ protected onInputChange(event: Event): void;
223
+ private _getExpectedFormatLength;
224
+ protected onStartInputChange(event: Event): void;
225
+ protected onEndInputChange(event: Event): void;
226
+ protected onStartInputEnter(event: Event): void;
227
+ protected onEndInputEnter(event: Event): void;
228
+ protected onInputFocus(_event: FocusEvent): void;
229
+ protected onInputBlur(event: FocusEvent): void;
230
+ protected onInputEnter(event: Event): void;
231
+ protected onCalendarKeydown(event: KeyboardEvent): void;
232
+ protected onDayClick(day: ZCalendarDay): void;
233
+ protected onDayHover(day: ZCalendarDay): void;
234
+ protected onDayLeave(): void;
235
+ protected onMonthClick(monthIndex: number): void;
236
+ protected onYearClick(year: number): void;
237
+ protected onQuarterClick(quarterIndex: number): void;
238
+ protected onMonthSelect(monthIndex: number): void;
239
+ protected onQuickSelect(preset: ZQuickSelectPreset): void;
240
+ protected onTodayClick(): void;
241
+ protected onClear(event: MouseEvent): void;
242
+ protected onCancelClick(): void;
243
+ protected onOkClick(): void;
244
+ protected navigatePrevious(): void;
245
+ protected navigateNext(): void;
246
+ protected navigatePreviousFast(): void;
247
+ protected navigateNextFast(): void;
248
+ protected setView(view: ZCalendarView): void;
249
+ protected setEndView(view: ZCalendarView): void;
250
+ protected onEndMonthClick(monthIndex: number): void;
251
+ protected onEndYearClick(year: number): void;
252
+ protected onHourInput(event: Event): void;
253
+ protected onMinuteInput(event: Event): void;
254
+ protected onSecondInput(event: Event): void;
255
+ protected onTimeBlur(event: Event): void;
256
+ protected navigateEndPrevious(): void;
257
+ protected navigateEndNext(): void;
258
+ protected navigateEndPreviousFast(): void;
259
+ protected navigateEndNextFast(): void;
260
+ protected onHourEndInput(event: Event): void;
261
+ protected onMinuteEndInput(event: Event): void;
262
+ protected onSecondEndInput(event: Event): void;
263
+ protected onTimeBlurEnd(event: Event): void;
264
+ protected togglePeriodEnd(): void;
265
+ private _updateEndTimeToDate;
266
+ private _handleSingleSelection;
267
+ private _handleRangeSelection;
268
+ private _updateTimeToDate;
269
+ private _detectMatchingPreset;
270
+ private _applyValue;
271
+ private _getEmitValue;
272
+ private _getValidationErrors;
273
+ private _navigateByArrowKey;
274
+ private _syncTimeSignals;
275
+ private _getParseFormat;
276
+ private _updateInputDisplay;
277
+ private _clearDateValues;
278
+ private _emitControl;
279
+ protected togglePeriod(): void;
280
+ protected onPeriodChange(event: Event): void;
281
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZCalendarComponent, never>;
282
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ZCalendarComponent, "z-calendar", ["zCalendar"], { "class": { "alias": "class"; "required": false; "isSignal": true; }; "zMode": { "alias": "zMode"; "required": false; "isSignal": true; }; "zSize": { "alias": "zSize"; "required": false; "isSignal": true; }; "zLabel": { "alias": "zLabel"; "required": false; "isSignal": true; }; "zLabelClass": { "alias": "zLabelClass"; "required": false; "isSignal": true; }; "zPlaceholder": { "alias": "zPlaceholder"; "required": false; "isSignal": true; }; "zRequired": { "alias": "zRequired"; "required": false; "isSignal": true; }; "zDisabled": { "alias": "zDisabled"; "required": false; "isSignal": true; }; "zReadonly": { "alias": "zReadonly"; "required": false; "isSignal": true; }; "zShowTime": { "alias": "zShowTime"; "required": false; "isSignal": true; }; "zTimeFormat": { "alias": "zTimeFormat"; "required": false; "isSignal": true; }; "zShowHour": { "alias": "zShowHour"; "required": false; "isSignal": true; }; "zShowMinute": { "alias": "zShowMinute"; "required": false; "isSignal": true; }; "zShowSecond": { "alias": "zShowSecond"; "required": false; "isSignal": true; }; "zQuickSelect": { "alias": "zQuickSelect"; "required": false; "isSignal": true; }; "zAllowClear": { "alias": "zAllowClear"; "required": false; "isSignal": true; }; "zFormat": { "alias": "zFormat"; "required": false; "isSignal": true; }; "zMinDate": { "alias": "zMinDate"; "required": false; "isSignal": true; }; "zMaxDate": { "alias": "zMaxDate"; "required": false; "isSignal": true; }; "zValueType": { "alias": "zValueType"; "required": false; "isSignal": true; }; "zValidators": { "alias": "zValidators"; "required": false; "isSignal": true; }; "zLocale": { "alias": "zLocale"; "required": false; "isSignal": true; }; "zShowOk": { "alias": "zShowOk"; "required": false; "isSignal": true; }; "zOkText": { "alias": "zOkText"; "required": false; "isSignal": true; }; "zShowCancel": { "alias": "zShowCancel"; "required": false; "isSignal": true; }; "zCancelText": { "alias": "zCancelText"; "required": false; "isSignal": true; }; "zDisabledDate": { "alias": "zDisabledDate"; "required": false; "isSignal": true; }; }, { "zControl": "zControl"; "zChange": "zChange"; }, never, never, true, never>;
283
+ }
284
+
285
+ declare const zCalendarVariants: (props?: ({
286
+ zSize?: "sm" | "default" | "lg" | null | undefined;
287
+ zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
288
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
289
+ declare const zCalendarDayVariants: (props?: ({
290
+ state?: "default" | "disabled" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "otherMonth" | "hovered" | null | undefined;
291
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
292
+ declare const zCalendarMonthVariants: (props?: ({
293
+ state?: "default" | "disabled" | "selected" | "current" | null | undefined;
294
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
295
+ declare const zCalendarYearVariants: (props?: ({
296
+ state?: "default" | "disabled" | "selected" | "current" | null | undefined;
297
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
298
+
299
+ export { ZCalendarComponent, zCalendarDayVariants, zCalendarMonthVariants, zCalendarVariants, zCalendarYearVariants };
300
+ export type { ZCalendarControl, ZCalendarMode, ZCalendarSize, ZCalendarValidator, ZCalendarValue, ZCalendarValueType, ZCalendarView };