@openremote/or-asset-viewer 1.6.0 → 1.6.2

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.
@@ -384,19 +384,14 @@
384
384
  "description": "",
385
385
  "name": "OrAssetViewer",
386
386
  "members": [
387
- {
388
- "kind": "field",
389
- "name": "styles",
390
- "static": true,
391
- "readonly": true
392
- },
393
387
  {
394
388
  "kind": "field",
395
389
  "name": "asset",
396
390
  "type": {
397
391
  "text": "Asset | undefined"
398
392
  },
399
- "privacy": "public"
393
+ "privacy": "public",
394
+ "attribute": "asset"
400
395
  },
401
396
  {
402
397
  "kind": "field",
@@ -404,7 +399,8 @@
404
399
  "type": {
405
400
  "text": "string | undefined"
406
401
  },
407
- "privacy": "public"
402
+ "privacy": "public",
403
+ "attribute": "assetId"
408
404
  },
409
405
  {
410
406
  "kind": "field",
@@ -412,7 +408,8 @@
412
408
  "type": {
413
409
  "text": "ViewerConfig | undefined"
414
410
  },
415
- "privacy": "public"
411
+ "privacy": "public",
412
+ "attribute": "config"
416
413
  },
417
414
  {
418
415
  "kind": "field",
@@ -420,7 +417,8 @@
420
417
  "type": {
421
418
  "text": "boolean | undefined"
422
419
  },
423
- "privacy": "public"
420
+ "privacy": "public",
421
+ "attribute": "editMode"
424
422
  },
425
423
  {
426
424
  "kind": "field",
@@ -428,7 +426,8 @@
428
426
  "type": {
429
427
  "text": "boolean | undefined"
430
428
  },
431
- "privacy": "public"
429
+ "privacy": "public",
430
+ "attribute": "readonly"
432
431
  },
433
432
  {
434
433
  "kind": "field",
@@ -514,35 +513,6 @@
514
513
  "name": "langChangedCallback",
515
514
  "description": "When language is changed, we clear the cached templates,\nso can be rendered differently according to the selected language."
516
515
  },
517
- {
518
- "kind": "method",
519
- "name": "shouldUpdate",
520
- "return": {
521
- "type": {
522
- "text": "boolean"
523
- }
524
- },
525
- "parameters": [
526
- {
527
- "name": "changedProperties",
528
- "type": {
529
- "text": "PropertyValues"
530
- }
531
- }
532
- ]
533
- },
534
- {
535
- "kind": "method",
536
- "name": "updated",
537
- "parameters": [
538
- {
539
- "name": "_changedProperties",
540
- "type": {
541
- "text": "PropertyValues"
542
- }
543
- }
544
- ]
545
- },
546
516
  {
547
517
  "kind": "method",
548
518
  "name": "loadAssetInfo",
@@ -565,16 +535,6 @@
565
535
  "name": "_doValidation",
566
536
  "privacy": "protected"
567
537
  },
568
- {
569
- "kind": "method",
570
- "name": "render",
571
- "privacy": "protected",
572
- "return": {
573
- "type": {
574
- "text": "TemplateResult | void"
575
- }
576
- }
577
- },
578
538
  {
579
539
  "kind": "method",
580
540
  "name": "_toggleHeaderShadow",
@@ -678,6 +638,43 @@
678
638
  }
679
639
  }
680
640
  ],
641
+ "attributes": [
642
+ {
643
+ "name": "asset",
644
+ "type": {
645
+ "text": "Asset | undefined"
646
+ },
647
+ "fieldName": "asset"
648
+ },
649
+ {
650
+ "name": "assetId",
651
+ "type": {
652
+ "text": "string | undefined"
653
+ },
654
+ "fieldName": "assetId"
655
+ },
656
+ {
657
+ "name": "config",
658
+ "type": {
659
+ "text": "ViewerConfig | undefined"
660
+ },
661
+ "fieldName": "config"
662
+ },
663
+ {
664
+ "name": "editMode",
665
+ "type": {
666
+ "text": "boolean | undefined"
667
+ },
668
+ "fieldName": "editMode"
669
+ },
670
+ {
671
+ "name": "readonly",
672
+ "type": {
673
+ "text": "boolean | undefined"
674
+ },
675
+ "fieldName": "readonly"
676
+ }
677
+ ],
681
678
  "mixins": [
682
679
  {
683
680
  "name": "subscribe(manager)",
@@ -692,6 +689,7 @@
692
689
  "name": "LitElement",
693
690
  "package": "lit"
694
691
  },
692
+ "tagName": "or-asset-viewer",
695
693
  "customElement": true
696
694
  }
697
695
  ],
@@ -831,6 +829,14 @@
831
829
  "name": "OrAssetViewer",
832
830
  "module": "src/index.ts"
833
831
  }
832
+ },
833
+ {
834
+ "kind": "custom-element-definition",
835
+ "name": "or-asset-viewer",
836
+ "declaration": {
837
+ "name": "OrAssetViewer",
838
+ "module": "src/index.ts"
839
+ }
834
840
  }
835
841
  ]
836
842
  },
@@ -889,7 +895,8 @@
889
895
  "text": "boolean"
890
896
  },
891
897
  "privacy": "protected",
892
- "default": "false"
898
+ "default": "false",
899
+ "attribute": "isCustom"
893
900
  },
894
901
  {
895
902
  "kind": "field",
@@ -898,7 +905,8 @@
898
905
  "text": "boolean"
899
906
  },
900
907
  "privacy": "public",
901
- "default": "false"
908
+ "default": "false",
909
+ "attribute": "isArray"
902
910
  },
903
911
  {
904
912
  "kind": "field",
@@ -907,7 +915,8 @@
907
915
  "text": "number"
908
916
  },
909
917
  "privacy": "public",
910
- "default": "1"
918
+ "default": "1",
919
+ "attribute": "arrayDimensions"
911
920
  },
912
921
  {
913
922
  "kind": "field",
@@ -951,31 +960,6 @@
951
960
  "privacy": "protected",
952
961
  "default": "/\\[\\]/g"
953
962
  },
954
- {
955
- "kind": "field",
956
- "name": "styles",
957
- "privacy": "public",
958
- "static": true,
959
- "readonly": true
960
- },
961
- {
962
- "kind": "method",
963
- "name": "shouldUpdate",
964
- "privacy": "protected",
965
- "parameters": [
966
- {
967
- "name": "_changedProperties",
968
- "type": {
969
- "text": "PropertyValues"
970
- }
971
- }
972
- ]
973
- },
974
- {
975
- "kind": "method",
976
- "name": "render",
977
- "privacy": "protected"
978
- },
979
963
  {
980
964
  "kind": "method",
981
965
  "name": "onTypeChanged",
@@ -1047,10 +1031,37 @@
1047
1031
  }
1048
1032
  }
1049
1033
  ],
1034
+ "attributes": [
1035
+ {
1036
+ "name": "isCustom",
1037
+ "type": {
1038
+ "text": "boolean"
1039
+ },
1040
+ "default": "false",
1041
+ "fieldName": "isCustom"
1042
+ },
1043
+ {
1044
+ "name": "isArray",
1045
+ "type": {
1046
+ "text": "boolean"
1047
+ },
1048
+ "default": "false",
1049
+ "fieldName": "isArray"
1050
+ },
1051
+ {
1052
+ "name": "arrayDimensions",
1053
+ "type": {
1054
+ "text": "number"
1055
+ },
1056
+ "default": "1",
1057
+ "fieldName": "arrayDimensions"
1058
+ }
1059
+ ],
1050
1060
  "superclass": {
1051
1061
  "name": "LitElement",
1052
1062
  "package": "lit"
1053
1063
  },
1064
+ "tagName": "or-add-attribute-panel",
1054
1065
  "customElement": true
1055
1066
  }
1056
1067
  ],
@@ -1070,6 +1081,14 @@
1070
1081
  "name": "OrAddAttributePanel",
1071
1082
  "module": "src/or-add-attribute-panel.ts"
1072
1083
  }
1084
+ },
1085
+ {
1086
+ "kind": "custom-element-definition",
1087
+ "name": "or-add-attribute-panel",
1088
+ "declaration": {
1089
+ "name": "OrAddAttributePanel",
1090
+ "module": "src/or-add-attribute-panel.ts"
1091
+ }
1073
1092
  }
1074
1093
  ]
1075
1094
  },
@@ -1139,13 +1158,6 @@
1139
1158
  "privacy": "protected",
1140
1159
  "default": "false"
1141
1160
  },
1142
- {
1143
- "kind": "field",
1144
- "name": "styles",
1145
- "privacy": "public",
1146
- "static": true,
1147
- "readonly": true
1148
- },
1149
1161
  {
1150
1162
  "kind": "method",
1151
1163
  "name": "attributeUpdated",
@@ -1159,28 +1171,6 @@
1159
1171
  }
1160
1172
  ]
1161
1173
  },
1162
- {
1163
- "kind": "method",
1164
- "name": "shouldUpdate",
1165
- "return": {
1166
- "type": {
1167
- "text": "boolean"
1168
- }
1169
- },
1170
- "parameters": [
1171
- {
1172
- "name": "changedProperties",
1173
- "type": {
1174
- "text": "PropertyValues"
1175
- }
1176
- }
1177
- ]
1178
- },
1179
- {
1180
- "kind": "method",
1181
- "name": "render",
1182
- "privacy": "protected"
1183
- },
1184
1174
  {
1185
1175
  "kind": "method",
1186
1176
  "name": "_getAttributeTemplate",
@@ -1323,6 +1313,7 @@
1323
1313
  "name": "LitElement",
1324
1314
  "package": "lit"
1325
1315
  },
1316
+ "tagName": "or-edit-asset-panel",
1326
1317
  "customElement": true
1327
1318
  }
1328
1319
  ],
@@ -1342,6 +1333,14 @@
1342
1333
  "name": "OrEditAssetPanel",
1343
1334
  "module": "src/or-edit-asset-panel.ts"
1344
1335
  }
1336
+ },
1337
+ {
1338
+ "kind": "custom-element-definition",
1339
+ "name": "or-edit-asset-panel",
1340
+ "declaration": {
1341
+ "name": "OrEditAssetPanel",
1342
+ "module": "src/or-edit-asset-panel.ts"
1343
+ }
1345
1344
  }
1346
1345
  ]
1347
1346
  },