@katlux/toolkit 0.1.1-alpha.126 → 0.1.1-alpha.128

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 (37) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/KAccordion/KAccordion.global.d.vue.ts +1 -1
  3. package/dist/runtime/components/KAccordion/KAccordion.global.vue.d.ts +1 -1
  4. package/dist/runtime/components/KButton/KButton.logic.d.ts +1 -1
  5. package/dist/runtime/components/KCheckbox/KCheckbox.global.d.vue.ts +1 -1
  6. package/dist/runtime/components/KCheckbox/KCheckbox.global.vue.d.ts +1 -1
  7. package/dist/runtime/components/KCombobox/KCombobox.global.d.vue.ts +4 -4
  8. package/dist/runtime/components/KCombobox/KCombobox.global.vue.d.ts +4 -4
  9. package/dist/runtime/components/KCompositeInput/KCompositeInput.global.d.vue.ts +12 -12
  10. package/dist/runtime/components/KCompositeInput/KCompositeInput.global.vue.d.ts +12 -12
  11. package/dist/runtime/components/KCompositeInput/KCompositeInput.logic.d.ts +3 -3
  12. package/dist/runtime/components/KDatePicker/KDatePicker.global.d.vue.ts +4 -4
  13. package/dist/runtime/components/KDatePicker/KDatePicker.global.vue.d.ts +4 -4
  14. package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.d.vue.ts +2 -2
  15. package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.vue.d.ts +2 -2
  16. package/dist/runtime/components/KDropdown/KDropdown.global.d.vue.ts +1 -1
  17. package/dist/runtime/components/KDropdown/KDropdown.global.vue.d.ts +1 -1
  18. package/dist/runtime/components/KHourPicker/KHourPicker.global.d.vue.ts +1 -1
  19. package/dist/runtime/components/KHourPicker/KHourPicker.global.vue.d.ts +1 -1
  20. package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.d.vue.ts +1 -1
  21. package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.vue.d.ts +1 -1
  22. package/dist/runtime/components/KPagination/KPagination.global.d.vue.ts +1 -1
  23. package/dist/runtime/components/KPagination/KPagination.global.vue.d.ts +1 -1
  24. package/dist/runtime/components/KRadiobox/KRadiobox.global.d.vue.ts +1 -1
  25. package/dist/runtime/components/KRadiobox/KRadiobox.global.vue.d.ts +1 -1
  26. package/dist/runtime/components/KTextarea/KTextarea.global.d.vue.ts +1 -1
  27. package/dist/runtime/components/KTextarea/KTextarea.global.vue.d.ts +1 -1
  28. package/dist/runtime/components/KTextbox/KTextbox.global.d.vue.ts +2 -2
  29. package/dist/runtime/components/KTextbox/KTextbox.global.vue.d.ts +2 -2
  30. package/dist/runtime/components/KTree/KTree.global.d.vue.ts +1 -1
  31. package/dist/runtime/components/KTree/KTree.global.vue.d.ts +1 -1
  32. package/dist/runtime/components/KTreePicker/KTreePicker.global.d.vue.ts +3 -3
  33. package/dist/runtime/components/KTreePicker/KTreePicker.global.vue.d.ts +3 -3
  34. package/dist/runtime/presets/default/components/KDatatable/KDatatable.vue +5 -1
  35. package/dist/runtime/presets/default/components/KTree/KTree.d.vue.ts +1 -1
  36. package/dist/runtime/presets/default/components/KTree/KTree.vue.d.ts +1 -1
  37. package/package.json +2 -2
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@katlux/toolkit",
3
3
  "configKey": "katluxToolkit",
4
- "version": "0.1.1-alpha.126",
4
+ "version": "0.1.1-alpha.128",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
@@ -27,8 +27,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
27
27
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
28
28
  onChange?: ((value: any) => any) | undefined;
29
29
  }>, {
30
- modelValue: string | number | string[] | number[];
31
30
  multiOpen: boolean;
31
+ modelValue: string | number | string[] | number[];
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
33
  declare const _default: typeof __VLS_export;
34
34
  export default _default;
@@ -27,8 +27,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
27
27
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
28
28
  onChange?: ((value: any) => any) | undefined;
29
29
  }>, {
30
- modelValue: string | number | string[] | number[];
31
30
  multiOpen: boolean;
31
+ modelValue: string | number | string[] | number[];
32
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
33
  declare const _default: typeof __VLS_export;
34
34
  export default _default;
@@ -23,7 +23,7 @@ export interface KButtonEmits {
23
23
  export declare function useKButtonLogic(props: KButtonProps, emit: KButtonEmits): {
24
24
  isLink: import("vue").ComputedRef<boolean>;
25
25
  isDisabled: import("vue").ComputedRef<boolean | undefined>;
26
- buttonClasses: import("vue").ComputedRef<("default" | "info" | "success" | "warning" | "danger" | "small" | "primary" | "light" | "dark" | "large" | "medium" | {
26
+ buttonClasses: import("vue").ComputedRef<("small" | "default" | "info" | "success" | "warning" | "danger" | "primary" | "light" | "dark" | "large" | "medium" | {
27
27
  disabled: boolean | undefined;
28
28
  'icon-only': boolean | undefined;
29
29
  })[]>;
@@ -77,7 +77,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
77
77
  }>, {
78
78
  label: string;
79
79
  disabled: boolean;
80
- validation: "success" | "warning" | "error" | null | undefined;
80
+ validation: "error" | "success" | "warning" | null | undefined;
81
81
  validationText: string;
82
82
  idKey: string;
83
83
  indeterminate: boolean;
@@ -77,7 +77,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
77
77
  }>, {
78
78
  label: string;
79
79
  disabled: boolean;
80
- validation: "success" | "warning" | "error" | null | undefined;
80
+ validation: "error" | "success" | "warning" | null | undefined;
81
81
  validationText: string;
82
82
  idKey: string;
83
83
  indeterminate: boolean;
@@ -225,24 +225,24 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
225
225
  modelValue: any;
226
226
  label: string;
227
227
  disabled: boolean;
228
- validation: "success" | "warning" | "error" | null | undefined;
228
+ validation: "error" | "success" | "warning" | null | undefined;
229
229
  validationText: string;
230
+ valueField: string;
231
+ placeholder: string;
230
232
  searchbox: boolean;
233
+ teleportTo: string;
231
234
  searchtext: string;
232
235
  searchPlaceholder: string;
233
236
  virtualScroll: boolean;
234
237
  itemHeight: number;
235
238
  buffer: number;
236
239
  isOptionsOpen: boolean;
237
- placeholder: string;
238
- teleportTo: string;
239
240
  fullWidth: boolean;
240
241
  maxHeight: number;
241
242
  closeOnSelect: boolean;
242
243
  multiSelect: boolean;
243
244
  maxSelectedDisplay: string | number | boolean;
244
245
  visibleFields: String[];
245
- valueField: string;
246
246
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
247
247
  declare const _default: typeof __VLS_export;
248
248
  export default _default;
@@ -225,24 +225,24 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
225
225
  modelValue: any;
226
226
  label: string;
227
227
  disabled: boolean;
228
- validation: "success" | "warning" | "error" | null | undefined;
228
+ validation: "error" | "success" | "warning" | null | undefined;
229
229
  validationText: string;
230
+ valueField: string;
231
+ placeholder: string;
230
232
  searchbox: boolean;
233
+ teleportTo: string;
231
234
  searchtext: string;
232
235
  searchPlaceholder: string;
233
236
  virtualScroll: boolean;
234
237
  itemHeight: number;
235
238
  buffer: number;
236
239
  isOptionsOpen: boolean;
237
- placeholder: string;
238
- teleportTo: string;
239
240
  fullWidth: boolean;
240
241
  maxHeight: number;
241
242
  closeOnSelect: boolean;
242
243
  multiSelect: boolean;
243
244
  maxSelectedDisplay: string | number | boolean;
244
245
  visibleFields: String[];
245
- valueField: string;
246
246
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
247
247
  declare const _default: typeof __VLS_export;
248
248
  export default _default;
@@ -5,11 +5,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
5
5
  default: string;
6
6
  };
7
7
  selectionValue: {
8
- type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
8
+ type: (StringConstructor | NumberConstructor | ArrayConstructor | ObjectConstructor)[];
9
9
  default: null;
10
10
  };
11
11
  inputValue: {
12
- type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
12
+ type: (StringConstructor | NumberConstructor | ArrayConstructor | ObjectConstructor)[];
13
13
  default: string;
14
14
  };
15
15
  modelValue: {
@@ -99,11 +99,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
99
99
  default: string;
100
100
  };
101
101
  selectionValue: {
102
- type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
102
+ type: (StringConstructor | NumberConstructor | ArrayConstructor | ObjectConstructor)[];
103
103
  default: null;
104
104
  };
105
105
  inputValue: {
106
- type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
106
+ type: (StringConstructor | NumberConstructor | ArrayConstructor | ObjectConstructor)[];
107
107
  default: string;
108
108
  };
109
109
  modelValue: {
@@ -191,20 +191,20 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
191
191
  modelValue: import("./KCompositeInput.logic.js").ICompositeItem[];
192
192
  type: import("./KCompositeInput.logic.js").CompositeInputType;
193
193
  label: string;
194
- validation: "success" | "warning" | "error" | null | undefined;
194
+ validation: "error" | "success" | "warning" | null | undefined;
195
195
  validationText: string;
196
- searchbox: boolean;
197
- labelField: string;
198
- placeholder: string;
199
- teleportTo: string;
200
- mask: string;
201
- valueField: string;
202
- inputType: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
196
+ inputType: "number" | "search" | "url" | "text" | "password" | "email" | "tel" | undefined;
203
197
  selectionValue: string | number | Record<string, any> | unknown[];
204
198
  inputValue: string | number | Record<string, any> | unknown[];
205
199
  selectionSide: import("./KCompositeInput.logic.js").SelectionSide;
200
+ mask: string;
201
+ labelField: string;
202
+ valueField: string;
203
+ placeholder: string;
206
204
  inputPlaceholder: string;
205
+ searchbox: boolean;
207
206
  showClear: boolean;
207
+ teleportTo: string;
208
208
  inputConfigField: string;
209
209
  validateAll: boolean;
210
210
  inputFormat: string;
@@ -5,11 +5,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
5
5
  default: string;
6
6
  };
7
7
  selectionValue: {
8
- type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
8
+ type: (StringConstructor | NumberConstructor | ArrayConstructor | ObjectConstructor)[];
9
9
  default: null;
10
10
  };
11
11
  inputValue: {
12
- type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
12
+ type: (StringConstructor | NumberConstructor | ArrayConstructor | ObjectConstructor)[];
13
13
  default: string;
14
14
  };
15
15
  modelValue: {
@@ -99,11 +99,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
99
99
  default: string;
100
100
  };
101
101
  selectionValue: {
102
- type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
102
+ type: (StringConstructor | NumberConstructor | ArrayConstructor | ObjectConstructor)[];
103
103
  default: null;
104
104
  };
105
105
  inputValue: {
106
- type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
106
+ type: (StringConstructor | NumberConstructor | ArrayConstructor | ObjectConstructor)[];
107
107
  default: string;
108
108
  };
109
109
  modelValue: {
@@ -191,20 +191,20 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
191
191
  modelValue: import("./KCompositeInput.logic.js").ICompositeItem[];
192
192
  type: import("./KCompositeInput.logic.js").CompositeInputType;
193
193
  label: string;
194
- validation: "success" | "warning" | "error" | null | undefined;
194
+ validation: "error" | "success" | "warning" | null | undefined;
195
195
  validationText: string;
196
- searchbox: boolean;
197
- labelField: string;
198
- placeholder: string;
199
- teleportTo: string;
200
- mask: string;
201
- valueField: string;
202
- inputType: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
196
+ inputType: "number" | "search" | "url" | "text" | "password" | "email" | "tel" | undefined;
203
197
  selectionValue: string | number | Record<string, any> | unknown[];
204
198
  inputValue: string | number | Record<string, any> | unknown[];
205
199
  selectionSide: import("./KCompositeInput.logic.js").SelectionSide;
200
+ mask: string;
201
+ labelField: string;
202
+ valueField: string;
203
+ placeholder: string;
206
204
  inputPlaceholder: string;
205
+ searchbox: boolean;
207
206
  showClear: boolean;
207
+ teleportTo: string;
208
208
  inputConfigField: string;
209
209
  validateAll: boolean;
210
210
  inputFormat: string;
@@ -73,11 +73,11 @@ export declare const KCompositeInputDefaultProps: {
73
73
  default: string;
74
74
  };
75
75
  selectionValue: {
76
- type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
76
+ type: (StringConstructor | NumberConstructor | ArrayConstructor | ObjectConstructor)[];
77
77
  default: null;
78
78
  };
79
79
  inputValue: {
80
- type: (ArrayConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[];
80
+ type: (StringConstructor | NumberConstructor | ArrayConstructor | ObjectConstructor)[];
81
81
  default: string;
82
82
  };
83
83
  modelValue: {
@@ -176,7 +176,7 @@ export declare function useKCompositeInputLogic(props: KCompositeInputProps, emi
176
176
  modelValue: any;
177
177
  'onUpdate:modelValue': (val: any) => any;
178
178
  placeholder: string | undefined;
179
- type: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
179
+ type: "number" | "search" | "url" | "text" | "password" | "email" | "tel" | undefined;
180
180
  mask: string | undefined;
181
181
  showClear: boolean | undefined;
182
182
  }>;
@@ -55,8 +55,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
55
55
  };
56
56
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
57
57
  "update:modelValue": (value: string | Date) => any;
58
- blur: (event: FocusEvent) => any;
59
58
  change: (value: string | Date) => any;
59
+ blur: (event: FocusEvent) => any;
60
60
  "update:isOpen": (value: boolean) => any;
61
61
  "update:maskedModel": (value: string) => any;
62
62
  "update:calendarShow": (value: boolean) => any;
@@ -117,8 +117,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
117
117
  };
118
118
  }>> & Readonly<{
119
119
  "onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
120
- onBlur?: ((event: FocusEvent) => any) | undefined;
121
120
  onChange?: ((value: string | Date) => any) | undefined;
121
+ onBlur?: ((event: FocusEvent) => any) | undefined;
122
122
  "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
123
123
  "onUpdate:maskedModel"?: ((value: string) => any) | undefined;
124
124
  "onUpdate:calendarShow"?: ((value: boolean) => any) | undefined;
@@ -130,11 +130,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
130
130
  definedDays: import("../KCalendar/types.js").IDefinedDay[];
131
131
  markedDays: import("../KCalendar/types.js").IMarkedDay[];
132
132
  day: string | Date;
133
- validation: "success" | "warning" | "error" | null | undefined;
133
+ validation: "error" | "success" | "warning" | null | undefined;
134
134
  validationText: string;
135
135
  placeholder: string;
136
- teleportTo: string;
137
136
  showClear: boolean;
137
+ teleportTo: string;
138
138
  align: "left" | "right" | undefined;
139
139
  format: string;
140
140
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -55,8 +55,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
55
55
  };
56
56
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
57
57
  "update:modelValue": (value: string | Date) => any;
58
- blur: (event: FocusEvent) => any;
59
58
  change: (value: string | Date) => any;
59
+ blur: (event: FocusEvent) => any;
60
60
  "update:isOpen": (value: boolean) => any;
61
61
  "update:maskedModel": (value: string) => any;
62
62
  "update:calendarShow": (value: boolean) => any;
@@ -117,8 +117,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
117
117
  };
118
118
  }>> & Readonly<{
119
119
  "onUpdate:modelValue"?: ((value: string | Date) => any) | undefined;
120
- onBlur?: ((event: FocusEvent) => any) | undefined;
121
120
  onChange?: ((value: string | Date) => any) | undefined;
121
+ onBlur?: ((event: FocusEvent) => any) | undefined;
122
122
  "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
123
123
  "onUpdate:maskedModel"?: ((value: string) => any) | undefined;
124
124
  "onUpdate:calendarShow"?: ((value: boolean) => any) | undefined;
@@ -130,11 +130,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
130
130
  definedDays: import("../KCalendar/types.js").IDefinedDay[];
131
131
  markedDays: import("../KCalendar/types.js").IMarkedDay[];
132
132
  day: string | Date;
133
- validation: "success" | "warning" | "error" | null | undefined;
133
+ validation: "error" | "success" | "warning" | null | undefined;
134
134
  validationText: string;
135
135
  placeholder: string;
136
- teleportTo: string;
137
136
  showClear: boolean;
137
+ teleportTo: string;
138
138
  align: "left" | "right" | undefined;
139
139
  format: string;
140
140
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -132,11 +132,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
132
132
  definedDays: import("../KCalendar/types.js").IDefinedDay[];
133
133
  markedDays: import("../KCalendar/types.js").IMarkedDay[];
134
134
  day: string | Date;
135
- validation: "success" | "warning" | "error" | null | undefined;
135
+ validation: "error" | "success" | "warning" | null | undefined;
136
136
  validationText: string;
137
137
  placeholder: string;
138
- teleportTo: string;
139
138
  showClear: boolean;
139
+ teleportTo: string;
140
140
  format: string;
141
141
  timeFormat: string;
142
142
  timeStep: number;
@@ -132,11 +132,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
132
132
  definedDays: import("../KCalendar/types.js").IDefinedDay[];
133
133
  markedDays: import("../KCalendar/types.js").IMarkedDay[];
134
134
  day: string | Date;
135
- validation: "success" | "warning" | "error" | null | undefined;
135
+ validation: "error" | "success" | "warning" | null | undefined;
136
136
  validationText: string;
137
137
  placeholder: string;
138
- teleportTo: string;
139
138
  showClear: boolean;
139
+ teleportTo: string;
140
140
  format: string;
141
141
  timeFormat: string;
142
142
  timeStep: number;
@@ -62,8 +62,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
62
62
  "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
63
63
  }>, {
64
64
  isOpen: boolean;
65
- direction: import("./KDropdown.logic.js").KDropdownDirection;
66
65
  teleportTo: string;
66
+ direction: import("./KDropdown.logic.js").KDropdownDirection;
67
67
  fullWidth: boolean;
68
68
  maxHeight: number;
69
69
  align: import("./KDropdown.logic.js").KDropdownAlign;
@@ -62,8 +62,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
62
62
  "onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
63
63
  }>, {
64
64
  isOpen: boolean;
65
- direction: import("./KDropdown.logic.js").KDropdownDirection;
66
65
  teleportTo: string;
66
+ direction: import("./KDropdown.logic.js").KDropdownDirection;
67
67
  fullWidth: boolean;
68
68
  maxHeight: number;
69
69
  align: import("./KDropdown.logic.js").KDropdownAlign;
@@ -110,7 +110,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
110
110
  isOpen: boolean;
111
111
  label: string;
112
112
  disabled: boolean;
113
- validation: "success" | "warning" | "error" | null | undefined;
113
+ validation: "error" | "success" | "warning" | null | undefined;
114
114
  validationText: string;
115
115
  placeholder: string;
116
116
  showClear: boolean;
@@ -110,7 +110,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
110
110
  isOpen: boolean;
111
111
  label: string;
112
112
  disabled: boolean;
113
- validation: "success" | "warning" | "error" | null | undefined;
113
+ validation: "error" | "success" | "warning" | null | undefined;
114
114
  validationText: string;
115
115
  placeholder: string;
116
116
  showClear: boolean;
@@ -66,7 +66,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
66
66
  }>, {
67
67
  modelValue: string;
68
68
  label: string;
69
- validation: "success" | "warning" | "error" | null | undefined;
69
+ validation: "error" | "success" | "warning" | null | undefined;
70
70
  validationText: string;
71
71
  placeholder: string;
72
72
  showClear: boolean;
@@ -66,7 +66,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
66
66
  }>, {
67
67
  modelValue: string;
68
68
  label: string;
69
- validation: "success" | "warning" | "error" | null | undefined;
69
+ validation: "error" | "success" | "warning" | null | undefined;
70
70
  validationText: string;
71
71
  placeholder: string;
72
72
  showClear: boolean;
@@ -21,9 +21,9 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
21
21
  "onPage-click"?: ((value: number) => any) | undefined;
22
22
  }>, {
23
23
  modelValue: number;
24
+ dataProvider: ADataProvider;
24
25
  currentPage: number;
25
26
  pageSize: number;
26
- dataProvider: ADataProvider;
27
27
  totalItems: number;
28
28
  maxVisiblePages: number;
29
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -21,9 +21,9 @@ declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {},
21
21
  "onPage-click"?: ((value: number) => any) | undefined;
22
22
  }>, {
23
23
  modelValue: number;
24
+ dataProvider: ADataProvider;
24
25
  currentPage: number;
25
26
  pageSize: number;
26
- dataProvider: ADataProvider;
27
27
  totalItems: number;
28
28
  maxVisiblePages: number;
29
29
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -51,7 +51,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
51
51
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
52
52
  }>, {
53
53
  disabled: boolean;
54
- validation: "success" | "warning" | "error" | null | undefined;
54
+ validation: "error" | "success" | "warning" | null | undefined;
55
55
  validationText: string;
56
56
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
57
57
  declare const _default: typeof __VLS_export;
@@ -51,7 +51,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
51
51
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
52
52
  }>, {
53
53
  disabled: boolean;
54
- validation: "success" | "warning" | "error" | null | undefined;
54
+ validation: "error" | "success" | "warning" | null | undefined;
55
55
  validationText: string;
56
56
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
57
57
  declare const _default: typeof __VLS_export;
@@ -57,7 +57,7 @@ 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
- validation: "success" | "warning" | "error" | null | undefined;
60
+ validation: "error" | "success" | "warning" | null | undefined;
61
61
  validationText: string;
62
62
  placeholder: string;
63
63
  rows: number;
@@ -57,7 +57,7 @@ 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
- validation: "success" | "warning" | "error" | null | undefined;
60
+ validation: "error" | "success" | "warning" | null | undefined;
61
61
  validationText: string;
62
62
  placeholder: string;
63
63
  rows: number;
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
67
67
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
68
68
  }>, {
69
69
  modelValue: string;
70
- type: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
70
+ type: "number" | "search" | "url" | "text" | "password" | "email" | "tel" | undefined;
71
71
  label: string;
72
- validation: "success" | "warning" | "error" | null | undefined;
72
+ validation: "error" | "success" | "warning" | null | undefined;
73
73
  validationText: string;
74
74
  placeholder: string;
75
75
  showClear: boolean;
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
67
67
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
68
68
  }>, {
69
69
  modelValue: string;
70
- type: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
70
+ type: "number" | "search" | "url" | "text" | "password" | "email" | "tel" | undefined;
71
71
  label: string;
72
- validation: "success" | "warning" | "error" | null | undefined;
72
+ validation: "error" | "success" | "warning" | null | undefined;
73
73
  validationText: string;
74
74
  placeholder: string;
75
75
  showClear: boolean;
@@ -153,11 +153,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
153
153
  modelValue: any;
154
154
  disabled: boolean;
155
155
  idKey: string;
156
+ labelField: string;
156
157
  searchtext: string;
157
158
  virtualScroll: boolean;
158
159
  itemHeight: number;
159
160
  buffer: number;
160
- labelField: string;
161
161
  multiSelect: boolean;
162
162
  viewportHeight: number;
163
163
  expandedNodes: (string | number)[] | Set<string | number>;
@@ -153,11 +153,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
153
153
  modelValue: any;
154
154
  disabled: boolean;
155
155
  idKey: string;
156
+ labelField: string;
156
157
  searchtext: string;
157
158
  virtualScroll: boolean;
158
159
  itemHeight: number;
159
160
  buffer: number;
160
- labelField: string;
161
161
  multiSelect: boolean;
162
162
  viewportHeight: number;
163
163
  expandedNodes: (string | number)[] | Set<string | number>;
@@ -235,9 +235,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
235
235
  label: string;
236
236
  disabled: boolean;
237
237
  loading: boolean;
238
- validation: "success" | "warning" | "error" | null | undefined;
238
+ validation: "error" | "success" | "warning" | null | undefined;
239
239
  validationText: string;
240
240
  idKey: string;
241
+ valueField: string;
242
+ placeholder: string;
241
243
  searchbox: boolean;
242
244
  searchtext: string;
243
245
  searchPlaceholder: string;
@@ -245,11 +247,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
245
247
  itemHeight: number;
246
248
  buffer: number;
247
249
  isOptionsOpen: boolean;
248
- placeholder: string;
249
250
  fullWidth: boolean;
250
251
  closeOnSelect: boolean;
251
252
  multiSelect: boolean;
252
- valueField: string;
253
253
  viewportHeight: number;
254
254
  expandedNodes: any;
255
255
  parentKey: string;
@@ -235,9 +235,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
235
235
  label: string;
236
236
  disabled: boolean;
237
237
  loading: boolean;
238
- validation: "success" | "warning" | "error" | null | undefined;
238
+ validation: "error" | "success" | "warning" | null | undefined;
239
239
  validationText: string;
240
240
  idKey: string;
241
+ valueField: string;
242
+ placeholder: string;
241
243
  searchbox: boolean;
242
244
  searchtext: string;
243
245
  searchPlaceholder: string;
@@ -245,11 +247,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
245
247
  itemHeight: number;
246
248
  buffer: number;
247
249
  isOptionsOpen: boolean;
248
- placeholder: string;
249
250
  fullWidth: boolean;
250
251
  closeOnSelect: boolean;
251
252
  multiSelect: boolean;
252
- valueField: string;
253
253
  viewportHeight: number;
254
254
  expandedNodes: any;
255
255
  parentKey: string;
@@ -350,7 +350,11 @@ const datatableItems = computed(() => {
350
350
  const currentRows = pageRows.value
351
351
  const dp = props.dataProvider as any
352
352
  if (props.virtualScroll) {
353
- if (Array.isArray(virtualRows?.value)) return virtualRows.value
353
+ // In zero-trust encryption mode with page-level decryption (pageSize > 0), only pageRows is decrypted
354
+ if (dp?.isEncryptionEnabled && (dp?.pageSize > 0 || (isRef(dp?.pageSize) && dp.pageSize.value > 0))) {
355
+ return currentRows
356
+ }
357
+ if (Array.isArray(virtualRows?.value) && virtualRows.value.length > 0) return virtualRows.value
354
358
  if (Array.isArray(dp?.rowMap)) return dp.rowMap
355
359
  if (Array.isArray(dp?.rowMap?.value)) return dp.rowMap.value
356
360
  if (Array.isArray(dp?.allVisibleRows)) return dp.allVisibleRows
@@ -27,11 +27,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
27
27
  }>, {
28
28
  disabled: boolean;
29
29
  idKey: string;
30
+ labelField: string;
30
31
  searchtext: string;
31
32
  virtualScroll: boolean;
32
33
  itemHeight: number;
33
34
  buffer: number;
34
- labelField: string;
35
35
  multiSelect: boolean;
36
36
  viewportHeight: number;
37
37
  iconField: string;
@@ -27,11 +27,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
27
27
  }>, {
28
28
  disabled: boolean;
29
29
  idKey: string;
30
+ labelField: string;
30
31
  searchtext: string;
31
32
  virtualScroll: boolean;
32
33
  itemHeight: number;
33
34
  buffer: number;
34
- labelField: string;
35
35
  multiSelect: boolean;
36
36
  viewportHeight: number;
37
37
  iconField: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@katlux/toolkit",
3
- "version": "0.1.1-alpha.126",
3
+ "version": "0.1.1-alpha.128",
4
4
  "description": "Core UI toolkit and utilities for the Katlux ecosystem",
5
5
  "author": "Katlux",
6
6
  "license": "Apache-2.0",
@@ -54,7 +54,7 @@
54
54
  "**/*.sass"
55
55
  ],
56
56
  "dependencies": {
57
- "@katlux/providers": "^0.1.1-alpha.114",
57
+ "@katlux/providers": "^0.1.1-alpha.116",
58
58
  "@nuxt/kit": "^3.12.0",
59
59
  "@nuxtjs/i18n": "^10.4.0",
60
60
  "pug": "^3.0.0",