@openremote/or-components 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 +419 -171
- package/package.json +8 -5
package/custom-elements-jsx.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type {
|
|
2
|
+
OrAceEditorChangedEvent,
|
|
3
|
+
OrAceEditorEditEvent,
|
|
4
|
+
OrAceEditor,
|
|
5
|
+
} from "./lib/or-ace-editor.d.ts";
|
|
3
6
|
import type { OrCollapsiblePanel } from "./lib/or-collapsible-panel.d.ts";
|
|
4
7
|
import type { OrFileUploader } from "./lib/or-file-uploader.d.ts";
|
|
5
8
|
import type { OrIFrameEvent, OrIframe } from "./lib/or-iframe.d.ts";
|
|
@@ -33,7 +36,6 @@ export type ScopedElements<
|
|
|
33
36
|
};
|
|
34
37
|
|
|
35
38
|
type BaseProps<T extends HTMLElement> = {
|
|
36
|
-
|
|
37
39
|
/** Content added between the opening and closing tags of the element */
|
|
38
40
|
children?: any;
|
|
39
41
|
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
@@ -56,6 +58,8 @@ type BaseProps<T extends HTMLElement> = {
|
|
|
56
58
|
key?: string | number;
|
|
57
59
|
/** Specifies the language of the element. */
|
|
58
60
|
lang?: string;
|
|
61
|
+
/** Defines the element's semantic role for accessibility APIs. */
|
|
62
|
+
role?: string;
|
|
59
63
|
/** 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. */
|
|
60
64
|
part?: string;
|
|
61
65
|
/** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
|
|
@@ -76,282 +80,526 @@ type BaseProps<T extends HTMLElement> = {
|
|
|
76
80
|
popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
|
|
77
81
|
/** Specifies the action to be performed on a popover element being controlled by a control element. */
|
|
78
82
|
popovertargetaction?: "show" | "hide" | "toggle";
|
|
79
|
-
|
|
80
|
-
} ;
|
|
81
|
-
|
|
82
|
-
type BaseEvents = {
|
|
83
|
-
|
|
84
|
-
|
|
85
83
|
};
|
|
86
84
|
|
|
87
|
-
|
|
85
|
+
type BaseEvents = {};
|
|
88
86
|
|
|
89
87
|
export type OrAceEditorProps = {
|
|
90
88
|
/** */
|
|
91
|
-
|
|
89
|
+
readonly?: OrAceEditor["readonly"];
|
|
92
90
|
/** */
|
|
93
|
-
|
|
91
|
+
value?: OrAceEditor["value"];
|
|
92
|
+
/** */
|
|
93
|
+
mode?: OrAceEditor["mode"];
|
|
94
|
+
|
|
94
95
|
/** */
|
|
95
|
-
|
|
96
|
+
onnewValue?: (e: OrAceEditorChangedEvent) => void;
|
|
97
|
+
};
|
|
96
98
|
|
|
99
|
+
export type OrAceEditorSolidJsProps = {
|
|
97
100
|
/** */
|
|
98
|
-
"
|
|
101
|
+
"prop:readonly"?: OrAceEditor["readonly"];
|
|
99
102
|
/** */
|
|
100
|
-
"
|
|
101
|
-
|
|
103
|
+
"prop:value"?: OrAceEditor["value"];
|
|
104
|
+
/** */
|
|
105
|
+
"prop:mode"?: OrAceEditor["mode"];
|
|
106
|
+
/** */
|
|
107
|
+
"on:newValue"?: (e: OrAceEditorChangedEvent) => void;
|
|
102
108
|
|
|
109
|
+
/** Set the innerHTML of the element */
|
|
110
|
+
innerHTML?: string;
|
|
111
|
+
/** Set the textContent of the element */
|
|
112
|
+
textContent?: string | number;
|
|
113
|
+
};
|
|
103
114
|
|
|
104
115
|
export type OrCollapsiblePanelProps = {
|
|
105
116
|
/** */
|
|
106
|
-
|
|
117
|
+
lazycontent?: OrCollapsiblePanel["lazycontent"];
|
|
107
118
|
/** */
|
|
108
|
-
|
|
119
|
+
expanded?: OrCollapsiblePanel["expanded"];
|
|
109
120
|
/** */
|
|
110
|
-
|
|
111
|
-
|
|
121
|
+
expandable?: OrCollapsiblePanel["expandable"];
|
|
122
|
+
};
|
|
112
123
|
|
|
113
|
-
|
|
124
|
+
export type OrCollapsiblePanelSolidJsProps = {
|
|
125
|
+
/** */
|
|
126
|
+
"prop:lazycontent"?: OrCollapsiblePanel["lazycontent"];
|
|
127
|
+
/** */
|
|
128
|
+
"prop:expanded"?: OrCollapsiblePanel["expanded"];
|
|
129
|
+
/** */
|
|
130
|
+
"prop:expandable"?: OrCollapsiblePanel["expandable"];
|
|
114
131
|
|
|
132
|
+
/** Set the innerHTML of the element */
|
|
133
|
+
innerHTML?: string;
|
|
134
|
+
/** Set the textContent of the element */
|
|
135
|
+
textContent?: string | number;
|
|
136
|
+
};
|
|
115
137
|
|
|
116
138
|
export type OrFileUploaderProps = {
|
|
117
139
|
/** */
|
|
118
|
-
|
|
140
|
+
title?: OrFileUploader["title"];
|
|
119
141
|
|
|
120
142
|
/** */
|
|
121
|
-
|
|
122
|
-
}
|
|
143
|
+
onchange?: (e: CustomEvent) => void;
|
|
144
|
+
};
|
|
123
145
|
|
|
146
|
+
export type OrFileUploaderSolidJsProps = {
|
|
147
|
+
/** */
|
|
148
|
+
"prop:title"?: OrFileUploader["title"];
|
|
149
|
+
/** */
|
|
150
|
+
"on:change"?: (e: CustomEvent) => void;
|
|
151
|
+
|
|
152
|
+
/** Set the innerHTML of the element */
|
|
153
|
+
innerHTML?: string;
|
|
154
|
+
/** Set the textContent of the element */
|
|
155
|
+
textContent?: string | number;
|
|
156
|
+
};
|
|
124
157
|
|
|
125
158
|
export type OrIframeProps = {
|
|
126
159
|
/** */
|
|
127
|
-
|
|
160
|
+
src?: OrIframe["src"];
|
|
128
161
|
/** */
|
|
129
|
-
|
|
162
|
+
timeout?: OrIframe["timeout"];
|
|
130
163
|
/** */
|
|
131
|
-
|
|
164
|
+
preventCache?: OrIframe["preventCache"];
|
|
132
165
|
|
|
133
166
|
/** Fired when the iframe loading state changes, and dispatches the event detail containing type, src, and optional error. */
|
|
134
|
-
"onor-iframe-event"?: (e:
|
|
135
|
-
}
|
|
167
|
+
"onor-iframe-event"?: (e: OrIFrameEvent) => void;
|
|
168
|
+
};
|
|
136
169
|
|
|
170
|
+
export type OrIframeSolidJsProps = {
|
|
171
|
+
/** */
|
|
172
|
+
"prop:src"?: OrIframe["src"];
|
|
173
|
+
/** */
|
|
174
|
+
"prop:timeout"?: OrIframe["timeout"];
|
|
175
|
+
/** */
|
|
176
|
+
"prop:preventCache"?: OrIframe["preventCache"];
|
|
177
|
+
/** Fired when the iframe loading state changes, and dispatches the event detail containing type, src, and optional error. */
|
|
178
|
+
"on:or-iframe-event"?: (e: OrIFrameEvent) => void;
|
|
179
|
+
|
|
180
|
+
/** Set the innerHTML of the element */
|
|
181
|
+
innerHTML?: string;
|
|
182
|
+
/** Set the textContent of the element */
|
|
183
|
+
textContent?: string | number;
|
|
184
|
+
};
|
|
137
185
|
|
|
138
186
|
export type OrLoadingIndicatorProps = {
|
|
139
187
|
/** */
|
|
140
|
-
|
|
141
|
-
|
|
188
|
+
overlay?: OrLoadingIndicator["overlay"];
|
|
189
|
+
};
|
|
142
190
|
|
|
143
|
-
|
|
191
|
+
export type OrLoadingIndicatorSolidJsProps = {
|
|
192
|
+
/** */
|
|
193
|
+
"prop:overlay"?: OrLoadingIndicator["overlay"];
|
|
144
194
|
|
|
195
|
+
/** Set the innerHTML of the element */
|
|
196
|
+
innerHTML?: string;
|
|
197
|
+
/** Set the textContent of the element */
|
|
198
|
+
textContent?: string | number;
|
|
199
|
+
};
|
|
145
200
|
|
|
146
201
|
export type OrLoadingWrapperProps = {
|
|
147
202
|
/** */
|
|
148
|
-
|
|
203
|
+
loadingHeight?: OrLoadingWrapper["loadingHeight"];
|
|
149
204
|
/** */
|
|
150
|
-
|
|
205
|
+
loadDom?: OrLoadingWrapper["loadDom"];
|
|
151
206
|
/** */
|
|
152
|
-
|
|
207
|
+
fadeContent?: OrLoadingWrapper["fadeContent"];
|
|
153
208
|
/** */
|
|
154
|
-
|
|
209
|
+
loading?: OrLoadingWrapper["loading"];
|
|
155
210
|
/** */
|
|
156
|
-
|
|
157
|
-
|
|
211
|
+
content?: OrLoadingWrapper["content"];
|
|
212
|
+
};
|
|
158
213
|
|
|
159
|
-
|
|
214
|
+
export type OrLoadingWrapperSolidJsProps = {
|
|
215
|
+
/** */
|
|
216
|
+
"prop:loadingHeight"?: OrLoadingWrapper["loadingHeight"];
|
|
217
|
+
/** */
|
|
218
|
+
"prop:loadDom"?: OrLoadingWrapper["loadDom"];
|
|
219
|
+
/** */
|
|
220
|
+
"prop:fadeContent"?: OrLoadingWrapper["fadeContent"];
|
|
221
|
+
/** */
|
|
222
|
+
"prop:loading"?: OrLoadingWrapper["loading"];
|
|
223
|
+
/** */
|
|
224
|
+
"prop:content"?: OrLoadingWrapper["content"];
|
|
160
225
|
|
|
226
|
+
/** Set the innerHTML of the element */
|
|
227
|
+
innerHTML?: string;
|
|
228
|
+
/** Set the textContent of the element */
|
|
229
|
+
textContent?: string | number;
|
|
230
|
+
};
|
|
161
231
|
|
|
162
232
|
export type OrPanelProps = {
|
|
163
233
|
/** */
|
|
164
|
-
|
|
234
|
+
zLevel?: OrPanel["zLevel"];
|
|
165
235
|
/** */
|
|
166
|
-
|
|
167
|
-
|
|
236
|
+
heading?: OrPanel["heading"];
|
|
237
|
+
};
|
|
168
238
|
|
|
169
|
-
|
|
239
|
+
export type OrPanelSolidJsProps = {
|
|
240
|
+
/** */
|
|
241
|
+
"prop:zLevel"?: OrPanel["zLevel"];
|
|
242
|
+
/** */
|
|
243
|
+
"prop:heading"?: OrPanel["heading"];
|
|
170
244
|
|
|
171
|
-
|
|
245
|
+
/** Set the innerHTML of the element */
|
|
246
|
+
innerHTML?: string;
|
|
247
|
+
/** Set the textContent of the element */
|
|
248
|
+
textContent?: string | number;
|
|
249
|
+
};
|
|
172
250
|
|
|
251
|
+
export type CustomElements = {
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
*
|
|
255
|
+
* ## Attributes & Properties
|
|
256
|
+
*
|
|
257
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
258
|
+
*
|
|
259
|
+
* - `readonly`: undefined (property only)
|
|
260
|
+
* - `value`: undefined (property only)
|
|
261
|
+
* - `mode`: undefined (property only)
|
|
262
|
+
*
|
|
263
|
+
* ## Events
|
|
264
|
+
*
|
|
265
|
+
* Events that will be emitted by the component.
|
|
266
|
+
*
|
|
267
|
+
* - `undefined`: undefined
|
|
268
|
+
* - `newValue`: undefined
|
|
269
|
+
*
|
|
270
|
+
* ## Methods
|
|
271
|
+
*
|
|
272
|
+
* Methods that can be called to access component functionality.
|
|
273
|
+
*
|
|
274
|
+
* - `getValue() => string | undefined`: undefined
|
|
275
|
+
* - `validate() => boolean`: undefined
|
|
276
|
+
*/
|
|
277
|
+
"or-ace-editor": Partial<
|
|
278
|
+
OrAceEditorProps & BaseProps<OrAceEditor> & BaseEvents
|
|
279
|
+
>;
|
|
173
280
|
|
|
174
281
|
/**
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
*
|
|
189
|
-
* - `undefined`: undefined
|
|
190
|
-
* - `newValue`: undefined
|
|
191
|
-
*
|
|
192
|
-
* ## Methods
|
|
193
|
-
*
|
|
194
|
-
* Methods that can be called to access component functionality.
|
|
195
|
-
*
|
|
196
|
-
* - `getValue() => string | undefined`: undefined
|
|
197
|
-
* - `validate() => boolean`: undefined
|
|
198
|
-
*/
|
|
199
|
-
"or-ace-editor": Partial<OrAceEditorProps & BaseProps<OrAceEditor> & BaseEvents>;
|
|
282
|
+
*
|
|
283
|
+
*
|
|
284
|
+
* ## Attributes & Properties
|
|
285
|
+
*
|
|
286
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
287
|
+
*
|
|
288
|
+
* - `lazycontent`: undefined
|
|
289
|
+
* - `expanded`: undefined
|
|
290
|
+
* - `expandable`: undefined
|
|
291
|
+
*/
|
|
292
|
+
"or-collapsible-panel": Partial<
|
|
293
|
+
OrCollapsiblePanelProps & BaseProps<OrCollapsiblePanel> & BaseEvents
|
|
294
|
+
>;
|
|
200
295
|
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
*
|
|
299
|
+
* ## Attributes & Properties
|
|
300
|
+
*
|
|
301
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
302
|
+
*
|
|
303
|
+
* - `title`: undefined
|
|
304
|
+
* - `src`: undefined (property only) (readonly)
|
|
305
|
+
* - `managerUrl`: undefined (property only) (readonly)
|
|
306
|
+
* - `accept`: undefined (property only) (readonly)
|
|
307
|
+
* - `Files`: undefined (property only) (readonly)
|
|
308
|
+
*
|
|
309
|
+
* ## Events
|
|
310
|
+
*
|
|
311
|
+
* Events that will be emitted by the component.
|
|
312
|
+
*
|
|
313
|
+
* - `change`: undefined
|
|
314
|
+
*
|
|
315
|
+
* ## Methods
|
|
316
|
+
*
|
|
317
|
+
* Methods that can be called to access component functionality.
|
|
318
|
+
*
|
|
319
|
+
* - `_onChange(e: any) => void`: undefined
|
|
320
|
+
*/
|
|
321
|
+
"or-file-uploader": Partial<
|
|
322
|
+
OrFileUploaderProps & BaseProps<OrFileUploader> & BaseEvents
|
|
323
|
+
>;
|
|
201
324
|
|
|
202
325
|
/**
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
326
|
+
*
|
|
327
|
+
*
|
|
328
|
+
* ## Attributes & Properties
|
|
329
|
+
*
|
|
330
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
331
|
+
*
|
|
332
|
+
* - `src`: undefined
|
|
333
|
+
* - `timeout`: undefined
|
|
334
|
+
* - `preventCache`: undefined
|
|
335
|
+
*
|
|
336
|
+
* ## Events
|
|
337
|
+
*
|
|
338
|
+
* Events that will be emitted by the component.
|
|
339
|
+
*
|
|
340
|
+
* - `or-iframe-event`: Fired when the iframe loading state changes, and dispatches the event detail containing type, src, and optional error.
|
|
341
|
+
*
|
|
342
|
+
* ## Methods
|
|
343
|
+
*
|
|
344
|
+
* Methods that can be called to access component functionality.
|
|
345
|
+
*
|
|
346
|
+
* - `getSrc() => string`: undefined
|
|
347
|
+
* - `reload() => void`: Reload the iframe content by clearing and resetting the src
|
|
348
|
+
*/
|
|
349
|
+
"or-iframe": Partial<OrIframeProps & BaseProps<OrIframe> & BaseEvents>;
|
|
214
350
|
|
|
351
|
+
/**
|
|
352
|
+
*
|
|
353
|
+
*
|
|
354
|
+
* ## Attributes & Properties
|
|
355
|
+
*
|
|
356
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
357
|
+
*
|
|
358
|
+
* - `overlay`: undefined
|
|
359
|
+
*/
|
|
360
|
+
"or-loading-indicator": Partial<
|
|
361
|
+
OrLoadingIndicatorProps & BaseProps<OrLoadingIndicator> & BaseEvents
|
|
362
|
+
>;
|
|
215
363
|
|
|
216
364
|
/**
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
*
|
|
233
|
-
* - `change`: undefined
|
|
234
|
-
*
|
|
235
|
-
* ## Methods
|
|
236
|
-
*
|
|
237
|
-
* Methods that can be called to access component functionality.
|
|
238
|
-
*
|
|
239
|
-
* - `_onChange(e: any) => void`: undefined
|
|
240
|
-
*/
|
|
241
|
-
"or-file-uploader": Partial<OrFileUploaderProps & BaseProps<OrFileUploader> & BaseEvents>;
|
|
365
|
+
* A simple loading wrapper around some other content that will hide the content whilst loading property is true
|
|
366
|
+
*
|
|
367
|
+
* ## Attributes & Properties
|
|
368
|
+
*
|
|
369
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
370
|
+
*
|
|
371
|
+
* - `loadingHeight`: undefined
|
|
372
|
+
* - `loadDom`: undefined
|
|
373
|
+
* - `fadeContent`: undefined
|
|
374
|
+
* - `loading`: undefined
|
|
375
|
+
* - `content`: undefined (property only)
|
|
376
|
+
*/
|
|
377
|
+
"or-loading-wrapper": Partial<
|
|
378
|
+
OrLoadingWrapperProps & BaseProps<OrLoadingWrapper> & BaseEvents
|
|
379
|
+
>;
|
|
242
380
|
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
*
|
|
384
|
+
* ## Attributes & Properties
|
|
385
|
+
*
|
|
386
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
387
|
+
*
|
|
388
|
+
* - `zLevel`: undefined
|
|
389
|
+
* - `heading`: undefined
|
|
390
|
+
*/
|
|
391
|
+
"or-panel": Partial<OrPanelProps & BaseProps<OrPanel> & BaseEvents>;
|
|
392
|
+
};
|
|
243
393
|
|
|
394
|
+
export type CustomElementsSolidJs = {
|
|
244
395
|
/**
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
396
|
+
*
|
|
397
|
+
*
|
|
398
|
+
* ## Attributes & Properties
|
|
399
|
+
*
|
|
400
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
401
|
+
*
|
|
402
|
+
* - `readonly`: undefined (property only)
|
|
403
|
+
* - `value`: undefined (property only)
|
|
404
|
+
* - `mode`: undefined (property only)
|
|
405
|
+
*
|
|
406
|
+
* ## Events
|
|
407
|
+
*
|
|
408
|
+
* Events that will be emitted by the component.
|
|
409
|
+
*
|
|
410
|
+
* - `undefined`: undefined
|
|
411
|
+
* - `newValue`: undefined
|
|
412
|
+
*
|
|
413
|
+
* ## Methods
|
|
414
|
+
*
|
|
415
|
+
* Methods that can be called to access component functionality.
|
|
416
|
+
*
|
|
417
|
+
* - `getValue() => string | undefined`: undefined
|
|
418
|
+
* - `validate() => boolean`: undefined
|
|
419
|
+
*/
|
|
420
|
+
"or-ace-editor": Partial<
|
|
421
|
+
OrAceEditorProps &
|
|
422
|
+
OrAceEditorSolidJsProps &
|
|
423
|
+
BaseProps<OrAceEditor> &
|
|
424
|
+
BaseEvents
|
|
425
|
+
>;
|
|
269
426
|
|
|
427
|
+
/**
|
|
428
|
+
*
|
|
429
|
+
*
|
|
430
|
+
* ## Attributes & Properties
|
|
431
|
+
*
|
|
432
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
433
|
+
*
|
|
434
|
+
* - `lazycontent`: undefined
|
|
435
|
+
* - `expanded`: undefined
|
|
436
|
+
* - `expandable`: undefined
|
|
437
|
+
*/
|
|
438
|
+
"or-collapsible-panel": Partial<
|
|
439
|
+
OrCollapsiblePanelProps &
|
|
440
|
+
OrCollapsiblePanelSolidJsProps &
|
|
441
|
+
BaseProps<OrCollapsiblePanel> &
|
|
442
|
+
BaseEvents
|
|
443
|
+
>;
|
|
270
444
|
|
|
271
445
|
/**
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
446
|
+
*
|
|
447
|
+
*
|
|
448
|
+
* ## Attributes & Properties
|
|
449
|
+
*
|
|
450
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
451
|
+
*
|
|
452
|
+
* - `title`: undefined
|
|
453
|
+
* - `src`: undefined (property only) (readonly)
|
|
454
|
+
* - `managerUrl`: undefined (property only) (readonly)
|
|
455
|
+
* - `accept`: undefined (property only) (readonly)
|
|
456
|
+
* - `Files`: undefined (property only) (readonly)
|
|
457
|
+
*
|
|
458
|
+
* ## Events
|
|
459
|
+
*
|
|
460
|
+
* Events that will be emitted by the component.
|
|
461
|
+
*
|
|
462
|
+
* - `change`: undefined
|
|
463
|
+
*
|
|
464
|
+
* ## Methods
|
|
465
|
+
*
|
|
466
|
+
* Methods that can be called to access component functionality.
|
|
467
|
+
*
|
|
468
|
+
* - `_onChange(e: any) => void`: undefined
|
|
469
|
+
*/
|
|
470
|
+
"or-file-uploader": Partial<
|
|
471
|
+
OrFileUploaderProps &
|
|
472
|
+
OrFileUploaderSolidJsProps &
|
|
473
|
+
BaseProps<OrFileUploader> &
|
|
474
|
+
BaseEvents
|
|
475
|
+
>;
|
|
281
476
|
|
|
477
|
+
/**
|
|
478
|
+
*
|
|
479
|
+
*
|
|
480
|
+
* ## Attributes & Properties
|
|
481
|
+
*
|
|
482
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
483
|
+
*
|
|
484
|
+
* - `src`: undefined
|
|
485
|
+
* - `timeout`: undefined
|
|
486
|
+
* - `preventCache`: undefined
|
|
487
|
+
*
|
|
488
|
+
* ## Events
|
|
489
|
+
*
|
|
490
|
+
* Events that will be emitted by the component.
|
|
491
|
+
*
|
|
492
|
+
* - `or-iframe-event`: Fired when the iframe loading state changes, and dispatches the event detail containing type, src, and optional error.
|
|
493
|
+
*
|
|
494
|
+
* ## Methods
|
|
495
|
+
*
|
|
496
|
+
* Methods that can be called to access component functionality.
|
|
497
|
+
*
|
|
498
|
+
* - `getSrc() => string`: undefined
|
|
499
|
+
* - `reload() => void`: Reload the iframe content by clearing and resetting the src
|
|
500
|
+
*/
|
|
501
|
+
"or-iframe": Partial<
|
|
502
|
+
OrIframeProps & OrIframeSolidJsProps & BaseProps<OrIframe> & BaseEvents
|
|
503
|
+
>;
|
|
282
504
|
|
|
283
505
|
/**
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
506
|
+
*
|
|
507
|
+
*
|
|
508
|
+
* ## Attributes & Properties
|
|
509
|
+
*
|
|
510
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
511
|
+
*
|
|
512
|
+
* - `overlay`: undefined
|
|
513
|
+
*/
|
|
514
|
+
"or-loading-indicator": Partial<
|
|
515
|
+
OrLoadingIndicatorProps &
|
|
516
|
+
OrLoadingIndicatorSolidJsProps &
|
|
517
|
+
BaseProps<OrLoadingIndicator> &
|
|
518
|
+
BaseEvents
|
|
519
|
+
>;
|
|
297
520
|
|
|
521
|
+
/**
|
|
522
|
+
* A simple loading wrapper around some other content that will hide the content whilst loading property is true
|
|
523
|
+
*
|
|
524
|
+
* ## Attributes & Properties
|
|
525
|
+
*
|
|
526
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
527
|
+
*
|
|
528
|
+
* - `loadingHeight`: undefined
|
|
529
|
+
* - `loadDom`: undefined
|
|
530
|
+
* - `fadeContent`: undefined
|
|
531
|
+
* - `loading`: undefined
|
|
532
|
+
* - `content`: undefined (property only)
|
|
533
|
+
*/
|
|
534
|
+
"or-loading-wrapper": Partial<
|
|
535
|
+
OrLoadingWrapperProps &
|
|
536
|
+
OrLoadingWrapperSolidJsProps &
|
|
537
|
+
BaseProps<OrLoadingWrapper> &
|
|
538
|
+
BaseEvents
|
|
539
|
+
>;
|
|
298
540
|
|
|
299
541
|
/**
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
542
|
+
*
|
|
543
|
+
*
|
|
544
|
+
* ## Attributes & Properties
|
|
545
|
+
*
|
|
546
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
547
|
+
*
|
|
548
|
+
* - `zLevel`: undefined
|
|
549
|
+
* - `heading`: undefined
|
|
550
|
+
*/
|
|
551
|
+
"or-panel": Partial<
|
|
552
|
+
OrPanelProps & OrPanelSolidJsProps & BaseProps<OrPanel> & BaseEvents
|
|
553
|
+
>;
|
|
554
|
+
};
|
|
311
555
|
|
|
312
|
-
export type CustomCssProperties = {
|
|
556
|
+
export type CustomCssProperties = {};
|
|
313
557
|
|
|
558
|
+
declare module "react" {
|
|
559
|
+
namespace JSX {
|
|
560
|
+
interface IntrinsicElements extends CustomElements {}
|
|
561
|
+
}
|
|
562
|
+
export interface CSSProperties extends CustomCssProperties {}
|
|
314
563
|
}
|
|
315
564
|
|
|
316
|
-
|
|
317
|
-
declare module 'react' {
|
|
565
|
+
declare module "preact" {
|
|
318
566
|
namespace JSX {
|
|
319
567
|
interface IntrinsicElements extends CustomElements {}
|
|
320
568
|
}
|
|
321
569
|
export interface CSSProperties extends CustomCssProperties {}
|
|
322
570
|
}
|
|
323
571
|
|
|
324
|
-
declare module
|
|
572
|
+
declare module "@builder.io/qwik" {
|
|
325
573
|
namespace JSX {
|
|
326
574
|
interface IntrinsicElements extends CustomElements {}
|
|
327
575
|
}
|
|
328
576
|
export interface CSSProperties extends CustomCssProperties {}
|
|
329
577
|
}
|
|
330
578
|
|
|
331
|
-
declare module
|
|
579
|
+
declare module "@stencil/core" {
|
|
332
580
|
namespace JSX {
|
|
333
581
|
interface IntrinsicElements extends CustomElements {}
|
|
334
582
|
}
|
|
335
583
|
export interface CSSProperties extends CustomCssProperties {}
|
|
336
584
|
}
|
|
337
585
|
|
|
338
|
-
declare module
|
|
586
|
+
declare module "hono/jsx" {
|
|
339
587
|
namespace JSX {
|
|
340
588
|
interface IntrinsicElements extends CustomElements {}
|
|
341
589
|
}
|
|
342
590
|
export interface CSSProperties extends CustomCssProperties {}
|
|
343
591
|
}
|
|
344
592
|
|
|
345
|
-
declare module
|
|
593
|
+
declare module "react-native" {
|
|
346
594
|
namespace JSX {
|
|
347
595
|
interface IntrinsicElements extends CustomElements {}
|
|
348
596
|
}
|
|
349
597
|
export interface CSSProperties extends CustomCssProperties {}
|
|
350
598
|
}
|
|
351
599
|
|
|
352
|
-
declare module
|
|
600
|
+
declare module "solid-js" {
|
|
353
601
|
namespace JSX {
|
|
354
|
-
interface IntrinsicElements extends
|
|
602
|
+
interface IntrinsicElements extends CustomElementsSolidJs {}
|
|
355
603
|
}
|
|
356
604
|
export interface CSSProperties extends CustomCssProperties {}
|
|
357
605
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openremote/or-components",
|
|
3
|
-
"version": "1.24.
|
|
3
|
+
"version": "1.24.1",
|
|
4
4
|
"description": "OpenRemote basic UI components",
|
|
5
5
|
"customElements": "custom-elements.json",
|
|
6
6
|
"main": "dist/umd/index.bundle.js",
|
|
@@ -29,14 +29,17 @@
|
|
|
29
29
|
"license": "AGPL-3.0-or-later",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@material/elevation": "^9.0.0",
|
|
32
|
-
"@openremote/core": "1.24.
|
|
33
|
-
"@openremote/model": "1.24.
|
|
34
|
-
"@openremote/or-icon": "1.24.
|
|
35
|
-
"@openremote/or-translate": "1.24.
|
|
32
|
+
"@openremote/core": "1.24.1",
|
|
33
|
+
"@openremote/model": "1.24.1",
|
|
34
|
+
"@openremote/or-icon": "1.24.1",
|
|
35
|
+
"@openremote/or-translate": "1.24.1",
|
|
36
36
|
"ace-builds": "^1.41.0",
|
|
37
37
|
"lit": "^3.3.1",
|
|
38
38
|
"simplebar": "^5.3.6"
|
|
39
39
|
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@openremote/util": "1.24.1"
|
|
42
|
+
},
|
|
40
43
|
"publishConfig": {
|
|
41
44
|
"access": "public"
|
|
42
45
|
}
|