@e-llm-studio/instant-learning 0.0.135 → 0.0.136

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.
Files changed (24) hide show
  1. package/dist/cjs/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js +2 -0
  2. package/dist/cjs/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js.map +1 -0
  3. package/dist/cjs/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.js +2 -0
  4. package/dist/cjs/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.js.map +1 -0
  5. package/dist/cjs/features/IL-OTJ/_components/MessageRendering/MessageRendering.js +1 -1
  6. package/dist/cjs/index.js +1 -1
  7. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/send-horizontal.js +1 -1
  8. package/dist/cjs/node_modules/lucide-react/dist/esm/icons/send-horizontal.js.map +1 -1
  9. package/dist/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js +2 -0
  10. package/dist/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js.map +1 -0
  11. package/dist/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.js +2 -0
  12. package/dist/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.js.map +1 -0
  13. package/dist/features/IL-OTJ/_components/MessageRendering/MessageRendering.js +1 -1
  14. package/dist/index.js +1 -1
  15. package/dist/node_modules/lucide-react/dist/esm/icons/send-horizontal.js +1 -1
  16. package/dist/node_modules/lucide-react/dist/esm/icons/send-horizontal.js.map +1 -1
  17. package/dist/types/src/features/IL-OTJ/ILOTJTest.d.ts.map +1 -1
  18. package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts.map +1 -1
  19. package/dist/types/src/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.d.ts +26 -0
  20. package/dist/types/src/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.d.ts.map +1 -0
  21. package/dist/types/src/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.d.ts +20 -0
  22. package/dist/types/src/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.d.ts.map +1 -0
  23. package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MessageRendering.d.ts.map +1 -1
  24. package/package.json +1 -1
@@ -4,5 +4,5 @@ import a from"../createLucideIcon.js";
4
4
  *
5
5
  * This source code is licensed under the ISC license.
6
6
  * See the LICENSE file in the root directory of this source tree.
7
- */const t=[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]];a("send-horizontal",t);export{t as __iconNode};
7
+ */const t=[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]],e=a("send-horizontal",t);export{t as __iconNode,e as default};
8
8
  //# sourceMappingURL=send-horizontal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-horizontal.js","sources":["../../../../../../node_modules/lucide-react/dist/esm/icons/send-horizontal.js"],"sourcesContent":["/**\n * @license lucide-react v0.525.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\n \"path\",\n {\n d: \"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z\",\n key: \"117uat\"\n }\n ],\n [\"path\", { d: \"M6 12h16\", key: \"s4cdu5\" }]\n];\nconst SendHorizontal = createLucideIcon(\"send-horizontal\", __iconNode);\n\nexport { __iconNode, SendHorizontal as default };\n//# sourceMappingURL=send-horizontal.js.map\n"],"names":["__iconNode","d","key","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CACjB,CACE,OACA,CACEC,EAAG,oIACHC,IAAK,WAGT,CAAC,OAAQ,CAAED,EAAG,WAAYC,IAAK,YAEVC,EAAiB,kBAAmBH"}
1
+ {"version":3,"file":"send-horizontal.js","sources":["../../../../../../node_modules/lucide-react/dist/esm/icons/send-horizontal.js"],"sourcesContent":["/**\n * @license lucide-react v0.525.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.js';\n\nconst __iconNode = [\n [\n \"path\",\n {\n d: \"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z\",\n key: \"117uat\"\n }\n ],\n [\"path\", { d: \"M6 12h16\", key: \"s4cdu5\" }]\n];\nconst SendHorizontal = createLucideIcon(\"send-horizontal\", __iconNode);\n\nexport { __iconNode, SendHorizontal as default };\n//# sourceMappingURL=send-horizontal.js.map\n"],"names":["__iconNode","d","key","SendHorizontal","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CACjB,CACE,OACA,CACEC,EAAG,oIACHC,IAAK,WAGT,CAAC,OAAQ,CAAED,EAAG,WAAYC,IAAK,YAE3BC,EAAiBC,EAAiB,kBAAmBJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"ILOTJTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/IL-OTJ/ILOTJTest.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAKhE,OAAO,EAA8C,oBAAoB,EAAuB,MAAM,iBAAiB,CAAC;AAIxH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;AAEzE,UAAU,UAAU;CACnB;AAMD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAiiDnC,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"ILOTJTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/IL-OTJ/ILOTJTest.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAKhE,OAAO,EAA8C,oBAAoB,EAAuB,MAAM,iBAAiB,CAAC;AAIxH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;AAEzE,UAAU,UAAU;CACnB;AAMD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CA2gDnC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatComponent.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-OTJ/_components/ChatComponents/ChatComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAiCjF,UAAU,kBAAkB;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,mBAAmB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACnE,yBAAyB,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3C,iBAAiB,EAAE,OAAO,CAAC;IAC3B,qBAAqB,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACrE,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc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AAW,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAC9D,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACnE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,oDAAoD;IACpD,sBAAsB,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;CACzD;AAGD,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA+mC/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ interface MarkdownElementsProps {
3
+ node?: any;
4
+ children?: any;
5
+ className?: string;
6
+ [key: string]: any;
7
+ }
8
+ interface DivRendererProps extends MarkdownElementsProps {
9
+ openCardIds: Set<string>;
10
+ citations: any[];
11
+ handleToggleState: (id: string, isOpen: boolean, type: 'card' | 'citation') => void;
12
+ isStreamEnd?: boolean;
13
+ handleStream?: any;
14
+ }
15
+ interface LinkRendererProps extends MarkdownElementsProps {
16
+ href?: string;
17
+ chatSize?: number;
18
+ openCitationIds: Set<string>;
19
+ getCitationByNumber: (num: string, source: string) => any;
20
+ handleToggleState: (id: string, isOpen: boolean, type: 'card' | 'citation') => void;
21
+ }
22
+ export declare const MarkdownDivRenderer: React.MemoExoticComponent<({ className, children, openCardIds, citations, handleToggleState, isStreamEnd, isLastMessage, handleStream, ...props }: DivRendererProps) => import("react/jsx-runtime").JSX.Element>;
23
+ export declare const MarkdownSpanRenderer: React.MemoExoticComponent<({ className, children, openCardIds, citations, handleToggleState, isStreamEnd, ...props }: DivRendererProps) => import("react/jsx-runtime").JSX.Element>;
24
+ export declare const MarkdownLinkRenderer: React.MemoExoticComponent<({ href, children, chatSize, openCitationIds, getCitationByNumber, handleToggleState, ...props }: LinkRendererProps) => import("react/jsx-runtime").JSX.Element>;
25
+ export {};
26
+ //# sourceMappingURL=MarkdownElements.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkdownElements.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAQvE,UAAU,qBAAqB;IAC3B,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,UAAU,gBAAiB,SAAQ,qBAAqB;IACpD,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACzB,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,KAAK,IAAI,CAAC;IACpF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,GAAG,CAAC;CACtB;AAED,UAAU,iBAAkB,SAAQ,qBAAqB;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,mBAAmB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,GAAG,CAAC;IAC1D,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,KAAK,IAAI,CAAC;CACvF;AAkHD,eAAO,MAAM,mBAAmB,qJAU7B,gBAAgB,6CAqLjB,CAAC;AAEH,eAAO,MAAM,oBAAoB,wHAS5B,gBAAgB,6CA6EpB,CAAC;AAEF,eAAO,MAAM,oBAAoB,8HAQ9B,iBAAiB,6CAyClB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ type Option = {
3
+ id: string;
4
+ label: string;
5
+ cd?: boolean;
6
+ reasoning?: string;
7
+ gap?: string;
8
+ score?: string | null;
9
+ };
10
+ type Props = {
11
+ type: 'single' | 'multi' | 'instant';
12
+ options: Option[];
13
+ selectedIds: string[];
14
+ disabled: boolean;
15
+ onProceed: (ids: string[], label: string) => void;
16
+ citations: any[];
17
+ };
18
+ export declare const MarkdownSelect: React.FC<Props>;
19
+ export {};
20
+ //# sourceMappingURL=MarkdownSelect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkdownSelect.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAO9D,KAAK,MAAM,GAAG;IACV,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB,CAAC;AAEF,KAAK,KAAK,GAAG;IACT,IAAI,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IACrC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClD,SAAS,EAAE,GAAG,EAAE,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAiQ1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageRendering.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-OTJ/_components/MessageRendering/MessageRendering.tsx"],"names":[],"mappings":"AASA,QAAA,MAAM,gBAAgB;WAeb,MAAM;aACJ,MAAM;UACT,MAAM;cACF,GAAG;kBACC,GAAG;qBACA,GAAG;;oBAEL,IAAI;;0BAEE,MAAM,KAAK,IAAI;;;;6CA2pBrC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"MessageRendering.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-OTJ/_components/MessageRendering/MessageRendering.tsx"],"names":[],"mappings":"AASA,QAAA,MAAM,gBAAgB;WAeb,MAAM;aACJ,MAAM;UACT,MAAM;cACF,GAAG;kBACC,GAAG;qBACA,GAAG;;oBAEL,IAAI;;0BAEE,MAAM,KAAK,IAAI;;;;6CA8rBrC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/instant-learning",
3
- "version": "0.0.135",
3
+ "version": "0.0.136",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",