@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
|
@@ -3,70 +3,77 @@ import { KdsDataTypeAccessory, KdsIconAccessory } from '../../accessories';
|
|
|
3
3
|
type TypeWithUndefined<T> = T | undefined;
|
|
4
4
|
type TypeWithNull<T> = T | null;
|
|
5
5
|
type KdsTreeAccessory = KdsIconAccessory | KdsDataTypeAccessory;
|
|
6
|
-
|
|
6
|
+
type NodeKey = string | number;
|
|
7
|
+
/** Source tree data, requires name and key. `meta` carries consumer data. */
|
|
8
|
+
type TreeNodeOptions<T = unknown> = {
|
|
9
|
+
nodeKey: NodeKey;
|
|
10
|
+
name: string;
|
|
11
|
+
hasChildren?: boolean;
|
|
12
|
+
customSlot?: string;
|
|
13
|
+
accessory?: KdsTreeAccessory;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
children?: TreeNodeOptions<T>[];
|
|
16
|
+
meta?: T;
|
|
17
|
+
/** Additional strings to match against during search. */
|
|
18
|
+
searchKeywords?: string[];
|
|
19
|
+
/** When true, this node is draggable and drag events are emitted. */
|
|
20
|
+
draggable?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare class BaseTreeNode<T = unknown> {
|
|
7
23
|
readonly key: NodeKey;
|
|
8
24
|
readonly name: string;
|
|
9
25
|
readonly level: number;
|
|
10
26
|
readonly accessory?: KdsTreeAccessory;
|
|
11
27
|
readonly customSlot?: string;
|
|
12
28
|
readonly disabled: boolean;
|
|
29
|
+
readonly meta?: T;
|
|
30
|
+
readonly searchKeywords?: string[];
|
|
31
|
+
readonly draggable: boolean;
|
|
13
32
|
loading: boolean;
|
|
14
33
|
hasChildren: boolean;
|
|
15
|
-
children: BaseTreeNode[];
|
|
34
|
+
children: BaseTreeNode<T>[];
|
|
16
35
|
parentKey: TypeWithUndefined<NodeKey>;
|
|
17
36
|
parentKeys: NodeKey[];
|
|
18
|
-
origin: TreeNodeOptions
|
|
19
|
-
constructor(options: TreeNodeOptions
|
|
37
|
+
origin: TreeNodeOptions<T>;
|
|
38
|
+
constructor(options: TreeNodeOptions<T>, parent?: BaseTreeNode<T>);
|
|
20
39
|
}
|
|
21
|
-
type
|
|
22
|
-
|
|
23
|
-
type TreeNodeOptions = {
|
|
24
|
-
nodeKey: NodeKey;
|
|
25
|
-
name: string;
|
|
26
|
-
hasChildren?: boolean;
|
|
27
|
-
customSlot?: string;
|
|
28
|
-
accessory?: KdsTreeAccessory;
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
children?: TreeNodeOptions[];
|
|
31
|
-
[key: string]: unknown;
|
|
32
|
-
};
|
|
33
|
-
type TreeNodeInstance = {
|
|
34
|
-
rawNode: TreeNodeOptions;
|
|
40
|
+
type TreeNodeInstance<T = unknown> = {
|
|
41
|
+
rawNode: TreeNodeOptions<T>;
|
|
35
42
|
};
|
|
36
|
-
type KeyNodeMap = Record<NodeKey, BaseTreeNode
|
|
37
|
-
type EventParams = {
|
|
43
|
+
type KeyNodeMap<T = unknown> = Record<NodeKey, BaseTreeNode<T>>;
|
|
44
|
+
type EventParams<T = unknown> = {
|
|
38
45
|
state: boolean;
|
|
39
|
-
node: BaseTreeNode
|
|
46
|
+
node: BaseTreeNode<T>;
|
|
40
47
|
source?: "api" | "click" | "key";
|
|
41
48
|
};
|
|
42
|
-
type SelectEventParams = {
|
|
43
|
-
preSelectedNode: TypeWithUndefined<BaseTreeNode
|
|
44
|
-
node: TypeWithUndefined<BaseTreeNode
|
|
49
|
+
type SelectEventParams<T = unknown> = {
|
|
50
|
+
preSelectedNode: TypeWithUndefined<BaseTreeNode<T>>;
|
|
51
|
+
node: TypeWithUndefined<BaseTreeNode<T>>;
|
|
45
52
|
};
|
|
46
|
-
type FocusEventParams = {
|
|
47
|
-
node: TypeWithNull<BaseTreeNode
|
|
53
|
+
type FocusEventParams<T = unknown> = {
|
|
54
|
+
node: TypeWithNull<BaseTreeNode<T>>;
|
|
48
55
|
};
|
|
49
|
-
type KeydownEvent = {
|
|
56
|
+
type KeydownEvent<T = unknown> = {
|
|
50
57
|
event: KeyboardEvent;
|
|
51
|
-
node: BaseTreeNode
|
|
58
|
+
node: BaseTreeNode<T>;
|
|
52
59
|
};
|
|
53
|
-
type RenderNodeFunc = (node: BaseTreeNode) => VNode;
|
|
54
|
-
type LoadDataFunc = (node: BaseTreeNode
|
|
55
|
-
type TreeContext = Readonly<{
|
|
56
|
-
renderNode: TypeWithUndefined<RenderNodeFunc
|
|
60
|
+
type RenderNodeFunc<T = unknown> = (node: BaseTreeNode<T>) => VNode;
|
|
61
|
+
type LoadDataFunc<T = unknown> = (node: BaseTreeNode<T>, callback: (children: TreeNodeOptions<T>[]) => void) => void;
|
|
62
|
+
type TreeContext<T = unknown> = Readonly<{
|
|
63
|
+
renderNode: TypeWithUndefined<RenderNodeFunc<T>>;
|
|
57
64
|
slots: Slots;
|
|
58
65
|
expandedKeys: Set<NodeKey>;
|
|
59
|
-
getSelectedNode: () => TypeWithUndefined<BaseTreeNode
|
|
66
|
+
getSelectedNode: () => TypeWithUndefined<BaseTreeNode<T>>;
|
|
60
67
|
getExpandedKeys: () => NodeKey[];
|
|
61
68
|
toggleExpand: (nodeKey: NodeKey, state?: boolean) => void;
|
|
62
69
|
loadChildren: (nodeKey: NodeKey) => void;
|
|
63
70
|
clearChildren: (nodeKey: NodeKey) => void;
|
|
64
71
|
}>;
|
|
65
|
-
type KdsTreeProps = {
|
|
72
|
+
type KdsTreeProps<T = unknown> = {
|
|
66
73
|
/** Hierarchical tree data. Each node requires a `nodeKey` and `name`; children may be nested directly or loaded lazily via `loadData`. */
|
|
67
|
-
source: TreeNodeOptions[];
|
|
74
|
+
source: TreeNodeOptions<T>[];
|
|
68
75
|
/** Async loader invoked when an expandable node has `hasChildren: true` but no `children` yet. While pending the chevron is replaced by a loading spinner. */
|
|
69
|
-
loadData?: LoadDataFunc
|
|
76
|
+
loadData?: LoadDataFunc<T>;
|
|
70
77
|
/** When `false`, clicks and keyboard navigation still focus nodes but no selection state is tracked and `selectChange` is not emitted. Defaults to `true`. */
|
|
71
78
|
selectable?: boolean;
|
|
72
79
|
/** Keys of branches that should be expanded on mount. Subsequent expand/collapse is managed internally. Defaults to `[]`. */
|
|
@@ -75,26 +82,46 @@ type KdsTreeProps = {
|
|
|
75
82
|
idPrefix?: string;
|
|
76
83
|
/** When `true`, only the visible rows are rendered. The tree must be wrapped in a fixed-height, scrollable container. Defaults to `false`. */
|
|
77
84
|
virtual?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* When `true`, a search input is rendered above the tree. The search is
|
|
87
|
+
* frontend-only and case-insensitive. Only currently-loaded nodes are
|
|
88
|
+
* searched — branches declared with `hasChildren: true` but not yet loaded
|
|
89
|
+
* via `loadData` are not searched. Defaults to `false`.
|
|
90
|
+
*/
|
|
91
|
+
searchable?: boolean;
|
|
92
|
+
/** Placeholder for the search input shown when `searchable` is `true`. Defaults to `"Search"`. */
|
|
93
|
+
searchPlaceholder?: string;
|
|
78
94
|
};
|
|
79
|
-
type KdsTreeEmits = {
|
|
95
|
+
type KdsTreeEmits<T = unknown> = {
|
|
80
96
|
/** Emitted on every keydown over a focused tree node, after the tree's own keyboard handling has run. */
|
|
81
|
-
keydown: [value: KeydownEvent];
|
|
97
|
+
keydown: [value: KeydownEvent<T>];
|
|
82
98
|
/** Emitted when the selected node changes. Not emitted when `selectable` is `false`. */
|
|
83
|
-
selectChange: [value: SelectEventParams];
|
|
99
|
+
selectChange: [value: SelectEventParams<T>];
|
|
84
100
|
/** Emitted when a node is expanded or collapsed. `source` indicates whether the change came from `"click"`, `"key"`, or `"api"`. */
|
|
85
|
-
expandChange: [value: EventParams];
|
|
101
|
+
expandChange: [value: EventParams<T>];
|
|
102
|
+
/** Emitted when a leaf node is double-clicked. Payload is the node's `meta`. */
|
|
103
|
+
leafDblClick: [value: T | undefined];
|
|
104
|
+
/** Emitted when a drag starts on a leaf node. Payload is `{ event, meta }`. */
|
|
105
|
+
leafDragStart: [value: {
|
|
106
|
+
event: DragEvent;
|
|
107
|
+
meta: T | undefined;
|
|
108
|
+
}];
|
|
109
|
+
/** Emitted when a drag ends on a leaf node. */
|
|
110
|
+
leafDragEnd: [];
|
|
86
111
|
};
|
|
87
|
-
type KdsTreeExpose = {
|
|
112
|
+
type KdsTreeExpose<T = unknown> = {
|
|
88
113
|
/** Returns the keys of all currently expanded nodes. */
|
|
89
114
|
getExpandedKeys: () => NodeKey[] | undefined;
|
|
90
115
|
/** Expand or collapse a node. When `state` is omitted, the current state is toggled. */
|
|
91
116
|
toggleExpand: (nodeKey: NodeKey, state?: boolean) => void;
|
|
92
117
|
/** Returns the currently selected node, or `undefined` if nothing is selected or the tree is not `selectable`. */
|
|
93
|
-
getSelectedTreeNode: () => BaseTreeNode | undefined;
|
|
118
|
+
getSelectedTreeNode: () => BaseTreeNode<T> | undefined;
|
|
94
119
|
/** Trigger the `loadData` prop to load the children of the given nodeKey. Does not remove current children. */
|
|
95
120
|
loadChildren: (nodeKey: NodeKey) => void;
|
|
96
121
|
/** Remove all children of a given nodeKey. */
|
|
97
122
|
clearChildren: (nodeKey: NodeKey) => void;
|
|
123
|
+
/** Move keyboard focus to the tree's focusable root (the inner `BaseTree`). */
|
|
124
|
+
focus: () => void;
|
|
98
125
|
};
|
|
99
126
|
export { BaseTreeNode, type TreeNodeOptions, type NodeKey, type TreeNodeInstance, type KeyNodeMap, type EventParams, type FocusEventParams, type SelectEventParams, type RenderNodeFunc, type LoadDataFunc, type KeydownEvent, type TreeContext, type KdsTreeProps, type KdsTreeEmits, type KdsTreeExpose, type KdsTreeAccessory, };
|
|
100
127
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Tree/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,KAAK,EAAS,MAAM,KAAK,CAAC;AAEpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,KAAK,iBAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC;AAC1C,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAEhC,KAAK,gBAAgB,GAAG,gBAAgB,GAAG,oBAAoB,CAAC;AAEhE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Tree/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,KAAK,EAAS,MAAM,KAAK,CAAC;AAEpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEhF,KAAK,iBAAiB,CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC;AAC1C,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;AAEhC,KAAK,gBAAgB,GAAG,gBAAgB,GAAG,oBAAoB,CAAC;AAEhE,KAAK,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAE/B,6EAA6E;AAC7E,KAAK,eAAe,CAAC,CAAC,GAAG,OAAO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|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { BaseTreeNode, NodeKey } from './types';
|
|
3
|
+
export type UseTreeSearchReturn = {
|
|
4
|
+
/**
|
|
5
|
+
* Keys of nodes that should be visible while the search is active. A node is
|
|
6
|
+
* included if its own name matches OR any ancestor matches OR any descendant
|
|
7
|
+
* matches. Empty when the search term is empty (caller falls back to default
|
|
8
|
+
* tree behavior).
|
|
9
|
+
*/
|
|
10
|
+
visibleKeys: Ref<Set<NodeKey>>;
|
|
11
|
+
/**
|
|
12
|
+
* Keys of nodes that should be expanded while the search is active so that
|
|
13
|
+
* matches are revealed. Includes every ancestor of a matched node. Empty
|
|
14
|
+
* when the search term is empty.
|
|
15
|
+
*/
|
|
16
|
+
expandedKeysForSearch: Ref<Set<NodeKey>>;
|
|
17
|
+
/** Whether the search is currently active (term is non-empty). */
|
|
18
|
+
isSearchActive: Ref<boolean>;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Frontend-only, case-insensitive substring search over a flattened tree.
|
|
22
|
+
*
|
|
23
|
+
* The filter rule is the "full rule":
|
|
24
|
+
* a node is visible if (self matches OR any ancestor matches OR any descendant
|
|
25
|
+
* matches). Non-matching siblings of a match are hidden. Ancestors of matched
|
|
26
|
+
* nodes are returned in `expandedKeysForSearch` so the path to matches is
|
|
27
|
+
* revealed.
|
|
28
|
+
*
|
|
29
|
+
* Lazy branches (`hasChildren: true` with no loaded `children`) are treated
|
|
30
|
+
* only by their own name — their unloaded descendants are not searched.
|
|
31
|
+
*
|
|
32
|
+
* Returns empty sets when the search term is empty, so callers can fall back
|
|
33
|
+
* to the tree's default behavior.
|
|
34
|
+
*/
|
|
35
|
+
export declare function useTreeSearch<T = unknown>(flattenTreeData: Ref<BaseTreeNode<T>[]>, searchTerm: Ref<string>): UseTreeSearchReturn;
|
|
36
|
+
//# sourceMappingURL=useTreeSearch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTreeSearch.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Tree/useTreeSearch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAY,MAAM,KAAK,CAAC;AAEzC,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;;;;OAKG;IACH,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/B;;;;OAIG;IACH,qBAAqB,EAAE,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACzC,kEAAkE;IAClE,cAAc,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;CAC9B,CAAC;AA0FF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,aAAa,CAAC,CAAC,GAAG,OAAO,EACvC,eAAe,EAAE,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,EACvC,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,GACtB,mBAAmB,CAoCrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vKdsTooltip.d.ts","sourceRoot":"","sources":["../../../../src/overlays/Tooltip/vKdsTooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,KAAK,CAAC;AAOzE,OAAO,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"vKdsTooltip.d.ts","sourceRoot":"","sources":["../../../../src/overlays/Tooltip/vKdsTooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,KAAK,CAAC;AAOzE,OAAO,mBAAmB,CAAC;AAqB3B,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAK/D;AA0PD,eAAO,MAAM,WAAW,EAAE,SAAS,CAAC,WAAW,CA2B9C,CAAC;AAEF,mDAAmD;AACnD,wBAAgB,kBAAkB,SAGjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsDescription.vue.d.ts","sourceRoot":"","sources":["../../../../src/richText/Description/KdsDescription.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsDescription.vue.d.ts","sourceRoot":"","sources":["../../../../src/richText/Description/KdsDescription.vue"],"names":[],"mappings":"AA6MA,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;;AA6DF,wBAMG"}
|
|
@@ -11,7 +11,7 @@ const _hoisted_1 = {
|
|
|
11
11
|
function render(_ctx, _cache) {
|
|
12
12
|
return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
|
|
13
13
|
createElementVNode("path", {
|
|
14
|
-
d: "M5
|
|
14
|
+
d: "M5 2.25H2.25V5H5zM5 7H2.25v2.75H5zM9.75 2.25H7V5h2.75zM9.75 7H7v2.75h2.75z",
|
|
15
15
|
"vector-effect": "non-scaling-stroke"
|
|
16
16
|
}, null, -1)
|
|
17
17
|
]))]))
|
|
@@ -19,4 +19,4 @@ function render(_ctx, _cache) {
|
|
|
19
19
|
const viewCards = { render: render };
|
|
20
20
|
|
|
21
21
|
export { viewCards as default, render };
|
|
22
|
-
//# sourceMappingURL=view-cards-
|
|
22
|
+
//# sourceMappingURL=view-cards-5wRxuDR4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-cards-
|
|
1
|
+
{"version":3,"file":"view-cards-5wRxuDR4.js","sources":["../../styles/dist/img/icons/view-cards.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M5 2.25H2.25V5H5zM5 7H2.25v2.75H5zM9.75 2.25H7V5h2.75zM9.75 7H7v2.75h2.75z\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,4EAA4E;AACrF,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,kBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from 'vue';
|
|
2
|
+
|
|
3
|
+
const _hoisted_1 = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
stroke: "currentColor",
|
|
7
|
+
"stroke-linecap": "round",
|
|
8
|
+
"stroke-linejoin": "round",
|
|
9
|
+
viewBox: "0 0 12 12"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
function render(_ctx, _cache) {
|
|
13
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("path", {
|
|
15
|
+
d: "M4 3h5.5M4 6h3.5M4 9h4.5M1.629 3h.655m-.655 3.006h.655M1.629 9h.655",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]))]))
|
|
19
|
+
}
|
|
20
|
+
const viewList = { render: render };
|
|
21
|
+
|
|
22
|
+
export { viewList as default, render };
|
|
23
|
+
//# sourceMappingURL=view-list-CCEdn_1_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view-list-CCEdn_1_.js","sources":["../../styles/dist/img/icons/view-list.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M4 3h5.5M4 6h3.5M4 9h4.5M1.629 3h.655m-.655 3.006h.655M1.629 9h.655\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,qEAAqE;AAC9E,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,iBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from 'vue';
|
|
2
|
+
|
|
3
|
+
const _hoisted_1 = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
stroke: "currentColor",
|
|
7
|
+
"stroke-linecap": "round",
|
|
8
|
+
"stroke-linejoin": "round",
|
|
9
|
+
viewBox: "0 0 12 12"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
function render(_ctx, _cache) {
|
|
13
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("path", {
|
|
15
|
+
d: "M2.5 5v4h1m2-3h4m-4 3h4m-8-6h2m-1 3h1",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]))]))
|
|
19
|
+
}
|
|
20
|
+
const viewTree = { render: render };
|
|
21
|
+
|
|
22
|
+
export { viewTree as default, render };
|
|
23
|
+
//# sourceMappingURL=view-tree-CSm0zm7z.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view-tree-CSm0zm7z.js","sources":["../../styles/dist/img/icons/view-tree.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M2.5 5v4h1m2-3h4m-4 3h4m-8-6h2m-1 3h1\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,uCAAuC;AAChD,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,iBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,11 +36,10 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"consola": "^3.4.2",
|
|
39
|
-
"motion": "^12.
|
|
40
|
-
"pretty-bytes": "^7.1.0",
|
|
39
|
+
"motion": "^12.42.0",
|
|
41
40
|
"temporal-polyfill": "^1.0.1",
|
|
42
|
-
"@knime/kds-styles": "^
|
|
43
|
-
"@knime/utils": "^1.
|
|
41
|
+
"@knime/kds-styles": "^2.0.0",
|
|
42
|
+
"@knime/utils": "^1.12.0"
|
|
44
43
|
},
|
|
45
44
|
"devDependencies": {
|
|
46
45
|
"@storybook/vue3-vite": "^10.4.6",
|
|
@@ -48,7 +47,7 @@
|
|
|
48
47
|
"@vue/test-utils": "^2.4.11",
|
|
49
48
|
"@vue/tsconfig": "^0.9.1",
|
|
50
49
|
"@vueuse/core": "~14.3.0",
|
|
51
|
-
"prettier": "3.8.
|
|
50
|
+
"prettier": "3.8.5",
|
|
52
51
|
"prettier-plugin-vue": "^1.1.6",
|
|
53
52
|
"storybook": "^10.4.6",
|
|
54
53
|
"ts-morph": "^28.0.0",
|
|
@@ -56,7 +55,7 @@
|
|
|
56
55
|
"vite-plugin-dts": "^4.5.4",
|
|
57
56
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
58
57
|
"vite-svg-loader": "^5.1.1",
|
|
59
|
-
"vue": "3.5.
|
|
58
|
+
"vue": "3.5.39",
|
|
60
59
|
"vue-tsc": "^3.3.4"
|
|
61
60
|
},
|
|
62
61
|
"engines": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"extension-community-BL7uY2lh.js","sources":["../../styles/dist/img/icons/extension-community.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M5 6h2M6 5v2M5.15.565a5.5 5.5 0 0 1 1.7 0m2.348.96a5.5 5.5 0 0 1 1.226 1.206m-8.848 0a5.5 5.5 0 0 1 1.226-1.206M.57 6.87a5.5 5.5 0 0 1 0-1.742m10.862 0a5.5 5.5 0 0 1 0 1.742m-8.629 3.604A5.5 5.5 0 0 1 1.576 9.27m8.848 0a5.5 5.5 0 0 1-1.226 1.206m-2.349.96a5.6 5.6 0 0 1-1.698 0M8 3.5H4c-.23 0-.5.27-.5.5v4c0 .23.27.5.5.5h4c.23 0 .5-.27.5-.5V4c0-.23-.27-.5-.5-.5\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,2WAA2W;AACpX,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,2BAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|