chunk-Z64YKYHD.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. import {
  2. K
  3. } from "./chunk-UD63WBG3.js";
  4. import {
  5. y
  6. } from "./chunk-EG5OI4V4.js";
  7. import {
  8. i
  9. } from "./chunk-UXF37FQ4.js";
  10. import {
  11. d as d2
  12. } from "./chunk-2Z6LERTI.js";
  13. import {
  14. s
  15. } from "./chunk-PDKDCAAD.js";
  16. import {
  17. k2 as k,
  18. r
  19. } from "./chunk-MRJEICT6.js";
  20. import {
  21. d,
  22. e,
  23. l3 as l,
  24. n2 as n
  25. } from "./chunk-Y3WMVFTW.js";
  26. import {
  27. b
  28. } from "./chunk-IHXECKQQ.js";
  29. import {
  30. m
  31. } from "./chunk-IKP3YN53.js";
  32. // node_modules/@arcgis/core/rest/support/AttachmentQuery.js
  33. var a;
  34. var p = a = class extends l {
  35. constructor(t) {
  36. super(t), this.attachmentTypes = null, this.attachmentsWhere = null, this.cacheHint = void 0, this.keywords = null, this.globalIds = null, this.name = null, this.num = null, this.objectIds = null, this.returnMetadata = false, this.size = null, this.start = null, this.where = null;
  37. }
  38. writeStart(t, e3) {
  39. e3.resultOffset = this.start, e3.resultRecordCount = this.num || 10;
  40. }
  41. clone() {
  42. return new a(m({ attachmentTypes: this.attachmentTypes, attachmentsWhere: this.attachmentsWhere, cacheHint: this.cacheHint, keywords: this.keywords, where: this.where, globalIds: this.globalIds, name: this.name, num: this.num, objectIds: this.objectIds, returnMetadata: this.returnMetadata, size: this.size, start: this.start }));
  43. }
  44. };
  45. e([d({ type: [String], json: { write: true } })], p.prototype, "attachmentTypes", void 0), e([d({ type: String, json: { read: { source: "attachmentsDefinitionExpression" }, write: { target: "attachmentsDefinitionExpression" } } })], p.prototype, "attachmentsWhere", void 0), e([d({ type: Boolean, json: { write: true } })], p.prototype, "cacheHint", void 0), e([d({ type: [String], json: { write: true } })], p.prototype, "keywords", void 0), e([d({ type: [Number], json: { write: true } })], p.prototype, "globalIds", void 0), e([d({ json: { write: true } })], p.prototype, "name", void 0), e([d({ type: Number, json: { read: { source: "resultRecordCount" } } })], p.prototype, "num", void 0), e([d({ type: [Number], json: { write: true } })], p.prototype, "objectIds", void 0), e([d({ type: Boolean, json: { default: false, write: true } })], p.prototype, "returnMetadata", void 0), e([d({ type: [Number], json: { write: true } })], p.prototype, "size", void 0), e([d({ type: Number, json: { read: { source: "resultOffset" } } })], p.prototype, "start", void 0), e([r("start"), r("num")], p.prototype, "writeStart", null), e([d({ type: String, json: { read: { source: "definitionExpression" }, write: { target: "definitionExpression" } } })], p.prototype, "where", void 0), p = a = e([n("esri.rest.support.AttachmentQuery")], p), p.from = b(p);
  46. var c = p;
  47. // node_modules/@arcgis/core/rest/support/RelationshipQuery.js
  48. var u;
  49. var c2 = u = class extends l {
  50. constructor(t) {
  51. super(t), this.cacheHint = void 0, this.dynamicDataSource = void 0, this.gdbVersion = null, this.geometryPrecision = void 0, this.historicMoment = null, this.maxAllowableOffset = void 0, this.objectIds = null, this.orderByFields = null, this.outFields = null, this.outSpatialReference = null, this.relationshipId = void 0, this.start = void 0, this.num = void 0, this.returnGeometry = false, this.returnM = void 0, this.returnZ = void 0, this.where = null;
  52. }
  53. _writeHistoricMoment(t, e3) {
  54. e3.historicMoment = t && t.getTime();
  55. }
  56. writeStart(t, e3) {
  57. e3.resultOffset = this.start, e3.resultRecordCount = this.num || 10, this.start > 0 && this.where == null && (e3.definitionExpression = "1=1");
  58. }
  59. clone() {
  60. return new u(m({ cacheHint: this.cacheHint, dynamicDataSource: this.dynamicDataSource, gdbVersion: this.gdbVersion, geometryPrecision: this.geometryPrecision, historicMoment: this.historicMoment && new Date(this.historicMoment.getTime()), maxAllowableOffset: this.maxAllowableOffset, objectIds: this.objectIds, orderByFields: this.orderByFields, outFields: this.outFields, outSpatialReference: this.outSpatialReference, relationshipId: this.relationshipId, start: this.start, num: this.num, returnGeometry: this.returnGeometry, where: this.where, returnZ: this.returnZ, returnM: this.returnM }));
  61. }
  62. };
  63. e([d({ type: Boolean, json: { write: true } })], c2.prototype, "cacheHint", void 0), e([d({ type: K, json: { write: true } })], c2.prototype, "dynamicDataSource", void 0), e([d({ type: String, json: { write: true } })], c2.prototype, "gdbVersion", void 0), e([d({ type: Number, json: { write: true } })], c2.prototype, "geometryPrecision", void 0), e([d({ type: Date })], c2.prototype, "historicMoment", void 0), e([r("historicMoment")], c2.prototype, "_writeHistoricMoment", null), e([d({ type: Number, json: { write: true } })], c2.prototype, "maxAllowableOffset", void 0), e([d({ type: [Number], json: { write: true } })], c2.prototype, "objectIds", void 0), e([d({ type: [String], json: { write: true } })], c2.prototype, "orderByFields", void 0), e([d({ type: [String], json: { write: true } })], c2.prototype, "outFields", void 0), e([d({ type: k, json: { read: { source: "outSR" }, write: { target: "outSR" } } })], c2.prototype, "outSpatialReference", void 0), e([d({ json: { write: true } })], c2.prototype, "relationshipId", void 0), e([d({ type: Number, json: { read: { source: "resultOffset" } } })], c2.prototype, "start", void 0), e([r("start"), r("num")], c2.prototype, "writeStart", null), e([d({ type: Number, json: { read: { source: "resultRecordCount" } } })], c2.prototype, "num", void 0), e([d({ json: { write: true } })], c2.prototype, "returnGeometry", void 0), e([d({ type: Boolean, json: { write: { overridePolicy: (t) => ({ enabled: t }) } } })], c2.prototype, "returnM", void 0), e([d({ type: Boolean, json: { write: { overridePolicy: (t) => ({ enabled: t }) } } })], c2.prototype, "returnZ", void 0), e([d({ type: String, json: { read: { source: "definitionExpression" }, write: { target: "definitionExpression" } } })], c2.prototype, "where", void 0), c2 = u = e([n("esri.rest.support.RelationshipQuery")], c2), c2.from = b(c2);
  64. var d3 = c2;
  65. // node_modules/@arcgis/core/rest/support/TopFilter.js
  66. var e2;
  67. var p2 = e2 = class extends l {
  68. constructor(o) {
  69. super(o), this.groupByFields = void 0, this.topCount = void 0, this.orderByFields = void 0;
  70. }
  71. clone() {
  72. return new e2({ groupByFields: this.groupByFields, topCount: this.topCount, orderByFields: this.orderByFields });
  73. }
  74. };
  75. e([d({ type: [String], json: { write: true } })], p2.prototype, "groupByFields", void 0), e([d({ type: Number, json: { write: true } })], p2.prototype, "topCount", void 0), e([d({ type: [String], json: { write: true } })], p2.prototype, "orderByFields", void 0), p2 = e2 = e([n("esri.rest.support.TopFilter")], p2);
  76. var i2 = p2;
  77. // node_modules/@arcgis/core/rest/support/TopFeaturesQuery.js
  78. var y2;
  79. var m2 = new s({ esriSpatialRelIntersects: "intersects", esriSpatialRelContains: "contains", esriSpatialRelCrosses: "crosses", esriSpatialRelDisjoint: "disjoint", esriSpatialRelEnvelopeIntersects: "envelope-intersects", esriSpatialRelIndexIntersects: "index-intersects", esriSpatialRelOverlaps: "overlaps", esriSpatialRelTouches: "touches", esriSpatialRelWithin: "within", esriSpatialRelRelation: "relation" });
  80. var h = new s({ esriSRUnit_Meter: "meters", esriSRUnit_Kilometer: "kilometers", esriSRUnit_Foot: "feet", esriSRUnit_StatuteMile: "miles", esriSRUnit_NauticalMile: "nautical-miles", esriSRUnit_USNauticalMile: "us-nautical-miles" });
  81. var j = y2 = class extends l {
  82. constructor(e3) {
  83. super(e3), this.cacheHint = void 0, this.distance = void 0, this.geometry = null, this.geometryPrecision = void 0, this.maxAllowableOffset = void 0, this.num = void 0, this.objectIds = null, this.orderByFields = null, this.outFields = null, this.outSpatialReference = null, this.resultType = null, this.returnGeometry = false, this.returnM = void 0, this.returnZ = void 0, this.start = void 0, this.spatialRelationship = "intersects", this.timeExtent = null, this.topFilter = void 0, this.units = null, this.where = "1=1";
  84. }
  85. writeStart(e3, t) {
  86. t.resultOffset = this.start, t.resultRecordCount = this.num || 10;
  87. }
  88. clone() {
  89. return new y2(m({ cacheHint: this.cacheHint, distance: this.distance, geometry: this.geometry, geometryPrecision: this.geometryPrecision, maxAllowableOffset: this.maxAllowableOffset, num: this.num, objectIds: this.objectIds, orderByFields: this.orderByFields, outFields: this.outFields, outSpatialReference: this.outSpatialReference, resultType: this.resultType, returnGeometry: this.returnGeometry, returnZ: this.returnZ, returnM: this.returnM, start: this.start, spatialRelationship: this.spatialRelationship, timeExtent: this.timeExtent, topFilter: this.topFilter, units: this.units, where: this.where }));
  90. }
  91. };
  92. e([d({ type: Boolean, json: { write: true } })], j.prototype, "cacheHint", void 0), e([d({ type: Number, json: { write: { overridePolicy: (e3) => ({ enabled: e3 > 0 }) } } })], j.prototype, "distance", void 0), e([d({ types: i, json: { read: d2, write: true } })], j.prototype, "geometry", void 0), e([d({ type: Number, json: { write: true } })], j.prototype, "geometryPrecision", void 0), e([d({ type: Number, json: { write: true } })], j.prototype, "maxAllowableOffset", void 0), e([d({ type: Number, json: { read: { source: "resultRecordCount" } } })], j.prototype, "num", void 0), e([d({ json: { write: true } })], j.prototype, "objectIds", void 0), e([d({ type: [String], json: { write: true } })], j.prototype, "orderByFields", void 0), e([d({ type: [String], json: { write: true } })], j.prototype, "outFields", void 0), e([d({ type: k, json: { read: { source: "outSR" }, write: { target: "outSR" } } })], j.prototype, "outSpatialReference", void 0), e([d({ type: String, json: { write: true } })], j.prototype, "resultType", void 0), e([d({ json: { write: true } })], j.prototype, "returnGeometry", void 0), e([d({ type: Boolean, json: { write: { overridePolicy: (e3) => ({ enabled: e3 }) } } })], j.prototype, "returnM", void 0), e([d({ type: Boolean, json: { write: { overridePolicy: (e3) => ({ enabled: e3 }) } } })], j.prototype, "returnZ", void 0), e([d({ type: Number, json: { read: { source: "resultOffset" } } })], j.prototype, "start", void 0), e([r("start"), r("num")], j.prototype, "writeStart", null), e([d({ type: String, json: { read: { source: "spatialRel", reader: m2.read }, write: { target: "spatialRel", writer: m2.write } } })], j.prototype, "spatialRelationship", void 0), e([d({ type: y, json: { write: true } })], j.prototype, "timeExtent", void 0), e([d({ type: i2, json: { write: true } })], j.prototype, "topFilter", void 0), e([d({ type: String, json: { read: h.read, write: { writer: h.write, overridePolicy(e3) {
  93. return { enabled: e3 && this.distance > 0 };
  94. } } } })], j.prototype, "units", void 0), e([d({ type: String, json: { write: true } })], j.prototype, "where", void 0), j = y2 = e([n("esri.rest.support.TopFeaturesQuery")], j), j.from = b(j);
  95. var S = j;
  96. export {
  97. c,
  98. d3 as d,
  99. S
  100. };
  101. //# sourceMappingURL=chunk-Z64YKYHD.js.map