123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- import {
- a
- } from "./chunk-MCWCB5IY.js";
- import {
- S
- } from "./chunk-CRGY2SDS.js";
- import {
- r as r2
- } from "./chunk-5N7JLUJJ.js";
- import {
- o
- } from "./chunk-6T6G6LCQ.js";
- import {
- r
- } from "./chunk-PQFTYGF5.js";
- import {
- e,
- n5 as n,
- y3 as y2
- } from "./chunk-2Z2TG5CU.js";
- import {
- c,
- y
- } from "./chunk-SPWQ3AWG.js";
- // node_modules/@arcgis/core/symbols/CIMSymbol.js
- var m;
- var l = m = class extends a {
- constructor(r3) {
- super(r3), this.data = null, this.type = "cim";
- }
- readData(r3, o2) {
- return o2;
- }
- writeData(r3, o2) {
- if (r3)
- for (const t in r3)
- o2[t] = r3[t];
- }
- async collectRequiredFields(r3, o2) {
- var _a;
- if ("CIMSymbolReference" === ((_a = this.data) == null ? void 0 : _a.type)) {
- const t = this.data.primitiveOverrides;
- if (t) {
- const e2 = t.map((t2) => {
- const e3 = t2.valueExpressionInfo;
- return S(r3, o2, e3.expression);
- });
- await Promise.all(e2);
- }
- }
- }
- clone() {
- return new m({ data: y(this.data) });
- }
- hash() {
- return c(JSON.stringify(this.data)).toString();
- }
- };
- e([y2({ json: { write: false } })], l.prototype, "color", void 0), e([y2({ json: { write: true } })], l.prototype, "data", void 0), e([o("data", ["symbol"])], l.prototype, "readData", null), e([r("data", {})], l.prototype, "writeData", null), e([r2({ CIMSymbolReference: "cim" }, { readOnly: true })], l.prototype, "type", void 0), l = m = e([n("esri.symbols.CIMSymbol")], l);
- var d = l;
- export {
- d
- };
- //# sourceMappingURL=chunk-DLMAGHHC.js.map
|