@vcmap/ui 5.3.2 → 6.0.0-rc.1

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 (589) hide show
  1. package/build/build.js +26 -4
  2. package/build/buildHelpers.js +6 -1
  3. package/build/buildTypes.js +18 -0
  4. package/build/commonViteConfig.js +7 -10
  5. package/build/generateOLLib.js +5 -1
  6. package/build/info/publish.js +2 -2
  7. package/build/lintTypes.js +5 -0
  8. package/build/staging/Dockerfile +1 -1
  9. package/config/base.config.json +5 -2
  10. package/config/dev.config.json +14 -10
  11. package/config/www.config.json +1 -1
  12. package/dist/assets/{cesium.a9cd10.js → cesium.6b12b4.js} +1654 -1692
  13. package/dist/assets/cesium.js +1 -1
  14. package/dist/assets/{core.5e0ca2.js → core.074b78.js} +2607 -2581
  15. package/dist/assets/core.js +1 -1
  16. package/dist/assets/index-ca7EmZ3d.js +1 -0
  17. package/dist/assets/{ol.8edcc5.js → ol.8b2e3a.js} +19259 -19196
  18. package/dist/assets/ol.js +1 -1
  19. package/dist/assets/ui.715986.css +1 -0
  20. package/dist/assets/ui.715986.js +34219 -0
  21. package/dist/assets/ui.js +1 -1
  22. package/dist/assets/vue.0f2c53.js +6096 -0
  23. package/dist/assets/vue.js +1 -5
  24. package/dist/assets/vuetify.28d881.css +5 -0
  25. package/dist/assets/vuetify.28d881.js +24605 -0
  26. package/dist/assets/vuetify.js +1 -5
  27. package/dist/index.html +1 -2
  28. package/index.d.ts +25 -9
  29. package/index.js +11 -29
  30. package/lib/vue.js +0 -1
  31. package/lib/vuetify.js +1 -2
  32. package/lib/vuetifyLib.js +6 -0
  33. package/package.json +23 -14
  34. package/plugins/@vcmap-show-case/buttons-example/package.json +2 -2
  35. package/plugins/@vcmap-show-case/buttons-example/src/ButtonsExample.vue +57 -61
  36. package/plugins/@vcmap-show-case/buttons-example/src/index.js +1 -1
  37. package/plugins/@vcmap-show-case/category-tester/package.json +2 -2
  38. package/plugins/@vcmap-show-case/category-tester/src/CategoriesExample.vue +12 -6
  39. package/plugins/@vcmap-show-case/category-tester/src/CollectionComponentOptions.vue +4 -4
  40. package/plugins/@vcmap-show-case/category-tester/src/FoobarEditor.vue +4 -4
  41. package/plugins/@vcmap-show-case/collection-manager-example/src/CollectionManagerExample.vue +11 -7
  42. package/plugins/@vcmap-show-case/config-editor/src/ConfigEditor.vue +2 -2
  43. package/plugins/@vcmap-show-case/extent-example/README.md +1 -1
  44. package/plugins/@vcmap-show-case/extent-example/src/index.js +11 -20
  45. package/plugins/@vcmap-show-case/flight-component-example/src/FlightExample.vue +3 -3
  46. package/plugins/@vcmap-show-case/form-inputs-example/src/FormInputsExample.vue +122 -169
  47. package/plugins/@vcmap-show-case/form-inputs-example/src/index.js +7 -8
  48. package/plugins/@vcmap-show-case/hello-world/src/helloWorld.vue +1 -1
  49. package/plugins/@vcmap-show-case/icons-example/src/AllIconsComponent.vue +1 -1
  50. package/plugins/@vcmap-show-case/list-example/src/ListExample.vue +33 -4
  51. package/plugins/@vcmap-show-case/notifier-tester/src/NotifierTester.vue +4 -6
  52. package/plugins/@vcmap-show-case/panel-tester/src/PanelExample.vue +3 -4
  53. package/plugins/@vcmap-show-case/project-selector/src/ModulesListComponent.vue +3 -7
  54. package/plugins/@vcmap-show-case/project-selector/src/ProjectSelectorComponent.vue +10 -16
  55. package/plugins/@vcmap-show-case/search-example/package.json +5 -0
  56. package/plugins/@vcmap-show-case/search-example/src/index.js +75 -0
  57. package/plugins/@vcmap-show-case/search-example/src/searchImpl.js +99 -0
  58. package/plugins/@vcmap-show-case/simple-graph/src/SimpleGraphComponent.vue +1 -1
  59. package/plugins/@vcmap-show-case/style-input-example/src/StyleExample.vue +1 -1
  60. package/plugins/@vcmap-show-case/table-example/src/DataTableExample.vue +32 -16
  61. package/plugins/@vcmap-show-case/textfields-example/src/TextfieldsExample.vue +7 -1
  62. package/plugins/@vcmap-show-case/theme-changer/src/ThemeChangerComponent.vue +3 -3
  63. package/plugins/@vcmap-show-case/theme-changer/src/index.js +2 -2
  64. package/plugins/@vcmap-show-case/toolbox-example/src/TriStateExampleWindow.vue +1 -1
  65. package/plugins/@vcmap-show-case/vector-properties-example/src/VectorPropertiesExample.vue +1 -1
  66. package/plugins/@vcmap-show-case/viewpoint-component-example/src/ViewpointExample.vue +4 -4
  67. package/plugins/@vcmap-show-case/window-tester/src/BrokenWindow.vue +17 -0
  68. package/plugins/@vcmap-show-case/window-tester/src/EmptyComponent.vue +1 -1
  69. package/plugins/@vcmap-show-case/window-tester/src/WindowExample.vue +10 -0
  70. package/plugins/@vcmap-show-case/window-tester/src/WindowExampleContent.vue +1 -1
  71. package/plugins/@vcmap-show-case/window-tester/src/WindowExampleToggleChild.vue +1 -1
  72. package/plugins/@vcmap-show-case/wizard-example/src/WizardExample.vue +1 -1
  73. package/src/actions/StyleSelector.vue +4 -34
  74. package/src/actions/StyleSelector.vue.d.ts +6 -4
  75. package/src/actions/actionHelper.js +6 -6
  76. package/src/actions/extentActions.d.ts +1 -2
  77. package/src/actions/extentActions.js +19 -8
  78. package/src/actions/flightActions.js +8 -8
  79. package/src/actions/listActions.d.ts +2 -2
  80. package/src/actions/listActions.js +3 -3
  81. package/src/actions/stateRefAction.js +3 -3
  82. package/src/application/VcsApp.vue +19 -28
  83. package/src/application/VcsApp.vue.d.ts +6 -6
  84. package/src/application/VcsAppWrapper.vue +1 -1
  85. package/src/application/VcsAppWrapper.vue.d.ts +2 -2
  86. package/src/application/VcsAttributions.vue +14 -18
  87. package/src/application/VcsAttributions.vue.d.ts +7 -7
  88. package/src/application/VcsAttributionsFooter.vue +1 -1
  89. package/src/application/VcsAttributionsFooter.vue.d.ts +2 -2
  90. package/src/application/VcsContainer.vue +13 -7
  91. package/src/application/VcsContainer.vue.d.ts +3 -2
  92. package/src/application/VcsCustomScreen.vue +1 -1
  93. package/src/application/VcsCustomScreen.vue.d.ts +2 -2
  94. package/src/application/VcsMainMap.vue +4 -1
  95. package/src/application/VcsMainMap.vue.d.ts +1 -1
  96. package/src/application/VcsMap.vue +21 -23
  97. package/src/application/VcsMap.vue.d.ts +2 -2
  98. package/src/application/VcsNavbar.vue +60 -56
  99. package/src/application/VcsNavbar.vue.d.ts +11 -8
  100. package/src/application/VcsPositionDisplay.vue +33 -46
  101. package/src/application/VcsPositionDisplay.vue.d.ts +3 -3
  102. package/src/application/VcsSettings.vue +19 -7
  103. package/src/application/VcsSettings.vue.d.ts +2 -1
  104. package/src/application/VcsSplashScreen.vue +3 -3
  105. package/src/application/VcsSplashScreen.vue.d.ts +3 -3
  106. package/src/application/VcsTextPage.vue +2 -2
  107. package/src/application/VcsTextPage.vue.d.ts +4 -4
  108. package/src/application/VcsTextPageFooter.vue +4 -4
  109. package/src/application/VcsTextPageFooter.vue.d.ts +2 -2
  110. package/src/application/attributionsHelper.d.ts +2 -2
  111. package/src/application/attributionsHelper.js +9 -9
  112. package/src/components/ImageElementInjector.vue.d.ts +2 -2
  113. package/src/components/attrsHelpers.d.ts +5 -0
  114. package/src/components/attrsHelpers.js +14 -0
  115. package/src/components/buttons/VcsActionButtonList.vue +6 -23
  116. package/src/components/buttons/VcsActionButtonList.vue.d.ts +3 -12
  117. package/src/components/buttons/VcsButton.vue +79 -90
  118. package/src/components/buttons/VcsButton.vue.d.ts +17 -32
  119. package/src/components/buttons/VcsFormButton.vue +77 -125
  120. package/src/components/buttons/VcsFormButton.vue.d.ts +8 -41
  121. package/src/components/buttons/VcsToolButton.vue +91 -94
  122. package/src/components/buttons/VcsToolButton.vue.d.ts +18 -25
  123. package/src/components/composables.d.ts +14 -0
  124. package/src/components/composables.js +31 -0
  125. package/src/components/{form-inputs-controls → extent}/VcsExtent.vue +22 -18
  126. package/src/components/{form-inputs-controls → extent}/VcsExtent.vue.d.ts +10 -7
  127. package/src/components/extent/VcsExtentEditor.vue +79 -0
  128. package/src/components/extent/VcsExtentEditor.vue.d.ts +37 -0
  129. package/src/components/flight/VcsFlightAnchorsComponent.vue +7 -2
  130. package/src/components/flight/VcsFlightAnchorsComponent.vue.d.ts +6 -6
  131. package/src/components/flight/VcsFlightComponent.vue +2 -1
  132. package/src/components/flight/VcsFlightComponent.vue.d.ts +4 -4
  133. package/src/components/flight/VcsFlightEditor.vue.d.ts +2 -2
  134. package/src/components/flight/VcsFlightPlayer.vue +2 -3
  135. package/src/components/flight/VcsFlightPlayer.vue.d.ts +3 -3
  136. package/src/components/form-inputs-controls/VcsCheckbox.vue +56 -80
  137. package/src/components/form-inputs-controls/VcsCheckbox.vue.d.ts +13 -4
  138. package/src/components/form-inputs-controls/VcsChipArrayInput.vue +128 -117
  139. package/src/components/form-inputs-controls/VcsChipArrayInput.vue.d.ts +17 -21
  140. package/src/components/form-inputs-controls/VcsCoordinate.vue +31 -41
  141. package/src/components/form-inputs-controls/VcsCoordinate.vue.d.ts +10 -11
  142. package/src/components/form-inputs-controls/VcsDatePicker.vue +39 -72
  143. package/src/components/form-inputs-controls/VcsDatePicker.vue.d.ts +75 -13
  144. package/src/components/form-inputs-controls/VcsFileInput.vue +100 -0
  145. package/src/components/form-inputs-controls/VcsFileInput.vue.d.ts +27 -0
  146. package/src/components/form-inputs-controls/VcsFormSection.vue +12 -12
  147. package/src/components/form-inputs-controls/VcsFormSection.vue.d.ts +6 -4
  148. package/src/components/form-inputs-controls/VcsLabel.vue +8 -28
  149. package/src/components/form-inputs-controls/VcsLabel.vue.d.ts +2 -11
  150. package/src/components/form-inputs-controls/VcsRadio.vue +80 -104
  151. package/src/components/form-inputs-controls/VcsRadio.vue.d.ts +35 -9
  152. package/src/components/form-inputs-controls/VcsSelect.vue +172 -153
  153. package/src/components/form-inputs-controls/VcsSelect.vue.d.ts +36 -9
  154. package/src/components/form-inputs-controls/VcsSlider.vue +71 -52
  155. package/src/components/form-inputs-controls/VcsSlider.vue.d.ts +6 -1
  156. package/src/components/form-inputs-controls/VcsTextArea.vue +126 -144
  157. package/src/components/form-inputs-controls/VcsTextArea.vue.d.ts +13 -10
  158. package/src/components/form-inputs-controls/VcsTextField.vue +95 -278
  159. package/src/components/form-inputs-controls/VcsTextField.vue.d.ts +33 -32
  160. package/src/components/form-inputs-controls/VcsWizard.vue +71 -77
  161. package/src/components/form-inputs-controls/VcsWizard.vue.d.ts +5 -5
  162. package/src/components/form-inputs-controls/VcsWizardStep.vue +14 -14
  163. package/src/components/form-inputs-controls/VcsWizardStep.vue.d.ts +4 -4
  164. package/src/components/form-inputs-controls/vcsTextField.scss +78 -0
  165. package/src/components/form-output/VcsFormattedNumber.vue +20 -27
  166. package/src/components/form-output/VcsFormattedNumber.vue.d.ts +7 -24
  167. package/src/components/icons/+all.js +1 -1
  168. package/src/components/icons/2DAreaIcon.vue +1 -7
  169. package/src/components/icons/2DAreaIcon.vue.d.ts +1 -1
  170. package/src/components/icons/2DDistanceIcon.vue +1 -7
  171. package/src/components/icons/2DDistanceIcon.vue.d.ts +1 -1
  172. package/src/components/icons/2DHeightObliqueIcon.vue.d.ts +1 -1
  173. package/src/components/icons/2DPointIcon.vue +0 -1
  174. package/src/components/icons/2DPointIcon.vue.d.ts +1 -1
  175. package/src/components/icons/3DAreaIcon.vue +1 -7
  176. package/src/components/icons/3DAreaIcon.vue.d.ts +1 -1
  177. package/src/components/icons/3DDistanceIcon.vue +1 -7
  178. package/src/components/icons/3DDistanceIcon.vue.d.ts +1 -1
  179. package/src/components/icons/3DHeightIcon.vue +1 -7
  180. package/src/components/icons/3DHeightIcon.vue.d.ts +1 -1
  181. package/src/components/icons/3DPointIcon.vue +0 -1
  182. package/src/components/icons/3DPointIcon.vue.d.ts +1 -1
  183. package/src/components/icons/AngleIcon.vue +1 -6
  184. package/src/components/icons/AngleIcon.vue.d.ts +1 -1
  185. package/src/components/icons/AssociationsIcon.vue +1 -6
  186. package/src/components/icons/AssociationsIcon.vue.d.ts +1 -1
  187. package/src/components/icons/AxisIcon.vue.d.ts +1 -1
  188. package/src/components/icons/BoundingBoxIcon.vue +1 -6
  189. package/src/components/icons/BoundingBoxIcon.vue.d.ts +1 -1
  190. package/src/components/icons/CheckboxCheckedIcon.vue.d.ts +1 -1
  191. package/src/components/icons/CheckboxIcon.vue +1 -6
  192. package/src/components/icons/CheckboxIcon.vue.d.ts +1 -1
  193. package/src/components/icons/CheckboxIndeterminateIcon.vue.d.ts +1 -1
  194. package/src/components/icons/CircleIcon.vue +1 -6
  195. package/src/components/icons/CircleIcon.vue.d.ts +1 -1
  196. package/src/components/icons/ClippingHorizontalIcon.vue +1 -6
  197. package/src/components/icons/ClippingHorizontalIcon.vue.d.ts +1 -1
  198. package/src/components/icons/ClippingIcon.vue +1 -6
  199. package/src/components/icons/ClippingIcon.vue.d.ts +1 -1
  200. package/src/components/icons/ClippingVerticalIcon.vue +1 -6
  201. package/src/components/icons/ClippingVerticalIcon.vue.d.ts +1 -1
  202. package/src/components/icons/ColorPickerIcon.vue +1 -6
  203. package/src/components/icons/ColorPickerIcon.vue.d.ts +1 -1
  204. package/src/components/icons/ColorSwatchIcon.vue +1 -7
  205. package/src/components/icons/ColorSwatchIcon.vue.d.ts +1 -1
  206. package/src/components/icons/CommentIcon.vue +1 -6
  207. package/src/components/icons/CommentIcon.vue.d.ts +1 -1
  208. package/src/components/icons/CompassIcon.vue +1 -13
  209. package/src/components/icons/CompassIcon.vue.d.ts +1 -1
  210. package/src/components/icons/ComponentsIcon.vue +1 -6
  211. package/src/components/icons/ComponentsIcon.vue.d.ts +1 -1
  212. package/src/components/icons/ComponentsPlusIcon.vue +0 -1
  213. package/src/components/icons/ComponentsPlusIcon.vue.d.ts +1 -1
  214. package/src/components/icons/ConeIcon.vue +1 -13
  215. package/src/components/icons/ConeIcon.vue.d.ts +1 -1
  216. package/src/components/icons/CrosshairIcon.vue +0 -2
  217. package/src/components/icons/CrosshairIcon.vue.d.ts +1 -1
  218. package/src/components/icons/DimensionsHouseIcon.vue +1 -7
  219. package/src/components/icons/DimensionsHouseIcon.vue.d.ts +1 -1
  220. package/src/components/icons/EditIcon.vue +1 -6
  221. package/src/components/icons/EditIcon.vue.d.ts +1 -1
  222. package/src/components/icons/EditVerticesIcon.vue +1 -6
  223. package/src/components/icons/EditVerticesIcon.vue.d.ts +1 -1
  224. package/src/components/icons/ElevationProfileIcon.vue +1 -6
  225. package/src/components/icons/ElevationProfileIcon.vue.d.ts +1 -1
  226. package/src/components/icons/ExportAreaIcon.vue +1 -6
  227. package/src/components/icons/ExportAreaIcon.vue.d.ts +1 -1
  228. package/src/components/icons/ExportFlightIcon.vue +1 -6
  229. package/src/components/icons/ExportFlightIcon.vue.d.ts +1 -1
  230. package/src/components/icons/ExportIcon.vue +1 -13
  231. package/src/components/icons/ExportIcon.vue.d.ts +1 -1
  232. package/src/components/icons/ExternalLinkIcon.vue +1 -6
  233. package/src/components/icons/ExternalLinkIcon.vue.d.ts +1 -1
  234. package/src/components/icons/EyeIcon.vue +1 -6
  235. package/src/components/icons/EyeIcon.vue.d.ts +1 -1
  236. package/src/components/icons/FastForwardIcon.vue +1 -6
  237. package/src/components/icons/FastForwardIcon.vue.d.ts +1 -1
  238. package/src/components/icons/FilterIcon.vue +1 -7
  239. package/src/components/icons/FilterIcon.vue.d.ts +1 -1
  240. package/src/components/icons/GlobalTerrainIcon.vue +1 -6
  241. package/src/components/icons/GlobalTerrainIcon.vue.d.ts +1 -1
  242. package/src/components/icons/GlobeNatureIcon.vue +1 -6
  243. package/src/components/icons/GlobeNatureIcon.vue.d.ts +1 -1
  244. package/src/components/icons/GroundIcon.vue +1 -6
  245. package/src/components/icons/GroundIcon.vue.d.ts +1 -1
  246. package/src/components/icons/HealthCareIndustriesIcon.vue +1 -6
  247. package/src/components/icons/HealthCareIndustriesIcon.vue.d.ts +1 -1
  248. package/src/components/icons/HelpIcon.vue +1 -6
  249. package/src/components/icons/HelpIcon.vue.d.ts +1 -1
  250. package/src/components/icons/HideIcon.vue +1 -6
  251. package/src/components/icons/HideIcon.vue.d.ts +1 -1
  252. package/src/components/icons/HomePointIcon.vue +1 -6
  253. package/src/components/icons/HomePointIcon.vue.d.ts +1 -1
  254. package/src/components/icons/HospitalsIcon.vue +1 -6
  255. package/src/components/icons/HospitalsIcon.vue.d.ts +1 -1
  256. package/src/components/icons/HouseIcon.vue +1 -6
  257. package/src/components/icons/HouseIcon.vue.d.ts +1 -1
  258. package/src/components/icons/ImportIcon.vue +1 -7
  259. package/src/components/icons/ImportIcon.vue.d.ts +1 -1
  260. package/src/components/icons/InfoIcon.vue +1 -6
  261. package/src/components/icons/InfoIcon.vue.d.ts +1 -1
  262. package/src/components/icons/KebabIcon.vue +1 -7
  263. package/src/components/icons/KebabIcon.vue.d.ts +1 -1
  264. package/src/components/icons/LabelIcon.vue +1 -13
  265. package/src/components/icons/LabelIcon.vue.d.ts +1 -1
  266. package/src/components/icons/LayersIcon.vue +1 -7
  267. package/src/components/icons/LayersIcon.vue.d.ts +1 -1
  268. package/src/components/icons/LegendIcon.vue +1 -6
  269. package/src/components/icons/LegendIcon.vue.d.ts +1 -1
  270. package/src/components/icons/LineIcon.vue +1 -13
  271. package/src/components/icons/LineIcon.vue.d.ts +1 -1
  272. package/src/components/icons/LinkIcon.vue +1 -6
  273. package/src/components/icons/LinkIcon.vue.d.ts +1 -1
  274. package/src/components/icons/LogoutIcon.vue +1 -6
  275. package/src/components/icons/LogoutIcon.vue.d.ts +1 -1
  276. package/src/components/icons/MapIcon.vue +1 -7
  277. package/src/components/icons/MapIcon.vue.d.ts +1 -1
  278. package/src/components/icons/MenuIcon.vue +1 -7
  279. package/src/components/icons/MenuIcon.vue.d.ts +1 -1
  280. package/src/components/icons/MinusIcon.vue +1 -7
  281. package/src/components/icons/MinusIcon.vue.d.ts +1 -1
  282. package/src/components/icons/MultiViewIcon.vue +1 -7
  283. package/src/components/icons/MultiViewIcon.vue.d.ts +1 -1
  284. package/src/components/icons/ObjectAttributeIcon.vue +1 -7
  285. package/src/components/icons/ObjectAttributeIcon.vue.d.ts +1 -1
  286. package/src/components/icons/ObjectSelectIcon.vue +1 -7
  287. package/src/components/icons/ObjectSelectIcon.vue.d.ts +1 -1
  288. package/src/components/icons/ObliqueViewIcon.vue +1 -7
  289. package/src/components/icons/ObliqueViewIcon.vue.d.ts +1 -1
  290. package/src/components/icons/PdfIcon.vue +1 -7
  291. package/src/components/icons/PdfIcon.vue.d.ts +1 -1
  292. package/src/components/icons/PedestrianIcon.vue +1 -6
  293. package/src/components/icons/PedestrianIcon.vue.d.ts +1 -1
  294. package/src/components/icons/PenIcon.vue +1 -6
  295. package/src/components/icons/PenIcon.vue.d.ts +1 -1
  296. package/src/components/icons/PlayCircleIcon.vue +1 -6
  297. package/src/components/icons/PlayCircleIcon.vue.d.ts +1 -1
  298. package/src/components/icons/PlusIcon.vue +1 -7
  299. package/src/components/icons/PlusIcon.vue.d.ts +1 -1
  300. package/src/components/icons/PoiIcon.vue +1 -6
  301. package/src/components/icons/PoiIcon.vue.d.ts +1 -1
  302. package/src/components/icons/PointIcon.vue +1 -7
  303. package/src/components/icons/PointIcon.vue.d.ts +1 -1
  304. package/src/components/icons/PointMeasurementIcon.vue.d.ts +1 -1
  305. package/src/components/icons/PointSelectIcon.vue +1 -6
  306. package/src/components/icons/PointSelectIcon.vue.d.ts +1 -1
  307. package/src/components/icons/PresentationModeIcon.vue +1 -6
  308. package/src/components/icons/PresentationModeIcon.vue.d.ts +1 -1
  309. package/src/components/icons/ProgressIcon.vue +0 -1
  310. package/src/components/icons/ProgressIcon.vue.d.ts +1 -1
  311. package/src/components/icons/QueryIcon.vue +1 -6
  312. package/src/components/icons/QueryIcon.vue.d.ts +1 -1
  313. package/src/components/icons/RectangleIcon.vue +1 -13
  314. package/src/components/icons/RectangleIcon.vue.d.ts +1 -1
  315. package/src/components/icons/ReturnIcon.vue +1 -6
  316. package/src/components/icons/ReturnIcon.vue.d.ts +1 -1
  317. package/src/components/icons/RewindIcon.vue +1 -6
  318. package/src/components/icons/RewindIcon.vue.d.ts +1 -1
  319. package/src/components/icons/RotateLeftIcon.vue +1 -6
  320. package/src/components/icons/RotateLeftIcon.vue.d.ts +1 -1
  321. package/src/components/icons/RotateRightIcon.vue +1 -6
  322. package/src/components/icons/RotateRightIcon.vue.d.ts +1 -1
  323. package/src/components/icons/ScreenshotIcon.vue +1 -6
  324. package/src/components/icons/ScreenshotIcon.vue.d.ts +1 -1
  325. package/src/components/icons/SearchIcon.vue +1 -6
  326. package/src/components/icons/SearchIcon.vue.d.ts +1 -1
  327. package/src/components/icons/ShadowIcon.vue +1 -7
  328. package/src/components/icons/ShadowIcon.vue.d.ts +1 -1
  329. package/src/components/icons/ShapesIcon.vue +1 -6
  330. package/src/components/icons/ShapesIcon.vue.d.ts +1 -1
  331. package/src/components/icons/ShareIcon.vue +1 -6
  332. package/src/components/icons/ShareIcon.vue.d.ts +1 -1
  333. package/src/components/icons/SimpleCircleFilledIcon.vue +1 -6
  334. package/src/components/icons/SimpleCircleFilledIcon.vue.d.ts +1 -1
  335. package/src/components/icons/SimpleCircleHalfFilledIcon.vue +1 -6
  336. package/src/components/icons/SimpleCircleHalfFilledIcon.vue.d.ts +1 -1
  337. package/src/components/icons/SimpleCircleOutlinedIcon.vue +1 -6
  338. package/src/components/icons/SimpleCircleOutlinedIcon.vue.d.ts +1 -1
  339. package/src/components/icons/SkipNextIcon.vue +1 -6
  340. package/src/components/icons/SkipNextIcon.vue.d.ts +1 -1
  341. package/src/components/icons/SkipPreviousIcon.vue +1 -6
  342. package/src/components/icons/SkipPreviousIcon.vue.d.ts +1 -1
  343. package/src/components/icons/SplitViewIcon.vue +1 -6
  344. package/src/components/icons/SplitViewIcon.vue.d.ts +1 -1
  345. package/src/components/icons/TerrainBoxIcon.vue +1 -6
  346. package/src/components/icons/TerrainBoxIcon.vue.d.ts +1 -1
  347. package/src/components/icons/TextStyleIcon.vue +1 -7
  348. package/src/components/icons/TextStyleIcon.vue.d.ts +1 -1
  349. package/src/components/icons/ThreeDimensionsIcon.vue +1 -6
  350. package/src/components/icons/ThreeDimensionsIcon.vue.d.ts +1 -1
  351. package/src/components/icons/ToolsIcon.vue +1 -7
  352. package/src/components/icons/ToolsIcon.vue.d.ts +1 -1
  353. package/src/components/icons/TouchIcon.vue +1 -7
  354. package/src/components/icons/TouchIcon.vue.d.ts +1 -1
  355. package/src/components/icons/TransparentTerrainIcon.vue +0 -1
  356. package/src/components/icons/TransparentTerrainIcon.vue.d.ts +1 -1
  357. package/src/components/icons/TrashCanIcon.vue +1 -7
  358. package/src/components/icons/TrashCanIcon.vue.d.ts +1 -1
  359. package/src/components/icons/TriangleIcon.vue +1 -6
  360. package/src/components/icons/TriangleIcon.vue.d.ts +1 -1
  361. package/src/components/icons/TwoDimensionsIcon.vue +1 -7
  362. package/src/components/icons/TwoDimensionsIcon.vue.d.ts +1 -1
  363. package/src/components/icons/UploadIcon.vue +1 -6
  364. package/src/components/icons/UploadIcon.vue.d.ts +1 -1
  365. package/src/components/icons/UserProfileIcon.vue +1 -7
  366. package/src/components/icons/UserProfileIcon.vue.d.ts +1 -1
  367. package/src/components/icons/UserShareIcon.vue +1 -6
  368. package/src/components/icons/UserShareIcon.vue.d.ts +1 -1
  369. package/src/components/icons/VideoRecorderIcon.vue +1 -6
  370. package/src/components/icons/VideoRecorderIcon.vue.d.ts +1 -1
  371. package/src/components/icons/ViewpointFlightIcon.vue +1 -6
  372. package/src/components/icons/ViewpointFlightIcon.vue.d.ts +1 -1
  373. package/src/components/icons/ViewpointIcon.vue +1 -6
  374. package/src/components/icons/ViewpointIcon.vue.d.ts +1 -1
  375. package/src/components/icons/Viewshed360Icon.vue +1 -7
  376. package/src/components/icons/Viewshed360Icon.vue.d.ts +1 -1
  377. package/src/components/icons/ViewshedConeIcon.vue +1 -7
  378. package/src/components/icons/ViewshedConeIcon.vue.d.ts +1 -1
  379. package/src/components/icons/ViewshedIcon.vue +1 -7
  380. package/src/components/icons/ViewshedIcon.vue.d.ts +1 -1
  381. package/src/components/icons/WalkingIcon.vue +1 -6
  382. package/src/components/icons/WalkingIcon.vue.d.ts +1 -1
  383. package/src/components/icons/WallIcon.vue +1 -6
  384. package/src/components/icons/WallIcon.vue.d.ts +1 -1
  385. package/src/components/icons/WandIcon.vue +1 -6
  386. package/src/components/icons/WandIcon.vue.d.ts +1 -1
  387. package/src/components/import/{FileDrop.vue → VcsFileDrop.vue} +21 -10
  388. package/src/components/import/VcsFileDrop.vue.d.ts +37 -0
  389. package/src/components/import/{ImportComponent.vue → VcsImportComponent.vue} +24 -12
  390. package/src/components/import/{ImportComponent.vue.d.ts → VcsImportComponent.vue.d.ts} +6 -3
  391. package/src/components/lists/VcsActionList.vue +15 -27
  392. package/src/components/lists/VcsActionList.vue.d.ts +3 -3
  393. package/src/components/lists/VcsList.vue +159 -152
  394. package/src/components/lists/VcsList.vue.d.ts +20 -20
  395. package/src/components/lists/VcsTreeview.vue +56 -43
  396. package/src/components/lists/VcsTreeview.vue.d.ts +3 -5
  397. package/src/components/lists/VcsTreeviewLeaf.vue +76 -75
  398. package/src/components/lists/VcsTreeviewLeaf.vue.d.ts +5 -17
  399. package/src/components/lists/VcsTreeviewSearchbar.vue +39 -83
  400. package/src/components/lists/VcsTreeviewSearchbar.vue.d.ts +2 -20
  401. package/src/components/modelHelper.d.ts +25 -0
  402. package/src/components/modelHelper.js +88 -0
  403. package/src/components/notification/VcsBadge.vue +8 -6
  404. package/src/components/notification/VcsBadge.vue.d.ts +2 -2
  405. package/src/components/notification/VcsHelp.vue +19 -14
  406. package/src/components/notification/VcsHelp.vue.d.ts +2 -2
  407. package/src/components/notification/VcsTooltip.vue +4 -8
  408. package/src/components/notification/VcsTooltip.vue.d.ts +3 -3
  409. package/src/components/plugins/AbstractConfigEditor.vue +5 -5
  410. package/src/components/plugins/AbstractConfigEditor.vue.d.ts +2 -2
  411. package/src/components/style/MenuWrapper.vue +10 -11
  412. package/src/components/style/MenuWrapper.vue.d.ts +5 -5
  413. package/src/components/style/VcsFeatureStyleComponent.vue +1 -1
  414. package/src/components/style/VcsFeatureStyleComponent.vue.d.ts +7 -7
  415. package/src/components/style/VcsFillMenu.vue +5 -6
  416. package/src/components/style/VcsFillMenu.vue.d.ts +5 -5
  417. package/src/components/style/VcsFillSelector.vue +6 -7
  418. package/src/components/style/VcsFillSelector.vue.d.ts +5 -5
  419. package/src/components/style/VcsImageMenu.vue +13 -9
  420. package/src/components/style/VcsImageMenu.vue.d.ts +5 -5
  421. package/src/components/style/VcsImageSelector.vue +36 -32
  422. package/src/components/style/VcsImageSelector.vue.d.ts +11 -11
  423. package/src/components/style/VcsStrokeMenu.vue +6 -7
  424. package/src/components/style/VcsStrokeMenu.vue.d.ts +5 -5
  425. package/src/components/style/VcsStrokeSelector.vue +19 -13
  426. package/src/components/style/VcsStrokeSelector.vue.d.ts +5 -5
  427. package/src/components/style/VcsTextMenu.vue +9 -8
  428. package/src/components/style/VcsTextMenu.vue.d.ts +5 -5
  429. package/src/components/style/VcsTextSelector.vue +14 -11
  430. package/src/components/style/VcsTextSelector.vue.d.ts +10 -10
  431. package/src/components/style/VcsVectorStyleComponent.vue +4 -4
  432. package/src/components/style/VcsVectorStyleComponent.vue.d.ts +8 -8
  433. package/src/components/style/composables.js +4 -1
  434. package/src/components/tables/VcsDataTable.vue +152 -207
  435. package/src/components/tables/VcsDataTable.vue.d.ts +10 -36
  436. package/src/components/tables/VcsTable.vue +13 -18
  437. package/src/components/tables/VcsTable.vue.d.ts +4 -4
  438. package/src/components/vector-properties/VcsFeatureEditingWindow.vue +2 -2
  439. package/src/components/vector-properties/VcsFeatureEditingWindow.vue.d.ts +4 -4
  440. package/src/components/vector-properties/VcsFeatureTransforms.vue +5 -1
  441. package/src/components/vector-properties/VcsFeatureTransforms.vue.d.ts +2 -2
  442. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue +54 -47
  443. package/src/components/vector-properties/VcsVectorPropertiesComponent.vue.d.ts +7 -7
  444. package/src/components/vector-properties/composables.js +3 -3
  445. package/src/components/viewpoint/VcsViewpointComponent.vue +56 -104
  446. package/src/components/viewpoint/VcsViewpointComponent.vue.d.ts +14 -22
  447. package/src/components/viewpoint/VcsViewpointEditor.vue +2 -5
  448. package/src/components/viewpoint/VcsViewpointEditor.vue.d.ts +3 -3
  449. package/src/contentTree/LayerTree.vue +31 -10
  450. package/src/contentTree/LayerTree.vue.d.ts +3 -3
  451. package/src/contentTree/contentTreeCollection.d.ts +2 -2
  452. package/src/contentTree/contentTreeCollection.js +6 -8
  453. package/src/contentTree/contentTreeItem.d.ts +11 -11
  454. package/src/contentTree/contentTreeItem.js +8 -7
  455. package/src/contentTree/flightContentTreeItem.js +5 -4
  456. package/src/contentTree/viewpointContentTreeItem.d.ts +1 -1
  457. package/src/featureInfo/AddressBalloonComponent.vue +24 -26
  458. package/src/featureInfo/AddressBalloonComponent.vue.d.ts +1 -1
  459. package/src/featureInfo/BalloonComponent.vue +21 -29
  460. package/src/featureInfo/BalloonComponent.vue.d.ts +2 -2
  461. package/src/featureInfo/IframeComponent.vue.d.ts +2 -2
  462. package/src/featureInfo/MarkdownBalloonComponent.vue.d.ts +2 -2
  463. package/src/featureInfo/MarkdownComponent.vue +16 -0
  464. package/src/featureInfo/MarkdownComponent.vue.d.ts +7 -0
  465. package/src/featureInfo/abstractFeatureInfoView.d.ts +5 -5
  466. package/src/featureInfo/abstractFeatureInfoView.js +2 -2
  467. package/src/featureInfo/balloonFeatureInfoView.d.ts +2 -2
  468. package/src/featureInfo/balloonFeatureInfoView.js +1 -1
  469. package/src/featureInfo/featureInfo.js +2 -2
  470. package/src/featureInfo/markdownFeatureInfoView.js +1 -15
  471. package/src/i18n/de.d.ts +105 -0
  472. package/src/i18n/de.js +14 -5
  473. package/src/i18n/en.d.ts +105 -0
  474. package/src/i18n/en.js +14 -5
  475. package/src/init.js +10 -12
  476. package/src/legend/StyleLegendItem.vue +32 -28
  477. package/src/legend/StyleLegendItem.vue.d.ts +3 -2
  478. package/src/legend/VcsLegend.vue +19 -20
  479. package/src/legend/VcsLegend.vue.d.ts +8 -6
  480. package/src/legend/legendHelper.d.ts +2 -2
  481. package/src/legend/legendHelper.js +9 -8
  482. package/src/manager/buttonManager.d.ts +2 -2
  483. package/src/manager/buttonManager.js +6 -4
  484. package/src/manager/collectionManager/CollectionComponent.vue +30 -26
  485. package/src/manager/collectionManager/CollectionComponent.vue.d.ts +14 -2
  486. package/src/manager/collectionManager/CollectionComponentContent.vue +9 -11
  487. package/src/manager/collectionManager/CollectionComponentContent.vue.d.ts +1 -1
  488. package/src/manager/collectionManager/CollectionComponentList.vue +3 -3
  489. package/src/manager/collectionManager/CollectionComponentList.vue.d.ts +2 -2
  490. package/src/manager/collectionManager/CollectionComponentProvider.vue +1 -1
  491. package/src/manager/collectionManager/CollectionComponentProvider.vue.d.ts +2 -2
  492. package/src/manager/collectionManager/CollectionComponentStandalone.vue +1 -1
  493. package/src/manager/collectionManager/CollectionComponentStandalone.vue.d.ts +1 -1
  494. package/src/manager/collectionManager/CollectionManager.vue +11 -9
  495. package/src/manager/collectionManager/CollectionManager.vue.d.ts +1 -1
  496. package/src/manager/collectionManager/categoryManager.d.ts +2 -2
  497. package/src/manager/collectionManager/collectionComponentClass.d.ts +6 -6
  498. package/src/manager/collectionManager/collectionComponentClass.js +3 -3
  499. package/src/manager/collectionManager/collectionManager.d.ts +5 -4
  500. package/src/manager/collectionManager/collectionManager.js +4 -2
  501. package/src/manager/collectionManager/editorCollectionComponentClass.d.ts +1 -1
  502. package/src/manager/contextMenu/ContextMenuComponent.vue.d.ts +2 -2
  503. package/src/manager/panel/PanelComponent.vue.d.ts +2 -2
  504. package/src/manager/panel/PanelManagerComponent.vue +7 -5
  505. package/src/manager/panel/PanelManagerComponent.vue.d.ts +4 -4
  506. package/src/manager/panel/panelManager.d.ts +6 -6
  507. package/src/manager/panel/panelManager.js +4 -4
  508. package/src/manager/toolbox/GroupToolboxComponent.vue +10 -34
  509. package/src/manager/toolbox/GroupToolboxComponent.vue.d.ts +3 -4
  510. package/src/manager/toolbox/SelectToolboxComponent.vue +12 -58
  511. package/src/manager/toolbox/SelectToolboxComponent.vue.d.ts +2 -3
  512. package/src/manager/toolbox/ToolboxManager.vue +12 -38
  513. package/src/manager/toolbox/ToolboxManager.vue.d.ts +3 -2
  514. package/src/manager/toolbox/toolboxManager.d.ts +3 -3
  515. package/src/manager/toolbox/toolboxManager.js +2 -3
  516. package/src/manager/window/WindowComponent.vue +3 -2
  517. package/src/manager/window/WindowComponent.vue.d.ts +2 -2
  518. package/src/manager/window/WindowComponentHeader.vue +8 -4
  519. package/src/manager/window/WindowComponentHeader.vue.d.ts +3 -3
  520. package/src/manager/window/WindowManager.vue +4 -9
  521. package/src/manager/window/WindowManager.vue.d.ts +2 -2
  522. package/src/manager/window/windowManager.d.ts +52 -46
  523. package/src/manager/window/windowManager.js +33 -10
  524. package/src/navigation/MapNavCompass.vue.d.ts +3 -3
  525. package/src/navigation/MapNavigation.vue +11 -7
  526. package/src/navigation/MapNavigation.vue.d.ts +6 -3
  527. package/src/navigation/ObliqueRotation.vue +15 -17
  528. package/src/navigation/ObliqueRotation.vue.d.ts +5 -5
  529. package/src/navigation/OrientationToolsButton.vue +9 -4
  530. package/src/navigation/OrientationToolsButton.vue.d.ts +2 -2
  531. package/src/navigation/TiltSlider.vue +39 -42
  532. package/src/navigation/TiltSlider.vue.d.ts +5 -5
  533. package/src/navigation/VcsCompass.vue +15 -8
  534. package/src/navigation/VcsCompass.vue.d.ts +6 -6
  535. package/src/navigation/VcsZoomButton.vue +12 -14
  536. package/src/navigation/VcsZoomButton.vue.d.ts +2 -2
  537. package/src/navigation/locatorHelper.js +1 -1
  538. package/src/navigation/overviewMap.d.ts +1 -1
  539. package/src/navigation/overviewMap.js +3 -3
  540. package/src/notifier/NotifierComponent.vue +18 -21
  541. package/src/notifier/NotifierComponent.vue.d.ts +1 -1
  542. package/src/notifier/notifier.d.ts +2 -1
  543. package/src/notifier/notifier.js +6 -2
  544. package/src/search/ResultItem.vue +14 -13
  545. package/src/search/ResultItem.vue.d.ts +2 -2
  546. package/src/search/ResultsComponent.vue +13 -24
  547. package/src/search/ResultsComponent.vue.d.ts +2 -2
  548. package/src/search/SearchComponent.vue +16 -15
  549. package/src/search/SearchComponent.vue.d.ts +2 -2
  550. package/src/search/search.d.ts +2 -2
  551. package/src/search/search.js +6 -10
  552. package/src/setup.js +2 -2
  553. package/src/styles/_typography.scss +11 -7
  554. package/src/styles/main.scss +6 -3
  555. package/src/styles/settings.scss +6 -0
  556. package/src/styles/variables.scss +10 -8
  557. package/src/styles/vcsGrid.scss +0 -10
  558. package/src/styles/vcsList.scss +8 -0
  559. package/src/vcsUiApp.d.ts +128 -21
  560. package/src/vcsUiApp.js +53 -24
  561. package/src/vuePlugins/i18n.d.ts +8 -2
  562. package/src/vuePlugins/i18n.js +32 -11
  563. package/src/vuePlugins/vuetify.d.ts +79 -9
  564. package/src/vuePlugins/vuetify.js +173 -68
  565. package/dist/assets/index-2c09148f.js +0 -1
  566. package/dist/assets/ui.078e16.css +0 -5
  567. package/dist/assets/ui.078e16.js +0 -23835
  568. package/dist/assets/vue.007115.js +0 -4920
  569. package/dist/assets/vuetify.6ef1af.css +0 -5
  570. package/dist/assets/vuetify.6ef1af.js +0 -21263
  571. package/plugins/@vcmap-show-case/extent-example/src/ExtentExample.vue +0 -71
  572. package/src/components/form-inputs-controls/VcsRadioGrid.vue +0 -160
  573. package/src/components/form-inputs-controls/VcsRadioGrid.vue.d.ts +0 -35
  574. package/src/components/form-inputs-controls/composables.d.ts +0 -7
  575. package/src/components/form-inputs-controls/composables.js +0 -31
  576. package/src/components/import/FileDrop.vue.d.ts +0 -26
  577. package/src/styles/utils/_all.scss +0 -12
  578. package/src/styles/utils/_border.scss +0 -7
  579. package/src/styles/utils/_cursor.scss +0 -19
  580. package/src/styles/utils/_display.scss +0 -3
  581. package/src/styles/utils/_fade-in.scss +0 -8
  582. package/src/styles/utils/_position.scss +0 -38
  583. package/src/styles/utils/_size.scss +0 -79
  584. package/src/styles/utils/_slide-in.scss +0 -26
  585. package/src/styles/utils/_spacing.scss +0 -11
  586. package/src/styles/utils/_text.scss +0 -30
  587. package/src/styles/utils/_transform.scss +0 -11
  588. package/src/styles/utils/_transition.scss +0 -11
  589. package/src/styles/utils/_z-index.scss +0 -15
@@ -79,7 +79,7 @@ export const DefaultPanelPositions = {
79
79
  /**
80
80
  * @typedef {Object} PanelComponentOptions
81
81
  * @property {string} [id] - Optional id, which will be set as HTML container ID. If not provided an uuid will be generated.
82
- * @property {import("vue").Component} [component] Optional component to be rendered in the panel.
82
+ * @property {import("vue").Component<unknown, unknown, unknown>} [component] Optional component to be rendered in the panel.
83
83
  * @property {Partial<PanelState>} [state]
84
84
  * @property {Partial<VerticalPanelPositionOptions|HorizontalPanelPositionOptions>} [position] Will be merged with default position for panel
85
85
  * @property {Object} [props]
@@ -99,7 +99,7 @@ export const DefaultPanelPositions = {
99
99
  /**
100
100
  * @typedef {Object} PanelComponent
101
101
  * @property {string} id
102
- * @property {import("vue").Component} component
102
+ * @property {import("vue").Component<unknown, unknown, unknown>} component
103
103
  * @property {Partial<PanelState>} state
104
104
  * @property {Object} props
105
105
  * @property {Object} provides
@@ -151,9 +151,9 @@ class PanelManager {
151
151
  this.removed = new VcsEvent();
152
152
  /**
153
153
  * reactive ordered array of ids,
154
- * @type {Array<string>}
154
+ * @type {import("vue").UnwrapRef<string[]>}
155
155
  */
156
- this.componentIds = [];
156
+ this.componentIds = reactive([]);
157
157
  /**
158
158
  * @type {Map<PanelLocation, string>}
159
159
  * @private
@@ -2,12 +2,11 @@
2
2
  <div v-if="orderedButtons.length > 0">
3
3
  <v-menu
4
4
  v-model="open"
5
- @input="$emit('toggle', open)"
6
- offset-y
7
- :nudge-left="nudgeLeft"
5
+ @update:model-value="$emit('toggle', open)"
6
+ location="bottom center"
8
7
  z-index="0"
9
8
  >
10
- <template #activator="{ on, attrs }">
9
+ <template #activator="{ props }">
11
10
  <VcsToolButton
12
11
  class="vcs-toolbox-toggle-button"
13
12
  width="48"
@@ -16,8 +15,7 @@
16
15
  :tooltip="group.title"
17
16
  :active="open || hasActiveAction"
18
17
  :color="hasActiveAction ? 'primary' : ''"
19
- v-bind="attrs"
20
- v-on="on"
18
+ v-bind="props"
21
19
  >
22
20
  <v-icon>{{ open ? 'mdi-chevron-up' : 'mdi-chevron-down' }}</v-icon>
23
21
  </VcsToolButton>
@@ -25,13 +23,11 @@
25
23
 
26
24
  <v-toolbar
27
25
  id="vcs-toolbox-toolbar--secondary"
28
- class="vcs-toolbox-2 toolbar__secondary mx-auto v-sheet marginToTop"
26
+ class="mx-auto marginToTop px-1 rounded-b opacity-80 px-1"
29
27
  :height="40"
30
- width="fit-content"
31
- dense
32
28
  >
33
- <v-toolbar-items class="w-full">
34
- <div class="d-flex align-center justify-space-between w-full mx-1">
29
+ <v-toolbar-items class="w-100">
30
+ <div class="d-flex align-center justify-space-between w-100">
35
31
  <VcsToolButton
36
32
  v-for="{ id, action } in orderedButtons"
37
33
  :key="id"
@@ -48,20 +44,14 @@
48
44
  </v-menu>
49
45
  </div>
50
46
  </template>
51
- <style lang="scss">
52
- .vcs-toolbox-2 {
53
- .v-toolbar__content {
54
- padding: 0;
55
- }
56
- }
57
-
47
+ <style lang="scss" scoped>
58
48
  .marginToTop {
59
49
  margin-top: 3px;
60
50
  }
61
51
  </style>
62
52
  <script>
63
53
  import { computed, ref } from 'vue';
64
- import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/lib';
54
+ import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/components';
65
55
  import VcsToolButton from '../../components/buttons/VcsToolButton.vue';
66
56
  import { getComponentsByOrder } from './toolboxManager.js';
67
57
 
@@ -74,7 +64,6 @@
74
64
  * @vue-computed {Array<ButtonComponent>} buttons - Buttons of the group.
75
65
  * @vue-computed {Array<ButtonComponent>} orderedButtons - Buttons of the group sorted by owner.
76
66
  * @vue-computed {boolean} hasActiveAction - Whether the group has an active action.
77
- * @vue-computed {number} nudgeLeft - offset of the dropdown toolbar to the left
78
67
  */
79
68
  export default {
80
69
  name: 'ToolboxActionGroup',
@@ -96,8 +85,7 @@
96
85
 
97
86
  const buttons = computed(() => {
98
87
  const { buttonManager } = props.group;
99
- const buttonIds = ref(buttonManager.componentIds);
100
- return buttonIds.value.map((id) => buttonManager.get(id));
88
+ return buttonManager.componentIds.map((id) => buttonManager.get(id));
101
89
  });
102
90
  const orderedButtons = computed(() =>
103
91
  getComponentsByOrder(buttons.value),
@@ -106,21 +94,9 @@
106
94
  orderedButtons.value.some((a) => a.action.active),
107
95
  );
108
96
 
109
- /**
110
- * v-menu auto prop is not working as expected.
111
- * Workaround using hardcoded button sizes and paddings
112
- * @type {ComputedRef<number>}
113
- */
114
- const nudgeLeft = computed(() => {
115
- const toolboxBtnWidth = 42 + 8; // with padding
116
- const menuBtnWidth = 48;
117
- return buttons.value.length * (toolboxBtnWidth / 2) - menuBtnWidth / 2;
118
- });
119
-
120
97
  return {
121
98
  open,
122
99
  orderedButtons,
123
- nudgeLeft,
124
100
  hasActiveAction,
125
101
  };
126
102
  },
@@ -5,13 +5,12 @@ declare const _default: import("vue").DefineComponent<{
5
5
  };
6
6
  }, {
7
7
  open: import("vue").Ref<boolean>;
8
- orderedButtons: import("vue").ComputedRef<(import("../buttonManager.js").ButtonComponent | import("./toolboxManager.js").ToolboxComponent)[]>;
9
- nudgeLeft: ComputedRef<number>;
8
+ orderedButtons: import("vue").ComputedRef<(import("../buttonManager.js", { with: { "resolution-mode": "import" } }).ButtonComponent | import("./toolboxManager.js", { with: { "resolution-mode": "import" } }).ToolboxComponent)[]>;
10
9
  hasActiveAction: import("vue").ComputedRef<boolean>;
11
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
10
+ }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
12
11
  group: {
13
12
  type: ObjectConstructor;
14
13
  required: true;
15
14
  };
16
- }>>, {}>;
15
+ }>>, {}, {}>;
17
16
  export default _default;
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div
3
3
  v-if="group.action"
4
+ class="d-flex"
4
5
  :class="{ 'vcs-toolbox-action-select-button--active': open }"
5
- style="width: fit-content"
6
6
  >
7
7
  <VcsToolButton
8
8
  :key="group.action.tools[group.action.currentIndex].name"
@@ -19,17 +19,15 @@
19
19
  />
20
20
  <v-menu
21
21
  v-model="open"
22
- @input="$emit('toggle', open)"
23
- offset-y
24
- :nudge-left="nudgeLeft"
22
+ location="bottom center"
23
+ @update:model-value="$emit('toggle', open)"
25
24
  z-index="0"
26
25
  >
27
- <template #activator="{ on, attrs }">
26
+ <template #activator="{ props }">
28
27
  <VcsToolButton
29
28
  :tooltip="group.action.title"
30
29
  :disabled="group.action.disabled"
31
- v-bind="attrs"
32
- v-on="on"
30
+ v-bind="props"
33
31
  class="vcs-toolbox-action-select"
34
32
  :min-width="16"
35
33
  :width="16"
@@ -39,13 +37,12 @@
39
37
  </template>
40
38
 
41
39
  <v-toolbar
42
- class="vcs-toolbox-2 toolbar__secondary mx-auto v-sheet marginToTop justify-center"
40
+ class="vcs-toolbox-2 mx-auto marginToTop rounded-b opacity-80 px-1"
43
41
  :height="40"
44
- width="fit-content"
45
42
  dense
46
43
  >
47
- <v-toolbar-items class="w-full">
48
- <div class="d-flex align-center justify-space-between w-full mx-1">
44
+ <v-toolbar-items class="w-100">
45
+ <div class="d-flex align-center justify-space-between w-100">
49
46
  <VcsToolButton
50
47
  v-for="(item, index) in group.action.tools"
51
48
  :key="`${item.name}-${index}`"
@@ -61,48 +58,20 @@
61
58
  </v-menu>
62
59
  </div>
63
60
  </template>
64
- <style lang="scss">
65
- @import '../../styles/shades.scss';
66
-
67
- .vcs-toolbox-action-selected > .v-btn.vcs-button--large {
68
- max-width: 40px;
69
- }
70
-
71
- .vcs-toolbox-action-select > .v-btn.vcs-button--large {
72
- max-width: 8px;
73
- }
74
-
75
- .vcs-toolbox-action-select-button--active {
76
- //border: 2px solid var(--v-shades-base);
77
- border-radius: 4px;
78
- }
79
- .theme--light .vcs-toolbox-action-select-button--active {
80
- background: map-get($shades, 'white');
81
- }
82
- .theme--dark .vcs-toolbox-action-select-button--active {
83
- background: map-get($shades, 'black');
84
- }
85
-
86
- .vcs-toolbox-2 {
87
- .v-toolbar__content {
88
- padding: 0;
89
- }
90
- }
91
-
61
+ <style lang="scss" scoped>
92
62
  .marginToTop {
93
63
  margin-top: 3px;
94
64
  }
95
65
  </style>
96
66
  <script>
97
- import { ref, computed } from 'vue';
98
- import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/lib';
67
+ import { ref } from 'vue';
68
+ import { VMenu, VIcon, VToolbar, VToolbarItems } from 'vuetify/components';
99
69
  import VcsToolButton from '../../components/buttons/VcsToolButton.vue';
100
70
 
101
71
  /**
102
72
  * @description
103
73
  * A dynamic Toolbox Button rendering a selected item and a dropdown to select an item using {@link https://vuetifyjs.com/en/api/v-menu/|vuetify v-menu} and {@link VcsButton}.
104
74
  * @vue-prop {SelectToolboxComponent} group - A toolbox group of type 'select'.
105
- * @vue-computed {number} nudgeLeft - offset of the dropdown toolbar to the left
106
75
  */
107
76
  export default {
108
77
  name: 'ToolboxActionSelect',
@@ -119,26 +88,11 @@
119
88
  required: true,
120
89
  },
121
90
  },
122
- setup(props) {
91
+ setup() {
123
92
  const open = ref(false);
124
93
 
125
- /**
126
- * v-menu auto prop is not working as expected.
127
- * Workaround using hardcoded button sizes and paddings
128
- * @type {ComputedRef<number>}
129
- */
130
- const nudgeLeft = computed(() => {
131
- const toolboxBtnWidth = 42 + 8; // with padding
132
- const menuBtnWidth = 16;
133
- return (
134
- props.group.action.tools.length * (toolboxBtnWidth / 2) +
135
- menuBtnWidth / 2
136
- );
137
- });
138
-
139
94
  return {
140
95
  open,
141
- nudgeLeft,
142
96
  };
143
97
  },
144
98
  };
@@ -5,11 +5,10 @@ declare const _default: import("vue").DefineComponent<{
5
5
  };
6
6
  }, {
7
7
  open: import("vue").Ref<boolean>;
8
- nudgeLeft: ComputedRef<number>;
9
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
8
+ }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
9
  group: {
11
10
  type: ObjectConstructor;
12
11
  required: true;
13
12
  };
14
- }>>, {}>;
13
+ }>>, {}, {}>;
15
14
  export default _default;
@@ -1,22 +1,18 @@
1
1
  <template>
2
2
  <v-toolbar
3
- v-if="
4
- toolboxOpen && orderedGroups.length > 0 && $vuetify.breakpoint.mdAndUp
5
- "
6
- class="vcs-toolbox mx-auto v-sheet marginToTop"
3
+ v-if="toolboxOpen && orderedGroups.length > 0 && mdAndUp"
4
+ class="vcs-toolbox mx-auto marginToTop opacity-80"
7
5
  :class="{
8
6
  'rounded-b': !open,
9
- toolbar__secondary: !isDefaultToolbox,
10
7
  }"
11
8
  :height="40"
12
9
  :style="{ zIndex }"
13
10
  @click.stop="bringToTop"
14
- width="fit-content"
15
- dense
11
+ style="width: fit-content"
16
12
  >
17
- <v-toolbar-items class="w-full">
13
+ <v-toolbar-items class="w-100 px-4 gc-1">
18
14
  <div
19
- class="d-flex align-center justify-space-between w-full mx-1"
15
+ class="d-flex align-center justify-space-between w-100"
20
16
  v-for="group in orderedGroups"
21
17
  :key="group.id"
22
18
  >
@@ -46,40 +42,15 @@
46
42
  </template>
47
43
 
48
44
  <style lang="scss" scoped>
49
- .toolbar__secondary {
50
- position: absolute;
51
- top: 0;
52
- left: 0;
53
- right: 0;
54
- &.vcs-toolbox.theme {
55
- &--light {
56
- background-color: var(--v-primary-lighten3) !important;
57
- }
58
- &--dark {
59
- background-color: var(--v-primary-darken4) !important;
60
- }
61
- }
62
- &.v-toolbar {
63
- ::v-deep .v-toolbar__content {
64
- padding: 0;
65
- }
66
- }
67
- }
68
-
69
45
  .marginToTop {
70
46
  margin-top: 2px;
71
47
  }
72
-
73
- .v-toolbar__items > div {
74
- gap: 8px;
75
- width: fit-content;
76
- }
77
48
  </style>
78
49
 
79
50
  <script>
80
51
  import { inject, ref, computed, watch, onUnmounted } from 'vue';
81
- import { ButtonLocation, vcsAppSymbol } from '@vcmap/ui';
82
- import { VToolbar, VToolbarItems } from 'vuetify/lib';
52
+ import { useDisplay } from 'vuetify';
53
+ import { VToolbar, VToolbarItems } from 'vuetify/components';
83
54
  import {
84
55
  defaultToolboxName,
85
56
  getComponentsByOrder,
@@ -88,6 +59,8 @@
88
59
  import ToolboxActionSelect from './SelectToolboxComponent.vue';
89
60
  import ToolboxActionGroup from './GroupToolboxComponent.vue';
90
61
  import VcsToolButton from '../../components/buttons/VcsToolButton.vue';
62
+ import { vcsAppSymbol } from '../../pluginHelper.js';
63
+ import { ButtonLocation } from '../navbarManager.js';
91
64
 
92
65
  /**
93
66
  * @typedef {Object} ToolboxButtonGroup
@@ -122,9 +95,8 @@
122
95
  setup() {
123
96
  const app = inject('vcsApp');
124
97
 
125
- const toolboxComponentIds = ref(app.toolboxManager.componentIds);
126
98
  const groups = computed(() => {
127
- return toolboxComponentIds.value.map((id) =>
99
+ return app.toolboxManager.componentIds.map((id) =>
128
100
  app.toolboxManager.get(id),
129
101
  );
130
102
  });
@@ -210,7 +182,9 @@
210
182
  app.windowManager.bringWindowToTop('toolbox');
211
183
  };
212
184
 
185
+ const { mdAndUp } = useDisplay();
213
186
  return {
187
+ mdAndUp,
214
188
  toolboxOpen,
215
189
  orderedGroups,
216
190
  zIndex,
@@ -1,6 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
+ mdAndUp: import("vue").Ref<boolean>;
2
3
  toolboxOpen: import("vue").Ref<boolean>;
3
- orderedGroups: import("vue").ComputedRef<(import("../buttonManager.js").ButtonComponent | import("./toolboxManager.js").ToolboxComponent)[]>;
4
+ orderedGroups: import("vue").ComputedRef<(import("../buttonManager.js", { with: { "resolution-mode": "import" } }).ButtonComponent | import("./toolboxManager.js", { with: { "resolution-mode": "import" } }).ToolboxComponent)[]>;
4
5
  zIndex: any;
5
6
  isDefaultToolbox: import("vue").ComputedRef<boolean>;
6
7
  ToolboxType: {
@@ -11,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{}, {
11
12
  open: import("vue").Ref<boolean>;
12
13
  bringToTop: () => void;
13
14
  openGroup(group: any): void;
14
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
15
16
  export default _default;
16
17
  export type ToolboxButtonGroup = {
17
18
  id: string;
@@ -114,9 +114,9 @@ declare class ToolboxManager implements IToolboxManager {
114
114
  removed: import("@vcmap/core").VcsEvent<ToolboxComponent>;
115
115
  /**
116
116
  * reactive ordered array of ids,
117
- * @type {Array<string>}
117
+ * @type {import("vue").UnwrapRef<string[]>}
118
118
  */
119
- componentIds: Array<string>;
119
+ componentIds: import("vue").UnwrapRef<string[]>;
120
120
  /**
121
121
  * @type {Map<string, ToolboxComponent>}
122
122
  * @private
@@ -131,7 +131,7 @@ declare class ToolboxManager implements IToolboxManager {
131
131
  * @type {VcsEvent<string>}
132
132
  */
133
133
  toolboxNameChanged: VcsEvent<string>;
134
- set toolboxName(arg: string | symbol);
134
+ set toolboxName(name: string | symbol);
135
135
  get toolboxName(): string | symbol;
136
136
  setDefaultToolboxName(): void;
137
137
  /**
@@ -204,10 +204,9 @@ class ToolboxManager {
204
204
  this.removed = new VcsEvent();
205
205
  /**
206
206
  * reactive ordered array of ids,
207
- * @type {Array<string>}
207
+ * @type {import("vue").UnwrapRef<string[]>}
208
208
  */
209
- this.componentIds = [];
210
-
209
+ this.componentIds = reactive([]);
211
210
  /**
212
211
  * @type {Map<string, ToolboxComponent>}
213
212
  * @private
@@ -2,7 +2,7 @@
2
2
  <v-sheet
3
3
  :id="`window-component--${windowState.id}`"
4
4
  class="elevation-3 position-absolute d-flex flex-column"
5
- v-on="{ ...$listeners }"
5
+ v-bind="$attrs"
6
6
  @dragstart="dragStart"
7
7
  @dragend="dragEnd"
8
8
  :draggable="isDraggable"
@@ -45,7 +45,7 @@
45
45
 
46
46
  <script>
47
47
  import { computed, inject, provide, ref } from 'vue';
48
- import { VDivider, VSheet } from 'vuetify/lib';
48
+ import { VDivider, VSheet } from 'vuetify/components';
49
49
  import { WindowSlot } from './windowManager.js';
50
50
 
51
51
  /**
@@ -61,6 +61,7 @@
61
61
  */
62
62
  export default {
63
63
  name: 'WindowComponent',
64
+ inheritAttrs: false,
64
65
  components: {
65
66
  VSheet,
66
67
  VDivider,
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
22
22
  dragStart: (e: DragEvent) => void;
23
23
  dragEnd: (endEvent: DragEvent) => void;
24
24
  mousedown: (e: MouseEvent) => void;
25
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
25
+ }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
26
26
  windowState: {
27
27
  type: ObjectConstructor;
28
28
  required: true;
@@ -36,5 +36,5 @@ declare const _default: import("vue").DefineComponent<{
36
36
  type: ObjectConstructor;
37
37
  required: true;
38
38
  };
39
- }>>, {}>;
39
+ }>>, {}, {}>;
40
40
  export default _default;
@@ -24,7 +24,7 @@
24
24
  :actions="windowState.headerActions"
25
25
  :overflow-count="windowState.headerActionsOverflow ?? 3"
26
26
  />
27
- <v-divider vertical inset class="mx-1" />
27
+ <v-divider vertical inset class="mx-1 my-1" />
28
28
  </template>
29
29
  <VcsButton
30
30
  v-if="infoAction"
@@ -61,10 +61,13 @@
61
61
  margin-top: 2px;
62
62
  }
63
63
  }
64
+ .user-select-none {
65
+ user-select: none;
66
+ }
64
67
  </style>
65
68
 
66
69
  <script>
67
- import { VIcon, VDivider } from 'vuetify/lib';
70
+ import { VIcon, VDivider } from 'vuetify/components';
68
71
  import { computed, getCurrentInstance } from 'vue';
69
72
  import VcsButton from '../../components/buttons/VcsButton.vue';
70
73
  import VcsActionButtonList from '../../components/buttons/VcsActionButtonList.vue';
@@ -86,6 +89,7 @@
86
89
  VIcon,
87
90
  VDivider,
88
91
  },
92
+ inheritAttrs: false,
89
93
  props: {
90
94
  windowState: {
91
95
  type: Object,
@@ -116,8 +120,8 @@
116
120
 
117
121
  const translatedHeaderTitle = computed(() =>
118
122
  Array.isArray(props.windowState.headerTitle)
119
- ? props.windowState.headerTitle.map((t) => vm.$t(t)).join(' ')
120
- : vm.$t(props.windowState.headerTitle),
123
+ ? props.windowState.headerTitle.map((t) => vm.$st(t)).join(' ')
124
+ : vm.$st(props.windowState.headerTitle),
121
125
  );
122
126
 
123
127
  const infoAction =
@@ -17,8 +17,8 @@ declare const _default: import("vue").DefineComponent<{
17
17
  close: () => void;
18
18
  isDockable: import("vue").ComputedRef<any>;
19
19
  translatedHeaderTitle: import("vue").ComputedRef<any>;
20
- infoAction: import("../../actions/actionHelper.js").VcsAction | undefined;
21
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
20
+ infoAction: import("../../actions/actionHelper.js", { with: { "resolution-mode": "import" } }).VcsAction | undefined;
21
+ }, any, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
22
  windowState: {
23
23
  type: ObjectConstructor;
24
24
  required: true;
@@ -32,5 +32,5 @@ declare const _default: import("vue").DefineComponent<{
32
32
  type: ObjectConstructor;
33
33
  required: true;
34
34
  };
35
- }>>, {}>;
35
+ }>>, {}, {}>;
36
36
  export default _default;
@@ -56,8 +56,8 @@
56
56
  </style>
57
57
 
58
58
  <script>
59
- import { computed, getCurrentInstance, inject, onUnmounted, ref } from 'vue';
60
-
59
+ import { computed, inject, onUnmounted, ref } from 'vue';
60
+ import { useDisplay } from 'vuetify';
61
61
  import WindowComponent from './WindowComponent.vue';
62
62
  import WindowComponentHeader from './WindowComponentHeader.vue';
63
63
  import BalloonComponent from '../../featureInfo/BalloonComponent.vue';
@@ -161,13 +161,8 @@
161
161
  moveWindow(id, translation, windowManager, targetSize.value, position);
162
162
  };
163
163
 
164
- const componentIdRef = ref(componentIds);
165
-
166
164
  const addMobileClass = computed(() => {
167
- return (
168
- getCurrentInstance().proxy.$vuetify.breakpoint.xs &&
169
- componentIdRef.value.length > 0
170
- );
165
+ return useDisplay().xs.value && componentIds.length > 0;
171
166
  });
172
167
 
173
168
  const setTargetSize = () => {
@@ -183,7 +178,7 @@
183
178
  });
184
179
 
185
180
  return {
186
- componentIds: componentIdRef,
181
+ componentIds,
187
182
  getComponent: (id) => windowManager.get(id).component,
188
183
  getHeaderComponent: (id) =>
189
184
  windowManager.get(id).headerComponent || WindowComponentHeader,
@@ -14,6 +14,6 @@ declare const _default: import("vue").DefineComponent<{}, {
14
14
  dx: number;
15
15
  dy: number;
16
16
  }) => void;
17
- addMobileClass: import("vue").ComputedRef<any>;
18
- }, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
17
+ addMobileClass: import("vue").ComputedRef<boolean>;
18
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
19
19
  export default _default;