@mapsight/ui 7.0.3 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +91 -2
- 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.d.ts +1 -1
- package/dist/components/feature-details-content/feature-details-content.d.ts.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 +4 -6
- 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-details-content/share-feature-link-modal.d.ts +1 -1
- package/dist/components/feature-details-content/share-feature-link-modal.d.ts.map +1 -1
- package/dist/components/feature-list/context.d.ts +12 -4
- package/dist/components/feature-list/context.d.ts.map +1 -1
- package/dist/components/feature-list/context.js.map +1 -1
- package/dist/components/feature-list/empty-message.d.ts +1 -1
- package/dist/components/feature-list/empty-message.d.ts.map +1 -1
- package/dist/components/feature-list/filter.d.ts +1 -1
- package/dist/components/feature-list/filter.d.ts.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/footer.d.ts +1 -1
- package/dist/components/feature-list/footer.d.ts.map +1 -1
- package/dist/components/feature-list/hooks/useAutoloadFeatureSource.d.ts.map +1 -1
- package/dist/components/feature-list/hooks/useAutoloadFeatureSource.js +12 -3
- package/dist/components/feature-list/hooks/useAutoloadFeatureSource.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.d.ts +3 -2
- package/dist/components/feature-list/index.d.ts.map +1 -1
- package/dist/components/feature-list/index.js +34 -46
- package/dist/components/feature-list/index.js.map +1 -1
- package/dist/components/feature-list/pagination.d.ts +1 -1
- package/dist/components/feature-list/pagination.d.ts.map +1 -1
- package/dist/components/feature-list/query-input.d.ts +1 -1
- package/dist/components/feature-list/query-input.d.ts.map +1 -1
- package/dist/components/feature-list/tag-switcher-control.d.ts +4 -0
- package/dist/components/feature-list/tag-switcher-control.d.ts.map +1 -0
- package/dist/components/feature-list/tag-switcher-control.js +10 -0
- package/dist/components/feature-list/tag-switcher-control.js.map +1 -0
- package/dist/components/feature-list-cycling/button.d.ts +1 -1
- package/dist/components/feature-list-cycling/button.d.ts.map +1 -1
- package/dist/components/feature-list-cycling/dot.d.ts +1 -1
- package/dist/components/feature-list-cycling/dot.d.ts.map +1 -1
- package/dist/components/feature-list-cycling/feature-list-cycling.d.ts +1 -1
- package/dist/components/feature-list-cycling/feature-list-cycling.d.ts.map +1 -1
- package/dist/components/feature-list-cycling/index.d.ts +4 -6
- 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-item/icon.d.ts +8 -6
- package/dist/components/feature-list-item/icon.d.ts.map +1 -1
- package/dist/components/feature-list-item/icon.js +5 -13
- package/dist/components/feature-list-item/icon.js.map +1 -1
- package/dist/components/feature-list-item/index.d.ts +1 -1
- package/dist/components/feature-list-item/index.d.ts.map +1 -1
- package/dist/components/feature-list-sorting/feature-list-sorting.d.ts +1 -1
- package/dist/components/feature-list-sorting/feature-list-sorting.d.ts.map +1 -1
- package/dist/components/feature-list-sorting/feature-list-sorting.js +3 -12
- package/dist/components/feature-list-sorting/feature-list-sorting.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-list-sorting/status-indicator.d.ts +1 -1
- package/dist/components/feature-list-sorting/status-indicator.d.ts.map +1 -1
- package/dist/components/feature-select-button.d.ts +1 -1
- package/dist/components/feature-select-button.d.ts.map +1 -1
- package/dist/components/feature-selection-info/close-button.d.ts +1 -1
- package/dist/components/feature-selection-info/close-button.d.ts.map +1 -1
- package/dist/components/feature-selection-info/container.d.ts +1 -1
- package/dist/components/feature-selection-info/container.d.ts.map +1 -1
- package/dist/components/feature-selection-info/header.d.ts +1 -1
- package/dist/components/feature-selection-info/header.d.ts.map +1 -1
- package/dist/components/feature-selection-info/index.d.ts +1 -1
- package/dist/components/feature-selection-info/index.d.ts.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/feature-selection-info/without-sticky-header.d.ts +1 -1
- package/dist/components/feature-selection-info/without-sticky-header.d.ts.map +1 -1
- package/dist/components/filter-toggle-control/FilterToggleControl.d.ts +12 -0
- package/dist/components/filter-toggle-control/FilterToggleControl.d.ts.map +1 -0
- package/dist/components/filter-toggle-control/FilterToggleControl.js +20 -0
- package/dist/components/filter-toggle-control/FilterToggleControl.js.map +1 -0
- package/dist/components/helping/app-channel.d.ts +1 -1
- package/dist/components/helping/app-channel.d.ts.map +1 -1
- package/dist/components/helping/app-context.d.ts +2 -2
- package/dist/components/helping/app-context.d.ts.map +1 -1
- package/dist/components/instance.d.ts +1 -1
- package/dist/components/instance.d.ts.map +1 -1
- package/dist/components/layer-switcher/GroupedLayerSwitcher.d.ts +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 +13 -12
- 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 +16 -0
- package/dist/components/layer-switcher/LayerSwitcherContainer.d.ts.map +1 -0
- package/dist/components/layer-switcher/{LayerSwticherContainer.js → LayerSwitcherContainer.js} +4 -8
- 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/additional-container/content.d.ts +1 -1
- package/dist/components/layout/additional-container/content.d.ts.map +1 -1
- package/dist/components/layout/additional-container/index.d.ts +1 -1
- package/dist/components/layout/additional-container/index.d.ts.map +1 -1
- package/dist/components/layout/additional-container/marginal.d.ts +1 -1
- package/dist/components/layout/additional-container/marginal.d.ts.map +1 -1
- package/dist/components/layout/main-container.d.ts +1 -1
- package/dist/components/layout/main-container.d.ts.map +1 -1
- package/dist/components/layout/map-row.d.ts +1 -1
- package/dist/components/layout/map-row.d.ts.map +1 -1
- package/dist/components/layout/title-bar.d.ts +1 -1
- package/dist/components/layout/title-bar.d.ts.map +1 -1
- package/dist/components/layout/wrapper.d.ts +1 -1
- package/dist/components/layout/wrapper.d.ts.map +1 -1
- package/dist/components/layout/wrapper.js +1 -1
- package/dist/components/layout/wrapper.js.map +1 -1
- package/dist/components/link-share.d.ts +1 -1
- package/dist/components/link-share.d.ts.map +1 -1
- package/dist/components/main-panel/container.d.ts +1 -1
- package/dist/components/main-panel/container.d.ts.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/index.d.ts +1 -1
- package/dist/components/main-panel/index.d.ts.map +1 -1
- package/dist/components/main-panel/list-toggle-button.d.ts +1 -1
- package/dist/components/main-panel/list-toggle-button.d.ts.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-entries.d.ts +1 -1
- package/dist/components/map-overlay/attribution-entries.d.ts.map +1 -1
- package/dist/components/map-overlay/attribution.d.ts +1 -1
- package/dist/components/map-overlay/attribution.d.ts.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/combined-buttons.d.ts +1 -1
- package/dist/components/map-overlay/combined-buttons.d.ts.map +1 -1
- package/dist/components/map-overlay/index.d.ts +1 -1
- package/dist/components/map-overlay/index.d.ts.map +1 -1
- package/dist/components/map-overlay/info-overlay-left.d.ts +1 -1
- package/dist/components/map-overlay/info-overlay-left.d.ts.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-modal.d.ts +1 -1
- package/dist/components/map-overlay/info-overlay-modal.d.ts.map +1 -1
- package/dist/components/map-overlay/info-overlay-right.d.ts +1 -1
- package/dist/components/map-overlay/info-overlay-right.d.ts.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/layer-switcher-overlay.d.ts +1 -1
- package/dist/components/map-overlay/layer-switcher-overlay.d.ts.map +1 -1
- package/dist/components/map-overlay/legend.d.ts +1 -1
- package/dist/components/map-overlay/legend.d.ts.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/logo.d.ts +1 -1
- package/dist/components/map-overlay/logo.d.ts.map +1 -1
- package/dist/components/map-overlay/measure-distance-button.d.ts +1 -1
- package/dist/components/map-overlay/measure-distance-button.d.ts.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/measure-distance-overlay.d.ts +1 -1
- package/dist/components/map-overlay/measure-distance-overlay.d.ts.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.d.ts +1 -1
- package/dist/components/map-overlay/search-overlay.d.ts.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.d.ts +1 -1
- package/dist/components/map-overlay/share-position-link-button.d.ts.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-overlay/tool-overlay.d.ts +1 -1
- package/dist/components/map-overlay/tool-overlay.d.ts.map +1 -1
- package/dist/components/map-overlay/zoom-buttons.d.ts +1 -1
- package/dist/components/map-overlay/zoom-buttons.d.ts.map +1 -1
- package/dist/components/map-synced-interlay/index.d.ts +3 -6
- 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.d.ts +1 -1
- package/dist/components/map-synced-interlay/map-synced-interlay.d.ts.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.d.ts +1 -1
- package/dist/components/map-synced-interlay/tooltip.d.ts.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-wrapper.d.ts +3 -3
- package/dist/components/map-wrapper.d.ts.map +1 -1
- package/dist/components/map-wrapper.js +4 -7
- package/dist/components/map-wrapper.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/mapsight-icon/mapsight-icon.d.ts +10 -0
- package/dist/components/mapsight-icon/mapsight-icon.d.ts.map +1 -0
- package/dist/components/mapsight-icon/mapsight-icon.js +33 -0
- package/dist/components/mapsight-icon/mapsight-icon.js.map +1 -0
- package/dist/components/modal.d.ts +1 -1
- package/dist/components/modal.d.ts.map +1 -1
- package/dist/components/query-input-with-label.d.ts +1 -1
- package/dist/components/query-input-with-label.d.ts.map +1 -1
- package/dist/components/search/index.d.ts +1 -1
- package/dist/components/search/index.d.ts.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.d.ts +1 -1
- package/dist/components/search/result-entry.d.ts.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.d.ts +1 -1
- package/dist/components/search/result.d.ts.map +1 -1
- package/dist/components/search/result.js +1 -1
- package/dist/components/search/result.js.map +1 -1
- package/dist/components/switcher/GroupedSwitcher.d.ts +1 -1
- package/dist/components/switcher/GroupedSwitcher.d.ts.map +1 -1
- package/dist/components/switcher/Switcher.d.ts +1 -1
- package/dist/components/switcher/Switcher.d.ts.map +1 -1
- package/dist/components/switcher/SwitcherButton.d.ts +1 -1
- package/dist/components/switcher/SwitcherButton.d.ts.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/switcher/SwitcherHeader.d.ts +1 -1
- package/dist/components/switcher/SwitcherHeader.d.ts.map +1 -1
- package/dist/components/switcher/SwitcherStatusIcon.d.ts +1 -1
- package/dist/components/switcher/SwitcherStatusIcon.d.ts.map +1 -1
- package/dist/components/tag-switcher/TagSwitcher.d.ts +3 -3
- 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 +3 -6
- 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/time-filter.d.ts +1 -1
- package/dist/components/time-filter.d.ts.map +1 -1
- package/dist/components/view-toggle-button/desktop-button.d.ts +1 -1
- package/dist/components/view-toggle-button/desktop-button.d.ts.map +1 -1
- package/dist/components/view-toggle-button/index.d.ts +7 -6
- 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.d.ts +1 -1
- package/dist/components/view-toggle-button/view-toggle-button.d.ts.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/config/feature/sources.d.ts +8 -5
- package/dist/config/feature/sources.d.ts.map +1 -1
- package/dist/config/feature/sources.js +10 -0
- package/dist/config/feature/sources.js.map +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/map/featureInteractions.js.map +1 -1
- package/dist/config/map/layers.d.ts +16 -13
- package/dist/config/map/layers.d.ts.map +1 -1
- package/dist/config/map/layers.js.map +1 -1
- package/dist/config/schema/index.d.ts +195 -0
- package/dist/config/schema/index.d.ts.map +1 -0
- package/dist/config/schema/index.js +26 -0
- package/dist/config/schema/index.js.map +1 -0
- package/dist/config/schema/validate.d.ts +8 -0
- package/dist/config/schema/validate.d.ts.map +1 -0
- package/dist/config/schema/validate.js +7 -0
- package/dist/config/schema/validate.js.map +1 -0
- package/dist/controllers/defaults.d.ts.map +1 -1
- package/dist/controllers/defaults.js +5 -0
- package/dist/controllers/defaults.js.map +1 -1
- package/dist/filters/tag-filter.d.ts +7 -0
- package/dist/filters/tag-filter.d.ts.map +1 -1
- package/dist/filters/tag-filter.js +10 -0
- package/dist/filters/tag-filter.js.map +1 -1
- package/dist/filters/time-filter.d.ts +9 -0
- package/dist/filters/time-filter.d.ts.map +1 -1
- package/dist/filters/time-filter.js +10 -0
- package/dist/filters/time-filter.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/helpers/i18n/de.d.ts.map +1 -1
- package/dist/helpers/i18n/de.js +1 -0
- package/dist/helpers/i18n/de.js.map +1 -1
- package/dist/helpers/i18n/en.d.ts.map +1 -1
- package/dist/helpers/i18n/en.js +1 -0
- package/dist/helpers/i18n/en.js.map +1 -1
- package/dist/helpers/sort-features-by-distance.d.ts +2 -7
- package/dist/helpers/sort-features-by-distance.d.ts.map +1 -1
- package/dist/helpers/sort-features-by-distance.js +27 -39
- package/dist/helpers/sort-features-by-distance.js.map +1 -1
- package/dist/hooks/useMapsightIcon.d.ts +8 -0
- package/dist/hooks/useMapsightIcon.d.ts.map +1 -0
- package/dist/hooks/useMapsightIcon.js +50 -0
- package/dist/hooks/useMapsightIcon.js.map +1 -0
- 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 +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -5
- 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 +15 -13
- package/dist/plugins/browser-defaults.d.ts.map +1 -1
- package/dist/plugins/browser-defaults.js +18 -13
- package/dist/plugins/browser-defaults.js.map +1 -1
- package/dist/plugins/common/combined-visible-layers.d.ts +15 -0
- package/dist/plugins/common/combined-visible-layers.d.ts.map +1 -0
- package/dist/plugins/common/combined-visible-layers.js +63 -0
- package/dist/plugins/common/combined-visible-layers.js.map +1 -0
- 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/common/runtime-icon-style.d.ts +12 -0
- package/dist/plugins/common/runtime-icon-style.d.ts.map +1 -0
- package/dist/plugins/common/runtime-icon-style.js +58 -0
- package/dist/plugins/common/runtime-icon-style.js.map +1 -0
- 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/react-modal-app-element.d.ts +6 -0
- package/dist/react-modal-app-element.d.ts.map +1 -0
- package/dist/react-modal-app-element.js +9 -0
- package/dist/react-modal-app-element.js.map +1 -0
- 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 +7 -2
- package/dist/store/actions.js.map +1 -1
- package/dist/store/reducers.d.ts +224 -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 +267 -243
- package/dist/store/selectors.d.ts.map +1 -1
- package/dist/store/selectors.js +58 -69
- package/dist/store/selectors.js.map +1 -1
- package/dist/types.d.ts +65 -36
- package/dist/types.d.ts.map +1 -1
- package/package.json +26 -11
- package/src/scss/blocks/_features-sorting.scss +0 -13
- package/src/scss/blocks/_filter-button.scss +23 -0
- package/src/scss/blocks/_filter-toggle-control.scss +15 -0
- package/src/scss/default.scss +1 -0
- 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/img/mapsight-ui/check-empty.svg +0 -1
- package/src/img/mapsight-ui/check.svg +0 -2
- package/src/img/mapsight-ui/close-list.svg +0 -1
- package/src/img/mapsight-ui/close.svg +0 -1
- package/src/img/mapsight-ui/error.svg +0 -1
- package/src/img/mapsight-ui/fullscreen-close.svg +0 -1
- package/src/img/mapsight-ui/fullscreen.svg +0 -1
- package/src/img/mapsight-ui/geo-active.svg +0 -1
- package/src/img/mapsight-ui/geo-error.svg +0 -1
- package/src/img/mapsight-ui/geo-inactive.svg +0 -1
- package/src/img/mapsight-ui/info.svg +0 -1
- package/src/img/mapsight-ui/layers.svg +0 -1
- package/src/img/mapsight-ui/loading.svg +0 -1
- package/src/img/mapsight-ui/map.svg +0 -1
- package/src/img/mapsight-ui/measure-distance.svg +0 -7
- package/src/img/mapsight-ui/open-list.svg +0 -1
- package/src/img/mapsight-ui/place-marker.svg +0 -4
- package/src/img/mapsight-ui/print.svg +0 -4
- package/src/img/mapsight-ui/reset-active.svg +0 -1
- package/src/img/mapsight-ui/reset.svg +0 -1
- package/src/img/mapsight-ui/search.svg +0 -1
- package/src/img/mapsight-ui/sharing.svg +0 -7
- package/src/img/mapsight-ui/sort-active.svg +0 -1
- package/src/img/mapsight-ui/sort.svg +0 -1
- package/src/img/mapsight-ui/watermark.svg +0 -1
- package/src/img/mapsight-ui/zoom-in.svg +0 -3
- package/src/img/mapsight-ui/zoom-out.svg +0 -3
- package/src/js/components/app.jsx +0 -237
- package/src/js/components/close-overlay-button.tsx +0 -27
- package/src/js/components/feature-details-content/feature-details-content-inner.tsx +0 -116
- package/src/js/components/feature-details-content/feature-details-content.jsx +0 -185
- package/src/js/components/feature-details-content/index.js +0 -20
- package/src/js/components/feature-details-content/share-feature-link-modal.jsx +0 -56
- package/src/js/components/feature-list/content.jsx +0 -42
- package/src/js/components/feature-list/context.tsx +0 -47
- package/src/js/components/feature-list/empty-message.jsx +0 -15
- package/src/js/components/feature-list/filter.jsx +0 -35
- package/src/js/components/feature-list/footer.jsx +0 -5
- package/src/js/components/feature-list/grouped-content.jsx +0 -74
- package/src/js/components/feature-list/header.jsx +0 -7
- package/src/js/components/feature-list/hooks/useAutoloadFeatureSource.ts +0 -25
- package/src/js/components/feature-list/hooks/useFeatureListFeatureSource.ts +0 -22
- package/src/js/components/feature-list/hooks/useFeatureListItemGroups.ts +0 -127
- package/src/js/components/feature-list/hooks/useFeatureListState.ts +0 -90
- package/src/js/components/feature-list/hooks/useKeyboardNavigation.js +0 -112
- package/src/js/components/feature-list/hooks/useMakeHeaderSticky.js +0 -40
- package/src/js/components/feature-list/hooks/usePaginatedFilteredFeatures.ts +0 -129
- package/src/js/components/feature-list/hooks/useRestoreDocumentScroll.js +0 -12
- package/src/js/components/feature-list/hooks/useSelectFeature.js +0 -88
- package/src/js/components/feature-list/index.jsx +0 -278
- package/src/js/components/feature-list/pagination.tsx +0 -57
- package/src/js/components/feature-list/query-input.jsx +0 -14
- package/src/js/components/feature-list-cycling/button.jsx +0 -13
- package/src/js/components/feature-list-cycling/dot.jsx +0 -43
- package/src/js/components/feature-list-cycling/feature-list-cycling.jsx +0 -153
- package/src/js/components/feature-list-cycling/index.js +0 -82
- package/src/js/components/feature-list-item/head.jsx +0 -131
- package/src/js/components/feature-list-item/hooks/useFeatureListItemScrollAndFocus.js +0 -51
- package/src/js/components/feature-list-item/hooks/useFeatureListItemState.ts +0 -75
- package/src/js/components/feature-list-item/icon.jsx +0 -35
- package/src/js/components/feature-list-item/index.jsx +0 -168
- package/src/js/components/feature-list-sorting/feature-list-sorting.tsx +0 -144
- package/src/js/components/feature-list-sorting/index.js +0 -25
- package/src/js/components/feature-list-sorting/status-indicator.jsx +0 -10
- package/src/js/components/feature-select-button.jsx +0 -70
- package/src/js/components/feature-selection-info/close-button.jsx +0 -64
- package/src/js/components/feature-selection-info/container.jsx +0 -9
- package/src/js/components/feature-selection-info/header.tsx +0 -27
- package/src/js/components/feature-selection-info/index.tsx +0 -81
- package/src/js/components/feature-selection-info/with-sticky-header.jsx +0 -61
- package/src/js/components/feature-selection-info/without-sticky-header.jsx +0 -19
- package/src/js/components/feature-selection-info/wrapper.jsx +0 -43
- package/src/js/components/helping/app-channel.tsx +0 -99
- package/src/js/components/helping/app-context.tsx +0 -32
- package/src/js/components/helping/visibility-wrapper.jsx +0 -23
- package/src/js/components/instance.tsx +0 -48
- package/src/js/components/layer-switcher/GroupedLayerSwitcher.js +0 -47
- package/src/js/components/layer-switcher/LayerSwitcher.js +0 -27
- package/src/js/components/layer-switcher/LayerSwitcherEntry.js +0 -132
- package/src/js/components/layer-switcher/LayerSwticherContainer.jsx +0 -80
- package/src/js/components/layer-switcher/index.js +0 -47
- package/src/js/components/layout/additional-container/content.jsx +0 -10
- package/src/js/components/layout/additional-container/index.jsx +0 -5
- package/src/js/components/layout/additional-container/marginal.jsx +0 -10
- package/src/js/components/layout/main-container.jsx +0 -5
- package/src/js/components/layout/map-row.jsx +0 -5
- package/src/js/components/layout/title-bar.tsx +0 -25
- package/src/js/components/layout/wrapper.jsx +0 -28
- package/src/js/components/link-share.jsx +0 -78
- package/src/js/components/main-panel/container.tsx +0 -23
- package/src/js/components/main-panel/context.jsx +0 -62
- package/src/js/components/main-panel/index.tsx +0 -46
- package/src/js/components/main-panel/list-toggle-button.jsx +0 -43
- package/src/js/components/map-overlay/area.jsx +0 -17
- package/src/js/components/map-overlay/attribution-entries.tsx +0 -33
- package/src/js/components/map-overlay/attribution.tsx +0 -25
- package/src/js/components/map-overlay/combined-buttons.jsx +0 -5
- package/src/js/components/map-overlay/index.jsx +0 -5
- package/src/js/components/map-overlay/info-overlay-left.jsx +0 -51
- package/src/js/components/map-overlay/info-overlay-modal.tsx +0 -49
- package/src/js/components/map-overlay/info-overlay-right.jsx +0 -46
- package/src/js/components/map-overlay/layer-switcher-overlay.tsx +0 -100
- package/src/js/components/map-overlay/legend.tsx +0 -22
- package/src/js/components/map-overlay/logo.jsx +0 -11
- package/src/js/components/map-overlay/measure-distance-button.tsx +0 -116
- package/src/js/components/map-overlay/measure-distance-overlay.jsx +0 -56
- package/src/js/components/map-overlay/mini-legend.jsx +0 -103
- package/src/js/components/map-overlay/region-selector.jsx +0 -63
- package/src/js/components/map-overlay/search-overlay.jsx +0 -79
- package/src/js/components/map-overlay/share-position-link-button.tsx +0 -144
- package/src/js/components/map-overlay/tool-overlay.tsx +0 -28
- package/src/js/components/map-overlay/user-geo-location-button.jsx +0 -89
- package/src/js/components/map-overlay/zoom-button.jsx +0 -98
- package/src/js/components/map-overlay/zoom-buttons.jsx +0 -26
- package/src/js/components/map-synced-interlay/index.js +0 -17
- package/src/js/components/map-synced-interlay/map-synced-interlay.jsx +0 -22
- package/src/js/components/map-synced-interlay/tooltip-content.tsx +0 -22
- package/src/js/components/map-synced-interlay/tooltip.tsx +0 -199
- package/src/js/components/map-wrapper.tsx +0 -65
- package/src/js/components/map.jsx +0 -37
- package/src/js/components/modal.tsx +0 -40
- package/src/js/components/query-input-with-label.tsx +0 -71
- package/src/js/components/query-input.tsx +0 -81
- package/src/js/components/search/index.jsx +0 -83
- package/src/js/components/search/query-input.jsx +0 -20
- package/src/js/components/search/result-entry.jsx +0 -63
- package/src/js/components/search/result.jsx +0 -71
- package/src/js/components/switcher/GroupedSwitcher.jsx +0 -42
- package/src/js/components/switcher/Switcher.jsx +0 -54
- package/src/js/components/switcher/SwitcherButton.jsx +0 -23
- package/src/js/components/switcher/SwitcherEntry.jsx +0 -143
- package/src/js/components/switcher/SwitcherHeader.jsx +0 -58
- package/src/js/components/switcher/SwitcherStatusIcon.jsx +0 -36
- package/src/js/components/tag-switcher/TagSwitcher.jsx +0 -57
- package/src/js/components/tag-switcher/createTagSwitcherEntry.js +0 -41
- package/src/js/components/tag-switcher/createTagSwitcherHeader.js +0 -34
- package/src/js/components/tag-switcher/index.js +0 -20
- package/src/js/components/time-filter.jsx +0 -187
- package/src/js/components/view-toggle-button/desktop-button.jsx +0 -13
- package/src/js/components/view-toggle-button/index.js +0 -39
- package/src/js/components/view-toggle-button/mobile-button.jsx +0 -13
- package/src/js/components/view-toggle-button/view-toggle-button.jsx +0 -74
- package/src/js/components/view-toggle-button/viewport-button.jsx +0 -13
- package/src/js/config/constants/app.ts +0 -16
- package/src/js/config/constants/controllers.ts +0 -11
- package/src/js/config/feature/selections.ts +0 -13
- package/src/js/config/feature/sources.ts +0 -77
- package/src/js/config/index.ts +0 -133
- package/src/js/config/map/featureInteractions.ts +0 -53
- package/src/js/config/map/interactions.ts +0 -15
- package/src/js/config/map/layers.ts +0 -190
- package/src/js/controllers/defaults.ts +0 -36
- package/src/js/embed/browser.ts +0 -89
- package/src/js/embed/node.ts +0 -57
- package/src/js/filters/tag-filter.ts +0 -135
- package/src/js/filters/time-filter.ts +0 -53
- package/src/js/global.d.ts +0 -7
- package/src/js/helpers/components.ts +0 -66
- package/src/js/helpers/create-action-watcher.ts +0 -35
- package/src/js/helpers/events.ts +0 -11
- package/src/js/helpers/get-feature-property.ts +0 -14
- package/src/js/helpers/i18n/de.ts +0 -145
- package/src/js/helpers/i18n/en.ts +0 -140
- package/src/js/helpers/i18n/index.ts +0 -41
- package/src/js/helpers/makeReplaceableComponent.ts +0 -0
- package/src/js/helpers/mod-classes.ts +0 -47
- package/src/js/helpers/react.ts +0 -14
- package/src/js/helpers/scroll-to-element-top.ts +0 -16
- package/src/js/helpers/sort-features-by-distance.ts +0 -102
- package/src/js/helpers/sticky.js +0 -143
- package/src/js/hooks/useCallbackRef.ts +0 -14
- package/src/js/hooks/useControllableState.ts +0 -50
- package/src/js/hooks/useDebounce.ts +0 -32
- package/src/js/hooks/useHandleEscapeKeyDown.ts +0 -27
- package/src/js/hooks/useMapsightPanel.ts +0 -40
- package/src/js/hooks/useMountable.ts +0 -38
- package/src/js/hooks/usePrevious.ts +0 -15
- package/src/js/hooks/useStickyHeader.ts +0 -51
- package/src/js/hooks/useUpdateMapSizeCallback.ts +0 -32
- package/src/js/hooks/useUpdateMapSizeOnRender.ts +0 -16
- package/src/js/hooks/useUpdateMapSizeOnTransitionEnd.ts +0 -40
- package/src/js/hooks/useUpdateMapSizeOnViewChange.ts +0 -36
- package/src/js/index.ts +0 -319
- package/src/js/plugins/browser/app-title.ts +0 -36
- package/src/js/plugins/browser/debug.ts +0 -37
- package/src/js/plugins/browser/feature-deep-link.ts +0 -222
- package/src/js/plugins/browser/local-storage.ts +0 -79
- package/src/js/plugins/browser/native-fullscreen.ts +0 -81
- package/src/js/plugins/browser/no-scroll.ts +0 -90
- package/src/js/plugins/browser/partial-content-changed-event.ts +0 -23
- package/src/js/plugins/browser/piwik-track-feature-selection-event.ts +0 -75
- package/src/js/plugins/browser/piwik-track-fullscreen-toggle-event.ts +0 -46
- package/src/js/plugins/browser/search.ts +0 -42
- package/src/js/plugins/browser/share-position-link.ts +0 -463
- package/src/js/plugins/browser/toggle-mobile-views.ts +0 -60
- package/src/js/plugins/browser/user-geolocation.ts +0 -134
- package/src/js/plugins/browser/views.ts +0 -141
- package/src/js/plugins/browser-defaults.ts +0 -101
- package/src/js/plugins/common/feature-selection-details-url.ts +0 -135
- package/src/js/plugins/common/lang.ts +0 -17
- package/src/js/plugins/common/measure-distance.ts +0 -223
- package/src/js/plugins/common/ol-proxy.ts +0 -68
- package/src/js/plugins/common/render-await-feature-details-loaded.ts +0 -153
- package/src/js/plugins/common/render-await-list-feature-sources-loaded.ts +0 -108
- package/src/js/plugins/server/feature-deep-link.ts +0 -67
- package/src/js/plugins/server-defaults.ts +0 -36
- package/src/js/renderer/browser-dom.tsx +0 -23
- package/src/js/renderer/server-string.tsx +0 -17
- package/src/js/server-handler.js +0 -39
- package/src/js/store/actions.ts +0 -648
- package/src/js/store/reducers.ts +0 -491
- package/src/js/store/selectors.ts +0 -449
- package/src/js/types.ts +0 -381
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"native-fullscreen.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/native-fullscreen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM
|
|
1
|
+
{"version":3,"file":"native-fullscreen.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/native-fullscreen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAErD,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAEhD;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,4BAA4B,CACnD,OAAO,GAAE;IACR,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;CACpB,GACJ,cAAc,CA2DhB"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { State } from "@mapsight/core/types";
|
|
2
|
-
import type {
|
|
2
|
+
import type { RootStateSlice } from "../../store/selectors";
|
|
3
|
+
import type { PluginInstance } from "../../types";
|
|
3
4
|
/**
|
|
4
5
|
* create a no-scroll-handler
|
|
5
6
|
*
|
|
@@ -9,9 +10,7 @@ import type { PluginInstance, UiState } from "../../types.ts";
|
|
|
9
10
|
*/
|
|
10
11
|
export declare function createNoScrollHandler(selector: (state: unknown) => boolean, noScrollCssClass?: string): (state: State, forceAllow: boolean) => boolean;
|
|
11
12
|
export declare const defaultNoScrollHandler: (state: State, forceAllow: boolean) => boolean;
|
|
12
|
-
export declare const defaultNoScrollObserveSelector: (state:
|
|
13
|
-
app: UiState;
|
|
14
|
-
}) => import("../../config/constants/app").View;
|
|
13
|
+
export declare const defaultNoScrollObserveSelector: (state: RootStateSlice) => import("../../config/constants/app").View;
|
|
15
14
|
/**
|
|
16
15
|
* This plugin will observe the state for changes to the view (default) and will call the defined handler.
|
|
17
16
|
* By default, this will disable scrolling the document and add a class to the document element
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-scroll.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/no-scroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"no-scroll.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/no-scroll.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,sBAAsB,CAAC;AAKhD,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,uBAAuB,CAAC;AAE1D,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAMhD;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,EACrC,gBAAgB,SAAuB,IAE/B,OAAO,KAAK,EAAE,YAAY,OAAO,aAezC;AAED,eAAO,MAAM,sBAAsB,UAjBnB,KAAK,cAAc,OAAO,YAsBzC,CAAC;AACF,eAAO,MAAM,8BAA8B,sEAAe,CAAC;AAE3D;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CACnC,OAAO,GAAE;IACR,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,OAAO,CAAC;IACpD,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;CACzD,GACJ,cAAc,CAyBhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-scroll.js","sourceRoot":"","sources":["../../../src/js/plugins/browser/no-scroll.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,kBAAkB,EAAC,MAAM,mCAAmC,CAAC;AAErE,OAAO,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"no-scroll.js","sourceRoot":"","sources":["../../../src/js/plugins/browser/no-scroll.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,kBAAkB,EAAC,MAAM,mCAAmC,CAAC;AAErE,OAAO,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,4BAA4B,CAAC;AAE1E,OAAO,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAGnD,SAAS,mBAAmB,CAAC,CAAa;IACzC,CAAC,CAAC,cAAc,EAAE,CAAC;AACpB,CAAC;AAED;;;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,OAAO;YAC3C,MAAM,EAAC,KAAK,EAAC,GAAG,OAAO,CAAC;YAExB,IAAI,KAAK,EAAE,CAAC;gBACX,kBAAkB,CACjB,KAAK,EACL,uBAAuB,EACvB,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,eAAe,CAAC,KAAK,EAAE,KAAK,CAAC,CACpD,CAAC;YACH,CAAC;QACF,CAAC;KACD,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PluginInstance } from "../../types
|
|
1
|
+
import type { PluginInstance } from "../../types";
|
|
2
2
|
/**
|
|
3
3
|
* This plugin will call the partialChangeHandler (@see {CreateOptions.partialChangeHandler}) when some partial content
|
|
4
4
|
* has changed in the mapsight ui controlled dom, allowing for manipulation of the changed dom (e.g. displaying charts in the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partial-content-changed-event.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/partial-content-changed-event.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"partial-content-changed-event.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/partial-content-changed-event.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAEhD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,QAAQ,KAAK,GAAG,cAAc,CAWlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"piwik-track-feature-selection-event.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/piwik-track-feature-selection-event.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"piwik-track-feature-selection-event.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/piwik-track-feature-selection-event.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAQhD;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CACnC,OAAO,GAAE;IACR,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACX,GACJ,cAAc,CAqChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"piwik-track-fullscreen-toggle-event.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/piwik-track-fullscreen-toggle-event.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"piwik-track-fullscreen-toggle-event.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/piwik-track-fullscreen-toggle-event.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAMhD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CACnC,OAAO,GAAE;IACR,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CACnB,GACJ,cAAc,CAkBhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/search.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/search.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAKhD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CACnC,OAAO,GAAE;IACR,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4BAA4B,CAAC,EAAE,MAAM,CAAC;CACjC,GACJ,cAAc,CAmBhB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Definition } from "@mapsight/core/ol-proxy";
|
|
2
|
-
import type { PluginInstance } from "../../types
|
|
2
|
+
import type { PluginInstance } from "../../types";
|
|
3
3
|
export declare const createActivateAction: (mapController: any, name: any) => import("@mapsight/core/types").Action;
|
|
4
4
|
export declare const createDeactivateAction: (mapController: any, name: any) => import("@mapsight/core/types").Action;
|
|
5
5
|
export type MarkerPoint = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share-position-link.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/share-position-link.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAcxD,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"share-position-link.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/share-position-link.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAcxD,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,oBAAoB,GAAI,kBAAa,EAAE,SAAI,0CACM,CAAC;AAC/D,eAAO,MAAM,sBAAsB,GAAI,kBAAa,EAAE,SAAI,0CACM,CAAC;AAuGjE,MAAM,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CACzD,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,OAAO,aAAa,EAAE,mBAAmB,CAAC;IAC9C,IAAI,EAAE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GACnB,cAAc,CA0DhB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { createSelector } from "@reduxjs/toolkit";
|
|
1
2
|
import proj4 from "proj4";
|
|
2
|
-
import { createSelector } from "reselect";
|
|
3
3
|
import { mergeAll, set } from "@mapsight/core/lib/base/actions";
|
|
4
4
|
import { createFilteredFeatureSourceSelector } from "@mapsight/core/lib/feature-sources/selectors";
|
|
5
5
|
import { activateInteraction, deactivateInteraction, } from "@mapsight/core/lib/map/actions";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share-position-link.js","sourceRoot":"","sources":["../../../src/js/plugins/browser/share-position-link.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"share-position-link.js","sourceRoot":"","sources":["../../../src/js/plugins/browser/share-position-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAE,GAAG,EAAC,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAC,mCAAmC,EAAC,MAAM,8CAA8C,CAAC;AACjG,OAAO,EACN,mBAAmB,EACnB,qBAAqB,GACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACN,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,GAClB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAC,EAAE,EAAC,MAAM,yBAAyB,CAAC;AAC3C,OAAO,eAAe,MAAM,iEAAiE,CAAC;AAE9F,OAAO,EAAC,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAE/D,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AAC3C,OAAO,EACN,kBAAkB,EAClB,eAAe,EACf,GAAG,GACH,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAC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AAG,kBAAkB,EAC9B,eAAe,GAAG,eAAe,EACjC,aAAa,GAAG,IAAI,EACpB,UAAU,GAAG,IAAI,EACjB,cAAc,GAAG,IAAI,EACrB,WAAW,GAAG,qBAAqB,EACnC,UAAU,GAAG,EAAE,EACf,eAAe,GAAG,aAAa,EAC/B,UAAU,GAAG,SAAS,CAAC,QAAQ,CAAC,EAChC,gBAAgB,GAAG,IAAI,EACvB,mBAAmB,GAAG,0BAA0B,GAChD,GAAG,OAAO,CAAC;IAEZ,OAAO;QACN,WAAW,CAAC,EAAC,KAAK,EAAC;YAClB,IAAI,aAAa,EAAE,CAAC;gBACnB,IAAI,eAAe,EAAE,CAAC;oBACrB,EAAE,CAAC,iBAAiB,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC;gBACzC,CAAC;gBAED,oBAAoB,CAAC;oBACpB,IAAI;oBACJ,KAAK;oBACL,iBAAiB;oBACjB,4BAA4B;oBAC5B,+BAA+B;oBAC/B,SAAS;oBACT,YAAY;iBACZ,CAAC,CAAC;YACJ,CAAC;YAED,IAAI,UAAU,EAAE,CAAC;gBAChB,WAAW,CAAC;oBACX,IAAI;oBACJ,KAAK;oBACL,iBAAiB;oBACjB,4BAA4B;oBAE5B,aAAa;oBACb,cAAc;oBACd,WAAW;oBACX,UAAU;oBACV,eAAe;oBACf,UAAU;oBACV,gBAAgB;oBAChB,mBAAmB;iBACnB,CAAC,CAAC;YACJ,CAAC;QACF,CAAC;KACD,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-mobile-views.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/toggle-mobile-views.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"toggle-mobile-views.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/toggle-mobile-views.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAKhD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CACnC,OAAO,GAAE;IACR,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CACvB,GACJ,cAAc,CAmChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-geolocation.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/user-geolocation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"user-geolocation.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/user-geolocation.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAMhD;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CACnC,OAAO,GAAE;IACR,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,6BAA6B,CAAC,EAAE,MAAM,CAAC;IACvC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACzB,GACJ,cAAc,CAmGhB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { createSelector
|
|
1
|
+
import { createSelector } from "@reduxjs/toolkit";
|
|
2
2
|
import { set } from "@mapsight/core/lib/base/actions";
|
|
3
3
|
import { FeatureSourcesController } from "@mapsight/core/lib/feature-sources/controller";
|
|
4
4
|
import { getGeolocation } from "@mapsight/core/lib/user-geolocation/actions";
|
|
5
|
-
import { createUserGeolocationAsFeatureSelector,
|
|
5
|
+
import createUserGeolocationIsEnabledSelector, { createUserGeolocationAsFeatureSelector, geolocationStatusSelector, } from "@mapsight/core/lib/user-geolocation/selectors";
|
|
6
6
|
import { createStorage } from "@mapsight/lib-redux/local-storage";
|
|
7
7
|
import { AbortObserving, getAndObserveState, } from "@mapsight/lib-redux/observe-state";
|
|
8
8
|
import * as c from "../../config/constants/controllers";
|
|
@@ -52,10 +52,11 @@ export default function createPlugin(options = {}) {
|
|
|
52
52
|
]);
|
|
53
53
|
const geoLocIsEnabledSelector = createUserGeolocationIsEnabledSelector(userGeolocationControllerName);
|
|
54
54
|
const geoLocStatusSelector = createSelector((state) => state[userGeolocationControllerName], geolocationStatusSelector);
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
const alreadyRequestedSelector = createSelector(geoLocStatusSelector, (status) => status === "loading" || status === "error");
|
|
56
|
+
getAndObserveState(store, createSelector([geoLocIsEnabledSelector, alreadyRequestedSelector], (isEnabled, alreadyRequested) => ({
|
|
57
|
+
isEnabled,
|
|
58
|
+
alreadyRequested,
|
|
59
|
+
})), ({ isEnabled, alreadyRequested }) => {
|
|
59
60
|
if (alreadyRequested) {
|
|
60
61
|
return AbortObserving;
|
|
61
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-geolocation.js","sourceRoot":"","sources":["../../../src/js/plugins/browser/user-geolocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"user-geolocation.js","sourceRoot":"","sources":["../../../src/js/plugins/browser/user-geolocation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAC,GAAG,EAAC,MAAM,iCAAiC,CAAC;AACpD,OAAO,EAAC,wBAAwB,EAAC,MAAM,+CAA+C,CAAC;AACvF,OAAO,EAAC,cAAc,EAAC,MAAM,6CAA6C,CAAC;AAE3E,OAAO,sCAAsC,EAAE,EAC9C,sCAAsC,EACtC,yBAAyB,GACzB,MAAM,+CAA+C,CAAC;AAGvD,OAAO,EAAC,aAAa,EAAC,MAAM,mCAAmC,CAAC;AAChE,OAAO,EACN,cAAc,EACd,kBAAkB,GAClB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,KAAK,CAAC,MAAM,oCAAoC,CAAC;AAGxD,MAA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iContext, PluginInstance } from "../../types
|
|
2
|
+
import type { MapsightUiContext, PluginInstance } from "../../types";
|
|
3
3
|
/**
|
|
4
4
|
* This plugin will dispatch breakpoint changes for the specified renderBreakpoints (@see {CreateOptions.renderBreakpoints})
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/views.ts"],"names":[],"mappings":"AAEA,OAAO,EAA4B,KAAK,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAEhF,OAAO,KAAK,EACX,iBAAiB,EAEjB,cAAc,EACd,MAAM,
|
|
1
|
+
{"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/browser/views.ts"],"names":[],"mappings":"AAEA,OAAO,EAA4B,KAAK,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAEhF,OAAO,KAAK,EACX,iBAAiB,EAEjB,cAAc,EACd,MAAM,aAAa,CAAC;AAiBrB;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CACnC,OAAO,GAAE;IACR,oBAAoB,CAAC,EAAE,CACtB,kBAAkB,EAAE,MAAM,EAAE,EAC5B,OAAO,EAAE,iBAAiB,KACtB,IAAI,CAAC;IACV,kBAAkB,CAAC,EAAE,MAAM,CAAC;CACvB,GACJ,cAAc,CAiFhB"}
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import type { PluginDefinition } from "../types
|
|
2
|
-
import createAppTitlePlugin from "./browser/app-title
|
|
3
|
-
import createFeatureDeepLinkPlugin from "./browser/feature-deep-link
|
|
4
|
-
import createLocalStoragePlugin from "./browser/local-storage
|
|
5
|
-
import createNoScrollPlugin from "./browser/no-scroll
|
|
6
|
-
import createPiwikTrackFeatureSelectionEventPlugin from "./browser/piwik-track-feature-selection-event
|
|
7
|
-
import createPiwikTrackFullscreenToggleEventPlugin from "./browser/piwik-track-fullscreen-toggle-event
|
|
8
|
-
import createSearchPlugin from "./browser/search
|
|
9
|
-
import createToggleMobileViewsPlugin from "./browser/toggle-mobile-views
|
|
10
|
-
import createUserGeolocationPlugin from "./browser/user-geolocation
|
|
11
|
-
import createViewsPlugin from "./browser/views
|
|
12
|
-
import createFeatureSelectionDetailsUrlPlugin from "./common/feature-selection-details-url
|
|
13
|
-
import createOlProxyPlugin from "./common/ol-proxy
|
|
1
|
+
import type { PluginDefinition } from "../types";
|
|
2
|
+
import createAppTitlePlugin from "./browser/app-title";
|
|
3
|
+
import createFeatureDeepLinkPlugin from "./browser/feature-deep-link";
|
|
4
|
+
import createLocalStoragePlugin from "./browser/local-storage";
|
|
5
|
+
import createNoScrollPlugin from "./browser/no-scroll";
|
|
6
|
+
import createPiwikTrackFeatureSelectionEventPlugin from "./browser/piwik-track-feature-selection-event";
|
|
7
|
+
import createPiwikTrackFullscreenToggleEventPlugin from "./browser/piwik-track-fullscreen-toggle-event";
|
|
8
|
+
import createSearchPlugin from "./browser/search";
|
|
9
|
+
import createToggleMobileViewsPlugin from "./browser/toggle-mobile-views";
|
|
10
|
+
import createUserGeolocationPlugin from "./browser/user-geolocation";
|
|
11
|
+
import createViewsPlugin from "./browser/views";
|
|
12
|
+
import createFeatureSelectionDetailsUrlPlugin from "./common/feature-selection-details-url";
|
|
13
|
+
import createOlProxyPlugin from "./common/ol-proxy";
|
|
14
|
+
import createRuntimeIconStylePlugin from "./common/runtime-icon-style";
|
|
14
15
|
/**
|
|
15
16
|
* Create the default set of plugins for use in the browser IN ORDER!
|
|
16
17
|
*
|
|
@@ -19,6 +20,7 @@ import createOlProxyPlugin from "./common/ol-proxy.ts";
|
|
|
19
20
|
*/
|
|
20
21
|
export default function createDefaultPlugins(options?: {
|
|
21
22
|
olProxy?: Parameters<typeof createOlProxyPlugin>[0];
|
|
23
|
+
runtimeIconStyle?: Parameters<typeof createRuntimeIconStylePlugin>[0];
|
|
22
24
|
appTitle?: Parameters<typeof createAppTitlePlugin>[0];
|
|
23
25
|
featurePreselectDeepLink?: Parameters<typeof createFeatureDeepLinkPlugin>[0];
|
|
24
26
|
featureDeepLink?: Parameters<typeof createFeatureDeepLinkPlugin>[0];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser-defaults.d.ts","sourceRoot":"","sources":["../../src/js/plugins/browser-defaults.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"browser-defaults.d.ts","sourceRoot":"","sources":["../../src/js/plugins/browser-defaults.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,UAAU,CAAC;AAC/C,OAAO,oBAAoB,MAAM,qBAAqB,CAAC;AACvD,OAAO,2BAA2B,MAAM,6BAA6B,CAAC;AACtE,OAAO,wBAAwB,MAAM,yBAAyB,CAAC;AAC/D,OAAO,oBAAoB,MAAM,qBAAqB,CAAC;AACvD,OAAO,2CAA2C,MAAM,+CAA+C,CAAC;AACxG,OAAO,2CAA2C,MAAM,+CAA+C,CAAC;AAExG,OAAO,kBAAkB,MAAM,kBAAkB,CAAC;AAClD,OAAO,6BAA6B,MAAM,+BAA+B,CAAC;AAC1E,OAAO,2BAA2B,MAAM,4BAA4B,CAAC;AACrE,OAAO,iBAAiB,MAAM,iBAAiB,CAAC;AAChD,OAAO,sCAAsC,MAAM,wCAAwC,CAAC;AAE5F,OAAO,mBAAmB,MAAM,mBAAmB,CAAC;AACpD,OAAO,4BAA4B,MAAM,6BAA6B,CAAC;AAEvE;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAC3C,OAAO,GAAE;IACR,OAAO,CAAC,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC;IACpD,gBAAgB,CAAC,EAAE,UAAU,CAAC,OAAO,4BAA4B,CAAC,CAAC,CAAC,CAAC,CAAC;IACtE,QAAQ,CAAC,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,wBAAwB,CAAC,EAAE,UAAU,CACpC,OAAO,2BAA2B,CAClC,CAAC,CAAC,CAAC,CAAC;IACL,eAAe,CAAC,EAAE,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,CAAC,CAAC,CAAC;IACpE,0BAA0B,CAAC,EAAE,UAAU,CACtC,OAAO,sCAAsC,CAC7C,CAAC,CAAC,CAAC,CAAC;IACL,kBAAkB,CAAC,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC;IACpE,QAAQ,CAAC,EAAE,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,+BAA+B,CAAC,EAAE,UAAU,CAC3C,OAAO,2CAA2C,CAClD,CAAC,CAAC,CAAC,CAAC;IACL,+BAA+B,CAAC,EAAE,UAAU,CAC3C,OAAO,2CAA2C,CAClD,CAAC,CAAC,CAAC,CAAC;IACL,MAAM,CAAC,EAAE,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC;IAClD,iBAAiB,CAAC,EAAE,UAAU,CAAC,OAAO,6BAA6B,CAAC,CAAC,CAAC,CAAC,CAAC;IACxE,eAAe,CAAC,EAAE,UAAU,CAAC,OAAO,2BAA2B,CAAC,CAAC,CAAC,CAAC,CAAC;IACpE,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;CAC3C,GACJ,gBAAgB,EAAE,CAyDpB"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { FEATURE_SELECTION_PRESELECT } from "../config/feature/selections";
|
|
2
|
-
import createAppTitlePlugin from "./browser/app-title
|
|
3
|
-
import createFeatureDeepLinkPlugin from "./browser/feature-deep-link
|
|
4
|
-
import createLocalStoragePlugin from "./browser/local-storage
|
|
5
|
-
import createNoScrollPlugin from "./browser/no-scroll
|
|
6
|
-
import createPiwikTrackFeatureSelectionEventPlugin from "./browser/piwik-track-feature-selection-event
|
|
7
|
-
import createPiwikTrackFullscreenToggleEventPlugin from "./browser/piwik-track-fullscreen-toggle-event
|
|
2
|
+
import createAppTitlePlugin from "./browser/app-title";
|
|
3
|
+
import createFeatureDeepLinkPlugin from "./browser/feature-deep-link";
|
|
4
|
+
import createLocalStoragePlugin from "./browser/local-storage";
|
|
5
|
+
import createNoScrollPlugin from "./browser/no-scroll";
|
|
6
|
+
import createPiwikTrackFeatureSelectionEventPlugin from "./browser/piwik-track-feature-selection-event";
|
|
7
|
+
import createPiwikTrackFullscreenToggleEventPlugin from "./browser/piwik-track-fullscreen-toggle-event";
|
|
8
8
|
//import createQuitFullscreenOnRenderPlugin from './browser/quit-fullscreen-on-render';
|
|
9
|
-
import createSearchPlugin from "./browser/search
|
|
10
|
-
import createToggleMobileViewsPlugin from "./browser/toggle-mobile-views
|
|
11
|
-
import createUserGeolocationPlugin from "./browser/user-geolocation
|
|
12
|
-
import createViewsPlugin from "./browser/views
|
|
13
|
-
import createFeatureSelectionDetailsUrlPlugin from "./common/feature-selection-details-url
|
|
14
|
-
import createLangPlugin from "./common/lang
|
|
15
|
-
import createOlProxyPlugin from "./common/ol-proxy
|
|
9
|
+
import createSearchPlugin from "./browser/search";
|
|
10
|
+
import createToggleMobileViewsPlugin from "./browser/toggle-mobile-views";
|
|
11
|
+
import createUserGeolocationPlugin from "./browser/user-geolocation";
|
|
12
|
+
import createViewsPlugin from "./browser/views";
|
|
13
|
+
import createFeatureSelectionDetailsUrlPlugin from "./common/feature-selection-details-url";
|
|
14
|
+
import createLangPlugin from "./common/lang";
|
|
15
|
+
import createOlProxyPlugin from "./common/ol-proxy";
|
|
16
|
+
import createRuntimeIconStylePlugin from "./common/runtime-icon-style";
|
|
16
17
|
/**
|
|
17
18
|
* Create the default set of plugins for use in the browser IN ORDER!
|
|
18
19
|
*
|
|
@@ -23,6 +24,10 @@ export default function createDefaultPlugins(options = {}) {
|
|
|
23
24
|
return [
|
|
24
25
|
["lang", createLangPlugin()],
|
|
25
26
|
["olProxy", createOlProxyPlugin(options.olProxy)],
|
|
27
|
+
[
|
|
28
|
+
"runtimeIconStyle",
|
|
29
|
+
createRuntimeIconStylePlugin(options.runtimeIconStyle),
|
|
30
|
+
],
|
|
26
31
|
["appTitle", createAppTitlePlugin(options.appTitle)],
|
|
27
32
|
[
|
|
28
33
|
"featurePreselectDeepLink",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser-defaults.js","sourceRoot":"","sources":["../../src/js/plugins/browser-defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,8BAA8B,CAAC;AAEzE,OAAO,oBAAoB,MAAM,
|
|
1
|
+
{"version":3,"file":"browser-defaults.js","sourceRoot":"","sources":["../../src/js/plugins/browser-defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,2BAA2B,EAAC,MAAM,8BAA8B,CAAC;AAEzE,OAAO,oBAAoB,MAAM,qBAAqB,CAAC;AACvD,OAAO,2BAA2B,MAAM,6BAA6B,CAAC;AACtE,OAAO,wBAAwB,MAAM,yBAAyB,CAAC;AAC/D,OAAO,oBAAoB,MAAM,qBAAqB,CAAC;AACvD,OAAO,2CAA2C,MAAM,+CAA+C,CAAC;AACxG,OAAO,2CAA2C,MAAM,+CAA+C,CAAC;AACxG,uFAAuF;AACvF,OAAO,kBAAkB,MAAM,kBAAkB,CAAC;AAClD,OAAO,6BAA6B,MAAM,+BAA+B,CAAC;AAC1E,OAAO,2BAA2B,MAAM,4BAA4B,CAAC;AACrE,OAAO,iBAAiB,MAAM,iBAAiB,CAAC;AAChD,OAAO,sCAAsC,MAAM,wCAAwC,CAAC;AAC5F,OAAO,gBAAgB,MAAM,eAAe,CAAC;AAC7C,OAAO,mBAAmB,MAAM,mBAAmB,CAAC;AACpD,OAAO,4BAA4B,MAAM,6BAA6B,CAAC;AAEvE;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,oBAAoB,CA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AAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { PluginInstance } from "../../types";
|
|
2
|
+
export type VisibleLayerMembers = string[] | Record<string, string>;
|
|
3
|
+
export type CombinedVisibleLayersBinding = {
|
|
4
|
+
combinedFeatureSourceId: string;
|
|
5
|
+
members?: VisibleLayerMembers;
|
|
6
|
+
getMembers?: () => VisibleLayerMembers;
|
|
7
|
+
mapControllerName?: string;
|
|
8
|
+
featureSourcesControllerName?: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Keeps a combined feature source in sync with the visible subset of its
|
|
12
|
+
* configured member layers.
|
|
13
|
+
*/
|
|
14
|
+
export default function createCombinedVisibleLayersPlugin(options: CombinedVisibleLayersBinding): PluginInstance;
|
|
15
|
+
//# sourceMappingURL=combined-visible-layers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combined-visible-layers.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/common/combined-visible-layers.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAEhD,MAAM,MAAM,mBAAmB,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAWpE,MAAM,MAAM,4BAA4B,GAAG;IAC1C,uBAAuB,EAAE,MAAM,CAAC;IAChC,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,mBAAmB,CAAC;IACvC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,4BAA4B,CAAC,EAAE,MAAM,CAAC;CACtC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iCAAiC,CACxD,OAAO,EAAE,4BAA4B,GACnC,cAAc,CA+ChB"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import isEqual from "lodash/isEqual";
|
|
2
|
+
import { mergeAll } from "@mapsight/core/lib/base/actions";
|
|
3
|
+
import { observeState } from "@mapsight/lib-redux/observe-state";
|
|
4
|
+
import { FEATURE_SOURCES, MAP } from "../../config/constants/controllers";
|
|
5
|
+
/**
|
|
6
|
+
* Keeps a combined feature source in sync with the visible subset of its
|
|
7
|
+
* configured member layers.
|
|
8
|
+
*/
|
|
9
|
+
export default function createCombinedVisibleLayersPlugin(options) {
|
|
10
|
+
return {
|
|
11
|
+
afterCreate(context) {
|
|
12
|
+
if (!context.store) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
const store = context.store;
|
|
16
|
+
const mapControllerName = options.mapControllerName ?? MAP;
|
|
17
|
+
const featureSourcesControllerName = options.featureSourcesControllerName ?? FEATURE_SOURCES;
|
|
18
|
+
const combinedFeatureSourceId = options.combinedFeatureSourceId;
|
|
19
|
+
const getMembers = () => options.getMembers?.() ?? options.members ?? [];
|
|
20
|
+
function syncVisibleMembers() {
|
|
21
|
+
const visibleFeatureSourceNames = getVisibleFeatureSourceNames(store.getState(), getMembers(), mapControllerName);
|
|
22
|
+
store.dispatch(mergeAll({
|
|
23
|
+
[featureSourcesControllerName]: {
|
|
24
|
+
[combinedFeatureSourceId]: {
|
|
25
|
+
featureSourceNames: visibleFeatureSourceNames,
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
observeState(store, (state) => createVisibleLayerMembersObserverState(getMembers(), mapControllerName)(state), syncVisibleMembers, isEqual);
|
|
31
|
+
syncVisibleMembers();
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function normalizeVisibleLayerMembers(members) {
|
|
36
|
+
if (Array.isArray(members)) {
|
|
37
|
+
return members.map((featureSourceName) => ({
|
|
38
|
+
featureSourceName,
|
|
39
|
+
layerName: featureSourceName,
|
|
40
|
+
}));
|
|
41
|
+
}
|
|
42
|
+
return Object.entries(members).map(([featureSourceName, layerName]) => ({
|
|
43
|
+
featureSourceName,
|
|
44
|
+
layerName,
|
|
45
|
+
}));
|
|
46
|
+
}
|
|
47
|
+
function getVisibleFeatureSourceNames(state, members, mapControllerName) {
|
|
48
|
+
const mapState = state[mapControllerName];
|
|
49
|
+
return normalizeVisibleLayerMembers(members)
|
|
50
|
+
.filter(({ layerName }) => mapState?.layers?.[layerName]?.options?.visible)
|
|
51
|
+
.map(({ featureSourceName }) => featureSourceName);
|
|
52
|
+
}
|
|
53
|
+
function createVisibleLayerMembersObserverState(members, mapControllerName) {
|
|
54
|
+
const normalizedMembers = normalizeVisibleLayerMembers(members);
|
|
55
|
+
return (state) => {
|
|
56
|
+
const mapState = state[mapControllerName];
|
|
57
|
+
return {
|
|
58
|
+
members: normalizedMembers,
|
|
59
|
+
visibility: normalizedMembers.map(({ layerName }) => mapState?.layers?.[layerName]?.options?.visible),
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=combined-visible-layers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combined-visible-layers.js","sourceRoot":"","sources":["../../../src/js/plugins/common/combined-visible-layers.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAC,QAAQ,EAAC,MAAM,iCAAiC,CAAC;AAGzD,OAAO,EAAC,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAE/D,OAAO,EAAC,eAAe,EAAE,GAAG,EAAC,MAAM,oCAAoC,CAAC;AAsBxE;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iCAAiC,CACxD,OAAqC;IAErC,OAAO;QACN,WAAW,CAAC,OAAO;YAClB,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;gBACpB,OAAO;YACR,CAAC;YAED,MAAM,KAAK,GAAkB,OAAO,CAAC,KAAK,CAAC;YAC3C,MAAM,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,IAAI,GAAG,CAAC;YAC3D,MAAM,4BAA4B,GACjC,OAAO,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BAAyB;IAEzB,MAAM,QAAQ,GAAG,KAAK,CAAC,iBAAiB,CAA+B,CAAC;IAExE,OAAO,4BAA4B,CAAC,OAAO,CAAC;SAC1C,MAAM,CACN,CAAC,EAAC,SAAS,EAAC,EAAE,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,CAChE;SACA,GAAG,CAAC,CAAC,EAAC,iBAAiB,EAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC;AACnD,CAAC;AAED,SAAS,sCAAsC,CAC9C,OAA4B,EAC5B,iBAAyB;IAEzB,MAAM,iBAAiB,GAAG,4BAA4B,CAAC,OAAO,CAAC,CAAC;IAEhE,OAAO,CAAC,KAAY,EAAE,EAAE;QACvB,MAAM,QAAQ,GAAG,KAAK,CAAC,iBAAiB,CAA+B,CAAC;QAExE,OAAO;YACN,OAAO,EAAE,iBAAiB;YAC1B,UAAU,EAAE,iBAAiB,CAAC,GAAG,CAChC,CAAC,EAAC,SAAS,EAAC,EAAE,EAAE,CACf,QAAQ,EAAE,MAAM,EAAE,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,OAAO,CAChD;SACD,CAAC;IACH,CAAC,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-selection-details-url.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/common/feature-selection-details-url.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAEX,yBAAyB,EACzB,cAAc,EACd,MAAM,
|
|
1
|
+
{"version":3,"file":"feature-selection-details-url.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/common/feature-selection-details-url.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAEX,yBAAyB,EACzB,cAAc,EACd,MAAM,aAAa,CAAC;AAQrB;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CACnC,OAAO,GAAE;IACR,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,yBAAyB,CAAC,EAAE,yBAAyB,CAAC;CACjD,GACJ,cAAc,CA8FhB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Definition } from "@mapsight/core/ol-proxy";
|
|
2
|
-
import type { PluginInstance } from "../../types
|
|
2
|
+
import type { PluginInstance } from "../../types";
|
|
3
3
|
export declare const createActivateAction: (mapController: string, name: string) => import("@mapsight/core/types").Action;
|
|
4
4
|
export declare const createDeactivateAction: (mapController: string, name: string) => import("@mapsight/core/types").Action;
|
|
5
5
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measure-distance.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/common/measure-distance.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"measure-distance.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/common/measure-distance.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAaxD,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,oBAAoB,GAAI,eAAe,MAAM,EAAE,MAAM,MAAM,0CACV,CAAC;AAC/D,eAAO,MAAM,sBAAsB,GAAI,eAAe,MAAM,EAAE,MAAM,MAAM,0CACV,CAAC;AA8HjE;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,UAAU,2BAA2B,CAClD,OAAO,GAAE;IACR,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,+BAA+B,CAAC,EAAE,MAAM,CAAC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;CAC/B,GACJ,cAAc,CAwChB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSelector } from "
|
|
1
|
+
import { createSelector } from "@reduxjs/toolkit";
|
|
2
2
|
import { mergeAll } from "@mapsight/core/lib/base/actions";
|
|
3
3
|
import { createFilteredFeatureSourceSelector } from "@mapsight/core/lib/feature-sources/selectors";
|
|
4
4
|
import { activateInteraction, deactivateInteraction, } from "@mapsight/core/lib/map/actions";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"measure-distance.js","sourceRoot":"","sources":["../../../src/js/plugins/common/measure-distance.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"measure-distance.js","sourceRoot":"","sources":["../../../src/js/plugins/common/measure-distance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAAC,QAAQ,EAAC,MAAM,iCAAiC,CAAC;AACzD,OAAO,EAAC,mCAAmC,EAAC,MAAM,8CAA8C,CAAC;AACjG,OAAO,EACN,mBAAmB,EACnB,qBAAqB,GACrB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACN,qBAAqB,EACrB,kBAAkB,GAClB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAC,EAAE,EAAC,MAAM,yBAAyB,CAAC;AAC3C,OAAO,eAAe,MAAM,iEAAiE,CAAC;AAG9F,OAAO,EAAC,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAE/D,OAAO,EACN,kBAAkB,EAClB,eAAe,EACf,GAAG,GACH,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AAGjD,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,aAAqB,EAAE,IAAY,EAAE,EAAE,CAC3E,mBAAmB,CAAC,aAAa,EAAE,GAAG,IAAI,kBAA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AAC,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"ol-proxy.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/common/ol-proxy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,yBAAyB,CAAC;AAkBxD,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;AAEhD;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACpC,YAAiB,GACjB,GAAE;IACF,YAAY,CAAC,EAAE,UAAU,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;CACpD,GAAG,cAAc,CAoCtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-await-feature-details-loaded.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/common/render-await-feature-details-loaded.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAGX,yBAAyB,EACzB,cAAc,EACd,MAAM,
|
|
1
|
+
{"version":3,"file":"render-await-feature-details-loaded.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/common/render-await-feature-details-loaded.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAGX,yBAAyB,EACzB,cAAc,EACd,MAAM,aAAa,CAAC;AAMrB;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,gCAAgC,CACvD,OAAO,GAAE;IACR,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,yBAAyB,CAAC,EAAE,yBAAyB,CAAC;CACjD,GACJ,cAAc,CAkGhB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { compose } from "
|
|
1
|
+
import { compose } from "@reduxjs/toolkit";
|
|
2
2
|
import { LOAD_FEATURE_SOURCE_SUCCESS } from "@mapsight/core/lib/feature-sources/actions";
|
|
3
3
|
import { findFeatureInFeatureSourcesById } from "@mapsight/core/lib/feature-sources/selectors";
|
|
4
4
|
import { FEATURE_SELECTIONS, FEATURE_SOURCES, } from "../../config/constants/controllers";
|
|
@@ -23,6 +23,7 @@ export default function createFeatureDetailsLoadedPlugin(options = {}) {
|
|
|
23
23
|
const actionWatcherDetails = createActionWatcher();
|
|
24
24
|
return {
|
|
25
25
|
afterInit: function runAwaitFeatureDetailsLoadedInitPlugin(context) {
|
|
26
|
+
// @ts-expect-error TODO
|
|
26
27
|
context.storeEnhancer = context.storeEnhancer
|
|
27
28
|
? compose(context.storeEnhancer, actionWatcherSources.enhancer, actionWatcherDetails.enhancer)
|
|
28
29
|
: compose(actionWatcherSources.enhancer, actionWatcherDetails.enhancer);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-await-feature-details-loaded.js","sourceRoot":"","sources":["../../../src/js/plugins/common/render-await-feature-details-loaded.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"render-await-feature-details-loaded.js","sourceRoot":"","sources":["../../../src/js/plugins/common/render-await-feature-details-loaded.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAC;AAGzC,OAAO,EAAC,2BAA2B,EAAC,MAAM,4CAA4C,CAAC;AACvF,OAAO,EAAC,+BAA+B,EAAC,MAAM,8CAA8C,CAAC;AAG7F,OAAO,EACN,kBAAkB,EAClB,eAAe,GACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,mBAAmB,MAAM,qCAAqC,CAAC;AACtE,OAAO,kBAAkB,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACN,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,GACpB,MAAM,qBAAqB,CAAC;AAQ7B,MAAM,uBAAuB,GAAG,QAAQ,CAAC;AACzC,MAAM,kCAAkC,GAAG,kBAAkB,CAAC;AAC9D,MAAM,gCAAgC,GAAG,YAAY,CAAC;AAEtD;;;;;;;;GAQG;AACH,MAAM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CAAC,OAAO,EAAE,CAAC;wBACd,OAAO;oBACR,CAAC;oBAED,MAAM,UAAU,GAAG,kBAAkB,CACpC,OAA4B,EAC5B,yBAAyB,CACzB,CAAC;oBACF,IAAI,CAAC,UAAU,EAAE,CAAC;wBACjB,gEAAgE;wBAChE,OAAO,EAAE,CAAC;wBACV,OAAO;oBACR,CAAC;oBAED,oBAAoB,CAAC,OAAO,GAAG,CAAC,MAAM,EAAE,EAAE;wBACzC,IACC,MAAM,CAAC,IAAI,KAAK,kBAAkB;4BAClC,MAAM,CAAC,IAAI,KAAK,kBAAkB,EACjC,CAAC;4BACF,OAAO,EAAE,CAAC;4BACV,oBAAoB,CAAC,OAAO,GAAG,IAAI,CAAC;wBACrC,CAAC;oBACF,CAAC,CAAC;oBACF,OAAO,CAAC,KAAK,CAAC,QAAQ,CACrB,oBAAoB,CACnB,kBAAkB,CACjB,OAA4B,EAC5B,yBAAyB,CACf,CACX,CACD,CAAC;gBACH,CAAC;gBAED,YAAY,EAAE,CAAC;gBAEf,oBAAoB,CAAC,OAAO,GAAG,CAAC,MAAM,EAAE,EAAE;oBACzC,wCAAwC;oBACxC,IAAI,MAAM,CAAC,IAAI,KAAK,2BAA2B,EAAE,CAAC;wBACjD,YAAY,EAAE,CAAC;oBAChB,CAAC;gBACF,CAAC,CAAC;YACH,CAAC,CAAC,CAAC;QACJ,CAAC;KACD,CAAC;AACH,CAAC;AAED,SAAS,8BAA8B,CACtC,kBAA2D,EAC3D,gBAAwB,EACxB,+BAAuC;IAEvC,MAAM,SAAS,GAAG,kBAAkB,CACnC,+BAA+B,CACL,CAAC;IAC5B,OAAO,SAAS,CAAC,gBAAgB,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;AACjD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LoadOptions } from "@mapsight/core/lib/feature-sources/actions";
|
|
2
|
-
import type { PluginInstance } from "../../types
|
|
2
|
+
import type { PluginInstance } from "../../types";
|
|
3
3
|
/**
|
|
4
4
|
* This plugin will delay the render until the feature source for the list is loaded
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-await-list-feature-sources-loaded.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/common/render-await-list-feature-sources-loaded.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,4CAA4C,CAAC;AAc5E,OAAO,KAAK,EAAoB,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"render-await-list-feature-sources-loaded.d.ts","sourceRoot":"","sources":["../../../src/js/plugins/common/render-await-list-feature-sources-loaded.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,4CAA4C,CAAC;AAc5E,OAAO,KAAK,EAAoB,cAAc,EAAC,MAAM,aAAa,CAAC;AAKnE;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CACnC,OAAO,GAAE;IACR,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CACvB,GACJ,cAAc,CA+DhB"}
|