@e-llm-studio/instant-learning 1.3.0-alpha.261 → 1.3.0-alpha.262

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.
Files changed (23) hide show
  1. package/dist/6fbbe065ef78c384.gif +0 -0
  2. package/dist/cjs/6fbbe065ef78c384.gif +0 -0
  3. package/dist/cjs/features/LearningManagement/public/ThinkingBulbIcon.gif.js +2 -0
  4. package/dist/cjs/features/LearningManagement/public/ThinkingBulbIcon.gif.js.map +1 -0
  5. package/dist/features/LearningManagement/public/ThinkingBulbIcon.gif.js +2 -0
  6. package/dist/features/LearningManagement/public/ThinkingBulbIcon.gif.js.map +1 -0
  7. package/dist/types/src/ThinkingBulbIconComponent.d.ts +4 -0
  8. package/dist/types/src/ThinkingBulbIconComponent.d.ts.map +1 -0
  9. package/package.json +1 -1
  10. package/dist/cjs/features/LearningManagement/HumanChanges/HumanChange.js +0 -2
  11. package/dist/cjs/features/LearningManagement/HumanChanges/HumanChange.js.map +0 -1
  12. package/dist/cjs/features/LearningManagement/components/CreateLearningSetModal.js +0 -2
  13. package/dist/cjs/features/LearningManagement/components/CreateLearningSetModal.js.map +0 -1
  14. package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js +0 -2
  15. package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js.map +0 -1
  16. package/dist/features/LearningManagement/HumanChanges/HumanChange.js +0 -2
  17. package/dist/features/LearningManagement/HumanChanges/HumanChange.js.map +0 -1
  18. package/dist/features/LearningManagement/components/CreateLearningSetModal.js +0 -2
  19. package/dist/features/LearningManagement/components/CreateLearningSetModal.js.map +0 -1
  20. package/dist/features/LearningManagement/styles/CreateLearningSetModal.module.css.js +0 -2
  21. package/dist/features/LearningManagement/styles/CreateLearningSetModal.module.css.js.map +0 -1
  22. package/dist/types/src/features/LearningManagement/HumanChanges/HumanChange.d.ts +0 -10
  23. package/dist/types/src/features/LearningManagement/HumanChanges/HumanChange.d.ts.map +0 -1
Binary file
Binary file
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default="6fbbe065ef78c384.gif";
2
+ //# sourceMappingURL=ThinkingBulbIcon.gif.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThinkingBulbIcon.gif.js","sources":["../../../../../src/features/LearningManagement/public/ThinkingBulbIcon.gif"],"sourcesContent":["export default \"6fbbe065ef78c384.gif\""],"names":[],"mappings":"oFAAe"}
@@ -0,0 +1,2 @@
1
+ var e="6fbbe065ef78c384.gif";export{e as default};
2
+ //# sourceMappingURL=ThinkingBulbIcon.gif.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThinkingBulbIcon.gif.js","sources":["../../../../src/features/LearningManagement/public/ThinkingBulbIcon.gif"],"sourcesContent":["export default \"6fbbe065ef78c384.gif\""],"names":["ThinkingBulb"],"mappings":"AAAA,IAAeA,EAAA"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ declare const ThinkingBulbIconComponent: () => React.JSX.Element;
3
+ export default ThinkingBulbIconComponent;
4
+ //# sourceMappingURL=ThinkingBulbIconComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThinkingBulbIconComponent.d.ts","sourceRoot":"","sources":["../../../src/ThinkingBulbIconComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,QAAA,MAAM,yBAAyB,yBAI9B,CAAA;AAED,eAAe,yBAAyB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/instant-learning",
3
- "version": "1.3.0-alpha.261",
3
+ "version": "1.3.0-alpha.262",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),e=require("react/jsx-runtime"),n=require("@e-llm-studio/federated-dashboard-components");require("@e-llm-studio/federated-dashboard-components/styles.css");var l=function(i){return new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(i)};function a(a){var o,t,d,s,c,I,m,r,g,N,b,p,u,h,v,j,M,W,Z,w,x=a.row,Y=null!==(o=null==x?void 0:x.level)&&void 0!==o?o:"-",y=null!==(t=null==x?void 0:x.scopeName)&&void 0!==t?t:"global"===Y?"Global":"-",z=null!==(d=null==x?void 0:x.frequency)&&void 0!==d?d:0,f=null!==(s=null==x?void 0:x.reviewStatus)&&void 0!==s?s:"-",T=null!==(c=null==x?void 0:x.blastRadius)&&void 0!==c?c:{},_=null!==(I=T.entityLevel)&&void 0!==I?I:"entities",G=null!==(m=T.entityCount)&&void 0!==m?m:0,O=null!==(r=T.nextLevel)&&void 0!==r?r:"",V=null!==(g=T.nextLevelCount)&&void 0!==g?g:0,J=null!==(b=null===(N=null==x?void 0:x.kpi)||void 0===N?void 0:N.revenue)&&void 0!==b?b:0,k=null!==(u=null===(p=null==x?void 0:x.kpi)||void 0===p?void 0:p.fill_rate)&&void 0!==u?u:0;null===(h=null==x?void 0:x.kpi)||void 0===h||h.fill_minutes;var E=null!==(j=null===(v=null==x?void 0:x.kpi)||void 0===v?void 0:v.violations_introduced)&&void 0!==j?j:0,C=(null==x?void 0:x.summary)||"No summary available.",D=(null===(M=null==x?void 0:x.cognitiveDecisioning)||void 0===M?void 0:M.reason)||[],S=(null===(W=null==x?void 0:x.cognitiveDecisioning)||void 0===W?void 0:W.gap)||[],R=(null===(Z=null==x?void 0:x.cognitiveDecisioning)||void 0===Z?void 0:Z.confidence_score)||0,F=(null===(w=null==x?void 0:x.cognitiveDecisioning)||void 0===w?void 0:w.citation)||{};return e.jsx(n.HumanIntelligenceCard,{patternDetails:{label:"PATTERN DETAILS",content:e.jsxs(e.Fragment,{children:[e.jsxs("div",i.__assign({style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"12px",marginBottom:"16px"}},{children:[e.jsxs("div",{children:[e.jsx("div",i.__assign({style:{fontSize:"11px",color:"#6b7280",textTransform:"uppercase",letterSpacing:"0.4px",marginBottom:"2px"}},{children:"Scope"})),e.jsx("div",i.__assign({style:{fontSize:"13px",fontWeight:500,textTransform:"capitalize"}},{children:y}))]}),e.jsxs("div",{children:[e.jsx("div",i.__assign({style:{fontSize:"11px",color:"#6b7280",textTransform:"uppercase",letterSpacing:"0.4px",marginBottom:"2px"}},{children:"Occurrences"})),e.jsx("div",i.__assign({style:{fontSize:"13px",fontWeight:500}},{children:z}))]}),e.jsxs("div",{children:[e.jsx("div",i.__assign({style:{fontSize:"11px",color:"#6b7280",textTransform:"uppercase",letterSpacing:"0.4px",marginBottom:"2px"}},{children:"Blast Radius"})),e.jsxs("div",i.__assign({style:{fontSize:"13px",fontWeight:500,textTransform:"capitalize"}},{children:[G," ",_,O?" / ".concat(V," ").concat(O):""]}))]}),e.jsxs("div",{children:[e.jsx("div",i.__assign({style:{fontSize:"11px",color:"#6b7280",textTransform:"uppercase",letterSpacing:"0.4px",marginBottom:"2px"}},{children:"Review Status"})),e.jsx("div",i.__assign({style:{fontSize:"13px",fontWeight:500,textTransform:"capitalize"}},{children:f}))]})]})),e.jsxs("div",{children:[e.jsx("div",i.__assign({style:{fontSize:"11px",color:"#6b7280",textTransform:"uppercase",letterSpacing:"0.4px",marginBottom:"4px"}},{children:"KPI IMPACT"})),e.jsxs("div",i.__assign({style:{display:"flex",gap:"8px",color:"#059669",fontSize:"12px",fontWeight:500}},{children:[e.jsxs("span",{children:["Revenue: ",J>0?"+$".concat(l(J)):"$".concat(l(J))]}),e.jsx("span",i.__assign({style:{color:"#d1d5db"}},{children:"|"})),e.jsxs("span",{children:["Fill rate: ",k>0?"+".concat(k):k," %"]}),e.jsx("span",i.__assign({style:{color:"#d1d5db"}},{children:"|"})),e.jsxs("span",i.__assign({style:{color:"#dc2626"}},{children:["Violations: ",E>0?"+".concat(E):E]}))]}))]})]})},humanChangesSummary:{content:C},cognitiveDecisioning:{reason:D,gap:S,confidence_score:R,citation:F,humanIntelligentConfigId:"6a8c328655e6c28ba3a922a7",changeLogConfigId:"6a0dad334a3eb88a900d4948",baseUrl:"https://dev.appmod.ai",changeLogs:[{change_log_id:"4e88ae45-8815-4a7c-9fa9-f7c941f7533b",change:"Spot d7831c25 displaced in segment 7bd00e6d",changeTitle:"DISPLACED",metadata:{spot_id:"d7831c25-143b-4d7a-a9fb-32c0a99d8140",advertiser:"Audacy Weather Network",ad_attributes:{priority_code:"AAN"}}},{change_log_id:"7cb7e438-07c4-4644-ab90-7fc4431b5d64",change:"Spot 9f4494cd placed in segment 6d16c3e0",changeTitle:"PLACED",metadata:{spot_id:"9f4494cd-b988-4b47-beab-481210c2d9f4",advertiser:"Texas State Technical College",ad_attributes:{priority_code:"NARR"}}}],tableTitle:"Table input name: change_log",agentConfig:"intel_human_change_summary_agent_config",rulebookTitle:"Rulebook",rulebookPaginationText:"1 of 2"}})}var o={userDetails:{_id:"68b99111f5af2790a5b7d771",email:"mohammed.faizuddin@techolution.com",accessToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb25uZWN0b3JNYXAiOnt9LCJfaWQiOiI2OThlZWEzMGE0OTY0NGUwODA0NGZhNDkiLCJlbWFpbCI6ImFhZGhpdGh5YS5zZW5kaGlsbWFuaWFuQHRlY2hvbHV0aW9uLmNvbSIsImZpcnN0bmFtZSI6IkFhZGhpdGh5YSIsImxhc3RuYW1lIjoiU2VuZGhpbCIsInJvbGUiOlsiNmEzYzEzNDVlNGQwYzEyOTJkMDI0YmUzIiwiNjlmMzUyMmUzNWMyODg2NjIxYmI4YzdjIiwiNmExNmUzYjE4NTQxOTExNTI0M2U4MDZhIiwiNjlmMzUyMmUzNWMyODg2NjIxYmI4YzdhIiwiNmE3ZDliYTBjNzA0NDVlODA2ZTRmMmE3IiwiNjlmMzUyMmUzNWMyODg2NjIxYmI4YzdlIiwiNjg5OWMxZTZhZDlkMDhkYWRkMWM1ZTk4IiwiNjljM2I4NDgwNzViYmYyZjBkYjIyMjM5IiwiNmEzYzEzNDVlNGQwYzEyOTJkMDI0YmUxIiwiNjljM2I4NDcwNzViYmYyZjBkYjIyMjM3IiwiNjljM2I4NDcwNzViYmYyZjBkYjIyMjM1IiwiNjg5OWMxZTZhZDlkMDhkYWRkMWM1ZTlhIiwiNmEwNWI0YjQ4YmJmMzYxMDUwYmJhMDkwIiwiNjg5OWMzM2FlOWZkNDFmM2Y5MDhlZGQwIiwiNjk2NjY1OWU5MTEyNTc0ZWJlMzAyZmViIl0sImRlcGFydG1lbnRzIjpbXSwib3JnYW5pemF0aW9uIjpbXSwic3RhdHVzIjoiQUNUSVZFIiwicmVzZXRfdG9rZW4iOm51bGwsImdyb3VwcyI6W10sImNyZWF0ZWRBdCI6IjIwMjYtMDItMTNUMDk6MDk6MDQuNzI4WiIsImpvaW5lZE9uIjoiMjAyNi0wMi0xM1QwOTowOTowNC43MjhaIiwidXNlclZhbGlkaXR5IjoiMjEyNi0wMS0yMFQwOTowOTowNC43MzBaIiwicm9sZW5hbWUiOlsiQ29udGVudCBHZW5lcmF0aW9uIFdvcmtmbG93IENvbXBvc2VyIE1hbmFnZXIiLCJPcmcgVXNlciIsIkNvbnRlbnQgV29ya2Zsb3cgQ29tcG9zZXIgQWRtaW4iLCJJbnN0YW50IExlYXJuaW5nIE1vZGUgTWFuYWdlciIsIkFnZW50IEdlbmllIE1vZGUgQWRtaW4iLCJ0ZXN0YXVkYWN5cmlscHJvbXB0IEFkbWluIiwidGVzdHZhbDFjaGlyYW5naSBBZG1pbiIsImlsb3RqZmVkZXJhdGVkZGV2IEFkbWluIiwiaWxjb2duaXRpdmVzZWFyY2ggQWRtaW4iLCJDb250ZW50IFdvcmtmbG93IENvbXBvc2VyIE1hbmFnZXIiLCJDb250ZW50IFdvcmtmbG93IENvbXBvc2VyIFVzZXIiLCJBZ2VudCBHZW5pZSBNb2RlIE1hbmFnZXIiLCJJbnN0YW50IExlYXJuaW5nIE1vZGUgQWRtaW4iLCJJbnN0YW50IExlYXJuaW5nIE1vZGUgVXNlciIsIkNvbnRlbnQgR2VuZXJhdGlvbiBXb3JrZmxvdyBDb21wb3NlciBVc2VyIl0sImFjdGl2ZVByb3ZpZGVyIjpudWxsLCJpYXQiOjE3ODg1MzE2NzEsImV4cCI6MTc4ODcwNDQ3MX0._KNYWqdlHp3wUm0kyNsALs_zslJ-kDINgJ6QoBvFMCM",firstname:"Mohammed",lastname:"Faizuddin",provider:{provider:"google",type:"oauth",providerAccountId:"113906564963363626297",access_token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb25uZWN0b3JNYXAiOnt9LCJfaWQiOiI2OGFjMjVkZmQxYzhjZTI5NDllOWM3NjgiLCJlbWFpbCI6Inlha3NoLnBhdGVsQHRlY2hvbHV0aW9uLmNvbSIsImZpcnN0bmFtZSI6Illha3NoIiwibGFzdG5hbWUiOiJQYXRlbCIsInJvbGUiOlsiNjg5OWM1MjI0ZDZkYzQxY2QxZmI3OTVhIiwiNjg5OWMzM2FlOWZkNDFmM2Y5MDhlZGQwIiwiNjg5OWMxZTZhZDlkMDhkYWRkMWM1ZTk2IiwiNjlmMzUyMmUzNWMyODg2NjIxYmI4YzdlIiwiNjgxZGQzN2QzMmI2ZWI5OGJkMjA4ZTJiIl0sImRlcGFydG1lbnRzIjpbXSwic3RhdHVzIjoiQUNUSVZFIiwicmVzZXRfdG9rZW4iOm51bGwsImNyZWF0ZWRBdCI6IjIwMjUtMDgtMjVUMDg6NTk6MTEuMzI5WiIsImpvaW5lZE9uIjoiMjAyNS0wOC0yNVQwODo1OToxMS4zMjlaIiwidXNlclZhbGlkaXR5IjoiMjEyNS0wOC0wMVQxMTowNToxOC41NjNaIiwiZW1wbG95ZW1lbnRUeXBlIjoiSW50ZXJuIiwiZGVzaWduYXRpb24iOiJGdWxsIFN0YWNrIERldmVsb3BlciAtIEludGVybiIsImRlcGFydG1lbnQiOiJBcnRpZmljaWFsIEludGVsbGlnZW5jZSIsImVtcGxveWVlSWQiOiJJTlQwNTM2Iiwib3JnYW5pemF0aW9uIjpbXSwiZ3JvdXBzIjpbXSwicm9sZW5hbWUiOlsiT3JnIFVzZXIiLCJjdy1hZG1pbiIsIkFnZW50IEdlbmllIE1vZGUgVXNlciIsIkluc3RhbnQgTGVhcm5pbmcgTW9kZSBBZG1pbiIsIk9yZyBBZG1pbiJdLCJhY3RpdmVQcm92aWRlciI6bnVsbCwiaWF0IjoxNzg2MDIwNjMzLCJleHAiOjE3ODYxOTM0MzN9.g7YEM5mRvNt0-inVRplaKue-4d23srR0QsndV1dBYAc",expires_at:1778186779,refresh_token:"1//046oTS9mV16_3CgYIARAAGAQSNwF-L9IrQzdaeTkeBkzv9fUL_4fmWnIkRUGg3GO6FPkIXg-LQBdCnlwQ5U6QJBl-Duk4yEJxhVQ",scope:"https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/userinfo.profile openid https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/drive.readonly",id_token:"eyJhbGciOiJSUzI1NiIsImtpZCI6IjgwNzZkZGJhYjQxNTU1NmUxNjkxNTRjNmE0YTBiZGJkNDQ2OWI3OWMiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI2OTMyNDYzNTgwMTktZXFncDRyMHZkcXBzN2o4ZGEycmo0Ym9zYnJ0aGp1bDYuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI2OTMyNDYzNTgwMTktZXFncDRyMHZkcXBzN2o4ZGEycmo0Ym9zYnJ0aGp1bDYuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMTM5MDY1NjQ5NjMzNjM2MjYyOTciLCJoZCI6InRlY2hvbHV0aW9uLmNvbSIsImVtYWlsIjoiYWtzaGF5LmtvbWFrdWxhQHRlY2hvbHV0aW9uLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiazYyaUNLcWlzWTk1MlJ1bXltM1hCdyIsIm5hbWUiOiJBa3NoYXkgS3VtYXIgS29tYWt1bGEiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jS3F3aV83cjNiS2t5VnlpTURMamxhYlJSY1pXazlKazYyTDlzbTI3VWFIcWh6V0FOND1zOTYtYyIsImdpdmVuX25hbWUiOiJBa3NoYXkgS3VtYXIgIiwiZmFtaWx5X25hbWUiOiJLb21ha3VsYSIsImlhdCI6MTc3ODE2MDI4MSwiZXhwIjoxNzc4MTYzODgxfQ.cI1CQ-9AQp39lOOmOjSIf798dP3Tgt32PCckA_cgW2BDbG2zFTCd6D73fqK_07jBXESim_P9XA2mJjvft9Uxv1Vqv7sEtwXozif-gL1A27EjwYxt6kv1sP2IREZUYfGewsC-jG0NNqZGNwiV3h3ms6Q3pZaKY0tiMP9PSAG88f7UNsjAK1joz38RWYNJL5VIPK41-ghClz7zCehGAqy6HKVryHzHtoe9aN8HfM8fJbBfFNBVnj4zcZ1NeqY0rKJt_VZ8_3c6QK_t05MyiscEUnVd7F7rJYwBq_uT4cmavc3pjFiJyeY8XqUPn9F6EJ0per14hsfrEs_GNs0pjaMleg",name:"Akshay Kumar Komakula",email:"akshay.komakula@techolution.com"}},configId:"6a8c328655e6c28ba3a922a7",changeLogConfigId:"6a0f649af543ba46ed0bf18b",app_integration_id:"01a03dbd-f4f1-724a-81fc-72b94084b9c6",teachMeConfig:{CUSTOM_SCOPE_GROUP_NAME:"Audacy-Traffic-Manager",INSTANT_LEARNING_TYPE:"iL",MODEL:"claude-3.5-sonnet",CONFIG_MASTER_NAME:"audacy-config",SCOPE_NAME:"Custom",ASSISTANT_NAME:"ilotjfederateddev",ORGANIZATION_NAME:"techolution",BASE_URL:"https://devllmstudio.creativeworkspace.ai",BASE_WEBSOCKET_URL:"wss://devllmstudio.creativeworkspace.ai/graphql",CATEGORY:"Global-Template",SOCKET_TIMEOUT:24e4},modeId:"019dde79-0494-78d7-ba5b-54a35d20f0fc",getData:{baseUrl:"https://dev.appmod.ai",endpoint:"/federated/human_change_config_filters/human-changes"},query:{scopeId:[],paginationLimit:12},rejectLearningApi:{endpoint:"/federated/human_change_config_filters/review"},generateLearningApi:{endpoint:"/federated/human_change_config_filters/review"},footerActions:{primary:{label:"Generate Learning",show:!0},secondary:{label:"Reject",show:!0}},config:{showHeader:!0,showAccordionToggle:!0,showMaximizeToggle:!0},table:{showExpandIcon:!0,expandable:!0,renderExpandedRow:function(i){return e.jsx(a,{row:i})}}};exports.HumanChange=function(l){var a=l.humanChanges,t=null!=a?a:o;return e.jsx(e.Fragment,{children:e.jsx("div",i.__assign({style:{width:"97%",margin:"0 auto",paddingBottom:"40px"}},{children:e.jsx(n.HumanChangesTableWrapper,i.__assign({},t))}))})};
2
- //# sourceMappingURL=HumanChange.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HumanChange.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),a=require("react"),l=require("lucide-react"),i=require("../styles/CreateLearningSetModal.module.css.js");exports.default=function(n){var t=n.isOpen,r=n.onClose,c=n.onSubmit,d=n.title,u=n.description,o=n.inputLabel,_=n.submitLabel,f=n.placeholder,m=void 0===f?"":f,g=n.initialValue,h=void 0===g?"":g,v=n.isLoading,x=void 0!==v&&v,j=a.useState(""),p=j[0],b=j[1],N=a.useState(null),C=N[0],q=N[1];return a.useEffect(function(){t&&(b(h),q(null))},[t,h]),t?s.jsx("div",e.__assign({className:i.default.overlay},{children:s.jsxs("div",e.__assign({className:i.default.modal},{children:[s.jsxs("div",e.__assign({className:i.default.header},{children:[s.jsxs("div",e.__assign({className:i.default.headerContent},{children:[s.jsx("h2",e.__assign({className:i.default.title},{children:d})),u&&s.jsx("p",e.__assign({className:i.default.description},{children:u}))]})),s.jsx("button",e.__assign({onClick:r,className:i.default.closeBtn,disabled:x},{children:s.jsx(l.X,{size:24})}))]})),s.jsx("div",e.__assign({className:i.default.form},{children:s.jsxs("div",e.__assign({className:i.default.formGroup},{children:[s.jsxs("label",e.__assign({className:i.default.label},{children:[s.jsx("span",e.__assign({className:i.default.asterisk},{children:"*"})),o]})),s.jsx("input",{type:"text",value:p,onChange:function(e){b(e.target.value),C&&q(null)},className:"".concat(i.default.inputField," ").concat(C?i.default.inputError:""),placeholder:m,disabled:x}),C&&s.jsx("p",e.__assign({className:i.default.errorMessage},{children:C}))]}))})),s.jsxs("div",e.__assign({className:i.default.footer},{children:[s.jsx("button",e.__assign({onClick:r,className:i.default.cancelBtn,disabled:x},{children:"Cancel"})),s.jsx("button",e.__assign({onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var s;return e.__generator(this,function(e){switch(e.label){case 0:if(!(p.trim()?(q(null),1):(q("".concat(o.replace("*","").trim()," is required")),0)))return[2];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,c(p)];case 2:return e.sent(),r(),[3,4];case 3:return s=e.sent(),q((null==s?void 0:s.message)||"An error occurred. Please try again."),[3,4];case 4:return[2]}})})},className:i.default.confirmBtn,disabled:x},{children:x?s.jsxs(s.Fragment,{children:[s.jsx(l.Loader2,{className:i.default.spinner}),"Save"===_?"Saving...":"Creating..."]}):_}))]}))]}))})):null};
2
- //# sourceMappingURL=CreateLearningSetModal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateLearningSetModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("../../../node_modules/style-inject/dist/style-inject.es.js").default("@keyframes CreateLearningSetModal-module_spin__0BrCH{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.CreateLearningSetModal-module_overlay__iwLU2{align-items:center;background-color:#0000004d;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:9999}.CreateLearningSetModal-module_modal__TIP0O{background-color:#fff;border-radius:.75rem;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;max-width:90%;padding:1.5rem;position:relative;width:600px}.CreateLearningSetModal-module_header__alW8D{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.CreateLearningSetModal-module_headerContent__bxA6y{flex:1}.CreateLearningSetModal-module_title__vlj8Q{color:#19213d;font-size:1.125rem;font-weight:500;margin:0}.CreateLearningSetModal-module_description__TGliO{color:#666f8d;font-size:.875rem;font-weight:400;line-height:1.5;margin-top:.25rem}.CreateLearningSetModal-module_closeBtn__33qJN{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#9ca3af;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:color .2s,background-color .2s}.CreateLearningSetModal-module_closeBtn__33qJN:hover{background-color:#f3f4f6;color:#4b5563}.CreateLearningSetModal-module_closeBtn__33qJN:focus{outline:none}.CreateLearningSetModal-module_form__e8iCL{display:flex;flex-direction:column;gap:1.25rem}.CreateLearningSetModal-module_formGroup__RydF4{display:flex;flex-direction:column;gap:.375rem;position:relative}.CreateLearningSetModal-module_label__q-hkm{align-items:center;color:#19213d;display:flex;font-size:.875rem;font-weight:500}.CreateLearningSetModal-module_asterisk__cXpjU{color:#8f2c23;font-size:1rem;font-weight:600;margin-right:.25rem}.CreateLearningSetModal-module_inputField__nnq0-{background-color:#fff;border:1px solid #f0f2f5;border-radius:.375rem;box-sizing:border-box;color:#19213d;font-size:.875rem;outline:none;padding:.625rem .75rem;transition:border-color .2s,box-shadow .2s;width:100%}.CreateLearningSetModal-module_inputField__nnq0-::placeholder{color:#9ca3af}.CreateLearningSetModal-module_inputField__nnq0-:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.CreateLearningSetModal-module_inputError__Q78Vy{border-color:#8f2c23}.CreateLearningSetModal-module_inputError__Q78Vy:focus{border-color:#8f2c23;box-shadow:0 0 0 2px #8f2c2333}.CreateLearningSetModal-module_errorMessage__z0WBC{color:#8f2c23;font-size:.75rem;font-weight:400;margin-top:.25rem}.CreateLearningSetModal-module_footer__qc-SJ{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1rem}.CreateLearningSetModal-module_cancelBtn__YiIV7{background-color:initial;border:1px solid #e2e8f0;border-radius:.375rem;color:#64748b;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:background-color .2s}.CreateLearningSetModal-module_cancelBtn__YiIV7:hover:not(:disabled){background-color:#f9fafb}.CreateLearningSetModal-module_cancelBtn__YiIV7:disabled{cursor:not-allowed;opacity:.5}.CreateLearningSetModal-module_confirmBtn__8oMwL{align-items:center;background-color:#2563eb;border:none;border-radius:.375rem;color:#fff;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;justify-content:center;padding:.5rem 1rem;transition:background-color .2s}.CreateLearningSetModal-module_confirmBtn__8oMwL:hover:not(:disabled){background-color:#1d4ed8}.CreateLearningSetModal-module_confirmBtn__8oMwL:disabled{cursor:not-allowed;opacity:.5}.CreateLearningSetModal-module_spinner__SERKD{animation:CreateLearningSetModal-module_spin__0BrCH 1s linear infinite;color:#fff;height:1rem;margin-right:.5rem;width:1rem}"),exports.default={overlay:"CreateLearningSetModal-module_overlay__iwLU2",modal:"CreateLearningSetModal-module_modal__TIP0O",header:"CreateLearningSetModal-module_header__alW8D",headerContent:"CreateLearningSetModal-module_headerContent__bxA6y",title:"CreateLearningSetModal-module_title__vlj8Q",description:"CreateLearningSetModal-module_description__TGliO",closeBtn:"CreateLearningSetModal-module_closeBtn__33qJN",form:"CreateLearningSetModal-module_form__e8iCL",formGroup:"CreateLearningSetModal-module_formGroup__RydF4",label:"CreateLearningSetModal-module_label__q-hkm",asterisk:"CreateLearningSetModal-module_asterisk__cXpjU",inputField:"CreateLearningSetModal-module_inputField__nnq0-",inputError:"CreateLearningSetModal-module_inputError__Q78Vy",errorMessage:"CreateLearningSetModal-module_errorMessage__z0WBC",footer:"CreateLearningSetModal-module_footer__qc-SJ",cancelBtn:"CreateLearningSetModal-module_cancelBtn__YiIV7",confirmBtn:"CreateLearningSetModal-module_confirmBtn__8oMwL",spinner:"CreateLearningSetModal-module_spinner__SERKD",spin:"CreateLearningSetModal-module_spin__0BrCH"};
2
- //# sourceMappingURL=CreateLearningSetModal.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateLearningSetModal.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as i}from"tslib";import{jsx as e,Fragment as l,jsxs as n}from"react/jsx-runtime";import{HumanChangesTableWrapper as a,HumanIntelligenceCard as o}from"@e-llm-studio/federated-dashboard-components";import"@e-llm-studio/federated-dashboard-components/styles.css";var t=function(i){return new Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(i)};function d(a){var d,c,I,m,s,r,N,b,p,h,u,g,v,M,W,Z,w,Y,j,y,z=a.row,f=null!==(d=null==z?void 0:z.level)&&void 0!==d?d:"-",T=null!==(c=null==z?void 0:z.scopeName)&&void 0!==c?c:"global"===f?"Global":"-",G=null!==(I=null==z?void 0:z.frequency)&&void 0!==I?I:0,O=null!==(m=null==z?void 0:z.reviewStatus)&&void 0!==m?m:"-",V=null!==(s=null==z?void 0:z.blastRadius)&&void 0!==s?s:{},x=null!==(r=V.entityLevel)&&void 0!==r?r:"entities",J=null!==(N=V.entityCount)&&void 0!==N?N:0,k=null!==(b=V.nextLevel)&&void 0!==b?b:"",E=null!==(p=V.nextLevelCount)&&void 0!==p?p:0,C=null!==(u=null===(h=null==z?void 0:z.kpi)||void 0===h?void 0:h.revenue)&&void 0!==u?u:0,D=null!==(v=null===(g=null==z?void 0:z.kpi)||void 0===g?void 0:g.fill_rate)&&void 0!==v?v:0;null===(M=null==z?void 0:z.kpi)||void 0===M||M.fill_minutes;var S=null!==(Z=null===(W=null==z?void 0:z.kpi)||void 0===W?void 0:W.violations_introduced)&&void 0!==Z?Z:0,R=(null==z?void 0:z.summary)||"No summary available.",X=(null===(w=null==z?void 0:z.cognitiveDecisioning)||void 0===w?void 0:w.reason)||[],F=(null===(Y=null==z?void 0:z.cognitiveDecisioning)||void 0===Y?void 0:Y.gap)||[],_=(null===(j=null==z?void 0:z.cognitiveDecisioning)||void 0===j?void 0:j.confidence_score)||0,U=(null===(y=null==z?void 0:z.cognitiveDecisioning)||void 0===y?void 0:y.citation)||{};return e(o,{patternDetails:{label:"PATTERN DETAILS",content:n(l,{children:[n("div",i({style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"12px",marginBottom:"16px"}},{children:[n("div",{children:[e("div",i({style:{fontSize:"11px",color:"#6b7280",textTransform:"uppercase",letterSpacing:"0.4px",marginBottom:"2px"}},{children:"Scope"})),e("div",i({style:{fontSize:"13px",fontWeight:500,textTransform:"capitalize"}},{children:T}))]}),n("div",{children:[e("div",i({style:{fontSize:"11px",color:"#6b7280",textTransform:"uppercase",letterSpacing:"0.4px",marginBottom:"2px"}},{children:"Occurrences"})),e("div",i({style:{fontSize:"13px",fontWeight:500}},{children:G}))]}),n("div",{children:[e("div",i({style:{fontSize:"11px",color:"#6b7280",textTransform:"uppercase",letterSpacing:"0.4px",marginBottom:"2px"}},{children:"Blast Radius"})),n("div",i({style:{fontSize:"13px",fontWeight:500,textTransform:"capitalize"}},{children:[J," ",x,k?" / ".concat(E," ").concat(k):""]}))]}),n("div",{children:[e("div",i({style:{fontSize:"11px",color:"#6b7280",textTransform:"uppercase",letterSpacing:"0.4px",marginBottom:"2px"}},{children:"Review Status"})),e("div",i({style:{fontSize:"13px",fontWeight:500,textTransform:"capitalize"}},{children:O}))]})]})),n("div",{children:[e("div",i({style:{fontSize:"11px",color:"#6b7280",textTransform:"uppercase",letterSpacing:"0.4px",marginBottom:"4px"}},{children:"KPI IMPACT"})),n("div",i({style:{display:"flex",gap:"8px",color:"#059669",fontSize:"12px",fontWeight:500}},{children:[n("span",{children:["Revenue: ",C>0?"+$".concat(t(C)):"$".concat(t(C))]}),e("span",i({style:{color:"#d1d5db"}},{children:"|"})),n("span",{children:["Fill rate: ",D>0?"+".concat(D):D," %"]}),e("span",i({style:{color:"#d1d5db"}},{children:"|"})),n("span",i({style:{color:"#dc2626"}},{children:["Violations: ",S>0?"+".concat(S):S]}))]}))]})]})},humanChangesSummary:{content:R},cognitiveDecisioning:{reason:X,gap:F,confidence_score:_,citation:U,humanIntelligentConfigId:"6a8c328655e6c28ba3a922a7",changeLogConfigId:"6a0dad334a3eb88a900d4948",baseUrl:"https://dev.appmod.ai",changeLogs:[{change_log_id:"4e88ae45-8815-4a7c-9fa9-f7c941f7533b",change:"Spot d7831c25 displaced in segment 7bd00e6d",changeTitle:"DISPLACED",metadata:{spot_id:"d7831c25-143b-4d7a-a9fb-32c0a99d8140",advertiser:"Audacy Weather Network",ad_attributes:{priority_code:"AAN"}}},{change_log_id:"7cb7e438-07c4-4644-ab90-7fc4431b5d64",change:"Spot 9f4494cd placed in segment 6d16c3e0",changeTitle:"PLACED",metadata:{spot_id:"9f4494cd-b988-4b47-beab-481210c2d9f4",advertiser:"Texas State Technical College",ad_attributes:{priority_code:"NARR"}}}],tableTitle:"Table input name: change_log",agentConfig:"intel_human_change_summary_agent_config",rulebookTitle:"Rulebook",rulebookPaginationText:"1 of 2"}})}var c={userDetails:{_id:"68b99111f5af2790a5b7d771",email:"mohammed.faizuddin@techolution.com",accessToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb25uZWN0b3JNYXAiOnt9LCJfaWQiOiI2OThlZWEzMGE0OTY0NGUwODA0NGZhNDkiLCJlbWFpbCI6ImFhZGhpdGh5YS5zZW5kaGlsbWFuaWFuQHRlY2hvbHV0aW9uLmNvbSIsImZpcnN0bmFtZSI6IkFhZGhpdGh5YSIsImxhc3RuYW1lIjoiU2VuZGhpbCIsInJvbGUiOlsiNmEzYzEzNDVlNGQwYzEyOTJkMDI0YmUzIiwiNjlmMzUyMmUzNWMyODg2NjIxYmI4YzdjIiwiNmExNmUzYjE4NTQxOTExNTI0M2U4MDZhIiwiNjlmMzUyMmUzNWMyODg2NjIxYmI4YzdhIiwiNmE3ZDliYTBjNzA0NDVlODA2ZTRmMmE3IiwiNjlmMzUyMmUzNWMyODg2NjIxYmI4YzdlIiwiNjg5OWMxZTZhZDlkMDhkYWRkMWM1ZTk4IiwiNjljM2I4NDgwNzViYmYyZjBkYjIyMjM5IiwiNmEzYzEzNDVlNGQwYzEyOTJkMDI0YmUxIiwiNjljM2I4NDcwNzViYmYyZjBkYjIyMjM3IiwiNjljM2I4NDcwNzViYmYyZjBkYjIyMjM1IiwiNjg5OWMxZTZhZDlkMDhkYWRkMWM1ZTlhIiwiNmEwNWI0YjQ4YmJmMzYxMDUwYmJhMDkwIiwiNjg5OWMzM2FlOWZkNDFmM2Y5MDhlZGQwIiwiNjk2NjY1OWU5MTEyNTc0ZWJlMzAyZmViIl0sImRlcGFydG1lbnRzIjpbXSwib3JnYW5pemF0aW9uIjpbXSwic3RhdHVzIjoiQUNUSVZFIiwicmVzZXRfdG9rZW4iOm51bGwsImdyb3VwcyI6W10sImNyZWF0ZWRBdCI6IjIwMjYtMDItMTNUMDk6MDk6MDQuNzI4WiIsImpvaW5lZE9uIjoiMjAyNi0wMi0xM1QwOTowOTowNC43MjhaIiwidXNlclZhbGlkaXR5IjoiMjEyNi0wMS0yMFQwOTowOTowNC43MzBaIiwicm9sZW5hbWUiOlsiQ29udGVudCBHZW5lcmF0aW9uIFdvcmtmbG93IENvbXBvc2VyIE1hbmFnZXIiLCJPcmcgVXNlciIsIkNvbnRlbnQgV29ya2Zsb3cgQ29tcG9zZXIgQWRtaW4iLCJJbnN0YW50IExlYXJuaW5nIE1vZGUgTWFuYWdlciIsIkFnZW50IEdlbmllIE1vZGUgQWRtaW4iLCJ0ZXN0YXVkYWN5cmlscHJvbXB0IEFkbWluIiwidGVzdHZhbDFjaGlyYW5naSBBZG1pbiIsImlsb3RqZmVkZXJhdGVkZGV2IEFkbWluIiwiaWxjb2duaXRpdmVzZWFyY2ggQWRtaW4iLCJDb250ZW50IFdvcmtmbG93IENvbXBvc2VyIE1hbmFnZXIiLCJDb250ZW50IFdvcmtmbG93IENvbXBvc2VyIFVzZXIiLCJBZ2VudCBHZW5pZSBNb2RlIE1hbmFnZXIiLCJJbnN0YW50IExlYXJuaW5nIE1vZGUgQWRtaW4iLCJJbnN0YW50IExlYXJuaW5nIE1vZGUgVXNlciIsIkNvbnRlbnQgR2VuZXJhdGlvbiBXb3JrZmxvdyBDb21wb3NlciBVc2VyIl0sImFjdGl2ZVByb3ZpZGVyIjpudWxsLCJpYXQiOjE3ODg1MzE2NzEsImV4cCI6MTc4ODcwNDQ3MX0._KNYWqdlHp3wUm0kyNsALs_zslJ-kDINgJ6QoBvFMCM",firstname:"Mohammed",lastname:"Faizuddin",provider:{provider:"google",type:"oauth",providerAccountId:"113906564963363626297",access_token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb25uZWN0b3JNYXAiOnt9LCJfaWQiOiI2OGFjMjVkZmQxYzhjZTI5NDllOWM3NjgiLCJlbWFpbCI6Inlha3NoLnBhdGVsQHRlY2hvbHV0aW9uLmNvbSIsImZpcnN0bmFtZSI6Illha3NoIiwibGFzdG5hbWUiOiJQYXRlbCIsInJvbGUiOlsiNjg5OWM1MjI0ZDZkYzQxY2QxZmI3OTVhIiwiNjg5OWMzM2FlOWZkNDFmM2Y5MDhlZGQwIiwiNjg5OWMxZTZhZDlkMDhkYWRkMWM1ZTk2IiwiNjlmMzUyMmUzNWMyODg2NjIxYmI4YzdlIiwiNjgxZGQzN2QzMmI2ZWI5OGJkMjA4ZTJiIl0sImRlcGFydG1lbnRzIjpbXSwic3RhdHVzIjoiQUNUSVZFIiwicmVzZXRfdG9rZW4iOm51bGwsImNyZWF0ZWRBdCI6IjIwMjUtMDgtMjVUMDg6NTk6MTEuMzI5WiIsImpvaW5lZE9uIjoiMjAyNS0wOC0yNVQwODo1OToxMS4zMjlaIiwidXNlclZhbGlkaXR5IjoiMjEyNS0wOC0wMVQxMTowNToxOC41NjNaIiwiZW1wbG95ZW1lbnRUeXBlIjoiSW50ZXJuIiwiZGVzaWduYXRpb24iOiJGdWxsIFN0YWNrIERldmVsb3BlciAtIEludGVybiIsImRlcGFydG1lbnQiOiJBcnRpZmljaWFsIEludGVsbGlnZW5jZSIsImVtcGxveWVlSWQiOiJJTlQwNTM2Iiwib3JnYW5pemF0aW9uIjpbXSwiZ3JvdXBzIjpbXSwicm9sZW5hbWUiOlsiT3JnIFVzZXIiLCJjdy1hZG1pbiIsIkFnZW50IEdlbmllIE1vZGUgVXNlciIsIkluc3RhbnQgTGVhcm5pbmcgTW9kZSBBZG1pbiIsIk9yZyBBZG1pbiJdLCJhY3RpdmVQcm92aWRlciI6bnVsbCwiaWF0IjoxNzg2MDIwNjMzLCJleHAiOjE3ODYxOTM0MzN9.g7YEM5mRvNt0-inVRplaKue-4d23srR0QsndV1dBYAc",expires_at:1778186779,refresh_token:"1//046oTS9mV16_3CgYIARAAGAQSNwF-L9IrQzdaeTkeBkzv9fUL_4fmWnIkRUGg3GO6FPkIXg-LQBdCnlwQ5U6QJBl-Duk4yEJxhVQ",scope:"https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/userinfo.profile openid https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/drive.readonly",id_token:"eyJhbGciOiJSUzI1NiIsImtpZCI6IjgwNzZkZGJhYjQxNTU1NmUxNjkxNTRjNmE0YTBiZGJkNDQ2OWI3OWMiLCJ0eXAiOiJKV1QifQ.eyJpc3MiOiJodHRwczovL2FjY291bnRzLmdvb2dsZS5jb20iLCJhenAiOiI2OTMyNDYzNTgwMTktZXFncDRyMHZkcXBzN2o4ZGEycmo0Ym9zYnJ0aGp1bDYuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI2OTMyNDYzNTgwMTktZXFncDRyMHZkcXBzN2o4ZGEycmo0Ym9zYnJ0aGp1bDYuYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMTM5MDY1NjQ5NjMzNjM2MjYyOTciLCJoZCI6InRlY2hvbHV0aW9uLmNvbSIsImVtYWlsIjoiYWtzaGF5LmtvbWFrdWxhQHRlY2hvbHV0aW9uLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiazYyaUNLcWlzWTk1MlJ1bXltM1hCdyIsIm5hbWUiOiJBa3NoYXkgS3VtYXIgS29tYWt1bGEiLCJwaWN0dXJlIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jS3F3aV83cjNiS2t5VnlpTURMamxhYlJSY1pXazlKazYyTDlzbTI3VWFIcWh6V0FOND1zOTYtYyIsImdpdmVuX25hbWUiOiJBa3NoYXkgS3VtYXIgIiwiZmFtaWx5X25hbWUiOiJLb21ha3VsYSIsImlhdCI6MTc3ODE2MDI4MSwiZXhwIjoxNzc4MTYzODgxfQ.cI1CQ-9AQp39lOOmOjSIf798dP3Tgt32PCckA_cgW2BDbG2zFTCd6D73fqK_07jBXESim_P9XA2mJjvft9Uxv1Vqv7sEtwXozif-gL1A27EjwYxt6kv1sP2IREZUYfGewsC-jG0NNqZGNwiV3h3ms6Q3pZaKY0tiMP9PSAG88f7UNsjAK1joz38RWYNJL5VIPK41-ghClz7zCehGAqy6HKVryHzHtoe9aN8HfM8fJbBfFNBVnj4zcZ1NeqY0rKJt_VZ8_3c6QK_t05MyiscEUnVd7F7rJYwBq_uT4cmavc3pjFiJyeY8XqUPn9F6EJ0per14hsfrEs_GNs0pjaMleg",name:"Akshay Kumar Komakula",email:"akshay.komakula@techolution.com"}},configId:"6a8c328655e6c28ba3a922a7",changeLogConfigId:"6a0f649af543ba46ed0bf18b",app_integration_id:"01a03dbd-f4f1-724a-81fc-72b94084b9c6",teachMeConfig:{CUSTOM_SCOPE_GROUP_NAME:"Audacy-Traffic-Manager",INSTANT_LEARNING_TYPE:"iL",MODEL:"claude-3.5-sonnet",CONFIG_MASTER_NAME:"audacy-config",SCOPE_NAME:"Custom",ASSISTANT_NAME:"ilotjfederateddev",ORGANIZATION_NAME:"techolution",BASE_URL:"https://devllmstudio.creativeworkspace.ai",BASE_WEBSOCKET_URL:"wss://devllmstudio.creativeworkspace.ai/graphql",CATEGORY:"Global-Template",SOCKET_TIMEOUT:24e4},modeId:"019dde79-0494-78d7-ba5b-54a35d20f0fc",getData:{baseUrl:"https://dev.appmod.ai",endpoint:"/federated/human_change_config_filters/human-changes"},query:{scopeId:[],paginationLimit:12},rejectLearningApi:{endpoint:"/federated/human_change_config_filters/review"},generateLearningApi:{endpoint:"/federated/human_change_config_filters/review"},footerActions:{primary:{label:"Generate Learning",show:!0},secondary:{label:"Reject",show:!0}},config:{showHeader:!0,showAccordionToggle:!0,showMaximizeToggle:!0},table:{showExpandIcon:!0,expandable:!0,renderExpandedRow:function(i){return e(d,{row:i})}}};function I(n){var o=n.humanChanges;return e(l,{children:e("div",i({style:{width:"97%",margin:"0 auto",paddingBottom:"40px"}},{children:e(a,i({},null!=o?o:c))}))})}export{I as HumanChange};
2
- //# sourceMappingURL=HumanChange.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HumanChange.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e,__awaiter as a,__generator as l}from"tslib";import{jsx as r,jsxs as i,Fragment as n}from"react/jsx-runtime";import{useState as s,useEffect as t}from"react";import{X as c,Loader2 as o}from"lucide-react";import d from"../styles/CreateLearningSetModal.module.css.js";var u=function(u){var m=u.isOpen,h=u.onClose,p=u.onSubmit,v=u.title,f=u.description,N=u.inputLabel,b=u.submitLabel,g=u.placeholder,C=void 0===g?"":g,y=u.initialValue,k=void 0===y?"":y,L=u.isLoading,S=void 0!==L&&L,x=s(""),B=x[0],j=x[1],M=s(null),q=M[0],w=M[1];return t(function(){m&&(j(k),w(null))},[m,k]),m?r("div",e({className:d.overlay},{children:i("div",e({className:d.modal},{children:[i("div",e({className:d.header},{children:[i("div",e({className:d.headerContent},{children:[r("h2",e({className:d.title},{children:v})),f&&r("p",e({className:d.description},{children:f}))]})),r("button",e({onClick:h,className:d.closeBtn,disabled:S},{children:r(c,{size:24})}))]})),r("div",e({className:d.form},{children:i("div",e({className:d.formGroup},{children:[i("label",e({className:d.label},{children:[r("span",e({className:d.asterisk},{children:"*"})),N]})),r("input",{type:"text",value:B,onChange:function(e){j(e.target.value),q&&w(null)},className:"".concat(d.inputField," ").concat(q?d.inputError:""),placeholder:C,disabled:S}),q&&r("p",e({className:d.errorMessage},{children:q}))]}))})),i("div",e({className:d.footer},{children:[r("button",e({onClick:h,className:d.cancelBtn,disabled:S},{children:"Cancel"})),r("button",e({onClick:function(){return a(void 0,void 0,void 0,function(){var e;return l(this,function(a){switch(a.label){case 0:if(!(B.trim()?(w(null),1):(w("".concat(N.replace("*","").trim()," is required")),0)))return[2];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,p(B)];case 2:return a.sent(),h(),[3,4];case 3:return e=a.sent(),w((null==e?void 0:e.message)||"An error occurred. Please try again."),[3,4];case 4:return[2]}})})},className:d.confirmBtn,disabled:S},{children:S?i(n,{children:[r(o,{className:d.spinner}),"Save"===b?"Saving...":"Creating..."]}):b}))]}))]}))})):null};export{u as default};
2
- //# sourceMappingURL=CreateLearningSetModal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateLearningSetModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import e from"../../../node_modules/style-inject/dist/style-inject.es.js";var o={overlay:"CreateLearningSetModal-module_overlay__iwLU2",modal:"CreateLearningSetModal-module_modal__TIP0O",header:"CreateLearningSetModal-module_header__alW8D",headerContent:"CreateLearningSetModal-module_headerContent__bxA6y",title:"CreateLearningSetModal-module_title__vlj8Q",description:"CreateLearningSetModal-module_description__TGliO",closeBtn:"CreateLearningSetModal-module_closeBtn__33qJN",form:"CreateLearningSetModal-module_form__e8iCL",formGroup:"CreateLearningSetModal-module_formGroup__RydF4",label:"CreateLearningSetModal-module_label__q-hkm",asterisk:"CreateLearningSetModal-module_asterisk__cXpjU",inputField:"CreateLearningSetModal-module_inputField__nnq0-",inputError:"CreateLearningSetModal-module_inputError__Q78Vy",errorMessage:"CreateLearningSetModal-module_errorMessage__z0WBC",footer:"CreateLearningSetModal-module_footer__qc-SJ",cancelBtn:"CreateLearningSetModal-module_cancelBtn__YiIV7",confirmBtn:"CreateLearningSetModal-module_confirmBtn__8oMwL",spinner:"CreateLearningSetModal-module_spinner__SERKD",spin:"CreateLearningSetModal-module_spin__0BrCH"};e("@keyframes CreateLearningSetModal-module_spin__0BrCH{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.CreateLearningSetModal-module_overlay__iwLU2{align-items:center;background-color:#0000004d;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:9999}.CreateLearningSetModal-module_modal__TIP0O{background-color:#fff;border-radius:.75rem;box-shadow:0 25px 50px -12px #00000040;display:flex;flex-direction:column;max-width:90%;padding:1.5rem;position:relative;width:600px}.CreateLearningSetModal-module_header__alW8D{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1.5rem}.CreateLearningSetModal-module_headerContent__bxA6y{flex:1}.CreateLearningSetModal-module_title__vlj8Q{color:#19213d;font-size:1.125rem;font-weight:500;margin:0}.CreateLearningSetModal-module_description__TGliO{color:#666f8d;font-size:.875rem;font-weight:400;line-height:1.5;margin-top:.25rem}.CreateLearningSetModal-module_closeBtn__33qJN{align-items:center;background:#0000;border:none;border-radius:.375rem;color:#9ca3af;cursor:pointer;display:flex;justify-content:center;padding:.25rem;transition:color .2s,background-color .2s}.CreateLearningSetModal-module_closeBtn__33qJN:hover{background-color:#f3f4f6;color:#4b5563}.CreateLearningSetModal-module_closeBtn__33qJN:focus{outline:none}.CreateLearningSetModal-module_form__e8iCL{display:flex;flex-direction:column;gap:1.25rem}.CreateLearningSetModal-module_formGroup__RydF4{display:flex;flex-direction:column;gap:.375rem;position:relative}.CreateLearningSetModal-module_label__q-hkm{align-items:center;color:#19213d;display:flex;font-size:.875rem;font-weight:500}.CreateLearningSetModal-module_asterisk__cXpjU{color:#8f2c23;font-size:1rem;font-weight:600;margin-right:.25rem}.CreateLearningSetModal-module_inputField__nnq0-{background-color:#fff;border:1px solid #f0f2f5;border-radius:.375rem;box-sizing:border-box;color:#19213d;font-size:.875rem;outline:none;padding:.625rem .75rem;transition:border-color .2s,box-shadow .2s;width:100%}.CreateLearningSetModal-module_inputField__nnq0-::placeholder{color:#9ca3af}.CreateLearningSetModal-module_inputField__nnq0-:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb33}.CreateLearningSetModal-module_inputError__Q78Vy{border-color:#8f2c23}.CreateLearningSetModal-module_inputError__Q78Vy:focus{border-color:#8f2c23;box-shadow:0 0 0 2px #8f2c2333}.CreateLearningSetModal-module_errorMessage__z0WBC{color:#8f2c23;font-size:.75rem;font-weight:400;margin-top:.25rem}.CreateLearningSetModal-module_footer__qc-SJ{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1rem}.CreateLearningSetModal-module_cancelBtn__YiIV7{background-color:initial;border:1px solid #e2e8f0;border-radius:.375rem;color:#64748b;cursor:pointer;font-size:.875rem;font-weight:500;padding:.5rem 1rem;transition:background-color .2s}.CreateLearningSetModal-module_cancelBtn__YiIV7:hover:not(:disabled){background-color:#f9fafb}.CreateLearningSetModal-module_cancelBtn__YiIV7:disabled{cursor:not-allowed;opacity:.5}.CreateLearningSetModal-module_confirmBtn__8oMwL{align-items:center;background-color:#2563eb;border:none;border-radius:.375rem;color:#fff;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:500;justify-content:center;padding:.5rem 1rem;transition:background-color .2s}.CreateLearningSetModal-module_confirmBtn__8oMwL:hover:not(:disabled){background-color:#1d4ed8}.CreateLearningSetModal-module_confirmBtn__8oMwL:disabled{cursor:not-allowed;opacity:.5}.CreateLearningSetModal-module_spinner__SERKD{animation:CreateLearningSetModal-module_spin__0BrCH 1s linear infinite;color:#fff;height:1rem;margin-right:.5rem;width:1rem}");export{o as default};
2
- //# sourceMappingURL=CreateLearningSetModal.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateLearningSetModal.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import { type HumanChangesTableWrapperProps } from "@e-llm-studio/federated-dashboard-components";
3
- import "@e-llm-studio/federated-dashboard-components/styles.css";
4
- export type HumanChangesConfig = HumanChangesTableWrapperProps;
5
- interface HumanChangeProps {
6
- humanChanges?: HumanChangesConfig;
7
- }
8
- export declare function HumanChange({ humanChanges }: HumanChangeProps): React.JSX.Element;
9
- export {};
10
- //# sourceMappingURL=HumanChange.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HumanChange.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/HumanChanges/HumanChange.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAGL,KAAK,6BAA6B,EACnC,MAAM,8CAA8C,CAAC;AACtD,OAAO,yDAAyD,CAAC;AAqIjE,MAAM,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AAE/D,UAAU,gBAAgB;IACxB,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACnC;AA2DD,wBAAgB,WAAW,CAAC,EAAE,YAAY,EAAE,EAAE,gBAAgB,qBAe7D"}