chunk-FB243F4I.js 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. import {
  2. T
  3. } from "./chunk-AR2YN3E2.js";
  4. import {
  5. i
  6. } from "./chunk-44GMIOGP.js";
  7. import {
  8. v
  9. } from "./chunk-ZHRAUKVQ.js";
  10. import {
  11. s
  12. } from "./chunk-HZRKBTHJ.js";
  13. import {
  14. k2 as k,
  15. r as r2
  16. } from "./chunk-QCKFNSN2.js";
  17. import {
  18. e,
  19. l3 as l,
  20. n5 as n,
  21. y3 as y2
  22. } from "./chunk-6SOHRC7T.js";
  23. import {
  24. b
  25. } from "./chunk-SQOPWYIT.js";
  26. import {
  27. y
  28. } from "./chunk-SPWQ3AWG.js";
  29. import {
  30. r
  31. } from "./chunk-YXWMMD76.js";
  32. // node_modules/@arcgis/core/rest/support/TopFilter.js
  33. var e2;
  34. var p = e2 = class extends l {
  35. constructor(o) {
  36. super(o), this.groupByFields = void 0, this.topCount = void 0, this.orderByFields = void 0;
  37. }
  38. clone() {
  39. return new e2({ groupByFields: this.groupByFields, topCount: this.topCount, orderByFields: this.orderByFields });
  40. }
  41. };
  42. e([y2({ type: [String], json: { write: true } })], p.prototype, "groupByFields", void 0), e([y2({ type: Number, json: { write: true } })], p.prototype, "topCount", void 0), e([y2({ type: [String], json: { write: true } })], p.prototype, "orderByFields", void 0), p = e2 = e([n("esri.rest.support.TopFilter")], p);
  43. var i2 = p;
  44. // node_modules/@arcgis/core/rest/support/TopFeaturesQuery.js
  45. var y3;
  46. var h = new s({ esriSpatialRelIntersects: "intersects", esriSpatialRelContains: "contains", esriSpatialRelCrosses: "crosses", esriSpatialRelDisjoint: "disjoint", esriSpatialRelEnvelopeIntersects: "envelope-intersects", esriSpatialRelIndexIntersects: "index-intersects", esriSpatialRelOverlaps: "overlaps", esriSpatialRelTouches: "touches", esriSpatialRelWithin: "within", esriSpatialRelRelation: "relation" });
  47. var j = new s({ esriSRUnit_Meter: "meters", esriSRUnit_Kilometer: "kilometers", esriSRUnit_Foot: "feet", esriSRUnit_StatuteMile: "miles", esriSRUnit_NauticalMile: "nautical-miles", esriSRUnit_USNauticalMile: "us-nautical-miles" });
  48. var S = y3 = class extends l {
  49. constructor(e3) {
  50. 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";
  51. }
  52. writeStart(e3, t) {
  53. t.resultOffset = this.start, t.resultRecordCount = this.num || 10;
  54. }
  55. clone() {
  56. return new y3(y({ 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 }));
  57. }
  58. };
  59. e([y2({ type: Boolean, json: { write: true } })], S.prototype, "cacheHint", void 0), e([y2({ type: Number, json: { write: { overridePolicy: (e3) => ({ enabled: e3 > 0 }) } } })], S.prototype, "distance", void 0), e([y2({ types: i, json: { read: v, write: true } })], S.prototype, "geometry", void 0), e([y2({ type: Number, json: { write: true } })], S.prototype, "geometryPrecision", void 0), e([y2({ type: Number, json: { write: true } })], S.prototype, "maxAllowableOffset", void 0), e([y2({ type: Number, json: { read: { source: "resultRecordCount" } } })], S.prototype, "num", void 0), e([y2({ json: { write: true } })], S.prototype, "objectIds", void 0), e([y2({ type: [String], json: { write: true } })], S.prototype, "orderByFields", void 0), e([y2({ type: [String], json: { write: true } })], S.prototype, "outFields", void 0), e([y2({ type: k, json: { read: { source: "outSR" }, write: { target: "outSR" } } })], S.prototype, "outSpatialReference", void 0), e([y2({ type: String, json: { write: true } })], S.prototype, "resultType", void 0), e([y2({ json: { write: true } })], S.prototype, "returnGeometry", void 0), e([y2({ type: Boolean, json: { write: { overridePolicy: (e3) => ({ enabled: e3 }) } } })], S.prototype, "returnM", void 0), e([y2({ type: Boolean, json: { write: { overridePolicy: (e3) => ({ enabled: e3 }) } } })], S.prototype, "returnZ", void 0), e([y2({ type: Number, json: { read: { source: "resultOffset" } } })], S.prototype, "start", void 0), e([r2("start"), r2("num")], S.prototype, "writeStart", null), e([y2({ type: String, json: { read: { source: "spatialRel", reader: h.read }, write: { target: "spatialRel", writer: h.write } } })], S.prototype, "spatialRelationship", void 0), e([y2({ type: T, json: { write: true } })], S.prototype, "timeExtent", void 0), e([y2({ type: i2, json: { write: true } })], S.prototype, "topFilter", void 0), e([y2({ type: String, json: { read: j.read, write: { writer: j.write, overridePolicy(e3) {
  60. return { enabled: r(e3) && r(this.distance) && this.distance > 0 };
  61. } } } })], S.prototype, "units", void 0), e([y2({ type: String, json: { write: true } })], S.prototype, "where", void 0), S = y3 = e([n("esri.rest.support.TopFeaturesQuery")], S), S.from = b(S);
  62. var v2 = S;
  63. export {
  64. v2 as v
  65. };
  66. //# sourceMappingURL=chunk-FB243F4I.js.map