@e-llm-studio/instant-learning 0.0.99 → 0.0.100
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/dist/cjs/features/InstantLearning/_components/ChatComponent.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/MessageRendering.js +1 -1
- package/dist/features/InstantLearning/_components/ChatComponent.js +1 -1
- package/dist/features/InstantLearning/_components/MessageRendering.js +1 -1
- package/dist/types/src/features/InstantLearning/_components/ChatComponent.d.ts.map +1 -1
- package/dist/types/src/features/InstantLearning/_components/MessageRendering.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__spreadArray as e,__assign as n,__rest as r}from"../../../node_modules/tslib/tslib.es6.mjs.js";import{jsx as i,jsxs as t,Fragment as o}from"react/jsx-runtime";import l,{useState as a,useEffect as s,useCallback as c,useRef as d,useMemo as u}from"react";import{ReactMarkdown as g}from"../../../node_modules/react-markdown/lib/react-markdown.js";import f from"../../../node_modules/rehype-raw/lib/index.js";var p=function(e){var r=e.label,o=e.onToggle,l=a(!1),c=l[0],u=l[1],g=d(null);return s((function(){var e=g.current;e&&c&&(e.style.boxShadow="0 2px 8px rgba(0, 0, 0, 0.1)",e.style.transform="scale(1)",e.style.backgroundColor="#E8F5E9",e.style.color="#2E7D32")}),[c]),t("span",n({ref:g,onClick:function(){var e=!c;console.log("newstate: ",e),u(e),o(r,e)},style:{cursor:"pointer",backgroundColor:c?"#E8F5E9":"#fff",color:c?"#2E7D32":"#000000de",transition:"all 0.2s ease-in-out",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)",transform:"scale(1)"},onMouseEnter:function(e){c||(e.currentTarget.style.boxShadow="0 4px 12px rgba(30, 136, 229, 0.3)",e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.backgroundColor="#f0f7ff",e.currentTarget.style.color="#1E88E5")},onMouseLeave:function(e){c||(e.currentTarget.style.boxShadow="0 2px 4px rgba(0, 0, 0, 0.2)",e.currentTarget.style.transform="scale(1)",e.currentTarget.style.backgroundColor="#fbfaff",e.currentTarget.style.color="#000000de")}},{children:[i("span",n({style:{fontWeight:"bold",fontSize:"16px",transition:"all 0.3s ease",transform:c?"scale(1.2)":"scale(1)",opacity:c?1:.9,paddingLeft:"0.25rem",paddingRight:"0.25rem"}},{children:c?"✓":"+"})),i("span",{children:r})]}))};function m(e){return"string"==typeof e?e:Array.isArray(e)?e.map(m).join(""):"object"==typeof e&&null!==e&&"props"in e?m(e.props.children):""}var y=function(e){var r=e.label,o=e.onToggle,l=e.isSelected,c=void 0!==l&&l,u=a(c),g=u[0],f=u[1],p=d(null);s((function(){f(c)}),[c]);return s((function(){var e=p.current;e&&g&&(e.style.boxShadow="0 2px 8px rgba(0, 0, 0, 0.1)",e.style.transform="scale(1)",e.style.backgroundColor="#E8F5E9",e.style.color="#2E7D32")}),[g]),t("span",n({ref:p,onClick:function(){var e=!g;console.log("newstate: ",e),f(e),o(m(r),e)},style:{cursor:"pointer",backgroundColor:g?"#E8F5E9":"#fff",color:g?"#2E7D32":"#000000de",transition:"all 0.2s ease-in-out",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)",transform:"scale(1)"},onMouseEnter:function(e){g||(e.currentTarget.style.boxShadow="0 4px 12px rgba(30, 136, 229, 0.3)",e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.backgroundColor="#f0f7ff",e.currentTarget.style.color="#1E88E5")},onMouseLeave:function(e){g||(e.currentTarget.style.boxShadow="0 2px 4px rgba(0, 0, 0, 0.2)",e.currentTarget.style.transform="scale(1)",e.currentTarget.style.backgroundColor="#fbfaff",e.currentTarget.style.color="#000000de")}},{children:[i("span",n({style:{fontWeight:"bold",fontSize:"16px",transition:"all 0.3s ease",transform:g?"scale(1.2)":"scale(1)",opacity:g?1:.9,paddingLeft:"0.25rem",paddingRight:"0.25rem"}},{children:g?"✓":"+"})),i("span",{children:r})]}))},h=function(h){var b=h.index,v=h.content,x=h.messages,w=h.handleStream,k=h.scrollToBottom,S=a([]),A=S[0],E=S[1],T=a(!1),C=T[0],j=T[1],W=a(!1),L=W[0],F=W[1],D=a([]),N=D[0],M=D[1],R=a(!1),z=R[0],O=R[1],B=a(!1),P=B[0],I=B[1],J=a({}),K=J[0],U=J[1],Y=a([]),Z=Y[0],_=Y[1],H=a([]),q=H[0],G=H[1],Q=a(v),V=Q[0],X=Q[1];s((function(){L||X(v)}),[v,L]);var $=c((function(n,r){var i=Array.isArray(n)?n[0]:n;j(!0),E((function(n){return r?n.includes(i)?n:e(e([],n,!0),[i],!1):n.filter((function(e){return e!==i}))}))}),[]),ee=c((function(n,r){var i=Array.isArray(n)?n[0]:n;O(!0),M((function(n){return r?n.includes(i)?n:e(e([],n,!0),[i],!1):n.filter((function(e){return e!==i}))})),null==k||k()}),[k]),ne=c((function(e,r,i){var t=Array.isArray(r)?r[0]:r;te[e]?(U((function(r){var o=n({},r);Object.keys(te).forEach((function(r){r!==e&&o[r]&&(o[r]=n(n({},o[r]),{selected:[],showSelected:!1}))}));var l=o[e]||{selected:[],showSelected:!1,submitted:!1},a=i?[t]:[];return o[e]=n(n({},l),{selected:a,showSelected:a.length>0}),o})),null==k||k()):console.error("Configuration not found for tagType: ".concat(e))}),[k]),re=c((function(e){return K[e]||{selected:[],showSelected:!1,submitted:!1}}),[K]),ie=c((function(e,r){U((function(i){var t;return n(n({},i),((t={})[e]=n(n({},i[e]||{selected:[],showSelected:!1,submitted:!1}),r),t))}))}),[]),te={deletesimilarlearning:{group:"similarLearning",action:"delete",displayName:"Delete similar learning"},mergesimilarlearning:{group:"similarLearning",action:"merge",displayName:"Merge similar learning"},editsimilarlearning:{group:"similarLearning",action:"edit",displayName:"Edit similar learning"},deletesimilarlearnings:{group:"similarLearnings",action:"delete",displayName:"Delete similar learnings"},mergesimilarlearnings:{group:"similarLearnings",action:"merge",displayName:"Merge similar learnings"},editsimilarlearnings:{group:"similarLearnings",action:"edit",displayName:"Edit similar learnings"},deleteconflictinglearning:{group:"conflictingLearning",action:"delete",displayName:"Delete conflicting learning"},editconflictinglearning:{group:"conflictingLearning",action:"edit",displayName:"Edit conflicting learning"},deleteconflictinglearnings:{group:"conflictingLearnings",action:"delete",displayName:"Delete conflicting learnings"},editconflictinglearnings:{group:"conflictingLearnings",action:"edit",displayName:"Edit conflicting learnings"}},oe=c((function(e){var o=function(o){o.node;var l=r(o,["node"]),a=l.label||l.children||"Unknown label",s=Array.isArray(a)?a[0]:a,c=re(e),d=Object.keys(te).some((function(n){return n!==e&&re(n).submitted}));return c.submitted?c.selected.includes(s)?t("span",n({style:{backgroundColor:"#E8F5E9",color:"#2E7D32",padding:"4px 8px",borderRadius:"4px",fontWeight:"500",display:"inline-block",margin:"2px"}},{children:["✓ ",a]})):null:d?null:i(y,{label:a,isSelected:c.selected.includes(s),onToggle:function(n,r){ne(e,n,r)}})};return o.isLearningTag=!0,o}),[re,ne]),le=c((function(e){return Object.keys(te).some((function(e){return re(e).submitted}))?l.Children.toArray(e).filter((function(e){if(!e||"object"!=typeof e)return!0;var n=function(e){return!!e&&(!(!e.type||!e.type.isLearningTag)||!(!e.props||!e.props.children)&&(Array.isArray(e.props.children)?e.props.children:[e.props.children]).some((function(e){return n(e)})))};if(!n(e)){var r=m(e).trim();return!(!r||0===r.length)}for(var i=function(n,r){var i=re(n);if(i.submitted&&i.selected.length>0){var t=m(e);return{value:i.selected.some((function(e){return t.includes(e)}))}}},t=0,o=Object.entries(te);t<o.length;t++){var l=o[t],a=l[0];l[1];var s=i(a);if("object"==typeof s)return s.value}return!1})):l.Children.toArray(e)}),[re]),ae=d(v);s((function(){ae.current!==v&&(U({}),ae.current=v)}),[v]);var se=u((function(){return{img:function(e){e.node;var t=r(e,["node"]);return i("img",n({},t,{style:{height:"100%",width:"100%",objectFit:"contain"},alt:(null==t?void 0:t.alt)||"",className:"w-full sm:max-w-lg md:max-w-2xl lg:max-w-4xl mx-auto"}))},p:function(e){e.node;var t=r(e,["node"]);return i("p",n({},t,{style:{maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"block",fontSize:"1rem",lineHeight:"1.625rem",marginBottom:"1rem",marginTop:"10px"}},{children:null==t?void 0:t.children}))},code:function(e){e.node;var t=r(e,["node"]);return i("span",n({},t,{style:{maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"inline-flex",fontSize:"1rem",lineHeight:"1.625rem"}},{children:null==t?void 0:t.children}))},ol:function(e){e.node;var t=r(e,["node"]),o=le(null==t?void 0:t.children);return i("ol",n({},t,{style:{display:"flex",flexDirection:"column",gap:"1rem",listStyle:"decimal",paddingLeft:"2.5rem"}},{children:o}))},ul:function(e){e.node;var t=r(e,["node"]),o=le(null==t?void 0:t.children);return i("ul",n({},t,{style:{display:"flex",flexDirection:"column",gap:"1rem",listStyle:"decimal",paddingLeft:"2.5rem"}},{children:o}))},wta:function(e){e.node;var o=r(e,["node"]);o.key||o["data-key"];var l=o.label||o.children||"Unknown label",a=Array.isArray(l)?l[0]:l;return L?A.includes(a)?t("span",n({style:{backgroundColor:"#E8F5E9",color:"#2E7D32",padding:"4px 8px",borderRadius:"4px",fontWeight:"500",display:"inline-block",margin:"2px"}},{children:["✓ ",l]})):null:i(p,{label:l,onToggle:function(e,n){$(e,n)}})},editwta:function(e){e.node;var o=r(e,["node"]);o.key||o["data-key"];var l=o.label||o.children||"Unknown label",a=Array.isArray(l)?l[0]:l;return P?N.includes(a)?t("span",n({style:{backgroundColor:"#E8F5E9",color:"#2E7D32",padding:"4px 8px",borderRadius:"4px",fontWeight:"500",display:"inline-block",margin:"2px"}},{children:["✓ ",l]})):null:i(y,{label:l,onToggle:function(e,n){ee(e,n)}})},deletesimilarlearning:oe("deletesimilarlearning"),mergesimilarlearning:oe("mergesimilarlearning"),editsimilarlearning:oe("editsimilarlearning"),deletesimilarlearnings:oe("deletesimilarlearnings"),mergesimilarlearnings:oe("mergesimilarlearnings"),editsimilarlearnings:oe("editsimilarlearnings"),deleteconflictinglearning:oe("deleteconflictinglearning"),editconflictinglearning:oe("editconflictinglearning"),deleteconflictinglearnings:oe("deleteconflictinglearnings"),editconflictinglearnings:oe("editconflictinglearnings")}}),[v,x,q,K,le,oe]);!function(e,n){s((function(){for(var r,i=0,t=(null===(r=e[e.length-1])||void 0===r?void 0:r.orchestratorAndAgentsMessages)||[];i<t.length;i++){for(var o=t[i],l=(null==o?void 0:o.responsedata)||"",a=/<wta>([\s\S]*?)<\/wta>/gi,s=[],c=void 0;null!==(c=a.exec(l));)console.log("match wta suggestion",c),s.push(c[1]);s.length&&n(s)}}),[e,n])}(x,_);!function(e){s((function(){for(var n,r=0,i=(null===(n=e[e.length-1])||void 0===n?void 0:n.orchestratorAndAgentsMessages)||[];r<i.length;r++){for(var t=i[r],o=(null==t?void 0:t.responsedata)||"",l=/<editwta>([\s\S]*?)<\/editwta>/gi,a=[],s=void 0;null!==(s=l.exec(o));)console.log("match wta suggestion",s),a.push(s[1]);a.length&&G(a)}}),[e,G])}(x);var ce=u((function(){if(!Array.isArray(A)||!Array.isArray(Z))return"";var e=A.map((function(e){return Z.indexOf(e)})).filter((function(e){return-1!==e})).map((function(e){return e+1}));return e.join(" and ")}),[A,Z]),de=u((function(){if(!Array.isArray(N)||!Array.isArray(q))return"";var e=N.map((function(e){var n;return null===(n=q.map((function(e){return null==e?void 0:e.replaceAll("**","")})))||void 0===n?void 0:n.indexOf(e)})).filter((function(e){return-1!==e})).map((function(e){return e+1}));return e.join(" and ")}),[N,q]);return t(o,{children:[i(g,n({components:se,rehypePlugins:[f]},{children:V}),b),i("div",n({style:{display:"flex",maxWidth:"100%"}},{children:i("div",n({style:{width:"100%"}},{children:(null==A?void 0:A.length)>0&&C?t("span",{children:["It looks like you've chosen ",A.length>1?"suggestions":"suggestion"," ",ce,". Would you like me to proceed with them?",i("p",{children:i("button",n({style:{padding:"0.5rem 1rem",margin:"1rem 0rem",backgroundColor:"#4CAF50",color:"white",border:"none",borderRadius:"8px",cursor:"pointer",fontSize:"0.75rem",fontWeight:"500",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.2)",transition:"background-color 0.3s",fontFamily:"Plus Jakarta Sans, sans-serif"},onClick:function(e){var n,r=A.map((function(e){return"<wta>".concat(e,"</wta>")})).join(" "),i=V.replace(/<wta>[\s\S]*?<\/wta>(?:\s*(?:or\s*)?<wta>[\s\S]*?<\/wta>)*/g,r);X(i),F(!0),j(!1),w(new KeyboardEvent("keydown",{key:"Enter"}),!1,"Add when to apply conditions ".concat(null===(n=A.join(" or "))||void 0===n?void 0:n.replace(/\b\d+[A-Z]?\.\s*/g,"")))}},{children:"Yes"}))})]}):i("span",{})}))})),i("div",n({style:{display:"flex",maxWidth:"100%"}},{children:i("div",n({style:{width:"100%"}},{children:(null==N?void 0:N.length)>0&&z?t("span",{children:["It looks like you've chosen ",N.length>1?"options":"option"," ",de,". Would you like me to proceed with them?",i("p",{children:i("button",n({style:{padding:"0.5rem 1rem",margin:"1rem 0rem",backgroundColor:"#4CAF50",color:"white",border:"none",borderRadius:"8px",cursor:"pointer",fontSize:"0.75rem",fontWeight:"500",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.2)",transition:"background-color 0.3s",fontFamily:"Plus Jakarta Sans, sans-serif"},onClick:function(e){var n;w(new KeyboardEvent("keydown",{key:"Enter"}),!1,"".concat(null===(n=N.join(" or "))||void 0===n?void 0:n.replace(/\b\d+[A-Z]?\.\s*/g,""))),O(!1),I(!0)}},{children:"Yes"}))})]}):i("span",{})}))})),function(){var e=Object.entries(K).filter((function(e){e[0];var n=e[1];return n.selected.length>0&&n.showSelected}));if(0===e.length)return null;var r=e[0],o=r[0],l=r[1],a=te[o];return i("div",n({style:{display:"flex",maxWidth:"100%"}},{children:i("div",n({style:{width:"100%"}},{children:t("span",{children:["It looks like you've chosen ",l.selected.length>1?"options":"option"," for ",a.displayName,". Would you like me to proceed with them?",i("p",{children:i("button",n({style:{padding:"0.5rem 1rem",margin:"1rem 0rem",backgroundColor:"#4CAF50",color:"white",border:"none",borderRadius:"8px",cursor:"pointer",fontSize:"0.75rem",fontWeight:"500",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.2)",transition:"background-color 0.3s",fontFamily:"Plus Jakarta Sans, sans-serif"},onClick:function(e){var n;w(new KeyboardEvent("keydown",{key:"Enter"}),!1,"".concat(null===(n=l.selected.join(" or "))||void 0===n?void 0:n.replace(/\b\d+[A-Z]?\.\s*/g,""))),ie(o,{showSelected:!1,submitted:!0})}},{children:"Yes"}))})]})}))}))}()]})};export{h as default};
|
|
1
|
+
import{__spreadArray as e,__assign as n,__rest as r}from"../../../node_modules/tslib/tslib.es6.mjs.js";import{jsx as i,jsxs as t,Fragment as o}from"react/jsx-runtime";import l,{useState as a,useEffect as s,useCallback as d,useRef as c,useMemo as u}from"react";import{ReactMarkdown as g}from"../../../node_modules/react-markdown/lib/react-markdown.js";import f from"../../../node_modules/rehype-raw/lib/index.js";var p=function(e){var r=e.label,o=e.onToggle,l=e.isSelected,d=void 0!==l&&l,u=a(d),g=u[0],f=u[1],p=c(null);s((function(){f(d)}),[d]);return s((function(){var e=p.current;e&&g&&(e.style.boxShadow="0 2px 8px rgba(0, 0, 0, 0.1)",e.style.transform="scale(1)",e.style.backgroundColor="#E8F5E9",e.style.color="#2E7D32")}),[g]),t("span",n({ref:p,onClick:function(){var e=!g;console.log("newstate: ",e),f(e),o(r,e)},style:{cursor:"pointer",backgroundColor:g?"#E8F5E9":"#fff",color:g?"#2E7D32":"#000000de",transition:"all 0.2s ease-in-out",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)",transform:"scale(1)"},onMouseEnter:function(e){g||(e.currentTarget.style.boxShadow="0 4px 12px rgba(30, 136, 229, 0.3)",e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.backgroundColor="#f0f7ff",e.currentTarget.style.color="#1E88E5")},onMouseLeave:function(e){g||(e.currentTarget.style.boxShadow="0 2px 4px rgba(0, 0, 0, 0.2)",e.currentTarget.style.transform="scale(1)",e.currentTarget.style.backgroundColor="#fbfaff",e.currentTarget.style.color="#000000de")}},{children:[i("span",n({style:{fontWeight:"bold",fontSize:"16px",transition:"all 0.3s ease",transform:g?"scale(1.2)":"scale(1)",opacity:g?1:.9,paddingLeft:"0.25rem",paddingRight:"0.25rem"}},{children:g?"✓ ":"+ "})),i("span",{children:r})]}))};function m(e){return"string"==typeof e?e:Array.isArray(e)?e.map(m).join(""):"object"==typeof e&&null!==e&&"props"in e?m(e.props.children):""}var y=function(e){var r=e.label,o=e.onToggle,l=e.isSelected,d=void 0!==l&&l,u=a(d),g=u[0],f=u[1],p=c(null);s((function(){f(d)}),[d]);return s((function(){var e=p.current;e&&g&&(e.style.boxShadow="0 2px 8px rgba(0, 0, 0, 0.1)",e.style.transform="scale(1)",e.style.backgroundColor="#E8F5E9",e.style.color="#2E7D32")}),[g]),t("span",n({ref:p,onClick:function(){var e=!g;console.log("newstate: ",e),f(e),o(m(r),e)},style:{cursor:"pointer",backgroundColor:g?"#E8F5E9":"#fff",color:g?"#2E7D32":"#000000de",transition:"all 0.2s ease-in-out",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.2)",transform:"scale(1)"},onMouseEnter:function(e){g||(e.currentTarget.style.boxShadow="0 4px 12px rgba(30, 136, 229, 0.3)",e.currentTarget.style.transform="scale(1.02)",e.currentTarget.style.backgroundColor="#f0f7ff",e.currentTarget.style.color="#1E88E5")},onMouseLeave:function(e){g||(e.currentTarget.style.boxShadow="0 2px 4px rgba(0, 0, 0, 0.2)",e.currentTarget.style.transform="scale(1)",e.currentTarget.style.backgroundColor="#fbfaff",e.currentTarget.style.color="#000000de")}},{children:[i("span",n({style:{fontWeight:"bold",fontSize:"16px",transition:"all 0.3s ease",transform:g?"scale(1.2)":"scale(1)",opacity:g?1:.9,paddingLeft:"0.25rem",paddingRight:"0.25rem"}},{children:g?"✓ ":"+ "})),i("span",{children:r})]}))},h=function(h){var b=h.index,v=h.content,w=h.messages,x=h.handleStream,k=h.scrollToBottom,A=a([]),S=A[0],E=A[1],C=a(!1),T=C[0],j=C[1],W=a(!1),L=W[0],F=W[1],D=a([]),N=D[0],R=D[1],M=a(!1),z=M[0],O=M[1],P=a(!1),B=P[0],I=P[1],J=a([]),K=J[0],U=J[1],Y=a(!1),Z=Y[0],_=Y[1],H=a(!1),q=H[0],G=H[1],Q=a({}),V=Q[0],X=Q[1],$=a([]),ee=$[0],ne=$[1],re=a([]),ie=re[0],te=re[1],oe=a([]),le=oe[0],ae=oe[1],se=a(v),de=se[0],ce=se[1];s((function(){L||B||ce(v)}),[v,L,B]);var ue=d((function(n,r){var i=Array.isArray(n)?n[0]:n;j(!0),E((function(n){return r?n.includes(i)?n:e(e([],n,!0),[i],!1):n.filter((function(e){return e!==i}))}))}),[]),ge=d((function(n,r){var i=Array.isArray(n)?n[0]:n;O(!0),R((function(n){return r?n.includes(i)?n:e(e([],n,!0),[i],!1):n.filter((function(e){return e!==i}))}))}),[]),fe=d((function(n,r){var i=Array.isArray(n)?n[0]:n;_(!0),U((function(n){return r?n.includes(i)?n:e(e([],n,!0),[i],!1):n.filter((function(e){return e!==i}))})),null==k||k()}),[k]),pe=d((function(e,r,i){var t=Array.isArray(r)?r[0]:r;he[e]?(X((function(r){var o=n({},r);Object.keys(he).forEach((function(r){r!==e&&o[r]&&(o[r]=n(n({},o[r]),{selected:[],showSelected:!1}))}));var l=o[e]||{selected:[],showSelected:!1,submitted:!1},a=i?[t]:[];return o[e]=n(n({},l),{selected:a,showSelected:a.length>0}),o})),null==k||k()):console.error("Configuration not found for tagType: ".concat(e))}),[k]),me=d((function(e){return V[e]||{selected:[],showSelected:!1,submitted:!1}}),[V]),ye=d((function(e,r){X((function(i){var t;return n(n({},i),((t={})[e]=n(n({},i[e]||{selected:[],showSelected:!1,submitted:!1}),r),t))}))}),[]),he={deletesimilarlearning:{group:"similarLearning",action:"delete",displayName:"Delete similar learning"},mergesimilarlearning:{group:"similarLearning",action:"merge",displayName:"Merge similar learning"},editsimilarlearning:{group:"similarLearning",action:"edit",displayName:"Edit similar learning"},deletesimilarlearnings:{group:"similarLearnings",action:"delete",displayName:"Delete similar learnings"},mergesimilarlearnings:{group:"similarLearnings",action:"merge",displayName:"Merge similar learnings"},editsimilarlearnings:{group:"similarLearnings",action:"edit",displayName:"Edit similar learnings"},deleteconflictinglearning:{group:"conflictingLearning",action:"delete",displayName:"Delete conflicting learning"},editconflictinglearning:{group:"conflictingLearning",action:"edit",displayName:"Edit conflicting learning"},deleteconflictinglearnings:{group:"conflictingLearnings",action:"delete",displayName:"Delete conflicting learnings"},editconflictinglearnings:{group:"conflictingLearnings",action:"edit",displayName:"Edit conflicting learnings"}},be=d((function(e){var o=function(o){o.node;var l=r(o,["node"]),a=l.label||l.children||"Unknown label",s=Array.isArray(a)?a[0]:a,d=me(e),c=Object.keys(he).some((function(n){return n!==e&&me(n).submitted}));return d.submitted?d.selected.includes(s)?t("span",n({style:{backgroundColor:"#E8F5E9",color:"#2E7D32",padding:"4px 8px",borderRadius:"4px",fontWeight:"500",display:"inline-block",margin:"2px"}},{children:["✓ ",a]})):null:c?null:i(y,{label:a,isSelected:d.selected.includes(s),onToggle:function(n,r){pe(e,n,r)}})};return o.isLearningTag=!0,o}),[me,pe]),ve=d((function(e){return Object.keys(he).some((function(e){return me(e).submitted}))?l.Children.toArray(e).filter((function(e){if(!e||"object"!=typeof e)return!0;var n=function(e){return!!e&&(!(!e.type||!e.type.isLearningTag)||!(!e.props||!e.props.children)&&(Array.isArray(e.props.children)?e.props.children:[e.props.children]).some((function(e){return n(e)})))};if(!n(e)){var r=m(e).trim();return!(!r||0===r.length)}for(var i=function(n,r){var i=me(n);if(i.submitted&&i.selected.length>0){var t=m(e);return{value:i.selected.some((function(e){return t.includes(e)}))}}},t=0,o=Object.entries(he);t<o.length;t++){var l=o[t],a=l[0];l[1];var s=i(a);if("object"==typeof s)return s.value}return!1})):l.Children.toArray(e)}),[me]),we=c(v);s((function(){we.current!==v&&(X({}),we.current=v)}),[v]);var xe=u((function(){return{img:function(e){e.node;var t=r(e,["node"]);return i("img",n({},t,{style:{height:"100%",width:"100%",objectFit:"contain"},alt:(null==t?void 0:t.alt)||"",className:"w-full sm:max-w-lg md:max-w-2xl lg:max-w-4xl mx-auto"}))},p:function(e){e.node;var t=r(e,["node"]);return i("p",n({},t,{style:{maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"block",fontSize:"1rem",lineHeight:"1.625rem",marginBottom:"1rem",marginTop:"10px"}},{children:null==t?void 0:t.children}))},code:function(e){e.node;var t=r(e,["node"]);return i("span",n({},t,{style:{maxWidth:"100%",wordWrap:"break-word",overflowWrap:"break-word",wordBreak:"break-word",whiteSpace:"normal",overflow:"hidden",display:"inline-flex",fontSize:"1rem",lineHeight:"1.625rem"}},{children:null==t?void 0:t.children}))},ol:function(e){e.node;var t=r(e,["node"]),o=ve(null==t?void 0:t.children);return i("ol",n({},t,{style:{display:"flex",flexDirection:"column",gap:"1rem",listStyle:"decimal",paddingLeft:"2.5rem"}},{children:o}))},ul:function(e){e.node;var t=r(e,["node"]),o=ve(null==t?void 0:t.children);return i("ul",n({},t,{style:{display:"flex",flexDirection:"column",gap:"1rem",listStyle:"decimal",paddingLeft:"2.5rem"}},{children:o}))},wta:function(e){e.node;var o=r(e,["node"]);o.key||o["data-key"];var l=o.label||o.children||"Unknown label",a=Array.isArray(l)?l[0]:l;return L?S.includes(a)?t("span",n({style:{backgroundColor:"#E8F5E9",color:"#2E7D32",padding:"4px 8px",borderRadius:"4px",fontWeight:"500",display:"inline-block",margin:"2px"}},{children:["✓ ",l]})):null:i(p,{label:l,isSelected:S.includes(a),onToggle:function(e,n){ue(e,n)}})},wnta:function(e){e.node;var o=r(e,["node"]);o.key||o["data-key"];var l=o.label||o.children||"Unknown label",a=Array.isArray(l)?l[0]:l;return B?N.includes(a)?t("span",n({style:{backgroundColor:"#E8F5E9",color:"#2E7D32",padding:"4px 8px",borderRadius:"4px",fontWeight:"500",display:"inline-block",margin:"2px"}},{children:["✓ ",l]})):null:i(p,{label:l,isSelected:N.includes(a),onToggle:function(e,n){ge(e,n)}})},editwta:function(e){e.node;var o=r(e,["node"]);o.key||o["data-key"];var l=o.label||o.children||"Unknown label",a=Array.isArray(l)?l[0]:l;return q?K.includes(a)?t("span",n({style:{backgroundColor:"#E8F5E9",color:"#2E7D32",padding:"4px 8px",borderRadius:"4px",fontWeight:"500",display:"inline-block",margin:"2px"}},{children:["✓ ",l]})):null:i(y,{label:l,onToggle:function(e,n){fe(e,n)}})},deletesimilarlearning:be("deletesimilarlearning"),mergesimilarlearning:be("mergesimilarlearning"),editsimilarlearning:be("editsimilarlearning"),deletesimilarlearnings:be("deletesimilarlearnings"),mergesimilarlearnings:be("mergesimilarlearnings"),editsimilarlearnings:be("editsimilarlearnings"),deleteconflictinglearning:be("deleteconflictinglearning"),editconflictinglearning:be("editconflictinglearning"),deleteconflictinglearnings:be("deleteconflictinglearnings"),editconflictinglearnings:be("editconflictinglearnings")}}),[v,w,le,V,ve,be,S,L,N,B]);!function(e,n){s((function(){for(var r,i=0,t=(null===(r=e[e.length-1])||void 0===r?void 0:r.orchestratorAndAgentsMessages)||[];i<t.length;i++){for(var o=t[i],l=(null==o?void 0:o.responsedata)||"",a=/<wta>([\s\S]*?)<\/wta>/gi,s=[],d=void 0;null!==(d=a.exec(l));)console.log("match wta suggestion",d),s.push(d[1]);s.length&&n(s)}}),[e,n])}(w,ne);!function(e,n){s((function(){for(var r,i=0,t=(null===(r=e[e.length-1])||void 0===r?void 0:r.orchestratorAndAgentsMessages)||[];i<t.length;i++){for(var o=t[i],l=(null==o?void 0:o.responsedata)||"",a=/<wnta>([\s\S]*?)<\/wnta>/gi,s=[],d=void 0;null!==(d=a.exec(l));)s.push(d[1]);s.length&&n(s)}}),[e,n])}(w,te);!function(e){s((function(){for(var n,r=0,i=(null===(n=e[e.length-1])||void 0===n?void 0:n.orchestratorAndAgentsMessages)||[];r<i.length;r++){for(var t=i[r],o=(null==t?void 0:t.responsedata)||"",l=/<editwta>([\s\S]*?)<\/editwta>/gi,a=[],s=void 0;null!==(s=l.exec(o));)console.log("match wta suggestion",s),a.push(s[1]);a.length&&ae(a)}}),[e,ae])}(w);var ke=u((function(){if(!Array.isArray(S)||!Array.isArray(ee))return"";var e=S.map((function(e){return ee.indexOf(e)})).filter((function(e){return-1!==e})).map((function(e){return e+1}));return e.join(" and ")}),[S,ee]),Ae=u((function(){if(!Array.isArray(N)||!Array.isArray(ie))return"";var e=N.map((function(e){return ie.indexOf(e)})).filter((function(e){return-1!==e})).map((function(e){return e+1}));return e.join(" and ")}),[N,ie]),Se=u((function(){if(!Array.isArray(K)||!Array.isArray(le))return"";var e=K.map((function(e){var n;return null===(n=le.map((function(e){return null==e?void 0:e.replaceAll("**","")})))||void 0===n?void 0:n.indexOf(e)})).filter((function(e){return-1!==e})).map((function(e){return e+1}));return e.join(" and ")}),[K,le]);return t(o,{children:[i(g,n({components:xe,rehypePlugins:[f]},{children:de}),b),i("div",n({style:{display:"flex",maxWidth:"100%"}},{children:i("div",n({style:{width:"100%"}},{children:(null==S?void 0:S.length)>0&&T?t("span",{children:["It looks like you've chosen ",S.length>1?"suggestions":"suggestion"," ",ke,". Would you like me to proceed with them?",i("p",{children:i("button",n({style:{padding:"0.5rem 1rem",margin:"1rem 0rem",backgroundColor:"#4CAF50",color:"white",border:"none",borderRadius:"8px",cursor:"pointer",fontSize:"0.75rem",fontWeight:"500",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.2)",transition:"background-color 0.3s",fontFamily:"Plus Jakarta Sans, sans-serif"},onClick:function(e){var n,r=S.map((function(e){return"<wta>".concat(e,"</wta>")})).join(" "),i=de.replace(/<wta>[\s\S]*?<\/wta>(?:\s*(?:or\s*)?<wta>[\s\S]*?<\/wta>)*/g,r);ce(i),F(!0),j(!1),x(new KeyboardEvent("keydown",{key:"Enter"}),!1,"Add when to apply conditions ".concat(null===(n=S.join(" or "))||void 0===n?void 0:n.replace(/\b\d+[A-Z]?\.\s*/g,"")))}},{children:"Yes"}))})]}):i("span",{})}))})),i("div",n({style:{display:"flex",maxWidth:"100%"}},{children:i("div",n({style:{width:"100%"}},{children:(null==N?void 0:N.length)>0&&z?t("span",{children:["It looks like you've chosen ",N.length>1?"suggestions":"suggestion"," ",Ae,". Would you like me to proceed with them?",i("p",{children:i("button",n({style:{padding:"0.5rem 1rem",margin:"1rem 0rem",backgroundColor:"#4CAF50",color:"white",border:"none",borderRadius:"8px",cursor:"pointer",fontSize:"0.75rem",fontWeight:"500",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.2)",transition:"background-color 0.3s",fontFamily:"Plus Jakarta Sans, sans-serif"},onClick:function(e){var n,r=N.map((function(e){return"<wnta>".concat(e,"</wnta>")})).join(" "),i=de.replace(/<wnta>[\s\S]*?<\/wnta>(?:\s*(?:or\s*)?<wnta>[\s\S]*?<\/wnta>)*/g,r);ce(i),I(!0),O(!1),x(new KeyboardEvent("keydown",{key:"Enter"}),!1,"Add when not to apply conditions ".concat(null===(n=N.join(" or "))||void 0===n?void 0:n.replace(/\b\d+[A-Z]?\.\s*/g,"")))}},{children:"Yes"}))})]}):i("span",{})}))})),i("div",n({style:{display:"flex",maxWidth:"100%"}},{children:i("div",n({style:{width:"100%"}},{children:(null==K?void 0:K.length)>0&&Z?t("span",{children:["It looks like you've chosen ",K.length>1?"options":"option"," ",Se,". Would you like me to proceed with them?",i("p",{children:i("button",n({style:{padding:"0.5rem 1rem",margin:"1rem 0rem",backgroundColor:"#4CAF50",color:"white",border:"none",borderRadius:"8px",cursor:"pointer",fontSize:"0.75rem",fontWeight:"500",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.2)",transition:"background-color 0.3s",fontFamily:"Plus Jakarta Sans, sans-serif"},onClick:function(e){var n;x(new KeyboardEvent("keydown",{key:"Enter"}),!1,"".concat(null===(n=K.join(" or "))||void 0===n?void 0:n.replace(/\b\d+[A-Z]?\.\s*/g,""))),_(!1),G(!0)}},{children:"Yes"}))})]}):i("span",{})}))})),function(){var e=Object.entries(V).filter((function(e){e[0];var n=e[1];return n.selected.length>0&&n.showSelected}));if(0===e.length)return null;var r=e[0],o=r[0],l=r[1],a=he[o];return i("div",n({style:{display:"flex",maxWidth:"100%"}},{children:i("div",n({style:{width:"100%"}},{children:t("span",{children:["It looks like you've chosen ",l.selected.length>1?"options":"option"," for ",a.displayName,". Would you like me to proceed with them?",i("p",{children:i("button",n({style:{padding:"0.5rem 1rem",margin:"1rem 0rem",backgroundColor:"#4CAF50",color:"white",border:"none",borderRadius:"8px",cursor:"pointer",fontSize:"0.75rem",fontWeight:"500",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.2)",transition:"background-color 0.3s",fontFamily:"Plus Jakarta Sans, sans-serif"},onClick:function(e){var n;x(new KeyboardEvent("keydown",{key:"Enter"}),!1,"".concat(null===(n=l.selected.join(" or "))||void 0===n?void 0:n.replace(/\b\d+[A-Z]?\.\s*/g,""))),ye(o,{showSelected:!1,submitted:!0})}},{children:"Yes"}))})]})}))}))}()]})};export{h as default};
|
|
2
2
|
//# sourceMappingURL=MessageRendering.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/features/InstantLearning/_components/ChatComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAYhF,OAAO,qBAAqB,CAAA;AAK5B,OAAO,EAAkC,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAkCxH,UAAU,kBAAkB;IACxB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,iBAAiB,EAAE,MAAM,CAAA;IACzB,gBAAgB,EAAE,MAAM,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,6BAA6B,EAAE,GAAG,CAAA;IAClC,aAAa,EAAE,GAAG,CAAC;IACnB,gBAAg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AAM,CAAC,CAAC,CAAC;IACzE,4BAA4B,EAAE,CAAC,eAAe,EAAE,iCAAiC,GAAG,IAAI,KAAK,IAAI,CAAC;IAClG,gBAAgB,EAAE,OAAO,CAAC;IAC1B,yBAAyB,EAAE,iCAAiC,GAAI,IAAI,CAAC;IACrE,eAAe,CAAC,EAAE,OAAO,CAAC;CAE7B;AAmaD,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"ChatComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/features/InstantLearning/_components/ChatComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAA;AAYhF,OAAO,qBAAqB,CAAA;AAK5B,OAAO,EAAkC,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAkCxH,UAAU,kBAAkB;IACxB,oBAAoB,EAAE,MAAM,CAAA;IAC5B,iBAAiB,EAAE,MAAM,CAAA;IACzB,gBAAgB,EAAE,MAAM,CAAA;IACxB,OAAO,EAAE,MAAM,CAAA;IACf,6BAA6B,EAAE,GAAG,CAAA;IAClC,aAAa,EAAE,GAAG,CAAC;IACnB,gBAAgB,EAAE,GAAG,CAAC;IACtB,iBAAiB,EAAE,OAAO,CAAA;IAC1B,oBAAoB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAA;IACnE,gBAAgB,EAAE,MAAM,CAAA;IACxB,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAA;IAClE,YAAY,EAAE,MAAM,CAAA;IACpB,iBAAiB,EAAE,KAAK,CAAC,SAAS,CAAA;IAClC,gBAAgB,EAAE,MAAM,CAAA;IACxB,yBAAyB,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1C,0BAA0B,EAAE,OAAO,CAAA;IACnC,wBAAwB,EAAE,KAAK,CAAC,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oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,uBAAuB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAC9E,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,iCAAiC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IACvF,6BAA6B,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IACnF,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACnE,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACjE,qBAAqB,EAAE,MAAM,CAAC;IAC9B,wBAAwB,EAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACzE,4BAA4B,EAAE,CAAC,eAAe,EAAE,iCAAiC,GAAG,IAAI,KAAK,IAAI,CAAC;IAClG,gBAAgB,EAAE,OAAO,CAAC;IAC1B,yBAAyB,EAAE,iCAAiC,GAAI,IAAI,CAAC;IACrE,eAAe,CAAC,EAAE,OAAO,CAAC;CAE7B;AAmaD,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAwyE/C,CAAA;AAED,eAAe,aAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageRendering.d.ts","sourceRoot":"","sources":["../../../../../../src/features/InstantLearning/_components/MessageRendering.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageRendering.d.ts","sourceRoot":"","sources":["../../../../../../src/features/InstantLearning/_components/MessageRendering.tsx"],"names":[],"mappings":"AAoKA,QAAA,MAAM,gBAAgB;WAEP,MAAM;aACJ,MAAM;cACL,GAAG;kBACC,GAAG;oBACD,GAAG;6CAkzB1B,CAAA;AAED,eAAe,gBAAgB,CAAA"}
|