@mapsight/ui 7.0.2 → 7.1.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.
- package/dist/components/app.d.ts +2 -2
- package/dist/components/app.d.ts.map +1 -1
- package/dist/components/app.js +7 -7
- package/dist/components/app.js.map +1 -1
- package/dist/components/feature-details-content/feature-details-content.js +2 -2
- package/dist/components/feature-details-content/feature-details-content.js.map +1 -1
- package/dist/components/feature-details-content/index.d.ts +3 -5
- package/dist/components/feature-details-content/index.js +6 -7
- package/dist/components/feature-details-content/index.js.map +1 -1
- package/dist/components/feature-list/filter.js +2 -2
- package/dist/components/feature-list/filter.js.map +1 -1
- package/dist/components/feature-list/hooks/useFeatureListState.d.ts.map +1 -1
- package/dist/components/feature-list/hooks/useFeatureListState.js +7 -2
- package/dist/components/feature-list/hooks/useFeatureListState.js.map +1 -1
- package/dist/components/feature-list/hooks/useRestoreDocumentScroll.js +1 -1
- package/dist/components/feature-list/hooks/useRestoreDocumentScroll.js.map +1 -1
- package/dist/components/feature-list/hooks/useSelectFeature.js +6 -6
- package/dist/components/feature-list/hooks/useSelectFeature.js.map +1 -1
- package/dist/components/feature-list/index.js +4 -4
- package/dist/components/feature-list/index.js.map +1 -1
- package/dist/components/feature-list-cycling/index.d.ts +3 -5
- package/dist/components/feature-list-cycling/index.js +1 -1
- package/dist/components/feature-list-cycling/index.js.map +1 -1
- package/dist/components/feature-list-sorting/index.d.ts +4 -16
- package/dist/components/feature-list-sorting/index.d.ts.map +1 -1
- package/dist/components/feature-list-sorting/index.js +6 -7
- package/dist/components/feature-list-sorting/index.js.map +1 -1
- package/dist/components/feature-selection-info/index.js +2 -2
- package/dist/components/feature-selection-info/index.js.map +1 -1
- package/dist/components/feature-selection-info/with-sticky-header.d.ts +10 -7
- package/dist/components/feature-selection-info/with-sticky-header.d.ts.map +1 -1
- package/dist/components/feature-selection-info/with-sticky-header.js +4 -4
- package/dist/components/feature-selection-info/with-sticky-header.js.map +1 -1
- package/dist/components/helping/app-context.d.ts +1 -1
- package/dist/components/helping/app-context.d.ts.map +1 -1
- package/dist/components/layer-switcher/GroupedLayerSwitcher.js +1 -1
- package/dist/components/layer-switcher/GroupedLayerSwitcher.js.map +1 -1
- package/dist/components/layer-switcher/LayerSwitcher.d.ts +12 -11
- package/dist/components/layer-switcher/LayerSwitcher.d.ts.map +1 -1
- package/dist/components/layer-switcher/LayerSwitcher.js +1 -1
- package/dist/components/layer-switcher/LayerSwitcher.js.map +1 -1
- package/dist/components/layer-switcher/LayerSwitcherContainer.d.ts +15 -0
- package/dist/components/layer-switcher/LayerSwitcherContainer.d.ts.map +1 -0
- package/dist/components/layer-switcher/{LayerSwticherContainer.js → LayerSwitcherContainer.js} +5 -9
- package/dist/components/layer-switcher/LayerSwitcherContainer.js.map +1 -0
- package/dist/components/layer-switcher/LayerSwitcherEntry.d.ts +28 -12
- package/dist/components/layer-switcher/LayerSwitcherEntry.d.ts.map +1 -1
- package/dist/components/layer-switcher/LayerSwitcherEntry.js +33 -35
- package/dist/components/layer-switcher/LayerSwitcherEntry.js.map +1 -1
- package/dist/components/layer-switcher/index.d.ts +9 -2
- package/dist/components/layer-switcher/index.d.ts.map +1 -1
- package/dist/components/layer-switcher/index.js +12 -21
- package/dist/components/layer-switcher/index.js.map +1 -1
- package/dist/components/layout/wrapper.js +1 -1
- package/dist/components/layout/wrapper.js.map +1 -1
- package/dist/components/main-panel/context.d.ts +6 -5
- package/dist/components/main-panel/context.d.ts.map +1 -1
- package/dist/components/main-panel/context.js +5 -13
- package/dist/components/main-panel/context.js.map +1 -1
- package/dist/components/main-panel/list-toggle-button.js +2 -2
- package/dist/components/main-panel/list-toggle-button.js.map +1 -1
- package/dist/components/map-overlay/attribution.js +1 -1
- package/dist/components/map-overlay/attribution.js.map +1 -1
- package/dist/components/map-overlay/info-overlay-left.js +2 -2
- package/dist/components/map-overlay/info-overlay-left.js.map +1 -1
- package/dist/components/map-overlay/info-overlay-right.js +2 -2
- package/dist/components/map-overlay/info-overlay-right.js.map +1 -1
- package/dist/components/map-overlay/legend.js +1 -1
- package/dist/components/map-overlay/legend.js.map +1 -1
- package/dist/components/map-overlay/measure-distance-button.js +1 -1
- package/dist/components/map-overlay/measure-distance-button.js.map +1 -1
- package/dist/components/map-overlay/mini-legend.js +2 -2
- package/dist/components/map-overlay/mini-legend.js.map +1 -1
- package/dist/components/map-overlay/region-selector.js +2 -2
- package/dist/components/map-overlay/region-selector.js.map +1 -1
- package/dist/components/map-overlay/search-overlay.js +1 -1
- package/dist/components/map-overlay/search-overlay.js.map +1 -1
- package/dist/components/map-overlay/share-position-link-button.js +1 -1
- package/dist/components/map-overlay/share-position-link-button.js.map +1 -1
- package/dist/components/map-synced-interlay/index.d.ts +2 -5
- package/dist/components/map-synced-interlay/index.d.ts.map +1 -1
- package/dist/components/map-synced-interlay/index.js +5 -6
- package/dist/components/map-synced-interlay/index.js.map +1 -1
- package/dist/components/map-synced-interlay/map-synced-interlay.js +1 -1
- package/dist/components/map-synced-interlay/map-synced-interlay.js.map +1 -1
- package/dist/components/map-synced-interlay/tooltip.js +1 -1
- package/dist/components/map-synced-interlay/tooltip.js.map +1 -1
- package/dist/components/map.d.ts +6 -5
- package/dist/components/map.d.ts.map +1 -1
- package/dist/components/map.js +15 -5
- package/dist/components/map.js.map +1 -1
- package/dist/components/search/index.js +2 -2
- package/dist/components/search/index.js.map +1 -1
- package/dist/components/search/result-entry.js +1 -1
- package/dist/components/search/result-entry.js.map +1 -1
- package/dist/components/search/result.js +1 -1
- package/dist/components/search/result.js.map +1 -1
- package/dist/components/switcher/SwitcherEntry.d.ts +21 -3
- package/dist/components/switcher/SwitcherEntry.d.ts.map +1 -1
- package/dist/components/switcher/SwitcherEntry.js +8 -9
- package/dist/components/switcher/SwitcherEntry.js.map +1 -1
- package/dist/components/tag-switcher/TagSwitcher.d.ts +2 -2
- package/dist/components/tag-switcher/TagSwitcher.d.ts.map +1 -1
- package/dist/components/tag-switcher/TagSwitcher.js.map +1 -1
- package/dist/components/tag-switcher/createTagSwitcherEntry.d.ts +13 -11
- package/dist/components/tag-switcher/createTagSwitcherEntry.d.ts.map +1 -1
- package/dist/components/tag-switcher/createTagSwitcherEntry.js +6 -12
- package/dist/components/tag-switcher/createTagSwitcherEntry.js.map +1 -1
- package/dist/components/tag-switcher/createTagSwitcherHeader.d.ts +12 -10
- package/dist/components/tag-switcher/createTagSwitcherHeader.d.ts.map +1 -1
- package/dist/components/tag-switcher/createTagSwitcherHeader.js +5 -5
- package/dist/components/tag-switcher/createTagSwitcherHeader.js.map +1 -1
- package/dist/components/tag-switcher/index.d.ts +2 -5
- package/dist/components/tag-switcher/index.d.ts.map +1 -1
- package/dist/components/tag-switcher/index.js +6 -7
- package/dist/components/tag-switcher/index.js.map +1 -1
- package/dist/components/view-toggle-button/index.d.ts +6 -5
- package/dist/components/view-toggle-button/index.d.ts.map +1 -1
- package/dist/components/view-toggle-button/index.js +8 -8
- package/dist/components/view-toggle-button/index.js.map +1 -1
- package/dist/components/view-toggle-button/mobile-button.d.ts +1 -1
- package/dist/components/view-toggle-button/mobile-button.d.ts.map +1 -1
- package/dist/components/view-toggle-button/mobile-button.js.map +1 -1
- package/dist/components/view-toggle-button/view-toggle-button.js +1 -1
- package/dist/components/view-toggle-button/view-toggle-button.js.map +1 -1
- package/dist/components/view-toggle-button/viewport-button.d.ts +1 -1
- package/dist/components/view-toggle-button/viewport-button.d.ts.map +1 -1
- package/dist/components/view-toggle-button/viewport-button.js.map +1 -1
- package/dist/helpers/components.d.ts +1 -1
- package/dist/helpers/components.d.ts.map +1 -1
- package/dist/helpers/create-action-watcher.d.ts +1 -1
- package/dist/helpers/create-action-watcher.d.ts.map +1 -1
- package/dist/helpers/create-action-watcher.js +1 -1
- package/dist/helpers/create-action-watcher.js.map +1 -1
- package/dist/hooks/useMountable.d.ts +2 -2
- package/dist/hooks/useMountable.d.ts.map +1 -1
- package/dist/hooks/useMountable.js +6 -0
- package/dist/hooks/useMountable.js.map +1 -1
- package/dist/hooks/useStickyHeader.d.ts +3 -3
- package/dist/hooks/useStickyHeader.d.ts.map +1 -1
- package/dist/hooks/useStickyHeader.js +3 -3
- package/dist/hooks/useStickyHeader.js.map +1 -1
- package/dist/hooks/useUpdateMapSizeCallback.d.ts +1 -1
- package/dist/hooks/useUpdateMapSizeCallback.d.ts.map +1 -1
- package/dist/hooks/useUpdateMapSizeOnRender.d.ts +1 -1
- package/dist/hooks/useUpdateMapSizeOnRender.d.ts.map +1 -1
- package/dist/hooks/useUpdateMapSizeOnTransitionEnd.d.ts +1 -1
- package/dist/hooks/useUpdateMapSizeOnTransitionEnd.d.ts.map +1 -1
- package/dist/hooks/useUpdateMapSizeOnViewChange.d.ts +1 -1
- package/dist/hooks/useUpdateMapSizeOnViewChange.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/plugins/browser/app-title.d.ts +1 -1
- package/dist/plugins/browser/app-title.d.ts.map +1 -1
- package/dist/plugins/browser/feature-deep-link.d.ts +1 -1
- package/dist/plugins/browser/feature-deep-link.d.ts.map +1 -1
- package/dist/plugins/browser/feature-deep-link.js.map +1 -1
- package/dist/plugins/browser/local-storage.d.ts +1 -1
- package/dist/plugins/browser/local-storage.d.ts.map +1 -1
- package/dist/plugins/browser/native-fullscreen.d.ts +2 -2
- package/dist/plugins/browser/native-fullscreen.d.ts.map +1 -1
- package/dist/plugins/browser/no-scroll.d.ts +3 -4
- package/dist/plugins/browser/no-scroll.d.ts.map +1 -1
- package/dist/plugins/browser/no-scroll.js.map +1 -1
- package/dist/plugins/browser/partial-content-changed-event.d.ts +1 -1
- package/dist/plugins/browser/partial-content-changed-event.d.ts.map +1 -1
- package/dist/plugins/browser/piwik-track-feature-selection-event.d.ts +1 -1
- package/dist/plugins/browser/piwik-track-feature-selection-event.d.ts.map +1 -1
- package/dist/plugins/browser/piwik-track-fullscreen-toggle-event.d.ts +1 -1
- package/dist/plugins/browser/piwik-track-fullscreen-toggle-event.d.ts.map +1 -1
- package/dist/plugins/browser/search.d.ts +1 -1
- package/dist/plugins/browser/search.d.ts.map +1 -1
- package/dist/plugins/browser/share-position-link.d.ts +1 -1
- package/dist/plugins/browser/share-position-link.d.ts.map +1 -1
- package/dist/plugins/browser/share-position-link.js +1 -1
- package/dist/plugins/browser/share-position-link.js.map +1 -1
- package/dist/plugins/browser/toggle-mobile-views.d.ts +1 -1
- package/dist/plugins/browser/toggle-mobile-views.d.ts.map +1 -1
- package/dist/plugins/browser/user-geolocation.d.ts +1 -1
- package/dist/plugins/browser/user-geolocation.d.ts.map +1 -1
- package/dist/plugins/browser/user-geolocation.js +7 -6
- package/dist/plugins/browser/user-geolocation.js.map +1 -1
- package/dist/plugins/browser/views.d.ts +1 -1
- package/dist/plugins/browser/views.d.ts.map +1 -1
- package/dist/plugins/browser-defaults.d.ts +13 -13
- package/dist/plugins/browser-defaults.d.ts.map +1 -1
- package/dist/plugins/browser-defaults.js +13 -13
- package/dist/plugins/browser-defaults.js.map +1 -1
- package/dist/plugins/common/feature-selection-details-url.d.ts +1 -1
- package/dist/plugins/common/feature-selection-details-url.d.ts.map +1 -1
- package/dist/plugins/common/measure-distance.d.ts +1 -1
- package/dist/plugins/common/measure-distance.d.ts.map +1 -1
- package/dist/plugins/common/measure-distance.js +1 -1
- package/dist/plugins/common/measure-distance.js.map +1 -1
- package/dist/plugins/common/ol-proxy.d.ts +1 -1
- package/dist/plugins/common/ol-proxy.d.ts.map +1 -1
- package/dist/plugins/common/render-await-feature-details-loaded.d.ts +1 -1
- package/dist/plugins/common/render-await-feature-details-loaded.d.ts.map +1 -1
- package/dist/plugins/common/render-await-feature-details-loaded.js +2 -1
- package/dist/plugins/common/render-await-feature-details-loaded.js.map +1 -1
- package/dist/plugins/common/render-await-list-feature-sources-loaded.d.ts +1 -1
- package/dist/plugins/common/render-await-list-feature-sources-loaded.d.ts.map +1 -1
- package/dist/plugins/common/render-await-list-feature-sources-loaded.js +2 -1
- package/dist/plugins/common/render-await-list-feature-sources-loaded.js.map +1 -1
- package/dist/plugins/server/feature-deep-link.d.ts +1 -1
- package/dist/plugins/server/feature-deep-link.d.ts.map +1 -1
- package/dist/plugins/server-defaults.d.ts +4 -4
- package/dist/plugins/server-defaults.d.ts.map +1 -1
- package/dist/plugins/server-defaults.js +4 -4
- package/dist/plugins/server-defaults.js.map +1 -1
- package/dist/renderer/browser-dom.d.ts.map +1 -1
- package/dist/renderer/browser-dom.js +6 -2
- package/dist/renderer/browser-dom.js.map +1 -1
- package/dist/renderer/server-string.js +2 -2
- package/dist/renderer/server-string.js.map +1 -1
- package/dist/store/actions.d.ts +4 -2
- package/dist/store/actions.d.ts.map +1 -1
- package/dist/store/actions.js +1 -1
- package/dist/store/actions.js.map +1 -1
- package/dist/store/reducers.d.ts +222 -9
- package/dist/store/reducers.d.ts.map +1 -1
- package/dist/store/reducers.js +1 -1
- package/dist/store/reducers.js.map +1 -1
- package/dist/store/selectors.d.ts +274 -243
- package/dist/store/selectors.d.ts.map +1 -1
- package/dist/store/selectors.js +49 -68
- package/dist/store/selectors.js.map +1 -1
- package/dist/types.d.ts +50 -35
- package/dist/types.d.ts.map +1 -1
- package/package.json +8 -9
- package/src/js/components/{app.jsx → app.tsx} +9 -14
- package/src/js/components/feature-details-content/feature-details-content.jsx +2 -2
- package/src/js/components/feature-details-content/index.js +7 -11
- package/src/js/components/feature-list/filter.jsx +2 -2
- package/src/js/components/feature-list/hooks/useAutoloadFeatureSource.ts +1 -1
- package/src/js/components/feature-list/hooks/useFeatureListState.ts +17 -9
- package/src/js/components/feature-list/hooks/useRestoreDocumentScroll.js +1 -1
- package/src/js/components/feature-list/hooks/useSelectFeature.js +6 -6
- package/src/js/components/feature-list/index.jsx +4 -4
- package/src/js/components/feature-list-cycling/index.js +1 -1
- package/src/js/components/feature-list-sorting/index.js +6 -9
- package/src/js/components/feature-selection-info/index.tsx +3 -3
- package/src/js/components/feature-selection-info/{with-sticky-header.jsx → with-sticky-header.tsx} +23 -8
- package/src/js/components/helping/app-context.tsx +1 -1
- package/src/js/components/layer-switcher/GroupedLayerSwitcher.js +1 -1
- package/src/js/components/layer-switcher/{LayerSwitcher.js → LayerSwitcher.ts} +11 -4
- package/src/js/components/layer-switcher/{LayerSwticherContainer.jsx → LayerSwitcherContainer.tsx} +22 -14
- package/src/js/components/layer-switcher/LayerSwitcherEntry.ts +152 -0
- package/src/js/components/layer-switcher/index.ts +42 -0
- package/src/js/components/layout/wrapper.jsx +1 -1
- package/src/js/components/main-panel/context.tsx +71 -0
- package/src/js/components/main-panel/list-toggle-button.jsx +2 -2
- package/src/js/components/map-overlay/attribution.tsx +1 -1
- package/src/js/components/map-overlay/info-overlay-left.jsx +2 -2
- package/src/js/components/map-overlay/info-overlay-right.jsx +2 -2
- package/src/js/components/map-overlay/legend.tsx +1 -1
- package/src/js/components/map-overlay/measure-distance-button.tsx +1 -1
- package/src/js/components/map-overlay/mini-legend.jsx +2 -2
- package/src/js/components/map-overlay/region-selector.jsx +2 -2
- package/src/js/components/map-overlay/search-overlay.jsx +1 -1
- package/src/js/components/map-overlay/share-position-link-button.tsx +1 -1
- package/src/js/components/map-synced-interlay/index.ts +15 -0
- package/src/js/components/map-synced-interlay/map-synced-interlay.jsx +1 -1
- package/src/js/components/map-synced-interlay/tooltip.tsx +1 -1
- package/src/js/components/map.tsx +55 -0
- package/src/js/components/search/index.jsx +2 -2
- package/src/js/components/search/result-entry.jsx +1 -1
- package/src/js/components/search/result.jsx +1 -1
- package/src/js/components/switcher/{SwitcherEntry.jsx → SwitcherEntry.tsx} +47 -26
- package/src/js/components/tag-switcher/{TagSwitcher.jsx → TagSwitcher.tsx} +1 -2
- package/src/js/components/tag-switcher/{createTagSwitcherEntry.js → createTagSwitcherEntry.ts} +14 -16
- package/src/js/components/tag-switcher/createTagSwitcherHeader.ts +47 -0
- package/src/js/components/tag-switcher/index.ts +17 -0
- package/src/js/components/view-toggle-button/{index.js → index.ts} +13 -10
- package/src/js/components/view-toggle-button/view-toggle-button.jsx +1 -1
- package/src/js/helpers/components.ts +1 -1
- package/src/js/helpers/create-action-watcher.ts +3 -3
- package/src/js/hooks/useMountable.ts +10 -1
- package/src/js/hooks/useStickyHeader.ts +7 -8
- package/src/js/hooks/useUpdateMapSizeCallback.ts +1 -1
- package/src/js/hooks/useUpdateMapSizeOnRender.ts +1 -1
- package/src/js/hooks/useUpdateMapSizeOnTransitionEnd.ts +1 -1
- package/src/js/hooks/useUpdateMapSizeOnViewChange.ts +1 -1
- package/src/js/index.ts +4 -3
- package/src/js/plugins/browser/app-title.ts +1 -1
- package/src/js/plugins/browser/feature-deep-link.ts +4 -3
- package/src/js/plugins/browser/local-storage.ts +1 -1
- package/src/js/plugins/browser/native-fullscreen.ts +2 -2
- package/src/js/plugins/browser/no-scroll.ts +3 -2
- package/src/js/plugins/browser/partial-content-changed-event.ts +1 -1
- package/src/js/plugins/browser/piwik-track-feature-selection-event.ts +1 -1
- package/src/js/plugins/browser/piwik-track-fullscreen-toggle-event.ts +1 -1
- package/src/js/plugins/browser/search.ts +1 -1
- package/src/js/plugins/browser/share-position-link.ts +2 -2
- package/src/js/plugins/browser/toggle-mobile-views.ts +1 -1
- package/src/js/plugins/browser/user-geolocation.ts +20 -12
- package/src/js/plugins/browser/views.ts +1 -1
- package/src/js/plugins/browser-defaults.ts +14 -14
- package/src/js/plugins/common/feature-selection-details-url.ts +1 -1
- package/src/js/plugins/common/measure-distance.ts +4 -4
- package/src/js/plugins/common/ol-proxy.ts +1 -1
- package/src/js/plugins/common/render-await-feature-details-loaded.ts +3 -2
- package/src/js/plugins/common/render-await-list-feature-sources-loaded.ts +3 -2
- package/src/js/plugins/server/feature-deep-link.ts +1 -1
- package/src/js/plugins/server-defaults.ts +5 -5
- package/src/js/renderer/browser-dom.tsx +8 -4
- package/src/js/renderer/server-string.tsx +2 -2
- package/src/js/store/actions.ts +24 -10
- package/src/js/store/reducers.ts +3 -3
- package/src/js/store/selectors.ts +192 -158
- package/src/js/types.ts +65 -41
- package/dist/components/layer-switcher/LayerSwticherContainer.d.ts +0 -4
- package/dist/components/layer-switcher/LayerSwticherContainer.d.ts.map +0 -1
- package/dist/components/layer-switcher/LayerSwticherContainer.js.map +0 -1
- package/src/js/components/layer-switcher/LayerSwitcherEntry.js +0 -132
- package/src/js/components/layer-switcher/index.js +0 -47
- package/src/js/components/main-panel/context.jsx +0 -62
- package/src/js/components/map-synced-interlay/index.js +0 -17
- package/src/js/components/map.jsx +0 -37
- package/src/js/components/tag-switcher/createTagSwitcherHeader.js +0 -34
- package/src/js/components/tag-switcher/index.js +0 -20
- package/src/js/global.d.ts +0 -7
- /package/src/js/components/view-toggle-button/{mobile-button.jsx → mobile-button.tsx} +0 -0
- /package/src/js/components/view-toggle-button/{viewport-button.jsx → viewport-button.tsx} +0 -0
package/dist/components/app.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/js/components/app.
|
|
1
|
+
{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../../src/js/components/app.tsx"],"names":[],"mappings":"AAkEA;;GAEG;AACH,iBAAS,GAAG,4CAgKX;AAED,eAAe,GAAG,CAAC"}
|
package/dist/components/app.js
CHANGED
|
@@ -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 "
|
|
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.
|
|
1
|
+
{"version":3,"file":"app.js","sourceRoot":"","sources":["../../src/js/components/app.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAC,+BAA+B,EAAC,MAAM,uBAAuB,CAAC;AACtE,OAAO,EACN,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,mCAAmC,EACnC,iCAAiC,EACj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"../../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
|
|
10
|
-
import { viewSelector } from "../../store/selectors
|
|
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,
|
|
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,E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,EAAE,CAAC;IAE7D;;OAEG;IACH,MAAM,mBAAmB,GAAG,WAAW,CACtC,CAAC,wBAAwB,EAAE,EAAE;QAC5B,uBAAuB,CACtB,IAAI,WAAW,CAAC,iCAAiC,CAAC,CAClD,CAAC;QACF,uBAAuB,CAAC,OAAO,GAAG,wBAAwB,CAAC;QAC3D,6BAA6B,CAAC,EAAE,CAAC,CAAC;IACnC,CAAC,EACD,CAAC,uBAAuB,CAAC,CACzB,CAAC;IAEF,MAAM,oBAAoB,GAAG,WAAW,CAAC,GAAG,EAAE;QAC7C,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAE7B,OAAO,CACN,0BACC,KAAC,0BAA0B,IAC1B,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,kBAAkB,CAAC,OAAO,EAAE,YAAY,CAAC,EAC9C,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,EAClB,mBAAmB,EAAE,mBAAmB,GACvC,EAEF,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"}
|
|
@@ -4,11 +4,9 @@ declare const _default: import("react-redux").ConnectedComponent<import("react")
|
|
|
4
4
|
hasError: any;
|
|
5
5
|
isEmbeddedMap: any;
|
|
6
6
|
}) => import("react/jsx-runtime").JSX.Element>, {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
|
|
11
|
-
store?: import("redux").Store | undefined;
|
|
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 {
|
|
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(
|
|
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,
|
|
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"}
|
|
@@ -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
|
|
6
|
-
import { listQuerySelector } from "../../store/selectors
|
|
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,
|
|
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,qBAAqB,CAAC;AACpD,OAAO,EAAC,iBAAiB,EAAC,MAAM,uBAAuB,CAAC;AAExD,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,KAAK,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"}
|
|
@@ -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;
|
|
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 {
|
|
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
|
|
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,
|
|
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;A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EF,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
|
|
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,
|
|
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
|
|
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
|
|
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,
|
|
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,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,OAAO,CAAC,CAAC;IAC9B,CAAC,EACF;QACC,kBAAkB;QAClB,gBAAgB;QAChB,iBAAiB;QACjB,0BAA0B;QAC1B,IAAI;KACJ,CACD,CAAC;AACH,CAAC"}
|
|
@@ -4,12 +4,12 @@ import { forwardRef, useCallback, useMemo, useRef } from "react";
|
|
|
4
4
|
import { useDispatch, useSelector } from "react-redux";
|
|
5
5
|
import { FEATURE_SELECTIONS } from "../../config/constants/controllers";
|
|
6
6
|
import getFeatureProperty from "../../helpers/get-feature-property";
|
|
7
|
-
import { layerSwitcherConfigExternalSelector, listUiOptionsSelector, viewSelector, } from "../../store/selectors
|
|
7
|
+
import { layerSwitcherConfigExternalSelector, listUiOptionsSelector, viewSelector, } from "../../store/selectors";
|
|
8
8
|
import FeatureCycling from "../feature-list-cycling";
|
|
9
9
|
import FeatureSorter from "../feature-list-sorting";
|
|
10
10
|
import { APP_EVENT_SCROLL_TO_FEATURE_LIST, useAppChannelEventListener, } from "../helping/app-channel";
|
|
11
|
-
import LayerSwitcher from "../layer-switcher";
|
|
12
|
-
import TagSwitcher from "../tag-switcher";
|
|
11
|
+
import LayerSwitcher from "../layer-switcher/index";
|
|
12
|
+
import TagSwitcher from "../tag-switcher/index";
|
|
13
13
|
import { FeatureListContextProvider } from "./context";
|
|
14
14
|
import FeatureFilter from "./filter";
|
|
15
15
|
import FeatureListFooter from "./footer";
|
|
@@ -20,7 +20,7 @@ import useFeatureListState from "./hooks/useFeatureListState";
|
|
|
20
20
|
import { useMakeHeaderSticky } from "./hooks/useMakeHeaderSticky";
|
|
21
21
|
import useRestoreDocumentScroll from "./hooks/useRestoreDocumentScroll";
|
|
22
22
|
import useSelectFeature from "./hooks/useSelectFeature";
|
|
23
|
-
import Pagination from "./pagination
|
|
23
|
+
import Pagination from "./pagination";
|
|
24
24
|
export const DEFAULT_LIST_RENDER_AS = "ul";
|
|
25
25
|
function stopEventPropagation(e) {
|
|
26
26
|
e.stopPropagation();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/feature-list/index.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAC,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AACtE,OAAO,kBAAkB,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACN,mCAAmC,EACnC,qBAAqB,EACrB,YAAY,GACZ,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/feature-list/index.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,+CAA+C,CAAC;AAC1E,OAAO,EAAC,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AACtE,OAAO,kBAAkB,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACN,mCAAmC,EACnC,qBAAqB,EACrB,YAAY,GACZ,MAAM,uBAAuB,CAAC;AAC/B,OAAO,cAAc,MAAM,yBAAyB,CAAC;AAErD,OAAO,aAAa,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EACN,gCAAgC,EAChC,0BAA0B,GAC1B,MAAM,wBAAwB,CAAC;AAChC,OAAO,aAAa,MAAM,yBAAyB,CAAC;AACpD,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAEhD,OAAO,EAAC,0BAA0B,EAAC,MAAM,WAAW,CAAC;AAErD,OAAO,aAAa,MAAM,UAAU,CAAC;AACrC,OAAO,iBAAiB,MAAM,UAAU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CAAC,IACD,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,oBAAoB,EACjC,GAAG,EAAE,GAAG,KACJ,UAAU,aAEd,MAAC,OAAO,IAAC,GAAG,EAAE,SAAS,aACrB,SAAS,EAET,WAAW,KAAK,KAAK,IAAI,KAAC,aAAa,KAAG,EAE1C,cAAc,IAAI,CAClB,KAAC,cAAc,IAAC,gBAAgB,EAAE,gBAAgB,GAAI,CACtD,EAEA,cAAc,IAAI,yBAAyB,IAAI,CAC/C,KAAC,aAAa,IACb,cAAc,EAAE,mCAAmC,GAClD,CACF,EAEA,cAAc,IAAI,eAAe,IAAI,KAAC,WAAW,KAAG,IAC5C,EACV,KAAC,QAAQ,IACR,OAAO,EAAE,aAAa,EACtB,MAAM,EAAE,YAAY,EACpB,eAAe,EAAE,eAAe,GAC/B,EACF,KAAC,OAAO,cACN,iBAAiB,CAAC,CAAC,CAAC,CACpB,KAAC,UAAU,IACV,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC,GAC5C,CACF,CAAC,CAAC,CAAC,IAAI,GACC,IACP,GACwB,CAC7B,CAAC;AACH,CAAC;AAED,eAAe,UAAU,CAAC,WAAW,CAAC,CAAC"}
|
|
@@ -6,11 +6,9 @@ declare const _default: import("react-redux").ConnectedComponent<import("react")
|
|
|
6
6
|
onFeatureHighlight: any;
|
|
7
7
|
onFeatureUnHighlight: any;
|
|
8
8
|
}) => import("react/jsx-runtime").JSX.Element>, {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
|
|
13
|
-
store?: import("redux").Store | undefined;
|
|
9
|
+
filteredFeatures: any;
|
|
10
|
+
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("@reduxjs/toolkit").UnknownAction> | null> | undefined;
|
|
11
|
+
store?: import("@reduxjs/toolkit").Store | undefined;
|
|
14
12
|
}>;
|
|
15
13
|
export default _default;
|
|
16
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { connect } from "react-redux";
|
|
2
|
+
import { createSelector } from "@reduxjs/toolkit";
|
|
2
3
|
import { batchActions } from "redux-batched-actions";
|
|
3
|
-
import { createSelector } from "reselect";
|
|
4
4
|
import { deselectAll, selectExclusively, } from "@mapsight/core/lib/feature-selections/actions";
|
|
5
5
|
import { createFeatureSelectionSelector, getFilteredFeatures, } from "@mapsight/core/lib/feature-selections/selectors";
|
|
6
6
|
import { FEATURE_SELECTIONS } from "../../config/constants/controllers";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/feature-list-cycling/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/feature-list-cycling/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAEnD,OAAO,EACN,WAAW,EACX,iBAAiB,GACjB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EACN,8BAA8B,EAC9B,mBAAmB,GACnB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AACtE,OAAO,EACN,2BAA2B,EAC3B,wBAAwB,GACxB,MAAM,iCAAiC,CAAC;AACzC,OAAO,kBAAkB,MAAM,wBAAwB,CAAC;AAExD,eAAe,OAAO;AACrB,sBAAsB;AACtB,cAAc,CACb;IACC,8BAA8B,CAC7B,kBAAkB,EAClB,wBAAwB,CACxB;IACD,8BAA8B,CAC7B,kBAAkB,EAClB,2BAA2B,CAC3B;CACD,EAED,CAAC,eAAe,EAAE,kBAAkB,EAAE,EAAE;IACvC,MAAM,uBAAuB,GAC5B,mBAAmB,CAAC,eAAe,CAAC,CAAC;IACtC,MAAM,0BAA0B,GAC/B,mBAAmB,CAAC,kBAAkB,CAAC,CAAC;IAEzC,OAAO;QACN,iBAAiB,EAChB,uBAAuB,IAAI,uBAAuB,CAAC,CAAC,CAAC;QACtD,oBAAoB,EACnB,0BAA0B,IAAI,0BAA0B,CAAC,CAAC,CAAC;KAC5D,CAAC;AACH,CAAC,CACD;AAED,gBAAgB;AAChB,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;IACd,kBAAkB,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE;QAChC,MAAM,OAAO,GAAG;YACf,WAAW,CAAC,kBAAkB,EAAE,2BAA2B,CAAC;YAC5D,iBAAiB,CAChB,kBAAkB,EAClB,wBAAwB,EACxB,EAAE,EACF,CAAC,EACD,CAAC,CACD;SACD,CAAC;QAEF,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,CAAC;IACjC,CAAC;IACD,oBAAoB,EAAE,GAAG,EAAE,CAC1B,QAAQ,CAAC,WAAW,CAAC,kBAAkB,EAAE,wBAAwB,CAAC,CAAC;IACpE,kBAAkB,EAAE,CAAC,EAAE,EAAE,EAAE,CAC1B,QAAQ,CACP,iBAAiB,CAChB,kBAAkB,EAClB,2BAA2B,EAC3B,EAAE,CACF,CACD;IACF,oBAAoB,EAAE,GAAG,EAAE,CAC1B,QAAQ,CACP,WAAW,CAAC,kBAAkB,EAAE,2BAA2B,CAAC,CAC5D;CACF,CAAC,CACF,CAAC,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,24 +1,12 @@
|
|
|
1
|
-
declare const _default: import("react-redux").ConnectedComponent<import("react").
|
|
2
|
-
sorting: string | undefined;
|
|
3
|
-
places: import("./feature-list-sorting").MapsightUiPlacesData;
|
|
4
|
-
geolocationStatus: "error" | "loading" | null;
|
|
5
|
-
} & {
|
|
6
|
-
onChange: typeof sortList;
|
|
7
|
-
requestGeolocation: typeof getGeolocation;
|
|
8
|
-
}, {
|
|
1
|
+
declare const _default: import("react-redux").ConnectedComponent<import("react").MemoExoticComponent<({ places, sorting, geolocationStatus, onChange, requestGeolocation, }: {
|
|
9
2
|
places: import("./feature-list-sorting").MapsightUiPlacesData;
|
|
10
3
|
sorting: string;
|
|
11
4
|
geolocationStatus: string;
|
|
12
5
|
onChange: (value: string) => void;
|
|
13
6
|
requestGeolocation: () => void;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[x: symbol]: JSX.LibraryManagedAttributes<C, import("react-redux").GetProps<C>>;
|
|
18
|
-
context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
|
|
19
|
-
store?: import("redux").Store | undefined;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element>, {
|
|
8
|
+
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("@reduxjs/toolkit").UnknownAction> | null> | undefined;
|
|
9
|
+
store?: import("@reduxjs/toolkit").Store | undefined;
|
|
20
10
|
}>;
|
|
21
11
|
export default _default;
|
|
22
|
-
import { sortList } from "../../store/actions.ts";
|
|
23
|
-
import { getGeolocation } from "@mapsight/core/lib/user-geolocation/actions";
|
|
24
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-list-sorting/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-list-sorting/index.js"],"names":[],"mappings":""}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { connect } from "react-redux";
|
|
2
|
-
import { createStructuredSelector } from "reselect";
|
|
3
2
|
import { getGeolocation } from "@mapsight/core/lib/user-geolocation/actions";
|
|
4
3
|
import { geolocationStatusSelector } from "@mapsight/core/lib/user-geolocation/selectors";
|
|
5
4
|
import { USER_GEOLOCATION } from "../../config/constants/controllers";
|
|
6
|
-
import { sortList } from "../../store/actions
|
|
7
|
-
import { listSortingSelector, placesSelector } from "../../store/selectors
|
|
5
|
+
import { sortList } from "../../store/actions";
|
|
6
|
+
import { listSortingSelector, placesSelector } from "../../store/selectors";
|
|
8
7
|
import FeatureSorter from "./feature-list-sorting";
|
|
9
|
-
export default connect(
|
|
10
|
-
sorting: listSortingSelector,
|
|
11
|
-
places: placesSelector,
|
|
12
|
-
geolocationStatus:
|
|
8
|
+
export default connect((state) => ({
|
|
9
|
+
sorting: listSortingSelector(state),
|
|
10
|
+
places: placesSelector(state),
|
|
11
|
+
geolocationStatus: geolocationStatusSelector(state[USER_GEOLOCATION]),
|
|
13
12
|
}),
|
|
14
13
|
// dispatch map:
|
|
15
14
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/feature-list-sorting/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/feature-list-sorting/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAC,cAAc,EAAC,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAC,yBAAyB,EAAC,MAAM,+CAA+C,CAAC;AAExF,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAC,QAAQ,EAAC,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAC,mBAAmB,EAAE,cAAc,EAAC,MAAM,uBAAuB,CAAC;AAC1E,OAAO,aAAa,MAAM,wBAAwB,CAAC;AAEnD,eAAe,OAAO,CACrB,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACX,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC;IACnC,MAAM,EAAE,cAAc,CAAC,KAAK,CAAC;IAC7B,iBAAiB,EAAE,yBAAyB,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;CACrE,CAAC;AACF,gBAAgB;AAChB;IACC,QAAQ,EAAE,QAAQ;IAClB,kBAAkB,EAAE,cAAc;CAClC,CACD,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { FocusTrap } from "focus-trap-react";
|
|
|
5
5
|
import { removeFrom } from "@mapsight/core/lib/base/actions";
|
|
6
6
|
import { FEATURE_SELECTIONS } from "../../config/constants/controllers";
|
|
7
7
|
import { FEATURE_SELECTION_SELECT } from "../../config/feature/selections";
|
|
8
|
-
import {
|
|
8
|
+
import { featureSelectionInfoUiOptionsSelector } from "../../store/selectors";
|
|
9
9
|
import FeatureDetailsContent from "../feature-details-content";
|
|
10
10
|
import CloseButton from "./close-button";
|
|
11
11
|
import Header from "./header";
|
|
@@ -14,7 +14,7 @@ import WithoutStickyHeader from "./without-sticky-header";
|
|
|
14
14
|
import Wrapper from "./wrapper";
|
|
15
15
|
export default function FeatureSelectionInfo({ feature, enableKeyboardControl, }) {
|
|
16
16
|
const dispatch = useDispatch();
|
|
17
|
-
const hasStickyHeader = useSelector(
|
|
17
|
+
const hasStickyHeader = useSelector(featureSelectionInfoUiOptionsSelector).stickyHeader;
|
|
18
18
|
const renderWrapper = useCallback((attrs) => (_jsx(Wrapper, { feature: feature, enableKeyboardControl: enableKeyboardControl, ...attrs })), [enableKeyboardControl, feature]);
|
|
19
19
|
const removeSelection = useCallback(() => {
|
|
20
20
|
dispatch(removeFrom([FEATURE_SELECTIONS, FEATURE_SELECTION_SELECT, "features"], feature?.id));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/feature-selection-info/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAC,M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,KAAK,EAAE,EAAE,CAAC,CACV,KAAC,OAAO,IACP,OAAO,EAAE,OAAO,EAChB,qBAAqB,EAAE,qBAAqB,KACxC,KAAK,GACR,CACF,EACD,CAAC,qBAAqB,EAAE,OAAO,CAAC,CAChC,CAAC;IAEF,MAAM,eAAe,GAAG,WAAW,CAAC,GAAG,EAAE;QACxC,QAAQ,CACP,UAAU,CACT,CAAC,kBAAkB,EAAE,wBAAwB,EAAE,UAAU,CAAC,EAC1D,OAAO,EAAE,EAAE,CACX,CACD,CAAC;IACH,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;IAE5B,IAAI,CAAC,OAAO,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IACb,CAAC;IAED,MAAM,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,mBAAmB,CAAC;IACnE,OAAO,CACN,KAAC,SAAS,IACT,MAAM,EAAE,qBAAqB,EAC7B,gBAAgB,EAAE;YACjB,uBAAuB,EAAE,IAAI;YAC7B,YAAY,EAAE,eAAe;SAC7B,YAED,KAAC,CAAC,IACD,OAAO,EAAE,OAAO,EAChB,KAAK,EACJ,KAAC,WAAW,IACX,OAAO,EAAE,OAAO,EAChB,qBAAqB,EAAE,qBAAqB,GAC3C,EAEH,MAAM,EAAE,KAAC,MAAM,IAAC,OAAO,EAAE,OAAO,GAAI,EACpC,OAAO,EACN,cAAK,SAAS,EAAC,qCAAqC,YACnD,KAAC,qBAAqB,IAAC,OAAO,EAAE,OAAO,GAAI,GACtC,EAEP,aAAa,EAAE,aAAa,GAC3B,GACS,CACZ,CAAC;AACH,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import type { MapsightUiFeature } from "../../types";
|
|
3
|
+
type WithStickyHeaderProps = {
|
|
4
|
+
header: ReactNode;
|
|
5
|
+
feature: MapsightUiFeature;
|
|
6
|
+
content: ReactNode;
|
|
7
|
+
close: ReactNode;
|
|
8
|
+
renderWrapper: (props: any) => ReactNode;
|
|
9
|
+
};
|
|
10
|
+
declare function WithStickyHeader({ header, content, feature, close, renderWrapper, }: WithStickyHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
1
11
|
export default WithStickyHeader;
|
|
2
|
-
declare function WithStickyHeader({ header, content, feature, close, renderWrapper }: {
|
|
3
|
-
header: any;
|
|
4
|
-
content: any;
|
|
5
|
-
feature: any;
|
|
6
|
-
close: any;
|
|
7
|
-
renderWrapper: any;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
12
|
//# sourceMappingURL=with-sticky-header.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-sticky-header.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-selection-info/with-sticky-header.
|
|
1
|
+
{"version":3,"file":"with-sticky-header.d.ts","sourceRoot":"","sources":["../../../src/js/components/feature-selection-info/with-sticky-header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAKrC,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,aAAa,CAAC;AAKnD,KAAK,qBAAqB,GAAG;IAC5B,MAAM,EAAE,SAAS,CAAC;IAClB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,OAAO,EAAE,SAAS,CAAC;IACnB,KAAK,EAAE,SAAS,CAAC;IACjB,aAAa,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,SAAS,CAAC;CACzC,CAAC;AAEF,iBAAS,gBAAgB,CAAC,EACzB,MAAM,EACN,OAAO,EACP,OAAO,EACP,KAAK,EACL,aAAa,GACb,EAAE,qBAAqB,2CAiDvB;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useSelector } from "react-redux";
|
|
3
3
|
import useStickyHeader from "../../hooks/useStickyHeader";
|
|
4
|
-
import {
|
|
4
|
+
import { featureSelectionInfoUiOptionsSelector } from "../../store/selectors";
|
|
5
5
|
import Container from "./container";
|
|
6
6
|
const stopEventPropagation = (e) => e.stopPropagation();
|
|
7
|
-
function WithStickyHeader({ header, content, feature, close, renderWrapper }) {
|
|
8
|
-
const stuckHeaderHeight = useSelector(
|
|
7
|
+
function WithStickyHeader({ header, content, feature, close, renderWrapper, }) {
|
|
8
|
+
const { stuckHeaderHeight } = useSelector(featureSelectionInfoUiOptionsSelector);
|
|
9
9
|
const { isHeaderStuck, stickyHeaderRef, stickyScrollAreaRef, onScroll } = useStickyHeader({
|
|
10
|
-
|
|
10
|
+
stuckHeaderHeight,
|
|
11
11
|
resetDeps: [feature.id],
|
|
12
12
|
});
|
|
13
13
|
const stuckClass = (prefix) => prefix + " " + (isHeaderStuck ? prefix + "--stuck" : "");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"with-sticky-header.js","sourceRoot":"","sources":["../../../src/js/components/feature-selection-info/with-sticky-header.
|
|
1
|
+
{"version":3,"file":"with-sticky-header.js","sourceRoot":"","sources":["../../../src/js/components/feature-selection-info/with-sticky-header.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,eAAe,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAC,qCAAqC,EAAC,MAAM,uBAAuB,CAAC;AAE5E,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,MAAM,oBAAoB,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,eAAe,EAAE,CAAC;AAUxD,SAAS,gBAAgB,CAAC,EACzB,MAAM,EACN,OAAO,EACP,OAAO,EACP,KAAK,EACL,aAAa,GACU;IACvB,MAAM,EAAC,iBAAiB,EAAC,GAAG,WAAW,CACtC,qCAAqC,CACrC,CAAC;IACF,MAAM,EAAC,aAAa,EAAE,eAAe,EAAE,mBAAmB,EAAE,QAAQ,EAAC,GACpE,eAAe,CAAiB;QAC/B,iBAAiB;QACjB,SAAS,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;KACvB,CAAC,CAAC;IAEJ,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,EAAE,CAC7B,MAAM,GAAG,GAAG,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAC1D,MAAM,kBAAkB,GAAG,6BAC1B,aAAa;QACZ,CAAC,CAAC,kCAAkC;QACpC,CAAC,CAAC,8CACJ,EAAE,CAAC;IACH,MAAM,mBAAmB,GAAG,6BAC3B,aAAa;QACZ,CAAC,CAAC,+CAA+C;QACjD,CAAC,CAAC,mCACJ,EAAE,CAAC;IAEH,OAAO,CACN,MAAC,SAAS,IAAC,SAAS,EAAE,UAAU,CAAC,8BAA8B,CAAC,aAC/D,6BAAiB,MAAM,EAAC,SAAS,EAAE,kBAAkB,YACnD,MAAM,GACF,EAEL,aAAa,CAAC;gBACd,GAAG,EAAE,mBAAmB;gBACxB,SAAS,EAAE,UAAU,CAAC,gCAAgC,CAAC;gBACvD,WAAW,EAAE,oBAAoB;gBACjC,QAAQ,EAAE,QAAQ;gBAClB,QAAQ,EAAE,CACT,8BACE,KAAK,EACN,cACC,SAAS,EAAE,mBAAmB,EAC9B,GAAG,EAAE,eAAe,YAEnB,MAAM,GACF,EACL,OAAO,IACN,CACH;aACD,CAAC,IACS,CACZ,CAAC;AACH,CAAC;AAED,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Store } from "
|
|
1
|
+
import type { Store } from "@reduxjs/toolkit";
|
|
2
2
|
import type { MapsightUiComponents } from "../../helpers/components";
|
|
3
3
|
import type { AppChannelListenerDefinition } from "../../types";
|
|
4
4
|
declare function AppContext({ store, components, appChannelListeners, children, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-context.d.ts","sourceRoot":"","sources":["../../../src/js/components/helping/app-context.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"app-context.d.ts","sourceRoot":"","sources":["../../../src/js/components/helping/app-context.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,kBAAkB,CAAC;AAE5C,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,0BAA0B,CAAC;AAEnE,OAAO,KAAK,EAAC,4BAA4B,EAAC,MAAM,aAAa,CAAC;AAG9D,iBAAS,UAAU,CAAC,EACnB,KAAK,EACL,UAAe,EACf,mBAAwB,EACxB,QAAQ,GACR,EAAE;IACF,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,mBAAmB,CAAC,EAAE,4BAA4B,EAAE,CAAC;IACrD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,2CAUA;AAED,eAAe,UAAU,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { connect, shallowEqual } from "react-redux";
|
|
2
|
-
import { createSelector } from "
|
|
2
|
+
import { createSelector } from "@reduxjs/toolkit";
|
|
3
3
|
import { MAP } from "../../config/constants/controllers";
|
|
4
4
|
import GroupedSwitcher from "../switcher/GroupedSwitcher";
|
|
5
5
|
function getGroupedIdsForIds(ids, layersState) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupedLayerSwitcher.js","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/GroupedLayerSwitcher.js"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,YAAY,EAAC,MAAM,aAAa,CAAC;AAElD,OAAO,EAAC,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"GroupedLayerSwitcher.js","sourceRoot":"","sources":["../../../src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