geonetwork-ui 2.2.0-dev.95201f8f → 2.2.0-dev.ae0a63ae
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/atomic-operations.mjs +2 -1
- package/esm2022/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.mjs +36 -2
- package/esm2022/libs/api/repository/src/lib/gn4/index.mjs +3 -1
- package/esm2022/libs/common/domain/src/lib/model/record/metadata.model.mjs +1 -1
- package/esm2022/libs/feature/dataviz/src/lib/service/data.service.mjs +5 -4
- package/esm2022/libs/feature/editor/src/lib/record-form/record-form.component.mjs +5 -3
- package/esm2022/libs/feature/map/src/index.mjs +2 -1
- package/esm2022/libs/feature/map/src/lib/constant/index.mjs +2 -1
- package/esm2022/libs/feature/map/src/lib/constant/projections.mjs +2 -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 +93 -0
- package/esm2022/libs/feature/map/src/lib/geocoding.service.mjs +40 -0
- package/esm2022/libs/feature/map/src/lib/utils/index.mjs +1 -3
- package/esm2022/libs/feature/map/src/lib/utils/map-utils.service.mjs +60 -29
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +29 -20
- package/esm2022/libs/feature/search/src/lib/state/effects.mjs +5 -3
- package/esm2022/libs/ui/elements/src/index.mjs +2 -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 +3 -3
- package/esm2022/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.mjs +3 -3
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +3 -1
- package/esm2022/libs/ui/inputs/src/lib/editable-label/editable-label.directive.mjs +46 -0
- package/esm2022/libs/ui/inputs/src/lib/ui-inputs.module.mjs +8 -3
- package/esm2022/libs/ui/search/src/lib/record-table/record-table.component.mjs +3 -3
- package/esm2022/libs/util/shared/src/lib/links/link-utils.mjs +29 -13
- package/esm2022/translations/de.json +1 -0
- package/esm2022/translations/en.json +1 -0
- package/esm2022/translations/es.json +1 -0
- package/esm2022/translations/fr.json +1 -0
- package/esm2022/translations/it.json +1 -0
- package/esm2022/translations/nl.json +1 -0
- package/esm2022/translations/pt.json +1 -0
- package/fesm2022/geonetwork-ui.mjs +341 -108
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts +1 -0
- package/libs/api/metadata-converter/src/lib/gn4/atomic-operations.d.ts.map +1 -1
- package/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.d.ts.map +1 -1
- package/libs/api/repository/src/lib/gn4/index.d.ts +2 -0
- package/libs/api/repository/src/lib/gn4/index.d.ts.map +1 -1
- package/libs/common/domain/src/lib/model/record/metadata.model.d.ts +10 -5
- package/libs/common/domain/src/lib/model/record/metadata.model.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/editor/src/lib/record-form/record-form.component.d.ts.map +1 -1
- package/libs/feature/map/src/index.d.ts +1 -0
- package/libs/feature/map/src/index.d.ts.map +1 -1
- package/libs/feature/map/src/lib/constant/index.d.ts +1 -0
- package/libs/feature/map/src/lib/constant/index.d.ts.map +1 -1
- package/libs/feature/map/src/lib/constant/projections.d.ts.map +1 -0
- package/libs/feature/map/src/lib/feature-map.module.d.ts +13 -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 +25 -0
- package/libs/feature/map/src/lib/geocoding/geocoding.component.d.ts.map +1 -0
- package/libs/feature/map/src/lib/geocoding.service.d.ts +18 -0
- package/libs/feature/map/src/lib/geocoding.service.d.ts.map +1 -0
- package/libs/feature/map/src/lib/utils/index.d.ts +0 -2
- package/libs/feature/map/src/lib/utils/index.d.ts.map +1 -1
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts +13 -11
- package/libs/feature/map/src/lib/utils/map-utils.service.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts +1 -3
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/search/src/lib/state/effects.d.ts.map +1 -1
- package/libs/ui/dataviz/src/lib/chart/chart.component.d.ts +1 -1
- package/libs/ui/elements/src/index.d.ts +1 -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/ui-elements.module.d.ts +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts +13 -0
- package/libs/ui/inputs/src/lib/editable-label/editable-label.directive.d.ts.map +1 -0
- package/libs/ui/inputs/src/lib/ui-inputs.module.d.ts +2 -1
- package/libs/ui/inputs/src/lib/ui-inputs.module.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/package.json +4 -1
- package/src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts +3 -0
- package/src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts +43 -0
- package/src/libs/api/repository/src/lib/gn4/index.ts +2 -0
- package/src/libs/common/domain/src/lib/index.ts +2 -0
- package/src/libs/common/domain/src/lib/model/record/metadata.model.ts +12 -7
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +8 -5
- package/src/libs/feature/editor/src/lib/record-form/record-form.component.ts +2 -1
- package/src/libs/feature/map/src/index.ts +1 -0
- package/src/libs/feature/map/src/lib/constant/index.ts +1 -0
- package/src/libs/feature/map/src/lib/feature-map.module.ts +8 -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 +99 -0
- package/src/libs/feature/map/src/lib/geocoding.service.ts +59 -0
- package/src/libs/feature/map/src/lib/utils/index.ts +0 -2
- package/src/libs/feature/map/src/lib/utils/map-utils.service.ts +85 -50
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +18 -3
- package/src/libs/feature/search/src/lib/state/effects.ts +4 -3
- package/src/libs/ui/elements/src/index.ts +1 -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.html +3 -2
- package/src/libs/ui/elements/src/lib/metadata-contact/metadata-contact.component.html +1 -1
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +1 -0
- package/src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts +48 -0
- package/src/libs/ui/inputs/src/lib/ui-inputs.module.ts +3 -0
- package/src/libs/ui/search/src/lib/record-table/record-table.component.html +2 -2
- package/src/libs/util/shared/src/lib/links/link-utils.ts +34 -11
- package/translations/de.json +1 -0
- package/translations/en.json +1 -0
- package/translations/es.json +1 -0
- package/translations/fr.json +1 -0
- package/translations/it.json +1 -0
- package/translations/nl.json +1 -0
- package/translations/pt.json +1 -0
- package/translations/sk.json +1 -0
- package/esm2022/libs/feature/map/src/lib/utils/map-utils-wms.service.mjs +0 -55
- package/esm2022/libs/feature/map/src/lib/utils/projections.mjs +0 -2
- package/libs/feature/map/src/lib/utils/map-utils-wms.service.d.ts +0 -17
- package/libs/feature/map/src/lib/utils/map-utils-wms.service.d.ts.map +0 -1
- package/libs/feature/map/src/lib/utils/projections.d.ts.map +0 -1
- package/src/libs/feature/map/src/lib/utils/map-utils-wms.service.ts +0 -58
- /package/libs/feature/map/src/lib/{utils → constant}/projections.d.ts +0 -0
- /package/src/libs/feature/map/src/lib/{utils → constant}/projections.ts +0 -0
|
@@ -9,6 +9,7 @@ export declare const selectTranslatedValue: <T>(source: SourceWithUnknownProps,
|
|
|
9
9
|
export declare const selectTranslatedField: <T>(source: SourceWithUnknownProps, fieldName: string, lang3: string) => T;
|
|
10
10
|
export declare const toDate: (field: any) => Date;
|
|
11
11
|
export declare const getFirstValue: (field: any) => any;
|
|
12
|
+
export declare const getArrayItem: (field: any, index: any) => any;
|
|
12
13
|
export declare const getAsArray: (field: any) => any[];
|
|
13
14
|
export declare const getAsUrl: (field: any, location?: string) => URL;
|
|
14
15
|
export declare const mapLogo: (source: SourceWithUnknownProps) => URL;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"atomic-operations.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,YAAY,EACb,MAAM,2DAA2D,CAAA;AAGlE,MAAM,MAAM,sBAAsB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAA;AAE/D,eAAO,MAAM,WAAW,cACd,sBAAsB,aACnB,MAAM,MAEuD,CAAA;AAE1E,eAAO,MAAM,oBAAoB,cACvB,sBAAsB,iBACf,MAAM,EAAE,MAKtB,CAAA;AAEH,eAAO,MAAM,cAAc,wCACQ,CAAA;AAEnC,eAAO,MAAM,qBAAqB,cACxB,sBAAsB,SACvB,MAAM,MAE6D,CAAA;AAE5E,eAAO,MAAM,qBAAqB,cACxB,sBAAsB,aACnB,MAAM,SACV,MAAM,MAC4D,CAAA;AAE3E,eAAO,MAAM,MAAM,sBAA6B,CAAA;AAEhD,eAAO,MAAM,aAAa,qBACe,CAAA;AAEzC,eAAO,MAAM,UAAU,uBACuC,CAAA;AAE9D,eAAO,MAAM,QAAQ,0BAET,MAAM,QAWjB,CAAA;AAED,eAAO,MAAM,OAAO,WAAY,sBAAsB,QAGrD,CAAA;AAED,eAAO,MAAM,eAAe,kBACX,sBAAsB,SAC9B,MAAM,KACZ,YAWF,CAAA;AAED,eAAO,MAAM,UAAU,kBACN,sBAAsB,SAC9B,MAAM,KACZ,UAWF,CAAA"}
|
|
1
|
+
{"version":3,"file":"atomic-operations.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/gn4/atomic-operations.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,YAAY,EACb,MAAM,2DAA2D,CAAA;AAGlE,MAAM,MAAM,sBAAsB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CAAE,CAAA;AAE/D,eAAO,MAAM,WAAW,cACd,sBAAsB,aACnB,MAAM,MAEuD,CAAA;AAE1E,eAAO,MAAM,oBAAoB,cACvB,sBAAsB,iBACf,MAAM,EAAE,MAKtB,CAAA;AAEH,eAAO,MAAM,cAAc,wCACQ,CAAA;AAEnC,eAAO,MAAM,qBAAqB,cACxB,sBAAsB,SACvB,MAAM,MAE6D,CAAA;AAE5E,eAAO,MAAM,qBAAqB,cACxB,sBAAsB,aACnB,MAAM,SACV,MAAM,MAC4D,CAAA;AAE3E,eAAO,MAAM,MAAM,sBAA6B,CAAA;AAEhD,eAAO,MAAM,aAAa,qBACe,CAAA;AAEzC,eAAO,MAAM,YAAY,iCACiD,CAAA;AAE1E,eAAO,MAAM,UAAU,uBACuC,CAAA;AAE9D,eAAO,MAAM,QAAQ,0BAET,MAAM,QAWjB,CAAA;AAED,eAAO,MAAM,OAAO,WAAY,sBAAsB,QAGrD,CAAA;AAED,eAAO,MAAM,eAAe,kBACX,sBAAsB,SAC9B,MAAM,KACZ,YAWF,CAAA;AAED,eAAO,MAAM,UAAU,kBACN,sBAAsB,SAC9B,MAAM,KACZ,UAWF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gn4.field.mapper.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"gn4.field.mapper.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/metadata-converter/src/lib/gn4/gn4.field.mapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAWL,sBAAsB,EAEvB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAI3D,OAAO,EAEL,aAAa,EACb,mBAAmB,EACnB,uBAAuB,EAKxB,MAAM,2DAA2D,CAAA;AAElE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAA;;AAElE,KAAK,gBAAgB,GAAG,sBAAsB,CAAA;AAE9C,KAAK,eAAe,GAAG,CACrB,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,EAC9B,MAAM,EAAE,gBAAgB,KACrB,OAAO,CAAC,aAAa,CAAC,CAAA;AAE3B,qBAGa,cAAc;IAEvB,OAAO,CAAC,kBAAkB;IAC1B,OAAO,CAAC,WAAW;gBADX,kBAAkB,EAAE,kBAAkB,EACtC,WAAW,EAAE,WAAW;IAGlC,OAAO,CAAC,KAAK,CAA0B;IAEvC,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CA8PhD;IAED,OAAO,CAAC,YAAY,CAAqB;IAEzC,OAAO,CAAC,eAAe,CAmCrB;IAEF,OAAO,CAAC,kBAAkB;IAY1B,YAAY,CAAC,SAAS,EAAE,MAAM;IAI9B,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,uBAAuB;IAmBpE,OAAO,eACO,sBAAsB,KACjC,mBAAmB,GAAG,IAAI,CA2D5B;IAED,OAAO,CAAC,QAAQ,CAGd;yCApZS,cAAc;6CAAd,cAAc;CAqZ1B"}
|
|
@@ -6,4 +6,6 @@ export * from './auth';
|
|
|
6
6
|
export * from './favorites/favorites.service';
|
|
7
7
|
export * from './selection/selection.service';
|
|
8
8
|
export * from './gn4.provider';
|
|
9
|
+
export * from './platform/gn4-platform.service';
|
|
10
|
+
export * from './platform/gn4-platform.mapper';
|
|
9
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iCAAiC,CAAA;AAC/C,cAAc,QAAQ,CAAA;AACtB,cAAc,+BAA+B,CAAA;AAC7C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gBAAgB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/api/repository/src/lib/gn4/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iCAAiC,CAAA;AAC/C,cAAc,QAAQ,CAAA;AACtB,cAAc,+BAA+B,CAAA;AAC7C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iCAAiC,CAAA;AAC/C,cAAc,gCAAgC,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Individual } from './contact.model';
|
|
2
|
-
import { Organization } from './organization.model';
|
|
1
|
+
import type { Individual } from './contact.model';
|
|
2
|
+
import type { Organization } from './organization.model';
|
|
3
|
+
import type { Geometry } from 'geojson';
|
|
3
4
|
type Uuid = string;
|
|
4
5
|
export type UpdateFrequencyCode = 'unknown' | 'notPlanned' | 'asNeeded' | 'irregular' | 'continual' | 'periodic';
|
|
5
6
|
export type UpdateFrequencyCustom = {
|
|
@@ -57,6 +58,7 @@ export interface DatasetDownloadDistribution {
|
|
|
57
58
|
sizeBytes?: number;
|
|
58
59
|
name?: string;
|
|
59
60
|
description?: string;
|
|
61
|
+
accessServiceProtocol?: ServiceProtocol;
|
|
60
62
|
}
|
|
61
63
|
export interface OnlineLinkResource {
|
|
62
64
|
type: 'link';
|
|
@@ -72,12 +74,15 @@ export interface GraphicOverview {
|
|
|
72
74
|
description?: string;
|
|
73
75
|
}
|
|
74
76
|
export interface DatasetSpatialExtent {
|
|
75
|
-
geometry:
|
|
77
|
+
geometry: Geometry;
|
|
76
78
|
description?: string;
|
|
77
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* At least a start or an end date should be provided
|
|
82
|
+
*/
|
|
78
83
|
export interface DatasetTemporalExtent {
|
|
79
|
-
start
|
|
80
|
-
end
|
|
84
|
+
start?: Date;
|
|
85
|
+
end?: Date;
|
|
81
86
|
description?: string;
|
|
82
87
|
}
|
|
83
88
|
export interface DatasetRecord extends BaseRecord {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/metadata.model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"metadata.model.d.ts","sourceRoot":"","sources":["../../../../../../../src/libs/common/domain/src/lib/model/record/metadata.model.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEvC,KAAK,IAAI,GAAG,MAAM,CAAA;AASlB,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,YAAY,GACZ,UAAU,GACV,WAAW,GACX,WAAW,GACX,UAAU,CAAA;AAOd,MAAM,MAAM,qBAAqB,GAAG;IAClC,YAAY,EAAE,MAAM,CAAA;IAC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9C;AAED,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,aAAa,CAAA"}
|
|
@@ -1,14 +1,26 @@
|
|
|
1
|
+
import { WfsVersion } from '@camptocamp/ogc-client';
|
|
1
2
|
import { BaseReader } from '../../../../../../libs/util/data-fetcher/src';
|
|
2
3
|
import { ProxyService } from '../../../../../../libs/util/shared/src';
|
|
3
4
|
import type { FeatureCollection } from 'geojson';
|
|
4
5
|
import { Observable } from 'rxjs';
|
|
5
6
|
import { DatasetDistribution, DatasetServiceDistribution } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
interface WfsDownloadUrls {
|
|
9
|
+
all: {
|
|
10
|
+
[format: string]: string;
|
|
11
|
+
};
|
|
12
|
+
geojson: string;
|
|
13
|
+
gml: {
|
|
14
|
+
featureUrl: string;
|
|
15
|
+
namespace: string;
|
|
16
|
+
wfsVersion: WfsVersion;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
7
19
|
export declare class DataService {
|
|
8
20
|
private proxy;
|
|
9
21
|
constructor(proxy: ProxyService);
|
|
10
|
-
|
|
11
|
-
|
|
22
|
+
getDownloadUrlsFromWfs(wfsUrl: string, featureTypeName: string): Observable<WfsDownloadUrls>;
|
|
23
|
+
getDownloadUrlFromEsriRest(apiUrl: string, format: string): string;
|
|
12
24
|
getDownloadLinksFromWfs(wfsLink: DatasetServiceDistribution): Observable<DatasetDistribution[]>;
|
|
13
25
|
getDownloadLinksFromEsriRest(esriRestLink: DatasetServiceDistribution): DatasetDistribution[];
|
|
14
26
|
readAsGeoJson(link: DatasetDistribution): Observable<FeatureCollection>;
|
|
@@ -16,4 +28,5 @@ export declare class DataService {
|
|
|
16
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataService, never>;
|
|
17
29
|
static ɵprov: i0.ɵɵInjectableDeclaration<DataService>;
|
|
18
30
|
}
|
|
31
|
+
export {};
|
|
19
32
|
//# sourceMappingURL=data.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/dataviz/src/lib/service/data.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"data.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/dataviz/src/lib/service/data.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAe,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAChE,OAAO,EACL,UAAU,EAKX,MAAM,8CAA8C,CAAA;AACrD,OAAO,EAIL,YAAY,EACb,MAAM,wCAAwC,CAAA;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,EAAQ,UAAU,EAAc,MAAM,MAAM,CAAA;AAEnD,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC3B,MAAM,2DAA2D,CAAA;;AAalE,UAAU,eAAe;IACvB,GAAG,EAAE;QAAE,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;IACjC,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,UAAU,CAAA;KAAE,CAAA;CACvE;AAED,qBAGa,WAAW;IACV,OAAO,CAAC,KAAK;gBAAL,KAAK,EAAE,YAAY;IAEvC,sBAAsB,CACpB,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,MAAM,GACtB,UAAU,CAAC,eAAe,CAAC;IAwE9B,0BAA0B,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM;IAMlE,uBAAuB,CACrB,OAAO,EAAE,0BAA0B,GAClC,UAAU,CAAC,mBAAmB,EAAE,CAAC;IAoBpC,4BAA4B,CAC1B,YAAY,EAAE,0BAA0B,GACvC,mBAAmB,EAAE;IAUxB,aAAa,CAAC,IAAI,EAAE,mBAAmB,GAAG,UAAU,CAAC,iBAAiB,CAAC;IAUvE,UAAU,CAAC,IAAI,EAAE,mBAAmB,GAAG,UAAU,CAAC,UAAU,CAAC;yCAhIlD,WAAW;6CAAX,WAAW;CAsKvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-form.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/record-form/record-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;;
|
|
1
|
+
{"version":3,"file":"record-form.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/editor/src/lib/record-form/record-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;;AAGrE,qBAQa,mBAAmB;IACX,aAAa,EAAE,aAAa;gBAA5B,aAAa,EAAE,aAAa;IAE/C,sBAAsB,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;IAIxD,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS;yCAPjC,mBAAmB;2CAAnB,mBAAmB;CAU/B"}
|
|
@@ -17,4 +17,5 @@ export * from './lib/layers-panel/layers-panel.component';
|
|
|
17
17
|
export * from './lib/add-layer-from-catalog/add-layer-from-catalog.component';
|
|
18
18
|
export * from './lib/add-layer-from-catalog/add-layer-record-preview/add-layer-record-preview.component';
|
|
19
19
|
export * from './lib/map-container/map-container.component';
|
|
20
|
+
export * from './lib/geocoding/geocoding.component';
|
|
20
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/map/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mCAAmC,CAAA;AACjD,cAAc,sCAAsC,CAAA;AACpD,cAAc,yCAAyC,CAAA;AACvD,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,mDAAmD,CAAA;AACjE,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,2CAA2C,CAAA;AACzD,cAAc,+DAA+D,CAAA;AAC7E,cAAc,0FAA0F,CAAA;AACxG,cAAc,6CAA6C,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/feature/map/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mCAAmC,CAAA;AACjD,cAAc,sCAAsC,CAAA;AACpD,cAAc,yCAAyC,CAAA;AACvD,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,mDAAmD,CAAA;AACjE,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,2CAA2C,CAAA;AACzD,cAAc,+DAA+D,CAAA;AAC7E,cAAc,0FAA0F,CAAA;AACxG,cAAc,6CAA6C,CAAA;AAC3D,cAAc,qCAAqC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/constant/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/constant/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/constant/projections.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,UAA0B,CAAA"}
|
|
@@ -8,20 +8,21 @@ import * as i6 from "./add-layer-from-catalog/add-layer-record-preview/add-layer
|
|
|
8
8
|
import * as i7 from "./add-layer-from-wms/add-layer-from-wms.component";
|
|
9
9
|
import * as i8 from "./add-layer-from-file/add-layer-from-file.component";
|
|
10
10
|
import * as i9 from "./add-layer-from-wfs/add-layer-from-wfs.component";
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "../../../../ui/
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "@angular/material/
|
|
16
|
-
import * as i15 from "@
|
|
17
|
-
import * as i16 from "
|
|
18
|
-
import * as i17 from "
|
|
19
|
-
import * as i18 from "@ngrx/
|
|
20
|
-
import * as i19 from "
|
|
21
|
-
import * as i20 from "../../../../ui/
|
|
11
|
+
import * as i10 from "./geocoding/geocoding.component";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
13
|
+
import * as i12 from "../../../../ui/map/src/lib/ui-map.module";
|
|
14
|
+
import * as i13 from "../../../../ui/layout/src/lib/ui-layout.module";
|
|
15
|
+
import * as i14 from "@angular/material/icon";
|
|
16
|
+
import * as i15 from "@angular/material/tabs";
|
|
17
|
+
import * as i16 from "@ngx-translate/core";
|
|
18
|
+
import * as i17 from "../../../search/src/lib/feature-search.module";
|
|
19
|
+
import * as i18 from "@ngrx/store";
|
|
20
|
+
import * as i19 from "@ngrx/effects";
|
|
21
|
+
import * as i20 from "../../../../ui/elements/src/lib/ui-elements.module";
|
|
22
|
+
import * as i21 from "../../../../ui/inputs/src/lib/ui-inputs.module";
|
|
22
23
|
export declare class FeatureMapModule {
|
|
23
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeatureMapModule, never>;
|
|
24
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureMapModule, [typeof i1.MapContextComponent, typeof i2.MapInstanceDirective, typeof i3.LayersPanelComponent, typeof i4.AddLayerFromCatalogComponent, typeof i5.MapContainerComponent, typeof i6.AddLayerRecordPreviewComponent, typeof i7.AddLayerFromWmsComponent, typeof i8.AddLayerFromFileComponent, typeof i9.AddLayerFromWfsComponent], [typeof
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FeatureMapModule, [typeof i1.MapContextComponent, typeof i2.MapInstanceDirective, typeof i3.LayersPanelComponent, typeof i4.AddLayerFromCatalogComponent, typeof i5.MapContainerComponent, typeof i6.AddLayerRecordPreviewComponent, typeof i7.AddLayerFromWmsComponent, typeof i8.AddLayerFromFileComponent, typeof i9.AddLayerFromWfsComponent, typeof i10.GeocodingComponent], [typeof i11.CommonModule, typeof i12.UiMapModule, typeof i13.UiLayoutModule, typeof i14.MatIconModule, typeof i15.MatTabsModule, typeof i16.TranslateModule, typeof i17.FeatureSearchModule, typeof i18.StoreFeatureModule, typeof i19.EffectsFeatureModule, typeof i20.UiElementsModule, typeof i21.UiInputsModule], [typeof i1.MapContextComponent, typeof i2.MapInstanceDirective, typeof i3.LayersPanelComponent, typeof i4.AddLayerFromCatalogComponent, typeof i5.MapContainerComponent, typeof i10.GeocodingComponent]>;
|
|
25
26
|
static ɵinj: i0.ɵɵInjectorDeclaration<FeatureMapModule>;
|
|
26
27
|
}
|
|
27
28
|
//# sourceMappingURL=feature-map.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"feature-map.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/map/src/lib/feature-map.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"feature-map.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/map/src/lib/feature-map.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AA4BA,qBA8Ca,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { MapManagerService } from '../manager/map-manager.service';
|
|
4
|
+
import { GeocodingService } from '../geocoding.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GeocodingComponent implements OnDestroy {
|
|
7
|
+
private mapManager;
|
|
8
|
+
private geocodingService;
|
|
9
|
+
searchText: string;
|
|
10
|
+
results: any[];
|
|
11
|
+
searchTextChanged: Subject<string>;
|
|
12
|
+
destroy$: Subject<void>;
|
|
13
|
+
errorMessage: string | null;
|
|
14
|
+
constructor(mapManager: MapManagerService, geocodingService: GeocodingService);
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
onSearchChange(searchText: string): void;
|
|
17
|
+
clearSearch(): void;
|
|
18
|
+
zoomToLocation(result: any): void;
|
|
19
|
+
zoomToPoint(pointCoords: [number, number], view: any): void;
|
|
20
|
+
zoomToPolygon(polygonCoords: [[number, number][]], view: any): void;
|
|
21
|
+
onEnterPress(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeocodingComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GeocodingComponent, "gn-ui-geocoding", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=geocoding.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geocoding.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/geocoding/geocoding.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,SAAS,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAoB,OAAO,EAAa,MAAM,MAAM,CAAA;AAE3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAGlE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;;AAEvD,qBAKa,kBAAmB,YAAW,SAAS;IAQhD,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,gBAAgB;IAR1B,UAAU,SAAK;IACf,OAAO,EAAE,GAAG,EAAE,CAAK;IACnB,iBAAiB,kBAAwB;IACzC,QAAQ,gBAAsB;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;gBAGxB,UAAU,EAAE,iBAAiB,EAC7B,gBAAgB,EAAE,gBAAgB;IAsB5C,WAAW;IAKX,cAAc,CAAC,UAAU,EAAE,MAAM;IASjC,WAAW;IAMX,cAAc,CAAC,MAAM,EAAE,GAAG;IAc1B,WAAW,CAAC,WAAW,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,IAAI,EAAE,GAAG;IAMpD,aAAa,CAAC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG;IAS5D,YAAY;yCAhFD,kBAAkB;2CAAlB,kBAAkB;CAqF9B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { GeoadminOptions, GeocodingResult, GeonamesOptions, DataGouvFrOptions } from '@geospatial-sdk/geocoding';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
type GeoadminGeocodingProvider = ['geoadmin', GeoadminOptions];
|
|
6
|
+
type GeonamesGeocodingProvider = ['geonames', GeonamesOptions];
|
|
7
|
+
type DataGouvFrGeocodingProvider = ['data-gouv-fr', DataGouvFrOptions];
|
|
8
|
+
export type GeocodingProvider = GeoadminGeocodingProvider | GeonamesGeocodingProvider | DataGouvFrGeocodingProvider;
|
|
9
|
+
export declare const GEOCODING_PROVIDER: InjectionToken<GeocodingProvider>;
|
|
10
|
+
export declare class GeocodingService {
|
|
11
|
+
private provider;
|
|
12
|
+
constructor(provider: GeocodingProvider);
|
|
13
|
+
query(text: string): Observable<GeocodingResult[]>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GeocodingService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GeocodingService>;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=geocoding.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geocoding.service.d.ts","sourceRoot":"","sources":["../../../../../src/libs/feature/map/src/lib/geocoding.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,cAAc,EAAE,MAAM,eAAe,CAAA;AAClE,OAAO,EAEL,eAAe,EACf,eAAe,EAEf,eAAe,EACf,iBAAiB,EAElB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAQ,UAAU,EAAc,MAAM,MAAM,CAAA;;AAGnD,KAAK,yBAAyB,GAAG,CAAC,UAAU,EAAE,eAAe,CAAC,CAAA;AAC9D,KAAK,yBAAyB,GAAG,CAAC,UAAU,EAAE,eAAe,CAAC,CAAA;AAC9D,KAAK,2BAA2B,GAAG,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAA;AACtE,MAAM,MAAM,iBAAiB,GACzB,yBAAyB,GACzB,yBAAyB,GACzB,2BAA2B,CAAA;AAE/B,eAAO,MAAM,kBAAkB,mCAE9B,CAAA;AAED,qBAGa,gBAAgB;IAEG,OAAO,CAAC,QAAQ;gBAAR,QAAQ,EAAE,iBAAiB;IAGjE,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,eAAe,EAAE,CAAC;yCALvC,gBAAgB;6CAAhB,gBAAgB;CA8B5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
|
@@ -1,35 +1,37 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import type { FeatureCollection } from 'geojson';
|
|
3
3
|
import { Extent } from 'ol/extent';
|
|
4
|
-
import
|
|
4
|
+
import Feature from 'ol/Feature';
|
|
5
5
|
import { Geometry } from 'ol/geom';
|
|
6
6
|
import Layer from 'ol/layer/Layer';
|
|
7
7
|
import Map from 'ol/Map';
|
|
8
8
|
import Source from 'ol/source/Source';
|
|
9
|
-
import { DragPan,
|
|
9
|
+
import { DragPan, Interaction, MouseWheelZoom } from 'ol/interaction';
|
|
10
10
|
import { Observable } from 'rxjs';
|
|
11
|
-
import { MapContextLayerModel, MapContextLayerWmtsModel } from '../map-context/map-context.model';
|
|
12
|
-
import { MapUtilsWMSService } from './map-utils-wms.service';
|
|
11
|
+
import { MapContextLayerModel, MapContextLayerWmsModel, MapContextLayerWmtsModel } from '../map-context/map-context.model';
|
|
13
12
|
import Collection from 'ol/Collection';
|
|
14
13
|
import MapBrowserEvent from 'ol/MapBrowserEvent';
|
|
15
|
-
import { DatasetDistribution } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
14
|
+
import { CatalogRecord, DatasetDistribution } from '../../../../../../libs/common/domain/src/lib/model/record';
|
|
15
|
+
import { ProxyService } from '../../../../../../libs/util/shared/src';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
export declare class MapUtilsService {
|
|
18
18
|
private http;
|
|
19
|
-
private
|
|
20
|
-
constructor(http: HttpClient,
|
|
19
|
+
private proxy;
|
|
20
|
+
constructor(http: HttpClient, proxy: ProxyService);
|
|
21
21
|
createEmptyMap(): Map;
|
|
22
|
-
readFeatureCollection: (featureCollection: FeatureCollection, featureProjection?: string, dataProjection?: string) =>
|
|
22
|
+
readFeatureCollection: (featureCollection: FeatureCollection, featureProjection?: string, dataProjection?: string) => Feature<Geometry>[];
|
|
23
23
|
isWMSLayer(layer: Layer<Source>): boolean;
|
|
24
24
|
getGFIUrl(layer: any, map: any, coordinate: any): string;
|
|
25
|
-
getVectorFeaturesFromClick(olMap: any, event: any):
|
|
26
|
-
getGFIFeaturesObservablesFromClick(olMap:
|
|
25
|
+
getVectorFeaturesFromClick(olMap: any, event: any): Feature<Geometry>[];
|
|
26
|
+
getGFIFeaturesObservablesFromClick(olMap: Map, event: MapBrowserEvent<PointerEvent>): Observable<Feature<Geometry>[]>[];
|
|
27
27
|
/**
|
|
28
28
|
* Will emit `null` if no extent could be computed
|
|
29
29
|
*/
|
|
30
|
-
getLayerExtent(layer: MapContextLayerModel):
|
|
30
|
+
getLayerExtent(layer: MapContextLayerModel): Promise<Extent | null>;
|
|
31
|
+
getWmsLayerExtent(layer: MapContextLayerWmsModel): Promise<Extent | null>;
|
|
31
32
|
getWmtsLayerFromCapabilities(link: DatasetDistribution): Observable<MapContextLayerWmtsModel>;
|
|
32
33
|
prioritizePageScroll(interactions: Collection<Interaction>): void;
|
|
34
|
+
getRecordExtent(record: Partial<CatalogRecord>): Extent;
|
|
33
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<MapUtilsService, never>;
|
|
34
36
|
static ɵprov: i0.ɵɵInjectableDeclaration<MapUtilsService>;
|
|
35
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-utils.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/utils/map-utils.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,EAAU,MAAM,EAAW,MAAM,WAAW,CAAA;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"map-utils.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/utils/map-utils.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,EAAU,MAAM,EAAW,MAAM,WAAW,CAAA;AACnD,OAAO,OAAO,MAAM,YAAY,CAAA;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAClC,OAAO,KAAK,MAAM,gBAAgB,CAAA;AAClC,OAAO,GAAG,MAAM,QAAQ,CAAA;AAExB,OAAO,MAAM,MAAM,kBAAkB,CAAA;AAKrC,OAAO,EAAY,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAQ/E,OAAO,EAAQ,UAAU,EAAE,MAAM,MAAM,CAAA;AAEvC,OAAO,EACL,oBAAoB,EAEpB,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,kCAAkC,CAAA;AACzC,OAAO,UAAU,MAAM,eAAe,CAAA;AACtC,OAAO,eAAe,MAAM,oBAAoB,CAAA;AAChD,OAAO,EACL,aAAa,EACb,mBAAmB,EACpB,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;;AAWrE,qBAGa,eAAe;IACd,OAAO,CAAC,IAAI;IAAc,OAAO,CAAC,KAAK;gBAA/B,IAAI,EAAE,UAAU,EAAU,KAAK,EAAE,YAAY;IAEjE,cAAc,IAAI,GAAG;IAOrB,qBAAqB,sBACA,iBAAiB,0DAGnC,QAAQ,QAAQ,CAAC,EAAE,CAKrB;IAED,UAAU,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,OAAO;IAOzC,SAAS,CAAC,KAAK,KAAA,EAAE,GAAG,KAAA,EAAE,UAAU,KAAA,GAAG,MAAM;IAYzC,0BAA0B,CAAC,KAAK,KAAA,EAAE,KAAK,KAAA,GAAG,OAAO,CAAC,QAAQ,CAAC,EAAE;IAe7D,kCAAkC,CAChC,KAAK,EAAE,GAAG,EACV,KAAK,EAAE,eAAe,CAAC,YAAY,CAAC,GACnC,UAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE;IAoBpC;;OAEG;IACG,cAAc,CAAC,KAAK,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAoCnE,iBAAiB,CACrB,KAAK,EAAE,uBAAuB,GAC7B,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAuBzB,4BAA4B,CAC1B,IAAI,EAAE,mBAAmB,GACxB,UAAU,CAAC,wBAAwB,CAAC;IAwCvC,oBAAoB,CAAC,YAAY,EAAE,UAAU,CAAC,WAAW,CAAC;IAuB1D,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,MAAM;yCA/M5C,eAAe;6CAAf,eAAe;CA6N3B;AAED,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,EACb,KAAK,EAAE,eAAe,CAAC,YAAY,CAAC,WAQrC;AAED,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,cAAc,EACpB,KAAK,EAAE,eAAe,CAAC,OAAO,CAAC,WAMhC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FeatureInfoService, MapContextLayerModel, MapContextModel, MapManagerService, MapStyleService, MapUtilsService } from '../../../../../../libs/feature/map/src';
|
|
3
3
|
import { MapConfig } from '../../../../../../libs/util/app-config/src';
|
|
4
|
-
import { ProxyService } from '../../../../../../libs/util/shared/src';
|
|
5
4
|
import Feature from 'ol/Feature';
|
|
6
5
|
import { Geometry } from 'ol/geom';
|
|
7
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
@@ -14,7 +13,6 @@ export declare class MapViewComponent implements OnInit, OnDestroy {
|
|
|
14
13
|
private mapManager;
|
|
15
14
|
private mapUtils;
|
|
16
15
|
private dataService;
|
|
17
|
-
private proxy;
|
|
18
16
|
private featureInfo;
|
|
19
17
|
private changeRef;
|
|
20
18
|
private styleService;
|
|
@@ -33,7 +31,7 @@ export declare class MapViewComponent implements OnInit, OnDestroy {
|
|
|
33
31
|
selectedLink$: Observable<DatasetDistribution>;
|
|
34
32
|
currentLayers$: Observable<any[]>;
|
|
35
33
|
mapContext$: Observable<MapContextModel>;
|
|
36
|
-
constructor(mdViewFacade: MdViewFacade, mapManager: MapManagerService, mapUtils: MapUtilsService, dataService: DataService,
|
|
34
|
+
constructor(mdViewFacade: MdViewFacade, mapManager: MapManagerService, mapUtils: MapUtilsService, dataService: DataService, featureInfo: FeatureInfoService, changeRef: ChangeDetectorRef, styleService: MapStyleService);
|
|
37
35
|
ngOnDestroy(): void;
|
|
38
36
|
ngOnInit(): void;
|
|
39
37
|
onMapFeatureSelect(features: Feature<Geometry>[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-view.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/map-view/map-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,SAAS,EACT,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,kBAAkB,EAClB,oBAAoB,EAEpB,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EAChB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EAAwB,SAAS,EAAE,MAAM,4CAA4C,CAAA;
|
|
1
|
+
{"version":3,"file":"map-view.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/map-view/map-view.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,iBAAiB,EAEjB,SAAS,EACT,MAAM,EACP,MAAM,eAAe,CAAA;AACtB,OAAO,EACL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AED,OAAO,CAAC,sBAAsB,CAW7B;IAED,kBAAkB,8FAajB;IAED,YAAY,
|
|
1
|
+
{"version":3,"file":"effects.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/search/src/lib/state/effects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAwB,MAAM,eAAe,CAAA;AAC7D,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAU3C,OAAO,EAIL,QAAQ,EAER,wBAAwB,EAKxB,iBAAiB,EACjB,aAAa,EAad,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,WAAW,EAAqB,MAAM,WAAW,CAAA;AAI1D,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EAAE,0BAA0B,EAAE,MAAM,sFAAsF,CAAA;AACjI,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AAC5E,OAAO,EAAE,wBAAwB,EAAE,MAAM,yEAAyE,CAAA;;AAGlH,qBACa,aAAa;IAMtB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,iBAAiB;IACzB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,eAAe;IAGvB,OAAO,CAAC,cAAc;IAZxB,eAAe,sCAEF;gBAGH,QAAQ,EAAE,OAAO,EACjB,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,EAC1B,iBAAiB,EAAE,0BAA0B,EAC7C,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,wBAAwB,EAGzC,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC;IAG3C,gBAAgB,qFAWf;IAED,OAAO,CAAC,sBAAsB,CAW7B;IAED,kBAAkB,8FAajB;IAED,YAAY,0FAgGX;IAED,yBAAyB,qGA2BvB;yCAtLS,aAAa;6CAAb,aAAa;CAuLzB"}
|
|
@@ -15,7 +15,7 @@ export declare class ChartComponent implements OnChanges, AfterViewInit {
|
|
|
15
15
|
setReady: (v?: unknown) => void;
|
|
16
16
|
ngAfterViewInit(): void;
|
|
17
17
|
ngOnChanges(): void;
|
|
18
|
-
createChart(): Chart<keyof import("chart.js").ChartTypeRegistry, (number | import("chart.js").Point |
|
|
18
|
+
createChart(): Chart<keyof import("chart.js").ChartTypeRegistry, (number | [number, number] | import("chart.js").Point | import("chart.js").BubbleDataPoint)[], unknown>;
|
|
19
19
|
getChartData(): ChartData;
|
|
20
20
|
getOptions(): ChartOptions;
|
|
21
21
|
truncateString(str: string, truncateLength: number): string;
|
|
@@ -18,6 +18,7 @@ export * from './lib/pagination/pagination.component';
|
|
|
18
18
|
export * from './lib/related-record-card/related-record-card.component';
|
|
19
19
|
export * from './lib/search-results-error/search-results-error.component';
|
|
20
20
|
export * from './lib/user-preview/user-preview.component';
|
|
21
|
+
export * from './lib/max-lines/max-lines.component';
|
|
21
22
|
export * from './lib/record-api-form/record-api-form.component';
|
|
22
23
|
export * from './lib/markdown-parser/markdown-parser.component';
|
|
23
24
|
export * from './lib/image-overlay-preview/image-overlay-preview.component';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,6CAA6C,CAAA;AAC3D,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6DAA6D,CAAA;AAC3E,cAAc,2DAA2D,CAAA;AACzE,cAAc,qCAAqC,CAAA;AACnD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uDAAuD,CAAA;AACrE,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,2CAA2C,CAAA;AACzD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6DAA6D,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/elements/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,6CAA6C,CAAA;AAC3D,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,mDAAmD,CAAA;AACjE,cAAc,6DAA6D,CAAA;AAC3E,cAAc,2DAA2D,CAAA;AACzE,cAAc,qCAAqC,CAAA;AACnD,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uDAAuD,CAAA;AACrE,cAAc,mCAAmC,CAAA;AACjD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,6CAA6C,CAAA;AAC3D,cAAc,6CAA6C,CAAA;AAC3D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,yDAAyD,CAAA;AACvE,cAAc,2DAA2D,CAAA;AACzE,cAAc,2CAA2C,CAAA;AACzD,cAAc,qCAAqC,CAAA;AACnD,cAAc,iDAAiD,CAAA;AAC/D,cAAc,iDAAiD,CAAA;AAC/D,cAAc,6DAA6D,CAAA"}
|
|
@@ -14,7 +14,7 @@ export declare class DownloadsListComponent {
|
|
|
14
14
|
isFilterActive(filter: FilterFormat): boolean;
|
|
15
15
|
getFilterFormatTitle(format: FilterFormat): any;
|
|
16
16
|
isLinkOfFormat(link: DatasetDistribution, format: FilterFormat): boolean;
|
|
17
|
-
getLinkFormat(link: DatasetDistribution): "json" | "pdf" | "geojson" | "svg" | "csv" | "excel" | "shp" | "kml" | "gpkg" | "zip" | "jpg";
|
|
17
|
+
getLinkFormat(link: DatasetDistribution): "json" | "pdf" | "geojson" | "svg" | "csv" | "excel" | "shp" | "gml" | "kml" | "gpkg" | "zip" | "jpg" | "dxf";
|
|
18
18
|
getLinkColor(link: DatasetDistribution): string;
|
|
19
19
|
isFromWfs(link: DatasetDistribution): boolean;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<DownloadsListComponent, never>;
|
|
@@ -33,7 +33,7 @@ import * as i31 from "../../../inputs/src/lib/ui-inputs.module";
|
|
|
33
33
|
import * as i32 from "@angular/forms";
|
|
34
34
|
export declare class UiElementsModule {
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiElementsModule, never>;
|
|
36
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.ThumbnailComponent, typeof i15.AvatarComponent, typeof i16.UserPreviewComponent, typeof i17.GnUiLinkifyDirective, typeof i18.PaginationButtonsComponent, typeof i19.MaxLinesComponent, typeof i20.RecordApiFormComponent, typeof i21.MarkdownParserComponent, typeof i22.ImageOverlayPreviewComponent], [typeof i23.CommonModule, typeof i24.MatIconModule, typeof i25.MatTooltipModule, typeof i26.UiWidgetsModule, typeof i27.UiLayoutModule, typeof i28.TranslateModule, typeof i29.UtilSharedModule, typeof i30.RouterModule, typeof i31.UiInputsModule, typeof i32.FormsModule, typeof i23.NgOptimizedImage], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.ThumbnailComponent, typeof i15.AvatarComponent, typeof i16.UserPreviewComponent, typeof i18.PaginationButtonsComponent, typeof i20.RecordApiFormComponent, typeof i21.MarkdownParserComponent, typeof i22.ImageOverlayPreviewComponent]>;
|
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.ThumbnailComponent, typeof i15.AvatarComponent, typeof i16.UserPreviewComponent, typeof i17.GnUiLinkifyDirective, typeof i18.PaginationButtonsComponent, typeof i19.MaxLinesComponent, typeof i20.RecordApiFormComponent, typeof i21.MarkdownParserComponent, typeof i22.ImageOverlayPreviewComponent], [typeof i23.CommonModule, typeof i24.MatIconModule, typeof i25.MatTooltipModule, typeof i26.UiWidgetsModule, typeof i27.UiLayoutModule, typeof i28.TranslateModule, typeof i29.UtilSharedModule, typeof i30.RouterModule, typeof i31.UiInputsModule, typeof i32.FormsModule, typeof i23.NgOptimizedImage], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.LinkCardComponent, typeof i7.RelatedRecordCardComponent, typeof i8.MetadataContactComponent, typeof i9.MetadataCatalogComponent, typeof i10.MetadataQualityComponent, typeof i11.MetadataQualityItemComponent, typeof i12.SearchResultsErrorComponent, typeof i13.PaginationComponent, typeof i14.ThumbnailComponent, typeof i15.AvatarComponent, typeof i16.UserPreviewComponent, typeof i18.PaginationButtonsComponent, typeof i19.MaxLinesComponent, typeof i20.RecordApiFormComponent, typeof i21.MarkdownParserComponent, typeof i22.ImageOverlayPreviewComponent]>;
|
|
37
37
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiElementsModule>;
|
|
38
38
|
}
|
|
39
39
|
//# sourceMappingURL=ui-elements.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,
|
|
1
|
+
{"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,qBA8Da,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ElementRef, Renderer2, AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EditableLabelDirective implements AfterViewInit {
|
|
4
|
+
private el;
|
|
5
|
+
private renderer;
|
|
6
|
+
editableLabelChanged: EventEmitter<string>;
|
|
7
|
+
gnUiEditableLabel?: boolean;
|
|
8
|
+
constructor(el: ElementRef, renderer: Renderer2);
|
|
9
|
+
ngAfterViewInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditableLabelDirective, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditableLabelDirective, "[gnUiEditableLabel]", never, { "gnUiEditableLabel": { "alias": "gnUiEditableLabel"; "required": false; }; }, { "editableLabelChanged": "editableLabelChanged"; }, never, never, true, never>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=editable-label.directive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editable-label.directive.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/editable-label/editable-label.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EACV,SAAS,EACT,aAAa,EACb,YAAY,EAGb,MAAM,eAAe,CAAA;;AAEtB,qBAIa,sBAAuB,YAAW,aAAa;IAI9C,OAAO,CAAC,EAAE;IAAc,OAAO,CAAC,QAAQ;IAH1C,oBAAoB,uBAA6B;IAClD,iBAAiB,CAAC,EAAE,OAAO,CAAA;gBAEhB,EAAE,EAAE,UAAU,EAAU,QAAQ,EAAE,SAAS;IAE/D,eAAe;yCANJ,sBAAsB;2CAAtB,sBAAsB;CAiClC"}
|
|
@@ -39,9 +39,10 @@ import * as i37 from "@angular/material/form-field";
|
|
|
39
39
|
import * as i38 from "@angular/material/input";
|
|
40
40
|
import * as i39 from "@angular/material/datepicker";
|
|
41
41
|
import * as i40 from "@angular/material/core";
|
|
42
|
+
import * as i41 from "./editable-label/editable-label.directive";
|
|
42
43
|
export declare class UiInputsModule {
|
|
43
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiInputsModule, never>;
|
|
44
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i13.FormFieldSimpleComponent, typeof i14.FormFieldArrayComponent, typeof i15.FormFieldObjectComponent, typeof i16.FormFieldRichComponent, typeof i17.FormFieldFileComponent, typeof i18.FormFieldSpatialExtentComponent, typeof i19.FormFieldTemporalExtentComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent], [typeof i25.CommonModule, typeof i26.TranslateModule, typeof i27.NgxDropzoneModule, typeof i28.FormsModule, typeof i28.ReactiveFormsModule, typeof i29.TagInputModule, typeof i30.UtilSharedModule, typeof i31.MatAutocompleteModule, typeof i32.MatIconModule, typeof i33.UiWidgetsModule, typeof i34.OverlayModule, typeof i35.MatCheckboxModule, typeof i36.MatTooltipModule, typeof i37.MatFormFieldModule, typeof i38.MatInputModule, typeof i39.MatDatepickerModule, typeof i40.MatNativeDateModule], [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent]>;
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiInputsModule, [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i13.FormFieldSimpleComponent, typeof i14.FormFieldArrayComponent, typeof i15.FormFieldObjectComponent, typeof i16.FormFieldRichComponent, typeof i17.FormFieldFileComponent, typeof i18.FormFieldSpatialExtentComponent, typeof i19.FormFieldTemporalExtentComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent], [typeof i25.CommonModule, typeof i26.TranslateModule, typeof i27.NgxDropzoneModule, typeof i28.FormsModule, typeof i28.ReactiveFormsModule, typeof i29.TagInputModule, typeof i30.UtilSharedModule, typeof i31.MatAutocompleteModule, typeof i32.MatIconModule, typeof i33.UiWidgetsModule, typeof i34.OverlayModule, typeof i35.MatCheckboxModule, typeof i36.MatTooltipModule, typeof i37.MatFormFieldModule, typeof i38.MatInputModule, typeof i39.MatDatepickerModule, typeof i40.MatNativeDateModule, typeof i41.EditableLabelDirective], [typeof i1.DropdownSelectorComponent, typeof i2.AutocompleteComponent, typeof i3.ButtonComponent, typeof i4.TextInputComponent, typeof i5.DragAndDropFileInputComponent, typeof i6.TextAreaComponent, typeof i7.ChipsInputComponent, typeof i8.NavigationButtonComponent, typeof i9.StarToggleComponent, typeof i10.DropdownMultiselectComponent, typeof i11.ViewportIntersectorComponent, typeof i12.FormFieldComponent, typeof i20.CheckToggleComponent, typeof i21.CopyTextButtonComponent, typeof i22.CheckboxComponent, typeof i23.SearchInputComponent, typeof i24.DateRangePickerComponent, typeof i41.EditableLabelDirective]>;
|
|
45
46
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiInputsModule>;
|
|
46
47
|
}
|
|
47
48
|
//# sourceMappingURL=ui-inputs.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-inputs.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/inputs/src/lib/ui-inputs.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CA,qBAoEa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
|
|
@@ -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"}
|