@katlux/toolkit 0.1.1-alpha.93 → 0.1.1-alpha.96

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 (65) hide show
  1. package/dist/compiled/composables/locales.mjs +554 -0
  2. package/dist/compiled/composables/useKatluxI18n.mjs +56 -0
  3. package/dist/compiled/composables/useKatluxI18n.spec.mjs +10 -0
  4. package/dist/module.cjs +2 -1
  5. package/dist/module.json +1 -1
  6. package/dist/module.mjs +2 -1
  7. package/dist/runtime/components/KButton/KButton.global.d.vue.ts +2 -2
  8. package/dist/runtime/components/KButton/KButton.global.vue.d.ts +2 -2
  9. package/dist/runtime/components/KButton/KButton.logic.d.ts +1 -1
  10. package/dist/runtime/components/KCheckbox/KCheckbox.global.d.vue.ts +2 -2
  11. package/dist/runtime/components/KCheckbox/KCheckbox.global.vue.d.ts +2 -2
  12. package/dist/runtime/components/KCombobox/KCombobox.global.d.vue.ts +6 -6
  13. package/dist/runtime/components/KCombobox/KCombobox.global.vue.d.ts +6 -6
  14. package/dist/runtime/components/KCombobox/KCombobox.logic.d.ts +1 -1
  15. package/dist/runtime/components/KCompositeInput/KCompositeInput.global.d.vue.ts +11 -11
  16. package/dist/runtime/components/KCompositeInput/KCompositeInput.global.vue.d.ts +11 -11
  17. package/dist/runtime/components/KCompositeInput/KCompositeInput.logic.d.ts +3 -3
  18. package/dist/runtime/components/KContextMenu/KContextMenu.global.d.vue.ts +1 -1
  19. package/dist/runtime/components/KContextMenu/KContextMenu.global.vue.d.ts +1 -1
  20. package/dist/runtime/components/KDatePicker/KDatePicker.global.d.vue.ts +2 -2
  21. package/dist/runtime/components/KDatePicker/KDatePicker.global.vue.d.ts +2 -2
  22. package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.d.vue.ts +2 -2
  23. package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.vue.d.ts +2 -2
  24. package/dist/runtime/components/KGantt/KGantt.global.d.vue.ts +9 -9
  25. package/dist/runtime/components/KGantt/KGantt.global.vue.d.ts +9 -9
  26. package/dist/runtime/components/KGantt/KGantt.logic.d.ts +4 -4
  27. package/dist/runtime/components/KHourPicker/KHourPicker.global.d.vue.ts +1 -1
  28. package/dist/runtime/components/KHourPicker/KHourPicker.global.vue.d.ts +1 -1
  29. package/dist/runtime/components/KIcon/KIcon.global.d.vue.ts +6 -6
  30. package/dist/runtime/components/KIcon/KIcon.global.vue.d.ts +6 -6
  31. package/dist/runtime/components/KIcon/KIcon.logic.d.ts +3 -3
  32. package/dist/runtime/components/KLoader/KLoader.global.d.vue.ts +1 -1
  33. package/dist/runtime/components/KLoader/KLoader.global.vue.d.ts +1 -1
  34. package/dist/runtime/components/KRangeSlider/KRangeSlider.global.d.vue.ts +1 -1
  35. package/dist/runtime/components/KRangeSlider/KRangeSlider.global.vue.d.ts +1 -1
  36. package/dist/runtime/components/KSlider/KSlider.global.d.vue.ts +1 -1
  37. package/dist/runtime/components/KSlider/KSlider.global.vue.d.ts +1 -1
  38. package/dist/runtime/components/KTextarea/KTextarea.global.d.vue.ts +1 -1
  39. package/dist/runtime/components/KTextarea/KTextarea.global.vue.d.ts +1 -1
  40. package/dist/runtime/components/KTextbox/KTextbox.global.d.vue.ts +1 -1
  41. package/dist/runtime/components/KTextbox/KTextbox.global.vue.d.ts +1 -1
  42. package/dist/runtime/components/KToast/KToast.global.d.vue.ts +1 -1
  43. package/dist/runtime/components/KToast/KToast.global.vue.d.ts +1 -1
  44. package/dist/runtime/components/KTooltip/KTooltip.global.d.vue.ts +1 -1
  45. package/dist/runtime/components/KTooltip/KTooltip.global.vue.d.ts +1 -1
  46. package/dist/runtime/components/KTree/KTree.global.d.vue.ts +1 -1
  47. package/dist/runtime/components/KTree/KTree.global.vue.d.ts +1 -1
  48. package/dist/runtime/components/KTreePicker/KTreePicker.global.d.vue.ts +5 -5
  49. package/dist/runtime/components/KTreePicker/KTreePicker.global.vue.d.ts +5 -5
  50. package/dist/runtime/components/KTreeView/KTreeView.global.d.vue.ts +3 -3
  51. package/dist/runtime/components/KTreeView/KTreeView.global.vue.d.ts +3 -3
  52. package/dist/runtime/composables/locales.d.ts +28 -0
  53. package/dist/runtime/composables/locales.js +554 -0
  54. package/dist/runtime/composables/useKatluxI18n.d.ts +15 -0
  55. package/dist/runtime/composables/useKatluxI18n.js +56 -0
  56. package/dist/runtime/plugins/PresetPlugin.js +1 -1
  57. package/dist/runtime/presets/default/components/KAlert/KAlert.vue +2 -3
  58. package/dist/runtime/presets/default/components/KBulkActions/KBulkActions.vue +2 -2
  59. package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue +2 -2
  60. package/dist/runtime/presets/default/components/KModal/KModal.vue +2 -2
  61. package/dist/runtime/presets/default/components/KPagination/KPagination.vue +2 -2
  62. package/dist/runtime/presets/default/components/KTabs/KTabs.vue +2 -2
  63. package/dist/runtime/presets/default/components/KTextbox/KTextbox.vue +2 -2
  64. package/dist/runtime/presets/default/components/KTree/KTree.vue +2 -2
  65. 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: (NumberConstructor | StringConstructor)[];
7
+ type: (StringConstructor | NumberConstructor)[];
8
8
  default: undefined;
9
9
  };
10
10
  height: {
11
- type: (NumberConstructor | StringConstructor)[];
11
+ type: (StringConstructor | NumberConstructor)[];
12
12
  default: number;
13
13
  };
14
14
  rotate: {
15
- type: (NumberConstructor | StringConstructor)[];
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: (NumberConstructor | StringConstructor)[];
24
+ type: (StringConstructor | NumberConstructor)[];
25
25
  default: undefined;
26
26
  };
27
27
  height: {
28
- type: (NumberConstructor | StringConstructor)[];
28
+ type: (StringConstructor | NumberConstructor)[];
29
29
  default: number;
30
30
  };
31
31
  rotate: {
32
- type: (NumberConstructor | StringConstructor)[];
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: (NumberConstructor | StringConstructor)[];
13
+ type: (StringConstructor | NumberConstructor)[];
14
14
  default: undefined;
15
15
  };
16
16
  height: {
17
- type: (NumberConstructor | StringConstructor)[];
17
+ type: (StringConstructor | NumberConstructor)[];
18
18
  default: number;
19
19
  };
20
20
  rotate: {
21
- type: (NumberConstructor | StringConstructor)[];
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;
@@ -63,8 +63,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
63
63
  "onUpdate:minValue"?: ((value: any) => any) | undefined;
64
64
  "onUpdate:maxValue"?: ((value: any) => any) | undefined;
65
65
  }>, {
66
- label: string;
67
66
  disabled: boolean;
67
+ label: string;
68
68
  step: number;
69
69
  min: number;
70
70
  max: number;
@@ -63,8 +63,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
63
63
  "onUpdate:minValue"?: ((value: any) => any) | undefined;
64
64
  "onUpdate:maxValue"?: ((value: any) => any) | undefined;
65
65
  }>, {
66
- label: string;
67
66
  disabled: boolean;
67
+ label: string;
68
68
  step: number;
69
69
  min: number;
70
70
  max: number;
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
53
53
  }>> & Readonly<{
54
54
  "onUpdate:value"?: ((value: any) => any) | undefined;
55
55
  }>, {
56
+ disabled: boolean;
56
57
  label: string;
57
58
  value: number;
58
- disabled: boolean;
59
59
  step: number;
60
60
  min: number;
61
61
  max: number;
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
53
53
  }>> & Readonly<{
54
54
  "onUpdate:value"?: ((value: any) => any) | undefined;
55
55
  }>, {
56
+ disabled: boolean;
56
57
  label: string;
57
58
  value: number;
58
- disabled: boolean;
59
59
  step: number;
60
60
  min: number;
61
61
  max: number;
@@ -57,10 +57,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
57
57
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
58
58
  }>, {
59
59
  label: string;
60
- rows: number;
61
60
  validation: "error" | "success" | "warning" | null | undefined;
62
61
  validationText: string;
63
62
  placeholder: string;
63
+ rows: number;
64
64
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
65
65
  declare const _default: typeof __VLS_export;
66
66
  export default _default;
@@ -57,10 +57,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
57
57
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
58
58
  }>, {
59
59
  label: string;
60
- rows: number;
61
60
  validation: "error" | "success" | "warning" | null | undefined;
62
61
  validationText: string;
63
62
  placeholder: string;
63
+ rows: number;
64
64
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
65
65
  declare const _default: typeof __VLS_export;
66
66
  export default _default;
@@ -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,9 +47,9 @@ 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;
52
51
  modelValue: boolean;
52
+ text: string;
53
53
  timeout: number;
54
54
  teleport: boolean;
55
55
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -47,9 +47,9 @@ 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;
52
51
  modelValue: boolean;
52
+ text: string;
53
53
  timeout: number;
54
54
  teleport: boolean;
55
55
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -25,8 +25,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
25
25
  default: boolean;
26
26
  };
27
27
  }>> & Readonly<{}>, {
28
- text: string;
29
28
  disabled: boolean;
29
+ text: string;
30
30
  position: "left" | "right" | "top" | "bottom";
31
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -25,8 +25,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
25
25
  default: boolean;
26
26
  };
27
27
  }>> & Readonly<{}>, {
28
- text: string;
29
28
  disabled: boolean;
29
+ text: string;
30
30
  position: "left" | "right" | "top" | "bottom";
31
31
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
32
  declare const _default: typeof __VLS_export;
@@ -66,8 +66,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
66
66
  };
67
67
  }>> & Readonly<{}>, {
68
68
  disabled: boolean;
69
- searchtext: string;
70
69
  labelField: string;
70
+ searchtext: string;
71
71
  multiSelect: boolean;
72
72
  iconField: string;
73
73
  isNodeSelected: (node: any) => boolean;
@@ -66,8 +66,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
66
66
  };
67
67
  }>> & Readonly<{}>, {
68
68
  disabled: boolean;
69
- searchtext: string;
70
69
  labelField: string;
70
+ searchtext: string;
71
71
  multiSelect: boolean;
72
72
  iconField: string;
73
73
  isNodeSelected: (node: any) => boolean;
@@ -164,23 +164,23 @@ 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
- parentKey: string;
169
- idKey: string;
170
167
  disabled: boolean;
168
+ label: string;
171
169
  loading: boolean;
172
170
  validation: "error" | "success" | "warning" | null | undefined;
173
171
  validationText: string;
174
172
  modelValue: any;
173
+ valueField: string;
174
+ placeholder: string;
175
175
  searchbox: boolean;
176
176
  searchPlaceholder: string;
177
177
  isOptionsOpen: boolean;
178
- placeholder: string;
179
178
  fullWidth: boolean;
180
179
  closeOnSelect: boolean;
181
180
  multiSelect: boolean;
182
- valueField: string;
183
181
  iconField: string;
182
+ idKey: string;
183
+ parentKey: string;
184
184
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
185
185
  declare const _default: typeof __VLS_export;
186
186
  export default _default;
@@ -164,23 +164,23 @@ 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
- parentKey: string;
169
- idKey: string;
170
167
  disabled: boolean;
168
+ label: string;
171
169
  loading: boolean;
172
170
  validation: "error" | "success" | "warning" | null | undefined;
173
171
  validationText: string;
174
172
  modelValue: any;
173
+ valueField: string;
174
+ placeholder: string;
175
175
  searchbox: boolean;
176
176
  searchPlaceholder: string;
177
177
  isOptionsOpen: boolean;
178
- placeholder: string;
179
178
  fullWidth: boolean;
180
179
  closeOnSelect: boolean;
181
180
  multiSelect: boolean;
182
- valueField: string;
183
181
  iconField: string;
182
+ idKey: string;
183
+ parentKey: string;
184
184
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
185
185
  declare const _default: typeof __VLS_export;
186
186
  export default _default;
@@ -81,14 +81,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
81
81
  default: () => {};
82
82
  };
83
83
  }>> & Readonly<{}>, {
84
- parentKey: string;
85
- idKey: string;
86
- expandedByDefault: boolean;
87
84
  bulkActions: import("@katlux/providers").IKDatatableAction[];
88
85
  rowActions: import("@katlux/providers").IKDatatableAction[];
89
86
  cellSlots: Record<string, any>;
90
87
  headerSlots: Record<string, any>;
91
88
  treeColumnIndex: number;
89
+ idKey: string;
90
+ parentKey: string;
91
+ expandedByDefault: boolean;
92
92
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
93
93
  declare const _default: typeof __VLS_export;
94
94
  export default _default;
@@ -81,14 +81,14 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
81
81
  default: () => {};
82
82
  };
83
83
  }>> & Readonly<{}>, {
84
- parentKey: string;
85
- idKey: string;
86
- expandedByDefault: boolean;
87
84
  bulkActions: import("@katlux/providers").IKDatatableAction[];
88
85
  rowActions: import("@katlux/providers").IKDatatableAction[];
89
86
  cellSlots: Record<string, any>;
90
87
  headerSlots: Record<string, any>;
91
88
  treeColumnIndex: number;
89
+ idKey: string;
90
+ parentKey: string;
91
+ expandedByDefault: boolean;
92
92
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
93
93
  declare const _default: typeof __VLS_export;
94
94
  export default _default;
@@ -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>>;