/*! Built with http://stenciljs.com */
const{h:e}=window.webcomponents;import{a as t}from"./chunk-11e5b7ed.js";import{J as s}from"./chunk-d3862f1e.js";import{a}from"./chunk-4bbd7b7f.js";import"./chunk-d01c0689.js";class n{constructor(){this.app=t.instance}iframeLoaded(e){console.log(e.detail)}componentWillLoad(){this.data={title:"js-base"},a.fetchJson("assets/documentation.json").then(e=>{this.docData=e})}componentDidLoad(){this.postRender()}componentDidUpdate(){this.postRender()}svgElementClickHandler(e){e.detail.id,e.detail.el}postRender(){this.docData&&s.fadeIn(this.el.querySelector(".jumbotron"),350,2e3)}render(){return e("div",{class:"text-center"},e("ema-svg",{src:"../assets/images/splash.svg","data-json":JSON.stringify(this.data),class:"img-responsive"}),this.docData&&e("div",{class:"jumbotron pt-3 pb-3 hidden"},e("h5",null,"webcomponents"),e("ul",{class:"list-inline"},this.app.components.map(t=>e("li",{class:"list-inline-item"},e("stencil-route-link",{url:"/components/"+t.tag},"<"+t.tag+">")))),e("h5",null,"modules"),e("ul",{class:"list-inline"},this.docData.children.map(t=>{if(t.flags.isExported)return e("li",{class:"list-inline-item"},e("stencil-route-link",{url:"/documentation"},t.name))}))))}static get is(){return"ema-app-home"}static get properties(){return{data:{state:!0},docData:{state:!0},el:{elementRef:!0}}}static get listeners(){return[{name:"iframeLoaded",method:"iframeLoaded"},{name:"svgElementClick",method:"svgElementClickHandler"}]}static get style(){return"ema-app-home .jumbotron{color:#868e96;border-top:1px solid #c5c9cd;border-bottom:1px solid #c5c9cd;padding-left:45px;padding-right:45px}ema-app-home .jumbotron li{font-size:.86rem;padding:3.75px 5px}"}}export{n as EmaAppHome};