@e-llm-studio/instant-learning 1.3.3 → 1.3.4

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 (57) hide show
  1. package/dist/ILMarketplaceWrapper.js +3 -0
  2. package/dist/ILMarketplaceWrapper.js.map +1 -1
  3. package/dist/cjs/ILMarketplaceWrapper.js +3 -0
  4. package/dist/cjs/ILMarketplaceWrapper.js.map +1 -1
  5. package/dist/cjs/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +2 -1
  6. package/dist/cjs/features/IL-OTJ/_components/ChatComponents/ChatComponent.js.map +1 -1
  7. package/dist/cjs/features/IL-OTJ/_components/ChatComponents/NormalChat.js +2 -1
  8. package/dist/cjs/features/IL-OTJ/_components/ChatComponents/NormalChat.js.map +1 -1
  9. package/dist/cjs/features/IL-marketplace/PromoteFlow/EnvironmentConfigurationModal.js +41 -4
  10. package/dist/cjs/features/IL-marketplace/PromoteFlow/EnvironmentConfigurationModal.js.map +1 -1
  11. package/dist/cjs/features/IL-marketplace/PromoteFlow/PromoteFlow.js +444 -169
  12. package/dist/cjs/features/IL-marketplace/PromoteFlow/PromoteFlow.js.map +1 -1
  13. package/dist/cjs/features/IL-marketplace/PromoteFlow/PromoteFlow.module.css.js +2 -2
  14. package/dist/cjs/features/IL-marketplace/PromoteFlow/promote-flow.api.js +19 -2
  15. package/dist/cjs/features/IL-marketplace/PromoteFlow/promote-flow.api.js.map +1 -1
  16. package/dist/cjs/features/IL-marketplace/PromoteFlow/promote-flow.store.js +7 -0
  17. package/dist/cjs/features/IL-marketplace/PromoteFlow/promote-flow.store.js.map +1 -1
  18. package/dist/cjs/features/InstantLearning/InstantLearning.js +1 -0
  19. package/dist/cjs/features/InstantLearning/InstantLearning.js.map +1 -1
  20. package/dist/cjs/features/InstantLearning/_components/ChatComponent.js +3 -1
  21. package/dist/cjs/features/InstantLearning/_components/ChatComponent.js.map +1 -1
  22. package/dist/cjs/features/InstantLearning/_components/ContextualChatComponent.js +3 -1
  23. package/dist/cjs/features/InstantLearning/_components/ContextualChatComponent.js.map +1 -1
  24. package/dist/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +2 -1
  25. package/dist/features/IL-OTJ/_components/ChatComponents/ChatComponent.js.map +1 -1
  26. package/dist/features/IL-OTJ/_components/ChatComponents/NormalChat.js +2 -1
  27. package/dist/features/IL-OTJ/_components/ChatComponents/NormalChat.js.map +1 -1
  28. package/dist/features/IL-marketplace/PromoteFlow/EnvironmentConfigurationModal.js +41 -4
  29. package/dist/features/IL-marketplace/PromoteFlow/EnvironmentConfigurationModal.js.map +1 -1
  30. package/dist/features/IL-marketplace/PromoteFlow/PromoteFlow.js +446 -171
  31. package/dist/features/IL-marketplace/PromoteFlow/PromoteFlow.js.map +1 -1
  32. package/dist/features/IL-marketplace/PromoteFlow/PromoteFlow.module.css.js +2 -2
  33. package/dist/features/IL-marketplace/PromoteFlow/promote-flow.api.js +17 -3
  34. package/dist/features/IL-marketplace/PromoteFlow/promote-flow.api.js.map +1 -1
  35. package/dist/features/IL-marketplace/PromoteFlow/promote-flow.store.js +7 -0
  36. package/dist/features/IL-marketplace/PromoteFlow/promote-flow.store.js.map +1 -1
  37. package/dist/features/InstantLearning/InstantLearning.js +1 -0
  38. package/dist/features/InstantLearning/InstantLearning.js.map +1 -1
  39. package/dist/features/InstantLearning/_components/ChatComponent.js +3 -1
  40. package/dist/features/InstantLearning/_components/ChatComponent.js.map +1 -1
  41. package/dist/features/InstantLearning/_components/ContextualChatComponent.js +3 -1
  42. package/dist/features/InstantLearning/_components/ContextualChatComponent.js.map +1 -1
  43. package/dist/types/src/ILMarketplaceWrapper.d.ts.map +1 -1
  44. package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts.map +1 -1
  45. package/dist/types/src/features/IL-OTJ/_components/ChatComponents/NormalChat.d.ts.map +1 -1
  46. package/dist/types/src/features/IL-marketplace/PromoteFlow/EnvironmentConfigurationModal.d.ts.map +1 -1
  47. package/dist/types/src/features/IL-marketplace/PromoteFlow/PromoteFlow.d.ts.map +1 -1
  48. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.api.d.ts +5 -2
  49. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.api.d.ts.map +1 -1
  50. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.interfaces.d.ts +26 -1
  51. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.interfaces.d.ts.map +1 -1
  52. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.store.d.ts +3 -1
  53. package/dist/types/src/features/IL-marketplace/PromoteFlow/promote-flow.store.d.ts.map +1 -1
  54. package/dist/types/src/features/InstantLearning/InstantLearning.d.ts.map +1 -1
  55. package/dist/types/src/features/InstantLearning/_components/ChatComponent.d.ts.map +1 -1
  56. package/dist/types/src/features/InstantLearning/_components/ContextualChatComponent.d.ts.map +1 -1
  57. package/package.json +4 -4
@@ -28,6 +28,7 @@ var useAppSecRolesStore = require('./features/LearningManagement/store/useAppSec
28
28
  var useApprovalQueries = require('./features/LearningManagement/queries/useApprovalQueries.js');
29
29
  var instantLearning_api = require('./features/IL-marketplace/services/instant-learning.api.js');
30
30
  var constants = require('./features/IL-marketplace/constants.js');
31
+ var promoteFlow_store = require('./features/IL-marketplace/PromoteFlow/promote-flow.store.js');
31
32
  var transport = require('./api/transport.js');
32
33
  var marketplaceTheme = require('./features/IL-marketplace/marketplaceTheme.js');
33
34
  var microfrontend = require('./features/IL-marketplace/utils/microfrontend.js');
@@ -869,6 +870,8 @@ const ILMarketplaceWrapperInner = ({
869
870
  };
870
871
  const publishButtonCallback = ((_h = marketplaceValueTypeConfig == null ? void 0 : marketplaceValueTypeConfig.statusActions) == null ? void 0 : _h.showPublish) === false ? void 0 : handlePublishButtonCallback != null ? handlePublishButtonCallback : enablePublishToMarketplace ? openBuiltInPublishFlow : void 0;
871
872
  const openBuiltInPromoteFlow = (guideline) => {
873
+ promoteFlow_store.usePromoteFlowStore.getState().setPromotionTask(null);
874
+ promoteFlow_store.usePromoteFlowStore.getState().setError(null);
872
875
  setPromoteTarget({ guideline });
873
876
  if (disableRouting) {
874
877
  setInternalActiveTabId(IL_MARKETPLACE_VIEW.promote);