chunk-JPUFJK2B.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import {
  2. l as l2
  3. } from "./chunk-X4SA4ELJ.js";
  4. import {
  5. r
  6. } from "./chunk-PQFTYGF5.js";
  7. import {
  8. e,
  9. l3 as l,
  10. n5 as n,
  11. y3 as y
  12. } from "./chunk-2Z2TG5CU.js";
  13. import {
  14. T
  15. } from "./chunk-SQOPWYIT.js";
  16. // node_modules/@arcgis/core/renderers/visualVariables/support/ColorStop.js
  17. var i;
  18. var c = i = class extends l {
  19. constructor(r2) {
  20. super(r2), this.color = null, this.label = null, this.value = null;
  21. }
  22. writeValue(r2, o, e2) {
  23. o[e2] = r2 != null ? r2 : 0;
  24. }
  25. clone() {
  26. return new i({ color: this.color && this.color.clone(), label: this.label, value: this.value });
  27. }
  28. };
  29. e([y({ type: l2, json: { type: [T], write: true } })], c.prototype, "color", void 0), e([y({ type: String, json: { write: true } })], c.prototype, "label", void 0), e([y({ type: Number, json: { write: { writerEnsuresNonNull: true } } })], c.prototype, "value", void 0), e([r("value")], c.prototype, "writeValue", null), c = i = e([n("esri.renderers.visualVariables.support.ColorStop")], c);
  30. var a = c;
  31. export {
  32. a
  33. };
  34. //# sourceMappingURL=chunk-JPUFJK2B.js.map