@openremote/or-attribute-picker 1.24.0-snapshot.20260521161756 → 1.24.1
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 +379 -168
- package/dist/umd/index.orbundle.js +18 -18
- package/dist/umd/index.orbundle.js.map +1 -1
- package/package.json +9 -6
package/custom-elements-jsx.d.ts
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type {
|
|
2
|
+
OrAssetAttributePickerPickedEvent,
|
|
3
|
+
OrAssetAttributePicker,
|
|
4
|
+
} from "./lib/asset-attribute-picker.d.ts";
|
|
5
|
+
import type {
|
|
6
|
+
OrAssetTypeAttributePickerPickedEvent,
|
|
7
|
+
OrAssetTypeAttributePicker,
|
|
8
|
+
} from "./lib/assettype-attribute-picker.d.ts";
|
|
4
9
|
import type { AssettypeList } from "./lib/assettype-list.d.ts";
|
|
5
|
-
import type {
|
|
10
|
+
import type {
|
|
11
|
+
OrAttributePickerPickedEvent,
|
|
12
|
+
OrAttributePicker,
|
|
13
|
+
} from "./lib/index.d.ts";
|
|
6
14
|
|
|
7
15
|
/**
|
|
8
16
|
* This type can be used to create scoped tags for your components.
|
|
@@ -30,7 +38,6 @@ export type ScopedElements<
|
|
|
30
38
|
};
|
|
31
39
|
|
|
32
40
|
type BaseProps<T extends HTMLElement> = {
|
|
33
|
-
|
|
34
41
|
/** Content added between the opening and closing tags of the element */
|
|
35
42
|
children?: any;
|
|
36
43
|
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
@@ -53,6 +60,8 @@ type BaseProps<T extends HTMLElement> = {
|
|
|
53
60
|
key?: string | number;
|
|
54
61
|
/** Specifies the language of the element. */
|
|
55
62
|
lang?: string;
|
|
63
|
+
/** Defines the element's semantic role for accessibility APIs. */
|
|
64
|
+
role?: string;
|
|
56
65
|
/** 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. */
|
|
57
66
|
part?: string;
|
|
58
67
|
/** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
|
|
@@ -73,253 +82,455 @@ type BaseProps<T extends HTMLElement> = {
|
|
|
73
82
|
popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
|
|
74
83
|
/** Specifies the action to be performed on a popover element being controlled by a control element. */
|
|
75
84
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
76
|
-
|
|
77
|
-
} ;
|
|
78
|
-
|
|
79
|
-
type BaseEvents = {
|
|
80
|
-
|
|
81
|
-
|
|
82
85
|
};
|
|
83
86
|
|
|
84
|
-
|
|
87
|
+
type BaseEvents = {};
|
|
85
88
|
|
|
86
89
|
export type OrAssetAttributePickerProps = {
|
|
87
90
|
/** Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it. */
|
|
88
|
-
|
|
91
|
+
attributeFilter?: OrAssetAttributePicker["attributeFilter"];
|
|
89
92
|
/** Whether selecting multiple attributes is allowed or not. */
|
|
90
|
-
|
|
93
|
+
multiSelect?: OrAssetAttributePicker["multiSelect"];
|
|
91
94
|
/** Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown. */
|
|
92
|
-
|
|
95
|
+
showOnlyDatapointAttrs?: OrAssetAttributePicker["showOnlyDatapointAttrs"];
|
|
93
96
|
/** Whether only attributes with the 'RULE_STATE' meta item should be shown. */
|
|
94
|
-
|
|
97
|
+
showOnlyRuleStateAttrs?: OrAssetAttributePicker["showOnlyRuleStateAttrs"];
|
|
95
98
|
/** */
|
|
96
|
-
|
|
99
|
+
selectedAssets?: OrAssetAttributePicker["selectedAssets"];
|
|
97
100
|
/** */
|
|
98
|
-
|
|
101
|
+
selectedAttributes?: OrAssetAttributePicker["selectedAttributes"];
|
|
102
|
+
};
|
|
99
103
|
|
|
104
|
+
export type OrAssetAttributePickerSolidJsProps = {
|
|
105
|
+
/** Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it. */
|
|
106
|
+
"prop:attributeFilter"?: OrAssetAttributePicker["attributeFilter"];
|
|
107
|
+
/** Whether selecting multiple attributes is allowed or not. */
|
|
108
|
+
"prop:multiSelect"?: OrAssetAttributePicker["multiSelect"];
|
|
109
|
+
/** Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown. */
|
|
110
|
+
"prop:showOnlyDatapointAttrs"?: OrAssetAttributePicker["showOnlyDatapointAttrs"];
|
|
111
|
+
/** Whether only attributes with the 'RULE_STATE' meta item should be shown. */
|
|
112
|
+
"prop:showOnlyRuleStateAttrs"?: OrAssetAttributePicker["showOnlyRuleStateAttrs"];
|
|
100
113
|
/** */
|
|
101
|
-
"
|
|
102
|
-
|
|
114
|
+
"prop:selectedAssets"?: OrAssetAttributePicker["selectedAssets"];
|
|
115
|
+
/** */
|
|
116
|
+
"prop:selectedAttributes"?: OrAssetAttributePicker["selectedAttributes"];
|
|
103
117
|
|
|
118
|
+
/** Set the innerHTML of the element */
|
|
119
|
+
innerHTML?: string;
|
|
120
|
+
/** Set the textContent of the element */
|
|
121
|
+
textContent?: string | number;
|
|
122
|
+
};
|
|
104
123
|
|
|
105
124
|
export type OrAssetTypeAttributePickerProps = {
|
|
106
125
|
/** -Callback method for consumers to filter the asset type list shown. Returning true will make the asset type visible, returning false hides it. */
|
|
107
|
-
|
|
126
|
+
assetTypeFilter?: OrAssetTypeAttributePicker["assetTypeFilter"];
|
|
108
127
|
/** Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it. */
|
|
109
|
-
|
|
128
|
+
attributeFilter?: OrAssetTypeAttributePicker["attributeFilter"];
|
|
110
129
|
/** Whether selecting multiple attributes is allowed or not. */
|
|
111
|
-
|
|
130
|
+
multiSelect?: OrAssetTypeAttributePicker["multiSelect"];
|
|
112
131
|
/** Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown. */
|
|
113
|
-
|
|
132
|
+
showOnlyDatapointAttrs?: OrAssetTypeAttributePicker["showOnlyDatapointAttrs"];
|
|
114
133
|
/** Whether only attributes with the 'RULE_STATE' meta item should be shown. */
|
|
115
|
-
|
|
134
|
+
showOnlyRuleStateAttrs?: OrAssetTypeAttributePicker["showOnlyRuleStateAttrs"];
|
|
116
135
|
/** */
|
|
117
|
-
|
|
136
|
+
selectedAttributes?: OrAssetTypeAttributePicker["selectedAttributes"];
|
|
137
|
+
};
|
|
118
138
|
|
|
139
|
+
export type OrAssetTypeAttributePickerSolidJsProps = {
|
|
140
|
+
/** -Callback method for consumers to filter the asset type list shown. Returning true will make the asset type visible, returning false hides it. */
|
|
141
|
+
"prop:assetTypeFilter"?: OrAssetTypeAttributePicker["assetTypeFilter"];
|
|
142
|
+
/** Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it. */
|
|
143
|
+
"prop:attributeFilter"?: OrAssetTypeAttributePicker["attributeFilter"];
|
|
144
|
+
/** Whether selecting multiple attributes is allowed or not. */
|
|
145
|
+
"prop:multiSelect"?: OrAssetTypeAttributePicker["multiSelect"];
|
|
146
|
+
/** Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown. */
|
|
147
|
+
"prop:showOnlyDatapointAttrs"?: OrAssetTypeAttributePicker["showOnlyDatapointAttrs"];
|
|
148
|
+
/** Whether only attributes with the 'RULE_STATE' meta item should be shown. */
|
|
149
|
+
"prop:showOnlyRuleStateAttrs"?: OrAssetTypeAttributePicker["showOnlyRuleStateAttrs"];
|
|
119
150
|
/** */
|
|
120
|
-
"
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
export type AssettypeListProps = {
|
|
151
|
+
"prop:selectedAttributes"?: OrAssetTypeAttributePicker["selectedAttributes"];
|
|
125
152
|
|
|
153
|
+
/** Set the innerHTML of the element */
|
|
154
|
+
innerHTML?: string;
|
|
155
|
+
/** Set the textContent of the element */
|
|
156
|
+
textContent?: string | number;
|
|
157
|
+
};
|
|
126
158
|
|
|
127
|
-
}
|
|
159
|
+
export type AssettypeListProps = {};
|
|
128
160
|
|
|
161
|
+
export type AssettypeListSolidJsProps = {
|
|
162
|
+
/** Set the innerHTML of the element */
|
|
163
|
+
innerHTML?: string;
|
|
164
|
+
/** Set the textContent of the element */
|
|
165
|
+
textContent?: string | number;
|
|
166
|
+
};
|
|
129
167
|
|
|
130
168
|
export type OrAttributePickerProps = {
|
|
131
169
|
/** Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it. */
|
|
132
|
-
|
|
170
|
+
attributeFilter?: OrAttributePicker["attributeFilter"];
|
|
133
171
|
/** Whether selecting multiple attributes is allowed or not. */
|
|
134
|
-
|
|
172
|
+
multiSelect?: OrAttributePicker["multiSelect"];
|
|
135
173
|
/** Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown. */
|
|
136
|
-
|
|
174
|
+
showOnlyDatapointAttrs?: OrAttributePicker["showOnlyDatapointAttrs"];
|
|
137
175
|
/** Whether only attributes with the 'RULE_STATE' meta item should be shown. */
|
|
138
|
-
|
|
176
|
+
showOnlyRuleStateAttrs?: OrAttributePicker["showOnlyRuleStateAttrs"];
|
|
139
177
|
/** */
|
|
140
|
-
|
|
178
|
+
selectedAssets?: OrAttributePicker["selectedAssets"];
|
|
141
179
|
/** */
|
|
142
|
-
|
|
180
|
+
selectedAttributes?: OrAttributePicker["selectedAttributes"];
|
|
181
|
+
};
|
|
143
182
|
|
|
183
|
+
export type OrAttributePickerSolidJsProps = {
|
|
184
|
+
/** Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it. */
|
|
185
|
+
"prop:attributeFilter"?: OrAttributePicker["attributeFilter"];
|
|
186
|
+
/** Whether selecting multiple attributes is allowed or not. */
|
|
187
|
+
"prop:multiSelect"?: OrAttributePicker["multiSelect"];
|
|
188
|
+
/** Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown. */
|
|
189
|
+
"prop:showOnlyDatapointAttrs"?: OrAttributePicker["showOnlyDatapointAttrs"];
|
|
190
|
+
/** Whether only attributes with the 'RULE_STATE' meta item should be shown. */
|
|
191
|
+
"prop:showOnlyRuleStateAttrs"?: OrAttributePicker["showOnlyRuleStateAttrs"];
|
|
144
192
|
/** */
|
|
145
|
-
"
|
|
146
|
-
|
|
193
|
+
"prop:selectedAssets"?: OrAttributePicker["selectedAssets"];
|
|
194
|
+
/** */
|
|
195
|
+
"prop:selectedAttributes"?: OrAttributePicker["selectedAttributes"];
|
|
147
196
|
|
|
148
|
-
|
|
197
|
+
/** Set the innerHTML of the element */
|
|
198
|
+
innerHTML?: string;
|
|
199
|
+
/** Set the textContent of the element */
|
|
200
|
+
textContent?: string | number;
|
|
201
|
+
};
|
|
149
202
|
|
|
203
|
+
export type CustomElements = {
|
|
204
|
+
/**
|
|
205
|
+
* The "Attribute Picker" component using the OrAssetTree component for selecting assets and its attributes.
|
|
206
|
+
*
|
|
207
|
+
* ## Attributes & Properties
|
|
208
|
+
*
|
|
209
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
210
|
+
*
|
|
211
|
+
* - `attributeFilter`: Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it.
|
|
212
|
+
* - `multiSelect`: Whether selecting multiple attributes is allowed or not.
|
|
213
|
+
* - `showOnlyDatapointAttrs`: Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown.
|
|
214
|
+
* - `showOnlyRuleStateAttrs`: Whether only attributes with the 'RULE_STATE' meta item should be shown.
|
|
215
|
+
* - `selectedAssets`: undefined (property only)
|
|
216
|
+
* - `selectedAttributes`: undefined (property only)
|
|
217
|
+
*
|
|
218
|
+
* ## Events
|
|
219
|
+
*
|
|
220
|
+
* Events that will be emitted by the component.
|
|
221
|
+
*
|
|
222
|
+
* - `undefined`: undefined
|
|
223
|
+
*
|
|
224
|
+
* ## Methods
|
|
225
|
+
*
|
|
226
|
+
* Methods that can be called to access component functionality.
|
|
227
|
+
*
|
|
228
|
+
* - `setAttributeFilter(attributeFilter: ((attribute: Attribute<any>) => boolean) | undefined) => this`: undefined
|
|
229
|
+
* - `setSelectedAssets(selectedAssets: string[]) => this`: undefined
|
|
230
|
+
* - `setSelectedAttributes(selectedAttributes: AttributeRef[]) => this`: undefined
|
|
231
|
+
* - `setShowOnlyDatapointAttrs(showOnlyDatapointAttrs: boolean | undefined) => this`: undefined
|
|
232
|
+
* - `setShowOnlyRuleStateAttrs(showOnlyRuleStateAttrs: boolean | undefined) => this`: undefined
|
|
233
|
+
* - `setMultiSelect(multiSelect: boolean | undefined) => this`: undefined
|
|
234
|
+
* - `setOpen(isOpen: boolean) => this`: undefined
|
|
235
|
+
* - `setHeading(heading: TemplateResult | string | undefined) => this`: undefined
|
|
236
|
+
* - `setContent(_content: TemplateResult | (() => TemplateResult) | undefined) => this`: undefined
|
|
237
|
+
* - `setActions(_actions: DialogAction[] | undefined) => this`: undefined
|
|
238
|
+
* - `setDismissAction(_action: DialogActionBase | null | undefined) => this`: undefined
|
|
239
|
+
* - `setStyles(_styles: string | TemplateResult | undefined) => this`: undefined
|
|
240
|
+
* - `setAvatar(_avatar: boolean | undefined) => this`: undefined
|
|
241
|
+
*/
|
|
242
|
+
"or-asset-attribute-picker": Partial<
|
|
243
|
+
OrAssetAttributePickerProps & BaseProps<OrAssetAttributePicker> & BaseEvents
|
|
244
|
+
>;
|
|
150
245
|
|
|
151
246
|
/**
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
247
|
+
* The "Attribute Picker" component using the OrAssetTree component for selecting assets and its attributes.
|
|
248
|
+
*
|
|
249
|
+
* ## Attributes & Properties
|
|
250
|
+
*
|
|
251
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
252
|
+
*
|
|
253
|
+
* - `assetTypeFilter`: -Callback method for consumers to filter the asset type list shown. Returning true will make the asset type visible, returning false hides it.
|
|
254
|
+
* - `attributeFilter`: Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it.
|
|
255
|
+
* - `multiSelect`: Whether selecting multiple attributes is allowed or not.
|
|
256
|
+
* - `showOnlyDatapointAttrs`: Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown.
|
|
257
|
+
* - `showOnlyRuleStateAttrs`: Whether only attributes with the 'RULE_STATE' meta item should be shown.
|
|
258
|
+
* - `selectedAttributes`: undefined (property only)
|
|
259
|
+
*
|
|
260
|
+
* ## Events
|
|
261
|
+
*
|
|
262
|
+
* Events that will be emitted by the component.
|
|
263
|
+
*
|
|
264
|
+
* - `undefined`: undefined
|
|
265
|
+
*
|
|
266
|
+
* ## Methods
|
|
267
|
+
*
|
|
268
|
+
* Methods that can be called to access component functionality.
|
|
269
|
+
*
|
|
270
|
+
* - `setSelectedAttributes(selectedAttributes: Map<string, AttributeDescriptor[]>) => void`: undefined
|
|
271
|
+
* - `setShowOnlyDatapointAttrs(showOnlyDatapointAttrs: boolean | undefined) => this`: undefined
|
|
272
|
+
* - `setShowOnlyRuleStateAttrs(showOnlyRuleStateAttrs: boolean | undefined) => this`: undefined
|
|
273
|
+
* - `setMultiSelect(multiSelect: boolean | undefined) => this`: undefined
|
|
274
|
+
* - `setOpen(isOpen: boolean) => this`: undefined
|
|
275
|
+
* - `setHeading(heading: TemplateResult | string | undefined) => this`: undefined
|
|
276
|
+
* - `setContent(_content: TemplateResult | (() => TemplateResult) | undefined) => this`: undefined
|
|
277
|
+
* - `setActions(_actions: DialogAction[] | undefined) => this`: undefined
|
|
278
|
+
* - `setDismissAction(_action: DialogActionBase | null | undefined) => this`: undefined
|
|
279
|
+
* - `setStyles(_styles: string | TemplateResult | undefined) => this`: undefined
|
|
280
|
+
* - `setAvatar(_avatar: boolean | undefined) => this`: undefined
|
|
281
|
+
*/
|
|
282
|
+
"or-assettype-attribute-picker": Partial<
|
|
283
|
+
OrAssetTypeAttributePickerProps &
|
|
284
|
+
BaseProps<OrAssetTypeAttributePicker> &
|
|
285
|
+
BaseEvents
|
|
286
|
+
>;
|
|
190
287
|
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
*/
|
|
291
|
+
"asset-type-list": Partial<
|
|
292
|
+
AssettypeListProps & BaseProps<AssettypeList> & BaseEvents
|
|
293
|
+
>;
|
|
191
294
|
|
|
192
295
|
/**
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
296
|
+
* @deprecated Replaced this class with {@link OrAssetAttributePicker}.
|
|
297
|
+
*
|
|
298
|
+
* Dialog to pick attributes of supplied asset(s).
|
|
299
|
+
*
|
|
300
|
+
* ## Attributes & Properties
|
|
301
|
+
*
|
|
302
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
303
|
+
*
|
|
304
|
+
* - `attributeFilter`: Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it.
|
|
305
|
+
* - `multiSelect`: Whether selecting multiple attributes is allowed or not.
|
|
306
|
+
* - `showOnlyDatapointAttrs`: Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown.
|
|
307
|
+
* - `showOnlyRuleStateAttrs`: Whether only attributes with the 'RULE_STATE' meta item should be shown.
|
|
308
|
+
* - `selectedAssets`: undefined (property only)
|
|
309
|
+
* - `selectedAttributes`: undefined (property only)
|
|
310
|
+
*
|
|
311
|
+
* ## Events
|
|
312
|
+
*
|
|
313
|
+
* Events that will be emitted by the component.
|
|
314
|
+
*
|
|
315
|
+
* - `undefined`: undefined
|
|
316
|
+
*
|
|
317
|
+
* ## Methods
|
|
318
|
+
*
|
|
319
|
+
* Methods that can be called to access component functionality.
|
|
320
|
+
*
|
|
321
|
+
* - `setAttributeFilter(attributeFilter: ((attribute: Attribute<any>) => boolean) | undefined) => this`: undefined
|
|
322
|
+
* - `setSelectedAssets(selectedAssets: string[]) => this`: undefined
|
|
323
|
+
* - `setSelectedAttributes(selectedAttributes: AttributeRef[]) => this`: undefined
|
|
324
|
+
* - `setShowOnlyDatapointAttrs(showOnlyDatapointAttrs: boolean | undefined) => this`: undefined
|
|
325
|
+
* - `setShowOnlyRuleStateAttrs(showOnlyRuleStateAttrs: boolean | undefined) => this`: undefined
|
|
326
|
+
* - `setMultiSelect(multiSelect: boolean | undefined) => this`: undefined
|
|
327
|
+
* - `setOpen(isOpen: boolean) => this`: undefined
|
|
328
|
+
* - `setHeading(heading: TemplateResult | string | undefined) => this`: undefined
|
|
329
|
+
* - `setContent(_content: TemplateResult | (() => TemplateResult) | undefined) => this`: undefined
|
|
330
|
+
* - `setActions(_actions: DialogAction[] | undefined) => this`: undefined
|
|
331
|
+
* - `setDismissAction(_action: DialogActionBase | null | undefined) => this`: undefined
|
|
332
|
+
* - `setStyles(_styles: string | TemplateResult | undefined) => this`: undefined
|
|
333
|
+
* - `setAvatar(_avatar: boolean | undefined) => this`: undefined
|
|
334
|
+
*/
|
|
335
|
+
"or-attribute-picker": Partial<
|
|
336
|
+
OrAttributePickerProps & BaseProps<OrAttributePicker> & BaseEvents
|
|
337
|
+
>;
|
|
338
|
+
};
|
|
229
339
|
|
|
340
|
+
export type CustomElementsSolidJs = {
|
|
341
|
+
/**
|
|
342
|
+
* The "Attribute Picker" component using the OrAssetTree component for selecting assets and its attributes.
|
|
343
|
+
*
|
|
344
|
+
* ## Attributes & Properties
|
|
345
|
+
*
|
|
346
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
347
|
+
*
|
|
348
|
+
* - `attributeFilter`: Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it.
|
|
349
|
+
* - `multiSelect`: Whether selecting multiple attributes is allowed or not.
|
|
350
|
+
* - `showOnlyDatapointAttrs`: Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown.
|
|
351
|
+
* - `showOnlyRuleStateAttrs`: Whether only attributes with the 'RULE_STATE' meta item should be shown.
|
|
352
|
+
* - `selectedAssets`: undefined (property only)
|
|
353
|
+
* - `selectedAttributes`: undefined (property only)
|
|
354
|
+
*
|
|
355
|
+
* ## Events
|
|
356
|
+
*
|
|
357
|
+
* Events that will be emitted by the component.
|
|
358
|
+
*
|
|
359
|
+
* - `undefined`: undefined
|
|
360
|
+
*
|
|
361
|
+
* ## Methods
|
|
362
|
+
*
|
|
363
|
+
* Methods that can be called to access component functionality.
|
|
364
|
+
*
|
|
365
|
+
* - `setAttributeFilter(attributeFilter: ((attribute: Attribute<any>) => boolean) | undefined) => this`: undefined
|
|
366
|
+
* - `setSelectedAssets(selectedAssets: string[]) => this`: undefined
|
|
367
|
+
* - `setSelectedAttributes(selectedAttributes: AttributeRef[]) => this`: undefined
|
|
368
|
+
* - `setShowOnlyDatapointAttrs(showOnlyDatapointAttrs: boolean | undefined) => this`: undefined
|
|
369
|
+
* - `setShowOnlyRuleStateAttrs(showOnlyRuleStateAttrs: boolean | undefined) => this`: undefined
|
|
370
|
+
* - `setMultiSelect(multiSelect: boolean | undefined) => this`: undefined
|
|
371
|
+
* - `setOpen(isOpen: boolean) => this`: undefined
|
|
372
|
+
* - `setHeading(heading: TemplateResult | string | undefined) => this`: undefined
|
|
373
|
+
* - `setContent(_content: TemplateResult | (() => TemplateResult) | undefined) => this`: undefined
|
|
374
|
+
* - `setActions(_actions: DialogAction[] | undefined) => this`: undefined
|
|
375
|
+
* - `setDismissAction(_action: DialogActionBase | null | undefined) => this`: undefined
|
|
376
|
+
* - `setStyles(_styles: string | TemplateResult | undefined) => this`: undefined
|
|
377
|
+
* - `setAvatar(_avatar: boolean | undefined) => this`: undefined
|
|
378
|
+
*/
|
|
379
|
+
"or-asset-attribute-picker": Partial<
|
|
380
|
+
OrAssetAttributePickerProps &
|
|
381
|
+
OrAssetAttributePickerSolidJsProps &
|
|
382
|
+
BaseProps<OrAssetAttributePicker> &
|
|
383
|
+
BaseEvents
|
|
384
|
+
>;
|
|
230
385
|
|
|
231
386
|
/**
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
387
|
+
* The "Attribute Picker" component using the OrAssetTree component for selecting assets and its attributes.
|
|
388
|
+
*
|
|
389
|
+
* ## Attributes & Properties
|
|
390
|
+
*
|
|
391
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
392
|
+
*
|
|
393
|
+
* - `assetTypeFilter`: -Callback method for consumers to filter the asset type list shown. Returning true will make the asset type visible, returning false hides it.
|
|
394
|
+
* - `attributeFilter`: Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it.
|
|
395
|
+
* - `multiSelect`: Whether selecting multiple attributes is allowed or not.
|
|
396
|
+
* - `showOnlyDatapointAttrs`: Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown.
|
|
397
|
+
* - `showOnlyRuleStateAttrs`: Whether only attributes with the 'RULE_STATE' meta item should be shown.
|
|
398
|
+
* - `selectedAttributes`: undefined (property only)
|
|
399
|
+
*
|
|
400
|
+
* ## Events
|
|
401
|
+
*
|
|
402
|
+
* Events that will be emitted by the component.
|
|
403
|
+
*
|
|
404
|
+
* - `undefined`: undefined
|
|
405
|
+
*
|
|
406
|
+
* ## Methods
|
|
407
|
+
*
|
|
408
|
+
* Methods that can be called to access component functionality.
|
|
409
|
+
*
|
|
410
|
+
* - `setSelectedAttributes(selectedAttributes: Map<string, AttributeDescriptor[]>) => void`: undefined
|
|
411
|
+
* - `setShowOnlyDatapointAttrs(showOnlyDatapointAttrs: boolean | undefined) => this`: undefined
|
|
412
|
+
* - `setShowOnlyRuleStateAttrs(showOnlyRuleStateAttrs: boolean | undefined) => this`: undefined
|
|
413
|
+
* - `setMultiSelect(multiSelect: boolean | undefined) => this`: undefined
|
|
414
|
+
* - `setOpen(isOpen: boolean) => this`: undefined
|
|
415
|
+
* - `setHeading(heading: TemplateResult | string | undefined) => this`: undefined
|
|
416
|
+
* - `setContent(_content: TemplateResult | (() => TemplateResult) | undefined) => this`: undefined
|
|
417
|
+
* - `setActions(_actions: DialogAction[] | undefined) => this`: undefined
|
|
418
|
+
* - `setDismissAction(_action: DialogActionBase | null | undefined) => this`: undefined
|
|
419
|
+
* - `setStyles(_styles: string | TemplateResult | undefined) => this`: undefined
|
|
420
|
+
* - `setAvatar(_avatar: boolean | undefined) => this`: undefined
|
|
421
|
+
*/
|
|
422
|
+
"or-assettype-attribute-picker": Partial<
|
|
423
|
+
OrAssetTypeAttributePickerProps &
|
|
424
|
+
OrAssetTypeAttributePickerSolidJsProps &
|
|
425
|
+
BaseProps<OrAssetTypeAttributePicker> &
|
|
426
|
+
BaseEvents
|
|
427
|
+
>;
|
|
235
428
|
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
*/
|
|
432
|
+
"asset-type-list": Partial<
|
|
433
|
+
AssettypeListProps &
|
|
434
|
+
AssettypeListSolidJsProps &
|
|
435
|
+
BaseProps<AssettypeList> &
|
|
436
|
+
BaseEvents
|
|
437
|
+
>;
|
|
236
438
|
|
|
237
439
|
/**
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
440
|
+
* @deprecated Replaced this class with {@link OrAssetAttributePicker}.
|
|
441
|
+
*
|
|
442
|
+
* Dialog to pick attributes of supplied asset(s).
|
|
443
|
+
*
|
|
444
|
+
* ## Attributes & Properties
|
|
445
|
+
*
|
|
446
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
447
|
+
*
|
|
448
|
+
* - `attributeFilter`: Callback method for consumers to filter the attribute list shown. Returning true will make the attribute visible, returning false hides it.
|
|
449
|
+
* - `multiSelect`: Whether selecting multiple attributes is allowed or not.
|
|
450
|
+
* - `showOnlyDatapointAttrs`: Whether only attributes with the 'STORE_DATAPOINT' meta item should be shown.
|
|
451
|
+
* - `showOnlyRuleStateAttrs`: Whether only attributes with the 'RULE_STATE' meta item should be shown.
|
|
452
|
+
* - `selectedAssets`: undefined (property only)
|
|
453
|
+
* - `selectedAttributes`: undefined (property only)
|
|
454
|
+
*
|
|
455
|
+
* ## Events
|
|
456
|
+
*
|
|
457
|
+
* Events that will be emitted by the component.
|
|
458
|
+
*
|
|
459
|
+
* - `undefined`: undefined
|
|
460
|
+
*
|
|
461
|
+
* ## Methods
|
|
462
|
+
*
|
|
463
|
+
* Methods that can be called to access component functionality.
|
|
464
|
+
*
|
|
465
|
+
* - `setAttributeFilter(attributeFilter: ((attribute: Attribute<any>) => boolean) | undefined) => this`: undefined
|
|
466
|
+
* - `setSelectedAssets(selectedAssets: string[]) => this`: undefined
|
|
467
|
+
* - `setSelectedAttributes(selectedAttributes: AttributeRef[]) => this`: undefined
|
|
468
|
+
* - `setShowOnlyDatapointAttrs(showOnlyDatapointAttrs: boolean | undefined) => this`: undefined
|
|
469
|
+
* - `setShowOnlyRuleStateAttrs(showOnlyRuleStateAttrs: boolean | undefined) => this`: undefined
|
|
470
|
+
* - `setMultiSelect(multiSelect: boolean | undefined) => this`: undefined
|
|
471
|
+
* - `setOpen(isOpen: boolean) => this`: undefined
|
|
472
|
+
* - `setHeading(heading: TemplateResult | string | undefined) => this`: undefined
|
|
473
|
+
* - `setContent(_content: TemplateResult | (() => TemplateResult) | undefined) => this`: undefined
|
|
474
|
+
* - `setActions(_actions: DialogAction[] | undefined) => this`: undefined
|
|
475
|
+
* - `setDismissAction(_action: DialogActionBase | null | undefined) => this`: undefined
|
|
476
|
+
* - `setStyles(_styles: string | TemplateResult | undefined) => this`: undefined
|
|
477
|
+
* - `setAvatar(_avatar: boolean | undefined) => this`: undefined
|
|
478
|
+
*/
|
|
479
|
+
"or-attribute-picker": Partial<
|
|
480
|
+
OrAttributePickerProps &
|
|
481
|
+
OrAttributePickerSolidJsProps &
|
|
482
|
+
BaseProps<OrAttributePicker> &
|
|
483
|
+
BaseEvents
|
|
484
|
+
>;
|
|
485
|
+
};
|
|
279
486
|
|
|
280
|
-
export type CustomCssProperties = {
|
|
487
|
+
export type CustomCssProperties = {};
|
|
281
488
|
|
|
489
|
+
declare module "react" {
|
|
490
|
+
namespace JSX {
|
|
491
|
+
interface IntrinsicElements extends CustomElements {}
|
|
492
|
+
}
|
|
493
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
282
494
|
}
|
|
283
495
|
|
|
284
|
-
|
|
285
|
-
declare module 'react' {
|
|
496
|
+
declare module "preact" {
|
|
286
497
|
namespace JSX {
|
|
287
498
|
interface IntrinsicElements extends CustomElements {}
|
|
288
499
|
}
|
|
289
500
|
export interface CSSProperties extends CustomCssProperties {}
|
|
290
501
|
}
|
|
291
502
|
|
|
292
|
-
declare module
|
|
503
|
+
declare module "@builder.io/qwik" {
|
|
293
504
|
namespace JSX {
|
|
294
505
|
interface IntrinsicElements extends CustomElements {}
|
|
295
506
|
}
|
|
296
507
|
export interface CSSProperties extends CustomCssProperties {}
|
|
297
508
|
}
|
|
298
509
|
|
|
299
|
-
declare module
|
|
510
|
+
declare module "@stencil/core" {
|
|
300
511
|
namespace JSX {
|
|
301
512
|
interface IntrinsicElements extends CustomElements {}
|
|
302
513
|
}
|
|
303
514
|
export interface CSSProperties extends CustomCssProperties {}
|
|
304
515
|
}
|
|
305
516
|
|
|
306
|
-
declare module
|
|
517
|
+
declare module "hono/jsx" {
|
|
307
518
|
namespace JSX {
|
|
308
519
|
interface IntrinsicElements extends CustomElements {}
|
|
309
520
|
}
|
|
310
521
|
export interface CSSProperties extends CustomCssProperties {}
|
|
311
522
|
}
|
|
312
523
|
|
|
313
|
-
declare module
|
|
524
|
+
declare module "react-native" {
|
|
314
525
|
namespace JSX {
|
|
315
526
|
interface IntrinsicElements extends CustomElements {}
|
|
316
527
|
}
|
|
317
528
|
export interface CSSProperties extends CustomCssProperties {}
|
|
318
529
|
}
|
|
319
530
|
|
|
320
|
-
declare module
|
|
531
|
+
declare module "solid-js" {
|
|
321
532
|
namespace JSX {
|
|
322
|
-
interface IntrinsicElements extends
|
|
533
|
+
interface IntrinsicElements extends CustomElementsSolidJs {}
|
|
323
534
|
}
|
|
324
535
|
export interface CSSProperties extends CustomCssProperties {}
|
|
325
536
|
}
|