chunk-WD4J43GZ.js 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. import {
  2. i as i3
  3. } from "./chunk-JOYXMSKE.js";
  4. import {
  5. a
  6. } from "./chunk-JLYTER4T.js";
  7. import {
  8. y as y3
  9. } from "./chunk-JGBXYDGB.js";
  10. import {
  11. T as T2
  12. } from "./chunk-VRLXUHP2.js";
  13. import {
  14. r as r3
  15. } from "./chunk-5N7JLUJJ.js";
  16. import {
  17. i as i2
  18. } from "./chunk-ETGAZ7LF.js";
  19. import {
  20. i
  21. } from "./chunk-75U5LM2V.js";
  22. import {
  23. v as v2
  24. } from "./chunk-RMDDCMKS.js";
  25. import {
  26. o,
  27. s as s2
  28. } from "./chunk-HZRKBTHJ.js";
  29. import {
  30. o as o2,
  31. w
  32. } from "./chunk-6T6G6LCQ.js";
  33. import {
  34. s as s3
  35. } from "./chunk-YEJL5NEF.js";
  36. import {
  37. k2 as k,
  38. r as r2
  39. } from "./chunk-PQFTYGF5.js";
  40. import {
  41. e,
  42. l3 as l,
  43. n5 as n,
  44. s5 as s,
  45. y3 as y2
  46. } from "./chunk-2Z2TG5CU.js";
  47. import {
  48. S,
  49. T,
  50. b,
  51. v
  52. } from "./chunk-SQOPWYIT.js";
  53. import {
  54. y
  55. } from "./chunk-SPWQ3AWG.js";
  56. import {
  57. r
  58. } from "./chunk-YXWMMD76.js";
  59. // node_modules/@arcgis/core/layers/support/source/MapLayerSource.js
  60. var a2;
  61. var c = a2 = class extends l {
  62. constructor(r4) {
  63. super(r4), this.type = "map-layer";
  64. }
  65. clone() {
  66. const { mapLayerId: r4, gdbVersion: o3 } = this;
  67. return new a2({ mapLayerId: r4, gdbVersion: o3 });
  68. }
  69. };
  70. e([r3({ mapLayer: "map-layer" })], c.prototype, "type", void 0), e([y2({ type: T, json: { write: true } })], c.prototype, "mapLayerId", void 0), e([y2({ type: String, json: { write: true } })], c.prototype, "gdbVersion", void 0), c = a2 = e([n("esri.layers.support.source.MapLayerSource")], c);
  71. // node_modules/@arcgis/core/layers/support/source/QueryTableDataSource.js
  72. var c2;
  73. var y4 = c2 = class extends l {
  74. constructor(e2) {
  75. super(e2), this.type = "query-table";
  76. }
  77. clone() {
  78. var _a;
  79. const { workspaceId: e2, query: r4, oidFields: o3, spatialReference: t, geometryType: p4 } = this, s4 = { workspaceId: e2, query: r4, oidFields: o3, spatialReference: (_a = t == null ? void 0 : t.clone()) != null ? _a : void 0, geometryType: p4 };
  80. return new c2(s4);
  81. }
  82. };
  83. e([r3({ queryTable: "query-table" })], y4.prototype, "type", void 0), e([y2({ type: String, json: { write: true } })], y4.prototype, "workspaceId", void 0), e([y2({ type: String, json: { write: true } })], y4.prototype, "query", void 0), e([y2({ type: String, json: { write: true } })], y4.prototype, "oidFields", void 0), e([y2({ type: k, json: { write: true } })], y4.prototype, "spatialReference", void 0), e([r3(i)], y4.prototype, "geometryType", void 0), y4 = c2 = e([n("esri.layers.support.source.QueryTableDataSource")], y4);
  84. // node_modules/@arcgis/core/layers/support/source/RasterDataSource.js
  85. var p;
  86. var a3 = p = class extends l {
  87. constructor(r4) {
  88. super(r4), this.type = "raster";
  89. }
  90. clone() {
  91. const { workspaceId: r4, dataSourceName: o3 } = this;
  92. return new p({ workspaceId: r4, dataSourceName: o3 });
  93. }
  94. };
  95. e([r3({ raster: "raster" })], a3.prototype, "type", void 0), e([y2({ type: String, json: { write: true } })], a3.prototype, "dataSourceName", void 0), e([y2({ type: String, json: { write: true } })], a3.prototype, "workspaceId", void 0), a3 = p = e([n("esri.layers.support.source.RasterDataSource")], a3);
  96. // node_modules/@arcgis/core/layers/support/source/TableDataSource.js
  97. var p2;
  98. var a4 = p2 = class extends l {
  99. constructor(r4) {
  100. super(r4), this.type = "table";
  101. }
  102. clone() {
  103. const { workspaceId: r4, gdbVersion: o3, dataSourceName: e2 } = this;
  104. return new p2({ workspaceId: r4, gdbVersion: o3, dataSourceName: e2 });
  105. }
  106. };
  107. e([r3({ table: "table" })], a4.prototype, "type", void 0), e([y2({ type: String, json: { write: true } })], a4.prototype, "workspaceId", void 0), e([y2({ type: String, json: { write: true } })], a4.prototype, "gdbVersion", void 0), e([y2({ type: String, json: { write: true } })], a4.prototype, "dataSourceName", void 0), a4 = p2 = e([n("esri.layers.support.source.TableDataSource")], a4);
  108. // node_modules/@arcgis/core/layers/support/source/DataLayerSource.js
  109. var d;
  110. var m;
  111. var j = o()({ esriLeftInnerJoin: "left-inner-join", esriLeftOuterJoin: "left-outer-join" });
  112. var T3 = d = class extends l {
  113. constructor(e2) {
  114. super(e2), this.type = "join-table";
  115. }
  116. readLeftTableSource(e2, r4, o3) {
  117. return g()(e2, r4, o3);
  118. }
  119. castLeftTableSource(e2) {
  120. return S(L(), e2);
  121. }
  122. readRightTableSource(e2, r4, o3) {
  123. return g()(e2, r4, o3);
  124. }
  125. castRightTableSource(e2) {
  126. return S(L(), e2);
  127. }
  128. clone() {
  129. var _a, _b;
  130. const { leftTableKey: e2, rightTableKey: r4, leftTableSource: o3, rightTableSource: t, joinType: a5 } = this, s4 = { leftTableKey: e2, rightTableKey: r4, leftTableSource: (_a = o3 == null ? void 0 : o3.clone()) != null ? _a : void 0, rightTableSource: (_b = t == null ? void 0 : t.clone()) != null ? _b : void 0, joinType: a5 };
  131. return new d(s4);
  132. }
  133. };
  134. e([r3({ joinTable: "join-table" })], T3.prototype, "type", void 0), e([y2({ type: String, json: { write: true } })], T3.prototype, "leftTableKey", void 0), e([y2({ type: String, json: { write: true } })], T3.prototype, "rightTableKey", void 0), e([y2({ json: { write: true } })], T3.prototype, "leftTableSource", void 0), e([o2("leftTableSource")], T3.prototype, "readLeftTableSource", null), e([s3("leftTableSource")], T3.prototype, "castLeftTableSource", null), e([y2({ json: { write: true } })], T3.prototype, "rightTableSource", void 0), e([o2("rightTableSource")], T3.prototype, "readRightTableSource", null), e([s3("rightTableSource")], T3.prototype, "castRightTableSource", null), e([r3(j)], T3.prototype, "joinType", void 0), T3 = d = e([n("esri.layers.support.source.JoinTableDataSource")], T3);
  135. var h = null;
  136. function g() {
  137. return h || (h = s({ types: L() })), h;
  138. }
  139. var v3 = null;
  140. function L() {
  141. return v3 || (v3 = { key: "type", base: null, typeMap: { "data-layer": K, "map-layer": c } }), v3;
  142. }
  143. var w2 = { key: "type", base: null, typeMap: { "join-table": T3, "query-table": y4, raster: a3, table: a4 } };
  144. var K = m = class extends l {
  145. constructor(e2) {
  146. super(e2), this.type = "data-layer";
  147. }
  148. clone() {
  149. const { fields: e2, dataSource: r4 } = this;
  150. return new m({ fields: e2, dataSource: r4 });
  151. }
  152. };
  153. e([r3({ dataLayer: "data-layer" })], K.prototype, "type", void 0), e([y2({ type: [y3], json: { write: true } })], K.prototype, "fields", void 0), e([y2({ types: w2, json: { write: true } })], K.prototype, "dataSource", void 0), K = m = e([n("esri.layers.support.source.DataLayerSource")], K), K.from = b(K);
  154. // node_modules/@arcgis/core/rest/support/FullTextSearch.js
  155. var i4 = class extends i3(l) {
  156. constructor(r4) {
  157. super(r4), this.onFields = null, this.operator = null, this.searchTerm = null, this.searchType = null;
  158. }
  159. };
  160. e([y2({ type: [String], json: { write: { enabled: true, overridePolicy() {
  161. return { enabled: r(this.onFields) && this.onFields.length > 0 };
  162. } } } })], i4.prototype, "onFields", void 0), e([y2({ type: String, json: { write: true } })], i4.prototype, "operator", void 0), e([y2({ type: String, json: { write: true } })], i4.prototype, "searchTerm", void 0), e([y2({ type: String, json: { write: true } })], i4.prototype, "searchType", void 0), i4 = e([n("esri.rest.support.FullTextSearch")], i4);
  163. var c3 = i4;
  164. // node_modules/@arcgis/core/rest/support/StatisticDefinition.js
  165. var c4;
  166. var n2 = new s2({ count: "count", sum: "sum", min: "min", max: "max", avg: "avg", stddev: "stddev", var: "var", exceedslimit: "exceedslimit", percentile_cont: "percentile-continuous", percentile_disc: "percentile-discrete", EnvelopeAggregate: "envelope-aggregate", CentroidAggregate: "centroid-aggregate", ConvexHullAggregate: "convex-hull-aggregate" });
  167. var p3 = c4 = class extends l {
  168. constructor(t) {
  169. super(t), this.maxPointCount = void 0, this.maxRecordCount = void 0, this.maxVertexCount = void 0, this.onStatisticField = null, this.outStatisticFieldName = null, this.statisticType = null, this.statisticParameters = null;
  170. }
  171. writeStatisticParameters(t, e2) {
  172. "percentile-continuous" !== this.statisticType && "percentile-discrete" !== this.statisticType || (e2.statisticParameters = y(t));
  173. }
  174. clone() {
  175. return new c4({ maxPointCount: this.maxPointCount, maxRecordCount: this.maxRecordCount, maxVertexCount: this.maxVertexCount, onStatisticField: this.onStatisticField, outStatisticFieldName: this.outStatisticFieldName, statisticType: this.statisticType, statisticParameters: y(this.statisticParameters) });
  176. }
  177. };
  178. e([y2({ type: Number, json: { write: true } })], p3.prototype, "maxPointCount", void 0), e([y2({ type: Number, json: { write: true } })], p3.prototype, "maxRecordCount", void 0), e([y2({ type: Number, json: { write: true } })], p3.prototype, "maxVertexCount", void 0), e([y2({ type: String, json: { write: true } })], p3.prototype, "onStatisticField", void 0), e([y2({ type: String, json: { write: true } })], p3.prototype, "outStatisticFieldName", void 0), e([y2({ type: String, json: { read: { source: "statisticType", reader: n2.read }, write: { target: "statisticType", writer: n2.write } } })], p3.prototype, "statisticType", void 0), e([y2({ type: Object })], p3.prototype, "statisticParameters", void 0), e([r2("statisticParameters")], p3.prototype, "writeStatisticParameters", null), p3 = c4 = e([n("esri.rest.support.StatisticDefinition")], p3);
  179. var m2 = p3;
  180. // node_modules/@arcgis/core/rest/support/Query.js
  181. var v4;
  182. var g2 = new s2({ esriSpatialRelIntersects: "intersects", esriSpatialRelContains: "contains", esriSpatialRelCrosses: "crosses", esriSpatialRelDisjoint: "disjoint", esriSpatialRelEnvelopeIntersects: "envelope-intersects", esriSpatialRelIndexIntersects: "index-intersects", esriSpatialRelOverlaps: "overlaps", esriSpatialRelTouches: "touches", esriSpatialRelWithin: "within", esriSpatialRelRelation: "relation" });
  183. var R = new s2({ esriSRUnit_Meter: "meters", esriSRUnit_Kilometer: "kilometers", esriSRUnit_Foot: "feet", esriSRUnit_StatuteMile: "miles", esriSRUnit_NauticalMile: "nautical-miles", esriSRUnit_USNauticalMile: "us-nautical-miles" });
  184. var b2 = v4 = class extends l {
  185. constructor(t) {
  186. super(t), this.aggregateIds = null, this.cacheHint = void 0, this.compactGeometryEnabled = false, this.datumTransformation = null, this.defaultSpatialReferenceEnabled = false, this.distance = void 0, this.dynamicDataSource = void 0, this.formatOf3DObjects = null, this.fullText = null, this.gdbVersion = null, this.geometry = null, this.geometryPrecision = void 0, this.groupByFieldsForStatistics = null, this.having = null, this.historicMoment = null, this.maxAllowableOffset = void 0, this.maxRecordCountFactor = 1, this.multipatchOption = null, this.num = void 0, this.objectIds = null, this.orderByFields = null, this.outFields = null, this.outSpatialReference = null, this.outStatistics = null, this.parameterValues = null, this.pixelSize = null, this.quantizationParameters = null, this.rangeValues = null, this.relationParameter = null, this.resultType = null, this.returnCentroid = false, this.returnDistinctValues = false, this.returnExceededLimitFeatures = true, this.returnGeometry = false, this.returnQueryGeometry = false, this.returnM = void 0, this.returnZ = void 0, this.sourceSpatialReference = null, this.spatialRelationship = "intersects", this.start = void 0, this.sqlFormat = null, this.text = null, this.timeExtent = null, this.timeReferenceUnknownClient = false, this.units = null, this.where = null;
  187. }
  188. static from(t) {
  189. return v(v4, t);
  190. }
  191. castDatumTransformation(t) {
  192. return "number" == typeof t || "object" == typeof t ? t : null;
  193. }
  194. writeHistoricMoment(t, e2) {
  195. e2.historicMoment = t && t.getTime();
  196. }
  197. writeParameterValues(t, e2) {
  198. if (t) {
  199. const r4 = {};
  200. for (const e3 in t) {
  201. const o3 = t[e3];
  202. Array.isArray(o3) ? r4[e3] = o3.map((t2) => t2 instanceof Date ? t2.getTime() : t2) : o3 instanceof Date ? r4[e3] = o3.getTime() : r4[e3] = o3;
  203. }
  204. e2.parameterValues = r4;
  205. }
  206. }
  207. writeStart(t, e2) {
  208. e2.resultOffset = this.start, e2.resultRecordCount = this.num || 10, e2.where = "1=1";
  209. }
  210. writeWhere(t, e2) {
  211. e2.where = t || "1=1";
  212. }
  213. clone() {
  214. return new v4(y({ aggregateIds: this.aggregateIds, cacheHint: this.cacheHint, compactGeometryEnabled: this.compactGeometryEnabled, datumTransformation: this.datumTransformation, defaultSpatialReferenceEnabled: this.defaultSpatialReferenceEnabled, distance: this.distance, fullText: this.fullText, gdbVersion: this.gdbVersion, geometry: this.geometry, geometryPrecision: this.geometryPrecision, groupByFieldsForStatistics: this.groupByFieldsForStatistics, having: this.having, historicMoment: r(this.historicMoment) ? new Date(this.historicMoment.getTime()) : null, maxAllowableOffset: this.maxAllowableOffset, maxRecordCountFactor: this.maxRecordCountFactor, multipatchOption: this.multipatchOption, num: this.num, objectIds: this.objectIds, orderByFields: this.orderByFields, outFields: this.outFields, outSpatialReference: this.outSpatialReference, outStatistics: this.outStatistics, parameterValues: this.parameterValues, pixelSize: this.pixelSize, quantizationParameters: this.quantizationParameters, rangeValues: this.rangeValues, relationParameter: this.relationParameter, resultType: this.resultType, returnDistinctValues: this.returnDistinctValues, returnGeometry: this.returnGeometry, returnCentroid: this.returnCentroid, returnExceededLimitFeatures: this.returnExceededLimitFeatures, returnQueryGeometry: this.returnQueryGeometry, returnM: this.returnM, returnZ: this.returnZ, dynamicDataSource: this.dynamicDataSource, sourceSpatialReference: this.sourceSpatialReference, spatialRelationship: this.spatialRelationship, start: this.start, sqlFormat: this.sqlFormat, text: this.text, timeExtent: this.timeExtent, timeReferenceUnknownClient: this.timeReferenceUnknownClient, units: this.units, where: this.where }));
  215. }
  216. };
  217. b2.MAX_MAX_RECORD_COUNT_FACTOR = 5, e([y2({ json: { write: true } })], b2.prototype, "aggregateIds", void 0), e([y2({ type: Boolean, json: { write: true } })], b2.prototype, "cacheHint", void 0), e([y2({ type: Boolean, json: { default: false, write: true } })], b2.prototype, "compactGeometryEnabled", void 0), e([y2({ json: { write: true } })], b2.prototype, "datumTransformation", void 0), e([s3("datumTransformation")], b2.prototype, "castDatumTransformation", null), e([y2({ type: Boolean, json: { default: false, write: true } })], b2.prototype, "defaultSpatialReferenceEnabled", void 0), e([y2({ type: Number, json: { write: { overridePolicy: (t) => ({ enabled: t > 0 }) } } })], b2.prototype, "distance", void 0), e([y2({ type: K, json: { write: true } })], b2.prototype, "dynamicDataSource", void 0), e([y2({ type: String, json: { write: true } })], b2.prototype, "formatOf3DObjects", void 0), e([y2({ type: [c3], json: { write: { enabled: true, overridePolicy() {
  218. return { enabled: r(this.fullText) && this.fullText.length > 0 };
  219. } } } })], b2.prototype, "fullText", void 0), e([y2({ type: String, json: { write: true } })], b2.prototype, "gdbVersion", void 0), e([y2({ types: i2, json: { read: v2, write: true } })], b2.prototype, "geometry", void 0), e([y2({ type: Number, json: { write: true } })], b2.prototype, "geometryPrecision", void 0), e([y2({ type: [String], json: { write: true } })], b2.prototype, "groupByFieldsForStatistics", void 0), e([y2({ type: String, json: { write: true } })], b2.prototype, "having", void 0), e([y2({ type: Date })], b2.prototype, "historicMoment", void 0), e([r2("historicMoment")], b2.prototype, "writeHistoricMoment", null), e([y2({ type: Number, json: { write: true } })], b2.prototype, "maxAllowableOffset", void 0), e([y2({ type: Number, cast: (t) => t < 1 ? 1 : t > v4.MAX_MAX_RECORD_COUNT_FACTOR ? v4.MAX_MAX_RECORD_COUNT_FACTOR : t, json: { write: { overridePolicy: (t) => ({ enabled: t > 1 }) } } })], b2.prototype, "maxRecordCountFactor", void 0), e([y2({ type: ["xyFootprint"], json: { write: true } })], b2.prototype, "multipatchOption", void 0), e([y2({ type: Number, json: { read: { source: "resultRecordCount" } } })], b2.prototype, "num", void 0), e([y2({ json: { write: true } })], b2.prototype, "objectIds", void 0), e([y2({ type: [String], json: { write: true } })], b2.prototype, "orderByFields", void 0), e([y2({ type: [String], json: { write: true } })], b2.prototype, "outFields", void 0), e([y2({ type: k, json: { name: "outSR", write: true } })], b2.prototype, "outSpatialReference", void 0), e([y2({ type: [m2], json: { write: { enabled: true, overridePolicy() {
  220. return { enabled: r(this.outStatistics) && this.outStatistics.length > 0 };
  221. } } } })], b2.prototype, "outStatistics", void 0), e([y2({ json: { write: true } })], b2.prototype, "parameterValues", void 0), e([r2("parameterValues")], b2.prototype, "writeParameterValues", null), e([y2({ type: w, json: { write: true } })], b2.prototype, "pixelSize", void 0), e([y2({ type: a, json: { write: true } })], b2.prototype, "quantizationParameters", void 0), e([y2({ type: [Object], json: { write: true } })], b2.prototype, "rangeValues", void 0), e([y2({ type: String, json: { read: { source: "relationParam" }, write: { target: "relationParam", overridePolicy() {
  222. return { enabled: "relation" === this.spatialRelationship };
  223. } } } })], b2.prototype, "relationParameter", void 0), e([y2({ type: String, json: { write: true } })], b2.prototype, "resultType", void 0), e([y2({ type: Boolean, json: { default: false, write: true } })], b2.prototype, "returnCentroid", void 0), e([y2({ type: Boolean, json: { default: false, write: true } })], b2.prototype, "returnDistinctValues", void 0), e([y2({ type: Boolean, json: { default: true, write: true } })], b2.prototype, "returnExceededLimitFeatures", void 0), e([y2({ type: Boolean, json: { write: true } })], b2.prototype, "returnGeometry", void 0), e([y2({ type: Boolean, json: { default: false, write: true } })], b2.prototype, "returnQueryGeometry", void 0), e([y2({ type: Boolean, json: { default: false, write: true } })], b2.prototype, "returnM", void 0), e([y2({ type: Boolean, json: { write: { overridePolicy: (t) => ({ enabled: t }) } } })], b2.prototype, "returnZ", void 0), e([y2({ type: k, json: { write: true } })], b2.prototype, "sourceSpatialReference", void 0), e([r3(g2, { ignoreUnknown: false, name: "spatialRel" })], b2.prototype, "spatialRelationship", void 0), e([y2({ type: Number, json: { read: { source: "resultOffset" } } })], b2.prototype, "start", void 0), e([r2("start"), r2("num")], b2.prototype, "writeStart", null), e([y2({ type: String, json: { write: true } })], b2.prototype, "sqlFormat", void 0), e([y2({ type: String, json: { write: true } })], b2.prototype, "text", void 0), e([y2({ type: T2, json: { write: true } })], b2.prototype, "timeExtent", void 0), e([y2({ type: Boolean, json: { default: false, write: true } })], b2.prototype, "timeReferenceUnknownClient", void 0), e([r3(R, { ignoreUnknown: false }), y2({ json: { write: { overridePolicy(t) {
  224. return { enabled: !!t && null != this.distance && this.distance > 0 };
  225. } } } })], b2.prototype, "units", void 0), e([y2({ type: String, json: { write: { overridePolicy(t) {
  226. return { enabled: null != t || null != this.start && this.start > 0 };
  227. } } } })], b2.prototype, "where", void 0), e([r2("where")], b2.prototype, "writeWhere", null), b2 = v4 = e([n("esri.rest.support.Query")], b2);
  228. var x = b2;
  229. export {
  230. c,
  231. K,
  232. m2 as m,
  233. x
  234. };
  235. //# sourceMappingURL=chunk-WD4J43GZ.js.map