@e-llm-studio/requirement-ai 0.0.137 → 0.0.138
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/RequirementAI/components/ai-reasoning/BigEnoughComponent.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.js +1 -1
- package/dist/types/src/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),e=require("react/jsx-runtime"),n=require("./BigEnoughComponent.module.css.js"),l=require("lucide-react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),e=require("react/jsx-runtime"),n=require("./BigEnoughComponent.module.css.js"),l=require("lucide-react"),o=require("@e-llm-studio/citation"),s=require("../RequirementAIWrapper/RequirementAIWrapper.js");exports.default=function(u){var t,a,g,d,c,r,h=u.customStyles,_=u.big_enough_decision_factors,v=s.useRequirementAI().gptCitationConfigs;console.log("big_enough_decision_factors",_,h);var m=function(e){var n=(null==_?void 0:_.big_enough_score)===e;return console.log("big_enough_decision_factors",n,e,_,h),i.__assign({},n?i.__assign(i.__assign({},null==h?void 0:h.bigEnoughGuidelinePoints),null==h?void 0:h.bigEnoughGuidelinePointsActive):null==h?void 0:h.bigEnoughGuidelinePoints)};return e.jsxs("div",i.__assign({className:n.default.bigEnoughContainer,style:null==h?void 0:h.bigEnoughContainer},{children:[e.jsxs("div",i.__assign({className:n.default.bigEnoughColumn,style:null==h?void 0:h.bigEnoughColumn},{children:[e.jsx("p",i.__assign({className:n.default.bigEnoughColumnLabel,style:null==h?void 0:h.bigEnoughColumnLabel},{children:"Guideline"})),e.jsxs("div",i.__assign({className:n.default.bigEnoughBlock,style:null==h?void 0:h.bigEnoughBlock},{children:[e.jsx("p",i.__assign({className:"".concat(n.default.bigEnoughGuidelinePoints," ").concat(0===(null==_?void 0:_.big_enough_score)?n.default.bigEnoughGuidelinePointsActive:""),style:m(0)},{children:"0 - Micro : 1-2 line changes single step"})),e.jsx("p",i.__assign({className:"".concat(n.default.bigEnoughGuidelinePoints," ").concat(1===(null==_?void 0:_.big_enough_score)?n.default.bigEnoughGuidelinePointsActive:""),style:m(1)},{children:"1 - Small task : one function change 1-2 steps max"})),e.jsx("p",i.__assign({className:"".concat(n.default.bigEnoughGuidelinePoints," ").concat(2===(null==_?void 0:_.big_enough_score)?n.default.bigEnoughGuidelinePointsActive:""),style:m(2)},{children:"2 - Mid-small : 3-5 step task encompasses within a single file"})),e.jsx("p",i.__assign({className:"".concat(n.default.bigEnoughGuidelinePoints," ").concat(3===(null==_?void 0:_.big_enough_score)?n.default.bigEnoughGuidelinePointsActive:""),style:m(3)},{children:"3 - Medium : 3-7 steps encompassing multiple files"})),e.jsx("p",i.__assign({className:"".concat(n.default.bigEnoughGuidelinePoints," ").concat(4===(null==_?void 0:_.big_enough_score)?n.default.bigEnoughGuidelinePointsActive:""),style:m(4)},{children:"4 - Large : A full blown big feature implementation"})),e.jsx("p",i.__assign({className:"".concat(n.default.bigEnoughGuidelinePoints," ").concat(5===(null==_?void 0:_.big_enough_score)?n.default.bigEnoughGuidelinePointsActive:""),style:m(5)},{children:"5 - Very Large : Full blown multi-repo feature implementation"}))]}))]})),e.jsx("div",{className:n.default.bigEnoughColumnDivider,style:null==h?void 0:h.bigEnoughColumnDivider}),e.jsxs("div",i.__assign({className:n.default.bigEnoughColumn,style:null==h?void 0:h.bigEnoughColumn},{children:[e.jsx("p",i.__assign({className:n.default.bigEnoughColumnLabel,style:null==h?void 0:h.bigEnoughColumnLabel},{children:"GPT Citation"})),e.jsx("div",i.__assign({className:n.default.bigEnoughBlock,style:null==h?void 0:h.bigEnoughBlock},{children:e.jsx(o.CognitiveInternalgptCoreComponent,i.__assign({item:{text:"",dataSource:null===(a=null===(t=null==_?void 0:_.customMetadata)||void 0===t?void 0:t.data_sources)||void 0===a?void 0:a[0],trainingDataTitle:null===(d=null===(g=null==_?void 0:_.customMetadata)||void 0===g?void 0:g.training_data_title)||void 0===d?void 0:d[0],paraphrase:null===(r=null===(c=null==_?void 0:_.customMetadata)||void 0===c?void 0:c.paraphrase)||void 0===r?void 0:r[0]},headerTitle:(null==v?void 0:v.title)||"GPT - Gemini 2.5 Flash",iconsConfig:{ChevronDownIcon:l.ChevronDown,ChevronUpIcon:l.ChevronUp,MaximizeIcon:l.Maximize2,CloseIcon:l.X}},null==v?void 0:v.gptCitationProps))}))]}))]}))};
|
|
2
2
|
//# sourceMappingURL=BigEnoughComponent.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as i}from"tslib";import{jsxs as
|
|
1
|
+
import{__assign as i}from"tslib";import{jsxs as n,jsx as o}from"react/jsx-runtime";import e from"./BigEnoughComponent.module.css.js";import{ChevronDown as l,ChevronUp as t,Maximize2 as u,X as s}from"lucide-react";import{CognitiveInternalgptCoreComponent as a}from"@e-llm-studio/citation";import{useRequirementAI as c}from"../RequirementAIWrapper/RequirementAIWrapper.js";var g=function(g){var d,r,h,m,v,b,p=g.customStyles,E=g.big_enough_decision_factors,_=c().gptCitationConfigs;console.log("big_enough_decision_factors",E,p);var C=function(n){var o=(null==E?void 0:E.big_enough_score)===n;return console.log("big_enough_decision_factors",o,n,E,p),i({},o?i(i({},null==p?void 0:p.bigEnoughGuidelinePoints),null==p?void 0:p.bigEnoughGuidelinePointsActive):null==p?void 0:p.bigEnoughGuidelinePoints)};return n("div",i({className:e.bigEnoughContainer,style:null==p?void 0:p.bigEnoughContainer},{children:[n("div",i({className:e.bigEnoughColumn,style:null==p?void 0:p.bigEnoughColumn},{children:[o("p",i({className:e.bigEnoughColumnLabel,style:null==p?void 0:p.bigEnoughColumnLabel},{children:"Guideline"})),n("div",i({className:e.bigEnoughBlock,style:null==p?void 0:p.bigEnoughBlock},{children:[o("p",i({className:"".concat(e.bigEnoughGuidelinePoints," ").concat(0===(null==E?void 0:E.big_enough_score)?e.bigEnoughGuidelinePointsActive:""),style:C(0)},{children:"0 - Micro : 1-2 line changes single step"})),o("p",i({className:"".concat(e.bigEnoughGuidelinePoints," ").concat(1===(null==E?void 0:E.big_enough_score)?e.bigEnoughGuidelinePointsActive:""),style:C(1)},{children:"1 - Small task : one function change 1-2 steps max"})),o("p",i({className:"".concat(e.bigEnoughGuidelinePoints," ").concat(2===(null==E?void 0:E.big_enough_score)?e.bigEnoughGuidelinePointsActive:""),style:C(2)},{children:"2 - Mid-small : 3-5 step task encompasses within a single file"})),o("p",i({className:"".concat(e.bigEnoughGuidelinePoints," ").concat(3===(null==E?void 0:E.big_enough_score)?e.bigEnoughGuidelinePointsActive:""),style:C(3)},{children:"3 - Medium : 3-7 steps encompassing multiple files"})),o("p",i({className:"".concat(e.bigEnoughGuidelinePoints," ").concat(4===(null==E?void 0:E.big_enough_score)?e.bigEnoughGuidelinePointsActive:""),style:C(4)},{children:"4 - Large : A full blown big feature implementation"})),o("p",i({className:"".concat(e.bigEnoughGuidelinePoints," ").concat(5===(null==E?void 0:E.big_enough_score)?e.bigEnoughGuidelinePointsActive:""),style:C(5)},{children:"5 - Very Large : Full blown multi-repo feature implementation"}))]}))]})),o("div",{className:e.bigEnoughColumnDivider,style:null==p?void 0:p.bigEnoughColumnDivider}),n("div",i({className:e.bigEnoughColumn,style:null==p?void 0:p.bigEnoughColumn},{children:[o("p",i({className:e.bigEnoughColumnLabel,style:null==p?void 0:p.bigEnoughColumnLabel},{children:"GPT Citation"})),o("div",i({className:e.bigEnoughBlock,style:null==p?void 0:p.bigEnoughBlock},{children:o(a,i({item:{text:"",dataSource:null===(r=null===(d=null==E?void 0:E.customMetadata)||void 0===d?void 0:d.data_sources)||void 0===r?void 0:r[0],trainingDataTitle:null===(m=null===(h=null==E?void 0:E.customMetadata)||void 0===h?void 0:h.training_data_title)||void 0===m?void 0:m[0],paraphrase:null===(b=null===(v=null==E?void 0:E.customMetadata)||void 0===v?void 0:v.paraphrase)||void 0===b?void 0:b[0]},headerTitle:(null==_?void 0:_.title)||"GPT - Gemini 2.5 Flash",iconsConfig:{ChevronDownIcon:l,ChevronUpIcon:t,MaximizeIcon:u,CloseIcon:s}},null==_?void 0:_.gptCitationProps))}))]}))]}))};export{g as default};
|
|
2
2
|
//# sourceMappingURL=BigEnoughComponent.js.map
|
package/dist/types/src/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BigEnoughComponent.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAA4B,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACjG,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAItE,UAAU,MAAM;IACd,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC,2BAA2B,CAAC,EAAE,eAAe,CAAC;CAC/C;AAED,QAAA,MAAM,kBAAkB,mDAGrB,MAAM,
|
|
1
|
+
{"version":3,"file":"BigEnoughComponent.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.tsx"],"names":[],"mappings":"AACA,OAAO,EAA4B,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACjG,OAAO,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAItE,UAAU,MAAM;IACd,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC,2BAA2B,CAAC,EAAE,eAAe,CAAC;CAC/C;AAED,QAAA,MAAM,kBAAkB,mDAGrB,MAAM,4CA2HR,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|