123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- import {
- l as l2
- } from "./chunk-7XXXCK2A.js";
- import {
- r
- } from "./chunk-7ZIDBK7B.js";
- import {
- d,
- e,
- l3 as l,
- n2 as n
- } from "./chunk-Y3WMVFTW.js";
- import {
- S
- } from "./chunk-IHXECKQQ.js";
- import {
- m
- } from "./chunk-IKP3YN53.js";
- // node_modules/@arcgis/core/rest/support/ColorRamp.js
- var e2 = class extends l {
- constructor(r2) {
- super(r2), this.type = null;
- }
- };
- e([d({ readOnly: true, json: { read: false, write: true } })], e2.prototype, "type", void 0), e2 = e([n("esri.rest.support.ColorRamp")], e2);
- var p = e2;
- // node_modules/@arcgis/core/rest/support/AlgorithmicColorRamp.js
- var m2;
- var c = m2 = class extends p {
- constructor(o) {
- super(o), this.algorithm = null, this.fromColor = null, this.toColor = null, this.type = "algorithmic";
- }
- clone() {
- return new m2({ fromColor: m(this.fromColor), toColor: m(this.toColor), algorithm: this.algorithm });
- }
- };
- e([r({ esriCIELabAlgorithm: "cie-lab", esriHSVAlgorithm: "hsv", esriLabLChAlgorithm: "lab-lch" })], c.prototype, "algorithm", void 0), e([d({ type: l2, json: { type: [S], write: true } })], c.prototype, "fromColor", void 0), e([d({ type: l2, json: { type: [S], write: true } })], c.prototype, "toColor", void 0), e([d({ type: ["algorithmic"] })], c.prototype, "type", void 0), c = m2 = e([n("esri.rest.support.AlgorithmicColorRamp")], c);
- var a = c;
- // node_modules/@arcgis/core/rest/support/MultipartColorRamp.js
- var c2;
- var m3 = c2 = class extends p {
- constructor(o) {
- super(o), this.colorRamps = null, this.type = "multipart";
- }
- clone() {
- return new c2({ colorRamps: m(this.colorRamps) });
- }
- };
- e([d({ type: [a], json: { write: true } })], m3.prototype, "colorRamps", void 0), e([d({ type: ["multipart"] })], m3.prototype, "type", void 0), m3 = c2 = e([n("esri.rest.support.MultipartColorRamp")], m3);
- var a2 = m3;
- // node_modules/@arcgis/core/rest/support/colorRamps.js
- var m4 = { key: "type", base: p, typeMap: { algorithmic: a, multipart: a2 } };
- function p2(o) {
- return o && o.type ? o.type === "algorithmic" ? a.fromJSON(o) : o.type === "multipart" ? a2.fromJSON(o) : null : null;
- }
- export {
- a2 as a,
- m4 as m,
- p2 as p
- };
- //# sourceMappingURL=chunk-EOSZHC5H.js.map
|