@mapsight/ui 7.0.3 → 7.2.0

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 (664) hide show
  1. package/README.md +91 -2
  2. package/dist/components/app.d.ts +2 -2
  3. package/dist/components/app.d.ts.map +1 -1
  4. package/dist/components/app.js +7 -7
  5. package/dist/components/app.js.map +1 -1
  6. package/dist/components/feature-details-content/feature-details-content.d.ts +1 -1
  7. package/dist/components/feature-details-content/feature-details-content.d.ts.map +1 -1
  8. package/dist/components/feature-details-content/feature-details-content.js +2 -2
  9. package/dist/components/feature-details-content/feature-details-content.js.map +1 -1
  10. package/dist/components/feature-details-content/index.d.ts +4 -6
  11. package/dist/components/feature-details-content/index.js +6 -7
  12. package/dist/components/feature-details-content/index.js.map +1 -1
  13. package/dist/components/feature-details-content/share-feature-link-modal.d.ts +1 -1
  14. package/dist/components/feature-details-content/share-feature-link-modal.d.ts.map +1 -1
  15. package/dist/components/feature-list/context.d.ts +12 -4
  16. package/dist/components/feature-list/context.d.ts.map +1 -1
  17. package/dist/components/feature-list/context.js.map +1 -1
  18. package/dist/components/feature-list/empty-message.d.ts +1 -1
  19. package/dist/components/feature-list/empty-message.d.ts.map +1 -1
  20. package/dist/components/feature-list/filter.d.ts +1 -1
  21. package/dist/components/feature-list/filter.d.ts.map +1 -1
  22. package/dist/components/feature-list/filter.js +2 -2
  23. package/dist/components/feature-list/filter.js.map +1 -1
  24. package/dist/components/feature-list/footer.d.ts +1 -1
  25. package/dist/components/feature-list/footer.d.ts.map +1 -1
  26. package/dist/components/feature-list/hooks/useAutoloadFeatureSource.d.ts.map +1 -1
  27. package/dist/components/feature-list/hooks/useAutoloadFeatureSource.js +12 -3
  28. package/dist/components/feature-list/hooks/useAutoloadFeatureSource.js.map +1 -1
  29. package/dist/components/feature-list/hooks/useFeatureListState.d.ts.map +1 -1
  30. package/dist/components/feature-list/hooks/useFeatureListState.js +7 -2
  31. package/dist/components/feature-list/hooks/useFeatureListState.js.map +1 -1
  32. package/dist/components/feature-list/hooks/useRestoreDocumentScroll.js +1 -1
  33. package/dist/components/feature-list/hooks/useRestoreDocumentScroll.js.map +1 -1
  34. package/dist/components/feature-list/hooks/useSelectFeature.js +6 -6
  35. package/dist/components/feature-list/hooks/useSelectFeature.js.map +1 -1
  36. package/dist/components/feature-list/index.d.ts +3 -2
  37. package/dist/components/feature-list/index.d.ts.map +1 -1
  38. package/dist/components/feature-list/index.js +34 -46
  39. package/dist/components/feature-list/index.js.map +1 -1
  40. package/dist/components/feature-list/pagination.d.ts +1 -1
  41. package/dist/components/feature-list/pagination.d.ts.map +1 -1
  42. package/dist/components/feature-list/query-input.d.ts +1 -1
  43. package/dist/components/feature-list/query-input.d.ts.map +1 -1
  44. package/dist/components/feature-list/tag-switcher-control.d.ts +4 -0
  45. package/dist/components/feature-list/tag-switcher-control.d.ts.map +1 -0
  46. package/dist/components/feature-list/tag-switcher-control.js +10 -0
  47. package/dist/components/feature-list/tag-switcher-control.js.map +1 -0
  48. package/dist/components/feature-list-cycling/button.d.ts +1 -1
  49. package/dist/components/feature-list-cycling/button.d.ts.map +1 -1
  50. package/dist/components/feature-list-cycling/dot.d.ts +1 -1
  51. package/dist/components/feature-list-cycling/dot.d.ts.map +1 -1
  52. package/dist/components/feature-list-cycling/feature-list-cycling.d.ts +1 -1
  53. package/dist/components/feature-list-cycling/feature-list-cycling.d.ts.map +1 -1
  54. package/dist/components/feature-list-cycling/index.d.ts +4 -6
  55. package/dist/components/feature-list-cycling/index.js +1 -1
  56. package/dist/components/feature-list-cycling/index.js.map +1 -1
  57. package/dist/components/feature-list-item/icon.d.ts +8 -6
  58. package/dist/components/feature-list-item/icon.d.ts.map +1 -1
  59. package/dist/components/feature-list-item/icon.js +5 -13
  60. package/dist/components/feature-list-item/icon.js.map +1 -1
  61. package/dist/components/feature-list-item/index.d.ts +1 -1
  62. package/dist/components/feature-list-item/index.d.ts.map +1 -1
  63. package/dist/components/feature-list-sorting/feature-list-sorting.d.ts +1 -1
  64. package/dist/components/feature-list-sorting/feature-list-sorting.d.ts.map +1 -1
  65. package/dist/components/feature-list-sorting/feature-list-sorting.js +3 -12
  66. package/dist/components/feature-list-sorting/feature-list-sorting.js.map +1 -1
  67. package/dist/components/feature-list-sorting/index.d.ts +4 -16
  68. package/dist/components/feature-list-sorting/index.d.ts.map +1 -1
  69. package/dist/components/feature-list-sorting/index.js +6 -7
  70. package/dist/components/feature-list-sorting/index.js.map +1 -1
  71. package/dist/components/feature-list-sorting/status-indicator.d.ts +1 -1
  72. package/dist/components/feature-list-sorting/status-indicator.d.ts.map +1 -1
  73. package/dist/components/feature-select-button.d.ts +1 -1
  74. package/dist/components/feature-select-button.d.ts.map +1 -1
  75. package/dist/components/feature-selection-info/close-button.d.ts +1 -1
  76. package/dist/components/feature-selection-info/close-button.d.ts.map +1 -1
  77. package/dist/components/feature-selection-info/container.d.ts +1 -1
  78. package/dist/components/feature-selection-info/container.d.ts.map +1 -1
  79. package/dist/components/feature-selection-info/header.d.ts +1 -1
  80. package/dist/components/feature-selection-info/header.d.ts.map +1 -1
  81. package/dist/components/feature-selection-info/index.d.ts +1 -1
  82. package/dist/components/feature-selection-info/index.d.ts.map +1 -1
  83. package/dist/components/feature-selection-info/index.js +2 -2
  84. package/dist/components/feature-selection-info/index.js.map +1 -1
  85. package/dist/components/feature-selection-info/with-sticky-header.d.ts +10 -7
  86. package/dist/components/feature-selection-info/with-sticky-header.d.ts.map +1 -1
  87. package/dist/components/feature-selection-info/with-sticky-header.js +4 -4
  88. package/dist/components/feature-selection-info/with-sticky-header.js.map +1 -1
  89. package/dist/components/feature-selection-info/without-sticky-header.d.ts +1 -1
  90. package/dist/components/feature-selection-info/without-sticky-header.d.ts.map +1 -1
  91. package/dist/components/filter-toggle-control/FilterToggleControl.d.ts +12 -0
  92. package/dist/components/filter-toggle-control/FilterToggleControl.d.ts.map +1 -0
  93. package/dist/components/filter-toggle-control/FilterToggleControl.js +20 -0
  94. package/dist/components/filter-toggle-control/FilterToggleControl.js.map +1 -0
  95. package/dist/components/helping/app-channel.d.ts +1 -1
  96. package/dist/components/helping/app-channel.d.ts.map +1 -1
  97. package/dist/components/helping/app-context.d.ts +2 -2
  98. package/dist/components/helping/app-context.d.ts.map +1 -1
  99. package/dist/components/instance.d.ts +1 -1
  100. package/dist/components/instance.d.ts.map +1 -1
  101. package/dist/components/layer-switcher/GroupedLayerSwitcher.d.ts +1 -1
  102. package/dist/components/layer-switcher/GroupedLayerSwitcher.js +1 -1
  103. package/dist/components/layer-switcher/GroupedLayerSwitcher.js.map +1 -1
  104. package/dist/components/layer-switcher/LayerSwitcher.d.ts +13 -12
  105. package/dist/components/layer-switcher/LayerSwitcher.d.ts.map +1 -1
  106. package/dist/components/layer-switcher/LayerSwitcher.js +1 -1
  107. package/dist/components/layer-switcher/LayerSwitcher.js.map +1 -1
  108. package/dist/components/layer-switcher/LayerSwitcherContainer.d.ts +16 -0
  109. package/dist/components/layer-switcher/LayerSwitcherContainer.d.ts.map +1 -0
  110. package/dist/components/layer-switcher/{LayerSwticherContainer.js → LayerSwitcherContainer.js} +4 -8
  111. package/dist/components/layer-switcher/LayerSwitcherContainer.js.map +1 -0
  112. package/dist/components/layer-switcher/LayerSwitcherEntry.d.ts +28 -12
  113. package/dist/components/layer-switcher/LayerSwitcherEntry.d.ts.map +1 -1
  114. package/dist/components/layer-switcher/LayerSwitcherEntry.js +33 -35
  115. package/dist/components/layer-switcher/LayerSwitcherEntry.js.map +1 -1
  116. package/dist/components/layer-switcher/index.d.ts +9 -2
  117. package/dist/components/layer-switcher/index.d.ts.map +1 -1
  118. package/dist/components/layer-switcher/index.js +12 -21
  119. package/dist/components/layer-switcher/index.js.map +1 -1
  120. package/dist/components/layout/additional-container/content.d.ts +1 -1
  121. package/dist/components/layout/additional-container/content.d.ts.map +1 -1
  122. package/dist/components/layout/additional-container/index.d.ts +1 -1
  123. package/dist/components/layout/additional-container/index.d.ts.map +1 -1
  124. package/dist/components/layout/additional-container/marginal.d.ts +1 -1
  125. package/dist/components/layout/additional-container/marginal.d.ts.map +1 -1
  126. package/dist/components/layout/main-container.d.ts +1 -1
  127. package/dist/components/layout/main-container.d.ts.map +1 -1
  128. package/dist/components/layout/map-row.d.ts +1 -1
  129. package/dist/components/layout/map-row.d.ts.map +1 -1
  130. package/dist/components/layout/title-bar.d.ts +1 -1
  131. package/dist/components/layout/title-bar.d.ts.map +1 -1
  132. package/dist/components/layout/wrapper.d.ts +1 -1
  133. package/dist/components/layout/wrapper.d.ts.map +1 -1
  134. package/dist/components/layout/wrapper.js +1 -1
  135. package/dist/components/layout/wrapper.js.map +1 -1
  136. package/dist/components/link-share.d.ts +1 -1
  137. package/dist/components/link-share.d.ts.map +1 -1
  138. package/dist/components/main-panel/container.d.ts +1 -1
  139. package/dist/components/main-panel/container.d.ts.map +1 -1
  140. package/dist/components/main-panel/context.d.ts +6 -5
  141. package/dist/components/main-panel/context.d.ts.map +1 -1
  142. package/dist/components/main-panel/context.js +5 -13
  143. package/dist/components/main-panel/context.js.map +1 -1
  144. package/dist/components/main-panel/index.d.ts +1 -1
  145. package/dist/components/main-panel/index.d.ts.map +1 -1
  146. package/dist/components/main-panel/list-toggle-button.d.ts +1 -1
  147. package/dist/components/main-panel/list-toggle-button.d.ts.map +1 -1
  148. package/dist/components/main-panel/list-toggle-button.js +2 -2
  149. package/dist/components/main-panel/list-toggle-button.js.map +1 -1
  150. package/dist/components/map-overlay/attribution-entries.d.ts +1 -1
  151. package/dist/components/map-overlay/attribution-entries.d.ts.map +1 -1
  152. package/dist/components/map-overlay/attribution.d.ts +1 -1
  153. package/dist/components/map-overlay/attribution.d.ts.map +1 -1
  154. package/dist/components/map-overlay/attribution.js +1 -1
  155. package/dist/components/map-overlay/attribution.js.map +1 -1
  156. package/dist/components/map-overlay/combined-buttons.d.ts +1 -1
  157. package/dist/components/map-overlay/combined-buttons.d.ts.map +1 -1
  158. package/dist/components/map-overlay/index.d.ts +1 -1
  159. package/dist/components/map-overlay/index.d.ts.map +1 -1
  160. package/dist/components/map-overlay/info-overlay-left.d.ts +1 -1
  161. package/dist/components/map-overlay/info-overlay-left.d.ts.map +1 -1
  162. package/dist/components/map-overlay/info-overlay-left.js +2 -2
  163. package/dist/components/map-overlay/info-overlay-left.js.map +1 -1
  164. package/dist/components/map-overlay/info-overlay-modal.d.ts +1 -1
  165. package/dist/components/map-overlay/info-overlay-modal.d.ts.map +1 -1
  166. package/dist/components/map-overlay/info-overlay-right.d.ts +1 -1
  167. package/dist/components/map-overlay/info-overlay-right.d.ts.map +1 -1
  168. package/dist/components/map-overlay/info-overlay-right.js +2 -2
  169. package/dist/components/map-overlay/info-overlay-right.js.map +1 -1
  170. package/dist/components/map-overlay/layer-switcher-overlay.d.ts +1 -1
  171. package/dist/components/map-overlay/layer-switcher-overlay.d.ts.map +1 -1
  172. package/dist/components/map-overlay/legend.d.ts +1 -1
  173. package/dist/components/map-overlay/legend.d.ts.map +1 -1
  174. package/dist/components/map-overlay/legend.js +1 -1
  175. package/dist/components/map-overlay/legend.js.map +1 -1
  176. package/dist/components/map-overlay/logo.d.ts +1 -1
  177. package/dist/components/map-overlay/logo.d.ts.map +1 -1
  178. package/dist/components/map-overlay/measure-distance-button.d.ts +1 -1
  179. package/dist/components/map-overlay/measure-distance-button.d.ts.map +1 -1
  180. package/dist/components/map-overlay/measure-distance-button.js +1 -1
  181. package/dist/components/map-overlay/measure-distance-button.js.map +1 -1
  182. package/dist/components/map-overlay/measure-distance-overlay.d.ts +1 -1
  183. package/dist/components/map-overlay/measure-distance-overlay.d.ts.map +1 -1
  184. package/dist/components/map-overlay/mini-legend.js +2 -2
  185. package/dist/components/map-overlay/mini-legend.js.map +1 -1
  186. package/dist/components/map-overlay/region-selector.js +2 -2
  187. package/dist/components/map-overlay/region-selector.js.map +1 -1
  188. package/dist/components/map-overlay/search-overlay.d.ts +1 -1
  189. package/dist/components/map-overlay/search-overlay.d.ts.map +1 -1
  190. package/dist/components/map-overlay/search-overlay.js +1 -1
  191. package/dist/components/map-overlay/search-overlay.js.map +1 -1
  192. package/dist/components/map-overlay/share-position-link-button.d.ts +1 -1
  193. package/dist/components/map-overlay/share-position-link-button.d.ts.map +1 -1
  194. package/dist/components/map-overlay/share-position-link-button.js +1 -1
  195. package/dist/components/map-overlay/share-position-link-button.js.map +1 -1
  196. package/dist/components/map-overlay/tool-overlay.d.ts +1 -1
  197. package/dist/components/map-overlay/tool-overlay.d.ts.map +1 -1
  198. package/dist/components/map-overlay/zoom-buttons.d.ts +1 -1
  199. package/dist/components/map-overlay/zoom-buttons.d.ts.map +1 -1
  200. package/dist/components/map-synced-interlay/index.d.ts +3 -6
  201. package/dist/components/map-synced-interlay/index.d.ts.map +1 -1
  202. package/dist/components/map-synced-interlay/index.js +5 -6
  203. package/dist/components/map-synced-interlay/index.js.map +1 -1
  204. package/dist/components/map-synced-interlay/map-synced-interlay.d.ts +1 -1
  205. package/dist/components/map-synced-interlay/map-synced-interlay.d.ts.map +1 -1
  206. package/dist/components/map-synced-interlay/map-synced-interlay.js +1 -1
  207. package/dist/components/map-synced-interlay/map-synced-interlay.js.map +1 -1
  208. package/dist/components/map-synced-interlay/tooltip.d.ts +1 -1
  209. package/dist/components/map-synced-interlay/tooltip.d.ts.map +1 -1
  210. package/dist/components/map-synced-interlay/tooltip.js +1 -1
  211. package/dist/components/map-synced-interlay/tooltip.js.map +1 -1
  212. package/dist/components/map-wrapper.d.ts +3 -3
  213. package/dist/components/map-wrapper.d.ts.map +1 -1
  214. package/dist/components/map-wrapper.js +4 -7
  215. package/dist/components/map-wrapper.js.map +1 -1
  216. package/dist/components/map.d.ts +6 -5
  217. package/dist/components/map.d.ts.map +1 -1
  218. package/dist/components/map.js +15 -5
  219. package/dist/components/map.js.map +1 -1
  220. package/dist/components/mapsight-icon/mapsight-icon.d.ts +10 -0
  221. package/dist/components/mapsight-icon/mapsight-icon.d.ts.map +1 -0
  222. package/dist/components/mapsight-icon/mapsight-icon.js +33 -0
  223. package/dist/components/mapsight-icon/mapsight-icon.js.map +1 -0
  224. package/dist/components/modal.d.ts +1 -1
  225. package/dist/components/modal.d.ts.map +1 -1
  226. package/dist/components/query-input-with-label.d.ts +1 -1
  227. package/dist/components/query-input-with-label.d.ts.map +1 -1
  228. package/dist/components/search/index.d.ts +1 -1
  229. package/dist/components/search/index.d.ts.map +1 -1
  230. package/dist/components/search/index.js +2 -2
  231. package/dist/components/search/index.js.map +1 -1
  232. package/dist/components/search/result-entry.d.ts +1 -1
  233. package/dist/components/search/result-entry.d.ts.map +1 -1
  234. package/dist/components/search/result-entry.js +1 -1
  235. package/dist/components/search/result-entry.js.map +1 -1
  236. package/dist/components/search/result.d.ts +1 -1
  237. package/dist/components/search/result.d.ts.map +1 -1
  238. package/dist/components/search/result.js +1 -1
  239. package/dist/components/search/result.js.map +1 -1
  240. package/dist/components/switcher/GroupedSwitcher.d.ts +1 -1
  241. package/dist/components/switcher/GroupedSwitcher.d.ts.map +1 -1
  242. package/dist/components/switcher/Switcher.d.ts +1 -1
  243. package/dist/components/switcher/Switcher.d.ts.map +1 -1
  244. package/dist/components/switcher/SwitcherButton.d.ts +1 -1
  245. package/dist/components/switcher/SwitcherButton.d.ts.map +1 -1
  246. package/dist/components/switcher/SwitcherEntry.d.ts +21 -3
  247. package/dist/components/switcher/SwitcherEntry.d.ts.map +1 -1
  248. package/dist/components/switcher/SwitcherEntry.js +8 -9
  249. package/dist/components/switcher/SwitcherEntry.js.map +1 -1
  250. package/dist/components/switcher/SwitcherHeader.d.ts +1 -1
  251. package/dist/components/switcher/SwitcherHeader.d.ts.map +1 -1
  252. package/dist/components/switcher/SwitcherStatusIcon.d.ts +1 -1
  253. package/dist/components/switcher/SwitcherStatusIcon.d.ts.map +1 -1
  254. package/dist/components/tag-switcher/TagSwitcher.d.ts +3 -3
  255. package/dist/components/tag-switcher/TagSwitcher.d.ts.map +1 -1
  256. package/dist/components/tag-switcher/TagSwitcher.js.map +1 -1
  257. package/dist/components/tag-switcher/createTagSwitcherEntry.d.ts +13 -11
  258. package/dist/components/tag-switcher/createTagSwitcherEntry.d.ts.map +1 -1
  259. package/dist/components/tag-switcher/createTagSwitcherEntry.js +6 -12
  260. package/dist/components/tag-switcher/createTagSwitcherEntry.js.map +1 -1
  261. package/dist/components/tag-switcher/createTagSwitcherHeader.d.ts +12 -10
  262. package/dist/components/tag-switcher/createTagSwitcherHeader.d.ts.map +1 -1
  263. package/dist/components/tag-switcher/createTagSwitcherHeader.js +5 -5
  264. package/dist/components/tag-switcher/createTagSwitcherHeader.js.map +1 -1
  265. package/dist/components/tag-switcher/index.d.ts +3 -6
  266. package/dist/components/tag-switcher/index.d.ts.map +1 -1
  267. package/dist/components/tag-switcher/index.js +6 -7
  268. package/dist/components/tag-switcher/index.js.map +1 -1
  269. package/dist/components/time-filter.d.ts +1 -1
  270. package/dist/components/time-filter.d.ts.map +1 -1
  271. package/dist/components/view-toggle-button/desktop-button.d.ts +1 -1
  272. package/dist/components/view-toggle-button/desktop-button.d.ts.map +1 -1
  273. package/dist/components/view-toggle-button/index.d.ts +7 -6
  274. package/dist/components/view-toggle-button/index.d.ts.map +1 -1
  275. package/dist/components/view-toggle-button/index.js +8 -8
  276. package/dist/components/view-toggle-button/index.js.map +1 -1
  277. package/dist/components/view-toggle-button/mobile-button.d.ts +1 -1
  278. package/dist/components/view-toggle-button/mobile-button.d.ts.map +1 -1
  279. package/dist/components/view-toggle-button/mobile-button.js.map +1 -1
  280. package/dist/components/view-toggle-button/view-toggle-button.d.ts +1 -1
  281. package/dist/components/view-toggle-button/view-toggle-button.d.ts.map +1 -1
  282. package/dist/components/view-toggle-button/view-toggle-button.js +1 -1
  283. package/dist/components/view-toggle-button/view-toggle-button.js.map +1 -1
  284. package/dist/components/view-toggle-button/viewport-button.d.ts +1 -1
  285. package/dist/components/view-toggle-button/viewport-button.d.ts.map +1 -1
  286. package/dist/components/view-toggle-button/viewport-button.js.map +1 -1
  287. package/dist/config/feature/sources.d.ts +8 -5
  288. package/dist/config/feature/sources.d.ts.map +1 -1
  289. package/dist/config/feature/sources.js +10 -0
  290. package/dist/config/feature/sources.js.map +1 -1
  291. package/dist/config/index.d.ts +1 -1
  292. package/dist/config/map/featureInteractions.js.map +1 -1
  293. package/dist/config/map/layers.d.ts +16 -13
  294. package/dist/config/map/layers.d.ts.map +1 -1
  295. package/dist/config/map/layers.js.map +1 -1
  296. package/dist/config/schema/index.d.ts +195 -0
  297. package/dist/config/schema/index.d.ts.map +1 -0
  298. package/dist/config/schema/index.js +26 -0
  299. package/dist/config/schema/index.js.map +1 -0
  300. package/dist/config/schema/validate.d.ts +8 -0
  301. package/dist/config/schema/validate.d.ts.map +1 -0
  302. package/dist/config/schema/validate.js +7 -0
  303. package/dist/config/schema/validate.js.map +1 -0
  304. package/dist/controllers/defaults.d.ts.map +1 -1
  305. package/dist/controllers/defaults.js +5 -0
  306. package/dist/controllers/defaults.js.map +1 -1
  307. package/dist/filters/tag-filter.d.ts +7 -0
  308. package/dist/filters/tag-filter.d.ts.map +1 -1
  309. package/dist/filters/tag-filter.js +10 -0
  310. package/dist/filters/tag-filter.js.map +1 -1
  311. package/dist/filters/time-filter.d.ts +9 -0
  312. package/dist/filters/time-filter.d.ts.map +1 -1
  313. package/dist/filters/time-filter.js +10 -0
  314. package/dist/filters/time-filter.js.map +1 -1
  315. package/dist/helpers/components.d.ts +1 -1
  316. package/dist/helpers/components.d.ts.map +1 -1
  317. package/dist/helpers/create-action-watcher.d.ts +1 -1
  318. package/dist/helpers/create-action-watcher.d.ts.map +1 -1
  319. package/dist/helpers/create-action-watcher.js +1 -1
  320. package/dist/helpers/create-action-watcher.js.map +1 -1
  321. package/dist/helpers/i18n/de.d.ts.map +1 -1
  322. package/dist/helpers/i18n/de.js +1 -0
  323. package/dist/helpers/i18n/de.js.map +1 -1
  324. package/dist/helpers/i18n/en.d.ts.map +1 -1
  325. package/dist/helpers/i18n/en.js +1 -0
  326. package/dist/helpers/i18n/en.js.map +1 -1
  327. package/dist/helpers/sort-features-by-distance.d.ts +2 -7
  328. package/dist/helpers/sort-features-by-distance.d.ts.map +1 -1
  329. package/dist/helpers/sort-features-by-distance.js +27 -39
  330. package/dist/helpers/sort-features-by-distance.js.map +1 -1
  331. package/dist/hooks/useMapsightIcon.d.ts +8 -0
  332. package/dist/hooks/useMapsightIcon.d.ts.map +1 -0
  333. package/dist/hooks/useMapsightIcon.js +50 -0
  334. package/dist/hooks/useMapsightIcon.js.map +1 -0
  335. package/dist/hooks/useMountable.d.ts +2 -2
  336. package/dist/hooks/useMountable.d.ts.map +1 -1
  337. package/dist/hooks/useMountable.js +6 -0
  338. package/dist/hooks/useMountable.js.map +1 -1
  339. package/dist/hooks/useStickyHeader.d.ts +3 -3
  340. package/dist/hooks/useStickyHeader.d.ts.map +1 -1
  341. package/dist/hooks/useStickyHeader.js +3 -3
  342. package/dist/hooks/useStickyHeader.js.map +1 -1
  343. package/dist/hooks/useUpdateMapSizeCallback.d.ts +1 -1
  344. package/dist/hooks/useUpdateMapSizeCallback.d.ts.map +1 -1
  345. package/dist/hooks/useUpdateMapSizeOnRender.d.ts +1 -1
  346. package/dist/hooks/useUpdateMapSizeOnRender.d.ts.map +1 -1
  347. package/dist/hooks/useUpdateMapSizeOnTransitionEnd.d.ts +1 -1
  348. package/dist/hooks/useUpdateMapSizeOnTransitionEnd.d.ts.map +1 -1
  349. package/dist/hooks/useUpdateMapSizeOnViewChange.d.ts +1 -1
  350. package/dist/hooks/useUpdateMapSizeOnViewChange.d.ts.map +1 -1
  351. package/dist/index.d.ts +2 -2
  352. package/dist/index.d.ts.map +1 -1
  353. package/dist/index.js +16 -5
  354. package/dist/index.js.map +1 -1
  355. package/dist/plugins/browser/app-title.d.ts +1 -1
  356. package/dist/plugins/browser/app-title.d.ts.map +1 -1
  357. package/dist/plugins/browser/feature-deep-link.d.ts +1 -1
  358. package/dist/plugins/browser/feature-deep-link.d.ts.map +1 -1
  359. package/dist/plugins/browser/feature-deep-link.js.map +1 -1
  360. package/dist/plugins/browser/local-storage.d.ts +1 -1
  361. package/dist/plugins/browser/local-storage.d.ts.map +1 -1
  362. package/dist/plugins/browser/native-fullscreen.d.ts +2 -2
  363. package/dist/plugins/browser/native-fullscreen.d.ts.map +1 -1
  364. package/dist/plugins/browser/no-scroll.d.ts +3 -4
  365. package/dist/plugins/browser/no-scroll.d.ts.map +1 -1
  366. package/dist/plugins/browser/no-scroll.js.map +1 -1
  367. package/dist/plugins/browser/partial-content-changed-event.d.ts +1 -1
  368. package/dist/plugins/browser/partial-content-changed-event.d.ts.map +1 -1
  369. package/dist/plugins/browser/piwik-track-feature-selection-event.d.ts +1 -1
  370. package/dist/plugins/browser/piwik-track-feature-selection-event.d.ts.map +1 -1
  371. package/dist/plugins/browser/piwik-track-fullscreen-toggle-event.d.ts +1 -1
  372. package/dist/plugins/browser/piwik-track-fullscreen-toggle-event.d.ts.map +1 -1
  373. package/dist/plugins/browser/search.d.ts +1 -1
  374. package/dist/plugins/browser/search.d.ts.map +1 -1
  375. package/dist/plugins/browser/share-position-link.d.ts +1 -1
  376. package/dist/plugins/browser/share-position-link.d.ts.map +1 -1
  377. package/dist/plugins/browser/share-position-link.js +1 -1
  378. package/dist/plugins/browser/share-position-link.js.map +1 -1
  379. package/dist/plugins/browser/toggle-mobile-views.d.ts +1 -1
  380. package/dist/plugins/browser/toggle-mobile-views.d.ts.map +1 -1
  381. package/dist/plugins/browser/user-geolocation.d.ts +1 -1
  382. package/dist/plugins/browser/user-geolocation.d.ts.map +1 -1
  383. package/dist/plugins/browser/user-geolocation.js +7 -6
  384. package/dist/plugins/browser/user-geolocation.js.map +1 -1
  385. package/dist/plugins/browser/views.d.ts +1 -1
  386. package/dist/plugins/browser/views.d.ts.map +1 -1
  387. package/dist/plugins/browser-defaults.d.ts +15 -13
  388. package/dist/plugins/browser-defaults.d.ts.map +1 -1
  389. package/dist/plugins/browser-defaults.js +18 -13
  390. package/dist/plugins/browser-defaults.js.map +1 -1
  391. package/dist/plugins/common/combined-visible-layers.d.ts +15 -0
  392. package/dist/plugins/common/combined-visible-layers.d.ts.map +1 -0
  393. package/dist/plugins/common/combined-visible-layers.js +63 -0
  394. package/dist/plugins/common/combined-visible-layers.js.map +1 -0
  395. package/dist/plugins/common/feature-selection-details-url.d.ts +1 -1
  396. package/dist/plugins/common/feature-selection-details-url.d.ts.map +1 -1
  397. package/dist/plugins/common/measure-distance.d.ts +1 -1
  398. package/dist/plugins/common/measure-distance.d.ts.map +1 -1
  399. package/dist/plugins/common/measure-distance.js +1 -1
  400. package/dist/plugins/common/measure-distance.js.map +1 -1
  401. package/dist/plugins/common/ol-proxy.d.ts +1 -1
  402. package/dist/plugins/common/ol-proxy.d.ts.map +1 -1
  403. package/dist/plugins/common/render-await-feature-details-loaded.d.ts +1 -1
  404. package/dist/plugins/common/render-await-feature-details-loaded.d.ts.map +1 -1
  405. package/dist/plugins/common/render-await-feature-details-loaded.js +2 -1
  406. package/dist/plugins/common/render-await-feature-details-loaded.js.map +1 -1
  407. package/dist/plugins/common/render-await-list-feature-sources-loaded.d.ts +1 -1
  408. package/dist/plugins/common/render-await-list-feature-sources-loaded.d.ts.map +1 -1
  409. package/dist/plugins/common/render-await-list-feature-sources-loaded.js +2 -1
  410. package/dist/plugins/common/render-await-list-feature-sources-loaded.js.map +1 -1
  411. package/dist/plugins/common/runtime-icon-style.d.ts +12 -0
  412. package/dist/plugins/common/runtime-icon-style.d.ts.map +1 -0
  413. package/dist/plugins/common/runtime-icon-style.js +58 -0
  414. package/dist/plugins/common/runtime-icon-style.js.map +1 -0
  415. package/dist/plugins/server/feature-deep-link.d.ts +1 -1
  416. package/dist/plugins/server/feature-deep-link.d.ts.map +1 -1
  417. package/dist/plugins/server-defaults.d.ts +4 -4
  418. package/dist/plugins/server-defaults.d.ts.map +1 -1
  419. package/dist/plugins/server-defaults.js +4 -4
  420. package/dist/plugins/server-defaults.js.map +1 -1
  421. package/dist/react-modal-app-element.d.ts +6 -0
  422. package/dist/react-modal-app-element.d.ts.map +1 -0
  423. package/dist/react-modal-app-element.js +9 -0
  424. package/dist/react-modal-app-element.js.map +1 -0
  425. package/dist/renderer/browser-dom.d.ts.map +1 -1
  426. package/dist/renderer/browser-dom.js +6 -2
  427. package/dist/renderer/browser-dom.js.map +1 -1
  428. package/dist/renderer/server-string.js +2 -2
  429. package/dist/renderer/server-string.js.map +1 -1
  430. package/dist/store/actions.d.ts +4 -2
  431. package/dist/store/actions.d.ts.map +1 -1
  432. package/dist/store/actions.js +7 -2
  433. package/dist/store/actions.js.map +1 -1
  434. package/dist/store/reducers.d.ts +224 -9
  435. package/dist/store/reducers.d.ts.map +1 -1
  436. package/dist/store/reducers.js +1 -1
  437. package/dist/store/reducers.js.map +1 -1
  438. package/dist/store/selectors.d.ts +267 -243
  439. package/dist/store/selectors.d.ts.map +1 -1
  440. package/dist/store/selectors.js +58 -69
  441. package/dist/store/selectors.js.map +1 -1
  442. package/dist/types.d.ts +65 -36
  443. package/dist/types.d.ts.map +1 -1
  444. package/package.json +26 -11
  445. package/src/scss/blocks/_features-sorting.scss +0 -13
  446. package/src/scss/blocks/_filter-button.scss +23 -0
  447. package/src/scss/blocks/_filter-toggle-control.scss +15 -0
  448. package/src/scss/default.scss +1 -0
  449. package/dist/components/layer-switcher/LayerSwticherContainer.d.ts +0 -4
  450. package/dist/components/layer-switcher/LayerSwticherContainer.d.ts.map +0 -1
  451. package/dist/components/layer-switcher/LayerSwticherContainer.js.map +0 -1
  452. package/src/img/mapsight-ui/check-empty.svg +0 -1
  453. package/src/img/mapsight-ui/check.svg +0 -2
  454. package/src/img/mapsight-ui/close-list.svg +0 -1
  455. package/src/img/mapsight-ui/close.svg +0 -1
  456. package/src/img/mapsight-ui/error.svg +0 -1
  457. package/src/img/mapsight-ui/fullscreen-close.svg +0 -1
  458. package/src/img/mapsight-ui/fullscreen.svg +0 -1
  459. package/src/img/mapsight-ui/geo-active.svg +0 -1
  460. package/src/img/mapsight-ui/geo-error.svg +0 -1
  461. package/src/img/mapsight-ui/geo-inactive.svg +0 -1
  462. package/src/img/mapsight-ui/info.svg +0 -1
  463. package/src/img/mapsight-ui/layers.svg +0 -1
  464. package/src/img/mapsight-ui/loading.svg +0 -1
  465. package/src/img/mapsight-ui/map.svg +0 -1
  466. package/src/img/mapsight-ui/measure-distance.svg +0 -7
  467. package/src/img/mapsight-ui/open-list.svg +0 -1
  468. package/src/img/mapsight-ui/place-marker.svg +0 -4
  469. package/src/img/mapsight-ui/print.svg +0 -4
  470. package/src/img/mapsight-ui/reset-active.svg +0 -1
  471. package/src/img/mapsight-ui/reset.svg +0 -1
  472. package/src/img/mapsight-ui/search.svg +0 -1
  473. package/src/img/mapsight-ui/sharing.svg +0 -7
  474. package/src/img/mapsight-ui/sort-active.svg +0 -1
  475. package/src/img/mapsight-ui/sort.svg +0 -1
  476. package/src/img/mapsight-ui/watermark.svg +0 -1
  477. package/src/img/mapsight-ui/zoom-in.svg +0 -3
  478. package/src/img/mapsight-ui/zoom-out.svg +0 -3
  479. package/src/js/components/app.jsx +0 -237
  480. package/src/js/components/close-overlay-button.tsx +0 -27
  481. package/src/js/components/feature-details-content/feature-details-content-inner.tsx +0 -116
  482. package/src/js/components/feature-details-content/feature-details-content.jsx +0 -185
  483. package/src/js/components/feature-details-content/index.js +0 -20
  484. package/src/js/components/feature-details-content/share-feature-link-modal.jsx +0 -56
  485. package/src/js/components/feature-list/content.jsx +0 -42
  486. package/src/js/components/feature-list/context.tsx +0 -47
  487. package/src/js/components/feature-list/empty-message.jsx +0 -15
  488. package/src/js/components/feature-list/filter.jsx +0 -35
  489. package/src/js/components/feature-list/footer.jsx +0 -5
  490. package/src/js/components/feature-list/grouped-content.jsx +0 -74
  491. package/src/js/components/feature-list/header.jsx +0 -7
  492. package/src/js/components/feature-list/hooks/useAutoloadFeatureSource.ts +0 -25
  493. package/src/js/components/feature-list/hooks/useFeatureListFeatureSource.ts +0 -22
  494. package/src/js/components/feature-list/hooks/useFeatureListItemGroups.ts +0 -127
  495. package/src/js/components/feature-list/hooks/useFeatureListState.ts +0 -90
  496. package/src/js/components/feature-list/hooks/useKeyboardNavigation.js +0 -112
  497. package/src/js/components/feature-list/hooks/useMakeHeaderSticky.js +0 -40
  498. package/src/js/components/feature-list/hooks/usePaginatedFilteredFeatures.ts +0 -129
  499. package/src/js/components/feature-list/hooks/useRestoreDocumentScroll.js +0 -12
  500. package/src/js/components/feature-list/hooks/useSelectFeature.js +0 -88
  501. package/src/js/components/feature-list/index.jsx +0 -278
  502. package/src/js/components/feature-list/pagination.tsx +0 -57
  503. package/src/js/components/feature-list/query-input.jsx +0 -14
  504. package/src/js/components/feature-list-cycling/button.jsx +0 -13
  505. package/src/js/components/feature-list-cycling/dot.jsx +0 -43
  506. package/src/js/components/feature-list-cycling/feature-list-cycling.jsx +0 -153
  507. package/src/js/components/feature-list-cycling/index.js +0 -82
  508. package/src/js/components/feature-list-item/head.jsx +0 -131
  509. package/src/js/components/feature-list-item/hooks/useFeatureListItemScrollAndFocus.js +0 -51
  510. package/src/js/components/feature-list-item/hooks/useFeatureListItemState.ts +0 -75
  511. package/src/js/components/feature-list-item/icon.jsx +0 -35
  512. package/src/js/components/feature-list-item/index.jsx +0 -168
  513. package/src/js/components/feature-list-sorting/feature-list-sorting.tsx +0 -144
  514. package/src/js/components/feature-list-sorting/index.js +0 -25
  515. package/src/js/components/feature-list-sorting/status-indicator.jsx +0 -10
  516. package/src/js/components/feature-select-button.jsx +0 -70
  517. package/src/js/components/feature-selection-info/close-button.jsx +0 -64
  518. package/src/js/components/feature-selection-info/container.jsx +0 -9
  519. package/src/js/components/feature-selection-info/header.tsx +0 -27
  520. package/src/js/components/feature-selection-info/index.tsx +0 -81
  521. package/src/js/components/feature-selection-info/with-sticky-header.jsx +0 -61
  522. package/src/js/components/feature-selection-info/without-sticky-header.jsx +0 -19
  523. package/src/js/components/feature-selection-info/wrapper.jsx +0 -43
  524. package/src/js/components/helping/app-channel.tsx +0 -99
  525. package/src/js/components/helping/app-context.tsx +0 -32
  526. package/src/js/components/helping/visibility-wrapper.jsx +0 -23
  527. package/src/js/components/instance.tsx +0 -48
  528. package/src/js/components/layer-switcher/GroupedLayerSwitcher.js +0 -47
  529. package/src/js/components/layer-switcher/LayerSwitcher.js +0 -27
  530. package/src/js/components/layer-switcher/LayerSwitcherEntry.js +0 -132
  531. package/src/js/components/layer-switcher/LayerSwticherContainer.jsx +0 -80
  532. package/src/js/components/layer-switcher/index.js +0 -47
  533. package/src/js/components/layout/additional-container/content.jsx +0 -10
  534. package/src/js/components/layout/additional-container/index.jsx +0 -5
  535. package/src/js/components/layout/additional-container/marginal.jsx +0 -10
  536. package/src/js/components/layout/main-container.jsx +0 -5
  537. package/src/js/components/layout/map-row.jsx +0 -5
  538. package/src/js/components/layout/title-bar.tsx +0 -25
  539. package/src/js/components/layout/wrapper.jsx +0 -28
  540. package/src/js/components/link-share.jsx +0 -78
  541. package/src/js/components/main-panel/container.tsx +0 -23
  542. package/src/js/components/main-panel/context.jsx +0 -62
  543. package/src/js/components/main-panel/index.tsx +0 -46
  544. package/src/js/components/main-panel/list-toggle-button.jsx +0 -43
  545. package/src/js/components/map-overlay/area.jsx +0 -17
  546. package/src/js/components/map-overlay/attribution-entries.tsx +0 -33
  547. package/src/js/components/map-overlay/attribution.tsx +0 -25
  548. package/src/js/components/map-overlay/combined-buttons.jsx +0 -5
  549. package/src/js/components/map-overlay/index.jsx +0 -5
  550. package/src/js/components/map-overlay/info-overlay-left.jsx +0 -51
  551. package/src/js/components/map-overlay/info-overlay-modal.tsx +0 -49
  552. package/src/js/components/map-overlay/info-overlay-right.jsx +0 -46
  553. package/src/js/components/map-overlay/layer-switcher-overlay.tsx +0 -100
  554. package/src/js/components/map-overlay/legend.tsx +0 -22
  555. package/src/js/components/map-overlay/logo.jsx +0 -11
  556. package/src/js/components/map-overlay/measure-distance-button.tsx +0 -116
  557. package/src/js/components/map-overlay/measure-distance-overlay.jsx +0 -56
  558. package/src/js/components/map-overlay/mini-legend.jsx +0 -103
  559. package/src/js/components/map-overlay/region-selector.jsx +0 -63
  560. package/src/js/components/map-overlay/search-overlay.jsx +0 -79
  561. package/src/js/components/map-overlay/share-position-link-button.tsx +0 -144
  562. package/src/js/components/map-overlay/tool-overlay.tsx +0 -28
  563. package/src/js/components/map-overlay/user-geo-location-button.jsx +0 -89
  564. package/src/js/components/map-overlay/zoom-button.jsx +0 -98
  565. package/src/js/components/map-overlay/zoom-buttons.jsx +0 -26
  566. package/src/js/components/map-synced-interlay/index.js +0 -17
  567. package/src/js/components/map-synced-interlay/map-synced-interlay.jsx +0 -22
  568. package/src/js/components/map-synced-interlay/tooltip-content.tsx +0 -22
  569. package/src/js/components/map-synced-interlay/tooltip.tsx +0 -199
  570. package/src/js/components/map-wrapper.tsx +0 -65
  571. package/src/js/components/map.jsx +0 -37
  572. package/src/js/components/modal.tsx +0 -40
  573. package/src/js/components/query-input-with-label.tsx +0 -71
  574. package/src/js/components/query-input.tsx +0 -81
  575. package/src/js/components/search/index.jsx +0 -83
  576. package/src/js/components/search/query-input.jsx +0 -20
  577. package/src/js/components/search/result-entry.jsx +0 -63
  578. package/src/js/components/search/result.jsx +0 -71
  579. package/src/js/components/switcher/GroupedSwitcher.jsx +0 -42
  580. package/src/js/components/switcher/Switcher.jsx +0 -54
  581. package/src/js/components/switcher/SwitcherButton.jsx +0 -23
  582. package/src/js/components/switcher/SwitcherEntry.jsx +0 -143
  583. package/src/js/components/switcher/SwitcherHeader.jsx +0 -58
  584. package/src/js/components/switcher/SwitcherStatusIcon.jsx +0 -36
  585. package/src/js/components/tag-switcher/TagSwitcher.jsx +0 -57
  586. package/src/js/components/tag-switcher/createTagSwitcherEntry.js +0 -41
  587. package/src/js/components/tag-switcher/createTagSwitcherHeader.js +0 -34
  588. package/src/js/components/tag-switcher/index.js +0 -20
  589. package/src/js/components/time-filter.jsx +0 -187
  590. package/src/js/components/view-toggle-button/desktop-button.jsx +0 -13
  591. package/src/js/components/view-toggle-button/index.js +0 -39
  592. package/src/js/components/view-toggle-button/mobile-button.jsx +0 -13
  593. package/src/js/components/view-toggle-button/view-toggle-button.jsx +0 -74
  594. package/src/js/components/view-toggle-button/viewport-button.jsx +0 -13
  595. package/src/js/config/constants/app.ts +0 -16
  596. package/src/js/config/constants/controllers.ts +0 -11
  597. package/src/js/config/feature/selections.ts +0 -13
  598. package/src/js/config/feature/sources.ts +0 -77
  599. package/src/js/config/index.ts +0 -133
  600. package/src/js/config/map/featureInteractions.ts +0 -53
  601. package/src/js/config/map/interactions.ts +0 -15
  602. package/src/js/config/map/layers.ts +0 -190
  603. package/src/js/controllers/defaults.ts +0 -36
  604. package/src/js/embed/browser.ts +0 -89
  605. package/src/js/embed/node.ts +0 -57
  606. package/src/js/filters/tag-filter.ts +0 -135
  607. package/src/js/filters/time-filter.ts +0 -53
  608. package/src/js/global.d.ts +0 -7
  609. package/src/js/helpers/components.ts +0 -66
  610. package/src/js/helpers/create-action-watcher.ts +0 -35
  611. package/src/js/helpers/events.ts +0 -11
  612. package/src/js/helpers/get-feature-property.ts +0 -14
  613. package/src/js/helpers/i18n/de.ts +0 -145
  614. package/src/js/helpers/i18n/en.ts +0 -140
  615. package/src/js/helpers/i18n/index.ts +0 -41
  616. package/src/js/helpers/makeReplaceableComponent.ts +0 -0
  617. package/src/js/helpers/mod-classes.ts +0 -47
  618. package/src/js/helpers/react.ts +0 -14
  619. package/src/js/helpers/scroll-to-element-top.ts +0 -16
  620. package/src/js/helpers/sort-features-by-distance.ts +0 -102
  621. package/src/js/helpers/sticky.js +0 -143
  622. package/src/js/hooks/useCallbackRef.ts +0 -14
  623. package/src/js/hooks/useControllableState.ts +0 -50
  624. package/src/js/hooks/useDebounce.ts +0 -32
  625. package/src/js/hooks/useHandleEscapeKeyDown.ts +0 -27
  626. package/src/js/hooks/useMapsightPanel.ts +0 -40
  627. package/src/js/hooks/useMountable.ts +0 -38
  628. package/src/js/hooks/usePrevious.ts +0 -15
  629. package/src/js/hooks/useStickyHeader.ts +0 -51
  630. package/src/js/hooks/useUpdateMapSizeCallback.ts +0 -32
  631. package/src/js/hooks/useUpdateMapSizeOnRender.ts +0 -16
  632. package/src/js/hooks/useUpdateMapSizeOnTransitionEnd.ts +0 -40
  633. package/src/js/hooks/useUpdateMapSizeOnViewChange.ts +0 -36
  634. package/src/js/index.ts +0 -319
  635. package/src/js/plugins/browser/app-title.ts +0 -36
  636. package/src/js/plugins/browser/debug.ts +0 -37
  637. package/src/js/plugins/browser/feature-deep-link.ts +0 -222
  638. package/src/js/plugins/browser/local-storage.ts +0 -79
  639. package/src/js/plugins/browser/native-fullscreen.ts +0 -81
  640. package/src/js/plugins/browser/no-scroll.ts +0 -90
  641. package/src/js/plugins/browser/partial-content-changed-event.ts +0 -23
  642. package/src/js/plugins/browser/piwik-track-feature-selection-event.ts +0 -75
  643. package/src/js/plugins/browser/piwik-track-fullscreen-toggle-event.ts +0 -46
  644. package/src/js/plugins/browser/search.ts +0 -42
  645. package/src/js/plugins/browser/share-position-link.ts +0 -463
  646. package/src/js/plugins/browser/toggle-mobile-views.ts +0 -60
  647. package/src/js/plugins/browser/user-geolocation.ts +0 -134
  648. package/src/js/plugins/browser/views.ts +0 -141
  649. package/src/js/plugins/browser-defaults.ts +0 -101
  650. package/src/js/plugins/common/feature-selection-details-url.ts +0 -135
  651. package/src/js/plugins/common/lang.ts +0 -17
  652. package/src/js/plugins/common/measure-distance.ts +0 -223
  653. package/src/js/plugins/common/ol-proxy.ts +0 -68
  654. package/src/js/plugins/common/render-await-feature-details-loaded.ts +0 -153
  655. package/src/js/plugins/common/render-await-list-feature-sources-loaded.ts +0 -108
  656. package/src/js/plugins/server/feature-deep-link.ts +0 -67
  657. package/src/js/plugins/server-defaults.ts +0 -36
  658. package/src/js/renderer/browser-dom.tsx +0 -23
  659. package/src/js/renderer/server-string.tsx +0 -17
  660. package/src/js/server-handler.js +0 -39
  661. package/src/js/store/actions.ts +0 -648
  662. package/src/js/store/reducers.ts +0 -491
  663. package/src/js/store/selectors.ts +0 -449
  664. package/src/js/types.ts +0 -381
package/README.md CHANGED
@@ -1,3 +1,92 @@
1
- # Mapsight ui
1
+ # @mapsight/ui
2
2
 
3
- React based web gis framework based on `@mapsight/core`.
3
+ Default **React UI** for [Mapsight](https://github.com/open-mapsight/mapsight) maps, feature lists, filters, layer
4
+ switchers, and embed helpers on top of [
5
+ `@mapsight/core`](https://github.com/open-mapsight/mapsight/blob/main/packages/core/README.md). Pass a compiled vector
6
+ `styleFunction` (typically from [
7
+ `@mapsight/traffic-style`](https://github.com/open-mapsight/mapsight/blob/main/packages/traffic-style/README.md) or your
8
+ own [
9
+ `@mapsight/vector-style-compiler`](https://github.com/open-mapsight/mapsight/blob/main/packages/vector-style-compiler/README.md)
10
+ build), a declarative config object, and `create()` mounts the Redux-backed GIS runtime into a DOM container.
11
+
12
+ See the [documentation hub](https://github.com/open-mapsight/mapsight/blob/main/docs/README.md) for architecture,
13
+ integration patterns, and licensing.
14
+
15
+ ## Quick start
16
+
17
+ ```ts
18
+ import styleFunction from "@mapsight/traffic-style/default";
19
+ import {create} from "@mapsight/ui";
20
+
21
+ // Declarative layer/view/list config — builders in @mapsight/ui/config
22
+ import mapsightConfig from "./mapsight-config";
23
+
24
+ create(document.getElementById("map"), styleFunction, mapsightConfig);
25
+ ```
26
+
27
+ Copy a working config from [
28
+ `apps/showcase/src/ui-demos/full-config.tsx`](https://github.com/open-mapsight/mapsight/blob/main/apps/showcase/src/ui-demos/full-config.tsx).
29
+
30
+ Runnable apps: [`apps/showcase`](https://github.com/open-mapsight/mapsight/tree/main/apps/showcase) (full UI demo) and [
31
+ `starters/mapsight-host-starter`](https://github.com/open-mapsight/mapsight/tree/main/starters/mapsight-host-starter) (
32
+ host embed), [
33
+ `starters/mapsight-next-starter`](https://github.com/open-mapsight/mapsight/tree/main/starters/mapsight-next-starter) (
34
+ Next.js host).
35
+
36
+ ## Package layout
37
+
38
+ | Import | Role |
39
+ | ---------------------------- | ---------------------------------------------------------------------------- |
40
+ | `@mapsight/ui` | `create()`, React components, plugins, hooks |
41
+ | `@mapsight/ui/config` | Config builders (`map`, `features`, `featureList`, Zod schemas) |
42
+ | `@mapsight/ui/embed/browser` | CMS embed bootstrap (`browserEmbed`, hydration from `data-dehydrated-state`) |
43
+ | `@mapsight/ui/embed/node` | Server-side render entry for dehydrated HTML shells |
44
+
45
+ Peer dependency: `react`, `react-dom`.
46
+
47
+ ## SCSS (host builds)
48
+
49
+ The npm package includes `src/scss/` (variables, reset, default theme partials). Host apps compile their own stylesheet
50
+ with Sass. Point `$ms3-iconPath` at `@mapsight/ui/dist/img/` so your bundler resolves UI chrome icons (`mapsight-ui/*`)
51
+ as assets (Vite/Webpack `~` alias — see starters and [
52
+ `apps/showcase`](https://github.com/open-mapsight/mapsight/tree/main/apps/showcase)):
53
+
54
+ ```scss
55
+ @use "@mapsight/ui/src/scss/variables" with (
56
+ $ms3-iconPath: "~@mapsight/ui/dist/img/"
57
+ );
58
+ @use "@mapsight/ui/src/scss/default";
59
+ @use "@mapsight/ui/src/scss/themes/2022-03" as theme;
60
+ ```
61
+
62
+ Copy `@mapsight/traffic-style` icons (`mapsight-icons*`) to `public/img/` separately — they are fetched at runtime via
63
+ `imagesUrl`, not via this SCSS path.
64
+
65
+ Copy-out templates: [
66
+ `starters/mapsight-host-starter`](https://github.com/open-mapsight/mapsight/tree/main/starters/mapsight-host-starter), [
67
+ `starters/mapsight-next-starter`](https://github.com/open-mapsight/mapsight/tree/main/starters/mapsight-next-starter), [
68
+ `starters/mapsight-vite-spa-starter`](https://github.com/open-mapsight/mapsight/tree/main/starters/mapsight-vite-spa-starter).
69
+
70
+ ## Documentation
71
+
72
+ | Guide | Package | Description |
73
+ | ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | ----------------------------------------------------- |
74
+ | [Documentation hub](https://github.com/open-mapsight/mapsight/blob/main/docs/README.md) | — | Architecture, ecosystem, integration overview |
75
+ | [Mapsight Redux Architecture](https://github.com/open-mapsight/mapsight/blob/main/packages/core/docs/REDUX_ARCHITECTURE.md) | `@mapsight/core` | GIS state layer — store, controllers, OpenLayers sync |
76
+ | [Mapsight Action API — Decision Guide](https://github.com/open-mapsight/mapsight/blob/main/packages/core/docs/ACTION_GUIDE.md) | `@mapsight/core` | Which action API to dispatch for a given task |
77
+ | [SSR and hydration](https://github.com/open-mapsight/mapsight/blob/main/docs/integration/SSR_HYDRATION.md) | — | CMS embed + `data-dehydrated-state` contract |
78
+ | [CMS PHP integration](https://github.com/open-mapsight/mapsight/blob/main/docs/integration/CMS_PHP.md) | — | Classic PHP host pattern |
79
+ | [React SPA](https://github.com/open-mapsight/mapsight/blob/main/docs/integration/REACT_SPA.md) | — | Standalone React apps |
80
+ | [Next.js](https://github.com/open-mapsight/mapsight/blob/main/docs/integration/NEXTJS.md) | — | Next.js host notes |
81
+ | [Default icons and vector styles](https://github.com/open-mapsight/mapsight/blob/main/packages/traffic-style/README.md) | `@mapsight/traffic-style` | Precompiled style function and icon catalog |
82
+ | [Feature list sorter — deferred UX ideas](https://github.com/open-mapsight/mapsight/blob/main/packages/ui/docs/FEATURE_LIST_SORTER_UX.md) | `@mapsight/ui` | Low-priority UX notes (not on the roadmap) |
83
+
84
+ ## Related packages
85
+
86
+ | Package | Role |
87
+ | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
88
+ | [`@mapsight/core`](https://github.com/open-mapsight/mapsight/blob/main/packages/core/README.md) | Redux GIS runtime (usable without React) |
89
+ | [`@mapsight/traffic-style`](https://github.com/open-mapsight/mapsight/blob/main/packages/traffic-style/README.md) | Default style function and icons |
90
+ | [`@mapsight/vector-style-compiler`](https://github.com/open-mapsight/mapsight/blob/main/packages/vector-style-compiler/README.md) | CSS subset → compiled style function |
91
+ | [`@mapsight/lib-ol`](https://github.com/open-mapsight/mapsight/blob/main/packages/lib-ol/README.md) | OpenLayers helpers (style cache, map fit, features) |
92
+ | [`@mapsight/lib-redux`](https://github.com/open-mapsight/mapsight/blob/main/packages/lib-redux/README.md) | Redux helpers used by core and UI plugins |
@@ -1,6 +1,6 @@
1
- export default App;
2
1
  /**
3
2
  * @returns {import('react').ReactElement} element
4
3
  */
5
- declare function App(): import("react").ReactElement;
4
+ declare function App(): import("react").JSX.Element;
5
+ export default App;
6
6
  //# sourceMappingURL=app.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/js/components/app.jsx"],"names":[],"mappings":";AAuEA;;GAEG;AACH,wBAFa,OAAO,OAAO,EAAE,YAAY,CAkKxC"}
1
+ {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/js/components/app.tsx"],"names":[],"mappings":"AAkEA;;GAEG;AACH,iBAAS,GAAG,gCAgKX;AAED,eAAe,GAAG,CAAC"}
@@ -1,12 +1,12 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Fragment } from "react";
3
3
  import { useSelector } from "react-redux";
4
- import { createSelector } from "reselect";
5
- import { isViewFullscreen, isViewMapOnly, isViewMobile, layerSwitcherConfigExternalSelector, layerSwitcherShowExternalSelector, listUiOptionDetailsSelector, listVisible, mapAndListVisible, mapVisible, pageTitleShowSelector, tagSwitcherShowSelector, timeFilterVisible, viewSelector, } from "../store/selectors.js";
6
- import FeatureList from "./feature-list";
4
+ import { createSelector } from "@reduxjs/toolkit";
7
5
  import { useContextComponentWithFallback } from "../helpers/components";
6
+ import { isViewFullscreen, isViewMapOnly, isViewMobile, layerSwitcherConfigExternalSelector, layerSwitcherShowExternalSelector, listUiOptionDetailsSelector, listVisible, mapAndListVisible, mapVisible, pageTitleShowSelector, tagSwitcherShowSelector, timeFilterVisible, viewSelector, } from "../store/selectors";
7
+ import FeatureList from "./feature-list";
8
8
  import VisibilityWrapper from "./helping/visibility-wrapper";
9
- import LayerSwitcher from "./layer-switcher";
9
+ import LayerSwitcher from "./layer-switcher/index";
10
10
  import AdditionalContainer from "./layout/additional-container";
11
11
  import AdditionalContent from "./layout/additional-container/content";
12
12
  import Marginal from "./layout/additional-container/marginal";
@@ -34,9 +34,9 @@ import RegionSelector from "./map-overlay/region-selector";
34
34
  import SearchOverlay from "./map-overlay/search-overlay";
35
35
  import UserGeoLocationButton from "./map-overlay/user-geo-location-button";
36
36
  import ZoomButtons from "./map-overlay/zoom-buttons";
37
- import MapSyncedInterlay from "./map-synced-interlay";
37
+ import MapSyncedInterlay from "./map-synced-interlay/index";
38
38
  import MapWrapper from "./map-wrapper";
39
- import TagSwitcher from "./tag-switcher";
39
+ import TagSwitcher from "./tag-switcher/index";
40
40
  import TimeFilter from "./time-filter";
41
41
  import DesktopViewToggleButton from "./view-toggle-button/desktop-button";
42
42
  import MobileViewToggleButton from "./view-toggle-button/mobile-button";
@@ -62,7 +62,7 @@ function App() {
62
62
  const mapOverlayBottomRight = useContextComponentWithFallback("MapOverlayBottomRight");
63
63
  const mapOverlayEnd = useContextComponentWithFallback("MapOverlayEnd");
64
64
  const mapOverlayModal = useContextComponentWithFallback("MapOverlayModal");
65
- return (_jsxs(AppWrapper, { children: [_jsxs(MainContainer, { children: [_jsx(VisibilityWrapper, { visibleSelector: pageTitleShowSelector, children: _jsx(TitleBar, {}) }), _jsx(VisibilityWrapper, { visibleSelector: mapVisible, children: _jsxs(MapRow, { children: [!isMobile && (_jsx(MainPanelContextProvider, { collapsible: showListInMapRow, showSelectionInfo: !showDetailsInList, showList: showListInMapRow, panelPosition: "left", children: _jsxs(MainPanelContainer, { children: [_jsx(MainPanelListToggleButton, {}), _jsx(MainPanel, {})] }) })), _jsxs(MapWrapper, { children: [_jsx(Map, {}), _jsx(MapSyncedInterlay, {}), _jsxs(MapOverlay, { children: [mapOverlayStart(), _jsx(MapOverlayArea, { position: "top-left", children: mapOverlayTopLeft(_jsxs(Fragment, { children: [_jsx(SearchOverlay, {}), _jsx(RegionSelector, {})] })) }), _jsx(MapOverlayArea, { position: "bottom-left", children: mapOverlayBottomLeft(_jsx(Fragment, { children: _jsx(InfoOverlayLeft, {}) })) }), _jsx(MapOverlayArea, { position: "top-right", children: mapOverlayTopRight(_jsxs(Fragment, { children: [_jsx(LayerSwitcherOverlay, {}), _jsx(DesktopViewToggleButton, {})] })) }), _jsx(MapOverlayArea, { position: "bottom-right", children: mapOverlayBottomRight(_jsxs(Fragment, { children: [_jsx(ZoomButtons, {}), _jsx(UserGeoLocationButton, {}), _jsx(MobileViewToggleButton, {}), _jsx(InfoOverlayRight, {})] })) }), mapOverlayEnd(), _jsx(InfoOverlayModal, { children: mapOverlayModal(_jsxs(Fragment, { children: [isMobile && _jsx(Attribution, {}), _jsx(Legend, {}), _jsx(Logo, {})] })) })] })] })] }) }), isMapOnly && (_jsx(MainPanelContextProvider, { panelPosition: "below", showSelectionInfo: true, children: _jsx(MainPanelContainer, { children: _jsx(MainPanel, {}) }) }))] }), showAdditional && (_jsxs(AdditionalContainer, { children: [_jsx(VisibilityWrapper, { visibleSelector: marginalLeftSelector, children: _jsxs(Marginal, { position: "left", children: [_jsx(VisibilityWrapper, { visibleSelector: layerSwitcherConfigExternalSelector, children: _jsx(LayerSwitcher, { configSelector: layerSwitcherConfigExternalSelector }) }), _jsx(VisibilityWrapper, { visibleSelector: tagSwitcherShowSelector, children: _jsx(TagSwitcher, {}) })] }) }), _jsx(AdditionalContent, { children: _jsx(VisibilityWrapper, { visibleSelector: listVisible, children: _jsx(FeatureList, { enableKeyboardControl: true }) }) }), _jsx(VisibilityWrapper, { visibleSelector: timeFilterVisible, children: _jsx(Marginal, { position: "right", children: _jsx(TimeFilter, {}) }) })] })), _jsx(VisibilityWrapper, { visibleSelector: mapAndListVisible, children: _jsx(ViewportViewToggleButton, {}) })] }));
65
+ return (_jsxs(AppWrapper, { children: [_jsxs(MainContainer, { children: [_jsx(VisibilityWrapper, { visibleSelector: pageTitleShowSelector, children: _jsx(TitleBar, {}) }), _jsx(VisibilityWrapper, { visibleSelector: mapVisible, children: _jsxs(MapRow, { children: [!isMobile && (_jsx(MainPanelContextProvider, { collapsible: showListInMapRow, showSelectionInfo: !showDetailsInList, showList: showListInMapRow, panelPosition: "left", children: _jsxs(MainPanelContainer, { children: [_jsx(MainPanelListToggleButton, {}), _jsx(MainPanel, {})] }) })), _jsxs(MapWrapper, { children: [_jsx(Map, {}), _jsx(MapSyncedInterlay, {}), _jsxs(MapOverlay, { children: [mapOverlayStart(), _jsx(MapOverlayArea, { position: "top-left", children: mapOverlayTopLeft(_jsxs(Fragment, { children: [_jsx(SearchOverlay, {}), _jsx(RegionSelector, {})] })) }), _jsx(MapOverlayArea, { position: "bottom-left", children: mapOverlayBottomLeft(_jsx(Fragment, { children: _jsx(InfoOverlayLeft, {}) })) }), _jsx(MapOverlayArea, { position: "top-right", children: mapOverlayTopRight(_jsxs(Fragment, { children: [_jsx(LayerSwitcherOverlay, {}), _jsx(DesktopViewToggleButton, {})] })) }), _jsx(MapOverlayArea, { position: "bottom-right", children: mapOverlayBottomRight(_jsxs(Fragment, { children: [_jsx(ZoomButtons, {}), _jsx(UserGeoLocationButton, {}), _jsx(MobileViewToggleButton, {}), _jsx(InfoOverlayRight, {})] })) }), mapOverlayEnd(), _jsx(InfoOverlayModal, { children: mapOverlayModal(_jsxs(Fragment, { children: [isMobile && _jsx(Attribution, {}), _jsx(Legend, {}), _jsx(Logo, {})] })) })] })] })] }) }), isMapOnly && (_jsx(MainPanelContextProvider, { panelPosition: "below", showSelectionInfo: true, children: _jsx(MainPanelContainer, { children: _jsx(MainPanel, {}) }) }))] }), showAdditional && (_jsxs(AdditionalContainer, { children: [_jsx(VisibilityWrapper, { visibleSelector: marginalLeftSelector, children: _jsxs(Marginal, { position: "left", children: [_jsx(VisibilityWrapper, { visibleSelector: (state) => !!layerSwitcherConfigExternalSelector(state), children: _jsx(LayerSwitcher, { configSelector: layerSwitcherConfigExternalSelector }) }), _jsx(VisibilityWrapper, { visibleSelector: tagSwitcherShowSelector, children: _jsx(TagSwitcher, {}) })] }) }), _jsx(AdditionalContent, { children: _jsx(VisibilityWrapper, { visibleSelector: listVisible, children: _jsx(FeatureList, { enableKeyboardControl: true }) }) }), _jsx(VisibilityWrapper, { visibleSelector: timeFilterVisible, children: _jsx(Marginal, { position: "right", children: _jsx(TimeFilter, {}) }) })] })), _jsx(VisibilityWrapper, { visibleSelector: mapAndListVisible, children: _jsx(ViewportViewToggleButton, {}) })] }));
66
66
  }
67
67
  export default App;
68
68
  //# sourceMappingURL=app.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/js/components/app.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AACxC,OAAO,EAAC,cAAc,EAAC,MAAM,UAAU,CAAC;AAExC,OAAO,EACN,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,mCAAmC,EACnC,iCAAiC,EACjC,2BAA2B,EAC3B,WAAW,EACX,iBAAiB,EACjB,UAAU,EACV,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,YAAY,GACZ,MAAM,uBAAuB,CAAC;AAC/B,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAC,+BAA+B,EAAC,MAAM,uBAAuB,CAAC;AAEtE,OAAO,iBAAiB,MAAM,8BAA8B,CAAC;AAE7D,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,mBAAmB,MAAM,+BAA+B,CAAC;AAChE,OAAO,iBAAiB,MAAM,uCAAuC,CAAC;AACtE,OAAO,QAAQ,MAAM,wCAAwC,CAAC;AAC9D,OAAO,aAAa,MAAM,yBAAyB,CAAC;AACpD,OAAO,MAAM,MAAM,kBAAkB,CAAC;AACtC,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAE1C,SAAS;AACT,OAAO,UAAU,MAAM,kBAAkB,CAAC;AAC1C,OAAO,SAAS,MAAM,cAAc,CAAC;AACrC,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AAExD,OAAO,EAAC,wBAAwB,EAAC,MAAM,sBAAsB,CAAC;AAC9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iBAAiB,IAAC,eAAe,EAAE,oBAAoB,YACvD,MAAC,QAAQ,IAAC,QAAQ,EAAC,MAAM,aACxB,KAAC,iBAAiB,IACjB,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE,CAC1B,CAAC,CAAC,mCAAmC,CAAC,KAAK,CAAC,YAG7C,KAAC,aAAa,IACb,cAAc,EACb,mCAAmC,GAEnC,GACiB,EACpB,KAAC,iBAAiB,IACjB,eAAe,EAAE,uBAAuB,YAExC,KAAC,WAAW,KAAG,GACI,IACV,GACQ,EAEpB,KAAC,iBAAiB,cACjB,KAAC,iBAAiB,IAAC,eAAe,EAAE,WAAW,YAC9C,KAAC,WAAW,IAAC,qBAAqB,EAAE,IAAI,GAAI,GACzB,GACD,EAEpB,KAAC,iBAAiB,IAAC,eAAe,EAAE,iBAAiB,YACpD,KAAC,QAAQ,IAAC,QAAQ,EAAC,OAAO,YACzB,KAAC,UAAU,KAAG,GACJ,GACQ,IACC,CACtB,EAED,KAAC,iBAAiB,IAAC,eAAe,EAAE,iBAAiB,YACpD,KAAC,wBAAwB,KAAG,GACT,IACR,CACb,CAAC;AACH,CAAC;AAED,eAAe,GAAG,CAAC"}
@@ -5,5 +5,5 @@ declare function FeatureDetailsContent({ feature, html, hasError, isEmbeddedMap
5
5
  html: any;
6
6
  hasError: any;
7
7
  isEmbeddedMap: any;
8
- }): import("react/jsx-runtime").JSX.Element;
8
+ }): import("react").JSX.Element;
9
9
  //# sourceMappingURL=feature-details-content.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feature-details-content.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-details-content/feature-details-content.jsx"],"names":[],"mappings":";;AA6BA;;;;;4CAyJC"}
1
+ {"version":3,"file":"feature-details-content.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-details-content/feature-details-content.jsx"],"names":[],"mappings":";;AA6BA;;;;;gCAyJC"}
@@ -6,8 +6,8 @@ import { VIEW_MAP_ONLY, VIEW_MOBILE } from "../../config/constants/app";
6
6
  import { FEATURE_SELECTIONS } from "../../config/constants/controllers";
7
7
  import { FEATURE_SELECTION_SELECT } from "../../config/feature/selections";
8
8
  import getFeatureProperty from "../../helpers/get-feature-property";
9
- import { setView } from "../../store/actions.js";
10
- import { viewSelector } from "../../store/selectors.js";
9
+ import { setView } from "../../store/actions";
10
+ import { viewSelector } from "../../store/selectors";
11
11
  import { APP_EVENT_PARTIAL_CONTENT_CHANGED, useAppChannelDispatchEvent, } from "../helping/app-channel";
12
12
  import FeatureDetailsContentInner from "./feature-details-content-inner";
13
13
  import ShareFeatureLinkModal from "./share-feature-link-modal";
@@ -1 +1 @@
1
- {"version":3,"file":"feature-details-content.js","sourceRoot":"","sources":["../../../src/js/components/feature-details-content/feature-details-content.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,+CAA+C,CAAC;AAChF,OAAO,EACN,IAAI,EACJ,WAAW,EACX,SAAS,EACT,UAAU,EACV,MAAM,EACN,QAAQ,GACR,MAAM,OAAO,CAAC;AACf,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,aAAa,EAAE,WAAW,EAAC,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAC,wBAAwB,EAAC,MAAM,iCAAiC,CAAC;AAEzE,OAAO,kBAAkB,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAC,OAAO,EAAC,MAAM,wBAAwB,CAAC;AAC/C,OAAO,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EACN,iCAAiC,EACjC,0BAA0B,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,0BAA0B,MAAM,iCAAiC,CAAC;AAEzE,OAAO,qBAAqB,MAAM,4BAA4B,CAAC;AAE/D,SAAS,qBAAqB,CAAC,EAAC,OAAO,EAAE,IAAI,EAAE,QAAQ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,KAAC,qBAAqB,IACrB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,mBAAmB,EAC3B,cAAc,EAAE,oBAAoB,GACnC,IACG,CACN,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"feature-details-content.js","sourceRoot":"","sources":["../../../src/js/components/feature-details-content/feature-details-content.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,+CAA+C,CAAC;AAChF,OAAO,EACN,IAAI,EACJ,WAAW,EACX,SAAS,EACT,UAAU,EACV,MAAM,EACN,QAAQ,GACR,MAAM,OAAO,CAAC;AACf,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,aAAa,EAAE,WAAW,EAAC,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAC,wBAAwB,EAAC,MAAM,iCAAiC,CAAC;AAEzE,OAAO,kBAAkB,MAAM,oCAAoC,CAAC;AAEpE,OAAO,EAAC,OAAO,EAAC,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EACN,iCAAiC,EACjC,0BAA0B,GAC1B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,0BAA0B,MAAM,iCAAiC,CAAC;AAEzE,OAAO,qBAAqB,MAAM,4BAA4B,CAAC;AAE/D,SAAS,qBAAqB,CAAC,EAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,EAAC;IACtE,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,IAAI,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;IAEvC,kDAAkD;IAClD,MAAM,uBAAuB,GAAG,MAAM,EAAE,CAAC;IACzC,MAAM,CAAC,qBAAqB,EAAE,6BAA6B,CAAC,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
3
  html: any;
4
4
  hasError: any;
5
5
  isEmbeddedMap: any;
6
- }) => import("react/jsx-runtime").JSX.Element>, {
7
- [x: string]: JSX.LibraryManagedAttributes<C, import("react-redux").GetProps<C>>;
8
- [x: number]: JSX.LibraryManagedAttributes<C, import("react-redux").GetProps<C>>;
9
- [x: symbol]: JSX.LibraryManagedAttributes<C, import("react-redux").GetProps<C>>;
10
- context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
11
- store?: import("redux").Store | undefined;
6
+ }) => import("react").JSX.Element>, {
7
+ feature: any;
8
+ context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("@reduxjs/toolkit").UnknownAction> | null> | undefined;
9
+ store?: import("@reduxjs/toolkit").Store | undefined;
12
10
  }>;
13
11
  export default _default;
14
12
  //# sourceMappingURL=index.d.ts.map
@@ -1,11 +1,10 @@
1
1
  import { connect } from "react-redux";
2
- import { createStructuredSelector } from "reselect";
3
- import { featureDetailsHasErrorSelector, featureDetailsHtmlSelector, isEmbeddedMapSelector, viewSelector, } from "../../store/selectors.js";
2
+ import { featureDetailsHasErrorSelector, featureDetailsHtmlSelector, isEmbeddedMapSelector, viewSelector, } from "../../store/selectors";
4
3
  import FeatureDetailsContent from "./feature-details-content";
5
- export default connect(createStructuredSelector({
6
- view: viewSelector,
7
- isEmbeddedMap: isEmbeddedMapSelector,
8
- hasError: featureDetailsHasErrorSelector,
9
- html: featureDetailsHtmlSelector,
4
+ export default connect((state) => ({
5
+ view: viewSelector(state),
6
+ isEmbeddedMap: isEmbeddedMapSelector(state),
7
+ hasError: featureDetailsHasErrorSelector(state),
8
+ html: featureDetailsHtmlSelector(state),
10
9
  }))(FeatureDetailsContent);
11
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/feature-details-content/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAC,wBAAwB,EAAC,MAAM,UAAU,CAAC;AAElD,OAAO,EACN,8BAA8B,EAC9B,0BAA0B,EAC1B,qBAAqB,EACrB,YAAY,GACZ,MAAM,0BAA0B,CAAC;AAClC,OAAO,qBAAqB,MAAM,2BAA2B,CAAC;AAE9D,eAAe,OAAO,CACrB,wBAAwB,CAAC;IACxB,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE,qBAAqB;IACpC,QAAQ,EAAE,8BAA8B;IACxC,IAAI,EAAE,0BAA0B;CAChC,CAAC,CACF,CAAC,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/feature-details-content/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAEpC,OAAO,EACN,8BAA8B,EAC9B,0BAA0B,EAC1B,qBAAqB,EACrB,YAAY,GACZ,MAAM,uBAAuB,CAAC;AAC/B,OAAO,qBAAqB,MAAM,2BAA2B,CAAC;AAE9D,eAAe,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IAClC,IAAI,EAAE,YAAY,CAAC,KAAK,CAAC;IACzB,aAAa,EAAE,qBAAqB,CAAC,KAAK,CAAC;IAC3C,QAAQ,EAAE,8BAA8B,CAAC,KAAK,CAAC;IAC/C,IAAI,EAAE,0BAA0B,CAAC,KAAK,CAAC;CACvC,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC"}
@@ -4,5 +4,5 @@ declare function ShareFeatureLinkModal({ isOpen, onRequestClose, feature }: {
4
4
  isOpen: any;
5
5
  onRequestClose: any;
6
6
  feature: any;
7
- }): import("react/jsx-runtime").JSX.Element;
7
+ }): import("react").JSX.Element;
8
8
  //# sourceMappingURL=share-feature-link-modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"share-feature-link-modal.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-details-content/share-feature-link-modal.jsx"],"names":[],"mappings":";;AAYA;;;;4CAyCC"}
1
+ {"version":3,"file":"share-feature-link-modal.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-details-content/share-feature-link-modal.jsx"],"names":[],"mappings":";;AAYA;;;;gCAyCC"}
@@ -1,16 +1,24 @@
1
- import type { PropsWithChildren } from "react";
1
+ import type { ElementType, PropsWithChildren } from "react";
2
2
  import type { FullUiState, MapsightUiFeatureId, SelectFeatureActionOptions } from "../../types";
3
3
  import type { FeatureListStateProps } from "./hooks/useFeatureListState";
4
+ export type FeatureListItemContextProps = {
5
+ showFeatureListInfo: boolean;
6
+ enableKeyboardControl: boolean;
7
+ selectFeature: (featureId: MapsightUiFeatureId, options?: SelectFeatureActionOptions) => void;
8
+ deselectFeature: () => void;
9
+ as?: ElementType;
10
+ };
4
11
  export type FeatureListContextValue = {
5
12
  state: Omit<FeatureListStateProps, "listUiOptions">;
6
13
  listUiOptions: Partial<FullUiState["list"]>;
7
14
  enableKeyboardControl: boolean;
8
15
  showFeatureListInfo: boolean;
9
- selectFeature: (featureId: MapsightUiFeatureId, options: SelectFeatureActionOptions) => void;
10
- deselectFeature: (featureId: MapsightUiFeatureId, options: SelectFeatureActionOptions) => void;
16
+ selectFeature: (featureId: MapsightUiFeatureId, options?: SelectFeatureActionOptions) => void;
17
+ deselectFeature: () => void;
18
+ itemProps: FeatureListItemContextProps;
11
19
  };
12
20
  export declare const FeatureListContextProvider: ({ value, children, }: PropsWithChildren<{
13
21
  value: FeatureListContextValue;
14
- }>) => import("react/jsx-runtime").JSX.Element;
22
+ }>) => import("react").JSX.Element;
15
23
  export declare const useFeatureListContext: () => FeatureListContextValue;
16
24
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-list/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAC;AAG7C,OAAO,KAAK,EACX,WAAW,EACX,mBAAmB,EACnB,0BAA0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AK,CAAC;AACd,CAAC,CAAC"}
1
+ {"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/js/components/feature-list/context.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,aAAa,EAAE,UAAU,EAAC,MAAM,OAAO,CAAC;AAiChD,MAAM,kBAAkB,GAAG,aAAa,CAAiC,IAAI,CAAC,CAAC;AAC/E,kBAAkB,CAAC,WAAW,GAAG,oBAAoB,CAAC;AAEtD,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,EAC1C,KAAK,EACL,QAAQ,GAGP,EAAE,EAAE,CAAC,CACN,KAAC,kBAAkB,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YACvC,QAAQ,GACoB,CAC9B,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACzC,MAAM,KAAK,GAAG,UAAU,CAAC,kBAAkB,CAAC,CAAC;IAC7C,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACpB,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;IACvD,CAAC;IAED,OAAO,KAAK,CAAC;AACd,CAAC,CAAC"}
@@ -3,5 +3,5 @@ declare function FeatureListEmptyMessage({ hasSource, as: T, ...attributes }: {
3
3
  [x: string]: any;
4
4
  hasSource: any;
5
5
  as?: string | undefined;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): import("react").JSX.Element;
7
7
  //# sourceMappingURL=empty-message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"empty-message.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-list/empty-message.jsx"],"names":[],"mappings":";AAEA;;;;4CAUC"}
1
+ {"version":3,"file":"empty-message.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-list/empty-message.jsx"],"names":[],"mappings":";AAEA;;;;gCAUC"}
@@ -1,4 +1,4 @@
1
1
  declare const _default: import("react").MemoExoticComponent<typeof FeatureFilter>;
2
2
  export default _default;
3
- declare function FeatureFilter(): import("react/jsx-runtime").JSX.Element;
3
+ declare function FeatureFilter(): import("react").JSX.Element;
4
4
  //# sourceMappingURL=filter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-list/filter.jsx"],"names":[],"mappings":";;AASA,0EAuBC"}
1
+ {"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-list/filter.jsx"],"names":[],"mappings":";;AASA,8DAuBC"}
@@ -2,8 +2,8 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { memo, useEffect, useState } from "react";
3
3
  import { useDispatch, useSelector } from "react-redux";
4
4
  import useDebounce from "../../hooks/useDebounce";
5
- import { filterListQuery } from "../../store/actions.js";
6
- import { listQuerySelector } from "../../store/selectors.js";
5
+ import { filterListQuery } from "../../store/actions";
6
+ import { listQuerySelector } from "../../store/selectors";
7
7
  import FeaturesQueryInput from "./query-input";
8
8
  function FeatureFilter() {
9
9
  const dispatch = useDispatch();
@@ -1 +1 @@
1
- {"version":3,"file":"filter.js","sourceRoot":"","sources":["../../../src/js/components/feature-list/filter.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AAChD,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAElD,OAAO,EAAC,eAAe,EAAC,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAC,iBAAiB,EAAC,MAAM,0BAA0B,CAAC;AAE3D,OAAO,kBAAkB,MAAM,eAAe,CAAC;AAE/C,SAAS,aAAa;IACrB,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACnE,MAAM,cAAc,GAAG,WAAW,CAAC,KA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AAK,EAAE,GAAG,CAAC,CAAC;IAC/C,SAAS,CAAC,GAAG,EAAE;QACd,IAAI,cAAc,KAAK,EAAE,EAAE,CAAC;YAC3B,QAAQ,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC,CAAC;QAC3C,CAAC;IACF,CAAC,EAAE,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAC;IAE/B,mDAAmD;IACnD,SAAS,CAAC,GAAG,EAAE;QACd,IAAI,KAAK,KAAK,EAAE,EAAE,CAAC;YAClB,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC,CAAC;QAC/B,CAAC;IACF,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC;IAEtB,OAAO,CACN,cAAK,SAAS,EAAC,sBAAsB,YACpC,KAAC,kBAAkB,IAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,GAAI,GACnD,CACN,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,aAAa,CAAC,CAAC"}
@@ -2,5 +2,5 @@ export default FeatureListFooter;
2
2
  declare function FeatureListFooter({ as: T, ...attributes }: {
3
3
  [x: string]: any;
4
4
  as?: string | undefined;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): import("react").JSX.Element;
6
6
  //# sourceMappingURL=footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-list/footer.jsx"],"names":[],"mappings":";AAAA;;;4CAEC"}
1
+ {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-list/footer.jsx"],"names":[],"mappings":";AAAA;;;gCAEC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useAutoloadFeatureSource.d.ts","sourceRoot":"","sources":["../../../../src/js/components/feature-list/hooks/useAutoloadFeatureSource.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAC/C,OAAO,UAAQ,EACf,eAAe,CAAC,EAAE,MAAM,QAYxB"}
1
+ {"version":3,"file":"useAutoloadFeatureSource.d.ts","sourceRoot":"","sources":["../../../../src/js/components/feature-list/hooks/useAutoloadFeatureSource.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAC/C,OAAO,UAAQ,EACf,eAAe,CAAC,EAAE,MAAM,QAqBxB"}
@@ -1,14 +1,23 @@
1
1
  import { useEffect } from "react";
2
- import { useDispatch } from "react-redux";
2
+ import { useDispatch, useSelector } from "react-redux";
3
3
  import { async } from "@mapsight/core/lib/base/actions";
4
4
  import { load } from "@mapsight/core/lib/feature-sources/actions";
5
5
  import { FEATURE_SOURCES } from "../../../config/constants/controllers";
6
6
  export default function useAutoloadFeatureSource(enabled = false, featureSourceId) {
7
7
  const dispatch = useDispatch();
8
+ const needsLoad = useSelector((state) => {
9
+ if (!featureSourceId) {
10
+ return false;
11
+ }
12
+ const featureSource = state[FEATURE_SOURCES]?.[featureSourceId];
13
+ return (!featureSource?.data &&
14
+ !featureSource?.isLoading &&
15
+ !featureSource?.error);
16
+ });
8
17
  useEffect(() => {
9
- if (enabled && featureSourceId) {
18
+ if (enabled && featureSourceId && needsLoad) {
10
19
  dispatch(async(load(FEATURE_SOURCES, featureSourceId)));
11
20
  }
12
- }, [enabled, featureSourceId, dispatch]);
21
+ }, [enabled, featureSourceId, needsLoad, dispatch]);
13
22
  }
14
23
  //# sourceMappingURL=useAutoloadFeatureSource.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"useAutoloadFeatureSource.js","sourceRoot":"","sources":["../../../../src/js/components/feature-list/hooks/useAutoloadFeatureSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAChC,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAIxC,OAAO,EAAC,KAAK,EAAC,MAAM,iCAAiC,CAAC;AACtD,OAAO,EAAC,IAAI,EAAC,MAAM,4CAA4C,CAAC;AAEhE,OAAO,EAAC,eAAe,EAAC,MAAM,uCAAuC,CAAC;AAEtE,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAC/C,OAAO,GAAG,KAAK,EACf,eAAwB;IAExB,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,SAAS,CAAC,GAAG,EAAE;QACd,IAAI,OAAO,IAAI,eAAe,EAAE,CAAC;YAChC,QAAQ,CACP,KAAK,CACJ,IAAI,CAAC,eAAe,EAAE,eAAe,CAAC,CACd,CACzB,CAAC;QACH,CAAC;IACF,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,QAAQ,CAAC,CAAC,CAAC;AAC1C,CAAC"}
1
+ {"version":3,"file":"useAutoloadFeatureSource.js","sourceRoot":"","sources":["../../../../src/js/components/feature-list/hooks/useAutoloadFeatureSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAChC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAIrD,OAAO,EAAC,KAAK,EAAC,MAAM,iCAAiC,CAAC;AACtD,OAAO,EAAC,IAAI,EAAC,MAAM,4CAA4C,CAAC;AAGhE,OAAO,EAAC,eAAe,EAAC,MAAM,uCAAuC,CAAC;AAEtE,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAC/C,OAAO,GAAG,KAAK,EACf,eAAwB;IAExB,MAAM,QAAQ,GAAG,WAAW,EAAyC,CAAC;IACtE,MAAM,SAAS,GAAG,WAAW,CAAC,CAAC,KAAY,EAAE,EAAE;QAC9C,IAAI,CAAC,eAAe,EAAE,CAAC;YACtB,OAAO,KAAK,CAAC;QACd,CAAC;QAED,MAAM,aAAa,GAAG,KAAK,CAAC,eAAe,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC;QAChE,OAAO,CACN,CAAC,aAAa,EAAE,IAAI;YACpB,CAAC,aAAa,EAAE,SAAS;YACzB,CAAC,aAAa,EAAE,KAAK,CACrB,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACd,IAAI,OAAO,IAAI,eAAe,IAAI,SAAS,EAAE,CAAC;YAC7C,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;QACzD,CAAC;IACF,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;AACrD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFeatureListState.d.ts","sourceRoot":"","sources":["../../../../src/js/components/feature-list/hooks/useFeatureListState.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,iDAAiD,CAAC;AAQ3F,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAC,8BAA8B,EAAC,MAAM,gCAAgC,CAAC;AAGnF,MAAM,MAAM,qBAAqB,GAAG,8BAA8B,GAAG;IACpE,eAAe,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;IACpD,yBAAyB,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;IAC5E,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,SAAS,GAAG,qBAAqB,CAAC;IACnD,kBAAkB,EAAE,SAAS,GAAG,qBAAqB,CAAC;IACtD,kBAAkB,EAAE,SAAS,GAAG,qBAAqB,CAAC;CACtD,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAC1C,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,EAClC,IAAI,UAAO,EACX,MAAM,UAAO,EACb,oBAAoB,UAAO,EAC3B,kBAAkB,SAAe,yBAwDjC"}
1
+ {"version":3,"file":"useFeatureListState.d.ts","sourceRoot":"","sources":["../../../../src/js/components/feature-list/hooks/useFeatureListState.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,iDAAiD,CAAC;AAe3F,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAC,8BAA8B,EAAC,MAAM,gCAAgC,CAAC;AAGnF,MAAM,MAAM,qBAAqB,GAAG,8BAA8B,GAAG;IACpE,eAAe,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC;IACpD,yBAAyB,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,UAAU,CAAC,CAAC;IAC5E,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,SAAS,GAAG,qBAAqB,CAAC;IACnD,kBAAkB,EAAE,SAAS,GAAG,qBAAqB,CAAC;IACtD,kBAAkB,EAAE,SAAS,GAAG,qBAAqB,CAAC;CACtD,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAC1C,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,EAClC,IAAI,UAAO,EACX,MAAM,UAAO,EACb,oBAAoB,UAAO,EAC3B,kBAAkB,SAAe,yBAyDjC"}
@@ -2,12 +2,17 @@ import { useMemo } from "react";
2
2
  import { useSelector } from "react-redux";
3
3
  import { getFeatureSourceError, getFeatureSourceStatus, } from "@mapsight/core/lib/feature-sources/selectors";
4
4
  import { FEATURE_LIST } from "../../../config/constants/controllers";
5
- import { featureListContextSelector } from "../../../store/selectors";
5
+ import { highlightSelectionSelector, lastListScrollPositionSelector, layerSwitcherShowExternalSelector, preselectSelectionSelector, selectSelectionSelector, tagSwitcherShowSelector, } from "../../../store/selectors";
6
6
  import useFeatureListFeatureSource from "./useFeatureListFeatureSource";
7
7
  import usePaginatedFilteredFeatures from "./usePaginatedFilteredFeatures";
8
8
  export default function useFeatureListState(listUiOptions, sort = true, filter = true, enableScrollPosition = true, listControllerName = FEATURE_LIST) {
9
9
  const { featureSourceId, featureSource } = useFeatureListFeatureSource(listControllerName);
10
- const { tagSwitcherShow, layerSwitcherShowExternal, scrollPosition, selectSelection, preselectSelection, highlightSelection, } = useSelector(featureListContextSelector);
10
+ const tagSwitcherShow = useSelector(tagSwitcherShowSelector);
11
+ const layerSwitcherShowExternal = useSelector(layerSwitcherShowExternalSelector);
12
+ const scrollPosition = useSelector(lastListScrollPositionSelector);
13
+ const selectSelection = useSelector(selectSelectionSelector);
14
+ const preselectSelection = useSelector(preselectSelectionSelector);
15
+ const highlightSelection = useSelector(highlightSelectionSelector);
11
16
  const paginatedFilteredFeaturesState = usePaginatedFilteredFeatures(featureSource, listUiOptions, sort, filter);
12
17
  const featureSourceState = useMemo(() => ({
13
18
  status: featureSource
@@ -1 +1 @@
1
- {"version":3,"file":"useFeatureListState.js","sourceRoot":"","sources":["../../../../src/js/components/feature-list/hooks/useFeatureListState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAGxC,OAAO,EACN,qBAAqB,EACrB,sBAAsB,GACtB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EAAC,YAAY,EAAC,MAAM,uCAAuC,CAAC;AACnE,OAAO,EAAC,0BAA0B,EAAC,MAAM,0BAA0B,CAAC;AAEpE,OAAO,2BAA2B,MAAM,+BAA+B,CAAC;AAExE,OAAO,4BAA4B,MAAM,gCAAgC,CAAC;AAc1E,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAC1C,a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AAM,EAAE,aAAa;YACpB,CAAC,CAAC,sBAAsB,CAAC,aAAa,CAAC;YACvC,CAAC,CAAC,IAAI;QACP,KAAK,EAAE,aAAa;YACnB,CAAC,CAAE,qBAAqB,CAAC,aAAa,CAAmB;YACzD,CAAC,CAAC,IAAI;KACP,CAAC,EACF,CAAC,aAAa,CAAC,CACf,CAAC;IAEF,OAAO,OAAO,CACb,GAA0B,EAAE,CAAC,CAAC;QAC7B,GAAG,8BAA8B;QACjC,GAAG,kBAAkB;QACrB,eAAe,EAAE,CAAC,CAAC,eAAe;QAClC,yBAAyB,EAAE,CAAC,CAAC,yBAAyB;QACtD,eAAe;QACf,cAAc,EACb,CAAC,oBAAoB,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI;QACvD,eAAe;QACf,kBAAkB;QAClB,kBAAkB;KAClB,CAAC,EACF;QACC,8BAA8B;QAC9B,kBAAkB;QAClB,eAAe;QACf,yBAAyB;QACzB,eAAe;QACf,oBAAoB;QACpB,cAAc;QACd,eAAe;QACf,kBAAkB;QAClB,kBAAkB;KAClB,CACD,CAAC;AACH,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { useEffect } from "react";
2
- import { isViewFullscreen, isViewMobile } from "../../../store/selectors.js";
2
+ import { isViewFullscreen, isViewMobile } from "../../../store/selectors";
3
3
  export default function useRestoreDocumentScroll(view, scrollPosition) {
4
4
  useEffect(() => {
5
5
  if ((isViewMobile(view) || isViewFullscreen(view)) && scrollPosition) {
@@ -1 +1 @@
1
- {"version":3,"file":"useRestoreDocumentScroll.js","sourceRoot":"","sources":["../../../../src/js/components/feature-list/hooks/useRestoreDocumentScroll.js"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAC,gBAAgB,EAAE,YAAY,EAAC,MAAM,6BAA6B,CAAC;AAE3E,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,IAAI,EAAE,cAAc;IACpE,SAAS,CAAC,GAAG,EAAE;QACd,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC,IAAI,cAAc,EAAE,CAAC;YACtE,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,SAAS,GAAG,cAAc,CAAC;YAC3D,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,GAAG,cAAc,CAAC;QACjD,CAAC;IACF,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC;AAC5B,CAAC"}
1
+ {"version":3,"file":"useRestoreDocumentScroll.js","sourceRoot":"","sources":["../../../../src/js/components/feature-list/hooks/useRestoreDocumentScroll.js"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC,OAAO,EAAC,gBAAgB,EAAE,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAExE,MAAM,CAAC,OAAO,UAAU,wBAAwB,CAAC,IAAI,EAAE,cAAc;IACpE,SAAS,CAAC,GAAG,EAAE;QACd,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAAC,IAAI,cAAc,EAAE,CAAC;YACtE,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,SAAS,GAAG,cAAc,CAAC;YAC3D,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,GAAG,cAAc,CAAC;QACjD,CAAC;IACF,CAAC,EAAE,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC;AAC5B,CAAC"}
@@ -2,12 +2,12 @@ import { useMemo } from "react";
2
2
  import { useSelector } from "react-redux";
3
3
  import { batchActions } from "redux-batched-actions";
4
4
  import { deselectAll, selectExclusively, } from "@mapsight/core/lib/feature-selections/actions";
5
- import { VIEW_MAP_ONLY } from "../../../config/constants/app.js";
6
- import { FEATURE_SELECTIONS } from "../../../config/constants/controllers.js";
7
- import { FEATURE_SELECTION_HIGHLIGHT } from "../../../config/feature/selections.js";
8
- import { setLastListScrollPosition, setView } from "../../../store/actions.js";
9
- import { listUiOptionSelectedOnlySelector, listUiOptionSelectionBehaviorSelector, listUiOptionSelectionSelectionSelector, viewSelector, } from "../../../store/selectors.js";
10
- import { APP_EVENT_SCROLL_TO_MAP, useAppChannelDispatchEvent, } from "../../helping/app-channel.js";
5
+ import { VIEW_MAP_ONLY } from "../../../config/constants/app";
6
+ import { FEATURE_SELECTIONS } from "../../../config/constants/controllers";
7
+ import { FEATURE_SELECTION_HIGHLIGHT } from "../../../config/feature/selections";
8
+ import { setLastListScrollPosition, setView } from "../../../store/actions";
9
+ import { listUiOptionSelectedOnlySelector, listUiOptionSelectionBehaviorSelector, listUiOptionSelectionSelectionSelector, viewSelector, } from "../../../store/selectors";
10
+ import { APP_EVENT_SCROLL_TO_MAP, useAppChannelDispatchEvent, } from "../../helping/app-channel";
11
11
  const getDocumentScroll = () => window.document.documentElement.scrollTop ||
12
12
  window.document.body.scrollTop ||
13
13
  0;
@@ -1 +1 @@
1
- {"version":3,"file":"useSelectFeature.js","sourceRoot":"","sources":["../../../../src/js/components/feature-list/hooks/useSelectFeature.js"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EACN,WAAW,EACX,iBAAiB,GACjB,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAC,kBAAkB,EAAC,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EAAC,2BAA2B,EAAC,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAC,yBAAyB,EAAE,OAAO,EAAC,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EACN,gCAAgC,EAChC,qCAA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,6FAA6F;YAChG,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;QACtC,CAAC;QAED,OAAO,YAAY,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC,EACF;QACC,kBAAkB;QAClB,gBAAgB;QAChB,iBAAiB;QACjB,0BAA0B;QAC1B,IAAI;KACJ,CACD,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"useSelectFeature.js","sourceRoot":"","sources":["../../../../src/js/components/feature-list/hooks/useSelectFeature.js"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,OAAO,CAAC;AAC9B,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EACN,WAAW,EACX,iBAAiB,GACjB,MAAM,+CAA+C,CAAC;AAEvD,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAC,kBAAkB,EAAC,MAAM,uCAAuC,CAAC;AACzE,OAAO,EAAC,2BAA2B,EAAC,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAC,yBAAyB,EAAE,OAAO,EAAC,MAAM,wBAAwB,CAAC;AAC1E,OAAO,EACN,gCAAgC,EAChC,qCAAqC,EACrC,sCAAsC,EACtC,YAAY,GACZ,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACN,uBAAuB,EACvB,0BAA0B,GAC1B,MAAM,2BAA2B,CAAC;AAEnC,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAC9B,MAAM,CAAC,QAAQ,CAAC,eAAe,CAAC,SAAS;IACzC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS;IAC9B,CAAC,CAAC;AAEH,MAAM,CAAC,OAAO,UAAU,gBAAgB;IACvC,MAAM,kBAAkB,GAAG,0BAA0B,EAAE,CAAC;IACxD,MAAM,iBAAiB,GAAG,WAAW,CACpC,qCAAqC,CACrC,CAAC;IACF,MAAM,0BAA0B,GAAG,WAAW,CAC7C,sCAAsC,CACtC,CAAC;IACF,MAAM,gBAAgB,GAAG,WAAW,CAAC,gCAAgC,CAAC,CAAC;IACvE,MAAM,IAAI,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;IAEvC,OAAO,OAAO,CACb,GAAG,EAAE,CACJ,SAAS,mBAAmB,CAAC,SAAS;QACrC,MAAM,OAAO,GAAG;YACf,WAAW,CACV,kBAAkB,EAClB,2BAA2B,CAC3B;YACD,iBAAiB,CAChB,kBAAkB,EAClB,0BAA0B,EAC1B,SAAS,CACT;SACD,CAAC;QAEF,IACC,CAAC,gBAAgB;YACjB,iBAAiB,CAAC,IAAI,CAAC,KAAK,aAAa,EACxC,CAAC;YACF,OAAO,CAAC,IAAI,CACX,yBAAyB,CAAC,iBAAiB,EAAE,CAAC,CAC9C,CAAC;YACF,UAAU,CACT,GAAG,EAAE,CACJ,kBAAkB,CACjB,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAClC,EACF,EAAE,CACF,CAAC;QACH,CAAC;aAAM,IAAI,iBAAiB,CAAC,IAAI,CAAC,KAAK,mBAAmB,EAAE,CAAC;YAC5D,OAAO,CAAC,IAAI,CACX,yBAAyB,CAAC,iBAAiB,EAAE,CAAC,CAC9C,CAAC,CAAC,6FAA6F;YAChG,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;QACtC,CAAC;QAED,OAAO,YAAY,CAAC,OAAO,CAAC,CAAC;IAC9B,CAAC,EACF;QACC,kBAAkB;QAClB,gBAAgB;QAChB,iBAAiB;QACjB,0BAA0B;QAC1B,IAAI;KACJ,CACD,CAAC;AACH,CAAC"}
@@ -1,4 +1,5 @@
1
- export const DEFAULT_LIST_RENDER_AS: "ul";
2
- declare const _default: import("react").ForwardRefExoticComponent<import("../../types").FeatureListProps<unknown> & import("react").RefAttributes<unknown>>;
1
+ import type { FeatureListProps } from "../../types";
2
+ export declare const DEFAULT_LIST_RENDER_AS = "ul";
3
+ declare const _default: import("react").ForwardRefExoticComponent<FeatureListProps & import("react").RefAttributes<HTMLElement>>;
3
4
  export default _default;
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-list/index.jsx"],"names":[],"mappings":"AAmCA,qCAAsC,IAAI,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-list/index.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EACX,gBAAgB,EAKhB,MAAM,aAAa,CAAC;AA0BrB,eAAO,MAAM,sBAAsB,OAAO,CAAC;;AA8O3C,wBAA4C"}