chunk-VBR5BOXI.js 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. import {
  2. K
  3. } from "./chunk-WD4J43GZ.js";
  4. import {
  5. k2 as k,
  6. r
  7. } from "./chunk-PQFTYGF5.js";
  8. import {
  9. e,
  10. l3 as l,
  11. n5 as n,
  12. y3 as y2
  13. } from "./chunk-2Z2TG5CU.js";
  14. import {
  15. b
  16. } from "./chunk-SQOPWYIT.js";
  17. import {
  18. y
  19. } from "./chunk-SPWQ3AWG.js";
  20. // node_modules/@arcgis/core/rest/support/AttachmentQuery.js
  21. var a;
  22. var p = a = class extends l {
  23. constructor(t) {
  24. 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;
  25. }
  26. writeStart(t, e2) {
  27. e2.resultOffset = this.start, e2.resultRecordCount = this.num || 10;
  28. }
  29. clone() {
  30. 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 }));
  31. }
  32. };
  33. 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);
  34. var c = p;
  35. // node_modules/@arcgis/core/rest/support/RelationshipQuery.js
  36. var u;
  37. var c2 = u = class extends l {
  38. constructor(t) {
  39. 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;
  40. }
  41. _writeHistoricMoment(t, e2) {
  42. e2.historicMoment = t && t.getTime();
  43. }
  44. writeStart(t, e2) {
  45. e2.resultOffset = this.start, e2.resultRecordCount = this.num || 10, this.start > 0 && null == this.where && (e2.definitionExpression = "1=1");
  46. }
  47. clone() {
  48. 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 }));
  49. }
  50. };
  51. 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);
  52. var d = c2;
  53. export {
  54. c,
  55. d
  56. };
  57. //# sourceMappingURL=chunk-VBR5BOXI.js.map