@mapsight/ui 7.0.3 → 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 +7 -8
- 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
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
import type { MapState } from "@mapsight/core/lib/map/types";
|
|
1
2
|
declare const _default: import("react-redux").ConnectedComponent<import("react").MemoExoticComponent<(props: any) => import("react/jsx-runtime").JSX.Element>, {
|
|
2
|
-
[x: string]:
|
|
3
|
-
[x: number]:
|
|
4
|
-
[x: symbol]:
|
|
5
|
-
layerIdsSelector:
|
|
6
|
-
context?: import("react-redux/
|
|
7
|
-
store?: import("
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
[x: number]: any;
|
|
5
|
+
[x: symbol]: any;
|
|
6
|
+
layerIdsSelector: (state: MapState) => string[];
|
|
7
|
+
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("@reduxjs/toolkit").UnknownAction> | null> | undefined;
|
|
8
|
+
store?: import("@reduxjs/toolkit").Store | undefined;
|
|
8
9
|
} | {
|
|
9
|
-
[x: string]:
|
|
10
|
-
[x: number]:
|
|
11
|
-
[x: symbol]:
|
|
12
|
-
layerIdsSelector:
|
|
13
|
-
store?: import("
|
|
10
|
+
[x: string]: any;
|
|
11
|
+
[x: number]: any;
|
|
12
|
+
[x: symbol]: any;
|
|
13
|
+
layerIdsSelector: (state: MapState) => string[];
|
|
14
|
+
store?: import("@reduxjs/toolkit").Store | undefined;
|
|
14
15
|
}>;
|
|
15
16
|
export default _default;
|
|
16
17
|
//# sourceMappingURL=LayerSwitcher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerSwitcher.d.ts","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/LayerSwitcher.
|
|
1
|
+
{"version":3,"file":"LayerSwitcher.d.ts","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/LayerSwitcher.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,8BAA8B,CAAC;;;;;sBAQnB,CAAC,KAAK,EAAE,QAAQ,KAAK,MAAM,EAAE;;;;;;;sBAA7B,CAAC,KAAK,EAAE,QAAQ,KAAK,MAAM,EAAE;;;AAMrE,wBAiBY"}
|
|
@@ -4,7 +4,7 @@ import Switcher from "../switcher/Switcher";
|
|
|
4
4
|
const selector = (state, { layerIdsSelector }) => ({
|
|
5
5
|
ids: layerIdsSelector(state[MAP]),
|
|
6
6
|
});
|
|
7
|
-
export default connect(selector, null, (stateProps,
|
|
7
|
+
export default connect(selector, null, (stateProps, _, {
|
|
8
8
|
// Need to list the selectors here so they do not get passed as attribute props to the element but get filtered:
|
|
9
9
|
layerIdsSelector: _layerIdsSelector, ...attributes }) => ({
|
|
10
10
|
// We do not want to pass dispatch to the switcher, so we explicitly do not map it!
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerSwitcher.js","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/LayerSwitcher.
|
|
1
|
+
{"version":3,"file":"LayerSwitcher.js","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/LayerSwitcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAKpC,OAAO,EAAC,GAAG,EAAC,MAAM,oCAAoC,CAAC;AACvD,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAE5C,MAAM,QAAQ,GAAG,CAChB,KAAY,EACZ,EAAC,gBAAgB,EAAoD,EACpE,EAAE,CACH,CAAC;IACA,GAAG,EAAE,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAa,CAAC;CAC7C,CAAU,CAAC;AAEb,eAAe,OAAO,CACrB,QAAQ,EACR,IAAI,EACJ,CACC,UAAU,EACV,CAAC,EACD;AACC,gHAAgH;AAChH,gBAAgB,EAAE,iBAAiB,EAEnC,GAAG,UAAU,EACb,EACA,EAAE,CAAC,CAAC;IACL,mFAAmF;IACnF,GAAG,UAAU;IACb,GAAG,UAAU;CACb,CAAC,CACF,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ElementType } from "react";
|
|
2
|
+
import type { MapState } from "@mapsight/core/lib/map/types";
|
|
3
|
+
export type LayerSwitcherContainerProps = {
|
|
4
|
+
as?: ElementType;
|
|
5
|
+
baseClassName?: string;
|
|
6
|
+
onClose?: () => void;
|
|
7
|
+
layerIdsSelector?: (state: MapState) => string[];
|
|
8
|
+
grouped?: boolean;
|
|
9
|
+
setFeatureSourceIdPath?: unknown;
|
|
10
|
+
};
|
|
11
|
+
declare function LayerSwitcherContainer({ as: T, baseClassName, // TODO: Use generic class name
|
|
12
|
+
onClose, layerIdsSelector, grouped, setFeatureSourceIdPath: _, ...attributes }: LayerSwitcherContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const _default: import("react").MemoExoticComponent<typeof LayerSwitcherContainer>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=LayerSwitcherContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LayerSwitcherContainer.d.ts","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/LayerSwitcherContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,OAAO,CAAC;AAWvC,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,8BAA8B,CAAC;AAW3D,MAAM,MAAM,2BAA2B,GAAG;IACzC,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,MAAM,EAAE,CAAC;IACjD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sBAAsB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,iBAAS,sBAAsB,CAAC,EAC/B,EAAE,EAAE,CAAS,EACb,aAA8C,EAAE,+BAA+B;AAC/E,OAAO,EACP,gBAAqD,EACrD,OAAe,EACf,sBAAsB,EAAE,CAAC,EACzB,GAAG,UAAU,EACb,EAAE,2BAA2B,2CA8C7B;;AAED,wBAA4C"}
|
package/dist/components/layer-switcher/{LayerSwticherContainer.js → LayerSwitcherContainer.js}
RENAMED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { layerIdsIntegratedSwitcherSelector, makeFeatureSourceFromLayerIdSelector, makeFeatureSourceIdFromLayerIdSelector, makeLayerLockedInLayerSwitcherSelector, makeLayerTitleSelector, makeLayerVisibleSelector, } from "@mapsight/core/lib/map/selectors";
|
|
3
2
|
import { memo, useCallback } from "react";
|
|
3
|
+
import { layerIdsIntegratedSwitcherSelector, makeFeatureSourceFromLayerIdSelector, makeFeatureSourceIdFromLayerIdSelector, makeLayerLockedInLayerSwitcherSelector, makeLayerTitleSelector, makeLayerVisibleSelector, } from "@mapsight/core/lib/map/selectors";
|
|
4
4
|
import { translate } from "../../helpers/i18n";
|
|
5
5
|
import GroupedLayerSwitcher from "./GroupedLayerSwitcher";
|
|
6
6
|
import LayerSwitcher from "./LayerSwitcher";
|
|
7
7
|
import LayerSwitcherEntry from "./LayerSwitcherEntry";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
function LayerSwitcherContainer(props) {
|
|
12
|
-
const { as: T = "div", baseClassName = "ms3-layer-switcher-container", // TODO: Use generic class name
|
|
13
|
-
onClose, layerIdsSelector = layerIdsIntegratedSwitcherSelector, setFeatureSourceIdPath, grouped = false, ...attributes } = props;
|
|
14
|
-
const renderLayerEntry = useCallback((id) => (_jsx(LayerSwitcherEntry, { layerId: id, titleSelector: makeLayerTitleSelector(id), lockedSelector: makeLayerLockedInLayerSwitcherSelector(id), layerVisibilitySelector: makeLayerVisibleSelector(id), featureSourceSelector: makeFeatureSourceFromLayerIdSelector(id), featureSourceIdSelector: makeFeatureSourceIdFromLayerIdSelector(id), setFeatureSourceIdPath: setFeatureSourceIdPath }, id)), [setFeatureSourceIdPath]);
|
|
8
|
+
function LayerSwitcherContainer({ as: T = "div", baseClassName = "ms3-layer-switcher-container", // TODO: Use generic class name
|
|
9
|
+
onClose, layerIdsSelector = layerIdsIntegratedSwitcherSelector, grouped = false, setFeatureSourceIdPath: _, ...attributes }) {
|
|
10
|
+
const renderLayerEntry = useCallback((id) => (_jsx(LayerSwitcherEntry, { layerId: id, titleSelector: makeLayerTitleSelector(id), lockedSelector: makeLayerLockedInLayerSwitcherSelector(id), layerVisibilitySelector: makeLayerVisibleSelector(id), featureSourceSelector: makeFeatureSourceFromLayerIdSelector(id), featureSourceIdSelector: makeFeatureSourceIdFromLayerIdSelector(id) }, id)), []);
|
|
15
11
|
const Switcher = grouped ? GroupedLayerSwitcher : LayerSwitcher;
|
|
16
12
|
return (_jsxs(T, { className: `${baseClassName} ${baseClassName}--${grouped ? "grouped" : "ungrouped"}`, children: [_jsx(Switcher, { layerIdsSelector: layerIdsSelector, renderEntry: renderLayerEntry, ...attributes }), onClose && (_jsx("button", { className: "ms3-layer-switcher__close-button [ ms3-dialog-close-button ]", type: "button", onClick: onClose, children: _jsx("span", { className: "ms3-visuallyhidden", children: translate("ui.map-overlay.layer-switcher.closeLayers") }) }))] }));
|
|
17
13
|
}
|
|
18
14
|
export default memo(LayerSwitcherContainer);
|
|
19
|
-
//# sourceMappingURL=
|
|
15
|
+
//# sourceMappingURL=LayerSwitcherContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LayerSwitcherContainer.js","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/LayerSwitcherContainer.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,OAAO,CAAC;AAExC,OAAO,EACN,kCAAkC,EAClC,oCAAoC,EACpC,sCAAsC,EACtC,sCAAsC,EACtC,sBAAsB,EACtB,wBAAwB,GACxB,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,oBAAoB,MAAM,wBAAwB,CAAC;AAC1D,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAC5C,OAAO,kBAAkB,MAAM,sBAAsB,CAAC;AAetD,SAAS,sBAAsB,CAAC,EAC/B,EAAE,EAAE,CAAC,GAAG,KAAK,EACb,aAAa,GAAG,8BAA8B,EAAE,+BAA+B;AAC/E,OAAO,EACP,gBAAgB,GAAG,kCAAkC,EACrD,OAAO,GAAG,KAAK,EACf,sBAAsB,EAAE,CAAC,EACzB,GAAG,UAAU,EACgB;IAC7B,MAAM,gBAAgB,GAAG,WAAW,CACnC,CAAC,EAAE,EAAE,EAAE,CAAC,CAEP,KAAC,kBAAkB,IAElB,OAAO,EAAE,EAAE,EACX,aAAa,EAAE,sBAAsB,CAAC,EAAE,CAAC,EACzC,cAAc,EAAE,sCAAsC,CAAC,EAAE,CAAC,EAC1D,uBAAuB,EAAE,wBAAwB,CAAC,EAAE,CAAC,EACrD,qBAAqB,EAAE,oCAAoC,CAAC,EAAE,CAAC,EAC/D,uBAAuB,EAAE,sCAAsC,CAC9D,EAAE,CACF,IARI,EAAE,CASN,CACF,EACD,EAAE,CACF,CAAC;IAEF,MAAM,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,aAAa,CAAC;IAEhE,OAAO,CACN,MAAC,CAAC,IACD,SAAS,EAAE,GAAG,aAAa,IAAI,aAAa,KAC3C,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WACvB,EAAE,aAEF,KAAC,QAAQ,IACR,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,gBAAgB,KACzB,UAAU,GACb,EAED,OAAO,IAAI,CACX,iBACC,SAAS,EAAC,8DAA8D,EACxE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,OAAO,YAEhB,eAAM,SAAS,EAAC,oBAAoB,YAClC,SAAS,CAAC,2CAA2C,CAAC,GACjD,GACC,CACT,IACE,CACJ,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,sBAAsB,CAAC,CAAC"}
|
|
@@ -1,14 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import type { ActionPath } from "@mapsight/core/lib/base/actions";
|
|
2
|
+
import type { FeatureSourceState } from "@mapsight/core/lib/feature-sources/types";
|
|
3
|
+
import type { MapState } from "@mapsight/core/lib/map/types";
|
|
4
|
+
import type { State } from "@mapsight/core/types";
|
|
5
|
+
export type LayerSwitcherEntryProps = {
|
|
6
|
+
layerId: string;
|
|
7
|
+
titleSelector: (state: MapState) => string;
|
|
8
|
+
lockedSelector: (state: MapState) => boolean;
|
|
9
|
+
layerVisibilitySelector: (state: MapState) => boolean;
|
|
10
|
+
featureSourceSelector: (mapState: MapState, state: State) => FeatureSourceState | null;
|
|
11
|
+
featureSourceIdSelector: (state: MapState) => string | undefined;
|
|
12
|
+
setFeatureSourceIdPath?: ActionPath | null;
|
|
13
|
+
};
|
|
14
|
+
declare const LayerSwitcherEntry: import("react-redux").ConnectedComponent<import("react").MemoExoticComponent<({ as: T, className, baseClassName, title, count, toggleActive, toggleActiveCheckbox: _toggleActiveCheckbox, toggleActiveText: _toggleActiveText, active, activeCheckbox: _activeCheckbox, activeText: _activeText, status, locked, ...attributes }: import("../switcher/SwitcherEntry").SwitcherEntryProps) => import("react/jsx-runtime").JSX.Element>, {
|
|
15
|
+
as?: import("react").ElementType | undefined;
|
|
16
|
+
className?: string | undefined;
|
|
17
|
+
baseClassName?: string | undefined;
|
|
18
|
+
count?: number | null | undefined;
|
|
19
|
+
layerId: string;
|
|
20
|
+
titleSelector: (state: MapState) => string;
|
|
21
|
+
lockedSelector: (state: MapState) => boolean;
|
|
22
|
+
layerVisibilitySelector: (state: MapState) => boolean;
|
|
23
|
+
featureSourceSelector: (mapState: MapState, state: State) => FeatureSourceState | null;
|
|
24
|
+
featureSourceIdSelector: (state: MapState) => string | undefined;
|
|
25
|
+
setFeatureSourceIdPath?: (ActionPath | null) | undefined;
|
|
26
|
+
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("@reduxjs/toolkit").UnknownAction> | null> | undefined;
|
|
27
|
+
store?: import("@reduxjs/toolkit").Store | undefined;
|
|
13
28
|
}>;
|
|
29
|
+
export default LayerSwitcherEntry;
|
|
14
30
|
//# sourceMappingURL=LayerSwitcherEntry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerSwitcherEntry.d.ts","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/LayerSwitcherEntry.
|
|
1
|
+
{"version":3,"file":"LayerSwitcherEntry.d.ts","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/LayerSwitcherEntry.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,iCAAiC,CAAC;AAGhE,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,0CAA0C,CAAC;AAEjF,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,8BAA8B,CAAC;AAC3D,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,sBAAsB,CAAC;AA+DhD,MAAM,MAAM,uBAAuB,GAAG;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,MAAM,CAAC;IAC3C,cAAc,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,OAAO,CAAC;IAC7C,uBAAuB,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,OAAO,CAAC;IACtD,qBAAqB,EAAE,CACtB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,KACR,kBAAkB,GAAG,IAAI,CAAC;IAC/B,uBAAuB,EAAE,CAAC,KAAK,EAAE,QAAQ,KAAK,MAAM,GAAG,SAAS,CAAC;IACjE,sBAAsB,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;CAC3C,CAAC;AA2BF,QAAA,MAAM,kBAAkB;;;;;aArCd,MAAM;mBACA,CAAC,KAAK,EAAE,QAAQ,KAAK,MAAM;oBAC1B,CAAC,KAAK,EAAE,QAAQ,KAAK,OAAO;6BACnB,CAAC,KAAK,EAAE,QAAQ,KAAK,OAAO;2BAC9B,CACtB,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,KACR,kBAAkB,GAAG,IAAI;6BACL,CAAC,KAAK,EAAE,QAAQ,KAAK,MAAM,GAAG,SAAS;8BACvC,UAAU,GAAG,IAAI;;;EAkE3B,CAAC;AAEjB,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { connect } from "react-redux";
|
|
2
|
-
import { createStructuredSelector } from "reselect";
|
|
3
2
|
import { set as makeSetAction } from "@mapsight/core/lib/base/actions";
|
|
4
3
|
import { getFeatureSourceStatus } from "@mapsight/core/lib/feature-sources/selectors";
|
|
5
4
|
import { setLayerVisibility } from "@mapsight/core/lib/map/actions";
|
|
@@ -14,7 +13,7 @@ function getActiveProps({ setFeatureSourceIdPath, currentlySetFeatureSourceId, f
|
|
|
14
13
|
// throw new Error('illegal state');
|
|
15
14
|
//}
|
|
16
15
|
return {
|
|
17
|
-
activeCheckbox:
|
|
16
|
+
activeCheckbox: visibility,
|
|
18
17
|
activeText: isCurrentFeatureSource,
|
|
19
18
|
toggleActiveCheckbox: function toggleActiveCheckbox() {
|
|
20
19
|
dispatch(setLayerVisibility(MAP, layerId, !visibility));
|
|
@@ -23,13 +22,15 @@ function getActiveProps({ setFeatureSourceIdPath, currentlySetFeatureSourceId, f
|
|
|
23
22
|
}
|
|
24
23
|
},
|
|
25
24
|
toggleActiveText: function toggleActiveText() {
|
|
26
|
-
|
|
25
|
+
if (featureSourceId) {
|
|
26
|
+
dispatch(makeSetAction(setFeatureSourceIdPath, featureSourceId));
|
|
27
|
+
}
|
|
27
28
|
dispatch(setLayerVisibility(MAP, layerId, true));
|
|
28
29
|
},
|
|
29
30
|
};
|
|
30
31
|
}
|
|
31
32
|
return {
|
|
32
|
-
active:
|
|
33
|
+
active: visibility,
|
|
33
34
|
toggleActive: function toggleActive() {
|
|
34
35
|
if (!locked) {
|
|
35
36
|
dispatch(setLayerVisibility(MAP, layerId, !visibility));
|
|
@@ -37,42 +38,39 @@ function getActiveProps({ setFeatureSourceIdPath, currentlySetFeatureSourceId, f
|
|
|
37
38
|
},
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
41
|
+
const mapStateToProps = (state, { titleSelector, lockedSelector, layerVisibilitySelector, featureSourceSelector, featureSourceIdSelector, setFeatureSourceIdPath, }) => {
|
|
42
|
+
const mapState = state[MAP];
|
|
43
|
+
return {
|
|
44
|
+
title: titleSelector(mapState),
|
|
45
|
+
locked: lockedSelector(mapState),
|
|
46
|
+
visibility: layerVisibilitySelector(mapState),
|
|
47
|
+
featureSource: featureSourceSelector(mapState, state),
|
|
48
|
+
featureSourceId: featureSourceIdSelector(mapState),
|
|
49
|
+
currentlySetFeatureSourceId: Array.isArray(setFeatureSourceIdPath)
|
|
50
|
+
? getPath(state, setFeatureSourceIdPath)
|
|
51
|
+
: undefined,
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
const LayerSwitcherEntry = connect(mapStateToProps, null,
|
|
53
55
|
// mergeProps:
|
|
54
|
-
(
|
|
55
|
-
// state props
|
|
56
|
-
{ visibility, title, locked, featureSource, featureSourceId, currentlySetFeatureSourceId, },
|
|
57
|
-
// dispatch props
|
|
58
|
-
{ dispatch },
|
|
59
|
-
// own props
|
|
60
|
-
{
|
|
56
|
+
(stateProps, { dispatch }, {
|
|
61
57
|
// used for active props:
|
|
62
58
|
layerId, setFeatureSourceIdPath,
|
|
63
59
|
// Need to list the selectors here so they do not get passed as attribute props to the element but get filtered:
|
|
64
|
-
lockedSelector:
|
|
65
|
-
title: title,
|
|
66
|
-
status:
|
|
67
|
-
|
|
60
|
+
lockedSelector: _1, titleSelector: _2, layerVisibilitySelector: _3, featureSourceSelector: _4, featureSourceIdSelector: _5, ...attributes }) => ({
|
|
61
|
+
title: stateProps.title,
|
|
62
|
+
status: stateProps.featureSource
|
|
63
|
+
? getFeatureSourceStatus(stateProps.featureSource)
|
|
64
|
+
: undefined,
|
|
65
|
+
locked: stateProps.locked,
|
|
68
66
|
...getActiveProps({
|
|
69
|
-
visibility: visibility,
|
|
70
|
-
featureSourceId: featureSourceId,
|
|
71
|
-
currentlySetFeatureSourceId: currentlySetFeatureSourceId,
|
|
72
|
-
locked: locked,
|
|
73
|
-
dispatch
|
|
74
|
-
layerId
|
|
75
|
-
setFeatureSourceIdPath
|
|
67
|
+
visibility: stateProps.visibility,
|
|
68
|
+
featureSourceId: stateProps.featureSourceId ?? "",
|
|
69
|
+
currentlySetFeatureSourceId: stateProps.currentlySetFeatureSourceId,
|
|
70
|
+
locked: stateProps.locked,
|
|
71
|
+
dispatch,
|
|
72
|
+
layerId,
|
|
73
|
+
setFeatureSourceIdPath,
|
|
76
74
|
}),
|
|
77
75
|
...attributes,
|
|
78
76
|
}))(SwitcherEntry);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayerSwitcherEntry.js","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/LayerSwitcherEntry.
|
|
1
|
+
{"version":3,"file":"LayerSwitcherEntry.js","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/LayerSwitcherEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAKpC,OAAO,EAAC,GAAG,IAAI,aAAa,EAAC,MAAM,iCAAiC,CAAC;AACrE,OAAO,EAAC,sBAAsB,EAAC,MAAM,8CAA8C,CAAC;AAEpF,OAAO,EAAC,kBAAkB,EAAC,MAAM,gCAAgC,CAAC;AAIlE,OAAO,OAAO,MAAM,iCAAiC,CAAC;AAEtD,OAAO,EAAC,GAAG,EAAC,MAAM,oCAAoC,CAAC;AACvD,OAAO,aAAa,MAAM,2BAA2B,CAAC;AAEtD,SAAS,cAAc,CAAC,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,eAAe,EACf,QAAQ,EACR,OAAO,EACP,UAAU,EACV,MAAM,GASN;IACA,IAAI,sBAAsB,EAAE,CAAC;QAC5B,MAAM,sBAAsB,GAC3B,2BAA2B,KAAK,eAAe,CAAC;QAEjD,uDAAuD;QACvD,8CAA8C;QAC9C,oCAAoC;QACpC,GAAG;QAEH,OAAO;YACN,cAAc,EAAE,UAAU;YAC1B,UAAU,EAAE,sBAAsB;YAClC,oBAAoB,EAAE,SAAS,oBAAoB;gBAClD,QAAQ,CAAC,kBAAkB,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;gBACxD,IAAI,s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M,kBAAkB,GAAG,OAAO,CACjC,eAAe,EACf,IAAI;AACJ,cAAc;AACd,CACC,UAAU,EACV,EAAC,QAAQ,EAAC,EACV;AACC,yBAAyB;AACzB,OAAO,EACP,sBAAsB;AAEtB,gHAAgH;AAChH,cAAc,EAAE,EAAE,EAClB,aAAa,EAAE,EAAE,EACjB,uBAAuB,EAAE,EAAE,EAC3B,qBAAqB,EAAE,EAAE,EACzB,uBAAuB,EAAE,EAAE,EAE3B,GAAG,UAAU,EACb,EACA,EAAE,CAAC,CAAC;IACL,KAAK,EAAE,UAAU,CAAC,KAAK;IACvB,MAAM,EAAE,UAAU,CAAC,aAAa;QAC/B,CAAC,CAAC,sBAAsB,CAAC,UAAU,CAAC,aAAa,CAAC;QAClD,CAAC,CAAC,SAAS;IACZ,MAAM,EAAE,UAAU,CAAC,MAAM;IACzB,GAAG,cAAc,CAAC;QACjB,UAAU,EAAE,UAAU,CAAC,UAAU;QACjC,eAAe,EAAE,UAAU,CAAC,eAAe,IAAI,EAAE;QACjD,2BAA2B,EAAE,UAAU,CAAC,2BAA2B;QACnE,MAAM,EAAE,UAAU,CAAC,MAAM;QACzB,QAAQ;QACR,OAAO;QACP,sBAAsB;KACtB,CAAC;IACF,GAAG,UAAU;CACb,CAAC,CACF,CAAC,aAAa,CAAC,CAAC;AAEjB,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { Selector } from "@mapsight/core/types";
|
|
2
|
+
import type { LayerSwitcherConfigState } from "../../types";
|
|
3
|
+
declare const _default: import("react-redux").ConnectedComponent<import("react").MemoExoticComponent<({ as: T, baseClassName, onClose, layerIdsSelector, grouped, setFeatureSourceIdPath: _, ...attributes }: import("./LayerSwitcherContainer").LayerSwitcherContainerProps) => import("react/jsx-runtime").JSX.Element>, {
|
|
4
|
+
as?: import("react").ElementType | undefined;
|
|
5
|
+
baseClassName?: string | undefined;
|
|
6
|
+
onClose?: (() => void) | undefined;
|
|
7
|
+
configSelector?: Selector<LayerSwitcherConfigState | undefined> | undefined;
|
|
8
|
+
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("@reduxjs/toolkit").UnknownAction> | null> | undefined;
|
|
9
|
+
store?: import("@reduxjs/toolkit").Store | undefined;
|
|
3
10
|
}>;
|
|
4
11
|
export default _default;
|
|
5
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AAKnD,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,aAAa,CAAC;;;;;qBAMxC,QAAQ,CAAC,wBAAwB,GAAG,SAAS,CAAC;;;;AAGhE,wBAyB0B"}
|
|
@@ -1,27 +1,18 @@
|
|
|
1
1
|
import { connect } from "react-redux";
|
|
2
|
-
import { createStructuredSelector } from "reselect";
|
|
3
2
|
import { FEATURE_LIST } from "../../config/constants/controllers";
|
|
4
|
-
import { layerSwitcherConfigInternalSelector } from "../../store/selectors
|
|
5
|
-
import LayerSwitcherContainer from "./
|
|
3
|
+
import { layerSwitcherConfigInternalSelector } from "../../store/selectors";
|
|
4
|
+
import LayerSwitcherContainer from "./LayerSwitcherContainer";
|
|
6
5
|
const TRUE_SET_FEATURE_SOURCE_PATH = [FEATURE_LIST, "featureSource"];
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
if (config.setFeatureSourceId === true) {
|
|
18
|
-
return TRUE_SET_FEATURE_SOURCE_PATH;
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
return config.setFeatureSourceId;
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
}), null, (stateProps, dispatchProps, { configSelector: _configSelector, ...ownProps }) => ({
|
|
6
|
+
export default connect((state, { configSelector = layerSwitcherConfigInternalSelector }) => {
|
|
7
|
+
const setFeatureSourceId = configSelector(state)?.setFeatureSourceId;
|
|
8
|
+
return {
|
|
9
|
+
layerIdsSelector: configSelector(state)?.layerIdsSelector,
|
|
10
|
+
grouped: configSelector(state)?.grouped,
|
|
11
|
+
setFeatureSourceIdPath: setFeatureSourceId === true
|
|
12
|
+
? TRUE_SET_FEATURE_SOURCE_PATH
|
|
13
|
+
: setFeatureSourceId,
|
|
14
|
+
};
|
|
15
|
+
}, null, (stateProps, _dispatchProps, { configSelector: _configSelector, ...ownProps }) => ({
|
|
25
16
|
...ownProps,
|
|
26
17
|
...stateProps,
|
|
27
18
|
}))(LayerSwitcherContainer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/index.
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/layer-switcher/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAIpC,OAAO,EAAC,YAAY,EAAC,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAC,mCAAmC,EAAC,MAAM,uBAAuB,CAAC;AAE1E,OAAO,sBAAsB,MAAM,0BAA0B,CAAC;AAE9D,MAAM,4BAA4B,GAAG,CAAC,YAAY,EAAE,eAAe,CAAU,CAAC;AAM9E,eAAe,OAAO,CACrB,CACC,KAAqB,EACrB,EAAC,cAAc,GAAG,mCAAmC,EAAQ,EAC5D,EAAE;IACH,MAAM,kBAAkB,GAAG,cAAc,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAErE,OAAO;QACN,gBAAgB,EAAE,cAAc,CAAC,KAAK,CAAC,EAAE,gBAAgB;QACzD,OAAO,EAAE,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO;QACvC,sBAAsB,EACrB,kBAAkB,KAAK,IAAI;YAC1B,CAAC,CAAC,4BAA4B;YAC9B,CAAC,CAAC,kBAAkB;KACtB,CAAC;AACH,CAAC,EACD,IAAI,EACJ,CACC,UAAU,EACV,cAAc,EACd,EAAC,cAAc,EAAE,eAAe,EAAE,GAAG,QAAQ,EAAC,EAC7C,EAAE,CAAC,CAAC;IACL,GAAG,QAAQ;IACX,GAAG,UAAU;CACb,CAAC,CACF,CAAC,sBAAsB,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { memo } from "react";
|
|
3
3
|
import { useSelector } from "react-redux";
|
|
4
|
-
import { isEmbeddedMapSelector, mapVisible, viewSelector, } from "../../store/selectors
|
|
4
|
+
import { isEmbeddedMapSelector, mapVisible, viewSelector, } from "../../store/selectors";
|
|
5
5
|
function AppWrapper({ children, ...attributes }) {
|
|
6
6
|
const view = useSelector(viewSelector);
|
|
7
7
|
const isEmbeddedMap = useSelector(isEmbeddedMapSelector);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapper.js","sourceRoot":"","sources":["../../../src/js/components/layout/wrapper.jsx"],"names":[],"mappings":";AAAA,OAAQ,EAAC,IAAI,EAAC,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EACN,qBAAqB,EACrB,UAAU,EACV,YAAY,GACZ,MAAM,
|
|
1
|
+
{"version":3,"file":"wrapper.js","sourceRoot":"","sources":["../../../src/js/components/layout/wrapper.jsx"],"names":[],"mappings":";AAAA,OAAQ,EAAC,IAAI,EAAC,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EACN,qBAAqB,EACrB,UAAU,EACV,YAAY,GACZ,MAAM,uBAAuB,CAAC;AAE/B,SAAS,UAAU,CAAC,EAAC,QAAQ,EAAE,GAAG,UAAU,EAAC;IAC5C,MAAM,IAAI,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;IACvC,MAAM,aAAa,GAAG,WAAW,CAAC,qBAAqB,CAAC,CAAC;IACzD,MAAM,YAAY,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC;IAE7C,MAAM,SAAS,GAAG,4BAA4B,IAAI,IACjD,aAAa,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,CAAC,EAC3C,IAAI,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,yBAAyB,IAChD,UAAU,CAAC,SAAS,IAAI,EACzB,EAAE,CAAC;IAEH,OAAO,CACN,cAAK,SAAS,EAAE,SAAS,KAAM,UAAU,YACvC,QAAQ,GACJ,CACN,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,UAAU,CAAC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export function
|
|
4
|
-
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import type { PropsWithChildren } from "react";
|
|
2
|
+
import type { MainPanelContextOptions, MainPanelContextValue } from "../../types";
|
|
3
|
+
export declare function useMainPanelContext(): MainPanelContextValue;
|
|
4
|
+
type MainPanelContextProps = PropsWithChildren<Partial<MainPanelContextOptions>>;
|
|
5
|
+
export declare function MainPanelContextProvider({ showSelectionInfo, showList, collapsible, panelPosition, children, }: MainPanelContextProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
6
7
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/js/components/main-panel/context.
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/js/components/main-panel/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAC;AAK7C,OAAO,KAAK,EAAC,uBAAuB,EAAE,qBAAqB,EAAC,MAAM,aAAa,CAAC;AAchF,wBAAgB,mBAAmB,0BAElC;AAwBD,KAAK,qBAAqB,GAAG,iBAAiB,CAC7C,OAAO,CAAC,uBAAuB,CAAC,CAChC,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EACxC,iBAAyB,EACzB,QAAgB,EAChB,WAAmB,EACnB,aAAsB,EACtB,QAAQ,GACR,EAAE,qBAAqB,2CAevB"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useContext, useMemo } from "react";
|
|
3
3
|
import { useSelector } from "react-redux";
|
|
4
|
-
import { createMainPanelContentTypeSelector } from "../../store/selectors
|
|
5
|
-
|
|
6
|
-
const MainPanelContext = createContext(
|
|
7
|
-
/** @type {import('../../types').MainPanelContextValue} */ {
|
|
4
|
+
import { createMainPanelContentTypeSelector } from "../../store/selectors";
|
|
5
|
+
const MainPanelContext = createContext({
|
|
8
6
|
showSelectionInfo: false,
|
|
9
7
|
showList: false,
|
|
10
8
|
collapsible: false,
|
|
@@ -14,15 +12,10 @@ const MainPanelContext = createContext(
|
|
|
14
12
|
collapsed: false,
|
|
15
13
|
});
|
|
16
14
|
MainPanelContext.displayName = "MainPanelContext";
|
|
17
|
-
/** @returns {import('../../types').MainPanelContextValue} main panel context */
|
|
18
15
|
export function useMainPanelContext() {
|
|
19
16
|
return useContext(MainPanelContext);
|
|
20
17
|
}
|
|
21
|
-
|
|
22
|
-
* @param {Pick<import('../../types').MainPanelContextOptions, 'showSelectionInfo'| 'showList' | 'collapsible'>} options main panel options
|
|
23
|
-
* @returns {import('../../types').MainPanelContextState} main panel state
|
|
24
|
-
*/
|
|
25
|
-
function useMainPanelState({ showSelectionInfo, showList, collapsible }) {
|
|
18
|
+
function useMainPanelState({ showSelectionInfo, showList, collapsible, }) {
|
|
26
19
|
const selector = useMemo(() => createMainPanelContentTypeSelector({
|
|
27
20
|
showSelectionInfo: showSelectionInfo,
|
|
28
21
|
showList: showList,
|
|
@@ -30,8 +23,7 @@ function useMainPanelState({ showSelectionInfo, showList, collapsible }) {
|
|
|
30
23
|
}), [showSelectionInfo, showList, collapsible]);
|
|
31
24
|
return useSelector(selector);
|
|
32
25
|
}
|
|
33
|
-
export function MainPanelContextProvider(
|
|
34
|
-
/** @type {import('../../types').MainPanelContextOptions & {children: import('react').ReactChildren}} */ { showSelectionInfo = false, showList = false, collapsible = false, panelPosition = "left", children, }) {
|
|
26
|
+
export function MainPanelContextProvider({ showSelectionInfo = false, showList = false, collapsible = false, panelPosition = "left", children, }) {
|
|
35
27
|
const options = {
|
|
36
28
|
showSelectionInfo: showSelectionInfo,
|
|
37
29
|
showList: showList,
|
|
@@ -40,6 +32,6 @@ export function MainPanelContextProvider(
|
|
|
40
32
|
};
|
|
41
33
|
const state = useMainPanelState(options);
|
|
42
34
|
const value = { ...options, ...state };
|
|
43
|
-
return _jsx(MainPanelContext.Provider, { value: value, children: children });
|
|
35
|
+
return (_jsx(MainPanelContext.Provider, { value: value, children: children }));
|
|
44
36
|
}
|
|
45
37
|
//# sourceMappingURL=context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/js/components/main-panel/context.
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../../src/js/components/main-panel/context.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,aAAa,EAAE,UAAU,EAAE,OAAO,EAAC,MAAM,OAAO,CAAC;AACzD,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,kCAAkC,EAAC,MAAM,uBAAuB,CAAC;AAGzE,MAAM,gBAAgB,GAAG,aAAa,CAAwB;IAC7D,iBAAiB,EAAE,KAAK;IACxB,QAAQ,EAAE,KAAK;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|
3
3
|
import { useDispatch, useSelector } from "react-redux";
|
|
4
4
|
import { translate } from "../../helpers/i18n";
|
|
5
|
-
import { toggleUserPreferenceListVisible } from "../../store/actions
|
|
6
|
-
import { userPreferenceListVisibleSelector } from "../../store/selectors
|
|
5
|
+
import { toggleUserPreferenceListVisible } from "../../store/actions";
|
|
6
|
+
import { userPreferenceListVisibleSelector } from "../../store/selectors";
|
|
7
7
|
import { useMainPanelContext } from "./context";
|
|
8
8
|
function MainPanelListToggleButton() {
|
|
9
9
|
const { collapsible, contentType } = useMainPanelContext();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-toggle-button.js","sourceRoot":"","sources":["../../../src/js/components/main-panel/list-toggle-button.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,OAAO,CAAC;AAClC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAC,+BAA+B,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"list-toggle-button.js","sourceRoot":"","sources":["../../../src/js/components/main-panel/list-toggle-button.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,OAAO,CAAC;AAClC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAC,+BAA+B,EAAC,MAAM,qBAAqB,CAAC;AAEpE,OAAO,EAAC,iCAAiC,EAAC,MAAM,uBAAuB,CAAC;AAExE,OAAO,EAAC,mBAAmB,EAAC,MAAM,WAAW,CAAC;AAE9C,SAAS,yBAAyB;IACjC,MAAM,EAAC,WAAW,EAAE,WAAW,EAAC,GAAG,mBAAmB,EAAE,CAAC;IACzD,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,MAAM,GAAG,WAAW,CAAC,iCAAiC,CAAC,CAAC;IAC9D,MAAM,WAAW,GAAG,WAAW,CAAC,GAAG,EAAE;QACpC,QAAQ,CAAC,+BAA+B,EAAE,CAAC,CAAC;IAC7C,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,IAAI,WAAW,IAAI,WAAW,KAAK,MAAM,EAAE,CAAC;QAC3C,OAAO,CACN,iBACC,SAAS,EAAE,uCACV,MAAM,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,EAC7C,IAAI,EACJ,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,QAAQ,kBACC,MAAM,EACpB,OAAO,EAAE,WAAW,YAEpB,eAAM,SAAS,EAAC,oBAAoB,YAClC,SAAS,CACT,MAAM;oBACL,CAAC,CAAC,iCAAiC;oBACnC,CAAC,CAAC,gCAAgC,CACnC,GACK,GACC,CACT,CAAC;IACH,CAAC;IAED,OAAO,IAAI,CAAC;AACb,CAAC;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -8,7 +8,7 @@ function selectVisibleLayerAttributions(state) {
|
|
|
8
8
|
}
|
|
9
9
|
function Attribution({ children }) {
|
|
10
10
|
const attributions = useSelector(selectVisibleLayerAttributions);
|
|
11
|
-
return (_jsx(AttributionEntries, { attributions: attributions, children: children }));
|
|
11
|
+
return (_jsx(AttributionEntries, { attributions: attributions ?? undefined, children: children }));
|
|
12
12
|
}
|
|
13
13
|
export default Attribution;
|
|
14
14
|
//# sourceMappingURL=attribution.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attribution.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/attribution.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,gCAAgC,EAAC,MAAM,kCAAkC,CAAC;AAIlF,OAAO,EAAC,GAAG,EAAC,MAAM,oCAAoC,CAAC;AACvD,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AAEvD,SAAS,8BAA8B,CAAC,KAAY;IACnD,OAAO,gCAAgC,CAAC,KAAK,CAAC,GAAG,CAAa,CAAC,CAAC;AACjE,CAAC;AAED,SAAS,WAAW,CAAC,EAAC,QAAQ,EAAoB;IACjD,MAAM,YAAY,GAAG,WAAW,CAAC,8BAA8B,CAAC,CAAC;IAEjE,OAAO,CACN,KAAC,kBAAkB,IAAC,YAAY,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"attribution.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/attribution.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,gCAAgC,EAAC,MAAM,kCAAkC,CAAC;AAIlF,OAAO,EAAC,GAAG,EAAC,MAAM,oCAAoC,CAAC;AACvD,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AAEvD,SAAS,8BAA8B,CAAC,KAAY;IACnD,OAAO,gCAAgC,CAAC,KAAK,CAAC,GAAG,CAAa,CAAC,CAAC;AACjE,CAAC;AAED,SAAS,WAAW,CAAC,EAAC,QAAQ,EAAoB;IACjD,MAAM,YAAY,GAAG,WAAW,CAAC,8BAA8B,CAAC,CAAC;IAEjE,OAAO,CACN,KAAC,kBAAkB,IAAC,YAAY,EAAE,YAAY,IAAI,SAAS,YACzD,QAAQ,GACW,CACrB,CAAC;AACH,CAAC;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { memo, useCallback } from "react";
|
|
3
3
|
import { useDispatch, useSelector } from "react-redux";
|
|
4
4
|
import { translate } from "../../helpers/i18n";
|
|
5
|
-
import { setOverlayModalVisible } from "../../store/actions
|
|
6
|
-
import { isOverlayModalVisibleSelector, isViewMobileOrMapOnlySelector, } from "../../store/selectors
|
|
5
|
+
import { setOverlayModalVisible } from "../../store/actions";
|
|
6
|
+
import { isOverlayModalVisibleSelector, isViewMobileOrMapOnlySelector, } from "../../store/selectors";
|
|
7
7
|
import Logo from "./logo";
|
|
8
8
|
function InfoOverlayLeft() {
|
|
9
9
|
const dispatch = useDispatch();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info-overlay-left.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/info-overlay-left.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,OAAO,CAAC;AACxC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAC,sBAAsB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"info-overlay-left.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/info-overlay-left.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,OAAO,CAAC;AACxC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAC,sBAAsB,EAAC,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EACN,6BAA6B,EAC7B,6BAA6B,GAC7B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,SAAS,eAAe;IACvB,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,iBAAiB,GAAG,WAAW,CAAC,6BAA6B,CAAC,CAAC;IACrE,MAAM,qBAAqB,GAAG,WAAW,CAAC,6BAA6B,CAAC,CAAC;IAEzE,MAAM,MAAM,GAAG,WAAW,CAAC,GAAG,EAAE;QAC/B,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC,CAAC;IACxC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO,CACN,eAAK,SAAS,EAAC,qDAAqD,aAGlE,CAAC,iBAAiB,IAAI,CACtB,cAAK,SAAS,EAAC,0DAA0D,YACxE,KAAC,IAAI,KAAG,GACH,CACN,EAED,cAAK,SAAS,EAAC,kCAAkC,YAChD,iBACC,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,0FAA0F,mBACrF,qBAAqB,EACpC,OAAO,EAAE,MAAM,YAEf,eAAM,SAAS,EAAC,gCAAgC,YAC9C,SAAS,CAAC,0BAA0B,CAAC,GAChC,GACC,GACJ,IACD,CACN,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,eAAe,CAAC,CAAC"}
|
|
@@ -2,10 +2,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { reduceLayersToLegends, visibleLayersWithLegendsSelector, } from "@mapsight/core/lib/map/selectors";
|
|
3
3
|
import { memo, useCallback } from "react";
|
|
4
4
|
import { useDispatch, useSelector } from "react-redux";
|
|
5
|
-
import { createSelector } from "
|
|
5
|
+
import { createSelector } from "@reduxjs/toolkit";
|
|
6
6
|
import { MAP } from "../../config/constants/controllers";
|
|
7
7
|
import { translate } from "../../helpers/i18n";
|
|
8
|
-
import { setOverlayModalVisible } from "../../store/actions
|
|
8
|
+
import { setOverlayModalVisible } from "../../store/actions";
|
|
9
9
|
import Attribution from "./attribution";
|
|
10
10
|
const legendsSelector = createSelector((state) => visibleLayersWithLegendsSelector(state[MAP]),
|
|
11
11
|
// we need to run this as well, cause it's filtering stuff
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info-overlay-right.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/info-overlay-right.jsx"],"names":[],"mappings":";AAAA,OAAO,EACN,qBAAqB,EACrB,gCAAgC,GAChC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,OAAO,CAAC;AACxC,OAAO,EAAC,WAAW,E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,EAAC,OAAO,EAAE,MAAM,YACnC,SAAS,CAAC,4BAA4B,CAAC,GAChC,CACT,GACY,GACT,CACN,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,gBAAgB,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useSelector } from "react-redux";
|
|
3
|
-
import { createSelector } from "
|
|
3
|
+
import { createSelector } from "@reduxjs/toolkit";
|
|
4
4
|
import { reduceLayersToLegends, visibleLayersWithLegendsSelector, } from "@mapsight/core/lib/map/selectors";
|
|
5
5
|
import { MAP } from "../../config/constants/controllers";
|
|
6
6
|
import AttributionEntries from "./attribution-entries";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legend.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/legend.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"legend.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/legend.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EACN,qBAAqB,EACrB,gCAAgC,GAChC,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EAAC,GAAG,EAAC,MAAM,oCAAoC,CAAC;AACvD,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AAEvD,8EAA8E;AAC9E,MAAM,eAAe,GAAG,cAAc,CACrC,CAAC,KAAK,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EACvD,qBAAqB,CACrB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,MAAM;IAC7B,MAAM,OAAO,GAAG,WAAW,CAAC,eAAe,CAAC,CAAC;IAC7C,OAAO,KAAC,kBAAkB,IAAC,YAAY,EAAE,OAAO,GAAI,CAAC;AACtD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Fragment, useCallback, useEffect, useMemo } from "react";
|
|
3
3
|
import { useDispatch, useSelector } from "react-redux";
|
|
4
|
-
import { createSelector } from "
|
|
4
|
+
import { createSelector } from "@reduxjs/toolkit";
|
|
5
5
|
import { removeAllFeatures } from "@mapsight/core/lib/feature-sources/actions";
|
|
6
6
|
import { createFilteredFeatureSourceSelector } from "@mapsight/core/lib/feature-sources/selectors";
|
|
7
7
|
import { FEATURE_SOURCES, MAP } from "../../config/constants/controllers";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measure-distance-button.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/measure-distance-button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAC,MAAM,OAAO,CAAC;AAChE,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"measure-distance-button.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/measure-distance-button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAC,MAAM,OAAO,CAAC;AAChE,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAC,iBAAiB,EAAC,MAAM,4CAA4C,CAAC;AAC7E,OAAO,EAAC,mCAAmC,EAAC,MAAM,8CAA8C,CAAC;AAEjG,OAAO,EAAC,eAAe,EAAE,GAAG,EAAC,MAAM,oCAA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