@shival99/z-vnetcity 1.4.13 → 1.4.17
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-vnetcity-components-z-calendar.mjs +1 -0
- package/fesm2022/shival99-z-vnetcity-components-z-calendar.mjs.map +1 -1
- package/fesm2022/shival99-z-vnetcity-components-z-editor.mjs +1 -0
- package/fesm2022/shival99-z-vnetcity-components-z-editor.mjs.map +1 -1
- package/fesm2022/shival99-z-vnetcity-components-z-input.mjs +1 -0
- package/fesm2022/shival99-z-vnetcity-components-z-input.mjs.map +1 -1
- package/fesm2022/shival99-z-vnetcity-components-z-select.mjs +1 -0
- package/fesm2022/shival99-z-vnetcity-components-z-select.mjs.map +1 -1
- package/fesm2022/shival99-z-vnetcity-components-z-table.mjs +4 -3
- package/fesm2022/shival99-z-vnetcity-components-z-table.mjs.map +1 -1
- package/fesm2022/shival99-z-vnetcity-components-z-upload.mjs +1 -0
- package/fesm2022/shival99-z-vnetcity-components-z-upload.mjs.map +1 -1
- package/fesm2022/shival99-z-vnetcity-services.mjs +1 -0
- package/fesm2022/shival99-z-vnetcity-services.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-vnetcity-components-z-calendar.d.ts +6 -6
- package/types/shival99-z-vnetcity-components-z-editor.d.ts +3 -3
- package/types/shival99-z-vnetcity-components-z-input.d.ts +4 -4
- package/types/shival99-z-vnetcity-components-z-select.d.ts +3 -3
- package/types/shival99-z-vnetcity-components-z-table.d.ts +1 -1
- package/types/shival99-z-vnetcity-components-z-upload.d.ts +5 -5
- package/types/shival99-z-vnetcity-services.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shival99/z-vnetcity",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.17",
|
|
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",
|
|
@@ -40,7 +40,7 @@ interface ZCalendarState {
|
|
|
40
40
|
open: boolean;
|
|
41
41
|
}
|
|
42
42
|
interface ZCalendarControl {
|
|
43
|
-
validate: () =>
|
|
43
|
+
validate: () => boolean;
|
|
44
44
|
reset: () => void;
|
|
45
45
|
focus: () => void;
|
|
46
46
|
blur: () => void;
|
|
@@ -278,7 +278,7 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
|
|
|
278
278
|
focus(): void;
|
|
279
279
|
blur(): void;
|
|
280
280
|
reset(): void;
|
|
281
|
-
validate():
|
|
281
|
+
validate(): boolean;
|
|
282
282
|
markAsTouched(): void;
|
|
283
283
|
markAsUntouched(): void;
|
|
284
284
|
markAsDirty(): void;
|
|
@@ -395,16 +395,16 @@ declare class ZCalendarComponent implements OnInit, ControlValueAccessor {
|
|
|
395
395
|
|
|
396
396
|
declare const zCalendarVariants: (props?: ({
|
|
397
397
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
398
|
-
zStatus?: "default" | "disabled" | "
|
|
398
|
+
zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
|
|
399
399
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
400
400
|
declare const zCalendarDayVariants: (props?: ({
|
|
401
|
-
state?: "default" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "
|
|
401
|
+
state?: "default" | "disabled" | "today" | "selected" | "inRange" | "rangeStart" | "rangeEnd" | "rangeSingle" | "otherMonth" | "hovered" | null | undefined;
|
|
402
402
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
403
403
|
declare const zCalendarMonthVariants: (props?: ({
|
|
404
|
-
state?: "default" | "
|
|
404
|
+
state?: "default" | "current" | "disabled" | "selected" | null | undefined;
|
|
405
405
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
406
406
|
declare const zCalendarYearVariants: (props?: ({
|
|
407
|
-
state?: "default" | "
|
|
407
|
+
state?: "default" | "current" | "disabled" | "selected" | null | undefined;
|
|
408
408
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
409
409
|
|
|
410
410
|
export { ZCalendarComponent, zCalendarDayVariants, zCalendarMonthVariants, zCalendarVariants, zCalendarYearVariants };
|
|
@@ -15,7 +15,7 @@ interface ZEditorControl {
|
|
|
15
15
|
getContent: () => string;
|
|
16
16
|
getText: () => string;
|
|
17
17
|
getLength: () => number;
|
|
18
|
-
validate: () =>
|
|
18
|
+
validate: () => boolean;
|
|
19
19
|
reset: () => void;
|
|
20
20
|
markAsTouched: () => void;
|
|
21
21
|
markAsUntouched: () => void;
|
|
@@ -100,7 +100,7 @@ declare class ZEditorComponent implements OnInit, ControlValueAccessor {
|
|
|
100
100
|
markAsPristine(): void;
|
|
101
101
|
markAsUntouched(): void;
|
|
102
102
|
setValue(content: string): void;
|
|
103
|
-
validate():
|
|
103
|
+
validate(): boolean;
|
|
104
104
|
reset(): void;
|
|
105
105
|
private _emitControl;
|
|
106
106
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ZEditorComponent, never>;
|
|
@@ -109,7 +109,7 @@ declare class ZEditorComponent implements OnInit, ControlValueAccessor {
|
|
|
109
109
|
|
|
110
110
|
declare const zEditorVariants: (props?: ({
|
|
111
111
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
112
|
-
zStatus?: "default" | "
|
|
112
|
+
zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
|
|
113
113
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
114
114
|
type ZEditorVariants = VariantProps<typeof zEditorVariants>;
|
|
115
115
|
|
|
@@ -15,7 +15,7 @@ interface ZInputState {
|
|
|
15
15
|
readonly: boolean;
|
|
16
16
|
}
|
|
17
17
|
interface ZInputControl {
|
|
18
|
-
validate: () =>
|
|
18
|
+
validate: () => boolean;
|
|
19
19
|
reset: () => void;
|
|
20
20
|
focus: () => void;
|
|
21
21
|
blur: () => void;
|
|
@@ -155,7 +155,7 @@ declare class ZInputComponent implements OnInit, ControlValueAccessor {
|
|
|
155
155
|
markAsUntouched(): void;
|
|
156
156
|
markAsDirty(): void;
|
|
157
157
|
markAsPristine(): void;
|
|
158
|
-
validate():
|
|
158
|
+
validate(): boolean;
|
|
159
159
|
reset(): void;
|
|
160
160
|
setValue(value: string | number | null): void;
|
|
161
161
|
getValue(): string | number | null;
|
|
@@ -187,11 +187,11 @@ declare class ZInputComponent implements OnInit, ControlValueAccessor {
|
|
|
187
187
|
|
|
188
188
|
declare const zInputVariants: (props?: ({
|
|
189
189
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
190
|
-
zStatus?: "default" | "
|
|
190
|
+
zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
|
|
191
191
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
192
192
|
type ZInputVariants = VariantProps<typeof zInputVariants>;
|
|
193
193
|
declare const zTextareaVariants: (props?: ({
|
|
194
|
-
zStatus?: "default" | "
|
|
194
|
+
zStatus?: "default" | "disabled" | "readonly" | "error" | null | undefined;
|
|
195
195
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
196
196
|
type ZTextareaVariants = VariantProps<typeof zTextareaVariants>;
|
|
197
197
|
|
|
@@ -29,7 +29,7 @@ interface ZSelectState {
|
|
|
29
29
|
open: boolean;
|
|
30
30
|
}
|
|
31
31
|
interface ZSelectControl<T = unknown> {
|
|
32
|
-
validate: () =>
|
|
32
|
+
validate: () => boolean;
|
|
33
33
|
reset: () => void;
|
|
34
34
|
focus: () => void;
|
|
35
35
|
blur: () => void;
|
|
@@ -222,7 +222,7 @@ declare class ZSelectComponent<T = unknown> implements OnInit, ControlValueAcces
|
|
|
222
222
|
markAsUntouched(): void;
|
|
223
223
|
markAsDirty(): void;
|
|
224
224
|
markAsPristine(): void;
|
|
225
|
-
validate():
|
|
225
|
+
validate(): boolean;
|
|
226
226
|
protected onTriggerKeydown(event: KeyboardEvent): void;
|
|
227
227
|
protected onTriggerMousedown(): void;
|
|
228
228
|
protected toggleDropdown(): void;
|
|
@@ -271,7 +271,7 @@ declare class ZTagClassesPipe implements PipeTransform {
|
|
|
271
271
|
|
|
272
272
|
declare const zSelectVariants: (props?: ({
|
|
273
273
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
274
|
-
zStatus?: "default" | "
|
|
274
|
+
zStatus?: "default" | "disabled" | "readonly" | "open" | "error" | null | undefined;
|
|
275
275
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
276
276
|
declare const zSelectTagVariants: (props?: ({
|
|
277
277
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
@@ -604,7 +604,7 @@ declare class ZTableActionsComponent<T = unknown> {
|
|
|
604
604
|
readonly zConfig: _angular_core.InputSignal<ZTableActionColumnConfig<T>>;
|
|
605
605
|
readonly zRow: _angular_core.InputSignal<T>;
|
|
606
606
|
readonly zRowId: _angular_core.InputSignal<string>;
|
|
607
|
-
readonly zDropdownButtonSize: _angular_core.InputSignal<"
|
|
607
|
+
readonly zDropdownButtonSize: _angular_core.InputSignal<"default" | "xs" | "sm" | "lg" | "xl" | null | undefined>;
|
|
608
608
|
readonly zActionClick: _angular_core.OutputEmitterRef<ZTableActionClickEvent<T>>;
|
|
609
609
|
protected readonly allActions: _angular_core.Signal<ZTableActionItem<T>[]>;
|
|
610
610
|
protected readonly shouldShowAsButtons: _angular_core.Signal<boolean>;
|
|
@@ -27,7 +27,7 @@ interface ZUploadValidator {
|
|
|
27
27
|
validate?: (files: ZUploadFile[]) => boolean;
|
|
28
28
|
}
|
|
29
29
|
interface ZUploadControl {
|
|
30
|
-
validate: () =>
|
|
30
|
+
validate: () => boolean;
|
|
31
31
|
reset: () => void;
|
|
32
32
|
clearFiles: () => void;
|
|
33
33
|
openFileDialog: () => void;
|
|
@@ -86,7 +86,7 @@ declare class ZUploadComponent implements OnInit, ControlValueAccessor {
|
|
|
86
86
|
protected readonly hasError: _angular_core.Signal<boolean>;
|
|
87
87
|
protected readonly showError: _angular_core.Signal<boolean>;
|
|
88
88
|
protected readonly errorMessage: _angular_core.Signal<string>;
|
|
89
|
-
protected readonly currentStatus: _angular_core.Signal<"default" | "
|
|
89
|
+
protected readonly currentStatus: _angular_core.Signal<"default" | "disabled" | "readonly" | "error" | "active">;
|
|
90
90
|
protected readonly dropzoneClasses: _angular_core.Signal<string>;
|
|
91
91
|
protected readonly acceptTypes: _angular_core.Signal<string>;
|
|
92
92
|
protected readonly formatFileSize: (bytes: number) => string;
|
|
@@ -99,7 +99,7 @@ declare class ZUploadComponent implements OnInit, ControlValueAccessor {
|
|
|
99
99
|
updateProgress(fileId: string, progress: number): void;
|
|
100
100
|
setFileStatus(fileId: string, status: ZUploadFile['status']): void;
|
|
101
101
|
clearFiles(): void;
|
|
102
|
-
validate():
|
|
102
|
+
validate(): boolean;
|
|
103
103
|
reset(): void;
|
|
104
104
|
markAsTouched(): void;
|
|
105
105
|
markAsUntouched(): void;
|
|
@@ -125,11 +125,11 @@ declare class ZUploadComponent implements OnInit, ControlValueAccessor {
|
|
|
125
125
|
|
|
126
126
|
declare const zUploadDropzoneVariants: (props?: ({
|
|
127
127
|
zSize?: "sm" | "default" | "lg" | null | undefined;
|
|
128
|
-
zStatus?: "default" | "
|
|
128
|
+
zStatus?: "default" | "disabled" | "readonly" | "error" | "active" | null | undefined;
|
|
129
129
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
130
130
|
type ZUploadDropzoneVariants = VariantProps<typeof zUploadDropzoneVariants>;
|
|
131
131
|
declare const zUploadFileItemVariants: (props?: ({
|
|
132
|
-
zStatus?: "
|
|
132
|
+
zStatus?: "error" | "pending" | "uploading" | "success" | null | undefined;
|
|
133
133
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
134
134
|
type ZUploadFileItemVariants = VariantProps<typeof zUploadFileItemVariants>;
|
|
135
135
|
|
|
@@ -474,7 +474,7 @@ declare class ZSubjectService {
|
|
|
474
474
|
static ɵprov: i0.ɵɵInjectableDeclaration<ZSubjectService>;
|
|
475
475
|
}
|
|
476
476
|
|
|
477
|
-
type ZThemeName = 'green' | 'orange' | 'violet' | 'neutral' | 'stone' | 'zinc' | 'gray' | 'slate' | 'hospital';
|
|
477
|
+
type ZThemeName = 'green' | 'orange' | 'violet' | 'neutral' | 'stone' | 'zinc' | 'gray' | 'slate' | 'hospital' | 'homy';
|
|
478
478
|
interface ZThemeConfig {
|
|
479
479
|
defaultTheme?: ZThemeName;
|
|
480
480
|
defaultDarkMode?: boolean;
|