@shival99/z-ui 1.4.16 → 1.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/shival99-z-ui-components-z-calendar.mjs +1 -0
- package/fesm2022/shival99-z-ui-components-z-calendar.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-editor.mjs +9 -4
- package/fesm2022/shival99-z-ui-components-z-editor.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-input.mjs +8 -4
- package/fesm2022/shival99-z-ui-components-z-input.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-pagination.mjs +4 -2
- package/fesm2022/shival99-z-ui-components-z-pagination.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-select.mjs +1 -0
- package/fesm2022/shival99-z-ui-components-z-select.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-table.mjs +4 -3
- package/fesm2022/shival99-z-ui-components-z-table.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-components-z-upload.mjs +1 -0
- package/fesm2022/shival99-z-ui-components-z-upload.mjs.map +1 -1
- package/fesm2022/shival99-z-ui-i18n.mjs +24 -24
- package/fesm2022/shival99-z-ui-i18n.mjs.map +1 -1
- package/package.json +1 -1
- package/types/shival99-z-ui-components-z-calendar.d.ts +2 -2
- package/types/shival99-z-ui-components-z-editor.d.ts +3 -3
- package/types/shival99-z-ui-components-z-input.d.ts +4 -4
- package/types/shival99-z-ui-components-z-select.d.ts +2 -2
- package/types/shival99-z-ui-components-z-table.d.ts +1 -1
- package/types/shival99-z-ui-components-z-upload.d.ts +2 -2
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|