@knime/scripting-editor 0.0.81 → 0.0.82
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/initial-data-service-browser-mock.js +22 -10
- package/dist/lib/main.d.ts +2 -2
- package/dist/main.js +6 -6
- package/dist/node_modules/@knime/components/src/components/Buttons/Button.vue.d.ts +131 -0
- package/dist/node_modules/@knime/components/src/components/Buttons/PlusButton.vue.d.ts +28 -0
- package/dist/node_modules/@knime/components/src/components/Buttons/SplitButton.vue.d.ts +9 -0
- package/dist/node_modules/@knime/components/src/components/Carousel/Carousel.vue.d.ts +22 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorer.vue.d.ts +216 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerContextMenu.vue.d.ts +40 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItem.vue.d.ts +78 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItemBack.vue.d.ts +12 -0
- package/dist/node_modules/@knime/components/src/components/FileExplorer/components/FileExplorerItemBase.vue.d.ts +20 -0
- package/dist/node_modules/@knime/components/src/components/LinkList/LinkList.vue.d.ts +27 -0
- package/dist/node_modules/@knime/components/src/components/Modal/Modal.vue.d.ts +66 -0
- package/dist/node_modules/@knime/components/src/components/Pill/Pill.vue.d.ts +36 -0
- package/dist/node_modules/@knime/components/src/components/SubMenu/SubMenu.vue.d.ts +199 -0
- package/dist/node_modules/@knime/components/src/components/Tag/Tag.vue.d.ts +45 -0
- package/dist/node_modules/@knime/components/src/components/Tag/TagList.vue.d.ts +82 -0
- package/dist/node_modules/@knime/components/src/components/Toast/components/Toast.vue.d.ts +51 -0
- package/dist/node_modules/@knime/components/src/components/Toast/components/ToastButton.vue.d.ts +27 -0
- package/dist/node_modules/@knime/components/src/components/Toast/components/ToastStack.vue.d.ts +30 -0
- package/dist/node_modules/@knime/components/src/components/base/Button/BaseButton.vue.d.ts +90 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItem.vue.d.ts +28 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItemText.vue.d.ts +19 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/BaseMenuItems.vue.d.ts +123 -0
- package/dist/node_modules/@knime/components/src/components/base/MenuItem/MenuItems.vue.d.ts +96 -0
- package/dist/node_modules/@knime/components/src/components/base/Modal/BaseModal.vue.d.ts +66 -0
- package/dist/node_modules/@knime/components/src/components/forms/ComboBox/ComboBox.vue.d.ts +150 -0
- package/dist/node_modules/@knime/components/src/components/forms/Dropdown/Dropdown.vue.d.ts +203 -0
- package/dist/node_modules/@knime/components/src/components/forms/MultiModeTwinlist/MultiModeTwinlist.vue.d.ts +299 -0
- package/dist/node_modules/@knime/components/src/components/forms/MultiselectListBox/MultiselectListBox.vue.d.ts +279 -0
- package/dist/node_modules/@knime/components/src/components/forms/NumberInput/NumberInput.vue.d.ts +166 -0
- package/dist/node_modules/@knime/components/src/components/forms/QuantityInput/QuantityInput.vue.d.ts +45 -0
- package/dist/node_modules/@knime/components/src/components/forms/RadioButtons/BaseRadioButtons.vue.d.ts +66 -0
- package/dist/node_modules/@knime/components/src/components/forms/SearchableCheckboxes/SearchableCheckboxes.vue.d.ts +267 -0
- package/dist/node_modules/@knime/components/src/components/forms/SearchableList/SearchableList.vue.d.ts +285 -0
- package/dist/node_modules/@knime/components/src/components/forms/SortList/SortList.vue.d.ts +26 -0
- package/dist/node_modules/@knime/components/src/components/forms/Twinlist/Twinlist.vue.d.ts +381 -0
- package/dist/node_modules/@knime/components/src/components/forms/ValueSwitch/ValueSwitch.vue.d.ts +65 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtIFrame.vue.d.ts +27 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtShadowApp.vue.d.ts +41 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtension.vue.d.ts +49 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionAlerts.vue.d.ts +34 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionErrorOverlay.vue.d.ts +41 -0
- package/dist/node_modules/@knime/ui-extension-renderer/src/UIExtensionWarningButton.vue.d.ts +34 -0
- package/dist/src/initial-data-service-browser-mock.d.ts +2 -1
- package/dist/src/initial-data-service.d.ts +14 -1
- package/package.json +1 -1
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { Ref, PropType } from 'vue';
|
|
2
|
+
import { Id, PossibleValue } from '../possibleValues';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
/**
|
|
6
|
+
* selected value (which is a list of ids of entries)
|
|
7
|
+
*/
|
|
8
|
+
possibleValues: {
|
|
9
|
+
type: PropType<PossibleValue[]>;
|
|
10
|
+
default: () => void;
|
|
11
|
+
validator(values: PossibleValue): boolean;
|
|
12
|
+
};
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: PropType<Id[] | null>;
|
|
15
|
+
default: () => void;
|
|
16
|
+
};
|
|
17
|
+
disabled: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
withSearchLabel: {
|
|
22
|
+
default: boolean;
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
};
|
|
25
|
+
id: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: null;
|
|
28
|
+
};
|
|
29
|
+
initialCaseSensitiveSearch: {
|
|
30
|
+
default: boolean;
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
};
|
|
33
|
+
showSearch: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Controls the size of the list.
|
|
39
|
+
* Number of visible items (for others user need to scroll)
|
|
40
|
+
* - 0 means all
|
|
41
|
+
* - values 1 - 4 are ignored; 5 is minimum
|
|
42
|
+
*/
|
|
43
|
+
size: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
default: number;
|
|
46
|
+
validator(value: number): boolean;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Labels
|
|
50
|
+
*/
|
|
51
|
+
searchLabel: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
required: false;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
searchPlaceholder: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
required: false;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* controls the alignment
|
|
63
|
+
*/
|
|
64
|
+
alignment: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
validator(value: string): boolean;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Is only used when emptyStateComponent is null
|
|
71
|
+
*/
|
|
72
|
+
emptyStateLabel: {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
filterChosenValuesOnPossibleValuesChange: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
required: false;
|
|
80
|
+
};
|
|
81
|
+
initialSearchTerm: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
required: false;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
86
|
+
showEmptyState: {
|
|
87
|
+
default: boolean;
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
};
|
|
90
|
+
isValid: {
|
|
91
|
+
default: boolean;
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
* Is only used when emptyStateComponent is null
|
|
96
|
+
*/
|
|
97
|
+
/**
|
|
98
|
+
* this component is displayed centered in the middle of the box in case it is empty
|
|
99
|
+
*/
|
|
100
|
+
emptyStateComponent: {
|
|
101
|
+
default: null;
|
|
102
|
+
type: ObjectConstructor;
|
|
103
|
+
};
|
|
104
|
+
compact: {
|
|
105
|
+
type: BooleanConstructor;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
108
|
+
}, {
|
|
109
|
+
selectedValues: Ref<Id[] | null>;
|
|
110
|
+
searchTerm: Ref<string>;
|
|
111
|
+
visibleValues: import('vue').ComputedRef<PossibleValue[]>;
|
|
112
|
+
concatenatedItems: import('vue').ComputedRef<PossibleValue[]>;
|
|
113
|
+
caseSensitiveSearch: Ref<boolean>;
|
|
114
|
+
numLabelInfos: import('vue').ComputedRef<string>;
|
|
115
|
+
matchingInvalidValueIds: import('vue').ComputedRef<PossibleValue[]>;
|
|
116
|
+
allItems: import('vue').ComputedRef<PossibleValue[]>;
|
|
117
|
+
}, unknown, {
|
|
118
|
+
withIsEmptyState(): boolean;
|
|
119
|
+
listSize(): number;
|
|
120
|
+
cssStyleSize(): {
|
|
121
|
+
height: string;
|
|
122
|
+
} | {
|
|
123
|
+
height?: undefined;
|
|
124
|
+
};
|
|
125
|
+
returnContainerRef(): HTMLDivElement;
|
|
126
|
+
allignmentCheck(): {
|
|
127
|
+
height: string;
|
|
128
|
+
} | {
|
|
129
|
+
height?: undefined;
|
|
130
|
+
};
|
|
131
|
+
}, {
|
|
132
|
+
onSearchInput(value: string): void;
|
|
133
|
+
onChange(newVal: Id[]): void;
|
|
134
|
+
hasSelection(): boolean;
|
|
135
|
+
handleMouseIn(): void;
|
|
136
|
+
handleMouseLeave(): void;
|
|
137
|
+
validate(): {
|
|
138
|
+
isValid: boolean;
|
|
139
|
+
errorMessage: string | null;
|
|
140
|
+
};
|
|
141
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
142
|
+
/**
|
|
143
|
+
* selected value (which is a list of ids of entries)
|
|
144
|
+
*/
|
|
145
|
+
possibleValues: {
|
|
146
|
+
type: PropType<PossibleValue[]>;
|
|
147
|
+
default: () => void;
|
|
148
|
+
validator(values: PossibleValue): boolean;
|
|
149
|
+
};
|
|
150
|
+
modelValue: {
|
|
151
|
+
type: PropType<Id[] | null>;
|
|
152
|
+
default: () => void;
|
|
153
|
+
};
|
|
154
|
+
disabled: {
|
|
155
|
+
type: BooleanConstructor;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
withSearchLabel: {
|
|
159
|
+
default: boolean;
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
};
|
|
162
|
+
id: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
default: null;
|
|
165
|
+
};
|
|
166
|
+
initialCaseSensitiveSearch: {
|
|
167
|
+
default: boolean;
|
|
168
|
+
type: BooleanConstructor;
|
|
169
|
+
};
|
|
170
|
+
showSearch: {
|
|
171
|
+
type: BooleanConstructor;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
174
|
+
/**
|
|
175
|
+
* Controls the size of the list.
|
|
176
|
+
* Number of visible items (for others user need to scroll)
|
|
177
|
+
* - 0 means all
|
|
178
|
+
* - values 1 - 4 are ignored; 5 is minimum
|
|
179
|
+
*/
|
|
180
|
+
size: {
|
|
181
|
+
type: NumberConstructor;
|
|
182
|
+
default: number;
|
|
183
|
+
validator(value: number): boolean;
|
|
184
|
+
};
|
|
185
|
+
/**
|
|
186
|
+
* Labels
|
|
187
|
+
*/
|
|
188
|
+
searchLabel: {
|
|
189
|
+
type: StringConstructor;
|
|
190
|
+
required: false;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
searchPlaceholder: {
|
|
194
|
+
type: StringConstructor;
|
|
195
|
+
required: false;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
/**
|
|
199
|
+
* controls the alignment
|
|
200
|
+
*/
|
|
201
|
+
alignment: {
|
|
202
|
+
type: StringConstructor;
|
|
203
|
+
default: string;
|
|
204
|
+
validator(value: string): boolean;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Is only used when emptyStateComponent is null
|
|
208
|
+
*/
|
|
209
|
+
emptyStateLabel: {
|
|
210
|
+
type: StringConstructor;
|
|
211
|
+
default: string;
|
|
212
|
+
};
|
|
213
|
+
filterChosenValuesOnPossibleValuesChange: {
|
|
214
|
+
type: BooleanConstructor;
|
|
215
|
+
default: boolean;
|
|
216
|
+
required: false;
|
|
217
|
+
};
|
|
218
|
+
initialSearchTerm: {
|
|
219
|
+
type: StringConstructor;
|
|
220
|
+
required: false;
|
|
221
|
+
default: string;
|
|
222
|
+
};
|
|
223
|
+
showEmptyState: {
|
|
224
|
+
default: boolean;
|
|
225
|
+
type: BooleanConstructor;
|
|
226
|
+
};
|
|
227
|
+
isValid: {
|
|
228
|
+
default: boolean;
|
|
229
|
+
type: BooleanConstructor;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Is only used when emptyStateComponent is null
|
|
233
|
+
*/
|
|
234
|
+
/**
|
|
235
|
+
* this component is displayed centered in the middle of the box in case it is empty
|
|
236
|
+
*/
|
|
237
|
+
emptyStateComponent: {
|
|
238
|
+
default: null;
|
|
239
|
+
type: ObjectConstructor;
|
|
240
|
+
};
|
|
241
|
+
compact: {
|
|
242
|
+
type: BooleanConstructor;
|
|
243
|
+
default: boolean;
|
|
244
|
+
};
|
|
245
|
+
}>> & {
|
|
246
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
247
|
+
}, {
|
|
248
|
+
size: number;
|
|
249
|
+
disabled: boolean;
|
|
250
|
+
id: string;
|
|
251
|
+
compact: boolean;
|
|
252
|
+
possibleValues: PossibleValue[];
|
|
253
|
+
modelValue: Id[] | null;
|
|
254
|
+
isValid: boolean;
|
|
255
|
+
emptyStateLabel: string;
|
|
256
|
+
emptyStateComponent: Record<string, any>;
|
|
257
|
+
showEmptyState: boolean;
|
|
258
|
+
initialCaseSensitiveSearch: boolean;
|
|
259
|
+
initialSearchTerm: string;
|
|
260
|
+
showSearch: boolean;
|
|
261
|
+
withSearchLabel: boolean;
|
|
262
|
+
searchLabel: string;
|
|
263
|
+
searchPlaceholder: string;
|
|
264
|
+
filterChosenValuesOnPossibleValuesChange: boolean;
|
|
265
|
+
alignment: string;
|
|
266
|
+
}, {}>;
|
|
267
|
+
export default _default;
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { PropType, Ref } from 'vue';
|
|
2
|
+
import { Id, PossibleValue, BottomValue } from '../possibleValues';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
|
+
initialCaseSensitiveSearch: {
|
|
6
|
+
default: boolean;
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
};
|
|
9
|
+
bottomValue: {
|
|
10
|
+
type: PropType<BottomValue>;
|
|
11
|
+
default: () => {
|
|
12
|
+
id: string;
|
|
13
|
+
text: string;
|
|
14
|
+
};
|
|
15
|
+
validator(value: BottomValue): boolean;
|
|
16
|
+
};
|
|
17
|
+
withBottomValue: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
ariaLabel: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Controls the size of the list.
|
|
28
|
+
* Number of visible items (for others user need to scroll)
|
|
29
|
+
* - 0 means all
|
|
30
|
+
* - values 1 - 4 are ignored; 5 is minimum
|
|
31
|
+
*/
|
|
32
|
+
size: {
|
|
33
|
+
type: NumberConstructor;
|
|
34
|
+
default: number;
|
|
35
|
+
validator(value: number): boolean;
|
|
36
|
+
};
|
|
37
|
+
alignment: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
validator(value: string): boolean;
|
|
41
|
+
};
|
|
42
|
+
id: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: null;
|
|
45
|
+
};
|
|
46
|
+
modelValue: {
|
|
47
|
+
type: PropType<Id[] | null>;
|
|
48
|
+
default: () => void;
|
|
49
|
+
};
|
|
50
|
+
possibleValues: {
|
|
51
|
+
type: PropType<PossibleValue[]>;
|
|
52
|
+
default: () => never[];
|
|
53
|
+
};
|
|
54
|
+
isValid: {
|
|
55
|
+
default: boolean;
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
};
|
|
58
|
+
withSearchLabel: {
|
|
59
|
+
default: boolean;
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
};
|
|
62
|
+
showSearch: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Labels
|
|
68
|
+
*/
|
|
69
|
+
searchLabel: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
required: false;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
searchPlaceholder: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
required: false;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
disabled: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
initialSearchTerm: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
showEmptyState: {
|
|
88
|
+
default: boolean;
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Is only used when emptyStateComponent is null
|
|
93
|
+
*/
|
|
94
|
+
emptyStateLabel: {
|
|
95
|
+
default: string;
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* this component is displayed centered in the middle of the box in case it is empty
|
|
100
|
+
*/
|
|
101
|
+
emptyStateComponent: {
|
|
102
|
+
default: null;
|
|
103
|
+
type: ObjectConstructor;
|
|
104
|
+
};
|
|
105
|
+
filterChosenValuesOnPossibleValuesChange: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
required: false;
|
|
109
|
+
};
|
|
110
|
+
unknownValuesText: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
required: false;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
115
|
+
compact: {
|
|
116
|
+
type: BooleanConstructor;
|
|
117
|
+
default: boolean;
|
|
118
|
+
};
|
|
119
|
+
}, {
|
|
120
|
+
concatenatedItems: import('vue').ComputedRef<PossibleValue[]>;
|
|
121
|
+
visibleValues: import('vue').ComputedRef<PossibleValue[]>;
|
|
122
|
+
selectedValues: Ref<Id[] | null>;
|
|
123
|
+
searchTerm: Ref<string>;
|
|
124
|
+
matchingValidIds: import('vue').ComputedRef<PossibleValue[]>;
|
|
125
|
+
caseSensitiveSearch: Ref<boolean>;
|
|
126
|
+
invalidValueIds: import('vue').ComputedRef<Id[]>;
|
|
127
|
+
matchingInvalidValueIds: import('vue').ComputedRef<PossibleValue[]>;
|
|
128
|
+
numLabelInfos: import('vue').ComputedRef<string>;
|
|
129
|
+
numMatchedSearchedItems: import('vue').ComputedRef<PossibleValue[]>;
|
|
130
|
+
possibleValueMap: import('vue').ComputedRef<Record<Id, {
|
|
131
|
+
item: PossibleValue;
|
|
132
|
+
index: number;
|
|
133
|
+
}>>;
|
|
134
|
+
}, unknown, {
|
|
135
|
+
listSize(): number;
|
|
136
|
+
}, {
|
|
137
|
+
hasSelection(): boolean;
|
|
138
|
+
onChange(newVal: Id[]): void;
|
|
139
|
+
onSearchInput(value: string): void;
|
|
140
|
+
validate(): {
|
|
141
|
+
isValid: boolean;
|
|
142
|
+
errorMessage: string | null;
|
|
143
|
+
};
|
|
144
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
145
|
+
initialCaseSensitiveSearch: {
|
|
146
|
+
default: boolean;
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
};
|
|
149
|
+
bottomValue: {
|
|
150
|
+
type: PropType<BottomValue>;
|
|
151
|
+
default: () => {
|
|
152
|
+
id: string;
|
|
153
|
+
text: string;
|
|
154
|
+
};
|
|
155
|
+
validator(value: BottomValue): boolean;
|
|
156
|
+
};
|
|
157
|
+
withBottomValue: {
|
|
158
|
+
type: BooleanConstructor;
|
|
159
|
+
default: boolean;
|
|
160
|
+
};
|
|
161
|
+
ariaLabel: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
required: true;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Controls the size of the list.
|
|
168
|
+
* Number of visible items (for others user need to scroll)
|
|
169
|
+
* - 0 means all
|
|
170
|
+
* - values 1 - 4 are ignored; 5 is minimum
|
|
171
|
+
*/
|
|
172
|
+
size: {
|
|
173
|
+
type: NumberConstructor;
|
|
174
|
+
default: number;
|
|
175
|
+
validator(value: number): boolean;
|
|
176
|
+
};
|
|
177
|
+
alignment: {
|
|
178
|
+
type: StringConstructor;
|
|
179
|
+
default: string;
|
|
180
|
+
validator(value: string): boolean;
|
|
181
|
+
};
|
|
182
|
+
id: {
|
|
183
|
+
type: StringConstructor;
|
|
184
|
+
default: null;
|
|
185
|
+
};
|
|
186
|
+
modelValue: {
|
|
187
|
+
type: PropType<Id[] | null>;
|
|
188
|
+
default: () => void;
|
|
189
|
+
};
|
|
190
|
+
possibleValues: {
|
|
191
|
+
type: PropType<PossibleValue[]>;
|
|
192
|
+
default: () => never[];
|
|
193
|
+
};
|
|
194
|
+
isValid: {
|
|
195
|
+
default: boolean;
|
|
196
|
+
type: BooleanConstructor;
|
|
197
|
+
};
|
|
198
|
+
withSearchLabel: {
|
|
199
|
+
default: boolean;
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
};
|
|
202
|
+
showSearch: {
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
default: boolean;
|
|
205
|
+
};
|
|
206
|
+
/**
|
|
207
|
+
* Labels
|
|
208
|
+
*/
|
|
209
|
+
searchLabel: {
|
|
210
|
+
type: StringConstructor;
|
|
211
|
+
required: false;
|
|
212
|
+
default: string;
|
|
213
|
+
};
|
|
214
|
+
searchPlaceholder: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
required: false;
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
disabled: {
|
|
220
|
+
type: BooleanConstructor;
|
|
221
|
+
default: boolean;
|
|
222
|
+
};
|
|
223
|
+
initialSearchTerm: {
|
|
224
|
+
type: StringConstructor;
|
|
225
|
+
default: string;
|
|
226
|
+
};
|
|
227
|
+
showEmptyState: {
|
|
228
|
+
default: boolean;
|
|
229
|
+
type: BooleanConstructor;
|
|
230
|
+
};
|
|
231
|
+
/**
|
|
232
|
+
* Is only used when emptyStateComponent is null
|
|
233
|
+
*/
|
|
234
|
+
emptyStateLabel: {
|
|
235
|
+
default: string;
|
|
236
|
+
type: StringConstructor;
|
|
237
|
+
};
|
|
238
|
+
/**
|
|
239
|
+
* this component is displayed centered in the middle of the box in case it is empty
|
|
240
|
+
*/
|
|
241
|
+
emptyStateComponent: {
|
|
242
|
+
default: null;
|
|
243
|
+
type: ObjectConstructor;
|
|
244
|
+
};
|
|
245
|
+
filterChosenValuesOnPossibleValuesChange: {
|
|
246
|
+
type: BooleanConstructor;
|
|
247
|
+
default: boolean;
|
|
248
|
+
required: false;
|
|
249
|
+
};
|
|
250
|
+
unknownValuesText: {
|
|
251
|
+
type: StringConstructor;
|
|
252
|
+
required: false;
|
|
253
|
+
default: string;
|
|
254
|
+
};
|
|
255
|
+
compact: {
|
|
256
|
+
type: BooleanConstructor;
|
|
257
|
+
default: boolean;
|
|
258
|
+
};
|
|
259
|
+
}>> & {
|
|
260
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
261
|
+
}, {
|
|
262
|
+
size: number;
|
|
263
|
+
disabled: boolean;
|
|
264
|
+
id: string;
|
|
265
|
+
compact: boolean;
|
|
266
|
+
possibleValues: PossibleValue[];
|
|
267
|
+
modelValue: Id[] | null;
|
|
268
|
+
isValid: boolean;
|
|
269
|
+
ariaLabel: string;
|
|
270
|
+
emptyStateLabel: string;
|
|
271
|
+
emptyStateComponent: Record<string, any>;
|
|
272
|
+
withBottomValue: boolean;
|
|
273
|
+
bottomValue: BottomValue;
|
|
274
|
+
showEmptyState: boolean;
|
|
275
|
+
initialCaseSensitiveSearch: boolean;
|
|
276
|
+
initialSearchTerm: string;
|
|
277
|
+
showSearch: boolean;
|
|
278
|
+
withSearchLabel: boolean;
|
|
279
|
+
searchLabel: string;
|
|
280
|
+
searchPlaceholder: string;
|
|
281
|
+
unknownValuesText: string;
|
|
282
|
+
filterChosenValuesOnPossibleValuesChange: boolean;
|
|
283
|
+
alignment: string;
|
|
284
|
+
}, {}>;
|
|
285
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PossibleValue } from '../possibleValues';
|
|
2
|
+
|
|
3
|
+
export interface Props {
|
|
4
|
+
modelValue: string[];
|
|
5
|
+
id?: string;
|
|
6
|
+
ariaLabel: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
possibleValues: (PossibleValue & {
|
|
9
|
+
id: string;
|
|
10
|
+
})[];
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (args_0: string[]) => void;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
15
|
+
"onUpdate:modelValue"?: ((args_0: string[]) => any) | undefined;
|
|
16
|
+
}, {}, {}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|