@vcmap/ui 6.0.0-rc.1 → 6.0.0-rc.3

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 (320) hide show
  1. package/build/build.js +40 -60
  2. package/build/buildHelpers.js +2 -8
  3. package/build/info/conf.json +1 -1
  4. package/config/base.config.json +4 -4
  5. package/config/projects.config.json +2 -1
  6. package/config/splashscreen.config.json +45 -0
  7. package/dist/.htaccess +7 -0
  8. package/dist/assets/@mdi/font/README.md +25 -0
  9. package/dist/assets/@mdi/font/css/materialdesignicons.min-7a4f6be0.css +3 -0
  10. package/dist/assets/@mdi/font/css/materialdesignicons.min.css.map +16 -0
  11. package/dist/assets/@mdi/font/fonts/materialdesignicons-webfont.woff2 +0 -0
  12. package/dist/assets/cesium/Assets/approximateTerrainHeights.json +1 -1
  13. package/dist/assets/cesium/ThirdParty/Workers/z-worker-pako.js +1 -1
  14. package/dist/assets/cesium/Workers/{chunk-ZA25DG4Y.js → chunk-3DRPXHZ4.js} +11 -11
  15. package/dist/assets/cesium/Workers/{chunk-OAVNIRB4.js → chunk-3GI7DWF7.js} +5 -7
  16. package/dist/assets/cesium/Workers/{chunk-TFC6TZ3S.js → chunk-4EW3HFFI.js} +33 -22
  17. package/dist/assets/cesium/Workers/{chunk-LLUNNUJV.js → chunk-4OX4RYLB.js} +5 -5
  18. package/dist/assets/cesium/Workers/{chunk-66QLLS45.js → chunk-4RJH3H6D.js} +11 -9
  19. package/dist/assets/cesium/Workers/{chunk-MPAZH4BF.js → chunk-5OUTANXX.js} +1 -1
  20. package/dist/assets/cesium/Workers/{chunk-WXTV4ATB.js → chunk-6DH5PLFD.js} +1 -1
  21. package/dist/assets/cesium/Workers/{chunk-A4JVFBQ3.js → chunk-6DXIYFX3.js} +2 -2
  22. package/dist/assets/cesium/Workers/chunk-A5C2A5O5.js +963 -0
  23. package/dist/assets/cesium/Workers/{chunk-HQF437NJ.js → chunk-AGTH5JMJ.js} +6 -6
  24. package/dist/assets/cesium/Workers/{chunk-RP2A7BR5.js → chunk-AVFIYUKX.js} +12 -14
  25. package/dist/assets/cesium/Workers/{chunk-227AJNOA.js → chunk-BAJAVGUF.js} +5 -5
  26. package/dist/assets/cesium/Workers/{chunk-N3JIFFX2.js → chunk-BPY4HDAK.js} +5 -6
  27. package/dist/assets/cesium/Workers/{chunk-ABADGKYE.js → chunk-D6PDWQXW.js} +2 -2
  28. package/dist/assets/cesium/Workers/{chunk-34YUDLRP.js → chunk-DR7LK6PG.js} +13 -13
  29. package/dist/assets/cesium/Workers/{chunk-OYFCF4PL.js → chunk-DTACCQDR.js} +6 -6
  30. package/dist/assets/cesium/Workers/{chunk-C3SXRKRW.js → chunk-EVU2UNBD.js} +7 -7
  31. package/dist/assets/cesium/Workers/{chunk-6BTKZDRG.js → chunk-F7IEM66T.js} +3 -5
  32. package/dist/assets/cesium/Workers/{chunk-QT3MPEMI.js → chunk-FSXNF76Y.js} +4 -4
  33. package/dist/assets/cesium/Workers/{chunk-PCJWUS4M.js → chunk-FYYT5EVH.js} +830 -14
  34. package/dist/assets/cesium/Workers/{chunk-QMEMZIJI.js → chunk-FZDKIUDT.js} +4 -4
  35. package/dist/assets/cesium/Workers/{chunk-XTY7B2N6.js → chunk-G6346EDR.js} +16 -16
  36. package/dist/assets/cesium/Workers/{chunk-CHHNOC2C.js → chunk-H7PSTL64.js} +95 -155
  37. package/dist/assets/cesium/Workers/{chunk-2R5O53JW.js → chunk-I67V66MN.js} +6 -6
  38. package/dist/assets/cesium/Workers/{chunk-JS3AW5BK.js → chunk-IALQGTA2.js} +6 -6
  39. package/dist/assets/cesium/Workers/{chunk-K36FEYS7.js → chunk-KNMGSIIN.js} +16 -12
  40. package/dist/assets/cesium/Workers/{chunk-J3JY6I2C.js → chunk-L4XQPD6P.js} +49 -88
  41. package/dist/assets/cesium/Workers/{chunk-X4SU25DT.js → chunk-LMTN7R7M.js} +10 -12
  42. package/dist/assets/cesium/Workers/{chunk-JB2LWGH4.js → chunk-LUYI3XCB.js} +14 -14
  43. package/dist/assets/cesium/Workers/{chunk-AFFLIKOH.js → chunk-N5MIFVXJ.js} +7 -7
  44. package/dist/assets/cesium/Workers/{chunk-MYZB7C4T.js → chunk-O7OUBDMZ.js} +10 -10
  45. package/dist/assets/cesium/Workers/{chunk-VLGOATD6.js → chunk-P24I5VUS.js} +22 -22
  46. package/dist/assets/cesium/Workers/{chunk-KD4Y7CZL.js → chunk-PIOKSAZH.js} +15 -17
  47. package/dist/assets/cesium/Workers/{chunk-3W63OHNJ.js → chunk-PRKEY4QK.js} +5 -5
  48. package/dist/assets/cesium/Workers/{chunk-O5AMBQ36.js → chunk-Q7PM4W34.js} +8 -8
  49. package/dist/assets/cesium/Workers/{chunk-GLZBE3ML.js → chunk-QLC66ZRL.js} +13 -13
  50. package/dist/assets/cesium/Workers/{chunk-OZJDGN5F.js → chunk-RRLGJV3Q.js} +16 -16
  51. package/dist/assets/cesium/Workers/{chunk-CCFQRR6D.js → chunk-S2UEXF6T.js} +1 -1
  52. package/dist/assets/cesium/Workers/{chunk-QIKODV5G.js → chunk-S4VTLNAJ.js} +4 -4
  53. package/dist/assets/cesium/Workers/{chunk-EW2GWJYB.js → chunk-SJC5PRDX.js} +2 -2
  54. package/dist/assets/cesium/Workers/{chunk-KTJSNCK4.js → chunk-T6TZXGG5.js} +230 -20
  55. package/dist/assets/cesium/Workers/{chunk-RW6LU2CJ.js → chunk-TLGODPEV.js} +5 -5
  56. package/dist/assets/cesium/Workers/{chunk-CTELOFLA.js → chunk-UC566ISB.js} +6 -6
  57. package/dist/assets/cesium/Workers/{chunk-ZFOBYDGF.js → chunk-UMX265HW.js} +2 -2
  58. package/dist/assets/cesium/Workers/{chunk-Z24VKNDO.js → chunk-V7WJDCPA.js} +12 -12
  59. package/dist/assets/cesium/Workers/{chunk-4MFFIWUA.js → chunk-VD6G7UPU.js} +2 -2
  60. package/dist/assets/cesium/Workers/{chunk-XY7MGBKC.js → chunk-WMVCLETM.js} +14 -16
  61. package/dist/assets/cesium/Workers/{chunk-IPA4EACJ.js → chunk-WOA6WSHH.js} +12 -12
  62. package/dist/assets/cesium/Workers/{chunk-PFQBCKBM.js → chunk-X67EJ6X6.js} +4398 -2722
  63. package/dist/assets/cesium/Workers/{chunk-V3NGATMV.js → chunk-XGI4FRXF.js} +11 -13
  64. package/dist/assets/cesium/Workers/{chunk-AHKEZ2OE.js → chunk-YFVI4SQI.js} +1 -1
  65. package/dist/assets/cesium/Workers/{chunk-HARLBUOL.js → chunk-YFYPR4MW.js} +11 -8
  66. package/dist/assets/cesium/Workers/combineGeometry.js +22 -23
  67. package/dist/assets/cesium/Workers/createBoxGeometry.js +16 -17
  68. package/dist/assets/cesium/Workers/createBoxOutlineGeometry.js +14 -15
  69. package/dist/assets/cesium/Workers/createCircleGeometry.js +29 -26
  70. package/dist/assets/cesium/Workers/createCircleOutlineGeometry.js +17 -18
  71. package/dist/assets/cesium/Workers/createCoplanarPolygonGeometry.js +35 -36
  72. package/dist/assets/cesium/Workers/createCoplanarPolygonOutlineGeometry.js +29 -30
  73. package/dist/assets/cesium/Workers/createCorridorGeometry.js +29 -30
  74. package/dist/assets/cesium/Workers/createCorridorOutlineGeometry.js +27 -28
  75. package/dist/assets/cesium/Workers/createCylinderGeometry.js +18 -19
  76. package/dist/assets/cesium/Workers/createCylinderOutlineGeometry.js +17 -19
  77. package/dist/assets/cesium/Workers/createEllipseGeometry.js +24 -25
  78. package/dist/assets/cesium/Workers/createEllipseOutlineGeometry.js +17 -18
  79. package/dist/assets/cesium/Workers/createEllipsoidGeometry.js +17 -18
  80. package/dist/assets/cesium/Workers/createEllipsoidOutlineGeometry.js +16 -17
  81. package/dist/assets/cesium/Workers/createFrustumGeometry.js +16 -17
  82. package/dist/assets/cesium/Workers/createFrustumOutlineGeometry.js +18 -18
  83. package/dist/assets/cesium/Workers/createGeometry.js +52 -33
  84. package/dist/assets/cesium/Workers/createGroundPolylineGeometry.js +28 -29
  85. package/dist/assets/cesium/Workers/createPlaneGeometry.js +14 -15
  86. package/dist/assets/cesium/Workers/createPlaneOutlineGeometry.js +13 -14
  87. package/dist/assets/cesium/Workers/createPolygonGeometry.js +451 -176
  88. package/dist/assets/cesium/Workers/createPolygonOutlineGeometry.js +29 -30
  89. package/dist/assets/cesium/Workers/createPolylineGeometry.js +24 -25
  90. package/dist/assets/cesium/Workers/createPolylineVolumeGeometry.js +31 -33
  91. package/dist/assets/cesium/Workers/createPolylineVolumeOutlineGeometry.js +27 -29
  92. package/dist/assets/cesium/Workers/createRectangleGeometry.js +30 -31
  93. package/dist/assets/cesium/Workers/createRectangleOutlineGeometry.js +21 -24
  94. package/dist/assets/cesium/Workers/createSimplePolylineGeometry.js +22 -23
  95. package/dist/assets/cesium/Workers/createSphereGeometry.js +17 -18
  96. package/dist/assets/cesium/Workers/createSphereOutlineGeometry.js +16 -17
  97. package/dist/assets/cesium/Workers/createTaskProcessorWorker.js +3 -3
  98. package/dist/assets/cesium/Workers/createVectorTileClampedPolylines.js +14 -16
  99. package/dist/assets/cesium/Workers/createVectorTileGeometries.js +22 -23
  100. package/dist/assets/cesium/Workers/createVectorTilePoints.js +12 -12
  101. package/dist/assets/cesium/Workers/createVectorTilePolygons.js +20 -21
  102. package/dist/assets/cesium/Workers/createVectorTilePolylines.js +14 -16
  103. package/dist/assets/cesium/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +24 -25
  104. package/dist/assets/cesium/Workers/createVerticesFromHeightmap.js +25 -26
  105. package/dist/assets/cesium/Workers/createVerticesFromQuantizedTerrainMesh.js +19 -21
  106. package/dist/assets/cesium/Workers/createWallGeometry.js +23 -24
  107. package/dist/assets/cesium/Workers/createWallOutlineGeometry.js +22 -23
  108. package/dist/assets/cesium/Workers/decodeDraco.js +11 -11
  109. package/dist/assets/cesium/Workers/decodeGoogleEarthEnterprisePacket.js +12 -19
  110. package/dist/assets/cesium/Workers/decodeI3S.js +600 -92
  111. package/dist/assets/cesium/Workers/transcodeKTX2.js +46 -82
  112. package/dist/assets/cesium/Workers/transferTypedArrayTest.js +1 -1
  113. package/dist/assets/cesium/Workers/upsampleQuantizedTerrainMesh.js +21 -22
  114. package/dist/assets/{cesium.6b12b4.js → cesium-cb4dbfba.js} +151166 -145641
  115. package/dist/assets/cesium.js +1 -1
  116. package/dist/assets/{core.074b78.js → core-72f21835.js} +2299 -2225
  117. package/dist/assets/core.js +1 -1
  118. package/dist/assets/{ol.8b2e3a.js → ol-2d33bc8b.js} +42505 -44282
  119. package/dist/assets/ol.js +1 -1
  120. package/dist/assets/ui-2ab43a16.css +1 -0
  121. package/dist/assets/{ui.715986.js → ui-2ab43a16.js} +12001 -11136
  122. package/dist/assets/ui.js +1 -1
  123. package/dist/assets/vue.js +1 -1
  124. package/dist/assets/{vuetify.28d881.css → vuetify-760ced3b.css} +1 -1
  125. package/dist/assets/{vuetify.28d881.js → vuetify-760ced3b.js} +5720 -5662
  126. package/dist/assets/vuetify.js +1 -1
  127. package/dist/index.html +11 -10
  128. package/index.d.ts +9 -5
  129. package/index.html +5 -5
  130. package/index.js +4 -3
  131. package/lib/olLib.js +84 -23
  132. package/package.json +10 -9
  133. package/plugins/@vcmap-show-case/flight-component-example/src/FlightExample.vue +41 -1
  134. package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +70 -30
  135. package/plugins/@vcmap-show-case/form-inputs-example/src/exampleActions.js +7 -11
  136. package/plugins/@vcmap-show-case/form-inputs-example/src/index.js +2 -2
  137. package/plugins/@vcmap-show-case/list-example/src/ListExample.vue +45 -94
  138. package/plugins/@vcmap-show-case/style-input-example/src/StyleExample.vue +29 -90
  139. package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +35 -10
  140. package/plugins/@vcmap-show-case/wizard-example/src/WizardExample.vue +40 -54
  141. package/public/assets/@mdi/font/README.md +25 -0
  142. package/public/assets/@mdi/font/css/materialdesignicons.min.css +2 -2
  143. package/public/assets/@mdi/font/css/materialdesignicons.min.css.map +16 -0
  144. package/public/assets/@mdi/font/fonts/materialdesignicons-webfont.woff2 +0 -0
  145. package/src/actions/actionHelper.js +20 -20
  146. package/src/actions/flightActions.js +5 -5
  147. package/src/actions/listActions.d.ts +0 -7
  148. package/src/actions/listActions.js +4 -20
  149. package/src/actions/stateRefAction.js +2 -2
  150. package/src/application/VcsApp.vue +53 -29
  151. package/src/application/VcsApp.vue.d.ts +1 -0
  152. package/src/application/VcsAttributions.vue +2 -13
  153. package/src/application/VcsAttributionsFooter.vue +10 -11
  154. package/src/application/VcsNavbar.vue.d.ts +1 -1
  155. package/src/application/VcsPositionDisplay.vue +8 -23
  156. package/src/application/VcsPositionDisplay.vue.d.ts +0 -1
  157. package/src/application/VcsSettings.vue +10 -17
  158. package/src/application/VcsSplashScreen.vue +34 -54
  159. package/src/application/VcsSplashScreen.vue.d.ts +4 -6
  160. package/src/application/VcsTextPage.vue +13 -44
  161. package/src/application/VcsTextPage.vue.d.ts +4 -8
  162. package/src/application/VcsTextPageFooter.vue +22 -40
  163. package/src/application/markdownHelper.js +2 -17
  164. package/src/components/buttons/VcsButton.vue +1 -1
  165. package/src/components/buttons/VcsButton.vue.d.ts +3 -3
  166. package/src/components/buttons/VcsFormButton.vue +1 -1
  167. package/src/components/buttons/VcsFormButton.vue.d.ts +2 -2
  168. package/src/components/buttons/VcsToolButton.vue +1 -1
  169. package/src/components/buttons/VcsToolButton.vue.d.ts +4 -4
  170. package/src/components/composables.d.ts +7 -0
  171. package/src/components/composables.js +35 -1
  172. package/src/components/extent/VcsExtentEditor.vue +1 -1
  173. package/src/components/flight/VcsFlightAnchorsComponent.vue +63 -36
  174. package/src/components/flight/VcsFlightComponent.vue +16 -21
  175. package/src/components/flight/VcsFlightPlayer.vue +27 -5
  176. package/src/components/form-inputs-controls/VcsCheckbox.vue +19 -11
  177. package/src/components/form-inputs-controls/VcsCheckbox.vue.d.ts +1 -0
  178. package/src/components/form-inputs-controls/VcsChipArrayInput.vue +1 -1
  179. package/src/components/form-inputs-controls/VcsCoordinate.vue +13 -1
  180. package/src/components/form-inputs-controls/VcsCoordinate.vue.d.ts +5 -2
  181. package/src/components/form-inputs-controls/VcsDatePicker.vue +34 -60
  182. package/src/components/form-inputs-controls/VcsDatePicker.vue.d.ts +2 -64
  183. package/src/components/form-inputs-controls/VcsFileInput.vue +18 -19
  184. package/src/components/form-inputs-controls/VcsFileInput.vue.d.ts +1 -0
  185. package/src/components/form-inputs-controls/VcsLabel.vue +31 -1
  186. package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +21 -1
  187. package/src/components/form-inputs-controls/VcsRadio.vue +19 -5
  188. package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +1 -0
  189. package/src/components/form-inputs-controls/VcsSelect.vue +44 -41
  190. package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +7 -4
  191. package/src/components/form-inputs-controls/VcsSlider.vue +49 -10
  192. package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +28 -2
  193. package/src/components/form-inputs-controls/VcsTextArea.vue +54 -35
  194. package/src/components/form-inputs-controls/VcsTextArea.vue.d.ts +1 -0
  195. package/src/components/form-inputs-controls/VcsTextField.vue +21 -14
  196. package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +1 -0
  197. package/src/components/form-inputs-controls/VcsWizard.vue +89 -112
  198. package/src/components/form-inputs-controls/VcsWizard.vue.d.ts +3 -13
  199. package/src/components/form-inputs-controls/VcsWizardStep.vue +75 -57
  200. package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +24 -11
  201. package/src/components/form-inputs-controls/vcsTextField.scss +13 -8
  202. package/src/components/form-output/VcsFormattedNumber.vue +40 -10
  203. package/src/components/form-output/VcsFormattedNumber.vue.d.ts +27 -0
  204. package/src/components/form-output/VcsMarkdown.vue +53 -0
  205. package/src/{application/VcsCustomScreen.vue.d.ts → components/form-output/VcsMarkdown.vue.d.ts} +6 -5
  206. package/src/components/lists/VcsActionList.vue +50 -34
  207. package/src/components/lists/VcsActionList.vue.d.ts +3 -1
  208. package/src/components/lists/VcsList.vue +82 -158
  209. package/src/components/lists/VcsList.vue.d.ts +7 -14
  210. package/src/components/lists/VcsListItem.vue +184 -0
  211. package/src/components/lists/VcsListItem.vue.d.ts +27 -0
  212. package/src/components/lists/VcsTreeviewLeaf.vue +1 -1
  213. package/src/components/modelHelper.d.ts +11 -0
  214. package/src/components/modelHelper.js +42 -2
  215. package/src/components/section/VcsExpansionPanel.vue +101 -0
  216. package/src/components/section/VcsExpansionPanel.vue.d.ts +19 -0
  217. package/src/components/style/MenuWrapper.vue +24 -26
  218. package/src/components/style/MenuWrapper.vue.d.ts +4 -4
  219. package/src/components/style/VcsFillMenu.vue +9 -16
  220. package/src/components/style/VcsFillMenu.vue.d.ts +0 -18
  221. package/src/components/style/VcsFillSelector.vue +13 -16
  222. package/src/components/style/VcsImageMenu.vue +8 -25
  223. package/src/components/style/VcsImageMenu.vue.d.ts +0 -27
  224. package/src/components/style/VcsImageSelector.vue +102 -167
  225. package/src/components/style/VcsImageSelector.vue.d.ts +15 -15
  226. package/src/components/style/VcsStrokeMenu.vue +8 -15
  227. package/src/components/style/VcsStrokeMenu.vue.d.ts +0 -18
  228. package/src/components/style/VcsStrokeSelector.vue +11 -18
  229. package/src/components/style/VcsTextMenu.vue +9 -12
  230. package/src/components/style/VcsTextMenu.vue.d.ts +0 -9
  231. package/src/components/style/VcsTextSelector.vue +79 -95
  232. package/src/components/style/VcsTextSelector.vue.d.ts +20 -22
  233. package/src/components/style/VcsVectorStyleComponent.vue +7 -18
  234. package/src/components/style/VcsVectorStyleComponent.vue.d.ts +1 -1
  235. package/src/components/style/composables.d.ts +0 -14
  236. package/src/components/style/composables.js +0 -49
  237. package/src/components/vector-properties/VcsFeatureEditingWindow.vue +53 -12
  238. package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +3 -3
  239. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +475 -586
  240. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +193 -22
  241. package/src/components/viewpoint/VcsViewpointComponent.vue +21 -8
  242. package/src/components/viewpoint/VcsViewpointEditor.vue +1 -0
  243. package/src/contentTree/contentTreeItem.d.ts +2 -2
  244. package/src/contentTree/contentTreeItem.js +7 -7
  245. package/src/featureInfo/featureInfo.js +8 -10
  246. package/src/init.d.ts +5 -38
  247. package/src/init.js +19 -18
  248. package/src/legend/StyleLegendItem.vue +4 -9
  249. package/src/legend/VcsLegend.vue +28 -54
  250. package/src/manager/buttonManager.js +4 -4
  251. package/src/manager/collectionManager/CollectionComponent.vue +17 -42
  252. package/src/manager/collectionManager/CollectionComponent.vue.d.ts +4 -2
  253. package/src/manager/collectionManager/CollectionComponentContent.vue +7 -6
  254. package/src/manager/collectionManager/CollectionComponentContent.vue.d.ts +3 -1
  255. package/src/manager/collectionManager/CollectionComponentList.vue +10 -8
  256. package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +4 -2
  257. package/src/manager/collectionManager/CollectionComponentProvider.vue +1 -1
  258. package/src/manager/collectionManager/CollectionComponentStandalone.vue +3 -2
  259. package/src/manager/collectionManager/CollectionManager.vue +1 -1
  260. package/src/manager/collectionManager/collectionComponentClass.js +6 -9
  261. package/src/manager/collectionManager/collectionManager.js +10 -10
  262. package/src/manager/collectionManager/editorCollectionComponentClass.js +4 -4
  263. package/src/manager/contextMenu/contextMenuManager.js +2 -2
  264. package/src/manager/navbarManager.js +2 -2
  265. package/src/manager/panel/panelManager.js +3 -3
  266. package/src/manager/toolbox/toolboxManager.js +10 -10
  267. package/src/manager/window/windowManager.d.ts +6 -6
  268. package/src/manager/window/windowManager.js +6 -6
  269. package/src/navigation/MapNavigation.vue +6 -3
  270. package/src/navigation/OrientationToolsButton.vue +39 -26
  271. package/src/navigation/OrientationToolsButton.vue.d.ts +5 -1
  272. package/src/navigation/TiltSlider.vue +83 -88
  273. package/src/navigation/TiltSlider.vue.d.ts +10 -7
  274. package/src/navigation/VcsCompass.vue +17 -11
  275. package/src/navigation/VcsCompass.vue.d.ts +2 -0
  276. package/src/search/search.js +2 -2
  277. package/src/siteConfig.js +1 -1
  278. package/src/state.js +4 -4
  279. package/src/styles/_typography.scss +1 -0
  280. package/src/vcsUiApp.d.ts +24 -26
  281. package/src/vcsUiApp.js +11 -4
  282. package/src/vuePlugins/i18n.js +7 -0
  283. package/src/vuePlugins/vuetify.d.ts +2 -0
  284. package/src/vuePlugins/vuetify.js +15 -0
  285. package/dist/assets/@mdi/font/css/materialdesignicons.css.map +0 -16
  286. package/dist/assets/@mdi/font/css/materialdesignicons.min.e3f476.css +0 -3
  287. package/dist/assets/cesium/Workers/chunk-DUHWWBQQ.js +0 -3273
  288. package/dist/assets/cesium/Workers/chunk-QJ3DFBH3.js +0 -73
  289. package/dist/assets/index-ca7EmZ3d.js +0 -1
  290. package/dist/assets/ui.715986.css +0 -1
  291. package/public/assets/@mdi/font/css/materialdesignicons.css.map +0 -16
  292. package/src/application/VcsCustomScreen.vue +0 -45
  293. package/src/components/vector-properties/composables.d.ts +0 -33
  294. package/src/components/vector-properties/composables.js +0 -100
  295. package/dist/assets/{favicon-128.4c4ce5.png → favicon-128-4c4ce5df.png} +0 -0
  296. package/dist/assets/{favicon-180.5b99c0.png → favicon-180-4c4ce5df.png} +0 -0
  297. package/dist/assets/{favicon-192.0e205e.png → favicon-192-4c4ce5df.png} +0 -0
  298. package/dist/assets/{favicon-32.6b9add.png → favicon-32-4c4ce5df.png} +0 -0
  299. package/dist/assets/{favicon.d5ec97.svg → favicon-4c4ce5df.svg} +0 -0
  300. package/dist/assets/font/{TitilliumWeb-Regular.9ca076.woff2 → TitilliumWeb-Regular-9ca076be.woff2} +0 -0
  301. package/dist/assets/style/{icon-marker.70960f.png → icon-marker-70960f05.png} +0 -0
  302. package/dist/assets/style/{icon-marker-blue.534e37.png → icon-marker-blue-534e374b.png} +0 -0
  303. package/dist/assets/style/{icon-marker-green.0b6a92.png → icon-marker-green-0b6a92bc.png} +0 -0
  304. package/dist/assets/style/{icon-marker-o.036477.png → icon-marker-o-036477fa.png} +0 -0
  305. package/dist/assets/style/{icon-marker-o-blue.7b6d62.png → icon-marker-o-blue-7b6d6279.png} +0 -0
  306. package/dist/assets/style/{icon-marker-o-green.c863c0.png → icon-marker-o-green-c863c0fa.png} +0 -0
  307. package/dist/assets/style/{icon-marker-o-red.93ff58.png → icon-marker-o-red-93ff58df.png} +0 -0
  308. package/dist/assets/style/{icon-marker-red.313d03.png → icon-marker-red-313d03e8.png} +0 -0
  309. package/dist/assets/style/{icon-pin.b7ce77.png → icon-pin-b7ce771e.png} +0 -0
  310. package/dist/assets/style/{icon-pin-blue.7be369.png → icon-pin-blue-7be369a3.png} +0 -0
  311. package/dist/assets/style/{icon-pin-green.cbb935.png → icon-pin-green-cbb935fe.png} +0 -0
  312. package/dist/assets/style/{icon-pin-red.3f25b2.png → icon-pin-red-3f25b245.png} +0 -0
  313. package/dist/assets/{vue.0f2c53.js → vue-03b265aa.js} +0 -0
  314. package/public/assets/{favicon-128.png → favicon-128-4c4ce5df.png} +0 -0
  315. package/public/assets/{favicon-180.png → favicon-180-4c4ce5df.png} +0 -0
  316. package/public/assets/{favicon-192.png → favicon-192-4c4ce5df.png} +0 -0
  317. package/public/assets/{favicon-32.png → favicon-32-4c4ce5df.png} +0 -0
  318. package/public/assets/{favicon.svg → favicon-4c4ce5df.svg} +0 -0
  319. package/src/components/{form-inputs-controls → section}/VcsFormSection.vue +0 -0
  320. package/src/components/{form-inputs-controls → section}/VcsFormSection.vue.d.ts +1 -1
@@ -1,27 +1,30 @@
1
1
  <template>
2
2
  <v-sheet>
3
- <VcsFormSection heading="Style menus">
3
+ <VcsFormSection
4
+ heading="Style menus"
5
+ :header-actions="[resetExample, logStyle]"
6
+ >
4
7
  <VcsVectorStyleComponent
5
- v-model="styleOptions"
8
+ v-model="styleOptions.style"
6
9
  :value-default="defaultStyleOptions"
7
10
  />
8
11
  </VcsFormSection>
9
12
  <VcsFormSection :expandable="true" heading="Fill Selector">
10
- <VcsFillSelector v-model="styleOptions.fill" />
13
+ <VcsFillSelector v-model="styleOptions.style.fill" />
11
14
  </VcsFormSection>
12
15
  <VcsFormSection :expandable="true" heading="Stroke Selector">
13
- <VcsStrokeSelector v-model="styleOptions.stroke" />
16
+ <VcsStrokeSelector v-model="styleOptions.style.stroke" />
14
17
  </VcsFormSection>
15
18
  <VcsFormSection :expandable="true" heading="Image Selector">
16
19
  <VcsImageSelector
17
- v-model="styleOptions.image"
20
+ v-model="styleOptions.style.image"
18
21
  :value-default="defaultStyleOptions.image"
19
22
  :extended-shape-settings="true"
20
23
  />
21
24
  </VcsFormSection>
22
25
  <VcsFormSection :expandable="true" heading="Text Selector">
23
26
  <VcsTextSelector
24
- v-model="styleOptions.text"
27
+ v-model="styleOptions.style.text"
25
28
  :value-default="defaultStyleOptions.text"
26
29
  />
27
30
  </VcsFormSection>
@@ -30,7 +33,7 @@
30
33
 
31
34
  <script>
32
35
  import { VSheet } from 'vuetify/components';
33
- import { onMounted, ref, watchEffect } from 'vue';
36
+ import { reactive, toRaw } from 'vue';
34
37
  import {
35
38
  VcsFormSection,
36
39
  VcsFillSelector,
@@ -40,8 +43,8 @@
40
43
  VcsVectorStyleComponent,
41
44
  VectorStyleMenus,
42
45
  } from '@vcmap/ui';
43
- import { parseColor } from '@vcmap/core';
44
- import { Fill, Icon, RegularShape, Stroke, Style, Text } from 'ol/style.js';
46
+ import { getStyleOptions } from '@vcmap/core';
47
+ import { Fill, RegularShape, Stroke, Style, Text } from 'ol/style.js';
45
48
 
46
49
  export default {
47
50
  name: 'StyleExample',
@@ -97,93 +100,29 @@
97
100
  },
98
101
  };
99
102
 
100
- const styleOptions = ref({
101
- fill: undefined,
102
- stroke: undefined,
103
- image: undefined,
104
- text: undefined,
105
- });
106
-
107
- const fill = exampleStyle.getFill();
108
- const stroke = exampleStyle.getStroke();
109
- const image = exampleStyle.getImage();
110
- const text = exampleStyle.getText();
111
-
112
- // TODO: Replace with new getStyleOptions from @vcmap/core as soon as available
113
- if (fill) {
114
- styleOptions.value.fill = {
115
- color: parseColor(fill.getColor()),
116
- };
117
- }
118
- if (stroke) {
119
- styleOptions.value.stroke = {
120
- color: parseColor(stroke.getColor()),
121
- width: exampleStyle.getStroke().getWidth(),
122
- };
123
- }
124
- if (image) {
125
- if (image instanceof RegularShape) {
126
- styleOptions.value.image = {
127
- points: image.getPoints(),
128
- radius: image.getRadius(),
129
- radius2: image.getRadius2(),
130
- angle: image.getAngle(),
131
- fill: {
132
- color: parseColor(image.getFill().getColor()),
133
- },
134
- stroke: {
135
- color: parseColor(image.getStroke().getColor()),
136
- width: image.getStroke().getWidth(),
137
- },
138
- };
139
- } else if (image instanceof Icon) {
140
- styleOptions.value.image = {
141
- src: image.getSrc(),
142
- scale: image.getScale(),
143
- opacity: image.getOpacity(),
144
- };
145
- }
146
- }
147
- if (text) {
148
- styleOptions.value.text = {
149
- font: text.getFont(),
150
- fill: {
151
- color: parseColor(text.getFill()?.getColor()),
152
- },
153
- stroke: {
154
- color: parseColor(text.getStroke()?.getColor()),
155
- width: text.getStroke().getWidth(),
156
- },
157
- textBaseline: text.getTextBaseline(),
158
- offsetY: text.getOffsetY(),
159
- offsetX: text.getOffsetX(),
160
- text: text.getText(),
161
- };
162
- }
163
-
164
- onMounted(() => {
165
- watchEffect(() => {
166
- const newFill = styleOptions.value.fill;
167
- const newStroke = styleOptions.value.stroke;
168
- const newImage = styleOptions.value.image;
169
- // const newText = styleOptions.value.text;
170
- // TODO: Replace with new getStyleFromOptions from @vcmap/core as soon as available
171
- exampleStyle.setFill(newFill ? new Fill(newFill) : null);
172
- exampleStyle.setStroke(newStroke ? new Stroke(newStroke) : null);
173
- if (newImage?.points) {
174
- // exampleStyle.setImage(new RegularShape(newImage));
175
- } else if (newImage?.src) {
176
- exampleStyle.setImage(new Icon(newImage));
177
- } else {
178
- exampleStyle.setImage(null);
179
- }
180
- });
103
+ // use reactive wrapper object to ensure updates
104
+ const styleOptions = reactive({
105
+ style: getStyleOptions(exampleStyle),
181
106
  });
182
107
 
183
108
  return {
184
109
  styleOptions,
185
110
  defaultStyleOptions,
186
111
  VectorStyleMenus,
112
+ resetExample: {
113
+ name: 'resetExample',
114
+ icon: 'mdi-sync',
115
+ callback() {
116
+ styleOptions.style = getStyleOptions(exampleStyle);
117
+ },
118
+ },
119
+ logStyle: {
120
+ name: 'logStyle',
121
+ icon: 'mdi-console',
122
+ callback() {
123
+ console.log(toRaw(styleOptions.style));
124
+ },
125
+ },
187
126
  };
188
127
  },
189
128
  };
@@ -6,7 +6,7 @@
6
6
  <VcsList
7
7
  :items="propertiesToSelectFrom"
8
8
  :selectable="true"
9
- v-model="propertiesToDisplay"
9
+ v-model="propertiesSelected"
10
10
  title="Select all"
11
11
  />
12
12
  </v-col>
@@ -29,13 +29,20 @@
29
29
  />
30
30
  </v-col>
31
31
  </v-row>
32
+ <v-row no-gutters>
33
+ <v-col>
34
+ <VcsFormButton @click="() => console.log({ ...featureProperties })"
35
+ >Log VectorProperties</VcsFormButton
36
+ >
37
+ </v-col>
38
+ </v-row>
32
39
  </v-container>
33
40
  <VcsVectorPropertiesComponent
34
41
  v-model="featureProperties"
35
42
  :value-default="defaultOptions"
36
43
  :show3-d-properties="is3D"
37
- :properties="propertiesToDisplay.map((item) => item.name)"
38
- :hide-dividers="hideDividers"
44
+ :properties="properties"
45
+ :show-dividers="!hideDividers"
39
46
  :expandable="expandable"
40
47
  :show-reset="showReset"
41
48
  />
@@ -43,12 +50,22 @@
43
50
  </template>
44
51
 
45
52
  <script>
46
- import { inject, onMounted, onUnmounted, ref, watch } from 'vue';
53
+ import {
54
+ computed,
55
+ inject,
56
+ onMounted,
57
+ onUnmounted,
58
+ reactive,
59
+ ref,
60
+ shallowRef,
61
+ watch,
62
+ } from 'vue';
47
63
  import { CesiumMap, VectorLayer, VectorProperties } from '@vcmap/core';
48
64
  import {
49
65
  VcsVectorPropertiesComponent,
50
66
  VcsList,
51
67
  VcsCheckbox,
68
+ VcsFormButton,
52
69
  } from '@vcmap/ui';
53
70
  import { VSheet, VContainer, VRow, VCol } from 'vuetify/components';
54
71
  import { Feature } from 'ol';
@@ -69,6 +86,7 @@
69
86
  VcsVectorPropertiesComponent,
70
87
  VcsList,
71
88
  VcsCheckbox,
89
+ VcsFormButton,
72
90
  VSheet,
73
91
  VContainer,
74
92
  VRow,
@@ -96,9 +114,10 @@
96
114
  },
97
115
  });
98
116
 
99
- const featureProperties = ref(
117
+ const featureProperties = shallowRef(
100
118
  layer.vectorProperties.getValuesForFeatures([feature]),
101
119
  );
120
+ featureProperties.value.scaleByDistance = [0, 1, 100, 0];
102
121
  watch(featureProperties, () => {
103
122
  layer.vectorProperties.setValuesForFeatures(featureProperties.value, [
104
123
  feature,
@@ -106,10 +125,13 @@
106
125
  });
107
126
 
108
127
  const defaultOptions = VectorProperties.getDefaultOptions();
109
- const propertiesToSelectFrom = Object.keys(defaultOptions).map((key) => ({
110
- name: key,
111
- title: key,
112
- }));
128
+ const propertiesToSelectFrom = reactive(
129
+ Object.keys(defaultOptions).map((key) => ({
130
+ name: key,
131
+ title: key,
132
+ })),
133
+ );
134
+ const propertiesSelected = shallowRef([...propertiesToSelectFrom]);
113
135
 
114
136
  onMounted(() => {
115
137
  vcsApp.layers.add(layer);
@@ -128,7 +150,10 @@
128
150
  defaultOptions,
129
151
  is3D,
130
152
  propertiesToSelectFrom,
131
- propertiesToDisplay: ref([...propertiesToSelectFrom]),
153
+ propertiesSelected,
154
+ properties: computed(() =>
155
+ propertiesSelected.value.map(({ name }) => name),
156
+ ),
132
157
  hideDividers: ref(false),
133
158
  expandable: ref(false),
134
159
  showReset: ref(true),
@@ -1,24 +1,20 @@
1
1
  <template>
2
2
  <VcsWizard v-model.number="step">
3
3
  <VcsWizardStep
4
- step="1"
5
- :complete="step > 1"
4
+ step="0"
5
+ :complete="step > 0"
6
6
  help-text="1. this is the help text"
7
7
  heading="This is the first step"
8
8
  v-model.number="step"
9
9
  >
10
- <template #content>
11
- <!-- px-2 because does not contain input components -->
12
- <v-container class="px-2 py-0">
13
- <div>This is the content of the first step.</div>
14
- <VcsFormButton @click="increaseStep()" class="my-2">
15
- Next
16
- </VcsFormButton>
17
- </v-container>
10
+ <!-- px-2 because does not contain input components -->
11
+ <div>This is the content of the first step.</div>
12
+ <template #actions="{ next }">
13
+ <VcsFormButton @click="next">Next</VcsFormButton>
18
14
  </template>
19
15
  </VcsWizardStep>
20
16
  <VcsWizardStep
21
- step="2"
17
+ step="1"
22
18
  editable
23
19
  :header-actions="actions.second"
24
20
  heading="This is the second step"
@@ -33,35 +29,29 @@
33
29
  <li>test</li>
34
30
  </ol>
35
31
  </template>
36
- <template #content>
37
- <v-container class="px-1 py-0">
38
- <v-form ref="form" v-model="formValid" lazy-validation>
39
- <VcsSelect
40
- :items="['this', 'is', 'a', 'test']"
41
- v-model="selection"
42
- placeholder="Select"
43
- :rules="[
44
- (v) => (!!v && v !== 'this') || 'Please select a valid option.',
45
- ]"
46
- />
47
- <VcsFormButton @click="decreaseStep()"> Back </VcsFormButton>
48
- </v-form>
49
- </v-container>
50
- </template>
51
- </VcsWizardStep>
52
- <VcsWizardStep step="3" v-model.number="step">
53
- <template #header>
54
- <div class="d-flex flex-grow-1 flex-row-reverse">
55
- <VcsFormButton
56
- :disabled="!selection || !formValid"
57
- @click="finish()"
58
- variant="filled"
59
- >
60
- Finish
61
- </VcsFormButton>
62
- </div>
32
+ <v-form ref="formRef" v-model="formValid" lazy-validation>
33
+ <VcsSelect
34
+ :items="['this', 'is', 'a', 'test']"
35
+ v-model="selection"
36
+ placeholder="Select"
37
+ :rules="[
38
+ (v) => (!!v && v !== 'this') || 'Please select a valid option.',
39
+ ]"
40
+ />
41
+ </v-form>
42
+ <template #actions="{ prev }">
43
+ <VcsFormButton @click="prev">Back</VcsFormButton>
63
44
  </template>
64
45
  </VcsWizardStep>
46
+ <div class="d-flex flex-grow-1 flex-row-reverse pa-2">
47
+ <VcsFormButton
48
+ :disabled="!selection || !formValid"
49
+ @click="finish()"
50
+ variant="filled"
51
+ >
52
+ Finish
53
+ </VcsFormButton>
54
+ </div>
65
55
  </VcsWizard>
66
56
  </template>
67
57
 
@@ -72,7 +62,7 @@
72
62
  VcsFormButton,
73
63
  VcsSelect,
74
64
  } from '@vcmap/ui';
75
- import { VForm, VContainer } from 'vuetify/components';
65
+ import { VForm } from 'vuetify/components';
76
66
  import { ref } from 'vue';
77
67
 
78
68
  /** Component to showcase the VcsWizard and VcsWizardStep. */
@@ -84,12 +74,11 @@
84
74
  VcsFormButton,
85
75
  VcsSelect,
86
76
  VForm,
87
- VContainer,
88
77
  },
89
78
  setup() {
90
- const step = ref(1);
91
- const selection = ref();
92
- const form = ref();
79
+ const step = ref(0);
80
+ const selection = ref(undefined);
81
+ const formRef = ref(null);
93
82
  const formValid = ref(false);
94
83
  const actions = {
95
84
  second: [
@@ -103,22 +92,19 @@
103
92
  },
104
93
  ],
105
94
  };
95
+
96
+ function finish() {
97
+ step.value = 0;
98
+ formRef.value?.resetValidation();
99
+ }
100
+
106
101
  return {
107
102
  step,
108
- increaseStep() {
109
- step.value += 1;
110
- },
111
- decreaseStep() {
112
- step.value -= 1;
113
- },
114
103
  selection,
115
104
  actions,
116
105
  formValid,
117
- form,
118
- finish() {
119
- step.value = 1;
120
- form.value.reset();
121
- },
106
+ formRef,
107
+ finish,
122
108
  };
123
109
  },
124
110
  };
@@ -0,0 +1,25 @@
1
+ > *Note:* Please use the main [MaterialDesign](https://github.com/Templarian/MaterialDesign/issues) repo to report issues. This repo is for distribution of the Webfont files only.
2
+
3
+ # Webfont - Material Design Icons
4
+
5
+ Webfont distribution for the [Material Design Icons](https://materialdesignicons.com).
6
+
7
+ ```
8
+ npm install @mdi/font
9
+ ```
10
+
11
+ > Package built with [@mdi/font-build](https://github.com/Templarian/MaterialDesign-Font-Build).
12
+
13
+ ## Related Packages
14
+
15
+ [NPM @MDI Organization](https://npmjs.com/org/mdi)
16
+
17
+ - JavaScript/Typescript: [MaterialDesign-JS](https://github.com/Templarian/MaterialDesign-JS)
18
+ - SVG: [MaterialDesign-SVG](https://github.com/Templarian/MaterialDesign-SVG)
19
+ - Font-Build [MaterialDesign-Font-Build](https://github.com/Templarian/MaterialDesign-Font-Build)
20
+ - Desktop Font: [MaterialDesign-Font](https://github.com/Templarian/MaterialDesign-Font)
21
+
22
+ ## Learn More
23
+
24
+ - [MaterialDesignIcons.com](https://materialdesignicons.com)
25
+ - https://github.com/Templarian/MaterialDesign