@projectcor/maia-components 2.11.55 → 2.11.56-0

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 (94) hide show
  1. package/lib/App.js +1 -1
  2. package/lib/components/atoms/AgentActivityIndicator/AgentActivityIndicator.js +83 -0
  3. package/lib/components/atoms/AgentActivityIndicator/AgentActivityIndicator.styles.js +21 -0
  4. package/lib/components/atoms/AgentActivityIndicator/AgentActivityIndicator.utils.js +9 -0
  5. package/lib/components/atoms/AgentActivityIndicator/index.js +2 -0
  6. package/lib/components/atoms/AttachmentPreviewModal/AttachmentPreviewModal.styles.js +3 -2
  7. package/lib/components/atoms/Backdrop/Backdrop.js +2 -2
  8. package/lib/components/atoms/EntitySelector/EntitySelector.js +17 -9
  9. package/lib/components/atoms/EntitySelector/EntitySelector.skeleton.js +38 -0
  10. package/lib/components/atoms/EntitySelector/EntitySelector.styles.js +6 -2
  11. package/lib/components/atoms/Fade/Fade.js +56 -0
  12. package/lib/components/atoms/Fade/index.js +2 -0
  13. package/lib/components/atoms/FrequentlyAskedQuestions/FrequentlyAskedQuestions.js +28 -17
  14. package/lib/components/atoms/FrequentlyAskedQuestions/FrequentlyAskedQuestions.skeleton.js +44 -0
  15. package/lib/components/atoms/FrequentlyAskedQuestions/FrequentlyAskedQuestions.styles.js +6 -2
  16. package/lib/components/atoms/FrequentlyUsedActions/FrequentlyUsedActions.js +28 -17
  17. package/lib/components/atoms/FrequentlyUsedActions/FrequentlyUsedActions.skeleton.js +43 -0
  18. package/lib/components/atoms/FrequentlyUsedActions/FrequentlyUsedActions.styles.js +6 -2
  19. package/lib/components/atoms/ModalClientAccess/ModalClientAccess.styles.js +3 -2
  20. package/lib/components/atoms/ModalProject/ModalProject.style.js +3 -2
  21. package/lib/components/atoms/OnboardingModalButton/OnboardingModalButton.styles.js +3 -2
  22. package/lib/components/atoms/Skeleton/Skeleton.js +36 -0
  23. package/lib/components/atoms/Skeleton/index.js +2 -0
  24. package/lib/components/atoms/icons/MAIAIsologo.js +51 -9
  25. package/lib/components/atoms/icons/SkillsNavIcon.js +27 -0
  26. package/lib/components/atoms/icons/index.js +2 -1
  27. package/lib/components/atoms/index.js +4 -1
  28. package/lib/components/molecules/AbmSection/AbmAccessibilitySection/AbmAccessibilitySection.js +3 -1
  29. package/lib/components/molecules/AbmSection/AbmAccessibilitySection/AbmAccessibilitySection.styles.js +10 -3
  30. package/lib/components/molecules/AbmSection/AbmGeneralSection.js +7 -2
  31. package/lib/components/molecules/AbmSection/AbmGeneralSection.styles.js +20 -10
  32. package/lib/components/molecules/AbmSection/AbmKnowledgeSection.js +6 -2
  33. package/lib/components/molecules/AbmSection/AbmKnowledgeSection.styles.js +26 -19
  34. package/lib/components/molecules/ChatAIContent/ChatAIContent.js +64 -35
  35. package/lib/components/molecules/ChatAIContent/ChatAIContent.skeleton.js +187 -0
  36. package/lib/components/molecules/ChatAIHistory/ChatAIHistory.js +70 -60
  37. package/lib/components/molecules/ChatAIHistory/styles.js +6 -2
  38. package/lib/components/molecules/ChatAIHome/ChatAIHome.js +11 -19
  39. package/lib/components/molecules/ChatAIHome/ChatAIHomeMaiaker.js +10 -5
  40. package/lib/components/molecules/ChatAIHome/ChatAIHomeMaiaker.styles.js +8 -4
  41. package/lib/components/molecules/ChatAIHome/styles.js +6 -4
  42. package/lib/components/molecules/ChatAIMessages/ChatAIMessages.js +31 -13
  43. package/lib/components/molecules/ChatAIMessages/newStyles.js +4 -3
  44. package/lib/components/molecules/ChatAIModal/ChatAIModal.js +48 -22
  45. package/lib/components/molecules/ChatAIModal/components/ChatAiAgentOptions/ChatAiAgentOptions.js +2 -1
  46. package/lib/components/molecules/ChatAIModal/components/ChatAiAgentOptions/ChatAiAgentOptions.styles.js +9 -5
  47. package/lib/components/molecules/ChatAIModal/components/ChatAiModalHeader/ChatAiModalHeader.js +2 -2
  48. package/lib/components/molecules/ChatAIModal/components/ChatAiModalHeader/ChatAiModalHeader.styles.js +4 -3
  49. package/lib/components/molecules/ChatAIModal/constants.js +6 -2
  50. package/lib/components/molecules/ChatAIMyAgents/ChatAIMyAgents.js +8 -4
  51. package/lib/components/molecules/ChatAIMyAgents/ChatAIMyAgents.styles.js +14 -9
  52. package/lib/components/molecules/ChatAIMySkills/ChatAIMySkills.js +357 -0
  53. package/lib/components/molecules/ChatAIMySkills/ChatAIMySkills.styles.js +145 -0
  54. package/lib/components/molecules/ChatAIMySkills/index.js +2 -0
  55. package/lib/components/molecules/ProjectSummaryContent/ProjectSummaryContent.js +24 -17
  56. package/lib/components/molecules/Sidebar/Sidebar.js +66 -22
  57. package/lib/components/molecules/Sidebar/Sidebar.layout.styles.js +6 -5
  58. package/lib/components/molecules/Sidebar/Sidebar.skeleton.js +48 -0
  59. package/lib/components/molecules/Sidebar/Sidebar.styles.js +20 -13
  60. package/lib/components/organisms/AbmAgentModal/AbmAgentModal.js +9 -2
  61. package/lib/components/organisms/AbmAgentModal/AbmAgentModal.styles.js +8 -3
  62. package/lib/components/organisms/AbmSkillGenerateModal/AbmSkillGenerateModal.js +160 -0
  63. package/lib/components/organisms/AbmSkillGenerateModal/AbmSkillGenerateModal.styles.js +34 -0
  64. package/lib/components/organisms/AbmSkillGenerateModal/index.js +2 -0
  65. package/lib/components/organisms/AbmSkillModal/AbmSkillModal.js +446 -0
  66. package/lib/components/organisms/AbmSkillModal/AbmSkillModal.styles.js +98 -0
  67. package/lib/components/organisms/AbmSkillModal/index.js +2 -0
  68. package/lib/components/organisms/DeleteAgentModal/DeleteAgentModal.styles.js +3 -2
  69. package/lib/components/organisms/DeleteQuestionModal/DeleteQuestionModal.js +8 -1
  70. package/lib/components/organisms/DeleteQuestionModal/DeleteQuestionModal.styles.js +3 -2
  71. package/lib/components/organisms/EditQuestionModal/EditQuestionModal.styles.js +3 -2
  72. package/lib/components/organisms/ModalFileExceeds/ModalFileExceeds.styles.js +3 -2
  73. package/lib/components/organisms/SourcesInformation/SourcesInformationModal.styles.js +3 -2
  74. package/lib/hooks/useChatManager/useChatManager.js +141 -44
  75. package/lib/hooks/useOrchestratorStream/useOrchestratorStream.interface.js +1 -1
  76. package/lib/hooks/useOrchestratorStream/useOrchestratorStream.js +196 -82
  77. package/lib/lang/br/index.js +105 -2
  78. package/lib/lang/en/index.js +105 -2
  79. package/lib/lang/es/index.js +105 -2
  80. package/lib/lang/fr/index.js +104 -1
  81. package/lib/services/maia/Skills/createSkill.js +39 -0
  82. package/lib/services/maia/Skills/deleteSkill.js +38 -0
  83. package/lib/services/maia/Skills/generateSkill.js +41 -0
  84. package/lib/services/maia/Skills/getSkills.js +90 -0
  85. package/lib/services/maia/Skills/updateSkill.js +39 -0
  86. package/lib/store/useChatsStore.js +2 -4
  87. package/lib/styles/cascade.js +14 -0
  88. package/lib/styles/transitions.js +21 -0
  89. package/lib/types/skill.js +2 -0
  90. package/lib/types/streamActivity.js +2 -0
  91. package/lib/utils/debugMaiaSseLog.js +27 -0
  92. package/lib/utils/sseStreamContent.js +17 -0
  93. package/lib/utils/streamActivityMessages.js +374 -0
  94. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6W10sInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2hvb2tzL3VzZU9yY2hlc3RyYXRvclN0cmVhbS91c2VPcmNoZXN0cmF0b3JTdHJlYW0uaW50ZXJmYWNlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qIGVzbGludC1kaXNhYmxlIEB0eXBlc2NyaXB0LWVzbGludC9uby1leHBsaWNpdC1hbnkgKi9cbmltcG9ydCB7IEFwcHJvdmFsUmVxdWVzdCB9IGZyb20gJy4uLy4uL3R5cGVzL0NoYXQnXG5cbmV4cG9ydCB0eXBlIFVzZU9yY2hlc3RyYXRvclN0cmVhbVByb3BzID0ge1xuICBvblN0cmVhbVVwZGF0ZT86IChtZXNzYWdlOiBzdHJpbmcsIHNvdXJjZX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