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