@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
|
@@ -6,8 +6,8 @@ import { memo, useCallback } from "react";
|
|
|
6
6
|
import { useDispatch, useSelector } from "react-redux";
|
|
7
7
|
import { MAP } from "../../config/constants/controllers";
|
|
8
8
|
import { translate } from "../../helpers/i18n";
|
|
9
|
-
import { setMiniLegendLayer, setOverlayModalVisible } from "../../store/actions
|
|
10
|
-
import { isOverlayModalVisibleSelector, miniLegendLayerIdSelector, } from "../../store/selectors
|
|
9
|
+
import { setMiniLegendLayer, setOverlayModalVisible } from "../../store/actions";
|
|
10
|
+
import { isOverlayModalVisibleSelector, miniLegendLayerIdSelector, } from "../../store/selectors";
|
|
11
11
|
const layersSelector = (state) => visibleLayersWithMiniLegendsSelector(state[MAP]);
|
|
12
12
|
/**
|
|
13
13
|
* this is meant to be used as or included in any project side component in Components
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mini-legend.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/mini-legend.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,oCAAoC,EAAC,MAAM,kCAAkC,CAAC;AAEtF,OAAO,OAAO,MAAM,iCAAiC,CAAC;AACtD,OAAO,aAAa,MAAM,uCAAuC,CAAC;AAClE,OAAQ,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,OAAO,CAAC;AACzC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,GAAG,EAAC,MAAM,oCAAoC,CAAC;AACvD,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAC,kBAAkB,EAAE,sBAAsB,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"mini-legend.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/mini-legend.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,oCAAoC,EAAC,MAAM,kCAAkC,CAAC;AAEtF,OAAO,OAAO,MAAM,iCAAiC,CAAC;AACtD,OAAO,aAAa,MAAM,uCAAuC,CAAC;AAClE,OAAQ,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,OAAO,CAAC;AACzC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,GAAG,EAAC,MAAM,oCAAoC,CAAC;AACvD,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAC,kBAAkB,EAAE,sBAAsB,EAAC,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EACN,6BAA6B,EAC7B,yBAAyB,GACzB,MAAM,uBAAuB,CAAC;AAE/B,MAAM,cAAc,GA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OAAO,CACN,eAAK,SAAS,EAAE,oCAAoC,OAAO,EAAE,aAC5D,cAAK,SAAS,EAAC,yBAAyB,iBAAc,IAAI,YACzD,iBACC,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,cAAc,EACxB,QAAQ,EAAE,IAAI,CAAC,MAAM,KAAK,CAAC,YAE1B,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAChD,iBAAkB,KAAK,EAAE,GAAG,YAC1B,OAAO,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAAE;4BACpC,UAAU;4BACV,OAAO;yBACP,CAAC,IAAI,GAAG,IAJG,GAAG,CAKP,CACT,CAAC,GACM,GACJ,EAEL,OAAO,aAAa,KAAK,QAAQ,CAAC,CAAC,CAAC,CACpC,6BACc,IAAI,EACjB,SAAS,EAAC,yBAAyB,EACnC,uBAAuB,EAAE,EAAC,MAAM,EAAE,aAAa,EAAC,GAC/C,CACF,CAAC,CAAC,CAAC,CACH,6BAAkB,IAAI,EAAE,SAAS,EAAC,yBAAyB,YACzD,OAAO,CAAC,YAAY,EAAE,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC,GAC7C,CACN,EAED,cAAK,SAAS,EAAC,uBAAuB,YACrC,kBACC,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,aAAa,mBACP,qBAAqB,aAEpC,eAAM,SAAS,EAAC,oBAAoB,YAClC,SAAS,CAAC,0BAA0B,CAAC,GAChC,EAEP,8BAAmB,IAAI,gCAAc,IAC7B,GACJ,IACD,CACN,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { memo, useCallback } from "react";
|
|
3
3
|
import { useDispatch, useSelector } from "react-redux";
|
|
4
|
-
import { setSelectedRegionIdAndAnimateMap } from "../../store/actions
|
|
5
|
-
import { regionsSelector, selectedRegionIdSelector } from "../../store/selectors
|
|
4
|
+
import { setSelectedRegionIdAndAnimateMap } from "../../store/actions";
|
|
5
|
+
import { regionsSelector, selectedRegionIdSelector } from "../../store/selectors";
|
|
6
6
|
const RegionSelectorEntry = memo(
|
|
7
7
|
/**
|
|
8
8
|
* @param {{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"region-selector.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/region-selector.jsx"],"names":[],"mappings":";AAAA,OAAQ,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,OAAO,CAAC;AACzC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,EAAC,gCAAgC,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"region-selector.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/region-selector.jsx"],"names":[],"mappings":";AAAA,OAAQ,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,OAAO,CAAC;AACzC,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AACrD,OAAO,EAAC,gCAAgC,EAAC,MAAM,qBAAqB,CAAC;AAErE,OAAO,EAAC,eAAe,EAAE,wBAAwB,EAAC,MAAM,uBAAuB,CAAC;AAEhF,MAAM,mBAAmB,GAAG,IAAI;AAC/B;;;;;;GAMG;AACH,SAAS,mBAAmB,CAAC,EAAC,QAAQ,EAAE,MAAM,EAAC;IAC9C,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,EAAE;QAChC,QAAQ,CAAC,gCAAgC,CAAC,QAAQ,CAAC,CAAC,CAAC;IACtD,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEzB,MAAM,gBAAgB,GAAG,WAAW,CAAC,wBAAwB,CAAC,CAAC;IAE/D,OAAO,CACN,aACC,SAAS,EAAE,4BACV,QAAQ,KAAK,gBAAgB;YAC5B,CAAC,CAAC,sCAAsC;YACxC,CAAC,CAAC,EACJ,EAAE,YAEF,iBAAQ,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,OAAO,YACpC,MAAM,CAAC,KAAK,GACL,GACL,CACL,CAAC;AACH,CAAC,CACD,CAAC;AAEF,MAAM,cAAc,GAAG,IAAI,CAAC,SAAS,cAAc,CAAC,EACnD,EAAE,EAAE,CAAC,GAAG,IAAI,EACZ,KAAK,GAAG,EAAE,GACV;IACA,MAAM,OAAO,GAAG,WAAW,CAAC,eAAe,CAAC,CAAC;IAE7C,IAAI,CAAC,OAAO,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IACb,CAAC;IAED,OAAO,CACN,KAAC,CAAC,IACD,SAAS,EAAC,2DAA2D,EACrE,KAAK,EAAE,KAAK,gBACD,oCAA+B,YAEzC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,CAC9C,KAAC,mBAAmB,IAAU,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,IAAhC,EAAE,CAAkC,CAC9D,CAAC,GACC,CACJ,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const _default: import("react").MemoExoticComponent<typeof SearchOverlay>;
|
|
2
2
|
export default _default;
|
|
3
|
-
declare function SearchOverlay(): import("react
|
|
3
|
+
declare function SearchOverlay(): import("react").JSX.Element | null;
|
|
4
4
|
//# sourceMappingURL=search-overlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-overlay.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-overlay/search-overlay.jsx"],"names":[],"mappings":";;AAYA,
|
|
1
|
+
{"version":3,"file":"search-overlay.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-overlay/search-overlay.jsx"],"names":[],"mappings":";;AAYA,qEAgEC"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { memo, useCallback, useState } from "react";
|
|
3
3
|
import { useSelector } from "react-redux";
|
|
4
4
|
import { translate } from "../../helpers/i18n";
|
|
5
|
-
import { haveSearchInMapSelector, isViewMobileOrMapOnlySelector, } from "../../store/selectors
|
|
5
|
+
import { haveSearchInMapSelector, isViewMobileOrMapOnlySelector, } from "../../store/selectors";
|
|
6
6
|
import Modal from "../modal";
|
|
7
7
|
import Search from "../search";
|
|
8
8
|
function SearchOverlay() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-overlay.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/search-overlay.jsx"],"names":[],"mappings":";AAAA,OAAQ,EAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACnD,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EACN,uBAAuB,EACvB,6BAA6B,GAC7B,MAAM,
|
|
1
|
+
{"version":3,"file":"search-overlay.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/search-overlay.jsx"],"names":[],"mappings":";AAAA,OAAQ,EAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAC,MAAM,OAAO,CAAC;AACnD,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AACxC,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EACN,uBAAuB,EACvB,6BAA6B,GAC7B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,MAAM,UAAU,CAAC;AAE7B,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,SAAS,aAAa;IACrB,MAAM,CAAC,UAAU,EAAE,aAAa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,CACN,cACC,SAAS,EAAE,sBACV,UAAU,CAAC,CAAC,CAAC,8BAA8B,CAAC,CAAC,CAAC,EAC/C,EAAE,YAED,QAAQ,GACJ,CACN,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,aAAa,CAAC,CAAC"}
|
|
@@ -3,6 +3,6 @@ type SharePositionLinkButtonProps = {
|
|
|
3
3
|
opened?: boolean;
|
|
4
4
|
onOpenedChange?: (opened: boolean) => void;
|
|
5
5
|
};
|
|
6
|
-
declare const SharePositionLinkButton: ({ pluginName, opened, onOpenedChange, }: SharePositionLinkButtonProps) => import("react
|
|
6
|
+
declare const SharePositionLinkButton: ({ pluginName, opened, onOpenedChange, }: SharePositionLinkButtonProps) => import("react").JSX.Element;
|
|
7
7
|
export default SharePositionLinkButton;
|
|
8
8
|
//# sourceMappingURL=share-position-link-button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"share-position-link-button.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-overlay/share-position-link-button.tsx"],"names":[],"mappings":"AAwBA,KAAK,4BAA4B,GAAG;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,QAAA,MAAM,uBAAuB,GAAI,yCAI9B,4BAA4B,
|
|
1
|
+
{"version":3,"file":"share-position-link-button.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-overlay/share-position-link-button.tsx"],"names":[],"mappings":"AAwBA,KAAK,4BAA4B,GAAG;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;CAC3C,CAAC;AAEF,QAAA,MAAM,uBAAuB,GAAI,yCAI9B,4BAA4B,gCA2G9B,CAAC;AAEF,eAAe,uBAAuB,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":"share-position-link-button.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/share-position-link-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":"share-position-link-button.js","sourceRoot":"","sources":["../../../src/js/components/map-overlay/share-position-link-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,oCAAoC,CAAC;AACxE,OAAO,EAAC,SAAS,EAAC,MAAM,oBAA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AE/C,MAAM,aAAa,GAAG,WAAW,CAChC;QACC,QAAQ,CAAC,WAAW,CAAC,CAAC;QACtB,KAAK,EAAE,CAAC;IACT,CAAC,EACD,CAAC,KAAK,EAAE,QAAQ,EAAE,WAAW,CAAC,CAC9B,CAAC;IAEF,OAAO,CACN,MAAC,QAAQ,eACR,iBACC,SAAS,EAAC,gGAAgG,EAC1G,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,MAAM,YAEf,eAAM,SAAS,EAAC,gCAAgC,YAC9C,SAAS,CAAC,8BAA8B,CAAC,GACpC,GACC,EAER,QAAQ,IAAI,CACZ,KAAC,WAAW,IACX,KAAK,EAAE,SAAS,CAAC,8BAA8B,CAAC,EAChD,OAAO,EAAE,aAAa,EACtB,IAAI,EAAE,SAAS,CAAC,qCAAqC,CAAC,YAErD,OAAO,IAAI,CACX,KAAC,SAAS,IACT,GAAG,EAAE,QAAQ,EACb,KAAK,EAAE,SAAS,CACf,mCAAmC,CACnC,EACD,WAAW,EAAE,SAAS,CACrB,yCAAyC,CACzC,EACD,UAAU,EAAE,KAAK,EACjB,OAAO,EAAE,SAAS,GACjB,CACF,GACY,CACd,IACS,CACX,CAAC;AACH,CAAC,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -4,6 +4,6 @@ type Props = {
|
|
|
4
4
|
label: ReactNode;
|
|
5
5
|
onClose: () => void;
|
|
6
6
|
};
|
|
7
|
-
declare const ToolOverlay: ({ text, children, label, onClose, }: PropsWithChildren<Props>) => import("react
|
|
7
|
+
declare const ToolOverlay: ({ text, children, label, onClose, }: PropsWithChildren<Props>) => import("react").JSX.Element;
|
|
8
8
|
export default ToolOverlay;
|
|
9
9
|
//# sourceMappingURL=tool-overlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-overlay.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-overlay/tool-overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAIxD,KAAK,KAAK,GAAG;IACZ,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,WAAW,GAAI,qCAKlB,iBAAiB,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"tool-overlay.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-overlay/tool-overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAIxD,KAAK,KAAK,GAAG;IACZ,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,SAAS,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,WAAW,GAAI,qCAKlB,iBAAiB,CAAC,KAAK,CAAC,gCAU1B,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export default ZoomButtons;
|
|
2
|
-
declare const ZoomButtons: import("react").MemoExoticComponent<() => import("react
|
|
2
|
+
declare const ZoomButtons: import("react").MemoExoticComponent<() => import("react").JSX.Element>;
|
|
3
3
|
//# sourceMappingURL=zoom-buttons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoom-buttons.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-overlay/zoom-buttons.jsx"],"names":[],"mappings":";AAOA,
|
|
1
|
+
{"version":3,"file":"zoom-buttons.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-overlay/zoom-buttons.jsx"],"names":[],"mappings":";AAOA,kGAiBG"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
declare const _default: import("react-redux").ConnectedComponent<import("react").MemoExoticComponent<({ size }: {
|
|
2
2
|
size: any;
|
|
3
|
-
}) => import("react
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
[x: symbol]: JSX.LibraryManagedAttributes<C, import("react-redux").GetProps<C>>;
|
|
7
|
-
context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
|
|
8
|
-
store?: import("redux").Store | undefined;
|
|
3
|
+
}) => import("react").JSX.Element>, {
|
|
4
|
+
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("@reduxjs/toolkit").UnknownAction> | null> | undefined;
|
|
5
|
+
store?: import("@reduxjs/toolkit").Store | undefined;
|
|
9
6
|
}>;
|
|
10
7
|
export default _default;
|
|
11
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/index.ts"],"names":[],"mappings":";;;;;;AAUA,wBAIuB"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { connect } from "react-redux";
|
|
2
|
-
import { createStructuredSelector } from "reselect";
|
|
3
2
|
import { mapSizeSelector } from "@mapsight/core/lib/map/selectors";
|
|
4
3
|
import { MAP } from "../../config/constants/controllers";
|
|
5
|
-
import { viewSelector } from "../../store/selectors
|
|
4
|
+
import { viewSelector } from "../../store/selectors";
|
|
6
5
|
import MapSyncedInterlay from "./map-synced-interlay";
|
|
7
|
-
export default connect(
|
|
8
|
-
view: viewSelector,
|
|
9
|
-
size:
|
|
10
|
-
//pendingUpdateSize: state
|
|
6
|
+
export default connect((state) => ({
|
|
7
|
+
view: viewSelector(state),
|
|
8
|
+
size: mapSizeSelector(state[MAP]),
|
|
9
|
+
//pendingUpdateSize: state[MAP].pendingUpdateSize || false,
|
|
11
10
|
}))(MapSyncedInterlay);
|
|
12
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/index.
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,aAAa,CAAC;AAEpC,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAC;AAGjE,OAAO,EAAC,GAAG,EAAC,MAAM,oCAAoC,CAAC;AAEvD,OAAO,EAAC,YAAY,EAAC,MAAM,uBAAuB,CAAC;AACnD,OAAO,iBAAiB,MAAM,uBAAuB,CAAC;AAEtD,eAAe,OAAO,CAAC,CAAC,KAAqB,EAAE,EAAE,CAAC,CAAC;IAClD,IAAI,EAAE,YAAY,CAAC,KAAK,CAAC;IACzB,IAAI,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,CAAa,CAAC;IAC7C,2DAA2D;CAC3D,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -2,5 +2,5 @@ declare const _default: import("react").MemoExoticComponent<typeof MapSyncedInte
|
|
|
2
2
|
export default _default;
|
|
3
3
|
declare function MapSyncedInterlay({ size }: {
|
|
4
4
|
size: any;
|
|
5
|
-
}): import("react
|
|
5
|
+
}): import("react").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=map-synced-interlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-synced-interlay.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/map-synced-interlay.jsx"],"names":[],"mappings":";;AAOA;;
|
|
1
|
+
{"version":3,"file":"map-synced-interlay.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/map-synced-interlay.jsx"],"names":[],"mappings":";;AAOA;;gCAYC"}
|
|
@@ -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 { isViewMobileOrMapOnlySelector } from "../../store/selectors
|
|
4
|
+
import { isViewMobileOrMapOnlySelector } from "../../store/selectors";
|
|
5
5
|
import Tooltip from "./tooltip";
|
|
6
6
|
function MapSyncedInterlay({ size }) {
|
|
7
7
|
const isViewMobileOrMapOnly = useSelector(isViewMobileOrMapOnlySelector);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-synced-interlay.js","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/map-synced-interlay.jsx"],"names":[],"mappings":";AAAA,OAAQ,EAAC,IAAI,EAAC,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,6BAA6B,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"map-synced-interlay.js","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/map-synced-interlay.jsx"],"names":[],"mappings":";AAAA,OAAQ,EAAC,IAAI,EAAC,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,6BAA6B,EAAC,MAAM,uBAAuB,CAAC;AAEpE,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,SAAS,iBAAiB,CAAC,EAAC,IAAI,EAAC;IAChC,MAAM,qBAAqB,GAAG,WAAW,CAAC,6BAA6B,CAAC,CAAC;IACzE,MAAM,CAAC,KAAK,GAAG,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GAAG,IAAI,IAAI,EAAE,CAAC;IAErD,OAAO,CACN,cACC,SAAS,EAAC,yBAAyB,EACnC,KAAK,EAAE,EAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAC,YAEpC,CAAC,qBAAqB,IAAI,KAAC,OAAO,KAAG,GACjC,CACN,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -4,7 +4,7 @@ export type Position = null | {
|
|
|
4
4
|
top: number;
|
|
5
5
|
bottom: number;
|
|
6
6
|
};
|
|
7
|
-
declare function Tooltip(): import("react
|
|
7
|
+
declare function Tooltip(): import("react").JSX.Element | undefined;
|
|
8
8
|
declare const _default: import("react").MemoExoticComponent<typeof Tooltip>;
|
|
9
9
|
export default _default;
|
|
10
10
|
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/tooltip.tsx"],"names":[],"mappings":"AA0DA,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAiEF,iBAAS,OAAO,
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/tooltip.tsx"],"names":[],"mappings":"AA0DA,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAiEF,iBAAS,OAAO,4CAoEf;;AAED,wBAA6B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { memo, useEffect, useRef, useState, } from "react";
|
|
3
3
|
import { useSelector } from "react-redux";
|
|
4
|
-
import { createSelector } from "
|
|
4
|
+
import { createSelector } from "@reduxjs/toolkit";
|
|
5
5
|
import { createFeatureSelectionSelector, getFilteredFeatures, } from "@mapsight/core/lib/feature-selections/selectors";
|
|
6
6
|
import { findFeatureInFeatureSourcesById } from "@mapsight/core/lib/feature-sources/selectors";
|
|
7
7
|
import { mapSizeSelector as getMapSize } from "@mapsight/core/lib/map/selectors";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/tooltip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAIN,IAAI,EACJ,SAAS,EACT,MAAM,EACN,QAAQ,GACR,MAAM,OAAO,CAAC;AACf,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,cAAc,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../src/js/components/map-synced-interlay/tooltip.tsx"],"names":[],"mappings":";AAAA,OAAO,EAIN,IAAI,EACJ,SAAS,EACT,MAAM,EACN,QAAQ,GACR,MAAM,OAAO,CAAC;AACf,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,OAAO,EAEN,8BAA8B,EAC9B,mBAAmB,GACnB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAC,+BAA+B,EAAC,MAAM,8CAA8C,CAAC;AAE7F,OAAO,EAAC,eAAe,IAAI,UAAU,EAAC,MAAM,kCAAkC,CAAC;AAI/E,OAAO,EACN,kBAAkB,EAClB,eAAe,EACf,GAAG,GACH,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAC,2BAA2B,EAAC,MAAM,iCAAiC,CAAC;AAC5E,OAAO,kBAAkB,MAAM,oCAAoC,CAAC;AAEpE,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAE/C,MAAM,eAAe,GAAG,cAAc,CACrC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,eAAe,CAAwB,EACxD,8BAA8B,CAC7B,kBAAkB,EAClB,2BAA2B,CAC3B,EACD,CACC,cAAmC,EACnC,SAA4C,EAC3C,EAAE;IACH,MAAM,QAAQ,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC;IAChD,MAAM,SAA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,OAAO,CACN,cAAK,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,iBAAiB,YAC7D,KAAC,cAAc,IAAC,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,YAC3D,OAAO,GACQ,GACZ,CACN,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropsWithChildren } from "react";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export default function MapWrapper(props: PropsWithChildren<{
|
|
3
|
+
anchor?: "right" | "bottom";
|
|
4
|
+
}>): import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=map-wrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-wrapper.d.ts","sourceRoot":"","sources":["../../src/js/components/map-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAe1D,
|
|
1
|
+
{"version":3,"file":"map-wrapper.d.ts","sourceRoot":"","sources":["../../src/js/components/map-wrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAe1D,MAAM,CAAC,OAAO,UAAU,UAAU,CACjC,KAAK,EAAE,iBAAiB,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAAC,CAAC,+BA+CvD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { useCallback, useRef } from "react";
|
|
3
3
|
import { useInView } from "react-intersection-observer";
|
|
4
4
|
import { useDispatch, useSelector, useStore } from "react-redux";
|
|
5
5
|
import useUpdateMapSizeOnRender from "../hooks/useUpdateMapSizeOnRender";
|
|
@@ -8,8 +8,8 @@ import useUpdateMapSizeOnViewChange from "../hooks/useUpdateMapSizeOnViewChange"
|
|
|
8
8
|
import { setMapIsOutOfViewport } from "../store/actions";
|
|
9
9
|
import { viewSelector } from "../store/selectors";
|
|
10
10
|
import { APP_EVENT_SCROLL_TO_MAP, useAppChannelEventListener, } from "./helping/app-channel";
|
|
11
|
-
function MapWrapper(props) {
|
|
12
|
-
const { children } = props;
|
|
11
|
+
export default function MapWrapper(props) {
|
|
12
|
+
const { children, anchor } = props;
|
|
13
13
|
const dispatch = useDispatch();
|
|
14
14
|
const mapWrapperRef = useRef(undefined);
|
|
15
15
|
useUpdateMapSizeOnViewChange(useSelector(viewSelector) ?? "desktop", useStore());
|
|
@@ -31,9 +31,6 @@ function MapWrapper(props) {
|
|
|
31
31
|
mapWrapperRef.current = node ?? undefined;
|
|
32
32
|
inViewRef(node);
|
|
33
33
|
}, [inViewRef]);
|
|
34
|
-
return (_jsx("div", { ref: setRef,
|
|
35
|
-
// ms3-map-wrapper--anchored-${anchor}
|
|
36
|
-
className: `ms3-map-wrapper [ ms3-flex ms3-flex--column ] [ ms3-scroll-target ]`, children: children }));
|
|
34
|
+
return (_jsx("div", { ref: setRef, className: `ms3-map-wrapper ms3-map-wrapper--anchored-${anchor} [ ms3-flex ms3-flex--column ] [ ms3-scroll-target ]`, children: children }));
|
|
37
35
|
}
|
|
38
|
-
export default memo(MapWrapper);
|
|
39
36
|
//# sourceMappingURL=map-wrapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-wrapper.js","sourceRoot":"","sources":["../../src/js/components/map-wrapper.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"map-wrapper.js","sourceRoot":"","sources":["../../src/js/components/map-wrapper.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,WAAW,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAC,SAAS,EAAC,MAAM,6BAA6B,CA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C;KAC9D,CAAC,CAAC;IAEH,MAAM,MAAM,GAAgC,WAAW,CACtD,CAAC,IAAI,EAAE,EAAE;QACR,aAAa,CAAC,OAAO,GAAG,IAAI,IAAI,SAAS,CAAC;QAC1C,SAAS,CAAC,IAAI,CAAC,CAAC;IACjB,CAAC,EACD,CAAC,SAAS,CAAC,CACX,CAAC;IAEF,OAAO,CACN,cACC,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,6CAA6C,MAAM,sDAAsD,YAEnH,QAAQ,GACJ,CACN,CAAC;AACH,CAAC"}
|
package/dist/components/map.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
|
2
|
+
type MapsightMapProps = HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
controllerName?: string;
|
|
4
|
+
enableKeyboardControl?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare function MapsightMap({ controllerName, enableKeyboardControl, ...attributes }: MapsightMapProps): import("react").JSX.Element;
|
|
1
7
|
declare const _default: import("react").MemoExoticComponent<typeof MapsightMap>;
|
|
2
8
|
export default _default;
|
|
3
|
-
declare function MapsightMap({ controllerName, enableKeyboardControl, ...attributes }: {
|
|
4
|
-
[x: string]: any;
|
|
5
|
-
controllerName?: string | undefined;
|
|
6
|
-
enableKeyboardControl?: boolean | undefined;
|
|
7
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
//# sourceMappingURL=map.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../src/js/components/map.
|
|
1
|
+
{"version":3,"file":"map.d.ts","sourceRoot":"","sources":["../../src/js/components/map.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,OAAO,CAAC;AAU1C,KAAK,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACxD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,iBAAS,WAAW,CAAC,EACpB,cAAoB,EACpB,qBAA4B,EAC5B,GAAG,UAAU,EACb,EAAE,gBAAgB,+BAiClB;;AAED,wBAAiC"}
|
package/dist/components/map.js
CHANGED
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { memo, useEffect, useRef } from "react";
|
|
2
|
+
import { memo, useEffect, useMemo, useRef } from "react";
|
|
3
3
|
import { useStore } from "react-redux";
|
|
4
4
|
import { MAP } from "../config/constants/controllers";
|
|
5
5
|
import { translate } from "../helpers/i18n";
|
|
6
|
-
import useMountable from "../hooks/useMountable";
|
|
6
|
+
import useMountable, { isMountable } from "../hooks/useMountable";
|
|
7
7
|
function MapsightMap({ controllerName = MAP, enableKeyboardControl = true, ...attributes }) {
|
|
8
8
|
const store = useStore();
|
|
9
|
-
const ref = useRef();
|
|
10
|
-
const
|
|
9
|
+
const ref = useRef(null);
|
|
10
|
+
const mountable = useMemo(() => {
|
|
11
|
+
const controller = store.getController(controllerName);
|
|
12
|
+
if (!isMountable(controller)) {
|
|
13
|
+
console.error(`Controller '${controllerName}' is not mountable`);
|
|
14
|
+
return undefined;
|
|
15
|
+
}
|
|
16
|
+
return controller;
|
|
17
|
+
}, [store, controllerName]);
|
|
18
|
+
const handleMount = useMountable(mountable);
|
|
11
19
|
useEffect(() => {
|
|
12
|
-
|
|
20
|
+
if (ref.current) {
|
|
21
|
+
handleMount(ref.current);
|
|
22
|
+
}
|
|
13
23
|
}, [ref, handleMount]);
|
|
14
24
|
if (enableKeyboardControl) {
|
|
15
25
|
attributes.tabIndex = 0;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map.js","sourceRoot":"","sources":["../../src/js/components/map.
|
|
1
|
+
{"version":3,"file":"map.js","sourceRoot":"","sources":["../../src/js/components/map.tsx"],"names":[],"mappings":";AACA,OAAO,E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,EAAE,GAAG,KAAM,UAAU,aACvD,eAAM,SAAS,EAAC,oBAAoB,YAClC,SAAS,CAAC,uBAAuB,CAAC,GAC7B,EACP,cAAK,SAAS,EAAC,aAAa,YAC3B,iBAAQ,SAAS,EAAC,iBAAiB,GAAG,GACjC,IACD,CACN,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,WAAW,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type MapsightIconProps = {
|
|
2
|
+
id: string | undefined;
|
|
3
|
+
className?: string;
|
|
4
|
+
width?: number;
|
|
5
|
+
height?: number;
|
|
6
|
+
};
|
|
7
|
+
declare function MapsightIcon({ id, className, width, height, }: MapsightIconProps): import("react").JSX.Element | null;
|
|
8
|
+
declare const _default: import("react").MemoExoticComponent<typeof MapsightIcon>;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=mapsight-icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapsight-icon.d.ts","sourceRoot":"","sources":["../../../src/js/components/mapsight-icon/mapsight-icon.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,iBAAiB,GAAG;IAC/B,EAAE,EAAE,MAAM,GAAG,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAsEF,iBAAS,YAAY,CAAC,EACrB,EAAE,EACF,SAAS,EACT,KAAU,EACV,MAAW,GACX,EAAE,iBAAiB,sCAwBnB;;AAED,wBAAkC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { memo } from "react";
|
|
3
|
+
import { isComposableIcon } from "@mapsight/traffic-style/icon-meta";
|
|
4
|
+
import { siteConfig } from "../../config";
|
|
5
|
+
import { useMapsightIcon } from "../../hooks/useMapsightIcon";
|
|
6
|
+
function SpriteMapsightIcon({ id, className, width = 40, height = 40, }) {
|
|
7
|
+
const iconFileName = `${id}-plain.png`;
|
|
8
|
+
const iconSrc1x = `${siteConfig.imagesUrl}mapsight-icons/${iconFileName}`;
|
|
9
|
+
const iconSrcSet = `${siteConfig.imagesUrl}mapsight-icons/${iconFileName} 1x, ` +
|
|
10
|
+
`${siteConfig.imagesUrl}mapsight-icons-2x/${iconFileName} 2x`;
|
|
11
|
+
return (_jsx("img", { className: className, src: iconSrc1x, srcSet: iconSrcSet, width: width, height: height, alt: "" }));
|
|
12
|
+
}
|
|
13
|
+
function ComposableMapsightIcon({ id, className, width = 40, height = 40, }) {
|
|
14
|
+
const { src, error } = useMapsightIcon(id, "plain");
|
|
15
|
+
if (error) {
|
|
16
|
+
return (_jsx(SpriteMapsightIcon, { id: id, className: className, width: width, height: height }));
|
|
17
|
+
}
|
|
18
|
+
if (!src) {
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
return (_jsx("img", { className: className, src: src, width: width, height: height, alt: "" }));
|
|
22
|
+
}
|
|
23
|
+
function MapsightIcon({ id, className, width = 40, height = 40, }) {
|
|
24
|
+
if (!id) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
if (id.includes("/") || isComposableIcon(id)) {
|
|
28
|
+
return (_jsx(ComposableMapsightIcon, { id: id, className: className, width: width, height: height }));
|
|
29
|
+
}
|
|
30
|
+
return (_jsx(SpriteMapsightIcon, { id: id, className: className, width: width, height: height }));
|
|
31
|
+
}
|
|
32
|
+
export default memo(MapsightIcon);
|
|
33
|
+
//# sourceMappingURL=mapsight-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapsight-icon.js","sourceRoot":"","sources":["../../../src/js/components/mapsight-icon/mapsight-icon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAC,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAC,gBAAgB,EAAC,MAAM,mC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AAC;AACH,CAAC;AAED,SAAS,YAAY,CAAC,EACrB,EAAE,EACF,SAAS,EACT,KAAK,GAAG,EAAE,EACV,MAAM,GAAG,EAAE,GACQ;IACnB,IAAI,CAAC,EAAE,EAAE,CAAC;QACT,OAAO,IAAI,CAAC;IACb,CAAC;IAED,IAAI,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,gBAAgB,CAAC,EAAE,CAAC,EAAE,CAAC;QAC9C,OAAO,CACN,KAAC,sBAAsB,IACtB,EAAE,EAAE,EAAE,EACN,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,GACb,CACF,CAAC;IACH,CAAC;IAED,OAAO,CACN,KAAC,kBAAkB,IAClB,EAAE,EAAE,EAAE,EACN,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,GACb,CACF,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,YAAY,CAAC,CAAC"}
|
|
@@ -4,6 +4,6 @@ export type Props = ReactModalProps & {
|
|
|
4
4
|
closeLabel?: string;
|
|
5
5
|
headline: ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare const Modal: ({ children, closeLabel, headline, ...props }: Props) => import("react
|
|
7
|
+
declare const Modal: ({ children, closeLabel, headline, ...props }: Props) => import("react").JSX.Element;
|
|
8
8
|
export default Modal;
|
|
9
9
|
//# sourceMappingURL=modal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../src/js/components/modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,SAAS,EAAC,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAC,KAAK,IAAI,eAAe,EAAC,MAAM,aAAa,CAAC;AAK1D,MAAM,MAAM,KAAK,GAAG,eAAe,GAAG;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,KAAK,GAAI,8CAA4C,KAAK,
|
|
1
|
+
{"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../src/js/components/modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,SAAS,EAAC,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAC,KAAK,IAAI,eAAe,EAAC,MAAM,aAAa,CAAC;AAK1D,MAAM,MAAM,KAAK,GAAG,eAAe,GAAG;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;CACpB,CAAC;AAEF,QAAA,MAAM,KAAK,GAAI,8CAA4C,KAAK,gCA0B/D,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -10,6 +10,6 @@ export type Props = {
|
|
|
10
10
|
* `QueryInput` into something like this due to leaky abstractions
|
|
11
11
|
* (leaking internas like classnames)
|
|
12
12
|
**/
|
|
13
|
-
declare function QueryInputWithLabel({ label, placeholder, query, onChange }: Props): import("react
|
|
13
|
+
declare function QueryInputWithLabel({ label, placeholder, query, onChange }: Props): import("react").JSX.Element;
|
|
14
14
|
export default QueryInputWithLabel;
|
|
15
15
|
//# sourceMappingURL=query-input-with-label.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-input-with-label.d.ts","sourceRoot":"","sources":["../../src/js/components/query-input-with-label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,SAAS,EAAC,MAAM,OAAO,CAAC;AAMlD,MAAM,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,CAAC;AAEF;;;;IAII;AACJ,iBAAS,mBAAmB,CAAC,EAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAC,EAAE,KAAK
|
|
1
|
+
{"version":3,"file":"query-input-with-label.d.ts","sourceRoot":"","sources":["../../src/js/components/query-input-with-label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,SAAS,EAAC,MAAM,OAAO,CAAC;AAMlD,MAAM,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC,CAAC;AAEF;;;;IAII;AACJ,iBAAS,mBAAmB,CAAC,EAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,QAAQ,EAAC,EAAE,KAAK,+BAkDxE;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/js/components/search/index.jsx"],"names":[],"mappings":";;AAcA;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/js/components/search/index.jsx"],"names":[],"mappings":";;AAcA;;;gCAkEC"}
|
|
@@ -3,8 +3,8 @@ import { memo, useCallback, useEffect, useRef } from "react";
|
|
|
3
3
|
import { useDispatch, useSelector } from "react-redux";
|
|
4
4
|
import { translate } from "../../helpers/i18n";
|
|
5
5
|
import useDebounce from "../../hooks/useDebounce";
|
|
6
|
-
import { search } from "../../store/actions
|
|
7
|
-
import { searchQuerySelector } from "../../store/selectors
|
|
6
|
+
import { search } from "../../store/actions";
|
|
7
|
+
import { searchQuerySelector } from "../../store/selectors";
|
|
8
8
|
import SearchQueryInput from "./query-input";
|
|
9
9
|
import SearchResult from "./result";
|
|
10
10
|
import useHandleEscapeKeyDown from "../../hooks/useHandleEscapeKeyDown";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/search/index.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,MAAM,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/js/components/search/index.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAC,WAAW,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC;AAErD,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAC,MAAM,EAAC,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,OAAO,gBAAgB,MAAM,eAAe,CAAC;AAC7C,OAAO,YAAY,MAAM,UAAU,CAAC;AACpC,OAAO,sBAAsB,MAAM,oCAAoC,CAAC;AAExE,MAAM,cAAc,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,cAAc,EAAE,CAAC;AAEjD,SAAS,MAAM,CAAC,EAAC,WAAW,EAAE,SAAS,EAAC;IACvC,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAC/B,MAAM,KAAK,GAAG,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAE/C,MAAM,cAAc,GAAG,WAAW,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAC/C,SAAS,CAAC,GAAG,EAAE;QACd,IAAI,cAAc,KAAK,EAAE,EAAE,CAAC;YAC3B,QAAQ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GACC,IACJ,EAEL,KAAK,IAAI,CACT,iBACC,SAAS,EAAC,oBAAoB,EAC9B,IAAI,EAAC,eAAe,EACpB,OAAO,EAAC,QAAQ,YAEhB,KAAC,YAAY,IACZ,aAAa,EAAE,iBAAiB,EAChC,WAAW,EAAE,WAAW,GACvB,GACM,CACT,IACK,CACP,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result-entry.d.ts","sourceRoot":"","sources":["../../../src/js/components/search/result-entry.jsx"],"names":[],"mappings":";;AASA;;;;
|
|
1
|
+
{"version":3,"file":"result-entry.d.ts","sourceRoot":"","sources":["../../../src/js/components/search/result-entry.jsx"],"names":[],"mappings":";;AASA;;;;gCAmDC"}
|
|
@@ -5,7 +5,7 @@ import { useDispatch } from "react-redux";
|
|
|
5
5
|
import { FEATURE_SELECTIONS } from "../../config/constants/controllers";
|
|
6
6
|
import { FEATURE_SELECTION_SELECT } from "../../config/feature/selections";
|
|
7
7
|
import getFeatureProperty from "../../helpers/get-feature-property";
|
|
8
|
-
import { search, selectSearchResult } from "../../store/actions
|
|
8
|
+
import { search, selectSearchResult } from "../../store/actions";
|
|
9
9
|
function SearchResultEntry({ closeSearch, onReturnFocus, feature }) {
|
|
10
10
|
const dispatch = useDispatch();
|
|
11
11
|
const name = getFeatureProperty(feature, "name");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result-entry.js","sourceRoot":"","sources":["../../../src/js/components/search/result-entry.jsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,+CAA+C,CAAC;AAChF,OAAO,EAAC,IAAI,EAAE,WAAW,EAAC,MAAM,OAAO,CAAC;AACxC,OAAO,EAAC,WAAW,EAAC,MAAM,aAAa,CAAC;AACxC,OAAO,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAC,wBAAwB,EAAC,MAA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BAAwB,EACxB,OAAO,CAAC,EAAE,CACV,CACD,CAAC;YAEF,IAAI,WAAW,EAAE,CAAC;gBACjB,WAAW,EAAE,CAAC;YACf,CAAC;QACF,CAAC;IACF,CAAC,EAAE;QACF,QAAQ;QACR,OAAO;QACP,mBAAmB;QACnB,IAAI;QACJ,aAAa;QACb,WAAW;KACX,CAAC,CAAC;IAEH,OAAO,CACN,aAAI,SAAS,EAAC,8BAA8B,YAC3C,kBACC,SAAS,EAAC,0BAA0B,EACpC,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,WAAW,aAEpB,cAAK,SAAS,EAAC,iCAAiC,YAAE,IAAI,GAAO,EAC5D,eAAe,IAAI,CACnB,cAAK,SAAS,EAAC,mCAAmC,YAChD,eAAe,GACX,CACN,IACO,GACL,CACL,CAAC;AACH,CAAC;AAED,eAAe,IAAI,CAAC,iBAAiB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../../src/js/components/search/result.jsx"],"names":[],"mappings":";;AAkBA;;;
|
|
1
|
+
{"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../../src/js/components/search/result.jsx"],"names":[],"mappings":";;AAkBA;;;gCAkDC"}
|