You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
1.8 KiB
7 lines
1.8 KiB
// All material copyright Esri, All Rights Reserved, unless otherwise specified. |
|
// See https://js.arcgis.com/4.30/esri/copyright.txt for details. |
|
//>>built |
|
define("../chunks/tslib.es6 ../core/lang ../core/accessorSupport/decorators/property ../core/has ../core/Logger ../core/accessorSupport/decorators/enumeration ../core/accessorSupport/decorators/subclass ./Renderer ./mixins/VisualVariablesMixin ./support/commonProperties".split(" "),function(d,e,f,c,q,h,k,l,m,n){var g;c=g=class extends m.VisualVariablesMixin(l){constructor(a){super(a);this.symbol=this.label=this.description=null;this.type="simple"}async collectRequiredFields(a,b){await Promise.all([this.collectSymbolFields(a, |
|
b),this.collectVVRequiredFields(a,b)])}async collectSymbolFields(a,b){await Promise.all(this.getSymbols().map(p=>p.collectRequiredFields(a,b)))}getSymbol(a,b){return this.symbol}async getSymbolAsync(a,b){return this.symbol}getSymbols(){return this.symbol?[this.symbol]:[]}getAttributeHash(){return this.visualVariables&&this.visualVariables.reduce((a,b)=>a+b.getAttributeHash(),"")}getMeshHash(){return this.getSymbols().reduce((a,b)=>a+=JSON.stringify(b),"")}get arcadeRequired(){return this.arcadeRequiredForVisualVariables}clone(){return new g({description:this.description, |
|
label:this.label,symbol:e.clone(this.symbol),visualVariables:e.clone(this.visualVariables),authoringInfo:e.clone(this.authoringInfo)})}};d.__decorate([f.property({type:String,json:{write:!0}})],c.prototype,"description",void 0);d.__decorate([f.property({type:String,json:{write:!0}})],c.prototype,"label",void 0);d.__decorate([f.property(n.requiredRendererSymbolProperty)],c.prototype,"symbol",void 0);d.__decorate([h.enumeration({simple:"simple"})],c.prototype,"type",void 0);return c=g=d.__decorate([k.subclass("esri.renderers.SimpleRenderer")], |
|
c)}); |