/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as e}from"tslib";import{property as t,subclass as i}from"../../core/accessorSupport/decorators.js";import o from"./VisualVariable.js";var r;let s=r=class extends o{constructor(e){super(e),this.axis=null,this.type="rotation",this.rotationType="geographic"}get cache(){return{hasExpression:!!this.valueExpression,compiledFunc:null}}clone(){return new r({axis:this.axis,rotationType:this.rotationType,field:this.field,valueExpression:this.valueExpression,valueExpressionTitle:this.valueExpressionTitle,legendOptions:this.legendOptions?.clone()})}};e([t({readOnly:!0})],s.prototype,"cache",null),e([t({type:["heading","tilt","roll"],json:{origins:{"web-scene":{default:"heading",write:!0}}}})],s.prototype,"axis",void 0),e([t({type:["rotation"],json:{type:["rotationInfo"]}})],s.prototype,"type",void 0),e([t({type:["geographic","arithmetic"],json:{write:!0,origins:{"web-document":{write:!0,default:"geographic"}}}})],s.prototype,"rotationType",void 0),s=r=e([i("esri.renderers.visualVariables.RotationVariable")],s);export{s as default};
