@e-llm-studio/instant-learning 1.3.0-alpha.284 → 1.3.0-alpha.286

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),t=require("react"),o=require("./RuleContent/RuleContent.js"),s=require("./StationsContent/StationsContent.js"),i=require("./RBAC/AccessManagementPanel.js");require("appsec-ui"),require("../../api/transport.js"),require("./store/useAuthStore.js"),require("./store/usePermissionsStore.js");var a=require("./store/useLearningTemplateStore.js"),r=require("./store/useEnvStore.js");require("../IL-marketplace/marketplaceTheme.js");var c=require("./styles/LearningTemplateLayout.module.css.js"),u=require("./utils/treeUtils.js"),l=require("./SidebarWrapper.js"),d=require("./components/StationOnboarding/StationOnboardModal.js"),p=require("./AuditLog/AuditLog.js"),S=require("./components/EmptyLearningState.js"),g=require("./store/useLMSConfigStore.js"),f=require("./constants.js"),m=require("../IL-marketplace/components/GuidelineLibraryContent.js"),T=require("./HumanChanges/HumanChange.js");function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var A=_(t);exports.default=function(_){var v,q,C=_.onOpenCreateModal,h=_.onRefreshRuleSets,j=_.scopeTreeData,R=_.onAddChild,L=_.onRenameChild,M=_.onDeleteChild,x=_.canDeleteScope,D=_.canEditScope,I=_.canCreateScope,E=_.onSectionSelect,y=_.onViewStation,P=_.activeSectionId,b=void 0===P?"learnings":P,k=_.sectionsConfig,O=_.nodeTypesConfig,w=_.app_integration_id,H=_.token,N=_.modeId,B=_.onRequestAccess,Y=_.isRequestingAccess,U=_.isAccessRequested,G=_.selectionMode,V=void 0!==G&&G,W=_.isILMarketplace,z=_.children,F=_.guidelineContentProps,J=_.humanChanges,K=_.menuActionsConfig,Q=a.useLearningTemplateStore(function(e){return e.isStationModalOpen}),X=a.useLearningTemplateStore(function(e){return e.setStationModalOpen}),Z=a.useLearningTemplateStore(function(e){return e.isStationOnboardModalTriggered}),$=a.useLearningTemplateStore(function(e){return e.setIsStationOnboardModalTriggered}),ee=a.useLearningTemplateStore(function(e){return e.selectedRuleSetId}),ne=a.useLearningTemplateStore(function(e){return e.rawAuditRuleData}),te=r.default(function(e){return e.auditLogConfig});a.useLearningTemplateStore(function(e){return e.ruleData});var oe=ee?u.findNodeById((null==j?void 0:j.data)||null,ee):null;Boolean((null===(v=null==j?void 0:j.data)||void 0===v?void 0:v.id)&&ee===j.data.id);var se=A.default.useMemo(function(){return J?(console.log(ee,"selectedRuleSetId"),ee?e.__assign(e.__assign({},J),{query:e.__assign(e.__assign({},J.query),{scopeId:[ee]})}):void 0):J},[J,ee]);return t.useEffect(function(){Z&&X(!0)},[Z,X,$]),n.jsxs("div",e.__assign({className:"".concat(c.default.container," ").concat(V?c.default.containerSelectionMode:"")},{children:[n.jsx(l.default,{onOpenCreateModal:C,onRefreshRuleSets:h,scopeTreeData:j,onAddChild:R,onRenameChild:L,onDeleteChild:M,canDeleteScope:x,canEditScope:D,canCreateScope:I,onSectionSelect:E,activeSectionId:b,sectionsConfig:k,nodeTypesConfig:O,menuActionsConfig:K}),n.jsx("div",e.__assign({id:"rule-template-layout-content",className:"".concat(c.default.content," relative flex-1 overflow-hidden")},{children:"stations"===b?n.jsx(s.default,{scopeId:ee||"",scopeName:(null==oe?void 0:oe.name)||"Unknown Scope",stationsCount:null===(q=null==oe?void 0:oe.metrics)||void 0===q?void 0:q.stationsCount,stations:u.mapScopeChildrenToStations(oe),onViewStation:y}):"access"===b?n.jsx(i.default,{selectedRuleSetId:ee,scopeName:(null==oe?void 0:oe.name)||"Unknown Scope"}):"history"===b?(null==te?void 0:te.configId)?n.jsx(p.default,{configId:te.configId,scopeId:ee||void 0,scopeName:(null==oe?void 0:oe.name)||"Unknown Scope",ruleData:ne}):null:"human-changes"===b?se?n.jsx(T.HumanChange,{humanChanges:se}):n.jsx("div",e.__assign({className:"flex items-center justify-center h-full"},{children:n.jsx("p",e.__assign({className:"text-gray-500"},{children:"No human changes configuration provided."}))})):oe&&!1===oe.hasAccess?n.jsx(S.default,{onCreate:function(){},title:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".noAccessTitle"),"Access Restricted"),desc:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".noAccessDesc"),"You do not have access to view this ".concat(null==oe?void 0:oe.name," learnings.")),button:"",canCreateRule:!1,noAccessTitle:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".noAccessTitle"),"Access Restricted"),noAccessDesc:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".noAccessDesc"),"You do not have access to view this ".concat(null==oe?void 0:oe.name," learnings.")),requestAccessButton:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".requestAccessButton"),"Request Access"),requestSentButton:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".requestSentButton"),"Request Sent"),onRequestAccess:function(){return null==B?void 0:B(ee)},isRequestingAccess:Y,isAccessRequested:U}):z||(W?F?n.jsx(m.GuidelineLibraryContent,e.__assign({},F)):null:n.jsx(o.default,{onRefreshRuleSets:h,app_integration_id:w,token:H,modeId:N}))})),n.jsx(d.default,{isOpen:Q,onClose:function(){X(!1),$(!1)},onBoardStation:function(e){h(!0,e)},app_integration_id:w,token:H})]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),t=require("react"),o=require("./RuleContent/RuleContent.js"),s=require("./StationsContent/StationsContent.js"),i=require("./RBAC/AccessManagementPanel.js");require("appsec-ui"),require("../../api/transport.js"),require("./store/useAuthStore.js"),require("./store/usePermissionsStore.js");var a=require("./store/useLearningTemplateStore.js"),r=require("./store/useEnvStore.js");require("../IL-marketplace/marketplaceTheme.js");var c=require("./styles/LearningTemplateLayout.module.css.js"),u=require("./utils/treeUtils.js"),l=require("./SidebarWrapper.js"),d=require("./components/StationOnboarding/StationOnboardModal.js"),p=require("./AuditLog/AuditLog.js"),S=require("./components/EmptyLearningState.js"),g=require("./store/useLMSConfigStore.js"),f=require("./constants.js"),m=require("../IL-marketplace/components/GuidelineLibraryContent.js"),T=require("./HumanChanges/HumanChange.js");function _(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var A=_(t);exports.default=function(_){var v,q,C=_.onOpenCreateModal,h=_.onRefreshRuleSets,j=_.scopeTreeData,R=_.onAddChild,L=_.onRenameChild,M=_.onDeleteChild,x=_.canDeleteScope,D=_.canEditScope,I=_.canCreateScope,E=_.onSectionSelect,y=_.onViewStation,P=_.activeSectionId,b=void 0===P?"learnings":P,k=_.sectionsConfig,O=_.nodeTypesConfig,w=_.app_integration_id,H=_.token,N=_.modeId,B=_.onRequestAccess,Y=_.isRequestingAccess,U=_.isAccessRequested,G=_.selectionMode,V=void 0!==G&&G,W=_.isILMarketplace,z=_.children,F=_.guidelineContentProps,J=_.humanChanges,K=_.menuActionsConfig,Q=a.useLearningTemplateStore(function(e){return e.isStationModalOpen}),X=a.useLearningTemplateStore(function(e){return e.setStationModalOpen}),Z=a.useLearningTemplateStore(function(e){return e.isStationOnboardModalTriggered}),$=a.useLearningTemplateStore(function(e){return e.setIsStationOnboardModalTriggered}),ee=a.useLearningTemplateStore(function(e){return e.selectedRuleSetId}),ne=a.useLearningTemplateStore(function(e){return e.rawAuditRuleData}),te=r.default(function(e){return e.auditLogConfig});a.useLearningTemplateStore(function(e){return e.ruleData});var oe=ee?u.findNodeById((null==j?void 0:j.data)||null,ee):null;Boolean((null===(v=null==j?void 0:j.data)||void 0===v?void 0:v.id)&&ee===j.data.id);var se=A.default.useMemo(function(){return J?(console.log(ee,"selectedRuleSetId"),ee?e.__assign(e.__assign({},J),{query:e.__assign(e.__assign({},J.query),{scopeId:[]})}):void 0):J},[J,ee]);return t.useEffect(function(){Z&&X(!0)},[Z,X,$]),n.jsxs("div",e.__assign({className:"".concat(c.default.container," ").concat(V?c.default.containerSelectionMode:"")},{children:[n.jsx(l.default,{onOpenCreateModal:C,onRefreshRuleSets:h,scopeTreeData:j,onAddChild:R,onRenameChild:L,onDeleteChild:M,canDeleteScope:x,canEditScope:D,canCreateScope:I,onSectionSelect:E,activeSectionId:b,sectionsConfig:k,nodeTypesConfig:O,menuActionsConfig:K}),n.jsx("div",e.__assign({id:"rule-template-layout-content",className:"".concat(c.default.content," relative flex-1 overflow-hidden")},{children:"stations"===b?n.jsx(s.default,{scopeId:ee||"",scopeName:(null==oe?void 0:oe.name)||"Unknown Scope",stationsCount:null===(q=null==oe?void 0:oe.metrics)||void 0===q?void 0:q.stationsCount,stations:u.mapScopeChildrenToStations(oe),onViewStation:y}):"access"===b?n.jsx(i.default,{selectedRuleSetId:ee,scopeName:(null==oe?void 0:oe.name)||"Unknown Scope"}):"history"===b?(null==te?void 0:te.configId)?n.jsx(p.default,{configId:te.configId,scopeId:ee||void 0,scopeName:(null==oe?void 0:oe.name)||"Unknown Scope",ruleData:ne}):null:"human-changes"===b?se?n.jsx(T.HumanChange,{humanChanges:se}):n.jsx("div",e.__assign({className:"flex items-center justify-center h-full"},{children:n.jsx("p",e.__assign({className:"text-gray-500"},{children:"No human changes configuration provided."}))})):oe&&!1===oe.hasAccess?n.jsx(S.default,{onCreate:function(){},title:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".noAccessTitle"),"Access Restricted"),desc:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".noAccessDesc"),"You do not have access to view this ".concat(null==oe?void 0:oe.name," learnings.")),button:"",canCreateRule:!1,noAccessTitle:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".noAccessTitle"),"Access Restricted"),noAccessDesc:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".noAccessDesc"),"You do not have access to view this ".concat(null==oe?void 0:oe.name," learnings.")),requestAccessButton:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".requestAccessButton"),"Request Access"),requestSentButton:g.dt("".concat(f.EMPTY_STATE_DT_PATH,".requestSentButton"),"Request Sent"),onRequestAccess:function(){return null==B?void 0:B(ee)},isRequestingAccess:Y,isAccessRequested:U}):z||(W?F?n.jsx(m.GuidelineLibraryContent,e.__assign({},F)):null:n.jsx(o.default,{onRefreshRuleSets:h,app_integration_id:w,token:H,modeId:N}))})),n.jsx(d.default,{isOpen:Q,onClose:function(){X(!1),$(!1)},onBoardStation:function(e){h(!0,e)},app_integration_id:w,token:H})]}))};
2
2
  //# sourceMappingURL=LearningTemplateLayout.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../../node_modules/style-inject/dist/style-inject.es.js").default(".LearningTemplateLayout-module_container__hw2zV{background-color:var(--il-bg,var(--lsc-guidelines-bg,#fff));color:var(--il-foreground,inherit);display:flex;height:100%;width:100%}.LearningTemplateLayout-module_containerSelectionMode__uifA-{align-items:stretch;min-height:0;overflow-y:auto}.LearningTemplateLayout-module_containerSelectionMode__uifA- [class*=Sidebar-module_sidebar]{align-self:stretch;height:auto;min-height:100%}.LearningTemplateLayout-module_content__R-4rk{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;overflow:hidden}.LearningTemplateLayout-module_emptyStateWrapper__q7NI6{align-items:center;display:flex;height:100%;justify-content:center;width:100%}"),exports.default={container:"LearningTemplateLayout-module_container__hw2zV",containerSelectionMode:"LearningTemplateLayout-module_containerSelectionMode__uifA-",content:"LearningTemplateLayout-module_content__R-4rk",emptyStateWrapper:"LearningTemplateLayout-module_emptyStateWrapper__q7NI6"};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});require("../../../node_modules/style-inject/dist/style-inject.es.js").default(".LearningTemplateLayout-module_container__hw2zV{background-color:var(--il-bg,var(--lsc-guidelines-bg,#fff));color:var(--il-foreground,inherit);display:flex;height:100%;width:100%}.LearningTemplateLayout-module_containerSelectionMode__uifA-{align-items:stretch;min-height:0;overflow-y:auto}.LearningTemplateLayout-module_containerSelectionMode__uifA- [class*=Sidebar-module_sidebar]{align-self:stretch;height:auto;min-height:100%}.LearningTemplateLayout-module_content__R-4rk{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;overflow:scroll}.LearningTemplateLayout-module_emptyStateWrapper__q7NI6{align-items:center;display:flex;height:100%;justify-content:center;width:100%}"),exports.default={container:"LearningTemplateLayout-module_container__hw2zV",containerSelectionMode:"LearningTemplateLayout-module_containerSelectionMode__uifA-",content:"LearningTemplateLayout-module_content__R-4rk",emptyStateWrapper:"LearningTemplateLayout-module_emptyStateWrapper__q7NI6"};
2
2
  //# sourceMappingURL=LearningTemplateLayout.module.css.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsxs as n,jsx as t}from"react/jsx-runtime";import o,{useEffect as s}from"react";import i from"./RuleContent/RuleContent.js";import c from"./StationsContent/StationsContent.js";import a from"./RBAC/AccessManagementPanel.js";import"appsec-ui";import"../../api/transport.js";import"./store/useAuthStore.js";import"./store/usePermissionsStore.js";import{useLearningTemplateStore as r}from"./store/useLearningTemplateStore.js";import l from"./store/useEnvStore.js";import"../IL-marketplace/marketplaceTheme.js";import u from"./styles/LearningTemplateLayout.module.css.js";import{findNodeById as d,mapScopeChildrenToStations as m}from"./utils/treeUtils.js";import p from"./SidebarWrapper.js";import f from"./components/StationOnboarding/StationOnboardModal.js";import S from"./AuditLog/AuditLog.js";import g from"./components/EmptyLearningState.js";import{dt as v}from"./store/useLMSConfigStore.js";import{EMPTY_STATE_DT_PATH as h}from"./constants.js";import{GuidelineLibraryContent as C}from"../IL-marketplace/components/GuidelineLibraryContent.js";import{HumanChange as A}from"./HumanChanges/HumanChange.js";var R=function(R){var j,I,q=R.onOpenCreateModal,M=R.onRefreshRuleSets,y=R.scopeTreeData,D=R.onAddChild,L=R.onRenameChild,T=R.onDeleteChild,k=R.canDeleteScope,w=R.canEditScope,O=R.canCreateScope,b=R.onSectionSelect,N=R.onViewStation,B=R.activeSectionId,_=void 0===B?"learnings":B,x=R.sectionsConfig,E=R.nodeTypesConfig,U=R.app_integration_id,P=R.token,H=R.modeId,V=R.onRequestAccess,Y=R.isRequestingAccess,G=R.isAccessRequested,W=R.selectionMode,z=void 0!==W&&W,F=R.isILMarketplace,J=R.children,K=R.guidelineContentProps,Q=R.humanChanges,X=R.menuActionsConfig,Z=r(function(e){return e.isStationModalOpen}),$=r(function(e){return e.setStationModalOpen}),ee=r(function(e){return e.isStationOnboardModalTriggered}),ne=r(function(e){return e.setIsStationOnboardModalTriggered}),te=r(function(e){return e.selectedRuleSetId}),oe=r(function(e){return e.rawAuditRuleData}),se=l(function(e){return e.auditLogConfig});r(function(e){return e.ruleData});var ie=te?d((null==y?void 0:y.data)||null,te):null;Boolean((null===(j=null==y?void 0:y.data)||void 0===j?void 0:j.id)&&te===y.data.id);var ce=o.useMemo(function(){return Q?(console.log(te,"selectedRuleSetId"),te?e(e({},Q),{query:e(e({},Q.query),{scopeId:[te]})}):void 0):Q},[Q,te]);return s(function(){ee&&$(!0)},[ee,$,ne]),n("div",e({className:"".concat(u.container," ").concat(z?u.containerSelectionMode:"")},{children:[t(p,{onOpenCreateModal:q,onRefreshRuleSets:M,scopeTreeData:y,onAddChild:D,onRenameChild:L,onDeleteChild:T,canDeleteScope:k,canEditScope:w,canCreateScope:O,onSectionSelect:b,activeSectionId:_,sectionsConfig:x,nodeTypesConfig:E,menuActionsConfig:X}),t("div",e({id:"rule-template-layout-content",className:"".concat(u.content," relative flex-1 overflow-hidden")},{children:"stations"===_?t(c,{scopeId:te||"",scopeName:(null==ie?void 0:ie.name)||"Unknown Scope",stationsCount:null===(I=null==ie?void 0:ie.metrics)||void 0===I?void 0:I.stationsCount,stations:m(ie),onViewStation:N}):"access"===_?t(a,{selectedRuleSetId:te,scopeName:(null==ie?void 0:ie.name)||"Unknown Scope"}):"history"===_?(null==se?void 0:se.configId)?t(S,{configId:se.configId,scopeId:te||void 0,scopeName:(null==ie?void 0:ie.name)||"Unknown Scope",ruleData:oe}):null:"human-changes"===_?ce?t(A,{humanChanges:ce}):t("div",e({className:"flex items-center justify-center h-full"},{children:t("p",e({className:"text-gray-500"},{children:"No human changes configuration provided."}))})):ie&&!1===ie.hasAccess?t(g,{onCreate:function(){},title:v("".concat(h,".noAccessTitle"),"Access Restricted"),desc:v("".concat(h,".noAccessDesc"),"You do not have access to view this ".concat(null==ie?void 0:ie.name," learnings.")),button:"",canCreateRule:!1,noAccessTitle:v("".concat(h,".noAccessTitle"),"Access Restricted"),noAccessDesc:v("".concat(h,".noAccessDesc"),"You do not have access to view this ".concat(null==ie?void 0:ie.name," learnings.")),requestAccessButton:v("".concat(h,".requestAccessButton"),"Request Access"),requestSentButton:v("".concat(h,".requestSentButton"),"Request Sent"),onRequestAccess:function(){return null==V?void 0:V(te)},isRequestingAccess:Y,isAccessRequested:G}):J||(F?K?t(C,e({},K)):null:t(i,{onRefreshRuleSets:M,app_integration_id:U,token:P,modeId:H}))})),t(f,{isOpen:Z,onClose:function(){$(!1),ne(!1)},onBoardStation:function(e){M(!0,e)},app_integration_id:U,token:P})]}))};export{R as default};
1
+ import{__assign as e}from"tslib";import{jsxs as n,jsx as t}from"react/jsx-runtime";import o,{useEffect as s}from"react";import i from"./RuleContent/RuleContent.js";import c from"./StationsContent/StationsContent.js";import a from"./RBAC/AccessManagementPanel.js";import"appsec-ui";import"../../api/transport.js";import"./store/useAuthStore.js";import"./store/usePermissionsStore.js";import{useLearningTemplateStore as r}from"./store/useLearningTemplateStore.js";import l from"./store/useEnvStore.js";import"../IL-marketplace/marketplaceTheme.js";import u from"./styles/LearningTemplateLayout.module.css.js";import{findNodeById as d,mapScopeChildrenToStations as m}from"./utils/treeUtils.js";import p from"./SidebarWrapper.js";import f from"./components/StationOnboarding/StationOnboardModal.js";import S from"./AuditLog/AuditLog.js";import g from"./components/EmptyLearningState.js";import{dt as v}from"./store/useLMSConfigStore.js";import{EMPTY_STATE_DT_PATH as h}from"./constants.js";import{GuidelineLibraryContent as C}from"../IL-marketplace/components/GuidelineLibraryContent.js";import{HumanChange as A}from"./HumanChanges/HumanChange.js";var R=function(R){var j,I,q=R.onOpenCreateModal,M=R.onRefreshRuleSets,y=R.scopeTreeData,D=R.onAddChild,L=R.onRenameChild,T=R.onDeleteChild,k=R.canDeleteScope,w=R.canEditScope,O=R.canCreateScope,b=R.onSectionSelect,N=R.onViewStation,B=R.activeSectionId,_=void 0===B?"learnings":B,x=R.sectionsConfig,E=R.nodeTypesConfig,U=R.app_integration_id,P=R.token,H=R.modeId,V=R.onRequestAccess,Y=R.isRequestingAccess,G=R.isAccessRequested,W=R.selectionMode,z=void 0!==W&&W,F=R.isILMarketplace,J=R.children,K=R.guidelineContentProps,Q=R.humanChanges,X=R.menuActionsConfig,Z=r(function(e){return e.isStationModalOpen}),$=r(function(e){return e.setStationModalOpen}),ee=r(function(e){return e.isStationOnboardModalTriggered}),ne=r(function(e){return e.setIsStationOnboardModalTriggered}),te=r(function(e){return e.selectedRuleSetId}),oe=r(function(e){return e.rawAuditRuleData}),se=l(function(e){return e.auditLogConfig});r(function(e){return e.ruleData});var ie=te?d((null==y?void 0:y.data)||null,te):null;Boolean((null===(j=null==y?void 0:y.data)||void 0===j?void 0:j.id)&&te===y.data.id);var ce=o.useMemo(function(){return Q?(console.log(te,"selectedRuleSetId"),te?e(e({},Q),{query:e(e({},Q.query),{scopeId:[]})}):void 0):Q},[Q,te]);return s(function(){ee&&$(!0)},[ee,$,ne]),n("div",e({className:"".concat(u.container," ").concat(z?u.containerSelectionMode:"")},{children:[t(p,{onOpenCreateModal:q,onRefreshRuleSets:M,scopeTreeData:y,onAddChild:D,onRenameChild:L,onDeleteChild:T,canDeleteScope:k,canEditScope:w,canCreateScope:O,onSectionSelect:b,activeSectionId:_,sectionsConfig:x,nodeTypesConfig:E,menuActionsConfig:X}),t("div",e({id:"rule-template-layout-content",className:"".concat(u.content," relative flex-1 overflow-hidden")},{children:"stations"===_?t(c,{scopeId:te||"",scopeName:(null==ie?void 0:ie.name)||"Unknown Scope",stationsCount:null===(I=null==ie?void 0:ie.metrics)||void 0===I?void 0:I.stationsCount,stations:m(ie),onViewStation:N}):"access"===_?t(a,{selectedRuleSetId:te,scopeName:(null==ie?void 0:ie.name)||"Unknown Scope"}):"history"===_?(null==se?void 0:se.configId)?t(S,{configId:se.configId,scopeId:te||void 0,scopeName:(null==ie?void 0:ie.name)||"Unknown Scope",ruleData:oe}):null:"human-changes"===_?ce?t(A,{humanChanges:ce}):t("div",e({className:"flex items-center justify-center h-full"},{children:t("p",e({className:"text-gray-500"},{children:"No human changes configuration provided."}))})):ie&&!1===ie.hasAccess?t(g,{onCreate:function(){},title:v("".concat(h,".noAccessTitle"),"Access Restricted"),desc:v("".concat(h,".noAccessDesc"),"You do not have access to view this ".concat(null==ie?void 0:ie.name," learnings.")),button:"",canCreateRule:!1,noAccessTitle:v("".concat(h,".noAccessTitle"),"Access Restricted"),noAccessDesc:v("".concat(h,".noAccessDesc"),"You do not have access to view this ".concat(null==ie?void 0:ie.name," learnings.")),requestAccessButton:v("".concat(h,".requestAccessButton"),"Request Access"),requestSentButton:v("".concat(h,".requestSentButton"),"Request Sent"),onRequestAccess:function(){return null==V?void 0:V(te)},isRequestingAccess:Y,isAccessRequested:G}):J||(F?K?t(C,e({},K)):null:t(i,{onRefreshRuleSets:M,app_integration_id:U,token:P,modeId:H}))})),t(f,{isOpen:Z,onClose:function(){$(!1),ne(!1)},onBoardStation:function(e){M(!0,e)},app_integration_id:U,token:P})]}))};export{R as default};
2
2
  //# sourceMappingURL=LearningTemplateLayout.js.map
@@ -1,2 +1,2 @@
1
- import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var t={container:"LearningTemplateLayout-module_container__hw2zV",containerSelectionMode:"LearningTemplateLayout-module_containerSelectionMode__uifA-",content:"LearningTemplateLayout-module_content__R-4rk",emptyStateWrapper:"LearningTemplateLayout-module_emptyStateWrapper__q7NI6"};e(".LearningTemplateLayout-module_container__hw2zV{background-color:var(--il-bg,var(--lsc-guidelines-bg,#fff));color:var(--il-foreground,inherit);display:flex;height:100%;width:100%}.LearningTemplateLayout-module_containerSelectionMode__uifA-{align-items:stretch;min-height:0;overflow-y:auto}.LearningTemplateLayout-module_containerSelectionMode__uifA- [class*=Sidebar-module_sidebar]{align-self:stretch;height:auto;min-height:100%}.LearningTemplateLayout-module_content__R-4rk{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;overflow:hidden}.LearningTemplateLayout-module_emptyStateWrapper__q7NI6{align-items:center;display:flex;height:100%;justify-content:center;width:100%}");export{t as default};
1
+ import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var t={container:"LearningTemplateLayout-module_container__hw2zV",containerSelectionMode:"LearningTemplateLayout-module_containerSelectionMode__uifA-",content:"LearningTemplateLayout-module_content__R-4rk",emptyStateWrapper:"LearningTemplateLayout-module_emptyStateWrapper__q7NI6"};e(".LearningTemplateLayout-module_container__hw2zV{background-color:var(--il-bg,var(--lsc-guidelines-bg,#fff));color:var(--il-foreground,inherit);display:flex;height:100%;width:100%}.LearningTemplateLayout-module_containerSelectionMode__uifA-{align-items:stretch;min-height:0;overflow-y:auto}.LearningTemplateLayout-module_containerSelectionMode__uifA- [class*=Sidebar-module_sidebar]{align-self:stretch;height:auto;min-height:100%}.LearningTemplateLayout-module_content__R-4rk{display:flex;flex:1;flex-direction:column;min-height:0;min-width:0;overflow:scroll}.LearningTemplateLayout-module_emptyStateWrapper__q7NI6{align-items:center;display:flex;height:100%;justify-content:center;width:100%}");export{t as default};
2
2
  //# sourceMappingURL=LearningTemplateLayout.module.css.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/instant-learning",
3
- "version": "1.3.0-alpha.284",
3
+ "version": "1.3.0-alpha.286",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -157,7 +157,7 @@
157
157
  "@e-llm-studio/audit-log": "^2.0.12",
158
158
  "@e-llm-studio/citation": "^0.0.216",
159
159
  "@e-llm-studio/creative-workspace-ui-component": "0.0.48",
160
- "@e-llm-studio/federated-dashboard-components": "^2.1.5-test-humanintel",
160
+ "@e-llm-studio/federated-dashboard-components": "^2.1.7-test-humanintel",
161
161
  "@e-llm-studio/watch-me-work": "^0.0.25",
162
162
  "@radix-ui/react-tooltip": "^1.2.8",
163
163
  "@react-pdf-viewer/core": "^3.12.0",