geonetwork-ui 2.3.0-dev.2b8cc035 → 2.3.0-dev.3222f975
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/feature/dataviz/src/lib/service/data.service.mjs +35 -2
- package/esm2022/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.mjs +73 -20
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.model.mjs +1 -1
- package/esm2022/libs/feature/map/src/lib/map-context/map-context.service.mjs +29 -8
- package/esm2022/libs/feature/record/src/lib/map-view/map-view.component.mjs +3 -2
- package/esm2022/libs/feature/record/src/lib/state/mdview.facade.mjs +1 -1
- package/esm2022/libs/ui/elements/src/lib/downloads-list/downloads-list.component.mjs +2 -2
- package/esm2022/libs/ui/elements/src/lib/link-card/link-card.component.mjs +16 -3
- package/esm2022/libs/ui/elements/src/lib/record-api-form/record-api-form.component.mjs +5 -3
- package/esm2022/libs/ui/elements/src/lib/ui-elements.module.mjs +1 -6
- package/esm2022/libs/ui/inputs/src/index.mjs +2 -1
- package/esm2022/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.mjs +29 -0
- package/esm2022/libs/ui/layout/src/index.mjs +2 -1
- package/esm2022/libs/ui/layout/src/lib/block-list/block-list.component.mjs +76 -0
- package/esm2022/libs/ui/layout/src/lib/carousel/carousel.component.mjs +42 -18
- package/esm2022/libs/ui/layout/src/lib/ui-layout.module.mjs +3 -8
- package/esm2022/libs/util/shared/src/lib/links/link-classifier.service.mjs +2 -2
- package/esm2022/translations/de.json +9 -14
- package/esm2022/translations/en.json +9 -14
- package/esm2022/translations/es.json +9 -14
- package/esm2022/translations/fr.json +9 -14
- package/esm2022/translations/it.json +9 -14
- package/esm2022/translations/nl.json +9 -14
- package/esm2022/translations/pt.json +9 -14
- package/fesm2022/geonetwork-ui.mjs +352 -157
- package/fesm2022/geonetwork-ui.mjs.map +1 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts +3 -1
- package/libs/feature/dataviz/src/lib/service/data.service.d.ts.map +1 -1
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts +10 -5
- package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map +1 -1
- package/libs/feature/map/src/lib/map-context/map-context.model.d.ts +1 -0
- package/libs/feature/map/src/lib/map-context/map-context.model.d.ts.map +1 -1
- package/libs/feature/map/src/lib/map-context/map-context.service.d.ts.map +1 -1
- package/libs/feature/record/src/lib/map-view/map-view.component.d.ts.map +1 -1
- package/libs/feature/record/src/lib/state/mdview.facade.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts +3 -1
- package/libs/ui/elements/src/lib/link-card/link-card.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/record-api-form/record-api-form.component.d.ts.map +1 -1
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts +29 -30
- package/libs/ui/elements/src/lib/ui-elements.module.d.ts.map +1 -1
- package/libs/ui/inputs/src/index.d.ts +1 -0
- package/libs/ui/inputs/src/index.d.ts.map +1 -1
- package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts +12 -0
- package/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.d.ts.map +1 -0
- package/libs/ui/layout/src/index.d.ts +1 -0
- package/libs/ui/layout/src/index.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts +25 -0
- package/libs/ui/layout/src/lib/block-list/block-list.component.d.ts.map +1 -0
- package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts +13 -6
- package/libs/ui/layout/src/lib/carousel/carousel.component.d.ts.map +1 -1
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts +4 -5
- package/libs/ui/layout/src/lib/ui-layout.module.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/libs/common/fixtures/src/lib/link.fixtures.ts +8 -0
- package/src/libs/feature/dataviz/src/lib/service/data.service.ts +51 -1
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.css +7 -0
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html +32 -18
- package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts +72 -17
- package/src/libs/feature/map/src/lib/map-context/map-context.model.ts +1 -0
- package/src/libs/feature/map/src/lib/map-context/map-context.service.ts +26 -8
- package/src/libs/feature/record/src/lib/map-view/map-view.component.ts +2 -1
- package/src/libs/feature/record/src/lib/state/mdview.facade.ts +0 -1
- package/src/libs/ui/elements/src/lib/downloads-list/downloads-list.component.ts +1 -1
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.html +38 -20
- package/src/libs/ui/elements/src/lib/link-card/link-card.component.ts +12 -0
- package/src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +4 -2
- package/src/libs/ui/elements/src/lib/ui-elements.module.ts +0 -2
- package/src/libs/ui/inputs/src/index.ts +1 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.css +6 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.html +26 -0
- package/src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.ts +32 -0
- package/src/libs/ui/layout/src/index.ts +1 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.css +23 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.html +20 -0
- package/src/libs/ui/layout/src/lib/block-list/block-list.component.ts +84 -0
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.css +7 -4
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.html +4 -4
- package/src/libs/ui/layout/src/lib/carousel/carousel.component.ts +45 -15
- package/src/libs/ui/layout/src/lib/ui-layout.module.ts +0 -2
- package/src/libs/util/shared/src/lib/links/link-classifier.service.ts +1 -1
- package/translations/de.json +9 -14
- package/translations/en.json +9 -14
- package/translations/es.json +9 -14
- package/translations/fr.json +9 -14
- package/translations/it.json +9 -14
- package/translations/nl.json +9 -14
- package/translations/pt.json +9 -14
- package/translations/sk.json +9 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WfsVersion } from '@camptocamp/ogc-client';
|
|
1
|
+
import { OgcApiCollectionInfo, WfsVersion } from '@camptocamp/ogc-client';
|
|
2
2
|
import { BaseReader } from '../../../../../../libs/util/data-fetcher/src';
|
|
3
3
|
import { ProxyService } from '../../../../../../libs/util/shared/src';
|
|
4
4
|
import type { FeatureCollection } from 'geojson';
|
|
@@ -22,6 +22,8 @@ export declare class DataService {
|
|
|
22
22
|
getDownloadUrlsFromWfs(wfsUrl: string, featureTypeName: string): Observable<WfsDownloadUrls>;
|
|
23
23
|
getDownloadUrlFromEsriRest(apiUrl: string, format: string): string;
|
|
24
24
|
getDownloadLinksFromWfs(wfsLink: DatasetServiceDistribution): Observable<DatasetDistribution[]>;
|
|
25
|
+
getDownloadLinksFromOgcApiFeatures(ogcApiLink: DatasetServiceDistribution): Promise<DatasetDistribution[]>;
|
|
26
|
+
getDownloadUrlsFromOgcApi(url: string): Promise<OgcApiCollectionInfo>;
|
|
25
27
|
getDownloadLinksFromEsriRest(esriRestLink: DatasetServiceDistribution): DatasetDistribution[];
|
|
26
28
|
readAsGeoJson(link: DatasetDistribution): Observable<FeatureCollection>;
|
|
27
29
|
getDataset(link: DatasetDistribution): Observable<BaseReader>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/dataviz/src/lib/service/data.service.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"data.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/dataviz/src/lib/service/data.service.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EAGpB,UAAU,EACX,MAAM,wBAAwB,CAAA;AAC/B,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;;AAclE,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;IAoB9B,kCAAkC,CACtC,UAAU,EAAE,0BAA0B,GACrC,OAAO,CAAC,mBAAmB,EAAE,CAAC;IAgB3B,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAW3E,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;yCA7JlD,WAAW;6CAAX,WAAW;CAkNvB"}
|
package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { OgcApiEndpoint } from '@camptocamp/ogc-client';
|
|
3
2
|
import { Subject } from 'rxjs';
|
|
3
|
+
import { DropdownChoice } from '../../../../../../libs/ui/inputs/src';
|
|
4
4
|
import { MapLayer } from '../+state/map.models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class AddLayerFromOgcApiComponent implements OnInit {
|
|
@@ -8,15 +8,20 @@ export declare class AddLayerFromOgcApiComponent implements OnInit {
|
|
|
8
8
|
ogcUrl: string;
|
|
9
9
|
layerAdded: EventEmitter<MapLayer>;
|
|
10
10
|
urlChange: Subject<string>;
|
|
11
|
-
layerUrl: string;
|
|
12
11
|
loading: boolean;
|
|
13
|
-
layers:
|
|
14
|
-
ogcEndpoint: OgcApiEndpoint;
|
|
12
|
+
layers: any[];
|
|
15
13
|
errorMessage: string | null;
|
|
14
|
+
selectedLayerTypes: {
|
|
15
|
+
[key: string]: DropdownChoice['value'];
|
|
16
|
+
};
|
|
16
17
|
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
17
18
|
ngOnInit(): void;
|
|
18
19
|
loadLayers(): Promise<void>;
|
|
19
|
-
|
|
20
|
+
setDefaultLayerTypes(): void;
|
|
21
|
+
getLayerChoices(layer: any): any[];
|
|
22
|
+
shouldDisplayLayer(layer: any): any;
|
|
23
|
+
onLayerTypeSelect(layerName: string, selectedType: any): void;
|
|
24
|
+
addLayer(layer: string, layerType: any): Promise<void>;
|
|
20
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddLayerFromOgcApiComponent, never>;
|
|
21
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddLayerFromOgcApiComponent, "gn-ui-add-layer-from-ogc-api", never, { "ogcUrl": { "alias": "ogcUrl"; "required": false; }; }, { "layerAdded": "layerAdded"; }, never, never, true, never>;
|
|
22
27
|
}
|
package/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-layer-from-ogc-api.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EAEN,YAAY,EAGZ,iBAAiB,EAClB,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"add-layer-from-ogc-api.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EAEN,YAAY,EAGZ,iBAAiB,EAClB,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,OAAO,EAAgB,MAAM,MAAM,CAAA;AAM5C,OAAO,EAAE,cAAc,EAAkB,MAAM,sCAAsC,CAAA;AAErF,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;;AAE/C,qBAOa,2BAA4B,YAAW,MAAM;IAU5C,OAAO,CAAC,iBAAiB;IAT5B,MAAM,EAAE,MAAM,CAAA;IACb,UAAU,yBAA+B;IAEnD,SAAS,kBAAwB;IACjC,OAAO,UAAQ;IACf,MAAM,EAAE,GAAG,EAAE,CAAK;IAClB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;IAClC,kBAAkB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAC,OAAO,CAAC,CAAA;KAAE,CAAK;gBAE/C,iBAAiB,EAAE,iBAAiB;IAExD,QAAQ;IAMF,UAAU;IAqBhB,oBAAoB;IASpB,eAAe,CAAC,KAAK,EAAE,GAAG;IAiB1B,kBAAkB,CAAC,KAAK,EAAE,GAAG;IAS7B,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG;IAMhD,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG;yCAhFjC,2BAA2B;2CAA3B,2BAA2B;CA2GvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-context.model.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/map-context/map-context.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAEvC,oBAAY,uBAAuB;IACjC,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,oBAAoB,EAAE,CAAA;IAC9B,IAAI,CAAC,EAAE,mBAAmB,CAAA;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,KAAK,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,UAAU,uBAAuB;IAC/B,IAAI,EAAE,KAAK,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,QAAQ,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"map-context.model.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/map-context/map-context.model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAEvC,oBAAY,uBAAuB;IACjC,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,oBAAoB,EAAE,CAAA;IAC9B,IAAI,CAAC,EAAE,mBAAmB,CAAA;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,KAAK,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,UAAU,uBAAuB;IAC/B,IAAI,EAAE,KAAK,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,QAAQ,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,SAAS,GAAG,aAAa,GAAG,UAAU,GAAG,QAAQ,CAAA;CAC7D;AAED,UAAU,aAAa;IACrB,IAAI,EAAE,KAAK,CAAA;IACX,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AACD,UAAU,oBAAqB,SAAQ,aAAa;IAClD,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,KAAK,CAAA;CACb;AACD,UAAU,qBAAsB,SAAQ,aAAa;IACnD,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,GAAG,CAAC,EAAE,KAAK,CAAA;CACZ;AACD,MAAM,MAAM,uBAAuB,GAC/B,oBAAoB,GACpB,qBAAqB,CAAA;AAEzB,UAAU,YAAY;IACpB,IAAI,EAAE,SAAS,CAAA;CAChB;AACD,UAAU,mBAAoB,SAAQ,YAAY;IAChD,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,CAAC,EAAE,KAAK,CAAA;CACb;AACD,UAAU,oBAAqB,SAAQ,YAAY;IACjD,IAAI,EAAE,iBAAiB,GAAG,MAAM,CAAA;IAChC,GAAG,CAAC,EAAE,KAAK,CAAA;CACZ;AACD,MAAM,MAAM,2BAA2B,GACnC,mBAAmB,GACnB,oBAAoB,CAAA;AAExB,MAAM,MAAM,oBAAoB,GAC5B,uBAAuB,GACvB,wBAAwB,GACxB,uBAAuB,GACvB,uBAAuB,GACvB,2BAA2B,GAC3B,0BAA0B,CAAA;AAE9B,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-context.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/map-context/map-context.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EACL,oBAAoB,EAEpB,uBAAuB,EACvB,eAAe,EACf,mBAAmB,EACpB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,GAAG,MAAM,QAAQ,CAAA;AACxB,OAAO,IAAI,MAAM,SAAS,CAAA;AAC1B,OAAO,KAAK,MAAM,eAAe,CAAA;AAOjC,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAA;;
|
|
1
|
+
{"version":3,"file":"map-context.service.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/map/src/lib/map-context/map-context.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EACL,oBAAoB,EAEpB,uBAAuB,EACvB,eAAe,EACf,mBAAmB,EACpB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,GAAG,MAAM,QAAQ,CAAA;AACxB,OAAO,IAAI,MAAM,SAAS,CAAA;AAC1B,OAAO,KAAK,MAAM,eAAe,CAAA;AAOjC,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAA;;AAYnF,eAAO,MAAM,yBAAyB,EAAE,uBAOvC,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,mBAG1B,CAAA;AAED,eAAO,MAAM,gBAAgB,QAAQ,CAAA;AAErC,qBAGa,iBAAiB;IAE1B,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,YAAY;gBADZ,QAAQ,EAAE,eAAe,EACzB,YAAY,EAAE,eAAe;IAGvC,mBAAmB,CACjB,GAAG,EAAE,GAAG,EACR,UAAU,EAAE,eAAe,EAC3B,SAAS,CAAC,EAAE,SAAS,GACpB,GAAG;IAkBN,WAAW,CAAC,UAAU,EAAE,oBAAoB,GAAG,KAAK;IAiIpD,UAAU,CAAC,SAAS,EAAE,mBAAmB,EAAE,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI;IAqB3D,0BAA0B,CACxB,MAAM,EAAE,oBAAoB,EAAE,GAC7B,oBAAoB,EAAE;IAMzB,yBAAyB,CACvB,UAAU,EAAE,eAAe,EAC3B,SAAS,EAAE,SAAS,GACnB,eAAe;IAsBlB,eAAe,CAAC,SAAS,EAAE,SAAS,GAAG,mBAAmB;IAM1D,yBAAyB,CAAC,MAAM,EAAE,WAAW,GAAG,oBAAoB;yCAzNzD,iBAAiB;6CAAjB,iBAAiB;CAoP7B"}
|
|
@@ -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;AAE5F,OAAO,OAAO,MAAM,YAAY,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EACL,eAAe,EAIf,UAAU,EAMX,MAAM,MAAM,CAAA;AASb,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAA;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAA;;AAE/F,qBAMa,gBAAiB,YAAW,MAAM,EAAE,SAAS;IAsFtD,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,YAAY;IA3FtB,SAAS,EAAE,SAAS,CAAyB;IAC7C,SAAS,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;IAC5B,OAAO,CAAC,YAAY,CAAqB;IACzC,OAAO,CAAC,cAAc,CAAW;IAEjC,mBAAmB,oCAKlB;IAED,gBAAgB;;;SASf;IACD,kBAAkB,0BAAyB;IAE3C,OAAO,UAAQ;IACf,KAAK,MAAO;IAEZ,aAAa,kCAGiC;IAE9C,cAAc,oBAiBb;IAED,WAAW,8BA+BV;gBAGS,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,kBAAkB,EAC/B,SAAS,EAAE,iBAAiB,EAC5B,YAAY,EAAE,eAAe;IAGvC,WAAW,IAAI,IAAI;IAInB,QAAQ,IAAI,IAAI;IAWhB,kBAAkB,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,GAAG,IAAI;IASvD,cAAc,IAAI,IAAI;IAOtB,gBAAgB,CACd,IAAI,EAAE,mBAAmB,GACxB,UAAU,CAAC,oBAAoB,CAAC;
|
|
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;AAE5F,OAAO,OAAO,MAAM,YAAY,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,EACL,eAAe,EAIf,UAAU,EAMX,MAAM,MAAM,CAAA;AASb,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,4CAA4C,CAAA;AACxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAA;;AAE/F,qBAMa,gBAAiB,YAAW,MAAM,EAAE,SAAS;IAsFtD,OAAO,CAAC,YAAY;IACpB,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,SAAS;IACjB,OAAO,CAAC,YAAY;IA3FtB,SAAS,EAAE,SAAS,CAAyB;IAC7C,SAAS,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAA;IAC5B,OAAO,CAAC,YAAY,CAAqB;IACzC,OAAO,CAAC,cAAc,CAAW;IAEjC,mBAAmB,oCAKlB;IAED,gBAAgB;;;SASf;IACD,kBAAkB,0BAAyB;IAE3C,OAAO,UAAQ;IACf,KAAK,MAAO;IAEZ,aAAa,kCAGiC;IAE9C,cAAc,oBAiBb;IAED,WAAW,8BA+BV;gBAGS,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,iBAAiB,EAC7B,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,kBAAkB,EAC/B,SAAS,EAAE,iBAAiB,EAC5B,YAAY,EAAE,eAAe;IAGvC,WAAW,IAAI,IAAI;IAInB,QAAQ,IAAI,IAAI;IAWhB,kBAAkB,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,GAAG,IAAI;IASvD,cAAc,IAAI,IAAI;IAOtB,gBAAgB,CACd,IAAI,EAAE,mBAAmB,GACxB,UAAU,CAAC,oBAAoB,CAAC;IAiCnC,mBAAmB,CAAC,IAAI,EAAE,MAAM;yCAjKrB,gBAAgB;2CAAhB,gBAAgB;CAoK5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mdview.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAI3C,OAAO,EAAE,qBAAqB,EAAa,MAAM,wCAAwC,CAAA;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAClI,OAAO,EACL,aAAa,EACb,YAAY,
|
|
1
|
+
{"version":3,"file":"mdview.facade.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/feature/record/src/lib/state/mdview.facade.ts"],"names":[],"mappings":"AACA,OAAO,EAAU,KAAK,EAAE,MAAM,aAAa,CAAA;AAI3C,OAAO,EAAE,qBAAqB,EAAa,MAAM,wCAAwC,CAAA;AACzF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wFAAwF,CAAA;AAClI,OAAO,EACL,aAAa,EACb,YAAY,EACb,MAAM,2DAA2D,CAAA;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAA;;AAElF,qBAOa,YAAY;IAErB,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,cAAc;IACtB,OAAO,CAAC,aAAa;gBAFb,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,qBAAqB,EACrC,aAAa,EAAE,sBAAsB;IAG/C,UAAU,qCAGT;IAED,kBAAkB,qCAEjB;IAED,SAAS,oDAGR;IAED,aAAa,qCAGZ;IAED,MAAM;;;OAA4D;IAElE,QAAQ,6CAAsD;IAE9D,YAAY,uDAA0D;IAEtE,SAAS,8HAER;IAED,SAAS,8HAIR;IAED,YAAY,8HAMX;IAED,cAAc,8HAMb;IAED,UAAU,8HAIT;IAED,aAAa,8HAMZ;IAED,iBAAiB,mCAEhB;IAED,WAAW,8HAMV;IAED,cAAc,4CAA4D;IAC1E,yBAAyB,qCAExB;IACD,yBAAyB,qCAExB;IAED;;;OAGG;IACH,qBAAqB,CAAC,UAAU,EAAE,aAAa;IAI/C;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM;IAIrB,aAAa;IAIb,cAAc,CAAC,WAAW,EAAE,yBAAyB;IAIrD;;OAEG;IACH,eAAe,CAAC,YAAY,EAAE,YAAY;IAI1C,iBAAiB,CAAC,WAAW,EAAE,MAAM;yCA1H1B,YAAY;6CAAZ,YAAY;CA6HxB"}
|
|
@@ -2,7 +2,9 @@ import { DatasetDistribution } from '../../../../../../libs/common/domain/src/li
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class LinkCardComponent {
|
|
4
4
|
link: DatasetDistribution;
|
|
5
|
+
compact: boolean;
|
|
6
|
+
get title(): string;
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkCardComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LinkCardComponent, "gn-ui-link-card", never, { "link": { "alias": "link"; "required": false; }; }, {}, never, never,
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkCardComponent, "gn-ui-link-card", never, { "link": { "alias": "link"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
9
|
}
|
|
8
10
|
//# sourceMappingURL=link-card.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-card.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/link-card/link-card.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAA;;
|
|
1
|
+
{"version":3,"file":"link-card.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/link-card/link-card.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAA;;AAI/F,qBAQa,iBAAiB;IACnB,IAAI,EAAE,mBAAmB,CAAA;IACzB,OAAO,UAAQ;IAExB,IAAI,KAAK,WAKR;yCATU,iBAAiB;2CAAjB,iBAAiB;CAU7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"record-api-form.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2DAA2D,CAAA;AAEtG,OAAO,EAAE,eAAe,EAAsB,MAAM,MAAM,CAAA;;AAO1D,qBAMa,sBAAsB;IACjC,IAAa,OAAO,CAAC,KAAK,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"record-api-form.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2DAA2D,CAAA;AAEtG,OAAO,EAAE,eAAe,EAAsB,MAAM,MAAM,CAAA;;AAO1D,qBAMa,sBAAsB;IACjC,IAAa,OAAO,CAAC,KAAK,EAAE,0BAA0B,EAOrD;IACD,OAAO,0BAA0B;IACjC,MAAM,0BAA0B;IAChC,OAAO,0BAA0B;IACjC,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa;;;QAAqC;IAClD,YAAY,iCAiBX;IACD,eAAe,qCAEd;IAED,aAAa,oCAEZ;IAED,SAAS,CAAC,KAAK,EAAE,MAAM;IAIvB,QAAQ,CAAC,KAAK,EAAE,MAAM;IAKtB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;IAIjC,QAAQ;IAMR,kBAAkB;IA6BZ,gBAAgB,CAAC,GAAG,KAAA;yCAxFf,sBAAsB;2CAAtB,sBAAsB;CA6FlC"}
|
|
@@ -4,38 +4,37 @@ import * as i2 from "./content-ghost/content-ghost.component";
|
|
|
4
4
|
import * as i3 from "./download-item/download-item.component";
|
|
5
5
|
import * as i4 from "./downloads-list/downloads-list.component";
|
|
6
6
|
import * as i5 from "./api-card/api-card.component";
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "./
|
|
9
|
-
import * as i8 from "./metadata-
|
|
10
|
-
import * as i9 from "./metadata-
|
|
11
|
-
import * as i10 from "./metadata-quality/metadata-quality.component";
|
|
12
|
-
import * as i11 from "./
|
|
13
|
-
import * as i12 from "./
|
|
14
|
-
import * as i13 from "./
|
|
15
|
-
import * as i14 from "./
|
|
16
|
-
import * as i15 from "./
|
|
17
|
-
import * as i16 from "./
|
|
18
|
-
import * as i17 from "./
|
|
19
|
-
import * as i18 from "./
|
|
20
|
-
import * as i19 from "./
|
|
21
|
-
import * as i20 from "./
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "@angular/
|
|
24
|
-
import * as i23 from "@angular/material/
|
|
25
|
-
import * as i24 from "
|
|
26
|
-
import * as i25 from "../../../
|
|
27
|
-
import * as i26 from "
|
|
28
|
-
import * as i27 from "
|
|
29
|
-
import * as i28 from "
|
|
30
|
-
import * as i29 from "
|
|
31
|
-
import * as i30 from "
|
|
32
|
-
import * as i31 from "
|
|
33
|
-
import * as i32 from "./
|
|
34
|
-
import * as i33 from "./
|
|
35
|
-
import * as i34 from "./user-feedback-item/time-since.pipe";
|
|
7
|
+
import * as i6 from "./related-record-card/related-record-card.component";
|
|
8
|
+
import * as i7 from "./metadata-contact/metadata-contact.component";
|
|
9
|
+
import * as i8 from "./metadata-catalog/metadata-catalog.component";
|
|
10
|
+
import * as i9 from "./metadata-quality/metadata-quality.component";
|
|
11
|
+
import * as i10 from "./metadata-quality-item/metadata-quality-item.component";
|
|
12
|
+
import * as i11 from "./search-results-error/search-results-error.component";
|
|
13
|
+
import * as i12 from "./pagination/pagination.component";
|
|
14
|
+
import * as i13 from "./avatar/avatar.component";
|
|
15
|
+
import * as i14 from "./user-preview/user-preview.component";
|
|
16
|
+
import * as i15 from "./metadata-info/linkify.directive";
|
|
17
|
+
import * as i16 from "./pagination-buttons/pagination-buttons.component";
|
|
18
|
+
import * as i17 from "./max-lines/max-lines.component";
|
|
19
|
+
import * as i18 from "./record-api-form/record-api-form.component";
|
|
20
|
+
import * as i19 from "./user-feedback-item/user-feedback-item.component";
|
|
21
|
+
import * as i20 from "./image-overlay-preview/image-overlay-preview.component";
|
|
22
|
+
import * as i21 from "@angular/common";
|
|
23
|
+
import * as i22 from "@angular/material/icon";
|
|
24
|
+
import * as i23 from "@angular/material/tooltip";
|
|
25
|
+
import * as i24 from "../../../widgets/src/lib/ui-widgets.module";
|
|
26
|
+
import * as i25 from "../../../layout/src/lib/ui-layout.module";
|
|
27
|
+
import * as i26 from "@ngx-translate/core";
|
|
28
|
+
import * as i27 from "../../../../util/shared/src/lib/util-shared.module";
|
|
29
|
+
import * as i28 from "@angular/router";
|
|
30
|
+
import * as i29 from "../../../inputs/src/lib/ui-inputs.module";
|
|
31
|
+
import * as i30 from "@angular/forms";
|
|
32
|
+
import * as i31 from "./markdown-parser/markdown-parser.component";
|
|
33
|
+
import * as i32 from "./thumbnail/thumbnail.component";
|
|
34
|
+
import * as i33 from "./user-feedback-item/time-since.pipe";
|
|
36
35
|
export declare class UiElementsModule {
|
|
37
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiElementsModule, never>;
|
|
38
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.
|
|
37
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiElementsModule, [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.SearchResultsErrorComponent, typeof i12.PaginationComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i15.GnUiLinkifyDirective, typeof i16.PaginationButtonsComponent, typeof i17.MaxLinesComponent, typeof i18.RecordApiFormComponent, typeof i19.UserFeedbackItemComponent, typeof i20.ImageOverlayPreviewComponent], [typeof i21.CommonModule, typeof i22.MatIconModule, typeof i23.MatTooltipModule, typeof i24.UiWidgetsModule, typeof i25.UiLayoutModule, typeof i26.TranslateModule, typeof i27.UtilSharedModule, typeof i28.RouterModule, typeof i29.UiInputsModule, typeof i30.FormsModule, typeof i21.NgOptimizedImage, typeof i31.MarkdownParserComponent, typeof i32.ThumbnailComponent, typeof i33.TimeSincePipe], [typeof i1.MetadataInfoComponent, typeof i2.ContentGhostComponent, typeof i3.DownloadItemComponent, typeof i4.DownloadsListComponent, typeof i5.ApiCardComponent, typeof i6.RelatedRecordCardComponent, typeof i7.MetadataContactComponent, typeof i8.MetadataCatalogComponent, typeof i9.MetadataQualityComponent, typeof i10.MetadataQualityItemComponent, typeof i11.SearchResultsErrorComponent, typeof i12.PaginationComponent, typeof i32.ThumbnailComponent, typeof i13.AvatarComponent, typeof i14.UserPreviewComponent, typeof i16.PaginationButtonsComponent, typeof i17.MaxLinesComponent, typeof i18.RecordApiFormComponent, typeof i31.MarkdownParserComponent, typeof i19.UserFeedbackItemComponent, typeof i20.ImageOverlayPreviewComponent]>;
|
|
39
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiElementsModule>;
|
|
40
39
|
}
|
|
41
40
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"ui-elements.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/elements/src/lib/ui-elements.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,qBA+Da,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
|
|
@@ -19,4 +19,5 @@ export * from './lib/text-area/text-area.component';
|
|
|
19
19
|
export * from './lib/text-input/text-input.component';
|
|
20
20
|
export * from './lib/ui-inputs.module';
|
|
21
21
|
export * from './lib/viewport-intersector/viewport-intersector.component';
|
|
22
|
+
export * from './lib/previous-next-buttons/previous-next-buttons.component';
|
|
22
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/inputs/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAA;AACzD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2CAA2C,CAAA;AACzD,cAAc,mCAAmC,CAAA;AACjD,cAAc,yCAAyC,CAAA;AACvD,cAAc,mDAAmD,CAAA;AACjE,cAAc,yCAAyC,CAAA;AACvD,cAAc,qDAAqD,CAAA;AACnE,cAAc,mEAAmE,CAAA;AACjF,cAAc,2DAA2D,CAAA;AACzE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,qDAAqD,CAAA;AACnE,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,wBAAwB,CAAA;AACtC,cAAc,2DAA2D,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/inputs/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAA;AACzD,cAAc,+BAA+B,CAAA;AAC7C,cAAc,2CAA2C,CAAA;AACzD,cAAc,mCAAmC,CAAA;AACjD,cAAc,yCAAyC,CAAA;AACvD,cAAc,mDAAmD,CAAA;AACjE,cAAc,yCAAyC,CAAA;AACvD,cAAc,qDAAqD,CAAA;AACnE,cAAc,mEAAmE,CAAA;AACjF,cAAc,2DAA2D,CAAA;AACzE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qDAAqD,CAAA;AACnE,cAAc,iDAAiD,CAAA;AAC/D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,qDAAqD,CAAA;AACnE,cAAc,2CAA2C,CAAA;AACzD,cAAc,yCAAyC,CAAA;AACvD,cAAc,qCAAqC,CAAA;AACnD,cAAc,uCAAuC,CAAA;AACrD,cAAc,wBAAwB,CAAA;AACtC,cAAc,2DAA2D,CAAA;AACzE,cAAc,6DAA6D,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PreviousNextButtonsComponent {
|
|
4
|
+
isFirst: boolean;
|
|
5
|
+
isLast: boolean;
|
|
6
|
+
directionButtonClicked: EventEmitter<string>;
|
|
7
|
+
previousButtonClicked(): void;
|
|
8
|
+
nextButtonClicked(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PreviousNextButtonsComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PreviousNextButtonsComponent, "gn-ui-previous-next-buttons", never, { "isFirst": { "alias": "isFirst"; "required": false; }; "isLast": { "alias": "isLast"; "required": false; }; }, { "directionButtonClicked": "directionButtonClicked"; }, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=previous-next-buttons.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previous-next-buttons.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/inputs/src/lib/previous-next-buttons/previous-next-buttons.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,YAAY,EAGb,MAAM,eAAe,CAAA;;AAItB,qBAQa,4BAA4B;IAC9B,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,OAAO,CAAA;IAEd,sBAAsB,EAAE,YAAY,CAAC,MAAM,CAAC,CAAqB;IAE3E,qBAAqB;IAIrB,iBAAiB;yCAVN,4BAA4B;2CAA5B,4BAA4B;CAaxC"}
|
|
@@ -6,5 +6,6 @@ export * from './lib/form-field-wrapper/form-field-wrapper.component';
|
|
|
6
6
|
export * from './lib/interactive-table/interactive-table-column/interactive-table-column.component';
|
|
7
7
|
export * from './lib/interactive-table/interactive-table.component';
|
|
8
8
|
export * from './lib/sticky-header/sticky-header.component';
|
|
9
|
+
export * from './lib/block-list/block-list.component';
|
|
9
10
|
export * from './lib/ui-layout.module';
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,iEAAiE,CAAA;AAC/E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qFAAqF,CAAA;AACnG,cAAc,qDAAqD,CAAA;AACnE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/libs/ui/layout/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,mCAAmC,CAAA;AACjD,cAAc,iEAAiE,CAAA;AAC/E,cAAc,mDAAmD,CAAA;AACjE,cAAc,uDAAuD,CAAA;AACrE,cAAc,qFAAqF,CAAA;AACnG,cAAc,qDAAqD,CAAA;AACnE,cAAc,6CAA6C,CAAA;AAC3D,cAAc,uCAAuC,CAAA;AACrD,cAAc,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, QueryList } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class BlockListComponent implements AfterViewInit {
|
|
4
|
+
private changeDetector;
|
|
5
|
+
pageSize: number;
|
|
6
|
+
containerClass: string;
|
|
7
|
+
paginationContainerClass: string;
|
|
8
|
+
blocks: QueryList<ElementRef<HTMLElement>>;
|
|
9
|
+
blockContainer: ElementRef<HTMLElement>;
|
|
10
|
+
protected minHeight: number;
|
|
11
|
+
protected currentPage: number;
|
|
12
|
+
protected get pages(): number[];
|
|
13
|
+
get isFirstPage(): boolean;
|
|
14
|
+
get isLastPage(): boolean;
|
|
15
|
+
get pagesCount(): number;
|
|
16
|
+
constructor(changeDetector: ChangeDetectorRef);
|
|
17
|
+
ngAfterViewInit(): void;
|
|
18
|
+
protected refreshBlocksVisibility: () => void;
|
|
19
|
+
goToPage(index: number): void;
|
|
20
|
+
previousPage(): void;
|
|
21
|
+
nextPage(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BlockListComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BlockListComponent, "gn-ui-block-list", never, { "pageSize": { "alias": "pageSize"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "paginationContainerClass": { "alias": "paginationContainerClass"; "required": false; }; }, {}, ["blocks"], ["*"], true, never>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=block-list.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block-list.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/block-list/block-list.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAGjB,UAAU,EAEV,SAAS,EAEV,MAAM,eAAe,CAAA;;AAGtB,qBAQa,kBAAmB,YAAW,aAAa;IA0B1C,OAAO,CAAC,cAAc;IAzBzB,QAAQ,SAAI;IACZ,cAAc,SAAK;IACnB,wBAAwB,SAA6B;IACd,MAAM,EAAE,SAAS,CAC/D,UAAU,CAAC,WAAW,CAAC,CACxB,CAAA;IAC4B,cAAc,EAAE,UAAU,CAAC,WAAW,CAAC,CAAA;IAEpE,SAAS,CAAC,SAAS,SAAI;IAEvB,SAAS,CAAC,WAAW,SAAI;IACzB,SAAS,KAAK,KAAK,aAElB;IAED,IAAI,WAAW,YAEd;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,WAEb;gBAEmB,cAAc,EAAE,iBAAiB;IAErD,eAAe;IASf,SAAS,CAAC,uBAAuB,aAQhC;IAEM,QAAQ,CAAC,KAAK,EAAE,MAAM;IAMtB,YAAY;IAKZ,QAAQ;yCA1DJ,kBAAkB;2CAAlB,kBAAkB;CA8D9B"}
|
|
@@ -1,18 +1,25 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { EmblaCarouselType } from 'embla-carousel';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class CarouselComponent implements AfterViewInit {
|
|
5
5
|
private changeDetector;
|
|
6
|
+
carouselOverflowContainer: ElementRef;
|
|
6
7
|
containerClass: string;
|
|
7
8
|
stepsContainerClass: string;
|
|
8
|
-
|
|
9
|
-
steps: number[];
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
currentStepChange: EventEmitter<number>;
|
|
10
|
+
protected steps: number[];
|
|
11
|
+
protected emblaApi: EmblaCarouselType;
|
|
12
|
+
protected currentStep: number;
|
|
13
|
+
protected refreshSteps: () => void;
|
|
14
|
+
get isFirstStep(): boolean;
|
|
15
|
+
get isLastStep(): boolean;
|
|
16
|
+
get stepsCount(): number;
|
|
12
17
|
constructor(changeDetector: ChangeDetectorRef);
|
|
13
18
|
ngAfterViewInit(): void;
|
|
14
19
|
scrollToStep(stepIndex: number): void;
|
|
20
|
+
slideToPrevious(): void;
|
|
21
|
+
slideToNext(): void;
|
|
15
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "gn-ui-carousel", never, { "containerClass": { "alias": "containerClass"; "required": false; }; "stepsContainerClass": { "alias": "stepsContainerClass"; "required": false; }; }, {}, never, ["*"],
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "gn-ui-carousel", never, { "containerClass": { "alias": "containerClass"; "required": false; }; "stepsContainerClass": { "alias": "stepsContainerClass"; "required": false; }; }, { "currentStepChange": "currentStepChange"; }, never, ["*"], true, never>;
|
|
17
24
|
}
|
|
18
25
|
//# sourceMappingURL=carousel.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carousel.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/carousel/carousel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,
|
|
1
|
+
{"version":3,"file":"carousel.component.d.ts","sourceRoot":"","sources":["../../../../../../src/libs/ui/layout/src/lib/carousel/carousel.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEb,iBAAiB,EAEjB,UAAU,EACV,YAAY,EAIb,MAAM,eAAe,CAAA;AACtB,OAAsB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;;AAGjE,qBAQa,iBAAkB,YAAW,aAAa;IA4BzC,OAAO,CAAC,cAAc;IA3BM,yBAAyB,EAAE,UAAU,CAAA;IAEpE,cAAc,SAAK;IACnB,mBAAmB,SAA6B;IAC/C,iBAAiB,uBAA6B;IAExD,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,CAAK;IAC9B,SAAS,CAAC,QAAQ,EAAE,iBAAiB,CAAA;IACrC,SAAS,CAAC,WAAW,SAAI;IAEzB,SAAS,CAAC,YAAY,aAKrB;IAED,IAAI,WAAW,YAEd;IACD,IAAI,UAAU,YAEb;IACD,IAAI,UAAU,WAEb;gBAEmB,cAAc,EAAE,iBAAiB;IAErD,eAAe;IAcR,YAAY,CAAC,SAAS,EAAE,MAAM;IAI9B,eAAe;IAKf,WAAW;yCArDP,iBAAiB;2CAAjB,iBAAiB;CAyD7B"}
|
|
@@ -3,13 +3,12 @@ import * as i1 from "./expandable-panel/expandable-panel.component";
|
|
|
3
3
|
import * as i2 from "./sticky-header/sticky-header.component";
|
|
4
4
|
import * as i3 from "./anchor-link/anchor-link.directive";
|
|
5
5
|
import * as i4 from "./expandable-panel-button/expandable-panel-button.component";
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "@angular/
|
|
8
|
-
import * as i7 from "@
|
|
9
|
-
import * as i8 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/material/icon";
|
|
8
|
+
import * as i7 from "@ngx-translate/core";
|
|
10
9
|
export declare class UiLayoutModule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiLayoutModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiLayoutModule, [typeof i1.ExpandablePanelComponent, typeof i2.StickyHeaderComponent, typeof i3.AnchorLinkDirective, typeof i4.ExpandablePanelButtonComponent
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiLayoutModule, [typeof i1.ExpandablePanelComponent, typeof i2.StickyHeaderComponent, typeof i3.AnchorLinkDirective, typeof i4.ExpandablePanelButtonComponent], [typeof i5.CommonModule, typeof i6.MatIconModule, typeof i7.TranslateModule], [typeof i1.ExpandablePanelComponent, typeof i2.StickyHeaderComponent, typeof i3.AnchorLinkDirective, typeof i4.ExpandablePanelButtonComponent]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiLayoutModule>;
|
|
14
13
|
}
|
|
15
14
|
//# sourceMappingURL=ui-layout.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-layout.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/layout/src/lib/ui-layout.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ui-layout.module.d.ts","sourceRoot":"","sources":["../../../../../src/libs/ui/layout/src/lib/ui-layout.module.ts"],"names":[],"mappings":";;;;;;;;AAUA,qBAea,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAAG"}
|
package/package.json
CHANGED
|
@@ -110,6 +110,14 @@ export const LINK_FIXTURES: Record<string, DatasetDistribution> = deepFreeze({
|
|
|
110
110
|
url: new URL('https://my.ogc.server/wfs'),
|
|
111
111
|
accessServiceProtocol: 'wfs',
|
|
112
112
|
},
|
|
113
|
+
geodataWfsDownload: {
|
|
114
|
+
name: 'mylayer',
|
|
115
|
+
type: 'download',
|
|
116
|
+
url: new URL(
|
|
117
|
+
'https://my.ogc.server/wfs?GetFeature&FeatureType=surval_parametre_ligne&format=csv'
|
|
118
|
+
),
|
|
119
|
+
accessServiceProtocol: 'wfs',
|
|
120
|
+
},
|
|
113
121
|
geodataWms2: {
|
|
114
122
|
name: 'myotherlayer',
|
|
115
123
|
type: 'service',
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { Injectable } from '@angular/core'
|
|
2
2
|
import { marker } from '@biesbjerg/ngx-translate-extract-marker'
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
OgcApiCollectionInfo,
|
|
5
|
+
OgcApiEndpoint,
|
|
6
|
+
WfsEndpoint,
|
|
7
|
+
WfsVersion,
|
|
8
|
+
} from '@camptocamp/ogc-client'
|
|
4
9
|
import {
|
|
5
10
|
BaseReader,
|
|
6
11
|
FetchError,
|
|
@@ -27,6 +32,7 @@ marker('wfs.unreachable.http')
|
|
|
27
32
|
marker('wfs.unreachable.unknown')
|
|
28
33
|
marker('wfs.featuretype.notfound')
|
|
29
34
|
marker('wfs.geojsongml.notsupported')
|
|
35
|
+
marker('ogc.unreachable.unknown')
|
|
30
36
|
marker('dataset.error.network')
|
|
31
37
|
marker('dataset.error.http')
|
|
32
38
|
marker('dataset.error.parse')
|
|
@@ -148,6 +154,35 @@ export class DataService {
|
|
|
148
154
|
)
|
|
149
155
|
}
|
|
150
156
|
|
|
157
|
+
async getDownloadLinksFromOgcApiFeatures(
|
|
158
|
+
ogcApiLink: DatasetServiceDistribution
|
|
159
|
+
): Promise<DatasetDistribution[]> {
|
|
160
|
+
const collectionInfo = await this.getDownloadUrlsFromOgcApi(
|
|
161
|
+
ogcApiLink.url.href
|
|
162
|
+
)
|
|
163
|
+
return Object.keys(collectionInfo.bulkDownloadLinks).map((downloadLink) => {
|
|
164
|
+
return {
|
|
165
|
+
...ogcApiLink,
|
|
166
|
+
type: 'download',
|
|
167
|
+
url: new URL(collectionInfo.bulkDownloadLinks[downloadLink]),
|
|
168
|
+
mimeType: getMimeTypeForFormat(
|
|
169
|
+
getFileFormatFromServiceOutput(downloadLink)
|
|
170
|
+
),
|
|
171
|
+
}
|
|
172
|
+
})
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
async getDownloadUrlsFromOgcApi(url: string): Promise<OgcApiCollectionInfo> {
|
|
176
|
+
const endpoint = new OgcApiEndpoint(this.proxy.getProxiedUrl(url))
|
|
177
|
+
return await endpoint.featureCollections
|
|
178
|
+
.then((collections) => {
|
|
179
|
+
return endpoint.getCollectionInfo(collections[0])
|
|
180
|
+
})
|
|
181
|
+
.catch((error) => {
|
|
182
|
+
throw new Error(`ogc.unreachable.unknown`)
|
|
183
|
+
})
|
|
184
|
+
}
|
|
185
|
+
|
|
151
186
|
getDownloadLinksFromEsriRest(
|
|
152
187
|
esriRestLink: DatasetServiceDistribution
|
|
153
188
|
): DatasetDistribution[] {
|
|
@@ -205,6 +240,21 @@ export class DataService {
|
|
|
205
240
|
'geojson'
|
|
206
241
|
)
|
|
207
242
|
return from(openDataset(url, 'geojson')).pipe()
|
|
243
|
+
} else if (
|
|
244
|
+
link.type === 'service' &&
|
|
245
|
+
link.accessServiceProtocol === 'ogcFeatures'
|
|
246
|
+
) {
|
|
247
|
+
return from(this.getDownloadUrlsFromOgcApi(link.url.href)).pipe(
|
|
248
|
+
switchMap((collectionInfo) => {
|
|
249
|
+
const geojsonUrl = collectionInfo.jsonDownloadLink
|
|
250
|
+
return openDataset(geojsonUrl, 'geojson')
|
|
251
|
+
}),
|
|
252
|
+
tap((url) => {
|
|
253
|
+
if (url === null) {
|
|
254
|
+
throw new Error('wfs.geojsongml.notsupported')
|
|
255
|
+
}
|
|
256
|
+
})
|
|
257
|
+
)
|
|
208
258
|
}
|
|
209
259
|
return throwError(() => 'protocol not supported')
|
|
210
260
|
}
|
package/src/libs/feature/map/src/lib/add-layer-from-ogc-api/add-layer-from-ogc-api.component.html
CHANGED
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
(valueChange)="urlChange.next($event)"
|
|
5
5
|
[hint]="'map.ogc.urlInput.hint' | translate"
|
|
6
6
|
class="w-96"
|
|
7
|
-
>
|
|
8
|
-
</gn-ui-text-input>
|
|
7
|
+
></gn-ui-text-input>
|
|
9
8
|
</div>
|
|
10
9
|
|
|
11
10
|
<div *ngIf="errorMessage" class="text-red-500 mt-2">
|
|
@@ -16,21 +15,36 @@
|
|
|
16
15
|
<p class="loading-message" translate>map.loading.service</p>
|
|
17
16
|
</div>
|
|
18
17
|
|
|
19
|
-
<
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
type="primary"
|
|
29
|
-
(buttonClick)="addLayer(layer)"
|
|
30
|
-
extraClass="text-sm !px-2 !py-1"
|
|
31
|
-
translate
|
|
32
|
-
><span translate> map.layer.add </span></gn-ui-button
|
|
18
|
+
<ng-container *ngFor="let layer of layers">
|
|
19
|
+
<div
|
|
20
|
+
*ngIf="shouldDisplayLayer(layer)"
|
|
21
|
+
class="flex items-center justify-between my-2 layer-item-tree"
|
|
22
|
+
>
|
|
23
|
+
<div class="flex flex-col items-start w-full">
|
|
24
|
+
<p
|
|
25
|
+
class="max-w-xs overflow-hidden overflow-ellipsis whitespace-nowrap"
|
|
26
|
+
[title]="layer.name"
|
|
33
27
|
>
|
|
28
|
+
{{ layer.name }}
|
|
29
|
+
</p>
|
|
30
|
+
<div class="flex justify-between items-center w-full">
|
|
31
|
+
<gn-ui-dropdown-selector
|
|
32
|
+
[title]="'Add Layer As' | translate"
|
|
33
|
+
[choices]="getLayerChoices(layer)"
|
|
34
|
+
(selectValue)="onLayerTypeSelect(layer.name, $event)"
|
|
35
|
+
[selected]="selectedLayerTypes[layer.name]"
|
|
36
|
+
extraBtnClass="w-6 h-5 !text-sm !px-2 !py-1"
|
|
37
|
+
></gn-ui-dropdown-selector>
|
|
38
|
+
<gn-ui-button
|
|
39
|
+
class="layer-add-btn"
|
|
40
|
+
type="primary"
|
|
41
|
+
(buttonClick)="addLayer(layer.name, selectedLayerTypes[layer.name])"
|
|
42
|
+
extraClass="text-sm !px-2 !py-1"
|
|
43
|
+
translate
|
|
44
|
+
>
|
|
45
|
+
<span translate>map.layer.add</span>
|
|
46
|
+
</gn-ui-button>
|
|
47
|
+
</div>
|
|
34
48
|
</div>
|
|
35
|
-
</
|
|
36
|
-
</
|
|
49
|
+
</div>
|
|
50
|
+
</ng-container>
|