geonetwork-ui 2.2.0-dev.3678ce55 → 2.2.0-dev.42331d67
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/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.mjs +2 -1
- package/esm2022/libs/api/repository/src/index.mjs +2 -1
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/feature/auth/src/lib/feature-auth.module.mjs +2 -2
- package/esm2022/libs/feature/catalog/src/lib/feature-catalog.module.mjs +2 -2
- package/esm2022/libs/feature/catalog/src/lib/organisations/organisations.component.mjs +4 -15
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +5 -4
- package/esm2022/libs/feature/map/src/lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.mjs +106 -0
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.mjs +64 -0
- package/esm2022/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.mjs +63 -0
- package/esm2022/libs/feature/map/src/lib/feature-map.module.mjs +17 -3
- package/esm2022/libs/feature/map/src/lib/geocoding/geocoding.component.mjs +76 -0
- package/esm2022/libs/feature/map/src/lib/layers-panel/layers-panel.component.mjs +6 -3
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +3 -1
- package/esm2022/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.mjs +9 -6
- package/esm2022/libs/feature/search/src/lib/feature-search.module.mjs +2 -2
- package/esm2022/libs/feature/search/src/lib/results-list/results-list.container.component.mjs +1 -1
- package/esm2022/libs/feature/search/src/lib/state/effects.mjs +3 -3
- package/esm2022/libs/feature/search/src/lib/utils/service/fields.mjs +2 -2
- package/esm2022/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.mjs +4 -4
- package/esm2022/libs/ui/catalog/src/lib/organisation-preview/organisation-preview.component.mjs +1 -1
- package/esm2022/libs/ui/elements/src/index.mjs +3 -1
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.mjs +27 -0
- package/esm2022/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.mjs +17 -0
- package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +10 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-info/metadata-info.component.mjs +12 -6
- package/esm2022/libs/ui/elements/src/lib/related-record-card/related-record-card.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/thumbnail/thumbnail.component.mjs +7 -3
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +13 -3
- package/esm2022/libs/ui/inputs/src/lib/button/button.component.mjs +2 -2
- package/esm2022/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.mjs +6 -3
- package/esm2022/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.mjs +3 -3
- package/esm2022/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.mjs +2 -2
- package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +2 -2
- package/esm2022/libs/ui/search/src/lib/record-preview-card/record-preview-card.component.mjs +1 -1
- package/esm2022/libs/ui/search/src/lib/record-preview-feed/record-preview-feed.component.mjs +1 -1
- package/esm2022/libs/ui/search/src/lib/record-preview-list/record-preview-list.component.mjs +1 -1
- package/esm2022/libs/ui/search/src/lib/record-preview-row/record-preview-row.component.mjs +1 -1
- package/esm2022/libs/ui/search/src/lib/record-preview-title/record-preview-title.component.mjs +1 -1
- package/esm2022/libs/util/i18n/src/index.mjs +2 -1
- package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +29 -13
- package/esm2022/libs/util/shared/src/lib/utils/fuzzy-filter.mjs +27 -0
- package/esm2022/libs/util/shared/src/lib/utils/index.mjs +2 -1
- package/esm2022/translations/de.json +102 -87
- package/esm2022/translations/en.json +35 -20
- package/esm2022/translations/es.json +15 -0
- package/esm2022/translations/fr.json +19 -4
- package/esm2022/translations/it.json +27 -12
- package/esm2022/translations/nl.json +15 -0
- package/esm2022/translations/pt.json +15 -0
- package/fesm2022/geonetwork-ui.mjs +698 -217
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.d.ts.map +1 -1
- package/libs/api/repository/src/index.d.ts +1 -0
- package/libs/api/repository/src/index.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +1 -0
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts.map +1 -1
- package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts +0 -1
- package/libs/feature/catalog/src/lib/organisations/organisations.component.d.ts.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +15 -2
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts +22 -0
- package/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.d.ts.map +1 -0
- package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts +22 -0
- package/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.d.ts.map +1 -0
- package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts +22 -0
- package/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.d.ts.map +1 -0
- package/libs/feature/map/src/lib/feature-map.module.d.ts +16 -12
- package/libs/feature/map/src/lib/feature-map.module.d.ts.map +1 -1
- package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts +20 -0
- package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -0
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts +1 -0
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
- package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts +3 -2
- package/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/state/effects.d.ts +1 -1
- package/libs/feature/search/src/lib/state/effects.d.ts.map +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.d.ts +1 -1
- package/libs/feature/search/src/lib/utils/service/fields.d.ts.map +1 -1
- package/libs/ui/elements/src/index.d.ts +2 -0
- package/libs/ui/elements/src/index.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/downloads-list/downloads-list.component.d.ts +1 -1
- package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts +10 -0
- package/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts +8 -0
- package/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.d.ts.map +1 -0
- package/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.d.ts +1 -0
- package/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts +1 -0
- package/libs/ui/elements/src/lib/metadata-info/metadata-info.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts +3 -2
- package/libs/ui/elements/src/lib/thumbnail/thumbnail.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +13 -11
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.d.ts.map +1 -1
- package/libs/util/i18n/src/index.d.ts +1 -0
- package/libs/util/i18n/src/index.d.ts.map +1 -1
- package/libs/util/shared/src/lib/links/link-utils.d.ts +19 -7
- package/libs/util/shared/src/lib/links/link-utils.d.ts.map +1 -1
- package/libs/util/shared/src/lib/utils/fuzzy-filter.d.ts +9 -0
- package/libs/util/shared/src/lib/utils/fuzzy-filter.d.ts.map +1 -0
- package/libs/util/shared/src/lib/utils/index.d.ts +1 -0
- package/libs/util/shared/src/lib/utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.metadata.mapper.ts +1 -0
- package/src/libs/api/repository/src/index.ts +1 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +1 -0
- package/src/libs/feature/auth/src/lib/feature-auth.module.ts +1 -1
- package/src/libs/feature/catalog/src/lib/feature-catalog.module.ts +1 -1
- package/src/libs/feature/catalog/src/lib/organisations/organisations.component.ts +3 -17
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +8 -5
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.css +0 -0
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.html +21 -0
- package/src/libs/feature/map/src/lib/add-layer-from-file/add-layer-from-file.component.ts +107 -0
- package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.css +0 -0
- package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.html +37 -0
- package/src/libs/feature/map/src/lib/add-layer-from-wfs/add-layer-from-wfs.component.ts +64 -0
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.css +0 -0
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.html +55 -0
- package/src/libs/feature/map/src/lib/add-layer-from-wms/add-layer-from-wms.component.ts +63 -0
- package/src/libs/feature/map/src/lib/feature-map.module.ts +9 -0
- package/src/libs/feature/map/src/lib/geocoding/geocoding.component.css +0 -0
- package/src/libs/feature/map/src/lib/geocoding/geocoding.component.html +39 -0
- package/src/libs/feature/map/src/lib/geocoding/geocoding.component.ts +83 -0
- package/src/libs/feature/map/src/lib/layers-panel/layers-panel.component.html +9 -3
- package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +6 -0
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.html +12 -4
- package/src/libs/feature/search/src/lib/favorites/favorite-star/favorite-star.component.ts +2 -4
- package/src/libs/feature/search/src/lib/feature-search.module.ts +1 -1
- package/src/libs/feature/search/src/lib/state/effects.ts +1 -1
- package/src/libs/feature/search/src/lib/utils/service/fields.ts +1 -1
- package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.html +1 -0
- package/src/libs/ui/catalog/src/lib/language-switcher/language-switcher.component.ts +1 -1
- package/src/libs/ui/elements/src/index.ts +2 -0
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.html +4 -1
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.css +0 -0
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.html +29 -0
- package/src/libs/ui/elements/src/lib/image-overlay-preview/image-overlay-preview.component.ts +15 -0
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.css +264 -0
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.html +1 -0
- package/src/libs/ui/elements/src/lib/markdown-parser/markdown-parser.component.ts +16 -0
- package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +93 -27
- package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.ts +7 -0
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.css +4 -0
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.html +59 -32
- package/src/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +5 -0
- package/src/libs/ui/elements/src/lib/related-record-card/related-record-card.component.html +1 -1
- package/src/libs/ui/elements/src/lib/thumbnail/thumbnail.component.ts +4 -0
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +6 -0
- package/src/libs/ui/inputs/src/lib/button/button.component.css +1 -1
- package/src/libs/ui/inputs/src/lib/dropdown-multiselect/dropdown-multiselect.component.ts +7 -4
- package/src/libs/ui/inputs/src/lib/navigation-button/navigation-button.component.html +8 -3
- package/src/libs/ui/inputs/src/lib/star-toggle/star-toggle.component.css +1 -0
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +1 -1
- package/src/libs/util/i18n/src/index.ts +1 -0
- package/src/libs/util/shared/src/lib/links/link-utils.ts +34 -11
- package/src/libs/util/shared/src/lib/utils/fuzzy-filter.ts +32 -0
- package/src/libs/util/shared/src/lib/utils/index.ts +1 -0
- package/translations/de.json +102 -87
- package/translations/en.json +35 -20
- package/translations/es.json +15 -0
- package/translations/fr.json +19 -4
- package/translations/it.json +27 -12
- package/translations/nl.json +15 -0
- package/translations/pt.json +15 -0
- package/translations/sk.json +15 -0
|
@@ -30,47 +30,59 @@ export declare const FORMATS: {
|
|
|
30
30
|
readonly color: "#328556";
|
|
31
31
|
readonly mimeTypes: readonly ["x-gis/x-shapefile"];
|
|
32
32
|
};
|
|
33
|
+
readonly gml: {
|
|
34
|
+
readonly extensions: readonly ["gml"];
|
|
35
|
+
readonly priority: 5;
|
|
36
|
+
readonly color: "#c92bce";
|
|
37
|
+
readonly mimeTypes: readonly ["application/gml+xml", "text/xml; subtype=gml"];
|
|
38
|
+
};
|
|
33
39
|
readonly kml: {
|
|
34
40
|
readonly extensions: readonly ["kml", "kmz"];
|
|
35
|
-
readonly priority:
|
|
41
|
+
readonly priority: 6;
|
|
36
42
|
readonly color: "#348009";
|
|
37
43
|
readonly mimeTypes: readonly ["application/vnd.google-earth.kml+xml", "application/vnd.google-earth.kmz"];
|
|
38
44
|
};
|
|
39
45
|
readonly gpkg: {
|
|
40
46
|
readonly extensions: readonly ["gpkg", "geopackage"];
|
|
41
|
-
readonly priority:
|
|
47
|
+
readonly priority: 7;
|
|
42
48
|
readonly color: "#ea79ba";
|
|
43
49
|
readonly mimeTypes: readonly ["application/geopackage+sqlite3"];
|
|
44
50
|
};
|
|
45
51
|
readonly zip: {
|
|
46
52
|
readonly extensions: readonly ["zip", "tar.gz"];
|
|
47
|
-
readonly priority:
|
|
53
|
+
readonly priority: 8;
|
|
48
54
|
readonly color: "#f2bb3a";
|
|
49
55
|
readonly mimeTypes: readonly ["application/zip", "application/x-zip"];
|
|
50
56
|
};
|
|
51
57
|
readonly pdf: {
|
|
52
58
|
readonly extensions: readonly ["pdf"];
|
|
53
|
-
readonly priority:
|
|
59
|
+
readonly priority: 9;
|
|
54
60
|
readonly color: "#db544a";
|
|
55
61
|
readonly mimeTypes: readonly ["application/pdf"];
|
|
56
62
|
};
|
|
57
63
|
readonly jpg: {
|
|
58
64
|
readonly extensions: readonly ["jpg", "jpeg", "jfif", "pjpeg", "pjp"];
|
|
59
|
-
readonly priority:
|
|
65
|
+
readonly priority: 9;
|
|
60
66
|
readonly color: "#673ab7";
|
|
61
67
|
readonly mimeTypes: readonly ["image/jpg"];
|
|
62
68
|
};
|
|
63
69
|
readonly svg: {
|
|
64
70
|
readonly extensions: readonly ["svg"];
|
|
65
|
-
readonly priority:
|
|
71
|
+
readonly priority: 10;
|
|
66
72
|
readonly color: "#d98294";
|
|
67
73
|
readonly mimeTypes: readonly ["image/svg+xml"];
|
|
68
74
|
};
|
|
75
|
+
readonly dxf: {
|
|
76
|
+
readonly extensions: readonly ["dxf"];
|
|
77
|
+
readonly priority: 11;
|
|
78
|
+
readonly color: "#de630b";
|
|
79
|
+
readonly mimeTypes: readonly ["application/x-dxf", "image/x-dxf"];
|
|
80
|
+
};
|
|
69
81
|
};
|
|
70
82
|
export type FileFormat = keyof typeof FORMATS;
|
|
71
83
|
export declare function getFormatPriority(linkFormat: FileFormat): number;
|
|
72
84
|
export declare function getLinkPriority(link: DatasetDistribution): number;
|
|
73
|
-
export declare function
|
|
85
|
+
export declare function getFileFormatFromServiceOutput(serviceOutput: string): FileFormat | null;
|
|
74
86
|
export declare function getFileFormat(link: DatasetDistribution): FileFormat;
|
|
75
87
|
export declare function isFormatInQueryParam(link: DatasetDistribution, alias: string): boolean;
|
|
76
88
|
export declare function mimeTypeToFormat(mimeType: string): FileFormat;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAA;AAI/F,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"link-utils.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/links/link-utils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAA;AAI/F,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2FV,CAAA;AAEV,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,OAAO,CAAA;AAE7C,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAUhE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM,CAEjE;AAED,wBAAgB,8BAA8B,CAC5C,aAAa,EAAE,MAAM,GACpB,UAAU,GAAG,IAAI,CAgBnB;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,mBAAmB,GAAG,UAAU,CAcnE;AAED,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,mBAAmB,EACzB,KAAK,EAAE,MAAM,GACZ,OAAO,CAQT;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU,CAO7D;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,mBAAmB,EACzB,MAAM,EAAE,UAAU,GACjB,OAAO,CAMT;AAED,wBAAgB,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAQ5D;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,mBAAmB,GAAG,MAAM,CA0B9D;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAEtE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type FuzzyFilter = (input: string) => boolean;
|
|
2
|
+
/**
|
|
3
|
+
* This creates a filter function based on a pattern (typically a user-input
|
|
4
|
+
* search text).
|
|
5
|
+
* @param pattern
|
|
6
|
+
*/
|
|
7
|
+
export declare function createFuzzyFilter(pattern: string): FuzzyFilter;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=fuzzy-filter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fuzzy-filter.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/fuzzy-filter.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAA;AAkB7C;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAQ9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/util/shared/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,OAAO,CAAA;AACrB,cAAc,SAAS,CAAA;AACvB,cAAc,gBAAgB,CAAA"}
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
OrganizationsFromGroupsService,
|
|
21
21
|
OrganizationsFromMetadataService,
|
|
22
22
|
OrganizationsStrategy,
|
|
23
|
-
} from '../../../../../libs/api/repository/src
|
|
23
|
+
} from '../../../../../libs/api/repository/src'
|
|
24
24
|
import { PlatformServiceInterface } from '../../../../../libs/common/domain/src/lib/platform.service.interface'
|
|
25
25
|
|
|
26
26
|
// expects the replacement key ${name}
|
|
@@ -13,6 +13,7 @@ import { map, startWith, tap } from 'rxjs/operators'
|
|
|
13
13
|
import { ORGANIZATION_URL_TOKEN } from '../feature-catalog.module'
|
|
14
14
|
import { OrganizationsServiceInterface } from '../../../../../../libs/common/domain/src/lib/organizations.service.interface'
|
|
15
15
|
import { SortByField } from '../../../../../../libs/common/domain/src/lib/model/search'
|
|
16
|
+
import { createFuzzyFilter } from '../../../../../../libs/util/shared/src'
|
|
16
17
|
|
|
17
18
|
@Component({
|
|
18
19
|
selector: 'gn-ui-organisations',
|
|
@@ -84,23 +85,8 @@ export class OrganisationsComponent {
|
|
|
84
85
|
|
|
85
86
|
private filterOrganisations(organisations: Organization[], filterBy: string) {
|
|
86
87
|
if (!filterBy) return organisations
|
|
87
|
-
const
|
|
88
|
-
|
|
89
|
-
.replace(/[^a-z0-9\s]/g, ' ') //ignore special characters (also without spaces like l')
|
|
90
|
-
.replace(/\s(?=.)/g, '.*') //replace whitespaces by "AND" separator
|
|
91
|
-
.replace(/\s/g, ''), //remove potential whitespaces left
|
|
92
|
-
'i'
|
|
93
|
-
)
|
|
94
|
-
return [...organisations].filter((org) => {
|
|
95
|
-
return this.normalizeString(org.name).match(filterRegex)
|
|
96
|
-
})
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private normalizeString(str: string) {
|
|
100
|
-
return str
|
|
101
|
-
.normalize('NFD')
|
|
102
|
-
.replace(/[\u0300-\u036f]/g, '')
|
|
103
|
-
.toLowerCase()
|
|
88
|
+
const filter = createFuzzyFilter(filterBy)
|
|
89
|
+
return organisations.filter((org) => filter(org.name))
|
|
104
90
|
}
|
|
105
91
|
|
|
106
92
|
private sortOrganisations(
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
SupportedTypes,
|
|
10
10
|
} from '../../../../../../libs/util/data-fetcher/src'
|
|
11
11
|
import {
|
|
12
|
-
extensionToFormat,
|
|
13
12
|
getFileFormat,
|
|
13
|
+
getFileFormatFromServiceOutput,
|
|
14
14
|
getMimeTypeForFormat,
|
|
15
15
|
ProxyService,
|
|
16
16
|
} from '../../../../../../libs/util/shared/src'
|
|
@@ -45,7 +45,7 @@ interface WfsDownloadUrls {
|
|
|
45
45
|
export class DataService {
|
|
46
46
|
constructor(private proxy: ProxyService) {}
|
|
47
47
|
|
|
48
|
-
|
|
48
|
+
getDownloadUrlsFromWfs(
|
|
49
49
|
wfsUrl: string,
|
|
50
50
|
featureTypeName: string
|
|
51
51
|
): Observable<WfsDownloadUrls> {
|
|
@@ -120,7 +120,7 @@ export class DataService {
|
|
|
120
120
|
)
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
|
|
123
|
+
getDownloadUrlFromEsriRest(apiUrl: string, format: string): string {
|
|
124
124
|
return this.proxy.getProxiedUrl(
|
|
125
125
|
`${apiUrl}/query?f=${format}&where=1=1&outFields=*`
|
|
126
126
|
)
|
|
@@ -138,8 +138,11 @@ export class DataService {
|
|
|
138
138
|
map((urls) =>
|
|
139
139
|
Object.keys(urls).map((format) => ({
|
|
140
140
|
...wfsLink,
|
|
141
|
+
type: 'download',
|
|
141
142
|
url: new URL(urls[format]),
|
|
142
|
-
mimeType: getMimeTypeForFormat(
|
|
143
|
+
mimeType: getMimeTypeForFormat(
|
|
144
|
+
getFileFormatFromServiceOutput(format)
|
|
145
|
+
),
|
|
143
146
|
}))
|
|
144
147
|
)
|
|
145
148
|
)
|
|
@@ -153,7 +156,7 @@ export class DataService {
|
|
|
153
156
|
url: new URL(
|
|
154
157
|
this.getDownloadUrlFromEsriRest(esriRestLink.url.toString(), format)
|
|
155
158
|
),
|
|
156
|
-
mimeType: getMimeTypeForFormat(
|
|
159
|
+
mimeType: getMimeTypeForFormat(getFileFormatFromServiceOutput(format)),
|
|
157
160
|
}))
|
|
158
161
|
}
|
|
159
162
|
|
|
File without changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<div class="flex flex-col gap-2 my-2">
|
|
2
|
+
<div class="flex items-center gap-4">
|
|
3
|
+
<div class="flex-grow rounded-md border-2 border-gray-200">
|
|
4
|
+
<gn-ui-drag-and-drop-file-input
|
|
5
|
+
(fileChange)="handleFileChange($event)"
|
|
6
|
+
[accept]="acceptedMimeType.join(',')"
|
|
7
|
+
[placeholder]="'map.addFromFile.placeholder' | translate"
|
|
8
|
+
class="placeholder-grey"
|
|
9
|
+
></gn-ui-drag-and-drop-file-input>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
<p class="text-sm text-gray-600" translate>map.help.addFromFile</p>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
<div *ngIf="errorMessage" class="text-red-500 mt-2">
|
|
16
|
+
{{ errorMessage }}
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div *ngIf="successMessage" class="text-green-500 mt-2">
|
|
20
|
+
{{ successMessage }}
|
|
21
|
+
</div>
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Component } from '@angular/core'
|
|
2
|
+
import { MapContextLayerModel } from '../map-context/map-context.model'
|
|
3
|
+
import { MapFacade } from '../+state/map.facade'
|
|
4
|
+
|
|
5
|
+
const INVALID_FILE_FORMAT_ERROR_MESSAGE = 'Invalid file format'
|
|
6
|
+
|
|
7
|
+
@Component({
|
|
8
|
+
selector: 'gn-ui-add-layer-from-file',
|
|
9
|
+
templateUrl: './add-layer-from-file.component.html',
|
|
10
|
+
styleUrls: ['./add-layer-from-file.component.css'],
|
|
11
|
+
})
|
|
12
|
+
export class AddLayerFromFileComponent {
|
|
13
|
+
errorMessage: string | null = null
|
|
14
|
+
successMessage: string | null = null
|
|
15
|
+
loading = false
|
|
16
|
+
readonly acceptedMimeType = ['.geojson']
|
|
17
|
+
readonly maxFileSize = 5000000
|
|
18
|
+
|
|
19
|
+
constructor(
|
|
20
|
+
private mapFacade: MapFacade,
|
|
21
|
+
private changeDetectorRef: ChangeDetectorRef
|
|
22
|
+
) {}
|
|
23
|
+
|
|
24
|
+
async handleFileChange(file: File) {
|
|
25
|
+
if (!file) {
|
|
26
|
+
this.displayMessage(INVALID_FILE_FORMAT_ERROR_MESSAGE, 'error')
|
|
27
|
+
return
|
|
28
|
+
}
|
|
29
|
+
if (file.size > this.maxFileSize) {
|
|
30
|
+
this.displayMessage('File size exceeds the limit of 5MB', 'error')
|
|
31
|
+
return
|
|
32
|
+
}
|
|
33
|
+
await this.addLayer(file)
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
private async addLayer(file: File) {
|
|
37
|
+
this.errorMessage = null
|
|
38
|
+
this.loading = true
|
|
39
|
+
try {
|
|
40
|
+
if (!this.isFileFormatValid(file)) {
|
|
41
|
+
this.displayMessage(INVALID_FILE_FORMAT_ERROR_MESSAGE, 'error')
|
|
42
|
+
return
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const fileExtension = this.getFileExtension(file)
|
|
46
|
+
switch (fileExtension) {
|
|
47
|
+
case 'geojson':
|
|
48
|
+
await this.addGeoJsonLayer(file)
|
|
49
|
+
break
|
|
50
|
+
default:
|
|
51
|
+
this.displayMessage(INVALID_FILE_FORMAT_ERROR_MESSAGE, 'error')
|
|
52
|
+
break
|
|
53
|
+
}
|
|
54
|
+
} catch (error) {
|
|
55
|
+
const err = error as Error
|
|
56
|
+
this.displayMessage('Error loading file: ' + err.message, 'error')
|
|
57
|
+
} finally {
|
|
58
|
+
this.loading = false
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
private addGeoJsonLayer(file: File) {
|
|
63
|
+
return new Promise<void>((resolve, reject) => {
|
|
64
|
+
try {
|
|
65
|
+
const reader = new FileReader()
|
|
66
|
+
reader.onload = () => {
|
|
67
|
+
const result = reader.result as string
|
|
68
|
+
const title = file.name.split('.').slice(0, -1).join('.')
|
|
69
|
+
const layerToAdd: MapContextLayerModel = {
|
|
70
|
+
type: 'geojson',
|
|
71
|
+
data: result,
|
|
72
|
+
}
|
|
73
|
+
this.mapFacade.addLayer({ ...layerToAdd, title: title })
|
|
74
|
+
this.displayMessage('File successfully added to map', 'success')
|
|
75
|
+
resolve()
|
|
76
|
+
}
|
|
77
|
+
reader.onerror = reject
|
|
78
|
+
reader.readAsText(file)
|
|
79
|
+
} catch (error) {
|
|
80
|
+
reject(error)
|
|
81
|
+
}
|
|
82
|
+
})
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
private isFileFormatValid(file: File): boolean {
|
|
86
|
+
const fileExtension = this.getFileExtension(file)
|
|
87
|
+
return this.acceptedMimeType.includes(`.${fileExtension}`)
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
private getFileExtension(file: File): string | undefined {
|
|
91
|
+
return file.name.split('.').pop()
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
private displayMessage(message: string, type: 'success' | 'error') {
|
|
95
|
+
if (type === 'success') {
|
|
96
|
+
this.successMessage = message
|
|
97
|
+
} else if (type === 'error') {
|
|
98
|
+
this.errorMessage = message
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
setTimeout(() => {
|
|
102
|
+
this.successMessage = null
|
|
103
|
+
this.errorMessage = null
|
|
104
|
+
this.changeDetectorRef.detectChanges()
|
|
105
|
+
}, 5000)
|
|
106
|
+
}
|
|
107
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<div class="flex items-center mb-5">
|
|
2
|
+
<gn-ui-text-input
|
|
3
|
+
[(value)]="wfsUrl"
|
|
4
|
+
(valueChange)="urlChange.next($event)"
|
|
5
|
+
[hint]="'map.wfs.urlInput.hint' | translate"
|
|
6
|
+
class="w-96"
|
|
7
|
+
>
|
|
8
|
+
</gn-ui-text-input>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<div *ngIf="errorMessage" class="text-red-500 mt-2">
|
|
12
|
+
{{ errorMessage }}
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
<div *ngIf="loading">
|
|
16
|
+
<p class="loading-message" translate>map.loading.service</p>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div *ngIf="!loading && layers.length > 0">
|
|
20
|
+
<h2 class="font-bold" translate>map.layers.available</h2>
|
|
21
|
+
<ng-container *ngFor="let layer of layers">
|
|
22
|
+
<div class="flex items-center justify-between my-2 layer-item-tree">
|
|
23
|
+
<p class="max-w-xs overflow-hidden overflow-ellipsis whitespace-nowrap">
|
|
24
|
+
{{ layer.title }}
|
|
25
|
+
</p>
|
|
26
|
+
<gn-ui-button
|
|
27
|
+
*ngIf="layer.name"
|
|
28
|
+
class="layer-add-btn"
|
|
29
|
+
type="primary"
|
|
30
|
+
(buttonClick)="addLayer(layer)"
|
|
31
|
+
extraClass="text-sm !px-2 !py-1"
|
|
32
|
+
translate
|
|
33
|
+
><span translate> map.layer.add </span></gn-ui-button
|
|
34
|
+
>
|
|
35
|
+
</div>
|
|
36
|
+
</ng-container>
|
|
37
|
+
</div>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Component, OnInit } from '@angular/core'
|
|
2
|
+
import { WfsEndpoint, WfsFeatureTypeBrief } from '@camptocamp/ogc-client'
|
|
3
|
+
import { Subject } from 'rxjs'
|
|
4
|
+
import {
|
|
5
|
+
MapContextLayerModel,
|
|
6
|
+
MapContextLayerTypeEnum,
|
|
7
|
+
} from '../map-context/map-context.model'
|
|
8
|
+
import { MapFacade } from '../+state/map.facade'
|
|
9
|
+
import { debounceTime } from 'rxjs/operators'
|
|
10
|
+
|
|
11
|
+
@Component({
|
|
12
|
+
selector: 'gn-ui-add-layer-from-wfs',
|
|
13
|
+
templateUrl: './add-layer-from-wfs.component.html',
|
|
14
|
+
styleUrls: ['./add-layer-from-wfs.component.css'],
|
|
15
|
+
})
|
|
16
|
+
export class AddLayerFromWfsComponent implements OnInit {
|
|
17
|
+
wfsUrl = ''
|
|
18
|
+
loading = false
|
|
19
|
+
layers: WfsFeatureTypeBrief[] = []
|
|
20
|
+
wfsEndpoint: WfsEndpoint | null = null
|
|
21
|
+
urlChange = new Subject<string>()
|
|
22
|
+
errorMessage: string | null = null
|
|
23
|
+
|
|
24
|
+
constructor(
|
|
25
|
+
private mapFacade: MapFacade,
|
|
26
|
+
private changeDetectorRef: ChangeDetectorRef
|
|
27
|
+
) {}
|
|
28
|
+
|
|
29
|
+
ngOnInit() {
|
|
30
|
+
this.urlChange.pipe(debounceTime(700)).subscribe(() => this.loadLayers())
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
async loadLayers() {
|
|
34
|
+
this.errorMessage = null
|
|
35
|
+
try {
|
|
36
|
+
this.loading = true
|
|
37
|
+
|
|
38
|
+
if (this.wfsUrl.trim() === '') {
|
|
39
|
+
this.layers = []
|
|
40
|
+
return
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
this.wfsEndpoint = await new WfsEndpoint(this.wfsUrl).isReady()
|
|
44
|
+
this.layers = this.wfsEndpoint.getFeatureTypes()
|
|
45
|
+
console.log(this.layers)
|
|
46
|
+
} catch (error) {
|
|
47
|
+
const err = error as Error
|
|
48
|
+
this.layers = []
|
|
49
|
+
this.errorMessage = 'Error loading layers: ' + err.message
|
|
50
|
+
} finally {
|
|
51
|
+
this.loading = false
|
|
52
|
+
this.changeDetectorRef.markForCheck()
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
addLayer(layer: WfsFeatureTypeBrief) {
|
|
57
|
+
const layerToAdd: MapContextLayerModel = {
|
|
58
|
+
name: layer.name,
|
|
59
|
+
url: this.wfsUrl.toString(),
|
|
60
|
+
type: MapContextLayerTypeEnum.WFS,
|
|
61
|
+
}
|
|
62
|
+
this.mapFacade.addLayer({ ...layerToAdd, title: layer.title })
|
|
63
|
+
}
|
|
64
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<div class="flex items-center mb-5">
|
|
2
|
+
<gn-ui-text-input
|
|
3
|
+
[(value)]="wmsUrl"
|
|
4
|
+
(valueChange)="urlChange.next($event)"
|
|
5
|
+
[hint]="'map.wms.urlInput.hint' | translate"
|
|
6
|
+
class="w-96"
|
|
7
|
+
>
|
|
8
|
+
</gn-ui-text-input>
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<div *ngIf="errorMessage" class="text-red-500 mt-2">
|
|
12
|
+
{{ errorMessage }}
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
<div *ngIf="loading">
|
|
16
|
+
<p class="loading-message" translate>map.loading.service</p>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div *ngIf="!loading && layers.length > 0">
|
|
20
|
+
<h2 class="font-bold" translate>map.layers.available</h2>
|
|
21
|
+
<ng-container
|
|
22
|
+
*ngFor="let layer of layers"
|
|
23
|
+
[ngTemplateOutlet]="layerTreeItem"
|
|
24
|
+
[ngTemplateOutletContext]="{
|
|
25
|
+
layer: layer
|
|
26
|
+
}"
|
|
27
|
+
></ng-container>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<ng-template #layerTreeItem let-layer="layer">
|
|
31
|
+
<div class="flex items-center justify-between layer-tree-item my-2">
|
|
32
|
+
<p class="max-w-xs overflow-hidden overflow-ellipsis whitespace-nowrap">
|
|
33
|
+
{{ layer.title }}
|
|
34
|
+
</p>
|
|
35
|
+
<gn-ui-button
|
|
36
|
+
*ngIf="layer.name"
|
|
37
|
+
class="layer-add-btn"
|
|
38
|
+
type="primary"
|
|
39
|
+
(buttonClick)="addLayer(layer)"
|
|
40
|
+
extraClass="text-sm !px-2 !py-1"
|
|
41
|
+
translate
|
|
42
|
+
><span translate> map.layer.add </span></gn-ui-button
|
|
43
|
+
>
|
|
44
|
+
</div>
|
|
45
|
+
<div *ngIf="layer.children?.length > 0" class="ml-4">
|
|
46
|
+
<ng-container
|
|
47
|
+
*ngFor="let child of layer.children"
|
|
48
|
+
[ngTemplateOutlet]="layerTreeItem"
|
|
49
|
+
[ngTemplateOutletContext]="{
|
|
50
|
+
layer: child
|
|
51
|
+
}"
|
|
52
|
+
>
|
|
53
|
+
</ng-container>
|
|
54
|
+
</div>
|
|
55
|
+
</ng-template>
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Component, ChangeDetectorRef, OnInit } from '@angular/core'
|
|
2
|
+
import { WmsEndpoint, WmsLayerSummary } from '@camptocamp/ogc-client'
|
|
3
|
+
import { MapFacade } from '../+state/map.facade'
|
|
4
|
+
import {
|
|
5
|
+
MapContextLayerModel,
|
|
6
|
+
MapContextLayerTypeEnum,
|
|
7
|
+
} from '../map-context/map-context.model'
|
|
8
|
+
import { Subject } from 'rxjs'
|
|
9
|
+
import { debounceTime } from 'rxjs/operators'
|
|
10
|
+
|
|
11
|
+
@Component({
|
|
12
|
+
selector: 'gn-ui-add-layer-from-wms',
|
|
13
|
+
templateUrl: './add-layer-from-wms.component.html',
|
|
14
|
+
styleUrls: ['./add-layer-from-wms.component.css'],
|
|
15
|
+
})
|
|
16
|
+
export class AddLayerFromWmsComponent implements OnInit {
|
|
17
|
+
wmsUrl = ''
|
|
18
|
+
loading = false
|
|
19
|
+
layers: WmsLayerSummary[] = []
|
|
20
|
+
wmsEndpoint: WmsEndpoint | null = null
|
|
21
|
+
urlChange = new Subject<string>()
|
|
22
|
+
errorMessage: string | null = null
|
|
23
|
+
|
|
24
|
+
constructor(
|
|
25
|
+
private mapFacade: MapFacade,
|
|
26
|
+
private changeDetectorRef: ChangeDetectorRef
|
|
27
|
+
) {}
|
|
28
|
+
|
|
29
|
+
ngOnInit() {
|
|
30
|
+
this.urlChange.pipe(debounceTime(700)).subscribe(() => this.loadLayers())
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
async loadLayers() {
|
|
34
|
+
this.errorMessage = null
|
|
35
|
+
try {
|
|
36
|
+
this.loading = true
|
|
37
|
+
|
|
38
|
+
if (this.wmsUrl.trim() === '') {
|
|
39
|
+
this.layers = []
|
|
40
|
+
return
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
this.wmsEndpoint = await new WmsEndpoint(this.wmsUrl).isReady()
|
|
44
|
+
this.layers = this.wmsEndpoint.getLayers()
|
|
45
|
+
} catch (error) {
|
|
46
|
+
const err = error as Error
|
|
47
|
+
this.layers = []
|
|
48
|
+
this.errorMessage = 'Error loading layers: ' + err.message
|
|
49
|
+
} finally {
|
|
50
|
+
this.loading = false
|
|
51
|
+
this.changeDetectorRef.markForCheck()
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
addLayer(layer: WmsLayerSummary) {
|
|
56
|
+
const layerToAdd: MapContextLayerModel = {
|
|
57
|
+
name: layer.name,
|
|
58
|
+
url: this.wmsUrl.toString(),
|
|
59
|
+
type: MapContextLayerTypeEnum.WMS,
|
|
60
|
+
}
|
|
61
|
+
this.mapFacade.addLayer({ ...layerToAdd, title: layer.title })
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -20,6 +20,10 @@ import { MapContainerComponent } from './map-container/map-container.component'
|
|
|
20
20
|
import { AddLayerRecordPreviewComponent } from './add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component'
|
|
21
21
|
import { UiElementsModule } from '../../../../../libs/ui/elements/src'
|
|
22
22
|
import { UiInputsModule } from '../../../../../libs/ui/inputs/src'
|
|
23
|
+
import { AddLayerFromWmsComponent } from './add-layer-from-wms/add-layer-from-wms.component'
|
|
24
|
+
import { AddLayerFromFileComponent } from './add-layer-from-file/add-layer-from-file.component'
|
|
25
|
+
import { AddLayerFromWfsComponent } from './add-layer-from-wfs/add-layer-from-wfs.component'
|
|
26
|
+
import { GeocodingComponent } from './geocoding/geocoding.component'
|
|
23
27
|
|
|
24
28
|
@NgModule({
|
|
25
29
|
declarations: [
|
|
@@ -29,6 +33,10 @@ import { UiInputsModule } from '../../../../../libs/ui/inputs/src'
|
|
|
29
33
|
AddLayerFromCatalogComponent,
|
|
30
34
|
MapContainerComponent,
|
|
31
35
|
AddLayerRecordPreviewComponent,
|
|
36
|
+
AddLayerFromWmsComponent,
|
|
37
|
+
AddLayerFromFileComponent,
|
|
38
|
+
AddLayerFromWfsComponent,
|
|
39
|
+
GeocodingComponent,
|
|
32
40
|
],
|
|
33
41
|
exports: [
|
|
34
42
|
MapContextComponent,
|
|
@@ -36,6 +44,7 @@ import { UiInputsModule } from '../../../../../libs/ui/inputs/src'
|
|
|
36
44
|
LayersPanelComponent,
|
|
37
45
|
AddLayerFromCatalogComponent,
|
|
38
46
|
MapContainerComponent,
|
|
47
|
+
GeocodingComponent,
|
|
39
48
|
],
|
|
40
49
|
imports: [
|
|
41
50
|
CommonModule,
|
|
File without changes
|