@knime/kds-components 1.3.0 → 2.0.0
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/CHANGELOG.md +53 -0
- package/dist/{extension-community-BL7uY2lh.js → extension-community-6vce_o7J.js} +2 -4
- package/dist/extension-community-6vce_o7J.js.map +1 -0
- package/dist/index.css +240 -176
- package/dist/index.js +3886 -1036
- package/dist/index.js.map +1 -1
- package/dist/more-connections-BDZGsY2Y.js +23 -0
- package/dist/more-connections-BDZGsY2Y.js.map +1 -0
- package/dist/src/accessories/ColorSwatch/enums.d.ts +1 -1
- package/dist/src/accessories/Icon/aliases.d.ts +1 -6
- package/dist/src/accessories/Icon/aliases.d.ts.map +1 -1
- package/dist/src/accessories/KeyboardShortcut/KdsKeyboardShortcut.vue.d.ts +4 -0
- package/dist/src/accessories/KeyboardShortcut/KdsKeyboardShortcut.vue.d.ts.map +1 -0
- package/dist/src/accessories/KeyboardShortcut/enums.d.ts +6 -0
- package/dist/src/accessories/KeyboardShortcut/enums.d.ts.map +1 -0
- package/dist/src/accessories/KeyboardShortcut/index.d.ts +4 -0
- package/dist/src/accessories/KeyboardShortcut/index.d.ts.map +1 -0
- package/dist/src/accessories/KeyboardShortcut/types.d.ts +20 -0
- package/dist/src/accessories/KeyboardShortcut/types.d.ts.map +1 -0
- package/dist/src/accessories/Text/KdsTextHighlight/KdsTextHighlight.vue.d.ts +4 -0
- package/dist/src/accessories/Text/KdsTextHighlight/KdsTextHighlight.vue.d.ts.map +1 -0
- package/dist/src/accessories/Text/KdsTextHighlight/index.d.ts +3 -0
- package/dist/src/accessories/Text/KdsTextHighlight/index.d.ts.map +1 -0
- package/dist/src/accessories/Text/KdsTextHighlight/types.d.ts +10 -0
- package/dist/src/accessories/Text/KdsTextHighlight/types.d.ts.map +1 -0
- package/dist/src/accessories/Text/index.d.ts +3 -0
- package/dist/src/accessories/Text/index.d.ts.map +1 -0
- package/dist/src/accessories/_Accessory/_Accessory.vue.d.ts +1 -1
- package/dist/src/accessories/_Accessory/_Accessory.vue.d.ts.map +1 -1
- package/dist/src/accessories/index.d.ts +4 -0
- package/dist/src/accessories/index.d.ts.map +1 -1
- package/dist/src/buttons/ActionButton/ActionButton.vue.d.ts +5 -5
- package/dist/src/buttons/ActionButton/ActionButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts +6 -0
- package/dist/src/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/KdsMenuButton/types.d.ts +1 -1
- package/dist/src/buttons/KdsMenuButton/types.d.ts.map +1 -1
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts +6 -0
- package/dist/src/buttons/KdsSplitButton/KdsSplitButton.vue.d.ts.map +1 -1
- package/dist/src/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts +6 -0
- package/dist/src/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts.map +1 -1
- package/dist/src/buttons/ResponsiveButtonGroup/mapping.d.ts +1 -1
- package/dist/src/buttons/links/KdsLink/KdsLink.vue.d.ts.map +1 -1
- package/dist/src/containers/FileExplorer/FileExplorerItem.vue.d.ts +12 -0
- package/dist/src/containers/FileExplorer/FileExplorerItem.vue.d.ts.map +1 -1
- package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts +24 -0
- package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts.map +1 -1
- package/dist/src/containers/FileExplorer/utils/dragGhostHelpers.d.ts.map +1 -1
- package/dist/src/containers/ListItem/KdsListItem/KdsListItem.vue.d.ts +1 -1
- package/dist/src/containers/ListItem/KdsListItem/KdsListItem.vue.d.ts.map +1 -1
- package/dist/src/containers/ListItem/KdsListItem/types.d.ts +3 -2
- package/dist/src/containers/ListItem/KdsListItem/types.d.ts.map +1 -1
- package/dist/src/containers/ListItem/KdsListItemButton/KdsListItemButton.vue.d.ts +1 -1
- package/dist/src/containers/ListItem/KdsListItemButton/KdsListItemButton.vue.d.ts.map +1 -1
- package/dist/src/containers/ListItem/ListItemSectionTitle/ListItemSectionTitle.vue.d.ts +1 -1
- package/dist/src/containers/ListItem/ListItemSectionTitle/ListItemSectionTitle.vue.d.ts.map +1 -1
- package/dist/src/containers/Menu/KdsMenu.vue.d.ts +12 -0
- package/dist/src/containers/Menu/KdsMenu.vue.d.ts.map +1 -1
- package/dist/src/containers/MenuContainer/types.d.ts +7 -2
- package/dist/src/containers/MenuContainer/types.d.ts.map +1 -1
- package/dist/src/forms/RadioButton/KdsRadioButton.vue.d.ts +1 -1
- package/dist/src/forms/RadioButton/KdsRadioButton.vue.d.ts.map +1 -1
- package/dist/src/forms/RadioButton/KdsValueSwitch.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts +12 -0
- package/dist/src/forms/_helper/InfoPopover/KdsInfoToggleButton.vue.d.ts.map +1 -1
- package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts +12 -0
- package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts +6 -0
- package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts +39 -33
- package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/enums.d.ts +1 -1
- package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts +6 -0
- package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts +103 -91
- package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts +6 -0
- package/dist/src/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts +9 -9
- package/dist/src/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts +9 -9
- package/dist/src/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts +9 -9
- package/dist/src/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts +36 -30
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts +32 -26
- package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/Textarea/KdsTextarea.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TimeInput/KdsTimeInput.vue.d.ts +60 -54
- package/dist/src/forms/inputs/TimeInput/KdsTimeInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TimeInput/TimePicker.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts +9 -9
- package/dist/src/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts +103 -91
- package/dist/src/forms/inputs/ZonedDateTimeInput/KdsZonedDateTimeInput.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/DropdownContainer.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts +40 -34
- package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +6 -0
- package/dist/src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/TwinList/KdsTwinList.vue.d.ts +9 -9
- package/dist/src/forms/selects/TwinList/KdsTwinList.vue.d.ts.map +1 -1
- package/dist/src/forms/selects/TwinList/TwinListBody.vue.d.ts.map +1 -1
- package/dist/src/layouts/Tree/BaseTree/BaseTree.vue.d.ts +103 -1
- package/dist/src/layouts/Tree/BaseTree/BaseTree.vue.d.ts.map +1 -1
- package/dist/src/layouts/Tree/BaseTree/TreeNode.vue.d.ts +2 -2
- package/dist/src/layouts/Tree/BaseTree/TreeNode.vue.d.ts.map +1 -1
- package/dist/src/layouts/Tree/BaseTree/useTreeData.d.ts +7 -7
- package/dist/src/layouts/Tree/BaseTree/useTreeData.d.ts.map +1 -1
- package/dist/src/layouts/Tree/KdsTree.vue.d.ts +396 -15
- package/dist/src/layouts/Tree/KdsTree.vue.d.ts.map +1 -1
- package/dist/src/layouts/Tree/types.d.ts +69 -42
- package/dist/src/layouts/Tree/types.d.ts.map +1 -1
- package/dist/src/layouts/Tree/useTreeSearch.d.ts +36 -0
- package/dist/src/layouts/Tree/useTreeSearch.d.ts.map +1 -0
- package/dist/src/overlays/Popover/KdsPopover.vue.d.ts +4 -0
- package/dist/src/overlays/Popover/KdsPopover.vue.d.ts.map +1 -1
- package/dist/src/overlays/Popover/types.d.ts +11 -0
- package/dist/src/overlays/Popover/types.d.ts.map +1 -1
- package/dist/src/overlays/Tooltip/vKdsTooltip.d.ts.map +1 -1
- package/dist/src/richText/Description/KdsDescription.vue.d.ts.map +1 -1
- package/dist/{view-cards-DS0Cpf95.js → view-cards-5wRxuDR4.js} +2 -2
- package/dist/{view-cards-DS0Cpf95.js.map → view-cards-5wRxuDR4.js.map} +1 -1
- package/dist/view-list-CCEdn_1_.js +23 -0
- package/dist/view-list-CCEdn_1_.js.map +1 -0
- package/dist/view-tree-CSm0zm7z.js +23 -0
- package/dist/view-tree-CSm0zm7z.js.map +1 -0
- package/package.json +6 -7
- package/dist/extension-community-BL7uY2lh.js.map +0 -1
|
@@ -4,7 +4,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
4
4
|
placeholder?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
loading?: boolean;
|
|
7
|
-
possibleValues: import('./types
|
|
7
|
+
possibleValues: import('./types').KdsDropdownOption[];
|
|
8
8
|
} & {
|
|
9
9
|
description?: string;
|
|
10
10
|
} & {
|
|
@@ -23,7 +23,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
23
23
|
placeholder?: string;
|
|
24
24
|
disabled?: boolean;
|
|
25
25
|
loading?: boolean;
|
|
26
|
-
possibleValues: import('./types
|
|
26
|
+
possibleValues: import('./types').KdsDropdownOption[];
|
|
27
27
|
} & {
|
|
28
28
|
description?: string;
|
|
29
29
|
} & {
|
|
@@ -46,7 +46,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
46
46
|
placeholder?: string;
|
|
47
47
|
disabled?: boolean;
|
|
48
48
|
loading?: boolean;
|
|
49
|
-
possibleValues: import('./types
|
|
49
|
+
possibleValues: import('./types').KdsDropdownOption[];
|
|
50
50
|
} & {
|
|
51
51
|
description?: string;
|
|
52
52
|
} & {
|
|
@@ -65,7 +65,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
65
65
|
placeholder?: string;
|
|
66
66
|
disabled?: boolean;
|
|
67
67
|
loading?: boolean;
|
|
68
|
-
possibleValues: import('./types
|
|
68
|
+
possibleValues: import('./types').KdsDropdownOption[];
|
|
69
69
|
} & {
|
|
70
70
|
description?: string;
|
|
71
71
|
} & {
|
|
@@ -83,7 +83,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
83
83
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
84
84
|
baseDropdownEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
85
85
|
open?: boolean;
|
|
86
|
-
} & import('./types
|
|
86
|
+
} & import('./types').BaseDropdownProps> & Readonly<{
|
|
87
87
|
onClick?: (() => any) | undefined;
|
|
88
88
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
89
89
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
@@ -102,7 +102,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
102
102
|
Defaults: {};
|
|
103
103
|
}, Readonly<{
|
|
104
104
|
open?: boolean;
|
|
105
|
-
} & import('./types
|
|
105
|
+
} & import('./types').BaseDropdownProps> & Readonly<{
|
|
106
106
|
onClick?: (() => any) | undefined;
|
|
107
107
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
108
108
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
@@ -114,20 +114,22 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
114
114
|
$data: {};
|
|
115
115
|
$props: ({
|
|
116
116
|
readonly modelValue?: boolean | undefined;
|
|
117
|
-
readonly role?: import('
|
|
118
|
-
readonly popoverType?: import('
|
|
117
|
+
readonly role?: import('../../..').KdsPopoverRole | undefined;
|
|
118
|
+
readonly popoverType?: import('../../..').KdsPopoverType | undefined;
|
|
119
119
|
readonly fullWidth?: boolean | undefined;
|
|
120
120
|
readonly maxInlineSize?: string | undefined;
|
|
121
|
+
readonly stretchInline?: boolean | undefined;
|
|
121
122
|
readonly content?: string | undefined;
|
|
122
|
-
readonly placement?: Exclude<import('
|
|
123
|
+
readonly placement?: Exclude<import('../../..').KdsPopoverPlacement, "custom"> | undefined;
|
|
123
124
|
readonly customPlacementPosition?: never | undefined;
|
|
124
125
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
125
126
|
} | {
|
|
126
127
|
readonly modelValue?: boolean | undefined;
|
|
127
|
-
readonly role?: import('
|
|
128
|
-
readonly popoverType?: import('
|
|
128
|
+
readonly role?: import('../../..').KdsPopoverRole | undefined;
|
|
129
|
+
readonly popoverType?: import('../../..').KdsPopoverType | undefined;
|
|
129
130
|
readonly fullWidth?: boolean | undefined;
|
|
130
131
|
readonly maxInlineSize?: string | undefined;
|
|
132
|
+
readonly stretchInline?: boolean | undefined;
|
|
131
133
|
readonly content?: string | undefined;
|
|
132
134
|
readonly placement: "custom";
|
|
133
135
|
readonly customPlacementPosition: {
|
|
@@ -153,21 +155,23 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
153
155
|
$options: import('vue').ComponentOptionsBase<Readonly<({
|
|
154
156
|
modelValue?: boolean;
|
|
155
157
|
} & {
|
|
156
|
-
role?: import('
|
|
157
|
-
popoverType?: import('
|
|
158
|
+
role?: import('../../..').KdsPopoverRole;
|
|
159
|
+
popoverType?: import('../../..').KdsPopoverType;
|
|
158
160
|
fullWidth?: boolean;
|
|
159
161
|
maxInlineSize?: string;
|
|
162
|
+
stretchInline?: boolean;
|
|
160
163
|
content?: string;
|
|
161
164
|
} & {
|
|
162
|
-
placement?: Exclude<import('
|
|
165
|
+
placement?: Exclude<import('../../..').KdsPopoverPlacement, "custom">;
|
|
163
166
|
customPlacementPosition?: never;
|
|
164
167
|
}) | ({
|
|
165
168
|
modelValue?: boolean;
|
|
166
169
|
} & {
|
|
167
|
-
role?: import('
|
|
168
|
-
popoverType?: import('
|
|
170
|
+
role?: import('../../..').KdsPopoverRole;
|
|
171
|
+
popoverType?: import('../../..').KdsPopoverType;
|
|
169
172
|
fullWidth?: boolean;
|
|
170
173
|
maxInlineSize?: string;
|
|
174
|
+
stretchInline?: boolean;
|
|
171
175
|
content?: string;
|
|
172
176
|
} & {
|
|
173
177
|
placement: "custom";
|
|
@@ -205,21 +209,23 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
205
209
|
} & Readonly<{}> & Omit<{} & (Readonly<({
|
|
206
210
|
modelValue?: boolean;
|
|
207
211
|
} & {
|
|
208
|
-
role?: import('
|
|
209
|
-
popoverType?: import('
|
|
212
|
+
role?: import('../../..').KdsPopoverRole;
|
|
213
|
+
popoverType?: import('../../..').KdsPopoverType;
|
|
210
214
|
fullWidth?: boolean;
|
|
211
215
|
maxInlineSize?: string;
|
|
216
|
+
stretchInline?: boolean;
|
|
212
217
|
content?: string;
|
|
213
218
|
} & {
|
|
214
|
-
placement?: Exclude<import('
|
|
219
|
+
placement?: Exclude<import('../../..').KdsPopoverPlacement, "custom">;
|
|
215
220
|
customPlacementPosition?: never;
|
|
216
221
|
}) | ({
|
|
217
222
|
modelValue?: boolean;
|
|
218
223
|
} & {
|
|
219
|
-
role?: import('
|
|
220
|
-
popoverType?: import('
|
|
224
|
+
role?: import('../../..').KdsPopoverRole;
|
|
225
|
+
popoverType?: import('../../..').KdsPopoverType;
|
|
221
226
|
fullWidth?: boolean;
|
|
222
227
|
maxInlineSize?: string;
|
|
228
|
+
stretchInline?: boolean;
|
|
223
229
|
content?: string;
|
|
224
230
|
} & {
|
|
225
231
|
placement: "custom";
|
|
@@ -241,7 +247,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
241
247
|
}) | null;
|
|
242
248
|
dropdownContainerEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
243
249
|
modelValue?: string;
|
|
244
|
-
} & import('./types
|
|
250
|
+
} & import('./types').DropdownContainerProps> & Readonly<{
|
|
245
251
|
onSelect?: ((id: string) => any) | undefined;
|
|
246
252
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
247
253
|
}>, {
|
|
@@ -263,8 +269,8 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
263
269
|
readonly step?: number | undefined;
|
|
264
270
|
readonly placeholder?: string | undefined;
|
|
265
271
|
readonly disabled?: boolean | undefined;
|
|
266
|
-
readonly leadingIcon?: import('
|
|
267
|
-
readonly trailingIcon?: import('
|
|
272
|
+
readonly leadingIcon?: import('../../..').KdsIconName | undefined;
|
|
273
|
+
readonly trailingIcon?: import('../../..').KdsIconName | undefined;
|
|
268
274
|
readonly error?: boolean | undefined;
|
|
269
275
|
readonly autocomplete?: string | undefined;
|
|
270
276
|
readonly ariaLabel?: string | undefined;
|
|
@@ -284,7 +290,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
284
290
|
readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
285
291
|
readonly clearable?: boolean | undefined;
|
|
286
292
|
readonly pattern?: string | undefined;
|
|
287
|
-
readonly segments?: import('../../inputs/useInputSegments.helpers
|
|
293
|
+
readonly segments?: import('../../inputs/useInputSegments.helpers').KdsInputSegmentsConfig | undefined;
|
|
288
294
|
readonly onInput?: ((event: Event) => any) | undefined;
|
|
289
295
|
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
290
296
|
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
|
@@ -318,8 +324,8 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
318
324
|
step?: number;
|
|
319
325
|
placeholder?: string;
|
|
320
326
|
disabled?: boolean;
|
|
321
|
-
leadingIcon?: import('
|
|
322
|
-
trailingIcon?: import('
|
|
327
|
+
leadingIcon?: import('../../..').KdsIconName;
|
|
328
|
+
trailingIcon?: import('../../..').KdsIconName;
|
|
323
329
|
error?: boolean;
|
|
324
330
|
autocomplete?: string;
|
|
325
331
|
ariaLabel?: string;
|
|
@@ -339,7 +345,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
339
345
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
340
346
|
clearable?: boolean;
|
|
341
347
|
pattern?: string;
|
|
342
|
-
segments?: import('../../inputs/useInputSegments.helpers
|
|
348
|
+
segments?: import('../../inputs/useInputSegments.helpers').KdsInputSegmentsConfig;
|
|
343
349
|
}> & Readonly<{
|
|
344
350
|
onInput?: ((event: Event) => any) | undefined;
|
|
345
351
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -389,8 +395,8 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
389
395
|
step?: number;
|
|
390
396
|
placeholder?: string;
|
|
391
397
|
disabled?: boolean;
|
|
392
|
-
leadingIcon?: import('
|
|
393
|
-
trailingIcon?: import('
|
|
398
|
+
leadingIcon?: import('../../..').KdsIconName;
|
|
399
|
+
trailingIcon?: import('../../..').KdsIconName;
|
|
394
400
|
error?: boolean;
|
|
395
401
|
autocomplete?: string;
|
|
396
402
|
ariaLabel?: string;
|
|
@@ -410,7 +416,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
410
416
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
411
417
|
clearable?: boolean;
|
|
412
418
|
pattern?: string;
|
|
413
|
-
segments?: import('../../inputs/useInputSegments.helpers
|
|
419
|
+
segments?: import('../../inputs/useInputSegments.helpers').KdsInputSegmentsConfig;
|
|
414
420
|
}> & Readonly<{
|
|
415
421
|
onInput?: ((event: Event) => any) | undefined;
|
|
416
422
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -430,7 +436,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
430
436
|
trailing?(): unknown;
|
|
431
437
|
};
|
|
432
438
|
}) | null;
|
|
433
|
-
listContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
439
|
+
listContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../..').KdsListContainerProps> & Readonly<{
|
|
434
440
|
onItemClick?: ((id?: string | undefined) => any) | undefined;
|
|
435
441
|
}>, {
|
|
436
442
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
@@ -450,7 +456,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
450
456
|
C: {};
|
|
451
457
|
M: {};
|
|
452
458
|
Defaults: {};
|
|
453
|
-
}, Readonly<import('
|
|
459
|
+
}, Readonly<import('../../..').KdsListContainerProps> & Readonly<{
|
|
454
460
|
onItemClick?: ((id?: string | undefined) => any) | undefined;
|
|
455
461
|
}>, {
|
|
456
462
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
@@ -469,7 +475,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
469
475
|
Defaults: {};
|
|
470
476
|
}, Readonly<{
|
|
471
477
|
modelValue?: string;
|
|
472
|
-
} & import('./types
|
|
478
|
+
} & import('./types').DropdownContainerProps> & Readonly<{
|
|
473
479
|
onSelect?: ((id: string) => any) | undefined;
|
|
474
480
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
475
481
|
}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/Dropdown/KdsDropdown.vue"],"names":[],"mappings":";iBA4La,MAAM;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;mBAtEnB,
|
|
1
|
+
{"version":3,"file":"KdsDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/Dropdown/KdsDropdown.vue"],"names":[],"mappings":";iBA4La,MAAM;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;mBAtEnB,CAjBgB;;;;iBAuFH,MAAM;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAtEnB,CAjBgB;;;;;;;;;;;;;;;;;;;uBAiBhB,CAjBgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAkSykc,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlB/sc,wBAUG"}
|
|
@@ -127,6 +127,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
127
127
|
readonly popoverType?: import('../../..').KdsPopoverType | undefined;
|
|
128
128
|
readonly fullWidth?: boolean | undefined;
|
|
129
129
|
readonly maxInlineSize?: string | undefined;
|
|
130
|
+
readonly stretchInline?: boolean | undefined;
|
|
130
131
|
readonly content?: string | undefined;
|
|
131
132
|
readonly placement?: Exclude<import('../../..').KdsPopoverPlacement, "custom"> | undefined;
|
|
132
133
|
readonly customPlacementPosition?: never | undefined;
|
|
@@ -137,6 +138,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
137
138
|
readonly popoverType?: import('../../..').KdsPopoverType | undefined;
|
|
138
139
|
readonly fullWidth?: boolean | undefined;
|
|
139
140
|
readonly maxInlineSize?: string | undefined;
|
|
141
|
+
readonly stretchInline?: boolean | undefined;
|
|
140
142
|
readonly content?: string | undefined;
|
|
141
143
|
readonly placement: "custom";
|
|
142
144
|
readonly customPlacementPosition: {
|
|
@@ -166,6 +168,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
166
168
|
popoverType?: import('../../..').KdsPopoverType;
|
|
167
169
|
fullWidth?: boolean;
|
|
168
170
|
maxInlineSize?: string;
|
|
171
|
+
stretchInline?: boolean;
|
|
169
172
|
content?: string;
|
|
170
173
|
} & {
|
|
171
174
|
placement?: Exclude<import('../../..').KdsPopoverPlacement, "custom">;
|
|
@@ -177,6 +180,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
177
180
|
popoverType?: import('../../..').KdsPopoverType;
|
|
178
181
|
fullWidth?: boolean;
|
|
179
182
|
maxInlineSize?: string;
|
|
183
|
+
stretchInline?: boolean;
|
|
180
184
|
content?: string;
|
|
181
185
|
} & {
|
|
182
186
|
placement: "custom";
|
|
@@ -218,6 +222,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
218
222
|
popoverType?: import('../../..').KdsPopoverType;
|
|
219
223
|
fullWidth?: boolean;
|
|
220
224
|
maxInlineSize?: string;
|
|
225
|
+
stretchInline?: boolean;
|
|
221
226
|
content?: string;
|
|
222
227
|
} & {
|
|
223
228
|
placement?: Exclude<import('../../..').KdsPopoverPlacement, "custom">;
|
|
@@ -229,6 +234,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
229
234
|
popoverType?: import('../../..').KdsPopoverType;
|
|
230
235
|
fullWidth?: boolean;
|
|
231
236
|
maxInlineSize?: string;
|
|
237
|
+
stretchInline?: boolean;
|
|
232
238
|
content?: string;
|
|
233
239
|
} & {
|
|
234
240
|
placement: "custom";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsMultiSelectDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue"],"names":[],"mappings":"AAoKA,OAAO,KAAK,EAAE,iBAAiB,EAA+B,MAAM,SAAS,CAAC;;iBAsGjE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;iBAAR,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;mBA/GrB,CAlE8E;;;;iBAiLjE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;iBAAR,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA/GrB,CAlE8E;;;;;;;;;;;;;;;;;;;uBAkE9E,CAlE8E
|
|
1
|
+
{"version":3,"file":"KdsMultiSelectDropdown.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/Dropdown/KdsMultiSelectDropdown.vue"],"names":[],"mappings":"AAoKA,OAAO,KAAK,EAAE,iBAAiB,EAA+B,MAAM,SAAS,CAAC;;iBAsGjE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;iBAAR,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;mBA/GrB,CAlE8E;;;;iBAiLjE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;iBAAR,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA/GrB,CAlE8E;;;;;;;;;;;;;;;;;;;uBAkE9E,CAlE8E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAsXioX,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlBr0X,wBAUG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelectDropdownContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue"],"names":[],"mappings":"AA0PA,OAAO,KAAK,EAEV,oCAAoC,EACrC,MAAM,SAAS,CAAC;AAIjB,KAAK,WAAW,GAAG,oCAAoC,CAAC;AAuKxD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"MultiSelectDropdownContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/Dropdown/MultiSelectDropdownContainer.vue"],"names":[],"mappings":"AA0PA,OAAO,KAAK,EAEV,oCAAoC,EACrC,MAAM,SAAS,CAAC;AAIjB,KAAK,WAAW,GAAG,oCAAoC,CAAC;AAuKxD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;CACtB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA0M6+K,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlBnnL,wBAUG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsMultiSelectListBox.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"KdsMultiSelectListBox.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue"],"names":[],"mappings":";iBAilBa,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;iBAAR,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAR,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;iBAAR,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsVrB,wBASG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KdsTwinListSearchMode } from './types
|
|
1
|
+
import { KdsTwinListSearchMode } from './types';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<({
|
|
3
3
|
mode?: KdsTwinListSearchMode;
|
|
4
4
|
manuallyIncluded?: string[];
|
|
@@ -23,8 +23,8 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
23
23
|
preserveSubTextSpace?: boolean | undefined;
|
|
24
24
|
} & {
|
|
25
25
|
disabled?: boolean;
|
|
26
|
-
possibleValues: import('./types
|
|
27
|
-
filterTypes?: import('./types
|
|
26
|
+
possibleValues: import('./types').KdsTwinListPossibleValue[];
|
|
27
|
+
filterTypes?: import('./types').KdsTwinListPossibleType[];
|
|
28
28
|
enablePatternFilter?: boolean;
|
|
29
29
|
excludeLabel?: string;
|
|
30
30
|
includeLabel?: string;
|
|
@@ -55,8 +55,8 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
55
55
|
preserveSubTextSpace?: boolean | undefined;
|
|
56
56
|
} & {
|
|
57
57
|
disabled?: boolean;
|
|
58
|
-
possibleValues: import('./types
|
|
59
|
-
filterTypes?: import('./types
|
|
58
|
+
possibleValues: import('./types').KdsTwinListPossibleValue[];
|
|
59
|
+
filterTypes?: import('./types').KdsTwinListPossibleType[];
|
|
60
60
|
enablePatternFilter?: boolean;
|
|
61
61
|
excludeLabel?: string;
|
|
62
62
|
includeLabel?: string;
|
|
@@ -97,8 +97,8 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
97
97
|
preserveSubTextSpace?: boolean | undefined;
|
|
98
98
|
} & {
|
|
99
99
|
disabled?: boolean;
|
|
100
|
-
possibleValues: import('./types
|
|
101
|
-
filterTypes?: import('./types
|
|
100
|
+
possibleValues: import('./types').KdsTwinListPossibleValue[];
|
|
101
|
+
filterTypes?: import('./types').KdsTwinListPossibleType[];
|
|
102
102
|
enablePatternFilter?: boolean;
|
|
103
103
|
excludeLabel?: string;
|
|
104
104
|
includeLabel?: string;
|
|
@@ -129,8 +129,8 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
129
129
|
preserveSubTextSpace?: boolean | undefined;
|
|
130
130
|
} & {
|
|
131
131
|
disabled?: boolean;
|
|
132
|
-
possibleValues: import('./types
|
|
133
|
-
filterTypes?: import('./types
|
|
132
|
+
possibleValues: import('./types').KdsTwinListPossibleValue[];
|
|
133
|
+
filterTypes?: import('./types').KdsTwinListPossibleType[];
|
|
134
134
|
enablePatternFilter?: boolean;
|
|
135
135
|
excludeLabel?: string;
|
|
136
136
|
includeLabel?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsTwinList.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/TwinList/KdsTwinList.vue"],"names":[],"mappings":"AAqLA,OAAO,KAAK,EAGV,qBAAqB,EACtB,MAAM,
|
|
1
|
+
{"version":3,"file":"KdsTwinList.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/TwinList/KdsTwinList.vue"],"names":[],"mappings":"AAqLA,OAAO,KAAK,EAGV,qBAAqB,EACtB,MAAM,SAAS,CAAC;;WA8HR,qBAAqB;uBACT,MAAM,EAAE;uBACR,MAAM,EAAE;2BACJ,OAAO,GAAG,IAAI;cAC3B,MAAM;oBACA,MAAM,EAAE;oBACR,OAAO;qBACN,OAAO;eACb,OAAO;;;;;;;;;;;;;;;;;;;;;;;;WARX,qBAAqB;uBACT,MAAM,EAAE;uBACR,MAAM,EAAE;2BACJ,OAAO,GAAG,IAAI;cAC3B,MAAM;oBACA,MAAM,EAAE;oBACR,OAAO;qBACN,OAAO;eACb,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WARX,qBAAqB;uBACT,MAAM,EAAE;uBACR,MAAM,EAAE;2BACJ,OAAO,GAAG,IAAI;cAC3B,MAAM;oBACA,MAAM,EAAE;oBACR,OAAO;qBACN,OAAO;eACb,OAAO;;;;;;;;;;;;;;;;;;;;;;;;WARX,qBAAqB;uBACT,MAAM,EAAE;uBACR,MAAM,EAAE;2BACJ,OAAO,GAAG,IAAI;cAC3B,MAAM;oBACA,MAAM,EAAE;oBACR,OAAO;qBACN,OAAO;eACb,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4JpB,wBAQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TwinListBody.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/TwinList/TwinListBody.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TwinListBody.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/selects/TwinList/TwinListBody.vue"],"names":[],"mappings":"AAsZA,OAAO,KAAK,EACV,qBAAqB,EAErB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAEjB,KAAK,WAAW,GAAG,iBAAiB,CAAC;AAkMrC,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,qBAAqB,CAAC;CACjC,GAAG,WAAW,CAAC;;;;;;AAsYhB,wBAQG"}
|
|
@@ -8,13 +8,103 @@ type Props = {
|
|
|
8
8
|
idPrefix?: string;
|
|
9
9
|
loadData?: LoadDataFunc;
|
|
10
10
|
renderNode?: RenderNodeFunc;
|
|
11
|
+
/**
|
|
12
|
+
* When provided, only nodes whose key is in this set are rendered. Used by
|
|
13
|
+
* `KdsTree` to implement search filtering. `undefined` disables filtering.
|
|
14
|
+
*/
|
|
15
|
+
filterKeys?: Set<NodeKey>;
|
|
16
|
+
/**
|
|
17
|
+
* When provided, replaces `defaultExpandedKeys` as the active expanded set.
|
|
18
|
+
* Used by `KdsTree` to drive auto-expansion during search. `undefined` keeps
|
|
19
|
+
* the default behavior.
|
|
20
|
+
*/
|
|
21
|
+
searchExpandedKeys?: Set<NodeKey>;
|
|
11
22
|
};
|
|
12
23
|
declare const _default: import('vue').DefineComponent<Props, {
|
|
24
|
+
flattenTreeData: import('vue').Ref<{
|
|
25
|
+
readonly key: NodeKey;
|
|
26
|
+
readonly name: string;
|
|
27
|
+
readonly level: number;
|
|
28
|
+
readonly accessory?: {
|
|
29
|
+
type: typeof import('../../..').kdsAccessoryType["ICON"];
|
|
30
|
+
name: import('../../..').KdsIconName;
|
|
31
|
+
} | {
|
|
32
|
+
type: typeof import('../../..').kdsAccessoryType["DATA_TYPE"];
|
|
33
|
+
name: import('../../..').KdsTypeIconName;
|
|
34
|
+
} | undefined;
|
|
35
|
+
readonly customSlot?: string | undefined;
|
|
36
|
+
readonly disabled: boolean;
|
|
37
|
+
readonly meta?: unknown;
|
|
38
|
+
readonly searchKeywords?: string[] | undefined;
|
|
39
|
+
readonly draggable: boolean;
|
|
40
|
+
loading: boolean;
|
|
41
|
+
hasChildren: boolean;
|
|
42
|
+
children: /*elided*/ any[];
|
|
43
|
+
parentKey: NodeKey | undefined;
|
|
44
|
+
parentKeys: NodeKey[];
|
|
45
|
+
origin: {
|
|
46
|
+
nodeKey: NodeKey;
|
|
47
|
+
name: string;
|
|
48
|
+
hasChildren?: boolean | undefined;
|
|
49
|
+
customSlot?: string | undefined;
|
|
50
|
+
accessory?: {
|
|
51
|
+
type: typeof import('../../..').kdsAccessoryType["ICON"];
|
|
52
|
+
name: import('../../..').KdsIconName;
|
|
53
|
+
} | {
|
|
54
|
+
type: typeof import('../../..').kdsAccessoryType["DATA_TYPE"];
|
|
55
|
+
name: import('../../..').KdsTypeIconName;
|
|
56
|
+
} | undefined;
|
|
57
|
+
disabled?: boolean | undefined;
|
|
58
|
+
children?: /*elided*/ any[] | undefined;
|
|
59
|
+
meta?: unknown;
|
|
60
|
+
searchKeywords?: string[] | undefined;
|
|
61
|
+
draggable?: boolean | undefined;
|
|
62
|
+
};
|
|
63
|
+
}[], BaseTreeNode<unknown>[] | {
|
|
64
|
+
readonly key: NodeKey;
|
|
65
|
+
readonly name: string;
|
|
66
|
+
readonly level: number;
|
|
67
|
+
readonly accessory?: {
|
|
68
|
+
type: typeof import('../../..').kdsAccessoryType["ICON"];
|
|
69
|
+
name: import('../../..').KdsIconName;
|
|
70
|
+
} | {
|
|
71
|
+
type: typeof import('../../..').kdsAccessoryType["DATA_TYPE"];
|
|
72
|
+
name: import('../../..').KdsTypeIconName;
|
|
73
|
+
} | undefined;
|
|
74
|
+
readonly customSlot?: string | undefined;
|
|
75
|
+
readonly disabled: boolean;
|
|
76
|
+
readonly meta?: unknown;
|
|
77
|
+
readonly searchKeywords?: string[] | undefined;
|
|
78
|
+
readonly draggable: boolean;
|
|
79
|
+
loading: boolean;
|
|
80
|
+
hasChildren: boolean;
|
|
81
|
+
children: /*elided*/ any[];
|
|
82
|
+
parentKey: NodeKey | undefined;
|
|
83
|
+
parentKeys: NodeKey[];
|
|
84
|
+
origin: {
|
|
85
|
+
nodeKey: NodeKey;
|
|
86
|
+
name: string;
|
|
87
|
+
hasChildren?: boolean | undefined;
|
|
88
|
+
customSlot?: string | undefined;
|
|
89
|
+
accessory?: {
|
|
90
|
+
type: typeof import('../../..').kdsAccessoryType["ICON"];
|
|
91
|
+
name: import('../../..').KdsIconName;
|
|
92
|
+
} | {
|
|
93
|
+
type: typeof import('../../..').kdsAccessoryType["DATA_TYPE"];
|
|
94
|
+
name: import('../../..').KdsTypeIconName;
|
|
95
|
+
} | undefined;
|
|
96
|
+
disabled?: boolean | undefined;
|
|
97
|
+
children?: /*elided*/ any[] | undefined;
|
|
98
|
+
meta?: unknown;
|
|
99
|
+
searchKeywords?: string[] | undefined;
|
|
100
|
+
draggable?: boolean | undefined;
|
|
101
|
+
};
|
|
102
|
+
}[]>;
|
|
13
103
|
renderNode: RenderNodeFunc | undefined;
|
|
14
104
|
slots: {};
|
|
15
105
|
expandedKeys: Set<NodeKey> & Omit<Set<NodeKey>, keyof Set<any>>;
|
|
16
106
|
getExpandedKeys: () => NodeKey[];
|
|
17
|
-
getSelectedNode: () => BaseTreeNode
|
|
107
|
+
getSelectedNode: () => BaseTreeNode<unknown>;
|
|
18
108
|
toggleExpand: (nodeKey: NodeKey, state?: boolean) => void;
|
|
19
109
|
loadChildren: (nodeKey: NodeKey) => void;
|
|
20
110
|
clearChildren: (nodeKey: NodeKey) => void;
|
|
@@ -23,11 +113,23 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
23
113
|
selectChange: (value: SelectEventParams) => any;
|
|
24
114
|
expandChange: (value: EventParams) => any;
|
|
25
115
|
focusChange: (value: FocusEventParams) => any;
|
|
116
|
+
leafDblClick: (value: unknown) => any;
|
|
117
|
+
leafDragStart: (value: {
|
|
118
|
+
event: DragEvent;
|
|
119
|
+
meta: unknown | undefined;
|
|
120
|
+
}) => any;
|
|
121
|
+
leafDragEnd: () => any;
|
|
26
122
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
27
123
|
onKeydown?: ((value: KeydownEvent) => any) | undefined;
|
|
28
124
|
onSelectChange?: ((value: SelectEventParams) => any) | undefined;
|
|
29
125
|
onExpandChange?: ((value: EventParams) => any) | undefined;
|
|
30
126
|
onFocusChange?: ((value: FocusEventParams) => any) | undefined;
|
|
127
|
+
onLeafDblClick?: ((value: unknown) => any) | undefined;
|
|
128
|
+
onLeafDragStart?: ((value: {
|
|
129
|
+
event: DragEvent;
|
|
130
|
+
meta: unknown | undefined;
|
|
131
|
+
}) => any) | undefined;
|
|
132
|
+
onLeafDragEnd?: (() => any) | undefined;
|
|
31
133
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
32
134
|
export default _default;
|
|
33
135
|
//# sourceMappingURL=BaseTree.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTree.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/Tree/BaseTree/BaseTree.vue"],"names":[],"mappings":"AACA;
|
|
1
|
+
{"version":3,"file":"BaseTree.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/Tree/BaseTree/BaseTree.vue"],"names":[],"mappings":"AACA;AAybA,OAAO,KAAK,EACV,YAAY,EACZ,WAAW,EACX,gBAAgB,EAEhB,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,eAAe,EAChB,MAAM,UAAU,CAAC;AAclB,KAAK,KAAK,GAAG;IACX,MAAM,CAAC,EAAE,eAAe,EAAE,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrC,mBAAmB,CAAC,EAAE,OAAO,EAAE,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B;;;OAGG;IACH,UAAU,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CACnC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA8TwB,OAAO,UAAU,OAAO;4BAMxB,OAAO;6BACN,OAAO;;;;;;;;eA9SA,SAAS;cAAQ,OAAO,GAAG,SAAS;;;;;;;;;;eAApC,SAAS;cAAQ,OAAO,GAAG,SAAS;;;;AAgdtE,wBASG"}
|
|
@@ -8,10 +8,10 @@ type Props = {
|
|
|
8
8
|
};
|
|
9
9
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
10
|
toggleExpand: (value: EventParams) => any;
|
|
11
|
-
selectChange: (value: BaseTreeNode) => any;
|
|
11
|
+
selectChange: (value: BaseTreeNode<unknown>) => any;
|
|
12
12
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
13
13
|
onToggleExpand?: ((value: EventParams) => any) | undefined;
|
|
14
|
-
onSelectChange?: ((value: BaseTreeNode) => any) | undefined;
|
|
14
|
+
onSelectChange?: ((value: BaseTreeNode<unknown>) => any) | undefined;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
16
|
export default _default;
|
|
17
17
|
//# sourceMappingURL=TreeNode.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeNode.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/Tree/BaseTree/TreeNode.vue"],"names":[],"mappings":"AACA;
|
|
1
|
+
{"version":3,"file":"TreeNode.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/Tree/BaseTree/TreeNode.vue"],"names":[],"mappings":"AACA;AAuIA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAKnE,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,YAAY,CAAC;IACnB,YAAY,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAC3B,YAAY,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;;;;;;;;AA+LF,wBAQG"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BaseTreeNode, KeyNodeMap, TreeNodeOptions } from '../types';
|
|
2
|
-
declare function coerceTreeNodes(source: TreeNodeOptions[], parent?: BaseTreeNode): BaseTreeNode[];
|
|
3
|
-
declare function getFlattenTreeData(tree: BaseTreeNode[]): BaseTreeNode[];
|
|
4
|
-
declare function getKey2TreeNode(flattenTreeData: BaseTreeNode[]): KeyNodeMap
|
|
5
|
-
declare function useTreeData(source: TreeNodeOptions[]): {
|
|
6
|
-
treeData: BaseTreeNode[];
|
|
7
|
-
flattenTreeData: BaseTreeNode[];
|
|
8
|
-
key2TreeNode: KeyNodeMap
|
|
2
|
+
declare function coerceTreeNodes<T = unknown>(source: TreeNodeOptions<T>[], parent?: BaseTreeNode<T>): BaseTreeNode<T>[];
|
|
3
|
+
declare function getFlattenTreeData<T = unknown>(tree: BaseTreeNode<T>[]): BaseTreeNode<T>[];
|
|
4
|
+
declare function getKey2TreeNode<T = unknown>(flattenTreeData: BaseTreeNode<T>[]): KeyNodeMap<T>;
|
|
5
|
+
declare function useTreeData<T = unknown>(source: TreeNodeOptions<T>[]): {
|
|
6
|
+
treeData: BaseTreeNode<T>[];
|
|
7
|
+
flattenTreeData: BaseTreeNode<T>[];
|
|
8
|
+
key2TreeNode: KeyNodeMap<T>;
|
|
9
9
|
};
|
|
10
10
|
export { useTreeData, coerceTreeNodes, getFlattenTreeData, getKey2TreeNode };
|
|
11
11
|
//# sourceMappingURL=useTreeData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTreeData.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/Tree/BaseTree/useTreeData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAE/E,iBAAS,eAAe,
|
|
1
|
+
{"version":3,"file":"useTreeData.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/Tree/BaseTree/useTreeData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAE/E,iBAAS,eAAe,CAAC,CAAC,GAAG,OAAO,EAClC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,EAC5B,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,GACvB,YAAY,CAAC,CAAC,CAAC,EAAE,CAkBnB;AAED,iBAAS,kBAAkB,CAAC,CAAC,GAAG,OAAO,EACrC,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,GACtB,YAAY,CAAC,CAAC,CAAC,EAAE,CAUnB;AAED,iBAAS,eAAe,CAAC,CAAC,GAAG,OAAO,EAAE,eAAe,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,iBAMvE;AAED,iBAAS,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE;;;;EAK7D;AAED,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,kBAAkB,EAAE,eAAe,EAAE,CAAC"}
|