@e-llm-studio/instant-learning 1.3.0-alpha.182 → 1.3.0-alpha.184

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 (160) hide show
  1. package/dist/ILMarketplaceWrapper.js +1 -1
  2. package/dist/cjs/ILMarketplaceWrapper.js +1 -1
  3. package/dist/cjs/features/IL-OTJ/ILOTJ.js +1 -1
  4. package/dist/cjs/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +1 -1
  5. package/dist/cjs/features/IL-OTJ/_components/MessageRendering/MessageRendering.js +1 -1
  6. package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryCard.js +1 -1
  7. package/dist/cjs/features/IL-marketplace/components/GuidelineLibraryContent.js +1 -1
  8. package/dist/cjs/features/IL-marketplace/constants.js +1 -1
  9. package/dist/cjs/features/LSCGuidelinesCart/Cart/Cart.js +1 -1
  10. package/dist/cjs/features/LSCGuidelinesCart/GuidelineCard.js +1 -1
  11. package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.js +1 -1
  12. package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js +1 -1
  13. package/dist/cjs/features/LSCGuidelinesCart/LearningManagementWrapper.js +1 -1
  14. package/dist/cjs/features/LSCGuidelinesCart/api.js +1 -1
  15. package/dist/cjs/features/LSCGuidelinesCart/endpoints.js +1 -1
  16. package/dist/cjs/features/LSCGuidelinesCart/transformSelectedGuidelineData.js +2 -0
  17. package/dist/cjs/features/LSCGuidelinesCart/transformSelectedGuidelineData.js.map +1 -0
  18. package/dist/cjs/features/LearningManagement/components/InstantLearningModalDynamic.js +1 -1
  19. package/dist/cjs/features/LearningManagement/styles/LearningContent.module.css.js +1 -1
  20. package/dist/cjs/features/LearningManagement/styles/LearningContentSkeleton.module.css.js +1 -1
  21. package/dist/cjs/features/LearningManagement/styles/LearningTemplateManagementSkeleton.module.css.js +1 -1
  22. package/dist/cjs/features/LearningManagement/styles/StationsContent.module.css.js +1 -1
  23. package/dist/cjs/schema-driven/store/useDynamicFormStore.js +1 -1
  24. package/dist/cjs/schema-driven/utils/PayloadUtils.js +1 -1
  25. package/dist/features/IL-OTJ/ILOTJ.js +1 -1
  26. package/dist/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +1 -1
  27. package/dist/features/IL-OTJ/_components/MessageRendering/MessageRendering.js +1 -1
  28. package/dist/features/IL-marketplace/components/GuidelineLibraryCard.js +1 -1
  29. package/dist/features/IL-marketplace/components/GuidelineLibraryContent.js +1 -1
  30. package/dist/features/IL-marketplace/constants.js +1 -1
  31. package/dist/features/LSCGuidelinesCart/Cart/Cart.js +1 -1
  32. package/dist/features/LSCGuidelinesCart/GuidelineCard.js +1 -1
  33. package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.js +1 -1
  34. package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js +1 -1
  35. package/dist/features/LSCGuidelinesCart/LearningManagementWrapper.js +1 -1
  36. package/dist/features/LSCGuidelinesCart/api.js +1 -1
  37. package/dist/features/LSCGuidelinesCart/endpoints.js +1 -1
  38. package/dist/features/LSCGuidelinesCart/transformSelectedGuidelineData.js +2 -0
  39. package/dist/features/LSCGuidelinesCart/transformSelectedGuidelineData.js.map +1 -0
  40. package/dist/features/LearningManagement/components/InstantLearningModalDynamic.js +1 -1
  41. package/dist/features/LearningManagement/styles/LearningContent.module.css.js +1 -1
  42. package/dist/features/LearningManagement/styles/LearningContentSkeleton.module.css.js +1 -1
  43. package/dist/features/LearningManagement/styles/LearningTemplateManagementSkeleton.module.css.js +1 -1
  44. package/dist/features/LearningManagement/styles/StationsContent.module.css.js +1 -1
  45. package/dist/schema-driven/store/useDynamicFormStore.js +1 -1
  46. package/dist/schema-driven/utils/PayloadUtils.js +1 -1
  47. package/dist/types/src/ILMarketplaceMockTest.d.ts.map +1 -1
  48. package/dist/types/src/ILMarketplaceWrapper.d.ts +2 -0
  49. package/dist/types/src/ILMarketplaceWrapper.d.ts.map +1 -1
  50. package/dist/types/src/features/IL-OTJ/ILOTJ.d.ts +6 -0
  51. package/dist/types/src/features/IL-OTJ/ILOTJ.d.ts.map +1 -1
  52. package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts +2 -0
  53. package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts.map +1 -1
  54. package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MessageRendering.d.ts +9 -1
  55. package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MessageRendering.d.ts.map +1 -1
  56. package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryCard.d.ts +15 -1
  57. package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryCard.d.ts.map +1 -1
  58. package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryContent.d.ts +4 -1
  59. package/dist/types/src/features/IL-marketplace/components/GuidelineLibraryContent.d.ts.map +1 -1
  60. package/dist/types/src/features/IL-marketplace/constants.d.ts +1 -0
  61. package/dist/types/src/features/IL-marketplace/constants.d.ts.map +1 -1
  62. package/dist/types/src/features/IL-marketplace/index.d.ts +1 -0
  63. package/dist/types/src/features/IL-marketplace/index.d.ts.map +1 -1
  64. package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.d.ts +1 -1
  65. package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.d.ts.map +1 -1
  66. package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.d.ts +6 -1
  67. package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.d.ts.map +1 -1
  68. package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.d.ts.map +1 -1
  69. package/dist/types/src/features/LSCGuidelinesCart/LearningManagementWrapper.d.ts +6 -1
  70. package/dist/types/src/features/LSCGuidelinesCart/LearningManagementWrapper.d.ts.map +1 -1
  71. package/dist/types/src/features/LSCGuidelinesCart/api.d.ts +1 -0
  72. package/dist/types/src/features/LSCGuidelinesCart/api.d.ts.map +1 -1
  73. package/dist/types/src/features/LSCGuidelinesCart/endpoints.d.ts +1 -0
  74. package/dist/types/src/features/LSCGuidelinesCart/endpoints.d.ts.map +1 -1
  75. package/dist/types/src/features/LSCGuidelinesCart/transformSelectedGuidelineData.d.ts +18 -0
  76. package/dist/types/src/features/LSCGuidelinesCart/transformSelectedGuidelineData.d.ts.map +1 -0
  77. package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts.map +1 -1
  78. package/dist/types/src/schema-driven/store/useDynamicFormStore.d.ts +1 -0
  79. package/dist/types/src/schema-driven/store/useDynamicFormStore.d.ts.map +1 -1
  80. package/dist/types/src/schema-driven/utils/PayloadUtils.d.ts +26 -0
  81. package/dist/types/src/schema-driven/utils/PayloadUtils.d.ts.map +1 -1
  82. package/package.json +1 -1
  83. package/dist/cjs/features/LearningManagement/assets/Search-result(add new).svg.js +0 -2
  84. package/dist/cjs/features/LearningManagement/assets/Search-result(add new).svg.js.map +0 -1
  85. package/dist/cjs/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js +0 -2
  86. package/dist/cjs/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js.map +0 -1
  87. package/dist/cjs/features/LearningManagement/utils/resizeObserverErrorGuard.js +0 -2
  88. package/dist/cjs/features/LearningManagement/utils/resizeObserverErrorGuard.js.map +0 -1
  89. package/dist/cjs/node_modules/@e-llm-studio/audit-log/dist/styles.css.js +0 -2
  90. package/dist/cjs/node_modules/@e-llm-studio/audit-log/dist/styles.css.js.map +0 -1
  91. package/dist/cjs/schema-driven/SchemaRenderer.js +0 -2
  92. package/dist/cjs/schema-driven/SchemaRenderer.js.map +0 -1
  93. package/dist/cjs/schema-driven/adapters/ConditionSectionAdapter.js +0 -2
  94. package/dist/cjs/schema-driven/adapters/ConditionSectionAdapter.js.map +0 -1
  95. package/dist/cjs/schema-driven/adapters/ConfigSectionAdapter.js +0 -2
  96. package/dist/cjs/schema-driven/adapters/ConfigSectionAdapter.js.map +0 -1
  97. package/dist/cjs/schema-driven/adapters/GlobalSetupAccordionAdapter.js +0 -2
  98. package/dist/cjs/schema-driven/adapters/GlobalSetupAccordionAdapter.js.map +0 -1
  99. package/dist/cjs/schema-driven/adapters/PromptTextEditorAdapter.js +0 -2
  100. package/dist/cjs/schema-driven/adapters/PromptTextEditorAdapter.js.map +0 -1
  101. package/dist/cjs/schema-driven/adapters/ScopeSectionAdapter.js +0 -2
  102. package/dist/cjs/schema-driven/adapters/ScopeSectionAdapter.js.map +0 -1
  103. package/dist/cjs/schema-driven/adapters/TextInputAdapter.js +0 -2
  104. package/dist/cjs/schema-driven/adapters/TextInputAdapter.js.map +0 -1
  105. package/dist/cjs/schema-driven/adapters/VariantListWrapperAdapter.js +0 -2
  106. package/dist/cjs/schema-driven/adapters/VariantListWrapperAdapter.js.map +0 -1
  107. package/dist/cjs/schema-driven/demoSchema.js +0 -2
  108. package/dist/cjs/schema-driven/demoSchema.js.map +0 -1
  109. package/dist/cjs/schema-driven/types.js +0 -2
  110. package/dist/cjs/schema-driven/types.js.map +0 -1
  111. package/dist/features/LearningManagement/assets/Search-result(add new).svg.js +0 -2
  112. package/dist/features/LearningManagement/assets/Search-result(add new).svg.js.map +0 -1
  113. package/dist/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js +0 -2
  114. package/dist/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js.map +0 -1
  115. package/dist/features/LearningManagement/utils/resizeObserverErrorGuard.js +0 -2
  116. package/dist/features/LearningManagement/utils/resizeObserverErrorGuard.js.map +0 -1
  117. package/dist/node_modules/@e-llm-studio/audit-log/dist/styles.css.js +0 -2
  118. package/dist/node_modules/@e-llm-studio/audit-log/dist/styles.css.js.map +0 -1
  119. package/dist/schema-driven/SchemaRenderer.js +0 -2
  120. package/dist/schema-driven/SchemaRenderer.js.map +0 -1
  121. package/dist/schema-driven/adapters/ConditionSectionAdapter.js +0 -2
  122. package/dist/schema-driven/adapters/ConditionSectionAdapter.js.map +0 -1
  123. package/dist/schema-driven/adapters/ConfigSectionAdapter.js +0 -2
  124. package/dist/schema-driven/adapters/ConfigSectionAdapter.js.map +0 -1
  125. package/dist/schema-driven/adapters/GlobalSetupAccordionAdapter.js +0 -2
  126. package/dist/schema-driven/adapters/GlobalSetupAccordionAdapter.js.map +0 -1
  127. package/dist/schema-driven/adapters/PromptTextEditorAdapter.js +0 -2
  128. package/dist/schema-driven/adapters/PromptTextEditorAdapter.js.map +0 -1
  129. package/dist/schema-driven/adapters/ScopeSectionAdapter.js +0 -2
  130. package/dist/schema-driven/adapters/ScopeSectionAdapter.js.map +0 -1
  131. package/dist/schema-driven/adapters/TextInputAdapter.js +0 -2
  132. package/dist/schema-driven/adapters/TextInputAdapter.js.map +0 -1
  133. package/dist/schema-driven/adapters/VariantListWrapperAdapter.js +0 -2
  134. package/dist/schema-driven/adapters/VariantListWrapperAdapter.js.map +0 -1
  135. package/dist/schema-driven/demoSchema.js +0 -2
  136. package/dist/schema-driven/demoSchema.js.map +0 -1
  137. package/dist/schema-driven/types.js +0 -2
  138. package/dist/schema-driven/types.js.map +0 -1
  139. package/dist/types/src/ILMarketplaceTest.d.ts +0 -3
  140. package/dist/types/src/ILMarketplaceTest.d.ts.map +0 -1
  141. package/dist/types/src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.d.ts +0 -12
  142. package/dist/types/src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.d.ts.map +0 -1
  143. package/dist/types/src/features/LearningManagement/utils/resizeObserverErrorGuard.d.ts +0 -2
  144. package/dist/types/src/features/LearningManagement/utils/resizeObserverErrorGuard.d.ts.map +0 -1
  145. package/dist/types/src/schema-driven/SchemaRenderer.d.ts +0 -21
  146. package/dist/types/src/schema-driven/SchemaRenderer.d.ts.map +0 -1
  147. package/dist/types/src/schema-driven/adapters/ConditionSectionAdapter.d.ts +0 -11
  148. package/dist/types/src/schema-driven/adapters/ConditionSectionAdapter.d.ts.map +0 -1
  149. package/dist/types/src/schema-driven/adapters/ConfigSectionAdapter.d.ts +0 -13
  150. package/dist/types/src/schema-driven/adapters/ConfigSectionAdapter.d.ts.map +0 -1
  151. package/dist/types/src/schema-driven/adapters/GlobalSetupAccordionAdapter.d.ts +0 -5
  152. package/dist/types/src/schema-driven/adapters/GlobalSetupAccordionAdapter.d.ts.map +0 -1
  153. package/dist/types/src/schema-driven/adapters/PromptTextEditorAdapter.d.ts +0 -13
  154. package/dist/types/src/schema-driven/adapters/PromptTextEditorAdapter.d.ts.map +0 -1
  155. package/dist/types/src/schema-driven/adapters/ScopeSectionAdapter.d.ts +0 -5
  156. package/dist/types/src/schema-driven/adapters/ScopeSectionAdapter.d.ts.map +0 -1
  157. package/dist/types/src/schema-driven/adapters/TextInputAdapter.d.ts +0 -18
  158. package/dist/types/src/schema-driven/adapters/TextInputAdapter.d.ts.map +0 -1
  159. package/dist/types/src/schema-driven/adapters/VariantListWrapperAdapter.d.ts +0 -17
  160. package/dist/types/src/schema-driven/adapters/VariantListWrapperAdapter.d.ts.map +0 -1
@@ -1,2 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsx as i,jsxs as t}from"react/jsx-runtime";import{useContext as l,useState as n,useRef as o,useEffect as r}from"react";import d from"../../features/IL-OTJ/_components/AccordianSection.js";import{FormContext as a}from"../types.js";import{SchemaPropertyList as s}from"../SchemaRenderer.js";import{Loader2Icon as u,Pencil as c,Check as p,AlertTriangle as f}from"lucide-react";var v=function(v){var g,m,y=v.schema,h=l(a),x=h.state,S=h.uiState,I=n(null),b=I[0],E=I[1],C=n(null),D=C[0],T=C[1],A=n(!1),k=A[0],j=A[1],z=o(null==S?void 0:S.isAiStreaming),O="rule-setup"===(null==S?void 0:S.activeEditId);r(function(){z.current&&!(null==S?void 0:S.isAiStreaming)&&k&&j(!1),z.current=null==S?void 0:S.isAiStreaming},[null==S?void 0:S.isAiStreaming,k]);var N=function(){var e;E(null),T(null),null===(e=null==S?void 0:S.setActiveEditId)||void 0===e||e.call(S,null)},P=function(){var e,i,t=null!=b?b:x.ruleTitle,l=null!=D?D:x.scopeData,n=t!==x.ruleTitle,o=JSON.stringify(l)!==JSON.stringify(x.scopeData);if(!n&&!o)return E(null),T(null),void(null===(e=null==S?void 0:S.setActiveEditId)||void 0===e||e.call(S,null));if(null==S?void 0:S.setSendMessageInChat){var r="sk-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8)),d=[];if(n&&d.push((null==t?void 0:t.trim())?"Title with ".concat(t):"No Title"),o){var a=null==l?void 0:l.tiers;d.push(a&&a.length>0?"tiers: ".concat(a.join(", ")):"No Tier Selected")}S.setSendMessageInChat("__SKELETON__:".concat(r,":Update Rule Setup ").concat(d.join(" and ")))}j(!0),E(null),T(null),null===(i=null==S?void 0:S.setActiveEditId)||void 0===i||i.call(S,null)},R=null!==b?null==b?void 0:b.trim():(x.ruleTitle||"").trim(),_=null!=D?D:x.scopeData,w=R!==(x.ruleTitle||"").trim(),J=JSON.stringify(_)!==JSON.stringify(x.scopeData),F=!w&&!J||""===R;return i("div",e({"data-edit-id":"rule-setup"},{children:i(d,e({title:{type:"other",label:y.title||(null==S?void 0:S.setupLabel)||"Rule Setup"},actionButtons:function(t,l){if(O)return null;var n=!!(null==S?void 0:S.activeEditId)&&"rule-setup"!==S.activeEditId;return i("div",e({style:{position:"relative",display:"flex",flexDirection:"column"}},{children:i("button",e({title:n?"Save active edits first":"Edit",onClick:function(i){i.stopPropagation(),n?(null==S?void 0:S.setPendingEditId)&&S.setPendingEditId(S.activeEditId||null):(!function(){var i,t;(null==S?void 0:S.activeEditId)&&"rule-setup"!==S.activeEditId||(null===(i=null==S?void 0:S.setActiveEditId)||void 0===i||i.call(S,"rule-setup"),E(null!==(t=x.ruleTitle)&&void 0!==t?t:""),T(x.scopeData?e({},x.scopeData):{}))}(),(null==S?void 0:S.setPendingEditId)&&S.setPendingEditId(null),t||l())},disabled:k,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"8px",padding:"6px 8px",border:"1px solid #e5e7eb",borderRadius:"8px",cursor:k?"not-allowed":"pointer",backgroundColor:"#ffffff",color:"#6b7280",opacity:k?.5:1}},{children:i(c,{size:14})}))}))},footerData:{ruleTitle:x.ruleTitle,stations:[x.scopeData.station],tiers:null===(g=x.scopeData)||void 0===g?void 0:g.tiers},defaultOpen:null!==(m=y.default_open)&&void 0!==m?m:"Create"===(null==S?void 0:S.usedFor),readOnly:"Create"!==(null==S?void 0:S.usedFor),isAiStreaming:null==S?void 0:S.isAiStreaming,editFlow:"Edit"===(null==S?void 0:S.usedFor)},{children:t("div",e({style:{display:"flex",flexDirection:"column",gap:"12px"}},{children:[k&&(null==S?void 0:S.isAiStreaming)&&t("div",e({style:{display:"flex",alignItems:"center",color:"#141414ff",fontSize:"13px",fontWeight:500,fontStyle:"italic",marginBottom:"8px",paddingLeft:"4px"}},{children:[i(u,{size:16,style:{marginRight:8,animation:"spin 1s linear infinite"}}),"Checking the correctness of your Rule Setup..."]})),i(a.Provider,e({value:e(e({},l(a)),{isEditingSetup:O,draftTitle:b,setDraftTitle:E,draftScope:D,setDraftScope:T})},{children:i(s,{properties:y.properties})})),O?t("div",e({style:{display:"flex",flexDirection:"column",alignItems:"flex-start"}},{children:[t("div",e({style:{display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"16px"}},{children:[i("button",e({onClick:N,style:{background:"none",border:"none",color:"#6b7280",fontSize:"14px",fontWeight:"500",cursor:"pointer",padding:"0"}},{children:"Discard Changes"})),t("button",e({onClick:P,disabled:F,style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 16px",borderRadius:"12px",border:"none",backgroundColor:"#2563eb",color:"#ffffff",fontSize:"14px",fontWeight:"500",cursor:F?"not-allowed":"pointer",opacity:F?.5:1}},{children:[i(p,{size:18,strokeWidth:2.5,color:"#ffffff"})," Save Changes"]}))]})),"rule-setup"===(null==S?void 0:S.pendingEditId)&&t("div",e({style:{display:"flex",alignItems:"center",gap:"6px",marginTop:"10px"}},{children:[i(f,{size:14,style:{color:"#C2410C"}}),i("div",e({style:{color:"#C2410C",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]})):null]}))}))}))};export{v as default};
2
- //# sourceMappingURL=GlobalSetupAccordionAdapter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GlobalSetupAccordionAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as i}from"tslib";import{jsxs as t,jsx as e,Fragment as n}from"react/jsx-runtime";import{useContext as l,useState as o,Suspense as r}from"react";import{Check as d,X as a,Pencil as s,AlertTriangle as c}from"lucide-react";import{FormContext as p}from"../types.js";var u=function(u){var v,h,m,x,f=u.schema,g=l(p),y=g.state,b=g.uiState,E=g.tierKey,I=g.variantIndex,C="instruction-prompt-".concat(E,"-").concat(I),S=(null==b?void 0:b.activeEditId)===C,w=!!(null==b?void 0:b.activeEditId)&&b.activeEditId!==C,k=o(null),z=k[0],A=k[1];if(!y||!b||!b.LazyPromptEditor)return null;var P=(null===(h=null===(v=y.variantsByTier)||void 0===v?void 0:v[E])||void 0===h?void 0:h[I])||{},_=null!==(m=P.instructionPrompt)&&void 0!==m?m:b.instructionPrompt,B=P.isReadOnly||b.isAiStreaming,L=((null===(x=b.highlights)||void 0===x?void 0:x.get("".concat(E,"_").concat(I)))||{}).instruction_prompt||!1,T=!z||z.trim()===((null==_?void 0:_.trim())||""),W={display:"flex",alignItems:"center",justifyContent:"center",padding:"8px",border:"1px solid #e5e7eb",borderRadius:"8px",cursor:"pointer",width:"36px",height:"36px",backgroundColor:"#ffffff"};return t("div",i({style:{display:"flex",flexDirection:"column",gap:"4px",width:"100%",marginBottom:"12px",margin:"0 0.2rem",overflow:"hidden",boxSizing:"border-box"},"data-edit-id":C},{children:[e("div",i({style:{display:"flex",alignItems:"center",width:"100%",justifyContent:"space-between",marginBottom:"4px"}},{children:e("span",i({style:{fontSize:"14px",fontWeight:500,color:"#19213D",fontFamily:'"Plus Jakarta Sans", sans-serif'}},{children:f.title}))})),t("div",i({style:{display:"flex",alignItems:"flex-start",gap:"8px",width:"100%",minWidth:0}},{children:[e("div",i({style:{flex:1,minWidth:0,border:L?"1px solid #2563EB":"1px solid transparent",borderRadius:"8px",boxShadow:L?"0 0 12px 3px rgba(37, 99, 235, 0.3)":"none",transition:"border-color 0.3s, box-shadow 0.3s"}},{children:e(r,i({fallback:e("div",i({style:{padding:"12px",fontSize:"13px",color:"#6b7280"}},{children:"Loading editor..."}))},{children:e("div",i({style:{pointerEvents:S?"auto":"none",opacity:S?1:.75}},{children:e(b.LazyPromptEditor,{value:S&&null!==z?z:_,onChange:function(i){var t;return S?A(i):null===(t=b.setInstructionPrompt)||void 0===t?void 0:t.call(b,i)},title:f.title,minHeight:"220px",maxHeight:"220px"})}))}))})),!B&&e("div",i({style:{display:"flex",flexDirection:"row",gap:"8px",marginTop:"0px"}},{children:S?t(n,{children:[t("button",i({title:"Apply",onClick:function(){var i,t;if(null!==z){if(z!==(null!=_?_:"")&&(null===(i=b.setInstructionPrompt)||void 0===i||i.call(b,z),null==b?void 0:b.setSendMessageInChat)){var e="sk-".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2,8));b.setSendMessageInChat("__SKELETON__:".concat(e,":The Instruction Prompt has been updated through the Learning Form"))}A(null),null===(t=null==b?void 0:b.setActiveEditId)||void 0===t||t.call(b,null)}},disabled:T,style:i(i({},W),{backgroundColor:"#2563EB",color:"white",width:"auto",padding:"8px 12px",cursor:T?"not-allowed":"pointer",opacity:T?.5:1})},{children:[e(d,{size:20,strokeWidth:2.5})," Apply"]})),e("button",i({title:"Cancel",onClick:function(){var i;A(null),null===(i=null==b?void 0:b.setActiveEditId)||void 0===i||i.call(b,null)},style:i(i({},W),{borderColor:"#E3E8E9",color:"#dc2626"})},{children:e(a,{size:20,strokeWidth:2.5})}))]}):e("button",i({title:w?"Save active edits first":"Edit",onClick:function(){var i;(null==b?void 0:b.activeEditId)&&b.activeEditId!==C||(null===(i=null==b?void 0:b.setActiveEditId)||void 0===i||i.call(b,C),A(null!=_?_:""))},disabled:(null==b?void 0:b.isAiStreaming)||w,style:i(i({},W),{color:"#6b7280",cursor:(null==b?void 0:b.isAiStreaming)||w?"not-allowed":"pointer",opacity:(null==b?void 0:b.isAiStreaming)||w?.5:1})},{children:e(s,{size:20})}))}))]})),(null==b?void 0:b.pendingEditId)===C&&S&&t("div",i({style:{display:"flex",alignItems:"center",gap:"6px",marginTop:"6px"}},{children:[e(c,{size:14,style:{color:"#C2410C"}}),e("div",i({style:{color:"#C2410C",fontSize:"13px"}},{children:"Pending - Changes not applied yet. Apply or discard them to continue."}))]}))]}))};export{u as default};
2
- //# sourceMappingURL=PromptTextEditorAdapter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PromptTextEditorAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as i}from"tslib";import{jsxs as o,Fragment as t,jsx as e}from"react/jsx-runtime";import{useContext as n,useState as r}from"react";import{ScopeSection as s}from"../../features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js";import{FormContext as a}from"../types.js";import{InputDataReasoningCard as l}from"../../features/IL-OTJ/_components/InputDataReasoningCard.js";import{ButtonCognitiveIcon as d}from"../../features/IL-OTJ/_components/_svg/ButtonCognitiveIcon.js";var c=function(c){var p,u,v,f,g,m,h,S,O=c.id,I=c.schema,D=n(a),E=D.state,j=D.handlers,C=D.uiState,_=D.isEditingSetup,y=D.draftScope,T=D.setDraftScope,x=r(function(){return new Set([O])}),b=x[0],A=x[1],J=r(!1),L=J[0],M=J[1];if(!E||!C)return null;var w=_&&null!==y?y:E.scopeData,V=(null===(p=C.highlights)||void 0===p?void 0:p.get("global_0"))||{},q=null===(u=E.citation)||void 0===u?void 0:u.scopeData;return o(t,{children:[e(s,{id:O,title:I.title,required:!!I.core_field,readOnly:C.isAiStreaming||!_,openSections:b,setOpenSections:A,scopeData:w,onScopeChange:function(o,t){var e;return _?T(i(i({},w),((e={})[o]=t,e))):j.onScopeChange(o,t)},stationOptions:C.stationOptions,tierOptions:C.tierOptions,isOpen:b.has(O)||L,onToggle:function(){return M(!L)},showCognitiveIcon:!!q,cognitiveIcon:e(d,{}),highlights:V,tooltipDescription:null!==(v=I.tooltip)&&void 0!==v?v:"",errorMessage:(null===(f=C.validationErrors)||void 0===f?void 0:f.station)||(null===(g=C.validationErrors)||void 0===g?void 0:g.tiers),stationErrorMessage:null===(m=C.validationErrors)||void 0===m?void 0:m.station,tierErrorMessage:null===(h=C.validationErrors)||void 0===h?void 0:h.tiers}),q&&e("div",i({style:{marginTop:"-17px",position:"relative",zIndex:1}},{children:e(l,{isVisible:L,citation:q,citations:function(i){var o,t,e=null===(o=E.fieldCitations)||void 0===o?void 0:o[i];return Array.isArray(e)&&e.length>0?e:null!==(t=E.citations)&&void 0!==t?t:[]}("scopeData"),fieldName:I.title||"Scope",fieldValue:null===(S=null==w?void 0:w.tiers)||void 0===S?void 0:S.join(", ")})}))]})};export{c as default};
2
- //# sourceMappingURL=ScopeSectionAdapter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScopeSectionAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as i}from"tslib";import{jsxs as t,Fragment as e,jsx as n}from"react/jsx-runtime";import{useContext as o,useState as l}from"react";import{TextSection as a}from"../../features/IL-OTJ/_components/organisms/TextSection/TextSection.js";import{FormContext as d}from"../types.js";import{InputDataReasoningCard as r}from"../../features/IL-OTJ/_components/InputDataReasoningCard.js";var s=function(s){var c,v,u,g,p,m,f,h,I,y,T,E,S,_,D,b,A,x,C;s.id;var O=s.schema,j=o(d),F=j.state,M=j.handlers,R=j.uiState,w=j.tierKey,B=j.variantIndex,k=j.isEditingSetup,J=j.draftTitle,L=j.setDraftTitle,N=l(!1),P=N[0],V=N[1];if(!F||!R)return null;var q=null===(c=O.data_key)||void 0===c?void 0:c.startsWith("global."),z=(null===(v=O.data_key)||void 0===v?void 0:v.replace("global.",""))||"",G="";G=q?"ruleTitle"===z?k&&null!==J?J:F.ruleTitle:null===(u=F.dynamicGlobalState)||void 0===u?void 0:u[z]:"ruleDescription"===z?null===(m=null===(p=null===(g=F.variantsByTier)||void 0===g?void 0:g[w])||void 0===p?void 0:p[B])||void 0===m?void 0:m.ruleDescription:null===(y=null===(I=null===(h=null===(f=F.variantsByTier)||void 0===f?void 0:f[w])||void 0===h?void 0:h[B])||void 0===I?void 0:I.dynamicFields)||void 0===y?void 0:y[z];var H=R.highlights||new Map,K=q?null===(T=H.get("global_0")||{})||void 0===T?void 0:T[z]:null===(E=H.get("".concat(w,"_").concat(B))||{})||void 0===E?void 0:E[z],W=q?null===(S=F.citation)||void 0===S?void 0:S[z]:null===(_=F.citation)||void 0===_?void 0:_["".concat(z,"_").concat(w)],Q=q?null===(D=R.validationErrors)||void 0===D?void 0:D[z]:null===(b=R.validationErrors)||void 0===b?void 0:b["".concat(z,"-").concat(w,"-").concat(B)],U=q?R.isAiStreaming||!k:R.isAiStreaming||(null===(C=null===(x=null===(A=F.variantsByTier)||void 0===A?void 0:A[w])||void 0===x?void 0:x[B])||void 0===C?void 0:C.isReadOnly);return t(e,{children:[n(a,{id:q?"global-".concat(z):"".concat(z,"-").concat(w,"-").concat(B),title:O.title,rows:q?1:2,placeholder:O.placeholder,required:!!O.core_field,readOnly:U,value:G||"",onChange:function(i){q?"ruleTitle"===z?k?L(i):M.setRuleTitle(i):M.setDynamicField(z,i):"ruleDescription"===z?M.setRuleDescription(w,B,i):M.setDynamicField(z,i,w,B)},enableInlineEdit:!0,fieldName:O.title,tooltipDescription:O.tooltip,errorMessage:Q,isHighlighted:K||!1,isOpen:P,onToggle:function(){return V(!P)},showCognitiveIcon:!!W,activeEditId:R.activeEditId,setActiveEditId:R.setActiveEditId,pendingEditId:R.pendingEditId,setPendingEditId:R.setPendingEditId,setSendMessageInChat:R.setSendMessageInChat,isAiStreaming:R.isAiStreaming}),W&&n("div",i({style:{marginTop:"-17px",position:"relative",zIndex:1}},{children:n(r,{isVisible:P,citation:W,citations:function(i){var t,e,n=null===(t=F.fieldCitations)||void 0===t?void 0:t[i];return Array.isArray(n)&&n.length>0?n:null!==(e=F.citations)&&void 0!==e?e:[]}(q?z:"".concat(z,"_").concat(w,"_").concat(B)),fieldName:O.title||"Field",fieldValue:G})}))]})};export{s as default};
2
- //# sourceMappingURL=TextInputAdapter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextInputAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsx as i}from"react/jsx-runtime";import{useContext as r,useState as t}from"react";import{VariantListWrapper as a}from"../../features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js";import n from"../../features/IL-OTJ/_components/AccordianSection.js";import{FormContext as l}from"../types.js";import{SchemaPropertyList as o}from"../SchemaRenderer.js";var d=function(d){var u,s,c,v,f=d.schema,p=r(l),m=p.state,h=p.handlers,y=p.uiState,x=t(null),A=x[0],g=x[1];if(!m)return null;var D=(null===(c=null===(s=null===(u=m.scopeData)||void 0===u?void 0:u.tiers)||void 0===s?void 0:s[0])||void 0===c?void 0:c.toLowerCase().replace(/ /g,"_"))||"tier_1",T=(null===(v=m.variantsByTier)||void 0===v?void 0:v[D])||[];return i(a,e({onAddVariant:function(){var e;return null===(e=h.addNewVariant)||void 0===e?void 0:e.call(h,D)},isDisabled:null==y?void 0:y.isAiStreaming,showAddVariantBtn:"Edit"!==(null==y?void 0:y.usedFor)},{children:T.map(function(r,t){var a="".concat(D,"-variant-").concat(t),d=r.variantType||"default";return i("div",e({style:{width:"100%"}},{children:i(n,e({title:{type:"default"===d||"default_variant"===d?"default":"variant",label:d,number:t+1,isNewVariant:!0===r.is_variant,isDefault:r.isDefault,isModified:r.isModified},defaultOpen:!0,expanded:A===a||(null==y?void 0:y.activeVariantAccordionIndex)===t,onToggle:function(){var e,i=A===a;g(i?null:a),null===(e=null==y?void 0:y.setActiveVariantAccordionIndex)||void 0===e||e.call(y,i?null:t)},variant:"rule-behavior",footerData:{ruleTitle:d,description:r.ruleDescription||""},readOnly:r.isReadOnly||(null==y?void 0:y.isAiStreaming)},{children:i("div",e({style:{display:"flex",flexDirection:"column",gap:"12px"}},{children:i(l.Provider,e({value:{state:m,handlers:h,uiState:y,tierKey:D,variantIndex:t}},{children:i(o,{properties:f.properties})}))}))}))}),a)})}))};export{d as default};
2
- //# sourceMappingURL=VariantListWrapperAdapter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VariantListWrapperAdapter.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e={type:"object",title:"RHS FORM",properties:{section_1:{type:"object",title:"Configure your IL",ui_position:1,bpa_ui_component:"Accordion",default_open:!0,properties:{ruleTitle:{type:"string",title:"Learning Title",placeholder:"Enter a short, descriptive title for the learning",ui_position:1,bpa_ui_component:"TextInput",data_key:"global.ruleTitle",core_field:!0,ai_generated:!0,read_only:!1,hidden:!1,tooltip:"Why this Title?"},scopeData:{type:"object",title:"Scope",ui_position:2,bpa_ui_component:"ScopeSection",data_key:"global.scopeData",core_field:!0,ai_generated:!0,read_only:!1,hidden:!1}}},section_2:{type:"object",title:"Variants",ui_position:2,bpa_ui_component:"Accordion",default_open:!0,properties:{variantList:{type:"array",title:"Variants",ui_position:1,bpa_ui_component:"VariantListWrapper",is_repeatable_variant:!0,properties:{ruleDescription:{type:"string",title:"Learning Explanation",placeholder:"Explain the learning behaviour",ui_position:1,bpa_ui_component:"TextInput",data_key:"ruleDescription",core_field:!0,ai_generated:!0,read_only:!1,hidden:!1},instructionPrompt:{type:"string",title:"Instruction Prompt",ui_position:2,bpa_ui_component:"PromptTextEditor",data_key:"instructionPrompt",core_field:!1,ai_generated:!0,read_only:!1,hidden:!1},whenToApply:{type:"array",title:"When to apply",ui_position:3,bpa_ui_component:"ConditionSection",data_key:"wta",core_field:!0,ai_generated:!0,read_only:!1,hidden:!1},whenNotToApply:{type:"array",title:"When NOT to apply",ui_position:4,bpa_ui_component:"ConditionSection",data_key:"wnta",core_field:!1,ai_generated:!0,read_only:!1,hidden:!1},configurations:{type:"object",title:"Advanced Settings",ui_position:5,bpa_ui_component:"ConfigSection",data_key:"configData",core_field:!1,ai_generated:!0,read_only:!1,hidden:!1,properties:{is_default:{type:"boolean",title:"Default Variant",ui_position:1,data_key:"is_default_enabled",hidden:!1},order_separation_advertisers:{type:"array",title:"Order Separation Advertisers",ui_position:2,data_key:"order_rules",hidden:!0}}}}}}}}};export{e as DEMO_LEARNING_METADATA_COMPONENTS};
2
- //# sourceMappingURL=demoSchema.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"demoSchema.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import r from"react";var t=r.createContext(null);export{t as FormContext};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- declare const ILMarketplaceTest: () => import("react").JSX.Element;
2
- export default ILMarketplaceTest;
3
- //# sourceMappingURL=ILMarketplaceTest.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ILMarketplaceTest.d.ts","sourceRoot":"","sources":["../../../src/ILMarketplaceTest.tsx"],"names":[],"mappings":"AA2GA,QAAA,MAAM,iBAAiB,mCA2UtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- interface StationOnboardModalProps {
3
- isOpen: boolean;
4
- onClose: () => void;
5
- onBoardStation: (scopeId?: string) => void;
6
- app_integration_id?: string;
7
- token: string;
8
- stationNameParam?: string;
9
- }
10
- declare const BackwardStationOnboardModal: React.FC<StationOnboardModalProps>;
11
- export default BackwardStationOnboardModal;
12
- //# sourceMappingURL=BackwardStationOnboardModal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BackwardStationOnboardModal.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AA+DpE,UAAU,wBAAwB;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,cAAc,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAitBnE,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const installResizeObserverErrorGuard: () => void;
2
- //# sourceMappingURL=resizeObserverErrorGuard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"resizeObserverErrorGuard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/utils/resizeObserverErrorGuard.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,+BAA+B,YAyB3C,CAAC"}
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import { SchemaFieldNode, SchemaRoot } from './types';
3
- interface SchemaPropertyListProps {
4
- properties: Record<string, SchemaFieldNode>;
5
- }
6
- /** Renders every property of a schema node, ordered by `ui_position`. */
7
- export declare const SchemaPropertyList: React.FC<SchemaPropertyListProps>;
8
- export interface SchemaFormProps {
9
- schema?: SchemaRoot | null;
10
- state?: any;
11
- handlers?: any;
12
- uiState?: any;
13
- }
14
- /**
15
- * Entry point: renders an entire `learningMetadataComponents`-shaped schema
16
- * with no per-field code required — component resolution, ordering, and
17
- * nesting are all driven by the JSON itself via the component registry.
18
- */
19
- export declare const SchemaForm: React.FC<SchemaFormProps>;
20
- export {};
21
- //# sourceMappingURL=SchemaRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SchemaRenderer.d.ts","sourceRoot":"","sources":["../../../../src/schema-driven/SchemaRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,eAAe,EAAE,UAAU,EAAe,MAAM,SAAS,CAAC;AA0DnE,UAAU,uBAAuB;IAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CAC7C;AAED,yEAAyE;AACzE,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAUhE,CAAC;AAEF,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAC3B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,OAAO,CAAC,EAAE,GAAG,CAAC;CACf;AAED;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAOhD,CAAC"}
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import { SchemaComponentProps } from '../types';
3
- /**
4
- * Bridges the schema-driven renderer to the existing `ConditionSection`
5
- * organism (used for both "When to apply" and "When NOT to apply" via
6
- * `schema.data_key` — `wta` / `wnta`). Holds its own local list of
7
- * conditions until real form state (keyed by `data_key`) replaces it.
8
- */
9
- declare const ConditionSectionAdapter: React.FC<SchemaComponentProps>;
10
- export default ConditionSectionAdapter;
11
- //# sourceMappingURL=ConditionSectionAdapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConditionSectionAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/ConditionSectionAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAE7D;;;;;GAKG;AACH,QAAA,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsD3D,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { SchemaComponentProps } from '../types';
3
- /**
4
- * Bridges the schema-driven renderer to the existing `ConfigSection`
5
- * organism. The nested `is_default` / `order_separation_advertisers`
6
- * schema properties are consumed internally by `ConfigSection` itself
7
- * (as `separationItems` / `toggles`), so this adapter is a leaf — it does
8
- * not recurse into `schema.properties`. Holds local state until real form
9
- * state (keyed by `data_key`) replaces it.
10
- */
11
- declare const ConfigSectionAdapter: React.FC<SchemaComponentProps>;
12
- export default ConfigSectionAdapter;
13
- //# sourceMappingURL=ConfigSectionAdapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfigSectionAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/ConfigSectionAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAE7D;;;;;;;GAOG;AACH,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA8BxD,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { SchemaComponentProps } from '../types';
3
- declare const GlobalSetupAccordionAdapter: React.FC<SchemaComponentProps>;
4
- export default GlobalSetupAccordionAdapter;
5
- //# sourceMappingURL=GlobalSetupAccordionAdapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GlobalSetupAccordionAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/GlobalSetupAccordionAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAI7D,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAoJ/D,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- import { SchemaComponentProps } from '../types';
3
- /**
4
- * Bridges the schema-driven renderer to the existing `PromptTextEditor`
5
- * (a thin wrapper around the vendor `AIPromptEditor`). That component
6
- * requires a real `value`/`onChange` pair — it crashes internally if
7
- * `value` is undefined — so this adapter cannot use the generic
8
- * `{id, schema, children}` contract directly and holds local state until
9
- * `data_key`-based form state replaces it.
10
- */
11
- declare const PromptTextEditorAdapter: React.FC<SchemaComponentProps>;
12
- export default PromptTextEditorAdapter;
13
- //# sourceMappingURL=PromptTextEditorAdapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PromptTextEditorAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/PromptTextEditorAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAE7D;;;;;;;GAOG;AACH,QAAA,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAoF3D,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { SchemaComponentProps } from '../types';
3
- declare const ScopeSectionAdapter: React.FC<SchemaComponentProps>;
4
- export default ScopeSectionAdapter;
5
- //# sourceMappingURL=ScopeSectionAdapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScopeSectionAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/ScopeSectionAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAI7D,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAuDvD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { SchemaComponentProps } from '../types';
3
- /**
4
- * Bridges the schema-driven renderer to the existing `TextSection` organism
5
- * (cognitive-icon slot, tooltip, highlight, inline edit/apply/cancel) instead
6
- * of a bare input, so schema-driven fields get the same chrome as the
7
- * hand-built form.
8
- *
9
- * Note: `TextSection`'s "Apply" only fires `setSendMessageInChat` — the real
10
- * value swap happens when a new `value` prop flows back down after the AI
11
- * chat approves the edit, same as everywhere else in `CreateRule.tsx`. We
12
- * don't have that chat loop here, so Apply currently just closes the editor
13
- * without persisting; `onChange`/local `value` becomes live again once
14
- * `data_key` state binding (or an equivalent approval loop) lands.
15
- */
16
- declare const TextInputAdapter: React.FC<SchemaComponentProps>;
17
- export default TextInputAdapter;
18
- //# sourceMappingURL=TextInputAdapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextInputAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/TextInputAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAG7D;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAoFpD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { SchemaComponentProps } from '../types';
3
- /**
4
- * Bridges the schema-driven renderer to the exact `VariantListWrapper` used
5
- * by `CreateRule.tsx` — same connector-line layout and "Add Variant"
6
- * affordance, instead of a second implementation. `VariantListWrapper` has
7
- * no collapse/dropdown behavior of its own, so a schema wanting the
8
- * "Variants" block collapsible must nest this node under an `Accordion`
9
- * node — the container.
10
- *
11
- * "Add Variant" is disabled until repeatable-variant state (cloning the
12
- * child field set per variant) lands with the state-management phase; the
13
- * schema only renders one instance of its properties today.
14
- */
15
- declare const VariantListWrapperAdapter: React.FC<SchemaComponentProps>;
16
- export default VariantListWrapperAdapter;
17
- //# sourceMappingURL=VariantListWrapperAdapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"VariantListWrapperAdapter.d.ts","sourceRoot":"","sources":["../../../../../src/schema-driven/adapters/VariantListWrapperAdapter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,oBAAoB,EAAe,MAAM,UAAU,CAAC;AAG7D;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAsD7D,CAAC;AAEF,eAAe,yBAAyB,CAAC"}