123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- import {
- T
- } from "./chunk-AR2YN3E2.js";
- import {
- i
- } from "./chunk-44GMIOGP.js";
- import {
- v
- } from "./chunk-ZHRAUKVQ.js";
- import {
- s
- } from "./chunk-HZRKBTHJ.js";
- import {
- k2 as k,
- r as r2
- } from "./chunk-QCKFNSN2.js";
- import {
- e,
- l3 as l,
- n5 as n,
- y3 as y2
- } from "./chunk-6SOHRC7T.js";
- import {
- b
- } from "./chunk-SQOPWYIT.js";
- import {
- y
- } from "./chunk-SPWQ3AWG.js";
- import {
- r
- } from "./chunk-YXWMMD76.js";
- // node_modules/@arcgis/core/rest/support/TopFilter.js
- var e2;
- var p = e2 = class extends l {
- constructor(o) {
- super(o), this.groupByFields = void 0, this.topCount = void 0, this.orderByFields = void 0;
- }
- clone() {
- return new e2({ groupByFields: this.groupByFields, topCount: this.topCount, orderByFields: this.orderByFields });
- }
- };
- 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);
- var i2 = p;
- // node_modules/@arcgis/core/rest/support/TopFeaturesQuery.js
- var y3;
- 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" });
- 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" });
- var S = y3 = class extends l {
- constructor(e3) {
- 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";
- }
- writeStart(e3, t) {
- t.resultOffset = this.start, t.resultRecordCount = this.num || 10;
- }
- clone() {
- 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 }));
- }
- };
- 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) {
- return { enabled: r(e3) && r(this.distance) && this.distance > 0 };
- } } } })], 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);
- var v2 = S;
- export {
- v2 as v
- };
- //# sourceMappingURL=chunk-FB243F4I.js.map
|