@doegis/core
Version:
DOE GIS API
3 lines (1 loc) • 2.27 kB
JavaScript
import{_ as t}from"../../../chunks/tslib.es6.js";import{zeroMeters as o,zeroSquareMeters as e}from"../../../core/quantityUtils.js";import{property as i}from"../../../core/accessorSupport/decorators/property.js";import{subclass as p}from"../../../core/accessorSupport/decorators/subclass.js";import{SketchTooltipInfo as r}from"./SketchTooltipInfo.js";let s=class extends r{constructor(t){super(t),this.type="draw-point",this.helpMessage=void 0}};t([i()],s.prototype,"type",void 0),t([i()],s.prototype,"elevation",void 0),t([i()],s.prototype,"viewType",void 0),t([i()],s.prototype,"helpMessage",void 0),s=t([p("esri.views.interactive.tooltip.DrawPointTooltipInfo")],s);let a=class extends r{constructor(t){super(t),this.type="draw-polyline",this.totalLength=o,this.helpMessage=void 0}};t([i()],a.prototype,"type",void 0),t([i()],a.prototype,"elevation",void 0),t([i()],a.prototype,"totalLength",void 0),t([i()],a.prototype,"viewType",void 0),t([i()],a.prototype,"helpMessage",void 0),a=t([p("esri.views.interactive.tooltip.DrawPolylineTooltipInfo")],a);let l=class extends r{constructor(t){super(t),this.type="draw-polygon",this.area=e,this.helpMessage=void 0}};t([i()],l.prototype,"type",void 0),t([i()],l.prototype,"elevation",void 0),t([i()],l.prototype,"area",void 0),t([i()],l.prototype,"viewType",void 0),t([i()],l.prototype,"helpMessage",void 0),l=t([p("esri.views.interactive.tooltip.DrawPolygonTooltipInfo")],l);let y=class extends r{constructor(t){super(t),this.type="draw-rectangle",this.xSize=o,this.ySize=o,this.area=e}};t([i()],y.prototype,"type",void 0),t([i()],y.prototype,"xSize",void 0),t([i()],y.prototype,"ySize",void 0),t([i()],y.prototype,"area",void 0),y=t([p("esri.views.interactive.tooltip.DrawRectangleTooltipInfo")],y);let v=class extends r{constructor(t){super(t),this.type="draw-circle",this.radius=null,this.xSize=null,this.ySize=null,this.area=e}};t([i()],v.prototype,"type",void 0),t([i()],v.prototype,"radius",void 0),t([i()],v.prototype,"xSize",void 0),t([i()],v.prototype,"ySize",void 0),t([i()],v.prototype,"area",void 0),v=t([p("esri.views.interactive.tooltip.DrawCircleTooltipInfo")],v);export{v as DrawCircleTooltipInfo,s as DrawPointTooltipInfo,l as DrawPolygonTooltipInfo,a as DrawPolylineTooltipInfo,y as DrawRectangleTooltipInfo};