qwc2 2025.3.31

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 (528) hide show
  1. package/LICENSE +28 -0
  2. package/README.md +68 -0
  3. package/actions/display.js +7 -0
  4. package/actions/editing.js +7 -0
  5. package/actions/layerinfo.js +7 -0
  6. package/actions/layers.js +8 -0
  7. package/actions/localConfig.js +7 -0
  8. package/actions/locale.js +10 -0
  9. package/actions/locate.js +8 -0
  10. package/actions/logging.js +7 -0
  11. package/actions/map.js +15 -0
  12. package/actions/measurement.js +8 -0
  13. package/actions/processNotifications.js +7 -0
  14. package/actions/redlining.js +7 -0
  15. package/actions/redliningPick.js +7 -0
  16. package/actions/serviceinfo.js +7 -0
  17. package/actions/task.js +9 -0
  18. package/actions/theme.js +24 -0
  19. package/actions/windows.js +10 -0
  20. package/components/AppMenu.js +8 -0
  21. package/components/AttributeForm.js +34 -0
  22. package/components/AutoEditForm.js +8 -0
  23. package/components/CoordinateDisplayer.js +7 -0
  24. package/components/EditComboField.js +10 -0
  25. package/components/EditUploadField.js +8 -0
  26. package/components/FullscreenSwitcher.js +8 -0
  27. package/components/Icon.js +7 -0
  28. package/components/IdentifyViewer.js +16 -0
  29. package/components/ImportLayer.js +25 -0
  30. package/components/LayerInfoWindow.js +7 -0
  31. package/components/LinkFeatureForm.js +10 -0
  32. package/components/MapSelection.js +13 -0
  33. package/components/NumericInputWindow.js +7 -0
  34. package/components/PickFeature.js +7 -0
  35. package/components/PluginsContainer.js +8 -0
  36. package/components/PrintSelection.js +54 -0
  37. package/components/QtDesignerForm.js +30 -0
  38. package/components/ResizeableWindow.js +12 -0
  39. package/components/SearchBox.js +26 -0
  40. package/components/ServiceInfoWindow.js +7 -0
  41. package/components/SideBar.js +9 -0
  42. package/components/StandardApp.js +35 -0
  43. package/components/Swipeable.js +1 -0
  44. package/components/TaskBar.js +7 -0
  45. package/components/ThemeLayersListWindow.js +9 -0
  46. package/components/ThemeList.js +12 -0
  47. package/components/Toolbar.js +7 -0
  48. package/components/WindowManager.js +7 -0
  49. package/components/map/OlLayer.js +12 -0
  50. package/components/map/OlLocate.css +56 -0
  51. package/components/map/OlLocate.js +17 -0
  52. package/components/map/OlMap.js +11 -0
  53. package/components/map/layers/BingLayer.js +8 -0
  54. package/components/map/layers/GoogleLayer.js +27 -0
  55. package/components/map/layers/GraticuleLayer.js +8 -0
  56. package/components/map/layers/ImageLayer.js +8 -0
  57. package/components/map/layers/MVTLayer.js +7 -0
  58. package/components/map/layers/OSMLayer.js +8 -0
  59. package/components/map/layers/OverlayLayer.js +10 -0
  60. package/components/map/layers/VectorLayer.js +14 -0
  61. package/components/map/layers/WFSLayer.js +11 -0
  62. package/components/map/layers/WMSLayer.js +11 -0
  63. package/components/map/layers/WMTSLayer.js +9 -0
  64. package/components/map/layers/XYZLayer.js +7 -0
  65. package/components/map/layers/index.js +8 -0
  66. package/components/map3d/BottomBar3D.js +7 -0
  67. package/components/map3d/Compare3D.js +12 -0
  68. package/components/map3d/Draw3D.js +10 -0
  69. package/components/map3d/ExportObjects3D.js +17 -0
  70. package/components/map3d/HeightProfile3D.js +8 -0
  71. package/components/map3d/HideObjects3D.js +12 -0
  72. package/components/map3d/Identify3D.js +13 -0
  73. package/components/map3d/LayerTree3D.js +8 -0
  74. package/components/map3d/Map3D.js +29 -0
  75. package/components/map3d/Map3DLight.js +10 -0
  76. package/components/map3d/MapControls3D.js +20 -0
  77. package/components/map3d/MapExport3D.js +11 -0
  78. package/components/map3d/Measure3D.js +23 -0
  79. package/components/map3d/OverviewMap3D.js +9 -0
  80. package/components/map3d/SearchField3D.js +16 -0
  81. package/components/map3d/TopBar3D.js +7 -0
  82. package/components/map3d/View3DSwitcher.js +7 -0
  83. package/components/map3d/drawtool/CreateTool3D.js +9 -0
  84. package/components/map3d/drawtool/EditTool3D.js +9 -0
  85. package/components/map3d/drawtool/NumericInput3D.js +7 -0
  86. package/components/map3d/img/viewcone.svg +124 -0
  87. package/components/map3d/layers/VectorLayer3D.js +7 -0
  88. package/components/map3d/layers/WFSLayer3D.js +8 -0
  89. package/components/map3d/layers/WMSLayer3D.js +7 -0
  90. package/components/map3d/layers/WMTSLayer3D.js +9 -0
  91. package/components/map3d/layers/index.js +8 -0
  92. package/components/map3d/models/arrow.glb +0 -0
  93. package/components/map3d/models/pin.glb +0 -0
  94. package/components/map3d/slices/map3d.js +1 -0
  95. package/components/map3d/style/BottomBar3D.css +67 -0
  96. package/components/map3d/style/Compare3D.css +57 -0
  97. package/components/map3d/style/Draw3D.css +7 -0
  98. package/components/map3d/style/HideObjects3D.css +29 -0
  99. package/components/map3d/style/LayerTree3D.css +126 -0
  100. package/components/map3d/style/Map3D.css +42 -0
  101. package/components/map3d/style/Map3DLight.css +72 -0
  102. package/components/map3d/style/MapControls3D.css +56 -0
  103. package/components/map3d/style/MapExport3D.css +25 -0
  104. package/components/map3d/style/OverviewMap3D.css +37 -0
  105. package/components/map3d/style/SearchField3D.css +7 -0
  106. package/components/map3d/style/View3DSwitcher.css +27 -0
  107. package/components/map3d/utils/Tiles3DStyle.js +1 -0
  108. package/components/share/ShareLink.js +7 -0
  109. package/components/share/ShareQRCode.js +8 -0
  110. package/components/share/ShareSocials.js +9 -0
  111. package/components/share/style/ShareLink.css +13 -0
  112. package/components/share/style/ShareSocials.css +9 -0
  113. package/components/style/App.css +229 -0
  114. package/components/style/AppMenu.css +162 -0
  115. package/components/style/AttributeForm.css +57 -0
  116. package/components/style/AutoEditForm.css +64 -0
  117. package/components/style/DefaultColorScheme.css +60 -0
  118. package/components/style/EditUploadField.css +103 -0
  119. package/components/style/FullscreenSwitcher.css +25 -0
  120. package/components/style/Icon.css +26 -0
  121. package/components/style/IdentifyViewer.css +249 -0
  122. package/components/style/ImportLayer.css +28 -0
  123. package/components/style/LayerInfoWindow.css +46 -0
  124. package/components/style/LinkFeatureForm.css +48 -0
  125. package/components/style/NumericInputWindow.css +11 -0
  126. package/components/style/PickFeature.css +25 -0
  127. package/components/style/PluginsContainer.css +4 -0
  128. package/components/style/QtDesignerForm.css +225 -0
  129. package/components/style/ResizeableWindow.css +178 -0
  130. package/components/style/SearchBox.css +159 -0
  131. package/components/style/ServiceInfoWindow.css +34 -0
  132. package/components/style/SideBar.css +100 -0
  133. package/components/style/TaskBar.css +35 -0
  134. package/components/style/ThemeLayersListWindow.css +47 -0
  135. package/components/style/ThemeList.css +200 -0
  136. package/components/style/Toolbar.css +20 -0
  137. package/components/style/WindowManager.css +50 -0
  138. package/components/timeline/FixedTimeline.js +10 -0
  139. package/components/timeline/InfiniteTimeline.js +13 -0
  140. package/components/timeline/TimelineFeaturesSlider.js +10 -0
  141. package/components/timeline/style/FixedTimeline.css +76 -0
  142. package/components/timeline/style/InfiniteTimeline.css +94 -0
  143. package/components/timeline/style/TimelineFeaturesSlider.css +131 -0
  144. package/components/widgets/AccordeonWidget.js +7 -0
  145. package/components/widgets/ButtonBar.js +7 -0
  146. package/components/widgets/ColorButton.js +8 -0
  147. package/components/widgets/ComboBox.js +7 -0
  148. package/components/widgets/CopyButton.js +7 -0
  149. package/components/widgets/DateTimeInput.js +8 -0
  150. package/components/widgets/EditableSelect.js +8 -0
  151. package/components/widgets/FileSelector.js +9 -0
  152. package/components/widgets/Input.js +7 -0
  153. package/components/widgets/InputContainer.js +7 -0
  154. package/components/widgets/LayerCatalogWidget.js +3 -0
  155. package/components/widgets/MenuButton.js +1 -0
  156. package/components/widgets/ModalDialog.js +7 -0
  157. package/components/widgets/NavBar.js +7 -0
  158. package/components/widgets/NumberInput.js +9 -0
  159. package/components/widgets/PopupMenu.js +1 -0
  160. package/components/widgets/Primitives.js +7 -0
  161. package/components/widgets/ReCaptchaWidget.js +1 -0
  162. package/components/widgets/SearchWidget.js +7 -0
  163. package/components/widgets/Spinner.js +6 -0
  164. package/components/widgets/SuggestionInput.js +7 -0
  165. package/components/widgets/TextInput.js +7 -0
  166. package/components/widgets/ToggleSwitch.js +7 -0
  167. package/components/widgets/VectorLayerPicker.js +8 -0
  168. package/components/widgets/style/AccordeonWidget.css +22 -0
  169. package/components/widgets/style/ButtonBar.css +88 -0
  170. package/components/widgets/style/ColorButton.css +88 -0
  171. package/components/widgets/style/ComboBox.css +83 -0
  172. package/components/widgets/style/CopyButton.css +21 -0
  173. package/components/widgets/style/EditableSelect.css +47 -0
  174. package/components/widgets/style/FileSelector.css +14 -0
  175. package/components/widgets/style/InputContainer.css +34 -0
  176. package/components/widgets/style/LayerCatalogWidget.css +59 -0
  177. package/components/widgets/style/MenuButton.css +122 -0
  178. package/components/widgets/style/ModalDialog.css +50 -0
  179. package/components/widgets/style/NavBar.css +12 -0
  180. package/components/widgets/style/NumberInput.css +76 -0
  181. package/components/widgets/style/SearchWidget.css +43 -0
  182. package/components/widgets/style/Spinner.css +32 -0
  183. package/components/widgets/style/SuggestionInput.css +8 -0
  184. package/components/widgets/style/TextInput.css +94 -0
  185. package/components/widgets/style/ToggleSwitch.css +61 -0
  186. package/components/widgets/style/VectorLayerPicker.css +3 -0
  187. package/icons/2d.svg +70 -0
  188. package/icons/3d.svg +70 -0
  189. package/icons/3d2d.svg +92 -0
  190. package/icons/after.svg +76 -0
  191. package/icons/arrow-down.svg +60 -0
  192. package/icons/arrow-up.svg +60 -0
  193. package/icons/before.svg +76 -0
  194. package/icons/bglayer.svg +71 -0
  195. package/icons/bookmark.svg +170 -0
  196. package/icons/box.svg +63 -0
  197. package/icons/buffer.svg +67 -0
  198. package/icons/camera.svg +118 -0
  199. package/icons/catalog.svg +62 -0
  200. package/icons/checked.svg +80 -0
  201. package/icons/chevron-down.svg +60 -0
  202. package/icons/chevron-left.svg +59 -0
  203. package/icons/chevron-right.svg +60 -0
  204. package/icons/chevron-up.svg +60 -0
  205. package/icons/circle.svg +70 -0
  206. package/icons/clear.svg +62 -0
  207. package/icons/clock.svg +71 -0
  208. package/icons/cog.svg +60 -0
  209. package/icons/collapse.svg +73 -0
  210. package/icons/compare.svg +72 -0
  211. package/icons/cone.svg +58 -0
  212. package/icons/confirm.svg +62 -0
  213. package/icons/copy.svg +60 -0
  214. package/icons/cuboid.svg +58 -0
  215. package/icons/cyclomedia.svg +47 -0
  216. package/icons/cylinder.svg +58 -0
  217. package/icons/dataimport.svg +116 -0
  218. package/icons/detach.svg +79 -0
  219. package/icons/dock.svg +82 -0
  220. package/icons/dock_bottom.svg +82 -0
  221. package/icons/dock_left.svg +84 -0
  222. package/icons/dock_right.svg +84 -0
  223. package/icons/dock_top.svg +84 -0
  224. package/icons/draw.svg +78 -0
  225. package/icons/editdraw.svg +84 -0
  226. package/icons/edited.svg +78 -0
  227. package/icons/editing.svg +118 -0
  228. package/icons/ellipse.svg +72 -0
  229. package/icons/embed.svg +88 -0
  230. package/icons/expand.svg +73 -0
  231. package/icons/export.svg +126 -0
  232. package/icons/eye.svg +127 -0
  233. package/icons/featureform.svg +115 -0
  234. package/icons/fill.svg +62 -0
  235. package/icons/filter.svg +69 -0
  236. package/icons/folder-open.svg +60 -0
  237. package/icons/freehand.svg +82 -0
  238. package/icons/group.svg +76 -0
  239. package/icons/home.svg +60 -0
  240. package/icons/identify_radius.svg +71 -0
  241. package/icons/identify_region.svg +71 -0
  242. package/icons/import.svg +62 -0
  243. package/icons/info-sign.svg +60 -0
  244. package/icons/info.svg +80 -0
  245. package/icons/layers.svg +71 -0
  246. package/icons/light.svg +77 -0
  247. package/icons/line.svg +61 -0
  248. package/icons/line_buffer.svg +65 -0
  249. package/icons/link.svg +75 -0
  250. package/icons/list-alt.svg +111 -0
  251. package/icons/lock.svg +54 -0
  252. package/icons/login.svg +56 -0
  253. package/icons/logout.svg +56 -0
  254. package/icons/map3d.svg +51 -0
  255. package/icons/maximize.svg +84 -0
  256. package/icons/measure.svg +82 -0
  257. package/icons/measure_line.svg +87 -0
  258. package/icons/measure_polygon.svg +88 -0
  259. package/icons/menu-hamburger.svg +60 -0
  260. package/icons/minimize.svg +76 -0
  261. package/icons/minus-sign.svg +60 -0
  262. package/icons/minus.svg +61 -0
  263. package/icons/nav-end.svg +74 -0
  264. package/icons/nav-left.svg +74 -0
  265. package/icons/nav-right.svg +74 -0
  266. package/icons/nav-start.svg +73 -0
  267. package/icons/new.svg +84 -0
  268. package/icons/nodetool.svg +68 -0
  269. package/icons/numericinput.svg +86 -0
  270. package/icons/ok.svg +60 -0
  271. package/icons/open.svg +79 -0
  272. package/icons/open_link.svg +74 -0
  273. package/icons/paint.svg +75 -0
  274. package/icons/pen.svg +41 -0
  275. package/icons/person.svg +44 -0
  276. package/icons/pick.svg +67 -0
  277. package/icons/pick_point.svg +74 -0
  278. package/icons/pick_region.svg +71 -0
  279. package/icons/plus.svg +60 -0
  280. package/icons/point.svg +67 -0
  281. package/icons/point_buffer.svg +74 -0
  282. package/icons/polygon.svg +61 -0
  283. package/icons/print.svg +60 -0
  284. package/icons/pyramid.svg +58 -0
  285. package/icons/radio_checked.svg +78 -0
  286. package/icons/radio_tristate.svg +75 -0
  287. package/icons/radio_unchecked.svg +72 -0
  288. package/icons/rasterexport.svg +124 -0
  289. package/icons/rect.svg +63 -0
  290. package/icons/refresh.svg +44 -0
  291. package/icons/remove.svg +60 -0
  292. package/icons/report.svg +84 -0
  293. package/icons/routing-bicycle.svg +40 -0
  294. package/icons/routing-bus.svg +40 -0
  295. package/icons/routing-cablecar.svg +40 -0
  296. package/icons/routing-car.svg +40 -0
  297. package/icons/routing-ship.svg +40 -0
  298. package/icons/routing-train.svg +40 -0
  299. package/icons/routing-tram.svg +40 -0
  300. package/icons/routing-truck.svg +40 -0
  301. package/icons/routing-walking.svg +40 -0
  302. package/icons/routing.svg +68 -0
  303. package/icons/save.svg +190 -0
  304. package/icons/scale.svg +62 -0
  305. package/icons/screenshot.svg +60 -0
  306. package/icons/search.svg +60 -0
  307. package/icons/selectbox.svg +79 -0
  308. package/icons/share.svg +64 -0
  309. package/icons/snap_edge.svg +79 -0
  310. package/icons/snap_vertex.svg +79 -0
  311. package/icons/sphere.svg +58 -0
  312. package/icons/square.svg +68 -0
  313. package/icons/sync.svg +72 -0
  314. package/icons/text.svg +68 -0
  315. package/icons/themes.svg +81 -0
  316. package/icons/tilt-down.svg +67 -0
  317. package/icons/tilt-left.svg +48 -0
  318. package/icons/tilt-right.svg +48 -0
  319. package/icons/tilt-up.svg +67 -0
  320. package/icons/today.svg +45 -0
  321. package/icons/tools.svg +77 -0
  322. package/icons/transformtool.svg +74 -0
  323. package/icons/transparency.svg +132 -0
  324. package/icons/trash.svg +60 -0
  325. package/icons/tree_minus.svg +81 -0
  326. package/icons/tree_plus.svg +81 -0
  327. package/icons/triangle-down.svg +59 -0
  328. package/icons/triangle-left.svg +60 -0
  329. package/icons/triangle-right.svg +60 -0
  330. package/icons/triangle-up.svg +59 -0
  331. package/icons/tristate.svg +79 -0
  332. package/icons/unchecked.svg +74 -0
  333. package/icons/undock.svg +82 -0
  334. package/icons/undock_bottom.svg +82 -0
  335. package/icons/undock_left.svg +82 -0
  336. package/icons/undock_right.svg +84 -0
  337. package/icons/undock_top.svg +84 -0
  338. package/icons/unmaximize.svg +84 -0
  339. package/icons/unminimize.svg +76 -0
  340. package/icons/up-down-arrow.svg +66 -0
  341. package/icons/warning.svg +72 -0
  342. package/icons/wedge.svg +58 -0
  343. package/icons/zoom.svg +60 -0
  344. package/icons/zoomin.svg +71 -0
  345. package/icons/zoomout.svg +80 -0
  346. package/libs/openlayers.js +11 -0
  347. package/package.json +135 -0
  348. package/plugins/API.js +114 -0
  349. package/plugins/AttributeTable.js +25 -0
  350. package/plugins/Authentication.js +13 -0
  351. package/plugins/BackgroundSwitcher.js +10 -0
  352. package/plugins/Bookmark.js +13 -0
  353. package/plugins/BottomBar.js +10 -0
  354. package/plugins/CookiePopup.js +9 -0
  355. package/plugins/Cyclomedia.js +11 -0
  356. package/plugins/Editing.js +21 -0
  357. package/plugins/FeatureForm.js +21 -0
  358. package/plugins/FeatureSearch.js +11 -0
  359. package/plugins/GeometryDigitizer.js +43 -0
  360. package/plugins/HeightProfile.js +26 -0
  361. package/plugins/Help.js +11 -0
  362. package/plugins/HomeButton.js +9 -0
  363. package/plugins/Identify.js +18 -0
  364. package/plugins/LayerCatalog.js +45 -0
  365. package/plugins/LayerTree.js +15 -0
  366. package/plugins/LocateButton.js +10 -0
  367. package/plugins/Map.js +22 -0
  368. package/plugins/MapCompare.js +11 -0
  369. package/plugins/MapCopyright.js +11 -0
  370. package/plugins/MapExport.js +23 -0
  371. package/plugins/MapFilter.js +20 -0
  372. package/plugins/MapInfoTooltip.js +32 -0
  373. package/plugins/MapLegend.js +14 -0
  374. package/plugins/MapTip.js +15 -0
  375. package/plugins/Measure.js +10 -0
  376. package/plugins/NewsPopup.js +12 -0
  377. package/plugins/Panoramax.js +10 -0
  378. package/plugins/Portal.js +10 -0
  379. package/plugins/Print.js +22 -0
  380. package/plugins/ProcessNotifications.js +11 -0
  381. package/plugins/Redlining.js +12 -0
  382. package/plugins/Reports.js +15 -0
  383. package/plugins/Routing.js +23 -0
  384. package/plugins/ScratchDrawing.js +15 -0
  385. package/plugins/Settings.js +12 -0
  386. package/plugins/Share.js +11 -0
  387. package/plugins/StartupMarker.js +12 -0
  388. package/plugins/TaskButton.js +9 -0
  389. package/plugins/ThemeSwitcher.js +10 -0
  390. package/plugins/TimeManager.js +21 -0
  391. package/plugins/TopBar.js +13 -0
  392. package/plugins/ValueTool.js +11 -0
  393. package/plugins/View3D.js +34 -0
  394. package/plugins/ZoomButtons.js +11 -0
  395. package/plugins/map/EditingSupport.js +13 -0
  396. package/plugins/map/LocateSupport.js +14 -0
  397. package/plugins/map/MeasurementSupport.js +15 -0
  398. package/plugins/map/OverviewSupport.js +14 -0
  399. package/plugins/map/RedliningPickSupport.js +12 -0
  400. package/plugins/map/RedliningSupport.js +28 -0
  401. package/plugins/map/ScaleBarSupport.js +10 -0
  402. package/plugins/map/SnapInteraction.js +1 -0
  403. package/plugins/map/SnapSupport.js +7 -0
  404. package/plugins/map/SnappingSupport.js +23 -0
  405. package/plugins/map/style/OverviewSupport.css +42 -0
  406. package/plugins/map/style/ScaleBarSupport.css +18 -0
  407. package/plugins/map/style/SnappingSupport.css +33 -0
  408. package/plugins/redlining/RedliningBufferSupport.js +8 -0
  409. package/plugins/style/AttributeTable.css +220 -0
  410. package/plugins/style/Authentication.css +16 -0
  411. package/plugins/style/BackgroundSwitcher.css +99 -0
  412. package/plugins/style/Bookmark.css +62 -0
  413. package/plugins/style/BottomBar.css +53 -0
  414. package/plugins/style/Buttons.css +68 -0
  415. package/plugins/style/CookiePopup.css +24 -0
  416. package/plugins/style/Cyclomedia.css +66 -0
  417. package/plugins/style/Editing.css +40 -0
  418. package/plugins/style/FeatureForm.css +21 -0
  419. package/plugins/style/FeatureSearch.css +71 -0
  420. package/plugins/style/GeometryDigitizer.css +28 -0
  421. package/plugins/style/HeightProfile.css +26 -0
  422. package/plugins/style/Identify.css +4 -0
  423. package/plugins/style/LayerCatalog.css +8 -0
  424. package/plugins/style/LayerTree.css +316 -0
  425. package/plugins/style/Map.css +43 -0
  426. package/plugins/style/MapCompare.css +27 -0
  427. package/plugins/style/MapCopyright.css +17 -0
  428. package/plugins/style/MapExport.css +55 -0
  429. package/plugins/style/MapFilter.css +101 -0
  430. package/plugins/style/MapInfoTooltip.css +78 -0
  431. package/plugins/style/MapLegend.css +36 -0
  432. package/plugins/style/MapTip.css +22 -0
  433. package/plugins/style/Measure.css +23 -0
  434. package/plugins/style/NewsPopup.css +87 -0
  435. package/plugins/style/Panoramax.css +15 -0
  436. package/plugins/style/Portal.css +115 -0
  437. package/plugins/style/Print.css +116 -0
  438. package/plugins/style/ProcessNotifications.css +55 -0
  439. package/plugins/style/Redlining.css +101 -0
  440. package/plugins/style/Reports.css +11 -0
  441. package/plugins/style/Routing.css +243 -0
  442. package/plugins/style/ScratchDrawing.css +8 -0
  443. package/plugins/style/Settings.css +11 -0
  444. package/plugins/style/Share.css +59 -0
  445. package/plugins/style/ThemeSwitcher.css +7 -0
  446. package/plugins/style/TimeManager.css +91 -0
  447. package/plugins/style/TopBar.css +50 -0
  448. package/plugins/style/ValueTool.css +60 -0
  449. package/reducers/display.js +7 -0
  450. package/reducers/editing.js +8 -0
  451. package/reducers/index.js +7 -0
  452. package/reducers/layerinfo.js +7 -0
  453. package/reducers/layers.js +14 -0
  454. package/reducers/localConfig.js +8 -0
  455. package/reducers/locale.js +8 -0
  456. package/reducers/locate.js +8 -0
  457. package/reducers/map.js +11 -0
  458. package/reducers/measurement.js +8 -0
  459. package/reducers/processNotifications.js +7 -0
  460. package/reducers/redlining.js +7 -0
  461. package/reducers/redliningPick.js +7 -0
  462. package/reducers/serviceinfo.js +7 -0
  463. package/reducers/task.js +7 -0
  464. package/reducers/theme.js +7 -0
  465. package/reducers/windows.js +7 -0
  466. package/scripts/dist.sh +16 -0
  467. package/scripts/gen-plugin-docs.js +9 -0
  468. package/scripts/makeIconkit.js +7 -0
  469. package/scripts/package-commands.bat +8 -0
  470. package/scripts/package-commands.sh +22 -0
  471. package/scripts/themesConfig.js +48 -0
  472. package/scripts/themesConfig.py +659 -0
  473. package/scripts/translateui.sh +51 -0
  474. package/scripts/updateTranslations.js +17 -0
  475. package/scripts/wmts_config_generator.py +169 -0
  476. package/selectors/searchproviders.js +12 -0
  477. package/static/translations/bg-BG.json +709 -0
  478. package/static/translations/ca-ES.json +709 -0
  479. package/static/translations/cs-CZ.json +709 -0
  480. package/static/translations/de-CH.json +709 -0
  481. package/static/translations/de-DE.json +709 -0
  482. package/static/translations/en-US.json +709 -0
  483. package/static/translations/es-ES.json +709 -0
  484. package/static/translations/fi-FI.json +709 -0
  485. package/static/translations/fr-FR.json +709 -0
  486. package/static/translations/hu-HU.json +709 -0
  487. package/static/translations/it-IT.json +709 -0
  488. package/static/translations/ja-JP.json +709 -0
  489. package/static/translations/nl-NL.json +709 -0
  490. package/static/translations/no-NO.json +709 -0
  491. package/static/translations/pl-PL.json +709 -0
  492. package/static/translations/pt-BR.json +709 -0
  493. package/static/translations/pt-PT.json +709 -0
  494. package/static/translations/ro-RO.json +709 -0
  495. package/static/translations/ru-RU.json +709 -0
  496. package/static/translations/sv-SE.json +709 -0
  497. package/static/translations/tr-TR.json +709 -0
  498. package/static/translations/tsconfig.json +606 -0
  499. package/stores/StandardStore.js +8 -0
  500. package/utils/ConfigUtils.js +9 -0
  501. package/utils/CoordinatesUtils.js +29 -0
  502. package/utils/DxfUtils.js +10 -0
  503. package/utils/EditingInterface.js +67 -0
  504. package/utils/EditingUtils.js +11 -0
  505. package/utils/FeatureStyles.js +10 -0
  506. package/utils/IdentifyUtils.js +12 -0
  507. package/utils/ImageEditor.js +15 -0
  508. package/utils/LayerUtils.js +57 -0
  509. package/utils/LocaleUtils.js +9 -0
  510. package/utils/MapUtils.js +66 -0
  511. package/utils/MeasureUtils.js +9 -0
  512. package/utils/MiscUtils.js +15 -0
  513. package/utils/PermaLinkUtils.js +11 -0
  514. package/utils/ResourceRegistry.js +7 -0
  515. package/utils/RoutingInterface.js +12 -0
  516. package/utils/SearchProviders.js +19 -0
  517. package/utils/ServiceLayerUtils.js +20 -0
  518. package/utils/Signal.js +2 -0
  519. package/utils/ThemeUtils.js +12 -0
  520. package/utils/VectorLayerUtils.js +20 -0
  521. package/utils/expr_grammar/README.md +3 -0
  522. package/utils/expr_grammar/grammar.js +3 -0
  523. package/utils/expr_grammar/grammar.ne +118 -0
  524. package/utils/expr_grammar/test.js +13 -0
  525. package/utils/img/README.markers +1 -0
  526. package/utils/img/arrowhead.svg +4 -0
  527. package/utils/img/marker-icon.png +0 -0
  528. package/utils/img/measurehead.svg +4 -0
@@ -0,0 +1,101 @@
1
+ div.Redlining > div.body {
2
+ width: 100%;
3
+ }
4
+
5
+ div.redlining-buttongroups {
6
+ display: flex;
7
+ align-items: center;
8
+ margin: 0 -0.125em;
9
+ }
10
+
11
+ div.redlining-separator {
12
+ border-bottom: 1px solid var(--border-color);
13
+ margin-bottom: 0.25em;
14
+ }
15
+
16
+ div.redlining-group {
17
+ margin: 0;
18
+ flex: 1 1 auto;
19
+ margin: 0 0.125em;
20
+ }
21
+
22
+ div.redlining-group > div:first-child {
23
+ font-size: 85%;
24
+ text-align: center;
25
+ }
26
+
27
+ div.redlining-group > div:last-child {
28
+ margin: 0.25em 0;
29
+ }
30
+
31
+ div.redlining-group > div {
32
+ white-space: nowrap;
33
+ }
34
+
35
+ div.redlining-group > span {
36
+ display: flex;
37
+ justify-content: center;
38
+ margin: auto;
39
+ }
40
+
41
+ div.redlining-group > span > * {
42
+ flex: 1 0 auto;
43
+ }
44
+
45
+ div.redlining-export-menu {
46
+ height: 2em;
47
+ margin: 0.25em 0;
48
+ }
49
+
50
+ div.redlining-export-menu-entry {
51
+ font-size: 90%;
52
+ }
53
+
54
+ div.redlining-controlsbar {
55
+ display: flex;
56
+ }
57
+
58
+ div.redlining-controlsbar > span {
59
+ display: inline-flex;
60
+ flex: 0 0 auto;
61
+ align-items: center;
62
+ justify-content: center;
63
+ margin: 0 0.25em;
64
+ }
65
+
66
+ div.redlining-controlsbar input.redlining-label,
67
+ div.redlining-controlsbar select.redlining-unit {
68
+ flex: 1 1 auto;
69
+ width: 0;
70
+ min-width: 5em;
71
+ }
72
+
73
+ div.redlining-shapewarning {
74
+ border-top: 1px solid var(--border-color);
75
+ margin-top: 0.25em;
76
+ padding-top: 0.25em;
77
+ font-size: 90%;
78
+ font-style: italic;
79
+ }
80
+
81
+ span.redlining-control-icon {
82
+ margin-right: 0.125em;
83
+ }
84
+
85
+ div.redlining-marker-combo-entry {
86
+ display: flex;
87
+ align-items: center;
88
+ height: 16px;
89
+ width: 16px;
90
+ }
91
+
92
+ div.redlining-marker-combo-entry img {
93
+ /* Marker images are white, invert them to black */
94
+ filter: invert(1);
95
+ height: 100%;
96
+ }
97
+
98
+ div.redlining-message {
99
+ text-align: center;
100
+ font-style: italic;
101
+ }
@@ -0,0 +1,11 @@
1
+ div.reports-body {
2
+ padding: 0.25em;
3
+ }
4
+
5
+ div.reports-body div.reports-filter-combo {
6
+ width: 100%;
7
+ }
8
+
9
+ div.reports-body button.reports-download-button {
10
+ width: 100%;
11
+ }
@@ -0,0 +1,243 @@
1
+ div.routing-body {
2
+ height: 100%;
3
+ display: flex;
4
+ flex-direction: column;
5
+ }
6
+
7
+ div.routing-buttonbar {
8
+ margin-bottom: -1px;
9
+ }
10
+
11
+ div.routing-frame {
12
+ border: 1px solid var(--border-color);
13
+ padding: 0.25em;
14
+ flex: 1 1 auto;
15
+ min-height: 0;
16
+ display: flex;
17
+ flex-direction: column;
18
+ }
19
+
20
+ div.routing-buttons {
21
+ position: relative;
22
+ }
23
+
24
+ div.routing-buttons > div.ButtonBar {
25
+ flex: 1 1 auto;
26
+ }
27
+
28
+ div.routing-buttons div.routing-settings-menu {
29
+ position: absolute;
30
+ left: 0;
31
+ right: 0;
32
+ top: calc(100% - 0.25em - 1px);
33
+ max-height: 200px;
34
+ overflow-y: auto;
35
+ border: 1px solid var(--border-color);
36
+ background-color: var(--container-bg-color);
37
+ box-shadow: 0px 0px 5px rgba(136, 136, 136, 1);
38
+ z-index: 1;
39
+ padding: 0.25em;
40
+ }
41
+
42
+ div.routing-tab-widget {
43
+ flex: 1 1 auto;
44
+ min-height: 0;
45
+ display: flex;
46
+ flex-direction: column;
47
+ }
48
+
49
+ div.routing-input {
50
+ flex: 0 0 auto;
51
+ }
52
+
53
+ table.routing-settings-menu-entries {
54
+ width: 100%;
55
+ }
56
+
57
+ table.routing-settings-menu-entries td {
58
+ white-space: nowrap;
59
+ }
60
+
61
+ table.routing-settings-menu-entries td:last-child > * {
62
+ width: 100%;
63
+ }
64
+
65
+ div.routing-points {
66
+ display: flex;
67
+ align-items: center;
68
+ }
69
+
70
+ div.routing-points > div:first-child {
71
+ flex: 1 1 auto;
72
+ }
73
+
74
+ div.routing-points > div:last-child {
75
+ flex: 0 0 auto;
76
+ margin-left: 0.25em;
77
+ }
78
+
79
+ div.routing-points-commands {
80
+ margin: 0.25em 0;
81
+ display: flex;
82
+ align-items: center;
83
+ }
84
+
85
+ div.routing-points-commands > span.routing-points-commands-spacer {
86
+ flex: 1 1 auto;
87
+ }
88
+
89
+ div.routing-points-commands > div.VectorLayerPicker {
90
+ flex: 1 1 auto;
91
+ }
92
+
93
+ div.routing-search-field {
94
+ margin-bottom: 0.25em;
95
+ width: 100%;
96
+ }
97
+
98
+ div.routing-search-field > div {
99
+ flex: 1 1 auto;
100
+ }
101
+
102
+ button.routing-compute-button {
103
+ width: 100%;
104
+ }
105
+
106
+ div.routing-status-failure {
107
+ text-align: center;
108
+ color: red;
109
+ font-style: italic;
110
+ padding: 0.25em;
111
+ }
112
+
113
+ div.routing-busy {
114
+ display: flex;
115
+ align-items: center;
116
+ flex: 0 0 auto;
117
+ }
118
+
119
+ div.routing-busy > div.spinner {
120
+ width: 2em;
121
+ height: 2em;
122
+ margin-right: 0.25em;
123
+ }
124
+
125
+ div.routing-result {
126
+ flex: 1 1 auto;
127
+ min-height: 0;
128
+ display: flex;
129
+ flex-direction: column;
130
+ }
131
+
132
+ div.routing-result-summary {
133
+ margin-top: 0.5em;
134
+ border-top: 1px solid var(--border-color);
135
+ padding: 0.25em;
136
+ display: flex;
137
+ align-items: center;
138
+ flex: 0 0 auto;
139
+ }
140
+
141
+ div.routing-result-summary > span.icon {
142
+ margin-right: 0.5em;
143
+ }
144
+
145
+ div.routing-result-summary > span.routing-result-spacer {
146
+ flex: 1 1 auto;
147
+ }
148
+
149
+ div.routing-result-instructions {
150
+ background-color: var(--input-bg-color);
151
+ border-top: 1px solid var(--border-color);
152
+ padding: 0.25em;
153
+ flex: 1 1 auto;
154
+ min-height: 0;
155
+ overflow-y: scroll;
156
+ font-size: 90%;
157
+ }
158
+
159
+ div.routing-result-instruction {
160
+ padding: 0.5em;
161
+ }
162
+
163
+ div.routing-result-instruction:hover {
164
+ background-color: var(--list-item-bg-color-hover);
165
+ color: var(--list-item-text-color-hover);
166
+ }
167
+
168
+ div.routing-result-instruction:not(:last-child) {
169
+ border-bottom: 1px solid var(--border-color);
170
+ }
171
+
172
+ div.routing-result-instruction span.icon {
173
+ margin-right: 0.5em;
174
+ }
175
+
176
+ div.routing-result-instruction-summary {
177
+ padding: 0.25em;
178
+ display: flex;
179
+ align-items: center;
180
+ }
181
+
182
+ div.routing-result-instruction-summary > span.icon {
183
+ margin-right: 0.5em;
184
+ }
185
+
186
+ div.routing-result-instruction-summary > span.routing-result-spacer {
187
+ flex: 1 1 auto;
188
+ }
189
+
190
+ table.routing-iso-settings {
191
+ width: 100%;
192
+ white-space: nowrap;
193
+ }
194
+
195
+ table.routing-iso-settings td > input,
196
+ table.routing-iso-settings td > select {
197
+ width: 100%;
198
+ }
199
+
200
+ input.routing-input-invalid {
201
+ background-color: #FFAAAA!important;
202
+ }
203
+
204
+ div.routing-popup-button > button {
205
+ width: 100%;
206
+ }
207
+
208
+ label.routing-import-button {
209
+ position: relative;
210
+ display: inline-block;
211
+ cursor: pointer;
212
+ color: var(--text-color-link);
213
+ }
214
+
215
+ label.routing-import-button:hover {
216
+ text-decoration: underline;
217
+ }
218
+
219
+ label.routing-import-button > input {
220
+ cursor: pointer;
221
+ outline: none;
222
+ position: absolute;
223
+ top: 0;
224
+ left: 0;
225
+ width: 0;
226
+ height: 0;
227
+ overflow: hidden;
228
+ opacity: 0;
229
+ }
230
+
231
+ div.routing-time-settings {
232
+ padding: 0.5em 0;
233
+ display: flex;
234
+ align-items: center;
235
+ }
236
+
237
+ div.routing-time-settings > select {
238
+ flex: 0 0 auto;
239
+ }
240
+
241
+ div.routing-time-settings > div {
242
+ flex: 1 1 auto;
243
+ }
@@ -0,0 +1,8 @@
1
+ div.scratch-drawing-taskbar-body {
2
+ display: flex;
3
+ align-items: center;
4
+ }
5
+
6
+ div.scratch-drawing-taskbar-body span {
7
+ margin: 0 0.5em;
8
+ }
@@ -0,0 +1,11 @@
1
+ div.settings-body {
2
+ padding: 0.25em;
3
+ }
4
+
5
+ table.settings-table {
6
+ width: 100%;
7
+ }
8
+
9
+ table.settings-table td select {
10
+ width: 100%;
11
+ }
@@ -0,0 +1,59 @@
1
+ #Share div.social-links,
2
+ #Share div.share-link,
3
+ #Share div.qr-code {
4
+ padding: 0.5em 1em;
5
+ }
6
+
7
+ #Share div.SocialMediaShareButton {
8
+ cursor: pointer;
9
+ }
10
+
11
+ #Share div.share-option-pin {
12
+ display: flex;
13
+ margin: 0.25em;
14
+ align-items: center;
15
+ padding: 0.5em 0 1em 0;
16
+ border-bottom: 1px solid var(--border-color);
17
+ }
18
+
19
+ #Share div.share-option-pin > span:first-child {
20
+ flex: 0 0 auto;
21
+ padding-right: 0.5em;
22
+ }
23
+
24
+ #Share div.share-option-pin > span:last-child {
25
+ flex: 1 1 auto;
26
+ }
27
+
28
+ #Share div.share-reload-overlay {
29
+ display: flex;
30
+ align-items: center;
31
+ justify-content: center;
32
+ flex-direction: column;
33
+ padding: 1em;
34
+ }
35
+
36
+ #Share div.share-group-restriction {
37
+ margin-top: 0.5em;
38
+ }
39
+
40
+ div.share-validity {
41
+ padding: 1em;
42
+ font-weight: bold;
43
+ }
44
+
45
+ #Share div.qr-code h4 {
46
+ display: inline-block;
47
+ }
48
+
49
+ button.qr-code-copy-button {
50
+ margin-left: 0.5em;
51
+ font-size: 1rem;
52
+ border: none;
53
+ background-color: transparent;
54
+ border: 1px solid transparent;
55
+ }
56
+
57
+ button.qr-code-copy-button:hover {
58
+ border: 1px solid var(--border-color);
59
+ }
@@ -0,0 +1,7 @@
1
+ div.theme-switcher-filter {
2
+ flex: 100 1 auto;
3
+ max-width: 15em;
4
+ font-weight: normal;
5
+ color: var(--text-color);
6
+ margin: 0 0.5em;
7
+ }
@@ -0,0 +1,91 @@
1
+ div.time-manager-notemporaldata {
2
+ padding: 1em;
3
+ }
4
+
5
+ div.time-manager-body {
6
+ display: flex;
7
+ flex-direction: column;
8
+ height: 100%;
9
+ }
10
+
11
+ div.time-manager-toolbar {
12
+ flex: 0 0 auto;
13
+ margin-bottom: 0.25em;
14
+ display: flex;
15
+ align-items: top;
16
+ }
17
+
18
+ div.time-manager-toolbar-controls {
19
+ display: flex;
20
+ flex: 1 1 auto;
21
+ align-items: center;
22
+ flex-wrap: wrap;
23
+ padding: 0 0.25em;
24
+ }
25
+
26
+ div.time-manager-options-menubutton {
27
+ flex: 0 0 auto;
28
+ position: relative;
29
+ }
30
+
31
+ div.time-manager-toolbar-controls > *:not(:last-child) {
32
+ margin-right: 1em;
33
+ }
34
+
35
+ div.time-manager-toolbar input,
36
+ div.time-manager-toolbar select {
37
+ width: 6em;
38
+ }
39
+
40
+ div.time-manager-toolbar div.ToggleSwitch {
41
+ width: 6em;
42
+ margin-left: 0.25em;
43
+ }
44
+
45
+ span.time-manager-toolbar-block {
46
+ display: flex;
47
+ align-items: center;
48
+ white-space: nowrap;
49
+ }
50
+
51
+ span.time-manager-toolbar-spacer {
52
+ flex: 1 1 auto;
53
+ }
54
+
55
+ div.time-manager-options {
56
+ padding: 0.25em;
57
+ position: absolute;
58
+ right: 0;
59
+ border: 1px solid var(--border-color);
60
+ background-color: var(--container-bg-color);
61
+ box-shadow: 0px 0px 5px rgba(136, 136, 136, 1);
62
+ z-index: 5;
63
+ }
64
+
65
+ div.time-manager-options td {
66
+ white-space: nowrap;
67
+ }
68
+
69
+ div.time-manager-options td select {
70
+ width: 100%;
71
+ min-width: 12ch;
72
+ }
73
+
74
+ div.time-manager-timeline {
75
+ flex: 1 1 auto;
76
+ }
77
+
78
+ div.time-manager-filter-warning {
79
+ padding: 0.25em 0.5em;
80
+ background-color: orange;
81
+ display: flex;
82
+ align-items: center;
83
+ }
84
+
85
+ div.time-manager-filter-warning > span.icon {
86
+ margin-right: 0.5em;
87
+ }
88
+
89
+ div.time-manager-filter-warning > button.button {
90
+ margin-left: 0.5em;
91
+ }
@@ -0,0 +1,50 @@
1
+ div.TopBar {
2
+ position: absolute;
3
+ left: 0;
4
+ top: 0;
5
+ right: 0;
6
+ height: 3.5em;
7
+ color: var(--panel-text-color);
8
+ background-color: var(--panel-bg-color);
9
+ box-shadow: 0px 2px 4px rgba(136, 136, 136, 0.5);
10
+ z-index: 102;
11
+ display: flex;
12
+ align-items: center;
13
+ }
14
+
15
+ div.TopBar:not(.fullscreen) {
16
+ backdrop-filter: blur(3px);
17
+ }
18
+
19
+ div.TopBar img.topbar-logo {
20
+ width: auto;
21
+ height: 3.0em;
22
+ vertical-align: middle;
23
+ }
24
+
25
+ div.TopBar div.topbar-center-span {
26
+ margin: 0 1em;
27
+ flex: 1 1 auto;
28
+ display: inline-flex;
29
+ align-items: center;
30
+ }
31
+
32
+ div.TopBar div.topbar-search-container {
33
+ flex: 1 1 auto;
34
+ max-width: 70ch;
35
+ }
36
+
37
+ div.TopBar.fullscreen {
38
+ background-color: transparent;
39
+ box-shadow: none;
40
+ }
41
+
42
+ div.TopBar.fullscreen img.topbar-logo,
43
+ div.TopBar.fullscreen span.appmenu-label {
44
+ display: none;
45
+ }
46
+
47
+ div.TopBar.mobile div.appmenu-button {
48
+ margin-right: 0;
49
+ }
50
+
@@ -0,0 +1,60 @@
1
+ table.valuetool-table,
2
+ table.valuetool-table-selection {
3
+ background-color: var(--list-bg-color);
4
+ width: 100%;
5
+ border: 1px solid var(--border-color);
6
+ }
7
+
8
+ table.valuetool-table tr:nth-child(odd),
9
+ table.valuetool-table-selection tr:nth-child(odd) {
10
+ background-color: #F0F0F0;
11
+ }
12
+
13
+ table.valuetool-table th,
14
+ table.valuetool-table-selection th {
15
+ background-color: var(--list-section-bg-color);
16
+ white-space: nowrap;
17
+ text-overflow: ellipsis;
18
+ overflow: hidden;
19
+ max-width: 2px;
20
+ }
21
+
22
+ table.valuetool-table td:first-child,
23
+ table.valuetool-table-selection td:first-child {
24
+ white-space: nowrap;
25
+ text-overflow: ellipsis;
26
+ overflow: hidden;
27
+ max-width: 2px;
28
+ padding-left: 0.25em;
29
+ }
30
+
31
+ table.valuetool-table td:nth-child(2) {
32
+ text-align: right;
33
+ max-width: 1px;
34
+ padding-right: 0.25em;
35
+ }
36
+
37
+ table.valuetool-table-selection td span.icon {
38
+ margin-right: 0.5em;
39
+ }
40
+
41
+ table.valuetool-table-selection td:nth-child(2) {
42
+ max-width: 2px;
43
+ }
44
+
45
+ table.valuetool-table-selection td:nth-child(2) > div.TextInput {
46
+ width: 100%;
47
+ }
48
+
49
+
50
+ table.valuetool-table-options {
51
+ width: 100%;
52
+ }
53
+
54
+ table.valuetool-table-options td > select {
55
+ width: 100%;
56
+ }
57
+
58
+ table.valuetool-table-options td:first-child {
59
+ white-space: nowrap;
60
+ }
@@ -0,0 +1,7 @@
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+""}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}/**
2
+ * Copyright 2016-2024 Sourcepole AG
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the BSD-style license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */import{TOGGLE_FULLSCREEN,SET_VIEW_3D_MODE}from"../actions/display";var defaultState={fullscreen:false,view3dMode:0};export default function toggleFullscreen(){var state=arguments.length>0&&arguments[0]!==undefined?arguments[0]:defaultState;var action=arguments.length>1?arguments[1]:undefined;switch(action.type){case TOGGLE_FULLSCREEN:{return _objectSpread(_objectSpread({},state),{},{fullscreen:action.fullscreen})}case SET_VIEW_3D_MODE:{return _objectSpread(_objectSpread({},state),{},{view3dMode:action.mode})}default:return state}}
@@ -0,0 +1,8 @@
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+""}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}/**
2
+ * Copyright 2017-2024 Sourcepole AG
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the BSD-style license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */import{SET_EDIT_CONTEXT,CLEAR_EDIT_CONTEXT}from"../actions/editing";var defaultState={contexts:{},currentContext:null};var _nonZeroZCoordinate=function nonZeroZCoordinate(coordinates){return coordinates.find(function(entry){return Array.isArray(entry[0])?_nonZeroZCoordinate(entry):entry.length>=3&&entry[2]!==0})};var checkGeomReadOnly=function checkGeomReadOnly(oldState,newFeature,fallback){var _oldState$feature,_ref;// Only recompute if feature id in state changes
8
+ if(!newFeature){return false}else if(newFeature.id!==(oldState===null||oldState===void 0||(_oldState$feature=oldState.feature)===null||_oldState$feature===void 0?void 0:_oldState$feature.id)){var _newFeature$geometry;return _nonZeroZCoordinate([((_newFeature$geometry=newFeature.geometry)===null||_newFeature$geometry===void 0?void 0:_newFeature$geometry.coordinates)||[]])!==undefined}return(_ref=fallback!==null&&fallback!==void 0?fallback:oldState===null||oldState===void 0?void 0:oldState.geomReadOnly)!==null&&_ref!==void 0?_ref:false};export default function editing(){var state=arguments.length>0&&arguments[0]!==undefined?arguments[0]:defaultState;var action=arguments.length>1?arguments[1]:undefined;switch(action.type){case SET_EDIT_CONTEXT:{return{contexts:_objectSpread(_objectSpread({},state.contexts),{},_defineProperty({},action.contextId,_objectSpread(_objectSpread(_objectSpread({action:null,feature:null,geomType:null,changed:false},state.contexts[action.contextId]),action.editContext),{},{geomReadOnly:action.editContext.geomReadOnly||checkGeomReadOnly(state.contexts[action.contextId],action.editContext.feature,action.editContext.geomReadOnly),id:action.contextId}))),currentContext:action.contextId}}case CLEAR_EDIT_CONTEXT:{var newState={contexts:_objectSpread({},state.contexts),currentContext:state.currentContext===action.contextId?action.newActiveContextId:state.currentContext};delete newState.contexts[action.contextId];return newState}default:return state}}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright 2021-2024 Sourcepole AG
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the BSD-style license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */var ReducerIndex={reducers:{},register:function register(name,reducer){ReducerIndex.reducers[name]=reducer}};export default ReducerIndex;
@@ -0,0 +1,7 @@
1
+ function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){_defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==_typeof(i)?i:i+""}function _toPrimitive(t,r){if("object"!=_typeof(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}/**
2
+ * Copyright 2018-2024 Sourcepole AG
3
+ * All rights reserved.
4
+ *
5
+ * This source code is licensed under the BSD-style license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */import{SET_ACTIVE_LAYERINFO}from"../actions/layerinfo";var defaultState={};export default function layerInfo(){var state=arguments.length>0&&arguments[0]!==undefined?arguments[0]:defaultState;var action=arguments.length>1?arguments[1]:undefined;switch(action.type){case SET_ACTIVE_LAYERINFO:{return _objectSpread(_objectSpread({},state),{},{layer:action.layer,sublayer:action.sublayer})}default:return state}}