@igo2/integration 1.15.4 → 16.0.0-rc.1
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/{esm2020 → esm2022}/igo2-integration.mjs +4 -4
- package/esm2022/lib/about/about-tool/about-tool.component.mjs +205 -0
- package/{esm2020 → esm2022}/lib/about/about-tool/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/about/about.module.mjs +55 -55
- package/{esm2020 → esm2022}/lib/about/index.mjs +2 -2
- package/esm2022/lib/analytics/analytics-listener.service.mjs +156 -0
- package/{esm2020 → esm2022}/lib/analytics/analytics.module.mjs +16 -16
- package/{esm2020 → esm2022}/lib/analytics/index.mjs +2 -2
- package/esm2022/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.mjs +133 -0
- package/esm2022/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.mjs +24 -0
- package/esm2022/lib/catalog/catalog-library-tool/catalog-library-tool.component.mjs +103 -0
- package/esm2022/lib/catalog/catalog-library-tool/catalog-library-tool.module.mjs +24 -0
- package/esm2022/lib/catalog/catalog.module.mjs +19 -0
- package/esm2022/lib/catalog/catalog.state.mjs +58 -0
- package/{esm2020 → esm2022}/lib/catalog/index.mjs +6 -6
- package/esm2022/lib/context/context-editor-tool/context-editor-tool.component.mjs +36 -0
- package/esm2022/lib/context/context-manager-tool/context-manager-tool.component.mjs +51 -0
- package/esm2022/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.mjs +24 -0
- package/esm2022/lib/context/context-share-tool/context-share-tool.component.mjs +43 -0
- package/{esm2020 → esm2022}/lib/context/context.module.mjs +39 -39
- package/esm2022/lib/context/context.state.mjs +96 -0
- package/{esm2020 → esm2022}/lib/context/index.mjs +6 -6
- package/esm2022/lib/directions/directions-tool/directions-tool.component.mjs +116 -0
- package/{esm2020 → esm2022}/lib/directions/directions-tool/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/directions/directions.module.mjs +26 -26
- package/esm2022/lib/directions/directions.state.mjs +69 -0
- package/{esm2020 → esm2022}/lib/directions/index.mjs +3 -3
- package/esm2022/lib/draw/draw.module.mjs +18 -0
- package/esm2022/lib/draw/draw.state.mjs +42 -0
- package/esm2022/lib/draw/drawing-tool/drawing-tool.component.mjs +77 -0
- package/esm2022/lib/draw/drawing-tool/drawing-tool.module.mjs +23 -0
- package/{esm2020 → esm2022}/lib/draw/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.mjs +10 -10
- package/esm2022/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.mjs +46 -0
- package/{esm2020 → esm2022}/lib/filter/active-ogc-filter-tool/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.mjs +10 -10
- package/esm2022/lib/filter/active-time-filter-tool/active-time-filter-tool.component.mjs +46 -0
- package/{esm2020 → esm2022}/lib/filter/active-time-filter-tool/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/filter/filter.module.mjs +51 -51
- package/{esm2020 → esm2022}/lib/filter/index.mjs +6 -6
- package/{esm2020 → esm2022}/lib/filter/ogc-filter-tool/index.mjs +2 -2
- package/esm2022/lib/filter/ogc-filter-tool/ogc-filter-tool.component.mjs +25 -0
- package/{esm2020 → esm2022}/lib/filter/spatial-filter-tool/index.mjs +2 -2
- package/esm2022/lib/filter/spatial-filter-tool/spatial-filter-tool.component.mjs +605 -0
- package/{esm2020 → esm2022}/lib/filter/time-filter-tool/index.mjs +2 -2
- package/esm2022/lib/filter/time-filter-tool/time-filter-tool.component.mjs +25 -0
- package/esm2022/lib/import-export/import-export-tool/import-export-tool.component.mjs +154 -0
- package/{esm2020 → esm2022}/lib/import-export/import-export-tool/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/import-export/import-export.module.mjs +51 -51
- package/esm2022/lib/import-export/import-export.state.mjs +39 -0
- package/{esm2020 → esm2022}/lib/import-export/index.mjs +3 -3
- package/{esm2020 → esm2022}/lib/integration.module.mjs +72 -72
- package/esm2022/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.mjs +524 -0
- package/esm2022/lib/map/advanced-map-tool/advanced-map-tool.component.mjs +92 -0
- package/esm2022/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.mjs +231 -0
- package/{esm2020 → esm2022}/lib/map/advanced-map-tool/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/map/index.mjs +9 -9
- package/esm2022/lib/map/layer-list-tool.state.mjs +40 -0
- package/{esm2020 → esm2022}/lib/map/map-details-tool/index.mjs +2 -2
- package/esm2022/lib/map/map-details-tool/map-details-tool.component.mjs +269 -0
- package/{esm2020 → esm2022}/lib/map/map-legend/index.mjs +2 -2
- package/esm2022/lib/map/map-legend/map-legend-tool.component.mjs +285 -0
- package/{esm2020 → esm2022}/lib/map/map-proximity-tool/index.mjs +2 -2
- package/esm2022/lib/map/map-proximity-tool/map-proximity-tool.component.mjs +220 -0
- package/esm2022/lib/map/map-proximity.state.mjs +180 -0
- package/{esm2020 → esm2022}/lib/map/map-tool/index.mjs +2 -2
- package/esm2022/lib/map/map-tool/map-tool.component.mjs +140 -0
- package/{esm2020 → esm2022}/lib/map/map-tools/index.mjs +2 -2
- package/esm2022/lib/map/map-tools/map-tools.component.mjs +521 -0
- package/esm2022/lib/map/map.module.mjs +168 -0
- package/esm2022/lib/map/map.state.mjs +56 -0
- package/{esm2020 → esm2022}/lib/measure/index.mjs +4 -4
- package/esm2022/lib/measure/measure.module.mjs +18 -0
- package/esm2022/lib/measure/measure.state.mjs +40 -0
- package/esm2022/lib/measure/measurer-tool/measurer-tool.component.mjs +54 -0
- package/{esm2020 → esm2022}/lib/measure/measurer-tool/measurer-tool.module.mjs +23 -25
- package/{esm2020 → esm2022}/lib/print/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/print/print-tool/index.mjs +2 -2
- package/esm2022/lib/print/print-tool/print-tool.component.mjs +35 -0
- package/{esm2020 → esm2022}/lib/print/print.module.mjs +26 -26
- package/{esm2020 → esm2022}/lib/search/index.mjs +7 -7
- package/esm2022/lib/search/query.state.mjs +48 -0
- package/esm2022/lib/search/search-bar/search-bar-binding.directive.mjs +72 -0
- package/{esm2020 → esm2022}/lib/search/search-bar/search-bar.module.mjs +22 -22
- package/esm2022/lib/search/search-results-tool/search-results-tool.component.mjs +631 -0
- package/esm2022/lib/search/search-results-tool/search-results-tool.module.mjs +65 -0
- package/esm2022/lib/search/search.module.mjs +19 -0
- package/esm2022/lib/search/search.state.mjs +145 -0
- package/{esm2020 → esm2022}/lib/storage/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/storage/storage.module.mjs +16 -16
- package/esm2022/lib/storage/storage.state.mjs +25 -0
- package/{esm2020 → esm2022}/lib/tool/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/tool/tool.module.mjs +16 -16
- package/esm2022/lib/tool/tool.state.mjs +56 -0
- package/{esm2020 → esm2022}/lib/workspace/index.mjs +4 -4
- package/esm2022/lib/workspace/shared/edition-actions.service.mjs +74 -0
- package/esm2022/lib/workspace/shared/feature-actions.service.mjs +66 -0
- package/{esm2020 → esm2022}/lib/workspace/shared/index.mjs +3 -3
- package/esm2022/lib/workspace/shared/wfs-actions.service.mjs +76 -0
- package/esm2022/lib/workspace/shared/workspace.utils.mjs +162 -0
- package/{esm2020 → esm2022}/lib/workspace/workspace-button/index.mjs +2 -2
- package/esm2022/lib/workspace/workspace-button/workspace-button.component.mjs +76 -0
- package/esm2022/lib/workspace/workspace.module.mjs +38 -0
- package/esm2022/lib/workspace/workspace.state.mjs +204 -0
- package/{esm2020 → esm2022}/public_api.mjs +35 -35
- package/{fesm2020 → fesm2022}/igo2-integration.mjs +6522 -6139
- package/fesm2022/igo2-integration.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/about/about-tool/about-tool.component.d.ts +34 -34
- package/lib/about/about-tool/index.d.ts +1 -1
- package/lib/about/about.module.d.ts +16 -16
- package/lib/about/index.d.ts +1 -1
- package/lib/analytics/analytics-listener.service.d.ts +33 -33
- package/lib/analytics/analytics.module.d.ts +6 -6
- package/lib/analytics/index.d.ts +1 -1
- package/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.d.ts +57 -57
- package/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.d.ts +12 -12
- package/lib/catalog/catalog-library-tool/catalog-library-tool.component.d.ts +50 -50
- package/lib/catalog/catalog-library-tool/catalog-library-tool.module.d.ts +12 -12
- package/lib/catalog/catalog.module.d.ts +8 -8
- package/lib/catalog/catalog.state.d.ts +37 -37
- package/lib/catalog/index.d.ts +5 -5
- package/lib/context/context-editor-tool/context-editor-tool.component.d.ts +9 -9
- package/lib/context/context-manager-tool/context-manager-tool.component.d.ts +15 -15
- package/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.d.ts +5 -5
- package/lib/context/context-share-tool/context-share-tool.component.d.ts +13 -13
- package/lib/context/context.module.d.ts +11 -11
- package/lib/context/context.state.d.ts +37 -37
- package/lib/context/index.d.ts +5 -5
- package/lib/directions/directions-tool/directions-tool.component.d.ts +54 -54
- package/lib/directions/directions-tool/index.d.ts +1 -1
- package/lib/directions/directions.module.d.ts +10 -10
- package/lib/directions/directions.state.d.ts +28 -28
- package/lib/directions/index.d.ts +2 -2
- package/lib/draw/draw.module.d.ts +8 -8
- package/lib/draw/draw.state.d.ts +16 -16
- package/lib/draw/drawing-tool/drawing-tool.component.d.ts +31 -31
- package/lib/draw/drawing-tool/drawing-tool.module.d.ts +11 -0
- package/lib/draw/index.d.ts +2 -2
- package/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.animation.d.ts +2 -2
- package/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.d.ts +12 -12
- package/lib/filter/active-ogc-filter-tool/index.d.ts +1 -1
- package/lib/filter/active-time-filter-tool/active-time-filter-tool.animation.d.ts +2 -2
- package/lib/filter/active-time-filter-tool/active-time-filter-tool.component.d.ts +12 -12
- package/lib/filter/active-time-filter-tool/index.d.ts +1 -1
- package/lib/filter/filter.module.d.ts +15 -15
- package/lib/filter/index.d.ts +5 -5
- package/lib/filter/ogc-filter-tool/index.d.ts +1 -1
- package/lib/filter/ogc-filter-tool/ogc-filter-tool.component.d.ts +6 -6
- package/lib/filter/spatial-filter-tool/index.d.ts +1 -1
- package/lib/filter/spatial-filter-tool/spatial-filter-tool.component.d.ts +82 -82
- package/lib/filter/time-filter-tool/index.d.ts +1 -1
- package/lib/filter/time-filter-tool/time-filter-tool.component.d.ts +6 -6
- package/lib/import-export/import-export-tool/import-export-tool.component.d.ts +33 -33
- package/lib/import-export/import-export-tool/index.d.ts +1 -1
- package/lib/import-export/import-export.module.d.ts +15 -15
- package/lib/import-export/import-export.state.d.ts +24 -24
- package/lib/import-export/index.d.ts +2 -2
- package/lib/integration.module.d.ts +20 -20
- package/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.d.ts +97 -97
- package/lib/map/advanced-map-tool/advanced-map-tool.component.d.ts +12 -12
- package/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.d.ts +65 -65
- package/lib/map/advanced-map-tool/index.d.ts +1 -1
- package/lib/map/index.d.ts +8 -8
- package/lib/map/layer-list-tool.state.d.ts +19 -19
- package/lib/map/map-details-tool/index.d.ts +1 -1
- package/lib/map/map-details-tool/map-details-tool.component.d.ts +38 -38
- package/lib/map/map-legend/index.d.ts +1 -1
- package/lib/map/map-legend/map-legend-tool.component.d.ts +40 -40
- package/lib/map/map-proximity-tool/index.d.ts +1 -1
- package/lib/map/map-proximity-tool/map-proximity-tool.component.d.ts +36 -36
- package/lib/map/map-proximity.state.d.ts +31 -31
- package/lib/map/map-tool/index.d.ts +1 -1
- package/lib/map/map-tool/map-tool.component.d.ts +27 -27
- package/lib/map/map-tools/index.d.ts +1 -1
- package/lib/map/map-tools/map-tools.component.d.ts +66 -66
- package/lib/map/map.module.d.ts +38 -38
- package/lib/map/map.state.d.ts +24 -24
- package/lib/measure/index.d.ts +3 -3
- package/lib/measure/measure.module.d.ts +7 -7
- package/lib/measure/measure.state.d.ts +16 -16
- package/lib/measure/measurer-tool/measurer-tool.component.d.ts +24 -24
- package/lib/measure/measurer-tool/measurer-tool.module.d.ts +11 -11
- package/lib/print/index.d.ts +1 -1
- package/lib/print/print-tool/index.d.ts +1 -1
- package/lib/print/print-tool/print-tool.component.d.ts +10 -10
- package/lib/print/print.module.d.ts +10 -10
- package/lib/search/index.d.ts +6 -6
- package/lib/search/query.state.d.ts +26 -20
- package/lib/search/search-bar/search-bar-binding.directive.d.ts +20 -20
- package/lib/search/search-bar/search-bar.module.d.ts +11 -11
- package/lib/search/search-results-tool/search-results-tool.component.d.ts +100 -100
- package/lib/search/search-results-tool/search-results-tool.module.d.ts +18 -18
- package/lib/search/search.module.d.ts +8 -8
- package/lib/search/search.state.d.ts +62 -60
- package/lib/storage/index.d.ts +1 -1
- package/lib/storage/storage.module.d.ts +6 -6
- package/lib/storage/storage.state.d.ts +12 -12
- package/lib/tool/index.d.ts +1 -1
- package/lib/tool/tool.module.d.ts +6 -6
- package/lib/tool/tool.state.d.ts +22 -22
- package/lib/workspace/index.d.ts +3 -3
- package/lib/workspace/shared/edition-actions.service.d.ts +28 -26
- package/lib/workspace/shared/feature-actions.service.d.ts +27 -25
- package/lib/workspace/shared/index.d.ts +2 -2
- package/lib/workspace/shared/wfs-actions.service.d.ts +29 -27
- package/lib/workspace/shared/workspace.utils.d.ts +9 -2
- package/lib/workspace/workspace-button/index.d.ts +1 -1
- package/lib/workspace/workspace-button/workspace-button.component.d.ts +21 -21
- package/lib/workspace/workspace.module.d.ts +12 -12
- package/lib/workspace/workspace.state.d.ts +63 -63
- package/locale/en.integration.json +126 -0
- package/locale/fr.integration.json +126 -0
- package/package.json +14 -18
- package/public_api.d.ts +31 -31
- package/esm2020/lib/about/about-tool/about-tool.component.mjs +0 -185
- package/esm2020/lib/analytics/analytics-listener.service.mjs +0 -127
- package/esm2020/lib/catalog/catalog-browser-tool/catalog-browser-tool.component.mjs +0 -113
- package/esm2020/lib/catalog/catalog-browser-tool/catalog-browser-tool.module.mjs +0 -29
- package/esm2020/lib/catalog/catalog-library-tool/catalog-library-tool.component.mjs +0 -89
- package/esm2020/lib/catalog/catalog-library-tool/catalog-library-tool.module.mjs +0 -29
- package/esm2020/lib/catalog/catalog.module.mjs +0 -24
- package/esm2020/lib/catalog/catalog.state.mjs +0 -54
- package/esm2020/lib/context/context-editor-tool/context-editor-tool.component.mjs +0 -34
- package/esm2020/lib/context/context-manager-tool/context-manager-tool.component.mjs +0 -44
- package/esm2020/lib/context/context-permission-manager-tool/context-permission-manager-tool.component.mjs +0 -25
- package/esm2020/lib/context/context-share-tool/context-share-tool.component.mjs +0 -34
- package/esm2020/lib/context/context.state.mjs +0 -88
- package/esm2020/lib/directions/directions-tool/directions-tool.component.mjs +0 -84
- package/esm2020/lib/directions/directions.state.mjs +0 -64
- package/esm2020/lib/draw/draw.module.mjs +0 -21
- package/esm2020/lib/draw/draw.state.mjs +0 -39
- package/esm2020/lib/draw/drawing-tool/drawing-tool.component.mjs +0 -72
- package/esm2020/lib/filter/active-ogc-filter-tool/active-ogc-filter-tool.component.mjs +0 -44
- package/esm2020/lib/filter/active-time-filter-tool/active-time-filter-tool.component.mjs +0 -44
- package/esm2020/lib/filter/ogc-filter-tool/ogc-filter-tool.component.mjs +0 -25
- package/esm2020/lib/filter/spatial-filter-tool/spatial-filter-tool.component.mjs +0 -535
- package/esm2020/lib/filter/time-filter-tool/time-filter-tool.component.mjs +0 -25
- package/esm2020/lib/import-export/import-export-tool/import-export-tool.component.mjs +0 -141
- package/esm2020/lib/import-export/import-export.state.mjs +0 -41
- package/esm2020/lib/map/advanced-map-tool/advanced-coordinates/advanced-coordinates.component.mjs +0 -472
- package/esm2020/lib/map/advanced-map-tool/advanced-map-tool.component.mjs +0 -89
- package/esm2020/lib/map/advanced-map-tool/advanced-swipe/advanced-swipe.component.mjs +0 -218
- package/esm2020/lib/map/layer-list-tool.state.mjs +0 -42
- package/esm2020/lib/map/map-details-tool/map-details-tool.component.mjs +0 -256
- package/esm2020/lib/map/map-legend/map-legend-tool.component.mjs +0 -275
- package/esm2020/lib/map/map-proximity-tool/map-proximity-tool.component.mjs +0 -203
- package/esm2020/lib/map/map-proximity.state.mjs +0 -167
- package/esm2020/lib/map/map-tool/map-tool.component.mjs +0 -130
- package/esm2020/lib/map/map-tools/map-tools.component.mjs +0 -495
- package/esm2020/lib/map/map.module.mjs +0 -144
- package/esm2020/lib/map/map.state.mjs +0 -47
- package/esm2020/lib/measure/measure.module.mjs +0 -20
- package/esm2020/lib/measure/measure.state.mjs +0 -35
- package/esm2020/lib/measure/measurer-tool/measurer-tool.component.mjs +0 -45
- package/esm2020/lib/print/print-tool/print-tool.component.mjs +0 -33
- package/esm2020/lib/search/query.state.mjs +0 -34
- package/esm2020/lib/search/search-bar/search-bar-binding.directive.mjs +0 -61
- package/esm2020/lib/search/search-results-tool/search-results-tool.component.mjs +0 -593
- package/esm2020/lib/search/search-results-tool/search-results-tool.module.mjs +0 -65
- package/esm2020/lib/search/search.module.mjs +0 -24
- package/esm2020/lib/search/search.state.mjs +0 -132
- package/esm2020/lib/storage/storage.state.mjs +0 -23
- package/esm2020/lib/tool/tool.state.mjs +0 -52
- package/esm2020/lib/workspace/shared/edition-actions.service.mjs +0 -156
- package/esm2020/lib/workspace/shared/feature-actions.service.mjs +0 -144
- package/esm2020/lib/workspace/shared/wfs-actions.service.mjs +0 -158
- package/esm2020/lib/workspace/shared/workspace.utils.mjs +0 -7
- package/esm2020/lib/workspace/workspace-button/workspace-button.component.mjs +0 -69
- package/esm2020/lib/workspace/workspace.module.mjs +0 -37
- package/esm2020/lib/workspace/workspace.state.mjs +0 -188
- package/fesm2015/igo2-integration.mjs +0 -6759
- package/fesm2015/igo2-integration.mjs.map +0 -1
- package/fesm2020/igo2-integration.mjs.map +0 -1
- package/ngcc.config.js +0 -3
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { Directive, Self, HostListener } from '@angular/core';
|
|
2
|
+
import { SearchBarComponent } from '@igo2/geo';
|
|
3
|
+
import { SearchState } from '../search.state';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@igo2/geo";
|
|
6
|
+
import * as i2 from "../search.state";
|
|
7
|
+
export class SearchBarBindingDirective {
|
|
8
|
+
component;
|
|
9
|
+
searchState;
|
|
10
|
+
get searchTerm() {
|
|
11
|
+
return this.searchState.searchTerm$.value;
|
|
12
|
+
}
|
|
13
|
+
get searchType() {
|
|
14
|
+
return this.searchState.searchType$.value;
|
|
15
|
+
}
|
|
16
|
+
searchTerm$$;
|
|
17
|
+
searchType$$;
|
|
18
|
+
searchDisabled$$;
|
|
19
|
+
constructor(component, searchState) {
|
|
20
|
+
this.component = component;
|
|
21
|
+
this.searchState = searchState;
|
|
22
|
+
}
|
|
23
|
+
ngOnInit() {
|
|
24
|
+
this.searchTerm$$ = this.searchState.searchTerm$.subscribe((searchTerm) => {
|
|
25
|
+
if (searchTerm !== undefined && searchTerm !== null) {
|
|
26
|
+
this.component.setTerm(searchTerm);
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
this.searchType$$ = this.searchState.searchType$.subscribe((searchType) => {
|
|
30
|
+
if (searchType !== undefined && searchType !== null) {
|
|
31
|
+
this.component.setSearchType(searchType);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
this.searchDisabled$$ = this.searchState.searchDisabled$.subscribe((searchDisabled) => {
|
|
35
|
+
this.component.disabled = searchDisabled;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
ngOnDestroy() {
|
|
39
|
+
this.searchTerm$$.unsubscribe();
|
|
40
|
+
this.searchType$$.unsubscribe();
|
|
41
|
+
this.searchDisabled$$.unsubscribe();
|
|
42
|
+
}
|
|
43
|
+
onSearchTermChange(searchTerm) {
|
|
44
|
+
if (searchTerm !== this.searchTerm) {
|
|
45
|
+
this.searchState.setSearchTerm(searchTerm);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
onSearchTypeChange(searchType) {
|
|
49
|
+
if (searchType !== this.searchType) {
|
|
50
|
+
this.searchState.setSearchType(searchType);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
static ɵfac = function SearchBarBindingDirective_Factory(t) { return new (t || SearchBarBindingDirective)(i0.ɵɵdirectiveInject(i1.SearchBarComponent, 2), i0.ɵɵdirectiveInject(i2.SearchState)); };
|
|
54
|
+
static ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SearchBarBindingDirective, selectors: [["", "igoSearchBarBinding", ""]], hostBindings: function SearchBarBindingDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵlistener("searchTermChange", function SearchBarBindingDirective_searchTermChange_HostBindingHandler($event) { return ctx.onSearchTermChange($event); })("searchTypeChange", function SearchBarBindingDirective_searchTypeChange_HostBindingHandler($event) { return ctx.onSearchTypeChange($event); });
|
|
56
|
+
} } });
|
|
57
|
+
}
|
|
58
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchBarBindingDirective, [{
|
|
59
|
+
type: Directive,
|
|
60
|
+
args: [{
|
|
61
|
+
selector: '[igoSearchBarBinding]'
|
|
62
|
+
}]
|
|
63
|
+
}], function () { return [{ type: i1.SearchBarComponent, decorators: [{
|
|
64
|
+
type: Self
|
|
65
|
+
}] }, { type: i2.SearchState }]; }, { onSearchTermChange: [{
|
|
66
|
+
type: HostListener,
|
|
67
|
+
args: ['searchTermChange', ['$event']]
|
|
68
|
+
}], onSearchTypeChange: [{
|
|
69
|
+
type: HostListener,
|
|
70
|
+
args: ['searchTypeChange', ['$event']]
|
|
71
|
+
}] }); })();
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWJhci1iaW5kaW5nLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2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LnNlYXJjaFN0YXRlLnNlYXJjaERpc2FibGVkJC5zdWJzY3JpYmUoXG4gICAgICAoc2VhcmNoRGlzYWJsZWQ6IGJvb2xlYW4pID0+IHtcbiAgICAgICAgdGhpcy5jb21wb25lbnQuZGlzYWJsZWQgPSBzZWFyY2hEaXNhYmxlZDtcbiAgICAgIH1cbiAgICApO1xuICB9XG5cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgdGhpcy5zZWFyY2hUZXJtJCQudW5zdWJzY3JpYmUoKTtcbiAgICB0aGlzLnNlYXJjaFR5cGUkJC51bnN1YnNjcmliZSgpO1xuICAgIHRoaXMuc2VhcmNoRGlzYWJsZWQkJC51bnN1YnNjcmliZSgpO1xuICB9XG5cbiAgQEhvc3RMaXN0ZW5lcignc2VhcmNoVGVybUNoYW5nZScsIFsnJGV2ZW50J10pXG4gIG9uU2VhcmNoVGVybUNoYW5nZShzZWFyY2hUZXJtPzogc3RyaW5nKSB7XG4gICAgaWYgKHNlYXJjaFRlcm0gIT09IHRoaXMuc2VhcmNoVGVybSkge1xuICAgICAgdGhpcy5zZWFyY2hTdGF0ZS5zZXRTZWFyY2hUZXJtKHNlYXJjaFRlcm0pO1xuICAgIH1cbiAgfVxuXG4gIEBIb3N0TGlzdGVuZXIoJ3NlYXJjaFR5cGVDaGFuZ2UnLCBbJyRldmVudCddKVxuICBvblNlYXJjaFR5cGVDaGFuZ2Uoc2VhcmNoVHlwZT86IHN0cmluZykge1xuICAgIGlmIChzZWFyY2hUeXBlICE9PSB0aGlzLnNlYXJjaFR5cGUpIHtcbiAgICAgIHRoaXMuc2VhcmNoU3RhdGUuc2V0U2VhcmNoVHlwZShzZWFyY2hUeXBlKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { IgoSearchModule } from '@igo2/geo';
|
|
3
|
-
import { SearchBarBindingDirective } from './search-bar-binding.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* @ignore
|
|
7
|
-
*/
|
|
8
|
-
export class IgoAppSearchBarModule {
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppSearchBarModule, [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
imports: [IgoSearchModule],
|
|
17
|
-
declarations: [SearchBarBindingDirective],
|
|
18
|
-
exports: [SearchBarBindingDirective]
|
|
19
|
-
}]
|
|
20
|
-
}], null, null); })();
|
|
21
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoAppSearchBarModule, { declarations: [SearchBarBindingDirective], imports: [IgoSearchModule], exports: [SearchBarBindingDirective] }); })();
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { IgoSearchModule } from '@igo2/geo';
|
|
3
|
+
import { SearchBarBindingDirective } from './search-bar-binding.directive';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* @ignore
|
|
7
|
+
*/
|
|
8
|
+
export class IgoAppSearchBarModule {
|
|
9
|
+
static ɵfac = function IgoAppSearchBarModule_Factory(t) { return new (t || IgoAppSearchBarModule)(); };
|
|
10
|
+
static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: IgoAppSearchBarModule });
|
|
11
|
+
static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [IgoSearchModule] });
|
|
12
|
+
}
|
|
13
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IgoAppSearchBarModule, [{
|
|
14
|
+
type: NgModule,
|
|
15
|
+
args: [{
|
|
16
|
+
imports: [IgoSearchModule],
|
|
17
|
+
declarations: [SearchBarBindingDirective],
|
|
18
|
+
exports: [SearchBarBindingDirective]
|
|
19
|
+
}]
|
|
20
|
+
}], null, null); })();
|
|
21
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(IgoAppSearchBarModule, { declarations: [SearchBarBindingDirective], imports: [IgoSearchModule], exports: [SearchBarBindingDirective] }); })();
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9pbnRlZ3JhdGlvbi9zcmMvbGliL3NlYXJjaC9zZWFyY2gtYmFyL3NlYXJjaC1iYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFekMsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUU1QyxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQzs7QUFFM0U7O0dBRUc7QUFNSCxNQUFNLE9BQU8scUJBQXFCOytFQUFyQixxQkFBcUI7NERBQXJCLHFCQUFxQjtnRUFKdEIsZUFBZTs7dUZBSWQscUJBQXFCO2NBTGpDLFFBQVE7ZUFBQztnQkFDUixPQUFPLEVBQUUsQ0FBQyxlQUFlLENBQUM7Z0JBQzFCLFlBQVksRUFBRSxDQUFDLHlCQUF5QixDQUFDO2dCQUN6QyxPQUFPLEVBQUUsQ0FBQyx5QkFBeUIsQ0FBQzthQUNyQzs7d0ZBQ1kscUJBQXFCLG1CQUhqQix5QkFBeUIsYUFEOUIsZUFBZSxhQUVmLHlCQUF5QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ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