@e-llm-studio/instant-learning 1.3.0-alpha.167 → 1.3.0-alpha.169
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.
- package/README.md +3 -5
- package/dist/ILMarketplaceWrapper.js +1 -1
- package/dist/ILMarketplaceWrapper.module.css.js +1 -1
- package/dist/cjs/ILMarketplaceWrapper.js +1 -1
- package/dist/cjs/ILMarketplaceWrapper.module.css.js +1 -1
- package/dist/cjs/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js +1 -1
- package/dist/cjs/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineLandingPage.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibrary.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryContent.js +1 -1
- package/dist/cjs/features/IL-marketplace/components/LearningManagementWrapper.js +1 -1
- package/dist/cjs/features/IL-marketplace/services/IL-marketplace.api.js +1 -1
- package/dist/cjs/features/IL-marketplace/services/guideline.runtime.config.js +1 -1
- package/dist/cjs/features/LearningManagement/LearningManagement.js +1 -1
- package/dist/cjs/features/LearningManagement/LearningManagementTest.js +1 -1
- package/dist/cjs/features/LearningManagement/LearningTemplateLayout.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/AddScopeModal.js +1 -1
- package/dist/cjs/features/LearningManagement/RuleContent/RuleContent.js +1 -1
- package/dist/cjs/features/LearningManagement/ScopeSelector.js +2 -0
- package/dist/cjs/features/LearningManagement/ScopeSelector.js.map +1 -0
- package/dist/cjs/features/LearningManagement/apis/apiConfig.js +1 -1
- package/dist/cjs/features/LearningManagement/apis/scopeApis.js +1 -1
- package/dist/cjs/features/LearningManagement/components/InstantLearningModal.js +1 -1
- package/dist/cjs/features/LearningManagement/components/InstantLearningModalDynamic.js +1 -1
- package/dist/cjs/features/LearningManagement/components/ScopeSkeletonLoader.js +1 -1
- package/dist/cjs/features/LearningManagement/components/ScopeTree/TreeSidebar.js +1 -1
- package/dist/cjs/features/LearningManagement/queries/useLMSConfigQuery.js +1 -1
- package/dist/cjs/features/LearningManagement/store/useLMSConfigStore.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/LearningTemplateLayout.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/LearningTemplateManagement.module.css.js +1 -1
- package/dist/cjs/features/LearningManagement/styles/Sidebar.module.css.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js +1 -1
- package/dist/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineLandingPage.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineLibrary.js +1 -1
- package/dist/features/IL-marketplace/components/GuidelineLibraryContent.js +1 -1
- package/dist/features/IL-marketplace/components/LearningManagementWrapper.js +1 -1
- package/dist/features/IL-marketplace/services/IL-marketplace.api.js +1 -1
- package/dist/features/IL-marketplace/services/guideline.runtime.config.js +1 -1
- package/dist/features/LearningManagement/LearningManagement.js +1 -1
- package/dist/features/LearningManagement/LearningManagementTest.js +1 -1
- package/dist/features/LearningManagement/LearningTemplateLayout.js +1 -1
- package/dist/features/LearningManagement/RuleContent/AddScopeModal.js +1 -1
- package/dist/features/LearningManagement/RuleContent/RuleContent.js +1 -1
- package/dist/features/LearningManagement/ScopeSelector.js +2 -0
- package/dist/features/LearningManagement/ScopeSelector.js.map +1 -0
- package/dist/features/LearningManagement/apis/apiConfig.js +1 -1
- package/dist/features/LearningManagement/apis/scopeApis.js +1 -1
- package/dist/features/LearningManagement/components/InstantLearningModal.js +1 -1
- package/dist/features/LearningManagement/components/InstantLearningModalDynamic.js +1 -1
- package/dist/features/LearningManagement/components/ScopeSkeletonLoader.js +1 -1
- package/dist/features/LearningManagement/components/ScopeTree/TreeSidebar.js +1 -1
- package/dist/features/LearningManagement/queries/useLMSConfigQuery.js +1 -1
- package/dist/features/LearningManagement/store/useLMSConfigStore.js +1 -1
- package/dist/features/LearningManagement/styles/LearningTemplateLayout.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/LearningTemplateManagement.module.css.js +1 -1
- package/dist/features/LearningManagement/styles/Sidebar.module.css.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/src/ILMarketplaceMockTest.d.ts.map +1 -1
- package/dist/types/src/ILMarketplaceWrapper.d.ts +1 -13
- package/dist/types/src/ILMarketplaceWrapper.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.d.ts +0 -7
- package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.d.ts +1 -2
- package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibrary.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryContent.d.ts +5 -1
- package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryContent.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/components/LearningManagementWrapper.d.ts +2 -7
- package/dist/types/src/features/IL-marketplace/components/LearningManagementWrapper.d.ts.map +1 -1
- package/dist/types/src/features/IL-marketplace/services/IL-marketplace.api.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/LearningManagement.d.ts +8 -7
- package/dist/types/src/features/LearningManagement/LearningManagement.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/LearningTemplateLayout.d.ts +1 -6
- package/dist/types/src/features/LearningManagement/LearningTemplateLayout.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/RuleContent/AddScopeModal.d.ts +3 -0
- package/dist/types/src/features/LearningManagement/RuleContent/AddScopeModal.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/ScopeSelector.d.ts +45 -0
- package/dist/types/src/features/LearningManagement/ScopeSelector.d.ts.map +1 -0
- package/dist/types/src/features/LearningManagement/apis/apiConfig.d.ts +0 -1
- package/dist/types/src/features/LearningManagement/apis/apiConfig.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/apis/scopeApis.d.ts +1 -9
- package/dist/types/src/features/LearningManagement/apis/scopeApis.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/ScopeSkeletonLoader.d.ts +0 -4
- package/dist/types/src/features/LearningManagement/components/ScopeSkeletonLoader.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/components/ScopeTree/TreeSidebar.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/queries/useLMSConfigQuery.d.ts +1 -6
- package/dist/types/src/features/LearningManagement/queries/useLMSConfigQuery.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/store/useLMSConfigStore.d.ts +0 -3
- package/dist/types/src/features/LearningManagement/store/useLMSConfigStore.d.ts.map +1 -1
- package/dist/types/src/features/LearningManagement/types.d.ts +8 -37
- package/dist/types/src/features/LearningManagement/types.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +3 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as i}from"tslib";import{jsxs as t,Fragment as e,jsx as n}from"react/jsx-runtime";import{Sparkles as r}from"lucide-react";var o=function(t){var e=t.width,r=void 0===e?"100%":e,o=t.height,d=void 0===o?"10px":o,h=t.style;return n("div",{style:i({width:r,height:d,backgroundColor:"#E2E8F0",borderRadius:"4px",backgroundImage:"linear-gradient(90deg, #E2E8F0 0px, #F1F5F9 40px, #E2E8F0 80px)",backgroundSize:"200px 100%",animation:"shimmer 1.5s ease-in-out infinite"},h)})},d=function(){return t("div",i({style:{display:"flex",flexDirection:"column",gap:"12px",padding:"24px",backgroundColor:"#fff",borderRadius:"12px",border:"1px solid #E2E8F0",width:"100%"}},{children:[n(o,{width:"100%",height:"12px"}),n(o,{width:"85%",height:"10px"}),n("div",{style:{height:"8px"}}),n(o,{width:"60%",height:"12px"}),n(o,{width:"90%",height:"10px"}),n(o,{width:"75%",height:"10px"}),n("div",{style:{height:"8px"}}),n(o,{width:"40%",height:"12px"}),n(o,{width:"100%",height:"10px"}),n(o,{width:"80%",height:"10px"}),n("div",{style:{height:"8px"}}),n(o,{width:"55%",height:"12px"}),n(o,{width:"95%",height:"10px"}),n(o,{width:"70%",height:"10px"}),n(o,{width:"45%",height:"12px"}),n(o,{width:"88%",height:"10px"})]}))},h=function(o){
|
|
1
|
+
import{__assign as i}from"tslib";import{jsxs as t,Fragment as e,jsx as n}from"react/jsx-runtime";import{Sparkles as r}from"lucide-react";var o=function(t){var e=t.width,r=void 0===e?"100%":e,o=t.height,d=void 0===o?"10px":o,h=t.style;return n("div",{style:i({width:r,height:d,backgroundColor:"#E2E8F0",borderRadius:"4px",backgroundImage:"linear-gradient(90deg, #E2E8F0 0px, #F1F5F9 40px, #E2E8F0 80px)",backgroundSize:"200px 100%",animation:"shimmer 1.5s ease-in-out infinite"},h)})},d=function(){return t("div",i({style:{display:"flex",flexDirection:"column",gap:"12px",padding:"24px",backgroundColor:"#fff",borderRadius:"12px",border:"1px solid #E2E8F0",width:"100%"}},{children:[n(o,{width:"100%",height:"12px"}),n(o,{width:"85%",height:"10px"}),n("div",{style:{height:"8px"}}),n(o,{width:"60%",height:"12px"}),n(o,{width:"90%",height:"10px"}),n(o,{width:"75%",height:"10px"}),n("div",{style:{height:"8px"}}),n(o,{width:"40%",height:"12px"}),n(o,{width:"100%",height:"10px"}),n(o,{width:"80%",height:"10px"}),n("div",{style:{height:"8px"}}),n(o,{width:"55%",height:"12px"}),n(o,{width:"95%",height:"10px"}),n(o,{width:"70%",height:"10px"}),n(o,{width:"45%",height:"12px"}),n(o,{width:"88%",height:"10px"})]}))},h=function(o){return o.isLoading?t(e,{children:[n("style",{children:"\n @keyframes shimmer {\n 0% {\n background-position: -200px 0;\n }\n 100% {\n background-position: calc(200px + 100%) 0;\n }\n }\n"}),n("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(0, 0, 0, 0.5)",zIndex:99}}),t("div",i({style:{position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",backgroundColor:"#fff",borderRadius:"16px",boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",padding:"48px",maxWidth:"1000px",width:"70%",maxHeight:"90vh",display:"flex",flexDirection:"row",gap:"48px",zIndex:100,animation:"fadeIn 0.3s ease-out"}},{children:[t("div",i({style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center"}},{children:[n("div",i({style:{marginBottom:"16px"}},{children:n(r,{size:32,color:"#7C3AED"})})),n("h2",i({style:{fontSize:"1.5rem",fontWeight:600,color:"#0F172A",margin:"0 0 8px 0"}},{children:"Setting up your scope…"})),n("p",i({style:{fontSize:"0.875rem",color:"#64748B",margin:"0",lineHeight:"1.5"}},{children:"Inheriting Learnings from Global. This will only take a moment."}))]})),n("div",i({style:{flex:1.5,display:"flex",alignItems:"center",justifyContent:"center",minWidth:"350px"}},{children:n(d,{})}))]})),n("style",{children:"\n @keyframes fadeIn {\n from {\n opacity: 0;\n transform: translate(-50%, -48%);\n }\n to {\n opacity: 1;\n transform: translate(-50%, -50%);\n }\n }\n "})]}):null};export{h as default};
|
|
2
2
|
//# sourceMappingURL=ScopeSkeletonLoader.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__spreadArray as e,__assign as n}from"tslib";import{jsx as o}from"react/jsx-runtime";import{useState as t,useEffect as i}from"react";import r from"../../styles/ScopeTree.module.css.js";import{findNodePathById as c}from"../../utils/treeUtils.js";import{TreeNode as d}from"./TreeNode.js";import{dt as a}from"../../store/useLMSConfigStore.js";var l=function(l){var
|
|
1
|
+
import{__spreadArray as e,__assign as n}from"tslib";import{jsx as o}from"react/jsx-runtime";import{useState as t,useEffect as i}from"react";import r from"../../styles/ScopeTree.module.css.js";import{findNodePathById as c}from"../../utils/treeUtils.js";import{TreeNode as d}from"./TreeNode.js";import{dt as a}from"../../store/useLMSConfigStore.js";var l=function(l){var s=l.data,u=l.defaultExpandedIds,f=void 0===u?[]:u,p=l.onSectionSelect,m=l.onNodeOptionsClick,h=l.onAddChild,S=l.onRenameChild,C=l.onDeleteChild,v=l.canDeleteScope,w=l.canEditScope,g=l.canCreateScope,E=l.searchQuery,y=void 0===E?"":E,D=l.onSearchCountChange,I=l.sectionsConfig,L=l.nodeTypesConfig,j=l.selectedRuleSetId,x=l.activeSectionId,N=t(new Set(s?e([s.id],f,!0):f)),T=N[0],R=N[1],k=t(null),A=k[0],O=k[1];i(function(){s&&R(function(e){if(!e.has(s.id)){var n=new Set(e);return n.add(s.id),n}return e})},[null==s?void 0:s.id]),i(function(){if(s&&j&&x){var e=c(s,j);e&&(O({nodePath:e,sectionId:x}),R(function(n){var o=new Set(n);return e.forEach(function(e){return o.add(e)}),o}))}},[s,j,x]),i(function(){if(y&&s){var e=new Set,n=function(o){var t=y.toLowerCase(),i=o.name.toLowerCase().includes(t),r=!1;o.children&&o.children.forEach(function(e){n(e)&&(r=!0)});var c=i||r;return c&&r&&e.add(o.id),c};n(s),R(e)}},[y,s]);var P=function(e,n){if(!n)return 0;var o=0,t=n.toLowerCase();return e.name.toLowerCase().includes(t)&&o++,e.children&&e.children.forEach(function(e){o+=P(e,n)}),o};i(function(){D&&s&&D(P(s,y))},[y,s,D]);return s?o("div",n({className:r.treeContainer},{children:o(d,{node:s,expandedNodeIds:T,activeSelection:A,onToggleExpand:function(e){R(function(n){var o=new Set(n);return o.has(e)?o.delete(e):o.add(e),o})},onSectionSelect:function(e,n){console.log("handleSectionSelect",e,n),O({nodePath:e,sectionId:n}),p&&p(e[e.length-1],n)},onNodeOptionsClick:function(e){m&&m(e)},onAddChild:function(e,n,o){h&&h(e,n,o)},onRenameChild:function(e,n){S&&S(e,n)},onDeleteChild:function(e,n,o){C&&C(e,n,o)},canDeleteScope:v,canEditScope:w,searchQuery:y,sectionsConfig:I,nodeTypesConfig:L,canCreateScope:g,compactView:"true"===a("middleDrawer.scopeDisplayLimit.compactView","false")})})):null};export{l as TreeSidebar};
|
|
2
2
|
//# sourceMappingURL=TreeSidebar.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__awaiter as e,__generator as t}from"tslib";import{useQuery as o}from"@tanstack/react-query";import r from"../store/useAuthStore.js";import n from"../store/useEnvStore.js";import{fetchLMSConfig as i}from"../apis/scopeApis.js";import{useLMSConfigStore as s,useTeachMeConfigStore as u}from"../store/useLMSConfigStore.js";import{useLearningTemplateStore as
|
|
1
|
+
import{__awaiter as e,__generator as t}from"tslib";import{useQuery as o}from"@tanstack/react-query";import r from"../store/useAuthStore.js";import n from"../store/useEnvStore.js";import{fetchLMSConfig as i}from"../apis/scopeApis.js";import{useLMSConfigStore as s,useTeachMeConfigStore as u}from"../store/useLMSConfigStore.js";import{useLearningTemplateStore as a}from"../store/useLearningTemplateStore.js";function f(f,l,m){var c=this;void 0===m&&(m=!0);var p=r(function(e){var t,o;return null!==(o=null===(t=e.user)||void 0===t?void 0:t.accessToken)&&void 0!==o?o:""}),g=n(function(e){var t;return null!==(t=e.llmStudioUrl)&&void 0!==t?t:""}),v=s(function(e){return e.setLMSConfig}),d=u(function(e){return e.setTeachMeConfig}),C=a(function(e){return e.setTemplateData});return o({queryKey:["lms-config",f],queryFn:function(){return e(c,void 0,void 0,function(){var e,o,r,n;return t(this,function(t){switch(t.label){case 0:return[4,i(g,f,p)];case 1:return e=t.sent(),o=e.lmsConfig,r=e.teachMeConfig,n=e.template,console.log("Fetched LMS Config:",{lmsConfig:o,teachMeConfig:r,template:n}),o&&v(o),r&&d(r),n&&C(f,n),[2,{lmsConfig:o,teachMeConfig:r,template:n}]}})})},enabled:m&&!!f&&!!p&&!!g&&!l,staleTime:6e5})}export{f as useLMSConfigQuery};
|
|
2
2
|
//# sourceMappingURL=useLMSConfigQuery.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{create as e}from"zustand";import{useLearningTemplateStore as t}from"./useLearningTemplateStore.js";var n={pageTitle:"",middleDrawer:{scope:"",addScope:"",addSubScope:"",addScopeDialog:{title:"",globalTitle:"",
|
|
1
|
+
import{create as e}from"zustand";import{useLearningTemplateStore as t}from"./useLearningTemplateStore.js";var n={pageTitle:"",middleDrawer:{scope:"",addScope:"",addSubScope:"",addScopeDialog:{title:"",globalTitle:"",subtitle:"",globalSubtitle:"",scopeName:"",learningApprovalSettings:{title:"",approvalRequired:{title:"",subtitle:""},publishWithoutApproval:{title:"",subtitle:""}},submitButton:"",cancel:""},treeMenu:{search:"",submenu:{learnings:"",access:"",changeHistory:""},contextMenu:{addScope:"",rename:"",delete:"",addSubScope:""}},scopeDisplayLimit:{enabled:"",count:"",compactView:"false",applyToLevels:"",viewMoreText:"",title:"",description:"",searchPlaceholder:"",onboardBtn:"",viewText:""}},learnings:{header:{title:"",exportButton:"",addNewLearningButton:""},tier:{showTierHeader:!0,tierHeader:"",subtitle:"",tierHeaderNoOfLearnings:"",deleteDialog:{title:"",description:"",cancel:"",submit:""},learning:{inheritance:"",actions:{disable:"",enable:"",approve:"",reject:"",delete:""},approveDialog:{title:"",desc:"",footer:"",cancel:"",approveLearning:""},rejectDialog:{title:"",desc:"",feedbackTitle:"",feedbackPlaceholder:"",deleteCheckboxLabel:"",cancel:"",rejectLearning:""},deleteDialog:{title:"",desc:"",warningText:"",cancelText:"",deleteText:""}}}},emptyStateLearning:{title:"",desc:"",createNewLearning:"",createGlobalScope:"",noAccessTitle:"",noAccessDesc:"",requestAccessButton:"",requestSentButton:""},agents:{LearningTerm:""},externalWorkflowMetaData:{enableExternalWorkflow:!0,current_mode:"",sub_mode:"",next_mode:"",externalWorkflowModal:{heading:"",options:{saveDraft:{title:"",desc:"",footerDesc:""},configureNow:{title:"",desc:"",footerDesc:""}}}}},a={showScope:!1,showConfiguration:!1,variantFlow:!0,welcomeMessage:"Hi! 👋 I'm your Instant Learning Concierge.",welcomeMessageSubtitle:"How would you like to get started? You can select an option below or describe the rule you'd like to create.",actions:[{label:"Separation rule",value:"I would want to add a separation rule"},{label:"Max priority rule",value:"I would want to set a max priority rule"},{label:"Break code matching",value:"I would want to add a break code matching rule"},{label:"Inventory code matching",value:"I would want to add a inventory window matching rule"},{label:"Enter a rule description",value:"I want to add a rule description"},{label:"Tester Genie",value:"Loading prompt..."}],chatTitle:"Teach Me OTJ - {scope} - Add Learning",chatTitleEdit:"Teach Me OTJ - {scope} - Edit Learning",formTitle:"Rule setup",setupLabel:"Configure your IL",ruleTitle:"Main Rule Name",scopeLabel:"Define Scope",tierLabel:"Select Tiers",ruleDescriptionTitle:"Learning Explanation",whenToApplyTitle:"Trigger Events (When to Apply)",addWhenToApplyBtnLabel:"Add WTA",whenNotToApplyTitle:"Exclusion Events (When NOT to Apply)",addWhenNotToApplyBtnLabel:"Add WNTA",configTitle:"Advanced Settings",saveBtnLabel:"Save Rule",saveBtnLoadingLabel:"Saving Rule...",chatTextareaPlaceholder:"Tell me more about this learning.."},l=e(function(e){return{lmsConfig:n,setLMSConfig:function(t){return e({lmsConfig:t})},clearLMSConfig:function(){return e({lmsConfig:n})}}});function o(e,n,a){if(t.getState().backwardCompatibility)return null!=n?n:"";var o=l.getState().lmsConfig,i=e.split(".").reduce(function(e,t){return null==e?void 0:e[t]},o);return"string"!=typeof i||""===i?null!=n?n:e:i.replace(/\{(\w+)\}/g,function(e,t){var n;return String(null!==(n=null==a?void 0:a[t])&&void 0!==n?n:"{".concat(t,"}"))})}function i(e,t){return e.replace(/\{(\w+)\}/g,function(e,n){var a;return String(null!==(a=null==t?void 0:t[n])&&void 0!==a?a:"{".concat(n,"}"))})}var r=e(function(e){return{teachMeConfig:null,setTeachMeConfig:function(t){return e({teachMeConfig:t})},clearTeachMeConfig:function(){return e({teachMeConfig:null})}}});function c(){var e,t,n=null!==(e=r.getState().teachMeConfig)&&void 0!==e?e:a;return{greeting:n.welcomeMessage||a.welcomeMessage,subtitle:n.welcomeMessageSubtitle||a.welcomeMessageSubtitle,actions:(null===(t=n.actions)||void 0===t?void 0:t.length)?n.actions:a.actions}}function u(e,t,n){var a=r.getState().teachMeConfig,l=e.split(".").reduce(function(e,t){return null==e?void 0:e[t]},a);return"string"!=typeof l?null!=t?t:e:l.replace(/\{(\w+)\}/g,function(e,t){var a;return String(null!==(a=null==n?void 0:n[t])&&void 0!==a?a:"{".concat(t,"}"))})}export{n as defaultLMSConfig,a as defaultTeachMeConfig,o as dt,u as dtt,c as dttWelcomeMessageParts,i as interpolate,l as useLMSConfigStore,r as useTeachMeConfigStore};
|
|
2
2
|
//# sourceMappingURL=useLMSConfigStore.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",content:"LearningTemplateLayout-module_content__R-4rk",emptyStateWrapper:"LearningTemplateLayout-module_emptyStateWrapper__q7NI6"};e(".LearningTemplateLayout-module_container__hw2zV{background-color:#fff;display:flex;height:100%;width:100%}.LearningTemplateLayout-module_content__R-4rk{
|
|
1
|
+
import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var t={container:"LearningTemplateLayout-module_container__hw2zV",content:"LearningTemplateLayout-module_content__R-4rk",emptyStateWrapper:"LearningTemplateLayout-module_emptyStateWrapper__q7NI6"};e(".LearningTemplateLayout-module_container__hw2zV{background-color:#fff;display:flex;height:100%;width:100%}.LearningTemplateLayout-module_content__R-4rk{flex:1;overflow:hidden}.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
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var n={learningManagementContainer:"LearningTemplateManagement-module_learningManagementContainer__Mdx1C",backBtn:"LearningTemplateManagement-module_backBtn__D1rl8",backIcon:"LearningTemplateManagement-module_backIcon__DYNwC",mainWrapper:"LearningTemplateManagement-module_mainWrapper__BLRpx",errorContainer:"LearningTemplateManagement-module_errorContainer__VjiG-",errorTitle:"LearningTemplateManagement-module_errorTitle__p51Gj",errorDesc:"LearningTemplateManagement-module_errorDesc__Oyq1l",tryAgainBtn:"LearningTemplateManagement-module_tryAgainBtn__aBemg",highlight:"LearningTemplateManagement-module_highlight__0O-go"};e(".LearningTemplateManagement-module_learningManagementContainer__Mdx1C{
|
|
1
|
+
import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var n={learningManagementContainer:"LearningTemplateManagement-module_learningManagementContainer__Mdx1C",backBtn:"LearningTemplateManagement-module_backBtn__D1rl8",backIcon:"LearningTemplateManagement-module_backIcon__DYNwC",mainWrapper:"LearningTemplateManagement-module_mainWrapper__BLRpx",errorContainer:"LearningTemplateManagement-module_errorContainer__VjiG-",errorTitle:"LearningTemplateManagement-module_errorTitle__p51Gj",errorDesc:"LearningTemplateManagement-module_errorDesc__Oyq1l",tryAgainBtn:"LearningTemplateManagement-module_tryAgainBtn__aBemg",highlight:"LearningTemplateManagement-module_highlight__0O-go",selectionMode:"LearningTemplateManagement-module_selectionMode__6WQWD"};e(".LearningTemplateManagement-module_learningManagementContainer__Mdx1C{font-family:sans-serif}.LearningTemplateManagement-module_backBtn__D1rl8{align-items:center;background:#0000;border:none;border-radius:.25rem;cursor:pointer;display:inline-flex;justify-content:center;padding:.25rem;transition:background-color .2s}.LearningTemplateManagement-module_backBtn__D1rl8:hover{background-color:#f3f4f6}.LearningTemplateManagement-module_backIcon__DYNwC{color:#4b5563;height:1.25rem;width:1.25rem}.LearningTemplateManagement-module_mainWrapper__BLRpx{align-items:center;background-color:#fff;display:flex;height:calc(100vh - 140px);justify-content:center;width:100%}.LearningTemplateManagement-module_errorContainer__VjiG-{align-items:center;background-color:#fef2f2;border:1px solid #fecaca;border-radius:.5rem;display:flex;flex-direction:column;justify-content:center;max-width:480px;padding:2rem;text-align:center}.LearningTemplateManagement-module_errorTitle__p51Gj{color:#ef4444;font-size:1.125rem;font-weight:600;margin-bottom:.5rem}.LearningTemplateManagement-module_errorDesc__Oyq1l{color:#4b5563;font-size:.875rem;margin-bottom:1rem}.LearningTemplateManagement-module_tryAgainBtn__aBemg{background-color:#fff;border:1px solid #d1d5db;border-radius:.25rem;color:#374151;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:background-color .2s}.LearningTemplateManagement-module_tryAgainBtn__aBemg:hover{background-color:#f9fafb}.LearningTemplateManagement-module_highlight__0O-go{color:#111827;font-weight:500}.LearningTemplateManagement-module_selectionMode__6WQWD{display:flex;flex-direction:column;height:100%;min-height:0;width:100%}.LearningTemplateManagement-module_selectionMode__6WQWD .LearningTemplateManagement-module_mainWrapper__BLRpx{align-items:stretch;flex:1 1 auto;height:auto;justify-content:flex-start;min-height:0}");export{n as default};
|
|
2
2
|
//# sourceMappingURL=LearningTemplateManagement.module.css.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var r={sidebar:"Sidebar-module_sidebar__BhVQw",tabsContainer:"Sidebar-module_tabsContainer__n542w",tabsWrapper:"Sidebar-module_tabsWrapper__z6rAx",tab:"Sidebar-module_tab__79tnm",tabActive:"Sidebar-module_tabActive__amUJ5",searchContainer:"Sidebar-module_searchContainer__KMtRV",searchWrapper:"Sidebar-module_searchWrapper__4ejma",searchInputWrapper:"Sidebar-module_searchInputWrapper__VI9Qk",searchIcon:"Sidebar-module_searchIcon__iyv9p",searchInput:"Sidebar-module_searchInput__oVmKU",searchRightContainer:"Sidebar-module_searchRightContainer__JZf8q",searchCountBadge:"Sidebar-module_searchCountBadge__JdOCA",searchClearButton:"Sidebar-module_searchClearButton__TCsGU",filterButton:"Sidebar-module_filterButton__OA1Bn",divider:"Sidebar-module_divider__EIZV1",content:"Sidebar-module_content__iG2Ya",section:"Sidebar-module_section__ChTDq",sectionTitle:"Sidebar-module_sectionTitle__EC2Bt",sectionList:"Sidebar-module_sectionList__TErRr",createButtonContainer:"Sidebar-module_createButtonContainer__EECqj",createButton:"Sidebar-module_createButton__wE7-a",emptyContent:"Sidebar-module_emptyContent__TV90P"};e(".Sidebar-module_sidebar__BhVQw{background-color:#fff;border-right:1px solid #e3e6ea;display:flex;flex-direction:column;height:
|
|
1
|
+
import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var r={sidebar:"Sidebar-module_sidebar__BhVQw",tabsContainer:"Sidebar-module_tabsContainer__n542w",tabsWrapper:"Sidebar-module_tabsWrapper__z6rAx",tab:"Sidebar-module_tab__79tnm",tabActive:"Sidebar-module_tabActive__amUJ5",searchContainer:"Sidebar-module_searchContainer__KMtRV",searchWrapper:"Sidebar-module_searchWrapper__4ejma",searchInputWrapper:"Sidebar-module_searchInputWrapper__VI9Qk",searchIcon:"Sidebar-module_searchIcon__iyv9p",searchInput:"Sidebar-module_searchInput__oVmKU",searchRightContainer:"Sidebar-module_searchRightContainer__JZf8q",searchCountBadge:"Sidebar-module_searchCountBadge__JdOCA",searchClearButton:"Sidebar-module_searchClearButton__TCsGU",filterButton:"Sidebar-module_filterButton__OA1Bn",divider:"Sidebar-module_divider__EIZV1",content:"Sidebar-module_content__iG2Ya",section:"Sidebar-module_section__ChTDq",sectionTitle:"Sidebar-module_sectionTitle__EC2Bt",sectionList:"Sidebar-module_sectionList__TErRr",createButtonContainer:"Sidebar-module_createButtonContainer__EECqj",createButton:"Sidebar-module_createButton__wE7-a",emptyContent:"Sidebar-module_emptyContent__TV90P"};e(".Sidebar-module_sidebar__BhVQw{background-color:#fff;border-right:1px solid #e3e6ea;display:flex;flex-direction:column;height:calc(100vh - 140px);overflow:hidden;padding-top:1.25rem;position:relative;width:340px;width:fit-content}.Sidebar-module_tabsContainer__n542w{margin-bottom:1.25rem;padding:0 1.25rem}.Sidebar-module_tabsWrapper__z6rAx{background-color:#f3f4f6cc;border-radius:.5rem;display:grid;gap:.25rem;grid-template-columns:1fr 1fr;padding:.25rem}.Sidebar-module_tab__79tnm{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#64748b;cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;justify-content:center;padding:.5rem .75rem;transition:all .2s}.Sidebar-module_tab__79tnm:hover{color:#2563eb}.Sidebar-module_tabActive__amUJ5{background-color:#fff;box-shadow:0 1px 2px 0 #0000000d;color:#2563eb;font-weight:700}.Sidebar-module_searchContainer__KMtRV{margin-bottom:1rem;padding:0 1.25rem}.Sidebar-module_searchWrapper__4ejma{display:flex;gap:.5rem}.Sidebar-module_searchInputWrapper__VI9Qk{align-items:center;display:flex;flex:1;position:relative;width:100%}.Sidebar-module_searchIcon__iyv9p{color:#9ca3af;left:.75rem;position:absolute;top:50%;transform:translateY(-50%)}.Sidebar-module_searchInput__oVmKU{background-color:#fff;border:1px solid #f0f2f5;border-radius:.5rem;box-shadow:0 1px 2px 0 #0000000d;font-size:.875rem;outline:none;padding:.5rem 1rem .5rem 2.25rem;transition:all .2s;width:100%}.Sidebar-module_searchInput__oVmKU:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.Sidebar-module_searchInput__oVmKU::placeholder{color:#9ca3af}.Sidebar-module_searchRightContainer__JZf8q{align-items:center;display:flex;gap:.5rem;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.Sidebar-module_searchCountBadge__JdOCA{background-color:#fde047;border-radius:.25rem;color:#374151;font-size:.75rem;font-weight:500;padding:.125rem .375rem}.Sidebar-module_searchClearButton__TCsGU{align-items:center;background:#0000;border:none;color:#9ca3af;cursor:pointer;display:flex;margin:0;outline:none;padding:0;transition:color .2s ease}.Sidebar-module_searchClearButton__TCsGU:hover{color:#4b5563}.Sidebar-module_filterButton__OA1Bn{background-color:#f7f8fa;border:1px solid #f0f2f5;border-radius:.5rem;cursor:pointer;padding:.5rem;transition:background-color .2s,border-color .2s}.Sidebar-module_filterButton__OA1Bn:hover{background-color:#f0f2f5}.Sidebar-module_filterButton__OA1Bn svg{color:#19213d}.Sidebar-module_divider__EIZV1{background-color:#f0f2f5;height:1.5px;margin:0 1.25rem 1rem;width:100%}.Sidebar-module_content__iG2Ya{flex:1;overflow-y:auto;padding:0 1.25rem}.Sidebar-module_section__ChTDq{margin-bottom:1.5rem}.Sidebar-module_sectionTitle__EC2Bt{color:#19213d;font-size:.875rem;font-weight:600;margin-bottom:.75rem}.Sidebar-module_sectionList__TErRr{display:flex;flex-direction:column;gap:.75rem}.Sidebar-module_createButtonContainer__EECqj{background-color:#fff;border-top:1px solid #e5e7eb;bottom:0;box-shadow:0 -4px 20px #0000000d;left:0;padding:1rem;position:absolute;width:100%;z-index:50}.Sidebar-module_createButton__wE7-a{align-items:center;background-color:#f7f8fa;border:1px solid #f0f2f5;border-radius:.5rem;color:#19213d;cursor:pointer;display:flex;font-size:.75rem;font-weight:500;gap:.5rem;justify-content:center;padding:.75rem;transition:all .2s;width:100%}.Sidebar-module_createButton__wE7-a:hover{background-color:#f3f4f6;box-shadow:0 1px 2px 0 #0000000d}.Sidebar-module_createButton__wE7-a:active{transform:scale(.99)}.Sidebar-module_emptyContent__TV90P{align-items:center;color:#9ca3af;display:flex;flex-direction:column;font-size:.875rem;height:10rem;justify-content:center}");export{r as default};
|
|
2
2
|
//# sourceMappingURL=Sidebar.module.css.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as InstantLearning}from"./features/InstantLearning/InstantLearning.js";export{default as WtaWnta}from"./features/WtaWnta/WtaWnta.js";export{default as BookLearning}from"./features/DocumentLearning/DocumentLearning.js";export{default as ILOTJ}from"./features/IL-OTJ/ILOTJ.js";export{Button}from"./features/IL-OTJ/_components/atoms/Button/Button.js";export{Dropdown}from"./features/IL-OTJ/_components/atoms/Dropdown/Dropdown.js";export{Toggle}from"./features/IL-OTJ/_components/atoms/Toggle/Toggle.js";export{Textarea}from"./features/IL-OTJ/_components/atoms/Textarea/Textarea.js";export{ConditionList}from"./features/IL-OTJ/_components/molecules/Condition/ConditionList.js";export{SectionWrapper}from"./features/IL-OTJ/_components/molecules/Sections/SectionWrapper.js";export{SeparationRow}from"./features/IL-OTJ/_components/molecules/SeperationRow/SeparationRow.js";export{ConfigSection}from"./features/IL-OTJ/_components/organisms/ConfigSection/ConfigSection.js";export{TextSection}from"./features/IL-OTJ/_components/organisms/TextSection/TextSection.js";export{ScopeSection}from"./features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js";export{ConditionSection}from"./features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js";export{TrafficManagerTemplate}from"./features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.js";export{Testing}from"./features/IL-OTJ/_components/templates/Testing/Testing.js";export{TemplateList,TemplateMap}from"./features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js";export{extractAndParseResponse,extractAndParseWithProperty,extractTextFromChildren,extractVariantIds,parseValidationData,useHeaderObserver}from"./features/IL-OTJ/helpers/utils.js";export{CitationProvider,useCitations}from"./features/IL-OTJ/store/CitationsContext.js";export{dummyDat,getVariantInfo}from"./features/IL-OTJ/ILOTJTest.js";export{default as LearningManagement}from"./features/LearningManagement/LearningManagement.js";export{default as ILMarketplaceWrapper,IL_MARKETPLACE_TAB_ID,MY_KNOWLEDGE_BASES_TAB_ID,SAVED_TAB_ID}from"./ILMarketplaceWrapper.js";export{default as TeachMePlugin,TemplateRegistry}from"./features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js";import"./features/LearningManagement/LearningManagementTest.js";export{setApiDebug}from"./api/transport.js";export{default as ContinueWithTemplateModal}from"./ContinueWithTemplateModal.js";export{GuidelineCart}from"./features/IL-marketplace/components/GuidelineCart.js";export{GuidelineCartHeader}from"./features/IL-marketplace/components/GuidelineCartHeader.js";export{GuidelineCartItem}from"./features/IL-marketplace/components/GuidelineCartItem.js";export{GuidelineEmptyState}from"./features/IL-marketplace/components/GuidelineEmptyState.js";export{GuidelineHeader}from"./features/IL-marketplace/components/GuidelineHeader.js";export{GuidelineIconButton}from"./features/IL-marketplace/components/GuidelineIconButton.js";export{GuidelineLandingPage}from"./features/IL-marketplace/components/GuidelineLandingPage.js";export{GuidelineFilterPanel}from"./features/IL-marketplace/components/GuidelineFilterPanel.js";export{GuidelineLibrary}from"./features/IL-marketplace/components/GuidelineLibrary.js";export{GuidelineLibraryCard}from"./features/IL-marketplace/components/GuidelineLibraryCard.js";export{LearningManagementWrapper}from"./features/IL-marketplace/components/LearningManagementWrapper.js";export{GuidelineProceedButton}from"./features/IL-marketplace/components/GuidelineProceedButton.js";export{GuidelineSelectButton}from"./features/IL-marketplace/components/GuidelineSelectButton.js";export{GuidelineCardMenu,createGuidelineCardMenuItems}from"./features/IL-marketplace/components/GuidelineCardMenu.js";export{GuidelineConfirmDialog}from"./features/IL-marketplace/components/GuidelineConfirmDialog.js";export{useGuidelineSelection}from"./features/IL-marketplace/hooks/useGuidelineSelection.js";export{CONFIGURABLE_GUIDELINE_STATUSES,DEFAULT_GUIDELINE_ARTIFACT_TEMPLATE,DEFAULT_GUIDELINE_LABELS,STATUS_ACTION_MODE_NAME}from"./features/IL-marketplace/constants.js";export{createGuidelineId,cx,defaultFormatAddedOnLabel,getAppIntegrationId,getGuidelineDate,getGuidelineDescription,getGuidelineDisplayDescription,getGuidelineId,getGuidelineTitle,isInstantLearningGuideline,mergeGuidelineLabels}from"./features/IL-marketplace/utils.js";export{getGuidelineWorkspaceActions,getGuidelineWorkspaceSnapshot}from"./features/IL-marketplace/workspace/workspace.runtime.js";export{useGuidelineWorkspace,useGuidelineWorkspaceActions,useOptionalGuidelineWorkspace,useOptionalGuidelineWorkspaceActions}from"./features/IL-marketplace/workspace/useGuidelineWorkspace.js";export{clearGuidelineCartClearPending,clearInstantLearningGuidelineCartPresent,getGuidelineSessionId,markGuidelineCartClearPending,rotateGuidelineSessionId}from"./features/IL-marketplace/services/guideline.session.js";export{removeInstantLearningGuidelinesFromCart}from"./features/IL-marketplace/services/instant-learning.api.js";export{closeGuidelineOverlayWithSync}from"./features/IL-marketplace/utils/guidelineOverlay.js";export{dataCartFileToGuidelineFileItem,getDataCartFilesFromResponse,isGuidelineDataCartFile,mergeGuidelineFiles}from"./features/IL-marketplace/utils/guidelineFiles.js";export{syncGuidelineCartWithMemstore}from"./features/IL-marketplace/services/guideline.cart.api.js";export{guidelineQueryClient}from"./features/IL-marketplace/queryClient.js";
|
|
1
|
+
export{default as InstantLearning}from"./features/InstantLearning/InstantLearning.js";export{default as WtaWnta}from"./features/WtaWnta/WtaWnta.js";export{default as BookLearning}from"./features/DocumentLearning/DocumentLearning.js";export{default as ILOTJ}from"./features/IL-OTJ/ILOTJ.js";export{Button}from"./features/IL-OTJ/_components/atoms/Button/Button.js";export{Dropdown}from"./features/IL-OTJ/_components/atoms/Dropdown/Dropdown.js";export{Toggle}from"./features/IL-OTJ/_components/atoms/Toggle/Toggle.js";export{Textarea}from"./features/IL-OTJ/_components/atoms/Textarea/Textarea.js";export{ConditionList}from"./features/IL-OTJ/_components/molecules/Condition/ConditionList.js";export{SectionWrapper}from"./features/IL-OTJ/_components/molecules/Sections/SectionWrapper.js";export{SeparationRow}from"./features/IL-OTJ/_components/molecules/SeperationRow/SeparationRow.js";export{ConfigSection}from"./features/IL-OTJ/_components/organisms/ConfigSection/ConfigSection.js";export{TextSection}from"./features/IL-OTJ/_components/organisms/TextSection/TextSection.js";export{ScopeSection}from"./features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js";export{ConditionSection}from"./features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js";export{TrafficManagerTemplate}from"./features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.js";export{Testing}from"./features/IL-OTJ/_components/templates/Testing/Testing.js";export{TemplateList,TemplateMap}from"./features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js";export{extractAndParseResponse,extractAndParseWithProperty,extractTextFromChildren,extractVariantIds,parseValidationData,useHeaderObserver}from"./features/IL-OTJ/helpers/utils.js";export{CitationProvider,useCitations}from"./features/IL-OTJ/store/CitationsContext.js";export{dummyDat,getVariantInfo}from"./features/IL-OTJ/ILOTJTest.js";export{default as LearningManagement}from"./features/LearningManagement/LearningManagement.js";export{default as ILMarketplaceWrapper,IL_MARKETPLACE_TAB_ID,MY_KNOWLEDGE_BASES_TAB_ID,SAVED_TAB_ID}from"./ILMarketplaceWrapper.js";export{default as TeachMePlugin,TemplateRegistry}from"./features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js";import"./features/LearningManagement/LearningManagementTest.js";export{default as ScopeSelector}from"./features/LearningManagement/ScopeSelector.js";export{setApiDebug}from"./api/transport.js";export{default as ContinueWithTemplateModal}from"./ContinueWithTemplateModal.js";export{GuidelineCart}from"./features/IL-marketplace/components/GuidelineCart.js";export{GuidelineCartHeader}from"./features/IL-marketplace/components/GuidelineCartHeader.js";export{GuidelineCartItem}from"./features/IL-marketplace/components/GuidelineCartItem.js";export{GuidelineEmptyState}from"./features/IL-marketplace/components/GuidelineEmptyState.js";export{GuidelineHeader}from"./features/IL-marketplace/components/GuidelineHeader.js";export{GuidelineIconButton}from"./features/IL-marketplace/components/GuidelineIconButton.js";export{GuidelineLandingPage}from"./features/IL-marketplace/components/GuidelineLandingPage.js";export{GuidelineFilterPanel}from"./features/IL-marketplace/components/GuidelineFilterPanel.js";export{GuidelineLibrary}from"./features/IL-marketplace/components/GuidelineLibrary.js";export{GuidelineLibraryCard}from"./features/IL-marketplace/components/GuidelineLibraryCard.js";export{LearningManagementWrapper}from"./features/IL-marketplace/components/LearningManagementWrapper.js";export{GuidelineProceedButton}from"./features/IL-marketplace/components/GuidelineProceedButton.js";export{GuidelineSelectButton}from"./features/IL-marketplace/components/GuidelineSelectButton.js";export{GuidelineCardMenu,createGuidelineCardMenuItems}from"./features/IL-marketplace/components/GuidelineCardMenu.js";export{GuidelineConfirmDialog}from"./features/IL-marketplace/components/GuidelineConfirmDialog.js";export{useGuidelineSelection}from"./features/IL-marketplace/hooks/useGuidelineSelection.js";export{CONFIGURABLE_GUIDELINE_STATUSES,DEFAULT_GUIDELINE_ARTIFACT_TEMPLATE,DEFAULT_GUIDELINE_LABELS,STATUS_ACTION_MODE_NAME}from"./features/IL-marketplace/constants.js";export{createGuidelineId,cx,defaultFormatAddedOnLabel,getAppIntegrationId,getGuidelineDate,getGuidelineDescription,getGuidelineDisplayDescription,getGuidelineId,getGuidelineTitle,isInstantLearningGuideline,mergeGuidelineLabels}from"./features/IL-marketplace/utils.js";export{getGuidelineWorkspaceActions,getGuidelineWorkspaceSnapshot}from"./features/IL-marketplace/workspace/workspace.runtime.js";export{useGuidelineWorkspace,useGuidelineWorkspaceActions,useOptionalGuidelineWorkspace,useOptionalGuidelineWorkspaceActions}from"./features/IL-marketplace/workspace/useGuidelineWorkspace.js";export{clearGuidelineCartClearPending,clearInstantLearningGuidelineCartPresent,getGuidelineSessionId,markGuidelineCartClearPending,rotateGuidelineSessionId}from"./features/IL-marketplace/services/guideline.session.js";export{removeInstantLearningGuidelinesFromCart}from"./features/IL-marketplace/services/instant-learning.api.js";export{closeGuidelineOverlayWithSync}from"./features/IL-marketplace/utils/guidelineOverlay.js";export{dataCartFileToGuidelineFileItem,getDataCartFilesFromResponse,isGuidelineDataCartFile,mergeGuidelineFiles}from"./features/IL-marketplace/utils/guidelineFiles.js";export{syncGuidelineCartWithMemstore}from"./features/IL-marketplace/services/guideline.cart.api.js";export{guidelineQueryClient}from"./features/IL-marketplace/queryClient.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILMarketplaceMockTest.d.ts","sourceRoot":"","sources":["../../../src/ILMarketplaceMockTest.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ILMarketplaceMockTest.d.ts","sourceRoot":"","sources":["../../../src/ILMarketplaceMockTest.tsx"],"names":[],"mappings":"AA+CA,QAAA,MAAM,qBAAqB,mCAe1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -3,7 +3,6 @@ import { LscGuidelineSection } from "./features/IL-marketplace/types/add-context
|
|
|
3
3
|
import { GuidelineStatusActions, LscGuidelineLabels } from "./features/IL-marketplace/types";
|
|
4
4
|
import { FileItem } from "./features/IL-marketplace/types/file-item";
|
|
5
5
|
import { ScopeTreeNode } from "@e-llm-studio/creative-workspace-ui-component/dist/types/types";
|
|
6
|
-
import type { MiddleDrawerOverrides } from "./features/LearningManagement/types";
|
|
7
6
|
export declare const IL_MARKETPLACE_TAB_ID = "IL Marketplace";
|
|
8
7
|
export declare const MY_KNOWLEDGE_BASES_TAB_ID = "My_Knowledge_Bases";
|
|
9
8
|
export declare const SAVED_TAB_ID = "Saved";
|
|
@@ -14,7 +13,6 @@ export type ILMarketplaceLabelsConfig = {
|
|
|
14
13
|
searchPlaceholder?: string;
|
|
15
14
|
searchEmptyTitle?: string;
|
|
16
15
|
addKnowledgeBaseLabel?: string;
|
|
17
|
-
addKnowledgeBaseDisabledTooltip?: string;
|
|
18
16
|
};
|
|
19
17
|
export type GuidelineFilterSectionState = {
|
|
20
18
|
id: string;
|
|
@@ -49,19 +47,9 @@ export type ILMarketplaceWrapperProps = {
|
|
|
49
47
|
applicationMappingId?: string;
|
|
50
48
|
scopeId?: string;
|
|
51
49
|
authToken?: string;
|
|
52
|
-
baseUrl
|
|
50
|
+
baseUrl?: string;
|
|
53
51
|
contentTypeIds?: string[];
|
|
54
52
|
scopeLabel?: string;
|
|
55
|
-
userDetails: Record<string, any>;
|
|
56
|
-
baseWebsocketUrl: string;
|
|
57
|
-
assistantName: string;
|
|
58
|
-
appsecRbacUrl: string;
|
|
59
|
-
appsecBaseUrl: string;
|
|
60
|
-
modeId?: string;
|
|
61
|
-
/**
|
|
62
|
-
* Overrides for the Learning Management scope tree on the IL Marketplace tab. Omitted fields keep the LMS defaults.
|
|
63
|
-
*/
|
|
64
|
-
treeOverrides?: MiddleDrawerOverrides;
|
|
65
53
|
};
|
|
66
54
|
declare const ILMarketplaceWrapper: (props: ILMarketplaceWrapperProps) => import("react").JSX.Element;
|
|
67
55
|
export default ILMarketplaceWrapper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILMarketplaceWrapper.d.ts","sourceRoot":"","sources":["../../../src/ILMarketplaceWrapper.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAA0B,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrH,OAAO,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"ILMarketplaceWrapper.d.ts","sourceRoot":"","sources":["../../../src/ILMarketplaceWrapper.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAA0B,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrH,OAAO,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAMrE,OAAO,EAAkB,aAAa,EAAqB,MAAM,gEAAgE,CAAC;AAyBlI,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AACtD,eAAO,MAAM,yBAAyB,uBAAuB,CAAC;AAC9D,eAAO,MAAM,YAAY,UAAU,CAAC;AA2IpC,MAAM,MAAM,yBAAyB,GAAG;IACpC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG;IACtC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CA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+16,6 @@ export type TeachMeMode = "ADD" | "EDIT";
|
|
|
16
16
|
export interface TeachMePluginProps {
|
|
17
17
|
/** App integration ID used to resolve the correct template. Optional only in backward-compat mode. */
|
|
18
18
|
app_integration_id?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Optional content type ID. When passed, it is forwarded to the /getValueType
|
|
21
|
-
* API as `?config_template_id=<content_type_id>` so the value type is resolved
|
|
22
|
-
* for this app + content type. When omitted, resolution is unchanged — based
|
|
23
|
-
* on `app_integration_id` alone.
|
|
24
|
-
*/
|
|
25
|
-
content_type_id?: string;
|
|
26
19
|
/** Controls dialog visibility */
|
|
27
20
|
isOpen: boolean;
|
|
28
21
|
/** Called when the dialog requests to close */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeachMePlugin.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAuB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAavE,OAAO,EAA4B,wBAAwB,EAAE,MAAM,yDAAyD,CAAC;AAI7H,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,MAAM,CAAC;AAEzC,MAAM,WAAW,kBAAkB;IAEjC,sGAAsG;IACtG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B
|
|
1
|
+
{"version":3,"file":"TeachMePlugin.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAuB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAavE,OAAO,EAA4B,wBAAwB,EAAE,MAAM,yDAAyD,CAAC;AAI7H,MAAM,MAAM,WAAW,GAAG,KAAK,GAAG,MAAM,CAAC;AAEzC,MAAM,WAAW,kBAAkB;IAEjC,sGAAsG;IACtG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iCAAiC;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,+CAA+C;IAC/C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,uFAAuF;IACvF,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,EAAC,GAAG,CAAC;IACX;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;CACrD;AAGD;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAM1E,CAAC;AAuBF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAM/C,CAAC;AA0IF,eAAe,aAAa,CAAC"}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
export interface TeachMeWrapperProps {
|
|
3
3
|
baseURL: string;
|
|
4
4
|
app_integration_id?: string;
|
|
5
|
-
content_type_id?: string;
|
|
6
5
|
isOpen: boolean;
|
|
7
6
|
onClose: () => void;
|
|
8
7
|
initialScope: string;
|
|
@@ -21,6 +20,6 @@ export interface TeachMeWrapperProps {
|
|
|
21
20
|
*/
|
|
22
21
|
useDynamicForm?: boolean;
|
|
23
22
|
}
|
|
24
|
-
declare const TeachMeWrapper: (props: TeachMeWrapperProps) => import("react").JSX.Element
|
|
23
|
+
declare const TeachMeWrapper: (props: TeachMeWrapperProps) => import("react").JSX.Element;
|
|
25
24
|
export default TeachMeWrapper;
|
|
26
25
|
//# sourceMappingURL=TeachMeWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TeachMeWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"TeachMeWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.tsx"],"names":[],"mappings":";AA6LA,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;IACjE;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,cAAc,UAAW,mBAAmB,gCAwHjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GuidelineLibrary.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/components/GuidelineLibrary.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EAClB,yBAAyB,EACzB,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAKlB,OAAO,EAAe,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;
|
|
1
|
+
{"version":3,"file":"GuidelineLibrary.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/components/GuidelineLibrary.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EAClB,yBAAyB,EACzB,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAKlB,OAAO,EAAe,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAuE9F,UAAU,qBAAqB,CAAC,UAAU,SAAS,gBAAgB;IACjE,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,iBAAiB,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC1C,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CA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AAE,qBAAqB,CAAC,UAAU,CAAC,+BAoVnC"}
|
|
@@ -22,9 +22,13 @@ interface GuidelineLibraryContentProps<TGuideline extends LscGuidelineItem> {
|
|
|
22
22
|
onEditGuideline?: (file: TGuideline) => void;
|
|
23
23
|
onDuplicateGuideline?: (file: TGuideline) => void;
|
|
24
24
|
onDeleteGuideline?: (file: TGuideline) => void;
|
|
25
|
+
onToggleVariantGuideline?: (file: TGuideline) => void | Promise<void>;
|
|
25
26
|
hideEditOption?: boolean;
|
|
26
27
|
hideDuplicateOption?: boolean;
|
|
27
28
|
hideDeleteOption?: boolean;
|
|
29
|
+
hideToggleVariantOption?: boolean;
|
|
30
|
+
enableVariantLabel?: string;
|
|
31
|
+
disableVariantLabel?: string;
|
|
28
32
|
searchProps?: LscGuidelineSearchProps;
|
|
29
33
|
filterProps?: LscGuidelineFilterProps;
|
|
30
34
|
showDashboardButton?: boolean;
|
|
@@ -64,6 +68,6 @@ interface GuidelineLibraryContentProps<TGuideline extends LscGuidelineItem> {
|
|
|
64
68
|
* @param emptyTitle - Title to show when guidelines list is empty
|
|
65
69
|
* @param emptyDescription - Description to show when guidelines list is empty
|
|
66
70
|
*/
|
|
67
|
-
export declare function GuidelineLibraryContent<TGuideline extends LscGuidelineItem>({ guidelines, cartGuidelineIds, addToCartLabel, addedToCartLabel, selectLabel, selectedLabel, exploreLabel, showMoreLabel, showLessLabel, initialVisibleCount, onToggleGuideline, onPreviewGuideline, onExploreILGuideline, classNames, styles, customIcons, subTitleLayout, formatAddedOnLabel, onEditGuideline, onDuplicateGuideline, onDeleteGuideline, hideEditOption, hideDuplicateOption, hideDeleteOption, searchProps, filterProps, showDashboardButton, onDashboardClick, isLoading, emptyTitle, emptyDescription, instantLearning, fetchWishlistStatus, onWishlistToggle, onVersionSelect, isILMarketplace, handleViewButtonCallback, handlePreviewButtonCallback, statusActions }: GuidelineLibraryContentProps<TGuideline>): import("react").JSX.Element;
|
|
71
|
+
export declare function GuidelineLibraryContent<TGuideline extends LscGuidelineItem>({ guidelines, cartGuidelineIds, addToCartLabel, addedToCartLabel, selectLabel, selectedLabel, exploreLabel, showMoreLabel, showLessLabel, initialVisibleCount, onToggleGuideline, onPreviewGuideline, onExploreILGuideline, classNames, styles, customIcons, subTitleLayout, formatAddedOnLabel, onEditGuideline, onDuplicateGuideline, onDeleteGuideline, onToggleVariantGuideline, hideEditOption, hideDuplicateOption, hideDeleteOption, hideToggleVariantOption, enableVariantLabel, disableVariantLabel, searchProps, filterProps, showDashboardButton, onDashboardClick, isLoading, emptyTitle, emptyDescription, instantLearning, fetchWishlistStatus, onWishlistToggle, onVersionSelect, isILMarketplace, handleViewButtonCallback, handlePreviewButtonCallback, statusActions }: GuidelineLibraryContentProps<TGuideline>): import("react").JSX.Element;
|
|
68
72
|
export {};
|
|
69
73
|
//# sourceMappingURL=GuidelineLibraryContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GuidelineLibraryContent.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/components/GuidelineLibraryContent.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EACV,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,yBAAyB,EACzB,sBAAsB,EACvB,MAAM,UAAU,CAAC;AAoDlB,UAAU,4BAA4B,CAAC,UAAU,SAAS,gBAAgB;IACxE,UAAU,EAAE,UAAU,EAAE,CAAC;IACzB,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,M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AAO,CAAC,CAAC;IAC5F,gBAAgB,CAAC,EAAE,CAAC,wBAAwB,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACpH,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wBAAwB,CAAC,EAAE,CAAC,SAAS,EAAE,UAAU,KAAK,IAAI,CAAC;IAC3D,2BAA2B,CAAC,EAAE,CAAC,SAAS,EAAE,UAAU,KAAK,IAAI,CAAC;IAC9D,aAAa,CAAC,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAA;CACnD;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,uBAAuB,CAAC,UAAU,SAAS,gBAAgB,EAAE,EAC3E,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAa,EACb,mBAAuB,EACvB,iBAA4B,EAC5B,kBAA6B,EAC7B,oBAAoB,EACpB,UAAU,EACV,MAAM,EACN,WAAW,EACX,cAAc,EACd,kBAA6B,EAC7B,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,mBAA2B,EAC3B,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,eAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,aAAa,EACd,EAAE,4BAA4B,CAAC,UAAU,CAAC,+
|
|
1
|
+
{"version":3,"file":"GuidelineLibraryContent.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/components/Gu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U,KAAK,IAAI,CAAC;IAC9D,aAAa,CAAC,EAAE,sBAAsB,CAAC,UAAU,CAAC,CAAA;CACnD;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,uBAAuB,CAAC,UAAU,SAAS,gBAAgB,EAAE,EAC3E,UAAU,EACV,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,YAAY,EACZ,aAAa,EACb,aAAa,EACb,mBAAuB,EACvB,iBAA4B,EAC5B,kBAA6B,EAC7B,oBAAoB,EACpB,UAAU,EACV,MAAM,EACN,WAAW,EACX,cAAc,EACd,kBAA6B,EAC7B,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,wBAAwB,EACxB,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,mBAA2B,EAC3B,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,EACf,eAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,aAAa,EACd,EAAE,4BAA4B,CAAC,UAAU,CAAC,+BA8M1C"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
|
-
import type { MiddleDrawerOverrides } from "../../LearningManagement/types";
|
|
3
2
|
export interface LearningManagementWrapperProps {
|
|
4
3
|
userDetails: any;
|
|
5
4
|
baseUrl: string;
|
|
6
5
|
baseWebsocketUrl: string;
|
|
6
|
+
token: string;
|
|
7
7
|
assistantName: string;
|
|
8
8
|
appsecRbacUrl: string;
|
|
9
9
|
appsecBaseUrl: string;
|
|
@@ -11,14 +11,9 @@ export interface LearningManagementWrapperProps {
|
|
|
11
11
|
modeId?: string;
|
|
12
12
|
guidelineTitle?: string;
|
|
13
13
|
onBack: () => void;
|
|
14
|
-
isILMarketplace?: boolean;
|
|
15
14
|
fetchILRBACConfig: (baseUrl: string, token: string, applicationMappingId: string) => Promise<any> | any;
|
|
16
15
|
headerActions?: ReactNode;
|
|
17
|
-
/** Props forwarded to GuidelineLibraryContent, which LearningManagement renders on the right when `isILMarketplace` is set. */
|
|
18
|
-
guidelineContentProps?: any;
|
|
19
|
-
/** Overrides for the middle drawer (scope tree). Omitted fields keep LMS defaults. */
|
|
20
|
-
treeOverrides?: MiddleDrawerOverrides;
|
|
21
16
|
}
|
|
22
|
-
export declare function LearningManagementWrapper({ userDetails, baseUrl, baseWebsocketUrl, assistantName, appsecRbacUrl, appsecBaseUrl, appIntegrationId, modeId, guidelineTitle, onBack, fetchILRBACConfig,
|
|
17
|
+
export declare function LearningManagementWrapper({ userDetails, baseUrl, baseWebsocketUrl, token, assistantName, appsecRbacUrl, appsecBaseUrl, appIntegrationId, modeId, guidelineTitle, onBack, fetchILRBACConfig, headerActions, }: LearningManagementWrapperProps): import("react").JSX.Element;
|
|
23
18
|
export default LearningManagementWrapper;
|
|
24
19
|
//# sourceMappingURL=LearningManagementWrapper.d.ts.map
|
package/dist/types/src/features/IL-marketplace/components/LearningManagementWrapper.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LearningManagementWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/components/LearningManagementWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"LearningManagementWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/components/LearningManagementWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAsDtD,MAAM,WAAW,8BAA8B;IAC7C,WAAW,EAAE,GAAG,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,iBAAiB,EAAE,CACjB,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,EACb,oBAAoB,EAAE,MAAM,KACzB,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC;IACxB,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B;AA0DD,wBAAgB,yBAAyB,CAAC,EACxC,WAAW,EACX,OAAO,EACP,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,MAAM,EACN,cAAc,EACd,MAAM,EACN,iBAAiB,EACjB,aAAa,GACd,EAAE,8BAA8B,+BA0GhC;AAED,eAAe,yBAAyB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IL-marketplace.api.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/services/IL-marketplace.api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAmDhE,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;QAC7B,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;KAC/B,CAAC;IACF,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,4BAA4B,GAAG,mBAAmB,CAAC,wBAAwB,CAAC,CAAC;AA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AAE,CAAC;KAC9D,CAAC;CACH;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE;QACJ,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AAED,MAAM,MAAM,+BAA+B,GAAG,mBAAmB,CAAC,2BAA2B,CAAC,CAAC;AAE/F,eAAO,MAAM,mCAAmC,SACxC,MAAM,YACF,MAAM,GAAG,IAAI,GAAG,SAAS,wBACb,MAAM,aACjB,OAAO,GAAG,UAAU,GAAG,SAAS,cAC/B,8BAA8B,CAAC,YAAY,CAAC,KACvD,8BAWD,CAAC;AAEH,eAAO,MAAM,uBAAuB,YACzB,8BAA8B,cAC3B,MAAM,YACR,MAAM,KACf,QAAQ,+BAA+B,CAMtC,CAAC;AAEL,MAAM,WAAW,yBAAyB;IACxC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,UAAU,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,GAAG,CAAC,CAAC;AAElE,eAAO,MAAM,qBAAqB,yBACV,MAAM,gBACd,OAAO,cACT,MAAM,YACR,MAAM,KACf,QAAQ,0BAA0B,CAUjC,CAAC;AACL,eAAO,MAAM,iBAAiB,yBACN,MAAM,YAClB,MAAM,
|
|
1
|
+
{"version":3,"file":"IL-marketplace.api.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/services/IL-marketplace.api.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAmDhE,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;QAC7B,OAAO,CAAC,EAAE,iBAAi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AAC;QACpB,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE;YAAE,KAAK,EAAE,MAAM,EAAE,CAAC;YAAC,MAAM,EAAE,MAAM,EAAE,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;KAC9D,CAAC;CACH;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE;QACJ,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;CACH;AAED,MAAM,MAAM,+BAA+B,GAAG,mBAAmB,CAAC,2BAA2B,CAAC,CAAC;AAE/F,eAAO,MAAM,mCAAmC,SACxC,MAAM,YACF,MAAM,GAAG,IAAI,GAAG,SAAS,wBACb,MAAM,aACjB,OAAO,GAAG,UAAU,GAAG,SAAS,cAC/B,8BAA8B,CAAC,YAAY,CAAC,KACvD,8BAWD,CAAC;AAEH,eAAO,MAAM,uBAAuB,YACzB,8BAA8B,cAC3B,MAAM,YACR,MAAM,KACf,QAAQ,+BAA+B,CAMtC,CAAC;AAEL,MAAM,WAAW,yBAAyB;IACxC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,UAAU,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,GAAG,CAAC,CAAC;AAElE,eAAO,MAAM,qBAAqB,yBACV,MAAM,gBACd,OAAO,cACT,MAAM,YACR,MAAM,KACf,QAAQ,0BAA0B,CAUjC,CAAC;AACL,eAAO,MAAM,iBAAiB,yBACN,MAAM,YAClB,MAAM,cACL,MAAM,KAChB,QAAQ,oBAAoB,CAK3B,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { AxiosRequestConfig } from 'axios';
|
|
3
3
|
import { User } from './store/types';
|
|
4
|
-
import { MiddleDrawerOverrides } from './types';
|
|
5
4
|
import { AuditLogConfig, RbacConfig } from './store/useEnvStore';
|
|
6
5
|
export interface ModalConfig {
|
|
7
6
|
isOpen: boolean;
|
|
@@ -41,16 +40,18 @@ interface LearningManagementProps {
|
|
|
41
40
|
* reapplies the config.
|
|
42
41
|
*/
|
|
43
42
|
axiosConfig?: AxiosRequestConfig;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Renders the component in scope-selection mode: the sidebar tree shows only
|
|
45
|
+
* the Guidelines section (no Access/Change History), and no Learning-Management
|
|
46
|
+
* query params are written to the host URL. Purely additive — when omitted the
|
|
47
|
+
* component behaves exactly as before. Used by the embeddable ScopeSelector.
|
|
48
|
+
*/
|
|
49
|
+
selectionMode?: boolean;
|
|
49
50
|
}
|
|
50
51
|
/**
|
|
51
52
|
* Main entry point for the Learning Template Management feature.
|
|
52
53
|
* Responsible for initializing data (mock data for now) and rendering the main layout.
|
|
53
54
|
*/
|
|
54
|
-
declare function LearningManagement({ userDetails, llmStudioUrl, audacyBackendUrl, ilLabels, config, rbacConfig, auditLogConfig, app_integration_id, backwardCompatibility, cognitiveCompareCompatibility, modeId, modeDetails, pluginPayload, axiosConfig,
|
|
55
|
+
declare function LearningManagement({ userDetails, llmStudioUrl, audacyBackendUrl, ilLabels, config, rbacConfig, auditLogConfig, app_integration_id, backwardCompatibility, cognitiveCompareCompatibility, modeId, modeDetails, pluginPayload, axiosConfig, selectionMode, }: LearningManagementProps): React.JSX.Element;
|
|
55
56
|
export default LearningManagement;
|
|
56
57
|
//# sourceMappingURL=LearningManagement.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LearningManagement.d.ts","sourceRoot":"","sources":["../../../../../src/features/LearningManagement/LearningManagement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAUhD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"LearningManagement.d.ts","sourceRoot":"","sources":["../../../../../src/features/LearningManagement/LearningManagement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAUhD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAWrC,OAAoB,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAmC9E,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,QAAQ,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC5D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,uBAAuB;IAC/B,WAAW,EAAE,IAAI,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,GAAG,CAAC;IACZ,UAAU,EAAE,UAAU,CAAC;IACvB,cAAc,EAAE,cAAc,CAAC;IAC/B,QAAQ,EAAE;QACR,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,oBAAoB,EAAE,MAAM,CAAC;KAC9B,CAAA;IACD,MAAM,CAAC,EAAC,MAAM,CAAA;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC,WAAW,CAAC,EAAE;QACZ,cAAc,EAAE,MAAM,CAAC;QACvB,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE,MAAM,CAAC;KAC5B,CAAC;IACF,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC;;;;;OAKG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;;GAGG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,qBAA2B,EAC3B,6BAAmC,EACnC,MAAM,EACN,WAAW,EACX,aAAa,EACb,WAAW,EACX,aAAqB,GACtB,EAAE,uBAAuB,qBA42BzB;AAED,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { ScopesTreeResponse, TreeSectionConfig, NodeTypeConfig, StationData } from './types';
|
|
3
3
|
interface LearningTemplateLayoutProps {
|
|
4
4
|
onOpenCreateModal: () => void;
|
|
@@ -22,11 +22,6 @@ interface LearningTemplateLayoutProps {
|
|
|
22
22
|
onRequestAccess?: (scopeId: string) => void;
|
|
23
23
|
isRequestingAccess?: boolean;
|
|
24
24
|
isAccessRequested?: boolean;
|
|
25
|
-
isILMarketplace?: boolean;
|
|
26
|
-
/** Optional children component to render when isILMarketplace is false and no other section is active. If provided, this takes precedence over default content. */
|
|
27
|
-
children?: ReactNode;
|
|
28
|
-
/** Optional props to render GuidelineLibraryContent as children when not using IL Marketplace */
|
|
29
|
-
guidelineContentProps?: any;
|
|
30
25
|
}
|
|
31
26
|
/**
|
|
32
27
|
* Layout component for Learning Template Management.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LearningTemplateLayout.d.ts","sourceRoot":"","sources":["../../../../../src/features/LearningManagement/LearningTemplateLayout.tsx"],"names":[],"mappings":"AAAA,OAA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CAAC;IACrC,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IACnC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAC,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;GAKG;AACH,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CA2HjE,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -11,6 +11,9 @@ interface AddScopeModalProps {
|
|
|
11
11
|
hasGlobalRuleSet: boolean;
|
|
12
12
|
parentId?: string;
|
|
13
13
|
isILMarketplace?: boolean;
|
|
14
|
+
onCreateMarketplaceDomain?: (name: string) => Promise<{
|
|
15
|
+
scopeId?: string;
|
|
16
|
+
} | any>;
|
|
14
17
|
childType?: 'SCOPE' | 'SUBSCOPE';
|
|
15
18
|
parentName?: string;
|
|
16
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddScopeModal.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/RuleContent/AddScopeModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAqB3D,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,UAAU,kBAAkB;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAQD,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"AddScopeModal.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/RuleContent/AddScopeModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAqB3D,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAGD,UAAU,kBAAkB;IAC1B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,yBAAyB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,GAAG,CAAC,CAAC;IAClF,SAAS,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAQD,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsWxD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
3
|
+
import type { RbacConfig, AuditLogConfig } from './store/useEnvStore';
|
|
4
|
+
import type { User } from './store/types';
|
|
5
|
+
import type { ScopeSelection } from './types';
|
|
6
|
+
/**
|
|
7
|
+
* Config passed straight through to the underlying LearningManagement instance.
|
|
8
|
+
* ScopeSelector reuses the full LMS scope tree + rule content (guideline
|
|
9
|
+
* Disable/Delete/inheritance) and only layers a selection header/footer on top.
|
|
10
|
+
*/
|
|
11
|
+
export interface ScopeSelectorProps {
|
|
12
|
+
userDetails: User;
|
|
13
|
+
llmStudioUrl: string;
|
|
14
|
+
audacyBackendUrl: string;
|
|
15
|
+
config: any;
|
|
16
|
+
rbacConfig: RbacConfig;
|
|
17
|
+
auditLogConfig: AuditLogConfig;
|
|
18
|
+
ilLabels: {
|
|
19
|
+
setupLabel: string;
|
|
20
|
+
ruleTitle: string;
|
|
21
|
+
ruleDescriptionTitle: string;
|
|
22
|
+
};
|
|
23
|
+
app_integration_id?: string;
|
|
24
|
+
modeId?: string;
|
|
25
|
+
backwardCompatibility?: boolean;
|
|
26
|
+
cognitiveCompareCompatibility?: boolean;
|
|
27
|
+
axiosConfig?: AxiosRequestConfig;
|
|
28
|
+
/** Header title. Defaults to the figma copy. */
|
|
29
|
+
title?: string;
|
|
30
|
+
/** Fired when the user confirms the currently-selected scope. */
|
|
31
|
+
onProceed: (selection: ScopeSelection) => void;
|
|
32
|
+
/** Fired when the user dismisses the selector (Cancel / X). */
|
|
33
|
+
onCancel: () => void;
|
|
34
|
+
proceedLabel?: string;
|
|
35
|
+
cancelLabel?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Embeddable scope picker. Renders the existing LearningManagement layout in
|
|
39
|
+
* selection mode (Guidelines-only tree, no host-URL writes) and surrounds it
|
|
40
|
+
* with the selection header/footer from the figma. The node highlighted in the
|
|
41
|
+
* tree is the scope that gets returned on Proceed.
|
|
42
|
+
*/
|
|
43
|
+
declare const ScopeSelector: React.FC<ScopeSelectorProps>;
|
|
44
|
+
export default ScopeSelector;
|
|
45
|
+
//# sourceMappingURL=ScopeSelector.d.ts.map
|
|
@@ -0,0 +1 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AK,CAAC,EAAE,CAAC,kBAAkB,CAkF/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiConfig.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/apis/apiConfig.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"apiConfig.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/apis/apiConfig.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCzB,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;CAmBhC,CAAA"}
|
|
@@ -340,15 +340,7 @@ export interface ValueTypeConfigResult {
|
|
|
340
340
|
teachMeConfig: LMSTeachMeConfig | null;
|
|
341
341
|
template: string | null;
|
|
342
342
|
}
|
|
343
|
-
|
|
344
|
-
* Builds the /getValueType URL.
|
|
345
|
-
*
|
|
346
|
-
* By default the value type is resolved from the app integration alone. When a
|
|
347
|
-
* content type is passed it goes along as `?config_template_id=…`, so the
|
|
348
|
-
* backend resolves the value type for that app + content-type combination.
|
|
349
|
-
*/
|
|
350
|
-
export declare function buildValueTypeUrl(baseUrl: string, appIntegrationId: string, contentTypeId?: string): string;
|
|
351
|
-
export declare function fetchLMSConfig(baseUrl: string, appIntegrationId: string, token: string, contentTypeId?: string): Promise<ValueTypeConfigResult>;
|
|
343
|
+
export declare function fetchLMSConfig(baseUrl: string, appIntegrationId: string, token: string): Promise<ValueTypeConfigResult>;
|
|
352
344
|
export interface RBACAuditConfigResponse {
|
|
353
345
|
module_data?: Record<string, string>;
|
|
354
346
|
resource_data?: Record<string, string>;
|