@e-llm-studio/instant-learning 0.0.165 → 0.0.167
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/MessageRendering/RuleValidationCard.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.js +1 -1
- package/dist/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.js +1 -1
- package/dist/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../node_modules/tslib/tslib.es6.mjs.js"),i=require("react/jsx-runtime"),s=require("../_svg/InfoIcon.js");exports.default=function(n){var t=n.validationType,l=n.decisionStrength,o=n.title,r=n.tier,d=n.descriptionText,a=n.reasoningNode,x=n.customStyles,p=n.onViewComparison,g="100%"===l?"Exact Rule Found":"duplicate"===t?"Existing Rule Found":"Similar Rule Found",c=e.__assign({display:"flex",flexDirection:"column",border:"1px solid #E3E6EA",borderRadius:"8px",padding:"14px 16px",gap:"8px",backgroundColor:"#fff"},null==x?void 0:x.container),u=e.__assign({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),_=e.__assign({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.__assign({display:"flex",flexDirection:"row",alignItems:"center",padding:"8px",gap:"8px",width:"100%",height:"44px",backgroundColor:"#EFF4FF",border:"1px solid #B2CCFF",borderRadius:"8px",cursor:"pointer",boxSizing:"border-box"},null==x?void 0:x.button);return i.jsxs("div",e.__assign({style:c},{children:[i.jsxs("div",e.__assign({style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},{children:[i.jsxs("div",e.__assign({style:u},{children:[i.jsx(s.default,{})," ",g]})),l&&i.jsx("div",e.__assign({style:_},{children:i.jsxs("span",{children:[l," Similarity"]})}))]})),i.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:"12px"}},{children:[i.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:"6px"}},{children:[i.jsxs("h3",e.__assign({style:e.__assign({fontSize:"14px",fontWeight:500,color:"#19213D",margin:0},null==x?void 0:x.title)},{children:[o," ",r?"— ".concat(r):""]})),i.jsxs("div",e.__assign({style:e.__assign({fontSize:"14px",fontWeight:400,color:"#666F8D",lineHeight:"1.5"},null==x?void 0:x.description)},{children:[i.jsx("span",{children:d}),a]}))]})),i.jsxs("button",e.__assign({style:h,onClick:p},{children:[i.jsxs("svg",e.__assign({width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[i.jsx("rect",{width:"28",height:"28",rx:"14",fill:"#D1E0FF"}),i.jsx("path",{d:"M9.33399 13.9974L18.6673 13.9974M18.6673 13.9974L14.0007 18.6641M18.6673 13.9974L14.0007 9.33073",stroke:"#004EEB",strokeWidth:"1.52381",strokeLinecap:"round",strokeLinejoin:"round"})]})),i.jsx("span",e.__assign({style:{fontSize:"14px",fontWeight:500,fontFamily:"'Inter', sans-serif",color:"#1D2939",lineHeight:"20px",display:"flex",alignItems:"center"}},{children:"Compare"}))]}))]}))]}))};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../node_modules/tslib/tslib.es6.mjs.js"),i=require("react/jsx-runtime"),s=require("../_svg/InfoIcon.js");exports.default=function(n){var t=n.validationType,l=n.decisionStrength,o=n.title,r=n.tier,d=n.descriptionText,a=n.reasoningNode,x=n.customStyles,p=n.onViewComparison,g="100%"===l?"Exact Rule Found":"duplicate"===t?"Existing Rule Found":"Similar Rule Found",c=e.__assign({display:"flex",flexDirection:"column",border:"1px solid #E3E6EA",borderRadius:"8px",padding:"14px 16px",gap:"8px",backgroundColor:"#fff"},null==x?void 0:x.container),u=e.__assign({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),_=e.__assign({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.__assign({display:"flex",flexDirection:"row",alignItems:"center",padding:"8px",gap:"8px",width:"100%",maxWidth:"140px",height:"44px",backgroundColor:"#EFF4FF",border:"1px solid #B2CCFF",borderRadius:"8px",cursor:"pointer",boxSizing:"border-box"},null==x?void 0:x.button);return i.jsxs("div",e.__assign({style:c},{children:[i.jsxs("div",e.__assign({style:{display:"flex",justifyContent:"space-between",alignItems:"center"}},{children:[i.jsxs("div",e.__assign({style:u},{children:[i.jsx(s.default,{})," ",g]})),l&&i.jsx("div",e.__assign({style:_},{children:i.jsxs("span",{children:[l," Similarity"]})}))]})),i.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:"12px"}},{children:[i.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:"6px"}},{children:[i.jsxs("h3",e.__assign({style:e.__assign({fontSize:"14px",fontWeight:500,color:"#19213D",margin:0},null==x?void 0:x.title)},{children:[o," ",r?"— ".concat(r):""]})),i.jsxs("div",e.__assign({style:e.__assign({fontSize:"14px",fontWeight:400,color:"#666F8D",lineHeight:"1.5"},null==x?void 0:x.description)},{children:[i.jsx("span",{children:d}),a]}))]})),i.jsxs("button",e.__assign({style:h,onClick:p},{children:[i.jsxs("svg",e.__assign({width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[i.jsx("rect",{width:"28",height:"28",rx:"14",fill:"#D1E0FF"}),i.jsx("path",{d:"M9.33399 13.9974L18.6673 13.9974M18.6673 13.9974L14.0007 18.6641M18.6673 13.9974L14.0007 9.33073",stroke:"#004EEB",strokeWidth:"1.52381",strokeLinecap:"round",strokeLinejoin:"round"})]})),i.jsx("span",e.__assign({style:{fontSize:"14px",fontWeight:500,fontFamily:"'Inter', sans-serif",color:"#1D2939",lineHeight:"20px",display:"flex",alignItems:"center"}},{children:"Compare"}))]}))]}))]}))};
|
|
2
2
|
//# sourceMappingURL=RuleValidationCard.js.map
|