UNPKG

equinox-web-components

Version:

Equinox design for the web using StencilJS

1 lines 972 B
System.register(["./p-33ebdb75.system.js","./p-078ef434.system.js"],(function(e){"use strict";var i,t,s,r;return{setters:[function(e){i=e.r;t=e.h;s=e.H},function(e){r=e.d}],execute:function(){var n=":host{display:block}";var l=e("e_fieldtree",function(){function e(e){var s=this;i(this,e);this.fields='[{title: "asd", icon: "ph-smiley", children: [{ title: "child", icon: "ph-check" }]}]';this.deserializedFields=[];this.parseFields=function(e){return e.map((function(e){return t("div",null,t("e-icon",{icon:e.icon}),e.title,e.children&&s.parseFields(e.children))}))}}e.prototype.componentWillLoad=function(){this.deserializedFields=r(this.fields)};e.prototype.parseTabsProp=function(e){if(e)this.deserializedFields=r(this.fields)};e.prototype.render=function(){return t(s,null,this.parseFields(this.deserializedFields))};Object.defineProperty(e,"watchers",{get:function(){return{fields:["parseTabsProp"]}},enumerable:false,configurable:true});return e}());l.style=n}}}));