{"version":3,"sources":["node_modules/@arcgis/core/layers/support/OrderByInfo.js","node_modules/@arcgis/core/layers/mixins/OrderedLayer.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../../chunks/tslib.es6.js\";\nimport { JSONMap as e } from \"../../core/jsonMap.js\";\nimport { JSONSupport as o } from \"../../core/JSONSupport.js\";\nimport { property as s } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as t } from \"../../core/accessorSupport/decorators/subclass.js\";\nvar i;\nconst p = new e({\n asc: \"ascending\",\n desc: \"descending\"\n});\nlet n = i = class extends o {\n constructor(r) {\n super(r), this.field = null, this.valueExpression = null, this.order = \"ascending\";\n }\n clone() {\n return new i({\n field: this.field,\n valueExpression: this.valueExpression,\n order: this.order\n });\n }\n};\nr([s({\n type: String,\n json: {\n write: !0\n }\n})], n.prototype, \"field\", void 0), r([s({\n type: String,\n json: {\n write: !0\n }\n})], n.prototype, \"valueExpression\", void 0), r([s({\n type: p.apiValues,\n json: {\n read: p.read,\n write: p.write\n }\n})], n.prototype, \"order\", void 0), n = i = r([t(\"esri.layers.support.OrderByInfo\")], n);\nconst c = n;\nexport { c as default };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as r } from \"../../chunks/tslib.es6.js\";\nimport { setDeepValue as e } from \"../../core/object.js\";\nimport { property as o } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { subclass as t } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport s from \"../support/OrderByInfo.js\";\nfunction i(r, e, o) {\n if (!r) return null;\n const t = r.find(r => !!r.field);\n if (!t) return null;\n const i = new s();\n return i.read(t, o), [i];\n}\nfunction n(r, o, t, s) {\n const i = r.find(r => !!r.field);\n i && e(t, [i.toJSON()], o);\n}\nconst c = e => {\n let c = class extends e {\n constructor() {\n super(...arguments), this.orderBy = null;\n }\n };\n return r([o({\n type: [s],\n json: {\n origins: {\n \"web-scene\": {\n write: !1,\n read: !1\n }\n },\n read: {\n source: \"layerDefinition.orderBy\",\n reader: i\n },\n write: {\n target: \"layerDefinition.orderBy\",\n writer: n\n }\n }\n })], c.prototype, \"orderBy\", void 0), c = r([t(\"esri.layers.mixins.OrderedLayer\")], c), c;\n};\nexport { c as OrderedLayer };"],"mappings":";;;;;;;;;;;;;;;;;;;;AAYA,IAAI;AACJ,IAAM,IAAI,IAAI,EAAE;AAAA,EACd,KAAK;AAAA,EACL,MAAM;AACR,CAAC;AACD,IAAI,IAAI,IAAI,cAAc,EAAE;AAAA,EAC1B,YAAY,GAAG;AACb,UAAM,CAAC,GAAG,KAAK,QAAQ,MAAM,KAAK,kBAAkB,MAAM,KAAK,QAAQ;AAAA,EACzE;AAAA,EACA,QAAQ;AACN,WAAO,IAAI,EAAE;AAAA,MACX,OAAO,KAAK;AAAA,MACZ,iBAAiB,KAAK;AAAA,MACtB,OAAO,KAAK;AAAA,IACd,CAAC;AAAA,EACH;AACF;AACA,EAAE,CAAC,EAAE;AAAA,EACH,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,OAAO;AAAA,EACT;AACF,CAAC,CAAC,GAAG,EAAE,WAAW,SAAS,MAAM,GAAG,EAAE,CAAC,EAAE;AAAA,EACvC,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,OAAO;AAAA,EACT;AACF,CAAC,CAAC,GAAG,EAAE,WAAW,mBAAmB,MAAM,GAAG,EAAE,CAAC,EAAE;AAAA,EACjD,MAAM,EAAE;AAAA,EACR,MAAM;AAAA,IACJ,MAAM,EAAE;AAAA,IACR,OAAO,EAAE;AAAA,EACX;AACF,CAAC,CAAC,GA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