@e-llm-studio/instant-learning 0.0.128 → 0.0.129

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.
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"../../../node_modules/tslib/tslib.es6.mjs.js";import{jsx as i,jsxs as n}from"react/jsx-runtime";import{useState as l}from"react";import t from"./_svg/ArrowDown.js";import o from"./_svg/InfoIcon.js";import r from"./_svg/WarningIcon.js";import{CitationLinkSparkleIcon as d}from"./_svg/CitationLinkSparkleIcon.js";import c from"./TooltipComponent.js";var s=i("svg",e({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i("path",{d:"M5.6875 13C5.21875 13 4.82031 12.8396 4.49219 12.5188C4.16406 12.1979 4 11.8083 4 11.35C4 10.9925 4.10547 10.6717 4.31641 10.3875C4.52734 10.1033 4.79687 9.90625 5.125 9.79625V5.20375C4.79687 5.09375 4.52734 4.89667 4.31641 4.6125C4.10547 4.32833 4 4.0075 4 3.65C4 3.19167 4.16406 2.80208 4.49219 2.48125C4.82031 2.16042 5.21875 2 5.6875 2C6.15625 2 6.55469 2.16042 6.88281 2.48125C7.21094 2.80208 7.375 3.19167 7.375 3.65C7.375 4.0075 7.26953 4.32833 7.05859 4.6125C6.84766 4.89667 6.57812 5.09375 6.25 5.20375V5.3C6.25 5.75833 6.41406 6.14792 6.74219 6.46875C7.07031 6.78958 7.46875 6.95 7.9375 6.95H9.0625C9.84062 6.95 10.5039 7.21812 11.0523 7.75437C11.6008 8.29063 11.875 8.93917 11.875 9.7V9.79625C12.2031 9.90625 12.4727 10.1033 12.6836 10.3875C12.8945 10.6717 13 10.9925 13 11.35C13 11.8083 12.8359 12.1979 12.5078 12.5188C12.1797 12.8396 11.7812 13 11.3125 13C10.8438 13 10.4453 12.8396 10.1172 12.5188C9.78906 12.1979 9.625 11.8083 9.625 11.35C9.625 10.9925 9.73047 10.6717 9.94141 10.3875C10.1523 10.1033 10.4219 9.90625 10.75 9.79625V9.7C10.75 9.24167 10.5859 8.85208 10.2578 8.53125C9.92969 8.21042 9.53125 8.05 9.0625 8.05H7.9375C7.61875 8.05 7.31641 8.00187 7.03047 7.90562C6.74453 7.80937 6.48438 7.67417 6.25 7.5V9.79625C6.57812 9.90625 6.84766 10.1033 7.05859 10.3875C7.26953 10.6717 7.375 10.9925 7.375 11.35C7.375 11.8083 7.21094 12.1979 6.88281 12.5188C6.55469 12.8396 6.15625 13 5.6875 13ZM5.6875 11.9C5.84687 11.9 5.98047 11.8473 6.08828 11.7419C6.19609 11.6365 6.25 11.5058 6.25 11.35C6.25 11.1942 6.19609 11.0635 6.08828 10.9581C5.98047 10.8527 5.84687 10.8 5.6875 10.8C5.52812 10.8 5.39453 10.8527 5.28672 10.9581C5.17891 11.0635 5.125 11.1942 5.125 11.35C5.125 11.5058 5.17891 11.6365 5.28672 11.7419C5.39453 11.8473 5.52812 11.9 5.6875 11.9ZM11.3125 11.9C11.4719 11.9 11.6055 11.8473 11.7133 11.7419C11.8211 11.6365 11.875 11.5058 11.875 11.35C11.875 11.1942 11.8211 11.0635 11.7133 10.9581C11.6055 10.8527 11.4719 10.8 11.3125 10.8C11.1531 10.8 11.0195 10.8527 10.9117 10.9581C10.8039 11.0635 10.75 11.1942 10.75 11.35C10.75 11.5058 10.8039 11.6365 10.9117 11.7419C11.0195 11.8473 11.1531 11.9 11.3125 11.9ZM5.6875 4.2C5.84687 4.2 5.98047 4.14729 6.08828 4.04187C6.19609 3.93646 6.25 3.80583 6.25 3.65C6.25 3.49417 6.19609 3.36354 6.08828 3.25812C5.98047 3.15271 5.84687 3.1 5.6875 3.1C5.52812 3.1 5.39453 3.15271 5.28672 3.25812C5.17891 3.36354 5.125 3.49417 5.125 3.65C5.125 3.80583 5.17891 3.93646 5.28672 4.04187C5.39453 4.14729 5.52812 4.2 5.6875 4.2Z",fill:"#666F8D"})})),p=function(l){var t=l.items,o=l.tierLabel,r=function(n,l){if(void 0===l&&(l=!1),!(null==n?void 0:n.value))return null;var t=(null==n?void 0:n.tier)?"".concat(n.value," | ").concat(o," ").concat(n.tier):null==n?void 0:n.value;return i("span",e({style:{fontSize:"11px",fontWeight:500,padding:"1px 6px",borderRadius:"9999px",border:"1px solid #E5E7EB",backgroundColor:l?"#EFF6FF":"#F9FAFB",color:l?"#2563EB":"#111827",whiteSpace:"nowrap"}},{children:t}))};return t&&0!==t.length?t.length>=2?n("div",e({style:{display:"flex",alignItems:"center",gap:"8px"}},{children:[n("div",e({style:{display:"flex",alignItems:"center",gap:"4px",color:"#666F8D",fontSize:"12px"}},{children:[s,i("span",{children:"Inherited"})]})),t[0]&&r(t[0]),t[0]&&t[1]&&i("span",e({style:{color:"#9CA3AF"}},{children:"→"})),t[1]&&r(t[1],!0)]})):t[0]?r(t[0],!0):null:null},a=function(o){var r=o.label,d=o.content,c=o.styleLabel,s=o.styleContent,p=o.customHeaderStyle,a=l(!0),C=a[0],h=a[1];return n("div",e({style:{display:"flex",flexDirection:"column"}},{children:[n("div",e({onClick:function(){return h(!C)},style:e(e({display:"flex",gap:"4px",alignItems:"center",cursor:"pointer"},c),p)},{children:[i("div",{children:r}),i("div",e({style:{display:"flex",alignItems:"center",width:"8px",height:"8px",transition:"transform 0.2s ease",transform:C?"rotate(180deg)":"rotate(0deg)",transformOrigin:"center"}},{children:i(t,{})}))]})),C&&i("div",e({style:e({marginTop:"4px"},s)},{children:d}))]}))},C=function(l){var t=l.validationType,s=l.decisionStrength,C=l.title,h=l.description,f=l.scope,g=l.whenToApply,u=l.whenNotToApply;l.whyIssue;var x=l.tierLabel,v=void 0===x?"Tier":x,y=l.customStyles,m="conflicting"===t?"Conflicting Rule Found":"Similar Rule Found",b=null!=s&&""!==s&&"null"!==s&&"undefined"!==s,F=e({display:"flex",flexDirection:"column",border:"1px solid ".concat("conflicting"===t?"#B91C1C":"#0369A1"),gap:"8px",borderRadius:"8px",padding:"16px",maxWidth:"500px",backgroundColor:"#fff",overflow:"hidden"},null==y?void 0:y.container),w=e({display:"flex",flexDirection:"column",gap:"8px"},null==y?void 0:y.upperSection);e({borderTop:"1px solid #F0F2F5"},null==y?void 0:y.lowerSection);var S=e({display:"inline-flex",alignItems:"center",gap:"2px",backgroundColor:"".concat("conflicting"===t?"#FFE9E980":"#E0F2FE"),color:"".concat("conflicting"===t?"#B91C1C":"#0369A1"),padding:"0px 7px",borderRadius:"9999px",fontSize:"13px",fontWeight:500,width:"fit-content"},null==y?void 0:y.headerTag),I=e({color:"#666F8D",fontSize:"12px",fontWeight:500},null==y?void 0:y.sectionLabel),D=e({fontSize:"12px",fontWeight:500,color:"#19213D",margin:0,lineHeight:"1.5"},null==y?void 0:y.sectionContent);return i("div",e({style:F},{children:n("div",e({style:w},{children:[n("div",e({style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"8px"}},{children:[i("div",e({style:S},{children:n("span",{children:[i("conflicting"==t?r:o,{})," ",m]})})),b&&i(c,e({description:"Decision Strength ".concat(s,"%")},{children:n("div",e({style:{display:"flex",alignItems:"center",borderRadius:"9999px",border:"1px solid #C4B5FD",backgroundColor:"#FFF",padding:"0px 5px",fontSize:"12px",fontWeight:600,color:"#1E293B",gap:"4px",cursor:"pointer",width:"fit-content"}},{children:[i(d,{width:12,height:12}),n("span",e({style:{lineHeight:"2"}},{children:[s,"%"]}))]}))}))]})),n("div",e({style:{display:"flex",flexDirection:"column",gap:"8px"}},{children:[n("div",{children:[i("div",e({style:I},{children:"Rule Title"})),i("h3",e({style:e(e({},D),null==y?void 0:y.title)},{children:C}))]}),n("div",{children:[i("div",e({style:I},{children:"Rule Description"})),i("p",e({style:e(e({},D),null==y?void 0:y.description)},{children:h}))]}),f&&f.length>0&&n("div",{children:[i("div",e({style:I},{children:"Scope"})),i(p,{items:f,tierLabel:v})]}),g&&i(a,{label:"When To Apply",content:g,styleLabel:I,styleContent:D}),u&&i(a,{label:"When Not To Apply",content:u,styleLabel:I,styleContent:D})]}))]}))}))};export{C as default};
1
+ import{__assign as e}from"../../../node_modules/tslib/tslib.es6.mjs.js";import{jsx as i,jsxs as n}from"react/jsx-runtime";import{useState as t}from"react";import l from"./_svg/ArrowDown.js";import o from"./_svg/InfoIcon.js";import r from"./_svg/WarningIcon.js";import{CitationLinkSparkleIcon as d}from"./_svg/CitationLinkSparkleIcon.js";import c from"./TooltipComponent.js";import{HumanWithBrainIcon as s}from"./_svg/HumanWithBrainIcon.js";var p=i("svg",e({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i("path",{d:"M5.6875 13C5.21875 13 4.82031 12.8396 4.49219 12.5188C4.16406 12.1979 4 11.8083 4 11.35C4 10.9925 4.10547 10.6717 4.31641 10.3875C4.52734 10.1033 4.79687 9.90625 5.125 9.79625V5.20375C4.79687 5.09375 4.52734 4.89667 4.31641 4.6125C4.10547 4.32833 4 4.0075 4 3.65C4 3.19167 4.16406 2.80208 4.49219 2.48125C4.82031 2.16042 5.21875 2 5.6875 2C6.15625 2 6.55469 2.16042 6.88281 2.48125C7.21094 2.80208 7.375 3.19167 7.375 3.65C7.375 4.0075 7.26953 4.32833 7.05859 4.6125C6.84766 4.89667 6.57812 5.09375 6.25 5.20375V5.3C6.25 5.75833 6.41406 6.14792 6.74219 6.46875C7.07031 6.78958 7.46875 6.95 7.9375 6.95H9.0625C9.84062 6.95 10.5039 7.21812 11.0523 7.75437C11.6008 8.29063 11.875 8.93917 11.875 9.7V9.79625C12.2031 9.90625 12.4727 10.1033 12.6836 10.3875C12.8945 10.6717 13 10.9925 13 11.35C13 11.8083 12.8359 12.1979 12.5078 12.5188C12.1797 12.8396 11.7812 13 11.3125 13C10.8438 13 10.4453 12.8396 10.1172 12.5188C9.78906 12.1979 9.625 11.8083 9.625 11.35C9.625 10.9925 9.73047 10.6717 9.94141 10.3875C10.1523 10.1033 10.4219 9.90625 10.75 9.79625V9.7C10.75 9.24167 10.5859 8.85208 10.2578 8.53125C9.92969 8.21042 9.53125 8.05 9.0625 8.05H7.9375C7.61875 8.05 7.31641 8.00187 7.03047 7.90562C6.74453 7.80937 6.48438 7.67417 6.25 7.5V9.79625C6.57812 9.90625 6.84766 10.1033 7.05859 10.3875C7.26953 10.6717 7.375 10.9925 7.375 11.35C7.375 11.8083 7.21094 12.1979 6.88281 12.5188C6.55469 12.8396 6.15625 13 5.6875 13ZM5.6875 11.9C5.84687 11.9 5.98047 11.8473 6.08828 11.7419C6.19609 11.6365 6.25 11.5058 6.25 11.35C6.25 11.1942 6.19609 11.0635 6.08828 10.9581C5.98047 10.8527 5.84687 10.8 5.6875 10.8C5.52812 10.8 5.39453 10.8527 5.28672 10.9581C5.17891 11.0635 5.125 11.1942 5.125 11.35C5.125 11.5058 5.17891 11.6365 5.28672 11.7419C5.39453 11.8473 5.52812 11.9 5.6875 11.9ZM11.3125 11.9C11.4719 11.9 11.6055 11.8473 11.7133 11.7419C11.8211 11.6365 11.875 11.5058 11.875 11.35C11.875 11.1942 11.8211 11.0635 11.7133 10.9581C11.6055 10.8527 11.4719 10.8 11.3125 10.8C11.1531 10.8 11.0195 10.8527 10.9117 10.9581C10.8039 11.0635 10.75 11.1942 10.75 11.35C10.75 11.5058 10.8039 11.6365 10.9117 11.7419C11.0195 11.8473 11.1531 11.9 11.3125 11.9ZM5.6875 4.2C5.84687 4.2 5.98047 4.14729 6.08828 4.04187C6.19609 3.93646 6.25 3.80583 6.25 3.65C6.25 3.49417 6.19609 3.36354 6.08828 3.25812C5.98047 3.15271 5.84687 3.1 5.6875 3.1C5.52812 3.1 5.39453 3.15271 5.28672 3.25812C5.17891 3.36354 5.125 3.49417 5.125 3.65C5.125 3.80583 5.17891 3.93646 5.28672 4.04187C5.39453 4.14729 5.52812 4.2 5.6875 4.2Z",fill:"#666F8D"})})),a=function(t){var l=t.items,o=function(n,t){if(void 0===t&&(t=!1),!(null==n?void 0:n.value))return null;var l=(null==n?void 0:n.tier)?"".concat(n.value," | ").concat(String(n.tier)[0].toUpperCase()).concat(String(n.tier).slice(1)):null==n?void 0:n.value;return i("span",e({style:{fontSize:"11px",fontWeight:500,padding:"1px 6px",borderRadius:"9999px",border:"1px solid #E5E7EB",backgroundColor:t?"#EFF6FF":"#F9FAFB",color:t?"#2563EB":"#111827",whiteSpace:"nowrap"}},{children:l}))};return l&&0!==l.length?l.length>=2?n("div",e({style:{display:"flex",alignItems:"center",gap:"8px"}},{children:[n("div",e({style:{display:"flex",alignItems:"center",gap:"4px",color:"#666F8D",fontSize:"12px"}},{children:[p,i("span",{children:"Inherited"})]})),l[0]&&o(l[0]),l[0]&&l[1]&&i("span",e({style:{color:"#9CA3AF"}},{children:"→"})),l[1]&&o(l[1],!0)]})):l[0]?o(l[0],!0):null:null},h=function(o){var r=o.label,d=o.content,c=o.styleLabel,s=o.styleContent,p=o.customHeaderStyle,a=t(!0),h=a[0],g=a[1];return n("div",e({style:{display:"flex",flexDirection:"column"}},{children:[n("div",e({onClick:function(){return g(!h)},style:e(e({display:"flex",gap:"4px",alignItems:"center",cursor:"pointer"},c),p)},{children:[i("div",{children:r}),i("div",e({style:{display:"flex",alignItems:"center",width:"8px",height:"8px",transition:"transform 0.2s ease",transform:h?"rotate(180deg)":"rotate(0deg)",transformOrigin:"center"}},{children:i(l,{})}))]})),h&&i("div",e({style:e({marginTop:"4px"},s)},{children:d}))]}))},g=function(o){var r,d,c=o.data,p=o.labelStyle,a=o.contentTextStyle,h=o.listStyle,g=t(!1),f=g[0],u=g[1];return c?n("div",e({style:{borderTop:"1px solid #F0F2F5",marginTop:"8px"}},{children:[n("div",e({onClick:function(){return u(!f)},style:e(e({display:"flex",gap:"4px",alignItems:"center",cursor:"pointer"},p),{marginTop:"8px"})},{children:[n("div",e({style:{display:"flex",alignItems:"center",gap:"4px"}},{children:[i(s,{}),"Why this is an issue?"]})),i("div",e({style:{display:"flex",alignItems:"center",transition:"transform 0.2s",transform:f?"rotate(180deg)":"rotate(0deg)",width:"8px",height:"8px"}},{children:i(l,{})}))]})),f&&n("div",e({style:{marginTop:"6px",display:"flex",flexDirection:"column",gap:"5px"}},{children:[c.issueDecisionStrength&&n("div",e({style:e(e({},a),{fontWeight:"400"})},{children:["Decision Strength ",i("span",e({style:{fontWeight:"500"}},{children:c.issueDecisionStrength}))]})),n("div",{children:[i("div",e({style:e(e({},p),{fontSize:"12px",color:"#19213D"})},{children:"Reasoning"})),i("ol",e({style:e(e({paddingLeft:"20px"},a),{color:"#666F8D"})},{children:(null===(r=c.reason)||void 0===r?void 0:r.length)>0?c.reason.map(function(n,t){return i("li",e({style:h},{children:n}),t)}):i("li",{children:"No reasoning identified."})}))]}),n("div",{children:[i("div",e({style:e(e({},p),{fontSize:"12px",color:"#19213D"})},{children:"The Gap"})),i("ol",e({style:e(e({margin:"4px 0",paddingLeft:"20px"},a),{color:"#666F8D"})},{children:(null===(d=c.gap)||void 0===d?void 0:d.length)>0?c.gap.map(function(n,t){return i("li",e({style:h},{children:n}),t)}):i("li",{children:"No gaps identified."})}))]})]}))]})):null},f=function(t){var l=t.validationType,s=t.decisionStrength,p=t.title,f=t.description,u=t.scope,x=t.whenToApply,C=t.whenNotToApply,y=t.whyIssue,v=t.customStyles,m="conflicting"===l?"Conflicting Rule Found":"Similar Rule Found",F=null!=s&&""!==s&&"null"!==s&&"undefined"!==s,S=(null==x?void 0:x.trim())?x:"No when to apply specified.",b=(null==C?void 0:C.trim())?C:"No when not to apply specified.",w=e({display:"flex",flexDirection:"column",border:"1px solid ".concat("conflicting"===l?"#B91C1C":"#0369A1"),gap:"8px",borderRadius:"8px",padding:"16px",marginBottom:"4px",maxWidth:"500px",backgroundColor:"#fff",overflow:"hidden"},null==v?void 0:v.container),D=e({display:"flex",flexDirection:"column",gap:"8px"},null==v?void 0:v.upperSection);e({borderTop:"1px solid #F0F2F5"},null==v?void 0:v.lowerSection);var I=e({display:"flex",alignItems:"center",gap:"2px",backgroundColor:"".concat("conflicting"===l?"#FFE9E980":"#E0F2FE"),color:"".concat("conflicting"===l?"#B91C1C":"#0369A1"),padding:"0px 7px",borderRadius:"9999px",fontSize:"13px",fontWeight:500,width:"fit-content"},null==v?void 0:v.headerTag),T=e({color:"#666F8D",fontSize:"12px",fontWeight:500},null==v?void 0:v.sectionLabel),W=e({fontSize:"12px",fontWeight:500,color:"#19213D",margin:0,lineHeight:"1.5"},null==v?void 0:v.sectionContent),B=e({marginBottom:"4px"},null==v?void 0:v.listItem);return n("div",e({style:w},{children:[n("div",e({style:D},{children:[n("div",e({style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"8px"}},{children:[n("div",e({style:I},{children:[i("conflicting"==l?r:o,{})," ",m]})),F&&i(c,e({description:"Decision Strength ".concat(s,"%")},{children:n("div",e({style:{display:"flex",alignItems:"center",borderRadius:"9999px",border:"1px solid #C4B5FD",backgroundColor:"#FFF",padding:"0px 5px",fontSize:"12px",fontWeight:600,color:"#1E293B",gap:"4px",cursor:"pointer",width:"fit-content"}},{children:[i(d,{width:12,height:12}),i("span",e({style:{lineHeight:"2"}},{children:s}))]}))}))]})),n("div",e({style:{display:"flex",flexDirection:"column",gap:"8px"}},{children:[n("div",{children:[i("div",e({style:T},{children:"Rule Title"})),i("h3",e({style:e(e({},W),null==v?void 0:v.title)},{children:p}))]}),n("div",{children:[i("div",e({style:T},{children:"Rule Description"})),i("p",e({style:e(e({},W),null==v?void 0:v.description)},{children:f}))]}),u&&u.length>0&&n("div",{children:[i("div",e({style:T},{children:"Scope"})),i(a,{items:u})]}),x&&i(h,{label:"When To Apply",content:S,styleLabel:T,styleContent:W}),C&&i(h,{label:"When Not To Apply",content:b,styleLabel:T,styleContent:W})]}))]})),y&&i(g,{data:y,labelStyle:T,contentTextStyle:W,listStyle:B})]}))};export{f as default};
2
2
  //# sourceMappingURL=RuleValidationCard.js.map
@@ -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,EAA2B,oBAAoB,EAAuB,MAAM,iBAAiB,CAAC;AAIrG,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,CA4gCnC,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,EAA2B,oBAAoB,EAAuB,MAAM,iBAAiB,CAAC;AAIrG,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,CAsiCnC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
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,6CAyGjB,CAAC;AAEH,eAAO,MAAM,oBAAoB,wHAS5B,gBAAgB,6CA6EpB,CAAC;AAEF,eAAO,MAAM,oBAAoB,8HAQ9B,iBAAiB,6CAyClB,CAAC"}
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"}
@@ -7,7 +7,11 @@ interface RuleCardProps {
7
7
  scope?: ScopeItem[];
8
8
  whenToApply?: string;
9
9
  whenNotToApply?: string;
10
- whyIssue?: string;
10
+ whyIssue?: {
11
+ issueDecisionStrength?: string | number | null;
12
+ reason?: string[];
13
+ gap?: string[];
14
+ };
11
15
  tierLabel?: string;
12
16
  customStyles?: RuleCardStyles;
13
17
  }
@@ -25,6 +29,7 @@ interface RuleCardStyles {
25
29
  sectionLabel?: CSSProperties;
26
30
  sectionContent?: CSSProperties;
27
31
  accordionHeader?: CSSProperties;
32
+ listItem?: CSSProperties;
28
33
  }
29
34
  declare const RuleValidationCard: React.FC<RuleCardProps>;
30
35
  export default RuleValidationCard;
@@ -1 +1 @@
1
- {"version":3,"file":"RuleValidationCard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/_components/RuleValidationCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAuB,MAAM,OAAO,CAAC;AAOlE,UAAU,aAAa;IACrB,cAAc,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B;AAED,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CAC9B;AAGD,UAAU,cAAc;IACtB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,eAAe,CAAC,EAAE,aAAa,CAAC;CACjC;AAwGD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAgK/C,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"RuleValidationCard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/_components/RuleValidationCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAuB,MAAM,OAAO,CAAC;AAQlE,UAAU,aAAa;IACrB,cAAc,EAAE,aAAa,GAAG,SAAS,CAAC;IAC1C,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE;QACT,qBAAqB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;QAC/C,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;QAClB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC;KAChB,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B;AAED,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CAC9B;AAGD,UAAU,cAAc;IACtB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,YAAY,CAAC,EAAE,aAAa,CAAC;IAC7B,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B;AAsKD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAqK/C,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/instant-learning",
3
- "version": "0.0.128",
3
+ "version": "0.0.129",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",