/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../../../chunks/_rollupPluginBabelHelpers","../../../chunks/tslib.es6","../../../core/accessorSupport/decorators/property","../../../core/arrayUtils","../../../core/has","../../../core/accessorSupport/ensureType","../../../core/accessorSupport/decorators/subclass","../../Widget","../../support/Heading","../../support/widgetUtils","../../support/jsxFactory"],(function(e,t,r,i,s,o,n,c,p,l,u){"use strict";const a={base:"esri-feature-element-info",title:"esri-feature-element-info__title",description:"esri-feature-element-info__description"};let d=function(t){function r(e,r){var i;return(i=t.call(this,e,r)||this).description=null,i.headingLevel=2,i.title=null,i}e._inheritsLoose(r,t);var i=r.prototype;return i.render=function(){return u.tsx("div",{class:a.base},this.renderTitle(),this.renderDescription())},i.renderTitle=function(){const{title:e}=this;return e?u.tsx(p.Heading,{level:this.headingLevel,class:a.title},e):null},i.renderDescription=function(){const{description:e}=this;return e?u.tsx("div",{key:"description",class:a.description},e):null},r}(c);t.__decorate([r.property()],d.prototype,"description",void 0),t.__decorate([r.property()],d.prototype,"headingLevel",void 0),t.__decorate([r.property()],d.prototype,"title",void 0),d=t.__decorate([n.subclass("esri.widgets.Feature.support.FeatureElementInfo")],d);return d}));
