/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{__decorate as t}from"tslib";import{subclass as e}from"../../../../core/accessorSupport/decorators.js";import{TooltipField as o}from"../components/TooltipField.js";import{ValueByValue as r}from"../components/ValueByValue.js";import{TooltipContent as i}from"./TooltipContent.js";import{tsx as l,tsxFragment as s}from"../../../../widgets/support/widget.js";let n=class extends i{_renderContent(){const{area:t,xSize:e,ySize:i,visibleElements:n}=this.info,a=this._messagesTooltip.sketch,p=this._formatters;return l(s,null,n.size&&null!=e&&null!=i?l(o,{title:a.size,value:l(r,{left:p.length(e),right:p.length(i)})}):null,n.area?l(o,{title:a.area,value:p.area(t)}):null)}};n=t([e("esri.views.interactive.tooltip.content.TooltipContentDrawRectangle")],n);export{n as TooltipContentDrawRectangle};
