@katlux/toolkit 0.1.0-beta.58 → 0.1.0-beta.59
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.logic.d.ts +1 -1
- package/dist/runtime/components/KCombobox/KCombobox.global.d.vue.ts +9 -0
- package/dist/runtime/components/KCombobox/KCombobox.global.vue +1 -0
- package/dist/runtime/components/KCombobox/KCombobox.global.vue.d.ts +9 -0
- package/dist/runtime/components/KCombobox/KCombobox.logic.d.ts +5 -0
- package/dist/runtime/components/KCombobox/KCombobox.logic.js +4 -0
- package/dist/runtime/components/KDatatable/KDataIterator.logic.d.ts +0 -20
- package/dist/runtime/components/KDatatable/KDatatable.logic.d.ts +0 -12
- package/dist/runtime/components/KDatePicker/KDatePicker.global.d.vue.ts +10 -1
- package/dist/runtime/components/KDatePicker/KDatePicker.global.vue +2 -1
- package/dist/runtime/components/KDatePicker/KDatePicker.global.vue.d.ts +10 -1
- package/dist/runtime/components/KDatePicker/KDatePicker.logic.d.ts +5 -0
- package/dist/runtime/components/KDatePicker/KDatePicker.logic.js +4 -0
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.d.vue.ts +10 -1
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.vue +2 -1
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.global.vue.d.ts +10 -1
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.logic.d.ts +5 -0
- package/dist/runtime/components/KDateTimePicker/KDateTimePicker.logic.js +4 -0
- package/dist/runtime/components/KTreePicker/KTreePicker.global.d.vue.ts +11 -2
- package/dist/runtime/components/KTreePicker/KTreePicker.global.vue +1 -0
- package/dist/runtime/components/KTreePicker/KTreePicker.global.vue.d.ts +11 -2
- package/dist/runtime/components/KTreePicker/KTreePicker.logic.d.ts +5 -0
- package/dist/runtime/components/KTreePicker/KTreePicker.logic.js +4 -0
- 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/KCombobox/KCombobox.d.vue.ts +1 -0
- package/dist/runtime/presets/default/components/KCombobox/KCombobox.vue +2 -0
- package/dist/runtime/presets/default/components/KCombobox/KCombobox.vue.d.ts +1 -0
- package/dist/runtime/presets/default/components/KCombobox/KComboboxList.d.vue.ts +1 -0
- package/dist/runtime/presets/default/components/KCombobox/KComboboxList.vue +2 -1
- package/dist/runtime/presets/default/components/KCombobox/KComboboxList.vue.d.ts +1 -0
- package/dist/runtime/presets/default/components/KDatePicker/KDatePicker.d.vue.ts +1 -0
- package/dist/runtime/presets/default/components/KDatePicker/KDatePicker.vue +2 -1
- package/dist/runtime/presets/default/components/KDatePicker/KDatePicker.vue.d.ts +1 -0
- package/dist/runtime/presets/default/components/KDateTimePicker/KDateTimePicker.d.vue.ts +1 -0
- package/dist/runtime/presets/default/components/KDateTimePicker/KDateTimePicker.vue +3 -1
- package/dist/runtime/presets/default/components/KDateTimePicker/KDateTimePicker.vue.d.ts +1 -0
- package/dist/runtime/presets/default/components/KTreePicker/KTreePicker.d.vue.ts +1 -0
- package/dist/runtime/presets/default/components/KTreePicker/KTreePicker.vue +2 -1
- package/dist/runtime/presets/default/components/KTreePicker/KTreePicker.vue.d.ts +1 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -22,7 +22,7 @@ export interface KButtonEmits {
|
|
|
22
22
|
export declare function useKButtonLogic(props: KButtonProps, emit: KButtonEmits): {
|
|
23
23
|
isLink: import("vue").ComputedRef<boolean>;
|
|
24
24
|
isDisabled: import("vue").ComputedRef<boolean | undefined>;
|
|
25
|
-
buttonClasses: import("vue").ComputedRef<("info" | "default" | "primary" | "danger" | "success" | "warning" | "light" | "dark" | "
|
|
25
|
+
buttonClasses: import("vue").ComputedRef<("info" | "default" | "small" | "primary" | "danger" | "success" | "warning" | "light" | "dark" | "large" | "medium" | {
|
|
26
26
|
disabled: boolean | undefined;
|
|
27
27
|
})[]>;
|
|
28
28
|
onClick: () => void;
|
|
@@ -28,6 +28,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
28
28
|
type: BooleanConstructor;
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
|
+
searchPlaceholder: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
31
35
|
visibleFields: {
|
|
32
36
|
type: import("vue").PropType<Array<String>>;
|
|
33
37
|
default: null;
|
|
@@ -97,6 +101,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
97
101
|
type: BooleanConstructor;
|
|
98
102
|
default: boolean;
|
|
99
103
|
};
|
|
104
|
+
searchPlaceholder: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
100
108
|
visibleFields: {
|
|
101
109
|
type: import("vue").PropType<Array<String>>;
|
|
102
110
|
default: null;
|
|
@@ -143,6 +151,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
143
151
|
validationText: string;
|
|
144
152
|
modelValue: any;
|
|
145
153
|
searchbox: boolean;
|
|
154
|
+
searchPlaceholder: string;
|
|
146
155
|
isOptionsOpen: boolean;
|
|
147
156
|
placeholder: string;
|
|
148
157
|
teleportTo: string;
|
|
@@ -27,6 +27,7 @@ const templateProps = computed(() => ({
|
|
|
27
27
|
labelField: props.labelField,
|
|
28
28
|
placeholder: props.placeholder,
|
|
29
29
|
searchbox: props.searchbox,
|
|
30
|
+
searchPlaceholder: props.searchPlaceholder,
|
|
30
31
|
searchtext: searchtext.value,
|
|
31
32
|
filteredOptions: filteredOptions.value,
|
|
32
33
|
getSelectedContent,
|
|
@@ -28,6 +28,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
28
28
|
type: BooleanConstructor;
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
|
+
searchPlaceholder: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
31
35
|
visibleFields: {
|
|
32
36
|
type: import("vue").PropType<Array<String>>;
|
|
33
37
|
default: null;
|
|
@@ -97,6 +101,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
97
101
|
type: BooleanConstructor;
|
|
98
102
|
default: boolean;
|
|
99
103
|
};
|
|
104
|
+
searchPlaceholder: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
100
108
|
visibleFields: {
|
|
101
109
|
type: import("vue").PropType<Array<String>>;
|
|
102
110
|
default: null;
|
|
@@ -143,6 +151,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
143
151
|
validationText: string;
|
|
144
152
|
modelValue: any;
|
|
145
153
|
searchbox: boolean;
|
|
154
|
+
searchPlaceholder: string;
|
|
146
155
|
isOptionsOpen: boolean;
|
|
147
156
|
placeholder: string;
|
|
148
157
|
teleportTo: string;
|
|
@@ -10,6 +10,7 @@ export interface KComboboxProps {
|
|
|
10
10
|
maxSelectedDisplay?: number | string | false;
|
|
11
11
|
placeholder?: string;
|
|
12
12
|
searchbox?: boolean;
|
|
13
|
+
searchPlaceholder?: string;
|
|
13
14
|
visibleFields?: Array<String> | null;
|
|
14
15
|
labelField: string;
|
|
15
16
|
valueField?: string;
|
|
@@ -53,6 +54,10 @@ export declare const KComboboxDefaultProps: {
|
|
|
53
54
|
type: BooleanConstructor;
|
|
54
55
|
default: boolean;
|
|
55
56
|
};
|
|
57
|
+
searchPlaceholder: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
56
61
|
visibleFields: {
|
|
57
62
|
type: PropType<Array<String>>;
|
|
58
63
|
default: null;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ADataProvider } from '@katlux/providers';
|
|
2
|
-
export interface KDataIteratorProps {
|
|
3
|
-
dataProvider: ADataProvider;
|
|
4
|
-
visibleFields?: Array<string> | null;
|
|
5
|
-
loading?: boolean;
|
|
6
|
-
search?: string;
|
|
7
|
-
itemsPerPage?: number;
|
|
8
|
-
page?: number;
|
|
9
|
-
}
|
|
10
|
-
export declare const KDataIteratorDefaultProps: {
|
|
11
|
-
visibleFields: null;
|
|
12
|
-
loading: boolean;
|
|
13
|
-
search: string;
|
|
14
|
-
itemsPerPage: number;
|
|
15
|
-
page: number;
|
|
16
|
-
};
|
|
17
|
-
export declare function useKDataIteratorLogic(props: KDataIteratorProps): {
|
|
18
|
-
selectedRows: import("vue").Ref<any[], any[]>;
|
|
19
|
-
selectAll: import("vue").Ref<boolean, boolean>;
|
|
20
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ADataProvider } from '@katlux/providers';
|
|
2
|
-
export interface KDatatableProps {
|
|
3
|
-
dataProvider: ADataProvider;
|
|
4
|
-
visibleFields?: Array<string> | null;
|
|
5
|
-
}
|
|
6
|
-
export declare const KDatatableDefaultProps: {
|
|
7
|
-
visibleFields: null;
|
|
8
|
-
};
|
|
9
|
-
export declare function useKDatatableLogic(props: KDatatableProps): {
|
|
10
|
-
selectedRows: import("vue").Ref<any[], any[]>;
|
|
11
|
-
selectAll: import("vue").Ref<boolean, boolean>;
|
|
12
|
-
};
|
|
@@ -32,6 +32,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
32
32
|
type: import("vue").PropType<string>;
|
|
33
33
|
default: undefined;
|
|
34
34
|
};
|
|
35
|
+
placeholder: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
35
39
|
validation: {
|
|
36
40
|
type: import("vue").PropType<KDatePickerProps["validation"]>;
|
|
37
41
|
default: null;
|
|
@@ -84,6 +88,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
84
88
|
type: import("vue").PropType<string>;
|
|
85
89
|
default: undefined;
|
|
86
90
|
};
|
|
91
|
+
placeholder: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
87
95
|
validation: {
|
|
88
96
|
type: import("vue").PropType<KDatePickerProps["validation"]>;
|
|
89
97
|
default: null;
|
|
@@ -105,10 +113,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
105
113
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
106
114
|
}>, {
|
|
107
115
|
isOpen: boolean;
|
|
116
|
+
day: string | Date;
|
|
108
117
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
109
118
|
validationText: string;
|
|
110
119
|
modelValue: string | Date;
|
|
111
|
-
|
|
120
|
+
placeholder: string;
|
|
112
121
|
teleportTo: string;
|
|
113
122
|
showClear: boolean;
|
|
114
123
|
align: "left" | "right" | undefined;
|
|
@@ -29,7 +29,8 @@ const templateProps = computed(() => ({
|
|
|
29
29
|
teleportTo: props.teleportTo,
|
|
30
30
|
validation: props.validation,
|
|
31
31
|
validationText: props.validationText,
|
|
32
|
-
align: props.align
|
|
32
|
+
align: props.align,
|
|
33
|
+
placeholder: props.placeholder
|
|
33
34
|
}));
|
|
34
35
|
const handleClear = () => {
|
|
35
36
|
_date.value = "";
|
|
@@ -32,6 +32,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
32
32
|
type: import("vue").PropType<string>;
|
|
33
33
|
default: undefined;
|
|
34
34
|
};
|
|
35
|
+
placeholder: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: undefined;
|
|
38
|
+
};
|
|
35
39
|
validation: {
|
|
36
40
|
type: import("vue").PropType<KDatePickerProps["validation"]>;
|
|
37
41
|
default: null;
|
|
@@ -84,6 +88,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
84
88
|
type: import("vue").PropType<string>;
|
|
85
89
|
default: undefined;
|
|
86
90
|
};
|
|
91
|
+
placeholder: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: undefined;
|
|
94
|
+
};
|
|
87
95
|
validation: {
|
|
88
96
|
type: import("vue").PropType<KDatePickerProps["validation"]>;
|
|
89
97
|
default: null;
|
|
@@ -105,10 +113,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
105
113
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
106
114
|
}>, {
|
|
107
115
|
isOpen: boolean;
|
|
116
|
+
day: string | Date;
|
|
108
117
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
109
118
|
validationText: string;
|
|
110
119
|
modelValue: string | Date;
|
|
111
|
-
|
|
120
|
+
placeholder: string;
|
|
112
121
|
teleportTo: string;
|
|
113
122
|
showClear: boolean;
|
|
114
123
|
align: "left" | "right" | undefined;
|
|
@@ -9,6 +9,7 @@ export interface KDatePickerProps {
|
|
|
9
9
|
calendarDefinedDays: IDefinedDay[];
|
|
10
10
|
calendarMarkedDays: IMarkedDay[];
|
|
11
11
|
teleportTo?: string;
|
|
12
|
+
placeholder?: string;
|
|
12
13
|
validation?: 'success' | 'warning' | 'error' | null;
|
|
13
14
|
validationText?: string;
|
|
14
15
|
align?: 'left' | 'right';
|
|
@@ -46,6 +47,10 @@ export declare const KDatePickerDefaultProps: {
|
|
|
46
47
|
type: PropType<string>;
|
|
47
48
|
default: undefined;
|
|
48
49
|
};
|
|
50
|
+
placeholder: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: undefined;
|
|
53
|
+
};
|
|
49
54
|
validation: {
|
|
50
55
|
type: PropType<KDatePickerProps["validation"]>;
|
|
51
56
|
default: null;
|
|
@@ -40,6 +40,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
40
40
|
type: import("vue").PropType<string>;
|
|
41
41
|
default: undefined;
|
|
42
42
|
};
|
|
43
|
+
placeholder: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
43
47
|
validation: {
|
|
44
48
|
type: import("vue").PropType<KDateTimePickerProps["validation"]>;
|
|
45
49
|
default: null;
|
|
@@ -95,6 +99,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
95
99
|
type: import("vue").PropType<string>;
|
|
96
100
|
default: undefined;
|
|
97
101
|
};
|
|
102
|
+
placeholder: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
98
106
|
validation: {
|
|
99
107
|
type: import("vue").PropType<KDateTimePickerProps["validation"]>;
|
|
100
108
|
default: null;
|
|
@@ -111,10 +119,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
111
119
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
112
120
|
}>, {
|
|
113
121
|
isOpen: boolean;
|
|
122
|
+
day: string | Date;
|
|
114
123
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
115
124
|
validationText: string;
|
|
116
125
|
modelValue: string | Date;
|
|
117
|
-
|
|
126
|
+
placeholder: string;
|
|
118
127
|
teleportTo: string;
|
|
119
128
|
showClear: boolean;
|
|
120
129
|
format: string;
|
|
@@ -34,7 +34,8 @@ const templateProps = computed(() => ({
|
|
|
34
34
|
timeSelected,
|
|
35
35
|
teleportTo: props.teleportTo,
|
|
36
36
|
validation: props.validation,
|
|
37
|
-
validationText: props.validationText
|
|
37
|
+
validationText: props.validationText,
|
|
38
|
+
placeholder: props.placeholder
|
|
38
39
|
}));
|
|
39
40
|
const handleClear = () => {
|
|
40
41
|
_date.value = "";
|
|
@@ -40,6 +40,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
40
40
|
type: import("vue").PropType<string>;
|
|
41
41
|
default: undefined;
|
|
42
42
|
};
|
|
43
|
+
placeholder: {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
43
47
|
validation: {
|
|
44
48
|
type: import("vue").PropType<KDateTimePickerProps["validation"]>;
|
|
45
49
|
default: null;
|
|
@@ -95,6 +99,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
95
99
|
type: import("vue").PropType<string>;
|
|
96
100
|
default: undefined;
|
|
97
101
|
};
|
|
102
|
+
placeholder: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: undefined;
|
|
105
|
+
};
|
|
98
106
|
validation: {
|
|
99
107
|
type: import("vue").PropType<KDateTimePickerProps["validation"]>;
|
|
100
108
|
default: null;
|
|
@@ -111,10 +119,11 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
111
119
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
112
120
|
}>, {
|
|
113
121
|
isOpen: boolean;
|
|
122
|
+
day: string | Date;
|
|
114
123
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
115
124
|
validationText: string;
|
|
116
125
|
modelValue: string | Date;
|
|
117
|
-
|
|
126
|
+
placeholder: string;
|
|
118
127
|
teleportTo: string;
|
|
119
128
|
showClear: boolean;
|
|
120
129
|
format: string;
|
|
@@ -11,6 +11,7 @@ export interface KDateTimePickerProps {
|
|
|
11
11
|
calendarDefinedDays?: IDefinedDay[];
|
|
12
12
|
calendarMarkedDays?: IMarkedDay[];
|
|
13
13
|
teleportTo?: string;
|
|
14
|
+
placeholder?: string;
|
|
14
15
|
validation?: 'success' | 'warning' | 'error' | null;
|
|
15
16
|
validationText?: string;
|
|
16
17
|
}
|
|
@@ -55,6 +56,10 @@ export declare const KDateTimePickerDefaultProps: {
|
|
|
55
56
|
type: PropType<string>;
|
|
56
57
|
default: undefined;
|
|
57
58
|
};
|
|
59
|
+
placeholder: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: undefined;
|
|
62
|
+
};
|
|
58
63
|
validation: {
|
|
59
64
|
type: PropType<KDateTimePickerProps["validation"]>;
|
|
60
65
|
default: null;
|
|
@@ -52,6 +52,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
|
+
searchPlaceholder: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
55
59
|
validation: {
|
|
56
60
|
type: import("vue").PropType<KTreePickerProps["validation"]>;
|
|
57
61
|
default: null;
|
|
@@ -126,6 +130,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
126
130
|
type: BooleanConstructor;
|
|
127
131
|
default: boolean;
|
|
128
132
|
};
|
|
133
|
+
searchPlaceholder: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
129
137
|
validation: {
|
|
130
138
|
type: import("vue").PropType<KTreePickerProps["validation"]>;
|
|
131
139
|
default: null;
|
|
@@ -148,14 +156,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
148
156
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
149
157
|
"onUpdate:isOptionsOpen"?: ((value: boolean) => any) | undefined;
|
|
150
158
|
}>, {
|
|
151
|
-
parentKey: string;
|
|
152
|
-
idKey: string;
|
|
153
159
|
disabled: boolean;
|
|
154
160
|
loading: boolean;
|
|
155
161
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
156
162
|
validationText: string;
|
|
157
163
|
modelValue: any;
|
|
158
164
|
searchbox: boolean;
|
|
165
|
+
searchPlaceholder: string;
|
|
159
166
|
isOptionsOpen: boolean;
|
|
160
167
|
placeholder: string;
|
|
161
168
|
fullWidth: boolean;
|
|
@@ -163,6 +170,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
163
170
|
multiSelect: boolean;
|
|
164
171
|
valueField: string;
|
|
165
172
|
iconField: string;
|
|
173
|
+
idKey: string;
|
|
174
|
+
parentKey: string;
|
|
166
175
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
167
176
|
declare const _default: typeof __VLS_export;
|
|
168
177
|
export default _default;
|
|
@@ -34,6 +34,7 @@ const templateProps = computed(() => ({
|
|
|
34
34
|
labelField: props.labelField,
|
|
35
35
|
placeholder: props.placeholder,
|
|
36
36
|
searchbox: props.searchbox,
|
|
37
|
+
searchPlaceholder: props.searchPlaceholder,
|
|
37
38
|
searchtext: searchtext.value,
|
|
38
39
|
multiSelect: props.multiSelect,
|
|
39
40
|
filteredOptions: filteredOptions.value,
|
|
@@ -52,6 +52,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
default: boolean;
|
|
54
54
|
};
|
|
55
|
+
searchPlaceholder: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
55
59
|
validation: {
|
|
56
60
|
type: import("vue").PropType<KTreePickerProps["validation"]>;
|
|
57
61
|
default: null;
|
|
@@ -126,6 +130,10 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
126
130
|
type: BooleanConstructor;
|
|
127
131
|
default: boolean;
|
|
128
132
|
};
|
|
133
|
+
searchPlaceholder: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
129
137
|
validation: {
|
|
130
138
|
type: import("vue").PropType<KTreePickerProps["validation"]>;
|
|
131
139
|
default: null;
|
|
@@ -148,14 +156,13 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
148
156
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
149
157
|
"onUpdate:isOptionsOpen"?: ((value: boolean) => any) | undefined;
|
|
150
158
|
}>, {
|
|
151
|
-
parentKey: string;
|
|
152
|
-
idKey: string;
|
|
153
159
|
disabled: boolean;
|
|
154
160
|
loading: boolean;
|
|
155
161
|
validation: "error" | "success" | "warning" | null | undefined;
|
|
156
162
|
validationText: string;
|
|
157
163
|
modelValue: any;
|
|
158
164
|
searchbox: boolean;
|
|
165
|
+
searchPlaceholder: string;
|
|
159
166
|
isOptionsOpen: boolean;
|
|
160
167
|
placeholder: string;
|
|
161
168
|
fullWidth: boolean;
|
|
@@ -163,6 +170,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
163
170
|
multiSelect: boolean;
|
|
164
171
|
valueField: string;
|
|
165
172
|
iconField: string;
|
|
173
|
+
idKey: string;
|
|
174
|
+
parentKey: string;
|
|
166
175
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
167
176
|
declare const _default: typeof __VLS_export;
|
|
168
177
|
export default _default;
|
|
@@ -14,6 +14,7 @@ export interface KTreePickerProps {
|
|
|
14
14
|
loading?: boolean;
|
|
15
15
|
multiSelect?: boolean;
|
|
16
16
|
searchbox?: boolean;
|
|
17
|
+
searchPlaceholder?: string;
|
|
17
18
|
validation?: 'success' | 'warning' | 'error' | null;
|
|
18
19
|
validationText?: string;
|
|
19
20
|
isOptionsOpen?: boolean;
|
|
@@ -72,6 +73,10 @@ export declare const KTreePickerDefaultProps: {
|
|
|
72
73
|
type: BooleanConstructor;
|
|
73
74
|
default: boolean;
|
|
74
75
|
};
|
|
76
|
+
searchPlaceholder: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
75
80
|
validation: {
|
|
76
81
|
type: PropType<KTreePickerProps["validation"]>;
|
|
77
82
|
default: null;
|
|
@@ -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("./KTreeView.logic.js").IRowAction[];
|
|
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("./KTreeView.logic.js").IRowAction[];
|
|
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;
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
KComboboxList(
|
|
17
17
|
v-else
|
|
18
18
|
:searchbox="searchbox"
|
|
19
|
+
:searchPlaceholder="searchPlaceholder"
|
|
19
20
|
v-model:searchtext="searchtextModel"
|
|
20
21
|
:loading="loading"
|
|
21
22
|
:filteredOptions="filteredOptions"
|
|
@@ -39,6 +40,7 @@ const props = defineProps<{
|
|
|
39
40
|
labelField: string
|
|
40
41
|
placeholder: string
|
|
41
42
|
searchbox: boolean
|
|
43
|
+
searchPlaceholder: string
|
|
42
44
|
searchtext: string
|
|
43
45
|
filteredOptions: any[]
|
|
44
46
|
getSelectedContent: () => any[]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template lang="pug">
|
|
2
2
|
.KCombobox__options-content
|
|
3
|
-
KTextbox(v-if="searchbox" v-model="searchtextModel" placeholder="
|
|
3
|
+
KTextbox(v-if="searchbox" v-model="searchtextModel" :placeholder="searchPlaceholder" :showClear="true")
|
|
4
4
|
.KCombobox__loading(v-if="loading")
|
|
5
5
|
.KCombobox__loading-spinner
|
|
6
6
|
ul.KCombobox__options-list(v-else)
|
|
@@ -21,6 +21,7 @@ import type { ComboboxItem } from '../../../../components/KCombobox/KCombobox.lo
|
|
|
21
21
|
const props = defineProps<{
|
|
22
22
|
searchbox: boolean
|
|
23
23
|
searchtext: string
|
|
24
|
+
searchPlaceholder: string
|
|
24
25
|
loading: boolean
|
|
25
26
|
filteredOptions: any[]
|
|
26
27
|
labelField: string
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
v-model="maskedModel"
|
|
5
5
|
:key="maskedModel"
|
|
6
6
|
:mask="format"
|
|
7
|
-
:placeholder="format"
|
|
7
|
+
:placeholder="placeholder || format"
|
|
8
8
|
@click.stop="textboxClicked"
|
|
9
9
|
:showClear="showClear"
|
|
10
10
|
@clear="onClear"
|
|
@@ -36,6 +36,7 @@ const props = defineProps<{
|
|
|
36
36
|
onClear?: () => void
|
|
37
37
|
dateSelected: (date: Date) => void
|
|
38
38
|
teleportTo?: string
|
|
39
|
+
placeholder?: string
|
|
39
40
|
validation?: 'success' | 'warning' | 'error' | null
|
|
40
41
|
validationText?: string
|
|
41
42
|
align?: 'left' | 'right'
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
v-model="maskedModel"
|
|
5
5
|
:key="maskedModel"
|
|
6
6
|
:mask="format"
|
|
7
|
-
:placeholder="format"
|
|
7
|
+
:placeholder="placeholder || (format || 'MM-DD-YYYY HH:mm')"
|
|
8
|
+
@click.stop="textboxClicked"
|
|
8
9
|
:showClear="showClear"
|
|
9
10
|
@clear="onClear"
|
|
10
11
|
:validation="validation"
|
|
@@ -43,6 +44,7 @@ const props = defineProps<{
|
|
|
43
44
|
dateSelected: (date: Date) => void
|
|
44
45
|
timeSelected: (time: string) => void
|
|
45
46
|
teleportTo?: string
|
|
47
|
+
placeholder?: string
|
|
46
48
|
validation?: 'success' | 'warning' | 'error' | null
|
|
47
49
|
validationText?: string
|
|
48
50
|
}>()
|
|
@@ -22,7 +22,7 @@ KCombobox(
|
|
|
22
22
|
.KTreePicker__search(v-if="searchbox")
|
|
23
23
|
KTextbox(
|
|
24
24
|
v-model="searchtextModel"
|
|
25
|
-
placeholder="
|
|
25
|
+
:placeholder="searchPlaceholder"
|
|
26
26
|
showClear
|
|
27
27
|
)
|
|
28
28
|
KTree(
|
|
@@ -56,6 +56,7 @@ const props = defineProps<{
|
|
|
56
56
|
labelField: string
|
|
57
57
|
placeholder: string
|
|
58
58
|
searchbox: boolean
|
|
59
|
+
searchPlaceholder: string
|
|
59
60
|
multiSelect: boolean
|
|
60
61
|
searchtext: string
|
|
61
62
|
filteredOptions: any[]
|