@knime/kds-components 1.3.1 → 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 +46 -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 +230 -166
- package/dist/index.js +1001 -549
- 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.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.map +1 -1
- package/dist/src/buttons/ResponsiveButtonGroup/KdsResponsiveButtonGroup.vue.d.ts.map +1 -1
- package/dist/src/buttons/links/KdsLink/KdsLink.vue.d.ts.map +1 -1
- package/dist/src/containers/FileExplorer/FileExplorerItem.vue.d.ts.map +1 -1
- 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.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.map +1 -1
- package/dist/src/forms/_helper/VariablePopover/KdsVariableToggleButton.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts +33 -33
- package/dist/src/forms/inputs/DateInput/KdsDateInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts +91 -91
- package/dist/src/forms/inputs/DateTimeInput/KdsDateTimeInput.vue.d.ts.map +1 -1
- 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 +30 -30
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/TextInput/KdsTextInput.vue.d.ts +26 -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 +54 -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 +91 -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 +34 -34
- package/dist/src/forms/selects/Dropdown/KdsDropdown.vue.d.ts.map +1 -1
- 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/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,19 +114,19 @@ 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
121
|
readonly stretchInline?: boolean | undefined;
|
|
122
122
|
readonly content?: string | undefined;
|
|
123
|
-
readonly placement?: Exclude<import('
|
|
123
|
+
readonly placement?: Exclude<import('../../..').KdsPopoverPlacement, "custom"> | undefined;
|
|
124
124
|
readonly customPlacementPosition?: never | undefined;
|
|
125
125
|
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
126
126
|
} | {
|
|
127
127
|
readonly modelValue?: boolean | undefined;
|
|
128
|
-
readonly role?: import('
|
|
129
|
-
readonly popoverType?: import('
|
|
128
|
+
readonly role?: import('../../..').KdsPopoverRole | undefined;
|
|
129
|
+
readonly popoverType?: import('../../..').KdsPopoverType | undefined;
|
|
130
130
|
readonly fullWidth?: boolean | undefined;
|
|
131
131
|
readonly maxInlineSize?: string | undefined;
|
|
132
132
|
readonly stretchInline?: boolean | undefined;
|
|
@@ -155,20 +155,20 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
155
155
|
$options: import('vue').ComponentOptionsBase<Readonly<({
|
|
156
156
|
modelValue?: boolean;
|
|
157
157
|
} & {
|
|
158
|
-
role?: import('
|
|
159
|
-
popoverType?: import('
|
|
158
|
+
role?: import('../../..').KdsPopoverRole;
|
|
159
|
+
popoverType?: import('../../..').KdsPopoverType;
|
|
160
160
|
fullWidth?: boolean;
|
|
161
161
|
maxInlineSize?: string;
|
|
162
162
|
stretchInline?: boolean;
|
|
163
163
|
content?: string;
|
|
164
164
|
} & {
|
|
165
|
-
placement?: Exclude<import('
|
|
165
|
+
placement?: Exclude<import('../../..').KdsPopoverPlacement, "custom">;
|
|
166
166
|
customPlacementPosition?: never;
|
|
167
167
|
}) | ({
|
|
168
168
|
modelValue?: boolean;
|
|
169
169
|
} & {
|
|
170
|
-
role?: import('
|
|
171
|
-
popoverType?: import('
|
|
170
|
+
role?: import('../../..').KdsPopoverRole;
|
|
171
|
+
popoverType?: import('../../..').KdsPopoverType;
|
|
172
172
|
fullWidth?: boolean;
|
|
173
173
|
maxInlineSize?: string;
|
|
174
174
|
stretchInline?: boolean;
|
|
@@ -209,20 +209,20 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
209
209
|
} & Readonly<{}> & Omit<{} & (Readonly<({
|
|
210
210
|
modelValue?: boolean;
|
|
211
211
|
} & {
|
|
212
|
-
role?: import('
|
|
213
|
-
popoverType?: import('
|
|
212
|
+
role?: import('../../..').KdsPopoverRole;
|
|
213
|
+
popoverType?: import('../../..').KdsPopoverType;
|
|
214
214
|
fullWidth?: boolean;
|
|
215
215
|
maxInlineSize?: string;
|
|
216
216
|
stretchInline?: boolean;
|
|
217
217
|
content?: string;
|
|
218
218
|
} & {
|
|
219
|
-
placement?: Exclude<import('
|
|
219
|
+
placement?: Exclude<import('../../..').KdsPopoverPlacement, "custom">;
|
|
220
220
|
customPlacementPosition?: never;
|
|
221
221
|
}) | ({
|
|
222
222
|
modelValue?: boolean;
|
|
223
223
|
} & {
|
|
224
|
-
role?: import('
|
|
225
|
-
popoverType?: import('
|
|
224
|
+
role?: import('../../..').KdsPopoverRole;
|
|
225
|
+
popoverType?: import('../../..').KdsPopoverType;
|
|
226
226
|
fullWidth?: boolean;
|
|
227
227
|
maxInlineSize?: string;
|
|
228
228
|
stretchInline?: boolean;
|
|
@@ -247,7 +247,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
247
247
|
}) | null;
|
|
248
248
|
dropdownContainerEl: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
249
249
|
modelValue?: string;
|
|
250
|
-
} & import('./types
|
|
250
|
+
} & import('./types').DropdownContainerProps> & Readonly<{
|
|
251
251
|
onSelect?: ((id: string) => any) | undefined;
|
|
252
252
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
253
253
|
}>, {
|
|
@@ -269,8 +269,8 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
269
269
|
readonly step?: number | undefined;
|
|
270
270
|
readonly placeholder?: string | undefined;
|
|
271
271
|
readonly disabled?: boolean | undefined;
|
|
272
|
-
readonly leadingIcon?: import('
|
|
273
|
-
readonly trailingIcon?: import('
|
|
272
|
+
readonly leadingIcon?: import('../../..').KdsIconName | undefined;
|
|
273
|
+
readonly trailingIcon?: import('../../..').KdsIconName | undefined;
|
|
274
274
|
readonly error?: boolean | undefined;
|
|
275
275
|
readonly autocomplete?: string | undefined;
|
|
276
276
|
readonly ariaLabel?: string | undefined;
|
|
@@ -290,7 +290,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
290
290
|
readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
291
291
|
readonly clearable?: boolean | undefined;
|
|
292
292
|
readonly pattern?: string | undefined;
|
|
293
|
-
readonly segments?: import('../../inputs/useInputSegments.helpers
|
|
293
|
+
readonly segments?: import('../../inputs/useInputSegments.helpers').KdsInputSegmentsConfig | undefined;
|
|
294
294
|
readonly onInput?: ((event: Event) => any) | undefined;
|
|
295
295
|
readonly onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
296
296
|
readonly onClick?: ((event: MouseEvent) => any) | undefined;
|
|
@@ -324,8 +324,8 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
324
324
|
step?: number;
|
|
325
325
|
placeholder?: string;
|
|
326
326
|
disabled?: boolean;
|
|
327
|
-
leadingIcon?: import('
|
|
328
|
-
trailingIcon?: import('
|
|
327
|
+
leadingIcon?: import('../../..').KdsIconName;
|
|
328
|
+
trailingIcon?: import('../../..').KdsIconName;
|
|
329
329
|
error?: boolean;
|
|
330
330
|
autocomplete?: string;
|
|
331
331
|
ariaLabel?: string;
|
|
@@ -345,7 +345,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
345
345
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
346
346
|
clearable?: boolean;
|
|
347
347
|
pattern?: string;
|
|
348
|
-
segments?: import('../../inputs/useInputSegments.helpers
|
|
348
|
+
segments?: import('../../inputs/useInputSegments.helpers').KdsInputSegmentsConfig;
|
|
349
349
|
}> & Readonly<{
|
|
350
350
|
onInput?: ((event: Event) => any) | undefined;
|
|
351
351
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -395,8 +395,8 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
395
395
|
step?: number;
|
|
396
396
|
placeholder?: string;
|
|
397
397
|
disabled?: boolean;
|
|
398
|
-
leadingIcon?: import('
|
|
399
|
-
trailingIcon?: import('
|
|
398
|
+
leadingIcon?: import('../../..').KdsIconName;
|
|
399
|
+
trailingIcon?: import('../../..').KdsIconName;
|
|
400
400
|
error?: boolean;
|
|
401
401
|
autocomplete?: string;
|
|
402
402
|
ariaLabel?: string;
|
|
@@ -416,7 +416,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
416
416
|
inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
417
417
|
clearable?: boolean;
|
|
418
418
|
pattern?: string;
|
|
419
|
-
segments?: import('../../inputs/useInputSegments.helpers
|
|
419
|
+
segments?: import('../../inputs/useInputSegments.helpers').KdsInputSegmentsConfig;
|
|
420
420
|
}> & Readonly<{
|
|
421
421
|
onInput?: ((event: Event) => any) | undefined;
|
|
422
422
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -436,7 +436,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
436
436
|
trailing?(): unknown;
|
|
437
437
|
};
|
|
438
438
|
}) | null;
|
|
439
|
-
listContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
439
|
+
listContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../..').KdsListContainerProps> & Readonly<{
|
|
440
440
|
onItemClick?: ((id?: string | undefined) => any) | undefined;
|
|
441
441
|
}>, {
|
|
442
442
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
@@ -456,7 +456,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
456
456
|
C: {};
|
|
457
457
|
M: {};
|
|
458
458
|
Defaults: {};
|
|
459
|
-
}, Readonly<import('
|
|
459
|
+
}, Readonly<import('../../..').KdsListContainerProps> & Readonly<{
|
|
460
460
|
onItemClick?: ((id?: string | undefined) => any) | undefined;
|
|
461
461
|
}>, {
|
|
462
462
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
@@ -475,7 +475,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
475
475
|
Defaults: {};
|
|
476
476
|
}, Readonly<{
|
|
477
477
|
modelValue?: string;
|
|
478
|
-
} & import('./types
|
|
478
|
+
} & import('./types').DropdownContainerProps> & Readonly<{
|
|
479
479
|
onSelect?: ((id: string) => any) | undefined;
|
|
480
480
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
481
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"}
|
|
@@ -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"}
|