@openremote/or-components 1.6.0-snapshot.20250512145140 → 1.6.0-snapshot.20250512155842

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.
Files changed (2) hide show
  1. package/custom-elements.json +748 -0
  2. package/package.json +10 -3
@@ -0,0 +1,748 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/or-ace-editor.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "",
12
+ "name": "OrAceEditorChangedEvent",
13
+ "members": [
14
+ {
15
+ "kind": "field",
16
+ "name": "NAME",
17
+ "type": {
18
+ "text": "string"
19
+ },
20
+ "privacy": "public",
21
+ "static": true,
22
+ "readonly": true,
23
+ "default": "\"or-ace-editor-changed\""
24
+ }
25
+ ],
26
+ "superclass": {
27
+ "name": "CustomEvent",
28
+ "module": "src/or-ace-editor.ts"
29
+ }
30
+ },
31
+ {
32
+ "kind": "class",
33
+ "description": "",
34
+ "name": "OrAceEditorEditEvent",
35
+ "members": [
36
+ {
37
+ "kind": "field",
38
+ "name": "NAME",
39
+ "type": {
40
+ "text": "string"
41
+ },
42
+ "privacy": "public",
43
+ "static": true,
44
+ "readonly": true,
45
+ "default": "\"or-ace-editor-edit\""
46
+ }
47
+ ],
48
+ "superclass": {
49
+ "name": "CustomEvent",
50
+ "module": "src/or-ace-editor.ts"
51
+ }
52
+ },
53
+ {
54
+ "kind": "class",
55
+ "description": "",
56
+ "name": "OrAceEditor",
57
+ "members": [
58
+ {
59
+ "kind": "field",
60
+ "name": "styles",
61
+ "static": true,
62
+ "readonly": true
63
+ },
64
+ {
65
+ "kind": "field",
66
+ "name": "readonly",
67
+ "type": {
68
+ "text": "boolean | undefined"
69
+ },
70
+ "privacy": "public"
71
+ },
72
+ {
73
+ "kind": "field",
74
+ "name": "value",
75
+ "type": {
76
+ "text": "any | undefined"
77
+ },
78
+ "privacy": "public"
79
+ },
80
+ {
81
+ "kind": "field",
82
+ "name": "mode",
83
+ "type": {
84
+ "text": "string"
85
+ },
86
+ "privacy": "public",
87
+ "default": "\"ace/mode/json\""
88
+ },
89
+ {
90
+ "kind": "field",
91
+ "name": "_aceElem",
92
+ "type": {
93
+ "text": "HTMLElement | undefined"
94
+ },
95
+ "privacy": "protected"
96
+ },
97
+ {
98
+ "kind": "field",
99
+ "name": "_aceEditor",
100
+ "type": {
101
+ "text": "Ace.Editor | undefined"
102
+ },
103
+ "privacy": "protected"
104
+ },
105
+ {
106
+ "kind": "field",
107
+ "name": "_lastValue",
108
+ "type": {
109
+ "text": "string"
110
+ },
111
+ "privacy": "protected",
112
+ "default": "\"\""
113
+ },
114
+ {
115
+ "kind": "field",
116
+ "name": "_editing",
117
+ "type": {
118
+ "text": "boolean"
119
+ },
120
+ "privacy": "protected",
121
+ "default": "false"
122
+ },
123
+ {
124
+ "kind": "field",
125
+ "name": "_changeTimer",
126
+ "type": {
127
+ "text": "number | undefined"
128
+ },
129
+ "privacy": "protected"
130
+ },
131
+ {
132
+ "kind": "method",
133
+ "name": "updated",
134
+ "parameters": [
135
+ {
136
+ "name": "_changedProperties",
137
+ "type": {
138
+ "text": "PropertyValues"
139
+ }
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ "kind": "method",
145
+ "name": "render",
146
+ "return": {
147
+ "type": {
148
+ "text": "TemplateResult | void"
149
+ }
150
+ }
151
+ },
152
+ {
153
+ "kind": "method",
154
+ "name": "destroyEditor",
155
+ "privacy": "protected"
156
+ },
157
+ {
158
+ "kind": "method",
159
+ "name": "initEditor",
160
+ "privacy": "protected"
161
+ },
162
+ {
163
+ "kind": "method",
164
+ "name": "_onEditorEdit",
165
+ "privacy": "protected"
166
+ },
167
+ {
168
+ "kind": "method",
169
+ "name": "_onEditorChange",
170
+ "privacy": "protected"
171
+ },
172
+ {
173
+ "kind": "method",
174
+ "name": "getValue",
175
+ "privacy": "public",
176
+ "return": {
177
+ "type": {
178
+ "text": "string | undefined"
179
+ }
180
+ }
181
+ },
182
+ {
183
+ "kind": "method",
184
+ "name": "validate",
185
+ "privacy": "public",
186
+ "return": {
187
+ "type": {
188
+ "text": "boolean"
189
+ }
190
+ }
191
+ }
192
+ ],
193
+ "events": [
194
+ {
195
+ "type": {
196
+ "text": "OrAceEditorEditEvent"
197
+ }
198
+ },
199
+ {
200
+ "name": "newValue",
201
+ "type": {
202
+ "text": "OrAceEditorChangedEvent"
203
+ }
204
+ }
205
+ ],
206
+ "superclass": {
207
+ "name": "LitElement",
208
+ "package": "lit"
209
+ },
210
+ "customElement": true
211
+ }
212
+ ],
213
+ "exports": [
214
+ {
215
+ "kind": "js",
216
+ "name": "OrAceEditorChangedEvent",
217
+ "declaration": {
218
+ "name": "OrAceEditorChangedEvent",
219
+ "module": "src/or-ace-editor.ts"
220
+ }
221
+ },
222
+ {
223
+ "kind": "js",
224
+ "name": "OrAceEditorEditEvent",
225
+ "declaration": {
226
+ "name": "OrAceEditorEditEvent",
227
+ "module": "src/or-ace-editor.ts"
228
+ }
229
+ },
230
+ {
231
+ "kind": "js",
232
+ "name": "OrAceEditor",
233
+ "declaration": {
234
+ "name": "OrAceEditor",
235
+ "module": "src/or-ace-editor.ts"
236
+ }
237
+ }
238
+ ]
239
+ },
240
+ {
241
+ "kind": "javascript-module",
242
+ "path": "src/or-collapsible-panel.ts",
243
+ "declarations": [
244
+ {
245
+ "kind": "class",
246
+ "description": "",
247
+ "name": "OrCollapsiblePanel",
248
+ "members": [
249
+ {
250
+ "kind": "field",
251
+ "name": "styles",
252
+ "static": true,
253
+ "readonly": true
254
+ },
255
+ {
256
+ "kind": "field",
257
+ "name": "lazycontent",
258
+ "type": {
259
+ "text": "Promise<TemplateResult>"
260
+ }
261
+ },
262
+ {
263
+ "kind": "field",
264
+ "name": "expanded",
265
+ "type": {
266
+ "text": "boolean"
267
+ },
268
+ "default": "false"
269
+ },
270
+ {
271
+ "kind": "field",
272
+ "name": "expandable",
273
+ "type": {
274
+ "text": "boolean"
275
+ },
276
+ "default": "true"
277
+ },
278
+ {
279
+ "kind": "field",
280
+ "name": "headerElem",
281
+ "type": {
282
+ "text": "HTMLDivElement"
283
+ },
284
+ "privacy": "protected"
285
+ },
286
+ {
287
+ "kind": "method",
288
+ "name": "_onHeaderClicked",
289
+ "privacy": "protected",
290
+ "parameters": [
291
+ {
292
+ "name": "ev",
293
+ "type": {
294
+ "text": "MouseEvent"
295
+ }
296
+ }
297
+ ]
298
+ },
299
+ {
300
+ "kind": "method",
301
+ "name": "render"
302
+ }
303
+ ],
304
+ "superclass": {
305
+ "name": "LitElement",
306
+ "package": "lit"
307
+ },
308
+ "customElement": true
309
+ }
310
+ ],
311
+ "exports": [
312
+ {
313
+ "kind": "js",
314
+ "name": "OrCollapsiblePanel",
315
+ "declaration": {
316
+ "name": "OrCollapsiblePanel",
317
+ "module": "src/or-collapsible-panel.ts"
318
+ }
319
+ }
320
+ ]
321
+ },
322
+ {
323
+ "kind": "javascript-module",
324
+ "path": "src/or-file-uploader.ts",
325
+ "declarations": [
326
+ {
327
+ "kind": "class",
328
+ "description": "",
329
+ "name": "OrFileUploader",
330
+ "members": [
331
+ {
332
+ "kind": "field",
333
+ "name": "src",
334
+ "type": {
335
+ "text": "string"
336
+ },
337
+ "privacy": "public",
338
+ "readonly": true,
339
+ "default": "\"\""
340
+ },
341
+ {
342
+ "kind": "field",
343
+ "name": "managerUrl",
344
+ "type": {
345
+ "text": "string"
346
+ },
347
+ "privacy": "public",
348
+ "readonly": true,
349
+ "default": "\"\""
350
+ },
351
+ {
352
+ "kind": "field",
353
+ "name": "title",
354
+ "type": {
355
+ "text": "string"
356
+ },
357
+ "privacy": "public",
358
+ "readonly": true,
359
+ "default": "\"\""
360
+ },
361
+ {
362
+ "kind": "field",
363
+ "name": "accept",
364
+ "type": {
365
+ "text": "string"
366
+ },
367
+ "privacy": "public",
368
+ "readonly": true,
369
+ "default": "\"image/png,image/jpeg,image/vnd.microsoft.icon,image/svg+xml\""
370
+ },
371
+ {
372
+ "kind": "field",
373
+ "name": "loading",
374
+ "type": {
375
+ "text": "boolean"
376
+ },
377
+ "privacy": "private",
378
+ "default": "false"
379
+ },
380
+ {
381
+ "kind": "field",
382
+ "name": "files",
383
+ "type": {
384
+ "text": "FileInfo[]"
385
+ },
386
+ "privacy": "private",
387
+ "default": "[]"
388
+ },
389
+ {
390
+ "kind": "field",
391
+ "name": "Files",
392
+ "type": {
393
+ "text": "FileInfo[]"
394
+ },
395
+ "readonly": true
396
+ },
397
+ {
398
+ "kind": "field",
399
+ "name": "styles",
400
+ "static": true,
401
+ "readonly": true
402
+ },
403
+ {
404
+ "kind": "method",
405
+ "name": "firstUpdated",
406
+ "privacy": "protected",
407
+ "return": {
408
+ "type": {
409
+ "text": "void"
410
+ }
411
+ },
412
+ "parameters": [
413
+ {
414
+ "name": "_changedProperties",
415
+ "type": {
416
+ "text": "PropertyValues"
417
+ }
418
+ }
419
+ ]
420
+ },
421
+ {
422
+ "kind": "method",
423
+ "name": "_onChange",
424
+ "parameters": [
425
+ {
426
+ "name": "e",
427
+ "type": {
428
+ "text": "any"
429
+ }
430
+ }
431
+ ]
432
+ },
433
+ {
434
+ "kind": "method",
435
+ "name": "render"
436
+ }
437
+ ],
438
+ "events": [
439
+ {
440
+ "name": "change",
441
+ "type": {
442
+ "text": "CustomEvent"
443
+ }
444
+ }
445
+ ],
446
+ "superclass": {
447
+ "name": "LitElement",
448
+ "package": "lit"
449
+ },
450
+ "customElement": true
451
+ }
452
+ ],
453
+ "exports": [
454
+ {
455
+ "kind": "js",
456
+ "name": "OrFileUploader",
457
+ "declaration": {
458
+ "name": "OrFileUploader",
459
+ "module": "src/or-file-uploader.ts"
460
+ }
461
+ }
462
+ ]
463
+ },
464
+ {
465
+ "kind": "javascript-module",
466
+ "path": "src/or-form.ts",
467
+ "declarations": [
468
+ {
469
+ "kind": "class",
470
+ "description": "This is a form element that supports any element that has a value property",
471
+ "name": "OrForm",
472
+ "members": [
473
+ {
474
+ "kind": "field",
475
+ "name": "formNodes",
476
+ "type": {
477
+ "text": "Node[]"
478
+ },
479
+ "privacy": "protected"
480
+ },
481
+ {
482
+ "kind": "method",
483
+ "name": "firstUpdated",
484
+ "privacy": "protected",
485
+ "return": {
486
+ "type": {
487
+ "text": "void"
488
+ }
489
+ },
490
+ "parameters": [
491
+ {
492
+ "name": "_changedProperties",
493
+ "type": {
494
+ "text": "PropertyValues"
495
+ }
496
+ }
497
+ ]
498
+ },
499
+ {
500
+ "kind": "method",
501
+ "name": "render"
502
+ },
503
+ {
504
+ "kind": "method",
505
+ "name": "checkValidity",
506
+ "privacy": "public",
507
+ "return": {
508
+ "type": {
509
+ "text": "boolean"
510
+ }
511
+ }
512
+ },
513
+ {
514
+ "kind": "method",
515
+ "name": "reportValidity",
516
+ "privacy": "public",
517
+ "return": {
518
+ "type": {
519
+ "text": "boolean"
520
+ }
521
+ }
522
+ },
523
+ {
524
+ "kind": "method",
525
+ "name": "submit",
526
+ "privacy": "public",
527
+ "return": {
528
+ "type": {
529
+ "text": "{[key: string]: any}"
530
+ }
531
+ }
532
+ },
533
+ {
534
+ "kind": "method",
535
+ "name": "reset",
536
+ "privacy": "public"
537
+ }
538
+ ],
539
+ "superclass": {
540
+ "name": "LitElement",
541
+ "package": "lit"
542
+ },
543
+ "customElement": true
544
+ }
545
+ ],
546
+ "exports": [
547
+ {
548
+ "kind": "js",
549
+ "name": "OrForm",
550
+ "declaration": {
551
+ "name": "OrForm",
552
+ "module": "src/or-form.ts"
553
+ }
554
+ }
555
+ ]
556
+ },
557
+ {
558
+ "kind": "javascript-module",
559
+ "path": "src/or-loading-indicator.ts",
560
+ "declarations": [
561
+ {
562
+ "kind": "class",
563
+ "description": "",
564
+ "name": "OrLoadingIndicator",
565
+ "members": [
566
+ {
567
+ "kind": "field",
568
+ "name": "overlay",
569
+ "type": {
570
+ "text": "boolean"
571
+ },
572
+ "privacy": "public",
573
+ "default": "false"
574
+ },
575
+ {
576
+ "kind": "field",
577
+ "name": "styles",
578
+ "static": true,
579
+ "readonly": true
580
+ },
581
+ {
582
+ "kind": "method",
583
+ "name": "render"
584
+ }
585
+ ],
586
+ "superclass": {
587
+ "name": "LitElement",
588
+ "package": "lit"
589
+ },
590
+ "customElement": true
591
+ }
592
+ ],
593
+ "exports": [
594
+ {
595
+ "kind": "js",
596
+ "name": "OrLoadingIndicator",
597
+ "declaration": {
598
+ "name": "OrLoadingIndicator",
599
+ "module": "src/or-loading-indicator.ts"
600
+ }
601
+ }
602
+ ]
603
+ },
604
+ {
605
+ "kind": "javascript-module",
606
+ "path": "src/or-loading-wrapper.ts",
607
+ "declarations": [
608
+ {
609
+ "kind": "class",
610
+ "description": "A simple loading wrapper around some other content that will hide the content whilst loading property is true",
611
+ "name": "OrLoadingWrapper",
612
+ "members": [
613
+ {
614
+ "kind": "field",
615
+ "name": "loadingHeight",
616
+ "type": {
617
+ "text": "number | undefined"
618
+ },
619
+ "privacy": "public"
620
+ },
621
+ {
622
+ "kind": "field",
623
+ "name": "loadDom",
624
+ "type": {
625
+ "text": "boolean"
626
+ },
627
+ "privacy": "public",
628
+ "default": "true"
629
+ },
630
+ {
631
+ "kind": "field",
632
+ "name": "fadeContent",
633
+ "type": {
634
+ "text": "boolean"
635
+ },
636
+ "privacy": "public",
637
+ "default": "false"
638
+ },
639
+ {
640
+ "kind": "field",
641
+ "name": "loading",
642
+ "type": {
643
+ "text": "boolean"
644
+ },
645
+ "privacy": "public",
646
+ "default": "false"
647
+ },
648
+ {
649
+ "kind": "field",
650
+ "name": "content",
651
+ "type": {
652
+ "text": "TemplateResult | undefined"
653
+ },
654
+ "privacy": "public"
655
+ },
656
+ {
657
+ "kind": "field",
658
+ "name": "styles",
659
+ "privacy": "public",
660
+ "static": true,
661
+ "readonly": true
662
+ },
663
+ {
664
+ "kind": "method",
665
+ "name": "render"
666
+ }
667
+ ],
668
+ "superclass": {
669
+ "name": "LitElement",
670
+ "package": "lit"
671
+ },
672
+ "customElement": true
673
+ }
674
+ ],
675
+ "exports": [
676
+ {
677
+ "kind": "js",
678
+ "name": "OrLoadingWrapper",
679
+ "declaration": {
680
+ "name": "OrLoadingWrapper",
681
+ "module": "src/or-loading-wrapper.ts"
682
+ }
683
+ }
684
+ ]
685
+ },
686
+ {
687
+ "kind": "javascript-module",
688
+ "path": "src/or-panel.ts",
689
+ "declarations": [
690
+ {
691
+ "kind": "class",
692
+ "description": "",
693
+ "name": "OrPanel",
694
+ "members": [
695
+ {
696
+ "kind": "field",
697
+ "name": "styles",
698
+ "static": true,
699
+ "readonly": true
700
+ },
701
+ {
702
+ "kind": "field",
703
+ "name": "zLevel",
704
+ "type": {
705
+ "text": "number | undefined"
706
+ }
707
+ },
708
+ {
709
+ "kind": "field",
710
+ "name": "heading",
711
+ "type": {
712
+ "text": "string | TemplateResult | undefined"
713
+ },
714
+ "privacy": "public"
715
+ },
716
+ {
717
+ "kind": "field",
718
+ "name": "_panel",
719
+ "type": {
720
+ "text": "HTMLDivElement"
721
+ },
722
+ "privacy": "protected"
723
+ },
724
+ {
725
+ "kind": "method",
726
+ "name": "render"
727
+ }
728
+ ],
729
+ "superclass": {
730
+ "name": "LitElement",
731
+ "package": "lit"
732
+ },
733
+ "customElement": true
734
+ }
735
+ ],
736
+ "exports": [
737
+ {
738
+ "kind": "js",
739
+ "name": "OrPanel",
740
+ "declaration": {
741
+ "name": "OrPanel",
742
+ "module": "src/or-panel.ts"
743
+ }
744
+ }
745
+ ]
746
+ }
747
+ ]
748
+ }
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@openremote/or-components",
3
- "version": "1.6.0-snapshot.20250512145140",
3
+ "version": "1.6.0-snapshot.20250512155842",
4
4
  "description": "OpenRemote basic UI components",
5
+ "customElements": "custom-elements.json",
6
+ "main": "dist/umd/index.bundle.js",
7
+ "module": "lib/index.js",
5
8
  "exports": {
9
+ ".": "./lib/index.js",
6
10
  "./*": "./lib/*.js"
7
11
  },
8
12
  "typesVersions": {
@@ -13,6 +17,8 @@
13
17
  }
14
18
  },
15
19
  "scripts": {
20
+ "analyze": "npx cem analyze --config ../custom-elements-manifest.config.js",
21
+ "build": "npx tsc -b",
16
22
  "test": "echo \"No tests\" && exit 0",
17
23
  "prepack": "npx tsc -b"
18
24
  },
@@ -20,12 +26,13 @@
20
26
  "license": "AGPL-3.0-or-later",
21
27
  "dependencies": {
22
28
  "@material/elevation": "^9.0.0",
23
- "@openremote/core": "1.6.0-snapshot.20250512145140",
29
+ "@openremote/core": "1.6.0-snapshot.20250512155842",
30
+ "@openremote/or-mwc-components": "1.6.0-snapshot.20250512155842",
24
31
  "lit": "^2.0.2",
25
32
  "simplebar": "^5.3.6"
26
33
  },
27
34
  "devDependencies": {
28
- "@openremote/util": "1.6.0-snapshot.20250512145140"
35
+ "@openremote/util": "1.6.0-snapshot.20250512155842"
29
36
  },
30
37
  "publishConfig": {
31
38
  "access": "public"