@katlux/toolkit 0.1.1-alpha.114 → 0.1.1-alpha.115
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/module.json +1 -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/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 +5 -5
- package/dist/runtime/components/KCombobox/KCombobox.global.vue.d.ts +5 -5
- package/dist/runtime/components/KCompositeInput/KCompositeInput.global.d.vue.ts +6 -6
- package/dist/runtime/components/KCompositeInput/KCompositeInput.global.vue.d.ts +6 -6
- package/dist/runtime/components/KContextMenu/KContextMenu.global.d.vue.ts +1 -1
- package/dist/runtime/components/KContextMenu/KContextMenu.global.vue.d.ts +1 -1
- package/dist/runtime/components/KDatatable/KDataIterator.global.d.vue.ts +1 -1
- package/dist/runtime/components/KDatatable/KDataIterator.global.vue.d.ts +1 -1
- package/dist/runtime/components/KDatePicker/KDatePicker.global.d.vue.ts +4 -4
- package/dist/runtime/components/KDatePicker/KDatePicker.global.vue.d.ts +4 -4
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.d.vue.ts +4 -4
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.vue.d.ts +4 -4
- package/dist/runtime/components/KDropdown/KDropdown.global.d.vue.ts +2 -2
- package/dist/runtime/components/KDropdown/KDropdown.global.vue.d.ts +2 -2
- package/dist/runtime/components/KHourPicker/KHourPicker.global.d.vue.ts +1 -1
- package/dist/runtime/components/KHourPicker/KHourPicker.global.vue.d.ts +1 -1
- package/dist/runtime/components/KLayout/KLayout.global.d.vue.ts +3 -0
- package/dist/runtime/components/KLayout/KLayout.global.vue +11 -0
- package/dist/runtime/components/KLayout/KLayout.global.vue.d.ts +3 -0
- package/dist/runtime/components/KMaskTextbox/KMaskTextbox.global.d.vue.ts +1 -1
- package/dist/runtime/components/KMaskTextbox/KMaskTextbox.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 +2 -2
- package/dist/runtime/components/KTextarea/KTextarea.global.vue.d.ts +2 -2
- 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/KTree/KTree.global.d.vue.ts +2 -2
- package/dist/runtime/components/KTree/KTree.global.vue.d.ts +2 -2
- package/dist/runtime/components/KTreePicker/KTreePicker.global.d.vue.ts +7 -7
- package/dist/runtime/components/KTreePicker/KTreePicker.global.vue.d.ts +7 -7
- package/dist/runtime/components/KTreeView/KTreeView.global.d.vue.ts +3 -3
- package/dist/runtime/components/KTreeView/KTreeView.global.vue.d.ts +3 -3
- package/dist/runtime/presets/default/components/KLayout/KLayout.d.vue.ts +3 -0
- package/dist/runtime/presets/default/components/KLayout/KLayout.vue +66 -0
- package/dist/runtime/presets/default/components/KLayout/KLayout.vue.d.ts +3 -0
- package/dist/runtime/presets/default/components/KTree/KTree.d.vue.ts +1 -1
- package/dist/runtime/presets/default/components/KTree/KTree.vue.d.ts +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -56,10 +56,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
56
56
|
}>, {
|
|
57
57
|
size: "small" | "large" | "medium" | undefined;
|
|
58
58
|
type: "default" | "info" | "success" | "warning" | "danger" | "primary" | "light" | "dark" | undefined;
|
|
59
|
+
loading: boolean;
|
|
59
60
|
iconOnly: boolean;
|
|
60
61
|
disabled: boolean;
|
|
61
62
|
href: string;
|
|
62
|
-
loading: boolean;
|
|
63
63
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
export default _default;
|
|
@@ -56,10 +56,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
56
56
|
}>, {
|
|
57
57
|
size: "small" | "large" | "medium" | undefined;
|
|
58
58
|
type: "default" | "info" | "success" | "warning" | "danger" | "primary" | "light" | "dark" | undefined;
|
|
59
|
+
loading: boolean;
|
|
59
60
|
iconOnly: boolean;
|
|
60
61
|
disabled: boolean;
|
|
61
62
|
href: string;
|
|
62
|
-
loading: boolean;
|
|
63
63
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
64
64
|
declare const _default: typeof __VLS_export;
|
|
65
65
|
export default _default;
|
|
@@ -54,9 +54,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
54
54
|
}>> & Readonly<{
|
|
55
55
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
|
+
value: any;
|
|
57
58
|
label: string;
|
|
58
59
|
disabled: boolean;
|
|
59
|
-
value: any;
|
|
60
60
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
61
61
|
validationText: string;
|
|
62
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -54,9 +54,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
54
54
|
}>> & Readonly<{
|
|
55
55
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
56
56
|
}>, {
|
|
57
|
+
value: any;
|
|
57
58
|
label: string;
|
|
58
59
|
disabled: boolean;
|
|
59
|
-
value: any;
|
|
60
60
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
61
61
|
validationText: string;
|
|
62
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -181,22 +181,22 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
181
181
|
label: string;
|
|
182
182
|
disabled: boolean;
|
|
183
183
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
184
|
+
validationText: string;
|
|
185
|
+
modelValue: any;
|
|
186
|
+
valueField: string;
|
|
187
|
+
placeholder: string;
|
|
184
188
|
searchbox: boolean;
|
|
189
|
+
teleportTo: string;
|
|
185
190
|
searchPlaceholder: string;
|
|
186
191
|
virtualScroll: boolean;
|
|
187
192
|
itemHeight: number;
|
|
188
193
|
buffer: number;
|
|
189
194
|
isOptionsOpen: boolean;
|
|
190
|
-
placeholder: string;
|
|
191
|
-
teleportTo: string;
|
|
192
195
|
fullWidth: boolean;
|
|
193
|
-
validationText: string;
|
|
194
196
|
closeOnSelect: boolean;
|
|
195
197
|
multiSelect: boolean;
|
|
196
198
|
maxSelectedDisplay: string | number | boolean;
|
|
197
199
|
visibleFields: String[];
|
|
198
|
-
valueField: string;
|
|
199
|
-
modelValue: any;
|
|
200
200
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
201
201
|
declare const _default: typeof __VLS_export;
|
|
202
202
|
export default _default;
|
|
@@ -181,22 +181,22 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
181
181
|
label: string;
|
|
182
182
|
disabled: boolean;
|
|
183
183
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
184
|
+
validationText: string;
|
|
185
|
+
modelValue: any;
|
|
186
|
+
valueField: string;
|
|
187
|
+
placeholder: string;
|
|
184
188
|
searchbox: boolean;
|
|
189
|
+
teleportTo: string;
|
|
185
190
|
searchPlaceholder: string;
|
|
186
191
|
virtualScroll: boolean;
|
|
187
192
|
itemHeight: number;
|
|
188
193
|
buffer: number;
|
|
189
194
|
isOptionsOpen: boolean;
|
|
190
|
-
placeholder: string;
|
|
191
|
-
teleportTo: string;
|
|
192
195
|
fullWidth: boolean;
|
|
193
|
-
validationText: string;
|
|
194
196
|
closeOnSelect: boolean;
|
|
195
197
|
multiSelect: boolean;
|
|
196
198
|
maxSelectedDisplay: string | number | boolean;
|
|
197
199
|
visibleFields: String[];
|
|
198
|
-
valueField: string;
|
|
199
|
-
modelValue: any;
|
|
200
200
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
201
201
|
declare const _default: typeof __VLS_export;
|
|
202
202
|
export default _default;
|
|
@@ -191,20 +191,20 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
191
191
|
type: import("./KCompositeInput.logic.js").CompositeInputType;
|
|
192
192
|
label: string;
|
|
193
193
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
194
|
-
searchbox: boolean;
|
|
195
|
-
labelField: string;
|
|
196
|
-
placeholder: string;
|
|
197
|
-
teleportTo: string;
|
|
198
194
|
validationText: string;
|
|
199
|
-
mask: string;
|
|
200
|
-
valueField: string;
|
|
201
195
|
modelValue: import("./KCompositeInput.logic.js").ICompositeItem[];
|
|
202
196
|
inputType: "number" | "url" | "search" | "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;
|
|
@@ -191,20 +191,20 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
191
191
|
type: import("./KCompositeInput.logic.js").CompositeInputType;
|
|
192
192
|
label: string;
|
|
193
193
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
194
|
-
searchbox: boolean;
|
|
195
|
-
labelField: string;
|
|
196
|
-
placeholder: string;
|
|
197
|
-
teleportTo: string;
|
|
198
194
|
validationText: string;
|
|
199
|
-
mask: string;
|
|
200
|
-
valueField: string;
|
|
201
195
|
modelValue: import("./KCompositeInput.logic.js").ICompositeItem[];
|
|
202
196
|
inputType: "number" | "url" | "search" | "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;
|
|
@@ -46,8 +46,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
46
46
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
47
47
|
}>, {
|
|
48
48
|
isOpen: boolean;
|
|
49
|
-
teleportTo: string;
|
|
50
49
|
x: number;
|
|
50
|
+
teleportTo: string;
|
|
51
51
|
y: number;
|
|
52
52
|
target: string | HTMLElement;
|
|
53
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -46,8 +46,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
46
46
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
47
47
|
}>, {
|
|
48
48
|
isOpen: boolean;
|
|
49
|
-
teleportTo: string;
|
|
50
49
|
x: number;
|
|
50
|
+
teleportTo: string;
|
|
51
51
|
y: number;
|
|
52
52
|
target: string | HTMLElement;
|
|
53
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -12,8 +12,8 @@ interface Props {
|
|
|
12
12
|
}
|
|
13
13
|
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
14
|
search: string;
|
|
15
|
-
bulkActions: IKDatatableAction[];
|
|
16
15
|
loading: boolean;
|
|
16
|
+
bulkActions: IKDatatableAction[];
|
|
17
17
|
visibleFields: Array<string> | null;
|
|
18
18
|
rowActions: IKDatatableAction[];
|
|
19
19
|
itemsPerPage: number;
|
|
@@ -12,8 +12,8 @@ interface Props {
|
|
|
12
12
|
}
|
|
13
13
|
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
14
|
search: string;
|
|
15
|
-
bulkActions: IKDatatableAction[];
|
|
16
15
|
loading: boolean;
|
|
16
|
+
bulkActions: IKDatatableAction[];
|
|
17
17
|
visibleFields: Array<string> | null;
|
|
18
18
|
rowActions: IKDatatableAction[];
|
|
19
19
|
itemsPerPage: number;
|
|
@@ -122,15 +122,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
122
122
|
}>, {
|
|
123
123
|
isOpen: boolean;
|
|
124
124
|
label: string;
|
|
125
|
+
validation: "error" | "success" | "warning" | null | undefined;
|
|
126
|
+
validationText: string;
|
|
127
|
+
modelValue: string | Date;
|
|
125
128
|
definedDays: import("../KCalendar/types.js").IDefinedDay[];
|
|
126
129
|
markedDays: import("../KCalendar/types.js").IMarkedDay[];
|
|
127
130
|
day: string | Date;
|
|
128
|
-
validation: "error" | "success" | "warning" | null | undefined;
|
|
129
131
|
placeholder: string;
|
|
130
|
-
teleportTo: string;
|
|
131
|
-
validationText: string;
|
|
132
|
-
modelValue: string | Date;
|
|
133
132
|
showClear: boolean;
|
|
133
|
+
teleportTo: string;
|
|
134
134
|
align: "left" | "right" | undefined;
|
|
135
135
|
format: string;
|
|
136
136
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -122,15 +122,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
122
122
|
}>, {
|
|
123
123
|
isOpen: boolean;
|
|
124
124
|
label: string;
|
|
125
|
+
validation: "error" | "success" | "warning" | null | undefined;
|
|
126
|
+
validationText: string;
|
|
127
|
+
modelValue: string | Date;
|
|
125
128
|
definedDays: import("../KCalendar/types.js").IDefinedDay[];
|
|
126
129
|
markedDays: import("../KCalendar/types.js").IMarkedDay[];
|
|
127
130
|
day: string | Date;
|
|
128
|
-
validation: "error" | "success" | "warning" | null | undefined;
|
|
129
131
|
placeholder: string;
|
|
130
|
-
teleportTo: string;
|
|
131
|
-
validationText: string;
|
|
132
|
-
modelValue: string | Date;
|
|
133
132
|
showClear: boolean;
|
|
133
|
+
teleportTo: string;
|
|
134
134
|
align: "left" | "right" | undefined;
|
|
135
135
|
format: string;
|
|
136
136
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -128,15 +128,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
128
128
|
}>, {
|
|
129
129
|
isOpen: boolean;
|
|
130
130
|
label: string;
|
|
131
|
+
validation: "error" | "success" | "warning" | null | undefined;
|
|
132
|
+
validationText: string;
|
|
133
|
+
modelValue: string | Date;
|
|
131
134
|
definedDays: import("../KCalendar/types.js").IDefinedDay[];
|
|
132
135
|
markedDays: import("../KCalendar/types.js").IMarkedDay[];
|
|
133
136
|
day: string | Date;
|
|
134
|
-
validation: "error" | "success" | "warning" | null | undefined;
|
|
135
137
|
placeholder: string;
|
|
136
|
-
teleportTo: string;
|
|
137
|
-
validationText: string;
|
|
138
|
-
modelValue: string | Date;
|
|
139
138
|
showClear: boolean;
|
|
139
|
+
teleportTo: string;
|
|
140
140
|
format: string;
|
|
141
141
|
timeFormat: string;
|
|
142
142
|
timeStep: number;
|
|
@@ -128,15 +128,15 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
128
128
|
}>, {
|
|
129
129
|
isOpen: boolean;
|
|
130
130
|
label: string;
|
|
131
|
+
validation: "error" | "success" | "warning" | null | undefined;
|
|
132
|
+
validationText: string;
|
|
133
|
+
modelValue: string | Date;
|
|
131
134
|
definedDays: import("../KCalendar/types.js").IDefinedDay[];
|
|
132
135
|
markedDays: import("../KCalendar/types.js").IMarkedDay[];
|
|
133
136
|
day: string | Date;
|
|
134
|
-
validation: "error" | "success" | "warning" | null | undefined;
|
|
135
137
|
placeholder: string;
|
|
136
|
-
teleportTo: string;
|
|
137
|
-
validationText: string;
|
|
138
|
-
modelValue: string | Date;
|
|
139
138
|
showClear: boolean;
|
|
139
|
+
teleportTo: string;
|
|
140
140
|
format: string;
|
|
141
141
|
timeFormat: string;
|
|
142
142
|
timeStep: number;
|
|
@@ -54,11 +54,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
54
54
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
55
55
|
}>, {
|
|
56
56
|
isOpen: boolean;
|
|
57
|
-
direction: import("./KDropdown.logic.js").KDropdownDirection;
|
|
58
57
|
teleportTo: string;
|
|
58
|
+
direction: import("./KDropdown.logic.js").KDropdownDirection;
|
|
59
59
|
fullWidth: boolean;
|
|
60
|
-
align: import("./KDropdown.logic.js").KDropdownAlign;
|
|
61
60
|
anchorEl: HTMLElement;
|
|
61
|
+
align: import("./KDropdown.logic.js").KDropdownAlign;
|
|
62
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
63
|
declare const _default: typeof __VLS_export;
|
|
64
64
|
export default _default;
|
|
@@ -54,11 +54,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
54
54
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
55
55
|
}>, {
|
|
56
56
|
isOpen: boolean;
|
|
57
|
-
direction: import("./KDropdown.logic.js").KDropdownDirection;
|
|
58
57
|
teleportTo: string;
|
|
58
|
+
direction: import("./KDropdown.logic.js").KDropdownDirection;
|
|
59
59
|
fullWidth: boolean;
|
|
60
|
-
align: import("./KDropdown.logic.js").KDropdownAlign;
|
|
61
60
|
anchorEl: HTMLElement;
|
|
61
|
+
align: import("./KDropdown.logic.js").KDropdownAlign;
|
|
62
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
63
|
declare const _default: typeof __VLS_export;
|
|
64
64
|
export default _default;
|
|
@@ -110,9 +110,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
110
110
|
label: string;
|
|
111
111
|
disabled: boolean;
|
|
112
112
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
113
|
-
placeholder: string;
|
|
114
113
|
validationText: string;
|
|
115
114
|
modelValue: string;
|
|
115
|
+
placeholder: string;
|
|
116
116
|
showClear: boolean;
|
|
117
117
|
format: string;
|
|
118
118
|
step: number;
|
|
@@ -110,9 +110,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
110
110
|
label: string;
|
|
111
111
|
disabled: boolean;
|
|
112
112
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
113
|
-
placeholder: string;
|
|
114
113
|
validationText: string;
|
|
115
114
|
modelValue: string;
|
|
115
|
+
placeholder: string;
|
|
116
116
|
showClear: boolean;
|
|
117
117
|
format: string;
|
|
118
118
|
step: number;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { usePresetComponent } from "../../composables/usePresetComponent";
|
|
3
|
+
import KLayoutDefault from "../../presets/default/components/KLayout/KLayout.vue";
|
|
4
|
+
const presetComponent = usePresetComponent("KLayout", KLayoutDefault);
|
|
5
|
+
</script>
|
|
6
|
+
|
|
7
|
+
<template lang="pug">
|
|
8
|
+
component(:is="presetComponent" v-bind="$attrs")
|
|
9
|
+
template(v-for="(_, slot) in $slots" #[slot]="scope")
|
|
10
|
+
slot(:name="slot" v-bind="scope")
|
|
11
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -66,9 +66,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
66
66
|
}>, {
|
|
67
67
|
label: string;
|
|
68
68
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
69
|
-
placeholder: string;
|
|
70
69
|
validationText: string;
|
|
71
70
|
modelValue: string;
|
|
71
|
+
placeholder: string;
|
|
72
72
|
showClear: boolean;
|
|
73
73
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
74
74
|
declare const _default: typeof __VLS_export;
|
|
@@ -66,9 +66,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
66
66
|
}>, {
|
|
67
67
|
label: string;
|
|
68
68
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
69
|
-
placeholder: string;
|
|
70
69
|
validationText: string;
|
|
71
70
|
modelValue: string;
|
|
71
|
+
placeholder: string;
|
|
72
72
|
showClear: boolean;
|
|
73
73
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
74
74
|
declare const _default: typeof __VLS_export;
|
|
@@ -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
|
+
value: number;
|
|
56
57
|
label: string;
|
|
57
58
|
disabled: boolean;
|
|
58
|
-
value: number;
|
|
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
|
+
value: number;
|
|
56
57
|
label: string;
|
|
57
58
|
disabled: boolean;
|
|
58
|
-
value: number;
|
|
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;
|
|
60
61
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
61
|
-
placeholder: string;
|
|
62
62
|
validationText: string;
|
|
63
|
-
|
|
63
|
+
placeholder: string;
|
|
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;
|
|
60
61
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
61
|
-
placeholder: string;
|
|
62
62
|
validationText: string;
|
|
63
|
-
|
|
63
|
+
placeholder: string;
|
|
64
64
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
65
|
declare const _default: typeof __VLS_export;
|
|
66
66
|
export default _default;
|
|
@@ -69,9 +69,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
69
69
|
type: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
|
|
70
70
|
label: string;
|
|
71
71
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
72
|
-
placeholder: string;
|
|
73
72
|
validationText: string;
|
|
74
73
|
modelValue: string;
|
|
74
|
+
placeholder: string;
|
|
75
75
|
showClear: boolean;
|
|
76
76
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
77
|
declare const _default: typeof __VLS_export;
|
|
@@ -69,9 +69,9 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
69
69
|
type: "number" | "url" | "search" | "text" | "password" | "email" | "tel" | undefined;
|
|
70
70
|
label: string;
|
|
71
71
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
72
|
-
placeholder: string;
|
|
73
72
|
validationText: string;
|
|
74
73
|
modelValue: string;
|
|
74
|
+
placeholder: string;
|
|
75
75
|
showClear: boolean;
|
|
76
76
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
77
|
declare const _default: typeof __VLS_export;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
48
48
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
49
|
}>, {
|
|
50
50
|
type: import("./KToast.logic.js").KToastType;
|
|
51
|
-
text: string;
|
|
52
51
|
modelValue: boolean;
|
|
52
|
+
text: string;
|
|
53
53
|
timeout: number;
|
|
54
54
|
teleport: boolean;
|
|
55
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
48
48
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
49
49
|
}>, {
|
|
50
50
|
type: import("./KToast.logic.js").KToastType;
|
|
51
|
-
text: string;
|
|
52
51
|
modelValue: boolean;
|
|
52
|
+
text: string;
|
|
53
53
|
timeout: number;
|
|
54
54
|
teleport: boolean;
|
|
55
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -73,12 +73,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
73
73
|
default: string;
|
|
74
74
|
};
|
|
75
75
|
}>> & Readonly<{}>, {
|
|
76
|
+
idKey: string;
|
|
76
77
|
disabled: boolean;
|
|
77
|
-
searchtext: string;
|
|
78
78
|
labelField: string;
|
|
79
|
+
searchtext: string;
|
|
79
80
|
multiSelect: boolean;
|
|
80
81
|
iconField: string;
|
|
81
|
-
idKey: string;
|
|
82
82
|
isNodeSelected: (node: any) => boolean;
|
|
83
83
|
selectable: boolean;
|
|
84
84
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -73,12 +73,12 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
73
73
|
default: string;
|
|
74
74
|
};
|
|
75
75
|
}>> & Readonly<{}>, {
|
|
76
|
+
idKey: string;
|
|
76
77
|
disabled: boolean;
|
|
77
|
-
searchtext: string;
|
|
78
78
|
labelField: string;
|
|
79
|
+
searchtext: string;
|
|
79
80
|
multiSelect: boolean;
|
|
80
81
|
iconField: string;
|
|
81
|
-
idKey: string;
|
|
82
82
|
isNodeSelected: (node: any) => boolean;
|
|
83
83
|
selectable: boolean;
|
|
84
84
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -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
|
+
parentKey: string;
|
|
168
|
+
loading: boolean;
|
|
169
|
+
idKey: string;
|
|
167
170
|
label: string;
|
|
168
171
|
disabled: boolean;
|
|
169
|
-
loading: boolean;
|
|
170
172
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
173
|
+
validationText: string;
|
|
174
|
+
modelValue: any;
|
|
175
|
+
valueField: string;
|
|
176
|
+
placeholder: string;
|
|
171
177
|
searchbox: boolean;
|
|
172
178
|
searchPlaceholder: string;
|
|
173
179
|
isOptionsOpen: boolean;
|
|
174
|
-
placeholder: string;
|
|
175
180
|
fullWidth: boolean;
|
|
176
|
-
validationText: string;
|
|
177
181
|
closeOnSelect: boolean;
|
|
178
182
|
multiSelect: boolean;
|
|
179
|
-
valueField: string;
|
|
180
|
-
modelValue: any;
|
|
181
|
-
parentKey: string;
|
|
182
183
|
iconField: string;
|
|
183
|
-
idKey: 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
|
+
parentKey: string;
|
|
168
|
+
loading: boolean;
|
|
169
|
+
idKey: string;
|
|
167
170
|
label: string;
|
|
168
171
|
disabled: boolean;
|
|
169
|
-
loading: boolean;
|
|
170
172
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
173
|
+
validationText: string;
|
|
174
|
+
modelValue: any;
|
|
175
|
+
valueField: string;
|
|
176
|
+
placeholder: string;
|
|
171
177
|
searchbox: boolean;
|
|
172
178
|
searchPlaceholder: string;
|
|
173
179
|
isOptionsOpen: boolean;
|
|
174
|
-
placeholder: string;
|
|
175
180
|
fullWidth: boolean;
|
|
176
|
-
validationText: string;
|
|
177
181
|
closeOnSelect: boolean;
|
|
178
182
|
multiSelect: boolean;
|
|
179
|
-
valueField: string;
|
|
180
|
-
modelValue: any;
|
|
181
|
-
parentKey: string;
|
|
182
183
|
iconField: string;
|
|
183
|
-
idKey: string;
|
|
184
184
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
185
185
|
declare const _default: typeof __VLS_export;
|
|
186
186
|
export default _default;
|
|
@@ -103,16 +103,16 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
103
103
|
"onUpdate:selectedRows"?: ((value: any[]) => any) | undefined;
|
|
104
104
|
"onUpdate:selectAll"?: ((value: boolean) => any) | undefined;
|
|
105
105
|
}>, {
|
|
106
|
+
parentKey: string;
|
|
107
|
+
idKey: string;
|
|
108
|
+
expandedByDefault: boolean;
|
|
106
109
|
bulkActions: import("@katlux/providers").IKDatatableAction[];
|
|
107
110
|
selectedRows: any[];
|
|
108
111
|
selectAll: boolean;
|
|
109
112
|
rowActions: import("@katlux/providers").IKDatatableAction[];
|
|
110
113
|
cellSlots: Record<string, any>;
|
|
111
114
|
headerSlots: Record<string, any>;
|
|
112
|
-
parentKey: string;
|
|
113
|
-
expandedByDefault: boolean;
|
|
114
115
|
treeColumnIndex: number;
|
|
115
|
-
idKey: string;
|
|
116
116
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
117
117
|
declare const _default: typeof __VLS_export;
|
|
118
118
|
export default _default;
|
|
@@ -103,16 +103,16 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
103
103
|
"onUpdate:selectedRows"?: ((value: any[]) => any) | undefined;
|
|
104
104
|
"onUpdate:selectAll"?: ((value: boolean) => any) | undefined;
|
|
105
105
|
}>, {
|
|
106
|
+
parentKey: string;
|
|
107
|
+
idKey: string;
|
|
108
|
+
expandedByDefault: boolean;
|
|
106
109
|
bulkActions: import("@katlux/providers").IKDatatableAction[];
|
|
107
110
|
selectedRows: any[];
|
|
108
111
|
selectAll: boolean;
|
|
109
112
|
rowActions: import("@katlux/providers").IKDatatableAction[];
|
|
110
113
|
cellSlots: Record<string, any>;
|
|
111
114
|
headerSlots: Record<string, any>;
|
|
112
|
-
parentKey: string;
|
|
113
|
-
expandedByDefault: boolean;
|
|
114
115
|
treeColumnIndex: number;
|
|
115
|
-
idKey: string;
|
|
116
116
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
117
117
|
declare const _default: typeof __VLS_export;
|
|
118
118
|
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<template lang="pug">
|
|
2
|
+
.KLayout(:class="{ 'has-aside': Boolean($slots.aside) }")
|
|
3
|
+
header.KLayout__header(v-if="$slots.header")
|
|
4
|
+
slot(name="header")
|
|
5
|
+
aside.KLayout__aside(v-if="$slots.aside")
|
|
6
|
+
slot(name="aside")
|
|
7
|
+
main.KLayout__main
|
|
8
|
+
slot(name="main")
|
|
9
|
+
slot
|
|
10
|
+
footer.KLayout__footer(v-if="$slots.footer")
|
|
11
|
+
slot(name="footer")
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script lang="ts" setup>
|
|
15
|
+
// Default preset component for KLayout
|
|
16
|
+
</script>
|
|
17
|
+
|
|
18
|
+
<style lang="scss" scoped>
|
|
19
|
+
.KLayout {
|
|
20
|
+
display: grid;
|
|
21
|
+
min-height: 100vh;
|
|
22
|
+
grid-template-rows: auto 1fr auto;
|
|
23
|
+
grid-template-columns: 1fr;
|
|
24
|
+
grid-template-areas:
|
|
25
|
+
"header"
|
|
26
|
+
"main"
|
|
27
|
+
"footer";
|
|
28
|
+
background-color: var(--layout-content-bg, #f8fafc);
|
|
29
|
+
color: var(--text-color, inherit);
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
|
|
32
|
+
&.has-aside {
|
|
33
|
+
grid-template-columns: var(--layout-sidebar-width, 240px) 1fr;
|
|
34
|
+
grid-template-areas:
|
|
35
|
+
"header header"
|
|
36
|
+
"aside main"
|
|
37
|
+
"footer footer";
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__header {
|
|
41
|
+
grid-area: header;
|
|
42
|
+
position: sticky;
|
|
43
|
+
top: 0;
|
|
44
|
+
z-index: 100;
|
|
45
|
+
background-color: var(--layout-header-bg, #ffffff);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__aside {
|
|
49
|
+
grid-area: aside;
|
|
50
|
+
background-color: var(--layout-sidebar-bg, #ffffff);
|
|
51
|
+
overflow-y: auto;
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__main {
|
|
56
|
+
grid-area: main;
|
|
57
|
+
min-width: 0;
|
|
58
|
+
overflow-y: auto;
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&__footer {
|
|
63
|
+
grid-area: footer;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
</style>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -21,11 +21,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
22
|
onSelect?: ((row: TTreeRow) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
+
idKey: string;
|
|
24
25
|
disabled: boolean;
|
|
25
26
|
labelField: string;
|
|
26
27
|
multiSelect: boolean;
|
|
27
28
|
iconField: string;
|
|
28
|
-
idKey: string;
|
|
29
29
|
isNodeSelected: (node: any) => boolean;
|
|
30
30
|
selectable: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -21,11 +21,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
22
|
onSelect?: ((row: TTreeRow) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
+
idKey: string;
|
|
24
25
|
disabled: boolean;
|
|
25
26
|
labelField: string;
|
|
26
27
|
multiSelect: boolean;
|
|
27
28
|
iconField: string;
|
|
28
|
-
idKey: string;
|
|
29
29
|
isNodeSelected: (node: any) => boolean;
|
|
30
30
|
selectable: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|