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,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 _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e))}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,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 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 React from"react";import classNames from"classnames";import PropTypes from"prop-types";import LocaleUtils from"../../utils/LocaleUtils";import MiscUtils from"../../utils/MiscUtils";import Icon from"../Icon";import"./style/TextInput.css";var TextInput=/*#__PURE__*/function(_React$Component){function TextInput(props){var _this;_classCallCheck(this,TextInput);_this=_callSuper(this,TextInput,[props]);_defineProperty(_this,"state",{focus:false,value:"",valueRev:0,curValue:"",changed:false});_defineProperty(_this,"setDefaultValue",function(value,valueRev,prevValueRef){if(valueRev>prevValueRef){_this.input.innerHTML=value}});_defineProperty(_this,"onCopy",function(ev,cut){ev.preventDefault();var selection=window.getSelection();var plainText=selection.toString();if(ev.clipboardData){ev.clipboardData.setData("text/plain",plainText)}if(cut){_this.clear()}});_defineProperty(_this,"clear",function(){var clearValue=_this.props.clearValue;_this.props.onChange(clearValue);_this.setState(function(state){return{curValue:_this.props.clearValue,changed:state.value!==clearValue}});_this.input.innerHTML=clearValue});_defineProperty(_this,"onChange",function(ev){var curValue=ev.target.innerText.replace(/<br\s*\/?>$/,"").replace(/\n$/,"");if(!_this.props.multiline){curValue=curValue.replace("\n","")}_this.setState({curValue:curValue,changed:true})});_defineProperty(_this,"onBlur",function(){_this.setState({focus:false});if(!_this.skipNextCommitOnBlur){_this.commit()}});_defineProperty(_this,"onFocus",function(ev){_this.setState({focus:true});window.setTimeout(function(){if(window.getSelection&&document.createRange){var range=document.createRange();range.selectNodeContents(ev.target);var sel=window.getSelection();sel.removeAllRanges();sel.addRange(range)}else if(document.body.createTextRange){var _range=document.body.createTextRange();_range.moveToElementText(ev.target);_range.select()}},1)});_defineProperty(_this,"onMouseDown",function(ev){var el=document.elementFromPoint(ev.clientX,ev.clientY);if((el===null||el===void 0?void 0:el.nodeName)==="A"&&ev.ctrlKey){window.open(el.href,el.target)}});_defineProperty(_this,"onMouseMove",function(ev){var isTouch="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;clearTimeout(_this.tooltipTimeout);var editable=!_this.props.disabled&&!_this.props.readOnly;if(!isTouch&&editable&&ev.target.nodeName==="A"){var rect=ev.target.getBoundingClientRect();var left=rect.left+window.scrollX;var bottom=rect.bottom+window.scrollY+2;_this.tooltipTimeout=setTimeout(function(){if(!_this.tooltipEl){_this.tooltipEl=document.createElement("span");_this.tooltipEl.className="text-input-link-tooltip";_this.tooltipEl.innerHTML=LocaleUtils.tr("misc.ctrlclickhint");_this.tooltipEl.style.position="absolute";_this.tooltipEl.style.zIndex=10000000000;document.body.appendChild(_this.tooltipEl)}_this.tooltipEl.style.left=left+"px";_this.tooltipEl.style.top=bottom+"px";_this.tooltipTimeout=null},250)}else if(_this.tooltipEl){document.body.removeChild(_this.tooltipEl);_this.tooltipEl=null}});_defineProperty(_this,"onMouseLeave",function(){clearTimeout(_this.tooltipTimeout);if(_this.tooltipEl){document.body.removeChild(_this.tooltipEl);_this.tooltipEl=null}});_defineProperty(_this,"onKeyDown",function(ev){if(ev.key==="Enter"&&!_this.props.multiline){ev.preventDefault();_this.commit()}else if(ev.key==="Escape"){_this.setState(function(state){return{value:_this.props.value,valueRev:state.valueRev+1,curValue:_this.props.value||"",changed:false}});_this.skipNextCommitOnBlur=true;ev.target.blur()}});_defineProperty(_this,"commit",function(){if(_this.state.changed){if(_this.props.addLinkAnchors){var valueWithLinks=MiscUtils.addLinkAnchors(_this.state.curValue);_this.props.onChange(valueWithLinks)}else{_this.props.onChange(_this.state.curValue)}}});_defineProperty(_this,"storeInitialHeight",function(el){if(el){_this.initialHeight=el.offsetHeight}});_defineProperty(_this,"startResize",function(ev){var container=ev.target.parentElement;if(!container){return}var startHeight=container.offsetHeight;var startMouseY=ev.clientY;var resizeInput=function resizeInput(event){container.style.height=Math.max(_this.initialHeight,startHeight+(event.clientY-startMouseY))+"px"};document.body.style.userSelect="none";ev.view.addEventListener("mousemove",resizeInput);ev.view.addEventListener("mouseup",function(){document.body.style.userSelect="";ev.view.removeEventListener("mousemove",resizeInput)},{once:true})});_this.skipNextCommitOnBlur=false;_this.focusEnterClick=false;_this.initialHeight=null;_this.input=null;_this.tooltipEl=null;_this.tooltipTimeout=null;return _this}_inherits(TextInput,_React$Component);return _createClass(TextInput,[{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,prevState){this.setDefaultValue(this.state.value,this.state.valueRev,prevState.valueRev)}},{key:"render",value:function render(){var _this2=this;var wrapperClassName=classNames({"TextInput":true,"text-input-wrapper":true,"text-input-wrapper-multiline":this.props.multiline});var preClassName=classNames({"text-input":true,"text-input-disabled":this.props.disabled,"text-input-readonly":this.props.readOnly||!this.state.curValue,"text-input-invalid":this.props.required&&!this.state.curValue});return/*#__PURE__*/React.createElement("div",{className:wrapperClassName+" "+(this.props.className||""),ref:this.storeInitialHeight},this.props.name?/*#__PURE__*/React.createElement("textarea",{className:"text-input-form-el",name:this.props.name,onChange:function onChange(){},required:this.props.required,tabIndex:"-1",value:this.state.curValue}):null,/*#__PURE__*/React.createElement("pre",{className:preClassName,contentEditable:!this.props.disabled&&!this.props.readOnly,dangerouslySetInnerHTML:{__html:this.state.value},onBlur:this.onBlur,onChange:this.onChange,onCopy:function onCopy(ev){return _this2.onCopy(ev,false)},onCut:function onCut(ev){return _this2.onCopy(ev,true)},onFocus:this.onFocus,onInput:this.onChange,onKeyDown:this.onKeyDown,onMouseDown:this.onMouseDown,onMouseLeave:this.onMouseLeave,onMouseMove:this.onMouseMove,ref:function ref(el){_this2.input=el},style:this.props.style}),!this.state.curValue?/*#__PURE__*/React.createElement("div",{className:"text-input-placeholder"},this.props.placeholder):null,this.props.multiline?/*#__PURE__*/React.createElement("div",{className:"text-input-resize-handle",onMouseDown:this.startResize}):null,this.state.focus&&!this.props.multiline&&!this.props.disabled&&!this.props.readOnly&&this.state.curValue?/*#__PURE__*/React.createElement("div",{className:"text-input-clear-icon"},/*#__PURE__*/React.createElement(Icon,{icon:"clear",onClick:this.clear,onMouseDown:MiscUtils.killEvent})):null)}}],[{key:"getDerivedStateFromProps",value:function getDerivedStateFromProps(nextProps,state){if(state.value!==nextProps.value){return{value:nextProps.value,valueRev:state.valueRev+1,curValue:nextProps.value||"",changed:false}}return null}}])}(React.Component);_defineProperty(TextInput,"propTypes",{addLinkAnchors:PropTypes.bool,className:PropTypes.string,clearValue:PropTypes.string,disabled:PropTypes.bool,multiline:PropTypes.bool,name:PropTypes.string,onChange:PropTypes.func,placeholder:PropTypes.string,readOnly:PropTypes.bool,required:PropTypes.bool,style:PropTypes.object,value:PropTypes.string});_defineProperty(TextInput,"defaultProps",{clearValue:"",placeholder:""});export{TextInput as default};
@@ -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 _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e))}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,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 React from"react";import classnames from"classnames";import PropTypes from"prop-types";import Icon from"../Icon";import"./style/ToggleSwitch.css";var ToggleSwitch=/*#__PURE__*/function(_React$Component){function ToggleSwitch(){var _this;_classCallCheck(this,ToggleSwitch);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}_this=_callSuper(this,ToggleSwitch,[].concat(args));_defineProperty(_this,"onClick",function(){if(!_this.props.readOnly){_this.props.onChange(!_this.props.active)}});return _this}_inherits(ToggleSwitch,_React$Component);return _createClass(ToggleSwitch,[{key:"render",value:function render(){var classNames=classnames({"ToggleSwitch":true,"toggle-switch-active":this.props.active,"toggle-switch-inactive":!this.props.active,"toggle-switch-read-only":this.props.readOnly});return/*#__PURE__*/React.createElement("div",{className:classNames,onClick:this.onClick},/*#__PURE__*/React.createElement("span",{className:"toggle-switch-yes"},/*#__PURE__*/React.createElement(Icon,{icon:"ok"})),/*#__PURE__*/React.createElement("span",{className:"toggle-switch-slider"},/*#__PURE__*/React.createElement(Icon,{icon:"menu-hamburger"})),/*#__PURE__*/React.createElement("span",{className:"toggle-switch-no"},/*#__PURE__*/React.createElement(Icon,{icon:"remove"})),/*#__PURE__*/React.createElement("input",{checked:this.props.active,name:this.props.name,onChange:function onChange(){},readOnly:this.props.readOnly,required:this.props.required,style:{visibility:"none"},type:"checkbox",value:this.props.active}))}}])}(React.Component);_defineProperty(ToggleSwitch,"propTypes",{active:PropTypes.bool.isRequired,name:PropTypes.string,onChange:PropTypes.func.isRequired,readOnly:PropTypes.bool,required:PropTypes.bool});export{ToggleSwitch as default};
@@ -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 _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function _callSuper(t,o,e){return o=_getPrototypeOf(o),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(o,e||[],_getPrototypeOf(t).constructor):o.apply(t,e))}function _possibleConstructorReturn(t,e){if(e&&("object"==_typeof(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,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 2019-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 React from"react";import PropTypes from"prop-types";import{v4 as uuidv4}from"uuid";import Icon from"../../components/Icon";import LocaleUtils from"../../utils/LocaleUtils";import"./style/VectorLayerPicker.css";var VectorLayerPicker=/*#__PURE__*/function(_React$Component){function VectorLayerPicker(){var _this;_classCallCheck(this,VectorLayerPicker);for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++){args[_key]=arguments[_key]}_this=_callSuper(this,VectorLayerPicker,[].concat(args));_defineProperty(_this,"addLayer",function(){var message=LocaleUtils.tr("vectorlayerpicker.prompt");// eslint-disable-next-line
8
+ var name=prompt(message);if(name){var layer={id:uuidv4(),title:name,type:"vector"};_this.props.addLayer(layer);_this.props.onChange(layer)}});return _this}_inherits(VectorLayerPicker,_React$Component);return _createClass(VectorLayerPicker,[{key:"render",value:function render(){var _this2=this;return/*#__PURE__*/React.createElement("div",{className:"VectorLayerPicker controlgroup"},/*#__PURE__*/React.createElement("select",{onChange:function onChange(ev){return _this2.props.onChange(_this2.props.layers.find(function(layer){return layer.id===ev.target.value}))},value:this.props.value},this.props.showNone?/*#__PURE__*/React.createElement("option",{value:""},LocaleUtils.tr("vectorlayerpicker.none")):null,this.props.layers.map(function(layer){return/*#__PURE__*/React.createElement("option",{key:layer.id,value:layer.id},layer.title)})),this.props.addLayer?/*#__PURE__*/React.createElement("button",{className:"button",onClick:this.addLayer},/*#__PURE__*/React.createElement(Icon,{icon:"plus"})):null)}}])}(React.Component);_defineProperty(VectorLayerPicker,"propTypes",{addLayer:PropTypes.func,layers:PropTypes.array,onChange:PropTypes.func,showNone:PropTypes.bool,value:PropTypes.string});export{VectorLayerPicker as default};
@@ -0,0 +1,22 @@
1
+ div.accordeon-section {
2
+ margin: 0.25em 0;
3
+ }
4
+
5
+ div.accordeon-section-header {
6
+ display: flex;
7
+ padding: 0.5em;
8
+ background-color: var(--titlebar-bg-color);
9
+ color: var(--titlebar-text-color);
10
+ font-weight: bold;
11
+ }
12
+
13
+ div.accordeon-section-header > span:first-child {
14
+ flex: 1 1 auto;
15
+ }
16
+
17
+ div.accordeon-section-body {
18
+ padding: 0.25em;
19
+ border-color: var(--border-color);
20
+ border-style: solid;
21
+ border-width: 0 1px 1px 1px;
22
+ }
@@ -0,0 +1,88 @@
1
+ div.ButtonBar {
2
+ position: relative;
3
+ display: flex;
4
+ margin: 0.25em 0;
5
+ }
6
+
7
+ div.buttonbar-fill {
8
+ width: 100%;
9
+ }
10
+
11
+ div.ButtonBar.buttonbar-disabled:before {
12
+ position: absolute;
13
+ top: 0;
14
+ left: 0;
15
+ right: 0;
16
+ bottom: 0;
17
+ content: '';
18
+ }
19
+
20
+ div.ButtonBar.buttonbar-disabled div.buttonbar-button-container > button {
21
+ background-color: var(--button-bg-color-disabled);
22
+ color: var(--button-text-color-disabled);
23
+ }
24
+
25
+ div.ButtonBar div.buttonbar-button-container {
26
+ position: relative;
27
+ flex: 1 1 auto;
28
+ }
29
+
30
+ div.ButtonBar div.buttonbar-button-container > button {
31
+ width: 100%;
32
+ }
33
+
34
+ span.buttonbar-button-tooltip {
35
+ position: absolute;
36
+ display: none;
37
+ background-color: var(--tooltip-bg-color);
38
+ border: 1px solid var(--tooltip-border-color);
39
+ color: var(--tooltip-text-color);
40
+ font-size: 75%;
41
+ font-weight: normal;
42
+ padding: 0.5em;
43
+ border-radius: 0.5em;
44
+ white-space: nowrap;
45
+ left: 50%;
46
+ transform: translateX(-50%);
47
+ z-index: 2;
48
+ }
49
+
50
+ span.buttonbar-button-tooltip-top {
51
+ bottom: 110%;
52
+ }
53
+
54
+ span.buttonbar-button-tooltip-bottom {
55
+ top: 110%;
56
+ }
57
+
58
+ div.ButtonBar div.menubutton {
59
+ height: 2em;
60
+ flex: 1 1 auto;
61
+ }
62
+
63
+ div.buttonbar-button-container:hover span.buttonbar-button-tooltip,
64
+ div.ButtonBar div.menubutton-button:hover span.buttonbar-button-tooltip {
65
+ display: inline;
66
+ }
67
+
68
+ div.buttonbar-combo-entry {
69
+ display: flex;
70
+ align-items: center;
71
+ }
72
+
73
+ div.buttonbar-combo-entry > span.icon {
74
+ flex: 0 0 auto;
75
+ }
76
+
77
+ div.buttonbar-combo-entry > span.buttonbar-combo-entry-label {
78
+ flex: 1 1 auto;
79
+ }
80
+
81
+ div.buttonbar-combo-entry {
82
+ display: flex;
83
+ align-items: center;
84
+ }
85
+
86
+ div.buttonbar-combo-entry > span.buttonbar-combo-entry-label {
87
+ margin: 0 0.5em;
88
+ }
@@ -0,0 +1,88 @@
1
+ div.ColorButton {
2
+ position: relative;
3
+ width: 2em;
4
+ height: 2em;
5
+ }
6
+
7
+ div.colorbutton-icon {
8
+ border-radius: 4px;
9
+ width: 2em;
10
+ height: 2em;
11
+ cursor: pointer;
12
+ background-image: linear-gradient(45deg, #808080 25%, transparent 25%), linear-gradient(-45deg, #808080 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #808080 75%), linear-gradient(-45deg, transparent 75%, #808080 75%);
13
+ background-size: 12px 12px;
14
+ background-position: 0 0, 0 6px, 6px -6px, -6px 0;
15
+ border: 1px solid var(--border-color);
16
+ }
17
+
18
+ div.colorbutton-icon > span {
19
+ width: calc(2em - 2px);
20
+ height: calc(2em - 2px);
21
+ display: inline-block;
22
+ }
23
+
24
+ div.colorbutton-picker {
25
+ visibility: hidden;
26
+ position: absolute;
27
+ left: -5.5em;
28
+ top: 2.75em;
29
+ background-color: white;
30
+ box-shadow: 0px 0px 5px rgba(136, 136, 136, 1);
31
+ border-radius: 0.25em;
32
+ width: 13em;
33
+ z-index: 1;
34
+ padding: 0.25em;
35
+ }
36
+
37
+ div.colorbutton-picker:before {
38
+ content: '';
39
+ display: block;
40
+ position: absolute;
41
+ left: 5.75em;
42
+ top: -0.7em;
43
+ width: 0;
44
+ height: 0;
45
+ border-left: 0.75em solid transparent;
46
+ border-right: 0.75em solid transparent;
47
+ border-bottom: 0.75em solid white;
48
+ }
49
+
50
+ div.colorbutton-picker-icons {
51
+ display: flex;
52
+ flex-wrap: wrap;
53
+ }
54
+
55
+ div.colorbutton-picker-icons > div.colorbutton-icon {
56
+ flex: 0 0 auto;
57
+ margin: 0.25em;
58
+ }
59
+
60
+ div.colorbutton-picker-input {
61
+ margin: 0.25em;
62
+ }
63
+
64
+ div.colorbutton-picker-input > input[type=text] {
65
+ min-width: 0;
66
+ flex: 1 1 5em;
67
+ }
68
+
69
+ div.colorbutton-picker-alpha {
70
+ border-radius: 0 4px 4px 0;
71
+ border: 1px solid var(--border-color);
72
+ height: 2em;
73
+ background-image: linear-gradient(45deg, #808080 25%, transparent 25%), linear-gradient(-45deg, #808080 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #808080 75%), linear-gradient(-45deg, transparent 75%, #808080 75%);
74
+ background-size: 12px 12px;
75
+ background-position: 0 0, 0 6px, 6px -6px, -6px 0;
76
+ flex: 1 1 5em;
77
+ }
78
+
79
+ div.colorbutton-picker-alpha > div {
80
+ display: flex;
81
+ align-items: center;
82
+ height: calc(2em - 2px);
83
+ background-image: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, white 100%);
84
+ }
85
+
86
+ div.colorbutton-picker-alpha input[type=range] {
87
+ width: 100%;
88
+ }
@@ -0,0 +1,83 @@
1
+ div.combobox {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ user-select: none;
5
+ -webkit-touch-callout: none;
6
+ -webkit-user-select: none;
7
+ border: 1px solid var(--border-color);
8
+ background-color: var(--list-bg-color);
9
+ height: 2em;
10
+ }
11
+
12
+ div.combobox-button {
13
+ flex: 1 1 auto;
14
+ display: flex;
15
+ align-items: center;
16
+ height: 100%;
17
+ position: relative;
18
+ }
19
+
20
+ span.combobox-button-content {
21
+ padding: 0 0.25em;
22
+ flex: 1 1 auto;
23
+ white-space: nowrap;
24
+ line-height: 2em;
25
+ }
26
+
27
+ input.combobox-button-filter {
28
+ position: absolute;
29
+ z-index: 1;
30
+ border: none!important;
31
+ background-color: transparent!important;
32
+ left: 0;
33
+ right: 0;
34
+ top: 0;
35
+ bottom: 0;
36
+ }
37
+
38
+ div.combobox-button > span.icon {
39
+ font-size: 100%;
40
+ flex: 0 0 1em;
41
+ }
42
+
43
+ div.combobox-menu {
44
+ border: 1px solid var(--border-color);
45
+ background-color: var(--list-bg-color);
46
+ user-select: none;
47
+ -webkit-touch-callout: none;
48
+ -webkit-user-select: none;
49
+ }
50
+
51
+ div.combobox-menu-entry {
52
+ padding: 0.25em;
53
+ }
54
+
55
+ div.combobox-menu-entry:not(.combobox-menu-entry-disabled):hover {
56
+ background-color: var(--list-item-bg-color-hover);
57
+ color: var(--list-item-text-color-hover);
58
+ }
59
+
60
+ div.combobox-menu-entry-active {
61
+ background-color: var(--list-item-bg-color-active);
62
+ color: var(--list-item-text-color-active);
63
+ }
64
+
65
+ div.combobox-menu-entry-active:hover {
66
+ background-color: var(--list-item-bg-color-active-hover)!important;
67
+ color: var(--list-item-text-color-active-hover)!important;
68
+ }
69
+
70
+ div.combobox-menu-entry-disabled {
71
+ color: var(--text-color-disabled);
72
+ }
73
+
74
+ div.combobox-menu-entry-group-header {
75
+ display: flex;
76
+ background-color: var(--list-section-bg-color);
77
+ color: var(--list-section-text-color);
78
+ font-weight: bold;
79
+ }
80
+
81
+ div.combobox-menu-entry-group-header > span.icon {
82
+ flex: 0 0 auto;
83
+ }
@@ -0,0 +1,21 @@
1
+ span.CopyButton {
2
+ position: relative;
3
+ }
4
+
5
+ span.copybutton-tooltip {
6
+ position: absolute;
7
+ visibility: hidden;
8
+ background-color: var(--tooltip-bg-color);
9
+ border: 1px solid var(--tooltip-border-color);
10
+ color: var(--tooltip-text-color);
11
+ font-size: 75%;
12
+ font-weight: normal;
13
+ padding: 0.5em;
14
+ border-radius: 0.5em;
15
+ top: 110%;
16
+ white-space: nowrap;
17
+ }
18
+
19
+ span.CopyButton:hover span.copybutton-tooltip {
20
+ visibility: visible;
21
+ }
@@ -0,0 +1,47 @@
1
+ div.EditableSelect {
2
+ position: relative;
3
+ }
4
+
5
+ div.editable-select-inputcontainer {
6
+ width: 100%;
7
+ }
8
+
9
+ div.editable-select-inputcontainer > span.icon-clear {
10
+ width: 1.5em;
11
+ }
12
+
13
+ div.editable-select-dropdown {
14
+ border: 1px solid var(--border-color);
15
+ max-height: 8em;
16
+ overflow-y: auto;
17
+ background-color: var(--input-bg-color);
18
+ }
19
+
20
+ div.editable-select-dropdown > div {
21
+ padding: 0.25em;
22
+ white-space: nowrap;
23
+ overflow: hidden;
24
+ text-overflow: ellipsis;
25
+ }
26
+
27
+ div.editable-select-dropdown > div:hover {
28
+ background-color: var(--list-item-bg-color-hover);
29
+ color: var(--list-item-text-color-hover);
30
+ }
31
+
32
+ div.editable-select-selopt {
33
+ position: absolute;
34
+ left: 1px;
35
+ right: 1.5em;
36
+ top: 1px;
37
+ bottom: 1px;
38
+ z-index: 1;
39
+ pointer-events: none;
40
+ display: flex;
41
+ align-items: center;
42
+ padding: 0 0.25em;
43
+ background-color: var(--input-bg-color);
44
+ white-space: nowrap;
45
+ overflow: hidden;
46
+ text-overflow: ellipsis;
47
+ }
@@ -0,0 +1,14 @@
1
+ div.FileSelector {
2
+ display: inline-flex;
3
+ position: relative;
4
+ cursor: pointer;
5
+ overflow-x: hidden;
6
+ }
7
+
8
+ div.FileSelector > input[type=text] {
9
+ flex: 1 1 auto;
10
+ }
11
+
12
+ div.FileSelector > input[type=file] {
13
+ display: none;
14
+ }
@@ -0,0 +1,34 @@
1
+ div.input-container {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ height: 2em;
5
+ border: 1px solid var(--border-color);
6
+ background-color: var(--input-bg-color);
7
+ }
8
+
9
+ div.input-container div.input-container {
10
+ border: none;
11
+ height: calc(2em - 2px);
12
+ }
13
+
14
+ div.input-container-focus {
15
+ outline: var(--focus-outline);
16
+ }
17
+
18
+ div.input-container .input-container-prefix,
19
+ div.input-container .input-container-suffix {
20
+ flex: 0 0 auto;
21
+ padding: 0 0.25em;
22
+ }
23
+
24
+ div.input-container .input-container-input {
25
+ flex: 1 1 auto;
26
+ border: none!important;
27
+ outline: none!important;
28
+ width: 0;
29
+ min-width: 0;
30
+ }
31
+
32
+ div.input-container .input-container-input {
33
+ height: calc(2em - 2px)!important;
34
+ }
@@ -0,0 +1,59 @@
1
+ div.layer-catalog-widget {
2
+ display: flex;
3
+ flex-direction: column;
4
+ }
5
+
6
+ div.layer-catalog-widget-filter {
7
+ flex: 0 0 auto;
8
+ margin-bottom: -1px;
9
+ }
10
+
11
+ div.layer-catalog-widget-body {
12
+ padding: 0.25em;
13
+ border: 1px solid var(--border-color);
14
+ background-color: var(--list-bg-color);
15
+ overflow-y: auto;
16
+ margin-bottom: 0.5em;
17
+ flex: 1 1 auto;
18
+ }
19
+
20
+ div.layer-catalog-placeholder {
21
+ font-style: italic;
22
+ color: var(--text-color-disabled);
23
+ }
24
+
25
+ div.layer-catalog-widget-entry {
26
+ display: flex;
27
+ align-items: center;
28
+ border-bottom: 1px solid var(--border-color);
29
+ }
30
+
31
+ div.layer-catalog-widget-entry > .icon {
32
+ flex: 0 0 1em;
33
+ }
34
+
35
+ div.layer-catalog-widget-entry > span.layer-catalog-widget-entry-iconspacer {
36
+ flex: 0 0 1em;
37
+ }
38
+
39
+ div.layer-catalog-widget-entry > span.layer-catalog-widget-entry-contents {
40
+ flex: 1 1 auto;
41
+ font-size: small;
42
+ padding: 0.25em;
43
+ cursor: pointer;
44
+ display: inline-block;
45
+ }
46
+
47
+ div.layer-catalog-widget-entry > span.layer-catalog-widget-entry-contents:hover {
48
+ color: var(--color-active);
49
+ }
50
+
51
+ span.layer-catalog-widget-entry-service {
52
+ display: inline-block;
53
+ text-align: center;
54
+ color: var(--text-color);
55
+ background: var(--border-color);
56
+ margin-right: 0.5em;
57
+ border-radius: 0.25em;
58
+ width: 6ch;
59
+ }
@@ -0,0 +1,122 @@
1
+ div.menubutton {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ }
5
+
6
+ div.menubutton-button {
7
+ position: relative;
8
+ flex: 1 1 auto;
9
+ display: flex;
10
+ align-items: center;
11
+ height: 100%;
12
+ background-color: var(--button-bg-color);
13
+ color: var(--button-text-color);
14
+ border: 1px solid var(--border-color);
15
+ }
16
+
17
+ div.menubutton-disabled div.menubutton-button {
18
+ color: var(--text-color-disabled);
19
+ }
20
+
21
+ div.menubutton:not(.menubutton-disabled) div.menubutton-button:active > span.menubutton-button-content,
22
+ div.menubutton:not(.menubutton-disabled) div.menubutton-button:active > span.menubotton-button-arrow {
23
+ position: relative!important;
24
+ left: 1px;
25
+ top: 1px;
26
+ }
27
+
28
+ div.menubutton:not(.menubutton-disabled) div.menubutton-button:hover,
29
+ div.menubutton:not(.menubutton-disabled) div.menubutton-button-hover {
30
+ background-color: var(--button-bg-color-hover);
31
+ color: var(--button-text-color-hover);
32
+ }
33
+
34
+ div.menubutton-button-active {
35
+ background-color: var(--button-bg-color-active);
36
+ color: var(--button-text-color-active);
37
+ }
38
+
39
+ div.menubutton:not(.menubutton-disabled) div.menubutton-button-active:hover,
40
+ div.menubutton:not(.menubutton-disabled) div.menubutton-button-active.menubutton-button-hover {
41
+ background-color: var(--button-bg-color-active-hover);
42
+ color: var(--button-text-color-active-hover);
43
+ }
44
+
45
+ span.menubutton-button-content {
46
+ padding: 0 0.5em;
47
+ flex: 1 1 auto;
48
+ display: inline-block;
49
+ height: 100%;
50
+ display: flex;
51
+ align-items: center;
52
+ }
53
+
54
+ div.menubutton span.menubotton-button-arrow {
55
+ height: 80%;
56
+ display: flex;
57
+ align-items: flex-end;
58
+ font-size: 80%;
59
+ padding: 0 0.2em;
60
+ }
61
+
62
+ div.menubutton-togglebutton span.menubotton-button-arrow {
63
+ border-left: 1px solid var(--border-color);
64
+ }
65
+
66
+ div.menubutton-menu {
67
+ background-color: var(--list-bg-color);
68
+ border: 1px solid var(--border-color);
69
+ color: var(--text-color);
70
+ box-shadow: 0px 2px 4px rgba(136, 136, 136, 0.5);
71
+ }
72
+
73
+ div.menubutton-menu > div {
74
+ padding: 0.25em;
75
+ }
76
+
77
+ div.menubutton-menu > div:hover {
78
+ background-color: var(--list-item-bg-color-hover);
79
+ color: var(--list-item-text-color-hover);
80
+ }
81
+
82
+ div.menubutton-menu > div.menubutton-menu-active {
83
+ background-color: var(--list-item-bg-color-active);
84
+ color: var(--list-item-text-color-active);
85
+ }
86
+
87
+ div.menubutton-menu > div.menubutton-menu-active:hover {
88
+ background-color: var(--list-item-bg-color-active-hover);
89
+ color: var(--list-item-text-color-active-hover);
90
+ }
91
+
92
+ div.menubutton-menu-disabled {
93
+ color: var(--text-color-disabled);
94
+ }
95
+
96
+ span.menubutton-tooltip {
97
+ position: absolute;
98
+ display: none;
99
+ background-color: var(--tooltip-bg-color);
100
+ border: 1px solid var(--tooltip-border-color);
101
+ color: var(--tooltip-text-color);
102
+ font-size: 75%;
103
+ font-weight: normal;
104
+ padding: 0.5em;
105
+ border-radius: 0.5em;
106
+ white-space: nowrap;
107
+ left: 50%;
108
+ transform: translateX(-50%);
109
+ z-index: 2;
110
+ }
111
+
112
+ span.menubutton-tooltip-top {
113
+ bottom: 110%;
114
+ }
115
+
116
+ span.menubutton-tooltip-bottom {
117
+ top: 110%;
118
+ }
119
+
120
+ div.menubutton:hover span.menubutton-tooltip {
121
+ display: inline;
122
+ }