/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as t}from"tslib";import{property as e,subclass as i}from"../../../../core/accessorSupport/decorators.js";import{base as o}from"../css.js";import s from"../../../../widgets/Widget.js";import{tsx as r}from"../../../../widgets/support/widget.js";const d=`${o}-field`,p={base:d,inputMode:`${d}--input`,title:`${d}__title`,value:`${d}__value`};let l=class extends s{constructor(){super(...arguments),this.hidden=!1,this.mode="feedback"}render(){return r("div",{class:this.classes({[p.base]:!0,[p.inputMode]:"input"===this.mode})},r("div",{class:p.title,key:"title"},this.title),r("div",{class:p.value,key:"value"},this.value))}};t([e()],l.prototype,"hidden",void 0),t([e()],l.prototype,"mode",void 0),t([e()],l.prototype,"title",void 0),t([e()],l.prototype,"value",void 0),l=t([i("esri.views.interactive.tooltip.components.TooltipField")],l);export{l as TooltipField};
