@e-llm-studio/instant-learning 1.3.0-alpha.89 → 1.3.0-alpha.90

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.
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),t=require("lucide-react"),n=[{id:"1",name:"Agent Guidelines",description:"No description available",addedOn:"Added on - 5:15 PM | 12/06/26",inCart:!0},{id:"2",name:"Agent Guideline 2",description:"Define the agent's role using only four elements: agent name, one-line job description, primary responsibility, and...",addedOn:"Added on - 5:15 PM | 18/06/26",inCart:!1},{id:"3",name:"Guideline 2",description:"Add only information directly relevant to the user's request. Do not introduce assumptions, unrelated context, or unsu...",addedOn:"Added on - 5:15 PM | 12/04/26",inCart:!1},{id:"4",name:"Response Format Guide",description:"Structure answers with clear headings, concise paragraphs, and bullet points when appropriate. Prioritize readability a...",addedOn:"Added on - 5:15 PM | 22/03/26",inCart:!1}],s=[{id:"1",name:"Agent Guidelines",description:"No description available",addedOn:"Added on - 4:15 PM | 12/03/26"}],r={page:{height:"100%",width:"100%",background:"#ffffff",fontFamily:"Inter, sans-serif"},main:{height:"100%",overflow:"auto",padding:40},headerSection:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:24,justifyContent:"space-between",alignItems:"flex-start"},intro:{minWidth:280,flex:"1 1 0%"},title:{fontSize:30,fontWeight:700,lineHeight:"38px",color:"#6D35F2",margin:0},description:{marginTop:8,fontSize:19,lineHeight:"28px",color:"#1F2937"},debugLink:{marginTop:12,display:"inline-flex",alignItems:"center",gap:8,fontSize:14,fontWeight:500,color:"#53657D",background:"none",border:"none",padding:0,cursor:"pointer"},addButton:{display:"inline-flex",height:44,minWidth:210,flexShrink:0,alignItems:"center",justifyContent:"center",gap:12,borderRadius:6,background:"#4438F5",padding:"0 20px",fontSize:15,fontWeight:600,color:"#ffffff",border:"none",boxShadow:"0 1px 2px rgba(16,24,40,0.08)",cursor:"pointer",marginLeft:"auto"},bodySection:{marginTop:48,display:"grid",width:"100%",gridTemplateColumns:"minmax(0,1fr) minmax(300px,360px)",alignItems:"start",gap:24},librarySection:{minWidth:0},libraryTabs:{display:"flex",borderBottom:"1px solid #EAECF0"},tab:{position:"relative",display:"inline-flex",height:40,alignItems:"center",gap:8,padding:"0 16px",fontSize:14,fontWeight:500,background:"none",border:"none",cursor:"pointer",color:"#B5BDC8"},tabActive:{color:"#1F2937",boxShadow:"inset 0 -3px 0 0 #6D5BFF"},libraryGrid:{marginTop:24,display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:20},card:{display:"flex",flexDirection:"column",borderRadius:10,border:"1px solid #EAECF0",background:"#ffffff",padding:20,boxShadow:"0 1px 2px rgba(16,24,40,0.04)"},cardTop:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:8},cardTopLeft:{display:"flex",alignItems:"center",gap:8,minWidth:0},cardTitle:{fontSize:15,fontWeight:600,lineHeight:"24px",color:"#1F2937",margin:0},cardTopIcons:{display:"flex",alignItems:"center",gap:10,flexShrink:0,color:"#98A2B3"},cardDescription:{marginTop:8,fontSize:13,lineHeight:"19px",color:"#667085"},cardDate:{marginTop:12,fontSize:12,color:"#98A2B3"},cardActions:{marginTop:16},cardAddButton:{display:"inline-flex",height:36,width:"100%",alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,border:"1px solid #4438F5",background:"#ffffff",fontSize:13,fontWeight:600,color:"#4438F5",cursor:"pointer"},cardAddedButton:{display:"inline-flex",height:36,width:"100%",alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,border:"1px solid #EAE7FF",background:"#EDE9FE",fontSize:13,fontWeight:600,color:"#4438F5",cursor:"pointer"},showMore:{marginTop:28,display:"inline-flex",alignItems:"center",gap:8,fontSize:14,fontWeight:600,color:"#5B2CF4",background:"none",border:"none",cursor:"pointer"},cartSection:{display:"flex",width:"100%",flexDirection:"column",borderRadius:12,border:"1px solid #5B2CF4",background:"#F5F1FF",padding:28,fontFamily:"Inter, sans-serif",boxShadow:"0 1px 4px rgba(16,24,40,0.04)"},cartHeaderRow:{display:"flex",alignItems:"center",gap:12},cartTitle:{fontSize:18,fontWeight:700,color:"#1F2937",margin:0},cartBadge:{display:"inline-flex",height:24,alignItems:"center",borderRadius:9999,background:"#EDE7FF",padding:"0 12px",fontSize:12,fontWeight:600,color:"#5B2CF4",whiteSpace:"nowrap"},cartDescription:{marginTop:4,fontSize:13,color:"#667085"},cartBody:{marginTop:24,minHeight:280,flex:"1 1 0%",overflow:"hidden"},cartList:{maxHeight:420,overflowY:"auto",paddingRight:8,display:"flex",flexDirection:"column",gap:16},cartItem:{display:"flex",flexDirection:"column",borderRadius:10,border:"1px solid #EAECF0",background:"#ffffff",padding:16},cartItemTop:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:8},cartItemTopLeft:{display:"flex",alignItems:"center",gap:8,minWidth:0},cartCheckbox:{display:"inline-flex",height:18,width:18,flexShrink:0,alignItems:"center",justifyContent:"center",borderRadius:4,background:"#4438F5",color:"#ffffff"},cartItemName:{fontSize:14,fontWeight:600,color:"#1F2937",margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},cartItemIcons:{display:"flex",alignItems:"center",gap:10,flexShrink:0,color:"#98A2B3"},cartItemDescription:{marginTop:8,fontSize:13,color:"#667085"},cartItemDate:{marginTop:8,fontSize:12,color:"#98A2B3"},proceedButton:{marginTop:24,display:"inline-flex",height:44,width:"100%",alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,background:"#4438F5",fontSize:15,fontWeight:600,color:"#ffffff",border:"none",boxShadow:"0 1px 2px rgba(16,24,40,0.08)",cursor:"pointer"}};function o(){return i.jsx("div",e.__assign({style:r.page},{children:i.jsxs("main",e.__assign({style:r.main},{children:[i.jsxs("section",e.__assign({style:r.headerSection},{children:[i.jsxs("div",e.__assign({style:r.intro},{children:[i.jsx("h1",e.__assign({style:r.title},{children:"Add Guidelines"})),i.jsx("p",e.__assign({style:r.description},{children:"Add guidelines that shape how your agent behaves, responds, and interprets."})),i.jsxs("button",e.__assign({type:"button",style:r.debugLink},{children:[i.jsx("span",{children:"Know more about debug mode"}),i.jsx(t.CircleHelp,{size:18,strokeWidth:2})]}))]})),i.jsxs("button",e.__assign({type:"button",style:r.addButton},{children:[i.jsx(t.Plus,{size:20,strokeWidth:2.4}),i.jsx("span",{children:"Add Guideline"})]}))]})),i.jsxs("section",e.__assign({style:r.bodySection},{children:[i.jsxs("section",e.__assign({style:r.librarySection},{children:[i.jsxs("div",e.__assign({style:r.libraryTabs},{children:[i.jsxs("button",e.__assign({type:"button",style:e.__assign(e.__assign({},r.tab),r.tabActive)},{children:[i.jsx(t.UserCheck,{size:18,strokeWidth:2}),i.jsx("span",{children:"Saved"})]})),i.jsxs("button",e.__assign({type:"button",style:r.tab},{children:[i.jsx(t.Clock3,{size:18,strokeWidth:2}),i.jsx("span",{children:"Recently used"})]})),i.jsxs("button",e.__assign({type:"button",style:r.tab},{children:[i.jsx(t.ShoppingBag,{size:18,strokeWidth:2}),i.jsx("span",{children:"Marketplace"})]}))]})),i.jsx("div",e.__assign({style:r.libraryGrid},{children:n.map(function(n){return i.jsxs("div",e.__assign({style:r.card},{children:[i.jsxs("div",e.__assign({style:r.cardTop},{children:[i.jsxs("div",e.__assign({style:r.cardTopLeft},{children:[i.jsx(t.BookOpen,{size:18,strokeWidth:2,color:"#6D5BFF"}),i.jsx("p",e.__assign({style:r.cardTitle},{children:n.name}))]})),i.jsxs("div",e.__assign({style:r.cardTopIcons},{children:[i.jsx(t.Eye,{size:16,strokeWidth:2}),i.jsx(t.MoreVertical,{size:16,strokeWidth:2}),i.jsx(t.UserCheck,{size:16,strokeWidth:2})]}))]})),i.jsx("p",e.__assign({style:r.cardDescription},{children:n.description})),i.jsx("p",e.__assign({style:r.cardDate},{children:n.addedOn})),i.jsx("div",e.__assign({style:r.cardActions},{children:n.inCart?i.jsxs("button",e.__assign({type:"button",style:r.cardAddedButton},{children:[i.jsx(t.Check,{size:16,strokeWidth:2.4}),i.jsx("span",{children:"Added to Cart"})]})):i.jsxs("button",e.__assign({type:"button",style:r.cardAddButton},{children:[i.jsx(t.Plus,{size:16,strokeWidth:2.4}),i.jsx("span",{children:"Add to Cart"})]}))}))]}),n.id)})})),i.jsxs("button",e.__assign({type:"button",style:r.showMore},{children:[i.jsx("span",{children:"Show more guidelines (12)"}),i.jsx(t.ChevronDown,{size:16,strokeWidth:2.4})]}))]})),i.jsxs("section",e.__assign({style:r.cartSection},{children:[i.jsxs("div",e.__assign({style:r.cartHeaderRow},{children:[i.jsx("p",e.__assign({style:r.cartTitle},{children:"Guideline Cart"})),i.jsx("span",e.__assign({style:r.cartBadge},{children:"1 Selected"}))]})),i.jsx("p",e.__assign({style:r.cartDescription},{children:"Guidelines added to your current session"})),i.jsx("div",e.__assign({style:r.cartBody},{children:i.jsx("div",e.__assign({style:r.cartList},{children:s.map(function(n){return i.jsxs("div",e.__assign({style:r.cartItem},{children:[i.jsxs("div",e.__assign({style:r.cartItemTop},{children:[i.jsxs("div",e.__assign({style:r.cartItemTopLeft},{children:[i.jsx("span",e.__assign({style:r.cartCheckbox},{children:i.jsx(t.Check,{size:12,strokeWidth:3})})),i.jsx("p",e.__assign({style:r.cartItemName},{children:n.name}))]})),i.jsxs("div",e.__assign({style:r.cartItemIcons},{children:[i.jsx(t.Eye,{size:16,strokeWidth:2}),i.jsx(t.X,{size:16,strokeWidth:2})]}))]})),i.jsx("p",e.__assign({style:r.cartItemDescription},{children:n.description})),i.jsx("p",e.__assign({style:r.cartItemDate},{children:n.addedOn}))]}),n.id)})}))})),i.jsx("button",e.__assign({type:"button",style:r.proceedButton},{children:i.jsx("span",{children:"Proceed with Selected"})}))]}))]}))]}))}))}exports.GuidelineLandingPage=o,exports.default=o;
2
+ //# sourceMappingURL=GuidelinesLandingPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuidelinesLandingPage.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/dist/cjs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./features/InstantLearning/InstantLearning.js"),t=require("./features/WtaWnta/WtaWnta.js"),r=require("./features/DocumentLearning/DocumentLearning.js"),o=require("./features/IL-OTJ/ILOTJ.js"),n=require("./features/IL-OTJ/_components/atoms/Button/Button.js"),a=require("./features/IL-OTJ/_components/atoms/Dropdown/Dropdown.js"),s=require("./features/IL-OTJ/_components/atoms/Toggle/Toggle.js"),i=require("./features/IL-OTJ/_components/atoms/Textarea/Textarea.js"),p=require("./features/IL-OTJ/_components/molecules/Condition/ConditionList.js"),u=require("./features/IL-OTJ/_components/molecules/Sections/SectionWrapper.js"),c=require("./features/IL-OTJ/_components/molecules/SeperationRow/SeparationRow.js"),T=require("./features/IL-OTJ/_components/organisms/ConfigSection/ConfigSection.js"),m=require("./features/IL-OTJ/_components/organisms/TextSection/TextSection.js"),x=require("./features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js"),f=require("./features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js"),g=require("./features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.js"),l=require("./features/IL-OTJ/_components/templates/Testing/Testing.js"),L=require("./features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js"),d=require("./features/IL-OTJ/helpers/utils.js"),I=require("./features/IL-OTJ/store/CitationsContext.js"),S=require("./features/IL-OTJ/ILOTJTest.js"),j=require("./features/LearningManagement/LearningManagement.js"),O=require("./features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js");require("./features/LearningManagement/LearningManagementTest.js"),exports.InstantLearning=e.default,exports.WtaWnta=t.default,exports.BookLearning=r.default,exports.ILOTJ=o.default,exports.Button=n.Button,exports.Dropdown=a.Dropdown,exports.Toggle=s.Toggle,exports.Textarea=i.Textarea,exports.ConditionList=p.ConditionList,exports.SectionWrapper=u.SectionWrapper,exports.SeparationRow=c.SeparationRow,exports.ConfigSection=T.ConfigSection,exports.TextSection=m.TextSection,exports.ScopeSection=x.ScopeSection,exports.ConditionSection=f.ConditionSection,exports.TrafficManagerTemplate=g.TrafficManagerTemplate,exports.Testing=l.Testing,Object.defineProperty(exports,"TemplateList",{enumerable:!0,get:function(){return L.TemplateList}}),exports.TemplateMap=L.TemplateMap,exports.extractAndParseResponse=d.extractAndParseResponse,exports.extractAndParseWithProperty=d.extractAndParseWithProperty,exports.extractTextFromChildren=d.extractTextFromChildren,exports.extractVariantIds=d.extractVariantIds,exports.parseValidationData=d.parseValidationData,exports.useHeaderObserver=d.useHeaderObserver,exports.CitationProvider=I.CitationProvider,exports.useCitations=I.useCitations,exports.dummyDat=S.dummyDat,exports.getVariantInfo=S.getVariantInfo,exports.LearningManagement=j.default,exports.TeachMePlugin=O.default,exports.TemplateRegistry=O.TemplateRegistry;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./features/InstantLearning/InstantLearning.js"),t=require("./features/WtaWnta/WtaWnta.js"),r=require("./features/DocumentLearning/DocumentLearning.js"),n=require("./features/IL-OTJ/ILOTJ.js"),a=require("./features/IL-OTJ/_components/atoms/Button/Button.js"),o=require("./features/IL-OTJ/_components/atoms/Dropdown/Dropdown.js"),s=require("./features/IL-OTJ/_components/atoms/Toggle/Toggle.js"),i=require("./features/IL-OTJ/_components/atoms/Textarea/Textarea.js"),p=require("./features/IL-OTJ/_components/molecules/Condition/ConditionList.js"),u=require("./features/IL-OTJ/_components/molecules/Sections/SectionWrapper.js"),c=require("./features/IL-OTJ/_components/molecules/SeperationRow/SeparationRow.js"),T=require("./features/IL-OTJ/_components/organisms/ConfigSection/ConfigSection.js"),g=require("./features/IL-OTJ/_components/organisms/TextSection/TextSection.js"),m=require("./features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js"),x=require("./features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js"),f=require("./features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.js"),l=require("./features/IL-OTJ/_components/templates/Testing/Testing.js"),d=require("./features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js"),L=require("./features/IL-OTJ/helpers/utils.js"),I=require("./features/IL-OTJ/store/CitationsContext.js"),S=require("./features/IL-OTJ/ILOTJTest.js"),j=require("./features/LearningManagement/LearningManagement.js"),O=require("./features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js"),q=require("./features/LSCGuidelinesCart/GuidelinesLandingPage.js");require("./features/LearningManagement/LearningManagementTest.js"),exports.InstantLearning=e.default,exports.WtaWnta=t.default,exports.BookLearning=r.default,exports.ILOTJ=n.default,exports.Button=a.Button,exports.Dropdown=o.Dropdown,exports.Toggle=s.Toggle,exports.Textarea=i.Textarea,exports.ConditionList=p.ConditionList,exports.SectionWrapper=u.SectionWrapper,exports.SeparationRow=c.SeparationRow,exports.ConfigSection=T.ConfigSection,exports.TextSection=g.TextSection,exports.ScopeSection=m.ScopeSection,exports.ConditionSection=x.ConditionSection,exports.TrafficManagerTemplate=f.TrafficManagerTemplate,exports.Testing=l.Testing,Object.defineProperty(exports,"TemplateList",{enumerable:!0,get:function(){return d.TemplateList}}),exports.TemplateMap=d.TemplateMap,exports.extractAndParseResponse=L.extractAndParseResponse,exports.extractAndParseWithProperty=L.extractAndParseWithProperty,exports.extractTextFromChildren=L.extractTextFromChildren,exports.extractVariantIds=L.extractVariantIds,exports.parseValidationData=L.parseValidationData,exports.useHeaderObserver=L.useHeaderObserver,exports.CitationProvider=I.CitationProvider,exports.useCitations=I.useCitations,exports.dummyDat=S.dummyDat,exports.getVariantInfo=S.getVariantInfo,exports.LearningManagement=j.default,exports.TeachMePlugin=O.default,exports.TemplateRegistry=O.TemplateRegistry,exports.GuidelineLandingPage=q.GuidelineLandingPage;
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ import{__assign as e}from"tslib";import{jsx as t,jsxs as i}from"react/jsx-runtime";import{CircleHelp as n,Plus as r,UserCheck as o,Clock3 as d,ShoppingBag as a,BookOpen as l,Eye as s,MoreVertical as c,Check as p,ChevronDown as h,X as f}from"lucide-react";var g=[{id:"1",name:"Agent Guidelines",description:"No description available",addedOn:"Added on - 5:15 PM | 12/06/26",inCart:!0},{id:"2",name:"Agent Guideline 2",description:"Define the agent's role using only four elements: agent name, one-line job description, primary responsibility, and...",addedOn:"Added on - 5:15 PM | 18/06/26",inCart:!1},{id:"3",name:"Guideline 2",description:"Add only information directly relevant to the user's request. Do not introduce assumptions, unrelated context, or unsu...",addedOn:"Added on - 5:15 PM | 12/04/26",inCart:!1},{id:"4",name:"Response Format Guide",description:"Structure answers with clear headings, concise paragraphs, and bullet points when appropriate. Prioritize readability a...",addedOn:"Added on - 5:15 PM | 22/03/26",inCart:!1}],u=[{id:"1",name:"Agent Guidelines",description:"No description available",addedOn:"Added on - 4:15 PM | 12/03/26"}],m={page:{height:"100%",width:"100%",background:"#ffffff",fontFamily:"Inter, sans-serif"},main:{height:"100%",overflow:"auto",padding:40},headerSection:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:24,justifyContent:"space-between",alignItems:"flex-start"},intro:{minWidth:280,flex:"1 1 0%"},title:{fontSize:30,fontWeight:700,lineHeight:"38px",color:"#6D35F2",margin:0},description:{marginTop:8,fontSize:19,lineHeight:"28px",color:"#1F2937"},debugLink:{marginTop:12,display:"inline-flex",alignItems:"center",gap:8,fontSize:14,fontWeight:500,color:"#53657D",background:"none",border:"none",padding:0,cursor:"pointer"},addButton:{display:"inline-flex",height:44,minWidth:210,flexShrink:0,alignItems:"center",justifyContent:"center",gap:12,borderRadius:6,background:"#4438F5",padding:"0 20px",fontSize:15,fontWeight:600,color:"#ffffff",border:"none",boxShadow:"0 1px 2px rgba(16,24,40,0.08)",cursor:"pointer",marginLeft:"auto"},bodySection:{marginTop:48,display:"grid",width:"100%",gridTemplateColumns:"minmax(0,1fr) minmax(300px,360px)",alignItems:"start",gap:24},librarySection:{minWidth:0},libraryTabs:{display:"flex",borderBottom:"1px solid #EAECF0"},tab:{position:"relative",display:"inline-flex",height:40,alignItems:"center",gap:8,padding:"0 16px",fontSize:14,fontWeight:500,background:"none",border:"none",cursor:"pointer",color:"#B5BDC8"},tabActive:{color:"#1F2937",boxShadow:"inset 0 -3px 0 0 #6D5BFF"},libraryGrid:{marginTop:24,display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:20},card:{display:"flex",flexDirection:"column",borderRadius:10,border:"1px solid #EAECF0",background:"#ffffff",padding:20,boxShadow:"0 1px 2px rgba(16,24,40,0.04)"},cardTop:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:8},cardTopLeft:{display:"flex",alignItems:"center",gap:8,minWidth:0},cardTitle:{fontSize:15,fontWeight:600,lineHeight:"24px",color:"#1F2937",margin:0},cardTopIcons:{display:"flex",alignItems:"center",gap:10,flexShrink:0,color:"#98A2B3"},cardDescription:{marginTop:8,fontSize:13,lineHeight:"19px",color:"#667085"},cardDate:{marginTop:12,fontSize:12,color:"#98A2B3"},cardActions:{marginTop:16},cardAddButton:{display:"inline-flex",height:36,width:"100%",alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,border:"1px solid #4438F5",background:"#ffffff",fontSize:13,fontWeight:600,color:"#4438F5",cursor:"pointer"},cardAddedButton:{display:"inline-flex",height:36,width:"100%",alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,border:"1px solid #EAE7FF",background:"#EDE9FE",fontSize:13,fontWeight:600,color:"#4438F5",cursor:"pointer"},showMore:{marginTop:28,display:"inline-flex",alignItems:"center",gap:8,fontSize:14,fontWeight:600,color:"#5B2CF4",background:"none",border:"none",cursor:"pointer"},cartSection:{display:"flex",width:"100%",flexDirection:"column",borderRadius:12,border:"1px solid #5B2CF4",background:"#F5F1FF",padding:28,fontFamily:"Inter, sans-serif",boxShadow:"0 1px 4px rgba(16,24,40,0.04)"},cartHeaderRow:{display:"flex",alignItems:"center",gap:12},cartTitle:{fontSize:18,fontWeight:700,color:"#1F2937",margin:0},cartBadge:{display:"inline-flex",height:24,alignItems:"center",borderRadius:9999,background:"#EDE7FF",padding:"0 12px",fontSize:12,fontWeight:600,color:"#5B2CF4",whiteSpace:"nowrap"},cartDescription:{marginTop:4,fontSize:13,color:"#667085"},cartBody:{marginTop:24,minHeight:280,flex:"1 1 0%",overflow:"hidden"},cartList:{maxHeight:420,overflowY:"auto",paddingRight:8,display:"flex",flexDirection:"column",gap:16},cartItem:{display:"flex",flexDirection:"column",borderRadius:10,border:"1px solid #EAECF0",background:"#ffffff",padding:16},cartItemTop:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:8},cartItemTopLeft:{display:"flex",alignItems:"center",gap:8,minWidth:0},cartCheckbox:{display:"inline-flex",height:18,width:18,flexShrink:0,alignItems:"center",justifyContent:"center",borderRadius:4,background:"#4438F5",color:"#ffffff"},cartItemName:{fontSize:14,fontWeight:600,color:"#1F2937",margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},cartItemIcons:{display:"flex",alignItems:"center",gap:10,flexShrink:0,color:"#98A2B3"},cartItemDescription:{marginTop:8,fontSize:13,color:"#667085"},cartItemDate:{marginTop:8,fontSize:12,color:"#98A2B3"},proceedButton:{marginTop:24,display:"inline-flex",height:44,width:"100%",alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,background:"#4438F5",fontSize:15,fontWeight:600,color:"#ffffff",border:"none",boxShadow:"0 1px 2px rgba(16,24,40,0.08)",cursor:"pointer"}};function y(){return t("div",e({style:m.page},{children:i("main",e({style:m.main},{children:[i("section",e({style:m.headerSection},{children:[i("div",e({style:m.intro},{children:[t("h1",e({style:m.title},{children:"Add Guidelines"})),t("p",e({style:m.description},{children:"Add guidelines that shape how your agent behaves, responds, and interprets."})),i("button",e({type:"button",style:m.debugLink},{children:[t("span",{children:"Know more about debug mode"}),t(n,{size:18,strokeWidth:2})]}))]})),i("button",e({type:"button",style:m.addButton},{children:[t(r,{size:20,strokeWidth:2.4}),t("span",{children:"Add Guideline"})]}))]})),i("section",e({style:m.bodySection},{children:[i("section",e({style:m.librarySection},{children:[i("div",e({style:m.libraryTabs},{children:[i("button",e({type:"button",style:e(e({},m.tab),m.tabActive)},{children:[t(o,{size:18,strokeWidth:2}),t("span",{children:"Saved"})]})),i("button",e({type:"button",style:m.tab},{children:[t(d,{size:18,strokeWidth:2}),t("span",{children:"Recently used"})]})),i("button",e({type:"button",style:m.tab},{children:[t(a,{size:18,strokeWidth:2}),t("span",{children:"Marketplace"})]}))]})),t("div",e({style:m.libraryGrid},{children:g.map(function(n){return i("div",e({style:m.card},{children:[i("div",e({style:m.cardTop},{children:[i("div",e({style:m.cardTopLeft},{children:[t(l,{size:18,strokeWidth:2,color:"#6D5BFF"}),t("p",e({style:m.cardTitle},{children:n.name}))]})),i("div",e({style:m.cardTopIcons},{children:[t(s,{size:16,strokeWidth:2}),t(c,{size:16,strokeWidth:2}),t(o,{size:16,strokeWidth:2})]}))]})),t("p",e({style:m.cardDescription},{children:n.description})),t("p",e({style:m.cardDate},{children:n.addedOn})),t("div",e({style:m.cardActions},{children:n.inCart?i("button",e({type:"button",style:m.cardAddedButton},{children:[t(p,{size:16,strokeWidth:2.4}),t("span",{children:"Added to Cart"})]})):i("button",e({type:"button",style:m.cardAddButton},{children:[t(r,{size:16,strokeWidth:2.4}),t("span",{children:"Add to Cart"})]}))}))]}),n.id)})})),i("button",e({type:"button",style:m.showMore},{children:[t("span",{children:"Show more guidelines (12)"}),t(h,{size:16,strokeWidth:2.4})]}))]})),i("section",e({style:m.cartSection},{children:[i("div",e({style:m.cartHeaderRow},{children:[t("p",e({style:m.cartTitle},{children:"Guideline Cart"})),t("span",e({style:m.cartBadge},{children:"1 Selected"}))]})),t("p",e({style:m.cartDescription},{children:"Guidelines added to your current session"})),t("div",e({style:m.cartBody},{children:t("div",e({style:m.cartList},{children:u.map(function(n){return i("div",e({style:m.cartItem},{children:[i("div",e({style:m.cartItemTop},{children:[i("div",e({style:m.cartItemTopLeft},{children:[t("span",e({style:m.cartCheckbox},{children:t(p,{size:12,strokeWidth:3})})),t("p",e({style:m.cartItemName},{children:n.name}))]})),i("div",e({style:m.cartItemIcons},{children:[t(s,{size:16,strokeWidth:2}),t(f,{size:16,strokeWidth:2})]}))]})),t("p",e({style:m.cartItemDescription},{children:n.description})),t("p",e({style:m.cartItemDate},{children:n.addedOn}))]}),n.id)})}))})),t("button",e({type:"button",style:m.proceedButton},{children:t("span",{children:"Proceed with Selected"})}))]}))]}))]}))}))}export{y as GuidelineLandingPage,y as default};
2
+ //# sourceMappingURL=GuidelinesLandingPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuidelinesLandingPage.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
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 TeachMePlugin,TemplateRegistry}from"./features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js";import"./features/LearningManagement/LearningManagementTest.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 TeachMePlugin,TemplateRegistry}from"./features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js";export{GuidelineLandingPage}from"./features/LSCGuidelinesCart/GuidelinesLandingPage.js";import"./features/LearningManagement/LearningManagementTest.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -17,5 +17,6 @@ export * from '../store/CitationsContext';
17
17
  export * from '../ILOTJTest';
18
18
  export * from '../../LearningManagement/LearningManagement';
19
19
  export * from '../../IL-OTJ/ValueTypeWrappers/TeachMePlugin';
20
+ export * from '../../LSCGuidelinesCart/GuidelinesLandingPage';
20
21
  export * from '../../../../src/features/LearningManagement/LearningManagementTest';
21
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/_components/index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AAKjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAI1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAI7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,kBAAkB,CAAA;AAChC,cAAc,2BAA2B,CAAA;AACzC,cAAc,cAAc,CAAA;AAC5B,cAAc,6CAA6C,CAAA;AAC3D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,oEAAoE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/_components/index.ts"],"names":[],"mappings":"AAGA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AAKjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAI1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAI7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,kBAAkB,CAAA;AAChC,cAAc,2BAA2B,CAAA;AACzC,cAAc,cAAc,CAAA;AAC5B,cAAc,6CAA6C,CAAA;AAC3D,cAAc,8CAA8C,CAAA;AAC5D,cAAc,+CAA+C,CAAA;AAC7D,cAAc,oEAAoE,CAAA"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare function GuidelineLandingPage(): import("react").JSX.Element;
3
+ export default GuidelineLandingPage;
4
+ //# sourceMappingURL=GuidelinesLandingPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuidelinesLandingPage.d.ts","sourceRoot":"","sources":["../../../../../src/features/LSCGuidelinesCart/GuidelinesLandingPage.tsx"],"names":[],"mappings":";AAmZA,wBAAgB,oBAAoB,gCA0HnC;AAED,eAAe,oBAAoB,CAAC"}
@@ -5,4 +5,5 @@ export { default as ILOTJ } from "./features/IL-OTJ/ILOTJ";
5
5
  export * from "./features/IL-OTJ/_components/index";
6
6
  export { default as LearningManagement } from "./features/LearningManagement/LearningManagement";
7
7
  export { default as TeachMePlugin } from "./features/IL-OTJ/ValueTypeWrappers/TeachMePlugin";
8
+ export { default as GuidelineLandingPage } from "./features/LSCGuidelinesCart/GuidelinesLandingPage";
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAC1D,cAAc,qCAAqC,CAAA;AACnD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAC,MAAM,kDAAkD,CAAC;AAChG,OAAO,EAAE,OAAO,IAAI,aAAa,EAAC,MAAM,mDAAmD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAC1D,cAAc,qCAAqC,CAAA;AACnD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAC,MAAM,kDAAkD,CAAC;AAChG,OAAO,EAAE,OAAO,IAAI,aAAa,EAAC,MAAM,mDAAmD,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,oDAAoD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/instant-learning",
3
- "version": "1.3.0-alpha.89",
3
+ "version": "1.3.0-alpha.90",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -94,6 +94,11 @@
94
94
  "import": "./dist/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js",
95
95
  "require": "./dist/cjs/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js",
96
96
  "types": "./dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.d.ts"
97
+ },
98
+ "./GuidelineLandingPage": {
99
+ "import": "./dist/features/LSCGuidelinesCart/GuidelinesLandingPage.js",
100
+ "require": "./dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.js",
101
+ "types": "./dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.d.ts"
97
102
  }
98
103
  },
99
104
  "devDependencies": {