@igo2/geo 1.9.0 → 1.10.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/assets/icons/cross_black_18px.svg +88 -88
- package/assets/icons/place_blue_36px.svg +55 -55
- package/assets/icons/place_green_36px.svg +55 -55
- package/assets/icons/place_red_36px.svg +55 -55
- package/assets/icons/place_yellow_36px.svg +55 -55
- package/bundles/igo2-geo.umd.js +3651 -2762
- package/bundles/igo2-geo.umd.js.map +1 -1
- package/esm2015/lib/catalog/catalog-browser/catalog-browser-group.component.js +2 -2
- package/esm2015/lib/catalog/catalog-browser/catalog-browser-layer.component.js +2 -2
- package/esm2015/lib/catalog/catalog-browser/catalog-browser.module.js +1 -1
- package/esm2015/lib/catalog/catalog-library/add-catalog-dialog.component.js +72 -53
- package/esm2015/lib/catalog/catalog-library/catalog-library.component.js +2 -1
- package/esm2015/lib/catalog/catalog.module.js +1 -1
- package/esm2015/lib/catalog/shared/catalog.abstract.js +1 -1
- package/esm2015/lib/catalog/shared/catalog.interface.js +1 -1
- package/esm2015/lib/catalog/shared/catalog.service.js +13 -3
- package/esm2015/lib/catalog/shared/index.js +1 -1
- package/esm2015/lib/datasource/datasource.module.js +1 -1
- package/esm2015/lib/datasource/index.js +1 -1
- package/esm2015/lib/datasource/shared/capabilities.service.js +4 -4
- package/esm2015/lib/datasource/shared/datasources/carto-datasource.interface.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/carto-datasource.js +2 -2
- package/esm2015/lib/datasource/shared/datasources/cluster-datasource.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/data.service.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/datasource.interface.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/datasource.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/mvt-datasource.interface.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/mvt-datasource.js +2 -2
- package/esm2015/lib/datasource/shared/datasources/osm-datasource.interface.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/websocket-datasource.interface.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/websocket-datasource.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/wfs-datasource.interface.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/wfs.service.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/wms-wfs.utils.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/wmts-datasource.interface.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/xyz-datasource.interface.js +1 -1
- package/esm2015/lib/datasource/shared/datasources/xyz-datasource.js +1 -1
- package/esm2015/lib/datasource/shared/index.js +1 -1
- package/esm2015/lib/datasource/shared/options/index.js +1 -1
- package/esm2015/lib/datasource/shared/options/options-api.interface.js +1 -1
- package/esm2015/lib/datasource/shared/options/options-api.providers.js +1 -1
- package/esm2015/lib/datasource/shared/options/options-api.service.js +1 -1
- package/esm2015/lib/datasource/shared/options/options.service.js +1 -1
- package/esm2015/lib/datasource/utils/esri-style-generator.js +1 -1
- package/esm2015/lib/datasource/utils/index.js +1 -1
- package/esm2015/lib/datasource/utils/tilegrid.js +1 -1
- package/esm2015/lib/directions/directions-buttons/directions-buttons.component.js +223 -0
- package/esm2015/lib/directions/directions-buttons/index.js +2 -0
- package/esm2015/lib/directions/directions-inputs/directions-inputs.component.js +300 -0
- package/esm2015/lib/directions/directions-inputs/index.js +2 -0
- package/esm2015/lib/directions/directions-results/directions-results.component.js +204 -0
- package/esm2015/lib/directions/directions-results/index.js +2 -0
- package/esm2015/lib/directions/directions-sources/directions-source.interface.js +1 -1
- package/esm2015/lib/directions/directions-sources/directions-source.js +1 -1
- package/esm2015/lib/directions/directions-sources/directions-source.provider.js +1 -1
- package/esm2015/lib/directions/directions-sources/index.js +1 -1
- package/esm2015/lib/directions/directions-sources/osrm-directions-source.js +11 -2
- package/esm2015/lib/directions/directions.component.js +314 -0
- package/esm2015/lib/directions/directions.module.js +31 -10
- package/esm2015/lib/directions/index.js +5 -2
- package/esm2015/lib/directions/shared/directions-source.service.js +1 -1
- package/esm2015/lib/directions/shared/directions.enum.js +20 -3
- package/esm2015/lib/directions/shared/directions.interface.js +1 -1
- package/esm2015/lib/directions/shared/directions.service.js +1 -1
- package/esm2015/lib/directions/shared/directions.utils.js +507 -0
- package/esm2015/lib/directions/shared/index.js +3 -1
- package/esm2015/lib/directions/shared/store.js +24 -0
- package/esm2015/lib/download/download-button/download-button.component.js +1 -1
- package/esm2015/lib/download/download-button/index.js +1 -1
- package/esm2015/lib/download/download.module.js +1 -1
- package/esm2015/lib/download/index.js +1 -1
- package/esm2015/lib/download/shared/download.interface.js +1 -1
- package/esm2015/lib/download/shared/download.service.js +1 -1
- package/esm2015/lib/download/shared/index.js +1 -1
- package/esm2015/lib/draw/draw/draw-popup.component.js +6 -5
- package/esm2015/lib/draw/draw/draw.component.js +22 -17
- package/esm2015/lib/draw/shared/draw.utils.js +1 -1
- package/esm2015/lib/feature/feature-details/feature-details.directive.js +1 -1
- package/esm2015/lib/feature/feature-details/feature-details.module.js +1 -1
- package/esm2015/lib/feature/feature-form/feature-form.component.js +1 -1
- package/esm2015/lib/feature/feature-form/feature-form.module.js +1 -1
- package/esm2015/lib/feature/feature.module.js +1 -1
- package/esm2015/lib/feature/index.js +1 -1
- package/esm2015/lib/feature/shared/feature.enums.js +1 -1
- package/esm2015/lib/feature/shared/feature.interfaces.js +1 -1
- package/esm2015/lib/feature/shared/index.js +1 -1
- package/esm2015/lib/feature/shared/strategies/in-map-extent.js +1 -1
- package/esm2015/lib/feature/shared/strategies/in-map-resolution.js +1 -1
- package/esm2015/lib/feature/shared/strategies/index.js +1 -1
- package/esm2015/lib/feature/shared/strategies/loading-layer.js +1 -1
- package/esm2015/lib/feature/shared/strategies/loading.js +1 -1
- package/esm2015/lib/feature/shared/strategies/selection.js +5 -9
- package/esm2015/lib/feature/shared/strategies.utils.js +1 -1
- package/esm2015/lib/filter/filter.module.js +7 -4
- package/esm2015/lib/filter/ogc-filter-button/index.js +1 -1
- package/esm2015/lib/filter/ogc-filter-button/ogc-filter-button.component.js +1 -1
- package/esm2015/lib/filter/ogc-filter-form/index.js +1 -1
- package/esm2015/lib/filter/ogc-filter-form/ogc-filter-form.component.js +3 -3
- package/esm2015/lib/filter/ogc-filter-selection/ogc-filter-selection.component.js +1 -1
- package/esm2015/lib/filter/ogc-filter-time/ogc-filter-time.component.js +240 -121
- package/esm2015/lib/filter/ogc-filterable-form/index.js +1 -1
- package/esm2015/lib/filter/ogc-filterable-item/index.js +1 -1
- package/esm2015/lib/filter/ogc-filterable-item/ogc-filterable-item.component.js +2 -2
- package/esm2015/lib/filter/ogc-filterable-list/index.js +1 -1
- package/esm2015/lib/filter/ogc-filterable-list/ogc-filterable-list-binding.directive.js +1 -1
- package/esm2015/lib/filter/ogc-filterable-list/ogc-filterable-list.component.js +1 -1
- package/esm2015/lib/filter/shared/filterable-datasource.pipe.js +1 -1
- package/esm2015/lib/filter/shared/index.js +1 -1
- package/esm2015/lib/filter/shared/ogc-filter.enum.js +1 -1
- package/esm2015/lib/filter/shared/ogc-filter.interface.js +1 -1
- package/esm2015/lib/filter/shared/ogc-filter.js +1 -1
- package/esm2015/lib/filter/shared/ogc-filter.service.js +1 -1
- package/esm2015/lib/filter/shared/spatial-filter.enum.js +1 -1
- package/esm2015/lib/filter/shared/spatial-filter.interface.js +1 -1
- package/esm2015/lib/filter/shared/time-filter.enum.js +1 -1
- package/esm2015/lib/filter/shared/time-filter.interface.js +1 -1
- package/esm2015/lib/filter/shared/time-filter.service.js +1 -1
- package/esm2015/lib/filter/spatial-filter/spatial-filter-item/index.js +1 -1
- package/esm2015/lib/filter/spatial-filter/spatial-filter-item/spatial-filter-item.component.js +185 -95
- package/esm2015/lib/filter/spatial-filter/spatial-filter-list/index.js +1 -1
- package/esm2015/lib/filter/spatial-filter/spatial-filter-list/spatial-filter-list.component.js +1 -1
- package/esm2015/lib/filter/spatial-filter/spatial-filter-type/index.js +1 -1
- package/esm2015/lib/filter/spatial-filter/spatial-filter-type/spatial-filter-type.component.js +1 -1
- package/esm2015/lib/filter/time-filter-button/index.js +1 -1
- package/esm2015/lib/filter/time-filter-button/time-filter-button.component.js +1 -1
- package/esm2015/lib/filter/time-filter-form/index.js +1 -1
- package/esm2015/lib/filter/time-filter-form/time-filter-form.component.js +1 -1
- package/esm2015/lib/filter/time-filter-item/index.js +1 -1
- package/esm2015/lib/filter/time-filter-item/time-filter-item.component.js +2 -2
- package/esm2015/lib/filter/time-filter-list/index.js +1 -1
- package/esm2015/lib/filter/time-filter-list/time-filter-list-binding.directive.js +1 -1
- package/esm2015/lib/filter/time-filter-list/time-filter-list.component.js +1 -1
- package/esm2015/lib/geometry/geometry-form-field/geometry-form-field-input.component.js +3 -3
- package/esm2015/lib/geometry/geometry-form-field/geometry-form-field.component.js +1 -1
- package/esm2015/lib/geometry/geometry-form-field/geometry-form-field.module.js +1 -1
- package/esm2015/lib/geometry/geometry.module.js +1 -1
- package/esm2015/lib/geometry/index.js +1 -1
- package/esm2015/lib/geometry/shared/controls/draw.js +1 -1
- package/esm2015/lib/geometry/shared/controls/index.js +1 -1
- package/esm2015/lib/geometry/shared/geometry.errors.js +3 -3
- package/esm2015/lib/geometry/shared/index.js +1 -1
- package/esm2015/lib/import-export/export-button/export-button.component.js +1 -1
- package/esm2015/lib/import-export/export-button/index.js +1 -1
- package/esm2015/lib/import-export/import-export/import-export.component.js +179 -66
- package/esm2015/lib/import-export/import-export.module.js +1 -1
- package/esm2015/lib/import-export/index.js +1 -1
- package/esm2015/lib/import-export/shared/drop-geo-file.directive.js +1 -1
- package/esm2015/lib/import-export/shared/export.errors.js +1 -1
- package/esm2015/lib/import-export/shared/export.interface.js +1 -1
- package/esm2015/lib/import-export/shared/export.type.js +1 -1
- package/esm2015/lib/import-export/shared/export.utils.js +1 -1
- package/esm2015/lib/import-export/shared/import.interface.js +1 -1
- package/esm2015/lib/import-export/shared/import.service.js +1 -1
- package/esm2015/lib/import-export/shared/import.utils.js +1 -1
- package/esm2015/lib/import-export/shared/index.js +1 -1
- package/esm2015/lib/import-export/style-list/index.js +1 -1
- package/esm2015/lib/import-export/style-list/style-list.interface.js +1 -1
- package/esm2015/lib/import-export/style-list/style-list.module.js +1 -1
- package/esm2015/lib/import-export/style-list/style-list.provider.js +1 -1
- package/esm2015/lib/import-export/style-list/style-list.service.js +1 -1
- package/esm2015/lib/layer/index.js +1 -1
- package/esm2015/lib/layer/layer-item/index.js +1 -1
- package/esm2015/lib/layer/layer-item/layer-item.component.js +3 -3
- package/esm2015/lib/layer/layer-legend/index.js +1 -1
- package/esm2015/lib/layer/layer-legend/layer-legend.component.js +23 -16
- package/esm2015/lib/layer/layer-legend-item/index.js +1 -1
- package/esm2015/lib/layer/layer-legend-item/layer-legend-item.component.js +1 -1
- package/esm2015/lib/layer/layer-legend-list/index.js +1 -1
- package/esm2015/lib/layer/layer-legend-list/layer-legend-list-binding.directive.js +1 -1
- package/esm2015/lib/layer/layer-legend-list/layer-legend-list.component.js +5 -5
- package/esm2015/lib/layer/layer-list/index.js +1 -1
- package/esm2015/lib/layer/layer-list/layer-list-binding.directive.js +1 -1
- package/esm2015/lib/layer/layer-list/layer-list.component.js +44 -44
- package/esm2015/lib/layer/layer-list/layer-list.enum.js +1 -1
- package/esm2015/lib/layer/layer-list-tool/index.js +1 -1
- package/esm2015/lib/layer/layer-list-tool/layer-list-tool.component.js +2 -2
- package/esm2015/lib/layer/layer-list-tool/layer-list-tool.enum.js +1 -1
- package/esm2015/lib/layer/layer-list-tool/layer-list-tool.interface.js +1 -1
- package/esm2015/lib/layer/layer-list-tool/layer-list-tool.service.js +1 -1
- package/esm2015/lib/layer/layer.module.js +8 -5
- package/esm2015/lib/layer/shared/clusterParam.js +1 -1
- package/esm2015/lib/layer/shared/index.js +1 -1
- package/esm2015/lib/layer/shared/layer.enums.js +1 -1
- package/esm2015/lib/layer/shared/layer.service.js +20 -17
- package/esm2015/lib/layer/shared/layers/any-layer.interface.js +1 -1
- package/esm2015/lib/layer/shared/layers/any-layer.js +1 -1
- package/esm2015/lib/layer/shared/layers/image-layer.js +9 -4
- package/esm2015/lib/layer/shared/layers/index.js +1 -1
- package/esm2015/lib/layer/shared/layers/layer.js +15 -5
- package/esm2015/lib/layer/shared/layers/tile-layer.js +23 -3
- package/esm2015/lib/layer/shared/layers/vector-layer.interface.js +1 -1
- package/esm2015/lib/layer/shared/layers/vector-layer.js +20 -10
- package/esm2015/lib/layer/shared/layers/vectortile-layer.interface.js +1 -1
- package/esm2015/lib/layer/shared/layers/vectortile-layer.js +13 -3
- package/esm2015/lib/layer/shared/style.service.js +21 -16
- package/esm2015/lib/layer/shared/vector-style.interface.js +1 -1
- package/esm2015/lib/layer/track-feature-button/index.js +1 -1
- package/esm2015/lib/layer/track-feature-button/track-feature-button.component.js +1 -1
- package/esm2015/lib/layer/utils/index.js +2 -1
- package/esm2015/lib/layer/utils/layer.utils.js +11 -0
- package/esm2015/lib/layer/utils/layerSync-watcher.js +1 -1
- package/esm2015/lib/layer/utils/tile-watcher.js +1 -1
- package/esm2015/lib/map/baselayers-switcher/baselayers-switcher.animation.js +1 -1
- package/esm2015/lib/map/baselayers-switcher/index.js +1 -1
- package/esm2015/lib/map/baselayers-switcher/mini-basemap.component.js +1 -1
- package/esm2015/lib/map/geolocate-button/geolocate-button.component.js +1 -1
- package/esm2015/lib/map/geolocate-button/index.js +1 -1
- package/esm2015/lib/map/index.js +2 -1
- package/esm2015/lib/map/map-browser/index.js +1 -1
- package/esm2015/lib/map/map-browser/map-browser.component.js +1 -1
- package/esm2015/lib/map/map.module.js +10 -5
- package/esm2015/lib/map/menu-button/index.js +2 -0
- package/esm2015/lib/map/menu-button/menu-button.component.js +66 -0
- package/esm2015/lib/map/offline-button/index.js +1 -1
- package/esm2015/lib/map/offline-button/offline-button.component.js +1 -1
- package/esm2015/lib/map/rotation-button/index.js +1 -1
- package/esm2015/lib/map/rotation-button/rotation-button.component.js +1 -1
- package/esm2015/lib/map/shared/controllers/index.js +1 -1
- package/esm2015/lib/map/shared/hover-feature.directive.js +231 -80
- package/esm2015/lib/map/shared/map-pointer-position.directive.js +3 -1
- package/esm2015/lib/map/shared/map.enums.js +1 -1
- package/esm2015/lib/map/shared/map.interface.js +1 -1
- package/esm2015/lib/map/shared/map.js +38 -16
- package/esm2015/lib/map/shared/map.service.js +1 -1
- package/esm2015/lib/map/shared/map.utils.js +7 -3
- package/esm2015/lib/map/shared/projection.service.js +1 -1
- package/esm2015/lib/map/shared/projection.utils.js +1 -1
- package/esm2015/lib/map/swipe-control/swipe-control.component.js +1 -1
- package/esm2015/lib/map/zoom-button/index.js +1 -1
- package/esm2015/lib/map/zoom-button/zoom-button.component.js +1 -1
- package/esm2015/lib/measure/index.js +1 -1
- package/esm2015/lib/measure/measure.module.js +1 -1
- package/esm2015/lib/measure/measurer/measure-format.pipe.js +1 -1
- package/esm2015/lib/measure/measurer/measurer-dialog.component.js +188 -176
- package/esm2015/lib/measure/measurer/measurer-item.component.js +17 -12
- package/esm2015/lib/measure/measurer/measurer.component.js +170 -69
- package/esm2015/lib/measure/measurer/measurer.module.js +13 -8
- package/esm2015/lib/measure/shared/index.js +1 -1
- package/esm2015/lib/measure/shared/measure.enum.js +1 -1
- package/esm2015/lib/measure/shared/measure.interfaces.js +1 -1
- package/esm2015/lib/measure/shared/measure.utils.js +1 -1
- package/esm2015/lib/metadata/index.js +1 -1
- package/esm2015/lib/metadata/metadata-button/index.js +1 -1
- package/esm2015/lib/metadata/shared/index.js +1 -1
- package/esm2015/lib/metadata/shared/metadata.service.js +1 -1
- package/esm2015/lib/overlay/index.js +1 -1
- package/esm2015/lib/overlay/overlay.module.js +1 -1
- package/esm2015/lib/overlay/shared/index.js +1 -1
- package/esm2015/lib/overlay/shared/overlay-marker-style.utils.js +2 -2
- package/esm2015/lib/overlay/shared/overlay.directive.js +1 -1
- package/esm2015/lib/overlay/shared/overlay.enum.js +1 -1
- package/esm2015/lib/overlay/shared/overlay.service.js +1 -1
- package/esm2015/lib/print/index.js +1 -1
- package/esm2015/lib/print/print-form/index.js +1 -1
- package/esm2015/lib/print/print.module.js +1 -1
- package/esm2015/lib/print/shared/index.js +1 -1
- package/esm2015/lib/print/shared/print.service.js +1 -1
- package/esm2015/lib/query/index.js +1 -1
- package/esm2015/lib/query/query.module.js +1 -1
- package/esm2015/lib/query/shared/index.js +1 -1
- package/esm2015/lib/query/shared/query-search-source.js +1 -1
- package/esm2015/lib/query/shared/query-search-source.providers.js +1 -1
- package/esm2015/lib/query/shared/query.directive.js +4 -4
- package/esm2015/lib/query/shared/query.enums.js +1 -1
- package/esm2015/lib/query/shared/query.interfaces.js +1 -1
- package/esm2015/lib/query/shared/query.service.js +24 -3
- package/esm2015/lib/query/shared/query.utils.js +19 -1
- package/esm2015/lib/search/index.js +1 -1
- package/esm2015/lib/search/search-bar/search-bar.component.js +2 -2
- package/esm2015/lib/search/search-bar/search-bar.module.js +1 -1
- package/esm2015/lib/search/search-bar/search-url-param.directive.js +1 -1
- package/esm2015/lib/search/search-results/search-results-add-button.component.js +2 -2
- package/esm2015/lib/search/search-results/search-results-item.component.js +1 -1
- package/esm2015/lib/search/search-results/search-results.component.js +1 -1
- package/esm2015/lib/search/search-results/search-results.module.js +1 -1
- package/esm2015/lib/search/search-selector/search-selector.component.js +1 -1
- package/esm2015/lib/search/search-selector/search-selector.module.js +1 -1
- package/esm2015/lib/search/search-settings/search-settings.module.js +1 -1
- package/esm2015/lib/search/shared/index.js +1 -1
- package/esm2015/lib/search/shared/search-pointer-summary.directive.js +17 -6
- package/esm2015/lib/search/shared/search-source-service.providers.js +1 -1
- package/esm2015/lib/search/shared/search-source.service.js +1 -1
- package/esm2015/lib/search/shared/search.enums.js +1 -1
- package/esm2015/lib/search/shared/search.interfaces.js +1 -1
- package/esm2015/lib/search/shared/search.utils.js +1 -1
- package/esm2015/lib/search/shared/sources/cadastre.js +9 -2
- package/esm2015/lib/search/shared/sources/coordinates.interfaces.js +1 -1
- package/esm2015/lib/search/shared/sources/coordinates.js +9 -2
- package/esm2015/lib/search/shared/sources/icherche.js +17 -4
- package/esm2015/lib/search/shared/sources/ilayer.interfaces.js +1 -1
- package/esm2015/lib/search/shared/sources/ilayer.js +9 -2
- package/esm2015/lib/search/shared/sources/index.js +1 -1
- package/esm2015/lib/search/shared/sources/nominatim.interfaces.js +1 -1
- package/esm2015/lib/search/shared/sources/nominatim.js +9 -2
- package/esm2015/lib/search/shared/sources/storedqueries.interfaces.js +1 -1
- package/esm2015/lib/search/shared/sources/storedqueries.js +20 -12
- package/esm2015/lib/toast/index.js +1 -1
- package/esm2015/lib/toast/toast.component.js +1 -1
- package/esm2015/lib/toast/toast.module.js +1 -1
- package/esm2015/lib/utils/commonVectorStyle.interface.js +1 -1
- package/esm2015/lib/utils/googleLinks.js +1 -1
- package/esm2015/lib/utils/osmLinks.js +1 -1
- package/esm2015/lib/wkt/index.js +1 -1
- package/esm2015/lib/wkt/shared/index.js +1 -1
- package/esm2015/lib/wkt/shared/wkt.service.js +15 -15
- package/esm2015/lib/wkt/wkt.module.js +1 -1
- package/esm2015/lib/workspace/index.js +1 -1
- package/esm2015/lib/workspace/shared/feature-workspace.js +1 -1
- package/esm2015/lib/workspace/shared/feature-workspace.service.js +1 -1
- package/esm2015/lib/workspace/shared/index.js +1 -1
- package/esm2015/lib/workspace/shared/wfs-workspace.js +1 -1
- package/esm2015/lib/workspace/shared/wfs-workspace.service.js +1 -1
- package/esm2015/lib/workspace/shared/wms-workspace.service.js +1 -1
- package/esm2015/lib/workspace/widgets/index.js +1 -1
- package/esm2015/lib/workspace/widgets/ogc-filter/ogc-filter.component.js +1 -1
- package/esm2015/lib/workspace/widgets/ogc-filter/ogc-filter.module.js +1 -1
- package/esm2015/lib/workspace/widgets/widgets.js +1 -1
- package/esm2015/lib/workspace/workspace-selector/workspace-selector.directive.js +1 -1
- package/esm2015/lib/workspace/workspace-selector/workspace-selector.module.js +1 -1
- package/esm2015/lib/workspace/workspace-updator/workspace-updator.directive.js +1 -1
- package/esm2015/lib/workspace/workspace-updator/workspace-updator.module.js +1 -1
- package/esm2015/lib/workspace/workspace.module.js +1 -1
- package/fesm2015/igo2-geo.js +3221 -2431
- package/fesm2015/igo2-geo.js.map +1 -1
- package/lib/catalog/catalog-library/add-catalog-dialog.component.d.ts +1 -1
- package/lib/datasource/shared/datasources/datasource.interface.d.ts +1 -0
- package/lib/directions/directions-buttons/directions-buttons.component.d.ts +29 -0
- package/lib/directions/directions-buttons/index.d.ts +1 -0
- package/lib/directions/directions-inputs/directions-inputs.component.d.ts +45 -0
- package/lib/directions/directions-inputs/index.d.ts +1 -0
- package/lib/directions/directions-results/directions-results.component.d.ts +30 -0
- package/lib/directions/directions-results/index.d.ts +1 -0
- package/lib/directions/directions-sources/directions-source.d.ts +2 -2
- package/lib/directions/directions-sources/osrm-directions-source.d.ts +2 -2
- package/lib/directions/directions.component.d.ts +55 -0
- package/lib/directions/directions.module.d.ts +19 -16
- package/lib/directions/index.d.ts +4 -1
- package/lib/directions/shared/directions.enum.d.ts +16 -2
- package/lib/directions/shared/directions.interface.d.ts +53 -3
- package/lib/directions/shared/directions.service.d.ts +3 -3
- package/lib/directions/shared/directions.utils.d.ts +42 -0
- package/lib/directions/shared/index.d.ts +2 -0
- package/lib/directions/shared/store.d.ts +18 -0
- package/lib/draw/draw/draw-popup.component.d.ts +6 -2
- package/lib/feature/shared/strategies/selection.d.ts +1 -0
- package/lib/filter/filter.module.d.ts +1 -1
- package/lib/filter/ogc-filter-time/ogc-filter-time.component.d.ts +6 -1
- package/lib/filter/shared/ogc-filter.interface.d.ts +1 -0
- package/lib/filter/spatial-filter/spatial-filter-item/spatial-filter-item.component.d.ts +7 -2
- package/lib/import-export/import-export/import-export.component.d.ts +2 -0
- package/lib/import-export/shared/export.interface.d.ts +2 -1
- package/lib/layer/layer-legend/layer-legend.component.d.ts +0 -1
- package/lib/layer/layer.module.d.ts +1 -1
- package/lib/layer/shared/layer.service.d.ts +1 -1
- package/lib/layer/shared/layers/layer.d.ts +1 -0
- package/lib/layer/shared/layers/tile-layer.d.ts +10 -1
- package/lib/layer/shared/layers/vector-layer.interface.d.ts +1 -0
- package/lib/layer/shared/layers/vectortile-layer.interface.d.ts +1 -0
- package/lib/layer/shared/style.service.d.ts +4 -1
- package/lib/layer/shared/vector-style.interface.d.ts +9 -5
- package/lib/layer/utils/index.d.ts +1 -0
- package/lib/layer/utils/layer.utils.d.ts +2 -0
- package/lib/map/index.d.ts +1 -0
- package/lib/map/map.module.d.ts +8 -7
- package/lib/map/menu-button/index.d.ts +1 -0
- package/lib/map/menu-button/menu-button.component.d.ts +17 -0
- package/lib/map/shared/hover-feature.directive.d.ts +14 -5
- package/lib/map/shared/map.d.ts +2 -1
- package/lib/map/shared/map.interface.d.ts +1 -0
- package/lib/map/shared/map.utils.d.ts +1 -1
- package/lib/measure/measurer/measurer.component.d.ts +10 -0
- package/lib/measure/measurer/measurer.module.d.ts +4 -3
- package/lib/query/shared/query.interfaces.d.ts +2 -0
- package/lib/query/shared/query.service.d.ts +9 -1
- package/lib/query/shared/query.utils.d.ts +12 -0
- package/lib/search/shared/search-pointer-summary.directive.d.ts +6 -0
- package/lib/search/shared/search.interfaces.d.ts +1 -0
- package/ngcc.config.js +3 -3
- package/package.json +14 -13
- package/esm2015/lib/directions/directions-form/directions-form-binding.directive.js +0 -99
- package/esm2015/lib/directions/directions-form/directions-form.component.js +0 -1537
- package/esm2015/lib/directions/directions-form/directions-form.service.js +0 -26
- package/esm2015/lib/directions/directions-form/index.js +0 -4
- package/lib/directions/directions-form/directions-form-binding.directive.d.ts +0 -18
- package/lib/directions/directions-form/directions-form.component.d.ts +0 -137
- package/lib/directions/directions-form/directions-form.service.d.ts +0 -11
- package/lib/directions/directions-form/index.d.ts +0 -3
|
@@ -3,6 +3,182 @@ import { MAT_DIALOG_DATA } from '@angular/material/dialog';
|
|
|
3
3
|
import { MeasureAreaUnit, MeasureLengthUnit } from '../shared/measure.enum';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/material/dialog";
|
|
6
|
+
function MeasurerDialogComponent_table_3_Template(rf, ctx) { if (rf & 1) {
|
|
7
|
+
i0.ɵɵelementStart(0, "table", 2);
|
|
8
|
+
i0.ɵɵelementStart(1, "thead");
|
|
9
|
+
i0.ɵɵelementStart(2, "tr");
|
|
10
|
+
i0.ɵɵelementStart(3, "th", 3);
|
|
11
|
+
i0.ɵɵtext(4);
|
|
12
|
+
i0.ɵɵpipe(5, "translate");
|
|
13
|
+
i0.ɵɵelementEnd();
|
|
14
|
+
i0.ɵɵelementEnd();
|
|
15
|
+
i0.ɵɵelementEnd();
|
|
16
|
+
i0.ɵɵelementStart(6, "tbody");
|
|
17
|
+
i0.ɵɵelementStart(7, "tr");
|
|
18
|
+
i0.ɵɵelementStart(8, "td");
|
|
19
|
+
i0.ɵɵtext(9);
|
|
20
|
+
i0.ɵɵpipe(10, "measureFormat");
|
|
21
|
+
i0.ɵɵelementEnd();
|
|
22
|
+
i0.ɵɵelementStart(11, "td");
|
|
23
|
+
i0.ɵɵtext(12);
|
|
24
|
+
i0.ɵɵpipe(13, "translate");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(14, "tr");
|
|
28
|
+
i0.ɵɵelementStart(15, "td");
|
|
29
|
+
i0.ɵɵtext(16);
|
|
30
|
+
i0.ɵɵpipe(17, "measureFormat");
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(18, "td");
|
|
33
|
+
i0.ɵɵtext(19);
|
|
34
|
+
i0.ɵɵpipe(20, "translate");
|
|
35
|
+
i0.ɵɵelementEnd();
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵelementStart(21, "tr");
|
|
38
|
+
i0.ɵɵelementStart(22, "td");
|
|
39
|
+
i0.ɵɵtext(23);
|
|
40
|
+
i0.ɵɵpipe(24, "measureFormat");
|
|
41
|
+
i0.ɵɵelementEnd();
|
|
42
|
+
i0.ɵɵelementStart(25, "td");
|
|
43
|
+
i0.ɵɵtext(26);
|
|
44
|
+
i0.ɵɵpipe(27, "translate");
|
|
45
|
+
i0.ɵɵelementEnd();
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
i0.ɵɵelementStart(28, "tr");
|
|
48
|
+
i0.ɵɵelementStart(29, "td");
|
|
49
|
+
i0.ɵɵtext(30);
|
|
50
|
+
i0.ɵɵpipe(31, "measureFormat");
|
|
51
|
+
i0.ɵɵelementEnd();
|
|
52
|
+
i0.ɵɵelementStart(32, "td");
|
|
53
|
+
i0.ɵɵtext(33);
|
|
54
|
+
i0.ɵɵpipe(34, "translate");
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
i0.ɵɵelementEnd();
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
58
|
+
i0.ɵɵelementEnd();
|
|
59
|
+
} if (rf & 2) {
|
|
60
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
61
|
+
i0.ɵɵadvance(4);
|
|
62
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 9, "igo.geo.measure.dialog.length.title"));
|
|
63
|
+
i0.ɵɵadvance(5);
|
|
64
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10, 11, ctx_r0.data.length, ctx_r0.measureLengthUnit.Meters));
|
|
65
|
+
i0.ɵɵadvance(3);
|
|
66
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 14, "igo.geo.measure.dialog.lengthInMeters"));
|
|
67
|
+
i0.ɵɵadvance(4);
|
|
68
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(17, 16, ctx_r0.data.length, ctx_r0.measureLengthUnit.Kilometers));
|
|
69
|
+
i0.ɵɵadvance(3);
|
|
70
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 19, "igo.geo.measure.dialog.lengthInKilometers"));
|
|
71
|
+
i0.ɵɵadvance(4);
|
|
72
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 21, ctx_r0.data.length, ctx_r0.measureLengthUnit.Miles));
|
|
73
|
+
i0.ɵɵadvance(3);
|
|
74
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 24, "igo.geo.measure.dialog.lengthInMiles"));
|
|
75
|
+
i0.ɵɵadvance(4);
|
|
76
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(31, 26, ctx_r0.data.length, ctx_r0.measureLengthUnit.Feet));
|
|
77
|
+
i0.ɵɵadvance(3);
|
|
78
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(34, 29, "igo.geo.measure.dialog.lengthInFeet"));
|
|
79
|
+
} }
|
|
80
|
+
function MeasurerDialogComponent_table_4_Template(rf, ctx) { if (rf & 1) {
|
|
81
|
+
i0.ɵɵelementStart(0, "table", 2);
|
|
82
|
+
i0.ɵɵelementStart(1, "thead");
|
|
83
|
+
i0.ɵɵelementStart(2, "tr");
|
|
84
|
+
i0.ɵɵelementStart(3, "th", 3);
|
|
85
|
+
i0.ɵɵtext(4);
|
|
86
|
+
i0.ɵɵpipe(5, "translate");
|
|
87
|
+
i0.ɵɵelementEnd();
|
|
88
|
+
i0.ɵɵelementEnd();
|
|
89
|
+
i0.ɵɵelementEnd();
|
|
90
|
+
i0.ɵɵelementStart(6, "tbody");
|
|
91
|
+
i0.ɵɵelementStart(7, "tr");
|
|
92
|
+
i0.ɵɵelementStart(8, "td");
|
|
93
|
+
i0.ɵɵtext(9);
|
|
94
|
+
i0.ɵɵpipe(10, "measureFormat");
|
|
95
|
+
i0.ɵɵelementEnd();
|
|
96
|
+
i0.ɵɵelementStart(11, "td");
|
|
97
|
+
i0.ɵɵtext(12);
|
|
98
|
+
i0.ɵɵpipe(13, "translate");
|
|
99
|
+
i0.ɵɵelementEnd();
|
|
100
|
+
i0.ɵɵelementEnd();
|
|
101
|
+
i0.ɵɵelementStart(14, "tr");
|
|
102
|
+
i0.ɵɵelementStart(15, "td");
|
|
103
|
+
i0.ɵɵtext(16);
|
|
104
|
+
i0.ɵɵpipe(17, "measureFormat");
|
|
105
|
+
i0.ɵɵelementEnd();
|
|
106
|
+
i0.ɵɵelementStart(18, "td");
|
|
107
|
+
i0.ɵɵtext(19);
|
|
108
|
+
i0.ɵɵpipe(20, "translate");
|
|
109
|
+
i0.ɵɵelementEnd();
|
|
110
|
+
i0.ɵɵelementEnd();
|
|
111
|
+
i0.ɵɵelementStart(21, "tr");
|
|
112
|
+
i0.ɵɵelementStart(22, "td");
|
|
113
|
+
i0.ɵɵtext(23);
|
|
114
|
+
i0.ɵɵpipe(24, "measureFormat");
|
|
115
|
+
i0.ɵɵelementEnd();
|
|
116
|
+
i0.ɵɵelementStart(25, "td");
|
|
117
|
+
i0.ɵɵtext(26);
|
|
118
|
+
i0.ɵɵpipe(27, "translate");
|
|
119
|
+
i0.ɵɵelementEnd();
|
|
120
|
+
i0.ɵɵelementEnd();
|
|
121
|
+
i0.ɵɵelementStart(28, "tr");
|
|
122
|
+
i0.ɵɵelementStart(29, "td");
|
|
123
|
+
i0.ɵɵtext(30);
|
|
124
|
+
i0.ɵɵpipe(31, "measureFormat");
|
|
125
|
+
i0.ɵɵelementEnd();
|
|
126
|
+
i0.ɵɵelementStart(32, "td");
|
|
127
|
+
i0.ɵɵtext(33);
|
|
128
|
+
i0.ɵɵpipe(34, "translate");
|
|
129
|
+
i0.ɵɵelementEnd();
|
|
130
|
+
i0.ɵɵelementEnd();
|
|
131
|
+
i0.ɵɵelementStart(35, "tr");
|
|
132
|
+
i0.ɵɵelementStart(36, "td");
|
|
133
|
+
i0.ɵɵtext(37);
|
|
134
|
+
i0.ɵɵpipe(38, "measureFormat");
|
|
135
|
+
i0.ɵɵelementEnd();
|
|
136
|
+
i0.ɵɵelementStart(39, "td");
|
|
137
|
+
i0.ɵɵtext(40);
|
|
138
|
+
i0.ɵɵpipe(41, "translate");
|
|
139
|
+
i0.ɵɵelementEnd();
|
|
140
|
+
i0.ɵɵelementEnd();
|
|
141
|
+
i0.ɵɵelementStart(42, "tr");
|
|
142
|
+
i0.ɵɵelementStart(43, "td");
|
|
143
|
+
i0.ɵɵtext(44);
|
|
144
|
+
i0.ɵɵpipe(45, "translate");
|
|
145
|
+
i0.ɵɵelementEnd();
|
|
146
|
+
i0.ɵɵelementStart(46, "td");
|
|
147
|
+
i0.ɵɵtext(47);
|
|
148
|
+
i0.ɵɵpipe(48, "measureFormat");
|
|
149
|
+
i0.ɵɵelementEnd();
|
|
150
|
+
i0.ɵɵelementEnd();
|
|
151
|
+
i0.ɵɵelementEnd();
|
|
152
|
+
i0.ɵɵelementEnd();
|
|
153
|
+
} if (rf & 2) {
|
|
154
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
155
|
+
i0.ɵɵadvance(4);
|
|
156
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(5, 13, "igo.geo.measure.dialog.area.title"));
|
|
157
|
+
i0.ɵɵadvance(5);
|
|
158
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(10, 15, ctx_r1.data.area, ctx_r1.measureAreaUnit.SquareMeters));
|
|
159
|
+
i0.ɵɵadvance(3);
|
|
160
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(13, 18, "igo.geo.measure.dialog.areaInSquareMeters"));
|
|
161
|
+
i0.ɵɵadvance(4);
|
|
162
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(17, 20, ctx_r1.data.area, ctx_r1.measureAreaUnit.SquareKilometers));
|
|
163
|
+
i0.ɵɵadvance(3);
|
|
164
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(20, 23, "igo.geo.measure.dialog.areaInSquareKilometers"));
|
|
165
|
+
i0.ɵɵadvance(4);
|
|
166
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 25, ctx_r1.data.area, ctx_r1.measureAreaUnit.SquareMiles));
|
|
167
|
+
i0.ɵɵadvance(3);
|
|
168
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(27, 28, "igo.geo.measure.dialog.areaInSquareMiles"));
|
|
169
|
+
i0.ɵɵadvance(4);
|
|
170
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(31, 30, ctx_r1.data.area, ctx_r1.measureAreaUnit.Acres));
|
|
171
|
+
i0.ɵɵadvance(3);
|
|
172
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(34, 33, "igo.geo.measure.dialog.areaInAcres"));
|
|
173
|
+
i0.ɵɵadvance(4);
|
|
174
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(38, 35, ctx_r1.data.area, ctx_r1.measureAreaUnit.Hectares));
|
|
175
|
+
i0.ɵɵadvance(3);
|
|
176
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(41, 38, "igo.geo.measure.dialog.areaInHectares"));
|
|
177
|
+
i0.ɵɵadvance(4);
|
|
178
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(45, 40, "igo.geo.measure.dialog.perimeterInMeters"));
|
|
179
|
+
i0.ɵɵadvance(3);
|
|
180
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(48, 42, ctx_r1.data.perimeter, ctx_r1.measureLengthUnit.Meters));
|
|
181
|
+
} }
|
|
6
182
|
export class MeasurerDialogComponent {
|
|
7
183
|
constructor(dialogRef, data) {
|
|
8
184
|
this.dialogRef = dialogRef;
|
|
@@ -15,184 +191,20 @@ export class MeasurerDialogComponent {
|
|
|
15
191
|
}
|
|
16
192
|
}
|
|
17
193
|
MeasurerDialogComponent.ɵfac = function MeasurerDialogComponent_Factory(t) { return new (t || MeasurerDialogComponent)(i0.ɵɵdirectiveInject(i1.MatDialogRef), i0.ɵɵdirectiveInject(MAT_DIALOG_DATA)); };
|
|
18
|
-
MeasurerDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MeasurerDialogComponent, selectors: [["igo-measurer-dialog"]], decls:
|
|
19
|
-
i0.ɵɵelementStart(0, "
|
|
20
|
-
i0.ɵɵ
|
|
21
|
-
i0.ɵɵ
|
|
22
|
-
i0.ɵɵpipe(3, "translate");
|
|
23
|
-
i0.ɵɵelementEnd();
|
|
24
|
-
i0.ɵɵelementStart(4, "table");
|
|
25
|
-
i0.ɵɵelementStart(5, "thead");
|
|
26
|
-
i0.ɵɵelementStart(6, "tr");
|
|
27
|
-
i0.ɵɵelementStart(7, "th", 1);
|
|
28
|
-
i0.ɵɵtext(8);
|
|
29
|
-
i0.ɵɵpipe(9, "translate");
|
|
30
|
-
i0.ɵɵelementEnd();
|
|
31
|
-
i0.ɵɵelementEnd();
|
|
32
|
-
i0.ɵɵelementEnd();
|
|
33
|
-
i0.ɵɵelementStart(10, "tbody");
|
|
34
|
-
i0.ɵɵelementStart(11, "tr");
|
|
35
|
-
i0.ɵɵelementStart(12, "td");
|
|
36
|
-
i0.ɵɵtext(13);
|
|
37
|
-
i0.ɵɵpipe(14, "translate");
|
|
38
|
-
i0.ɵɵelementEnd();
|
|
39
|
-
i0.ɵɵelementStart(15, "td");
|
|
40
|
-
i0.ɵɵtext(16);
|
|
41
|
-
i0.ɵɵpipe(17, "measureFormat");
|
|
42
|
-
i0.ɵɵelementEnd();
|
|
43
|
-
i0.ɵɵelementEnd();
|
|
44
|
-
i0.ɵɵelementStart(18, "tr");
|
|
45
|
-
i0.ɵɵelementStart(19, "td");
|
|
46
|
-
i0.ɵɵtext(20);
|
|
47
|
-
i0.ɵɵpipe(21, "translate");
|
|
48
|
-
i0.ɵɵelementEnd();
|
|
49
|
-
i0.ɵɵelementStart(22, "td");
|
|
50
|
-
i0.ɵɵtext(23);
|
|
51
|
-
i0.ɵɵpipe(24, "measureFormat");
|
|
52
|
-
i0.ɵɵelementEnd();
|
|
53
|
-
i0.ɵɵelementEnd();
|
|
54
|
-
i0.ɵɵelementStart(25, "tr");
|
|
55
|
-
i0.ɵɵelementStart(26, "td");
|
|
56
|
-
i0.ɵɵtext(27);
|
|
57
|
-
i0.ɵɵpipe(28, "translate");
|
|
58
|
-
i0.ɵɵelementEnd();
|
|
59
|
-
i0.ɵɵelementStart(29, "td");
|
|
60
|
-
i0.ɵɵtext(30);
|
|
61
|
-
i0.ɵɵpipe(31, "measureFormat");
|
|
62
|
-
i0.ɵɵelementEnd();
|
|
63
|
-
i0.ɵɵelementEnd();
|
|
64
|
-
i0.ɵɵelementStart(32, "tr");
|
|
65
|
-
i0.ɵɵelementStart(33, "td");
|
|
66
|
-
i0.ɵɵtext(34);
|
|
67
|
-
i0.ɵɵpipe(35, "translate");
|
|
68
|
-
i0.ɵɵelementEnd();
|
|
69
|
-
i0.ɵɵelementStart(36, "td");
|
|
70
|
-
i0.ɵɵtext(37);
|
|
71
|
-
i0.ɵɵpipe(38, "measureFormat");
|
|
72
|
-
i0.ɵɵelementEnd();
|
|
73
|
-
i0.ɵɵelementEnd();
|
|
74
|
-
i0.ɵɵelementEnd();
|
|
75
|
-
i0.ɵɵelementEnd();
|
|
76
|
-
i0.ɵɵelementStart(39, "table");
|
|
77
|
-
i0.ɵɵelementStart(40, "thead");
|
|
78
|
-
i0.ɵɵelementStart(41, "tr");
|
|
79
|
-
i0.ɵɵelementStart(42, "th", 1);
|
|
80
|
-
i0.ɵɵtext(43);
|
|
81
|
-
i0.ɵɵpipe(44, "translate");
|
|
82
|
-
i0.ɵɵelementEnd();
|
|
83
|
-
i0.ɵɵelementEnd();
|
|
84
|
-
i0.ɵɵelementEnd();
|
|
85
|
-
i0.ɵɵelementStart(45, "tbody");
|
|
86
|
-
i0.ɵɵelementStart(46, "tr");
|
|
87
|
-
i0.ɵɵelementStart(47, "td");
|
|
88
|
-
i0.ɵɵtext(48);
|
|
89
|
-
i0.ɵɵpipe(49, "translate");
|
|
90
|
-
i0.ɵɵelementEnd();
|
|
91
|
-
i0.ɵɵelementStart(50, "td");
|
|
92
|
-
i0.ɵɵtext(51);
|
|
93
|
-
i0.ɵɵpipe(52, "measureFormat");
|
|
94
|
-
i0.ɵɵelementEnd();
|
|
95
|
-
i0.ɵɵelementEnd();
|
|
96
|
-
i0.ɵɵelementStart(53, "tr");
|
|
97
|
-
i0.ɵɵelementStart(54, "td");
|
|
98
|
-
i0.ɵɵtext(55);
|
|
99
|
-
i0.ɵɵpipe(56, "translate");
|
|
100
|
-
i0.ɵɵelementEnd();
|
|
101
|
-
i0.ɵɵelementStart(57, "td");
|
|
102
|
-
i0.ɵɵtext(58);
|
|
103
|
-
i0.ɵɵpipe(59, "measureFormat");
|
|
104
|
-
i0.ɵɵelementEnd();
|
|
105
|
-
i0.ɵɵelementEnd();
|
|
106
|
-
i0.ɵɵelementStart(60, "tr");
|
|
107
|
-
i0.ɵɵelementStart(61, "td");
|
|
108
|
-
i0.ɵɵtext(62);
|
|
109
|
-
i0.ɵɵpipe(63, "translate");
|
|
110
|
-
i0.ɵɵelementEnd();
|
|
111
|
-
i0.ɵɵelementStart(64, "td");
|
|
112
|
-
i0.ɵɵtext(65);
|
|
113
|
-
i0.ɵɵpipe(66, "measureFormat");
|
|
114
|
-
i0.ɵɵelementEnd();
|
|
115
|
-
i0.ɵɵelementEnd();
|
|
116
|
-
i0.ɵɵelementStart(67, "tr");
|
|
117
|
-
i0.ɵɵelementStart(68, "td");
|
|
118
|
-
i0.ɵɵtext(69);
|
|
119
|
-
i0.ɵɵpipe(70, "translate");
|
|
120
|
-
i0.ɵɵelementEnd();
|
|
121
|
-
i0.ɵɵelementStart(71, "td");
|
|
122
|
-
i0.ɵɵtext(72);
|
|
123
|
-
i0.ɵɵpipe(73, "measureFormat");
|
|
124
|
-
i0.ɵɵelementEnd();
|
|
125
|
-
i0.ɵɵelementEnd();
|
|
126
|
-
i0.ɵɵelementStart(74, "tr");
|
|
127
|
-
i0.ɵɵelementStart(75, "td");
|
|
128
|
-
i0.ɵɵtext(76);
|
|
129
|
-
i0.ɵɵpipe(77, "translate");
|
|
130
|
-
i0.ɵɵelementEnd();
|
|
131
|
-
i0.ɵɵelementStart(78, "td");
|
|
132
|
-
i0.ɵɵtext(79);
|
|
133
|
-
i0.ɵɵpipe(80, "measureFormat");
|
|
134
|
-
i0.ɵɵelementEnd();
|
|
135
|
-
i0.ɵɵelementEnd();
|
|
136
|
-
i0.ɵɵelementStart(81, "tr");
|
|
137
|
-
i0.ɵɵelementStart(82, "td");
|
|
138
|
-
i0.ɵɵtext(83);
|
|
139
|
-
i0.ɵɵpipe(84, "translate");
|
|
140
|
-
i0.ɵɵelementEnd();
|
|
141
|
-
i0.ɵɵelementStart(85, "td");
|
|
142
|
-
i0.ɵɵtext(86);
|
|
143
|
-
i0.ɵɵpipe(87, "measureFormat");
|
|
144
|
-
i0.ɵɵelementEnd();
|
|
145
|
-
i0.ɵɵelementEnd();
|
|
146
|
-
i0.ɵɵelementEnd();
|
|
147
|
-
i0.ɵɵelementEnd();
|
|
194
|
+
MeasurerDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MeasurerDialogComponent, selectors: [["igo-measurer-dialog"]], decls: 5, vars: 5, consts: [["mat-dialog-title", ""], ["class", "mat-typography", 4, "ngIf"], [1, "mat-typography"], ["colspan", "2"]], template: function MeasurerDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
195
|
+
i0.ɵɵelementStart(0, "h3", 0);
|
|
196
|
+
i0.ɵɵtext(1);
|
|
197
|
+
i0.ɵɵpipe(2, "translate");
|
|
148
198
|
i0.ɵɵelementEnd();
|
|
199
|
+
i0.ɵɵtemplate(3, MeasurerDialogComponent_table_3_Template, 35, 31, "table", 1);
|
|
200
|
+
i0.ɵɵtemplate(4, MeasurerDialogComponent_table_4_Template, 49, 45, "table", 1);
|
|
149
201
|
} if (rf & 2) {
|
|
202
|
+
i0.ɵɵadvance(1);
|
|
203
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 3, "igo.geo.measure.dialog.title"));
|
|
150
204
|
i0.ɵɵadvance(2);
|
|
151
|
-
i0.ɵɵ
|
|
152
|
-
i0.ɵɵadvance(
|
|
153
|
-
i0.ɵɵ
|
|
154
|
-
i0.ɵɵadvance(5);
|
|
155
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 27, "igo.geo.measure.dialog.lengthInMeters"));
|
|
156
|
-
i0.ɵɵadvance(3);
|
|
157
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(17, 29, ctx.data.length, ctx.measureLengthUnit.Meters));
|
|
158
|
-
i0.ɵɵadvance(4);
|
|
159
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(21, 32, "igo.geo.measure.dialog.lengthInKilometers"));
|
|
160
|
-
i0.ɵɵadvance(3);
|
|
161
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(24, 34, ctx.data.length, ctx.measureLengthUnit.Kilometers));
|
|
162
|
-
i0.ɵɵadvance(4);
|
|
163
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(28, 37, "igo.geo.measure.dialog.lengthInMiles"));
|
|
164
|
-
i0.ɵɵadvance(3);
|
|
165
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(31, 39, ctx.data.length, ctx.measureLengthUnit.Miles));
|
|
166
|
-
i0.ɵɵadvance(4);
|
|
167
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(35, 42, "igo.geo.measure.dialog.lengthInFeet"));
|
|
168
|
-
i0.ɵɵadvance(3);
|
|
169
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(38, 44, ctx.data.length, ctx.measureLengthUnit.Feet));
|
|
170
|
-
i0.ɵɵadvance(6);
|
|
171
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(44, 47, "igo.geo.measure.dialog.area.title"));
|
|
172
|
-
i0.ɵɵadvance(5);
|
|
173
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(49, 49, "igo.geo.measure.dialog.areaInSquareMeters"));
|
|
174
|
-
i0.ɵɵadvance(3);
|
|
175
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(52, 51, ctx.data.area, ctx.measureAreaUnit.SquareMeters));
|
|
176
|
-
i0.ɵɵadvance(4);
|
|
177
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(56, 54, "igo.geo.measure.dialog.areaInSquareKilometers"));
|
|
178
|
-
i0.ɵɵadvance(3);
|
|
179
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(59, 56, ctx.data.area, ctx.measureAreaUnit.SquareKilometers));
|
|
180
|
-
i0.ɵɵadvance(4);
|
|
181
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(63, 59, "igo.geo.measure.dialog.areaInSquareMiles"));
|
|
182
|
-
i0.ɵɵadvance(3);
|
|
183
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(66, 61, ctx.data.area, ctx.measureAreaUnit.SquareMiles));
|
|
184
|
-
i0.ɵɵadvance(4);
|
|
185
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(70, 64, "igo.geo.measure.dialog.areaInAcres"));
|
|
186
|
-
i0.ɵɵadvance(3);
|
|
187
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(73, 66, ctx.data.area, ctx.measureAreaUnit.Acres));
|
|
188
|
-
i0.ɵɵadvance(4);
|
|
189
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(77, 69, "igo.geo.measure.dialog.areaInHectares"));
|
|
190
|
-
i0.ɵɵadvance(3);
|
|
191
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(80, 71, ctx.data.area, ctx.measureAreaUnit.Hectares));
|
|
192
|
-
i0.ɵɵadvance(4);
|
|
193
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(84, 74, "igo.geo.measure.dialog.perimeterInMeters"));
|
|
194
|
-
i0.ɵɵadvance(3);
|
|
195
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(87, 76, ctx.data.perimeter, ctx.measureLengthUnit.Meters));
|
|
205
|
+
i0.ɵɵproperty("ngIf", ctx.data.length > 0);
|
|
206
|
+
i0.ɵɵadvance(1);
|
|
207
|
+
i0.ɵɵproperty("ngIf", ctx.data.area > 0);
|
|
196
208
|
} }, styles: ["[_nghost-%COMP%]{font-family:Roboto,\"Helvetica Neue\",sans-serif}h3[_ngcontent-%COMP%]{text-align:center;margin:0}table[_ngcontent-%COMP%]{width:100%;padding:10px}table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child{padding-left:10px}"] });
|
|
197
209
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MeasurerDialogComponent, [{
|
|
198
210
|
type: Component,
|
|
@@ -205,4 +217,4 @@ MeasurerDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Mea
|
|
|
205
217
|
type: Inject,
|
|
206
218
|
args: [MAT_DIALOG_DATA]
|
|
207
219
|
}] }]; }, null); })();
|
|
208
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
220
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVhc3VyZXItZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2dlby9zcmMvbGliL21lYXN1cmUvbWVhc3VyZXIvbWVhc3VyZXItZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2dlby9zcmMvbGliL21lYXN1cmUvbWVhc3VyZXIvbWVhc3VyZXItZGlhbG9nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFF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XG4gICAgPC90cj5cbiAgICA8dHI+XG4gICAgICA8dGQ+e3tkYXRhLmFyZWEgfCBtZWFzdXJlRm9ybWF0OiBtZWFzdXJlQXJlYVVuaXQuU3F1YXJlTWlsZXN9fTwvdGQ+XG4gICAgICA8dGQ+e3snaWdvLmdlby5tZWFzdXJlLmRpYWxvZy5hcmVhSW5TcXVhcmVNaWxlcycgfCB0cmFuc2xhdGV9fTwvdGQ+XG4gICAgPC90cj5cbiAgICA8dHI+XG4gICAgICA8dGQ+e3tkYXRhLmFyZWEgfCBtZWFzdXJlRm9ybWF0OiBtZWFzdXJlQXJlYVVuaXQuQWNyZXN9fTwvdGQ+XG4gICAgICA8dGQ+e3snaWdvLmdlby5tZWFzdXJlLmRpYWxvZy5hcmVhSW5BY3JlcycgfCB0cmFuc2xhdGV9fTwvdGQ+XG4gICAgPC90cj5cbiAgICA8dHI+XG4gICAgICA8dGQ+e3tkYXRhLmFyZWEgfCBtZWFzdXJlRm9ybWF0OiBtZWFzdXJlQXJlYVVuaXQuSGVjdGFyZXN9fTwvdGQ+XG4gICAgICA8dGQ+e3snaWdvLmdlby5tZWFzdXJlLmRpYWxvZy5hcmVhSW5IZWN0YXJlcycgfCB0cmFuc2xhdGV9fTwvdGQ+XG4gICAgPC90cj5cbiAgICA8dHI+XG4gICAgICA8dGQ+e3snaWdvLmdlby5tZWFzdXJlLmRpYWxvZy5wZXJpbWV0ZXJJbk1ldGVycycgfCB0cmFuc2xhdGV9fTwvdGQ+XG4gICAgICA8dGQ+e3tkYXRhLnBlcmltZXRlciB8IG1lYXN1cmVGb3JtYXQ6IG1lYXN1cmVMZW5ndGhVbml0Lk1ldGVyc319PC90ZD5cbiAgICA8L3RyPlxuICA8L3Rib2R5PlxuPC90YWJsZT5cbiJdfQ==
|
|
@@ -10,7 +10,7 @@ import * as i4 from "@angular/common";
|
|
|
10
10
|
import * as i5 from "@angular/material/core";
|
|
11
11
|
import * as i6 from "./measure-format.pipe";
|
|
12
12
|
import * as i7 from "@ngx-translate/core";
|
|
13
|
-
function
|
|
13
|
+
function MeasurerItemComponent_mat_option_8_Template(rf, ctx) { if (rf & 1) {
|
|
14
14
|
i0.ɵɵelementStart(0, "mat-option", 5);
|
|
15
15
|
i0.ɵɵtext(1);
|
|
16
16
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -99,26 +99,31 @@ export class MeasurerItemComponent {
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
MeasurerItemComponent.ɵfac = function MeasurerItemComponent_Factory(t) { return new (t || MeasurerItemComponent)(); };
|
|
102
|
-
MeasurerItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MeasurerItemComponent, selectors: [["igo-measurer-item"]], inputs: { measureType: "measureType", measureUnit: "measureUnit", measure: "measure", auto: "auto", placeholder: "placeholder" }, outputs: { measureUnitChange: "measureUnitChange" }, decls:
|
|
102
|
+
MeasurerItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MeasurerItemComponent, selectors: [["igo-measurer-item"]], inputs: { measureType: "measureType", measureUnit: "measureUnit", measure: "measure", auto: "auto", placeholder: "placeholder" }, outputs: { measureUnitChange: "measureUnitChange" }, decls: 9, vars: 11, consts: [["appearance", "outline", "floatLabel", "always", 1, "measure-field"], ["matInput", "", 3, "readonly", "value"], [1, "unit-field"], [3, "value", "disabled", "selectionChange"], [3, "value", 4, "ngFor", "ngForOf"], [3, "value"]], template: function MeasurerItemComponent_Template(rf, ctx) { if (rf & 1) {
|
|
103
103
|
i0.ɵɵelementStart(0, "mat-form-field", 0);
|
|
104
|
-
i0.ɵɵ
|
|
105
|
-
i0.ɵɵ
|
|
106
|
-
i0.ɵɵpipe(3, "async");
|
|
104
|
+
i0.ɵɵelementStart(1, "mat-label");
|
|
105
|
+
i0.ɵɵtext(2);
|
|
107
106
|
i0.ɵɵelementEnd();
|
|
108
|
-
i0.ɵɵ
|
|
109
|
-
i0.ɵɵ
|
|
110
|
-
i0.ɵɵ
|
|
111
|
-
i0.ɵɵ
|
|
107
|
+
i0.ɵɵelement(3, "input", 1);
|
|
108
|
+
i0.ɵɵpipe(4, "measureFormat");
|
|
109
|
+
i0.ɵɵpipe(5, "async");
|
|
110
|
+
i0.ɵɵelementEnd();
|
|
111
|
+
i0.ɵɵelementStart(6, "mat-form-field", 2);
|
|
112
|
+
i0.ɵɵelementStart(7, "mat-select", 3);
|
|
113
|
+
i0.ɵɵlistener("selectionChange", function MeasurerItemComponent_Template_mat_select_selectionChange_7_listener($event) { return ctx.onMeasureUnitChange($event.value); });
|
|
114
|
+
i0.ɵɵtemplate(8, MeasurerItemComponent_mat_option_8_Template, 3, 4, "mat-option", 4);
|
|
112
115
|
i0.ɵɵelementEnd();
|
|
113
116
|
i0.ɵɵelementEnd();
|
|
114
117
|
} if (rf & 2) {
|
|
118
|
+
i0.ɵɵadvance(2);
|
|
119
|
+
i0.ɵɵtextInterpolate(ctx.placeholder);
|
|
115
120
|
i0.ɵɵadvance(1);
|
|
116
|
-
i0.ɵɵproperty("readonly", true)("
|
|
121
|
+
i0.ɵɵproperty("readonly", true)("value", i0.ɵɵpipeBind2(4, 6, i0.ɵɵpipeBind1(5, 9, ctx.measure$) || 0, ctx.measureUnit));
|
|
117
122
|
i0.ɵɵadvance(4);
|
|
118
123
|
i0.ɵɵproperty("value", ctx.measureUnit)("disabled", ctx.auto);
|
|
119
124
|
i0.ɵɵadvance(1);
|
|
120
125
|
i0.ɵɵproperty("ngForOf", ctx.measureUnits);
|
|
121
|
-
} }, directives: [i1.MatFormField, i2.MatInput, i3.MatSelect, i4.NgForOf, i5.MatOption], pipes: [i6.MeasureFormatPipe, i4.AsyncPipe, i7.TranslatePipe], styles: ["[_nghost-%COMP%]{display:flex;width:100%;padding:5px 10px}.measure-field[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap;width:100%}.unit-field[_ngcontent-%COMP%]{width:
|
|
126
|
+
} }, directives: [i1.MatFormField, i1.MatLabel, i2.MatInput, i3.MatSelect, i4.NgForOf, i5.MatOption], pipes: [i6.MeasureFormatPipe, i4.AsyncPipe, i7.TranslatePipe], styles: ["[_nghost-%COMP%]{display:flex;width:100%;padding:5px 10px}.measure-field[_ngcontent-%COMP%]{pointer-events:none;display:flex;flex-flow:column nowrap;width:100%}.unit-field[_ngcontent-%COMP%]{width:50px;margin-left:10px;margin-top:10px}"], changeDetection: 0 });
|
|
122
127
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MeasurerItemComponent, [{
|
|
123
128
|
type: Component,
|
|
124
129
|
args: [{
|
|
@@ -140,4 +145,4 @@ MeasurerItemComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Measu
|
|
|
140
145
|
}], measureUnitChange: [{
|
|
141
146
|
type: Output
|
|
142
147
|
}] }); })();
|
|
143
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
148
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVhc3VyZXItaXRlbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9nZW8vc3JjL2xpYi9tZWFzdXJlL21lYXN1cmVyL21lYXN1cmVyLWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZ2VvL3NyYy9saWIvbWVhc3VyZS9tZWFzdXJlci9tZWFzdXJlci1pdGVtLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCxTQUFTLEVBQ1QsS0FBSyxFQUNMLE1BQU0sRUFDTixZQUFZLEVBRVosdUJBQXVCLEVBQ3hCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBRSxlQUFlLEVBQWdCLE1BQU0sTUFBTSxDQUFDO0FBRXJELE9BQU8sRUFDTCxXQUF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