import { K } from "./chunk-WD4J43GZ.js"; import { k2 as k, r } from "./chunk-PQFTYGF5.js"; import { e, l3 as l, n5 as n, y3 as y2 } from "./chunk-2Z2TG5CU.js"; import { b } from "./chunk-SQOPWYIT.js"; import { y } from "./chunk-SPWQ3AWG.js"; // node_modules/@arcgis/core/rest/support/AttachmentQuery.js var a; var p = a = class extends l { constructor(t) { 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; } writeStart(t, e2) { e2.resultOffset = this.start, e2.resultRecordCount = this.num || 10; } clone() { return new a(y({ 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 })); } }; e([y2({ type: [String], json: { write: true } })], p.prototype, "attachmentTypes", void 0), e([y2({ type: String, json: { read: { source: "attachmentsDefinitionExpression" }, write: { target: "attachmentsDefinitionExpression" } } })], p.prototype, "attachmentsWhere", void 0), e([y2({ type: Boolean, json: { write: true } })], p.prototype, "cacheHint", void 0), e([y2({ type: [String], json: { write: true } })], p.prototype, "keywords", void 0), e([y2({ type: [Number], json: { write: true } })], p.prototype, "globalIds", void 0), e([y2({ json: { write: true } })], p.prototype, "name", void 0), e([y2({ type: Number, json: { read: { source: "resultRecordCount" } } })], p.prototype, "num", void 0), e([y2({ type: [Number], json: { write: true } })], p.prototype, "objectIds", void 0), e([y2({ type: Boolean, json: { default: false, write: true } })], p.prototype, "returnMetadata", void 0), e([y2({ type: [Number], json: { write: true } })], p.prototype, "size", void 0), e([y2({ type: Number, json: { read: { source: "resultOffset" } } })], p.prototype, "start", void 0), e([r("start"), r("num")], p.prototype, "writeStart", null), e([y2({ 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); var c = p; // node_modules/@arcgis/core/rest/support/RelationshipQuery.js var u; var c2 = u = class extends l { constructor(t) { 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; } _writeHistoricMoment(t, e2) { e2.historicMoment = t && t.getTime(); } writeStart(t, e2) { e2.resultOffset = this.start, e2.resultRecordCount = this.num || 10, this.start > 0 && null == this.where && (e2.definitionExpression = "1=1"); } clone() { return new u(y({ 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 })); } }; e([y2({ type: Boolean, json: { write: true } })], c2.prototype, "cacheHint", void 0), e([y2({ type: K, json: { write: true } })], c2.prototype, "dynamicDataSource", void 0), e([y2({ type: String, json: { write: true } })], c2.prototype, "gdbVersion", void 0), e([y2({ type: Number, json: { write: true } })], c2.prototype, "geometryPrecision", void 0), e([y2({ type: Date })], c2.prototype, "historicMoment", void 0), e([r("historicMoment")], c2.prototype, "_writeHistoricMoment", null), e([y2({ type: Number, json: { write: true } })], c2.prototype, "maxAllowableOffset", void 0), e([y2({ type: [Number], json: { write: true } })], c2.prototype, "objectIds", void 0), e([y2({ type: [String], json: { write: true } })], c2.prototype, "orderByFields", void 0), e([y2({ type: [String], json: { write: true } })], c2.prototype, "outFields", void 0), e([y2({ type: k, json: { read: { source: "outSR" }, write: { target: "outSR" } } })], c2.prototype, "outSpatialReference", void 0), e([y2({ json: { write: true } })], c2.prototype, "relationshipId", void 0), e([y2({ type: Number, json: { read: { source: "resultOffset" } } })], c2.prototype, "start", void 0), e([r("start"), r("num")], c2.prototype, "writeStart", null), e([y2({ type: Number, json: { read: { source: "resultRecordCount" } } })], c2.prototype, "num", void 0), e([y2({ json: { write: true } })], c2.prototype, "returnGeometry", void 0), e([y2({ type: Boolean, json: { write: { overridePolicy: (t) => ({ enabled: t }) } } })], c2.prototype, "returnM", void 0), e([y2({ type: Boolean, json: { write: { overridePolicy: (t) => ({ enabled: t }) } } })], c2.prototype, "returnZ", void 0), e([y2({ 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); var d = c2; export { c, d }; //# sourceMappingURL=chunk-VBR5BOXI.js.map