@e-llm-studio/instant-learning 1.3.0-alpha.153 → 1.3.0-alpha.154

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 (314) hide show
  1. package/dist/ComponentRegistry.js +1 -1
  2. package/dist/cjs/ComponentRegistry.js +1 -1
  3. package/dist/cjs/features/IL-OTJ/ILOTJ.js +1 -1
  4. package/dist/cjs/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js +1 -1
  5. package/dist/cjs/features/IL-OTJ/_components/ILPopup.js +1 -1
  6. package/dist/cjs/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js +1 -1
  7. package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
  8. package/dist/cjs/features/LSCGuidelinesCart/Cart/Cart.js +1 -1
  9. package/dist/cjs/features/LSCGuidelinesCart/GuidelineCard.js +1 -1
  10. package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.js +1 -1
  11. package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js +1 -1
  12. package/dist/cjs/features/LSCGuidelinesCart/LearningManagementWrapper.js +1 -1
  13. package/dist/cjs/features/LSCGuidelinesCart/api.js +1 -1
  14. package/dist/cjs/features/LSCGuidelinesCart/endpoints.js +1 -1
  15. package/dist/cjs/features/LSCGuidelinesCart/transformSelectedGuidelineData.js +2 -0
  16. package/dist/cjs/features/LSCGuidelinesCart/transformSelectedGuidelineData.js.map +1 -0
  17. package/dist/cjs/features/LearningManagement/apis/apiConfig.js +1 -1
  18. package/dist/cjs/features/LearningManagement/apis/scopeApis.js +1 -1
  19. package/dist/cjs/features/LearningManagement/components/InstantLearningModal.js +1 -1
  20. package/dist/cjs/features/LearningManagement/components/PromptTextEditor.js +1 -1
  21. package/dist/cjs/features/LearningManagement/constants.js +1 -1
  22. package/dist/cjs/features/LearningManagement/store/useLMSConfigStore.js +1 -1
  23. package/dist/cjs/features/LearningManagement/utils/learningMetadataUtils.js +1 -1
  24. package/dist/cjs/index.js +1 -1
  25. package/dist/cjs/plugins/ValueTypes/Default/DefaultTeachMeRenderer.js +1 -1
  26. package/dist/features/IL-OTJ/ILOTJ.js +1 -1
  27. package/dist/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.js +1 -1
  28. package/dist/features/IL-OTJ/_components/ILPopup.js +1 -1
  29. package/dist/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js +1 -1
  30. package/dist/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.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/apis/apiConfig.js +1 -1
  41. package/dist/features/LearningManagement/apis/scopeApis.js +1 -1
  42. package/dist/features/LearningManagement/components/InstantLearningModal.js +1 -1
  43. package/dist/features/LearningManagement/constants.js +1 -1
  44. package/dist/features/LearningManagement/store/useLMSConfigStore.js +1 -1
  45. package/dist/features/LearningManagement/utils/learningMetadataUtils.js +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/plugins/ValueTypes/Default/DefaultTeachMeRenderer.js +1 -1
  48. package/dist/types/src/ComponentRegistry.d.ts +21 -5
  49. package/dist/types/src/ComponentRegistry.d.ts.map +1 -1
  50. package/dist/types/src/features/IL-OTJ/ILOTJ.d.ts +0 -2
  51. package/dist/types/src/features/IL-OTJ/ILOTJ.d.ts.map +1 -1
  52. package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.d.ts +0 -8
  53. package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.d.ts.map +1 -1
  54. package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.d.ts +0 -5
  55. package/dist/types/src/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.d.ts.map +1 -1
  56. package/dist/types/src/features/IL-OTJ/_components/ILPopup.d.ts +1 -3
  57. package/dist/types/src/features/IL-OTJ/_components/ILPopup.d.ts.map +1 -1
  58. package/dist/types/src/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.d.ts +1 -2
  59. package/dist/types/src/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.d.ts.map +1 -1
  60. package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts +0 -6
  61. package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts.map +1 -1
  62. package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.d.ts +1 -1
  63. package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.d.ts.map +1 -1
  64. package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.d.ts +6 -1
  65. package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.d.ts.map +1 -1
  66. package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.d.ts.map +1 -1
  67. package/dist/types/src/features/LSCGuidelinesCart/LearningManagementWrapper.d.ts +6 -1
  68. package/dist/types/src/features/LSCGuidelinesCart/LearningManagementWrapper.d.ts.map +1 -1
  69. package/dist/types/src/features/LSCGuidelinesCart/api.d.ts +1 -0
  70. package/dist/types/src/features/LSCGuidelinesCart/api.d.ts.map +1 -1
  71. package/dist/types/src/features/LSCGuidelinesCart/endpoints.d.ts +1 -0
  72. package/dist/types/src/features/LSCGuidelinesCart/endpoints.d.ts.map +1 -1
  73. package/dist/types/src/features/LSCGuidelinesCart/transformSelectedGuidelineData.d.ts +18 -0
  74. package/dist/types/src/features/LSCGuidelinesCart/transformSelectedGuidelineData.d.ts.map +1 -0
  75. package/dist/types/src/features/LearningManagement/LearningManagementTest.d.ts.map +1 -1
  76. package/dist/types/src/features/LearningManagement/apis/apiConfig.d.ts +0 -1
  77. package/dist/types/src/features/LearningManagement/apis/apiConfig.d.ts.map +1 -1
  78. package/dist/types/src/features/LearningManagement/apis/scopeApis.d.ts +0 -13
  79. package/dist/types/src/features/LearningManagement/apis/scopeApis.d.ts.map +1 -1
  80. package/dist/types/src/features/LearningManagement/constants.d.ts +0 -10
  81. package/dist/types/src/features/LearningManagement/constants.d.ts.map +1 -1
  82. package/dist/types/src/features/LearningManagement/store/useLMSConfigStore.d.ts +4 -41
  83. package/dist/types/src/features/LearningManagement/store/useLMSConfigStore.d.ts.map +1 -1
  84. package/dist/types/src/features/LearningManagement/utils/learningMetadataUtils.d.ts.map +1 -1
  85. package/dist/types/src/index.d.ts +0 -2
  86. package/dist/types/src/index.d.ts.map +1 -1
  87. package/dist/types/src/plugins/ValueTypes/Default/DefaultTeachMeRenderer.d.ts.map +1 -1
  88. package/package.json +1 -1
  89. package/dist/ContinueWithTemplateModal.js +0 -2
  90. package/dist/ContinueWithTemplateModal.js.map +0 -1
  91. package/dist/ContinueWithTemplateModal.module.css.js +0 -2
  92. package/dist/ContinueWithTemplateModal.module.css.js.map +0 -1
  93. package/dist/cjs/ContinueWithTemplateModal.js +0 -2
  94. package/dist/cjs/ContinueWithTemplateModal.js.map +0 -1
  95. package/dist/cjs/ContinueWithTemplateModal.module.css.js +0 -2
  96. package/dist/cjs/ContinueWithTemplateModal.module.css.js.map +0 -1
  97. package/dist/cjs/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.js +0 -2
  98. package/dist/cjs/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.js.map +0 -1
  99. package/dist/cjs/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js +0 -2
  100. package/dist/cjs/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js.map +0 -1
  101. package/dist/cjs/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js +0 -2
  102. package/dist/cjs/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js.map +0 -1
  103. package/dist/cjs/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.js +0 -2
  104. package/dist/cjs/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.js.map +0 -1
  105. package/dist/cjs/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js +0 -2
  106. package/dist/cjs/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js.map +0 -1
  107. package/dist/cjs/features/LearningManagement/assets/Search-result(add new).svg.js +0 -2
  108. package/dist/cjs/features/LearningManagement/assets/Search-result(add new).svg.js.map +0 -1
  109. package/dist/cjs/features/LearningManagement/components/CreateLearningSetModal.js +0 -2
  110. package/dist/cjs/features/LearningManagement/components/CreateLearningSetModal.js.map +0 -1
  111. package/dist/cjs/features/LearningManagement/components/InstantLearningModalDynamic.js +0 -2
  112. package/dist/cjs/features/LearningManagement/components/InstantLearningModalDynamic.js.map +0 -1
  113. package/dist/cjs/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js +0 -2
  114. package/dist/cjs/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js.map +0 -1
  115. package/dist/cjs/features/LearningManagement/store/useExternalWorkflowStore.js +0 -2
  116. package/dist/cjs/features/LearningManagement/store/useExternalWorkflowStore.js.map +0 -1
  117. package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js +0 -2
  118. package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js.map +0 -1
  119. package/dist/cjs/features/LearningManagement/utils/resizeObserverErrorGuard.js +0 -2
  120. package/dist/cjs/features/LearningManagement/utils/resizeObserverErrorGuard.js.map +0 -1
  121. package/dist/cjs/node_modules/@e-llm-studio/audit-log/dist/styles.css.js +0 -2
  122. package/dist/cjs/node_modules/@e-llm-studio/audit-log/dist/styles.css.js.map +0 -1
  123. package/dist/cjs/schema-driven/BPARenderer.js +0 -2
  124. package/dist/cjs/schema-driven/BPARenderer.js.map +0 -1
  125. package/dist/cjs/schema-driven/FallbackField.js +0 -2
  126. package/dist/cjs/schema-driven/FallbackField.js.map +0 -1
  127. package/dist/cjs/schema-driven/SchemaRenderer.js +0 -2
  128. package/dist/cjs/schema-driven/SchemaRenderer.js.map +0 -1
  129. package/dist/cjs/schema-driven/adapters/ConditionSectionAdapter.js +0 -2
  130. package/dist/cjs/schema-driven/adapters/ConditionSectionAdapter.js.map +0 -1
  131. package/dist/cjs/schema-driven/adapters/ConfigSectionAdapter.js +0 -2
  132. package/dist/cjs/schema-driven/adapters/ConfigSectionAdapter.js.map +0 -1
  133. package/dist/cjs/schema-driven/adapters/GlobalSetupAccordionAdapter.js +0 -2
  134. package/dist/cjs/schema-driven/adapters/GlobalSetupAccordionAdapter.js.map +0 -1
  135. package/dist/cjs/schema-driven/adapters/PromptTextEditorAdapter.js +0 -2
  136. package/dist/cjs/schema-driven/adapters/PromptTextEditorAdapter.js.map +0 -1
  137. package/dist/cjs/schema-driven/adapters/ScopeSectionAdapter.js +0 -2
  138. package/dist/cjs/schema-driven/adapters/ScopeSectionAdapter.js.map +0 -1
  139. package/dist/cjs/schema-driven/adapters/TextInputAdapter.js +0 -2
  140. package/dist/cjs/schema-driven/adapters/TextInputAdapter.js.map +0 -1
  141. package/dist/cjs/schema-driven/adapters/VariantListWrapperAdapter.js +0 -2
  142. package/dist/cjs/schema-driven/adapters/VariantListWrapperAdapter.js.map +0 -1
  143. package/dist/cjs/schema-driven/components/ConditionSectionField.js +0 -2
  144. package/dist/cjs/schema-driven/components/ConditionSectionField.js.map +0 -1
  145. package/dist/cjs/schema-driven/components/ConfigSectionField.js +0 -2
  146. package/dist/cjs/schema-driven/components/ConfigSectionField.js.map +0 -1
  147. package/dist/cjs/schema-driven/components/DropdownSectionField.js +0 -2
  148. package/dist/cjs/schema-driven/components/DropdownSectionField.js.map +0 -1
  149. package/dist/cjs/schema-driven/components/GlobalSetupAccordionField.js +0 -2
  150. package/dist/cjs/schema-driven/components/GlobalSetupAccordionField.js.map +0 -1
  151. package/dist/cjs/schema-driven/components/GroupEditRow.js +0 -2
  152. package/dist/cjs/schema-driven/components/GroupEditRow.js.map +0 -1
  153. package/dist/cjs/schema-driven/components/PromptTextEditorField.js +0 -2
  154. package/dist/cjs/schema-driven/components/PromptTextEditorField.js.map +0 -1
  155. package/dist/cjs/schema-driven/components/ScopeSectionField.js +0 -2
  156. package/dist/cjs/schema-driven/components/ScopeSectionField.js.map +0 -1
  157. package/dist/cjs/schema-driven/components/TextInputField.js +0 -2
  158. package/dist/cjs/schema-driven/components/TextInputField.js.map +0 -1
  159. package/dist/cjs/schema-driven/components/VariantListField.js +0 -2
  160. package/dist/cjs/schema-driven/components/VariantListField.js.map +0 -1
  161. package/dist/cjs/schema-driven/demoSchema.js +0 -2
  162. package/dist/cjs/schema-driven/demoSchema.js.map +0 -1
  163. package/dist/cjs/schema-driven/primitives/Accordion.js +0 -2
  164. package/dist/cjs/schema-driven/primitives/Accordion.js.map +0 -1
  165. package/dist/cjs/schema-driven/store/useDynamicFormStore.js +0 -2
  166. package/dist/cjs/schema-driven/store/useDynamicFormStore.js.map +0 -1
  167. package/dist/cjs/schema-driven/types.js +0 -2
  168. package/dist/cjs/schema-driven/types.js.map +0 -1
  169. package/dist/cjs/schema-driven/utils/PayloadUtils.js +0 -2
  170. package/dist/cjs/schema-driven/utils/PayloadUtils.js.map +0 -1
  171. package/dist/cjs/schema-driven/utils/aiReasoning.js +0 -2
  172. package/dist/cjs/schema-driven/utils/aiReasoning.js.map +0 -1
  173. package/dist/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.js +0 -2
  174. package/dist/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.js.map +0 -1
  175. package/dist/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js +0 -2
  176. package/dist/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js.map +0 -1
  177. package/dist/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js +0 -2
  178. package/dist/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js.map +0 -1
  179. package/dist/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.js +0 -2
  180. package/dist/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.js.map +0 -1
  181. package/dist/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js +0 -2
  182. package/dist/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js.map +0 -1
  183. package/dist/features/LearningManagement/assets/Search-result(add new).svg.js +0 -2
  184. package/dist/features/LearningManagement/assets/Search-result(add new).svg.js.map +0 -1
  185. package/dist/features/LearningManagement/components/CreateLearningSetModal.js +0 -2
  186. package/dist/features/LearningManagement/components/CreateLearningSetModal.js.map +0 -1
  187. package/dist/features/LearningManagement/components/InstantLearningModalDynamic.js +0 -2
  188. package/dist/features/LearningManagement/components/InstantLearningModalDynamic.js.map +0 -1
  189. package/dist/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js +0 -2
  190. package/dist/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.js.map +0 -1
  191. package/dist/features/LearningManagement/store/useExternalWorkflowStore.js +0 -2
  192. package/dist/features/LearningManagement/store/useExternalWorkflowStore.js.map +0 -1
  193. package/dist/features/LearningManagement/styles/CreateLearningSetModal.module.css.js +0 -2
  194. package/dist/features/LearningManagement/styles/CreateLearningSetModal.module.css.js.map +0 -1
  195. package/dist/features/LearningManagement/utils/resizeObserverErrorGuard.js +0 -2
  196. package/dist/features/LearningManagement/utils/resizeObserverErrorGuard.js.map +0 -1
  197. package/dist/node_modules/@e-llm-studio/audit-log/dist/styles.css.js +0 -2
  198. package/dist/node_modules/@e-llm-studio/audit-log/dist/styles.css.js.map +0 -1
  199. package/dist/schema-driven/BPARenderer.js +0 -2
  200. package/dist/schema-driven/BPARenderer.js.map +0 -1
  201. package/dist/schema-driven/FallbackField.js +0 -2
  202. package/dist/schema-driven/FallbackField.js.map +0 -1
  203. package/dist/schema-driven/SchemaRenderer.js +0 -2
  204. package/dist/schema-driven/SchemaRenderer.js.map +0 -1
  205. package/dist/schema-driven/adapters/ConditionSectionAdapter.js +0 -2
  206. package/dist/schema-driven/adapters/ConditionSectionAdapter.js.map +0 -1
  207. package/dist/schema-driven/adapters/ConfigSectionAdapter.js +0 -2
  208. package/dist/schema-driven/adapters/ConfigSectionAdapter.js.map +0 -1
  209. package/dist/schema-driven/adapters/GlobalSetupAccordionAdapter.js +0 -2
  210. package/dist/schema-driven/adapters/GlobalSetupAccordionAdapter.js.map +0 -1
  211. package/dist/schema-driven/adapters/PromptTextEditorAdapter.js +0 -2
  212. package/dist/schema-driven/adapters/PromptTextEditorAdapter.js.map +0 -1
  213. package/dist/schema-driven/adapters/ScopeSectionAdapter.js +0 -2
  214. package/dist/schema-driven/adapters/ScopeSectionAdapter.js.map +0 -1
  215. package/dist/schema-driven/adapters/TextInputAdapter.js +0 -2
  216. package/dist/schema-driven/adapters/TextInputAdapter.js.map +0 -1
  217. package/dist/schema-driven/adapters/VariantListWrapperAdapter.js +0 -2
  218. package/dist/schema-driven/adapters/VariantListWrapperAdapter.js.map +0 -1
  219. package/dist/schema-driven/components/ConditionSectionField.js +0 -2
  220. package/dist/schema-driven/components/ConditionSectionField.js.map +0 -1
  221. package/dist/schema-driven/components/ConfigSectionField.js +0 -2
  222. package/dist/schema-driven/components/ConfigSectionField.js.map +0 -1
  223. package/dist/schema-driven/components/DropdownSectionField.js +0 -2
  224. package/dist/schema-driven/components/DropdownSectionField.js.map +0 -1
  225. package/dist/schema-driven/components/GlobalSetupAccordionField.js +0 -2
  226. package/dist/schema-driven/components/GlobalSetupAccordionField.js.map +0 -1
  227. package/dist/schema-driven/components/GroupEditRow.js +0 -2
  228. package/dist/schema-driven/components/GroupEditRow.js.map +0 -1
  229. package/dist/schema-driven/components/PromptTextEditorField.js +0 -2
  230. package/dist/schema-driven/components/PromptTextEditorField.js.map +0 -1
  231. package/dist/schema-driven/components/ScopeSectionField.js +0 -2
  232. package/dist/schema-driven/components/ScopeSectionField.js.map +0 -1
  233. package/dist/schema-driven/components/TextInputField.js +0 -2
  234. package/dist/schema-driven/components/TextInputField.js.map +0 -1
  235. package/dist/schema-driven/components/VariantListField.js +0 -2
  236. package/dist/schema-driven/components/VariantListField.js.map +0 -1
  237. package/dist/schema-driven/demoSchema.js +0 -2
  238. package/dist/schema-driven/demoSchema.js.map +0 -1
  239. package/dist/schema-driven/primitives/Accordion.js +0 -2
  240. package/dist/schema-driven/primitives/Accordion.js.map +0 -1
  241. package/dist/schema-driven/store/useDynamicFormStore.js +0 -2
  242. package/dist/schema-driven/store/useDynamicFormStore.js.map +0 -1
  243. package/dist/schema-driven/types.js +0 -2
  244. package/dist/schema-driven/types.js.map +0 -1
  245. package/dist/schema-driven/utils/PayloadUtils.js +0 -2
  246. package/dist/schema-driven/utils/PayloadUtils.js.map +0 -1
  247. package/dist/schema-driven/utils/aiReasoning.js +0 -2
  248. package/dist/schema-driven/utils/aiReasoning.js.map +0 -1
  249. package/dist/types/src/ContinueWithTemplateModal.d.ts +0 -17
  250. package/dist/types/src/ContinueWithTemplateModal.d.ts.map +0 -1
  251. package/dist/types/src/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.d.ts +0 -17
  252. package/dist/types/src/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.d.ts.map +0 -1
  253. package/dist/types/src/features/IL-OTJ/_components/organisms/DropdownSection/index.d.ts +0 -2
  254. package/dist/types/src/features/IL-OTJ/_components/organisms/DropdownSection/index.d.ts.map +0 -1
  255. package/dist/types/src/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.d.ts +0 -12
  256. package/dist/types/src/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.d.ts.map +0 -1
  257. package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts +0 -47
  258. package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts.map +0 -1
  259. package/dist/types/src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.d.ts +0 -12
  260. package/dist/types/src/features/LearningManagement/components/StationOnboarding/BackwardStationOnboardModal.d.ts.map +0 -1
  261. package/dist/types/src/features/LearningManagement/store/useExternalWorkflowStore.d.ts +0 -31
  262. package/dist/types/src/features/LearningManagement/store/useExternalWorkflowStore.d.ts.map +0 -1
  263. package/dist/types/src/features/LearningManagement/utils/resizeObserverErrorGuard.d.ts +0 -2
  264. package/dist/types/src/features/LearningManagement/utils/resizeObserverErrorGuard.d.ts.map +0 -1
  265. package/dist/types/src/schema-driven/BPARenderer.d.ts +0 -14
  266. package/dist/types/src/schema-driven/BPARenderer.d.ts.map +0 -1
  267. package/dist/types/src/schema-driven/FallbackField.d.ts +0 -13
  268. package/dist/types/src/schema-driven/FallbackField.d.ts.map +0 -1
  269. package/dist/types/src/schema-driven/SchemaRenderer.d.ts +0 -21
  270. package/dist/types/src/schema-driven/SchemaRenderer.d.ts.map +0 -1
  271. package/dist/types/src/schema-driven/adapters/ConditionSectionAdapter.d.ts +0 -11
  272. package/dist/types/src/schema-driven/adapters/ConditionSectionAdapter.d.ts.map +0 -1
  273. package/dist/types/src/schema-driven/adapters/ConfigSectionAdapter.d.ts +0 -13
  274. package/dist/types/src/schema-driven/adapters/ConfigSectionAdapter.d.ts.map +0 -1
  275. package/dist/types/src/schema-driven/adapters/GlobalSetupAccordionAdapter.d.ts +0 -5
  276. package/dist/types/src/schema-driven/adapters/GlobalSetupAccordionAdapter.d.ts.map +0 -1
  277. package/dist/types/src/schema-driven/adapters/PromptTextEditorAdapter.d.ts +0 -13
  278. package/dist/types/src/schema-driven/adapters/PromptTextEditorAdapter.d.ts.map +0 -1
  279. package/dist/types/src/schema-driven/adapters/ScopeSectionAdapter.d.ts +0 -5
  280. package/dist/types/src/schema-driven/adapters/ScopeSectionAdapter.d.ts.map +0 -1
  281. package/dist/types/src/schema-driven/adapters/TextInputAdapter.d.ts +0 -18
  282. package/dist/types/src/schema-driven/adapters/TextInputAdapter.d.ts.map +0 -1
  283. package/dist/types/src/schema-driven/adapters/VariantListWrapperAdapter.d.ts +0 -17
  284. package/dist/types/src/schema-driven/adapters/VariantListWrapperAdapter.d.ts.map +0 -1
  285. package/dist/types/src/schema-driven/components/ConditionSectionField.d.ts +0 -3
  286. package/dist/types/src/schema-driven/components/ConditionSectionField.d.ts.map +0 -1
  287. package/dist/types/src/schema-driven/components/ConfigSectionField.d.ts +0 -3
  288. package/dist/types/src/schema-driven/components/ConfigSectionField.d.ts.map +0 -1
  289. package/dist/types/src/schema-driven/components/DropdownSectionField.d.ts +0 -3
  290. package/dist/types/src/schema-driven/components/DropdownSectionField.d.ts.map +0 -1
  291. package/dist/types/src/schema-driven/components/GlobalSetupAccordionField.d.ts +0 -3
  292. package/dist/types/src/schema-driven/components/GlobalSetupAccordionField.d.ts.map +0 -1
  293. package/dist/types/src/schema-driven/components/GroupEditRow.d.ts +0 -3
  294. package/dist/types/src/schema-driven/components/GroupEditRow.d.ts.map +0 -1
  295. package/dist/types/src/schema-driven/components/PromptTextEditorField.d.ts +0 -3
  296. package/dist/types/src/schema-driven/components/PromptTextEditorField.d.ts.map +0 -1
  297. package/dist/types/src/schema-driven/components/ScopeSectionField.d.ts +0 -3
  298. package/dist/types/src/schema-driven/components/ScopeSectionField.d.ts.map +0 -1
  299. package/dist/types/src/schema-driven/components/TextInputField.d.ts +0 -3
  300. package/dist/types/src/schema-driven/components/TextInputField.d.ts.map +0 -1
  301. package/dist/types/src/schema-driven/components/VariantListField.d.ts +0 -3
  302. package/dist/types/src/schema-driven/components/VariantListField.d.ts.map +0 -1
  303. package/dist/types/src/schema-driven/demoSchema.d.ts +0 -13
  304. package/dist/types/src/schema-driven/demoSchema.d.ts.map +0 -1
  305. package/dist/types/src/schema-driven/primitives/Accordion.d.ts +0 -10
  306. package/dist/types/src/schema-driven/primitives/Accordion.d.ts.map +0 -1
  307. package/dist/types/src/schema-driven/store/useDynamicFormStore.d.ts +0 -19
  308. package/dist/types/src/schema-driven/store/useDynamicFormStore.d.ts.map +0 -1
  309. package/dist/types/src/schema-driven/types.d.ts +0 -63
  310. package/dist/types/src/schema-driven/types.d.ts.map +0 -1
  311. package/dist/types/src/schema-driven/utils/PayloadUtils.d.ts +0 -40
  312. package/dist/types/src/schema-driven/utils/PayloadUtils.d.ts.map +0 -1
  313. package/dist/types/src/schema-driven/utils/aiReasoning.d.ts +0 -5
  314. package/dist/types/src/schema-driven/utils/aiReasoning.d.ts.map +0 -1
@@ -153,45 +153,16 @@ export interface LMSEmptyStateLearningConfig {
153
153
  export interface LMSAgentsConfig {
154
154
  LearningTerm: string;
155
155
  }
156
- export interface LMSExternalWorkflowModalOptionConfig {
157
- title: string;
158
- desc: string;
159
- footerDesc: string;
160
- }
161
- export interface LMSExternalWorkflowModalConfig {
162
- heading: string;
163
- options: {
164
- saveDraft: LMSExternalWorkflowModalOptionConfig;
165
- configureNow: LMSExternalWorkflowModalOptionConfig;
166
- };
167
- }
168
- export interface LMSExternalWorkflowMetaDataConfig {
169
- enableExternalWorkflow: boolean;
170
- current_mode: string;
171
- sub_mode: string;
172
- next_mode: string;
173
- externalWorkflowModal: LMSExternalWorkflowModalConfig;
174
- }
175
156
  export interface LMSConfig {
176
157
  pageTitle: string;
177
158
  middleDrawer: LMSMiddleDrawerConfig;
178
159
  learnings: LMSLearningsConfig;
179
160
  emptyStateLearning: LMSEmptyStateLearningConfig;
180
161
  agents: LMSAgentsConfig;
181
- externalWorkflowMetaData: LMSExternalWorkflowMetaDataConfig;
182
162
  }
183
163
  export interface LMSTeachMeConfig {
184
164
  showScope: boolean;
185
165
  showConfiguration: boolean;
186
- /**
187
- * Opt into the schema-driven RHS pipeline (InstantLearningModalDynamic +
188
- * SchemaDrivenCreateRule) straight from the data-type JSON, so teams don't need
189
- * to also pass the `useDynamicForm` prop. Either source being true opts in;
190
- * absent/false → the legacy InstantLearningModal + CreateRule flow.
191
- */
192
- useDynamicForm?: boolean;
193
- /** When false, only a single existing variant can ever be loaded/edited — no drafting/removing new variants. */
194
- variantFlow?: boolean;
195
166
  welcomeMessage: string;
196
167
  welcomeMessageSubtitle: string;
197
168
  actions: Array<{
@@ -214,19 +185,11 @@ export interface LMSTeachMeConfig {
214
185
  configTitle: string;
215
186
  saveBtnLabel: string;
216
187
  saveBtnLoadingLabel: string;
217
- externalWorkflowMetaData?: LMSExternalWorkflowMetaDataConfig;
218
188
  learningMetadataComponents?: {
219
- teachMe?: {
220
- type: string;
221
- title: string;
222
- required?: string[];
223
- properties: Record<string, LMSMetadataField>;
224
- };
225
- learningManagement?: Record<string, unknown>;
226
- type?: string;
227
- title?: string;
228
- required?: string[];
229
- properties?: Record<string, LMSMetadataField>;
189
+ type: string;
190
+ title: string;
191
+ required: string[];
192
+ properties: Record<string, LMSMetadataField>;
230
193
  };
231
194
  }
232
195
  export declare const defaultLMSConfig: LMSConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"useLMSConfigStore.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/store/useLMSConfigStore.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,wBAAwB,EAAE;QACxB,KAAK,EAAE,MAAM,CAAC;QACd,gBAAgB,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC;QACtD,sBAAsB,EAAE;YAAE,KAAK,EAAE,MAA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B,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACrD,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC;AAED,eAAO,MAAM,qBAAqB,iFAI/B,CAAC;AAEJ;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,IAAI;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAClD,CAQA;AACD,wBAAgB,GAAG,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,EACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GACvC,MAAM,CAeR"}
1
+ {"version":3,"file":"useLMSConfigStore.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/store/useLMSConfigStore.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,wBAAwB,EAAE;QACxB,KAAK,EAAE,MAAM,CAAC;QACd,gBAAgB,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC;QACtD,sBAAsB,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,CAAC;KAC7D,CAAC;IACF,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf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AAkB;IAC1B,aAAa,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACvC,gBAAgB,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACrD,kBAAkB,EAAE,MAAM,IAAI,CAAC;CAChC;AAED,eAAO,MAAM,qBAAqB,iFAI/B,CAAC;AAEJ;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,IAAI;IACxC,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAClD,CAQA;AACD,wBAAgB,GAAG,CACjB,IAAI,EAAE,MAAM,EACZ,QAAQ,CAAC,EAAE,MAAM,EACjB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GACvC,MAAM,CAeR"}
@@ -1 +1 @@
1
- {"version":3,"file":"learningMetadataUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/utils/learningMetadataUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAInE,eAAO,MAAM,4BAA4B,+BACX,gBAAgB,CAAC,4BAA4B,CAAC,mBAC1D,OAAO,MAAM,EAAE,GAAG,CAAC;;;CAyBpC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,cAAe,OAAO,MAAM,EAAE,GAAG,CAAC,KAAG,MAS1E,CAAC"}
1
+ {"version":3,"file":"learningMetadataUtils.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/utils/learningMetadataUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAInE,eAAO,MAAM,4BAA4B,+BACX,gBAAgB,CAAC,4BAA4B,CAAC,mBAC1D,OAAO,MAAM,EAAE,GAAG,CAAC;;;CAuBpC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,cAAe,OAAO,MAAM,EAAE,GAAG,CAAC,KAAG,MAS1E,CAAC"}
@@ -5,8 +5,6 @@ export { default as ILOTJ } from "./features/IL-OTJ/ILOTJ";
5
5
  export * from "./features/IL-OTJ/_components/index";
6
6
  export { default as LearningManagement } from "./features/LearningManagement/LearningManagement";
7
7
  export { default as TeachMePlugin } from "./features/IL-OTJ/ValueTypeWrappers/TeachMePlugin";
8
- export { default as ContinueWithTemplateModal } from "./ContinueWithTemplateModal";
9
- export type { ContinueWithTemplateModalProps, TemplateContinueOption } from "./ContinueWithTemplateModal";
10
8
  export { GuidelineCart } from './features/IL-marketplace/components/GuidelineCart';
11
9
  export { GuidelineCartHeader } from './features/IL-marketplace/components/GuidelineCartHeader';
12
10
  export { GuidelineCartItem } from './features/IL-marketplace/components/GuidelineCartItem';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAC1D,cAAc,qCAAqC,CAAA;AACnD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAC,MAAM,kDAAkD,CAAC;AAChG,OAAO,EAAE,OAAO,IAAI,aAAa,EAAC,MAAM,mDAAmD,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACnF,YAAY,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAI1G,OAAO,EAAE,aAAa,EA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MAAM,iCAAiC,CAAC;AAQzC,OAAO,EAAE,6BAA6B,EAAE,MAAM,uDAAuD,CAAC;AACtG,OAAO,EACL,qBAAqB,EACrB,4BAA4B,EAC5B,6BAA6B,EAC7B,oCAAoC,GACrC,MAAM,2DAA2D,CAAC;AAEnE,OAAO,EACL,4BAA4B,GAC7B,MAAM,uDAAuD,CAAC;AAE/D,OAAO,EACL,qBAAqB,EACrB,8BAA8B,EAC9B,6BAA6B,EAC7B,wCAAwC,GACzC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,uCAAuC,EAAE,MAAM,yDAAyD,CAAC;AAGlH,OAAO,EAAE,6BAA6B,EAAE,MAAM,kDAAkD,CAAC;AACjG,OAAO,EACL,4BAA4B,EAC5B,+BAA+B,EAC/B,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,gDAAgD,CAAC;AAGxD,YAAY,EAAE,sBAAsB,EAAE,mBAAmB,EAAE,MAAM,6DAA6D,CAAC;AAC/H,YAAY,EAAE,2BAA2B,EAAE,MAAM,qDAAqD,CAAC;AACvG,YAAY,EACV,kBAAkB,EAClB,uBAAuB,GACxB,MAAM,iDAAiD,CAAC;AACzD,YAAY,EAAE,QAAQ,EAAE,MAAM,2CAA2C,CAAC;AAC1E,YAAY,EAAE,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AAGjG,OAAO,EAAE,wBAAwB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,EAAE,6BAA6B,EAAE,MAAM,uDAAuD,CAAC;AAGtG,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultTeachMeRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/ValueTypes/Default/DefaultTeachMeRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAC;AAMhG,MAAM,WAAW,cAAc;IAC3B,WAAW,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,6BAA6B,EAAE,MAAM,CAAA;KAAE,CAAC;IACzE,gBAAgB,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,6BAA6B,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9E,eAAe,EAAE;QAAE,sBAAsB,EAAE,OAAO,CAAA;KAAE,CAAC;IACrD,gBAAgB,EAAE;QAAE,kBAAkB,EAAE,OAAO,CAAA;KAAE,CAAC;IAClD,kBAAkB,EAAE,OAAO,CAAC;CAC/B;AAUD,QAAA,MAAM,sBAAsB,UAAW,mBAAmB,sBAiJzD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"DefaultTeachMeRenderer.d.ts","sourceRoot":"","sources":["../../../../../../src/plugins/ValueTypes/Default/DefaultTeachMeRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2DAA2D,CAAC;AAMhG,MAAM,WAAW,cAAc;IAC3B,WAAW,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,6BAA6B,EAAE,MAAM,CAAA;KAAE,CAAC;IACzE,gBAAgB,EAAE;QAAE,OAAO,EAAE,OAAO,CAAC;QAAC,6BAA6B,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9E,eAAe,EAAE;QAAE,sBAAsB,EAAE,OAAO,CAAA;KAAE,CAAC;IACrD,gBAAgB,EAAE;QAAE,kBAAkB,EAAE,OAAO,CAAA;KAAE,CAAC;IAClD,kBAAkB,EAAE,OAAO,CAAC;CAC/B;AAUD,QAAA,MAAM,sBAAsB,UAAW,mBAAmB,sBAmHzD,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/instant-learning",
3
- "version": "1.3.0-alpha.153",
3
+ "version": "1.3.0-alpha.154",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -1,2 +0,0 @@
1
- import{__assign as e}from"tslib";import{jsx as o,jsxs as t}from"react/jsx-runtime";import{Modal as n}from"@mui/material";import{FileText as a,Settings as i,X as r,ChevronRight as s}from"lucide-react";import l from"./ContinueWithTemplateModal.module.css.js";import{EXTERNAL_WORKFLOW_MODAL_DT_PATH as c,EXTERNAL_WORKFLOW_METADATA_DT_PATH as d,MF_EVENTS as u}from"./features/LearningManagement/constants.js";import{useExternalWorkflowStore as m}from"./features/LearningManagement/store/useExternalWorkflowStore.js";import{dtt as p}from"./features/LearningManagement/store/useLMSConfigStore.js";var f=function(f){var g=f.heading,N=f.options,h=m(function(e){return e.isContinueModalOpen}),v=m(function(e){return e.closeContinueModal}),C=m(function(e){return e.externalWorkflowMetaData}),w=null!=C?C:{},M=w.handlers,T=w.mfApi,D=w.configureNowPayload,y=[{id:"save-draft",icon:o(a,{size:20}),title:p("".concat(c,".options.saveDraft.title")),description:p("".concat(c,".options.saveDraft.desc")),onClick:function(){if(null==M?void 0:M.onSaveDraft)return M.onSaveDraft(),void v();v()},footerNote:p("".concat(c,".options.saveDraft.footerDesc"))},{id:"configure-now",icon:o(i,{size:20}),title:p("".concat(c,".options.configureNow.title")),description:p("".concat(c,".options.configureNow.desc")),onClick:function(){if(console.log("ContinueWithTemplateModal: Configure Now payload:",D),null==M?void 0:M.onConfigureNow)return M.onConfigureNow(),void v();!function(){if(!D)return console.error("ContinueWithTemplateModal: configureNowPayload is required for the default Configure Now action."),void v();var o=p("".concat(d,".current_mode")),t={modeType:"submode",eventType:"modeToTrigger",previousMode:{modeName:o,additionalData:{}},modeToTrigger:{modeName:p("".concat(d,".next_mode")),query:"",additionalData:e({urlRelativePath:window.location.pathname.replace(/^\/+/,"")+window.location.search},D),responseOfThisMode:null},nextMode:{modeName:o,queryForNextMode:"",additionalData:{}}};null==T||T.dispatch(u.TRIGGER_SUBMODE,t),v()}()},footerNote:p("".concat(c,".options.configureNow.footerDesc"))}],B=N&&N.length>0?N:y;return o(n,e({open:h,onClose:v},{children:o("div",e({className:l.overlayCenterer},{children:t("div",e({className:l.modal},{children:[t("div",e({className:l.header},{children:[o("h2",e({className:l.headingText},{children:null!=g?g:p("".concat(c,".heading"))})),o("button",e({type:"button",className:l.closeButton,onClick:v,"aria-label":"Close"},{children:o(r,{size:20})}))]})),o("div",e({className:l.optionsRow},{children:B.map(function(n){return t("button",e({type:"button",onClick:n.onClick,className:l.optionCard},{children:[t("div",e({className:l.optionCardTop},{children:[o("div",e({className:l.optionIconWrap},{children:n.icon})),o(s,{size:18,className:l.optionArrow})]})),o("div",e({className:l.optionTitle},{children:n.title})),o("p",e({className:l.optionDescription},{children:n.description})),n.footerNote&&o("div",e({className:l.optionFooterNote},{children:n.footerNote})),n.stepBadges&&n.stepBadges.length>0&&o("div",e({className:l.stepBadgeRow},{children:n.stepBadges.map(function(a,i){return t("div",e({className:l.stepBadgeItem},{children:[o("span",e({className:l.stepBadge},{children:a})),i<n.stepBadges.length-1&&o(s,{size:14,className:l.stepBadgeSeparator})]}),a)})}))]}),n.id)})}))]}))}))}))};export{f as default};
2
- //# sourceMappingURL=ContinueWithTemplateModal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContinueWithTemplateModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import e from"./node_modules/style-inject/dist/style-inject.es.js";var o={overlayCenterer:"ContinueWithTemplateModal-module_overlayCenterer__v-07M",modal:"ContinueWithTemplateModal-module_modal__mI6vW",header:"ContinueWithTemplateModal-module_header__4m-kh",headingText:"ContinueWithTemplateModal-module_headingText__J-DcQ",closeButton:"ContinueWithTemplateModal-module_closeButton__74D3b",optionsRow:"ContinueWithTemplateModal-module_optionsRow__8xzr1",optionCard:"ContinueWithTemplateModal-module_optionCard__TGTgu",optionCardTop:"ContinueWithTemplateModal-module_optionCardTop__DFmo5",optionIconWrap:"ContinueWithTemplateModal-module_optionIconWrap__fhq9d",optionArrow:"ContinueWithTemplateModal-module_optionArrow__4S9xs",optionTitle:"ContinueWithTemplateModal-module_optionTitle__wV7Df",optionDescription:"ContinueWithTemplateModal-module_optionDescription__vgsxL",optionFooterNote:"ContinueWithTemplateModal-module_optionFooterNote__6jUPP",stepBadgeRow:"ContinueWithTemplateModal-module_stepBadgeRow__RdB5r",stepBadgeItem:"ContinueWithTemplateModal-module_stepBadgeItem__MBPyK",stepBadge:"ContinueWithTemplateModal-module_stepBadge__Y7WUx",stepBadgeSeparator:"ContinueWithTemplateModal-module_stepBadgeSeparator__mZygD"};e(".ContinueWithTemplateModal-module_overlayCenterer__v-07M{align-items:center;display:flex;height:100%;justify-content:center;padding:16px;width:100%}.ContinueWithTemplateModal-module_modal__mI6vW{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0f172a2e;max-width:1120px;outline:none;padding:24px 32px 32px;width:100%}.ContinueWithTemplateModal-module_header__4m-kh{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:20px}.ContinueWithTemplateModal-module_headingText__J-DcQ{color:#111827;font-size:20px;font-weight:600;margin:0;padding-right:16px}.ContinueWithTemplateModal-module_closeButton__74D3b{background:none;border:none;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;padding:4px}.ContinueWithTemplateModal-module_closeButton__74D3b:hover{background:#f3f4f6;color:#111827}.ContinueWithTemplateModal-module_optionsRow__8xzr1{display:grid;gap:16px;grid-template-columns:1fr 1fr}.ContinueWithTemplateModal-module_optionCard__TGTgu{background:#fff;border:1px solid #e3e6ea;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;gap:12px;padding:24px;text-align:left;transition:border-color .15s ease,box-shadow .15s ease}.ContinueWithTemplateModal-module_optionCard__TGTgu:hover{border-color:#9845e8;box-shadow:0 4px 16px #9845e81f}.ContinueWithTemplateModal-module_optionCardTop__DFmo5{align-items:center;display:flex;justify-content:space-between}.ContinueWithTemplateModal-module_optionIconWrap__fhq9d{align-items:center;background:#f5f0ff;border-radius:10px;color:#6d28d9;display:flex;height:40px;justify-content:center;width:40px}.ContinueWithTemplateModal-module_optionArrow__4S9xs{color:#9ca3af}.ContinueWithTemplateModal-module_optionTitle__wV7Df{color:#111827;font-size:17px;font-weight:600}.ContinueWithTemplateModal-module_optionDescription__vgsxL{color:#6b7280;font-size:14px;line-height:1.5;margin:0}.ContinueWithTemplateModal-module_optionFooterNote__6jUPP{color:#6d28d9;font-size:12px;font-weight:500}.ContinueWithTemplateModal-module_stepBadgeRow__RdB5r{align-items:center;display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.ContinueWithTemplateModal-module_stepBadgeItem__MBPyK{align-items:center;display:flex;gap:4px}.ContinueWithTemplateModal-module_stepBadge__Y7WUx{background:#f3f4f6;border-radius:999px;color:#374151;font-size:11px;font-weight:500;padding:4px 10px}.ContinueWithTemplateModal-module_stepBadgeSeparator__mZygD{color:#9ca3af}@media (max-width:1160px){.ContinueWithTemplateModal-module_modal__mI6vW{max-width:90vw}}@media (max-width:640px){.ContinueWithTemplateModal-module_optionsRow__8xzr1{grid-template-columns:1fr}}");export{o as default};
2
- //# sourceMappingURL=ContinueWithTemplateModal.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContinueWithTemplateModal.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),o=require("@mui/material"),a=require("lucide-react"),n=require("./ContinueWithTemplateModal.module.css.js"),s=require("./features/LearningManagement/constants.js"),i=require("./features/LearningManagement/store/useExternalWorkflowStore.js"),r=require("./features/LearningManagement/store/useLMSConfigStore.js");exports.default=function(l){var d=l.heading,c=l.options,u=i.useExternalWorkflowStore(function(e){return e.isContinueModalOpen}),_=i.useExternalWorkflowStore(function(e){return e.closeContinueModal}),f=i.useExternalWorkflowStore(function(e){return e.externalWorkflowMetaData}),g=null!=f?f:{},p=g.handlers,T=g.mfApi,m=g.configureNowPayload,N=[{id:"save-draft",icon:t.jsx(a.FileText,{size:20}),title:r.dtt("".concat(s.EXTERNAL_WORKFLOW_MODAL_DT_PATH,".options.saveDraft.title")),description:r.dtt("".concat(s.EXTERNAL_WORKFLOW_MODAL_DT_PATH,".options.saveDraft.desc")),onClick:function(){if(null==p?void 0:p.onSaveDraft)return p.onSaveDraft(),void _();_()},footerNote:r.dtt("".concat(s.EXTERNAL_WORKFLOW_MODAL_DT_PATH,".options.saveDraft.footerDesc"))},{id:"configure-now",icon:t.jsx(a.Settings,{size:20}),title:r.dtt("".concat(s.EXTERNAL_WORKFLOW_MODAL_DT_PATH,".options.configureNow.title")),description:r.dtt("".concat(s.EXTERNAL_WORKFLOW_MODAL_DT_PATH,".options.configureNow.desc")),onClick:function(){if(console.log("ContinueWithTemplateModal: Configure Now payload:",m),null==p?void 0:p.onConfigureNow)return p.onConfigureNow(),void _();!function(){if(!m)return console.error("ContinueWithTemplateModal: configureNowPayload is required for the default Configure Now action."),void _();var t=r.dtt("".concat(s.EXTERNAL_WORKFLOW_METADATA_DT_PATH,".current_mode")),o={modeType:"submode",eventType:"modeToTrigger",previousMode:{modeName:t,additionalData:{}},modeToTrigger:{modeName:r.dtt("".concat(s.EXTERNAL_WORKFLOW_METADATA_DT_PATH,".next_mode")),query:"",additionalData:e.__assign({urlRelativePath:window.location.pathname.replace(/^\/+/,"")+window.location.search},m),responseOfThisMode:null},nextMode:{modeName:t,queryForNextMode:"",additionalData:{}}};null==T||T.dispatch(s.MF_EVENTS.TRIGGER_SUBMODE,o),_()}()},footerNote:r.dtt("".concat(s.EXTERNAL_WORKFLOW_MODAL_DT_PATH,".options.configureNow.footerDesc"))}],h=c&&c.length>0?c:N;return t.jsx(o.Modal,e.__assign({open:u,onClose:_},{children:t.jsx("div",e.__assign({className:n.default.overlayCenterer},{children:t.jsxs("div",e.__assign({className:n.default.modal},{children:[t.jsxs("div",e.__assign({className:n.default.header},{children:[t.jsx("h2",e.__assign({className:n.default.headingText},{children:null!=d?d:r.dtt("".concat(s.EXTERNAL_WORKFLOW_MODAL_DT_PATH,".heading"))})),t.jsx("button",e.__assign({type:"button",className:n.default.closeButton,onClick:_,"aria-label":"Close"},{children:t.jsx(a.X,{size:20})}))]})),t.jsx("div",e.__assign({className:n.default.optionsRow},{children:h.map(function(o){return t.jsxs("button",e.__assign({type:"button",onClick:o.onClick,className:n.default.optionCard},{children:[t.jsxs("div",e.__assign({className:n.default.optionCardTop},{children:[t.jsx("div",e.__assign({className:n.default.optionIconWrap},{children:o.icon})),t.jsx(a.ChevronRight,{size:18,className:n.default.optionArrow})]})),t.jsx("div",e.__assign({className:n.default.optionTitle},{children:o.title})),t.jsx("p",e.__assign({className:n.default.optionDescription},{children:o.description})),o.footerNote&&t.jsx("div",e.__assign({className:n.default.optionFooterNote},{children:o.footerNote})),o.stepBadges&&o.stepBadges.length>0&&t.jsx("div",e.__assign({className:n.default.stepBadgeRow},{children:o.stepBadges.map(function(s,i){return t.jsxs("div",e.__assign({className:n.default.stepBadgeItem},{children:[t.jsx("span",e.__assign({className:n.default.stepBadge},{children:s})),i<o.stepBadges.length-1&&t.jsx(a.ChevronRight,{size:14,className:n.default.stepBadgeSeparator})]}),s)})}))]}),o.id)})}))]}))}))}))};
2
- //# sourceMappingURL=ContinueWithTemplateModal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContinueWithTemplateModal.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(".ContinueWithTemplateModal-module_overlayCenterer__v-07M{align-items:center;display:flex;height:100%;justify-content:center;padding:16px;width:100%}.ContinueWithTemplateModal-module_modal__mI6vW{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0f172a2e;max-width:1120px;outline:none;padding:24px 32px 32px;width:100%}.ContinueWithTemplateModal-module_header__4m-kh{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:20px}.ContinueWithTemplateModal-module_headingText__J-DcQ{color:#111827;font-size:20px;font-weight:600;margin:0;padding-right:16px}.ContinueWithTemplateModal-module_closeButton__74D3b{background:none;border:none;border-radius:6px;color:#6b7280;cursor:pointer;display:flex;padding:4px}.ContinueWithTemplateModal-module_closeButton__74D3b:hover{background:#f3f4f6;color:#111827}.ContinueWithTemplateModal-module_optionsRow__8xzr1{display:grid;gap:16px;grid-template-columns:1fr 1fr}.ContinueWithTemplateModal-module_optionCard__TGTgu{background:#fff;border:1px solid #e3e6ea;border-radius:12px;cursor:pointer;display:flex;flex-direction:column;gap:12px;padding:24px;text-align:left;transition:border-color .15s ease,box-shadow .15s ease}.ContinueWithTemplateModal-module_optionCard__TGTgu:hover{border-color:#9845e8;box-shadow:0 4px 16px #9845e81f}.ContinueWithTemplateModal-module_optionCardTop__DFmo5{align-items:center;display:flex;justify-content:space-between}.ContinueWithTemplateModal-module_optionIconWrap__fhq9d{align-items:center;background:#f5f0ff;border-radius:10px;color:#6d28d9;display:flex;height:40px;justify-content:center;width:40px}.ContinueWithTemplateModal-module_optionArrow__4S9xs{color:#9ca3af}.ContinueWithTemplateModal-module_optionTitle__wV7Df{color:#111827;font-size:17px;font-weight:600}.ContinueWithTemplateModal-module_optionDescription__vgsxL{color:#6b7280;font-size:14px;line-height:1.5;margin:0}.ContinueWithTemplateModal-module_optionFooterNote__6jUPP{color:#6d28d9;font-size:12px;font-weight:500}.ContinueWithTemplateModal-module_stepBadgeRow__RdB5r{align-items:center;display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.ContinueWithTemplateModal-module_stepBadgeItem__MBPyK{align-items:center;display:flex;gap:4px}.ContinueWithTemplateModal-module_stepBadge__Y7WUx{background:#f3f4f6;border-radius:999px;color:#374151;font-size:11px;font-weight:500;padding:4px 10px}.ContinueWithTemplateModal-module_stepBadgeSeparator__mZygD{color:#9ca3af}@media (max-width:1160px){.ContinueWithTemplateModal-module_modal__mI6vW{max-width:90vw}}@media (max-width:640px){.ContinueWithTemplateModal-module_optionsRow__8xzr1{grid-template-columns:1fr}}"),exports.default={overlayCenterer:"ContinueWithTemplateModal-module_overlayCenterer__v-07M",modal:"ContinueWithTemplateModal-module_modal__mI6vW",header:"ContinueWithTemplateModal-module_header__4m-kh",headingText:"ContinueWithTemplateModal-module_headingText__J-DcQ",closeButton:"ContinueWithTemplateModal-module_closeButton__74D3b",optionsRow:"ContinueWithTemplateModal-module_optionsRow__8xzr1",optionCard:"ContinueWithTemplateModal-module_optionCard__TGTgu",optionCardTop:"ContinueWithTemplateModal-module_optionCardTop__DFmo5",optionIconWrap:"ContinueWithTemplateModal-module_optionIconWrap__fhq9d",optionArrow:"ContinueWithTemplateModal-module_optionArrow__4S9xs",optionTitle:"ContinueWithTemplateModal-module_optionTitle__wV7Df",optionDescription:"ContinueWithTemplateModal-module_optionDescription__vgsxL",optionFooterNote:"ContinueWithTemplateModal-module_optionFooterNote__6jUPP",stepBadgeRow:"ContinueWithTemplateModal-module_stepBadgeRow__RdB5r",stepBadgeItem:"ContinueWithTemplateModal-module_stepBadgeItem__MBPyK",stepBadge:"ContinueWithTemplateModal-module_stepBadge__Y7WUx",stepBadgeSeparator:"ContinueWithTemplateModal-module_stepBadgeSeparator__mZygD"};
2
- //# sourceMappingURL=ContinueWithTemplateModal.module.css.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContinueWithTemplateModal.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),i=require("../../molecules/Sections/SectionWrapper.js"),n=require("../../atoms/Dropdown/Dropdown.js");exports.DropdownSection=function(t){var o=t.id,s=t.title,a=t.value,l=t.onChange,d=t.options,u=t.placeholder,p=t.required,c=t.readOnly,g=t.errorMessage,h=t.isHighlighted,m=t.isAiStreaming,v=t.schema,y=e.__rest(t,["id","title","value","onChange","options","placeholder","required","readOnly","errorMessage","isHighlighted","isAiStreaming","schema"]),_=d||(null==v?void 0:v.options)||(Array.isArray(null==v?void 0:v.enum)?v.enum.map(function(e){return{label:e,value:e}}):[]),x=c||m;return r.jsx(i.SectionWrapper,e.__assign({},y,{id:o,required:p,readOnly:x,title:s,customStyles:{margin:"0 0.2rem 0.2rem 0.2rem"}},{children:r.jsxs("div",e.__assign({style:{width:"100%"},"data-edit-id":o},{children:[r.jsx(n.Dropdown,{value:a||"",onChange:function(e){x||l&&l(e.target.value)},options:_,placeholder:u,isHighlighted:h,readOnly:x}),g&&r.jsx("div",e.__assign({style:{color:"#ef4444",fontSize:"12px",marginTop:"4px"}},{children:g}))]}))}))};
2
- //# sourceMappingURL=DropdownSection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DropdownSection.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),e=require("react/jsx-runtime"),t=require("react"),n=require("../../organisms/TextSection/TextSection.js"),o=require("../../organisms/ScopeSection/ScopeSection.js"),s=require("../../organisms/ConditionSection/ConditionSection.js"),d=require("../../organisms/ConfigSection/ConfigSection.js"),a=require("../../InputDataReasoningCard.js"),l=require("../../_svg/ButtonCognitiveIcon.js");exports.BaseTemplate=function(r){var c,p,g,h,v,u,I,E,m,f,b,S,y,x,C,A,_,j,T,N,w,W,D,L,O,M,q,P,R,V,H,B,K,z=r.state,k=r.handlers,F=r.uiState,G=r.customNodes,J=void 0===G?{}:G,Q=t.useState({}),U=Q[0],X=Q[1],Y=t.useState(new Set),Z=Y[0],$=Y[1],ii=function(e){X(function(t){var n;return i.__assign(i.__assign({},t),((n={})[e]=!t[e],n))})},ei=function(i){var e,t=null===(e=z.fieldCitations)||void 0===e?void 0:e[i];return Array.isArray(t)&&t.length>0?t:z.citations||[]},ti={marginTop:"-17px",position:"relative",zIndex:1},ni=function(i){return!!F.isAiStreaming||(!!F.isReadOnly||!(!F.activeEditId||F.activeEditId.startsWith(i)))};return e.jsxs("div",i.__assign({className:"base-template-container",style:{display:"flex",flexDirection:"column",gap:"16px",width:"100%"}},{children:[J.top&&e.jsx("div",i.__assign({className:"custom-slot-top"},{children:J.top})),e.jsxs("div",i.__assign({className:"template-section"},{children:[e.jsx(n.TextSection,{id:"base-title",title:F.titleLabel||"Title",fieldName:F.titleLabel||"Title",rows:1,placeholder:"Enter a descriptive title",required:!0,value:z.title||"",onChange:k.onTitleChange,readOnly:ni("base-title"),isOpen:U.title,onToggle:function(){return ii("title")},isHighlighted:(null===(c=F.highlights)||void 0===c?void 0:c.get("title"))||!1,showCognitiveIcon:!!(null===(p=z.citation)||void 0===p?void 0:p.title),tooltipDescription:"Why this ".concat(F.titleLabel||"Title","?"),errorMessage:null===(g=F.validationErrors)||void 0===g?void 0:g.title,enableInlineEdit:!0,setSendMessageInChat:F.setSendMessageInChat,activeEditId:null!==(h=F.activeEditId)&&void 0!==h?h:null,setActiveEditId:F.setActiveEditId,pendingEditId:null!==(v=F.pendingEditId)&&void 0!==v?v:null,setPendingEditId:F.setPendingEditId}),(null===(u=z.citation)||void 0===u?void 0:u.title)&&e.jsx("div",i.__assign({style:ti},{children:e.jsx(a.InputDataReasoningCard,{isVisible:U.title,citation:z.citation.title,citations:ei("title"),fieldName:F.titleLabel||"Title",fieldValue:z.title||""})}))]})),J.afterTitle&&e.jsx("div",i.__assign({className:"custom-slot"},{children:J.afterTitle})),F.showScope&&e.jsxs("div",i.__assign({className:"template-section"},{children:[e.jsx(o.ScopeSection,{id:"base-scope",title:F.scopeLabel||"",required:!1,scopeData:z.scopeData||{},onScopeChange:k.onScopeChange,openSections:Z,setOpenSections:$,stationOptions:F.stationOptions||[],tierOptions:F.tierOptions||[],tierLabel:F.tierLabel||"Where should this apply?",stationLabel:F.stationLabel||"Which scope should this belong to?",highlights:(null===(I=F.highlights)||void 0===I?void 0:I.get("scope"))||{},isOpen:U.scope,onToggle:function(){return ii("scope")},showCognitiveIcon:!!(null===(E=z.citation)||void 0===E?void 0:E.scope),cognitiveIcon:e.jsx(l.ButtonCognitiveIcon,{}),tooltipDescription:"Why this Scope?",errorMessage:(null===(m=F.validationErrors)||void 0===m?void 0:m.station)||(null===(f=F.validationErrors)||void 0===f?void 0:f.tiers),stationErrorMessage:null===(b=F.validationErrors)||void 0===b?void 0:b.station,tierErrorMessage:null===(S=F.validationErrors)||void 0===S?void 0:S.tiers,readOnly:ni("base-scope")}),(null===(y=z.citation)||void 0===y?void 0:y.scope)&&e.jsx("div",i.__assign({style:ti},{children:e.jsx(a.InputDataReasoningCard,{isVisible:U.scope,citation:z.citation.scope,citations:ei("scope"),fieldName:"Scope",fieldValue:(null===(C=null===(x=z.scopeData)||void 0===x?void 0:x.tiers)||void 0===C?void 0:C.join(", "))||""})}))]})),J.afterScope&&e.jsx("div",i.__assign({className:"custom-slot"},{children:J.afterScope})),e.jsxs("div",i.__assign({className:"template-section"},{children:[e.jsx(n.TextSection,{id:"base-description",title:F.descriptionLabel||"Description",fieldName:F.descriptionLabel||"Description",rows:3,placeholder:"Explain the behaviour or learning",required:!0,value:z.description||"",onChange:k.onDescriptionChange,readOnly:ni("base-description"),isOpen:U.description,onToggle:function(){return ii("description")},isHighlighted:(null===(A=F.highlights)||void 0===A?void 0:A.get("description"))||!1,showCognitiveIcon:!!(null===(_=z.citation)||void 0===_?void 0:_.description),tooltipDescription:"Why this ".concat(F.descriptionLabel||"Description","?"),errorMessage:null===(j=F.validationErrors)||void 0===j?void 0:j.description,enableInlineEdit:!0,setSendMessageInChat:F.setSendMessageInChat,activeEditId:null!==(T=F.activeEditId)&&void 0!==T?T:null,setActiveEditId:F.setActiveEditId,pendingEditId:null!==(N=F.pendingEditId)&&void 0!==N?N:null,setPendingEditId:F.setPendingEditId}),(null===(w=z.citation)||void 0===w?void 0:w.description)&&e.jsx("div",i.__assign({style:ti},{children:e.jsx(a.InputDataReasoningCard,{isVisible:U.description,citation:z.citation.description,citations:ei("description"),fieldName:F.descriptionLabel||"Description",fieldValue:z.description||""})}))]})),J.afterDescription&&e.jsx("div",i.__assign({className:"custom-slot"},{children:J.afterDescription})),e.jsx("div",i.__assign({className:"template-section"},{children:e.jsx(s.ConditionSection,{id:"condition-wta-base",idPrefix:"condition-wta",title:F.whenToApplyLabel||"When to apply",required:!0,dividerRequired:!0,readOnly:ni("condition-wta"),conditions:z.whenToApplyConditions||[],onAdd:k.onAddWhenToApply,onRemove:function(i,e,t){return k.onRemoveWhenToApply(t)},onEdit:function(i,e,t,n){return k.onEditWhenToApply(t,n)},isHighlighted:(null===(W=F.highlights)||void 0===W?void 0:W.get("wta"))||!1,highlightedIds:F.highlightedIds,tooltipDescription:"Why this Condition?",citations:ei("whenToApply"),bordered:!0,addLabel:"Add ".concat(F.whenToApplyLabel||"When to apply"),isAiStreaming:F.isAiStreaming,errorMessage:(null===(D=F.validationErrors)||void 0===D?void 0:D.whenToApply)||F.conflictReason,index:0,tierKey:"base",activeEditId:null!==(L=F.activeEditId)&&void 0!==L?L:null,setActiveEditId:F.setActiveEditId,pendingEditId:null!==(O=F.pendingEditId)&&void 0!==O?O:null,setPendingEditId:F.setPendingEditId,setSendMessageInChat:F.setSendMessageInChat})})),J.afterWhenToApply&&e.jsx("div",i.__assign({className:"custom-slot"},{children:J.afterWhenToApply})),e.jsx("div",i.__assign({className:"template-section"},{children:e.jsx(s.ConditionSection,{id:"condition-wnta-base",idPrefix:"condition-wnta",title:F.whenNotToApplyLabel||"When NOT to apply",required:!1,dividerRequired:!0,readOnly:ni("condition-wnta"),conditions:z.whenNotToApplyConditions||[],onAdd:k.onAddWhenNotToApply,onRemove:function(i,e,t){return k.onRemoveWhenToApply(t)},onEdit:function(i,e,t,n){return k.onEditWhenNotToApply(t,n)},isHighlighted:(null===(M=F.highlights)||void 0===M?void 0:M.get("wnta"))||!1,highlightedIds:F.highlightedIds,tooltipDescription:"Why this Condition?",citations:ei("whenNotToApply"),bordered:!0,addLabel:"Add ".concat(F.whenNotToApplyLabel||"When NOT to apply"),isAiStreaming:F.isAiStreaming,errorMessage:null===(q=F.validationErrors)||void 0===q?void 0:q.whenNotToApply,index:0,tierKey:"base",activeEditId:null!==(P=F.activeEditId)&&void 0!==P?P:null,setActiveEditId:F.setActiveEditId,pendingEditId:null!==(R=F.pendingEditId)&&void 0!==R?R:null,setPendingEditId:F.setPendingEditId,setSendMessageInChat:F.setSendMessageInChat})})),J.afterWhenNotToApply&&e.jsx("div",i.__assign({className:"custom-slot"},{children:J.afterWhenNotToApply})),F.showConfiguration&&e.jsxs("div",i.__assign({className:"template-section"},{children:[e.jsx(d.ConfigSection,{id:"base-config",title:F.configLabel||"Configuration",required:!1,highlights:(null===(V=F.highlights)||void 0===V?void 0:V.get("config"))||{},bordered:!0,readOnly:ni("base-config"),onConfigChange:function(i,e){var t;return null===(t=k.onConfigChange)||void 0===t?void 0:t.call(k,i,e)},separationItems:F.separationItems||[],toggles:F.toggles||[],index:0,openSections:Z,setOpenSections:$,activeEditId:null!==(H=F.activeEditId)&&void 0!==H?H:null,setActiveEditId:F.setActiveEditId,pendingEditId:null!==(B=F.pendingEditId)&&void 0!==B?B:null,setPendingEditId:F.setPendingEditId,isAiStreaming:F.isAiStreaming,setSendMessageInChat:F.setSendMessageInChat}),(null===(K=z.citation)||void 0===K?void 0:K.config)&&e.jsx("div",i.__assign({style:ti},{children:e.jsx(a.InputDataReasoningCard,{isVisible:U.config,citation:z.citation.config,citations:ei("config"),fieldName:F.configLabel||"Configuration",fieldValue:"Proposed Configuration"})}))]})),J.bottom&&e.jsx("div",i.__assign({className:"custom-slot-bottom"},{children:J.bottom}))]}))};
2
- //# sourceMappingURL=BaseTemplate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseTemplate.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),t=require("react"),i=require("lucide-react");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=s(t),o=0,a=function(){return"cond-".concat(Date.now(),"-").concat(++o)},l="#CBD5E1",d="#9B8AFB",c="#7C3AED",g="#FDA29B",u="#344054",p="#1E293B",x="#334155",f="#64748B",h="#94A3B8",_="#98A2B3",y="#F04438",m="#8F2C23",b="#5925DC",j="#475569",v="#FFFFFF",w="#F8FAFC",C="#F1F5F9",F="#F9F5FF",k="#17B26A",S="#F04438",z="#64748B",D="6px",E="8px",A="Inter, sans-serif",B={width:38,height:38,display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid #D0D5DD",borderRadius:D,cursor:"pointer",background:v,flexShrink:0,transition:"background 0.15s"},R={width:"100%",boxSizing:"border-box",padding:"8px 11.5px",border:"1px solid #D0D5DD",borderRadius:D,fontSize:14,fontWeight:400,lineHeight:"100%",fontFamily:A,outline:"none",color:u,background:v},T={display:"flex",alignItems:"center",gap:4,marginBottom:8,color:u,fontSize:14,fontWeight:500,lineHeight:"130%",fontFamily:A},I={background:v,border:"1px solid ".concat(l),borderRadius:E,padding:16},W=n.jsx("span",e.__assign({style:{color:m,fontSize:12,lineHeight:1,display:"inline-flex",transform:"translateY(0.5px)"}},{children:"*"})),H={exact_match:{label:"Exact Match",bg:"#F0FDF4",border:"#BBF7D0",text:"#166534",dot:"#22C55E"},conflict:{label:"Conflict",bg:"#FEF2F2",border:"#FECACA",text:"#991B1B",dot:"#EF4444"},partial_overlap:{label:"Partial Match",bg:"#FFF7ED",border:"#FED7AA",text:"#92400E",dot:"#F97316"},new_field:{label:"New",bg:"#F5F3FF",border:"#DDD6FE",text:"#5925DC",dot:"#7C3AED"}},L=function(e){return e?Array.isArray(e)?e.filter(Boolean).join("\n"):e:""},M=function(e,n){if(!n&&!e)return"exact_match";if(!n)return"new_field";if(!e)return"new_field";var t=function(e){return e.trim().toLowerCase()};if(t(e)===t(n))return"exact_match";var i=new Set(t(e).split(/\s+/)),s=new Set(t(n).split(/\s+/));return Array.from(i).filter(function(e){return s.has(e)}).length/Math.max(i.size,s.size)>=.45?"partial_overlap":"conflict"},N=function(t){var i=t.relation,s=H[i];return n.jsxs("div",e.__assign({style:{display:"inline-flex",alignItems:"center",gap:4,padding:"3px 9px",borderRadius:20,background:s.bg,border:"1px solid ".concat(s.border),fontSize:10,fontWeight:600,color:s.text,fontFamily:A,whiteSpace:"nowrap",flexShrink:0}},{children:[n.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:s.dot,flexShrink:0}}),s.label]}))},O=r.default.forwardRef(function(t,i){var s=t.label,r=t.value;return n.jsxs("div",e.__assign({ref:i,style:{display:"flex",flexDirection:"column"}},{children:[n.jsx("p",e.__assign({style:{margin:"0 0 5px 0",fontSize:12,color:f,fontFamily:A}},{children:s})),n.jsx("div",e.__assign({style:{flex:1,padding:"9px 12px",borderRadius:E,background:"#FFF3F2",border:"1px solid ".concat("#FECACA"),fontSize:13,lineHeight:"150%",color:r?p:h,fontFamily:A,fontStyle:r?"normal":"italic",wordBreak:"break-word",whiteSpace:"pre-wrap",minHeight:37}},{children:r||"—"}))]}))});O.displayName="FieldCell";var q=function(s){var r=s.formData,o=s.existingData,a=s.onClose,d=s.visible,c=r.whenToApply.map(function(e){return e.text}).filter(Boolean).join("\n"),g=r.whenNotToApply.map(function(e){return e.text}).filter(Boolean).join("\n"),u=L(o.whenToApply),f=L(o.whenNotToApply),h=t.useMemo(function(){return[{label:"Title",proposed:r.name,existing:o.name||"",relation:M(r.name,o.name||"")},{label:"Description",proposed:r.description,existing:o.description||"",relation:M(r.description,o.description||"")},{label:"When to apply",proposed:c,existing:u,relation:M(c,u)},{label:"When NOT to Apply",proposed:g,existing:f,relation:g?M(g,f):f?"new_field":"exact_match"}]},[r.name,r.description,c,g,o.name,o.description,u,f]),_=h.reduce(function(e,n){return e[n.relation]=(e[n.relation]||0)+1,e},{}),y=t.useRef(null),m=t.useRef([]),j=t.useRef([]),w=t.useState([]),C=w[0],F=w[1];m.current=[],j.current=[];var k=t.useCallback(function(){if(y.current){var e=y.current.getBoundingClientRect(),n=[];h.forEach(function(t,i){var s=m.current[i],r=j.current[i];if(s&&r){s.style.height="auto",r.style.height="auto";var o=s.getBoundingClientRect(),a=r.getBoundingClientRect(),l=Math.max(o.height,a.height);s.style.height="".concat(l,"px"),r.style.height="".concat(l,"px");var d=s.getBoundingClientRect(),c=r.getBoundingClientRect(),g=d.top+d.height/2-e.top;n.push({x1:d.right-e.left,y1:g,x2:c.left-e.left,y2:g,relation:t.relation})}}),F(n)}},[h]);return t.useEffect(function(){var e=setTimeout(k,150);window.addEventListener("resize",k);var n=null;return y.current&&(n=new ResizeObserver(function(){window.requestAnimationFrame(function(){return k()})})).observe(y.current),function(){clearTimeout(e),window.removeEventListener("resize",k),n&&n.disconnect()}},[k,d]),n.jsxs(n.Fragment,{children:[n.jsx("div",{onClick:a,style:{position:"absolute",inset:0,background:"rgba(15,23,42,0.18)",zIndex:10,opacity:d?1:0,transition:"opacity 0.25s ease",pointerEvents:d?"auto":"none"}}),n.jsxs("div",e.__assign({style:{position:"absolute",inset:0,background:v,zIndex:11,display:"flex",flexDirection:"column",transform:d?"translateX(0)":"translateX(100%)",transition:"transform 0.28s cubic-bezier(0.4,0,0.2,1)",borderRadius:E,overflow:"hidden"}},{children:[n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 16px",borderBottom:"1px solid ".concat(l),flexShrink:0,background:v}},{children:[n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:10}},{children:[n.jsx("button",e.__assign({type:"button",onClick:a,style:e.__assign(e.__assign({},B),{width:32,height:32,border:"1px solid ".concat(l),borderRadius:D})},{children:n.jsx(i.ArrowLeft,{size:15,color:x})})),n.jsx("span",e.__assign({style:{fontSize:15,fontWeight:600,color:p,fontFamily:A,letterSpacing:"-0.01em"}},{children:"Category Comparison"}))]})),n.jsx("div",e.__assign({style:{display:"flex",alignItems:"center",gap:6,flexWrap:"wrap"}},{children:Object.entries(_).map(function(t){var i=t[0],s=t[1];return n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:4,padding:"3px 10px",borderRadius:20,background:H[i].bg,border:"1px solid ".concat(H[i].border),fontSize:11,fontWeight:600,color:H[i].text,fontFamily:A}},{children:[n.jsx("span",{style:{width:5,height:5,borderRadius:"50%",background:H[i].dot}}),s," ",H[i].label]}),i)})}))]})),n.jsx("div",e.__assign({style:{flex:1,overflowY:"auto",padding:16}},{children:n.jsxs("div",e.__assign({ref:y,style:{display:"grid",gridTemplateColumns:"1fr 140px 1fr",alignItems:"start",gap:"0",position:"relative"}},{children:[n.jsx("svg",e.__assign({style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:10}},{children:C.map(function(t,i){var s=(t.x1+t.x2)/2,r=t.y1,o=H[t.relation];return n.jsxs("g",{children:[n.jsx("line",{x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,stroke:o.border,strokeWidth:"1.5"}),n.jsx("foreignObject",e.__assign({x:s-70,y:r-14,width:"140",height:"28"},{children:n.jsx("div",e.__assign({style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}},{children:n.jsx(N,{relation:t.relation})}))}))]},i)})})),n.jsxs("div",e.__assign({style:{border:"1.5px dashed #CBD5E1",borderRadius:10,padding:14,display:"flex",flexDirection:"column",gap:14}},{children:[n.jsx("p",e.__assign({style:{margin:"0 0 2px 0",fontSize:13,fontWeight:600,color:p,fontFamily:A}},{children:"Category You're Creating"})),h.map(function(e,t){return n.jsx(O,{ref:function(e){m.current[t]=e},label:e.label,value:e.proposed},t)})]})),n.jsx("div",{}),n.jsxs("div",e.__assign({style:{border:"1.5px dashed #CBD5E1",borderRadius:10,padding:14,display:"flex",flexDirection:"column",gap:14}},{children:[n.jsxs("p",e.__assign({style:{margin:"0 0 2px 0",fontSize:13,fontWeight:600,color:b,fontFamily:A,display:"flex",alignItems:"center",gap:5}},{children:[n.jsx(i.Sparkles,{size:13,color:b}),"Existing Category"]})),h.map(function(e,t){return n.jsx(O,{ref:function(e){j.current[t]=e},label:e.label,value:e.existing},t)})]}))]}))}))]}))]})},K=function(t){var s=t.condition,r=t.index,o=t.isEditing,a=t.editText,c=t.onEditStart,p=t.onEditChange,x=t.onEditSave,f=t.onEditCancel,_=t.onRemove,y=t.readOnly,m=t.onBlurContainer,b={width:40,height:38,flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",background:w,borderRight:"1px solid #D0D5DD",color:j,fontSize:14,fontFamily:A};return o?n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:12},onBlur:m},{children:[n.jsxs("div",e.__assign({style:{display:"flex",flex:1,alignItems:"center",background:v,border:"1px solid ".concat(d),borderRadius:E,overflow:"hidden"}},{children:[n.jsx("div",e.__assign({style:b},{children:r+1})),n.jsx("input",{type:"text",value:a,onChange:function(e){return p(e.target.value)},autoFocus:!0,onKeyDown:function(e){"Enter"===e.key&&a.trim()?x():"Escape"===e.key&&f()},style:{flex:1,padding:"8px 11.5px",fontSize:14,fontFamily:A,color:u,border:"none",outline:"none",background:"transparent"}})]})),n.jsx("button",e.__assign({type:"button",disabled:!a.trim(),onClick:x,style:e.__assign(e.__assign({},B),{borderRadius:E,opacity:a.trim()?1:.5,cursor:a.trim()?"pointer":"not-allowed",background:a.trim()?v:w})},{children:n.jsx(i.Check,{size:18,color:k})})),n.jsx("button",e.__assign({type:"button",onClick:f,style:e.__assign(e.__assign({},B),{borderRadius:E})},{children:n.jsx(i.X,{size:18,color:S})}))]})):n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:12}},{children:[n.jsxs("div",e.__assign({style:{display:"flex",flex:1,alignItems:"center",background:v,border:"1px solid #D0D5DD",borderRadius:E,overflow:"hidden",height:38}},{children:[n.jsx("div",e.__assign({style:e.__assign(e.__assign({},b),{height:"100%"})},{children:r+1})),n.jsx("div",e.__assign({style:{flex:1,padding:"0 11.5px",fontSize:14,fontFamily:A,display:"flex",alignItems:"center",height:"100%"}},{children:s.text?n.jsx("span",e.__assign({style:{color:u}},{children:s.text})):n.jsx("span",e.__assign({style:{color:h}},{children:"Enter condition"}))}))]})),!y&&n.jsxs(n.Fragment,{children:[n.jsx("button",e.__assign({type:"button",onClick:c,style:e.__assign(e.__assign({},B),{border:"1px solid ".concat(l),borderRadius:E})},{children:n.jsx(i.Pencil,{size:16,color:z})})),n.jsx("button",e.__assign({type:"button",onClick:_,style:e.__assign(e.__assign({},B),{border:"1px solid ".concat(g),borderRadius:E})},{children:n.jsx(i.Trash2,{size:16,color:S})}))]})]}))},P=function(t){var s=t.title,r=t.required,o=t.isExpanded,a=t.setIsExpanded,d=t.conditions,c=t.prefix,g=t.editingCondKey,p=t.editingCondText,x=t.setEditingCondKey,_=t.setEditingCondText,m=t.onAdd,j=t.onUpdate,v=t.onRemove,w=t.addLabel,C=t.readOnly,F=t.errorMessage,k=t.style,S=d.length>0;return n.jsxs("div",e.__assign({style:e.__assign({border:"1px solid ".concat(l),borderRadius:E,padding:16},k)},{children:[n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:8,cursor:S?"pointer":"default",userSelect:"none"},onClick:function(){S&&a(function(e){return!e})}},{children:[n.jsxs("label",e.__assign({style:e.__assign(e.__assign({},T),{marginBottom:0,cursor:S?"pointer":"default"})},{children:[r&&W,n.jsx("span",{children:s})]})),n.jsx("button",e.__assign({type:"button",style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",transform:o?"rotate(0deg)":"rotate(180deg)",transition:"transform 0.2s"}},{children:n.jsx(i.ChevronUp,{size:20,color:S?u:h})}))]})),o&&n.jsxs(n.Fragment,{children:[0===d.length&&n.jsx("p",e.__assign({style:{color:f,fontSize:14,fontStyle:"italic",fontWeight:300,fontFamily:A,margin:"0 0 12px 0"}},{children:"No conditions applied"})),n.jsx("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:12,marginBottom:12}},{children:d.map(function(e,t){var i="".concat(c,"_").concat(e.id);return n.jsx(K,{condition:e,index:t,isEditing:g===i,editText:p,onEditStart:function(){x(i),_(e.text)},onEditChange:_,onEditSave:function(){p.trim()&&(j(e.id,p),x(null))},onEditCancel:function(){e.text?x(null):v(e.id)},onRemove:function(){return v(e.id)},readOnly:C,onBlurContainer:function(n){return function(e,n,t){if(!e.currentTarget.contains(e.relatedTarget)){var i="".concat(c,"_").concat(n);p.trim()||t?p.trim()&&j(n,p):v(n),g===i&&x(null)}}(n,e.id,e.text)}},e.id)})})),!C&&n.jsxs("button",e.__assign({type:"button",onClick:m,style:{display:"flex",alignItems:"center",gap:7,color:b,fontSize:14,fontWeight:500,fontFamily:A,background:"none",border:"none",cursor:"pointer",padding:0}},{children:[n.jsx(i.Plus,{size:16}),w]})),F&&n.jsx("p",e.__assign({style:{marginTop:8,color:y,fontSize:12,fontFamily:A,margin:"8px 0 0 0"}},{children:F}))]})]}))},U=function(s){var r=s.state,o=s.handlers,d=s.uiState,m=r.formData,w=r.nameLabel,H=void 0===w?"Category Name":w,L=r.namePlaceholder,M=void 0===L?"Enter category name":L,N=o.setFormData,O=d.readOnly,K=void 0!==O&&O,U=d.isAiStreaming,X=void 0!==U&&U;d.setActiveEditId,d.setSendMessageInChat;var Y=d.validationErrors,V=void 0===Y?{}:Y,Z=d.addExampleBtnRef,G=d.comparisonData,J=void 0===G?null:G,Q=d.onComparisonClose,$=t.useState(null),ee=$[0],ne=$[1],te=t.useState(""),ie=te[0],se=te[1],re=t.useState(null),oe=re[0],ae=re[1],le=t.useState(""),de=le[0],ce=le[1],ge=t.useState(!0),ue=ge[0],pe=ge[1],xe=t.useState(!0),fe=xe[0],he=xe[1],_e=t.useState(null),ye=_e[0],me=_e[1],be=t.useState(""),je=be[0],ve=be[1],we=t.useState(""),Ce=we[0],Fe=we[1],ke=t.useState([]),Se=ke[0],ze=ke[1],De=t.useState(!1),Ee=De[0],Ae=De[1],Be=t.useRef(null),Re=t.useState(!1),Te=Re[0],Ie=Re[1],We=t.useRef(X);t.useEffect(function(){J?requestAnimationFrame(function(){return Ae(!0)}):Ae(!1)},[J]),t.useEffect(function(){We.current&&!X&&Te&&Ie(!1),We.current=X},[X,Te]);var He=K,Le=t.useCallback(function(n,t){return N(function(i){var s;return e.__assign(e.__assign({},i),((s={})[n]=t,s))})},[N]),Me=function(n){var t=a();N(function(i){var s;return e.__assign(e.__assign({},i),((s={})[n]=e.__spreadArray(e.__spreadArray([],i[n],!0),[{id:t,text:""}],!1),s))}),ae("".concat("whenToApply"===n?"wta":"wnta","_").concat(t)),ce(""),"whenToApply"!==n||ue||pe(!0),"whenNotToApply"!==n||fe||he(!0)},Ne=function(n,t,i){return N(function(s){var r;return e.__assign(e.__assign({},s),((r={})[n]=s[n].map(function(n){return n.id===t?e.__assign(e.__assign({},n),{text:i}):n}),r))})},Oe=function(n,t){return N(function(i){var s;return e.__assign(e.__assign({},i),((s={})[n]=i[n].filter(function(e){return e.id!==t}),s))})},qe=function(n){return ze(function(t){return t.includes(n)?t.filter(function(e){return e!==n}):e.__spreadArray(e.__spreadArray([],t,!0),[n],!1)})},Ke=t.useCallback(function(){var n=a();N(function(t){return e.__assign(e.__assign({},t),{occurrences:e.__spreadArray(e.__spreadArray([],t.occurrences||[],!0),[{id:n,title:"",description:""}],!1)})}),me(n),ve(""),Fe(""),ze(function(t){return e.__spreadArray(e.__spreadArray([],t,!0),[n],!1)})},[N]),Pe=t.useCallback(function(){Ae(!1),setTimeout(function(){null==Q||Q()},280)},[Q]),Ue=function(t){return n.jsxs("button",e.__assign({ref:t?void 0:Z,type:"button",disabled:t,onClick:Ke,style:{display:"flex",alignItems:"center",gap:7,padding:"7px 10.5px",background:"none",border:"none",cursor:t?"not-allowed":"pointer",opacity:t?.5:1,transition:"opacity 0.15s"}},{children:[n.jsx(i.Plus,{size:14,color:b}),n.jsx("span",e.__assign({style:{color:b,fontSize:14,fontWeight:500,fontFamily:A}},{children:"Add example"}))]}))};return n.jsxs("div",e.__assign({style:{flex:1,overflowY:"auto",position:"relative"}},{children:[J&&n.jsx(q,{formData:m,existingData:J,onClose:Pe,visible:Ee}),Te&&X&&n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",color:"#141414",fontSize:13,fontWeight:500,fontStyle:"italic",marginBottom:12,paddingLeft:4,fontFamily:A}},{children:[n.jsx(i.Loader2Icon,{size:16,style:{marginRight:8,animation:"spin 1s linear infinite"}}),"Updating category details..."]})),n.jsxs("div",e.__assign({style:e.__assign(e.__assign({},I),{marginBottom:12})},{children:[n.jsxs("div",e.__assign({style:{marginBottom:12}},{children:[n.jsxs("label",e.__assign({style:T},{children:[W,n.jsx("span",{children:H})]})),He&&"name"!==ee?n.jsx("div",e.__assign({style:{display:"flex",alignItems:"center",gap:12}},{children:n.jsx("div",e.__assign({style:{flex:1,padding:"10px 14px",border:"1px solid #D0D5DD",borderRadius:D,fontSize:14,background:v,minHeight:42,display:"flex",alignItems:"center"}},{children:m.name?n.jsx("span",e.__assign({style:{color:u}},{children:m.name})):n.jsx("span",e.__assign({style:{color:_}},{children:M}))}))})):He&&"name"===ee?n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:12}},{children:[n.jsx("input",{type:"text",value:ie,onChange:function(e){return se(e.target.value)},autoFocus:!0,onKeyDown:function(e){"Enter"===e.key?(Le("name",ie),ne(null)):"Escape"===e.key&&ne(null)},placeholder:M,style:e.__assign(e.__assign({},R),{flex:1,width:"auto",border:"1px solid ".concat(c)})}),n.jsx("button",e.__assign({type:"button",onClick:function(){Le("name",ie),ne(null)},style:B},{children:n.jsx(i.Check,{size:18,color:k})})),n.jsx("button",e.__assign({type:"button",onClick:function(){return ne(null)},style:B},{children:n.jsx(i.X,{size:18,color:S})}))]})):n.jsx("input",{type:"text",value:m.name,onChange:function(e){return Le("name",e.target.value)},placeholder:M,disabled:X,style:e.__assign(e.__assign({},R),{opacity:X?.6:1,cursor:X?"not-allowed":"text"})}),(null==V?void 0:V.name)&&n.jsx("p",e.__assign({style:{marginTop:4,color:y,fontSize:12,fontFamily:A,margin:"4px 0 0 0"}},{children:V.name}))]})),n.jsxs("div",e.__assign({style:{marginBottom:12}},{children:[n.jsxs("label",e.__assign({style:T},{children:[W,n.jsx("span",{children:"Category Description"})]})),He&&"description"!==ee?n.jsx("div",e.__assign({style:{display:"flex",alignItems:"flex-start",gap:12}},{children:n.jsx("div",e.__assign({style:{flex:1,padding:"12px 14px",border:"1px solid #D0D5DD",borderRadius:D,fontSize:14,background:v,minHeight:80}},{children:m.description?n.jsx("span",e.__assign({style:{color:u,whiteSpace:"pre-wrap"}},{children:m.description})):n.jsx("span",e.__assign({style:{color:_}},{children:"Describe when this category should be applied"}))}))})):He&&"description"===ee?n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"flex-start",gap:12}},{children:[n.jsx("textarea",{value:ie,onChange:function(e){return se(e.target.value)},autoFocus:!0,onKeyDown:function(e){"Escape"===e.key&&ne(null)},placeholder:"Enter Description",rows:4,style:e.__assign(e.__assign({},R),{flex:1,width:"auto",border:"1px solid ".concat(c),resize:"none",lineHeight:"140%"})}),n.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:8}},{children:[n.jsx("button",e.__assign({type:"button",onClick:function(){Le("description",ie),ne(null)},style:B},{children:n.jsx(i.Check,{size:18,color:k})})),n.jsx("button",e.__assign({type:"button",onClick:function(){return ne(null)},style:B},{children:n.jsx(i.X,{size:18,color:S})}))]}))]})):n.jsx("textarea",{value:m.description,onChange:function(e){return Le("description",e.target.value)},placeholder:"Describe when this category should be applied.",disabled:X,style:e.__assign(e.__assign({},R),{height:60,paddingTop:7,paddingBottom:10.5,border:"1px solid ".concat(l),lineHeight:"140%",resize:"none",boxShadow:"0 1px 2px 0 rgba(18,18,23,0.05)",opacity:X?.6:1,cursor:X?"not-allowed":"text"})}),(null==V?void 0:V.description)&&n.jsx("p",e.__assign({style:{marginTop:4,color:y,fontSize:12,fontFamily:A,margin:"4px 0 0 0"}},{children:V.description}))]})),n.jsx(P,{title:"When to Apply",required:!0,isExpanded:ue,setIsExpanded:pe,conditions:m.whenToApply,prefix:"wta",editingCondKey:oe,editingCondText:de,setEditingCondKey:ae,setEditingCondText:ce,onAdd:function(){return Me("whenToApply")},onUpdate:function(e,n){return Ne("whenToApply",e,n)},onRemove:function(e){return Oe("whenToApply",e)},addLabel:"Add When to Apply",readOnly:X||K,errorMessage:null==V?void 0:V.whenToApply,style:{marginBottom:12}}),n.jsx(P,{title:"When NOT to Apply",required:!1,isExpanded:fe,setIsExpanded:he,conditions:m.whenNotToApply,prefix:"wnta",editingCondKey:oe,editingCondText:de,setEditingCondKey:ae,setEditingCondText:ce,onAdd:function(){return Me("whenNotToApply")},onUpdate:function(e,n){return Ne("whenNotToApply",e,n)},onRemove:function(e){return Oe("whenNotToApply",e)},addLabel:"Add When NOT to Apply",readOnly:X||K,errorMessage:null==V?void 0:V.whenNotToApply})]})),n.jsxs("div",e.__assign({style:e.__assign(e.__assign({},I),{marginTop:12})},{children:[n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:12}},{children:[n.jsxs("div",{children:[n.jsxs("h4",e.__assign({style:{color:p,fontSize:14,fontWeight:500,lineHeight:"120%",letterSpacing:"0.02em",fontFamily:A,margin:"0 0 4px 0"}},{children:["Example (",(m.occurrences||[]).length,")"]})),n.jsx("p",e.__assign({style:{color:f,fontSize:12,fontWeight:300,lineHeight:"120%",letterSpacing:"0.02em",fontFamily:A,margin:0}},{children:"Add real examples to help the system understand this category"}))]}),(m.occurrences||[]).length>0&&!K&&Ue(null!==ye||X)]})),0===(m.occurrences||[]).length?n.jsxs("div",e.__assign({style:{border:"1px solid ".concat(l),borderRadius:E,background:v,padding:"24px 12px 12px",minHeight:181,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center"}},{children:[n.jsx("div",e.__assign({style:{marginBottom:16}},{children:n.jsxs("svg",e.__assign({xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 56 56",fill:"none"},{children:[n.jsx("rect",{x:"4",y:"4",width:"48",height:"48",rx:"24",fill:"#F1F5F9"}),n.jsx("rect",{x:"4",y:"4",width:"48",height:"48",rx:"24",stroke:"#F8FAFC",strokeWidth:"8"}),n.jsx("rect",{width:"24",height:"24",transform:"translate(16 16)",fill:"#F1F5F9"}),n.jsx("path",{d:"M25 19.5V18M21.0607 21.0607L20 20M21.0607 29L20 30.0607M29 21.0607L30.0607 20M19.5 25H18M31.8645 32.1896L29.3727 36.817C29.0881 37.3457 28.9457 37.61 28.7745 37.6769C28.6259 37.7349 28.4585 37.7185 28.324 37.6328C28.1689 37.534 28.0806 37.2471 27.9038 36.6733L24.4452 25.4453C24.3008 24.9765 24.2286 24.7421 24.2867 24.5838C24.3373 24.446 24.446 24.3373 24.5838 24.2867C24.7421 24.2286 24.9765 24.3008 25.4452 24.4452L36.6732 27.9038C37.247 28.0806 37.5339 28.169 37.6327 28.324C37.7185 28.4586 37.7348 28.6259 37.6768 28.7745C37.61 28.9458 37.3456 29.0881 36.817 29.3728L32.1896 31.8645C32.111 31.9068 32.0717 31.9279 32.0374 31.9551C32.0068 31.9792 31.9792 32.0068 31.9551 32.0374C31.9279 32.0717 31.9068 32.111 31.8645 32.1896Z",stroke:"#475569",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}))})),n.jsx("p",e.__assign({style:{color:x,fontSize:12,fontWeight:500,lineHeight:"120%",fontFamily:A,margin:"0 0 8px 0"}},{children:"No example added yet"})),n.jsx("p",e.__assign({style:{color:f,fontSize:14,fontWeight:300,lineHeight:"140%",fontFamily:A,margin:"0 0 8px 0",maxWidth:530}},{children:"Add an example to show how this category is used, or generate one using chat."})),!K&&Ue(null!==ye||X)]})):n.jsx("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:12}},{children:(m.occurrences||[]).map(function(t,s){var r=Se.includes(t.id);return ye===t.id?n.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:12,border:"1px solid ".concat(l),borderRadius:E,background:v,padding:16,boxShadow:"0 1px 3px rgba(0,0,0,0.07)"}},{children:[n.jsxs("div",{children:[n.jsx("label",e.__assign({style:e.__assign(e.__assign({},T),{marginBottom:8})},{children:n.jsx("span",e.__assign({style:{color:x}},{children:"Title/Subject"}))})),n.jsx("input",{type:"text",value:je,onChange:function(e){return ve(e.target.value)},placeholder:"e.g., Follow-up on client feedback from last meeting",style:e.__assign(e.__assign({},R),{border:"1px solid ".concat(l),lineHeight:"140%"})})]}),n.jsxs("div",{children:[n.jsxs("label",e.__assign({style:{display:"flex",alignItems:"center",gap:4,marginBottom:8}},{children:[n.jsx("span",e.__assign({style:{color:x,fontSize:14,fontWeight:500,fontFamily:A}},{children:"Message body"})),W]})),n.jsx("textarea",{ref:function(e){e&&ye===t.id&&!Be.current&&(Be.current=e),e&&(e.style.height="auto",e.style.height="".concat(e.scrollHeight,"px"))},value:Ce,onChange:function(e){Fe(e.target.value),e.target.style.height="auto",e.target.style.height="".concat(e.target.scrollHeight,"px")},placeholder:"e.g., Hi, here's the latest update on the project. Let us know if you have any questions.",rows:1,style:e.__assign(e.__assign({},R),{border:"1px solid ".concat(l),overflow:"hidden",minHeight:60,lineHeight:"140%",resize:"none"})})]}),n.jsxs("div",e.__assign({style:{display:"flex",justifyContent:"flex-end",gap:12,marginTop:4}},{children:[n.jsx("button",e.__assign({type:"button",onClick:function(){t.title||t.description||N(function(n){return e.__assign(e.__assign({},n),{occurrences:(n.occurrences||[]).filter(function(e){return e.id!==t.id})})}),me(null),Be.current=null},style:{padding:"6px 12px",color:j,fontSize:14,fontWeight:500,lineHeight:"140%",fontFamily:A,background:"none",border:"none",cursor:"pointer",borderRadius:D}},{children:"Cancel"})),n.jsx("button",e.__assign({type:"button",disabled:!Ce.trim(),onClick:function(){var n;Ce.trim()&&(n=t.id,N(function(t){return e.__assign(e.__assign({},t),{occurrences:t.occurrences.map(function(t){return t.id===n?e.__assign(e.__assign({},t),{title:je,description:Ce}):t})})}),me(null),Be.current=null,ze(function(e){return e.filter(function(e){return e!==t.id})}))},style:{padding:"6px 12px",borderRadius:D,fontSize:14,fontWeight:500,lineHeight:"140%",fontFamily:A,cursor:Ce.trim()?"pointer":"not-allowed",background:Ce.trim()?F:v,border:"1px solid ".concat(Ce.trim()?F:"#E2E8F0"),color:Ce.trim()?b:h,transition:"background 0.15s"}},{children:"Save"}))]}))]}),t.id):n.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",border:"1px solid #E2E8F0",borderRadius:E,background:v,overflow:"hidden",boxShadow:"0 1px 3px rgba(0,0,0,0.07)"}},{children:[n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:12,padding:12}},{children:[n.jsx("div",e.__assign({style:{width:20,height:20,flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",background:C,borderRadius:D,color:j,fontSize:10,fontWeight:500,fontFamily:A}},{children:s+1})),n.jsx("div",e.__assign({style:{flex:1,fontSize:15,fontWeight:500,lineHeight:"140%",fontFamily:A,color:x,wordBreak:"break-word"}},{children:t.title||n.jsx("span",e.__assign({style:{color:h,fontWeight:400,fontSize:14}},{children:"Untitled example"}))})),n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:8,flexShrink:0}},{children:[!K&&n.jsxs(n.Fragment,{children:[n.jsx("button",e.__assign({type:"button",disabled:null!==ye||X,onClick:function(){me(t.id),ve(t.title),Fe(t.description),r||qe(t.id)},style:e.__assign(e.__assign({},B),{width:36,height:36,border:"1px solid #E2E8F0",borderRadius:D,opacity:null!==ye||X?.5:1,cursor:null!==ye||X?"not-allowed":"pointer"})},{children:n.jsx(i.Pencil,{size:16,color:z})})),n.jsx("button",e.__assign({type:"button",disabled:null!==ye||X,onClick:function(){return N(function(n){return e.__assign(e.__assign({},n),{occurrences:(n.occurrences||[]).filter(function(e){return e.id!==t.id})})})},style:e.__assign(e.__assign({},B),{width:36,height:36,border:"1px solid ".concat(g),borderRadius:D,opacity:null!==ye||X?.5:1,cursor:null!==ye||X?"not-allowed":"pointer"})},{children:n.jsx(i.Trash2,{size:16,color:S})}))]}),n.jsx("button",e.__assign({type:"button",onClick:function(){return qe(t.id)},style:e.__assign(e.__assign({},B),{width:36,height:36,border:"none",background:"transparent"})},{children:r?n.jsx(i.ChevronUp,{size:20,color:z}):n.jsx(i.ChevronDown,{size:20,color:z})}))]}))]})),r&&n.jsxs("div",e.__assign({style:{display:"flex",flexDirection:"column",padding:"4px 12px 16px"}},{children:[n.jsxs("div",e.__assign({style:{marginBottom:12}},{children:[n.jsx("p",e.__assign({style:{color:f,fontSize:13,lineHeight:"140%",fontFamily:A,margin:"0 0 4px 0"}},{children:"Title/Subject:"})),n.jsx("p",e.__assign({style:{color:p,fontSize:14,fontWeight:300,lineHeight:"150%",fontFamily:A,whiteSpace:"pre-wrap",wordBreak:"break-word",margin:0}},{children:t.title||n.jsx("span",e.__assign({style:{color:h,fontStyle:"italic"}},{children:"—"}))}))]})),n.jsxs("div",{children:[n.jsx("p",e.__assign({style:{color:f,fontSize:13,lineHeight:"140%",fontFamily:A,margin:"0 0 4px 0"}},{children:"Message body:"})),n.jsx("p",e.__assign({style:{color:p,fontSize:14,fontWeight:300,lineHeight:"150%",fontFamily:A,whiteSpace:"pre-wrap",wordBreak:"break-word",margin:0}},{children:t.description}))]})]}))]}),t.id)})}))]}))]}))};exports.CreateCategory=U,exports.default=U;
2
- //# sourceMappingURL=CreateCategory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateCategory.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),t=require("../../../../../schema-driven/BPARenderer.js"),i=require("../../../../LearningManagement/store/useLMSConfigStore.js"),n=function(n){var o,a,s=n.state,l=n.handlers,u=n.uiState,d=i.useTeachMeConfigStore(function(e){var r;return null===(r=e.teachMeConfig)||void 0===r?void 0:r.learningMetadataComponents}),v=null!==(a=null===(o=null==d?void 0:d.teachMe)||void 0===o?void 0:o.properties)&&void 0!==a?a:null==d?void 0:d.properties;if(!v)return null;var c=v;return r.jsx("div",e.__assign({style:{display:"flex",flexDirection:"column",gap:12,width:"100%",boxSizing:"border-box"}},{children:r.jsx(t.BPARenderer,{properties:c,uiState:u,state:s,handlers:l})}))};exports.SchemaDrivenCreateRule=n,exports.default=n;
2
- //# sourceMappingURL=SchemaDrivenCreateRule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SchemaDrivenCreateRule.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),e=require("react/jsx-runtime"),n=require("react"),t=require("../../organisms/ConditionSection/ConditionSection.js"),o=require("../../organisms/TextSection/TextSection.js");exports.WorkflowComposer=function(l){var r,d,s,u=l.state,a=l.handlers,p=l.uiState,g=(null==p?void 0:p.highlights)||{},h=n.useState({}),c=h[0],v=h[1],y=function(e){v(function(n){var t;return i.__assign(i.__assign({},n),((t={})[e]=!n[e],t))})},T=function(i){var e,n=null===(e=u.fieldCitations)||void 0===e?void 0:e[i];return Array.isArray(n)&&n.length>0?n:u.citations};return e.jsx("div",i.__assign({className:"simple-guideline-template"},{children:e.jsxs("div",i.__assign({style:{display:"flex",flexDirection:"column",gap:"20px"}},{children:[e.jsx(o.TextSection,i.__assign({id:"guideline-title",title:"Guideline Title",rows:1,placeholder:"Enter a short, descriptive title for the guideline",required:!0,value:u.guidelineTitle,onChange:a.setGuidelineTitle,readOnly:null==p?void 0:p.isAiStreaming,isOpen:c.guidelineTitle,onToggle:function(){return y("guidelineTitle")},isHighlighted:g.guidelineTitle||!1,tooltipDescription:"Why this Title?",errorMessage:null===(r=null==p?void 0:p.validationErrors)||void 0===r?void 0:r.guidelineTitle},p)),e.jsx(o.TextSection,i.__assign({id:"guideline-description",title:"Guideline Description",rows:4,placeholder:"Describe what this guideline enforces or ensures",required:!0,value:u.guidelineDescription,onChange:a.setGuidelineDescription,readOnly:null==p?void 0:p.isAiStreaming,isOpen:c.guidelineDescription,onToggle:function(){return y("guidelineDescription")},isHighlighted:g.guidelineDescription||!1,tooltipDescription:"Why this Description?",errorMessage:null===(d=null==p?void 0:p.validationErrors)||void 0===d?void 0:d.guidelineDescription},p)),e.jsx(t.ConditionSection,i.__assign({id:"when-to-apply",title:"When to apply",required:!0,dividerRequired:!0,readOnly:null==p?void 0:p.isAiStreaming,conditions:u.whenToApplyConditions||[],onAdd:function(){return a.addWhenToApply()},onRemove:function(i,e,n){return a.removeWhenToApply(n)},onEdit:function(i,e,n,t){return a.editWhenToApply(n,t)},index:0,tierKey:"default",isHighlighted:g.wta||!1,highlightedIds:null==p?void 0:p.highlightedIds,tooltipDescription:"Why this Condition?",citations:T("whenToApply"),bordered:!0,addLabel:"Add When to apply",isAiStreaming:null==p?void 0:p.isAiStreaming,errorMessage:null===(s=null==p?void 0:p.validationErrors)||void 0===s?void 0:s.whenToApply},p)),e.jsx(t.ConditionSection,i.__assign({id:"when-not-to-apply",title:"When NOT to apply",required:!1,dividerRequired:!0,readOnly:null==p?void 0:p.isAiStreaming,conditions:u.whenNotToApplyConditions||[],onAdd:function(){return a.addWhenNotToApply()},onRemove:function(i,e,n){return a.removeWhenNotToApply(n)},onEdit:function(i,e,n,t){return a.editWhenNotToApply(n,t)},index:0,tierKey:"default",isHighlighted:g.wnta||!1,highlightedIds:null==p?void 0:p.highlightedIds,tooltipDescription:"Why this Condition?",citations:T("whenNotToApply"),bordered:!0,addLabel:"Add When NOT to apply",isAiStreaming:null==p?void 0:p.isAiStreaming},p))]}))}))};
2
- //# sourceMappingURL=WorkflowComposer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WorkflowComposer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("react");exports.default="data:image/svg+xml,%3Csvg%20width%3D%22160%22%20height%3D%22153%22%20viewBox%3D%220%200%20160%20153%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M79.2744%20143.735C116.627%20143.735%20146.909%20113.508%20146.909%2076.223C146.909%2038.9359%20116.627%208.71106%2079.2744%208.71106C41.9192%208.71106%2011.6367%2038.9359%2011.6367%2076.223C11.6367%20113.508%2041.9192%20143.735%2079.2744%20143.735Z%22%20fill%3D%22%23F8FAFC%22%2F%3E%3Cpath%20d%3D%22M116.902%2030.8984H43.3269C38.7417%2030.8984%2035.0234%2034.7993%2035.0234%2039.6097H125.205C125.205%2034.7993%20121.489%2030.8984%20116.902%2030.8984Z%22%20fill%3D%22%23D0D9E4%22%2F%3E%3Cpath%20d%3D%22M35.0234%2039.6094H125.205V109.239C125.205%20112.335%20123.994%20115.304%20121.834%20117.494C119.674%20119.684%20116.745%20120.914%20113.692%20120.914H46.5394C43.4834%20120.914%2040.555%20119.684%2038.3973%20117.494C36.2372%20115.304%2035.0234%20112.335%2035.0234%20109.239V39.6094Z%22%20fill%3D%22%23F1F5F9%22%2F%3E%3Cpath%20d%3D%22M125.155%2039.6592V109.239C125.155%20112.322%20123.949%20115.279%20121.798%20117.459C119.647%20119.639%20116.731%20120.864%20113.691%20120.864H46.5391C43.4967%20120.864%2040.5809%20119.639%2038.4326%20117.459C36.2818%20115.279%2035.0732%20112.322%2035.0732%20109.239V39.6592H125.155Z%22%20stroke%3D%22%2364748B%22%20stroke-opacity%3D%220.1%22%20stroke-width%3D%220.1%22%2F%3E%3Cpath%20d%3D%22M70.571%2048.3203H48.9307C48.4799%2048.3203%2048.1133%2049.295%2048.1133%2050.4981C48.1133%2051.7012%2048.4799%2052.6759%2048.9307%2052.6759H70.571C71.0218%2052.6759%2071.386%2051.7012%2071.386%2050.4981C71.386%2049.295%2071.0218%2048.3203%2070.571%2048.3203Z%22%20fill%3D%22url%28%23paint0_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M70.571%2067.1953H48.9307C48.4799%2067.1953%2048.1133%2068.17%2048.1133%2069.3731C48.1133%2070.5762%2048.4799%2071.5509%2048.9307%2071.5509H70.571C71.0218%2071.5509%2071.386%2070.5762%2071.386%2069.3731C71.386%2068.17%2071.0218%2067.1953%2070.571%2067.1953Z%22%20fill%3D%22url%28%23paint1_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M70.571%2086.0703H48.9307C48.4799%2086.0703%2048.1133%2087.0468%2048.1133%2088.2493C48.1133%2089.4517%2048.4799%2090.4259%2048.9307%2090.4259H70.571C71.0218%2090.4259%2071.386%2089.4517%2071.386%2088.2493C71.386%2087.0468%2071.0218%2086.0703%2070.571%2086.0703Z%22%20fill%3D%22url%28%23paint2_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M70.571%20104.945H48.9307C48.4799%20104.945%2048.1133%20105.922%2048.1133%20107.124C48.1133%20108.327%2048.4799%20109.301%2048.9307%20109.301H70.571C71.0218%20109.301%2071.386%20108.327%2071.386%20107.124C71.386%20105.922%2071.0218%20104.945%2070.571%20104.945Z%22%20fill%3D%22url%28%23paint3_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M116.507%2048.3203H78.6367C77.8481%2048.3203%2077.207%2049.295%2077.207%2050.4981C77.207%2051.7012%2077.8481%2052.6759%2078.6367%2052.6759H116.507C117.296%2052.6759%20117.934%2051.7012%20117.934%2050.4981C117.934%2049.295%20117.296%2048.3203%20116.507%2048.3203Z%22%20fill%3D%22url%28%23paint4_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M116.507%2086.0703H78.6367C77.8481%2086.0703%2077.207%2087.045%2077.207%2088.2481C77.207%2089.4512%2077.8481%2090.4259%2078.6367%2090.4259H116.507C117.296%2090.4259%20117.934%2089.4512%20117.934%2088.2481C117.934%2087.045%20117.296%2086.0703%20116.507%2086.0703Z%22%20fill%3D%22url%28%23paint5_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M116.507%2067.1953H78.6367C77.8481%2067.1953%2077.207%2068.17%2077.207%2069.3731C77.207%2070.5762%2077.8481%2071.5509%2078.6367%2071.5509H116.507C117.296%2071.5509%20117.934%2070.5762%20117.934%2069.3731C117.934%2068.17%20117.296%2067.1953%20116.507%2067.1953Z%22%20fill%3D%22url%28%23paint6_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M116.507%20104.945H78.6367C77.8481%20104.945%2077.207%20105.92%2077.207%20107.123C77.207%20108.326%2077.8481%20109.301%2078.6367%20109.301H116.507C117.296%20109.301%20117.934%20108.326%20117.934%20107.123C117.934%20105.92%20117.296%20104.945%20116.507%20104.945Z%22%20fill%3D%22url%28%23paint7_linear_1020_82405%29%22%2F%3E%3CforeignObject%20x%3D%2270.7116%22%20y%3D%2260.6843%22%20width%3D%2279.8961%22%20height%3D%2279.81%22%3E%3Cdiv%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%20style%3D%22backdrop-filter%3Ablur%288.34px%29%3Bclip-path%3Aurl%28%23bgblur_0_1020_82405_clip_path%29%3Bheight%3A100%25%3Bwidth%3A100%25%22%3E%3C%2Fdiv%3E%3C%2FforeignObject%3E%3Cpath%20data-figma-bg-blur-radius%3D%2216.6751%22%20d%3D%22M110.659%20123.819C123.513%20123.819%20133.932%20113.419%20133.932%20100.589C133.932%2087.7597%20123.513%2077.3594%20110.659%2077.3594C97.8062%2077.3594%2087.3867%2087.7597%2087.3867%20100.589C87.3867%20113.419%2097.8062%20123.819%20110.659%20123.819Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M110.659%2085.3419C111.63%2085.3458%20112.413%2086.1299%20112.411%2087.0961L112.395%2098.2651L123.584%2098.2817C124.555%2098.2856%20125.338%2099.0696%20125.339%20100.038C125.335%20101.007%20124.55%20101.789%20123.579%20101.79L112.39%20101.773L112.373%20112.942C112.372%20113.908%20111.586%20114.69%20110.615%20114.691C109.645%20114.687%20108.862%20113.903%20108.861%20112.935L108.877%20101.766L97.6878%20101.749C96.7198%20101.748%2095.9366%20100.964%2095.9355%2099.9948C95.9395%2099.0261%2096.725%2098.2443%2097.693%2098.2458L108.883%2098.2623L108.899%2087.0934C108.903%2086.1247%20109.689%2085.3429%20110.659%2085.3419Z%22%20fill%3D%22%23CBD5E1%22%2F%3E%3Cdefs%3E%3CclipPath%20id%3D%22bgblur_0_1020_82405_clip_path%22%20transform%3D%22translate%28-70.7116%20-60.6843%29%22%3E%3Cpath%20d%3D%22M110.659%20123.819C123.513%20123.819%20133.932%20113.419%20133.932%20100.589C133.932%2087.7597%20123.513%2077.3594%20110.659%2077.3594C97.8062%2077.3594%2087.3867%2087.7597%2087.3867%20100.589C87.3867%20113.419%2097.8062%20123.819%20110.659%20123.819Z%22%2F%3E%3C%2FclipPath%3E%3ClinearGradient%20id%3D%22paint0_linear_1020_82405%22%20x1%3D%2247.1291%22%20y1%3D%2252.497%22%20x2%3D%2272.7628%22%20y2%3D%2252.497%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_1020_82405%22%20x1%3D%2247.1291%22%20y1%3D%2271.372%22%20x2%3D%2272.7628%22%20y2%3D%2271.372%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint2_linear_1020_82405%22%20x1%3D%2247.1291%22%20y1%3D%2290.247%22%20x2%3D%2272.7628%22%20y2%3D%2290.247%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint3_linear_1020_82405%22%20x1%3D%2247.1291%22%20y1%3D%22109.122%22%20x2%3D%2272.7628%22%20y2%3D%22109.122%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint4_linear_1020_82405%22%20x1%3D%2275.4847%22%20y1%3D%2252.497%22%20x2%3D%22120.344%22%20y2%3D%2252.497%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint5_linear_1020_82405%22%20x1%3D%2275.4847%22%20y1%3D%2290.247%22%20x2%3D%22120.344%22%20y2%3D%2290.247%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint6_linear_1020_82405%22%20x1%3D%2275.4847%22%20y1%3D%2271.372%22%20x2%3D%22120.344%22%20y2%3D%2271.372%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint7_linear_1020_82405%22%20x1%3D%2275.4847%22%20y1%3D%22109.122%22%20x2%3D%22120.344%22%20y2%3D%22109.122%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";
2
- //# sourceMappingURL=Search-result(add new).svg.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Search-result(add new).svg.js","sources":["../../../../../src/features/LearningManagement/assets/Search-result(add new).svg"],"sourcesContent":["export default \"data:image/svg+xml,%3Csvg%20width%3D%22160%22%20height%3D%22153%22%20viewBox%3D%220%200%20160%20153%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M79.2744%20143.735C116.627%20143.735%20146.909%20113.508%20146.909%2076.223C146.909%2038.9359%20116.627%208.71106%2079.2744%208.71106C41.9192%208.71106%2011.6367%2038.9359%2011.6367%2076.223C11.6367%20113.508%2041.9192%20143.735%2079.2744%20143.735Z%22%20fill%3D%22%23F8FAFC%22%2F%3E%3Cpath%20d%3D%22M116.902%2030.8984H43.3269C38.7417%2030.8984%2035.0234%2034.7993%2035.0234%2039.6097H125.205C125.205%2034.7993%20121.489%2030.8984%20116.902%2030.8984Z%22%20fill%3D%22%23D0D9E4%22%2F%3E%3Cpath%20d%3D%22M35.0234%2039.6094H125.205V109.239C125.205%20112.335%20123.994%20115.304%20121.834%20117.494C119.674%20119.684%20116.745%20120.914%20113.692%20120.914H46.5394C43.4834%20120.914%2040.555%20119.684%2038.3973%20117.494C36.2372%20115.304%2035.0234%20112.335%2035.0234%20109.239V39.6094Z%22%20fill%3D%22%23F1F5F9%22%2F%3E%3Cpath%20d%3D%22M125.155%2039.6592V109.239C125.155%20112.322%20123.949%20115.279%20121.798%20117.459C119.647%20119.639%20116.731%20120.864%20113.691%20120.864H46.5391C43.4967%20120.864%2040.5809%20119.639%2038.4326%20117.459C36.2818%20115.279%2035.0732%20112.322%2035.0732%20109.239V39.6592H125.155Z%22%20stroke%3D%22%2364748B%22%20stroke-opacity%3D%220.1%22%20stroke-width%3D%220.1%22%2F%3E%3Cpath%20d%3D%22M70.571%2048.3203H48.9307C48.4799%2048.3203%2048.1133%2049.295%2048.1133%2050.4981C48.1133%2051.7012%2048.4799%2052.6759%2048.9307%2052.6759H70.571C71.0218%2052.6759%2071.386%2051.7012%2071.386%2050.4981C71.386%2049.295%2071.0218%2048.3203%2070.571%2048.3203Z%22%20fill%3D%22url%28%23paint0_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M70.571%2067.1953H48.9307C48.4799%2067.1953%2048.1133%2068.17%2048.1133%2069.3731C48.1133%2070.5762%2048.4799%2071.5509%2048.9307%2071.5509H70.571C71.0218%2071.5509%2071.386%2070.5762%2071.386%2069.3731C71.386%2068.17%2071.0218%2067.1953%2070.571%2067.1953Z%22%20fill%3D%22url%28%23paint1_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M70.571%2086.0703H48.9307C48.4799%2086.0703%2048.1133%2087.0468%2048.1133%2088.2493C48.1133%2089.4517%2048.4799%2090.4259%2048.9307%2090.4259H70.571C71.0218%2090.4259%2071.386%2089.4517%2071.386%2088.2493C71.386%2087.0468%2071.0218%2086.0703%2070.571%2086.0703Z%22%20fill%3D%22url%28%23paint2_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M70.571%20104.945H48.9307C48.4799%20104.945%2048.1133%20105.922%2048.1133%20107.124C48.1133%20108.327%2048.4799%20109.301%2048.9307%20109.301H70.571C71.0218%20109.301%2071.386%20108.327%2071.386%20107.124C71.386%20105.922%2071.0218%20104.945%2070.571%20104.945Z%22%20fill%3D%22url%28%23paint3_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M116.507%2048.3203H78.6367C77.8481%2048.3203%2077.207%2049.295%2077.207%2050.4981C77.207%2051.7012%2077.8481%2052.6759%2078.6367%2052.6759H116.507C117.296%2052.6759%20117.934%2051.7012%20117.934%2050.4981C117.934%2049.295%20117.296%2048.3203%20116.507%2048.3203Z%22%20fill%3D%22url%28%23paint4_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M116.507%2086.0703H78.6367C77.8481%2086.0703%2077.207%2087.045%2077.207%2088.2481C77.207%2089.4512%2077.8481%2090.4259%2078.6367%2090.4259H116.507C117.296%2090.4259%20117.934%2089.4512%20117.934%2088.2481C117.934%2087.045%20117.296%2086.0703%20116.507%2086.0703Z%22%20fill%3D%22url%28%23paint5_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M116.507%2067.1953H78.6367C77.8481%2067.1953%2077.207%2068.17%2077.207%2069.3731C77.207%2070.5762%2077.8481%2071.5509%2078.6367%2071.5509H116.507C117.296%2071.5509%20117.934%2070.5762%20117.934%2069.3731C117.934%2068.17%20117.296%2067.1953%20116.507%2067.1953Z%22%20fill%3D%22url%28%23paint6_linear_1020_82405%29%22%2F%3E%3Cpath%20d%3D%22M116.507%20104.945H78.6367C77.8481%20104.945%2077.207%20105.92%2077.207%20107.123C77.207%20108.326%2077.8481%20109.301%2078.6367%20109.301H116.507C117.296%20109.301%20117.934%20108.326%20117.934%20107.123C117.934%20105.92%20117.296%20104.945%20116.507%20104.945Z%22%20fill%3D%22url%28%23paint7_linear_1020_82405%29%22%2F%3E%3CforeignObject%20x%3D%2270.7116%22%20y%3D%2260.6843%22%20width%3D%2279.8961%22%20height%3D%2279.81%22%3E%3Cdiv%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxhtml%22%20style%3D%22backdrop-filter%3Ablur%288.34px%29%3Bclip-path%3Aurl%28%23bgblur_0_1020_82405_clip_path%29%3Bheight%3A100%25%3Bwidth%3A100%25%22%3E%3C%2Fdiv%3E%3C%2FforeignObject%3E%3Cpath%20data-figma-bg-blur-radius%3D%2216.6751%22%20d%3D%22M110.659%20123.819C123.513%20123.819%20133.932%20113.419%20133.932%20100.589C133.932%2087.7597%20123.513%2077.3594%20110.659%2077.3594C97.8062%2077.3594%2087.3867%2087.7597%2087.3867%20100.589C87.3867%20113.419%2097.8062%20123.819%20110.659%20123.819Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M110.659%2085.3419C111.63%2085.3458%20112.413%2086.1299%20112.411%2087.0961L112.395%2098.2651L123.584%2098.2817C124.555%2098.2856%20125.338%2099.0696%20125.339%20100.038C125.335%20101.007%20124.55%20101.789%20123.579%20101.79L112.39%20101.773L112.373%20112.942C112.372%20113.908%20111.586%20114.69%20110.615%20114.691C109.645%20114.687%20108.862%20113.903%20108.861%20112.935L108.877%20101.766L97.6878%20101.749C96.7198%20101.748%2095.9366%20100.964%2095.9355%2099.9948C95.9395%2099.0261%2096.725%2098.2443%2097.693%2098.2458L108.883%2098.2623L108.899%2087.0934C108.903%2086.1247%20109.689%2085.3429%20110.659%2085.3419Z%22%20fill%3D%22%23CBD5E1%22%2F%3E%3Cdefs%3E%3CclipPath%20id%3D%22bgblur_0_1020_82405_clip_path%22%20transform%3D%22translate%28-70.7116%20-60.6843%29%22%3E%3Cpath%20d%3D%22M110.659%20123.819C123.513%20123.819%20133.932%20113.419%20133.932%20100.589C133.932%2087.7597%20123.513%2077.3594%20110.659%2077.3594C97.8062%2077.3594%2087.3867%2087.7597%2087.3867%20100.589C87.3867%20113.419%2097.8062%20123.819%20110.659%20123.819Z%22%2F%3E%3C%2FclipPath%3E%3ClinearGradient%20id%3D%22paint0_linear_1020_82405%22%20x1%3D%2247.1291%22%20y1%3D%2252.497%22%20x2%3D%2272.7628%22%20y2%3D%2252.497%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint1_linear_1020_82405%22%20x1%3D%2247.1291%22%20y1%3D%2271.372%22%20x2%3D%2272.7628%22%20y2%3D%2271.372%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint2_linear_1020_82405%22%20x1%3D%2247.1291%22%20y1%3D%2290.247%22%20x2%3D%2272.7628%22%20y2%3D%2290.247%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint3_linear_1020_82405%22%20x1%3D%2247.1291%22%20y1%3D%22109.122%22%20x2%3D%2272.7628%22%20y2%3D%22109.122%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint4_linear_1020_82405%22%20x1%3D%2275.4847%22%20y1%3D%2252.497%22%20x2%3D%22120.344%22%20y2%3D%2252.497%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint5_linear_1020_82405%22%20x1%3D%2275.4847%22%20y1%3D%2290.247%22%20x2%3D%22120.344%22%20y2%3D%2290.247%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint6_linear_1020_82405%22%20x1%3D%2275.4847%22%20y1%3D%2271.372%22%20x2%3D%22120.344%22%20y2%3D%2271.372%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3ClinearGradient%20id%3D%22paint7_linear_1020_82405%22%20x1%3D%2275.4847%22%20y1%3D%22109.122%22%20x2%3D%22120.344%22%20y2%3D%22109.122%22%20gradientUnits%3D%22userSpaceOnUse%22%3E%3Cstop%20stop-color%3D%22%23CBD5E1%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23F8F9FB%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E\""],"names":[],"mappings":"qGA0Ke"}
@@ -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 r=n.isOpen,t=n.onClose,d=n.onSubmit,c=n.title,u=n.description,o=n.inputLabel,_=n.submitLabel,f=n.placeholder,m=void 0===f?"":f,v=n.initialValue,g=void 0===v?"":v,h=n.isLoading,x=void 0!==h&&h,j=a.useState(""),p=j[0],b=j[1],N=a.useState(null),C=N[0],q=N[1];if(a.useEffect(function(){r&&(b(g),q(null))},[r,g]),!r)return null;return 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:c})),u&&s.jsx("p",e.__assign({className:i.default.description},{children:u}))]})),s.jsx("button",e.__assign({onClick:t,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){var s=e.target.value;if(s.length>50)return b(s.slice(0,50)),void q("Maximum 50 characters allowed");b(s),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:t,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,a,l;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,d(p)];case 2:return e.sent(),t(),[3,4];case 3:return s=e.sent(),console.error("Error in submission",s),409===(null==s?void 0:s.status)?(q(null===(l=null===(a=null==s?void 0:s.response)||void 0===a?void 0:a.data)||void 0===l?void 0:l.message),[2]):(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..."]}):_}))]}))]}))}))};
2
- //# sourceMappingURL=CreateLearningSetModal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateLearningSetModal.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}