@katlux/toolkit 0.1.1-alpha.92 → 0.1.1-alpha.95
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/dist/compiled/composables/locales.mjs +554 -0
- package/dist/compiled/composables/useKatluxI18n.mjs +56 -0
- package/dist/compiled/composables/useKatluxI18n.spec.mjs +10 -0
- package/dist/compiled/composables/usePresetComponent.mjs +6 -12
- package/dist/module.cjs +2 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -1
- package/dist/runtime/components/KButton/KButton.global.d.vue.ts +1 -1
- package/dist/runtime/components/KButton/KButton.global.vue.d.ts +1 -1
- package/dist/runtime/components/KButton/KButton.logic.d.ts +1 -1
- package/dist/runtime/components/KCheckbox/KCheckbox.global.d.vue.ts +1 -1
- package/dist/runtime/components/KCheckbox/KCheckbox.global.vue.d.ts +1 -1
- package/dist/runtime/components/KCombobox/KCombobox.global.d.vue.ts +2 -2
- package/dist/runtime/components/KCombobox/KCombobox.global.vue.d.ts +2 -2
- package/dist/runtime/components/KCombobox/KCombobox.logic.d.ts +1 -1
- package/dist/runtime/components/KCompositeInput/KCompositeInput.global.d.vue.ts +8 -8
- package/dist/runtime/components/KCompositeInput/KCompositeInput.global.vue.d.ts +8 -8
- package/dist/runtime/components/KCompositeInput/KCompositeInput.logic.d.ts +3 -3
- package/dist/runtime/components/KDatePicker/KDatePicker.global.d.vue.ts +2 -2
- package/dist/runtime/components/KDatePicker/KDatePicker.global.vue.d.ts +2 -2
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.d.vue.ts +2 -2
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.vue.d.ts +2 -2
- package/dist/runtime/components/KGantt/KGantt.global.d.vue.ts +9 -9
- package/dist/runtime/components/KGantt/KGantt.global.vue.d.ts +9 -9
- package/dist/runtime/components/KGantt/KGantt.logic.d.ts +4 -4
- package/dist/runtime/components/KHourPicker/KHourPicker.global.d.vue.ts +2 -2
- package/dist/runtime/components/KHourPicker/KHourPicker.global.vue.d.ts +2 -2
- package/dist/runtime/components/KIcon/KIcon.global.d.vue.ts +6 -6
- package/dist/runtime/components/KIcon/KIcon.global.vue.d.ts +6 -6
- package/dist/runtime/components/KIcon/KIcon.logic.d.ts +3 -3
- package/dist/runtime/components/KLoader/KLoader.global.d.vue.ts +1 -1
- package/dist/runtime/components/KLoader/KLoader.global.vue.d.ts +1 -1
- package/dist/runtime/components/KSlider/KSlider.global.d.vue.ts +1 -1
- package/dist/runtime/components/KSlider/KSlider.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTextarea/KTextarea.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTextarea/KTextarea.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTextbox/KTextbox.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTextbox/KTextbox.global.vue.d.ts +1 -1
- package/dist/runtime/components/KToast/KToast.global.d.vue.ts +1 -1
- package/dist/runtime/components/KToast/KToast.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTooltip/KTooltip.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTooltip/KTooltip.global.vue.d.ts +1 -1
- package/dist/runtime/components/KTreePicker/KTreePicker.global.d.vue.ts +1 -1
- package/dist/runtime/components/KTreePicker/KTreePicker.global.vue.d.ts +1 -1
- package/dist/runtime/composables/locales.d.ts +28 -0
- package/dist/runtime/composables/locales.js +554 -0
- package/dist/runtime/composables/useKatluxI18n.d.ts +15 -0
- package/dist/runtime/composables/useKatluxI18n.js +56 -0
- package/dist/runtime/composables/usePresetComponent.d.ts +3 -9
- package/dist/runtime/composables/usePresetComponent.js +6 -12
- package/dist/runtime/plugins/PresetPlugin.js +11 -12
- package/dist/runtime/presets/default/components/KAlert/KAlert.vue +2 -3
- package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.vue +2 -2
- package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue +2 -2
- package/dist/runtime/presets/default/components/KModal/KModal.vue +2 -2
- package/dist/runtime/presets/default/components/KPagination/KPagination.vue +2 -2
- package/dist/runtime/presets/default/components/KTabs/KTabs.vue +2 -2
- package/dist/runtime/presets/default/components/KTextbox/KTextbox.vue +2 -2
- package/dist/runtime/presets/default/components/KTree/KTree.vue +2 -2
- package/package.json +2 -1
|
@@ -4,15 +4,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4
4
|
required: boolean;
|
|
5
5
|
};
|
|
6
6
|
width: {
|
|
7
|
-
type: (
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
8
|
default: undefined;
|
|
9
9
|
};
|
|
10
10
|
height: {
|
|
11
|
-
type: (
|
|
11
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
12
12
|
default: number;
|
|
13
13
|
};
|
|
14
14
|
rotate: {
|
|
15
|
-
type: (
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
16
|
default: number;
|
|
17
17
|
};
|
|
18
18
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -21,15 +21,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
21
21
|
required: boolean;
|
|
22
22
|
};
|
|
23
23
|
width: {
|
|
24
|
-
type: (
|
|
24
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
25
25
|
default: undefined;
|
|
26
26
|
};
|
|
27
27
|
height: {
|
|
28
|
-
type: (
|
|
28
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
29
29
|
default: number;
|
|
30
30
|
};
|
|
31
31
|
rotate: {
|
|
32
|
-
type: (
|
|
32
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
33
33
|
default: number;
|
|
34
34
|
};
|
|
35
35
|
}>> & Readonly<{}>, {
|
|
@@ -10,15 +10,15 @@ export declare const KIconDefaultProps: {
|
|
|
10
10
|
required: boolean;
|
|
11
11
|
};
|
|
12
12
|
width: {
|
|
13
|
-
type: (
|
|
13
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
14
14
|
default: undefined;
|
|
15
15
|
};
|
|
16
16
|
height: {
|
|
17
|
-
type: (
|
|
17
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
18
18
|
default: number;
|
|
19
19
|
};
|
|
20
20
|
rotate: {
|
|
21
|
-
type: (
|
|
21
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
22
22
|
default: number;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
@@ -26,8 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
26
26
|
};
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
28
28
|
size: "small" | "large" | "medium";
|
|
29
|
-
overlay: boolean;
|
|
30
29
|
loading: boolean;
|
|
30
|
+
overlay: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
33
33
|
export default _default;
|
|
@@ -26,8 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
26
26
|
};
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
28
28
|
size: "small" | "large" | "medium";
|
|
29
|
-
overlay: boolean;
|
|
30
29
|
loading: boolean;
|
|
30
|
+
overlay: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
33
33
|
export default _default;
|
|
@@ -54,8 +54,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
54
54
|
"onUpdate:value"?: ((value: any) => any) | undefined;
|
|
55
55
|
}>, {
|
|
56
56
|
label: string;
|
|
57
|
-
value: number;
|
|
58
57
|
disabled: boolean;
|
|
58
|
+
value: number;
|
|
59
59
|
step: number;
|
|
60
60
|
min: number;
|
|
61
61
|
max: number;
|
|
@@ -54,8 +54,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
54
54
|
"onUpdate:value"?: ((value: any) => any) | undefined;
|
|
55
55
|
}>, {
|
|
56
56
|
label: string;
|
|
57
|
-
value: number;
|
|
58
57
|
disabled: boolean;
|
|
58
|
+
value: number;
|
|
59
59
|
step: number;
|
|
60
60
|
min: number;
|
|
61
61
|
max: number;
|
|
@@ -56,8 +56,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
56
56
|
}>> & Readonly<{
|
|
57
57
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
58
58
|
}>, {
|
|
59
|
-
label: string;
|
|
60
59
|
rows: number;
|
|
60
|
+
label: string;
|
|
61
61
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
62
62
|
validationText: string;
|
|
63
63
|
placeholder: string;
|
|
@@ -56,8 +56,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
56
56
|
}>> & Readonly<{
|
|
57
57
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
58
58
|
}>, {
|
|
59
|
-
label: string;
|
|
60
59
|
rows: number;
|
|
60
|
+
label: string;
|
|
61
61
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
62
62
|
validationText: string;
|
|
63
63
|
placeholder: string;
|
|
@@ -66,8 +66,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
66
66
|
}>> & Readonly<{
|
|
67
67
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
68
68
|
}>, {
|
|
69
|
+
type: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
|
|
69
70
|
label: string;
|
|
70
|
-
type: "number" | "text" | "url" | "search" | "password" | "email" | "tel" | undefined;
|
|
71
71
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
72
72
|
validationText: string;
|
|
73
73
|
modelValue: string;
|
|
@@ -66,8 +66,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
66
66
|
}>> & Readonly<{
|
|
67
67
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
68
68
|
}>, {
|
|
69
|
+
type: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
|
|
69
70
|
label: string;
|
|
70
|
-
type: "number" | "text" | "url" | "search" | "password" | "email" | "tel" | undefined;
|
|
71
71
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
72
72
|
validationText: string;
|
|
73
73
|
modelValue: string;
|
|
@@ -47,8 +47,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
47
47
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
48
48
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
49
|
}>, {
|
|
50
|
-
text: string;
|
|
51
50
|
type: import("./KToast.logic.js").KToastType;
|
|
51
|
+
text: string;
|
|
52
52
|
modelValue: boolean;
|
|
53
53
|
timeout: number;
|
|
54
54
|
teleport: boolean;
|
|
@@ -47,8 +47,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
47
47
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
48
48
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
49
|
}>, {
|
|
50
|
-
text: string;
|
|
51
50
|
type: import("./KToast.logic.js").KToastType;
|
|
51
|
+
text: string;
|
|
52
52
|
modelValue: boolean;
|
|
53
53
|
timeout: number;
|
|
54
54
|
teleport: boolean;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
28
28
|
text: string;
|
|
29
29
|
disabled: boolean;
|
|
30
|
-
position: "
|
|
30
|
+
position: "left" | "right" | "top" | "bottom";
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
33
33
|
export default _default;
|
|
@@ -27,7 +27,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
27
27
|
}>> & Readonly<{}>, {
|
|
28
28
|
text: string;
|
|
29
29
|
disabled: boolean;
|
|
30
|
-
position: "
|
|
30
|
+
position: "left" | "right" | "top" | "bottom";
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
33
33
|
export default _default;
|
|
@@ -164,9 +164,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
164
164
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
165
165
|
"onUpdate:isOptionsOpen"?: ((value: boolean) => any) | undefined;
|
|
166
166
|
}>, {
|
|
167
|
-
label: string;
|
|
168
167
|
parentKey: string;
|
|
169
168
|
idKey: string;
|
|
169
|
+
label: string;
|
|
170
170
|
disabled: boolean;
|
|
171
171
|
loading: boolean;
|
|
172
172
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
@@ -164,9 +164,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
164
164
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
165
165
|
"onUpdate:isOptionsOpen"?: ((value: boolean) => any) | undefined;
|
|
166
166
|
}>, {
|
|
167
|
-
label: string;
|
|
168
167
|
parentKey: string;
|
|
169
168
|
idKey: string;
|
|
169
|
+
label: string;
|
|
170
170
|
disabled: boolean;
|
|
171
171
|
loading: boolean;
|
|
172
172
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Built-in locale dictionaries for Katlux Toolkit (LTR Official Country Languages).
|
|
3
|
+
*/
|
|
4
|
+
export declare const en: Record<string, string>;
|
|
5
|
+
export declare const es: Record<string, string>;
|
|
6
|
+
export declare const fr: Record<string, string>;
|
|
7
|
+
export declare const de: Record<string, string>;
|
|
8
|
+
export declare const pt: Record<string, string>;
|
|
9
|
+
export declare const it: Record<string, string>;
|
|
10
|
+
export declare const nl: Record<string, string>;
|
|
11
|
+
export declare const pl: Record<string, string>;
|
|
12
|
+
export declare const ru: Record<string, string>;
|
|
13
|
+
export declare const uk: Record<string, string>;
|
|
14
|
+
export declare const zh: Record<string, string>;
|
|
15
|
+
export declare const ja: Record<string, string>;
|
|
16
|
+
export declare const ko: Record<string, string>;
|
|
17
|
+
export declare const hi: Record<string, string>;
|
|
18
|
+
export declare const bn: Record<string, string>;
|
|
19
|
+
export declare const id: Record<string, string>;
|
|
20
|
+
export declare const vi: Record<string, string>;
|
|
21
|
+
export declare const th: Record<string, string>;
|
|
22
|
+
export declare const sv: Record<string, string>;
|
|
23
|
+
export declare const da: Record<string, string>;
|
|
24
|
+
export declare const fi: Record<string, string>;
|
|
25
|
+
export declare const cs: Record<string, string>;
|
|
26
|
+
export declare const el: Record<string, string>;
|
|
27
|
+
export declare const tr: Record<string, string>;
|
|
28
|
+
export declare const builtInLocales: Record<string, Record<string, string>>;
|