/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{TooltipContentDrawCircle as t}from"./TooltipContentDrawCircle.js";import{TooltipContentDrawMesh as o}from"./TooltipContentDrawMesh.js";import{TooltipContentDrawPoint as n}from"./TooltipContentDrawPoint.js";import{TooltipContentDrawPolygon as e}from"./TooltipContentDrawPolygon.js";import{TooltipContentDrawPolyline as r}from"./TooltipContentDrawPolyline.js";import{TooltipContentDrawRectangle as i}from"./TooltipContentDrawRectangle.js";import{TooltipContentDynamic as a}from"./TooltipContentDynamic.js";import{TooltipContentElevation as l}from"./TooltipContentElevation.js";import{TooltipContentExtentRotate as p}from"./TooltipContentExtentRotate.js";import{TooltipContentExtentScale as s}from"./TooltipContentExtentScale.js";import{TooltipContentMovePoint as c}from"./TooltipContentMovePoint.js";import{TooltipContentReshapeEdgeOffset as m}from"./TooltipContentReshapeEdgeOffset.js";import{TooltipContentSelectedVertex as f}from"./TooltipContentSelectedVertex.js";import{TooltipContentTransformMesh as w}from"./TooltipContentTransformMesh.js";import{TooltipContentTransformPoint as u}from"./TooltipContentTransformPoint.js";import{TooltipContentTranslate as T}from"./TooltipContentTranslate.js";import{TooltipContentTranslateVertex as C}from"./TooltipContentTranslateVertex.js";import{TooltipContentTranslateXY as j}from"./TooltipContentTranslateXY.js";import{TooltipContentTranslateZ as d}from"./TooltipContentTranslateZ.js";function x(x,y){if(null==y)return null;const h=document.createElement("div");switch(y.type){case"dynamic":return new a({tooltip:x,info:y,container:h});case"draw-point":case"draw-multipoint":return new n({tooltip:x,info:y,container:h});case"draw-polygon":return new e({tooltip:x,info:y,container:h});case"draw-polyline":return new r({tooltip:x,info:y,container:h});case"draw-mesh":return new o({tooltip:x,info:y,container:h});case"draw-rectangle":return new i({tooltip:x,info:y,container:h});case"draw-circle":return new t({tooltip:x,info:y,container:h});case"elevation":return new l({tooltip:x,info:y,container:h});case"extent-rotate":return new p({tooltip:x,info:y,container:h});case"extent-scale":return new s({tooltip:x,info:y,container:h});case"move-point":return new c({tooltip:x,info:y,container:h});case"selected-vertex":return new f({tooltip:x,info:y,container:h});case"transform-point":return new u({tooltip:x,info:y,container:h});case"transform-mesh":return new w({tooltip:x,info:y,container:h});case"translate":return new T({tooltip:x,info:y,container:h});case"translate-vertex":return new C({tooltip:x,info:y,container:h});case"translate-z":return new d({tooltip:x,info:y,container:h});case"translate-xy":return new j({tooltip:x,info:y,container:h});case"reshape-edge-offset":return new m({tooltip:x,info:y,container:h})}}export{x as tooltipContentFactory};
