chunk-C43UE3Z5.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import {
  2. l as l2
  3. } from "./chunk-7XXXCK2A.js";
  4. import {
  5. s
  6. } from "./chunk-PDKDCAAD.js";
  7. import {
  8. o
  9. } from "./chunk-ECW2QABR.js";
  10. import {
  11. d,
  12. e,
  13. l3 as l,
  14. n2 as n
  15. } from "./chunk-Y3WMVFTW.js";
  16. // node_modules/@arcgis/core/symbols/Symbol.js
  17. var p = new s({ esriSMS: "simple-marker", esriPMS: "picture-marker", esriSLS: "simple-line", esriSFS: "simple-fill", esriPFS: "picture-fill", esriTS: "text", esriSHD: "shield-label-symbol", PointSymbol3D: "point-3d", LineSymbol3D: "line-3d", PolygonSymbol3D: "polygon-3d", WebStyleSymbol: "web-style", MeshSymbol3D: "mesh-3d", LabelSymbol3D: "label-3d", CIMSymbolReference: "cim" });
  18. var c = 0;
  19. var m = class extends l {
  20. constructor(r) {
  21. super(r), this.id = "sym" + c++, this.type = null, this.color = new l2([0, 0, 0, 1]);
  22. }
  23. readColor(r) {
  24. return r && r[0] != null ? [r[0], r[1], r[2], r[3] / 255] : r;
  25. }
  26. async collectRequiredFields(r, o2) {
  27. }
  28. hash() {
  29. return JSON.stringify(this.toJSON());
  30. }
  31. clone() {
  32. }
  33. };
  34. e([d({ type: p.apiValues, readOnly: true, json: { read: false, write: { ignoreOrigin: true, writer: p.write } } })], m.prototype, "type", void 0), e([d({ type: l2, json: { write: { allowNull: true } } })], m.prototype, "color", void 0), e([o("color")], m.prototype, "readColor", null), m = e([n("esri.symbols.Symbol")], m);
  35. var a = m;
  36. export {
  37. a
  38. };
  39. //# sourceMappingURL=chunk-C43UE3Z5.js.map