@openremote/or-asset-tree 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.
@@ -0,0 +1,1796 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/index.ts",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "description": "",
12
+ "name": "OrAssetTreeRequestSelectionEvent",
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-asset-tree-request-selection\""
24
+ }
25
+ ],
26
+ "superclass": {
27
+ "name": "CustomEvent",
28
+ "module": "src/index.ts"
29
+ }
30
+ },
31
+ {
32
+ "kind": "class",
33
+ "description": "",
34
+ "name": "OrAssetTreeSelectionEvent",
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-asset-tree-selection\""
46
+ }
47
+ ],
48
+ "superclass": {
49
+ "name": "CustomEvent",
50
+ "module": "src/index.ts"
51
+ }
52
+ },
53
+ {
54
+ "kind": "class",
55
+ "description": "",
56
+ "name": "OrAssetTreeChangeParentEvent",
57
+ "members": [
58
+ {
59
+ "kind": "field",
60
+ "name": "NAME",
61
+ "type": {
62
+ "text": "string"
63
+ },
64
+ "privacy": "public",
65
+ "static": true,
66
+ "readonly": true,
67
+ "default": "\"or-asset-tree-change-parent\""
68
+ }
69
+ ],
70
+ "superclass": {
71
+ "name": "CustomEvent",
72
+ "module": "src/index.ts"
73
+ }
74
+ },
75
+ {
76
+ "kind": "class",
77
+ "description": "",
78
+ "name": "OrAssetTreeToggleExpandEvent",
79
+ "members": [
80
+ {
81
+ "kind": "field",
82
+ "name": "NAME",
83
+ "type": {
84
+ "text": "string"
85
+ },
86
+ "privacy": "public",
87
+ "static": true,
88
+ "readonly": true,
89
+ "default": "\"or-asset-tree-expand\""
90
+ }
91
+ ],
92
+ "superclass": {
93
+ "name": "CustomEvent",
94
+ "module": "src/index.ts"
95
+ }
96
+ },
97
+ {
98
+ "kind": "class",
99
+ "description": "",
100
+ "name": "OrAssetTreeRequestAddEvent",
101
+ "members": [
102
+ {
103
+ "kind": "field",
104
+ "name": "NAME",
105
+ "type": {
106
+ "text": "string"
107
+ },
108
+ "privacy": "public",
109
+ "static": true,
110
+ "readonly": true,
111
+ "default": "\"or-asset-tree-request-add\""
112
+ }
113
+ ],
114
+ "superclass": {
115
+ "name": "CustomEvent",
116
+ "module": "src/index.ts"
117
+ }
118
+ },
119
+ {
120
+ "kind": "class",
121
+ "description": "",
122
+ "name": "OrAssetTreeAddEvent",
123
+ "members": [
124
+ {
125
+ "kind": "field",
126
+ "name": "NAME",
127
+ "type": {
128
+ "text": "string"
129
+ },
130
+ "privacy": "public",
131
+ "static": true,
132
+ "readonly": true,
133
+ "default": "\"or-asset-tree-add\""
134
+ }
135
+ ],
136
+ "superclass": {
137
+ "name": "CustomEvent",
138
+ "module": "src/index.ts"
139
+ }
140
+ },
141
+ {
142
+ "kind": "class",
143
+ "description": "",
144
+ "name": "OrAssetTreeRequestDeleteEvent",
145
+ "members": [
146
+ {
147
+ "kind": "field",
148
+ "name": "NAME",
149
+ "type": {
150
+ "text": "string"
151
+ },
152
+ "privacy": "public",
153
+ "static": true,
154
+ "readonly": true,
155
+ "default": "\"or-asset-tree-request-delete\""
156
+ }
157
+ ],
158
+ "superclass": {
159
+ "name": "CustomEvent",
160
+ "module": "src/index.ts"
161
+ }
162
+ },
163
+ {
164
+ "kind": "class",
165
+ "description": "",
166
+ "name": "OrAssetTreeAssetEvent",
167
+ "members": [
168
+ {
169
+ "kind": "field",
170
+ "name": "NAME",
171
+ "type": {
172
+ "text": "string"
173
+ },
174
+ "privacy": "public",
175
+ "static": true,
176
+ "readonly": true,
177
+ "default": "\"or-asset-tree-asset-event\""
178
+ }
179
+ ],
180
+ "superclass": {
181
+ "name": "CustomEvent",
182
+ "module": "src/index.ts"
183
+ }
184
+ },
185
+ {
186
+ "kind": "class",
187
+ "description": "",
188
+ "name": "OrAssetTreeFilter",
189
+ "members": [
190
+ {
191
+ "kind": "field",
192
+ "name": "asset",
193
+ "type": {
194
+ "text": "string | undefined"
195
+ },
196
+ "default": "undefined"
197
+ },
198
+ {
199
+ "kind": "field",
200
+ "name": "assetType",
201
+ "type": {
202
+ "text": "string[]"
203
+ },
204
+ "default": "[]"
205
+ },
206
+ {
207
+ "kind": "field",
208
+ "name": "attribute",
209
+ "type": {
210
+ "text": "string[]"
211
+ },
212
+ "default": "[]"
213
+ },
214
+ {
215
+ "kind": "field",
216
+ "name": "attributeValue",
217
+ "type": {
218
+ "text": "string[]"
219
+ },
220
+ "default": "[]"
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ "kind": "function",
226
+ "name": "getAssetTypes"
227
+ },
228
+ {
229
+ "kind": "class",
230
+ "description": "",
231
+ "name": "OrAssetTree",
232
+ "members": [
233
+ {
234
+ "kind": "field",
235
+ "name": "styles",
236
+ "static": true,
237
+ "readonly": true
238
+ },
239
+ {
240
+ "kind": "field",
241
+ "name": "assets",
242
+ "type": {
243
+ "text": "Asset[] | undefined"
244
+ },
245
+ "privacy": "public",
246
+ "description": "Allows arbitrary assets to be displayed using a tree"
247
+ },
248
+ {
249
+ "kind": "field",
250
+ "name": "assetInfos",
251
+ "type": {
252
+ "text": "AssetTypeInfo[] | undefined"
253
+ },
254
+ "privacy": "public"
255
+ },
256
+ {
257
+ "kind": "field",
258
+ "name": "_assetIdsOverride",
259
+ "type": {
260
+ "text": "string[] | undefined"
261
+ },
262
+ "privacy": "public"
263
+ },
264
+ {
265
+ "kind": "field",
266
+ "name": "rootAssets",
267
+ "type": {
268
+ "text": "Asset[] | undefined"
269
+ },
270
+ "privacy": "public"
271
+ },
272
+ {
273
+ "kind": "field",
274
+ "name": "rootAssetIds",
275
+ "type": {
276
+ "text": "string[] | undefined"
277
+ },
278
+ "privacy": "public"
279
+ },
280
+ {
281
+ "kind": "field",
282
+ "name": "dataProvider",
283
+ "type": {
284
+ "text": "() => Promise<Asset[]> | undefined"
285
+ },
286
+ "privacy": "public"
287
+ },
288
+ {
289
+ "kind": "field",
290
+ "name": "readonly",
291
+ "type": {
292
+ "text": "boolean"
293
+ },
294
+ "privacy": "public",
295
+ "default": "false"
296
+ },
297
+ {
298
+ "kind": "field",
299
+ "name": "disabled",
300
+ "type": {
301
+ "text": "boolean"
302
+ },
303
+ "privacy": "public",
304
+ "default": "false"
305
+ },
306
+ {
307
+ "kind": "field",
308
+ "name": "disableSubscribe",
309
+ "type": {
310
+ "text": "boolean"
311
+ },
312
+ "privacy": "public",
313
+ "default": "false"
314
+ },
315
+ {
316
+ "kind": "field",
317
+ "name": "selectedIds",
318
+ "type": {
319
+ "text": "string[] | undefined"
320
+ },
321
+ "privacy": "public"
322
+ },
323
+ {
324
+ "kind": "field",
325
+ "name": "showDeselectBtn",
326
+ "type": {
327
+ "text": "boolean | undefined"
328
+ },
329
+ "privacy": "public",
330
+ "default": "true"
331
+ },
332
+ {
333
+ "kind": "field",
334
+ "name": "showSortBtn",
335
+ "type": {
336
+ "text": "boolean | undefined"
337
+ },
338
+ "privacy": "public",
339
+ "default": "true"
340
+ },
341
+ {
342
+ "kind": "field",
343
+ "name": "showFilter",
344
+ "type": {
345
+ "text": "boolean"
346
+ },
347
+ "privacy": "public",
348
+ "default": "true"
349
+ },
350
+ {
351
+ "kind": "field",
352
+ "name": "sortBy",
353
+ "type": {
354
+ "text": "string | undefined"
355
+ },
356
+ "privacy": "public",
357
+ "default": "\"name\""
358
+ },
359
+ {
360
+ "kind": "field",
361
+ "name": "expandAllNodes",
362
+ "type": {
363
+ "text": "boolean | undefined"
364
+ },
365
+ "privacy": "public",
366
+ "default": "false"
367
+ },
368
+ {
369
+ "kind": "field",
370
+ "name": "expandedIds",
371
+ "type": {
372
+ "text": "string[] | undefined"
373
+ },
374
+ "privacy": "public",
375
+ "default": "[]"
376
+ },
377
+ {
378
+ "kind": "field",
379
+ "name": "checkboxes",
380
+ "type": {
381
+ "text": "boolean | undefined"
382
+ },
383
+ "privacy": "public",
384
+ "default": "false"
385
+ },
386
+ {
387
+ "kind": "field",
388
+ "name": "config",
389
+ "type": {
390
+ "text": "AssetTreeConfig | undefined"
391
+ },
392
+ "privacy": "protected"
393
+ },
394
+ {
395
+ "kind": "field",
396
+ "name": "_nodes",
397
+ "type": {
398
+ "text": "UiAssetTreeNode[] | undefined"
399
+ },
400
+ "privacy": "protected"
401
+ },
402
+ {
403
+ "kind": "field",
404
+ "name": "_loading",
405
+ "type": {
406
+ "text": "boolean"
407
+ },
408
+ "privacy": "protected",
409
+ "default": "false"
410
+ },
411
+ {
412
+ "kind": "field",
413
+ "name": "_connected",
414
+ "type": {
415
+ "text": "boolean"
416
+ },
417
+ "privacy": "protected",
418
+ "default": "false"
419
+ },
420
+ {
421
+ "kind": "field",
422
+ "name": "_selectedNodes",
423
+ "type": {
424
+ "text": "UiAssetTreeNode[]"
425
+ },
426
+ "privacy": "protected",
427
+ "default": "[]"
428
+ },
429
+ {
430
+ "kind": "field",
431
+ "name": "_expandedNodes",
432
+ "type": {
433
+ "text": "UiAssetTreeNode[]"
434
+ },
435
+ "privacy": "protected",
436
+ "default": "[]"
437
+ },
438
+ {
439
+ "kind": "field",
440
+ "name": "_initCallback",
441
+ "type": {
442
+ "text": "EventCallback | undefined"
443
+ },
444
+ "privacy": "protected"
445
+ },
446
+ {
447
+ "kind": "field",
448
+ "name": "_filter",
449
+ "type": {
450
+ "text": "OrAssetTreeFilter"
451
+ },
452
+ "privacy": "protected",
453
+ "default": "new OrAssetTreeFilter()"
454
+ },
455
+ {
456
+ "kind": "field",
457
+ "name": "_searchInputTimer",
458
+ "type": {
459
+ "text": "number | undefined"
460
+ },
461
+ "privacy": "protected",
462
+ "default": "undefined"
463
+ },
464
+ {
465
+ "kind": "field",
466
+ "name": "_clearIconContainer",
467
+ "type": {
468
+ "text": "HTMLElement"
469
+ },
470
+ "privacy": "protected"
471
+ },
472
+ {
473
+ "kind": "field",
474
+ "name": "_filterInput",
475
+ "type": {
476
+ "text": "OrMwcInput"
477
+ },
478
+ "privacy": "protected"
479
+ },
480
+ {
481
+ "kind": "field",
482
+ "name": "_filterSettingOpen",
483
+ "type": {
484
+ "text": "boolean"
485
+ },
486
+ "privacy": "protected",
487
+ "default": "false"
488
+ },
489
+ {
490
+ "kind": "field",
491
+ "name": "_assetTypes",
492
+ "type": {
493
+ "text": "AssetDescriptor[]"
494
+ },
495
+ "privacy": "protected",
496
+ "default": "[]"
497
+ },
498
+ {
499
+ "kind": "field",
500
+ "name": "_attributeNameFilter",
501
+ "type": {
502
+ "text": "OrMwcInput"
503
+ },
504
+ "privacy": "protected"
505
+ },
506
+ {
507
+ "kind": "field",
508
+ "name": "_attributeValueFilter",
509
+ "type": {
510
+ "text": "OrMwcInput"
511
+ },
512
+ "privacy": "protected"
513
+ },
514
+ {
515
+ "kind": "field",
516
+ "name": "_assetTypeFilter",
517
+ "type": {
518
+ "text": "string"
519
+ },
520
+ "privacy": "protected"
521
+ },
522
+ {
523
+ "kind": "field",
524
+ "name": "_uniqueAssetTypes",
525
+ "type": {
526
+ "text": "string[]"
527
+ },
528
+ "privacy": "protected",
529
+ "default": "[]"
530
+ },
531
+ {
532
+ "kind": "field",
533
+ "name": "_dragDropParentId",
534
+ "type": {
535
+ "text": "string | null"
536
+ },
537
+ "privacy": "private",
538
+ "default": "null"
539
+ },
540
+ {
541
+ "kind": "field",
542
+ "name": "_expandTimer",
543
+ "type": {
544
+ "text": "number | undefined"
545
+ },
546
+ "privacy": "protected",
547
+ "default": "undefined"
548
+ },
549
+ {
550
+ "kind": "field",
551
+ "name": "_latestSelected",
552
+ "type": {
553
+ "text": "UiAssetTreeNode | undefined"
554
+ },
555
+ "privacy": "private",
556
+ "default": "undefined"
557
+ },
558
+ {
559
+ "kind": "field",
560
+ "name": "assetsChildren",
561
+ "type": {
562
+ "text": "{\n [key: string]: UiAssetTreeNode[]\n }"
563
+ },
564
+ "privacy": "protected",
565
+ "default": "{}"
566
+ },
567
+ {
568
+ "kind": "field",
569
+ "name": "selectedNodes",
570
+ "type": {
571
+ "text": "UiAssetTreeNode[]"
572
+ },
573
+ "privacy": "public"
574
+ },
575
+ {
576
+ "kind": "method",
577
+ "name": "refresh",
578
+ "privacy": "public"
579
+ },
580
+ {
581
+ "kind": "method",
582
+ "name": "isAncestorSelected",
583
+ "privacy": "public",
584
+ "parameters": [
585
+ {
586
+ "name": "node",
587
+ "type": {
588
+ "text": "UiAssetTreeNode"
589
+ }
590
+ }
591
+ ]
592
+ },
593
+ {
594
+ "kind": "method",
595
+ "name": "mapDescriptors",
596
+ "privacy": "protected",
597
+ "return": {
598
+ "type": {
599
+ "text": "ListItem[]"
600
+ }
601
+ },
602
+ "parameters": [
603
+ {
604
+ "name": "descriptors",
605
+ "type": {
606
+ "text": "(AssetDescriptor)[]"
607
+ }
608
+ },
609
+ {
610
+ "name": "withNoneValue",
611
+ "optional": true,
612
+ "type": {
613
+ "text": "ListItem"
614
+ }
615
+ }
616
+ ]
617
+ },
618
+ {
619
+ "kind": "method",
620
+ "name": "getSelectHeader",
621
+ "privacy": "protected",
622
+ "return": {
623
+ "type": {
624
+ "text": "TemplateResult"
625
+ }
626
+ }
627
+ },
628
+ {
629
+ "kind": "method",
630
+ "name": "getSelectedHeader",
631
+ "privacy": "protected",
632
+ "return": {
633
+ "type": {
634
+ "text": "TemplateResult"
635
+ }
636
+ },
637
+ "parameters": [
638
+ {
639
+ "name": "descriptor",
640
+ "type": {
641
+ "text": "AssetDescriptor"
642
+ }
643
+ }
644
+ ]
645
+ },
646
+ {
647
+ "kind": "method",
648
+ "name": "assetTypeSelect",
649
+ "privacy": "protected",
650
+ "return": {
651
+ "type": {
652
+ "text": "TemplateResult"
653
+ }
654
+ }
655
+ },
656
+ {
657
+ "kind": "method",
658
+ "name": "atLeastOneNodeToBeShown",
659
+ "privacy": "protected",
660
+ "return": {
661
+ "type": {
662
+ "text": "boolean"
663
+ }
664
+ }
665
+ },
666
+ {
667
+ "kind": "method",
668
+ "name": "render",
669
+ "privacy": "protected"
670
+ },
671
+ {
672
+ "kind": "method",
673
+ "name": "_isReadonly",
674
+ "privacy": "protected"
675
+ },
676
+ {
677
+ "kind": "method",
678
+ "name": "shouldUpdate",
679
+ "privacy": "protected",
680
+ "return": {
681
+ "type": {
682
+ "text": "boolean"
683
+ }
684
+ },
685
+ "parameters": [
686
+ {
687
+ "name": "_changedProperties",
688
+ "type": {
689
+ "text": "PropertyValues"
690
+ }
691
+ }
692
+ ]
693
+ },
694
+ {
695
+ "kind": "method",
696
+ "name": "_updateSelectedNodes",
697
+ "privacy": "protected"
698
+ },
699
+ {
700
+ "kind": "method",
701
+ "name": "_updateSort",
702
+ "privacy": "protected",
703
+ "parameters": [
704
+ {
705
+ "name": "nodes",
706
+ "type": {
707
+ "text": "UiAssetTreeNode[]"
708
+ }
709
+ },
710
+ {
711
+ "name": "sortFunction",
712
+ "type": {
713
+ "text": "(a: UiAssetTreeNode, b: UiAssetTreeNode) => number"
714
+ }
715
+ }
716
+ ]
717
+ },
718
+ {
719
+ "kind": "method",
720
+ "name": "_toggleExpander",
721
+ "privacy": "protected",
722
+ "parameters": [
723
+ {
724
+ "name": "expander",
725
+ "type": {
726
+ "text": "HTMLElement"
727
+ }
728
+ },
729
+ {
730
+ "name": "node",
731
+ "type": {
732
+ "text": "UiAssetTreeNode | null"
733
+ }
734
+ },
735
+ {
736
+ "name": "silent",
737
+ "default": "false",
738
+ "type": {
739
+ "text": "boolean"
740
+ }
741
+ }
742
+ ]
743
+ },
744
+ {
745
+ "kind": "method",
746
+ "name": "_buildPaths",
747
+ "privacy": "private",
748
+ "return": {
749
+ "type": {
750
+ "text": "string[]"
751
+ }
752
+ },
753
+ "parameters": [
754
+ {
755
+ "name": "node",
756
+ "type": {
757
+ "text": "UiAssetTreeNode"
758
+ }
759
+ }
760
+ ]
761
+ },
762
+ {
763
+ "kind": "method",
764
+ "name": "_findNode",
765
+ "privacy": "private",
766
+ "return": {
767
+ "type": {
768
+ "text": "UiAssetTreeNode | undefined"
769
+ }
770
+ },
771
+ "parameters": [
772
+ {
773
+ "name": "n",
774
+ "type": {
775
+ "text": "UiAssetTreeNode"
776
+ }
777
+ },
778
+ {
779
+ "name": "assetId",
780
+ "type": {
781
+ "text": "string"
782
+ }
783
+ }
784
+ ]
785
+ },
786
+ {
787
+ "kind": "method",
788
+ "name": "_findNodeFromAssetId",
789
+ "privacy": "private",
790
+ "return": {
791
+ "type": {
792
+ "text": "UiAssetTreeNode | undefined"
793
+ }
794
+ },
795
+ "parameters": [
796
+ {
797
+ "name": "assetId",
798
+ "type": {
799
+ "text": "string"
800
+ }
801
+ }
802
+ ]
803
+ },
804
+ {
805
+ "kind": "method",
806
+ "name": "_onNodeClicked",
807
+ "privacy": "protected",
808
+ "parameters": [
809
+ {
810
+ "name": "evt",
811
+ "type": {
812
+ "text": "MouseEvent | null"
813
+ }
814
+ },
815
+ {
816
+ "name": "node",
817
+ "type": {
818
+ "text": "UiAssetTreeNode | null"
819
+ }
820
+ }
821
+ ]
822
+ },
823
+ {
824
+ "kind": "method",
825
+ "name": "_onDeselectClicked",
826
+ "privacy": "protected"
827
+ },
828
+ {
829
+ "kind": "method",
830
+ "name": "parseFromInputFilter",
831
+ "privacy": "protected",
832
+ "return": {
833
+ "type": {
834
+ "text": "OrAssetTreeFilter"
835
+ }
836
+ },
837
+ "parameters": [
838
+ {
839
+ "name": "inputValue",
840
+ "optional": true,
841
+ "type": {
842
+ "text": "string"
843
+ }
844
+ }
845
+ ]
846
+ },
847
+ {
848
+ "kind": "method",
849
+ "name": "formatFilter",
850
+ "privacy": "protected",
851
+ "return": {
852
+ "type": {
853
+ "text": "string"
854
+ }
855
+ },
856
+ "parameters": [
857
+ {
858
+ "name": "newFilter",
859
+ "type": {
860
+ "text": "OrAssetTreeFilter"
861
+ }
862
+ }
863
+ ]
864
+ },
865
+ {
866
+ "kind": "method",
867
+ "name": "_shouldEnableAttrTypeEvent",
868
+ "privacy": "protected",
869
+ "return": {
870
+ "type": {
871
+ "text": "void"
872
+ }
873
+ },
874
+ "parameters": [
875
+ {
876
+ "name": "e",
877
+ "type": {
878
+ "text": "KeyboardEvent"
879
+ }
880
+ }
881
+ ]
882
+ },
883
+ {
884
+ "kind": "method",
885
+ "name": "_shouldEnableAttrType",
886
+ "privacy": "protected",
887
+ "return": {
888
+ "type": {
889
+ "text": "void"
890
+ }
891
+ },
892
+ "parameters": [
893
+ {
894
+ "name": "value",
895
+ "type": {
896
+ "text": "string | undefined"
897
+ }
898
+ }
899
+ ]
900
+ },
901
+ {
902
+ "kind": "method",
903
+ "name": "applySettingFields",
904
+ "privacy": "protected",
905
+ "return": {
906
+ "type": {
907
+ "text": "OrAssetTreeFilter"
908
+ }
909
+ },
910
+ "parameters": [
911
+ {
912
+ "name": "filter",
913
+ "type": {
914
+ "text": "OrAssetTreeFilter"
915
+ }
916
+ }
917
+ ]
918
+ },
919
+ {
920
+ "kind": "method",
921
+ "name": "_filterFromSettings",
922
+ "privacy": "protected",
923
+ "return": {
924
+ "type": {
925
+ "text": "void"
926
+ }
927
+ }
928
+ },
929
+ {
930
+ "kind": "method",
931
+ "name": "_onFilterInputEvent",
932
+ "privacy": "protected",
933
+ "parameters": [
934
+ {
935
+ "name": "e",
936
+ "type": {
937
+ "text": "KeyboardEvent"
938
+ }
939
+ }
940
+ ]
941
+ },
942
+ {
943
+ "kind": "method",
944
+ "name": "_onFilterInput",
945
+ "privacy": "protected",
946
+ "return": {
947
+ "type": {
948
+ "text": "void"
949
+ }
950
+ },
951
+ "parameters": [
952
+ {
953
+ "name": "newValue",
954
+ "type": {
955
+ "text": "string | undefined"
956
+ }
957
+ },
958
+ {
959
+ "name": "force",
960
+ "type": {
961
+ "text": "boolean"
962
+ }
963
+ }
964
+ ]
965
+ },
966
+ {
967
+ "kind": "method",
968
+ "name": "_doFiltering",
969
+ "privacy": "protected"
970
+ },
971
+ {
972
+ "kind": "method",
973
+ "name": "getMatcher",
974
+ "privacy": "protected",
975
+ "return": {
976
+ "type": {
977
+ "text": "Promise<((asset: Asset) => boolean)>"
978
+ }
979
+ },
980
+ "parameters": [
981
+ {
982
+ "name": "requireQuery",
983
+ "type": {
984
+ "text": "boolean"
985
+ }
986
+ }
987
+ ]
988
+ },
989
+ {
990
+ "kind": "method",
991
+ "name": "getSimpleNameMatcher",
992
+ "privacy": "protected",
993
+ "return": {
994
+ "type": {
995
+ "text": "Promise<((asset: Asset) => boolean)>"
996
+ }
997
+ }
998
+ },
999
+ {
1000
+ "kind": "method",
1001
+ "name": "getMatcherFromQuery",
1002
+ "privacy": "protected",
1003
+ "return": {
1004
+ "type": {
1005
+ "text": "Promise<((asset: Asset) => boolean)>"
1006
+ }
1007
+ }
1008
+ },
1009
+ {
1010
+ "kind": "method",
1011
+ "name": "isAnyFilter",
1012
+ "privacy": "protected",
1013
+ "return": {
1014
+ "type": {
1015
+ "text": "boolean"
1016
+ }
1017
+ }
1018
+ },
1019
+ {
1020
+ "kind": "method",
1021
+ "name": "filterTreeNode",
1022
+ "privacy": "protected",
1023
+ "return": {
1024
+ "type": {
1025
+ "text": "boolean"
1026
+ }
1027
+ },
1028
+ "parameters": [
1029
+ {
1030
+ "name": "currentNode",
1031
+ "type": {
1032
+ "text": "UiAssetTreeNode"
1033
+ }
1034
+ },
1035
+ {
1036
+ "name": "matcher",
1037
+ "type": {
1038
+ "text": "(asset: Asset) => boolean"
1039
+ }
1040
+ },
1041
+ {
1042
+ "name": "parentMatching",
1043
+ "default": "false",
1044
+ "type": {
1045
+ "text": "boolean"
1046
+ }
1047
+ }
1048
+ ]
1049
+ },
1050
+ {
1051
+ "kind": "method",
1052
+ "name": "_onCopyClicked",
1053
+ "privacy": "protected"
1054
+ },
1055
+ {
1056
+ "kind": "method",
1057
+ "name": "_onAddClicked",
1058
+ "privacy": "protected"
1059
+ },
1060
+ {
1061
+ "kind": "method",
1062
+ "name": "_gatewayDescendantIsSelected",
1063
+ "privacy": "protected",
1064
+ "return": {
1065
+ "type": {
1066
+ "text": "boolean"
1067
+ }
1068
+ }
1069
+ },
1070
+ {
1071
+ "kind": "method",
1072
+ "name": "_onDeleteClicked",
1073
+ "privacy": "protected"
1074
+ },
1075
+ {
1076
+ "kind": "method",
1077
+ "name": "_onSortClicked",
1078
+ "privacy": "protected",
1079
+ "parameters": [
1080
+ {
1081
+ "name": "sortBy",
1082
+ "type": {
1083
+ "text": "string"
1084
+ }
1085
+ }
1086
+ ]
1087
+ },
1088
+ {
1089
+ "kind": "method",
1090
+ "name": "_doDelete",
1091
+ "privacy": "protected"
1092
+ },
1093
+ {
1094
+ "kind": "method",
1095
+ "name": "_canAdd",
1096
+ "privacy": "protected",
1097
+ "return": {
1098
+ "type": {
1099
+ "text": "boolean"
1100
+ }
1101
+ }
1102
+ },
1103
+ {
1104
+ "kind": "method",
1105
+ "name": "_getAllowedChildTypes",
1106
+ "privacy": "protected",
1107
+ "return": {
1108
+ "type": {
1109
+ "text": "AssetDescriptor[]"
1110
+ }
1111
+ },
1112
+ "parameters": [
1113
+ {
1114
+ "name": "selectedNode",
1115
+ "type": {
1116
+ "text": "UiAssetTreeNode | undefined"
1117
+ }
1118
+ }
1119
+ ]
1120
+ },
1121
+ {
1122
+ "kind": "method",
1123
+ "name": "_getSortFunction",
1124
+ "privacy": "protected",
1125
+ "return": {
1126
+ "type": {
1127
+ "text": "(a: UiAssetTreeNode, b: UiAssetTreeNode) => number"
1128
+ }
1129
+ }
1130
+ },
1131
+ {
1132
+ "kind": "method",
1133
+ "name": "_loadAssets",
1134
+ "privacy": "protected"
1135
+ },
1136
+ {
1137
+ "kind": "method",
1138
+ "name": "_addEventSubscriptions",
1139
+ "privacy": "public",
1140
+ "return": {
1141
+ "type": {
1142
+ "text": "Promise<void>"
1143
+ }
1144
+ }
1145
+ },
1146
+ {
1147
+ "kind": "method",
1148
+ "name": "onEventsConnect",
1149
+ "privacy": "public"
1150
+ },
1151
+ {
1152
+ "kind": "method",
1153
+ "name": "onEventsDisconnect",
1154
+ "privacy": "public"
1155
+ },
1156
+ {
1157
+ "kind": "method",
1158
+ "name": "getNodes",
1159
+ "privacy": "public",
1160
+ "return": {
1161
+ "type": {
1162
+ "text": "UiAssetTreeNode[]"
1163
+ }
1164
+ }
1165
+ },
1166
+ {
1167
+ "kind": "method",
1168
+ "name": "_onEvent",
1169
+ "privacy": "public",
1170
+ "parameters": [
1171
+ {
1172
+ "name": "event",
1173
+ "type": {
1174
+ "text": "SharedEvent"
1175
+ }
1176
+ }
1177
+ ]
1178
+ },
1179
+ {
1180
+ "kind": "method",
1181
+ "name": "_buildTreeNodes",
1182
+ "privacy": "protected",
1183
+ "parameters": [
1184
+ {
1185
+ "name": "assets",
1186
+ "type": {
1187
+ "text": "Asset[]"
1188
+ }
1189
+ },
1190
+ {
1191
+ "name": "sortFunction",
1192
+ "type": {
1193
+ "text": "(a: UiAssetTreeNode, b: UiAssetTreeNode) => number"
1194
+ }
1195
+ }
1196
+ ]
1197
+ },
1198
+ {
1199
+ "kind": "method",
1200
+ "name": "_buildChildTreeNodes",
1201
+ "privacy": "protected",
1202
+ "parameters": [
1203
+ {
1204
+ "name": "treeNode",
1205
+ "type": {
1206
+ "text": "UiAssetTreeNode"
1207
+ }
1208
+ },
1209
+ {
1210
+ "name": "assets",
1211
+ "type": {
1212
+ "text": "AssetWithReparentId[]"
1213
+ }
1214
+ },
1215
+ {
1216
+ "name": "sortFunction",
1217
+ "type": {
1218
+ "text": "(a: UiAssetTreeNode, b: UiAssetTreeNode) => number"
1219
+ }
1220
+ }
1221
+ ]
1222
+ },
1223
+ {
1224
+ "kind": "method",
1225
+ "name": "_onDragStart",
1226
+ "privacy": "public",
1227
+ "return": {
1228
+ "type": {
1229
+ "text": "void"
1230
+ }
1231
+ },
1232
+ "parameters": [
1233
+ {
1234
+ "name": "ev",
1235
+ "type": {
1236
+ "text": "any"
1237
+ }
1238
+ }
1239
+ ]
1240
+ },
1241
+ {
1242
+ "kind": "method",
1243
+ "name": "_onDragEnd",
1244
+ "privacy": "public",
1245
+ "return": {
1246
+ "type": {
1247
+ "text": "void"
1248
+ }
1249
+ },
1250
+ "parameters": [
1251
+ {
1252
+ "name": "ev",
1253
+ "type": {
1254
+ "text": "any"
1255
+ }
1256
+ }
1257
+ ]
1258
+ },
1259
+ {
1260
+ "kind": "method",
1261
+ "name": "isExpandable",
1262
+ "privacy": "protected",
1263
+ "return": {
1264
+ "type": {
1265
+ "text": "boolean"
1266
+ }
1267
+ },
1268
+ "parameters": [
1269
+ {
1270
+ "name": "assetId",
1271
+ "type": {
1272
+ "text": "string"
1273
+ }
1274
+ }
1275
+ ]
1276
+ },
1277
+ {
1278
+ "kind": "method",
1279
+ "name": "_onDragOver",
1280
+ "privacy": "public",
1281
+ "return": {
1282
+ "type": {
1283
+ "text": "void"
1284
+ }
1285
+ },
1286
+ "parameters": [
1287
+ {
1288
+ "name": "ev",
1289
+ "type": {
1290
+ "text": "any"
1291
+ }
1292
+ }
1293
+ ]
1294
+ },
1295
+ {
1296
+ "kind": "method",
1297
+ "name": "expandNode",
1298
+ "privacy": "protected",
1299
+ "return": {
1300
+ "type": {
1301
+ "text": "void"
1302
+ }
1303
+ },
1304
+ "parameters": [
1305
+ {
1306
+ "name": "assetId",
1307
+ "type": {
1308
+ "text": "string | null"
1309
+ }
1310
+ }
1311
+ ]
1312
+ },
1313
+ {
1314
+ "kind": "method",
1315
+ "name": "_onDragEnter",
1316
+ "privacy": "public",
1317
+ "return": {
1318
+ "type": {
1319
+ "text": "void"
1320
+ }
1321
+ },
1322
+ "parameters": [
1323
+ {
1324
+ "name": "ev",
1325
+ "type": {
1326
+ "text": "any"
1327
+ }
1328
+ }
1329
+ ]
1330
+ },
1331
+ {
1332
+ "kind": "method",
1333
+ "name": "_onDragLeave",
1334
+ "privacy": "public",
1335
+ "return": {
1336
+ "type": {
1337
+ "text": "void"
1338
+ }
1339
+ },
1340
+ "parameters": [
1341
+ {
1342
+ "name": "ev",
1343
+ "type": {
1344
+ "text": "any"
1345
+ }
1346
+ }
1347
+ ]
1348
+ },
1349
+ {
1350
+ "kind": "method",
1351
+ "name": "_treeNodeTemplate",
1352
+ "privacy": "protected",
1353
+ "return": {
1354
+ "type": {
1355
+ "text": "TemplateResult | string | undefined"
1356
+ }
1357
+ },
1358
+ "parameters": [
1359
+ {
1360
+ "name": "treeNode",
1361
+ "type": {
1362
+ "text": "UiAssetTreeNode"
1363
+ }
1364
+ },
1365
+ {
1366
+ "name": "level",
1367
+ "type": {
1368
+ "text": "number"
1369
+ }
1370
+ }
1371
+ ]
1372
+ },
1373
+ {
1374
+ "kind": "method",
1375
+ "name": "_forEachNodeRecursive",
1376
+ "privacy": "protected",
1377
+ "static": true,
1378
+ "parameters": [
1379
+ {
1380
+ "name": "nodes",
1381
+ "type": {
1382
+ "text": "UiAssetTreeNode[]"
1383
+ }
1384
+ },
1385
+ {
1386
+ "name": "fn",
1387
+ "type": {
1388
+ "text": "(node: UiAssetTreeNode) => void"
1389
+ }
1390
+ }
1391
+ ]
1392
+ }
1393
+ ],
1394
+ "events": [
1395
+ {
1396
+ "type": {
1397
+ "text": "OrAssetTreeSelectionEvent"
1398
+ }
1399
+ },
1400
+ {
1401
+ "name": "assetEvent",
1402
+ "type": {
1403
+ "text": "OrAssetTreeAssetEvent"
1404
+ }
1405
+ }
1406
+ ],
1407
+ "mixins": [
1408
+ {
1409
+ "name": "subscribe(manager)",
1410
+ "module": "src/index.ts"
1411
+ }
1412
+ ],
1413
+ "superclass": {
1414
+ "name": "LitElement",
1415
+ "package": "lit"
1416
+ },
1417
+ "customElement": true
1418
+ }
1419
+ ],
1420
+ "exports": [
1421
+ {
1422
+ "kind": "js",
1423
+ "name": "style",
1424
+ "declaration": {
1425
+ "name": "style",
1426
+ "module": "src/index.ts"
1427
+ }
1428
+ },
1429
+ {
1430
+ "kind": "js",
1431
+ "name": "OrAssetTreeRequestSelectionEvent",
1432
+ "declaration": {
1433
+ "name": "OrAssetTreeRequestSelectionEvent",
1434
+ "module": "src/index.ts"
1435
+ }
1436
+ },
1437
+ {
1438
+ "kind": "js",
1439
+ "name": "OrAssetTreeSelectionEvent",
1440
+ "declaration": {
1441
+ "name": "OrAssetTreeSelectionEvent",
1442
+ "module": "src/index.ts"
1443
+ }
1444
+ },
1445
+ {
1446
+ "kind": "js",
1447
+ "name": "OrAssetTreeChangeParentEvent",
1448
+ "declaration": {
1449
+ "name": "OrAssetTreeChangeParentEvent",
1450
+ "module": "src/index.ts"
1451
+ }
1452
+ },
1453
+ {
1454
+ "kind": "js",
1455
+ "name": "OrAssetTreeToggleExpandEvent",
1456
+ "declaration": {
1457
+ "name": "OrAssetTreeToggleExpandEvent",
1458
+ "module": "src/index.ts"
1459
+ }
1460
+ },
1461
+ {
1462
+ "kind": "js",
1463
+ "name": "OrAssetTreeRequestAddEvent",
1464
+ "declaration": {
1465
+ "name": "OrAssetTreeRequestAddEvent",
1466
+ "module": "src/index.ts"
1467
+ }
1468
+ },
1469
+ {
1470
+ "kind": "js",
1471
+ "name": "OrAssetTreeAddEvent",
1472
+ "declaration": {
1473
+ "name": "OrAssetTreeAddEvent",
1474
+ "module": "src/index.ts"
1475
+ }
1476
+ },
1477
+ {
1478
+ "kind": "js",
1479
+ "name": "OrAssetTreeRequestDeleteEvent",
1480
+ "declaration": {
1481
+ "name": "OrAssetTreeRequestDeleteEvent",
1482
+ "module": "src/index.ts"
1483
+ }
1484
+ },
1485
+ {
1486
+ "kind": "js",
1487
+ "name": "OrAssetTreeAssetEvent",
1488
+ "declaration": {
1489
+ "name": "OrAssetTreeAssetEvent",
1490
+ "module": "src/index.ts"
1491
+ }
1492
+ },
1493
+ {
1494
+ "kind": "js",
1495
+ "name": "OrAssetTreeFilter",
1496
+ "declaration": {
1497
+ "name": "OrAssetTreeFilter",
1498
+ "module": "src/index.ts"
1499
+ }
1500
+ },
1501
+ {
1502
+ "kind": "js",
1503
+ "name": "getAssetTypes",
1504
+ "declaration": {
1505
+ "name": "getAssetTypes",
1506
+ "module": "src/index.ts"
1507
+ }
1508
+ },
1509
+ {
1510
+ "kind": "js",
1511
+ "name": "OrAssetTree",
1512
+ "declaration": {
1513
+ "name": "OrAssetTree",
1514
+ "module": "src/index.ts"
1515
+ }
1516
+ }
1517
+ ]
1518
+ },
1519
+ {
1520
+ "kind": "javascript-module",
1521
+ "path": "src/or-add-asset-dialog.ts",
1522
+ "declarations": [
1523
+ {
1524
+ "kind": "class",
1525
+ "description": "",
1526
+ "name": "OrAddChangedEvent",
1527
+ "members": [
1528
+ {
1529
+ "kind": "field",
1530
+ "name": "NAME",
1531
+ "type": {
1532
+ "text": "string"
1533
+ },
1534
+ "privacy": "public",
1535
+ "static": true,
1536
+ "readonly": true,
1537
+ "default": "\"or-add-asset-changed\""
1538
+ }
1539
+ ],
1540
+ "superclass": {
1541
+ "name": "CustomEvent",
1542
+ "module": "src/or-add-asset-dialog.ts"
1543
+ }
1544
+ },
1545
+ {
1546
+ "kind": "class",
1547
+ "description": "",
1548
+ "name": "OrAddAssetDialog",
1549
+ "members": [
1550
+ {
1551
+ "kind": "field",
1552
+ "name": "config",
1553
+ "type": {
1554
+ "text": "AssetTreeConfig"
1555
+ },
1556
+ "privacy": "public"
1557
+ },
1558
+ {
1559
+ "kind": "field",
1560
+ "name": "agentTypes",
1561
+ "type": {
1562
+ "text": "AgentDescriptor[]"
1563
+ },
1564
+ "privacy": "public"
1565
+ },
1566
+ {
1567
+ "kind": "field",
1568
+ "name": "assetTypes",
1569
+ "type": {
1570
+ "text": "AssetDescriptor[]"
1571
+ },
1572
+ "privacy": "public"
1573
+ },
1574
+ {
1575
+ "kind": "field",
1576
+ "name": "parent",
1577
+ "type": {
1578
+ "text": "Asset | undefined"
1579
+ },
1580
+ "privacy": "public"
1581
+ },
1582
+ {
1583
+ "kind": "field",
1584
+ "name": "selectedType",
1585
+ "type": {
1586
+ "text": "AgentDescriptor | AssetDescriptor | undefined"
1587
+ },
1588
+ "privacy": "public"
1589
+ },
1590
+ {
1591
+ "kind": "field",
1592
+ "name": "selectedAttributes",
1593
+ "type": {
1594
+ "text": "AttributeDescriptor[]"
1595
+ },
1596
+ "privacy": "public",
1597
+ "default": "[]"
1598
+ },
1599
+ {
1600
+ "kind": "field",
1601
+ "name": "showParentAssetSelector",
1602
+ "type": {
1603
+ "text": "boolean"
1604
+ },
1605
+ "privacy": "protected",
1606
+ "default": "false"
1607
+ },
1608
+ {
1609
+ "kind": "field",
1610
+ "name": "selectedChildAssetType",
1611
+ "type": {
1612
+ "text": "string"
1613
+ },
1614
+ "default": "\"\""
1615
+ },
1616
+ {
1617
+ "kind": "field",
1618
+ "name": "name",
1619
+ "type": {
1620
+ "text": "string"
1621
+ },
1622
+ "privacy": "public",
1623
+ "default": "\"New Asset\""
1624
+ },
1625
+ {
1626
+ "kind": "field",
1627
+ "name": "nameInput",
1628
+ "type": {
1629
+ "text": "OrMwcInput"
1630
+ },
1631
+ "privacy": "protected"
1632
+ },
1633
+ {
1634
+ "kind": "field",
1635
+ "name": "agentList",
1636
+ "type": {
1637
+ "text": "OrMwcList | undefined"
1638
+ },
1639
+ "privacy": "protected"
1640
+ },
1641
+ {
1642
+ "kind": "field",
1643
+ "name": "assetList",
1644
+ "type": {
1645
+ "text": "OrMwcList | undefined"
1646
+ },
1647
+ "privacy": "protected"
1648
+ },
1649
+ {
1650
+ "kind": "field",
1651
+ "name": "parentAssetList",
1652
+ "type": {
1653
+ "text": "OrMwcList | undefined"
1654
+ },
1655
+ "privacy": "protected"
1656
+ },
1657
+ {
1658
+ "kind": "field",
1659
+ "name": "styles",
1660
+ "privacy": "public",
1661
+ "static": true,
1662
+ "readonly": true
1663
+ },
1664
+ {
1665
+ "kind": "method",
1666
+ "name": "render",
1667
+ "privacy": "protected"
1668
+ },
1669
+ {
1670
+ "kind": "method",
1671
+ "name": "getTypeTemplate",
1672
+ "privacy": "protected",
1673
+ "parameters": [
1674
+ {
1675
+ "name": "descriptor",
1676
+ "type": {
1677
+ "text": "AgentDescriptor | AssetDescriptor"
1678
+ }
1679
+ },
1680
+ {
1681
+ "name": "parentStr",
1682
+ "type": {
1683
+ "text": "string"
1684
+ }
1685
+ }
1686
+ ]
1687
+ },
1688
+ {
1689
+ "kind": "method",
1690
+ "name": "onNameChanged",
1691
+ "privacy": "protected",
1692
+ "parameters": [
1693
+ {
1694
+ "name": "name",
1695
+ "type": {
1696
+ "text": "string"
1697
+ }
1698
+ }
1699
+ ]
1700
+ },
1701
+ {
1702
+ "kind": "method",
1703
+ "name": "onTypeChanged",
1704
+ "privacy": "protected",
1705
+ "parameters": [
1706
+ {
1707
+ "name": "isAgent",
1708
+ "type": {
1709
+ "text": "boolean"
1710
+ }
1711
+ },
1712
+ {
1713
+ "name": "listItem",
1714
+ "type": {
1715
+ "text": "ListItem"
1716
+ }
1717
+ }
1718
+ ]
1719
+ },
1720
+ {
1721
+ "kind": "method",
1722
+ "name": "onModified",
1723
+ "privacy": "protected"
1724
+ },
1725
+ {
1726
+ "kind": "method",
1727
+ "name": "_onToggleParentAssetSelector",
1728
+ "privacy": "protected",
1729
+ "return": {
1730
+ "type": {
1731
+ "text": "void"
1732
+ }
1733
+ }
1734
+ },
1735
+ {
1736
+ "kind": "method",
1737
+ "name": "_onDeselectClicked",
1738
+ "privacy": "protected"
1739
+ }
1740
+ ],
1741
+ "events": [
1742
+ {
1743
+ "type": {
1744
+ "text": "OrAddChangedEvent"
1745
+ }
1746
+ }
1747
+ ],
1748
+ "superclass": {
1749
+ "name": "LitElement",
1750
+ "package": "lit"
1751
+ },
1752
+ "customElement": true
1753
+ }
1754
+ ],
1755
+ "exports": [
1756
+ {
1757
+ "kind": "js",
1758
+ "name": "OrAddChangedEvent",
1759
+ "declaration": {
1760
+ "name": "OrAddChangedEvent",
1761
+ "module": "src/or-add-asset-dialog.ts"
1762
+ }
1763
+ },
1764
+ {
1765
+ "kind": "js",
1766
+ "name": "OrAddAssetDialog",
1767
+ "declaration": {
1768
+ "name": "OrAddAssetDialog",
1769
+ "module": "src/or-add-asset-dialog.ts"
1770
+ }
1771
+ }
1772
+ ]
1773
+ },
1774
+ {
1775
+ "kind": "javascript-module",
1776
+ "path": "src/style.ts",
1777
+ "declarations": [
1778
+ {
1779
+ "kind": "variable",
1780
+ "name": "style",
1781
+ "default": "css` :host { --internal-or-asset-tree-header-color: var(--or-asset-tree-header-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)})); --internal-or-asset-tree-header-text-color: var(--or-asset-tree-header-text-color, var(--or-app-color8, ${unsafeCSS(DefaultColor8)})); --internal-or-asset-tree-header-menu-background-color: var(--or-asset-tree-header-menu-background-color, var(--internal-or-asset-tree-header-text-color)); --internal-or-asset-tree-header-menu-text-color: var(--or-asset-tree-header-menu-text-color, inherit); --internal-or-asset-tree-header-height: var(--or-asset-tree-header-height, 48px); --internal-or-asset-tree-background-color: var(--or-asset-tree-background-color, var(--or-app-color1, ${unsafeCSS(DefaultColor1)})); --internal-or-asset-tree-text-color: var(--or-asset-tree-text-color, inherit); --internal-or-asset-tree-item-height: var(--or-asset-tree-item-height, 24px); --internal-or-asset-tree-item-padding: var(--or-asset-tree-item-padding, 10px); --internal-or-asset-tree-selected-background-color: var(--or-asset-tree-selected-background-color, var(--or-app-color2, ${unsafeCSS(DefaultColor2)})); --internal-or-asset-tree-selected-color: var(--or-asset-tree-selected-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)})); --internal-or-asset-tree-button-color: var(--or-asset-tree-button-color, var(--or-app-color4, ${unsafeCSS(DefaultColor4)})); --internal-or-asset-tree-line-color: var(--or-asset-tree-line-color, var(--or-app-color5, ${unsafeCSS(DefaultColor5)})); display: flex; flex-direction: column; height: 100%; width: 100%; background-color: var(--internal-or-asset-tree-background-color); } *[hidden] { display: none; } button { background-color: var(--internal-or-asset-tree-button-color); color: var(--internal-or-asset-tree-background-color); --or-icon-width: 20px; --or-icon-height: 20px; --or-icon-fill: var(--internal-or-asset-tree-background-color); border: none; padding: 0 6px; display: inline-block; cursor: pointer; opacity: 0.8; } button:focus, button:hover { outline: 0; opacity: 1; } #header { background-color: var(--internal-or-asset-tree-header-color); display: flex; align-items: center; width: 100%; height: var(--internal-or-asset-tree-header-height); border-bottom: 1px solid ${unsafeCSS(DefaultColor5)}; z-index: 1000; line-height: var(--internal-or-asset-tree-header-height); color: var(--internal-or-asset-tree-header-text-color); --or-icon-fill: var(--internal-or-asset-tree-header-text-color); } #title-container { flex: 1 0 auto; flex-direction: row; text-transform: capitalize; padding-left: 15px; } #title { font-weight: 500; font-size: 16px; } #realm-picker { outline: none; margin-left: 5px; text-transform: none; font-size: 14px; } #header-btns { display: flex; flex-direction: row; padding-right: 5px; } #list-container { flex: 1 1 auto; overflow: auto; font-size: 14px; } #list { margin: 0; color: var(--internal-or-asset-tree-text-color); padding: 0; } #list, ol { list-style-type: none; } li ol { padding: 0; } #list li:not([data-expanded]) > ol { display: none; } #list li[data-selected] > .node-container, #list li > .node-container:hover { background-color: var(--internal-or-asset-tree-selected-background-color); } #list li[data-selected] > .node-container { border-left-color: var(--internal-or-asset-tree-selected-color); } .asset-list-element .over { background-color: ${unsafeCSS(DefaultColor5)}; } .in-between-element { position: relative; height: 2px; } .in-between-element.over { padding: 5px 0; margin: -5px 0; } .end-element { height: 44px; } .node-container { display: flex; border-left: 4px solid transparent; user-select: none; cursor: pointer; height: var(--internal-or-asset-tree-item-height); line-height: var(--internal-or-asset-tree-item-height); padding-top: var(--internal-or-asset-tree-item-padding); padding-bottom: var(--internal-or-asset-tree-item-padding); } .node-container > * { flex: 0 0 auto; } .expander { width: 36px; height: 100%; display: inline-block; background-repeat: no-repeat; background-size: 18px; background-position: center; margin-left: -4px; border-left: 4px solid transparent; } .expander[data-expandable] { background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='rgb(204, 204, 204)' viewBox='0 0 24 24'%3E%3Cpath d='${unsafeCSS(mdiChevronRight)}'/%3E%3C/svg%3E\"); } .expander[data-expandable]:hover { background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='${unsafeCSS(mdiChevronRight)}'/%3E%3C/svg%3E\"); } li[data-expanded] > .node-container .expander { background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='${unsafeCSS(mdiChevronDown)}'/%3E%3C/svg%3E\") !important; } .node-name { margin: -4px 0; flex: 1 0 auto; display: flex; align-items: center; } .node-name > span { vertical-align: middle; } .node-name > or-icon { --or-icon-width: 18px; --or-icon-height: 18px; margin-right: 8px; } #loading { flex: 1 0 auto; display: inline-flex; align-items: center; text-align: center; margin: 0 auto; font-size: 14px; } @media only screen and (min-width: 768px){ .expander { width: 26px; } } .mdc-list-item__graphic { margin-left: auto; display: flex; margin-right: 5px; } .mdc-checkbox { display: flex; height: 100%; align-items: center; } .mdc-checkbox or-icon { height: 15px; width: auto; color: var(--internal-or-asset-tree-line-color); } .mdc-checkbox or-icon.mdc-checkbox--parent { height: 17px; } .mdc-checkbox or-icon[icon=\"checkbox-marked\"], .mdc-checkbox or-icon[icon=\"checkbox-multiple-marked\"], .mdc-checkbox or-icon[icon=\"checkbox-multiple-marked-outline\"] { color: var(--internal-or-asset-tree-selected-color); } #asset-tree-filter { display: flex; align-items: center; position: relative; background-color: var(--internal-or-asset-tree-selected-background-color); } #filterInput { padding: 7px 12px 7px 7px; } #filterAssetTypeDownIcon { width: 16px; height: 16px; position: absolute; right: 20px; padding-right: 14px; cursor: pointer; } #filterSettingsIcon { cursor: pointer; margin-right: 12px; } #asset-tree-filter-setting { position: absolute; background-color: var(--internal-or-asset-tree-background-color); top: calc(var(--internal-or-asset-tree-header-height) + var(--internal-or-header-height, 50px) - 1px); display: none; width: 300px; z-index: 100; box-shadow: rgb(0 0 0 / 21%) 0px 1px 3px 0px; box-sizing: border-box; padding: 10px; } #asset-tree-filter-setting .advanced-filter { display: flex; flex-direction: column; } #asset-tree-filter-setting.visible { display: block; } .filterAssetType { display: flex; align-items: center; } #clearIconContainer.visible { display: block; } #noAssetsFound { flex: 1 0 auto; display: inline-flex; align-items: center; text-align: center; margin: 0 auto; font-size: 14px; } .filterMatching { color: #808080; } .draggable { cursor: pointer; } .draggable:active[draggable=\"true\"] { cursor: grabbing; } `"
1782
+ }
1783
+ ],
1784
+ "exports": [
1785
+ {
1786
+ "kind": "js",
1787
+ "name": "style",
1788
+ "declaration": {
1789
+ "name": "style",
1790
+ "module": "src/style.ts"
1791
+ }
1792
+ }
1793
+ ]
1794
+ }
1795
+ ]
1796
+ }