@e-llm-studio/instant-learning 0.0.158 → 0.0.159
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/IL-OTJ/_components/CriticalGaps.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/InputDataReasoningCard.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.js +1 -1
- package/dist/cjs/node_modules/decode-named-character-reference/index.dom.js.map +1 -1
- package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js.map +1 -1
- package/dist/features/IL-OTJ/_components/CriticalGaps.js +1 -1
- package/dist/features/IL-OTJ/_components/InputDataReasoningCard.js +1 -1
- package/dist/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js +1 -1
- package/dist/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.js +1 -1
- package/dist/node_modules/decode-named-character-reference/index.dom.js.map +1 -1
- package/dist/node_modules/hast-util-raw/node_modules/unist-util-visit/lib/index.js.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/CriticalGaps.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/InputDataReasoningCard.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/features/IL-OTJ/_components/CognitiveDecisioningCard.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/CognitiveDecisioningCard.js.map +0 -1
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js.map +0 -1
- package/dist/cjs/features/IL-OTJ/_components/RuleValidationCard.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/RuleValidationCard.js.map +0 -1
- package/dist/cjs/features/IL-OTJ/_components/_svg/ChevronIcon.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/_svg/ChevronIcon.js.map +0 -1
- package/dist/cjs/features/IL-OTJ/_components/_svg/WarningIcon.js +0 -2
- package/dist/cjs/features/IL-OTJ/_components/_svg/WarningIcon.js.map +0 -1
- package/dist/features/IL-OTJ/_components/CognitiveDecisioningCard.js +0 -2
- package/dist/features/IL-OTJ/_components/CognitiveDecisioningCard.js.map +0 -1
- package/dist/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js +0 -2
- package/dist/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js.map +0 -1
- package/dist/features/IL-OTJ/_components/RuleValidationCard.js +0 -2
- package/dist/features/IL-OTJ/_components/RuleValidationCard.js.map +0 -1
- package/dist/features/IL-OTJ/_components/_svg/ChevronIcon.js +0 -2
- package/dist/features/IL-OTJ/_components/_svg/ChevronIcon.js.map +0 -1
- package/dist/features/IL-OTJ/_components/_svg/WarningIcon.js +0 -2
- package/dist/features/IL-OTJ/_components/_svg/WarningIcon.js.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MarkdownElements.d.ts +0 -25
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MarkdownElements.d.ts.map +0 -1
- package/dist/types/src/features/IL-OTJ/_components/RuleValidationCard.d.ts +0 -21
- package/dist/types/src/features/IL-OTJ/_components/RuleValidationCard.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownElements.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as e}from"../../../node_modules/tslib/tslib.es6.mjs.js";import{jsxs as i,jsx as o}from"react/jsx-runtime";import n from"./_svg/InfoIcon.js";import t from"./_svg/LeftAndRightArrow.js";var l=function(l){var r=l.validationType,d=l.decisionStrength,p=l.title,s=l.tier,a=l.descriptionText,c=l.reasoningNode,x=l.customStyles,u="100%"===d?"Exact Rule Found":"duplicate"===r?"Existing Rule Found":"Similar Rule Found",g=e({display:"flex",flexDirection:"column",border:"1px solid #E3E6EA",borderRadius:"8px",padding:"14px 16px",gap:"8px",maxWidth:"500px",backgroundColor:"#fff"},null==x?void 0:x.container),f=e({display:"flex",alignItems:"center",gap:"4px",backgroundColor:"#E0F2FE80",color:"#0369A1",padding:"0.5px 9px",borderRadius:"9999px",fontSize:"12px",fontWeight:500},null==x?void 0:x.headerTag),m=e({display:"flex",alignItems:"center",gap:"4px",backgroundColor:"#FEE2E2",color:"#B91C1C",padding:"0.5px 7px",borderRadius:"6px",fontSize:"12px",fontWeight:500},null==x?void 0:x.strengthBadgeStyle),h=e({display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",width:"100%",padding:"6px 8px",borderRadius:"6px",border:"1px solid #E2E8F0",backgroundColor:"#FFF",cursor:"pointer",fontSize:"12px",fontWeight:500,color:"#0F172A"},null==x?void 0:x.button);return i("div",e({style:g},{children:[i("div",e({style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},{children:[i("div",e({style:f},{children:[o(n,{})," ",u]})),d&&o("div",e({style:m},{children:i("span",{children:[d," Similarity"]})}))]})),i("div",e({style:{display:"flex",flexDirection:"column",gap:"12px"}},{children:[i("div",e({style:{display:"flex",flexDirection:"column",gap:"6px"}},{children:[i("h3",e({style:e({fontSize:"14px",fontWeight:500,color:"#19213D",margin:0},null==x?void 0:x.title)},{children:[p," ",s?"— ".concat(s):""]})),i("div",e({style:e({fontSize:"14px",fontWeight:400,color:"#666F8D",lineHeight:"1.5"},null==x?void 0:x.description)},{children:[o("span",{children:a}),c]}))]})),i("button",e({style:h,onClick:function(){return console.log("Open Comparison View")}},{children:[o(t,{})," View Rule Comparison"]}))]}))]}))};export{l as default};
|
|
2
|
-
//# sourceMappingURL=RuleValidationCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RuleValidationCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as r}from"../../../../node_modules/tslib/tslib.es6.mjs.js";import{jsx as o}from"react/jsx-runtime";var t=function(t){var e=t.isOpen,i=t.color;return o("svg",r({width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",style:{color:void 0===i?"#9CA3AF":i,transform:e?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s ease",marginLeft:"4px"}},{children:o("path",{d:"M6 9l6 6 6-6"})}))};export{t as default};
|
|
2
|
-
//# sourceMappingURL=ChevronIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronIcon.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{__assign as i}from"../../../../node_modules/tslib/tslib.es6.mjs.js";import{jsxs as r,jsx as e}from"react/jsx-runtime";var t=function(){return r("svg",i({width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[e("g",i({clipPath:"url(#clip0_5225_30474)"},{children:e("path",{d:"M5.25001 3.93931V5.68931M5.25001 7.43931H5.25439M4.64422 1.70444L1.04583 7.91984C0.846239 8.26458 0.746445 8.43695 0.761194 8.57843C0.774059 8.70182 0.838708 8.81395 0.939052 8.88691C1.0541 8.97056 1.25327 8.97056 1.65163 8.97056H8.8484C9.24676 8.97056 9.44593 8.97056 9.56098 8.88691C9.66132 8.81395 9.72597 8.70182 9.73884 8.57843C9.75358 8.43695 9.65379 8.26458 9.4542 7.91983L5.85581 1.70444C5.65694 1.36093 5.5575 1.18917 5.42777 1.13149C5.31461 1.08117 5.18542 1.08117 5.07226 1.13149C4.94253 1.18917 4.84309 1.36093 4.64422 1.70444Z",stroke:"#B91C1C","stroke-linecap":"round","stroke-linejoin":"round"})})),e("defs",{children:e("clipPath",i({id:"clip0_5225_30474"},{children:e("rect",{width:"10.5",height:"10.5",fill:"currentColor"})}))})]}))};export{t as default};
|
|
2
|
-
//# sourceMappingURL=WarningIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WarningIcon.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|
|
14
|
-
interface LinkRendererProps extends MarkdownElementsProps {
|
|
15
|
-
href?: string;
|
|
16
|
-
chatSize?: number;
|
|
17
|
-
openCitationIds: Set<string>;
|
|
18
|
-
getCitationByNumber: (num: string, source: string) => any;
|
|
19
|
-
handleToggleState: (id: string, isOpen: boolean, type: 'card' | 'citation') => void;
|
|
20
|
-
}
|
|
21
|
-
export declare const MarkdownDivRenderer: React.MemoExoticComponent<({ className, children, openCardIds, citations, handleToggleState, isStreamEnd, ...props }: DivRendererProps) => import("react/jsx-runtime").JSX.Element>;
|
|
22
|
-
export declare const MarkdownSpanRenderer: React.MemoExoticComponent<({ className, children, openCardIds, citations, handleToggleState, isStreamEnd, ...props }: DivRendererProps) => import("react/jsx-runtime").JSX.Element>;
|
|
23
|
-
export declare const MarkdownLinkRenderer: React.MemoExoticComponent<({ href, children, chatSize, openCitationIds, getCitationByNumber, handleToggleState, ...props }: LinkRendererProps) => import("react/jsx-runtime").JSX.Element>;
|
|
24
|
-
export {};
|
|
25
|
-
//# sourceMappingURL=MarkdownElements.d.ts.map
|
package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MarkdownElements.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownElements.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-OTJ/_components/MessageRendering/MarkdownElements.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAOvE,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;CACzB;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,wHAQ7B,gBAAgB,6CA4HjB,CAAC;AAEH,eAAO,MAAM,oBAAoB,wHAS5B,gBAAgB,6CA6EpB,CAAC;AAEF,eAAO,MAAM,oBAAoB,8HAQ9B,iBAAiB,6CAyClB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React, { CSSProperties } from 'react';
|
|
2
|
-
interface RuleCardProps {
|
|
3
|
-
validationType: "duplicate" | "similar" | "conflicting";
|
|
4
|
-
decisionStrength?: string;
|
|
5
|
-
title: string;
|
|
6
|
-
tier?: string;
|
|
7
|
-
descriptionText: string;
|
|
8
|
-
reasoningNode: React.ReactNode;
|
|
9
|
-
customStyles?: RuleCardStyles;
|
|
10
|
-
}
|
|
11
|
-
interface RuleCardStyles {
|
|
12
|
-
container?: CSSProperties;
|
|
13
|
-
headerTag?: CSSProperties;
|
|
14
|
-
strengthBadgeStyle?: CSSProperties;
|
|
15
|
-
title?: CSSProperties;
|
|
16
|
-
description?: CSSProperties;
|
|
17
|
-
button?: CSSProperties;
|
|
18
|
-
}
|
|
19
|
-
declare const RuleValidationCard: React.FC<RuleCardProps>;
|
|
20
|
-
export default RuleValidationCard;
|
|
21
|
-
//# sourceMappingURL=RuleValidationCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RuleValidationCard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/_components/RuleValidationCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAM7C,UAAU,aAAa;IACrB,cAAc,EAAE,WAAW,GAAG,SAAS,GAAG,aAAa,CAAC;IACxD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B;AAED,UAAU,cAAc;IACtB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,kBAAkB,CAAC,EAAE,aAAa,CAAC;IACnC,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAiH/C,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|