@e-llm-studio/instant-learning 0.0.143 → 0.0.144
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/ILOTJ.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/AccordianSection.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ChatComponents/ChatComponent.module.css.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/CriticalGaps.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/MessageRendering.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.js +2 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.js.map +1 -0
- package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/undo-2.js +1 -1
- package/dist/cjs/node_modules/lucide-react/dist/esm/icons/undo-2.js.map +1 -1
- package/dist/features/IL-OTJ/ILOTJ.js +1 -1
- package/dist/features/IL-OTJ/_components/AccordianSection.js +1 -1
- package/dist/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +1 -1
- package/dist/features/IL-OTJ/_components/ChatComponents/ChatComponent.module.css.js +1 -1
- package/dist/features/IL-OTJ/_components/CriticalGaps.js +1 -1
- package/dist/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js +1 -1
- package/dist/features/IL-OTJ/_components/MessageRendering/MessageRendering.js +1 -1
- package/dist/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.js +2 -0
- package/dist/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.js.map +1 -0
- package/dist/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.js +2 -0
- package/dist/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.js.map +1 -0
- package/dist/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/node_modules/lucide-react/dist/esm/icons/undo-2.js +2 -2
- package/dist/node_modules/lucide-react/dist/esm/icons/undo-2.js.map +1 -1
- package/dist/types/src/features/IL-OTJ/ILOTJ.d.ts +5 -0
- package/dist/types/src/features/IL-OTJ/ILOTJ.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/ILOTJTest.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/AccordianSection.d.ts +3 -0
- package/dist/types/src/features/IL-OTJ/_components/AccordianSection.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts +1 -0
- package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts.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/MarkdownComponents/MarkdownElements.d.ts +2 -1
- package/dist/types/src/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MessageRendering.d.ts +11 -9
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MessageRendering.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.d.ts +22 -0
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.d.ts +20 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.d.ts.map +1 -0
- package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuleComparison.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as i}from"../../../../../node_modules/tslib/tslib.es6.mjs.js";import{jsxs as e,jsx as t}from"react/jsx-runtime";import o,{useState as n}from"react";import{InputDataReasoningCard as r}from"../../InputDataReasoningCard.js";import{ConditionSection as l}from"../../organisms/ConditionSection/ConditionSection.js";import{ConfigSection as a}from"../../organisms/ConfigSection/ConfigSection.js";import{ScopeSection as d}from"../../organisms/ScopeSection/ScopeSection.js";import{TextSection as c}from"../../organisms/TextSection/TextSection.js";import s from"../../AccordianSection.js";var u=function(n){var r=n.children,l=n.onAddVariant,a=o.Children.toArray(r);return e("div",i({style:{display:"flex",flexDirection:"column",alignItems:"flex-start"}},{children:[a.map(function(i,n){return e(o.Fragment,{children:[i,t("div",{style:{width:"2px",height:"20px",backgroundColor:"#E2E8F0",marginLeft:"30px"}})]},n)}),t("div",i({onClick:l,style:{padding:"8px 16px",border:"1px solid #E2E8F0",borderRadius:"8px",color:"#475569",fontSize:"14px",fontWeight:"500",cursor:"pointer",backgroundColor:"#FFFFFF",userSelect:"none"}},{children:"Add Variant"}))]}))},p=function(o){var p,h,g,v,f,y,m,D,T,C,x=o.state,A=o.handlers,R=o.uiState,S=(null==R?void 0:R.highlights)||new Map,b=S.get("global_0")||{},O=n({}),w=O[0],W=O[1],E=function(e){W(function(t){var o;return i(i({},t),((o={})[e]=!t[e],o))})},V=function(i){var e,t=null===(e=x.fieldCitations)||void 0===e?void 0:e[i];return Array.isArray(t)&&t.length>0?t:x.citations},N={marginTop:"-17px",position:"relative",zIndex:1};return console.log("CreateRule state:",x),console.log("CreateRule uiState:",R),e("div",i({className:"traffic-manager-template"},{children:[t(s,i({title:{type:"other",label:"Rule Setup"},footerData:{ruleTitle:x.ruleTitle,stations:[x.scopeData.station],tiers:null===(p=x.scopeData)||void 0===p?void 0:p.tiers}},{children:e("div",i({style:{display:"flex",flexDirection:"column",gap:"20px"}},{children:[t(c,i({id:"rule-title",title:"Rule Title",rows:1,placeholder:"Enter a short, descriptive title for the rule",required:!0,value:x.ruleTitle,onChange:A.setRuleTitle,isOpen:w.ruleTitle,onToggle:function(){return E("ruleTitle")},isHighlighted:b.ruleTitle||!1,showCognitiveIcon:x.citation.ruleTitle,tooltipDescription:"Why this Title?",errorMessage:null===(h=R.validationErrors)||void 0===h?void 0:h.ruleTitle},R)),x.citation.ruleTitle&&t("div",i({style:N},{children:t(r,{isVisible:w.ruleTitle,citation:x.citation.ruleTitle,citations:V("ruleTitle"),fieldName:"Rule Title",fieldValue:x.ruleTitle})})),t(d,i({id:"scope",required:!0,scopeData:x.scopeData,onScopeChange:A.onScopeChange,tierLabel:"Which tiers should this rule apply to?",stationLabel:"Which rule set should this rule belong to?",highlights:b,isOpen:w.scopeData,onToggle:function(){return E("scopeData")},showCognitiveIcon:x.citation.scopeData,tooltipDescription:"Why this Scope?",errorMessage:(null===(g=R.validationErrors)||void 0===g?void 0:g.station)||(null===(v=R.validationErrors)||void 0===v?void 0:v.tiers),stationErrorMessage:null===(f=R.validationErrors)||void 0===f?void 0:f.station,tierErrorMessage:null===(y=R.validationErrors)||void 0===y?void 0:y.tiers},R)),x.citation.scopeData&&t("div",i({style:N},{children:t(r,{isVisible:w.scopeData,citation:x.citation.scopeData,citations:V("scopeData"),fieldName:"Scope",fieldValue:null===(D=null===(m=x.scopeData)||void 0===m?void 0:m.tiers)||void 0===D?void 0:D.join(", ")})}))]}))})),null===(C=null===(T=null==R?void 0:R.tierOptions)||void 0===T?void 0:T.filter(function(i){var e,t;return null===(t=null===(e=x.scopeData)||void 0===e?void 0:e.tiers)||void 0===t?void 0:t.includes(i)}))||void 0===C?void 0:C.map(function(o,n,d){var p,h=o.toLowerCase().replace(/ /g,"_"),g=(null===(p=x.variantsByTier)||void 0===p?void 0:p[h])||[],v=(null==R?void 0:R.defaultTierOpen)>=0?n===R.defaultTierOpen:n===d.length-1;return console.log("Rendering tier : ",o),t(s,i({title:{type:"other",label:o},defaultOpen:v,footerData:{description:"Variants for ".concat(o)}},{children:t(u,i({onAddVariant:function(){var i;return null===(i=A.addNewVariant)||void 0===i?void 0:i.call(A,h)}},{children:g.map(function(o,n){var d,u,p,v,f,y,m,D,T,C=o.variantType||"default",x="".concat(h,"-variant-").concat(n),b=(null==R?void 0:R.defaultVariantOpen)>=0?n===R.defaultVariantOpen:n===g.length-1,O="".concat(h,"_").concat(n),W=S.get(O)||{},I=(null===(u=null===(d=R.separationItemsByTier)||void 0===d?void 0:d[h])||void 0===u?void 0:u.get(n))||[],
|
|
1
|
+
import{__assign as i}from"../../../../../node_modules/tslib/tslib.es6.mjs.js";import{jsxs as e,jsx as t}from"react/jsx-runtime";import o,{useState as n}from"react";import{InputDataReasoningCard as r}from"../../InputDataReasoningCard.js";import{ConditionSection as l}from"../../organisms/ConditionSection/ConditionSection.js";import{ConfigSection as a}from"../../organisms/ConfigSection/ConfigSection.js";import{ScopeSection as d}from"../../organisms/ScopeSection/ScopeSection.js";import{TextSection as c}from"../../organisms/TextSection/TextSection.js";import s from"../../AccordianSection.js";var u=function(n){var r=n.children,l=n.onAddVariant,a=o.Children.toArray(r);return e("div",i({style:{display:"flex",flexDirection:"column",alignItems:"flex-start"}},{children:[a.map(function(i,n){return e(o.Fragment,{children:[i,t("div",{style:{width:"2px",height:"20px",backgroundColor:"#E2E8F0",marginLeft:"30px"}})]},n)}),t("div",i({onClick:l,style:{padding:"8px 16px",border:"1px solid #E2E8F0",borderRadius:"8px",color:"#475569",fontSize:"14px",fontWeight:"500",cursor:"pointer",backgroundColor:"#FFFFFF",userSelect:"none"}},{children:"Add Variant"}))]}))},p=function(o){var p,h,g,v,f,y,m,D,T,C,x=o.state,A=o.handlers,R=o.uiState,S=(null==R?void 0:R.highlights)||new Map,b=S.get("global_0")||{},O=n({}),w=O[0],W=O[1],E=function(e){W(function(t){var o;return i(i({},t),((o={})[e]=!t[e],o))})},V=function(i){var e,t=null===(e=x.fieldCitations)||void 0===e?void 0:e[i];return Array.isArray(t)&&t.length>0?t:x.citations},N={marginTop:"-17px",position:"relative",zIndex:1};return console.log("CreateRule state:",x),console.log("CreateRule uiState:",R),e("div",i({className:"traffic-manager-template"},{children:[t(s,i({title:{type:"other",label:"Rule Setup"},footerData:{ruleTitle:x.ruleTitle,stations:[x.scopeData.station],tiers:null===(p=x.scopeData)||void 0===p?void 0:p.tiers}},{children:e("div",i({style:{display:"flex",flexDirection:"column",gap:"20px"}},{children:[t(c,i({id:"rule-title",title:"Rule Title",rows:1,placeholder:"Enter a short, descriptive title for the rule",required:!0,value:x.ruleTitle,onChange:A.setRuleTitle,isOpen:w.ruleTitle,onToggle:function(){return E("ruleTitle")},isHighlighted:b.ruleTitle||!1,showCognitiveIcon:x.citation.ruleTitle,tooltipDescription:"Why this Title?",errorMessage:null===(h=R.validationErrors)||void 0===h?void 0:h.ruleTitle},R)),x.citation.ruleTitle&&t("div",i({style:N},{children:t(r,{isVisible:w.ruleTitle,citation:x.citation.ruleTitle,citations:V("ruleTitle"),fieldName:"Rule Title",fieldValue:x.ruleTitle})})),t(d,i({id:"scope",required:!0,scopeData:x.scopeData,onScopeChange:A.onScopeChange,tierLabel:"Which tiers should this rule apply to?",stationLabel:"Which rule set should this rule belong to?",highlights:b,isOpen:w.scopeData,onToggle:function(){return E("scopeData")},showCognitiveIcon:x.citation.scopeData,tooltipDescription:"Why this Scope?",errorMessage:(null===(g=R.validationErrors)||void 0===g?void 0:g.station)||(null===(v=R.validationErrors)||void 0===v?void 0:v.tiers),stationErrorMessage:null===(f=R.validationErrors)||void 0===f?void 0:f.station,tierErrorMessage:null===(y=R.validationErrors)||void 0===y?void 0:y.tiers},R)),x.citation.scopeData&&t("div",i({style:N},{children:t(r,{isVisible:w.scopeData,citation:x.citation.scopeData,citations:V("scopeData"),fieldName:"Scope",fieldValue:null===(D=null===(m=x.scopeData)||void 0===m?void 0:m.tiers)||void 0===D?void 0:D.join(", ")})}))]}))})),null===(C=null===(T=null==R?void 0:R.tierOptions)||void 0===T?void 0:T.filter(function(i){var e,t;return null===(t=null===(e=x.scopeData)||void 0===e?void 0:e.tiers)||void 0===t?void 0:t.includes(i)}))||void 0===C?void 0:C.map(function(o,n,d){var p,h=o.toLowerCase().replace(/ /g,"_"),g=(null===(p=x.variantsByTier)||void 0===p?void 0:p[h])||[],v=(null==R?void 0:R.defaultTierOpen)>=0?n===R.defaultTierOpen:n===d.length-1;return console.log("Rendering tier : ",o),t(s,i({title:{type:"other",label:o},defaultOpen:v,footerData:{description:"Variants for ".concat(o)}},{children:t(u,i({onAddVariant:function(){var i;return null===(i=A.addNewVariant)||void 0===i?void 0:i.call(A,h)}},{children:g.map(function(o,n){var d,u,p,v,f,y,m,D,T,C=o.variantType||"default",x="".concat(h,"-variant-").concat(n),b=(null==R?void 0:R.defaultVariantOpen)>=0?n===R.defaultVariantOpen:n===g.length-1,O="".concat(h,"_").concat(n),W=S.get(O)||{},_=o.is_variant||!1,I=(null===(u=null===(d=R.separationItemsByTier)||void 0===d?void 0:d[h])||void 0===u?void 0:u.get(n))||[],j=(null===(v=null===(p=R.togglesByTier)||void 0===p?void 0:p[h])||void 0===v?void 0:v.get(n))||[];return console.log("Rendering ".concat(h," variant ").concat(n,":"),o),console.log("Rendering Variant : ",o),t(s,i({title:{type:C,label:o.isReadOnly&&g.length>1?"Variant ".concat(n+1):"Rule Behavior",isNewVariant:_},defaultOpen:b,footerData:{ruleTitle:C,description:o.ruleDescription||""}},{children:e("div",i({style:{display:"flex",flexDirection:"column",gap:"20px"}},{children:[t(c,i({id:"rule-description-".concat(h,"-").concat(n),title:"Rule Description",rows:2,placeholder:"Explain the rule behaviour",required:!0,readOnly:o.isReadOnly,value:o.ruleDescription||"",onChange:function(i){return A.setRuleDescription(h,n,i)},isOpen:w["ruleDescription-".concat(h,"-").concat(n)],onToggle:function(){return E("ruleDescription-".concat(h,"-").concat(n))},isHighlighted:W.ruleDescription||!1,showCognitiveIcon:null===(f=o.reasoning)||void 0===f?void 0:f.ruleDescription,tooltipDescription:"Why this Description?",errorMessage:null===(y=R.validationErrors)||void 0===y?void 0:y["ruleDescription-".concat(h,"-").concat(n)]},R)),(null===(m=o.reasoning)||void 0===m?void 0:m.ruleDescription)&&t("div",i({style:N},{children:t(r,{isVisible:w["ruleDescription-".concat(h,"-").concat(n)],citation:o.reasoning.ruleDescription,citations:V("ruleDescription_".concat(h,"_").concat(n)),fieldName:"Rule Description",fieldValue:o.ruleDescription})})),t(l,i({id:"when-to-apply-".concat(h,"-").concat(n),title:"When to apply",required:!0,dividerRequired:!0,readOnly:o.isReadOnly,conditions:o.whenToApplyConditions||[],onAdd:function(){return A.addWhenToApply(h,n)},onRemove:function(i,e,t){return A.removeWhenToApply(i,e,t)},onEdit:function(i,e,t,o){return A.editWhenToApply(i,e,t,o)},index:n,tierKey:h,isHighlighted:W.wta||!1,highlightedIds:null==R?void 0:R.highlightedIds,tooltipDescription:"Why this Condition?",citations:V("whenToApply_".concat(h,"_").concat(n)),bordered:!0,addLabel:"Add When to apply",isAiStreaming:R.isAiStreaming,errorMessage:null===(D=R.validationErrors)||void 0===D?void 0:D["whenToApply-".concat(h,"-").concat(n)]},R)),t(l,i({id:"when-not-to-apply-".concat(h,"-").concat(n),title:"When NOT to apply",required:!1,dividerRequired:!0,readOnly:o.isReadOnly,conditions:o.whenNotToApplyConditions||[],onAdd:function(){return A.addWhenNotToApply(h,n)},onRemove:function(i,e,t){return A.removeWhenNotToApply(i,e,t)},onEdit:function(i,e,t,o){return A.editWhenNotToApply(i,e,t,o)},index:n,tierKey:h,isHighlighted:W.wnta||!1,highlightedIds:null==R?void 0:R.highlightedIds,tooltipDescription:"Why this Condition?",citations:V("whenNotToApply_".concat(h,"_").concat(n)),bordered:!0,addLabel:"Add When NOT to apply",isAiStreaming:R.isAiStreaming},R)),t(a,i({id:"config-".concat(h,"-").concat(n),title:"Configuration",required:!1,highlights:W,bordered:!0,readOnly:o.isReadOnly,onConfigChange:function(i,e){return A.onConfigChange(h,n,i,e)},separationItems:I,toggles:j,index:n},R)),(null===(T=o.reasoning)||void 0===T?void 0:T.configData)&&t("div",i({style:N},{children:t(r,{citation:o.reasoning.configData,citations:V("configData_".concat(h,"_").concat(n)),fieldName:"Configuration",fieldValue:"Proposed Configuration"})}))]}))}),x)})}))}),"tier-".concat(n))})]}))};export{p as CreateRule};
|
|
2
2
|
//# sourceMappingURL=CreateRule.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import a from"../createLucideIcon.js";
|
|
2
2
|
/**
|
|
3
3
|
* @license lucide-react v0.525.0 - ISC
|
|
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
|
|
7
|
+
*/const e=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],t=a("undo-2",e);export{e as __iconNode,t as default};
|
|
8
8
|
//# sourceMappingURL=undo-2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"undo-2.js","sources":["../../../../../../node_modules/lucide-react/dist/esm/icons/undo-2.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 [\"path\", { d: \"M9 14 4 9l5-5\", key: \"102s5s\" }],\n [\"path\", { d: \"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11\", key: \"f3b9sd\" }]\n];\nconst Undo2 = createLucideIcon(\"undo-2\", __iconNode);\n\nexport { __iconNode, Undo2 as default };\n//# sourceMappingURL=undo-2.js.map\n"],"names":["__iconNode","d","key","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CACjB,CAAC,OAAQ,CAAEC,EAAG,gBAAiBC,IAAK,WACpC,CAAC,OAAQ,CAAED,EAAG,2DAA4DC,IAAK,
|
|
1
|
+
{"version":3,"file":"undo-2.js","sources":["../../../../../../node_modules/lucide-react/dist/esm/icons/undo-2.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 [\"path\", { d: \"M9 14 4 9l5-5\", key: \"102s5s\" }],\n [\"path\", { d: \"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11\", key: \"f3b9sd\" }]\n];\nconst Undo2 = createLucideIcon(\"undo-2\", __iconNode);\n\nexport { __iconNode, Undo2 as default };\n//# sourceMappingURL=undo-2.js.map\n"],"names":["__iconNode","d","key","Undo2","createLucideIcon"],"mappings":";;;;;;GASK,MAACA,EAAa,CACjB,CAAC,OAAQ,CAAEC,EAAG,gBAAiBC,IAAK,WACpC,CAAC,OAAQ,CAAED,EAAG,2DAA4DC,IAAK,YAE3EC,EAAQC,EAAiB,SAAUJ"}
|
|
@@ -52,6 +52,11 @@ interface ILOTJProps {
|
|
|
52
52
|
onResetRequest?: () => void;
|
|
53
53
|
mainText?: string;
|
|
54
54
|
subText?: string;
|
|
55
|
+
handleOpenComparison?: () => void;
|
|
56
|
+
showComparison?: boolean;
|
|
57
|
+
setShowComparison?: React.Dispatch<React.SetStateAction<boolean>>;
|
|
58
|
+
COMPARISON_DATA?: any;
|
|
59
|
+
onAddAsVariant?: () => void;
|
|
55
60
|
}
|
|
56
61
|
declare const ILOTJ: React.FC<ILOTJProps>;
|
|
57
62
|
export default ILOTJ;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILOTJ.d.ts","sourceRoot":"","sources":["../../../../../src/features/IL-OTJ/ILOTJ.tsx"],"names":[],"mappings":"AACA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,YAAY,EAAE,MAAM,mDAAmD,CAAC;AAGjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"ILOTJ.d.ts","sourceRoot":"","sources":["../../../../../src/features/IL-OTJ/ILOTJ.tsx"],"names":[],"mappings":"AACA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAGhE,OAAO,EAAE,YAAY,EAAE,MAAM,mDAAmD,CAAC;AAGjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAIvD,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;AACzE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAED,UAAU,UAAU;IAChB,IAAI,EAAE,OAAO,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,yBAAyB,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3C,cAAc,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;IAC7D,UAAU,CAAC,EAAE,GAAG,CAAC;I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mBAAmB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACpE,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IAClE,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAkY/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -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;
|
|
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;AAOxH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;AAEzE,UAAU,UAAU;CACnB;AAKD,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AACD,eAAO,MAAM,cAAc,YAAmB,qBAAqB,iBASlE,CAAC;AAEF,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAy1DnC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
type TitleProps = {
|
|
2
2
|
type: 'default';
|
|
3
3
|
label: string;
|
|
4
|
+
isNewVariant?: boolean;
|
|
4
5
|
} | {
|
|
5
6
|
type: 'variant';
|
|
6
7
|
label: string;
|
|
7
8
|
number: number;
|
|
9
|
+
isNewVariant?: boolean;
|
|
8
10
|
} | {
|
|
9
11
|
type: 'other';
|
|
10
12
|
label: string;
|
|
13
|
+
isNewVariant?: boolean;
|
|
11
14
|
};
|
|
12
15
|
interface FooterData {
|
|
13
16
|
ruleTitle?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordianSection.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/_components/AccordianSection.tsx"],"names":[],"mappings":"AAGA,KAAK,UAAU,GACT;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"AccordianSection.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/_components/AccordianSection.tsx"],"names":[],"mappings":"AAGA,KAAK,UAAU,GACT;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAG,GAC3D;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,GAC1E;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAG,CAAC;AAEhE,UAAU,UAAU;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,QAAA,MAAM,gBAAgB;WAMX,UAAU;cACP,MAAM,SAAS;;;6CAqI5B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -34,6 +34,7 @@ interface ChatComponentProps {
|
|
|
34
34
|
isHighlighted?: boolean;
|
|
35
35
|
/** Callback invoked when streaming state changes */
|
|
36
36
|
onStreamingStateChange?: (isStreaming: boolean) => void;
|
|
37
|
+
onViewComparison?: () => void;
|
|
37
38
|
}
|
|
38
39
|
export declare const autoGeneratePrompt: () => Promise<any>;
|
|
39
40
|
declare const ChatComponent: React.FC<ChatComponentProps>;
|
|
@@ -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,I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AC;IAClB,WAAW,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;IACxD,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B;AACD,eAAO,MAAM,kBAAkB,oBAsB9B,CAAC;AAEF,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA8wC/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CriticalGaps.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/_components/CriticalGaps.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CriticalGaps.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-OTJ/_components/CriticalGaps.tsx"],"names":[],"mappings":"AAiQA,eAAO,MAAM,YAAY;UAOjB,GAAG;mBACM,OAAO;oCACS,OAAO,cAAc,GAAG,EAAE,KAAK,IAAI;;;6CAiKnE,CAAC"}
|
|
@@ -13,6 +13,7 @@ interface DivRendererProps extends MarkdownElementsProps {
|
|
|
13
13
|
handleStream?: any;
|
|
14
14
|
onGapValidation?: (isValid: boolean, data: any) => void;
|
|
15
15
|
isGapsSubmitted?: boolean;
|
|
16
|
+
onViewComparison?: () => void;
|
|
16
17
|
}
|
|
17
18
|
interface LinkRendererProps extends MarkdownElementsProps {
|
|
18
19
|
href?: string;
|
|
@@ -21,7 +22,7 @@ interface LinkRendererProps extends MarkdownElementsProps {
|
|
|
21
22
|
getCitationByNumber: (num: string, source: string) => any;
|
|
22
23
|
handleToggleState: (id: string, isOpen: boolean, type: 'card' | 'citation') => void;
|
|
23
24
|
}
|
|
24
|
-
export declare const MarkdownDivRenderer: React.MemoExoticComponent<({ className, children, openCardIds, citations, handleToggleState, isStreamEnd, isLastMessage, handleStream, onGapValidation, isGapsSubmitted, ...props }: DivRendererProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
25
|
+
export declare const MarkdownDivRenderer: React.MemoExoticComponent<({ className, children, openCardIds, citations, handleToggleState, isStreamEnd, isLastMessage, handleStream, onGapValidation, isGapsSubmitted, onViewComparison, ...props }: DivRendererProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
25
26
|
export declare const MarkdownSpanRenderer: React.MemoExoticComponent<({ className, children, openCardIds, citations, handleToggleState, isStreamEnd, ...props }: DivRendererProps) => import("react/jsx-runtime").JSX.Element>;
|
|
26
27
|
export declare const MarkdownLinkRenderer: React.MemoExoticComponent<({ href, children, chatSize, openCitationIds, getCitationByNumber, handleToggleState, ...props }: LinkRendererProps) => import("react/jsx-runtime").JSX.Element>;
|
|
27
28
|
export {};
|
package/dist/types/src/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.d.ts.map
CHANGED
|
@@ -1 +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;AASvE,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;IACnB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACxD,eAAe,CAAC,EAAE,OAAO,CAAC;
|
|
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;AASvE,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;IACnB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;IACxD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAE;CAClC;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;AAgHD,eAAO,MAAM,mBAAmB,yMAa7B,gBAAgB,oDAsNjB,CAAC;AAEH,eAAO,MAAM,oBAAoB,wHAS5B,gBAAgB,6CAgEpB,CAAC;AAEF,eAAO,MAAM,oBAAoB,8HAQ9B,iBAAiB,6CAyClB,CAAC"}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
interface MessageRenderingProps {
|
|
2
2
|
index: number;
|
|
3
3
|
content: string;
|
|
4
4
|
role: string;
|
|
5
5
|
messages: any;
|
|
6
6
|
handleStream: any;
|
|
7
7
|
scrollToBottom?: any;
|
|
8
|
-
isLastMessage?: boolean
|
|
9
|
-
onSave?: (
|
|
10
|
-
citations?: any[]
|
|
11
|
-
setChatSize?: (
|
|
12
|
-
chatSize?: number
|
|
13
|
-
isStreamEnd?: boolean
|
|
14
|
-
messageIsEnd?: boolean
|
|
15
|
-
|
|
8
|
+
isLastMessage?: boolean;
|
|
9
|
+
onSave?: () => void;
|
|
10
|
+
citations?: any[];
|
|
11
|
+
setChatSize?: (size: number) => void;
|
|
12
|
+
chatSize?: number;
|
|
13
|
+
isStreamEnd?: boolean;
|
|
14
|
+
messageIsEnd?: boolean;
|
|
15
|
+
onViewComparison?: () => void;
|
|
16
|
+
}
|
|
17
|
+
declare const MessageRendering: ({ index, content, role, messages, handleStream, scrollToBottom, isLastMessage, onSave, citations, setChatSize, chatSize, isStreamEnd, messageIsEnd, onViewComparison, }: MessageRenderingProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
18
|
export default MessageRendering;
|
|
17
19
|
//# sourceMappingURL=MessageRendering.d.ts.map
|
package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MessageRendering.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageRendering.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-OTJ/_components/MessageRendering/MessageRendering.tsx"],"names":[],"mappings":"AAWA,
|
|
1
|
+
{"version":3,"file":"MessageRendering.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-OTJ/_components/MessageRendering/MessageRendering.tsx"],"names":[],"mappings":"AAWA,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,YAAY,EAAE,GAAG,CAAC;IAClB,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;CAC/B;AAED,QAAA,MAAM,gBAAgB,4KAenB,qBAAqB,4CAwyBvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
onViewComparison: () => void;
|
|
11
|
+
}
|
|
12
|
+
interface RuleCardStyles {
|
|
13
|
+
container?: CSSProperties;
|
|
14
|
+
headerTag?: CSSProperties;
|
|
15
|
+
strengthBadgeStyle?: CSSProperties;
|
|
16
|
+
title?: CSSProperties;
|
|
17
|
+
description?: CSSProperties;
|
|
18
|
+
button?: CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
declare const RuleValidationCard: React.FC<RuleCardProps>;
|
|
21
|
+
export default RuleValidationCard;
|
|
22
|
+
//# sourceMappingURL=RuleValidationCard.d.ts.map
|
package/dist/types/src/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuleValidationCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-OTJ/_components/MessageRendering/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;IAC9B,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAC9B;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,CAkH/C,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
package/dist/types/src/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface RuleData {
|
|
2
|
+
title: string;
|
|
3
|
+
scope: string;
|
|
4
|
+
description: string;
|
|
5
|
+
wta: string;
|
|
6
|
+
wnta: string;
|
|
7
|
+
}
|
|
8
|
+
export interface RuleComparisonProps {
|
|
9
|
+
proposedRule: RuleData;
|
|
10
|
+
existingRule: RuleData;
|
|
11
|
+
similarity: {
|
|
12
|
+
overall: number;
|
|
13
|
+
};
|
|
14
|
+
onAddAsVariant: () => void;
|
|
15
|
+
onSkip: () => void;
|
|
16
|
+
onBack: () => void;
|
|
17
|
+
}
|
|
18
|
+
declare const RuleComparison: ({ proposedRule, existingRule, similarity, onAddAsVariant, onSkip, onBack }: RuleComparisonProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export default RuleComparison;
|
|
20
|
+
//# sourceMappingURL=RuleComparison.d.ts.map
|
package/dist/types/src/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RuleComparison.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.tsx"],"names":[],"mappings":"AAKA,UAAU,QAAQ;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,QAAQ,CAAC;IACvB,YAAY,EAAE,QAAQ,CAAC;IACvB,UAAU,EAAE;QACV,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AAgCD,QAAA,MAAM,cAAc,+EAOjB,mBAAmB,4CA+LrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateRule.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.tsx"],"names":[],"mappings":"AA+CA,eAAO,MAAM,UAAU,iCAAkC,GAAG,
|
|
1
|
+
{"version":3,"file":"CreateRule.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.tsx"],"names":[],"mappings":"AA+CA,eAAO,MAAM,UAAU,iCAAkC,GAAG,4CAyQ3D,CAAC"}
|