/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as t}from"tslib";import{property as i,subclass as o}from"../../../../core/accessorSupport/decorators.js";import{makeOrientationField as e,makeScaleField as s}from"../fields/fields.js";import{SketchTooltipInfo as l}from"./SketchTooltipInfo.js";import{TooltipInfoWithCoordinates as a}from"./TooltipInfoWithCoordinates.js";let r=class extends(a(l)){constructor(t){super(t),this.type="transform-mesh",this.orientation=e(),this.scale=s(),this.allFields.forEach(t=>{t.lockable=!1,t.setActual(null)})}get key(){return{longitude:this.longitude.actual,latitude:this.latitude.actual,x:this.x.actual,y:this.y.actual,elevation:this.elevation.actual,geographic:this.geographic,orientation:this.orientation.actual,scale:this.scale.actual}}get allFields(){return[this.longitude,this.latitude,this.x,this.y,this.elevation,this.orientation,this.scale]}};t([i()],r.prototype,"key",null),t([i()],r.prototype,"allFields",null),r=t([o("esri.views.interactive.tooltip.infos.TransformMeshTooltipInfo")],r);export{r as TransformMeshTooltipInfo};
