/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as t}from"tslib";import{property as o,subclass as i}from"../../../../core/accessorSupport/decorators.js";import{makeDirectionField as e,makeDistanceField as s,makeAreaField as r}from"../fields/fields.js";import{SketchTooltipInfo as l}from"./SketchTooltipInfo.js";import{TooltipInfoWithCoordinates as p}from"./TooltipInfoWithCoordinates.js";let d=class extends(p(l)){constructor(t){super(t),this.type="draw-polygon",this.direction=e(),this.distance=s(),this.area=r(),this.xyMode="direction-distance"}get allFields(){return[this.direction,this.distance,this.longitude,this.latitude,this.x,this.y,this.elevation,this.area]}};t([o()],d.prototype,"xyMode",void 0),t([o()],d.prototype,"helpMessage",void 0),t([o()],d.prototype,"allFields",null),d=t([i("esri.views.interactive.tooltip.infos.DrawPolygonTooltipInfo")],d);export{d as DrawPolygonTooltipInfo};
