(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[1],{vD32:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return u}));var l=n("0Owb"),o=n("nZwT"),i=n("9sxP"),r=n("Exp3"),a=n("cDcd"),c=n.n(a),m=n("9Koi"),s=n("jOlz"),d=()=>{var e=Object(i["useCollection"])(),t=e.name,n=e.title;Object(s["useFieldSchema"])();return c.a.createElement(i["GeneralSchemaDesigner"],{title:n||t},c.a.createElement(i["SchemaSettings"].Remove,{removeParentsIfNoChildren:!0,breakRemoveOn:{"x-component":"Grid"}}))},p=e=>{var t=e.insert,n=Object(m["a"])(),r=n.t;return c.a.createElement(i["SchemaInitializer"].Item,Object(l["a"])({},e,{icon:c.a.createElement(o["TableOutlined"],null),onClick:()=>{t({type:"void","x-component":"CardItem","x-designer":"HelloDesigner",properties:{hello:{type:"void","x-component":"div","x-content":"Hello World"}}})},title:r("Hello block")}))},u=c.a.memo((e=>{var t=Object(a["useContext"])(i["SchemaInitializerContext"]),n=t.BlockInitializers.items[2].children;return n.push({key:"hello",type:"item",title:'{{t("Hello block")}}',component:"HelloBlockInitializer"}),c.a.createElement(i["SettingsCenterProvider"],{settings:{"sample-hello":{title:"Hello",icon:"ApiOutlined",tabs:{tab1:{title:"Hello tab",component:()=>c.a.createElement(r["Card"],{bordered:!1},"Hello Settings")}}}}},c.a.createElement(i["SchemaComponentOptions"],{components:{HelloDesigner:d,HelloBlockInitializer:p}},c.a.createElement(i["SchemaInitializerContext"].Provider,{value:t},e.children)))}))}}]);