/*
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 o,subclass as i}from"../../../../core/accessorSupport/decorators.js";import{makeDirectionField as e,makeDistanceField as s,makeTotalLengthField as r}from"../fields/fields.js";import{SketchTooltipInfo as l}from"./SketchTooltipInfo.js";import{TooltipInfoWithCoordinates as n}from"./TooltipInfoWithCoordinates.js";let p=class extends(n(l)){constructor(t){super(t),this.type="draw-polyline",this.direction=e(),this.distance=s(),this.totalLength=r(),this.xyMode="direction-distance"}get allFields(){return[this.direction,this.distance,this.longitude,this.latitude,this.x,this.y,this.elevation,this.totalLength]}};t([o()],p.prototype,"helpMessage",void 0),t([o()],p.prototype,"xyMode",void 0),t([o()],p.prototype,"allFields",null),p=t([i("esri.views.interactive.tooltip.infos.DrawPolylineTooltipInfo")],p);export{p as DrawPolylineTooltipInfo};
