|
1 | 1 | import i18next from "i18next"; |
2 | 2 | import { flatten } from "lodash-es"; |
3 | | -import { action, computed, runInAction, makeObservable } from "mobx"; |
| 3 | +import { action, computed, makeObservable, runInAction } from "mobx"; |
4 | 4 | import URI from "urijs"; |
| 5 | +import TerriaError, { networkRequestError } from "../../../Core/TerriaError"; |
5 | 6 | import filterOutUndefined from "../../../Core/filterOutUndefined"; |
6 | 7 | import isDefined from "../../../Core/isDefined"; |
7 | 8 | import loadWithXhr from "../../../Core/loadWithXhr"; |
8 | 9 | import loadXML from "../../../Core/loadXML"; |
9 | 10 | import runLater from "../../../Core/runLater"; |
10 | | -import TerriaError, { networkRequestError } from "../../../Core/TerriaError"; |
11 | 11 | import CatalogMemberMixin from "../../../ModelMixins/CatalogMemberMixin"; |
12 | 12 | import GroupMixin from "../../../ModelMixins/GroupMixin"; |
13 | 13 | import UrlMixin from "../../../ModelMixins/UrlMixin"; |
14 | 14 | import xml2json from "../../../ThirdParty/xml2json"; |
| 15 | +import ModelReference from "../../../Traits/ModelReference"; |
15 | 16 | import { InfoSectionTraits } from "../../../Traits/TraitsClasses/CatalogMemberTraits"; |
16 | 17 | import CswCatalogGroupTraits, { |
17 | 18 | QueryPropertyName |
18 | 19 | } from "../../../Traits/TraitsClasses/CswCatalogGroupTraits"; |
19 | | -import ModelReference from "../../../Traits/ModelReference"; |
20 | | -import ArcGisMapServerCatalogItem from "../Esri/ArcGisMapServerCatalogItem"; |
21 | | -import CatalogGroup from "../CatalogGroup"; |
22 | 20 | import CommonStrata from "../../Definition/CommonStrata"; |
23 | 21 | import CreateModel from "../../Definition/CreateModel"; |
| 22 | +import LoadableStratum from "../../Definition/LoadableStratum"; |
| 23 | +import { BaseModel, ModelConstructor } from "../../Definition/Model"; |
| 24 | +import StratumOrder from "../../Definition/StratumOrder"; |
| 25 | +import CatalogGroup from "../CatalogGroup"; |
24 | 26 | import CsvCatalogItem from "../CatalogItems/CsvCatalogItem"; |
25 | 27 | import GeoJsonCatalogItem from "../CatalogItems/GeoJsonCatalogItem"; |
26 | 28 | import KmlCatalogItem from "../CatalogItems/KmlCatalogItem"; |
27 | | -import LoadableStratum from "../../Definition/LoadableStratum"; |
28 | | -import { BaseModel, ModelConstructor } from "../../Definition/Model"; |
29 | | -import { BoundingBox } from "./OwsInterfaces"; |
| 29 | +import ArcGisMapServerCatalogItem from "../Esri/ArcGisMapServerCatalogItem"; |
| 30 | +import defaultGetRecordsTemplate from "../Ows/CswGetRecordsTemplate.xml"; |
30 | 31 | import proxyCatalogItemUrl from "../proxyCatalogItemUrl"; |
31 | | -import StratumOrder from "../../Definition/StratumOrder"; |
| 32 | +import { BoundingBox } from "./OwsInterfaces"; |
32 | 33 | import WebMapServiceCatalogItem from "./WebMapServiceCatalogItem"; |
33 | 34 |
|
34 | | -const defaultGetRecordsTemplate = require("../Ows/CswGetRecordsTemplate.xml"); |
35 | 35 | // WPS is disabled until wps-group support |
36 | | -// const wpsGetRecordsTemplate = require("./CswGetRecordsWPSTemplate.xml"); |
| 36 | +// import wpsGetRecordsTemplate from "./CswGetRecordsWPSTemplate.xml"; |
37 | 37 |
|
38 | 38 | type ArrayOrPrimitive<T> = T | T[]; |
39 | 39 | function toArray<T>(val: ArrayOrPrimitive<T>): T[]; |
|
0 commit comments