@openremote/or-tree-menu 1.11.0-snapshot.20251103144513 → 1.11.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/custom-elements-jsx.d.ts +328 -0
- package/custom-elements.json +45 -12
- package/dist/umd/index.orbundle.js +1 -1
- package/dist/umd/index.orbundle.js.map +1 -1
- package/package.json +8 -5
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
|
|
2
|
+
import type { *, OrTreeMenu } from "./lib/index.d.ts";
|
|
3
|
+
import type { OrTreeGroup } from "./lib/or-tree-group.d.ts";
|
|
4
|
+
import type { OrTreeNode } from "./lib/or-tree-node.d.ts";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* This type can be used to create scoped tags for your components.
|
|
8
|
+
*
|
|
9
|
+
* Usage:
|
|
10
|
+
*
|
|
11
|
+
* ```ts
|
|
12
|
+
* import type { ScopedElements } from "path/to/library/jsx-integration";
|
|
13
|
+
*
|
|
14
|
+
* declare module "my-library" {
|
|
15
|
+
* namespace JSX {
|
|
16
|
+
* interface IntrinsicElements
|
|
17
|
+
* extends ScopedElements<'test-', ''> {}
|
|
18
|
+
* }
|
|
19
|
+
* }
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @deprecated Runtime scoped elements result in duplicate types and can confusing for developers. It is recommended to use the `prefix` and `suffix` options to generate new types instead.
|
|
23
|
+
*/
|
|
24
|
+
export type ScopedElements<
|
|
25
|
+
Prefix extends string = "",
|
|
26
|
+
Suffix extends string = ""
|
|
27
|
+
> = {
|
|
28
|
+
[Key in keyof CustomElements as `${Prefix}${Key}${Suffix}`]: CustomElements[Key];
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
type BaseProps<T extends HTMLElement> = {
|
|
32
|
+
|
|
33
|
+
/** Content added between the opening and closing tags of the element */
|
|
34
|
+
children?: any;
|
|
35
|
+
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
36
|
+
class?: string;
|
|
37
|
+
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
38
|
+
className?: string;
|
|
39
|
+
/** Takes an object where the key is the class name(s) and the value is a boolean expression. When true, the class is applied, and when false, it is removed. */
|
|
40
|
+
classList?: Record<string, boolean | undefined>;
|
|
41
|
+
/** Specifies the text direction of the element. */
|
|
42
|
+
dir?: "ltr" | "rtl";
|
|
43
|
+
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
44
|
+
exportparts?: string;
|
|
45
|
+
/** For <label> and <output>, lets you associate the label with some control. */
|
|
46
|
+
htmlFor?: string;
|
|
47
|
+
/** Specifies whether the element should be hidden. */
|
|
48
|
+
hidden?: boolean | string;
|
|
49
|
+
/** A unique identifier for the element. */
|
|
50
|
+
id?: string;
|
|
51
|
+
/** Keys tell React which array item each component corresponds to */
|
|
52
|
+
key?: string | number;
|
|
53
|
+
/** Specifies the language of the element. */
|
|
54
|
+
lang?: string;
|
|
55
|
+
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
56
|
+
part?: string;
|
|
57
|
+
/** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
|
|
58
|
+
ref?: T | ((e: T) => void);
|
|
59
|
+
/** Adds a reference for a custom element slot */
|
|
60
|
+
slot?: string;
|
|
61
|
+
/** Prop for setting inline styles */
|
|
62
|
+
style?: Record<string, string | number>;
|
|
63
|
+
/** Overrides the default Tab button behavior. Avoid using values other than -1 and 0. */
|
|
64
|
+
tabIndex?: number;
|
|
65
|
+
/** Specifies the tooltip text for the element. */
|
|
66
|
+
title?: string;
|
|
67
|
+
/** Passing 'no' excludes the element content from being translated. */
|
|
68
|
+
translate?: "yes" | "no";
|
|
69
|
+
/** The popover global attribute is used to designate an element as a popover element. */
|
|
70
|
+
popover?: "auto" | "hint" | "manual";
|
|
71
|
+
/** Turns an element element into a popover control button; takes the ID of the popover element to control as its value. */
|
|
72
|
+
popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
|
|
73
|
+
/** Specifies the action to be performed on a popover element being controlled by a control element. */
|
|
74
|
+
popovertargetaction?: "show" | "hide" | "toggle";
|
|
75
|
+
|
|
76
|
+
} ;
|
|
77
|
+
|
|
78
|
+
type BaseEvents = {
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
export type OrTreeMenuProps = {
|
|
86
|
+
/** List of node items in the menu.
|
|
87
|
+
Uses the TreeNode format for rendering the OrTreeNode elements. */
|
|
88
|
+
"nodes"?: OrTreeMenu['nodes'];
|
|
89
|
+
/** Changes the allowed selection method within the tree.
|
|
90
|
+
Common options are `LEAF`, `SINGLE` and `MULTI`. */
|
|
91
|
+
"selection"?: OrTreeMenu['selection'];
|
|
92
|
+
/** Disables and enables dragging of nodes into groups. */
|
|
93
|
+
"draggable"?: OrTreeMenu['draggable'];
|
|
94
|
+
/** Removes the header from the tree menu. */
|
|
95
|
+
"no-header"?: OrTreeMenu['noHeader'];
|
|
96
|
+
/** Removes the header from the tree menu. */
|
|
97
|
+
"noHeader"?: OrTreeMenu['noHeader'];
|
|
98
|
+
/** Adjusts the title in the menu header. */
|
|
99
|
+
"menu-title"?: OrTreeMenu['menuTitle'];
|
|
100
|
+
/** Adjusts the title in the menu header. */
|
|
101
|
+
"menuTitle"?: OrTreeMenu['menuTitle'];
|
|
102
|
+
/** List of options available to sort the object with */
|
|
103
|
+
"sort-options"?: OrTreeMenu['sortOptions'];
|
|
104
|
+
/** List of options available to sort the object with */
|
|
105
|
+
"sortOptions"?: OrTreeMenu['sortOptions'];
|
|
106
|
+
/** Represents the selected sorting option */
|
|
107
|
+
"sort-by"?: OrTreeMenu['sortBy'];
|
|
108
|
+
/** Represents the selected sorting option */
|
|
109
|
+
"sortBy"?: OrTreeMenu['sortBy'];
|
|
110
|
+
/** Automatically prioritizes the groups, and positions these on top. */
|
|
111
|
+
"group-first"?: OrTreeMenu['groupFirst'];
|
|
112
|
+
/** Automatically prioritizes the groups, and positions these on top. */
|
|
113
|
+
"groupFirst"?: OrTreeMenu['groupFirst'];
|
|
114
|
+
|
|
115
|
+
/** */
|
|
116
|
+
"onnodes"?: (e: CustomEvent<OrTreeDragEvent>) => void;
|
|
117
|
+
/** */
|
|
118
|
+
"onundefined"?: (e: CustomEvent<OrTreeSelectEvent>) => void;
|
|
119
|
+
/** Triggers upon selecting a node, and dispatches a list of the nodes selected. */
|
|
120
|
+
"onor-tree-select"?: (e: CustomEvent<OrTreeSelectEvent>) => void;
|
|
121
|
+
/** Triggers upon dragging a node to a new group, and dispatches a list of dragged nodes, the group node, and the updated list of all nodes. */
|
|
122
|
+
"onor-tree-drag"?: (e: CustomEvent<OrTreeDragEvent>) => void;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
export type OrTreeGroupProps = {
|
|
127
|
+
/** Determines the visibility of child nodes.
|
|
128
|
+
Setting this to `false` hides them, and acts as a 'collapsed' state. */
|
|
129
|
+
"expanded"?: OrTreeGroup['expanded'];
|
|
130
|
+
/** Only allows child nodes to be selected, making the expander (parent node) readonly.
|
|
131
|
+
If this is set to false, only the chevron icon can be used to collapse/expand the list. */
|
|
132
|
+
"leaf"?: OrTreeGroup['leaf'];
|
|
133
|
+
/** Makes the group readonly */
|
|
134
|
+
"readonly"?: OrTreeGroup['readonly'];
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
export type OrTreeNodeProps = {
|
|
141
|
+
/** HTML attribute that only applies CSS, showing this node cannot be interacted with. */
|
|
142
|
+
"readonly"?: OrTreeNode['readonly'];
|
|
143
|
+
/** HTML attribute that only applies CSS, marking the node as 'selected'. */
|
|
144
|
+
"selected"?: OrTreeNode['selected'];
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export type CustomElements = {
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* A component for displaying a hierarchical, tree-like structure of elements.
|
|
154
|
+
* Common use cases are visualizing parent-child relationships, or for grouping elements together.
|
|
155
|
+
*
|
|
156
|
+
* ## Attributes & Properties
|
|
157
|
+
*
|
|
158
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
159
|
+
*
|
|
160
|
+
* - `nodes`: List of node items in the menu.
|
|
161
|
+
* Uses the TreeNode format for rendering the OrTreeNode elements.
|
|
162
|
+
* - `selection`: Changes the allowed selection method within the tree.
|
|
163
|
+
* Common options are `LEAF`, `SINGLE` and `MULTI`.
|
|
164
|
+
* - `draggable`: Disables and enables dragging of nodes into groups.
|
|
165
|
+
* - `no-header`/`noHeader`: Removes the header from the tree menu.
|
|
166
|
+
* - `menu-title`/`menuTitle`: Adjusts the title in the menu header.
|
|
167
|
+
* - `sort-options`/`sortOptions`: List of options available to sort the object with
|
|
168
|
+
* - `sort-by`/`sortBy`: Represents the selected sorting option
|
|
169
|
+
* - `group-first`/`groupFirst`: Automatically prioritizes the groups, and positions these on top.
|
|
170
|
+
*
|
|
171
|
+
* ## Events
|
|
172
|
+
*
|
|
173
|
+
* Events that will be emitted by the component.
|
|
174
|
+
*
|
|
175
|
+
* - `nodes`: undefined
|
|
176
|
+
* - `undefined`: undefined
|
|
177
|
+
* - `or-tree-select`: Triggers upon selecting a node, and dispatches a list of the nodes selected.
|
|
178
|
+
* - `or-tree-drag`: Triggers upon dragging a node to a new group, and dispatches a list of dragged nodes, the group node, and the updated list of all nodes.
|
|
179
|
+
*
|
|
180
|
+
* ## Methods
|
|
181
|
+
*
|
|
182
|
+
* Methods that can be called to access component functionality.
|
|
183
|
+
*
|
|
184
|
+
* - `moveNodesToGroup(nodesToMove: TreeNode[], groupNode?: TreeNode) => void`: Function that moves an array of TreeNode into another TreeNode, by adding them to their children.
|
|
185
|
+
* The function takes care of removing the nodes from the former group, and makes sure no duplicates end up in the list.
|
|
186
|
+
* - `deselectAllNodes() => void`: Public function that deselects all tree nodes.
|
|
187
|
+
* - `expandGroup(groupId: string) => void`: Programmatically finds a group by its ID and sets it to be expanded.
|
|
188
|
+
* This is called by the parent component after a new node is added to a tree group.
|
|
189
|
+
*/
|
|
190
|
+
"or-tree-menu": Partial<OrTreeMenuProps & BaseProps<OrTreeMenu> & BaseEvents>;
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
*
|
|
196
|
+
* ## Attributes & Properties
|
|
197
|
+
*
|
|
198
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
199
|
+
*
|
|
200
|
+
* - `expanded`: Determines the visibility of child nodes.
|
|
201
|
+
* Setting this to `false` hides them, and acts as a 'collapsed' state.
|
|
202
|
+
* - `leaf`: Only allows child nodes to be selected, making the expander (parent node) readonly.
|
|
203
|
+
* If this is set to false, only the chevron icon can be used to collapse/expand the list.
|
|
204
|
+
* - `readonly`: Makes the group readonly
|
|
205
|
+
*
|
|
206
|
+
* ## Slots
|
|
207
|
+
*
|
|
208
|
+
* Areas where markup can be added to the component.
|
|
209
|
+
*
|
|
210
|
+
* - `(default)`: Default slot for child nodes within the group
|
|
211
|
+
* - `parent`: Slot for inserting a parent node
|
|
212
|
+
*
|
|
213
|
+
* ## Methods
|
|
214
|
+
*
|
|
215
|
+
* Methods that can be called to access component functionality.
|
|
216
|
+
*
|
|
217
|
+
* - `select() => void`: Selects the group (parent) node.
|
|
218
|
+
* - `selectAll() => void`: Selects the group node itself, and all children nodes within that group.
|
|
219
|
+
* - `deselect() => void`: Deselects the group (parent) node.
|
|
220
|
+
* - `deselectAll() => void`: Deselects the group node itself, and all children nodes within that group.
|
|
221
|
+
* - `getGroupNode() => OrTreeNode | undefined`: Returns the group (parent) node (OrTreeNode) using a query selector.
|
|
222
|
+
* - `getChildNodes() => OrTreeNode[]`: Returns a list of all children nodes (OrTreeNode) within the group, using a query selector.
|
|
223
|
+
*
|
|
224
|
+
* ## CSS Parts
|
|
225
|
+
*
|
|
226
|
+
* Custom selectors for styling elements within the component.
|
|
227
|
+
*
|
|
228
|
+
* - `chevron`: The chevron icon element for expanding/collapsing the group.
|
|
229
|
+
*/
|
|
230
|
+
"or-tree-group": Partial<OrTreeGroupProps & BaseProps<OrTreeGroup> & BaseEvents>;
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
*
|
|
236
|
+
* ## Attributes & Properties
|
|
237
|
+
*
|
|
238
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
239
|
+
*
|
|
240
|
+
* - `readonly`: HTML attribute that only applies CSS, showing this node cannot be interacted with.
|
|
241
|
+
* - `selected`: HTML attribute that only applies CSS, marking the node as 'selected'.
|
|
242
|
+
*
|
|
243
|
+
* ## Slots
|
|
244
|
+
*
|
|
245
|
+
* Areas where markup can be added to the component.
|
|
246
|
+
*
|
|
247
|
+
* - `prefix`: Appends elements to the left hand side of the node, commonly used for icons.
|
|
248
|
+
* - `(default)`: Default slot for the main content, commonly used for text.
|
|
249
|
+
* - `suffix`: Appends elements to the right hand side of the node.
|
|
250
|
+
*
|
|
251
|
+
* ## CSS Custom Properties
|
|
252
|
+
*
|
|
253
|
+
* CSS variables available for styling the component.
|
|
254
|
+
*
|
|
255
|
+
* - `--or-tree-node-height`: Controls the height of the node (default: `undefined`)
|
|
256
|
+
* - `--or-tree-node-indent`: Controls the left padding of the node (default: `undefined`)
|
|
257
|
+
* - `--or-tree-node-background`: Sets the default background (default: `undefined`)
|
|
258
|
+
* - `--or-tree-node-background--hovered`: Sets the background while hovering (default: `undefined`)
|
|
259
|
+
* - `--or-tree-node-background--selected`: Sets the background when selected (default: `undefined`)
|
|
260
|
+
* - `--or-tree-node-color--selected`: Sets the primary color of the node when selected (default: `undefined`)
|
|
261
|
+
*/
|
|
262
|
+
"or-tree-node": Partial<OrTreeNodeProps & BaseProps<OrTreeNode> & BaseEvents>;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export type CustomCssProperties = {
|
|
266
|
+
/** Controls the height of the node */
|
|
267
|
+
"--or-tree-node-height"?: string;
|
|
268
|
+
/** Controls the left padding of the node */
|
|
269
|
+
"--or-tree-node-indent"?: string;
|
|
270
|
+
/** Sets the default background */
|
|
271
|
+
"--or-tree-node-background"?: string;
|
|
272
|
+
/** Sets the background while hovering */
|
|
273
|
+
"--or-tree-node-background--hovered"?: string;
|
|
274
|
+
/** Sets the background when selected */
|
|
275
|
+
"--or-tree-node-background--selected"?: string;
|
|
276
|
+
/** Sets the primary color of the node when selected */
|
|
277
|
+
"--or-tree-node-color--selected"?: string;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
declare module 'react' {
|
|
282
|
+
namespace JSX {
|
|
283
|
+
interface IntrinsicElements extends CustomElements {}
|
|
284
|
+
}
|
|
285
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
declare module 'preact' {
|
|
289
|
+
namespace JSX {
|
|
290
|
+
interface IntrinsicElements extends CustomElements {}
|
|
291
|
+
}
|
|
292
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
declare module '@builder.io/qwik' {
|
|
296
|
+
namespace JSX {
|
|
297
|
+
interface IntrinsicElements extends CustomElements {}
|
|
298
|
+
}
|
|
299
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
declare module '@stencil/core' {
|
|
303
|
+
namespace JSX {
|
|
304
|
+
interface IntrinsicElements extends CustomElements {}
|
|
305
|
+
}
|
|
306
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
declare module 'hono/jsx' {
|
|
310
|
+
namespace JSX {
|
|
311
|
+
interface IntrinsicElements extends CustomElements {}
|
|
312
|
+
}
|
|
313
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
declare module 'react-native' {
|
|
317
|
+
namespace JSX {
|
|
318
|
+
interface IntrinsicElements extends CustomElements {}
|
|
319
|
+
}
|
|
320
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
declare global {
|
|
324
|
+
namespace JSX {
|
|
325
|
+
interface IntrinsicElements extends CustomElements {}
|
|
326
|
+
}
|
|
327
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
328
|
+
}
|
package/custom-elements.json
CHANGED
|
@@ -151,7 +151,10 @@
|
|
|
151
151
|
"description": "The group node to insert nodesToMove in."
|
|
152
152
|
}
|
|
153
153
|
],
|
|
154
|
-
"description": "Function that moves an array of TreeNode into another TreeNode, by adding them to their children.\nThe function takes care of removing the nodes from the former group, and makes sure no duplicates end up in the list."
|
|
154
|
+
"description": "Function that moves an array of TreeNode into another TreeNode, by adding them to their children.\nThe function takes care of removing the nodes from the former group, and makes sure no duplicates end up in the list.",
|
|
155
|
+
"type": {
|
|
156
|
+
"text": "moveNodesToGroup(nodesToMove: TreeNode[], groupNode?: TreeNode) => void"
|
|
157
|
+
}
|
|
155
158
|
},
|
|
156
159
|
{
|
|
157
160
|
"kind": "method",
|
|
@@ -788,7 +791,10 @@
|
|
|
788
791
|
"kind": "method",
|
|
789
792
|
"name": "deselectAllNodes",
|
|
790
793
|
"privacy": "public",
|
|
791
|
-
"description": "Public function that deselects all tree nodes."
|
|
794
|
+
"description": "Public function that deselects all tree nodes.",
|
|
795
|
+
"type": {
|
|
796
|
+
"text": "deselectAllNodes() => void"
|
|
797
|
+
}
|
|
792
798
|
},
|
|
793
799
|
{
|
|
794
800
|
"kind": "method",
|
|
@@ -882,7 +888,10 @@
|
|
|
882
888
|
"description": "The ID of the group to expand."
|
|
883
889
|
}
|
|
884
890
|
],
|
|
885
|
-
"description": "Programmatically finds a group by its ID and sets it to be expanded.\nThis is called by the parent component after a new node is added to a tree group."
|
|
891
|
+
"description": "Programmatically finds a group by its ID and sets it to be expanded.\nThis is called by the parent component after a new node is added to a tree group.",
|
|
892
|
+
"type": {
|
|
893
|
+
"text": "expandGroup(groupId: string) => void"
|
|
894
|
+
}
|
|
886
895
|
}
|
|
887
896
|
],
|
|
888
897
|
"events": [
|
|
@@ -988,7 +997,9 @@
|
|
|
988
997
|
"package": "lit"
|
|
989
998
|
},
|
|
990
999
|
"tagName": "or-tree-menu",
|
|
991
|
-
"customElement": true
|
|
1000
|
+
"customElement": true,
|
|
1001
|
+
"modulePath": "src/index.ts",
|
|
1002
|
+
"definitionPath": "src/index.ts"
|
|
992
1003
|
}
|
|
993
1004
|
],
|
|
994
1005
|
"exports": [
|
|
@@ -1195,25 +1206,37 @@
|
|
|
1195
1206
|
"kind": "method",
|
|
1196
1207
|
"name": "select",
|
|
1197
1208
|
"privacy": "public",
|
|
1198
|
-
"description": "Selects the group (parent) node."
|
|
1209
|
+
"description": "Selects the group (parent) node.",
|
|
1210
|
+
"type": {
|
|
1211
|
+
"text": "select() => void"
|
|
1212
|
+
}
|
|
1199
1213
|
},
|
|
1200
1214
|
{
|
|
1201
1215
|
"kind": "method",
|
|
1202
1216
|
"name": "selectAll",
|
|
1203
1217
|
"privacy": "public",
|
|
1204
|
-
"description": "Selects the group node itself, and all children nodes within that group."
|
|
1218
|
+
"description": "Selects the group node itself, and all children nodes within that group.",
|
|
1219
|
+
"type": {
|
|
1220
|
+
"text": "selectAll() => void"
|
|
1221
|
+
}
|
|
1205
1222
|
},
|
|
1206
1223
|
{
|
|
1207
1224
|
"kind": "method",
|
|
1208
1225
|
"name": "deselect",
|
|
1209
1226
|
"privacy": "public",
|
|
1210
|
-
"description": "Deselects the group (parent) node."
|
|
1227
|
+
"description": "Deselects the group (parent) node.",
|
|
1228
|
+
"type": {
|
|
1229
|
+
"text": "deselect() => void"
|
|
1230
|
+
}
|
|
1211
1231
|
},
|
|
1212
1232
|
{
|
|
1213
1233
|
"kind": "method",
|
|
1214
1234
|
"name": "deselectAll",
|
|
1215
1235
|
"privacy": "public",
|
|
1216
|
-
"description": "Deselects the group node itself, and all children nodes within that group."
|
|
1236
|
+
"description": "Deselects the group node itself, and all children nodes within that group.",
|
|
1237
|
+
"type": {
|
|
1238
|
+
"text": "deselectAll() => void"
|
|
1239
|
+
}
|
|
1217
1240
|
},
|
|
1218
1241
|
{
|
|
1219
1242
|
"kind": "method",
|
|
@@ -1224,7 +1247,10 @@
|
|
|
1224
1247
|
"text": "OrTreeNode | undefined"
|
|
1225
1248
|
}
|
|
1226
1249
|
},
|
|
1227
|
-
"description": "Returns the group (parent) node (OrTreeNode) using a query selector."
|
|
1250
|
+
"description": "Returns the group (parent) node (OrTreeNode) using a query selector.",
|
|
1251
|
+
"type": {
|
|
1252
|
+
"text": "getGroupNode() => OrTreeNode | undefined"
|
|
1253
|
+
}
|
|
1228
1254
|
},
|
|
1229
1255
|
{
|
|
1230
1256
|
"kind": "method",
|
|
@@ -1235,7 +1261,10 @@
|
|
|
1235
1261
|
"text": "OrTreeNode[]"
|
|
1236
1262
|
}
|
|
1237
1263
|
},
|
|
1238
|
-
"description": "Returns a list of all children nodes (OrTreeNode) within the group, using a query selector."
|
|
1264
|
+
"description": "Returns a list of all children nodes (OrTreeNode) within the group, using a query selector.",
|
|
1265
|
+
"type": {
|
|
1266
|
+
"text": "getChildNodes() => OrTreeNode[]"
|
|
1267
|
+
}
|
|
1239
1268
|
},
|
|
1240
1269
|
{
|
|
1241
1270
|
"kind": "method",
|
|
@@ -1333,7 +1362,9 @@
|
|
|
1333
1362
|
"package": "lit"
|
|
1334
1363
|
},
|
|
1335
1364
|
"tagName": "or-tree-group",
|
|
1336
|
-
"customElement": true
|
|
1365
|
+
"customElement": true,
|
|
1366
|
+
"modulePath": "src/or-tree-group.ts",
|
|
1367
|
+
"definitionPath": "src/or-tree-group.ts"
|
|
1337
1368
|
}
|
|
1338
1369
|
],
|
|
1339
1370
|
"exports": [
|
|
@@ -1454,7 +1485,9 @@
|
|
|
1454
1485
|
"package": "lit"
|
|
1455
1486
|
},
|
|
1456
1487
|
"tagName": "or-tree-node",
|
|
1457
|
-
"customElement": true
|
|
1488
|
+
"customElement": true,
|
|
1489
|
+
"modulePath": "src/or-tree-node.ts",
|
|
1490
|
+
"definitionPath": "src/or-tree-node.ts"
|
|
1458
1491
|
}
|
|
1459
1492
|
],
|
|
1460
1493
|
"exports": [
|