import{jsxs as e,Fragment as t,jsx as o}from"react/jsx-runtime";import{useRef as n}from"react";import{Toast as r}from"primereact/toast";import{useLearningTemplateStore as i}from"./store/useLearningTemplateStore.js";import c from"./Sidebar.js";var a=function(a){a.onOpenCreateModal,a.onRefreshRuleSets;var d=a.scopeTreeData,l=a.onAddChild,p=a.onRenameChild,s=a.onDeleteChild,S=a.canDeleteScope,f=a.canEditScope,m=a.canCreateScope,u=a.onSectionSelect,C=a.sectionsConfig,h=a.nodeTypesConfig,D=a.activeSectionId,R=n(null),g=i(function(e){return e.selectedRuleSetId}),T=i(function(e){return e.setStationModalOpen});return e(t,{children:[o(r,{ref:R}),o(c,{selectedRuleSetId:g,scopeTreeData:d,onAddChild:l,onRenameChild:p,onDeleteChild:s,canDeleteScope:S,canEditScope:f,canCreateScope:m,onSectionSelect:u,activeSectionId:D,onOnboardStation:function(){return T(!0)},sectionsConfig:C,nodeTypesConfig:h})]})};export{a as default};
//# sourceMappingURL=SidebarWrapper.js.map
