12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- import {
- l as l2
- } from "./chunk-3D3QEPRE.js";
- import {
- t
- } from "./chunk-BJHM4JNS.js";
- import {
- s
- } from "./chunk-PDKDCAAD.js";
- import {
- o
- } from "./chunk-ECW2QABR.js";
- import {
- r
- } from "./chunk-MRJEICT6.js";
- import {
- d,
- e,
- l3 as l,
- n2 as n
- } from "./chunk-Y3WMVFTW.js";
- // node_modules/@arcgis/core/layers/support/FeatureTemplate.js
- var l3 = new s({ esriFeatureEditToolAutoCompletePolygon: "auto-complete-polygon", esriFeatureEditToolCircle: "circle", esriFeatureEditToolEllipse: "ellipse", esriFeatureEditToolFreehand: "freehand", esriFeatureEditToolLine: "line", esriFeatureEditToolNone: "none", esriFeatureEditToolPoint: "point", esriFeatureEditToolPolygon: "polygon", esriFeatureEditToolRectangle: "rectangle", esriFeatureEditToolArrow: "arrow", esriFeatureEditToolTriangle: "triangle", esriFeatureEditToolLeftArrow: "left-arrow", esriFeatureEditToolRightArrow: "right-arrow", esriFeatureEditToolUpArrow: "up-arrow", esriFeatureEditToolDownArrow: "down-arrow" });
- var a = class extends l2(l) {
- constructor(o2) {
- super(o2), this.name = null, this.description = null, this.drawingTool = null, this.prototype = null, this.thumbnail = null;
- }
- };
- e([d({ json: { write: true } })], a.prototype, "name", void 0), e([d({ json: { write: true } })], a.prototype, "description", void 0), e([d({ json: { read: l3.read, write: l3.write } })], a.prototype, "drawingTool", void 0), e([d({ json: { write: true } })], a.prototype, "prototype", void 0), e([d({ json: { write: true } })], a.prototype, "thumbnail", void 0), a = e([n("esri.layers.support.FeatureTemplate")], a);
- var p = a;
- // node_modules/@arcgis/core/layers/support/FeatureType.js
- var c = class extends l2(l) {
- constructor(o2) {
- super(o2), this.id = null, this.name = null, this.domains = null, this.templates = null;
- }
- readDomains(o2) {
- const r2 = {};
- for (const s2 of Object.keys(o2))
- r2[s2] = t(o2[s2]);
- return r2;
- }
- writeDomains(o2, r2) {
- const s2 = {};
- for (const t2 of Object.keys(o2))
- o2[t2] && (s2[t2] = o2[t2]?.toJSON());
- r2.domains = s2;
- }
- };
- e([d({ json: { write: true } })], c.prototype, "id", void 0), e([d({ json: { write: true } })], c.prototype, "name", void 0), e([d({ json: { write: true } })], c.prototype, "domains", void 0), e([o("domains")], c.prototype, "readDomains", null), e([r("domains")], c.prototype, "writeDomains", null), e([d({ type: [p], json: { write: true } })], c.prototype, "templates", void 0), c = e([n("esri.layers.support.FeatureType")], c);
- var n2 = c;
- export {
- p,
- n2 as n
- };
- //# sourceMappingURL=chunk-KN7TOKVN.js.map
|