@e-llm-studio/instant-learning 1.3.0-alpha.277 → 1.3.0-alpha.279

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 (1018) hide show
  1. package/dist/cjs/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.js +1 -1
  2. package/dist/cjs/features/IL-marketplace/services/IL-marketplace.api.js +1 -1
  3. package/dist/cjs/features/LearningManagement/components/CreateLearningSetModal.js +1 -1
  4. package/dist/cjs/features/LearningManagement/components/InstantLearningModal.js +1 -1
  5. package/dist/cjs/features/LearningManagement/components/InstantLearningModalDynamic.js +1 -1
  6. package/dist/cjs/features/LearningManagement/styles/CreateLearningSetModal.module.css.js +1 -1
  7. package/dist/cjs/plugins/ValueTypes/Default/DefaultTeachMeRenderer.js +1 -1
  8. package/dist/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.js +1 -1
  9. package/dist/features/IL-marketplace/services/IL-marketplace.api.js +1 -1
  10. package/dist/features/LearningManagement/components/CreateLearningSetModal.js +1 -1
  11. package/dist/features/LearningManagement/components/InstantLearningModal.js +1 -1
  12. package/dist/features/LearningManagement/components/InstantLearningModalDynamic.js +1 -1
  13. package/dist/plugins/ValueTypes/Default/DefaultTeachMeRenderer.js +1 -1
  14. package/dist/types/src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.d.ts.map +1 -1
  15. package/dist/types/src/features/IL-marketplace/services/IL-marketplace.api.d.ts +17 -0
  16. package/dist/types/src/features/IL-marketplace/services/IL-marketplace.api.d.ts.map +1 -1
  17. package/dist/types/src/features/LearningManagement/components/InstantLearningModal.d.ts +2 -0
  18. package/dist/types/src/features/LearningManagement/components/InstantLearningModal.d.ts.map +1 -1
  19. package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts +2 -0
  20. package/dist/types/src/features/LearningManagement/components/InstantLearningModalDynamic.d.ts.map +1 -1
  21. package/dist/types/src/plugins/ValueTypes/Default/DefaultTeachMeRenderer.d.ts.map +1 -1
  22. package/package.json +1 -1
  23. package/dist/6fbbe065ef78c384.gif +0 -0
  24. package/dist/cjs/6fbbe065ef78c384.gif +0 -0
  25. package/dist/cjs/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js +0 -2
  26. package/dist/cjs/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js.map +0 -1
  27. package/dist/cjs/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js +0 -2
  28. package/dist/cjs/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js.map +0 -1
  29. package/dist/cjs/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js +0 -2
  30. package/dist/cjs/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js.map +0 -1
  31. package/dist/cjs/features/LSCGuidelinesCart/Cart/Cart.js +0 -2
  32. package/dist/cjs/features/LSCGuidelinesCart/Cart/Cart.js.map +0 -1
  33. package/dist/cjs/features/LSCGuidelinesCart/Cart/Cart.styles.js +0 -2
  34. package/dist/cjs/features/LSCGuidelinesCart/Cart/Cart.styles.js.map +0 -1
  35. package/dist/cjs/features/LSCGuidelinesCart/GuidelineCard.js +0 -2
  36. package/dist/cjs/features/LSCGuidelinesCart/GuidelineCard.js.map +0 -1
  37. package/dist/cjs/features/LSCGuidelinesCart/GuidelineCard.styles.js +0 -2
  38. package/dist/cjs/features/LSCGuidelinesCart/GuidelineCard.styles.js.map +0 -1
  39. package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.js +0 -2
  40. package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.js.map +0 -1
  41. package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js +0 -2
  42. package/dist/cjs/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js.map +0 -1
  43. package/dist/cjs/features/LSCGuidelinesCart/LearningManagementWrapper.js +0 -2
  44. package/dist/cjs/features/LSCGuidelinesCart/LearningManagementWrapper.js.map +0 -1
  45. package/dist/cjs/features/LSCGuidelinesCart/api.js +0 -2
  46. package/dist/cjs/features/LSCGuidelinesCart/api.js.map +0 -1
  47. package/dist/cjs/features/LSCGuidelinesCart/endpoints.js +0 -2
  48. package/dist/cjs/features/LSCGuidelinesCart/endpoints.js.map +0 -1
  49. package/dist/cjs/features/LSCGuidelinesCart/transformSelectedGuidelineData.js +0 -2
  50. package/dist/cjs/features/LSCGuidelinesCart/transformSelectedGuidelineData.js.map +0 -1
  51. package/dist/cjs/features/LearningManagement/public/ThinkingBulbIcon.gif.js +0 -2
  52. package/dist/cjs/features/LearningManagement/public/ThinkingBulbIcon.gif.js.map +0 -1
  53. package/dist/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js +0 -2
  54. package/dist/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.js.map +0 -1
  55. package/dist/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js +0 -2
  56. package/dist/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.js.map +0 -1
  57. package/dist/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js +0 -2
  58. package/dist/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js.map +0 -1
  59. package/dist/features/LSCGuidelinesCart/Cart/Cart.js +0 -2
  60. package/dist/features/LSCGuidelinesCart/Cart/Cart.js.map +0 -1
  61. package/dist/features/LSCGuidelinesCart/Cart/Cart.styles.js +0 -2
  62. package/dist/features/LSCGuidelinesCart/Cart/Cart.styles.js.map +0 -1
  63. package/dist/features/LSCGuidelinesCart/GuidelineCard.js +0 -2
  64. package/dist/features/LSCGuidelinesCart/GuidelineCard.js.map +0 -1
  65. package/dist/features/LSCGuidelinesCart/GuidelineCard.styles.js +0 -2
  66. package/dist/features/LSCGuidelinesCart/GuidelineCard.styles.js.map +0 -1
  67. package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.js +0 -2
  68. package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.js.map +0 -1
  69. package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js +0 -2
  70. package/dist/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.js.map +0 -1
  71. package/dist/features/LSCGuidelinesCart/LearningManagementWrapper.js +0 -2
  72. package/dist/features/LSCGuidelinesCart/LearningManagementWrapper.js.map +0 -1
  73. package/dist/features/LSCGuidelinesCart/api.js +0 -2
  74. package/dist/features/LSCGuidelinesCart/api.js.map +0 -1
  75. package/dist/features/LSCGuidelinesCart/endpoints.js +0 -2
  76. package/dist/features/LSCGuidelinesCart/endpoints.js.map +0 -1
  77. package/dist/features/LSCGuidelinesCart/transformSelectedGuidelineData.js +0 -2
  78. package/dist/features/LSCGuidelinesCart/transformSelectedGuidelineData.js.map +0 -1
  79. package/dist/features/LearningManagement/public/ThinkingBulbIcon.gif.js +0 -2
  80. package/dist/features/LearningManagement/public/ThinkingBulbIcon.gif.js.map +0 -1
  81. package/dist/types/AccordianHeadTest.d.ts +0 -3
  82. package/dist/types/AccordianHeadTest.d.ts.map +0 -1
  83. package/dist/types/App.d.ts +0 -4
  84. package/dist/types/App.d.ts.map +0 -1
  85. package/dist/types/CommonComponents/AccordianHead/AccordianHead.d.ts +0 -9
  86. package/dist/types/CommonComponents/AccordianHead/AccordianHead.d.ts.map +0 -1
  87. package/dist/types/CommonComponents/CustomDropdown.d.ts +0 -4
  88. package/dist/types/CommonComponents/CustomDropdown.d.ts.map +0 -1
  89. package/dist/types/CommonComponents/GradientSparkleIcon.d.ts +0 -6
  90. package/dist/types/CommonComponents/GradientSparkleIcon.d.ts.map +0 -1
  91. package/dist/types/CommonComponents/HelloWorld.d.ts +0 -3
  92. package/dist/types/CommonComponents/HelloWorld.d.ts.map +0 -1
  93. package/dist/types/CommonComponents/NoTableData.d.ts +0 -7
  94. package/dist/types/CommonComponents/NoTableData.d.ts.map +0 -1
  95. package/dist/types/CommonComponents/Spinner.d.ts +0 -5
  96. package/dist/types/CommonComponents/Spinner.d.ts.map +0 -1
  97. package/dist/types/CommonConstants/CommonConstants.d.ts +0 -5
  98. package/dist/types/CommonConstants/CommonConstants.d.ts.map +0 -1
  99. package/dist/types/ComponentRegistry.d.ts +0 -13
  100. package/dist/types/ComponentRegistry.d.ts.map +0 -1
  101. package/dist/types/ContinueWithTemplateModal.d.ts +0 -24
  102. package/dist/types/ContinueWithTemplateModal.d.ts.map +0 -1
  103. package/dist/types/CustomStylesProvider.d.ts +0 -6
  104. package/dist/types/CustomStylesProvider.d.ts.map +0 -1
  105. package/dist/types/CustomThemeProvider.d.ts +0 -7
  106. package/dist/types/CustomThemeProvider.d.ts.map +0 -1
  107. package/dist/types/GoogleFilePickerDemo.d.ts +0 -3
  108. package/dist/types/GoogleFilePickerDemo.d.ts.map +0 -1
  109. package/dist/types/ILMarketplaceMockTest.d.ts +0 -4
  110. package/dist/types/ILMarketplaceMockTest.d.ts.map +0 -1
  111. package/dist/types/ILMarketplaceWrapper.d.ts +0 -174
  112. package/dist/types/ILMarketplaceWrapper.d.ts.map +0 -1
  113. package/dist/types/PublishToMarketplaceTest.d.ts +0 -4
  114. package/dist/types/PublishToMarketplaceTest.d.ts.map +0 -1
  115. package/dist/types/api/transport.d.ts +0 -44
  116. package/dist/types/api/transport.d.ts.map +0 -1
  117. package/dist/types/context/DataSelectedContext.d.ts +0 -73
  118. package/dist/types/context/DataSelectedContext.d.ts.map +0 -1
  119. package/dist/types/features/DataSelector/DataSelector.d.ts +0 -18
  120. package/dist/types/features/DataSelector/DataSelector.d.ts.map +0 -1
  121. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +0 -4
  122. package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +0 -1
  123. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +0 -4
  124. package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +0 -1
  125. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +0 -4
  126. package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +0 -1
  127. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts +0 -4
  128. package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +0 -1
  129. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +0 -4
  130. package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +0 -1
  131. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts +0 -14
  132. package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +0 -1
  133. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts +0 -4
  134. package/dist/types/features/DataSelector/components/SelectedDataList.d.ts.map +0 -1
  135. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +0 -11
  136. package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +0 -1
  137. package/dist/types/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +0 -8
  138. package/dist/types/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +0 -1
  139. package/dist/types/features/DataSelector/tables/ShowSelectedDataTable.d.ts +0 -4
  140. package/dist/types/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +0 -1
  141. package/dist/types/features/DocumentLearning/DocumentLearning.d.ts +0 -21
  142. package/dist/types/features/DocumentLearning/DocumentLearning.d.ts.map +0 -1
  143. package/dist/types/features/DocumentLearning/_components/AudioWaveform.d.ts +0 -13
  144. package/dist/types/features/DocumentLearning/_components/AudioWaveform.d.ts.map +0 -1
  145. package/dist/types/features/DocumentLearning/_components/BookLearningForm.d.ts +0 -23
  146. package/dist/types/features/DocumentLearning/_components/BookLearningForm.d.ts.map +0 -1
  147. package/dist/types/features/DocumentLearning/_components/ChatComponent.d.ts +0 -61
  148. package/dist/types/features/DocumentLearning/_components/ChatComponent.d.ts.map +0 -1
  149. package/dist/types/features/DocumentLearning/_components/ConflictingLearningWarnCard.d.ts +0 -13
  150. package/dist/types/features/DocumentLearning/_components/ConflictingLearningWarnCard.d.ts.map +0 -1
  151. package/dist/types/features/DocumentLearning/_components/ConflictingLearningWarnCardDB.d.ts +0 -41
  152. package/dist/types/features/DocumentLearning/_components/ConflictingLearningWarnCardDB.d.ts.map +0 -1
  153. package/dist/types/features/DocumentLearning/_components/ContextualChatComponent.d.ts +0 -62
  154. package/dist/types/features/DocumentLearning/_components/ContextualChatComponent.d.ts.map +0 -1
  155. package/dist/types/features/DocumentLearning/_components/ContextualConflictDBCard.d.ts +0 -30
  156. package/dist/types/features/DocumentLearning/_components/ContextualConflictDBCard.d.ts.map +0 -1
  157. package/dist/types/features/DocumentLearning/_components/ContextualLearningForm.d.ts +0 -1
  158. package/dist/types/features/DocumentLearning/_components/ContextualLearningForm.d.ts.map +0 -1
  159. package/dist/types/features/DocumentLearning/_components/LearningDetailsForm.d.ts +0 -71
  160. package/dist/types/features/DocumentLearning/_components/LearningDetailsForm.d.ts.map +0 -1
  161. package/dist/types/features/DocumentLearning/_components/MessageRendering.d.ts +0 -10
  162. package/dist/types/features/DocumentLearning/_components/MessageRendering.d.ts.map +0 -1
  163. package/dist/types/features/DocumentLearning/_components/MinimizedThinkingSteps.d.ts +0 -4
  164. package/dist/types/features/DocumentLearning/_components/MinimizedThinkingSteps.d.ts.map +0 -1
  165. package/dist/types/features/DocumentLearning/_components/SimilarLearningCard.d.ts +0 -20
  166. package/dist/types/features/DocumentLearning/_components/SimilarLearningCard.d.ts.map +0 -1
  167. package/dist/types/features/DocumentLearning/_components/TemplateRetrievalForm.d.ts +0 -50
  168. package/dist/types/features/DocumentLearning/_components/TemplateRetrievalForm.d.ts.map +0 -1
  169. package/dist/types/features/DocumentLearning/_components/TooltipComponent.d.ts +0 -8
  170. package/dist/types/features/DocumentLearning/_components/TooltipComponent.d.ts.map +0 -1
  171. package/dist/types/features/DocumentLearning/_components/_svg/ArrowDown.d.ts +0 -4
  172. package/dist/types/features/DocumentLearning/_components/_svg/ArrowDown.d.ts.map +0 -1
  173. package/dist/types/features/DocumentLearning/_components/_svg/ArrowIconBlue.d.ts +0 -4
  174. package/dist/types/features/DocumentLearning/_components/_svg/ArrowIconBlue.d.ts.map +0 -1
  175. package/dist/types/features/DocumentLearning/_components/_svg/CompleteIconGreen.d.ts +0 -4
  176. package/dist/types/features/DocumentLearning/_components/_svg/CompleteIconGreen.d.ts.map +0 -1
  177. package/dist/types/features/DocumentLearning/_components/_svg/NewChatIcon.d.ts +0 -4
  178. package/dist/types/features/DocumentLearning/_components/_svg/NewChatIcon.d.ts.map +0 -1
  179. package/dist/types/features/IL-OTJ/ILOTJ.d.ts +0 -95
  180. package/dist/types/features/IL-OTJ/ILOTJ.d.ts.map +0 -1
  181. package/dist/types/features/IL-OTJ/ILOTJTest.d.ts +0 -609
  182. package/dist/types/features/IL-OTJ/ILOTJTest.d.ts.map +0 -1
  183. package/dist/types/features/IL-OTJ/ILOTJTriageAITest.d.ts +0 -12
  184. package/dist/types/features/IL-OTJ/ILOTJTriageAITest.d.ts.map +0 -1
  185. package/dist/types/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.d.ts +0 -102
  186. package/dist/types/features/IL-OTJ/ValueTypeWrappers/TeachMePlugin.d.ts.map +0 -1
  187. package/dist/types/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.d.ts +0 -33
  188. package/dist/types/features/IL-OTJ/ValueTypeWrappers/TeachMeWrapper.d.ts.map +0 -1
  189. package/dist/types/features/IL-OTJ/_components/AccordianSection.d.ts +0 -52
  190. package/dist/types/features/IL-OTJ/_components/AccordianSection.d.ts.map +0 -1
  191. package/dist/types/features/IL-OTJ/_components/AudioWaveform.d.ts +0 -13
  192. package/dist/types/features/IL-OTJ/_components/AudioWaveform.d.ts.map +0 -1
  193. package/dist/types/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts +0 -59
  194. package/dist/types/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts.map +0 -1
  195. package/dist/types/features/IL-OTJ/_components/ChatComponents/ChatHeader.d.ts +0 -12
  196. package/dist/types/features/IL-OTJ/_components/ChatComponents/ChatHeader.d.ts.map +0 -1
  197. package/dist/types/features/IL-OTJ/_components/ChatComponents/NormalChat.d.ts +0 -45
  198. package/dist/types/features/IL-OTJ/_components/ChatComponents/NormalChat.d.ts.map +0 -1
  199. package/dist/types/features/IL-OTJ/_components/ChatComponents/mockComparisonData.d.ts +0 -1503
  200. package/dist/types/features/IL-OTJ/_components/ChatComponents/mockComparisonData.d.ts.map +0 -1
  201. package/dist/types/features/IL-OTJ/_components/CitationLink.d.ts +0 -18
  202. package/dist/types/features/IL-OTJ/_components/CitationLink.d.ts.map +0 -1
  203. package/dist/types/features/IL-OTJ/_components/CognitiveDecisioningCard.d.ts +0 -11
  204. package/dist/types/features/IL-OTJ/_components/CognitiveDecisioningCard.d.ts.map +0 -1
  205. package/dist/types/features/IL-OTJ/_components/ConflictingReasoningCard.d.ts +0 -11
  206. package/dist/types/features/IL-OTJ/_components/ConflictingReasoningCard.d.ts.map +0 -1
  207. package/dist/types/features/IL-OTJ/_components/CriticalGaps.d.ts +0 -11
  208. package/dist/types/features/IL-OTJ/_components/CriticalGaps.d.ts.map +0 -1
  209. package/dist/types/features/IL-OTJ/_components/GapExplanationAccordion.d.ts +0 -10
  210. package/dist/types/features/IL-OTJ/_components/GapExplanationAccordion.d.ts.map +0 -1
  211. package/dist/types/features/IL-OTJ/_components/ILPopup.d.ts +0 -33
  212. package/dist/types/features/IL-OTJ/_components/ILPopup.d.ts.map +0 -1
  213. package/dist/types/features/IL-OTJ/_components/ILPopup.styles.d.ts +0 -2
  214. package/dist/types/features/IL-OTJ/_components/ILPopup.styles.d.ts.map +0 -1
  215. package/dist/types/features/IL-OTJ/_components/InputDataReasoningCard.d.ts +0 -11
  216. package/dist/types/features/IL-OTJ/_components/InputDataReasoningCard.d.ts.map +0 -1
  217. package/dist/types/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.d.ts +0 -33
  218. package/dist/types/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.d.ts.map +0 -1
  219. package/dist/types/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.d.ts +0 -26
  220. package/dist/types/features/IL-OTJ/_components/MarkdownComponents/MarkdownSelect.d.ts.map +0 -1
  221. package/dist/types/features/IL-OTJ/_components/MarkdownRenderer.d.ts +0 -25
  222. package/dist/types/features/IL-OTJ/_components/MarkdownRenderer.d.ts.map +0 -1
  223. package/dist/types/features/IL-OTJ/_components/MessageRendering/ChatFeedback.d.ts +0 -26
  224. package/dist/types/features/IL-OTJ/_components/MessageRendering/ChatFeedback.d.ts.map +0 -1
  225. package/dist/types/features/IL-OTJ/_components/MessageRendering/ClickableChatComponents.d.ts +0 -8
  226. package/dist/types/features/IL-OTJ/_components/MessageRendering/ClickableChatComponents.d.ts.map +0 -1
  227. package/dist/types/features/IL-OTJ/_components/MessageRendering/MessageRendering.d.ts +0 -35
  228. package/dist/types/features/IL-OTJ/_components/MessageRendering/MessageRendering.d.ts.map +0 -1
  229. package/dist/types/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.d.ts +0 -24
  230. package/dist/types/features/IL-OTJ/_components/MessageRendering/RuleValidationCard.d.ts.map +0 -1
  231. package/dist/types/features/IL-OTJ/_components/MessageRendering/RuleVariantCard.d.ts +0 -17
  232. package/dist/types/features/IL-OTJ/_components/MessageRendering/RuleVariantCard.d.ts.map +0 -1
  233. package/dist/types/features/IL-OTJ/_components/MinimizedThinkingSteps.d.ts +0 -4
  234. package/dist/types/features/IL-OTJ/_components/MinimizedThinkingSteps.d.ts.map +0 -1
  235. package/dist/types/features/IL-OTJ/_components/NewMinimizedThinkingSteps.d.ts +0 -7
  236. package/dist/types/features/IL-OTJ/_components/NewMinimizedThinkingSteps.d.ts.map +0 -1
  237. package/dist/types/features/IL-OTJ/_components/TooltipComponent.d.ts +0 -8
  238. package/dist/types/features/IL-OTJ/_components/TooltipComponent.d.ts.map +0 -1
  239. package/dist/types/features/IL-OTJ/_components/VariantLoadingOverlay.d.ts +0 -9
  240. package/dist/types/features/IL-OTJ/_components/VariantLoadingOverlay.d.ts.map +0 -1
  241. package/dist/types/features/IL-OTJ/_components/ViewFormUpdateCard.d.ts +0 -3
  242. package/dist/types/features/IL-OTJ/_components/ViewFormUpdateCard.d.ts.map +0 -1
  243. package/dist/types/features/IL-OTJ/_components/ViewIdentifiedFieldsCard.d.ts +0 -3
  244. package/dist/types/features/IL-OTJ/_components/ViewIdentifiedFieldsCard.d.ts.map +0 -1
  245. package/dist/types/features/IL-OTJ/_components/WatchMeWork/AgentStepsView.d.ts +0 -16
  246. package/dist/types/features/IL-OTJ/_components/WatchMeWork/AgentStepsView.d.ts.map +0 -1
  247. package/dist/types/features/IL-OTJ/_components/WatchMeWork/StepDetailView.d.ts +0 -11
  248. package/dist/types/features/IL-OTJ/_components/WatchMeWork/StepDetailView.d.ts.map +0 -1
  249. package/dist/types/features/IL-OTJ/_components/WatchMeWork/Thinkingstepshelper.d.ts +0 -43
  250. package/dist/types/features/IL-OTJ/_components/WatchMeWork/Thinkingstepshelper.d.ts.map +0 -1
  251. package/dist/types/features/IL-OTJ/_components/WatchMeWork/Usethinkingsteps.d.ts +0 -27
  252. package/dist/types/features/IL-OTJ/_components/WatchMeWork/Usethinkingsteps.d.ts.map +0 -1
  253. package/dist/types/features/IL-OTJ/_components/WatchMeWork/WorkingIndicator.d.ts +0 -7
  254. package/dist/types/features/IL-OTJ/_components/WatchMeWork/WorkingIndicator.d.ts.map +0 -1
  255. package/dist/types/features/IL-OTJ/_components/_svg/ArrowDown.d.ts +0 -4
  256. package/dist/types/features/IL-OTJ/_components/_svg/ArrowDown.d.ts.map +0 -1
  257. package/dist/types/features/IL-OTJ/_components/_svg/ArrowIconBlue.d.ts +0 -4
  258. package/dist/types/features/IL-OTJ/_components/_svg/ArrowIconBlue.d.ts.map +0 -1
  259. package/dist/types/features/IL-OTJ/_components/_svg/BookIcon.d.ts +0 -4
  260. package/dist/types/features/IL-OTJ/_components/_svg/BookIcon.d.ts.map +0 -1
  261. package/dist/types/features/IL-OTJ/_components/_svg/ButtonCognitiveIcon.d.ts +0 -7
  262. package/dist/types/features/IL-OTJ/_components/_svg/ButtonCognitiveIcon.d.ts.map +0 -1
  263. package/dist/types/features/IL-OTJ/_components/_svg/ChevronDown.d.ts +0 -4
  264. package/dist/types/features/IL-OTJ/_components/_svg/ChevronDown.d.ts.map +0 -1
  265. package/dist/types/features/IL-OTJ/_components/_svg/ChevronIcon.d.ts +0 -7
  266. package/dist/types/features/IL-OTJ/_components/_svg/ChevronIcon.d.ts.map +0 -1
  267. package/dist/types/features/IL-OTJ/_components/_svg/ChevronUp.d.ts +0 -4
  268. package/dist/types/features/IL-OTJ/_components/_svg/ChevronUp.d.ts.map +0 -1
  269. package/dist/types/features/IL-OTJ/_components/_svg/CitationLinkSparkleIcon.d.ts +0 -10
  270. package/dist/types/features/IL-OTJ/_components/_svg/CitationLinkSparkleIcon.d.ts.map +0 -1
  271. package/dist/types/features/IL-OTJ/_components/_svg/CognitiveDecisioning.d.ts +0 -4
  272. package/dist/types/features/IL-OTJ/_components/_svg/CognitiveDecisioning.d.ts.map +0 -1
  273. package/dist/types/features/IL-OTJ/_components/_svg/CompleteIconGreen.d.ts +0 -4
  274. package/dist/types/features/IL-OTJ/_components/_svg/CompleteIconGreen.d.ts.map +0 -1
  275. package/dist/types/features/IL-OTJ/_components/_svg/EditPencilIcon.d.ts +0 -7
  276. package/dist/types/features/IL-OTJ/_components/_svg/EditPencilIcon.d.ts.map +0 -1
  277. package/dist/types/features/IL-OTJ/_components/_svg/GapIcon.d.ts +0 -10
  278. package/dist/types/features/IL-OTJ/_components/_svg/GapIcon.d.ts.map +0 -1
  279. package/dist/types/features/IL-OTJ/_components/_svg/HumanWithBrainIcon.d.ts +0 -9
  280. package/dist/types/features/IL-OTJ/_components/_svg/HumanWithBrainIcon.d.ts.map +0 -1
  281. package/dist/types/features/IL-OTJ/_components/_svg/InfoIcon.d.ts +0 -4
  282. package/dist/types/features/IL-OTJ/_components/_svg/InfoIcon.d.ts.map +0 -1
  283. package/dist/types/features/IL-OTJ/_components/_svg/LeftAndRightArrow.d.ts +0 -4
  284. package/dist/types/features/IL-OTJ/_components/_svg/LeftAndRightArrow.d.ts.map +0 -1
  285. package/dist/types/features/IL-OTJ/_components/_svg/Lightbulb.d.ts +0 -10
  286. package/dist/types/features/IL-OTJ/_components/_svg/Lightbulb.d.ts.map +0 -1
  287. package/dist/types/features/IL-OTJ/_components/_svg/NewChatIcon.d.ts +0 -10
  288. package/dist/types/features/IL-OTJ/_components/_svg/NewChatIcon.d.ts.map +0 -1
  289. package/dist/types/features/IL-OTJ/_components/_svg/PencilEdit.d.ts +0 -9
  290. package/dist/types/features/IL-OTJ/_components/_svg/PencilEdit.d.ts.map +0 -1
  291. package/dist/types/features/IL-OTJ/_components/_svg/RadioButton.d.ts +0 -10
  292. package/dist/types/features/IL-OTJ/_components/_svg/RadioButton.d.ts.map +0 -1
  293. package/dist/types/features/IL-OTJ/_components/_svg/RightSideIcons.d.ts +0 -10
  294. package/dist/types/features/IL-OTJ/_components/_svg/RightSideIcons.d.ts.map +0 -1
  295. package/dist/types/features/IL-OTJ/_components/_svg/ScrollToBottom.d.ts +0 -3
  296. package/dist/types/features/IL-OTJ/_components/_svg/ScrollToBottom.d.ts.map +0 -1
  297. package/dist/types/features/IL-OTJ/_components/_svg/SendButton.d.ts +0 -3
  298. package/dist/types/features/IL-OTJ/_components/_svg/SendButton.d.ts.map +0 -1
  299. package/dist/types/features/IL-OTJ/_components/_svg/SparkleIcon.d.ts +0 -4
  300. package/dist/types/features/IL-OTJ/_components/_svg/SparkleIcon.d.ts.map +0 -1
  301. package/dist/types/features/IL-OTJ/_components/_svg/TickIcon.d.ts +0 -10
  302. package/dist/types/features/IL-OTJ/_components/_svg/TickIcon.d.ts.map +0 -1
  303. package/dist/types/features/IL-OTJ/_components/_svg/UserIcon.d.ts +0 -3
  304. package/dist/types/features/IL-OTJ/_components/_svg/UserIcon.d.ts.map +0 -1
  305. package/dist/types/features/IL-OTJ/_components/_svg/WarningIcon.d.ts +0 -4
  306. package/dist/types/features/IL-OTJ/_components/_svg/WarningIcon.d.ts.map +0 -1
  307. package/dist/types/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.d.ts +0 -4
  308. package/dist/types/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.d.ts.map +0 -1
  309. package/dist/types/features/IL-OTJ/_components/atoms/Button/Button.d.ts +0 -7
  310. package/dist/types/features/IL-OTJ/_components/atoms/Button/Button.d.ts.map +0 -1
  311. package/dist/types/features/IL-OTJ/_components/atoms/Button/index.d.ts +0 -2
  312. package/dist/types/features/IL-OTJ/_components/atoms/Button/index.d.ts.map +0 -1
  313. package/dist/types/features/IL-OTJ/_components/atoms/Dropdown/Dropdown.d.ts +0 -15
  314. package/dist/types/features/IL-OTJ/_components/atoms/Dropdown/Dropdown.d.ts.map +0 -1
  315. package/dist/types/features/IL-OTJ/_components/atoms/Dropdown/index.d.ts +0 -2
  316. package/dist/types/features/IL-OTJ/_components/atoms/Dropdown/index.d.ts.map +0 -1
  317. package/dist/types/features/IL-OTJ/_components/atoms/SkeletonLoader/SkeletonLoader.d.ts +0 -11
  318. package/dist/types/features/IL-OTJ/_components/atoms/SkeletonLoader/SkeletonLoader.d.ts.map +0 -1
  319. package/dist/types/features/IL-OTJ/_components/atoms/Textarea/Textarea.d.ts +0 -27
  320. package/dist/types/features/IL-OTJ/_components/atoms/Textarea/Textarea.d.ts.map +0 -1
  321. package/dist/types/features/IL-OTJ/_components/atoms/Textarea/index.d.ts +0 -2
  322. package/dist/types/features/IL-OTJ/_components/atoms/Textarea/index.d.ts.map +0 -1
  323. package/dist/types/features/IL-OTJ/_components/atoms/Toggle/Toggle.d.ts +0 -9
  324. package/dist/types/features/IL-OTJ/_components/atoms/Toggle/Toggle.d.ts.map +0 -1
  325. package/dist/types/features/IL-OTJ/_components/atoms/Toggle/index.d.ts +0 -2
  326. package/dist/types/features/IL-OTJ/_components/atoms/Toggle/index.d.ts.map +0 -1
  327. package/dist/types/features/IL-OTJ/_components/cognitiveDecisioningThemeStyles.d.ts +0 -98
  328. package/dist/types/features/IL-OTJ/_components/cognitiveDecisioningThemeStyles.d.ts.map +0 -1
  329. package/dist/types/features/IL-OTJ/_components/hooks/usePendingEditHighlight.d.ts +0 -5
  330. package/dist/types/features/IL-OTJ/_components/hooks/usePendingEditHighlight.d.ts.map +0 -1
  331. package/dist/types/features/IL-OTJ/_components/hooks/useVariantEditSession.d.ts +0 -66
  332. package/dist/types/features/IL-OTJ/_components/hooks/useVariantEditSession.d.ts.map +0 -1
  333. package/dist/types/features/IL-OTJ/_components/index.d.ts +0 -22
  334. package/dist/types/features/IL-OTJ/_components/index.d.ts.map +0 -1
  335. package/dist/types/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts +0 -39
  336. package/dist/types/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts.map +0 -1
  337. package/dist/types/features/IL-OTJ/_components/molecules/Condition/index.d.ts +0 -2
  338. package/dist/types/features/IL-OTJ/_components/molecules/Condition/index.d.ts.map +0 -1
  339. package/dist/types/features/IL-OTJ/_components/molecules/Sections/SectionWrapper.d.ts +0 -19
  340. package/dist/types/features/IL-OTJ/_components/molecules/Sections/SectionWrapper.d.ts.map +0 -1
  341. package/dist/types/features/IL-OTJ/_components/molecules/Sections/index.d.ts +0 -2
  342. package/dist/types/features/IL-OTJ/_components/molecules/Sections/index.d.ts.map +0 -1
  343. package/dist/types/features/IL-OTJ/_components/molecules/SeperationRow/SeparationRow.d.ts +0 -15
  344. package/dist/types/features/IL-OTJ/_components/molecules/SeperationRow/SeparationRow.d.ts.map +0 -1
  345. package/dist/types/features/IL-OTJ/_components/molecules/SeperationRow/index.d.ts +0 -2
  346. package/dist/types/features/IL-OTJ/_components/molecules/SeperationRow/index.d.ts.map +0 -1
  347. package/dist/types/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.d.ts +0 -3
  348. package/dist/types/features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.d.ts.map +0 -1
  349. package/dist/types/features/IL-OTJ/_components/organisms/ConditionSection/index.d.ts +0 -2
  350. package/dist/types/features/IL-OTJ/_components/organisms/ConditionSection/index.d.ts.map +0 -1
  351. package/dist/types/features/IL-OTJ/_components/organisms/ConfigSection/ConfigSection.d.ts +0 -30
  352. package/dist/types/features/IL-OTJ/_components/organisms/ConfigSection/ConfigSection.d.ts.map +0 -1
  353. package/dist/types/features/IL-OTJ/_components/organisms/ConfigSection/index.d.ts +0 -2
  354. package/dist/types/features/IL-OTJ/_components/organisms/ConfigSection/index.d.ts.map +0 -1
  355. package/dist/types/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.d.ts +0 -17
  356. package/dist/types/features/IL-OTJ/_components/organisms/DropdownSection/DropdownSection.d.ts.map +0 -1
  357. package/dist/types/features/IL-OTJ/_components/organisms/DropdownSection/index.d.ts +0 -2
  358. package/dist/types/features/IL-OTJ/_components/organisms/DropdownSection/index.d.ts.map +0 -1
  359. package/dist/types/features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.d.ts +0 -34
  360. package/dist/types/features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.d.ts.map +0 -1
  361. package/dist/types/features/IL-OTJ/_components/organisms/ScopeSection/index.d.ts +0 -2
  362. package/dist/types/features/IL-OTJ/_components/organisms/ScopeSection/index.d.ts.map +0 -1
  363. package/dist/types/features/IL-OTJ/_components/organisms/TextSection/TextSection.d.ts +0 -3
  364. package/dist/types/features/IL-OTJ/_components/organisms/TextSection/TextSection.d.ts.map +0 -1
  365. package/dist/types/features/IL-OTJ/_components/organisms/TextSection/index.d.ts +0 -2
  366. package/dist/types/features/IL-OTJ/_components/organisms/TextSection/index.d.ts.map +0 -1
  367. package/dist/types/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.d.ts +0 -73
  368. package/dist/types/features/IL-OTJ/_components/templates/BaseTemplate/BaseTemplate.d.ts.map +0 -1
  369. package/dist/types/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.d.ts +0 -71
  370. package/dist/types/features/IL-OTJ/_components/templates/CreateCategory/CreateCategory.d.ts.map +0 -1
  371. package/dist/types/features/IL-OTJ/_components/templates/RuleComparison/AgentComposerRuleComparison.d.ts +0 -55
  372. package/dist/types/features/IL-OTJ/_components/templates/RuleComparison/AgentComposerRuleComparison.d.ts.map +0 -1
  373. package/dist/types/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.d.ts +0 -22
  374. package/dist/types/features/IL-OTJ/_components/templates/RuleComparison/RuleComparison.d.ts.map +0 -1
  375. package/dist/types/features/IL-OTJ/_components/templates/RuleComparison/RuleComparisonNew.d.ts +0 -57
  376. package/dist/types/features/IL-OTJ/_components/templates/RuleComparison/RuleComparisonNew.d.ts.map +0 -1
  377. package/dist/types/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.d.ts +0 -12
  378. package/dist/types/features/IL-OTJ/_components/templates/SchemaDriven/SchemaDrivenCreateRule.d.ts.map +0 -1
  379. package/dist/types/features/IL-OTJ/_components/templates/TemplatesMap/index.d.ts +0 -2
  380. package/dist/types/features/IL-OTJ/_components/templates/TemplatesMap/index.d.ts.map +0 -1
  381. package/dist/types/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.d.ts +0 -12
  382. package/dist/types/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.d.ts.map +0 -1
  383. package/dist/types/features/IL-OTJ/_components/templates/Testing/Testing.d.ts +0 -3
  384. package/dist/types/features/IL-OTJ/_components/templates/Testing/Testing.d.ts.map +0 -1
  385. package/dist/types/features/IL-OTJ/_components/templates/Testing/index.d.ts +0 -2
  386. package/dist/types/features/IL-OTJ/_components/templates/Testing/index.d.ts.map +0 -1
  387. package/dist/types/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts +0 -10
  388. package/dist/types/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts.map +0 -1
  389. package/dist/types/features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.d.ts +0 -3
  390. package/dist/types/features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.d.ts.map +0 -1
  391. package/dist/types/features/IL-OTJ/_components/templates/TrafficManager/index.d.ts +0 -2
  392. package/dist/types/features/IL-OTJ/_components/templates/TrafficManager/index.d.ts.map +0 -1
  393. package/dist/types/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.d.ts +0 -3
  394. package/dist/types/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.d.ts.map +0 -1
  395. package/dist/types/features/IL-OTJ/helpers/index.d.ts +0 -2
  396. package/dist/types/features/IL-OTJ/helpers/index.d.ts.map +0 -1
  397. package/dist/types/features/IL-OTJ/helpers/message-rendering-utils.d.ts +0 -26
  398. package/dist/types/features/IL-OTJ/helpers/message-rendering-utils.d.ts.map +0 -1
  399. package/dist/types/features/IL-OTJ/helpers/utils.d.ts +0 -23
  400. package/dist/types/features/IL-OTJ/helpers/utils.d.ts.map +0 -1
  401. package/dist/types/features/IL-OTJ/store/CitationsContext.d.ts +0 -23
  402. package/dist/types/features/IL-OTJ/store/CitationsContext.d.ts.map +0 -1
  403. package/dist/types/features/IL-OTJ/store/index.d.ts +0 -2
  404. package/dist/types/features/IL-OTJ/store/index.d.ts.map +0 -1
  405. package/dist/types/features/IL-marketplace/components/GuidelineCardMenu.d.ts +0 -34
  406. package/dist/types/features/IL-marketplace/components/GuidelineCardMenu.d.ts.map +0 -1
  407. package/dist/types/features/IL-marketplace/components/GuidelineCart.d.ts +0 -4
  408. package/dist/types/features/IL-marketplace/components/GuidelineCart.d.ts.map +0 -1
  409. package/dist/types/features/IL-marketplace/components/GuidelineCartHeader.d.ts +0 -14
  410. package/dist/types/features/IL-marketplace/components/GuidelineCartHeader.d.ts.map +0 -1
  411. package/dist/types/features/IL-marketplace/components/GuidelineCartItem.d.ts +0 -16
  412. package/dist/types/features/IL-marketplace/components/GuidelineCartItem.d.ts.map +0 -1
  413. package/dist/types/features/IL-marketplace/components/GuidelineConfirmDialog.d.ts +0 -18
  414. package/dist/types/features/IL-marketplace/components/GuidelineConfirmDialog.d.ts.map +0 -1
  415. package/dist/types/features/IL-marketplace/components/GuidelineEmptyState.d.ts +0 -11
  416. package/dist/types/features/IL-marketplace/components/GuidelineEmptyState.d.ts.map +0 -1
  417. package/dist/types/features/IL-marketplace/components/GuidelineFilterPanel.d.ts +0 -9
  418. package/dist/types/features/IL-marketplace/components/GuidelineFilterPanel.d.ts.map +0 -1
  419. package/dist/types/features/IL-marketplace/components/GuidelineHeader.d.ts +0 -4
  420. package/dist/types/features/IL-marketplace/components/GuidelineHeader.d.ts.map +0 -1
  421. package/dist/types/features/IL-marketplace/components/GuidelineIconButton.d.ts +0 -15
  422. package/dist/types/features/IL-marketplace/components/GuidelineIconButton.d.ts.map +0 -1
  423. package/dist/types/features/IL-marketplace/components/GuidelineLandingPage.d.ts +0 -4
  424. package/dist/types/features/IL-marketplace/components/GuidelineLandingPage.d.ts.map +0 -1
  425. package/dist/types/features/IL-marketplace/components/GuidelineLibrary.d.ts +0 -68
  426. package/dist/types/features/IL-marketplace/components/GuidelineLibrary.d.ts.map +0 -1
  427. package/dist/types/features/IL-marketplace/components/GuidelineLibraryCard.d.ts +0 -94
  428. package/dist/types/features/IL-marketplace/components/GuidelineLibraryCard.d.ts.map +0 -1
  429. package/dist/types/features/IL-marketplace/components/GuidelineLibraryContent.d.ts +0 -96
  430. package/dist/types/features/IL-marketplace/components/GuidelineLibraryContent.d.ts.map +0 -1
  431. package/dist/types/features/IL-marketplace/components/GuidelineLibraryTab.d.ts +0 -27
  432. package/dist/types/features/IL-marketplace/components/GuidelineLibraryTab.d.ts.map +0 -1
  433. package/dist/types/features/IL-marketplace/components/GuidelineProceedButton.d.ts +0 -4
  434. package/dist/types/features/IL-marketplace/components/GuidelineProceedButton.d.ts.map +0 -1
  435. package/dist/types/features/IL-marketplace/components/GuidelineSelectButton.d.ts +0 -11
  436. package/dist/types/features/IL-marketplace/components/GuidelineSelectButton.d.ts.map +0 -1
  437. package/dist/types/features/IL-marketplace/components/GuidelineStatusChip.d.ts +0 -10
  438. package/dist/types/features/IL-marketplace/components/GuidelineStatusChip.d.ts.map +0 -1
  439. package/dist/types/features/IL-marketplace/components/GuidelineTooltip.d.ts +0 -10
  440. package/dist/types/features/IL-marketplace/components/GuidelineTooltip.d.ts.map +0 -1
  441. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionBody.d.ts +0 -3
  442. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionBody.d.ts.map +0 -1
  443. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionFooter.d.ts +0 -8
  444. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/LearningsSelectionFooter.d.ts.map +0 -1
  445. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationBody.d.ts +0 -3
  446. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationBody.d.ts.map +0 -1
  447. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationFooter.d.ts +0 -8
  448. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/LearningsValidationFooter.d.ts.map +0 -1
  449. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishDetailsCards.d.ts +0 -24
  450. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishDetailsCards.d.ts.map +0 -1
  451. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.d.ts +0 -8
  452. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishEmptyState.d.ts.map +0 -1
  453. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.d.ts +0 -4
  454. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepBody.d.ts.map +0 -1
  455. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.d.ts +0 -4
  456. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepFooter.d.ts.map +0 -1
  457. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.d.ts +0 -5
  458. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishStepper.d.ts.map +0 -1
  459. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.constants.d.ts +0 -3
  460. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.constants.d.ts.map +0 -1
  461. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.types.d.ts +0 -94
  462. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplace.types.d.ts.map +0 -1
  463. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.d.ts +0 -44
  464. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.d.ts.map +0 -1
  465. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.d.ts +0 -4
  466. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryBody.d.ts.map +0 -1
  467. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryFooter.d.ts +0 -14
  468. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/ReleaseSummaryFooter.d.ts.map +0 -1
  469. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.d.ts +0 -4
  470. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsBody.d.ts.map +0 -1
  471. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsFooter.d.ts +0 -8
  472. package/dist/types/features/IL-marketplace/components/ILMarketPlacePublish/TemplateDetailsFooter.d.ts.map +0 -1
  473. package/dist/types/features/IL-marketplace/components/LearningManagementWrapper.d.ts +0 -31
  474. package/dist/types/features/IL-marketplace/components/LearningManagementWrapper.d.ts.map +0 -1
  475. package/dist/types/features/IL-marketplace/components/VersionSelectDropdown.d.ts +0 -13
  476. package/dist/types/features/IL-marketplace/components/VersionSelectDropdown.d.ts.map +0 -1
  477. package/dist/types/features/IL-marketplace/constants.d.ts +0 -183
  478. package/dist/types/features/IL-marketplace/constants.d.ts.map +0 -1
  479. package/dist/types/features/IL-marketplace/hooks/useControllableState.d.ts +0 -8
  480. package/dist/types/features/IL-marketplace/hooks/useControllableState.d.ts.map +0 -1
  481. package/dist/types/features/IL-marketplace/hooks/useDeleteGuidelineMutation.d.ts +0 -10
  482. package/dist/types/features/IL-marketplace/hooks/useDeleteGuidelineMutation.d.ts.map +0 -1
  483. package/dist/types/features/IL-marketplace/hooks/useGuidelineSelection.d.ts +0 -17
  484. package/dist/types/features/IL-marketplace/hooks/useGuidelineSelection.d.ts.map +0 -1
  485. package/dist/types/features/IL-marketplace/hooks/useGuidelineWorkspaceLegacyBridge.d.ts +0 -6
  486. package/dist/types/features/IL-marketplace/hooks/useGuidelineWorkspaceLegacyBridge.d.ts.map +0 -1
  487. package/dist/types/features/IL-marketplace/hooks/useMarketplaceApprovalStatus.d.ts +0 -4
  488. package/dist/types/features/IL-marketplace/hooks/useMarketplaceApprovalStatus.d.ts.map +0 -1
  489. package/dist/types/features/IL-marketplace/hooks/useMarketplacePublishILKBData.d.ts +0 -29
  490. package/dist/types/features/IL-marketplace/hooks/useMarketplacePublishILKBData.d.ts.map +0 -1
  491. package/dist/types/features/IL-marketplace/hooks/usePublishingFlowConfig.d.ts +0 -17
  492. package/dist/types/features/IL-marketplace/hooks/usePublishingFlowConfig.d.ts.map +0 -1
  493. package/dist/types/features/IL-marketplace/icons/GuidelineSpinner.d.ts +0 -7
  494. package/dist/types/features/IL-marketplace/icons/GuidelineSpinner.d.ts.map +0 -1
  495. package/dist/types/features/IL-marketplace/index.d.ts +0 -42
  496. package/dist/types/features/IL-marketplace/index.d.ts.map +0 -1
  497. package/dist/types/features/IL-marketplace/marketplaceTheme.d.ts +0 -99
  498. package/dist/types/features/IL-marketplace/marketplaceTheme.d.ts.map +0 -1
  499. package/dist/types/features/IL-marketplace/queryClient.d.ts +0 -3
  500. package/dist/types/features/IL-marketplace/queryClient.d.ts.map +0 -1
  501. package/dist/types/features/IL-marketplace/services/IL-marketplace.api.d.ts +0 -156
  502. package/dist/types/features/IL-marketplace/services/IL-marketplace.api.d.ts.map +0 -1
  503. package/dist/types/features/IL-marketplace/services/guideline.api.d.ts +0 -2
  504. package/dist/types/features/IL-marketplace/services/guideline.api.d.ts.map +0 -1
  505. package/dist/types/features/IL-marketplace/services/guideline.cart.api.d.ts +0 -28
  506. package/dist/types/features/IL-marketplace/services/guideline.cart.api.d.ts.map +0 -1
  507. package/dist/types/features/IL-marketplace/services/guideline.chat.d.ts +0 -2
  508. package/dist/types/features/IL-marketplace/services/guideline.chat.d.ts.map +0 -1
  509. package/dist/types/features/IL-marketplace/services/guideline.content.d.ts +0 -2
  510. package/dist/types/features/IL-marketplace/services/guideline.content.d.ts.map +0 -1
  511. package/dist/types/features/IL-marketplace/services/guideline.core.api.d.ts +0 -51
  512. package/dist/types/features/IL-marketplace/services/guideline.core.api.d.ts.map +0 -1
  513. package/dist/types/features/IL-marketplace/services/guideline.runtime.config.d.ts +0 -47
  514. package/dist/types/features/IL-marketplace/services/guideline.runtime.config.d.ts.map +0 -1
  515. package/dist/types/features/IL-marketplace/services/guideline.session.d.ts +0 -10
  516. package/dist/types/features/IL-marketplace/services/guideline.session.d.ts.map +0 -1
  517. package/dist/types/features/IL-marketplace/services/instant-learning.api.d.ts +0 -112
  518. package/dist/types/features/IL-marketplace/services/instant-learning.api.d.ts.map +0 -1
  519. package/dist/types/features/IL-marketplace/services/instant-learning.wishlist.d.ts +0 -8
  520. package/dist/types/features/IL-marketplace/services/instant-learning.wishlist.d.ts.map +0 -1
  521. package/dist/types/features/IL-marketplace/store/usePublishTemplateStore.d.ts +0 -14
  522. package/dist/types/features/IL-marketplace/store/usePublishTemplateStore.d.ts.map +0 -1
  523. package/dist/types/features/IL-marketplace/store/usePublishingFlowConfigStore.d.ts +0 -132
  524. package/dist/types/features/IL-marketplace/store/usePublishingFlowConfigStore.d.ts.map +0 -1
  525. package/dist/types/features/IL-marketplace/types/add-context.types.d.ts +0 -40
  526. package/dist/types/features/IL-marketplace/types/add-context.types.d.ts.map +0 -1
  527. package/dist/types/features/IL-marketplace/types/api.types.d.ts +0 -116
  528. package/dist/types/features/IL-marketplace/types/api.types.d.ts.map +0 -1
  529. package/dist/types/features/IL-marketplace/types/file-item.d.ts +0 -60
  530. package/dist/types/features/IL-marketplace/types/file-item.d.ts.map +0 -1
  531. package/dist/types/features/IL-marketplace/types/guideline.api.types.d.ts +0 -11
  532. package/dist/types/features/IL-marketplace/types/guideline.api.types.d.ts.map +0 -1
  533. package/dist/types/features/IL-marketplace/types/guideline.types.d.ts +0 -42
  534. package/dist/types/features/IL-marketplace/types/guideline.types.d.ts.map +0 -1
  535. package/dist/types/features/IL-marketplace/types.d.ts +0 -443
  536. package/dist/types/features/IL-marketplace/types.d.ts.map +0 -1
  537. package/dist/types/features/IL-marketplace/utils/addContextHelpers.d.ts +0 -7
  538. package/dist/types/features/IL-marketplace/utils/addContextHelpers.d.ts.map +0 -1
  539. package/dist/types/features/IL-marketplace/utils/cn.d.ts +0 -3
  540. package/dist/types/features/IL-marketplace/utils/cn.d.ts.map +0 -1
  541. package/dist/types/features/IL-marketplace/utils/guidelineFiles.d.ts +0 -17
  542. package/dist/types/features/IL-marketplace/utils/guidelineFiles.d.ts.map +0 -1
  543. package/dist/types/features/IL-marketplace/utils/guidelineOverlay.d.ts +0 -3
  544. package/dist/types/features/IL-marketplace/utils/guidelineOverlay.d.ts.map +0 -1
  545. package/dist/types/features/IL-marketplace/utils/guidelineSort.d.ts +0 -3
  546. package/dist/types/features/IL-marketplace/utils/guidelineSort.d.ts.map +0 -1
  547. package/dist/types/features/IL-marketplace/utils/microfrontend.d.ts +0 -23
  548. package/dist/types/features/IL-marketplace/utils/microfrontend.d.ts.map +0 -1
  549. package/dist/types/features/IL-marketplace/utils/publishingFlow.d.ts +0 -35
  550. package/dist/types/features/IL-marketplace/utils/publishingFlow.d.ts.map +0 -1
  551. package/dist/types/features/IL-marketplace/utils/session.d.ts +0 -4
  552. package/dist/types/features/IL-marketplace/utils/session.d.ts.map +0 -1
  553. package/dist/types/features/IL-marketplace/utils/url.d.ts +0 -2
  554. package/dist/types/features/IL-marketplace/utils/url.d.ts.map +0 -1
  555. package/dist/types/features/IL-marketplace/utils.d.ts +0 -75
  556. package/dist/types/features/IL-marketplace/utils.d.ts.map +0 -1
  557. package/dist/types/features/IL-marketplace/workspace/useGuidelineWorkspace.d.ts +0 -44
  558. package/dist/types/features/IL-marketplace/workspace/useGuidelineWorkspace.d.ts.map +0 -1
  559. package/dist/types/features/IL-marketplace/workspace/workspace.context.d.ts +0 -9
  560. package/dist/types/features/IL-marketplace/workspace/workspace.context.d.ts.map +0 -1
  561. package/dist/types/features/IL-marketplace/workspace/workspace.runtime.d.ts +0 -12
  562. package/dist/types/features/IL-marketplace/workspace/workspace.runtime.d.ts.map +0 -1
  563. package/dist/types/features/IL-marketplace/workspace/workspace.selectors.d.ts +0 -5
  564. package/dist/types/features/IL-marketplace/workspace/workspace.selectors.d.ts.map +0 -1
  565. package/dist/types/features/IL-marketplace/workspace/workspace.types.d.ts +0 -89
  566. package/dist/types/features/IL-marketplace/workspace/workspace.types.d.ts.map +0 -1
  567. package/dist/types/features/InstantLearning/InstantLearning.d.ts +0 -118
  568. package/dist/types/features/InstantLearning/InstantLearning.d.ts.map +0 -1
  569. package/dist/types/features/InstantLearning/_components/AudioWaveform.d.ts +0 -13
  570. package/dist/types/features/InstantLearning/_components/AudioWaveform.d.ts.map +0 -1
  571. package/dist/types/features/InstantLearning/_components/ChatComponent.d.ts +0 -58
  572. package/dist/types/features/InstantLearning/_components/ChatComponent.d.ts.map +0 -1
  573. package/dist/types/features/InstantLearning/_components/ConflictingLearningWarnCard.d.ts +0 -13
  574. package/dist/types/features/InstantLearning/_components/ConflictingLearningWarnCard.d.ts.map +0 -1
  575. package/dist/types/features/InstantLearning/_components/ConflictingLearningWarnCardDB.d.ts +0 -41
  576. package/dist/types/features/InstantLearning/_components/ConflictingLearningWarnCardDB.d.ts.map +0 -1
  577. package/dist/types/features/InstantLearning/_components/ContextualChatComponent.d.ts +0 -64
  578. package/dist/types/features/InstantLearning/_components/ContextualChatComponent.d.ts.map +0 -1
  579. package/dist/types/features/InstantLearning/_components/ContextualConflictDBCard.d.ts +0 -32
  580. package/dist/types/features/InstantLearning/_components/ContextualConflictDBCard.d.ts.map +0 -1
  581. package/dist/types/features/InstantLearning/_components/ContextualLearningForm.d.ts +0 -45
  582. package/dist/types/features/InstantLearning/_components/ContextualLearningForm.d.ts.map +0 -1
  583. package/dist/types/features/InstantLearning/_components/DebuggerPanel.d.ts +0 -16
  584. package/dist/types/features/InstantLearning/_components/DebuggerPanel.d.ts.map +0 -1
  585. package/dist/types/features/InstantLearning/_components/GeneralizationAccordion.d.ts +0 -28
  586. package/dist/types/features/InstantLearning/_components/GeneralizationAccordion.d.ts.map +0 -1
  587. package/dist/types/features/InstantLearning/_components/LearningDetailsForm.d.ts +0 -74
  588. package/dist/types/features/InstantLearning/_components/LearningDetailsForm.d.ts.map +0 -1
  589. package/dist/types/features/InstantLearning/_components/MessageRendering.d.ts +0 -10
  590. package/dist/types/features/InstantLearning/_components/MessageRendering.d.ts.map +0 -1
  591. package/dist/types/features/InstantLearning/_components/MinimizedThinkingSteps.d.ts +0 -4
  592. package/dist/types/features/InstantLearning/_components/MinimizedThinkingSteps.d.ts.map +0 -1
  593. package/dist/types/features/InstantLearning/_components/SimilarLearningCard.d.ts +0 -20
  594. package/dist/types/features/InstantLearning/_components/SimilarLearningCard.d.ts.map +0 -1
  595. package/dist/types/features/InstantLearning/_components/TemplateRetrievalForm.d.ts +0 -50
  596. package/dist/types/features/InstantLearning/_components/TemplateRetrievalForm.d.ts.map +0 -1
  597. package/dist/types/features/InstantLearning/_components/TooltipComponent.d.ts +0 -8
  598. package/dist/types/features/InstantLearning/_components/TooltipComponent.d.ts.map +0 -1
  599. package/dist/types/features/InstantLearning/_components/_svg/ArrowDown.d.ts +0 -4
  600. package/dist/types/features/InstantLearning/_components/_svg/ArrowDown.d.ts.map +0 -1
  601. package/dist/types/features/InstantLearning/_components/_svg/ArrowIconBlue.d.ts +0 -4
  602. package/dist/types/features/InstantLearning/_components/_svg/ArrowIconBlue.d.ts.map +0 -1
  603. package/dist/types/features/InstantLearning/_components/_svg/CompleteIconGreen.d.ts +0 -4
  604. package/dist/types/features/InstantLearning/_components/_svg/CompleteIconGreen.d.ts.map +0 -1
  605. package/dist/types/features/InstantLearning/_components/_svg/NewChatIcon.d.ts +0 -4
  606. package/dist/types/features/InstantLearning/_components/_svg/NewChatIcon.d.ts.map +0 -1
  607. package/dist/types/features/LearningManagement/AuditLog/AuditLog.d.ts +0 -11
  608. package/dist/types/features/LearningManagement/AuditLog/AuditLog.d.ts.map +0 -1
  609. package/dist/types/features/LearningManagement/AuditLog/ChangeLogDiff.d.ts +0 -15
  610. package/dist/types/features/LearningManagement/AuditLog/ChangeLogDiff.d.ts.map +0 -1
  611. package/dist/types/features/LearningManagement/LearningManagement.d.ts +0 -67
  612. package/dist/types/features/LearningManagement/LearningManagement.d.ts.map +0 -1
  613. package/dist/types/features/LearningManagement/LearningManagementTest.d.ts +0 -4
  614. package/dist/types/features/LearningManagement/LearningManagementTest.d.ts.map +0 -1
  615. package/dist/types/features/LearningManagement/LearningTemplateLayout.d.ts +0 -41
  616. package/dist/types/features/LearningManagement/LearningTemplateLayout.d.ts.map +0 -1
  617. package/dist/types/features/LearningManagement/RBAC/AccessManagementPanel.d.ts +0 -8
  618. package/dist/types/features/LearningManagement/RBAC/AccessManagementPanel.d.ts.map +0 -1
  619. package/dist/types/features/LearningManagement/RBAC/AccessPanel.d.ts +0 -12
  620. package/dist/types/features/LearningManagement/RBAC/AccessPanel.d.ts.map +0 -1
  621. package/dist/types/features/LearningManagement/RBAC/index.d.ts +0 -4
  622. package/dist/types/features/LearningManagement/RBAC/index.d.ts.map +0 -1
  623. package/dist/types/features/LearningManagement/RuleContent/AddScopeApprovalSearchComponent.d.ts +0 -12
  624. package/dist/types/features/LearningManagement/RuleContent/AddScopeApprovalSearchComponent.d.ts.map +0 -1
  625. package/dist/types/features/LearningManagement/RuleContent/AddScopeModal.d.ts +0 -19
  626. package/dist/types/features/LearningManagement/RuleContent/AddScopeModal.d.ts.map +0 -1
  627. package/dist/types/features/LearningManagement/RuleContent/ApprovalActionButton.d.ts +0 -8
  628. package/dist/types/features/LearningManagement/RuleContent/ApprovalActionButton.d.ts.map +0 -1
  629. package/dist/types/features/LearningManagement/RuleContent/ApprovalLearningDialog.d.ts +0 -18
  630. package/dist/types/features/LearningManagement/RuleContent/ApprovalLearningDialog.d.ts.map +0 -1
  631. package/dist/types/features/LearningManagement/RuleContent/ContentLogic.d.ts +0 -44
  632. package/dist/types/features/LearningManagement/RuleContent/ContentLogic.d.ts.map +0 -1
  633. package/dist/types/features/LearningManagement/RuleContent/HistorySkeleton.d.ts +0 -10
  634. package/dist/types/features/LearningManagement/RuleContent/HistorySkeleton.d.ts.map +0 -1
  635. package/dist/types/features/LearningManagement/RuleContent/InheritanceBreadcrumb.d.ts +0 -22
  636. package/dist/types/features/LearningManagement/RuleContent/InheritanceBreadcrumb.d.ts.map +0 -1
  637. package/dist/types/features/LearningManagement/RuleContent/InstructionPromptBlock.d.ts +0 -27
  638. package/dist/types/features/LearningManagement/RuleContent/InstructionPromptBlock.d.ts.map +0 -1
  639. package/dist/types/features/LearningManagement/RuleContent/OverrideTimeline.d.ts +0 -23
  640. package/dist/types/features/LearningManagement/RuleContent/OverrideTimeline.d.ts.map +0 -1
  641. package/dist/types/features/LearningManagement/RuleContent/PendingApprovalChip.d.ts +0 -7
  642. package/dist/types/features/LearningManagement/RuleContent/PendingApprovalChip.d.ts.map +0 -1
  643. package/dist/types/features/LearningManagement/RuleContent/RenameScopeModal.d.ts +0 -10
  644. package/dist/types/features/LearningManagement/RuleContent/RenameScopeModal.d.ts.map +0 -1
  645. package/dist/types/features/LearningManagement/RuleContent/RuleAccordion.d.ts +0 -131
  646. package/dist/types/features/LearningManagement/RuleContent/RuleAccordion.d.ts.map +0 -1
  647. package/dist/types/features/LearningManagement/RuleContent/RuleAccordionHeader.d.ts +0 -47
  648. package/dist/types/features/LearningManagement/RuleContent/RuleAccordionHeader.d.ts.map +0 -1
  649. package/dist/types/features/LearningManagement/RuleContent/RuleAccordionShell.d.ts +0 -69
  650. package/dist/types/features/LearningManagement/RuleContent/RuleAccordionShell.d.ts.map +0 -1
  651. package/dist/types/features/LearningManagement/RuleContent/RuleConditionBlock.d.ts +0 -39
  652. package/dist/types/features/LearningManagement/RuleContent/RuleConditionBlock.d.ts.map +0 -1
  653. package/dist/types/features/LearningManagement/RuleContent/RuleContent.d.ts +0 -49
  654. package/dist/types/features/LearningManagement/RuleContent/RuleContent.d.ts.map +0 -1
  655. package/dist/types/features/LearningManagement/RuleContent/RuleHeader.d.ts +0 -41
  656. package/dist/types/features/LearningManagement/RuleContent/RuleHeader.d.ts.map +0 -1
  657. package/dist/types/features/LearningManagement/RuleContent/RuleTierList.d.ts +0 -51
  658. package/dist/types/features/LearningManagement/RuleContent/RuleTierList.d.ts.map +0 -1
  659. package/dist/types/features/LearningManagement/RuleContent/TierCard.d.ts +0 -60
  660. package/dist/types/features/LearningManagement/RuleContent/TierCard.d.ts.map +0 -1
  661. package/dist/types/features/LearningManagement/RuleContent/VariantCard.d.ts +0 -109
  662. package/dist/types/features/LearningManagement/RuleContent/VariantCard.d.ts.map +0 -1
  663. package/dist/types/features/LearningManagement/RuleContent/VariantList.d.ts +0 -106
  664. package/dist/types/features/LearningManagement/RuleContent/VariantList.d.ts.map +0 -1
  665. package/dist/types/features/LearningManagement/ScopeSelector.d.ts +0 -45
  666. package/dist/types/features/LearningManagement/ScopeSelector.d.ts.map +0 -1
  667. package/dist/types/features/LearningManagement/Sidebar.d.ts +0 -37
  668. package/dist/types/features/LearningManagement/Sidebar.d.ts.map +0 -1
  669. package/dist/types/features/LearningManagement/SidebarWrapper.d.ts +0 -34
  670. package/dist/types/features/LearningManagement/SidebarWrapper.d.ts.map +0 -1
  671. package/dist/types/features/LearningManagement/StationsContent/StationsContent.d.ts +0 -17
  672. package/dist/types/features/LearningManagement/StationsContent/StationsContent.d.ts.map +0 -1
  673. package/dist/types/features/LearningManagement/apis/apiConfig.d.ts +0 -54
  674. package/dist/types/features/LearningManagement/apis/apiConfig.d.ts.map +0 -1
  675. package/dist/types/features/LearningManagement/apis/scopeApis.d.ts +0 -388
  676. package/dist/types/features/LearningManagement/apis/scopeApis.d.ts.map +0 -1
  677. package/dist/types/features/LearningManagement/components/CardSkeleton.d.ts +0 -8
  678. package/dist/types/features/LearningManagement/components/CardSkeleton.d.ts.map +0 -1
  679. package/dist/types/features/LearningManagement/components/ConfirmationModal.d.ts +0 -22
  680. package/dist/types/features/LearningManagement/components/ConfirmationModal.d.ts.map +0 -1
  681. package/dist/types/features/LearningManagement/components/CreateLearningSetModal.d.ts +0 -20
  682. package/dist/types/features/LearningManagement/components/CreateLearningSetModal.d.ts.map +0 -1
  683. package/dist/types/features/LearningManagement/components/CreateRuleSetLegacyModal.d.ts +0 -12
  684. package/dist/types/features/LearningManagement/components/CreateRuleSetLegacyModal.d.ts.map +0 -1
  685. package/dist/types/features/LearningManagement/components/CustomTooltip.d.ts +0 -16
  686. package/dist/types/features/LearningManagement/components/CustomTooltip.d.ts.map +0 -1
  687. package/dist/types/features/LearningManagement/components/EmptyLearningState.d.ts +0 -42
  688. package/dist/types/features/LearningManagement/components/EmptyLearningState.d.ts.map +0 -1
  689. package/dist/types/features/LearningManagement/components/ErrorStateDisplay.d.ts +0 -25
  690. package/dist/types/features/LearningManagement/components/ErrorStateDisplay.d.ts.map +0 -1
  691. package/dist/types/features/LearningManagement/components/InstantLearningModal.d.ts +0 -41
  692. package/dist/types/features/LearningManagement/components/InstantLearningModal.d.ts.map +0 -1
  693. package/dist/types/features/LearningManagement/components/InstantLearningModalDynamic.d.ts +0 -62
  694. package/dist/types/features/LearningManagement/components/InstantLearningModalDynamic.d.ts.map +0 -1
  695. package/dist/types/features/LearningManagement/components/LearningTemplateManagementSkeleton.d.ts +0 -8
  696. package/dist/types/features/LearningManagement/components/LearningTemplateManagementSkeleton.d.ts.map +0 -1
  697. package/dist/types/features/LearningManagement/components/PromptTextEditor.d.ts +0 -44
  698. package/dist/types/features/LearningManagement/components/PromptTextEditor.d.ts.map +0 -1
  699. package/dist/types/features/LearningManagement/components/RuleContentSkeleton.d.ts +0 -8
  700. package/dist/types/features/LearningManagement/components/RuleContentSkeleton.d.ts.map +0 -1
  701. package/dist/types/features/LearningManagement/components/ScopeSkeletonLoader.d.ts +0 -36
  702. package/dist/types/features/LearningManagement/components/ScopeSkeletonLoader.d.ts.map +0 -1
  703. package/dist/types/features/LearningManagement/components/ScopeTree/HighlightedText.d.ts +0 -8
  704. package/dist/types/features/LearningManagement/components/ScopeTree/HighlightedText.d.ts.map +0 -1
  705. package/dist/types/features/LearningManagement/components/ScopeTree/TreeAddAction.d.ts +0 -10
  706. package/dist/types/features/LearningManagement/components/ScopeTree/TreeAddAction.d.ts.map +0 -1
  707. package/dist/types/features/LearningManagement/components/ScopeTree/TreeMenu.d.ts +0 -17
  708. package/dist/types/features/LearningManagement/components/ScopeTree/TreeMenu.d.ts.map +0 -1
  709. package/dist/types/features/LearningManagement/components/ScopeTree/TreeNode.d.ts +0 -38
  710. package/dist/types/features/LearningManagement/components/ScopeTree/TreeNode.d.ts.map +0 -1
  711. package/dist/types/features/LearningManagement/components/ScopeTree/TreeNodeHeader.d.ts +0 -22
  712. package/dist/types/features/LearningManagement/components/ScopeTree/TreeNodeHeader.d.ts.map +0 -1
  713. package/dist/types/features/LearningManagement/components/ScopeTree/TreeSectionItem.d.ts +0 -16
  714. package/dist/types/features/LearningManagement/components/ScopeTree/TreeSectionItem.d.ts.map +0 -1
  715. package/dist/types/features/LearningManagement/components/ScopeTree/TreeSidebar.d.ts +0 -23
  716. package/dist/types/features/LearningManagement/components/ScopeTree/TreeSidebar.d.ts.map +0 -1
  717. package/dist/types/features/LearningManagement/components/ScopeTree/TreeTooltip.d.ts +0 -10
  718. package/dist/types/features/LearningManagement/components/ScopeTree/TreeTooltip.d.ts.map +0 -1
  719. package/dist/types/features/LearningManagement/components/SidebarSearch.d.ts +0 -25
  720. package/dist/types/features/LearningManagement/components/SidebarSearch.d.ts.map +0 -1
  721. package/dist/types/features/LearningManagement/components/Skeleton.d.ts +0 -12
  722. package/dist/types/features/LearningManagement/components/Skeleton.d.ts.map +0 -1
  723. package/dist/types/features/LearningManagement/components/StationOnboarding/DayToggleSelector.d.ts +0 -13
  724. package/dist/types/features/LearningManagement/components/StationOnboarding/DayToggleSelector.d.ts.map +0 -1
  725. package/dist/types/features/LearningManagement/components/StationOnboarding/InputField.d.ts +0 -27
  726. package/dist/types/features/LearningManagement/components/StationOnboarding/InputField.d.ts.map +0 -1
  727. package/dist/types/features/LearningManagement/components/StationOnboarding/OnboardingLoader.d.ts +0 -19
  728. package/dist/types/features/LearningManagement/components/StationOnboarding/OnboardingLoader.d.ts.map +0 -1
  729. package/dist/types/features/LearningManagement/components/StationOnboarding/StationAutocomplete.d.ts +0 -15
  730. package/dist/types/features/LearningManagement/components/StationOnboarding/StationAutocomplete.d.ts.map +0 -1
  731. package/dist/types/features/LearningManagement/components/StationOnboarding/StationOnboardModal.d.ts +0 -16
  732. package/dist/types/features/LearningManagement/components/StationOnboarding/StationOnboardModal.d.ts.map +0 -1
  733. package/dist/types/features/LearningManagement/components/StationOnboarding/TemplateCard.d.ts +0 -22
  734. package/dist/types/features/LearningManagement/components/StationOnboarding/TemplateCard.d.ts.map +0 -1
  735. package/dist/types/features/LearningManagement/components/ToolTip.d.ts +0 -8
  736. package/dist/types/features/LearningManagement/components/ToolTip.d.ts.map +0 -1
  737. package/dist/types/features/LearningManagement/config.d.ts +0 -64
  738. package/dist/types/features/LearningManagement/config.d.ts.map +0 -1
  739. package/dist/types/features/LearningManagement/constants.d.ts +0 -19
  740. package/dist/types/features/LearningManagement/constants.d.ts.map +0 -1
  741. package/dist/types/features/LearningManagement/hooks/useLearningTemplateQueryParams.d.ts +0 -62
  742. package/dist/types/features/LearningManagement/hooks/useLearningTemplateQueryParams.d.ts.map +0 -1
  743. package/dist/types/features/LearningManagement/queries/useApprovalQueries.d.ts +0 -20
  744. package/dist/types/features/LearningManagement/queries/useApprovalQueries.d.ts.map +0 -1
  745. package/dist/types/features/LearningManagement/queries/useLMSConfigQuery.d.ts +0 -9
  746. package/dist/types/features/LearningManagement/queries/useLMSConfigQuery.d.ts.map +0 -1
  747. package/dist/types/features/LearningManagement/shared/ErrorToastContent.d.ts +0 -22
  748. package/dist/types/features/LearningManagement/shared/ErrorToastContent.d.ts.map +0 -1
  749. package/dist/types/features/LearningManagement/shared/SuccessToastContent.d.ts +0 -22
  750. package/dist/types/features/LearningManagement/shared/SuccessToastContent.d.ts.map +0 -1
  751. package/dist/types/features/LearningManagement/shared/index.d.ts +0 -7
  752. package/dist/types/features/LearningManagement/shared/index.d.ts.map +0 -1
  753. package/dist/types/features/LearningManagement/store/types.d.ts +0 -32
  754. package/dist/types/features/LearningManagement/store/types.d.ts.map +0 -1
  755. package/dist/types/features/LearningManagement/store/useAppSecRolesStore.d.ts +0 -11
  756. package/dist/types/features/LearningManagement/store/useAppSecRolesStore.d.ts.map +0 -1
  757. package/dist/types/features/LearningManagement/store/useAuthStore.d.ts +0 -12
  758. package/dist/types/features/LearningManagement/store/useAuthStore.d.ts.map +0 -1
  759. package/dist/types/features/LearningManagement/store/useConfigStore.d.ts +0 -18
  760. package/dist/types/features/LearningManagement/store/useConfigStore.d.ts.map +0 -1
  761. package/dist/types/features/LearningManagement/store/useEnvStore.d.ts +0 -36
  762. package/dist/types/features/LearningManagement/store/useEnvStore.d.ts.map +0 -1
  763. package/dist/types/features/LearningManagement/store/useExternalWorkflowStore.d.ts +0 -38
  764. package/dist/types/features/LearningManagement/store/useExternalWorkflowStore.d.ts.map +0 -1
  765. package/dist/types/features/LearningManagement/store/useLMSConfigStore.d.ts +0 -388
  766. package/dist/types/features/LearningManagement/store/useLMSConfigStore.d.ts.map +0 -1
  767. package/dist/types/features/LearningManagement/store/useLearningTemplateStore.d.ts +0 -84
  768. package/dist/types/features/LearningManagement/store/useLearningTemplateStore.d.ts.map +0 -1
  769. package/dist/types/features/LearningManagement/store/usePermissionsStore.d.ts +0 -35
  770. package/dist/types/features/LearningManagement/store/usePermissionsStore.d.ts.map +0 -1
  771. package/dist/types/features/LearningManagement/types.d.ts +0 -288
  772. package/dist/types/features/LearningManagement/types.d.ts.map +0 -1
  773. package/dist/types/features/LearningManagement/utils/learningMetadataUtils.d.ts +0 -17
  774. package/dist/types/features/LearningManagement/utils/learningMetadataUtils.d.ts.map +0 -1
  775. package/dist/types/features/LearningManagement/utils/treeUtils.d.ts +0 -18
  776. package/dist/types/features/LearningManagement/utils/treeUtils.d.ts.map +0 -1
  777. package/dist/types/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +0 -4
  778. package/dist/types/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +0 -1
  779. package/dist/types/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +0 -10
  780. package/dist/types/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +0 -1
  781. package/dist/types/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +0 -4
  782. package/dist/types/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +0 -1
  783. package/dist/types/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +0 -10
  784. package/dist/types/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +0 -1
  785. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +0 -13
  786. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +0 -1
  787. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +0 -4
  788. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +0 -1
  789. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +0 -4
  790. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +0 -1
  791. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +0 -10
  792. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +0 -1
  793. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +0 -22
  794. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +0 -1
  795. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +0 -33
  796. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +0 -1
  797. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +0 -20
  798. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +0 -1
  799. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +0 -7
  800. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +0 -1
  801. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +0 -18
  802. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +0 -1
  803. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +0 -26
  804. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +0 -1
  805. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +0 -4
  806. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +0 -1
  807. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +0 -3
  808. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +0 -1
  809. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +0 -4
  810. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +0 -1
  811. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +0 -10
  812. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +0 -1
  813. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +0 -1108
  814. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +0 -1
  815. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +0 -57
  816. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +0 -1
  817. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +0 -643
  818. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +0 -1
  819. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +0 -24
  820. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +0 -1
  821. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +0 -283
  822. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +0 -1
  823. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +0 -58
  824. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +0 -1
  825. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +0 -20
  826. package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +0 -1
  827. package/dist/types/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +0 -4
  828. package/dist/types/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +0 -1
  829. package/dist/types/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +0 -4
  830. package/dist/types/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +0 -1
  831. package/dist/types/features/UploadData/NotFound.d.ts +0 -4
  832. package/dist/types/features/UploadData/NotFound.d.ts.map +0 -1
  833. package/dist/types/features/UploadData/main.d.ts +0 -10
  834. package/dist/types/features/UploadData/main.d.ts.map +0 -1
  835. package/dist/types/features/WtaWnta/WtaWnta.d.ts +0 -55
  836. package/dist/types/features/WtaWnta/WtaWnta.d.ts.map +0 -1
  837. package/dist/types/features/WtaWnta/_components/AgentDetailsForm.d.ts +0 -43
  838. package/dist/types/features/WtaWnta/_components/AgentDetailsForm.d.ts.map +0 -1
  839. package/dist/types/features/WtaWnta/_components/SimilarConflictingCard.d.ts +0 -18
  840. package/dist/types/features/WtaWnta/_components/SimilarConflictingCard.d.ts.map +0 -1
  841. package/dist/types/features/WtaWnta/_components/ValidationCard.d.ts +0 -30
  842. package/dist/types/features/WtaWnta/_components/ValidationCard.d.ts.map +0 -1
  843. package/dist/types/hooks/useAgentFix.d.ts +0 -15
  844. package/dist/types/hooks/useAgentFix.d.ts.map +0 -1
  845. package/dist/types/hooks/useAgentSuggestions.d.ts +0 -20
  846. package/dist/types/hooks/useAgentSuggestions.d.ts.map +0 -1
  847. package/dist/types/hooks/useAgentValidation.d.ts +0 -17
  848. package/dist/types/hooks/useAgentValidation.d.ts.map +0 -1
  849. package/dist/types/hooks/useDebounce copy.d.ts +0 -2
  850. package/dist/types/hooks/useDebounce copy.d.ts.map +0 -1
  851. package/dist/types/hooks/useDebounce.d.ts +0 -2
  852. package/dist/types/hooks/useDebounce.d.ts.map +0 -1
  853. package/dist/types/hooks/useExistingAgentCheck.d.ts +0 -28
  854. package/dist/types/hooks/useExistingAgentCheck.d.ts.map +0 -1
  855. package/dist/types/hooks/useExistingPromptCheck.d.ts +0 -36
  856. package/dist/types/hooks/useExistingPromptCheck.d.ts.map +0 -1
  857. package/dist/types/hooks/usePromptFix.d.ts +0 -14
  858. package/dist/types/hooks/usePromptFix.d.ts.map +0 -1
  859. package/dist/types/hooks/usePromptSuggestions.d.ts +0 -8
  860. package/dist/types/hooks/usePromptSuggestions.d.ts.map +0 -1
  861. package/dist/types/hooks/usePromptValidation.d.ts +0 -18
  862. package/dist/types/hooks/usePromptValidation.d.ts.map +0 -1
  863. package/dist/types/hooks/useTableHeadCellsCount copy.d.ts +0 -6
  864. package/dist/types/hooks/useTableHeadCellsCount copy.d.ts.map +0 -1
  865. package/dist/types/hooks/useTableHeadCellsCount.d.ts +0 -6
  866. package/dist/types/hooks/useTableHeadCellsCount.d.ts.map +0 -1
  867. package/dist/types/hooks/useURLQuery copy.d.ts +0 -10
  868. package/dist/types/hooks/useURLQuery copy.d.ts.map +0 -1
  869. package/dist/types/hooks/useURLQuery.d.ts +0 -10
  870. package/dist/types/hooks/useURLQuery.d.ts.map +0 -1
  871. package/dist/types/index.d.ts +0 -58
  872. package/dist/types/index.d.ts.map +0 -1
  873. package/dist/types/methodsToExpose.d.ts +0 -13
  874. package/dist/types/methodsToExpose.d.ts.map +0 -1
  875. package/dist/types/plugins/ValueTypes/Category/CategoryTeachMeRenderer.d.ts +0 -29
  876. package/dist/types/plugins/ValueTypes/Category/CategoryTeachMeRenderer.d.ts.map +0 -1
  877. package/dist/types/plugins/ValueTypes/Default/DefaultTeachMeRenderer.d.ts +0 -22
  878. package/dist/types/plugins/ValueTypes/Default/DefaultTeachMeRenderer.d.ts.map +0 -1
  879. package/dist/types/plugins/ValueTypes/Default/DefaultTeachMeRendererOld.d.ts +0 -28
  880. package/dist/types/plugins/ValueTypes/Default/DefaultTeachMeRendererOld.d.ts.map +0 -1
  881. package/dist/types/plugins/ValueTypes/Guidelines/GuidelinesTeachMeRenderer.d.ts +0 -29
  882. package/dist/types/plugins/ValueTypes/Guidelines/GuidelinesTeachMeRenderer.d.ts.map +0 -1
  883. package/dist/types/plugins/ValueTypes/RadioTrafficLearning/RadioTrafficLearningRenderer.d.ts +0 -5
  884. package/dist/types/plugins/ValueTypes/RadioTrafficLearning/RadioTrafficLearningRenderer.d.ts.map +0 -1
  885. package/dist/types/schema-driven/BPARenderer.d.ts +0 -14
  886. package/dist/types/schema-driven/BPARenderer.d.ts.map +0 -1
  887. package/dist/types/schema-driven/FallbackField.d.ts +0 -13
  888. package/dist/types/schema-driven/FallbackField.d.ts.map +0 -1
  889. package/dist/types/schema-driven/components/ConditionSectionField.d.ts +0 -3
  890. package/dist/types/schema-driven/components/ConditionSectionField.d.ts.map +0 -1
  891. package/dist/types/schema-driven/components/ConfigSectionField.d.ts +0 -3
  892. package/dist/types/schema-driven/components/ConfigSectionField.d.ts.map +0 -1
  893. package/dist/types/schema-driven/components/DropdownSectionField.d.ts +0 -3
  894. package/dist/types/schema-driven/components/DropdownSectionField.d.ts.map +0 -1
  895. package/dist/types/schema-driven/components/GlobalSetupAccordionField.d.ts +0 -3
  896. package/dist/types/schema-driven/components/GlobalSetupAccordionField.d.ts.map +0 -1
  897. package/dist/types/schema-driven/components/GroupEditRow.d.ts +0 -3
  898. package/dist/types/schema-driven/components/GroupEditRow.d.ts.map +0 -1
  899. package/dist/types/schema-driven/components/PromptTextEditorField.d.ts +0 -3
  900. package/dist/types/schema-driven/components/PromptTextEditorField.d.ts.map +0 -1
  901. package/dist/types/schema-driven/components/ScopeSectionField.d.ts +0 -3
  902. package/dist/types/schema-driven/components/ScopeSectionField.d.ts.map +0 -1
  903. package/dist/types/schema-driven/components/TextInputField.d.ts +0 -3
  904. package/dist/types/schema-driven/components/TextInputField.d.ts.map +0 -1
  905. package/dist/types/schema-driven/components/VariantListField.d.ts +0 -3
  906. package/dist/types/schema-driven/components/VariantListField.d.ts.map +0 -1
  907. package/dist/types/schema-driven/demoSchema.d.ts +0 -13
  908. package/dist/types/schema-driven/demoSchema.d.ts.map +0 -1
  909. package/dist/types/schema-driven/hooks/useParentEditEnabled.d.ts +0 -18
  910. package/dist/types/schema-driven/hooks/useParentEditEnabled.d.ts.map +0 -1
  911. package/dist/types/schema-driven/hooks/useSectionEditSession.d.ts +0 -34
  912. package/dist/types/schema-driven/hooks/useSectionEditSession.d.ts.map +0 -1
  913. package/dist/types/schema-driven/primitives/Accordion.d.ts +0 -21
  914. package/dist/types/schema-driven/primitives/Accordion.d.ts.map +0 -1
  915. package/dist/types/schema-driven/store/useDynamicFormStore.d.ts +0 -28
  916. package/dist/types/schema-driven/store/useDynamicFormStore.d.ts.map +0 -1
  917. package/dist/types/schema-driven/types.d.ts +0 -81
  918. package/dist/types/schema-driven/types.d.ts.map +0 -1
  919. package/dist/types/schema-driven/utils/PayloadUtils.d.ts +0 -82
  920. package/dist/types/schema-driven/utils/PayloadUtils.d.ts.map +0 -1
  921. package/dist/types/schema-driven/utils/aiReasoning.d.ts +0 -5
  922. package/dist/types/schema-driven/utils/aiReasoning.d.ts.map +0 -1
  923. package/dist/types/schema-driven/utils/conditionText.d.ts +0 -8
  924. package/dist/types/schema-driven/utils/conditionText.d.ts.map +0 -1
  925. package/dist/types/schema-driven/utils/editLock.d.ts +0 -39
  926. package/dist/types/schema-driven/utils/editLock.d.ts.map +0 -1
  927. package/dist/types/service/API.d.ts +0 -6
  928. package/dist/types/service/API.d.ts.map +0 -1
  929. package/dist/types/service/DataService.d.ts +0 -73
  930. package/dist/types/service/DataService.d.ts.map +0 -1
  931. package/dist/types/service/GoogleFilePickerService.d.ts +0 -61
  932. package/dist/types/service/GoogleFilePickerService.d.ts.map +0 -1
  933. package/dist/types/service/InstantLearningService.d.ts +0 -20
  934. package/dist/types/service/InstantLearningService.d.ts.map +0 -1
  935. package/dist/types/service/JavascriptFileService.d.ts +0 -4
  936. package/dist/types/service/JavascriptFileService.d.ts.map +0 -1
  937. package/dist/types/service/ModelService.d.ts +0 -68
  938. package/dist/types/service/ModelService.d.ts.map +0 -1
  939. package/dist/types/service/ProjectService.d.ts +0 -16
  940. package/dist/types/service/ProjectService.d.ts.map +0 -1
  941. package/dist/types/service/SavedDataSetService.d.ts +0 -22
  942. package/dist/types/service/SavedDataSetService.d.ts.map +0 -1
  943. package/dist/types/service/constants.d.ts +0 -3
  944. package/dist/types/service/constants.d.ts.map +0 -1
  945. package/dist/types/service/envHelperService.d.ts +0 -5
  946. package/dist/types/service/envHelperService.d.ts.map +0 -1
  947. package/dist/types/service/variableHelperService.d.ts +0 -6
  948. package/dist/types/service/variableHelperService.d.ts.map +0 -1
  949. package/dist/types/shims/react-dom-shim.d.ts +0 -17
  950. package/dist/types/shims/react-dom-shim.d.ts.map +0 -1
  951. package/dist/types/src/ThinkingBulbIconComponent.d.ts +0 -4
  952. package/dist/types/src/ThinkingBulbIconComponent.d.ts.map +0 -1
  953. package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.d.ts +0 -10
  954. package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.d.ts.map +0 -1
  955. package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.styles.d.ts +0 -6
  956. package/dist/types/src/features/LSCGuidelinesCart/Cart/Cart.styles.d.ts.map +0 -1
  957. package/dist/types/src/features/LSCGuidelinesCart/GuidelineCard.d.ts +0 -11
  958. package/dist/types/src/features/LSCGuidelinesCart/GuidelineCard.d.ts.map +0 -1
  959. package/dist/types/src/features/LSCGuidelinesCart/GuidelineCard.styles.d.ts +0 -6
  960. package/dist/types/src/features/LSCGuidelinesCart/GuidelineCard.styles.d.ts.map +0 -1
  961. package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.d.ts +0 -16
  962. package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.d.ts.map +0 -1
  963. package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.d.ts +0 -6
  964. package/dist/types/src/features/LSCGuidelinesCart/GuidelinesLandingPage.styles.d.ts.map +0 -1
  965. package/dist/types/src/features/LSCGuidelinesCart/LearningManagementWrapper.d.ts +0 -19
  966. package/dist/types/src/features/LSCGuidelinesCart/LearningManagementWrapper.d.ts.map +0 -1
  967. package/dist/types/src/features/LSCGuidelinesCart/api.d.ts +0 -4
  968. package/dist/types/src/features/LSCGuidelinesCart/api.d.ts.map +0 -1
  969. package/dist/types/src/features/LSCGuidelinesCart/endpoints.d.ts +0 -5
  970. package/dist/types/src/features/LSCGuidelinesCart/endpoints.d.ts.map +0 -1
  971. package/dist/types/src/features/LSCGuidelinesCart/interfacesApi.d.ts +0 -25
  972. package/dist/types/src/features/LSCGuidelinesCart/interfacesApi.d.ts.map +0 -1
  973. package/dist/types/src/features/LSCGuidelinesCart/transformSelectedGuidelineData.d.ts +0 -18
  974. package/dist/types/src/features/LSCGuidelinesCart/transformSelectedGuidelineData.d.ts.map +0 -1
  975. package/dist/types/src/routes/ErrorBoundary.d.ts +0 -22
  976. package/dist/types/src/routes/ErrorBoundary.d.ts.map +0 -1
  977. package/dist/types/src/routes/Routes.d.ts +0 -3
  978. package/dist/types/src/routes/Routes.d.ts.map +0 -1
  979. package/dist/types/theme.d.ts +0 -4
  980. package/dist/types/theme.d.ts.map +0 -1
  981. package/dist/types/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +0 -23
  982. package/dist/types/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +0 -1
  983. package/dist/types/userProvidedConfig.d.ts +0 -8
  984. package/dist/types/userProvidedConfig.d.ts.map +0 -1
  985. package/dist/types/utils/CustomSkeleton.d.ts +0 -3
  986. package/dist/types/utils/CustomSkeleton.d.ts.map +0 -1
  987. package/dist/types/utils/SkeletonLoader.d.ts +0 -8
  988. package/dist/types/utils/SkeletonLoader.d.ts.map +0 -1
  989. package/dist/types/utils/agentGenieAPI.d.ts +0 -21
  990. package/dist/types/utils/agentGenieAPI.d.ts.map +0 -1
  991. package/dist/types/utils/api.d.ts +0 -2
  992. package/dist/types/utils/api.d.ts.map +0 -1
  993. package/dist/types/utils/bookGenieAPI.d.ts +0 -14
  994. package/dist/types/utils/bookGenieAPI.d.ts.map +0 -1
  995. package/dist/types/utils/codeCitations.utils.d.ts +0 -2
  996. package/dist/types/utils/codeCitations.utils.d.ts.map +0 -1
  997. package/dist/types/utils/colors.d.ts +0 -5
  998. package/dist/types/utils/colors.d.ts.map +0 -1
  999. package/dist/types/utils/date.d.ts +0 -8
  1000. package/dist/types/utils/date.d.ts.map +0 -1
  1001. package/dist/types/utils/helperFunctions.d.ts +0 -2
  1002. package/dist/types/utils/helperFunctions.d.ts.map +0 -1
  1003. package/dist/types/utils/instantLearning.utils.d.ts +0 -3
  1004. package/dist/types/utils/instantLearning.utils.d.ts.map +0 -1
  1005. package/dist/types/utils/instantLearningAPI.d.ts +0 -21
  1006. package/dist/types/utils/instantLearningAPI.d.ts.map +0 -1
  1007. package/dist/types/utils/payloadParsers.d.ts +0 -16
  1008. package/dist/types/utils/payloadParsers.d.ts.map +0 -1
  1009. package/dist/types/utils/recommendationParser.d.ts +0 -22
  1010. package/dist/types/utils/recommendationParser.d.ts.map +0 -1
  1011. package/dist/types/utils/regexHelperService.d.ts +0 -9
  1012. package/dist/types/utils/regexHelperService.d.ts.map +0 -1
  1013. package/dist/types/utils/urlQueryParamService.d.ts +0 -2
  1014. package/dist/types/utils/urlQueryParamService.d.ts.map +0 -1
  1015. package/dist/types/utils/variableHelperService.d.ts +0 -7
  1016. package/dist/types/utils/variableHelperService.d.ts.map +0 -1
  1017. package/dist/types/utils/variantParser.d.ts +0 -14
  1018. package/dist/types/utils/variantParser.d.ts.map +0 -1
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsxs as t,jsx as i}from"react/jsx-runtime";import{useMemo as n}from"react";import a from"../../../features/LearningManagement/components/InstantLearningModal.js";import o from"../../../features/LearningManagement/components/InstantLearningModalDynamic.js";import{useTeachMeConfigStore as r,dtt as l,dttWelcomeMessageParts as s,dt as p,dttValue as c,resolveEnableChatLogs as d}from"../../../features/LearningManagement/store/useLMSConfigStore.js";import u from"react-markdown";import{renderToStaticMarkup as m}from"react-dom/server";import{resolveRegistryComponent as g}from"../../../ComponentRegistry.js";import{useLearningTemplateStore as f}from"../../../features/LearningManagement/store/useLearningTemplateStore.js";var h=function(h){var T,L,b=h.pluginPayload||{},v=b.flow,I=b.editingRule,M=b.editingTier,y=b.editingVariants,w=b.focusedVariantIndex,A=b.setFocusedVariantIndex,S=b.triggerAddVariant,C=b.triggerFixGaps,D=b.isDraftFlow,_=b.triggerValidateMessage,P=b.copiedRule,x=b.copiedSourceTier,V=b.copiedTargetTier,F=b.initialDraftMessage,N=b.postSaveCallback,R=b.modeId,E=b.mode,W=b.is_publishing,B=h.app_integration_id,O=h.content_mode_mapping_id,j="instruction_prompt",k=r(function(e){return e.teachMeConfig});console.log("teachMeConfig:",k);var G=l("learningMetadataComponents.properties.instruction_prompt.bpa_ui_component",""),J=f(function(e){var t;return null!==(t=e.learningMetadata[j])&&void 0!==t?t:""}),z=f(function(e){return e.setLearningMetadataField}),H=n(function(){return g(G)},[G]),q=s(),K=q.greeting,Q=q.subtitle,U=q.actions,X=m(t("p",{children:[i("span",{children:K}),i("div",{style:{marginTop:"8px"}}),i(u,{children:Q}),i("div",{style:{marginTop:"8px"}}),i("span",e({className:"clickable-button-group"},{children:U.map(function(t){var n=t.label,a=t.value;return i("button",e({className:"clickable-button","data-value":a},{children:n}),n)})}))]})),Y=(null===(T=h.pluginPayload)||void 0===T?void 0:T.dynamicOptions)||{},Z=(null===(L=h.pluginPayload)||void 0===L?void 0:L.prefilledData)||{},$={showScope:!1,showConfiguration:!1,welcomeMessage:l("welcomeMessage","Hi! 👋 I'm your Instant Learning Concierge."),formTitle:l("formTitle","Rule setup"),setupLabel:l("setupLabel","Configure your IL"),ruleTitle:l("ruleTitle","Main Rule Name"),ruleTitleInformation:l("ruleTitleInformation","Give a concise title which isn't too specific"),scopeLabel:l("scopeLabel","Define Scope"),tierLabel:l("tierLabel","Select Tiers"),variantPillLabel:l("variantPillLabel","Variant"),ruleDescriptionTitle:l("ruleDescriptionTitle","Learning Explanation"),ruleDescriptionInformation:l("ruleDescriptionInformation","A short summary of the intent of the learning"),promptDescriptionInformation:l("promptDescriptionInformation","Provides the detailed instructions the AI should follow"),wtaInformation:l("wtaInformation","Specifies the use case when the learning should be used"),wntaInformation:l("wntaInformation","Specifies the use case when the learning should not be used"),whenToApplyTitle:l("whenToApplyTitle","Trigger Events (When to Apply)"),addWhenToApplyBtnLabel:l("addWhenToApplyBtnLabel","Add WTA"),whenNotToApplyTitle:l("whenNotToApplyTitle","Exclusion Events (When NOT to Apply)"),addWhenNotToApplyBtnLabel:l("addWhenNotToApplyBtnLabel","Add WNTA"),configTitle:l("configTitle","Advanced Settings"),saveBtnConfig:{label:l("saveBtnLabel","Save Rule"),loadingLabel:l("saveBtnLoadingLabel","Saving Rule...")},chatTitle:l("chatTitle","Teach Me OTJ - {scope} - Add Learning"),chatTitleEdit:l("chatTitleEdit","Teach Me OTJ - {scope} - Edit Learning"),chatTextareaPlaceholder:l("chatTextareaPlaceholder","Tell me more about this learning.."),LearningTerm:p("agents.LearningTerm","Learnings"),LazyPromptEditor:H,instructionPrompt:J,setInstructionPrompt:function(e){return z(j,e)},instructionPromptTitle:l("learningMetadataComponents.properties.instruction_prompt.title","Instruction Prompt"),instructionPromptDescription:l("learningMetadataComponents.properties.instruction_prompt.description",l("promptDescriptionInformation","Provides the detailed instructions the AI should follow")),instructionPromptViewToggle:c("learningMetadataComponents.properties.instruction_prompt.bpa_ui_view_toggle",!1)},ee={dynamicOptions:Y,prefilledData:Z},te=h.useDynamicForm||!0===(null==k?void 0:k.useDynamicForm)?o:a,ie=d(h.enableChatLogs);return i(te,{isOpen:h.isOpen,onClose:h.onClose,initialScope:h.initialScope,ruleSet:h.ruleSet,flow:v,editingRule:I,editingTier:M,editingVariants:y,focusedVariantIndex:w,setFocusedVariantIndex:A,triggerAddVariant:S,triggerFixGaps:C,isDraftFlow:D,triggerValidateMessage:_,copiedRule:P,copiedSourceTier:x,copiedTargetTier:V,initialDraftMessage:F,postSaveCallback:N,initialChatMessage:X,applicationIntegrationId:null!=B?B:"",contentModeMappingId:O,modeId:R,mode:E,is_publishing:W,uiStateLabels:$,dynamicFormConfig:ee,enableChatLogs:ie,customSections:null})};export{h as default};
1
+ import{__assign as e}from"tslib";import{jsxs as t,jsx as n}from"react/jsx-runtime";import{useMemo as i}from"react";import a from"../../../features/LearningManagement/components/InstantLearningModal.js";import o from"../../../features/LearningManagement/components/InstantLearningModalDynamic.js";import{useTeachMeConfigStore as r,dtt as l,dttWelcomeMessageParts as s,dt as p,dttValue as c,resolveEnableChatLogs as d}from"../../../features/LearningManagement/store/useLMSConfigStore.js";import u from"react-markdown";import{renderToStaticMarkup as g}from"react-dom/server";import{resolveRegistryComponent as m}from"../../../ComponentRegistry.js";import{useLearningTemplateStore as f}from"../../../features/LearningManagement/store/useLearningTemplateStore.js";var h=function(h){var T,L,b=h.pluginPayload||{},v=b.flow,I=b.editingRule,M=b.editingTier,y=b.editingVariants,w=b.focusedVariantIndex,A=b.setFocusedVariantIndex,S=b.triggerAddVariant,C=b.triggerFixGaps,_=b.isDraftFlow,D=b.triggerValidateMessage,P=b.copiedRule,x=b.copiedSourceTier,V=b.copiedTargetTier,F=b.initialDraftMessage,N=b.postSaveCallback,R=b.modeId,E=b.mode,W=b.is_publishing,B=b.instant_learning_id,O=h.app_integration_id,j=h.content_mode_mapping_id,k="instruction_prompt",G=r(function(e){return e.teachMeConfig});console.log("teachMeConfig:",G);var J=l("learningMetadataComponents.properties.instruction_prompt.bpa_ui_component",""),z=f(function(e){var t;return null!==(t=e.learningMetadata[k])&&void 0!==t?t:""}),H=f(function(e){return e.setLearningMetadataField}),q=i(function(){return m(J)},[J]),K=s(),Q=K.greeting,U=K.subtitle,X=K.actions,Y=g(t("p",{children:[n("span",{children:Q}),n("div",{style:{marginTop:"8px"}}),n(u,{children:U}),n("div",{style:{marginTop:"8px"}}),n("span",e({className:"clickable-button-group"},{children:X.map(function(t){var i=t.label,a=t.value;return n("button",e({className:"clickable-button","data-value":a},{children:i}),i)})}))]})),Z=(null===(T=h.pluginPayload)||void 0===T?void 0:T.dynamicOptions)||{},$=(null===(L=h.pluginPayload)||void 0===L?void 0:L.prefilledData)||{},ee={showScope:!1,showConfiguration:!1,welcomeMessage:l("welcomeMessage","Hi! 👋 I'm your Instant Learning Concierge."),formTitle:l("formTitle","Rule setup"),setupLabel:l("setupLabel","Configure your IL"),ruleTitle:l("ruleTitle","Main Rule Name"),ruleTitleInformation:l("ruleTitleInformation","Give a concise title which isn't too specific"),scopeLabel:l("scopeLabel","Define Scope"),tierLabel:l("tierLabel","Select Tiers"),variantPillLabel:l("variantPillLabel","Variant"),ruleDescriptionTitle:l("ruleDescriptionTitle","Learning Explanation"),ruleDescriptionInformation:l("ruleDescriptionInformation","A short summary of the intent of the learning"),promptDescriptionInformation:l("promptDescriptionInformation","Provides the detailed instructions the AI should follow"),wtaInformation:l("wtaInformation","Specifies the use case when the learning should be used"),wntaInformation:l("wntaInformation","Specifies the use case when the learning should not be used"),whenToApplyTitle:l("whenToApplyTitle","Trigger Events (When to Apply)"),addWhenToApplyBtnLabel:l("addWhenToApplyBtnLabel","Add WTA"),whenNotToApplyTitle:l("whenNotToApplyTitle","Exclusion Events (When NOT to Apply)"),addWhenNotToApplyBtnLabel:l("addWhenNotToApplyBtnLabel","Add WNTA"),configTitle:l("configTitle","Advanced Settings"),saveBtnConfig:{label:l("saveBtnLabel","Save Rule"),loadingLabel:l("saveBtnLoadingLabel","Saving Rule...")},chatTitle:l("chatTitle","Teach Me OTJ - {scope} - Add Learning"),chatTitleEdit:l("chatTitleEdit","Teach Me OTJ - {scope} - Edit Learning"),chatTextareaPlaceholder:l("chatTextareaPlaceholder","Tell me more about this learning.."),LearningTerm:p("agents.LearningTerm","Learnings"),LazyPromptEditor:q,instructionPrompt:z,setInstructionPrompt:function(e){return H(k,e)},instructionPromptTitle:l("learningMetadataComponents.properties.instruction_prompt.title","Instruction Prompt"),instructionPromptDescription:l("learningMetadataComponents.properties.instruction_prompt.description",l("promptDescriptionInformation","Provides the detailed instructions the AI should follow")),instructionPromptViewToggle:c("learningMetadataComponents.properties.instruction_prompt.bpa_ui_view_toggle",!1)},te={dynamicOptions:Z,prefilledData:$},ne=h.useDynamicForm||!0===(null==G?void 0:G.useDynamicForm)?o:a,ie=d(h.enableChatLogs);return n(ne,{isOpen:h.isOpen,onClose:h.onClose,initialScope:h.initialScope,ruleSet:h.ruleSet,flow:v,editingRule:I,editingTier:M,editingVariants:y,focusedVariantIndex:w,setFocusedVariantIndex:A,triggerAddVariant:S,triggerFixGaps:C,isDraftFlow:_,triggerValidateMessage:D,copiedRule:P,copiedSourceTier:x,copiedTargetTier:V,initialDraftMessage:F,postSaveCallback:N,initialChatMessage:Y,applicationIntegrationId:null!=O?O:"",contentModeMappingId:j,instantLearningId:null!=B?B:null,modeId:R,mode:E,is_publishing:W,uiStateLabels:ee,dynamicFormConfig:te,enableChatLogs:ie,customSections:null})};export{h as default};
2
2
  //# sourceMappingURL=DefaultTeachMeRenderer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PublishToMarketplaceCompnent.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EAGlB,MAAM,8BAA8B,CAAC;AAqBtC,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,EAKpD,CAAC;AAYF,MAAM,WAAW,kCAAkC;IACjD,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK,IAAI,CAAC;IACrE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,0BAA0B,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gEAAgE;IAChE,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4BAA4B,EAAE,MAAM,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAubD,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,kCAAkC,+BAMtF"}
1
+ {"version":3,"file":"PublishToMarketplaceCompnent.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/IL-marketplace/components/ILMarketPlacePublish/PublishToMarketplaceCompnent.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EAGlB,MAAM,8BAA8B,CAAC;AAyBtC,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,EAKpD,CAAC;AAYF,MAAM,WAAW,kCAAkC;IACjD,KAAK,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC;;;;OAIG;IACH,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,sBAAsB,CAAC,KAAK,IAAI,CAAC;IACrE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,0BAA0B,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gEAAgE;IAChE,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4BAA4B,EAAE,MAAM,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAseD,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,kCAAkC,+BAMtF"}
@@ -40,6 +40,17 @@ export interface ContentTypeData {
40
40
  };
41
41
  }
42
42
  export type MarketplaceDomainsResponse = StandardAPIResponse<MarketplaceDomainsData>;
43
+ /** Tiers are application-mapping scoped, including for marketplace TeachMe. */
44
+ export interface MarketplaceTier {
45
+ id: string;
46
+ tier_title: string;
47
+ tier_priority: number | null;
48
+ }
49
+ export interface MarketplaceTiersData {
50
+ status: string;
51
+ data: MarketplaceTier[];
52
+ }
53
+ export type MarketplaceTiersResponse = StandardAPIResponse<MarketplaceTiersData>;
43
54
  export type ContentTypesResponse = StandardAPIResponse<ContentTypeData>;
44
55
  export interface MarketplaceInstanceVersionData {
45
56
  data: {
@@ -77,6 +88,12 @@ export declare const fetchMarketplacePublishILKBData: (ilInstanceApplicationMapp
77
88
  */
78
89
  export declare const fetchInstanceScopeTree: (ilInstanceApplicationMappingId: string, authToken?: string, baseUrl?: string) => Promise<MarketplaceDomainsResponse>;
79
90
  export declare const fetchMarketplaceDomains: (applicationMappingId: string, authToken?: string, baseUrl?: string, params?: Pick<MarketplaceQueryParams, "content_mode_mapping_id">) => Promise<MarketplaceDomainsResponse>;
91
+ /**
92
+ * Loads the tier set belonging to a marketplace application mapping.
93
+ * Keep this separate from the store-backed LMS `fetchTiers`: publishing may
94
+ * follow another application's TeachMe session, whose tiers must not be reused.
95
+ */
96
+ export declare const fetchMarketplaceTiers: (applicationMappingId: string, authToken?: string, baseUrl?: string) => Promise<MarketplaceTiersResponse>;
80
97
  export interface CreateMarketplaceDomainPayload {
81
98
  topic: string;
82
99
  scope_reference_id: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"IL-marketplace.api.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/services/IL-marketplace.api.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"IL-marketplace.api.d.ts","sourceRoot":"","sources":["../../../../../../src/features/IL-marketplace/services/IL-marketplace.api.ts"],"names":[],"mappings":"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"}
@@ -35,6 +35,8 @@ interface InstantLearningModalProps {
35
35
  applicationIntegrationId: string;
36
36
  /** Marketplace content-mode mapping forwarded to the graphql customMetadata. */
37
37
  contentModeMappingId?: string;
38
+ /** Source template ID supplied by marketplace publishing; null for other Teach Me flows. */
39
+ instantLearningId?: string | null;
38
40
  modeId: string;
39
41
  uiStateLabels?: any;
40
42
  customSections?: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"InstantLearningModal.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/components/InstantLearningModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAqCjF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAWpE,OAAO,EAAE,mBAAmB,EAAqB,MAAM,uBAAuB,CAAC;AAoB/E,UAAU,yBAAyB;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACpC,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,qEAAqE;IACrE,eAAe,CAAC,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACvC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAClC,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,sBAAsB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAC7E,6FAA6F;IAC7F,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wBAAwB,EAAE,MAAM,CAAC;IACjC,gFAAgF;IAChF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAC,GAAG,CAAC;IACnB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,iFAAiF;IACjF,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAoBD;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAS,MAAM,GAAG,GAAG,WAMhD,CAAC;AAwJF,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAu/O7D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"InstantLearningModal.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/components/InstantLearningModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAqCjF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAWpE,OAAO,EAAE,mBAAmB,EAAqB,MAAM,uBAAuB,CAAC;AAoB/E,UAAU,yBAAyB;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACpC,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,qEAAqE;IACrE,eAAe,CAAC,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACvC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAClC,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,sBAAsB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAC7E,6FAA6F;IAC7F,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wBAAwB,EAAE,MAAM,CAAC;IACjC,gFAAgF;IAChF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4FAA4F;IAC5F,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAC,GAAG,CAAC;IACnB,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,iFAAiF;IACjF,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAoBD;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAS,MAAM,GAAG,GAAG,WAMhD,CAAC;AAwJF,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA4/O7D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -38,6 +38,8 @@ interface InstantLearningModalProps {
38
38
  applicationIntegrationId: string;
39
39
  /** Marketplace content-mode mapping forwarded to the graphql customMetadata. */
40
40
  contentModeMappingId?: string;
41
+ /** Source template ID supplied by marketplace publishing; null for other Teach Me flows. */
42
+ instantLearningId?: string | null;
41
43
  modeId: string;
42
44
  uiStateLabels?: any;
43
45
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"InstantLearningModalDynamic.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/components/InstantLearningModalDynamic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAkCjF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAMhF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAWpE,OAAO,EAAE,mBAAmB,EAAqB,MAAM,uBAAuB,CAAC;AAuB/E,UAAU,yBAAyB;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACpC,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,qEAAqE;IACrE,eAAe,CAAC,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACvC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAClC,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,sBAAsB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAC7E,6FAA6F;IAC7F,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uFAAuF;IACvF,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,UAAU,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wBAAwB,EAAE,MAAM,CAAC;IACjC,gFAAgF;IAChF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAC,GAAG,CAAC;IACnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE;QAClB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACrC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KACrC,CAAC;IACF,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,iFAAiF;IACjF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,qFAAqF;IACrF,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAoBD;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAS,MAAM,GAAG,GAAG,WAMhD,CAAC;AA6MF,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CA6jPpE,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
1
+ {"version":3,"file":"InstantLearningModalDynamic.d.ts","sourceRoot":"","sources":["../../../../../../src/features/LearningManagement/components/InstantLearningModalDynamic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAkCjF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAMhF,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAWpE,OAAO,EAAE,mBAAmB,EAAqB,MAAM,uBAAuB,CAAC;AAuB/E,UAAU,yBAAyB;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,+EAA+E;IAC/E,WAAW,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACpC,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,qEAAqE;IACrE,eAAe,CAAC,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC;IACvC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAClC,iFAAiF;IACjF,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,sBAAsB,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IAC7E,6FAA6F;IAC7F,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uFAAuF;IACvF,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,UAAU,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wBAAwB,EAAE,MAAM,CAAC;IACjC,gFAAgF;IAChF,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4FAA4F;IAC5F,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAC,GAAG,CAAC;IACnB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE;QAClB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QACrC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KACrC,CAAC;IACF,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,iFAAiF;IACjF,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,qFAAqF;IACrF,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAoBD;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAS,MAAM,GAAG,GAAG,WAMhD,CAAC;AA6MF,QAAA,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAokPpE,CAAC;AAEF,eAAe,2BAA2B,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,sBA2LzD,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;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,sBA6LzD,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.277",
3
+ "version": "1.3.0-alpha.279",
4
4
  "author": "Devesh Patel",
5
5
  "description": "",
6
6
  "license": "MIT",
Binary file
Binary file
@@ -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 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});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),s=require("lucide-react"),i=require("./Cart.styles.js");function r(e){try{var t=new Date(e),n=t.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"}),s=t.toLocaleDateString("en-GB").replace(/\//g,"/");return"Added on - ".concat(n," | ").concat(s)}catch(t){return e}}function a(a){var l=a.items,d=a.onRemove,c=a.onProceed,u=n.useState(new Set),o=u[0],_=u[1];n.useEffect(function(){1!==l.length?_(function(t){var n=new Set(l.map(function(e){return e.instant_learning_id})),s=new Set(e.__spreadArray([],t,!0).filter(function(e){return n.has(e)}));return s.size===t.size?t:s}):_(new Set([l[0].instant_learning_id]))},[l]);var f=l.filter(function(e){return o.has(e.instant_learning_id)});return t.jsxs("section",e.__assign({style:i.default.cartSection},{children:[t.jsxs("div",e.__assign({style:i.default.cartHeaderRow},{children:[t.jsx("p",e.__assign({style:i.default.cartTitle},{children:"Guideline Cart"})),t.jsxs("span",e.__assign({style:i.default.cartBadge},{children:[l.length," Added"]}))]})),t.jsx("p",e.__assign({style:i.default.cartDescription},{children:l.length>1?"Click items to select them for this session":"Selected for this session"})),t.jsx("div",e.__assign({style:i.default.cartBody},{children:t.jsx("div",e.__assign({style:i.default.cartList},{children:0===l.length?t.jsx("div",e.__assign({style:i.default.emptyState},{children:"No guidelines added yet"})):l.map(function(n){var a=o.has(n.instant_learning_id);return t.jsxs("div",e.__assign({style:a?i.default.cartItemSelected:i.default.cartItem,onClick:function(){return e=n.instant_learning_id,void _(function(t){var n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n});var e}},{children:[t.jsxs("div",e.__assign({style:i.default.cartItemTop},{children:[t.jsxs("div",e.__assign({style:i.default.cartItemTopLeft},{children:[t.jsx("span",e.__assign({style:a?i.default.cartCheckbox:i.default.cartCheckboxEmpty},{children:a&&t.jsx(s.Check,{size:12,strokeWidth:3})})),t.jsx("p",e.__assign({style:i.default.cartItemName},{children:n.instant_learning_title}))]})),t.jsxs("div",e.__assign({style:i.default.cartItemIcons},{children:[t.jsx(s.Eye,{size:16,strokeWidth:2}),t.jsx("button",e.__assign({type:"button",style:i.default.removeBtn,onClick:function(e){return function(e,t){e.stopPropagation(),_(function(e){if(!e.has(t))return e;var n=new Set(e);return n.delete(t),n}),d(t)}(e,n.instant_learning_id)}},{children:t.jsx(s.X,{size:16,strokeWidth:2})}))]}))]})),t.jsx("p",e.__assign({style:i.default.cartItemDescription},{children:n.instant_learning_description})),t.jsx("p",e.__assign({style:i.default.cartItemDate},{children:r(n.created_at)}))]}),n.instant_learning_id)})}))})),t.jsx("button",e.__assign({type:"button",style:f.length>0?i.default.proceedButton:i.default.proceedButtonDisabled,disabled:0===f.length,onClick:function(){return f.length>0&&c(f)}},{children:t.jsxs("span",{children:["Proceed with Selected",f.length>1?" (".concat(f.length,")"):""]})}))]}))}exports.Cart=a,exports.default=a;
2
- //# sourceMappingURL=Cart.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Cart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={cartSection:{display:"flex",width:"100%",flexDirection:"column",borderRadius:12,border:"1px solid #5B2CF4",background:"#F5F1FF",padding:28,fontFamily:"Inter, sans-serif",boxShadow:"0 1px 4px rgba(16,24,40,0.04)"},cartHeaderRow:{display:"flex",alignItems:"center",gap:12},cartTitle:{fontSize:18,fontWeight:700,color:"#1F2937",margin:0},cartBadge:{display:"inline-flex",height:24,alignItems:"center",borderRadius:9999,background:"#EDE7FF",padding:"0 12px",fontSize:12,fontWeight:600,color:"#5B2CF4",whiteSpace:"nowrap"},cartDescription:{marginTop:4,fontSize:13,color:"#667085"},cartBody:{marginTop:24,minHeight:280,flex:"1 1 0%",overflow:"hidden"},cartList:{maxHeight:420,overflowY:"auto",paddingRight:8,display:"flex",flexDirection:"column",gap:16},emptyState:{display:"flex",alignItems:"center",justifyContent:"center",height:120,fontSize:14,color:"#98A2B3"},cartItem:{display:"flex",flexDirection:"column",borderRadius:10,border:"1px solid #EAECF0",background:"#ffffff",padding:16,cursor:"pointer"},cartItemSelected:{display:"flex",flexDirection:"column",borderRadius:10,border:"2px solid #4438F5",background:"#F5F3FF",padding:16,cursor:"pointer"},cartItemTop:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:8},cartItemTopLeft:{display:"flex",alignItems:"center",gap:8,minWidth:0},cartCheckbox:{display:"inline-flex",height:18,width:18,flexShrink:0,alignItems:"center",justifyContent:"center",borderRadius:4,background:"#4438F5",color:"#ffffff"},cartCheckboxEmpty:{display:"inline-flex",height:18,width:18,flexShrink:0,alignItems:"center",justifyContent:"center",borderRadius:4,border:"2px solid #D0D5DD",background:"#ffffff"},cartItemName:{fontSize:14,fontWeight:600,color:"#1F2937",margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},cartItemIcons:{display:"flex",alignItems:"center",gap:10,flexShrink:0,color:"#98A2B3"},cartItemDescription:{marginTop:8,fontSize:13,color:"#667085"},cartItemDate:{marginTop:8,fontSize:12,color:"#98A2B3"},proceedButton:{marginTop:24,display:"inline-flex",height:44,width:"100%",alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,background:"#4438F5",fontSize:15,fontWeight:600,color:"#ffffff",border:"none",boxShadow:"0 1px 2px rgba(16,24,40,0.08)",cursor:"pointer"},proceedButtonDisabled:{marginTop:24,display:"inline-flex",height:44,width:"100%",alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,background:"#C4C9D4",fontSize:15,fontWeight:600,color:"#ffffff",border:"none",cursor:"not-allowed"},removeBtn:{background:"none",border:"none",padding:0,cursor:"pointer",display:"flex",alignItems:"center",color:"#98A2B3"}};
2
- //# sourceMappingURL=Cart.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Cart.styles.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"),s=require("lucide-react"),i=require("./GuidelineCard.styles.js");function n(e){try{var t=new Date(e),s=t.toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit"}),i=t.toLocaleDateString("en-GB").replace(/\//g,"/");return"Added on - ".concat(s," | ").concat(i)}catch(t){return e}}function r(r){var d=r.guideline,l=r.inCart,a=r.onToggleCart,o=r.onExplore;return t.jsxs("div",e.__assign({style:i.default.card},{children:[t.jsxs("div",e.__assign({style:i.default.cardTop},{children:[t.jsxs("div",e.__assign({style:i.default.cardTopLeft},{children:[t.jsx(s.BookOpen,{size:18,strokeWidth:2,color:"#6D5BFF"}),t.jsx("p",e.__assign({style:i.default.cardTitle},{children:d.instant_learning_title}))]})),t.jsxs("div",e.__assign({style:i.default.cardTopIcons},{children:[t.jsx(s.Eye,{size:16,strokeWidth:2}),t.jsx(s.MoreVertical,{size:16,strokeWidth:2}),t.jsx(s.UserCheck,{size:16,strokeWidth:2})]}))]})),t.jsx("p",e.__assign({style:i.default.cardDescription},{children:d.instant_learning_description})),t.jsx("p",e.__assign({style:i.default.cardDate},{children:n(d.created_at)})),t.jsxs("div",e.__assign({style:i.default.cardActionsRow},{children:[t.jsxs("button",e.__assign({type:"button",style:i.default.exploreButton,onClick:function(){return null==o?void 0:o(d)}},{children:[t.jsx(s.Compass,{size:15,strokeWidth:2.4}),t.jsx("span",{children:"Explore"})]})),l?t.jsxs("button",e.__assign({type:"button",style:i.default.cardAddedButton,onClick:function(){return a(d)}},{children:[t.jsx(s.Check,{size:16,strokeWidth:2.4}),t.jsx("span",{children:"Selected"})]})):t.jsxs("button",e.__assign({type:"button",style:i.default.cardAddButton,onClick:function(){return a(d)}},{children:[t.jsx(s.Plus,{size:16,strokeWidth:2.4}),t.jsx("span",{children:"Select"})]}))]}))]}))}exports.GuidelineCard=r,exports.default=r;
2
- //# sourceMappingURL=GuidelineCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GuidelineCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={card:{display:"flex",flexDirection:"column",borderRadius:10,border:"1px solid #EAECF0",background:"#ffffff",padding:20,boxShadow:"0 1px 2px rgba(16,24,40,0.04)"},cardTop:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:8},cardTopLeft:{display:"flex",alignItems:"center",gap:8,minWidth:0},cardTitle:{fontSize:15,fontWeight:600,lineHeight:"24px",color:"#1F2937",margin:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},cardTopIcons:{display:"flex",alignItems:"center",gap:10,flexShrink:0,color:"#98A2B3"},cardDescription:{marginTop:8,fontSize:13,lineHeight:"19px",color:"#667085",overflow:"hidden",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical"},cardDate:{marginTop:12,fontSize:12,color:"#98A2B3"},cardActions:{marginTop:16},cardAddButton:{display:"inline-flex",height:36,flex:1,alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,border:"1px solid #4438F5",background:"#ffffff",fontSize:13,fontWeight:600,color:"#4438F5",cursor:"pointer"},cardAddedButton:{display:"inline-flex",height:36,flex:1,alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,border:"1px solid #EAE7FF",background:"#EDE9FE",fontSize:13,fontWeight:600,color:"#4438F5",cursor:"pointer"},exploreButton:{display:"inline-flex",height:36,flex:1,alignItems:"center",justifyContent:"center",gap:6,borderRadius:6,border:"1px solid #D0D5DD",background:"#ffffff",fontSize:13,fontWeight:600,color:"#344054",cursor:"pointer"},cardActionsRow:{display:"flex",gap:8,marginTop:16}};
2
- //# sourceMappingURL=GuidelineCard.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GuidelineCard.styles.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"),s=require("./api.js"),r=require("./GuidelineCard.js"),a=require("./Cart/Cart.js"),l=require("./LearningManagementWrapper.js"),d=require("./GuidelinesLandingPage.styles.js"),o=require("@mui/material"),u=require("./transformSelectedGuidelineData.js");function c(e,n){var t,i,s,r;return n?null!==(r=null===(s=e.mode_mappings.find(function(e){return e.mode_id===n}))||void 0===s?void 0:s.application_integration_id)&&void 0!==r?r:"":null!==(i=null===(t=e.mode_mappings[0])||void 0===t?void 0:t.application_integration_id)&&void 0!==i?i:""}function _(_){var g=_.baseUrl,h=_.baseWebsocketUrl,p=_.token,f=_.userDetails,x=_.modeId,j=_.assistantName,b=_.appsecRbacUrl,y=_.appsecBaseUrl,m=_.onProceedSelected,v=t.useState([]),C=v[0],k=v[1],S=t.useState(6),w=S[0],z=S[1],A=t.useState([]),W=A[0],I=A[1],q=t.useState(!1),F=q[0],G=q[1],L=t.useState(null),U=L[0],B=L[1],E=t.useState(null),D=E[0],M=E[1],P=t.useState(""),T=P[0],O=P[1],R=t.useState(""),N=R[0],H=R[1];t.useEffect(function(){var e=setTimeout(function(){H(T.trim())},750);return function(){return clearTimeout(e)}},[T]),t.useEffect(function(){z(6)},[N]),t.useEffect(function(){G(!0),B(null),s.fetchGuidelineInstances(g,p).then(function(e){k(e.data)}).catch(function(e){return B(e.message)}).finally(function(){return G(!1)})},[g,p]);var K=new Set(W.map(function(e){return e.instant_learning_id}));function J(e){I(function(n){return n.some(function(n){return n.instant_learning_id===e.instant_learning_id})?n.filter(function(n){return n.instant_learning_id!==e.instant_learning_id}):[e]})}var Q=N.length>=2?C.filter(function(e){var n,t,i=N.toLowerCase();return(null===(n=e.instant_learning_title)||void 0===n?void 0:n.toLowerCase().includes(i))||(null===(t=e.instant_learning_description)||void 0===t?void 0:t.toLowerCase().includes(i))}):C,V=Q.slice(0,w),X=Q.length-w,Y=w>6;return n.jsx("div",e.__assign({style:d.default.page},{children:n.jsxs("main",e.__assign({style:d.default.main},{children:[n.jsxs("section",e.__assign({style:d.default.headerSection},{children:[n.jsxs("div",e.__assign({style:d.default.intro},{children:[n.jsx("h1",e.__assign({style:d.default.title},{children:"Add Guidelines"})),n.jsx("p",e.__assign({style:d.default.description},{children:"Add guidelines that shape how your agent behaves, responds, and interprets."})),n.jsxs("button",e.__assign({type:"button",style:d.default.debugLink},{children:[n.jsx("span",{children:"Know more about debug mode"}),n.jsx(i.CircleHelp,{size:18,strokeWidth:2})]}))]})),n.jsxs("button",e.__assign({type:"button",style:d.default.addButton},{children:[n.jsx(i.Plus,{size:20,strokeWidth:2.4}),n.jsx("span",{children:"Add Guideline"})]}))]})),n.jsxs("section",e.__assign({style:d.default.bodySection},{children:[n.jsxs("section",e.__assign({style:d.default.librarySection},{children:[n.jsxs("div",e.__assign({style:d.default.libraryTabs},{children:[n.jsxs("button",e.__assign({type:"button",style:e.__assign(e.__assign({},d.default.tab),d.default.tabActive)},{children:[n.jsx(i.UserCheck,{size:18,strokeWidth:2}),n.jsx("span",{children:"Saved"})]})),n.jsxs("button",e.__assign({type:"button",style:d.default.tab},{children:[n.jsx(i.Clock3,{size:18,strokeWidth:2}),n.jsx("span",{children:"Recently used"})]})),n.jsxs("button",e.__assign({type:"button",style:d.default.tab},{children:[n.jsx(i.ShoppingBag,{size:18,strokeWidth:2}),n.jsx("span",{children:"Marketplace"})]}))]})),!D&&n.jsx("div",e.__assign({style:{position:"sticky",top:0,zIndex:10,backgroundColor:"#FFFFFF",paddingTop:12,backdropFilter:"blur(8px)"}},{children:n.jsx(o.OutlinedInput,{placeholder:"Search Guideline",value:T,onChange:function(e){return O(e.target.value)},size:"small",startAdornment:n.jsx(o.InputAdornment,e.__assign({position:"start"},{children:n.jsx(i.Search,{size:16,color:"#9CA3AF"})})),sx:{width:"280px",borderRadius:"8px",fontSize:"14px","& .MuiOutlinedInput-notchedOutline":{borderColor:"#E5E7EB"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"#D1D5DB"},bgcolor:"#fff"}})})),D?n.jsx(l.LearningManagementWrapper,{userDetails:f,baseUrl:g,baseWebsocketUrl:h,assistantName:j,appsecRbacUrl:b,appsecBaseUrl:y,appIntegrationId:c(D,x),modeId:x,guidelineTitle:D.instant_learning_title,onBack:function(){return M(null)},headerActions:K.has(D.instant_learning_id)?n.jsxs("button",e.__assign({type:"button",style:d.default.cardAddedButton,onClick:function(){return J(D)}},{children:[n.jsx(i.Check,{size:16,strokeWidth:2.4}),n.jsx("span",{children:"Added to Cart"})]})):n.jsxs("button",e.__assign({type:"button",style:d.default.cardAddButton,onClick:function(){return J(D)}},{children:[n.jsx(i.Plus,{size:16,strokeWidth:2.4}),n.jsx("span",{children:"Add to Cart"})]}))}):n.jsxs(n.Fragment,{children:[F&&n.jsx("p",e.__assign({style:d.default.loadingState},{children:"Loading guidelines..."})),U&&n.jsxs("p",e.__assign({style:d.default.errorState},{children:["Error: ",U]})),!F&&!U&&n.jsx(n.Fragment,{children:0===Q.length?n.jsx("p",e.__assign({style:d.default.loadingState},{children:N.length>=2?"No guidelines match your search.":"No guidelines found."})):n.jsxs(n.Fragment,{children:[n.jsx("div",e.__assign({style:d.default.libraryGrid},{children:V.map(function(e){return n.jsx(r.GuidelineCard,{guideline:e,inCart:K.has(e.instant_learning_id),onToggleCart:J,onExplore:M},e.instant_learning_id)})})),n.jsxs("div",e.__assign({style:{display:"flex",alignItems:"center",gap:16}},{children:[X>0&&n.jsxs("button",e.__assign({type:"button",style:d.default.showMore,onClick:function(){return z(function(e){return e+6})}},{children:[n.jsxs("span",{children:["Show more guidelines (",X,")"]}),n.jsx(i.ChevronDown,{size:16,strokeWidth:2.4})]})),Y&&n.jsxs("button",e.__assign({type:"button",style:d.default.showMore,onClick:function(){return z(6)}},{children:[n.jsx("span",{children:"Hide"}),n.jsx(i.ChevronUp,{size:16,strokeWidth:2.4})]}))]}))]})})]})]})),n.jsx(a.Cart,{items:W,onRemove:function(e){I(function(n){return n.filter(function(n){return n.instant_learning_id!==e})})},onProceed:function(n){return e.__awaiter(this,void 0,void 0,function(){var t,i;return e.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,u.transformSelectedToILData(n,x,f.accessToken)];case 1:return t=e.sent(),console.log("Proceeding with il_data:",t),m(t),[3,3];case 2:return i=e.sent(),console.error("Error building il_data for selected guidelines:",i),[3,3];case 3:return[2]}})})}})]}))]}))}))}exports.GuidelineLandingPage=_,exports.default=_;
2
- //# sourceMappingURL=GuidelinesLandingPage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GuidelinesLandingPage.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={page:{height:"100%",width:"100%",background:"#ffffff",fontFamily:"Inter, sans-serif"},main:{height:"100%",overflow:"auto",padding:40},headerSection:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:24,justifyContent:"space-between",alignItems:"flex-start"},intro:{minWidth:280,flex:"1 1 0%"},title:{fontSize:30,fontWeight:700,lineHeight:"38px",color:"#6D35F2",margin:0},description:{marginTop:8,fontSize:19,lineHeight:"28px",color:"#1F2937"},debugLink:{marginTop:12,display:"inline-flex",alignItems:"center",gap:8,fontSize:14,fontWeight:500,color:"#53657D",background:"none",border:"none",padding:0,cursor:"pointer"},addButton:{display:"inline-flex",height:44,minWidth:210,flexShrink:0,alignItems:"center",justifyContent:"center",gap:12,borderRadius:6,background:"#4438F5",padding:"0 20px",fontSize:15,fontWeight:600,color:"#ffffff",border:"none",boxShadow:"0 1px 2px rgba(16,24,40,0.08)",cursor:"pointer",marginLeft:"auto"},bodySection:{marginTop:48,display:"grid",width:"100%",gridTemplateColumns:"minmax(0,1fr) minmax(300px,360px)",alignItems:"start",gap:24},librarySection:{minWidth:0},libraryTabs:{display:"flex",borderBottom:"1px solid #EAECF0"},tab:{position:"relative",display:"inline-flex",height:40,alignItems:"center",gap:8,padding:"0 16px",fontSize:14,fontWeight:500,background:"none",border:"none",cursor:"pointer",color:"#B5BDC8"},tabActive:{color:"#1F2937",boxShadow:"inset 0 -3px 0 0 #6D5BFF"},libraryGrid:{marginTop:24,display:"grid",gridTemplateColumns:"repeat(2, minmax(0, 1fr))",gap:20},cardAddButton:{display:"inline-flex",height:36,flex:1,alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,border:"1px solid #4438F5",background:"#ffffff",fontSize:13,fontWeight:600,color:"#4438F5",cursor:"pointer"},cardAddedButton:{display:"inline-flex",height:36,flex:1,alignItems:"center",justifyContent:"center",gap:8,borderRadius:6,border:"1px solid #EAE7FF",background:"#EDE9FE",fontSize:13,fontWeight:600,color:"#4438F5",cursor:"pointer"},showMore:{marginTop:28,display:"inline-flex",alignItems:"center",gap:8,fontSize:14,fontWeight:600,color:"#5B2CF4",background:"none",border:"none",cursor:"pointer"},loadingState:{marginTop:24,fontSize:14,color:"#667085"},errorState:{marginTop:24,fontSize:14,color:"#F04438"}};
2
- //# sourceMappingURL=GuidelinesLandingPage.styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GuidelinesLandingPage.styles.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),a=require("react/jsx-runtime"),i=require("react"),n=require("lucide-react"),t=require("@tanstack/react-query"),r=require("../LearningManagement/LearningManagement.js"),s=require("./api.js"),l={config:{CUSTOM_SCOPE_GROUP_NAME:"Preview",INSTANT_LEARNING_TYPE:"iL",MODEL:"claude-3.5-sonnet",CONFIG_MASTER_NAME:"preview-config",SCOPE_NAME:"Custom",ASSISTANT_NAME:"preview",ORGANIZATION_NAME:"techolution",BASE_URL:"https://devllmstudio.creativeworkspace.ai",BASE_WEBSOCKET_URL:"wss://devllmstudio.creativeworkspace.ai/graphql",CHAT_TITLE:"Preview",CHAT_TITLE_EDIT:"Preview Edit",FORM_TITLE:"Learning Details",INITIAL_CHAT_MESSAGE:"Hi",CATEGORY:"Global-Template",SOCKET_TIMEOUT:24e4},llmStudioUrl:"https://devllmstudio.creativeworkspace.ai",audacyBackendUrl:"https://dev-audacy-traffic-manager.techo.camp",ilLabels:{setupLabel:"Learning Setup",ruleTitle:"Learning Title",ruleDescriptionTitle:"Learning Description"}},o={applicationName:"IL Mode - ILOTJ",applicationId:"6a22c19581f05dc3afc8ad57",moduleId:"6a22c19581f05dc3afc8ad8e",applicationModuleId:"6a22c19581f05dc3afc8ad88",applicationResourceId:"6a22c19681f05dc3afc8ad94",appsecRbacUrl:"https://dev-cw-appsec.techo.camp/granularApi",appsecBaseUrl:"https://dev-cw-appsec.techo.camp"},c={configId:"6a1825e9fb722c37637b9490"},d=new t.QueryClient,p={wrapper:{display:"flex",flexDirection:"column",height:"100%",minHeight:0},header:{display:"flex",alignItems:"center",gap:12,padding:"10px 0",borderBottom:"1px solid #EAECF0",flexShrink:0},backButton:{display:"inline-flex",alignItems:"center",gap:6,background:"none",border:"none",cursor:"pointer",fontSize:14,fontWeight:500,color:"#344054",padding:"4px 8px",borderRadius:6},headerTitle:{fontSize:14,fontWeight:600,color:"#1F2937",margin:0,flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},headerActions:{display:"flex",alignItems:"center",gap:8,marginLeft:"auto"},lmsContainer:{flex:1,minHeight:0,overflow:"hidden"},loadingState:{padding:24,fontSize:14,color:"#667085"}};function g(g){var _=g.userDetails,u=g.baseUrl,f=g.baseWebsocketUrl,h=g.assistantName,m=g.appsecRbacUrl,v=g.appsecBaseUrl,T=g.appIntegrationId,I=g.modeId,A=g.guidelineTitle,E=g.onBack,S=g.headerActions,x=i.useState(null),L=x[0],b=x[1];return i.useEffect(function(){if(T){var a=e.__assign(e.__assign({},l),{config:e.__assign(e.__assign({},l.config),{ASSISTANT_NAME:h,BASE_URL:u,BASE_WEBSOCKET_URL:f}),llmStudioUrl:u}),i=e.__assign(e.__assign({},o),{appsecRbacUrl:m,appsecBaseUrl:v}),n=!1;return b(null),s.fetchRBACConfig(u,_.accessToken,T).then(function(t){var r,s,l,o;if(!n){var d=t?{applicationName:t.application_name,applicationId:t.application_id,moduleId:null===(r=t.module_data)||void 0===r?void 0:r.Scopes,applicationModuleId:null===(s=t.module_data)||void 0===s?void 0:s.General,applicationResourceId:null===(l=t.resource_data)||void 0===l?void 0:l["Learning Management"],appsecRbacUrl:m,appsecBaseUrl:v}:i;b(e.__assign(e.__assign({},a),{auditLogConfig:{configId:null!==(o=null==t?void 0:t.change_log_config_id)&&void 0!==o?o:c.configId},rbacConfig:d}))}}).catch(function(){n||(console.warn("RBAC config fetch failed, using fallback."),b(e.__assign(e.__assign({},a),{auditLogConfig:c,rbacConfig:i})))}),function(){n=!0}}},[T,u,f,h,m,v]),a.jsx(t.QueryClientProvider,e.__assign({client:d},{children:a.jsxs("div",e.__assign({style:p.wrapper},{children:[a.jsxs("div",e.__assign({style:p.header},{children:[a.jsxs("button",e.__assign({type:"button",style:p.backButton,onClick:E},{children:[a.jsx(n.ArrowLeft,{size:16,strokeWidth:2}),"Back"]})),A&&a.jsx("p",e.__assign({style:p.headerTitle},{children:A})),S&&a.jsx("div",e.__assign({style:p.headerActions},{children:S}))]})),a.jsx("div",e.__assign({style:p.lmsContainer},{children:L?a.jsx(r.default,e.__assign({},L,{userDetails:_,app_integration_id:T,modeId:I}),"lms-explore"):a.jsx("p",e.__assign({style:p.loadingState},{children:"Loading..."}))}))]}))}))}exports.LearningManagementWrapper=g,exports.default=g;
2
- //# sourceMappingURL=LearningManagementWrapper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LearningManagementWrapper.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),e=require("./endpoints.js");exports.fetchGuidelineInstances=function(n,r){return t.__awaiter(this,void 0,void 0,function(){var i;return t.__generator(this,function(t){switch(t.label){case 0:return[4,fetch(e.endpoints.listInstances(n),{headers:{accept:"application/json, text/plain, */*",authorization:"Bearer ".concat(r)}})];case 1:if(!(i=t.sent()).ok)throw new Error("Failed to fetch guidelines: ".concat(i.status));return[2,i.json()]}})})},exports.fetchRBACConfig=function(n,r,i){return t.__awaiter(this,void 0,void 0,function(){var a;return t.__generator(this,function(t){switch(t.label){case 0:return[4,fetch(e.endpoints.getRbacConfig(n,i),{headers:{accept:"application/json, text/plain, */*",authorization:"Bearer ".concat(r)}})];case 1:if(!(a=t.sent()).ok)throw new Error("Failed to fetch RBAC config: ".concat(a.status));return[4,a.json()];case 2:return[2,t.sent().data]}})})};
2
- //# sourceMappingURL=api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.endpoints={listInstances:function(t){return"".concat(t,"/instant_learning/ilotj/listInstances?createdAt=desc")},getRbacConfig:function(t,n){return"".concat(t,"/instant_learning/ilotj/application/getRBACAuditConfig/").concat(n)}};
2
- //# sourceMappingURL=endpoints.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"endpoints.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("../LearningManagement/apis/apiConfig.js"),r=require("../LearningManagement/apis/scopeApis.js");function n(n,i){var o;return e.__awaiter(this,void 0,void 0,function(){var a,s;return e.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,r.llmApiWithToken(i).get(t.API_ENDPOINTS.getTiers.replace("{appIntegrationId}",n))];case 1:return a=e.sent(),"success"===(null===(o=a.data)||void 0===o?void 0:o.status)?[2,a.data.data.map(function(e){return e.id})]:[2,[]];case 2:throw s=e.sent(),console.error("Error fetching tiers:",s),s;case 3:return[2]}})})}function i(n,i){var o,a,s;return e.__awaiter(this,void 0,void 0,function(){var c,u,l;return e.__generator(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,r.llmApiWithToken(i).get("".concat(t.API_ENDPOINTS.fetchScopes,"/").concat(n))];case 1:return c=e.sent(),console.log("fetchScopeIds response:",c),[2,(u=null===(s=null===(a=null===(o=c.data)||void 0===o?void 0:o.data)||void 0===a?void 0:a.data)||void 0===s?void 0:s.id)?[u]:[]];case 2:throw l=e.sent(),console.error("Error fetching rule sets:",l),l;case 3:return[2]}})})}exports.transformSelectedToILData=function(t,r,o){return e.__awaiter(this,void 0,void 0,function(){var a=this;return e.__generator(this,function(s){switch(s.label){case 0:return console.log(t,"selected",r,"modeId"),[4,Promise.all(t.map(function(t){return e.__awaiter(a,void 0,void 0,function(){var a,s,c,u;return e.__generator(this,function(e){switch(e.label){case 0:return a=function(e,t){var r,n,i,o;return t?null!==(o=null===(i=e.mode_mappings.find(function(e){return e.mode_id===t}))||void 0===i?void 0:i.application_integration_id)&&void 0!==o?o:"":null!==(n=null===(r=e.mode_mappings[0])||void 0===r?void 0:r.application_integration_id)&&void 0!==n?n:""}(t,r),[4,Promise.all([a?i(a,o):Promise.resolve([]),a?n(a,o):Promise.resolve([])])];case 1:return s=e.sent(),c=s[0],u=s[1],[2,{app_map_id:a,scope_ids:c,tier_ids:u}]}})})}))];case 1:return[2,{il_data:{selected_guidelines:s.sent()}}]}})})};
2
- //# sourceMappingURL=transformSelectedGuidelineData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transformSelectedGuidelineData.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default="6fbbe065ef78c384.gif";
2
- //# sourceMappingURL=ThinkingBulbIcon.gif.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThinkingBulbIcon.gif.js","sources":["../../../../../src/features/LearningManagement/public/ThinkingBulbIcon.gif"],"sourcesContent":["export default \"6fbbe065ef78c384.gif\""],"names":[],"mappings":"oFAAe"}
@@ -1,2 +0,0 @@
1
- import{__assign as i}from"tslib";import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useState as n}from"react";import{TextSection as o}from"../../organisms/TextSection/TextSection.js";import{ScopeSection as d}from"../../organisms/ScopeSection/ScopeSection.js";import{ConditionSection as l}from"../../organisms/ConditionSection/ConditionSection.js";import{ConfigSection as s}from"../../organisms/ConfigSection/ConfigSection.js";import{InputDataReasoningCard as a}from"../../InputDataReasoningCard.js";import{ButtonCognitiveIcon as r}from"../../_svg/ButtonCognitiveIcon.js";var c=function(c){var p,h,g,v,u,m,I,f,E,b,y,A,S,C,T,N,w,W,L,O,D,M,x,P,R,j,q,V,H,K,z,B,_,k=c.state,F=c.handlers,G=c.uiState,J=c.customNodes,Q=void 0===J?{}:J,U=n({}),X=U[0],Y=U[1],Z=n(new Set),$=Z[0],ii=Z[1],ei=function(e){Y(function(t){var n;return i(i({},t),((n={})[e]=!t[e],n))})},ti=function(i){var e,t=null===(e=k.fieldCitations)||void 0===e?void 0:e[i];return Array.isArray(t)&&t.length>0?t:k.citations||[]},ni={marginTop:"-17px",position:"relative",zIndex:1},oi=function(i){return!!G.isAiStreaming||(!!G.isReadOnly||!(!G.activeEditId||G.activeEditId.startsWith(i)))};return e("div",i({className:"base-template-container",style:{display:"flex",flexDirection:"column",gap:"16px",width:"100%"}},{children:[Q.top&&t("div",i({className:"custom-slot-top"},{children:Q.top})),e("div",i({className:"template-section"},{children:[t(o,{id:"base-title",title:G.titleLabel||"Title",fieldName:G.titleLabel||"Title",rows:1,placeholder:"Enter a descriptive title",required:!0,value:k.title||"",onChange:F.onTitleChange,readOnly:oi("base-title"),isOpen:X.title,onToggle:function(){return ei("title")},isHighlighted:(null===(p=G.highlights)||void 0===p?void 0:p.get("title"))||!1,showCognitiveIcon:!!(null===(h=k.citation)||void 0===h?void 0:h.title),tooltipDescription:"Why this ".concat(G.titleLabel||"Title","?"),errorMessage:null===(g=G.validationErrors)||void 0===g?void 0:g.title,enableInlineEdit:!0,setSendMessageInChat:G.setSendMessageInChat,activeEditId:null!==(v=G.activeEditId)&&void 0!==v?v:null,setActiveEditId:G.setActiveEditId,pendingEditId:null!==(u=G.pendingEditId)&&void 0!==u?u:null,setPendingEditId:G.setPendingEditId}),(null===(m=k.citation)||void 0===m?void 0:m.title)&&t("div",i({style:ni},{children:t(a,{isVisible:X.title,citation:k.citation.title,citations:ti("title"),fieldName:G.titleLabel||"Title",fieldValue:k.title||""})}))]})),Q.afterTitle&&t("div",i({className:"custom-slot"},{children:Q.afterTitle})),G.showScope&&e("div",i({className:"template-section"},{children:[t(d,{id:"base-scope",title:G.scopeLabel||"",required:!1,scopeData:k.scopeData||{},onScopeChange:F.onScopeChange,openSections:$,setOpenSections:ii,stationOptions:G.stationOptions||[],tierOptions:G.tierOptions||[],tierLabel:G.tierLabel||"Where should this apply?",stationLabel:G.stationLabel||"Which scope should this belong to?",highlights:(null===(I=G.highlights)||void 0===I?void 0:I.get("scope"))||{},isOpen:X.scope,onToggle:function(){return ei("scope")},showCognitiveIcon:!!(null===(f=k.citation)||void 0===f?void 0:f.scope),cognitiveIcon:t(r,{}),tooltipDescription:"Why this Scope?",errorMessage:(null===(E=G.validationErrors)||void 0===E?void 0:E.station)||(null===(b=G.validationErrors)||void 0===b?void 0:b.tiers),stationErrorMessage:null===(y=G.validationErrors)||void 0===y?void 0:y.station,tierErrorMessage:null===(A=G.validationErrors)||void 0===A?void 0:A.tiers,readOnly:oi("base-scope")}),(null===(S=k.citation)||void 0===S?void 0:S.scope)&&t("div",i({style:ni},{children:t(a,{isVisible:X.scope,citation:k.citation.scope,citations:ti("scope"),fieldName:"Scope",fieldValue:(null===(T=null===(C=k.scopeData)||void 0===C?void 0:C.tiers)||void 0===T?void 0:T.join(", "))||""})}))]})),Q.afterScope&&t("div",i({className:"custom-slot"},{children:Q.afterScope})),e("div",i({className:"template-section"},{children:[t(o,{id:"base-description",title:G.descriptionLabel||"Description",fieldName:G.descriptionLabel||"Description",rows:3,placeholder:"Explain the behaviour or learning",required:!0,value:k.description||"",onChange:F.onDescriptionChange,readOnly:oi("base-description"),isOpen:X.description,onToggle:function(){return ei("description")},isHighlighted:(null===(N=G.highlights)||void 0===N?void 0:N.get("description"))||!1,showCognitiveIcon:!!(null===(w=k.citation)||void 0===w?void 0:w.description),tooltipDescription:"Why this ".concat(G.descriptionLabel||"Description","?"),errorMessage:null===(W=G.validationErrors)||void 0===W?void 0:W.description,enableInlineEdit:!0,setSendMessageInChat:G.setSendMessageInChat,activeEditId:null!==(L=G.activeEditId)&&void 0!==L?L:null,setActiveEditId:G.setActiveEditId,pendingEditId:null!==(O=G.pendingEditId)&&void 0!==O?O:null,setPendingEditId:G.setPendingEditId}),(null===(D=k.citation)||void 0===D?void 0:D.description)&&t("div",i({style:ni},{children:t(a,{isVisible:X.description,citation:k.citation.description,citations:ti("description"),fieldName:G.descriptionLabel||"Description",fieldValue:k.description||""})}))]})),Q.afterDescription&&t("div",i({className:"custom-slot"},{children:Q.afterDescription})),t("div",i({className:"template-section"},{children:t(l,{id:"condition-wta-base",idPrefix:"condition-wta",title:G.whenToApplyLabel||"When to apply",required:!0,dividerRequired:!0,readOnly:oi("condition-wta"),conditions:k.whenToApplyConditions||[],onAdd:F.onAddWhenToApply,onRemove:function(i,e,t){return F.onRemoveWhenToApply(t)},onEdit:function(i,e,t,n){return F.onEditWhenToApply(t,n)},isHighlighted:(null===(M=G.highlights)||void 0===M?void 0:M.get("wta"))||!1,highlightedIds:G.highlightedIds,tooltipDescription:"Why this Condition?",citations:ti("whenToApply"),bordered:!0,addLabel:"Add ".concat(G.whenToApplyLabel||"When to apply"),isAiStreaming:G.isAiStreaming,errorMessage:(null===(x=G.validationErrors)||void 0===x?void 0:x.whenToApply)||G.conflictReason,index:0,tierKey:"base",activeEditId:null!==(P=G.activeEditId)&&void 0!==P?P:null,setActiveEditId:G.setActiveEditId,pendingEditId:null!==(R=G.pendingEditId)&&void 0!==R?R:null,setPendingEditId:G.setPendingEditId,setSendMessageInChat:G.setSendMessageInChat})})),Q.afterWhenToApply&&t("div",i({className:"custom-slot"},{children:Q.afterWhenToApply})),t("div",i({className:"template-section"},{children:t(l,{id:"condition-wnta-base",idPrefix:"condition-wnta",title:G.whenNotToApplyLabel||"When NOT to apply",required:!1,dividerRequired:!0,readOnly:oi("condition-wnta"),conditions:k.whenNotToApplyConditions||[],onAdd:F.onAddWhenNotToApply,onRemove:function(i,e,t){return F.onRemoveWhenToApply(t)},onEdit:function(i,e,t,n){return F.onEditWhenNotToApply(t,n)},isHighlighted:(null===(j=G.highlights)||void 0===j?void 0:j.get("wnta"))||!1,highlightedIds:G.highlightedIds,tooltipDescription:"Why this Condition?",citations:ti("whenNotToApply"),bordered:!0,addLabel:"Add ".concat(G.whenNotToApplyLabel||"When NOT to apply"),isAiStreaming:G.isAiStreaming,errorMessage:null===(q=G.validationErrors)||void 0===q?void 0:q.whenNotToApply,index:0,tierKey:"base",activeEditId:null!==(V=G.activeEditId)&&void 0!==V?V:null,setActiveEditId:G.setActiveEditId,pendingEditId:null!==(H=G.pendingEditId)&&void 0!==H?H:null,setPendingEditId:G.setPendingEditId,setSendMessageInChat:G.setSendMessageInChat})})),Q.afterWhenNotToApply&&t("div",i({className:"custom-slot"},{children:Q.afterWhenNotToApply})),G.showConfiguration&&e("div",i({className:"template-section"},{children:[t(s,{id:"base-config",title:G.configLabel||"Configuration",required:!1,highlights:(null===(K=G.highlights)||void 0===K?void 0:K.get("config"))||{},bordered:!0,readOnly:oi("base-config"),onConfigChange:function(i,e){var t;return null===(t=F.onConfigChange)||void 0===t?void 0:t.call(F,i,e)},separationItems:G.separationItems||[],toggles:G.toggles||[],index:0,openSections:$,setOpenSections:ii,activeEditId:null!==(z=G.activeEditId)&&void 0!==z?z:null,setActiveEditId:G.setActiveEditId,pendingEditId:null!==(B=G.pendingEditId)&&void 0!==B?B:null,setPendingEditId:G.setPendingEditId,isAiStreaming:G.isAiStreaming,setSendMessageInChat:G.setSendMessageInChat}),(null===(_=k.citation)||void 0===_?void 0:_.config)&&t("div",i({style:ni},{children:t(a,{isVisible:X.config,citation:k.citation.config,citations:ti("config"),fieldName:G.configLabel||"Configuration",fieldValue:"Proposed Configuration"})}))]})),Q.bottom&&t("div",i({className:"custom-slot-bottom"},{children:Q.bottom}))]}))};export{c as BaseTemplate};
2
- //# sourceMappingURL=BaseTemplate.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseTemplate.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{__assign as e,__spreadArray as t}from"tslib";import{jsx as n,jsxs as i,Fragment as o}from"react/jsx-runtime";import r,{useState as l,useRef as a,useEffect as d,useCallback as c,useMemo as s}from"react";import{Loader2Icon as p,Check as u,X as f,Pencil as h,Trash2 as g,ChevronUp as y,ChevronDown as x,ArrowLeft as m,Sparkles as b,Plus as v}from"lucide-react";var w=0,C=function(){return"cond-".concat(Date.now(),"-").concat(++w)},F="#CBD5E1",k="#9B8AFB",S="#7C3AED",z="#FDA29B",D="#344054",E="#1E293B",A="#334155",B="#64748B",R="#94A3B8",T="#98A2B3",I="#F04438",W="#8F2C23",H="#5925DC",j="#475569",L="#FFFFFF",M="#F8FAFC",N="#F1F5F9",_="#F9F5FF",O="#17B26A",K="#F04438",q="#64748B",U="6px",Y="8px",P="Inter, sans-serif",X={width:38,height:38,display:"flex",alignItems:"center",justifyContent:"center",border:"1px solid #D0D5DD",borderRadius:U,cursor:"pointer",background:L,flexShrink:0,transition:"background 0.15s"},V={width:"100%",boxSizing:"border-box",padding:"8px 11.5px",border:"1px solid #D0D5DD",borderRadius:U,fontSize:14,fontWeight:400,lineHeight:"100%",fontFamily:P,outline:"none",color:D,background:L},Z={display:"flex",alignItems:"center",gap:4,marginBottom:8,color:D,fontSize:14,fontWeight:500,lineHeight:"130%",fontFamily:P},G={background:L,border:"1px solid ".concat(F),borderRadius:Y,padding:16},J=n("span",e({style:{color:W,fontSize:12,lineHeight:1,display:"inline-flex",transform:"translateY(0.5px)"}},{children:"*"})),Q={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"}},$=function(e){return e?Array.isArray(e)?e.filter(Boolean).join("\n"):e:""},ee=function(e,t){if(!t&&!e)return"exact_match";if(!t)return"new_field";if(!e)return"new_field";var n=function(e){return e.trim().toLowerCase()};if(n(e)===n(t))return"exact_match";var i=new Set(n(e).split(/\s+/)),o=new Set(n(t).split(/\s+/));return Array.from(i).filter(function(e){return o.has(e)}).length/Math.max(i.size,o.size)>=.45?"partial_overlap":"conflict"},te=function(t){var o=t.relation,r=Q[o];return i("div",e({style:{display:"inline-flex",alignItems:"center",gap:4,padding:"3px 9px",borderRadius:20,background:r.bg,border:"1px solid ".concat(r.border),fontSize:10,fontWeight:600,color:r.text,fontFamily:P,whiteSpace:"nowrap",flexShrink:0}},{children:[n("span",{style:{width:5,height:5,borderRadius:"50%",background:r.dot,flexShrink:0}}),r.label]}))},ne=r.forwardRef(function(t,o){var r=t.label,l=t.value;return i("div",e({ref:o,style:{display:"flex",flexDirection:"column"}},{children:[n("p",e({style:{margin:"0 0 5px 0",fontSize:12,color:B,fontFamily:P}},{children:r})),n("div",e({style:{flex:1,padding:"9px 12px",borderRadius:Y,background:"#FFF3F2",border:"1px solid ".concat("#FECACA"),fontSize:13,lineHeight:"150%",color:l?E:R,fontFamily:P,fontStyle:l?"normal":"italic",wordBreak:"break-word",whiteSpace:"pre-wrap",minHeight:37}},{children:l||"—"}))]}))});ne.displayName="FieldCell";var ie=function(t){var r=t.formData,p=t.existingData,u=t.onClose,f=t.visible,h=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"),y=$(p.whenToApply),x=$(p.whenNotToApply),v=s(function(){return[{label:"Title",proposed:r.name,existing:p.name||"",relation:ee(r.name,p.name||"")},{label:"Description",proposed:r.description,existing:p.description||"",relation:ee(r.description,p.description||"")},{label:"When to apply",proposed:h,existing:y,relation:ee(h,y)},{label:"When NOT to Apply",proposed:g,existing:x,relation:g?ee(g,x):x?"new_field":"exact_match"}]},[r.name,r.description,h,g,p.name,p.description,y,x]),w=v.reduce(function(e,t){return e[t.relation]=(e[t.relation]||0)+1,e},{}),C=a(null),k=a([]),S=a([]),z=l([]),D=z[0],B=z[1];k.current=[],S.current=[];var R=c(function(){if(C.current){var e=C.current.getBoundingClientRect(),t=[];v.forEach(function(n,i){var o=k.current[i],r=S.current[i];if(o&&r){o.style.height="auto",r.style.height="auto";var l=o.getBoundingClientRect(),a=r.getBoundingClientRect(),d=Math.max(l.height,a.height);o.style.height="".concat(d,"px"),r.style.height="".concat(d,"px");var c=o.getBoundingClientRect(),s=r.getBoundingClientRect(),p=c.top+c.height/2-e.top;t.push({x1:c.right-e.left,y1:p,x2:s.left-e.left,y2:p,relation:n.relation})}}),B(t)}},[v]);return d(function(){var e=setTimeout(R,150);window.addEventListener("resize",R);var t=null;return C.current&&(t=new ResizeObserver(function(){window.requestAnimationFrame(function(){return R()})})).observe(C.current),function(){clearTimeout(e),window.removeEventListener("resize",R),t&&t.disconnect()}},[R,f]),i(o,{children:[n("div",{onClick:u,style:{position:"absolute",inset:0,background:"rgba(15,23,42,0.18)",zIndex:10,opacity:f?1:0,transition:"opacity 0.25s ease",pointerEvents:f?"auto":"none"}}),i("div",e({style:{position:"absolute",inset:0,background:L,zIndex:11,display:"flex",flexDirection:"column",transform:f?"translateX(0)":"translateX(100%)",transition:"transform 0.28s cubic-bezier(0.4,0,0.2,1)",borderRadius:Y,overflow:"hidden"}},{children:[i("div",e({style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"12px 16px",borderBottom:"1px solid ".concat(F),flexShrink:0,background:L}},{children:[i("div",e({style:{display:"flex",alignItems:"center",gap:10}},{children:[n("button",e({type:"button",onClick:u,style:e(e({},X),{width:32,height:32,border:"1px solid ".concat(F),borderRadius:U})},{children:n(m,{size:15,color:A})})),n("span",e({style:{fontSize:15,fontWeight:600,color:E,fontFamily:P,letterSpacing:"-0.01em"}},{children:"Category Comparison"}))]})),n("div",e({style:{display:"flex",alignItems:"center",gap:6,flexWrap:"wrap"}},{children:Object.entries(w).map(function(t){var o=t[0],r=t[1];return i("div",e({style:{display:"flex",alignItems:"center",gap:4,padding:"3px 10px",borderRadius:20,background:Q[o].bg,border:"1px solid ".concat(Q[o].border),fontSize:11,fontWeight:600,color:Q[o].text,fontFamily:P}},{children:[n("span",{style:{width:5,height:5,borderRadius:"50%",background:Q[o].dot}}),r," ",Q[o].label]}),o)})}))]})),n("div",e({style:{flex:1,overflowY:"auto",padding:16}},{children:i("div",e({ref:C,style:{display:"grid",gridTemplateColumns:"1fr 140px 1fr",alignItems:"start",gap:"0",position:"relative"}},{children:[n("svg",e({style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:10}},{children:D.map(function(t,o){var r=(t.x1+t.x2)/2,l=t.y1,a=Q[t.relation];return i("g",{children:[n("line",{x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,stroke:a.border,strokeWidth:"1.5"}),n("foreignObject",e({x:r-70,y:l-14,width:"140",height:"28"},{children:n("div",e({style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}},{children:n(te,{relation:t.relation})}))}))]},o)})})),i("div",e({style:{border:"1.5px dashed #CBD5E1",borderRadius:10,padding:14,display:"flex",flexDirection:"column",gap:14}},{children:[n("p",e({style:{margin:"0 0 2px 0",fontSize:13,fontWeight:600,color:E,fontFamily:P}},{children:"Category You're Creating"})),v.map(function(e,t){return n(ne,{ref:function(e){k.current[t]=e},label:e.label,value:e.proposed},t)})]})),n("div",{}),i("div",e({style:{border:"1.5px dashed #CBD5E1",borderRadius:10,padding:14,display:"flex",flexDirection:"column",gap:14}},{children:[i("p",e({style:{margin:"0 0 2px 0",fontSize:13,fontWeight:600,color:H,fontFamily:P,display:"flex",alignItems:"center",gap:5}},{children:[n(b,{size:13,color:H}),"Existing Category"]})),v.map(function(e,t){return n(ne,{ref:function(e){S.current[t]=e},label:e.label,value:e.existing},t)})]}))]}))}))]}))]})},oe=function(t){var r=t.condition,l=t.index,a=t.isEditing,d=t.editText,c=t.onEditStart,s=t.onEditChange,p=t.onEditSave,y=t.onEditCancel,x=t.onRemove,m=t.readOnly,b=t.onBlurContainer,v={width:40,height:38,flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",background:M,borderRight:"1px solid #D0D5DD",color:j,fontSize:14,fontFamily:P};return i("div",a?e({style:{display:"flex",alignItems:"center",gap:12},onBlur:b},{children:[i("div",e({style:{display:"flex",flex:1,alignItems:"center",background:L,border:"1px solid ".concat(k),borderRadius:Y,overflow:"hidden"}},{children:[n("div",e({style:v},{children:l+1})),n("input",{type:"text",value:d,onChange:function(e){return s(e.target.value)},autoFocus:!0,onKeyDown:function(e){"Enter"===e.key&&d.trim()?p():"Escape"===e.key&&y()},style:{flex:1,padding:"8px 11.5px",fontSize:14,fontFamily:P,color:D,border:"none",outline:"none",background:"transparent"}})]})),n("button",e({type:"button",disabled:!d.trim(),onClick:p,style:e(e({},X),{borderRadius:Y,opacity:d.trim()?1:.5,cursor:d.trim()?"pointer":"not-allowed",background:d.trim()?L:M})},{children:n(u,{size:18,color:O})})),n("button",e({type:"button",onClick:y,style:e(e({},X),{borderRadius:Y})},{children:n(f,{size:18,color:K})}))]}):e({style:{display:"flex",alignItems:"center",gap:12}},{children:[i("div",e({style:{display:"flex",flex:1,alignItems:"center",background:L,border:"1px solid #D0D5DD",borderRadius:Y,overflow:"hidden",height:38}},{children:[n("div",e({style:e(e({},v),{height:"100%"})},{children:l+1})),n("div",e({style:{flex:1,padding:"0 11.5px",fontSize:14,fontFamily:P,display:"flex",alignItems:"center",height:"100%"}},{children:r.text?n("span",e({style:{color:D}},{children:r.text})):n("span",e({style:{color:R}},{children:"Enter condition"}))}))]})),!m&&i(o,{children:[n("button",e({type:"button",onClick:c,style:e(e({},X),{border:"1px solid ".concat(F),borderRadius:Y})},{children:n(h,{size:16,color:q})})),n("button",e({type:"button",onClick:x,style:e(e({},X),{border:"1px solid ".concat(z),borderRadius:Y})},{children:n(g,{size:16,color:K})}))]})]}))},re=function(t){var r=t.title,l=t.required,a=t.isExpanded,d=t.setIsExpanded,c=t.conditions,s=t.prefix,p=t.editingCondKey,u=t.editingCondText,f=t.setEditingCondKey,h=t.setEditingCondText,g=t.onAdd,x=t.onUpdate,m=t.onRemove,b=t.addLabel,w=t.readOnly,C=t.errorMessage,k=t.style,S=c.length>0;return i("div",e({style:e({border:"1px solid ".concat(F),borderRadius:Y,padding:16},k)},{children:[i("div",e({style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:8,cursor:S?"pointer":"default",userSelect:"none"},onClick:function(){S&&d(function(e){return!e})}},{children:[i("label",e({style:e(e({},Z),{marginBottom:0,cursor:S?"pointer":"default"})},{children:[l&&J,n("span",{children:r})]})),n("button",e({type:"button",style:{background:"none",border:"none",cursor:"pointer",padding:0,display:"flex",alignItems:"center",transform:a?"rotate(0deg)":"rotate(180deg)",transition:"transform 0.2s"}},{children:n(y,{size:20,color:S?D:R})}))]})),a&&i(o,{children:[0===c.length&&n("p",e({style:{color:B,fontSize:14,fontStyle:"italic",fontWeight:300,fontFamily:P,margin:"0 0 12px 0"}},{children:"No conditions applied"})),n("div",e({style:{display:"flex",flexDirection:"column",gap:12,marginBottom:12}},{children:c.map(function(e,t){var i="".concat(s,"_").concat(e.id);return n(oe,{condition:e,index:t,isEditing:p===i,editText:u,onEditStart:function(){f(i),h(e.text)},onEditChange:h,onEditSave:function(){u.trim()&&(x(e.id,u),f(null))},onEditCancel:function(){e.text?f(null):m(e.id)},onRemove:function(){return m(e.id)},readOnly:w,onBlurContainer:function(t){return function(e,t,n){if(!e.currentTarget.contains(e.relatedTarget)){var i="".concat(s,"_").concat(t);u.trim()||n?u.trim()&&x(t,u):m(t),p===i&&f(null)}}(t,e.id,e.text)}},e.id)})})),!w&&i("button",e({type:"button",onClick:g,style:{display:"flex",alignItems:"center",gap:7,color:H,fontSize:14,fontWeight:500,fontFamily:P,background:"none",border:"none",cursor:"pointer",padding:0}},{children:[n(v,{size:16}),b]})),C&&n("p",e({style:{marginTop:8,color:I,fontSize:12,fontFamily:P,margin:"8px 0 0 0"}},{children:C}))]})]}))},le=function(r){var s=r.state,m=r.handlers,b=r.uiState,w=s.formData,k=s.nameLabel,W=void 0===k?"Category Name":k,M=s.namePlaceholder,Q=void 0===M?"Enter category name":M,$=m.setFormData,ee=b.readOnly,te=void 0!==ee&&ee,ne=b.isAiStreaming,oe=void 0!==ne&&ne;b.setActiveEditId,b.setSendMessageInChat;var le=b.validationErrors,ae=void 0===le?{}:le,de=b.addExampleBtnRef,ce=b.comparisonData,se=void 0===ce?null:ce,pe=b.onComparisonClose,ue=l(null),fe=ue[0],he=ue[1],ge=l(""),ye=ge[0],xe=ge[1],me=l(null),be=me[0],ve=me[1],we=l(""),Ce=we[0],Fe=we[1],ke=l(!0),Se=ke[0],ze=ke[1],De=l(!0),Ee=De[0],Ae=De[1],Be=l(null),Re=Be[0],Te=Be[1],Ie=l(""),We=Ie[0],He=Ie[1],je=l(""),Le=je[0],Me=je[1],Ne=l([]),_e=Ne[0],Oe=Ne[1],Ke=l(!1),qe=Ke[0],Ue=Ke[1],Ye=a(null),Pe=l(!1),Xe=Pe[0],Ve=Pe[1],Ze=a(oe);d(function(){se?requestAnimationFrame(function(){return Ue(!0)}):Ue(!1)},[se]),d(function(){Ze.current&&!oe&&Xe&&Ve(!1),Ze.current=oe},[oe,Xe]);var Ge=te,Je=c(function(t,n){return $(function(i){var o;return e(e({},i),((o={})[t]=n,o))})},[$]),Qe=function(n){var i=C();$(function(o){var r;return e(e({},o),((r={})[n]=t(t([],o[n],!0),[{id:i,text:""}],!1),r))}),ve("".concat("whenToApply"===n?"wta":"wnta","_").concat(i)),Fe(""),"whenToApply"!==n||Se||ze(!0),"whenNotToApply"!==n||Ee||Ae(!0)},$e=function(t,n,i){return $(function(o){var r;return e(e({},o),((r={})[t]=o[t].map(function(t){return t.id===n?e(e({},t),{text:i}):t}),r))})},et=function(t,n){return $(function(i){var o;return e(e({},i),((o={})[t]=i[t].filter(function(e){return e.id!==n}),o))})},tt=function(e){return Oe(function(n){return n.includes(e)?n.filter(function(t){return t!==e}):t(t([],n,!0),[e],!1)})},nt=c(function(){var n=C();$(function(i){return e(e({},i),{occurrences:t(t([],i.occurrences||[],!0),[{id:n,title:"",description:""}],!1)})}),Te(n),He(""),Me(""),Oe(function(e){return t(t([],e,!0),[n],!1)})},[$]),it=c(function(){Ue(!1),setTimeout(function(){null==pe||pe()},280)},[pe]),ot=function(t){return i("button",e({ref:t?void 0:de,type:"button",disabled:t,onClick:nt,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(v,{size:14,color:H}),n("span",e({style:{color:H,fontSize:14,fontWeight:500,fontFamily:P}},{children:"Add example"}))]}))};return i("div",e({style:{flex:1,overflowY:"auto",position:"relative"}},{children:[se&&n(ie,{formData:w,existingData:se,onClose:it,visible:qe}),Xe&&oe&&i("div",e({style:{display:"flex",alignItems:"center",color:"#141414",fontSize:13,fontWeight:500,fontStyle:"italic",marginBottom:12,paddingLeft:4,fontFamily:P}},{children:[n(p,{size:16,style:{marginRight:8,animation:"spin 1s linear infinite"}}),"Updating category details..."]})),i("div",e({style:e(e({},G),{marginBottom:12})},{children:[i("div",e({style:{marginBottom:12}},{children:[i("label",e({style:Z},{children:[J,n("span",{children:W})]})),Ge&&"name"!==fe?n("div",e({style:{display:"flex",alignItems:"center",gap:12}},{children:n("div",e({style:{flex:1,padding:"10px 14px",border:"1px solid #D0D5DD",borderRadius:U,fontSize:14,background:L,minHeight:42,display:"flex",alignItems:"center"}},{children:w.name?n("span",e({style:{color:D}},{children:w.name})):n("span",e({style:{color:T}},{children:Q}))}))})):Ge&&"name"===fe?i("div",e({style:{display:"flex",alignItems:"center",gap:12}},{children:[n("input",{type:"text",value:ye,onChange:function(e){return xe(e.target.value)},autoFocus:!0,onKeyDown:function(e){"Enter"===e.key?(Je("name",ye),he(null)):"Escape"===e.key&&he(null)},placeholder:Q,style:e(e({},V),{flex:1,width:"auto",border:"1px solid ".concat(S)})}),n("button",e({type:"button",onClick:function(){Je("name",ye),he(null)},style:X},{children:n(u,{size:18,color:O})})),n("button",e({type:"button",onClick:function(){return he(null)},style:X},{children:n(f,{size:18,color:K})}))]})):n("input",{type:"text",value:w.name,onChange:function(e){return Je("name",e.target.value)},placeholder:Q,disabled:oe,style:e(e({},V),{opacity:oe?.6:1,cursor:oe?"not-allowed":"text"})}),(null==ae?void 0:ae.name)&&n("p",e({style:{marginTop:4,color:I,fontSize:12,fontFamily:P,margin:"4px 0 0 0"}},{children:ae.name}))]})),i("div",e({style:{marginBottom:12}},{children:[i("label",e({style:Z},{children:[J,n("span",{children:"Category Description"})]})),Ge&&"description"!==fe?n("div",e({style:{display:"flex",alignItems:"flex-start",gap:12}},{children:n("div",e({style:{flex:1,padding:"12px 14px",border:"1px solid #D0D5DD",borderRadius:U,fontSize:14,background:L,minHeight:80}},{children:w.description?n("span",e({style:{color:D,whiteSpace:"pre-wrap"}},{children:w.description})):n("span",e({style:{color:T}},{children:"Describe when this category should be applied"}))}))})):Ge&&"description"===fe?i("div",e({style:{display:"flex",alignItems:"flex-start",gap:12}},{children:[n("textarea",{value:ye,onChange:function(e){return xe(e.target.value)},autoFocus:!0,onKeyDown:function(e){"Escape"===e.key&&he(null)},placeholder:"Enter Description",rows:4,style:e(e({},V),{flex:1,width:"auto",border:"1px solid ".concat(S),resize:"none",lineHeight:"140%"})}),i("div",e({style:{display:"flex",flexDirection:"column",gap:8}},{children:[n("button",e({type:"button",onClick:function(){Je("description",ye),he(null)},style:X},{children:n(u,{size:18,color:O})})),n("button",e({type:"button",onClick:function(){return he(null)},style:X},{children:n(f,{size:18,color:K})}))]}))]})):n("textarea",{value:w.description,onChange:function(e){return Je("description",e.target.value)},placeholder:"Describe when this category should be applied.",disabled:oe,style:e(e({},V),{height:60,paddingTop:7,paddingBottom:10.5,border:"1px solid ".concat(F),lineHeight:"140%",resize:"none",boxShadow:"0 1px 2px 0 rgba(18,18,23,0.05)",opacity:oe?.6:1,cursor:oe?"not-allowed":"text"})}),(null==ae?void 0:ae.description)&&n("p",e({style:{marginTop:4,color:I,fontSize:12,fontFamily:P,margin:"4px 0 0 0"}},{children:ae.description}))]})),n(re,{title:"When to Apply",required:!0,isExpanded:Se,setIsExpanded:ze,conditions:w.whenToApply,prefix:"wta",editingCondKey:be,editingCondText:Ce,setEditingCondKey:ve,setEditingCondText:Fe,onAdd:function(){return Qe("whenToApply")},onUpdate:function(e,t){return $e("whenToApply",e,t)},onRemove:function(e){return et("whenToApply",e)},addLabel:"Add When to Apply",readOnly:oe||te,errorMessage:null==ae?void 0:ae.whenToApply,style:{marginBottom:12}}),n(re,{title:"When NOT to Apply",required:!1,isExpanded:Ee,setIsExpanded:Ae,conditions:w.whenNotToApply,prefix:"wnta",editingCondKey:be,editingCondText:Ce,setEditingCondKey:ve,setEditingCondText:Fe,onAdd:function(){return Qe("whenNotToApply")},onUpdate:function(e,t){return $e("whenNotToApply",e,t)},onRemove:function(e){return et("whenNotToApply",e)},addLabel:"Add When NOT to Apply",readOnly:oe||te,errorMessage:null==ae?void 0:ae.whenNotToApply})]})),i("div",e({style:e(e({},G),{marginTop:12})},{children:[i("div",e({style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:12}},{children:[i("div",{children:[i("h4",e({style:{color:E,fontSize:14,fontWeight:500,lineHeight:"120%",letterSpacing:"0.02em",fontFamily:P,margin:"0 0 4px 0"}},{children:["Example (",(w.occurrences||[]).length,")"]})),n("p",e({style:{color:B,fontSize:12,fontWeight:300,lineHeight:"120%",letterSpacing:"0.02em",fontFamily:P,margin:0}},{children:"Add real examples to help the system understand this category"}))]}),(w.occurrences||[]).length>0&&!te&&ot(null!==Re||oe)]})),0===(w.occurrences||[]).length?i("div",e({style:{border:"1px solid ".concat(F),borderRadius:Y,background:L,padding:"24px 12px 12px",minHeight:181,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center"}},{children:[n("div",e({style:{marginBottom:16}},{children:i("svg",e({xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 56 56",fill:"none"},{children:[n("rect",{x:"4",y:"4",width:"48",height:"48",rx:"24",fill:"#F1F5F9"}),n("rect",{x:"4",y:"4",width:"48",height:"48",rx:"24",stroke:"#F8FAFC",strokeWidth:"8"}),n("rect",{width:"24",height:"24",transform:"translate(16 16)",fill:"#F1F5F9"}),n("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("p",e({style:{color:A,fontSize:12,fontWeight:500,lineHeight:"120%",fontFamily:P,margin:"0 0 8px 0"}},{children:"No example added yet"})),n("p",e({style:{color:B,fontSize:14,fontWeight:300,lineHeight:"140%",fontFamily:P,margin:"0 0 8px 0",maxWidth:530}},{children:"Add an example to show how this category is used, or generate one using chat."})),!te&&ot(null!==Re||oe)]})):n("div",e({style:{display:"flex",flexDirection:"column",gap:12}},{children:(w.occurrences||[]).map(function(t,r){var l=_e.includes(t.id);return Re===t.id?i("div",e({style:{display:"flex",flexDirection:"column",gap:12,border:"1px solid ".concat(F),borderRadius:Y,background:L,padding:16,boxShadow:"0 1px 3px rgba(0,0,0,0.07)"}},{children:[i("div",{children:[n("label",e({style:e(e({},Z),{marginBottom:8})},{children:n("span",e({style:{color:A}},{children:"Title/Subject"}))})),n("input",{type:"text",value:We,onChange:function(e){return He(e.target.value)},placeholder:"e.g., Follow-up on client feedback from last meeting",style:e(e({},V),{border:"1px solid ".concat(F),lineHeight:"140%"})})]}),i("div",{children:[i("label",e({style:{display:"flex",alignItems:"center",gap:4,marginBottom:8}},{children:[n("span",e({style:{color:A,fontSize:14,fontWeight:500,fontFamily:P}},{children:"Message body"})),J]})),n("textarea",{ref:function(e){e&&Re===t.id&&!Ye.current&&(Ye.current=e),e&&(e.style.height="auto",e.style.height="".concat(e.scrollHeight,"px"))},value:Le,onChange:function(e){Me(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(e({},V),{border:"1px solid ".concat(F),overflow:"hidden",minHeight:60,lineHeight:"140%",resize:"none"})})]}),i("div",e({style:{display:"flex",justifyContent:"flex-end",gap:12,marginTop:4}},{children:[n("button",e({type:"button",onClick:function(){t.title||t.description||$(function(n){return e(e({},n),{occurrences:(n.occurrences||[]).filter(function(e){return e.id!==t.id})})}),Te(null),Ye.current=null},style:{padding:"6px 12px",color:j,fontSize:14,fontWeight:500,lineHeight:"140%",fontFamily:P,background:"none",border:"none",cursor:"pointer",borderRadius:U}},{children:"Cancel"})),n("button",e({type:"button",disabled:!Le.trim(),onClick:function(){var n;Le.trim()&&(n=t.id,$(function(t){return e(e({},t),{occurrences:t.occurrences.map(function(t){return t.id===n?e(e({},t),{title:We,description:Le}):t})})}),Te(null),Ye.current=null,Oe(function(e){return e.filter(function(e){return e!==t.id})}))},style:{padding:"6px 12px",borderRadius:U,fontSize:14,fontWeight:500,lineHeight:"140%",fontFamily:P,cursor:Le.trim()?"pointer":"not-allowed",background:Le.trim()?_:L,border:"1px solid ".concat(Le.trim()?_:"#E2E8F0"),color:Le.trim()?H:R,transition:"background 0.15s"}},{children:"Save"}))]}))]}),t.id):i("div",e({style:{display:"flex",flexDirection:"column",border:"1px solid #E2E8F0",borderRadius:Y,background:L,overflow:"hidden",boxShadow:"0 1px 3px rgba(0,0,0,0.07)"}},{children:[i("div",e({style:{display:"flex",alignItems:"center",gap:12,padding:12}},{children:[n("div",e({style:{width:20,height:20,flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",background:N,borderRadius:U,color:j,fontSize:10,fontWeight:500,fontFamily:P}},{children:r+1})),n("div",e({style:{flex:1,fontSize:15,fontWeight:500,lineHeight:"140%",fontFamily:P,color:A,wordBreak:"break-word"}},{children:t.title||n("span",e({style:{color:R,fontWeight:400,fontSize:14}},{children:"Untitled example"}))})),i("div",e({style:{display:"flex",alignItems:"center",gap:8,flexShrink:0}},{children:[!te&&i(o,{children:[n("button",e({type:"button",disabled:null!==Re||oe,onClick:function(){Te(t.id),He(t.title),Me(t.description),l||tt(t.id)},style:e(e({},X),{width:36,height:36,border:"1px solid #E2E8F0",borderRadius:U,opacity:null!==Re||oe?.5:1,cursor:null!==Re||oe?"not-allowed":"pointer"})},{children:n(h,{size:16,color:q})})),n("button",e({type:"button",disabled:null!==Re||oe,onClick:function(){return $(function(n){return e(e({},n),{occurrences:(n.occurrences||[]).filter(function(e){return e.id!==t.id})})})},style:e(e({},X),{width:36,height:36,border:"1px solid ".concat(z),borderRadius:U,opacity:null!==Re||oe?.5:1,cursor:null!==Re||oe?"not-allowed":"pointer"})},{children:n(g,{size:16,color:K})}))]}),n("button",e({type:"button",onClick:function(){return tt(t.id)},style:e(e({},X),{width:36,height:36,border:"none",background:"transparent"})},{children:n(l?y:x,{size:20,color:q})}))]}))]})),l&&i("div",e({style:{display:"flex",flexDirection:"column",padding:"4px 12px 16px"}},{children:[i("div",e({style:{marginBottom:12}},{children:[n("p",e({style:{color:B,fontSize:13,lineHeight:"140%",fontFamily:P,margin:"0 0 4px 0"}},{children:"Title/Subject:"})),n("p",e({style:{color:E,fontSize:14,fontWeight:300,lineHeight:"150%",fontFamily:P,whiteSpace:"pre-wrap",wordBreak:"break-word",margin:0}},{children:t.title||n("span",e({style:{color:R,fontStyle:"italic"}},{children:"—"}))}))]})),i("div",{children:[n("p",e({style:{color:B,fontSize:13,lineHeight:"140%",fontFamily:P,margin:"0 0 4px 0"}},{children:"Message body:"})),n("p",e({style:{color:E,fontSize:14,fontWeight:300,lineHeight:"150%",fontFamily:P,whiteSpace:"pre-wrap",wordBreak:"break-word",margin:0}},{children:t.description}))]})]}))]}),t.id)})}))]}))]}))};export{le as CreateCategory,le as default};
2
- //# sourceMappingURL=CreateCategory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CreateCategory.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}