@vcmap/ui 6.1.14 → 6.2.0-rc.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.
Files changed (307) hide show
  1. package/build/build.js +54 -9
  2. package/build/buildHelpers.js +2 -3
  3. package/build/buildTypes.js +1 -1
  4. package/build/commonViteConfig.js +0 -1
  5. package/build/lintTypes.js +1 -1
  6. package/config/dev.config.json +33 -19
  7. package/config/pano.config.json +420 -0
  8. package/config/projects.config.json +5 -0
  9. package/dist/assets/cesium/Workers/{chunk-P6TRGU3S.js → chunk-2PFJ45KC.js} +2 -2
  10. package/dist/assets/cesium/Workers/{chunk-7ZZ5LMZY.js → chunk-35ALNMG5.js} +15 -15
  11. package/dist/assets/cesium/Workers/{chunk-7YIOHQWH.js → chunk-35EJBV7X.js} +13 -13
  12. package/dist/assets/cesium/Workers/{chunk-EJVGYGLF.js → chunk-3E3OH65K.js} +7 -7
  13. package/dist/assets/cesium/Workers/{chunk-JBSKHTNX.js → chunk-4FHUY275.js} +4 -4
  14. package/dist/assets/cesium/Workers/{chunk-Z2QP3CXW.js → chunk-565T3GIE.js} +2 -2
  15. package/dist/assets/cesium/Workers/{chunk-IZGUQO6Q.js → chunk-5LGDCKCZ.js} +13 -13
  16. package/dist/assets/cesium/Workers/{chunk-3IFRSGEY.js → chunk-6JXJYBWN.js} +9 -9
  17. package/dist/assets/cesium/Workers/{chunk-WGDFYAGC.js → chunk-6RAEC3AW.js} +4 -4
  18. package/dist/assets/cesium/Workers/{chunk-44QAAS4P.js → chunk-6Z67VIOY.js} +7 -7
  19. package/dist/assets/cesium/Workers/{chunk-NGZJIN5Z.js → chunk-ADDGROZ6.js} +4 -4
  20. package/dist/assets/cesium/Workers/{chunk-GBT7MJ6X.js → chunk-ASYGMBRG.js} +1 -1
  21. package/dist/assets/cesium/Workers/{chunk-C4WPMOKT.js → chunk-BABDQOWA.js} +5 -5
  22. package/dist/assets/cesium/Workers/{chunk-IBRIWOCM.js → chunk-BQHHGIFB.js} +13 -13
  23. package/dist/assets/cesium/Workers/{chunk-LLAF3CPH.js → chunk-C33B4KHN.js} +2 -2
  24. package/dist/assets/cesium/Workers/{chunk-JXVLNVXC.js → chunk-CMCR2ZK4.js} +7 -7
  25. package/dist/assets/cesium/Workers/{chunk-3HQMMUPU.js → chunk-EGGJIATZ.js} +1 -1
  26. package/dist/assets/cesium/Workers/{chunk-RJM36CNY.js → chunk-EWS5LXAB.js} +6 -6
  27. package/dist/assets/cesium/Workers/{chunk-OPP2SKMA.js → chunk-FDXPBTSX.js} +12 -12
  28. package/dist/assets/cesium/Workers/{chunk-QN6TBED4.js → chunk-FIFQP4YX.js} +11 -11
  29. package/dist/assets/cesium/Workers/{chunk-JISPSEF3.js → chunk-HOGDZ2EB.js} +4 -4
  30. package/dist/assets/cesium/Workers/{chunk-2PTKXHJB.js → chunk-I4NB77NH.js} +10 -10
  31. package/dist/assets/cesium/Workers/{chunk-QQOZO7KO.js → chunk-JX4A2BCF.js} +7 -7
  32. package/dist/assets/cesium/Workers/{chunk-XIUSRWL6.js → chunk-K6PDUSH6.js} +5 -5
  33. package/dist/assets/cesium/Workers/{chunk-KHZNBFOH.js → chunk-KFHZFU5O.js} +7 -7
  34. package/dist/assets/cesium/Workers/{chunk-U5HSOKPQ.js → chunk-KYGXRFA6.js} +1 -1
  35. package/dist/assets/cesium/Workers/{chunk-56EDBCGT.js → chunk-LNWNAP2C.js} +10 -10
  36. package/dist/assets/cesium/Workers/{chunk-YCDZX5LS.js → chunk-LWN2B3KW.js} +1 -1
  37. package/dist/assets/cesium/Workers/{chunk-TI3TRKIC.js → chunk-LXLABO2L.js} +10 -10
  38. package/dist/assets/cesium/Workers/{chunk-C3EQ27WF.js → chunk-MB6B2UUL.js} +6 -6
  39. package/dist/assets/cesium/Workers/{chunk-57H6I3SV.js → chunk-MZSRINXK.js} +5 -5
  40. package/dist/assets/cesium/Workers/{chunk-ZVUUPJEM.js → chunk-NBI3GZSK.js} +17 -17
  41. package/dist/assets/cesium/Workers/{chunk-O72GZTSE.js → chunk-NUAXNUP5.js} +2 -2
  42. package/dist/assets/cesium/Workers/{chunk-M24KHENR.js → chunk-PNZR4RLL.js} +2 -2
  43. package/dist/assets/cesium/Workers/{chunk-HJMNR3GC.js → chunk-Q4K22DSJ.js} +11 -11
  44. package/dist/assets/cesium/Workers/{chunk-2LOWCAMW.js → chunk-Q4OS4EFN.js} +13 -13
  45. package/dist/assets/cesium/Workers/{chunk-TK5IIG2F.js → chunk-QLIMO7TQ.js} +4 -4
  46. package/dist/assets/cesium/Workers/{chunk-EDLRS3AW.js → chunk-RQ4F6YFU.js} +6 -6
  47. package/dist/assets/cesium/Workers/{chunk-JSQJDZI4.js → chunk-SB67D3JL.js} +6 -6
  48. package/dist/assets/cesium/Workers/{chunk-RTJKHZWU.js → chunk-SS6WRJ5J.js} +6 -6
  49. package/dist/assets/cesium/Workers/{chunk-L5GODJAR.js → chunk-TC4NTWIJ.js} +14 -14
  50. package/dist/assets/cesium/Workers/{chunk-IZJ42N4W.js → chunk-TKNA6WSZ.js} +17 -17
  51. package/dist/assets/cesium/Workers/{chunk-HP5XLODI.js → chunk-VQYEP77L.js} +6 -6
  52. package/dist/assets/cesium/Workers/{chunk-YSIJTJ7N.js → chunk-WKS5H3VW.js} +5 -5
  53. package/dist/assets/cesium/Workers/{chunk-XWOUPGUF.js → chunk-WPGX7DEA.js} +1 -1
  54. package/dist/assets/cesium/Workers/{chunk-6SQMLVGV.js → chunk-X3EPFVG3.js} +7 -7
  55. package/dist/assets/cesium/Workers/{chunk-NDDI2LWR.js → chunk-XH7MSR3A.js} +6 -6
  56. package/dist/assets/cesium/Workers/{chunk-FFLMY4TE.js → chunk-YDEBBUNQ.js} +5 -5
  57. package/dist/assets/cesium/Workers/{chunk-YK3QIKY7.js → chunk-YSVI7YNN.js} +9 -9
  58. package/dist/assets/cesium/Workers/{chunk-BVKITG4N.js → chunk-YVAS5WPH.js} +7 -7
  59. package/dist/assets/cesium/Workers/{chunk-X7IQYYHF.js → chunk-Z4QVAZM6.js} +2 -2
  60. package/dist/assets/cesium/Workers/{chunk-LJ2JQHJT.js → chunk-ZXOK77EW.js} +7 -7
  61. package/dist/assets/cesium/Workers/combineGeometry.js +22 -22
  62. package/dist/assets/cesium/Workers/createBoxGeometry.js +16 -16
  63. package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +14 -14
  64. package/dist/assets/cesium/Workers/createCircleGeometry.js +24 -24
  65. package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +17 -17
  66. package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +31 -31
  67. package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +29 -29
  68. package/dist/assets/cesium/Workers/createCorridorGeometry.js +27 -27
  69. package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +26 -26
  70. package/dist/assets/cesium/Workers/createCylinderGeometry.js +18 -18
  71. package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +16 -16
  72. package/dist/assets/cesium/Workers/createEllipseGeometry.js +24 -24
  73. package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +17 -17
  74. package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +17 -17
  75. package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +16 -16
  76. package/dist/assets/cesium/Workers/createFrustumGeometry.js +16 -16
  77. package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +16 -16
  78. package/dist/assets/cesium/Workers/createGeometry.js +22 -22
  79. package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +20 -20
  80. package/dist/assets/cesium/Workers/createPlaneGeometry.js +14 -14
  81. package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +13 -13
  82. package/dist/assets/cesium/Workers/createPolygonGeometry.js +30 -30
  83. package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +28 -28
  84. package/dist/assets/cesium/Workers/createPolylineGeometry.js +23 -23
  85. package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +29 -29
  86. package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +25 -25
  87. package/dist/assets/cesium/Workers/createRectangleGeometry.js +25 -25
  88. package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +18 -18
  89. package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +21 -21
  90. package/dist/assets/cesium/Workers/createSphereGeometry.js +17 -17
  91. package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +16 -16
  92. package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +3 -3
  93. package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +13 -13
  94. package/dist/assets/cesium/Workers/createVectorTileGeometries.js +22 -22
  95. package/dist/assets/cesium/Workers/createVectorTilePoints.js +12 -12
  96. package/dist/assets/cesium/Workers/createVectorTilePolygons.js +20 -20
  97. package/dist/assets/cesium/Workers/createVectorTilePolylines.js +13 -13
  98. package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +20 -20
  99. package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +20 -20
  100. package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +17 -17
  101. package/dist/assets/cesium/Workers/createWallGeometry.js +22 -22
  102. package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +21 -21
  103. package/dist/assets/cesium/Workers/decodeDraco.js +11 -11
  104. package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +5 -5
  105. package/dist/assets/cesium/Workers/decodeI3S.js +10 -10
  106. package/dist/assets/cesium/Workers/transcodeKTX2.js +7 -7
  107. package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
  108. package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +20 -20
  109. package/dist/assets/{cesium-b99cf74c.js → cesium-8dd00805.js} +44609 -44606
  110. package/dist/assets/cesium.js +1 -1
  111. package/dist/assets/core-6b5c0363.js +34173 -0
  112. package/dist/assets/core-workers/panoramaImageWorker.js +1 -0
  113. package/dist/assets/core-workers/panoramaImageWorker.js-0ce7d2f3.js +34 -0
  114. package/dist/assets/core.js +1 -1
  115. package/dist/assets/ol.js +1 -1
  116. package/dist/assets/start.js +3 -1
  117. package/dist/assets/ui-aadb7707.css +1 -0
  118. package/dist/assets/{ui-1f833d5c.js → ui-aadb7707.js} +12940 -12232
  119. package/dist/assets/ui.js +1 -1
  120. package/dist/assets/vue.js +1 -1
  121. package/dist/assets/{vuetify-30b1b4a7.js → vuetify-533fb61b.js} +1 -1
  122. package/dist/assets/vuetify.js +1 -1
  123. package/index.d.ts +12 -0
  124. package/index.js +9 -0
  125. package/package.json +7 -49
  126. package/plugins/@vcmap-show-case/category-tester/src/CategoriesExample.vue +2 -3
  127. package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +0 -1
  128. package/plugins/@vcmap-show-case/form-inputs-example/src/index.js +3 -3
  129. package/plugins/@vcmap-show-case/hello-world/src/helloWorld.vue +6 -6
  130. package/plugins/@vcmap-show-case/hello-world/src/index.js +0 -6
  131. package/plugins/@vcmap-show-case/hello-world/tests/helloWorld.spec.js +1 -1
  132. package/plugins/@vcmap-show-case/panel-tester/src/IframePanelExample.vue +1 -1
  133. package/plugins/@vcmap-show-case/panel-tester/src/ImgPanelExample.vue +1 -1
  134. package/plugins/@vcmap-show-case/panel-tester/src/PanelExample.vue +1 -1
  135. package/plugins/@vcmap-show-case/panel-tester/src/TextPanelExample.vue +1 -1
  136. package/plugins/@vcmap-show-case/panorama-inspector/package.json +10 -0
  137. package/plugins/@vcmap-show-case/panorama-inspector/src/PanoramaDebugInfo.vue +86 -0
  138. package/plugins/@vcmap-show-case/panorama-inspector/src/PanoramaDebugTools.vue +259 -0
  139. package/plugins/@vcmap-show-case/panorama-inspector/src/PanoramaInspector.vue +31 -0
  140. package/plugins/@vcmap-show-case/panorama-inspector/src/api.js +161 -0
  141. package/plugins/@vcmap-show-case/panorama-inspector/src/index.js +57 -0
  142. package/plugins/@vcmap-show-case/panorama-inspector/src/showClickInteraction.js +20 -0
  143. package/plugins/@vcmap-show-case/project-selector/src/ModulesListComponent.vue +1 -0
  144. package/plugins/@vcmap-show-case/toolbox-example/src/TriStateExampleWindow.vue +1 -1
  145. package/plugins/@vcmap-show-case/window-tester/src/EmptyComponent.vue +5 -5
  146. package/plugins/@vcmap-show-case/window-tester/src/MyCustomHeader.vue +1 -0
  147. package/plugins/@vcmap-show-case/window-tester/src/WindowExample.vue +1 -1
  148. package/plugins/@vcmap-show-case/window-tester/src/WindowExampleContent.vue +1 -1
  149. package/plugins/@vcmap-show-case/window-tester/src/WindowExampleToggleChild.vue +1 -1
  150. package/src/actions/actionHelper.js +138 -26
  151. package/src/application/MapsGroupMobileMenu.vue +6 -5
  152. package/src/application/MapsGroupMobileMenu.vue.d.ts +3 -1
  153. package/src/application/VcsApp.vue +47 -46
  154. package/src/application/VcsApp.vue.d.ts +23 -45
  155. package/src/application/VcsAppWrapper.vue +4 -4
  156. package/src/application/VcsAttributions.vue +12 -12
  157. package/src/application/VcsAttributionsFooter.vue +27 -27
  158. package/src/application/VcsContainer.vue +50 -51
  159. package/src/application/VcsContainer.vue.d.ts +18 -2
  160. package/src/application/VcsMainMap.vue +2 -2
  161. package/src/application/VcsMap.vue +16 -16
  162. package/src/application/VcsNavbar.vue +19 -16
  163. package/src/application/VcsNavbarMobile.vue +15 -15
  164. package/src/application/VcsObliqueFooter.vue +10 -9
  165. package/src/application/VcsPositionDisplay.vue +8 -8
  166. package/src/application/VcsTextPage.vue +10 -10
  167. package/src/application/VcsTextPageFooter.vue +9 -9
  168. package/src/application/uiConfigHelper.d.ts +6 -0
  169. package/src/application/uiConfigHelper.js +19 -0
  170. package/src/callback/activateMapCallback.d.ts +30 -0
  171. package/src/callback/activateMapCallback.js +63 -0
  172. package/src/callback/activateOverviewMapCallback.d.ts +7 -0
  173. package/src/callback/activateOverviewMapCallback.js +26 -0
  174. package/src/callback/deactivateOverviewMapCallback.d.ts +7 -0
  175. package/src/callback/deactivateOverviewMapCallback.js +20 -0
  176. package/src/callback/stopRotationCallback.js +0 -1
  177. package/src/callback/toggleToolbarButtonCallback.d.ts +48 -0
  178. package/src/callback/toggleToolbarButtonCallback.js +115 -0
  179. package/src/components/attrsHelpers.js +1 -1
  180. package/src/components/buttons/VcsActionButtonList.vue +5 -5
  181. package/src/components/buttons/VcsButton.vue +26 -26
  182. package/src/components/buttons/VcsFormButton.vue +31 -31
  183. package/src/components/buttons/VcsToolButton.vue +29 -29
  184. package/src/components/extent/VcsExtent.vue +1 -1
  185. package/src/components/extent/VcsExtentEditor.vue +1 -1
  186. package/src/components/flight/VcsFlightAnchorsComponent.vue +2 -2
  187. package/src/components/flight/VcsFlightAnchorsComponent.vue.d.ts +1 -4
  188. package/src/components/flight/VcsFlightEditor.vue +1 -0
  189. package/src/components/flight/VcsFlightEditor.vue.d.ts +4 -2
  190. package/src/components/flight/VcsFlightPlayer.vue +1 -1
  191. package/src/components/form-inputs-controls/VcsCheckbox.vue +23 -23
  192. package/src/components/form-inputs-controls/VcsChipArrayInput.vue +20 -20
  193. package/src/components/form-inputs-controls/VcsCoordinate.vue +3 -3
  194. package/src/components/form-inputs-controls/VcsDatePicker.vue +7 -7
  195. package/src/components/form-inputs-controls/VcsFileInput.vue +14 -14
  196. package/src/components/form-inputs-controls/VcsLabel.vue +26 -26
  197. package/src/components/form-inputs-controls/VcsRadio.vue +27 -27
  198. package/src/components/form-inputs-controls/VcsSelect.vue +78 -78
  199. package/src/components/form-inputs-controls/VcsSlider.vue +43 -43
  200. package/src/components/form-inputs-controls/VcsTextArea.vue +47 -47
  201. package/src/components/form-inputs-controls/VcsTextField.vue +4 -4
  202. package/src/components/form-inputs-controls/VcsWizard.vue +4 -4
  203. package/src/components/form-output/VcsFormattedNumber.vue +11 -11
  204. package/src/components/form-output/VcsMarkdown.vue +23 -22
  205. package/src/components/form-output/markdownHelper.js +1 -1
  206. package/src/components/import/VcsImportComponent.vue +1 -0
  207. package/src/components/import/VcsImportComponent.vue.d.ts +4 -2
  208. package/src/components/lists/VcsActionList.vue +14 -14
  209. package/src/components/lists/VcsGroupedList.vue +10 -2
  210. package/src/components/lists/VcsList.vue +24 -20
  211. package/src/components/lists/VcsList.vue.d.ts +4 -6
  212. package/src/components/lists/VcsListItemComponent.vue +28 -8
  213. package/src/components/lists/VcsTreeNode.vue +141 -38
  214. package/src/components/lists/VcsTreeview.vue +65 -23
  215. package/src/components/lists/VcsTreeview.vue.d.ts +34 -9
  216. package/src/components/lists/VcsTreeviewSearchbar.vue +50 -50
  217. package/src/components/lists/VcsTreeviewTitle.vue +13 -13
  218. package/src/components/lists/dragHelper.d.ts +118 -0
  219. package/src/components/lists/dragHelper.js +325 -0
  220. package/src/components/lists/listHelper.d.ts +3 -2
  221. package/src/components/lists/listHelper.js +8 -1
  222. package/src/components/notification/VcsBadge.vue +12 -12
  223. package/src/components/notification/VcsHelp.vue +9 -9
  224. package/src/components/notification/VcsHelpTooltip.vue +1 -1
  225. package/src/components/plugins/AbstractWorkspaceItemCreator.vue +104 -0
  226. package/src/components/plugins/AbstractWorkspaceItemCreator.vue.d.ts +82 -0
  227. package/src/components/section/VcsExpansionPanel.vue +13 -3
  228. package/src/components/style/StyleMenuWrapper.vue +1 -1
  229. package/src/components/tables/VcsDataTable.vue +3 -2
  230. package/src/components/tables/VcsDataTable.vue.d.ts +4 -2
  231. package/src/components/vector-properties/VcsFeatureEditingWindow.vue +1 -1
  232. package/src/components/vector-properties/VcsFeatureTransforms.vue +1 -1
  233. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +1 -1
  234. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +1 -1
  235. package/src/components/viewpoint/VcsViewpointEditor.vue +1 -0
  236. package/src/components/viewpoint/VcsViewpointEditor.vue.d.ts +4 -2
  237. package/src/contentTree/LayerSwap.vue +158 -0
  238. package/src/contentTree/LayerSwap.vue.d.ts +27 -0
  239. package/src/contentTree/LayerTree.vue +53 -3
  240. package/src/contentTree/LayerTree.vue.d.ts +3 -0
  241. package/src/contentTree/contentTreeCollection.js +0 -1
  242. package/src/featureInfo/featureInfo.js +1 -4
  243. package/src/featureInfo/iframeWmsFeatureInfoView.d.ts +10 -0
  244. package/src/featureInfo/iframeWmsFeatureInfoView.js +42 -0
  245. package/src/i18n/de.d.ts +67 -55
  246. package/src/i18n/de.js +8 -0
  247. package/src/i18n/en.d.ts +67 -55
  248. package/src/i18n/en.js +8 -0
  249. package/src/init.js +1 -1
  250. package/src/legend/VcsLegend.vue +5 -1
  251. package/src/manager/collectionManager/CollectionComponent.vue +1 -1
  252. package/src/manager/collectionManager/CollectionComponentContent.vue +2 -2
  253. package/src/manager/collectionManager/CollectionComponentContent.vue.d.ts +1 -4
  254. package/src/manager/collectionManager/CollectionComponentList.vue +14 -13
  255. package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +3 -7
  256. package/src/manager/collectionManager/CollectionComponentStandalone.vue +2 -2
  257. package/src/manager/collectionManager/CollectionManager.vue +2 -2
  258. package/src/manager/panel/PanelComponent.vue +40 -39
  259. package/src/manager/panel/PanelComponent.vue.d.ts +4 -2
  260. package/src/manager/panel/PanelManagerComponent.vue +13 -13
  261. package/src/manager/panel/PanelManagerComponent.vue.d.ts +4 -2
  262. package/src/manager/panel/panelHelper.js +19 -21
  263. package/src/manager/toolbox/GroupToolboxComponent.vue +9 -8
  264. package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +5 -2
  265. package/src/manager/toolbox/SelectToolboxComponent.vue +9 -8
  266. package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +5 -2
  267. package/src/manager/toolbox/ToolboxManagerComponent.vue +23 -23
  268. package/src/manager/window/WindowComponent.vue +12 -12
  269. package/src/manager/window/WindowComponent.vue.d.ts +7 -4
  270. package/src/manager/window/WindowComponentHeader.vue +24 -24
  271. package/src/manager/window/WindowComponentHeader.vue.d.ts +7 -4
  272. package/src/manager/window/WindowManager.vue +41 -41
  273. package/src/navigation/MapNavCompass.vue +4 -3
  274. package/src/navigation/MapNavCompass.vue.d.ts +4 -2
  275. package/src/navigation/MapNavigation.vue +60 -18
  276. package/src/navigation/MapNavigation.vue.d.ts +1 -0
  277. package/src/navigation/ObliqueRotation.vue +1 -0
  278. package/src/navigation/ObliqueRotation.vue.d.ts +4 -2
  279. package/src/navigation/OrientationToolsButton.vue +1 -1
  280. package/src/navigation/TiltSlider.vue +45 -37
  281. package/src/navigation/TiltSlider.vue.d.ts +20 -0
  282. package/src/navigation/VcsCompass.vue +20 -13
  283. package/src/navigation/VcsCompass.vue.d.ts +6 -2
  284. package/src/navigation/VcsZoomButton.vue +1 -0
  285. package/src/navigation/VcsZoomButton.vue.d.ts +5 -2
  286. package/src/navigation/locatorHelper.js +1 -1
  287. package/src/navigation/overviewMap.d.ts +5 -0
  288. package/src/navigation/overviewMap.js +17 -0
  289. package/src/notifier/NotifierComponent.vue +1 -1
  290. package/src/pluginHelper.js +2 -1
  291. package/src/search/ResultItem.vue +1 -0
  292. package/src/search/ResultsComponent.vue +8 -1
  293. package/src/search/SearchComponent.vue +38 -52
  294. package/src/search/SearchComponent.vue.d.ts +1 -2
  295. package/src/search/markText.js +2 -2
  296. package/src/search/search.d.ts +13 -0
  297. package/src/search/search.js +21 -1
  298. package/src/state.d.ts +12 -1
  299. package/src/state.js +59 -4
  300. package/src/uiConfig.d.ts +39 -3
  301. package/src/uiConfig.js +5 -1
  302. package/src/vcsUiApp.js +20 -0
  303. package/dist/assets/core-74bef978.js +0 -26249
  304. package/dist/assets/ui-1f833d5c.css +0 -1
  305. /package/dist/assets/{ol-82490708.js → ol-f58f403b.js} +0 -0
  306. /package/dist/assets/{vue-76d01dd8.js → vue-d7691a29.js} +0 -0
  307. /package/dist/assets/{vuetify-30b1b4a7.css → vuetify-533fb61b.css} +0 -0
@@ -0,0 +1,259 @@
1
+ <script setup>
2
+ import { inject, onUnmounted, ref, shallowRef, watch } from 'vue';
3
+ import { VcsCheckbox, VcsFormSection, VcsLabel, VcsSlider } from '@vcmap/ui';
4
+ import { Color } from '@vcmap-cesium/engine';
5
+ import {
6
+ VContainer,
7
+ VRow,
8
+ VCol,
9
+ VColorPicker,
10
+ VMenu,
11
+ VCard,
12
+ } from 'vuetify/components';
13
+ import {
14
+ cesiumColorToColor,
15
+ getStringColor,
16
+ PanoramaOverlayMode,
17
+ } from '@vcmap/core';
18
+ import {
19
+ createMapMarkerAction,
20
+ createOsmGlobeAction,
21
+ setupClickedPrimitive,
22
+ } from './api.js';
23
+ import { name } from '../package.json';
24
+
25
+ const app = inject('vcsApp');
26
+ /** @type {import("@vcmap/core").PanoramaMap} */
27
+ const map = app.maps.activeMap; // better be a panorama map;
28
+ const clickedPrimitive = setupClickedPrimitive(
29
+ map,
30
+ app.plugins.getByKey(name).clickedInteraction,
31
+ );
32
+
33
+ const showClickedPosition = ref(false);
34
+ watch(showClickedPosition, (newShowClickedPosition) => {
35
+ clickedPrimitive.show = newShowClickedPosition;
36
+ });
37
+
38
+ const { scene } = map.getCesiumWidget();
39
+ const enableCesiumInteraction = ref(
40
+ scene.screenSpaceCameraController.enableInputs,
41
+ );
42
+
43
+ watch(enableCesiumInteraction, (newEnableCesiumInteraction) => {
44
+ scene.screenSpaceCameraController.enableInputs = newEnableCesiumInteraction;
45
+
46
+ if (!newEnableCesiumInteraction) {
47
+ scene.camera.setView({
48
+ destination: map.currentPanoramaImage.position,
49
+ orientation: map.currentPanoramaImage.orientation,
50
+ });
51
+ }
52
+ });
53
+
54
+ const { action, destroy } = createOsmGlobeAction(app);
55
+ const { action: hideMarker, destroy: destroyMarker } =
56
+ createMapMarkerAction(app);
57
+
58
+ const suspendTileLoading = ref(map.panoramaView.suspendTileLoading);
59
+ watch(suspendTileLoading, (newSuspendTileLoading) => {
60
+ map.panoramaView.suspendTileLoading = newSuspendTileLoading;
61
+ });
62
+
63
+ const opacity = ref(map.panoramaView.tilePrimitiveCollection.opacity);
64
+ watch(opacity, (newOpacity) => {
65
+ map.panoramaView.tilePrimitiveCollection.opacity = newOpacity;
66
+ });
67
+
68
+ const overlayOpacity = ref(
69
+ map.panoramaView.tilePrimitiveCollection.overlayOpacity,
70
+ );
71
+ watch(overlayOpacity, (newOverlayOpacity) => {
72
+ map.panoramaView.tilePrimitiveCollection.overlayOpacity = newOverlayOpacity;
73
+ });
74
+
75
+ const overlayNaNColor = shallowRef(
76
+ getStringColor(
77
+ cesiumColorToColor(
78
+ map.panoramaView.tilePrimitiveCollection.overlayNaNColor,
79
+ ),
80
+ ),
81
+ );
82
+ watch(overlayNaNColor, (newOverlayNaNColor) => {
83
+ map.panoramaView.tilePrimitiveCollection.overlayNaNColor =
84
+ Color.fromCssColorString(newOverlayNaNColor);
85
+ });
86
+
87
+ const cursorColor = shallowRef(
88
+ getStringColor(
89
+ cesiumColorToColor(map.panoramaView.tilePrimitiveCollection.cursorColor),
90
+ ),
91
+ );
92
+ watch(cursorColor, (newCursorColor) => {
93
+ map.panoramaView.tilePrimitiveCollection.cursorColor =
94
+ Color.fromCssColorString(newCursorColor);
95
+ });
96
+
97
+ const showIntensity = ref(
98
+ map.panoramaView.tilePrimitiveCollection.overlay ===
99
+ PanoramaOverlayMode.Intensity,
100
+ );
101
+ const showDepth = ref(
102
+ map.panoramaView.tilePrimitiveCollection.overlay ===
103
+ PanoramaOverlayMode.Depth,
104
+ );
105
+
106
+ watch(showIntensity, (newShowIntensity) => {
107
+ if (newShowIntensity) {
108
+ showDepth.value = false;
109
+ map.panoramaView.tilePrimitiveCollection.overlay =
110
+ PanoramaOverlayMode.Intensity;
111
+ } else if (!showDepth.value) {
112
+ map.panoramaView.tilePrimitiveCollection.overlay =
113
+ PanoramaOverlayMode.None;
114
+ }
115
+ });
116
+
117
+ watch(showDepth, (newShowDepth) => {
118
+ if (newShowDepth) {
119
+ showIntensity.value = false;
120
+ map.panoramaView.tilePrimitiveCollection.overlay =
121
+ PanoramaOverlayMode.Depth;
122
+ } else if (!showIntensity.value) {
123
+ map.panoramaView.tilePrimitiveCollection.overlay =
124
+ PanoramaOverlayMode.None;
125
+ }
126
+ });
127
+
128
+ const showDebug = ref(map.panoramaView.tilePrimitiveCollection.showDebug);
129
+ watch(showDebug, (newShowDebug) => {
130
+ map.panoramaView.tilePrimitiveCollection.showDebug = newShowDebug;
131
+ });
132
+
133
+ onUnmounted(() => {
134
+ clickedPrimitive.destroy();
135
+ destroy();
136
+ destroyMarker();
137
+ map.panoramaView.tilePrimitiveCollection.opacity = 1;
138
+ });
139
+ </script>
140
+
141
+ <template>
142
+ <vcs-form-section
143
+ heading="Tools"
144
+ expandable
145
+ :header-actions="[action, hideMarker]"
146
+ >
147
+ <v-container class="py-0 px-1">
148
+ <v-row no-gutters>
149
+ <v-col>
150
+ <VcsCheckbox label="Show Debug" v-model="showDebug"></VcsCheckbox>
151
+ </v-col>
152
+ </v-row>
153
+ <v-row no-gutters>
154
+ <v-col>
155
+ <VcsCheckbox
156
+ label="Show Intensity"
157
+ v-model="showIntensity"
158
+ ></VcsCheckbox>
159
+ </v-col>
160
+ </v-row>
161
+ <v-row no-gutters>
162
+ <v-col>
163
+ <VcsCheckbox label="Show Depth" v-model="showDepth"></VcsCheckbox>
164
+ </v-col>
165
+ </v-row>
166
+ <template v-if="showDepth || showIntensity">
167
+ <v-row no-gutters>
168
+ <v-col cols="4">
169
+ <vcs-label>Overlay Opacity</vcs-label>
170
+ </v-col>
171
+ <v-col>
172
+ <vcs-slider
173
+ v-model="overlayOpacity"
174
+ :min="0"
175
+ :max="1"
176
+ :step="0.01"
177
+ />
178
+ </v-col>
179
+ </v-row>
180
+ <v-row no-gutters>
181
+ <v-col>
182
+ <vcs-label>Overlay NaN Color</vcs-label>
183
+ </v-col>
184
+ <v-col>
185
+ <v-menu :close-on-content-click="false">
186
+ <template #activator="{ props }">
187
+ <v-card
188
+ rounded
189
+ height="24px"
190
+ width="32px"
191
+ v-bind="props"
192
+ :style="{ backgroundColor: overlayNaNColor }"
193
+ />
194
+ </template>
195
+ <v-color-picker
196
+ v-model="overlayNaNColor"
197
+ mode="rgba"
198
+ width="100%"
199
+ />
200
+ </v-menu>
201
+ </v-col>
202
+ </v-row>
203
+ </template>
204
+ <v-row no-gutters>
205
+ <v-col>
206
+ <vcs-label>Cursor Color</vcs-label>
207
+ </v-col>
208
+ <v-col>
209
+ <v-menu :close-on-content-click="false">
210
+ <template #activator="{ props }">
211
+ <v-card
212
+ rounded
213
+ height="24px"
214
+ width="32px"
215
+ v-bind="props"
216
+ :style="{ backgroundColor: cursorColor }"
217
+ />
218
+ </template>
219
+ <v-color-picker v-model="cursorColor" mode="rgba" width="100%" />
220
+ </v-menu>
221
+ </v-col>
222
+ </v-row>
223
+ <v-row no-gutters>
224
+ <v-col>
225
+ <VcsCheckbox
226
+ label="Enable Cesium Interaction"
227
+ v-model="enableCesiumInteraction"
228
+ ></VcsCheckbox>
229
+ </v-col>
230
+ </v-row>
231
+ <v-row no-gutters>
232
+ <v-col>
233
+ <VcsCheckbox
234
+ label="Show Clicked"
235
+ v-model="showClickedPosition"
236
+ ></VcsCheckbox>
237
+ </v-col>
238
+ </v-row>
239
+ <v-row no-gutters>
240
+ <v-col>
241
+ <VcsCheckbox
242
+ label="Suspend Tile Loading"
243
+ v-model="suspendTileLoading"
244
+ ></VcsCheckbox>
245
+ </v-col>
246
+ </v-row>
247
+ <v-row no-gutters>
248
+ <v-col cols="4">
249
+ <vcs-label>Opacity</vcs-label>
250
+ </v-col>
251
+ <v-col>
252
+ <vcs-slider v-model="opacity" :min="0" :max="1" :step="0.01" />
253
+ </v-col>
254
+ </v-row>
255
+ </v-container>
256
+ </vcs-form-section>
257
+ </template>
258
+
259
+ <style scoped lang="scss"></style>
@@ -0,0 +1,31 @@
1
+ <script setup>
2
+ import { ref, inject, onUnmounted } from 'vue';
3
+ import { PanoramaMap } from '@vcmap/core';
4
+ import { VSheet, VCard } from 'vuetify/components';
5
+ import PanoramaDebugInfo from './PanoramaDebugInfo.vue';
6
+ import PanoramaDebugTools from './PanoramaDebugTools.vue';
7
+
8
+ /** @type {VcsUiApp} */
9
+ const app = inject('vcsApp');
10
+ const isPanorama = ref(app.maps.activeMap instanceof PanoramaMap);
11
+
12
+ const listener = app.maps.mapActivated.addEventListener((map) => {
13
+ isPanorama.value = map instanceof PanoramaMap;
14
+ });
15
+
16
+ onUnmounted(() => {
17
+ listener();
18
+ });
19
+ </script>
20
+
21
+ <template>
22
+ <v-sheet>
23
+ <template v-if="isPanorama">
24
+ <panorama-debug-info />
25
+ <panorama-debug-tools />
26
+ </template>
27
+ <v-card v-else> Switch to panorama map </v-card>
28
+ </v-sheet>
29
+ </template>
30
+
31
+ <style scoped lang="scss"></style>
@@ -0,0 +1,161 @@
1
+ import {
2
+ GeometryInstance,
3
+ Material,
4
+ MaterialAppearance,
5
+ Matrix4,
6
+ Primitive,
7
+ SphereGeometry,
8
+ Color,
9
+ Cartesian3,
10
+ Globe,
11
+ ImageryLayer as CesiumImageryLayer,
12
+ OpenStreetMapImageryProvider,
13
+ } from '@vcmap-cesium/engine';
14
+ import {
15
+ mercatorToCartesian,
16
+ PanoramaMap,
17
+ PanoramaDatasetLayer,
18
+ } from '@vcmap/core';
19
+ import { reactive, ref, computed, watch } from 'vue';
20
+
21
+ /**
22
+ * @typedef {Object} ClickedPrimitive
23
+ * @property {boolean} show
24
+ * @property {Cartesian3} position
25
+ * @property {() => void} destroy
26
+ */
27
+
28
+ /**
29
+ * @param {import("@vcmap/core").PanoramaMap} map
30
+ * @param {ShowClickInteraction} clickedInteraction
31
+ * @returns {ClickedPrimitive}
32
+ */
33
+ export function setupClickedPrimitive(map, clickedInteraction) {
34
+ const position = new Cartesian3();
35
+ const appearance = new MaterialAppearance({
36
+ flat: true,
37
+ material: Material.fromType('Color', { color: Color.ORANGERED }),
38
+ });
39
+ const primitive = new Primitive({
40
+ geometryInstances: [
41
+ new GeometryInstance({
42
+ geometry: new SphereGeometry({
43
+ radius: 0.2,
44
+ }),
45
+ }),
46
+ ],
47
+ appearance,
48
+ depthFailAppearance: new MaterialAppearance({
49
+ translucent: true,
50
+ material: Material.fromType('Color', {
51
+ color: Color.LIMEGREEN.withAlpha(0.6),
52
+ }),
53
+ }),
54
+ asynchronous: false,
55
+ show: false,
56
+ modelMatrix: Matrix4.IDENTITY,
57
+ });
58
+
59
+ map.getCesiumWidget().scene.primitives.add(primitive);
60
+ clickedInteraction.clicked.addEventListener((event) => {
61
+ mercatorToCartesian(event.position, position);
62
+ primitive.modelMatrix = Matrix4.fromTranslation(position);
63
+ });
64
+
65
+ return {
66
+ get show() {
67
+ return primitive.show;
68
+ },
69
+ set show(value) {
70
+ primitive.show = value;
71
+ },
72
+ get position() {
73
+ return position;
74
+ },
75
+ destroy() {
76
+ map.getCesiumWidget().scene.primitives.remove(primitive);
77
+ },
78
+ };
79
+ }
80
+
81
+ /**
82
+ * @param {import("@vcmap/core").VcsApp} app
83
+ * @returns {{ action: import("@vcmap/ui").Action, destroy: () => void }}
84
+ */
85
+ export function createOsmGlobeAction(app) {
86
+ /** @type {import("@vcmap/core").PanoramaMap} */
87
+ const map = app.maps.getByType(PanoramaMap.className)[0];
88
+
89
+ const action = reactive({
90
+ name: 'OSM Globe',
91
+ icon: 'mdi-earth',
92
+ title: 'Open Street Map Globe',
93
+ active: false,
94
+ callback() {
95
+ if (action.active) {
96
+ map.getCesiumWidget().scene.globe = undefined;
97
+ action.active = false;
98
+ } else {
99
+ const { scene } = map.getCesiumWidget();
100
+ scene.globe = new Globe();
101
+ scene.imageryLayers.add(
102
+ new CesiumImageryLayer(
103
+ new OpenStreetMapImageryProvider({ maximumLevel: 18 }),
104
+ ),
105
+ );
106
+ action.active = true;
107
+ }
108
+ },
109
+ });
110
+
111
+ return {
112
+ action,
113
+ destroy: () => {
114
+ if (map.initialized) {
115
+ map.getCesiumWidget().scene.globe = undefined;
116
+ }
117
+ },
118
+ };
119
+ }
120
+
121
+ /**
122
+ * @param {import("@vcmap/core").VcsApp} app
123
+ * @returns {{action: import("@vcmap/ui").VcsAction, destroy(): void}}
124
+ */
125
+ export function createMapMarkerAction(app) {
126
+ const hideFootprint = ref(false);
127
+
128
+ const hideFootprintWatcher = watch(hideFootprint, () => {
129
+ for (const layer of app.layers) {
130
+ if (layer instanceof PanoramaDatasetLayer) {
131
+ layer.hideInPanorama = hideFootprint.value;
132
+ }
133
+ }
134
+ });
135
+
136
+ const layerAdded = app.layers.added.addEventListener((layer) => {
137
+ if (layer instanceof PanoramaDatasetLayer) {
138
+ layer.hideInPanorama = hideFootprint.value;
139
+ }
140
+ });
141
+
142
+ const action = reactive({
143
+ name: 'Hide Footprint',
144
+ icon: computed(() => {
145
+ return hideFootprint.value ? 'mdi-map-marker-off' : 'mdi-map-marker';
146
+ }),
147
+ title: 'Hide Footprint',
148
+ active: computed(() => hideFootprint.value),
149
+ callback() {
150
+ hideFootprint.value = !hideFootprint.value;
151
+ },
152
+ });
153
+
154
+ return {
155
+ action,
156
+ destroy() {
157
+ hideFootprintWatcher();
158
+ layerAdded();
159
+ },
160
+ };
161
+ }
@@ -0,0 +1,57 @@
1
+ import { ButtonLocation, createToggleAction, WindowSlot } from '@vcmap/ui';
2
+ import { name, version, mapVersion } from '../package.json';
3
+ import PanoramaInspector from './PanoramaInspector.vue';
4
+ import ShowClickInteraction from './showClickInteraction.js';
5
+
6
+ export default function panoramaInspector() {
7
+ let destroy;
8
+ let clickedInteraction;
9
+ let removeInteraction;
10
+ let clickedPrimitive;
11
+
12
+ return {
13
+ name,
14
+ version,
15
+ mapVersion,
16
+ get clickedInteraction() {
17
+ return clickedInteraction;
18
+ },
19
+ get clickedPrimitive() {
20
+ return clickedPrimitive;
21
+ },
22
+ async initialize(app) {
23
+ const { action, destroy: destroyAction } = createToggleAction(
24
+ {
25
+ name: 'Panorama Inspector',
26
+ },
27
+ {
28
+ id: 'panorama-inspector',
29
+ state: {
30
+ headerTitle: 'panoramaInspector.title',
31
+ },
32
+ component: PanoramaInspector,
33
+ slot: WindowSlot.DYNAMIC_RIGHT,
34
+ },
35
+ app.windowManager,
36
+ name,
37
+ );
38
+ app.navbarManager.add(
39
+ { id: 'panorama-inspector', action },
40
+ name,
41
+ ButtonLocation.MENU,
42
+ );
43
+ clickedInteraction = new ShowClickInteraction();
44
+ removeInteraction =
45
+ app.maps.eventHandler.addPersistentInteraction(clickedInteraction);
46
+ destroy = destroyAction;
47
+ },
48
+ destroy() {
49
+ destroy?.();
50
+ removeInteraction?.();
51
+ clickedInteraction?.destroy();
52
+ clickedInteraction = undefined;
53
+ clickedPrimitive?.destroy();
54
+ clickedPrimitive = undefined;
55
+ },
56
+ };
57
+ }
@@ -0,0 +1,20 @@
1
+ import { AbstractInteraction, EventType, VcsEvent } from '@vcmap/core';
2
+
3
+ export default class ShowClickInteraction extends AbstractInteraction {
4
+ constructor() {
5
+ super(EventType.CLICK);
6
+
7
+ this.clicked = new VcsEvent();
8
+ }
9
+
10
+ pipe(event) {
11
+ if (
12
+ event.map.className === 'PanoramaMap' &&
13
+ !event.map.getCesiumWidget().scene.screenSpaceCameraController
14
+ .enableInputs
15
+ ) {
16
+ this.clicked.raiseEvent(event);
17
+ }
18
+ return Promise.resolve(event);
19
+ }
20
+ }
@@ -46,6 +46,7 @@
46
46
  default: true,
47
47
  },
48
48
  },
49
+ emits: ['toggle-module'],
49
50
  methods: {
50
51
  toggle(module) {
51
52
  if (this.toggleable) {
@@ -7,7 +7,6 @@
7
7
  </v-sheet>
8
8
  </template>
9
9
 
10
- <style scoped></style>
11
10
  <script>
12
11
  import { VSheet } from 'vuetify/components';
13
12
 
@@ -19,3 +18,4 @@
19
18
  },
20
19
  };
21
20
  </script>
21
+ <style scoped></style>
@@ -3,11 +3,6 @@
3
3
  <span> Static Window </span>
4
4
  </v-sheet>
5
5
  </template>
6
- <style scoped>
7
- .vcsTest span {
8
- background-color: red;
9
- }
10
- </style>
11
6
  <script>
12
7
  import { VSheet } from 'vuetify/components';
13
8
 
@@ -16,3 +11,8 @@
16
11
  components: { VSheet },
17
12
  };
18
13
  </script>
14
+ <style scoped>
15
+ .vcsTest span {
16
+ background-color: red;
17
+ }
18
+ </style>
@@ -20,6 +20,7 @@
20
20
  default: 'MyCustomHeader',
21
21
  },
22
22
  },
23
+ emits: ['close'],
23
24
  setup(props, { emit }) {
24
25
  return {
25
26
  clicked: () => {
@@ -17,7 +17,6 @@
17
17
  >
18
18
  </div>
19
19
  </template>
20
- <style></style>
21
20
  <script>
22
21
  import { inject, onUnmounted, ref, computed } from 'vue';
23
22
  import { getLogger } from '@vcsuite/logger';
@@ -232,3 +231,4 @@
232
231
  },
233
232
  };
234
233
  </script>
234
+ <style></style>
@@ -4,7 +4,6 @@
4
4
  </v-sheet>
5
5
  </template>
6
6
 
7
- <style scoped></style>
8
7
  <script>
9
8
  import { VSheet } from 'vuetify/components';
10
9
 
@@ -16,3 +15,4 @@
16
15
  },
17
16
  };
18
17
  </script>
18
+ <style scoped></style>
@@ -10,7 +10,6 @@
10
10
  </v-container>
11
11
  </template>
12
12
 
13
- <style scoped></style>
14
13
  <script>
15
14
  import { VContainer } from 'vuetify/components';
16
15
  import { VcsFormButton, WindowSlot } from '@vcmap/ui';
@@ -51,3 +50,4 @@
51
50
  },
52
51
  };
53
52
  </script>
53
+ <style scoped></style>