123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252 |
- import {
- B
- } from "./chunk-4NKD334K.js";
- import {
- a
- } from "./chunk-MXB2XLKV.js";
- import {
- m as m3
- } from "./chunk-TBBTRX4O.js";
- import {
- K,
- Q,
- X,
- _
- } from "./chunk-VBRY5KJM.js";
- import {
- M2 as M,
- o
- } from "./chunk-ECW2QABR.js";
- import {
- s as s3
- } from "./chunk-GCDJLKH4.js";
- import {
- d,
- e,
- n2 as n,
- u2 as u,
- y3 as y2
- } from "./chunk-Y3WMVFTW.js";
- import {
- v
- } from "./chunk-IHXECKQQ.js";
- import {
- s,
- s3 as s2
- } from "./chunk-EMJ4ZSM2.js";
- import {
- m as m2,
- y
- } from "./chunk-IKP3YN53.js";
- import {
- m,
- r,
- t
- } from "./chunk-GZT4BVFP.js";
- // node_modules/@arcgis/core/portal/PortalItemResource.js
- var h = s.getLogger("esri.portal.PortalItemResource");
- var n2 = class extends y2 {
- constructor(t2) {
- super(t2), this.portalItem = null;
- }
- normalizeCtorArgs(t2) {
- return t2 && t2.portalItem && t2.path ? { ...t2, path: this._normalizePath(t2.path, t2.portalItem) } : t2;
- }
- set path(t2) {
- r(t2) && K(t2) ? h.error("portalitemresource:invalid-path", "A portal item resource path must be relative") : this._set("path", t2);
- }
- _castPath(t2) {
- return this._normalizePath(t2, this.portalItem);
- }
- get url() {
- return this.portalItem && this.path ? `${this.portalItem.itemUrl}/resources/${this.path}` : null;
- }
- get itemRelativeUrl() {
- return this.portalItem && this.path ? `./resources/${this.path}` : null;
- }
- fetch(t2 = "json", r2) {
- const o2 = this.url;
- if (t(o2))
- throw new s2("portal-item-resource:fetch", "Portal item resource does not refer to a valid item or path");
- return this.portalItem.portal._request(o2, { responseType: t2, query: { token: this.portalItem.apiKey }, signal: m(r2, "signal") });
- }
- async update(t2, r2) {
- return (await import("./resourceUtils-NZ5U43P2.js")).addOrUpdateResource(this, "update", t2, r2);
- }
- hasPath() {
- return r(this.path);
- }
- _normalizePath(t2, r2) {
- return t(t2) ? t2 : (t2 = t2.replace(/^\/+/, ""), r(r2) && K(t2) && (t2 = _(t2, r2.itemUrl)), t2.replace(/^\/+/, "").replace(/^(\.\/)?resources\//, ""));
- }
- };
- e([d()], n2.prototype, "portalItem", void 0), e([d({ type: String, value: null })], n2.prototype, "path", null), e([s3("path")], n2.prototype, "_castPath", null), e([d({ type: String, readOnly: true })], n2.prototype, "url", null), e([d({ type: String, readOnly: true })], n2.prototype, "itemRelativeUrl", null), n2 = e([n("esri.portal.PortalItemResource")], n2);
- var y3 = n2;
- // node_modules/@arcgis/core/portal/PortalRating.js
- var e2 = class extends y2 {
- constructor(r2) {
- super(r2), this.created = null, this.rating = null;
- }
- };
- e([d()], e2.prototype, "created", void 0), e([d()], e2.prototype, "rating", void 0), e2 = e([n("esri.portal.PortalRating")], e2);
- var c = e2;
- // node_modules/@arcgis/core/portal/PortalItem.js
- var w;
- var f = w = class extends u(m3) {
- constructor(e3) {
- super(e3), this.access = null, this.accessInformation = null, this.apiKey = null, this.applicationProxies = null, this.avgRating = null, this.categories = null, this.created = null, this.culture = null, this.description = null, this.extent = null, this.groupCategories = null, this.id = null, this.itemControl = null, this.licenseInfo = null, this.modified = null, this.name = null, this.numComments = null, this.numRatings = null, this.numViews = null, this.owner = null, this.ownerFolder = null, this.portal = null, this.screenshots = null, this.size = null, this.snippet = null, this.sourceJSON = null, this.spatialReference = null, this.tags = null, this.title = null, this.type = null, this.typeKeywords = null, this.url = null;
- }
- static from(e3) {
- return v(w, e3);
- }
- destroy() {
- this.portal = null;
- }
- get displayName() {
- const e3 = this.type, t2 = this.typeKeywords || [];
- let i = e3;
- return e3 === "Feature Service" || e3 === "Feature Collection" ? i = t2.includes("Table") ? "Table" : t2.includes("Route Layer") ? "Route Layer" : t2.includes("Markup") ? "Markup" : "Feature Layer" : e3 === "Image Service" ? i = t2.includes("Elevation 3D Layer") ? "Elevation Layer" : t2.includes("Tiled Imagery") ? "Tiled Imagery Layer" : "Imagery Layer" : e3 === "Scene Service" ? i = "Scene Layer" : e3 === "Video Service" ? i = "Video Layer" : e3 === "Scene Package" ? i = "Scene Layer Package" : e3 === "Stream Service" ? i = "Feature Layer" : e3 === "Geoprocessing Service" && this.portal && this.portal.isPortal ? i = t2.includes("Web Tool") ? "Tool" : "Geoprocessing Service" : e3 === "Geocoding Service" ? i = "Locator" : e3 === "Geoenrichment Service" ? i = "GeoEnrichment Service" : e3 === "Microsoft Powerpoint" ? i = "Microsoft PowerPoint" : e3 === "GeoJson" ? i = "GeoJSON" : e3 === "Globe Service" ? i = "Globe Layer" : e3 === "Vector Tile Service" ? i = "Tile Layer" : e3 === "netCDF" ? i = "NetCDF" : e3 === "Map Service" ? i = t2.includes("Spatiotemporal") || !t2.includes("Hosted Service") && !t2.includes("Tiled") || t2.includes("Relational") ? "Map Image Layer" : "Tile Layer" : e3 && e3.toLowerCase().includes("add in") ? i = e3.replace(/(add in)/gi, "Add-In") : e3 === "datastore catalog service" ? i = "Big Data File Share" : e3 === "Compact Tile Package" ? i = "Tile Package (tpkx)" : e3 === "OGCFeatureServer" ? i = "OGC Feature Layer" : e3 === "web mapping application" && t2.includes("configurableApp") && (i = "Instant App"), i;
- }
- readExtent(e3) {
- return e3 && e3.length ? new M(e3[0][0], e3[0][1], e3[1][0], e3[1][1]) : null;
- }
- get iconUrl() {
- const e3 = this.type && this.type.toLowerCase() || "", i = this.typeKeywords || [], r2 = "esri/images/portal/", o2 = "16";
- let s4, a2 = false, n3 = false, l = false, p = false, c2 = false, d2 = false;
- return e3.indexOf("service") > 0 || e3 === "feature collection" || e3 === "kml" || e3 === "wms" || e3 === "wmts" || e3 === "wfs" ? (a2 = i.includes("Hosted Service"), e3 === "feature service" || e3 === "feature collection" || e3 === "kml" || e3 === "wfs" ? (n3 = i.includes("Table"), l = i.includes("Route Layer"), p = i.includes("Markup"), c2 = i.includes("Spatiotemporal"), d2 = i.includes("UtilityNetwork"), s4 = c2 && n3 ? "spatiotemporaltable" : n3 ? "table" : l ? "routelayer" : p ? "markup" : c2 ? "spatiotemporal" : a2 ? "featureshosted" : d2 ? "utilitynetwork" : "features") : s4 = e3 === "map service" || e3 === "wms" || e3 === "wmts" ? a2 || i.includes("Tiled") || e3 === "wmts" ? "maptiles" : "mapimages" : e3 === "scene service" ? i.includes("Line") ? "sceneweblayerline" : i.includes("3DObject") ? "sceneweblayermultipatch" : i.includes("Point") ? "sceneweblayerpoint" : i.includes("IntegratedMesh") ? "sceneweblayermesh" : i.includes("PointCloud") ? "sceneweblayerpointcloud" : i.includes("Polygon") ? "sceneweblayerpolygon" : i.includes("Building") ? "sceneweblayerbuilding" : i.includes("Voxel") ? "sceneweblayervoxel" : "sceneweblayer" : e3 === "image service" ? i.includes("Elevation 3D Layer") ? "elevationlayer" : i.includes("Tiled Imagery") ? "tiledimagerylayer" : "imagery" : e3 === "stream service" ? "streamlayer" : e3 === "video service" ? "mediaservice" : e3 === "vector tile service" ? "vectortile" : e3 === "datastore catalog service" ? "datastorecollection" : e3 === "geocoding service" ? "geocodeservice" : e3 === "geoprocessing service" ? i.includes("Web Tool") && this.portal && this.portal.isPortal ? "tool" : "layers" : e3 === "geodata service" ? "geodataservice" : "layers") : s4 = e3 === "web map" || e3 === "cityengine web scene" ? "maps" : e3 === "web scene" ? i.includes("ViewingMode-Local") ? "webscenelocal" : "websceneglobal" : e3 === "web mapping application" && i.includes("configurableApp") ? "instantapps" : e3 === "web mapping application" || e3 === "mobile application" || e3 === "application" || e3 === "operation view" || e3 === "desktop application" ? "apps" : e3 === "map document" || e3 === "map package" || e3 === "published map" || e3 === "scene document" || e3 === "globe document" || e3 === "basemap package" || e3 === "mobile basemap package" || e3 === "mobile map package" || e3 === "project package" || e3 === "project template" || e3 === "pro map" || e3 === "layout" || e3 === "layer" && i.includes("ArcGIS Pro") || e3 === "explorer map" && i.indexOf("Explorer Document") ? "mapsgray" : e3 === "service definition" || e3 === "csv" || e3 === "shapefile" || e3 === "cad drawing" || e3 === "geojson" || e3 === "360 vr experience" || e3 === "netcdf" || e3 === "administrative report" ? "datafiles" : e3 === "explorer add in" || e3 === "desktop add in" || e3 === "windows viewer add in" || e3 === "windows viewer configuration" ? "appsgray" : e3 === "arcgis pro add in" || e3 === "arcgis pro configuration" ? "addindesktop" : e3 === "rule package" || e3 === "file geodatabase" || e3 === "sqlite geodatabase" || e3 === "csv collection" || e3 === "kml collection" || e3 === "windows mobile package" || e3 === "map template" || e3 === "desktop application template" || e3 === "gml" || e3 === "arcpad package" || e3 === "code sample" || e3 === "form" || e3 === "document link" || e3 === "earth configuration" || e3 === "operations dashboard add in" || e3 === "rules package" || e3 === "image" || e3 === "workflow manager package" || e3 === "explorer map" && i.includes("Explorer Mapping Application") || i.includes("Document") ? "datafilesgray" : e3 === "network analysis service" || e3 === "geoprocessing service" || e3 === "geodata service" || e3 === "geometry service" || e3 === "geoprocessing package" || e3 === "locator package" || e3 === "geoprocessing sample" || e3 === "workflow manager service" ? "toolsgray" : e3 === "layer" || e3 === "layer package" || e3 === "explorer layer" ? "layersgray" : e3 === "scene package" ? "scenepackage" : e3 === "mobile scene package" ? "mobilescenepackage" : e3 === "tile package" || e3 === "compact tile package" ? "tilepackage" : e3 === "task file" ? "taskfile" : e3 === "report template" ? "report-template" : e3 === "statistical data collection" ? "statisticaldatacollection" : e3 === "insights workbook" ? "workbook" : e3 === "insights model" ? "insightsmodel" : e3 === "insights page" ? "insightspage" : e3 === "insights theme" ? "insightstheme" : e3 === "hub initiative" ? "hubinitiative" : e3 === "hubpage" ? "hubpage" : e3 === "hub event" ? "hubevent" : e3 === "hub site application" ? "hubsite" : e3 === "hub project" ? "hubproject" : e3 === "relational database connection" ? "relationaldatabaseconnection" : e3 === "big data file share" ? "datastorecollection" : e3 === "image collection" ? "imagecollection" : e3 === "style" ? "style" : e3 === "desktop style" ? "desktopstyle" : e3 === "dashboard" ? "dashboard" : e3 === "raster function template" ? "rasterprocessingtemplate" : e3 === "vector tile package" ? "vectortilepackage" : e3 === "ortho mapping project" ? "orthomappingproject" : e3 === "ortho mapping template" ? "orthomappingtemplate" : e3 === "solution" ? "solutions" : e3 === "geopackage" ? "geopackage" : e3 === "deep learning package" ? "deeplearningpackage" : e3 === "real time analytic" ? "realtimeanalytics" : e3 === "big data analytic" ? "bigdataanalytics" : e3 === "feed" ? "feed" : e3 === "excalibur imagery project" ? "excaliburimageryproject" : e3 === "notebook" ? "notebook" : e3 === "storymap" ? "storymap" : e3 === "survey123 add in" ? "survey123addin" : e3 === "mission" ? "mission" : e3 === "mission report" ? "missionreport" : e3 === "quickcapture project" ? "quickcaptureproject" : e3 === "pro report" ? "proreport" : e3 === "urban model" ? "urbanmodel" : e3 === "web experience" ? "experiencebuilder" : e3 === "web experience template" ? "webexperiencetemplate" : e3 === "experience builder widget" ? "experiencebuilderwidget" : e3 === "experience builder widget package" ? "experiencebuilderwidgetpackage" : e3 === "workflow" ? "workflow" : e3 === "insights script" ? "insightsscript" : e3 === "kernel gateway connection" ? "kernelgatewayconnection" : e3 === "hub initiative template" ? "hubinitiativetemplate" : e3 === "storymap theme" ? "storymaptheme" : e3 === "knowledge graph" ? "knowledgegraph" : e3 === "native application" ? "nativeapp" : e3 === "native application installer" ? "nativeappinstaller" : e3 === "link chart" ? "linkchart" : e3 === "investigation" ? "investigation" : e3 === "ogcfeatureserver" ? "features" : e3 === "pro project" ? "proproject" : e3 === "insights workbook package" ? "insightsworkbookpackage" : e3 === "apache parquet" ? "apacheparquet" : e3 === "notebook code snippets" ? "notebookcodesnippets" : e3 === "suitability model" ? "suitabilitymodel" : e3 === "esri classifier definition" ? "classifierdefinition" : e3 === "esri classification schema" ? "classificationschema" : e3 === "insights data engineering workbook" ? "dataengineeringworkbook" : e3 === "insights data engineering model" ? "dataengineeringmodel" : e3 === "deep learning studio project" ? "deeplearningproject" : "maps", s4 ? a(r2 + s4 + o2 + ".png") : null;
- }
- get isLayer() {
- return ["Map Service", "Feature Service", "Feature Collection", "Scene Service", "Image Service", "Stream Service", "Vector Tile Service", "WMTS", "WMS"].includes(this.type);
- }
- get itemUrl() {
- const e3 = this.get("portal.restUrl");
- return e3 && this.id ? `${e3}/content/items/${this.id}` : null;
- }
- get thumbnailUrl() {
- const e3 = this.itemUrl, t2 = this.thumbnail;
- return e3 && t2 ? this.portal._normalizeUrl(`${e3}/info/${t2}?f=json`) : null;
- }
- get userItemUrl() {
- const e3 = this.get("portal.restUrl");
- if (!e3)
- return null;
- const t2 = this.owner || this.get("portal.user.username");
- if (!t2)
- return null;
- return `${e3}/content/users/${this.ownerFolder ? `${t2}/${this.ownerFolder}` : t2}/items/${this.id}`;
- }
- load(e3) {
- this.portal || (this.portal = B.getDefault());
- const t2 = this.portal.load(e3).then(() => this.sourceJSON ? this.sourceJSON : this.id && this.itemUrl ? this.portal._request(this.itemUrl, { signal: r(e3) ? e3.signal : null, query: { token: this.apiKey } }) : {}).then((e4) => {
- this.sourceJSON = e4, this.read(e4);
- });
- return this.addResolvingPromise(t2), Promise.resolve(this);
- }
- addRating(e3) {
- const t2 = { method: "post", query: {} };
- return e3 instanceof c && (e3 = e3.rating), isNaN(e3) || typeof e3 != "number" || (t2.query.rating = e3), this.portal._request(this.itemUrl + "/addRating", t2).then(() => new c({ rating: e3, created: new Date() }));
- }
- clone() {
- const e3 = { access: this.access, accessInformation: this.accessInformation, applicationProxies: m2(this.applicationProxies), avgRating: this.avgRating, categories: m2(this.categories), created: m2(this.created), culture: this.culture, description: this.description, extent: m2(this.extent), groupCategories: m2(this.groupCategories), id: this.id, itemControl: this.itemControl, licenseInfo: this.licenseInfo, modified: m2(this.modified), name: this.name, numComments: this.numComments, numRatings: this.numRatings, numViews: this.numViews, owner: this.owner, ownerFolder: this.ownerFolder, portal: this.portal, screenshots: m2(this.screenshots), size: this.size, snippet: this.snippet, spatialReference: this.spatialReference, tags: m2(this.tags), thumbnail: this.thumbnail, title: this.title, type: this.type, typeKeywords: m2(this.typeKeywords), url: this.url };
- return this.loaded && (e3.loadStatus = "loaded"), new w({ sourceJSON: this.sourceJSON }).set(e3);
- }
- createPostQuery() {
- const e3 = this.toJSON();
- for (const i of ["tags", "typeKeywords", "categories"])
- e3[i] && (e3[i] = e3[i].join(", "));
- const { extent: t2 } = e3;
- return t2 && (e3.extent = JSON.stringify(t2)), e3;
- }
- deleteRating() {
- return this.portal._request(this.itemUrl + "/deleteRating", { method: "post" }).then(() => {
- });
- }
- fetchData(e3 = "json", t2) {
- return this.portal._request(this.itemUrl + "/data", { responseType: e3, ...t2, query: { token: this.apiKey } });
- }
- fetchRating(e3) {
- return this.portal._request(this.itemUrl + "/rating", { query: { token: this.apiKey }, ...e3 }).then((e4) => e4.rating != null ? (e4.created = new Date(e4.created), new c(e4)) : null);
- }
- fetchRelatedItems(e3, t2) {
- return this.portal._requestToTypedArray(this.itemUrl + "/relatedItems", { query: { ...e3, token: this.apiKey }, ...t2 }, w);
- }
- getThumbnailUrl(e3) {
- let t2 = this.thumbnailUrl;
- return t2 && e3 && (t2 += `&w=${e3}`), t2;
- }
- reload() {
- return this.portal._request(this.itemUrl, { cacheBust: true, query: { token: this.apiKey } }).then((e3) => (this.sourceJSON = e3, this.read(e3), this));
- }
- update(e3) {
- return this.id ? this.load().then(() => this.portal._signIn()).then(() => {
- const t2 = e3 && e3.data, i = { method: "post" };
- i.query = this.createPostQuery();
- for (const e4 in i.query)
- i.query[e4] === null && (i.query[e4] = "");
- return i.query.clearEmptyFields = true, t2 != null && (typeof t2 == "string" ? i.query.text = t2 : typeof t2 == "object" && (i.query.text = JSON.stringify(t2))), this.portal._request(`${this.userItemUrl}/update`, i).then(() => this.reload());
- }) : Promise.reject(new s2("portal:item-does-not-exist", "The item does not exist yet and cannot be updated"));
- }
- updateThumbnail(e3) {
- return this.id ? this.load().then(() => this.portal._signIn()).then(() => {
- const t2 = e3.thumbnail, i = e3.filename, r2 = { method: "post" };
- if (typeof t2 == "string")
- X(t2) ? r2.query = { data: t2 } : r2.query = { url: Q(t2) }, r(i) && (r2.query.filename = i);
- else {
- const e4 = new FormData();
- r(i) ? e4.append("file", t2, i) : e4.append("file", t2), r2.body = e4;
- }
- return this.portal._request(`${this.userItemUrl}/updateThumbnail`, r2).then(() => this.reload());
- }) : Promise.reject(new s2("portal:item-does-not-exist", "The item does not exist yet and cannot be updated"));
- }
- async fetchResources(e3 = {}, t2) {
- return (await import("./resourceUtils-NZ5U43P2.js")).fetchResources(this, e3, t2);
- }
- async addResource(e3, t2, i) {
- const r2 = await import("./resourceUtils-NZ5U43P2.js");
- return e3.portalItem = this, r2.addOrUpdateResource(e3, "add", t2, i);
- }
- async removeResource(e3, t2) {
- const r2 = await import("./resourceUtils-NZ5U43P2.js");
- if (e3.portalItem && e3.portalItem.itemUrl !== this.itemUrl)
- throw new s2("removeresource:portal-item-mismatch", "The portal item associated with the provided resource does not match the item");
- return r2.removeResource(this, e3, t2);
- }
- async removeAllResources(e3) {
- return (await import("./resourceUtils-NZ5U43P2.js")).removeAllResources(this, e3);
- }
- resourceFromPath(e3) {
- return new y3({ portalItem: this, path: e3 });
- }
- toJSON() {
- const e3 = this.extent, t2 = { accessInformation: this.accessInformation, categories: m2(this.categories), created: this.created && this.created.getTime(), description: this.description, extent: e3 && [[e3.xmin, e3.ymin], [e3.xmax, e3.ymax]], id: this.id, licenseInfo: this.licenseInfo, modified: this.modified && this.modified.getTime(), name: this.name, owner: this.owner, ownerFolder: this.ownerFolder, snippet: this.snippet, spatialReference: this.spatialReference, tags: m2(this.tags), thumbnail: this.thumbnail, title: this.title, type: this.type, typeKeywords: m2(this.typeKeywords), url: this.url };
- return y(t2);
- }
- static fromJSON(e3) {
- if (!e3)
- return null;
- if (e3.declaredClass)
- throw new Error("JSON object is already hydrated");
- return new w({ sourceJSON: e3 });
- }
- _getPostQuery() {
- const e3 = this.toJSON();
- for (const t2 in e3)
- t2 === "tags" && e3[t2] !== null && (e3[t2] = e3[t2].join(", ")), t2 === "typeKeywords" && e3[t2] !== null && (e3[t2] = e3[t2].join(", ")), t2 === "extent" && e3[t2] && (e3[t2] = JSON.stringify(e3[t2]));
- return e3;
- }
- };
- e([d({ type: ["private", "shared", "org", "public"] })], f.prototype, "access", void 0), e([d()], f.prototype, "accessInformation", void 0), e([d({ type: String })], f.prototype, "apiKey", void 0), e([d({ json: { read: { source: "appProxies" } } })], f.prototype, "applicationProxies", void 0), e([d()], f.prototype, "avgRating", void 0), e([d()], f.prototype, "categories", void 0), e([d({ type: Date })], f.prototype, "created", void 0), e([d()], f.prototype, "culture", void 0), e([d()], f.prototype, "description", void 0), e([d({ readOnly: true })], f.prototype, "displayName", null), e([d({ type: M })], f.prototype, "extent", void 0), e([o("extent")], f.prototype, "readExtent", null), e([d()], f.prototype, "groupCategories", void 0), e([d({ readOnly: true })], f.prototype, "iconUrl", null), e([d()], f.prototype, "id", void 0), e([d({ readOnly: true })], f.prototype, "isLayer", null), e([d()], f.prototype, "itemControl", void 0), e([d({ readOnly: true })], f.prototype, "itemUrl", null), e([d()], f.prototype, "licenseInfo", void 0), e([d({ type: Date })], f.prototype, "modified", void 0), e([d()], f.prototype, "name", void 0), e([d()], f.prototype, "numComments", void 0), e([d()], f.prototype, "numRatings", void 0), e([d()], f.prototype, "numViews", void 0), e([d()], f.prototype, "owner", void 0), e([d()], f.prototype, "ownerFolder", void 0), e([d({ type: B })], f.prototype, "portal", void 0), e([d()], f.prototype, "screenshots", void 0), e([d()], f.prototype, "size", void 0), e([d()], f.prototype, "snippet", void 0), e([d()], f.prototype, "sourceJSON", void 0), e([d({ type: String })], f.prototype, "spatialReference", void 0), e([d()], f.prototype, "tags", void 0), e([d()], f.prototype, "thumbnail", void 0), e([d({ readOnly: true })], f.prototype, "thumbnailUrl", null), e([d()], f.prototype, "title", void 0), e([d()], f.prototype, "type", void 0), e([d()], f.prototype, "typeKeywords", void 0), e([d({ type: String, json: { read(e3, t2) {
- if (t2.type !== "KML")
- return e3;
- const i = this.portal?.restUrl;
- return e3 || (e3 = i && this.id ? `${i}/content/items/${this.id}/data` : null), e3;
- } } })], f.prototype, "url", void 0), e([d({ readOnly: true })], f.prototype, "userItemUrl", null), f = w = e([n("esri.portal.PortalItem")], f);
- var b = f;
- export {
- b
- };
- //# sourceMappingURL=chunk-EGZW6HC3.js.map
|