impact-ui 5.0.2-alpha.1 → 5.0.2-alpha.2

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 (79) hide show
  1. package/dist/components/Badge/index.js +1 -1
  2. package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.js +1 -1
  3. package/dist/components/Panel/Panel.types.d.ts +0 -7
  4. package/dist/components/Panel/Panel.types.d.ts.map +1 -1
  5. package/dist/components/Panel/index.d.ts +1 -1
  6. package/dist/components/Panel/index.d.ts.map +1 -1
  7. package/dist/components/Panel/index.js +2 -5
  8. package/dist/components/TableChat/EmptyContainer.js +3 -3
  9. package/dist/components/TableChat/TableChatSidePanel.d.ts +1 -2
  10. package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
  11. package/dist/components/TableChat/TableChatSidePanel.js +23 -214
  12. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
  13. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts +2 -4
  14. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
  15. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +24 -55
  16. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts.map +1 -1
  17. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.js +2 -3
  18. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts.map +1 -1
  19. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +43 -20
  20. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts.map +1 -1
  21. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +2 -37
  22. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts.map +1 -1
  23. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +18 -54
  24. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts +1 -4
  25. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
  26. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +81 -90
  27. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +2 -2
  28. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.js +65 -0
  29. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
  30. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +4 -11
  31. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
  32. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +56 -67
  33. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts +1 -8
  34. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
  35. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.js +4 -170
  36. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts +1 -5
  37. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
  38. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +124 -138
  39. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts +9 -11
  40. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
  41. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +106 -102
  42. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +17 -0
  43. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts.map +1 -1
  44. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +1 -4
  45. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts +1 -2
  46. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
  47. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
  48. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +215 -327
  49. package/dist/components/TableChat/components/chatConfig.js +1 -0
  50. package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -1
  51. package/dist/components/TableV36/AgGridHeader.js +22 -3
  52. package/dist/components/TableV36/index.d.ts.map +1 -1
  53. package/dist/components/TableV36/index.js +8 -135
  54. package/dist/components/TableV36/tableHeader.d.ts +1 -5
  55. package/dist/components/TableV36/tableHeader.d.ts.map +1 -1
  56. package/dist/components/TableV36/tableHeader.js +11 -36
  57. package/dist/locales/de-DE.json.d.ts +3 -16
  58. package/dist/locales/de-DE.json.js +3 -15
  59. package/dist/locales/en-US.json.d.ts +3 -16
  60. package/dist/locales/en-US.json.js +3 -15
  61. package/dist/locales/es-ES.json.d.ts +3 -16
  62. package/dist/locales/es-ES.json.js +3 -15
  63. package/dist/mcp-component-registry.json +7 -1
  64. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +156 -250
  65. package/dist/stories/tableV36ChatApiMock.d.ts +74 -222
  66. package/dist/stories/tableV36ChatApiMock.d.ts.map +1 -1
  67. package/package.json +2 -2
  68. package/dist/_virtual/Check.js +0 -4
  69. package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.d.ts +0 -11
  70. package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.d.ts.map +0 -1
  71. package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.js +0 -57
  72. package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.d.ts +0 -12
  73. package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.d.ts.map +0 -1
  74. package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.js +0 -132
  75. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.js +0 -29
  76. package/dist/components/TableV36/withChatIndicator.d.ts +0 -3
  77. package/dist/components/TableV36/withChatIndicator.d.ts.map +0 -1
  78. package/dist/components/TableV36/withChatIndicator.js +0 -89
  79. package/dist/node_modules/@mui/icons-material/Check.js +0 -17
@@ -1,7 +1,6 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}:root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px;--ia-modal-backdrop:#0d152ccc}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.chat-input{background:#fff;box-sizing:border-box;margin:0 16px 12px;min-width:0}.chat-input.focused{border-top-color:#4259ee}.chat-input .edit-mode-indicator{background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:8px;margin-bottom:8px;padding:8px 12px}.chat-input .edit-mode-indicator .edit-mode-text{align-items:center;color:#856404;display:flex;font-size:14px;justify-content:space-between}.chat-input .edit-mode-indicator .edit-mode-text span{align-items:center;display:flex;font-weight:500;gap:6px}.chat-input .edit-mode-indicator .edit-mode-text .cancel-edit-btn{background:none;border:1px solid #ffeaa7;border-radius:4px;color:#856404;cursor:pointer;font-size:12px;padding:4px 8px;transition:all .2s ease}.chat-input .edit-mode-indicator .edit-mode-text .cancel-edit-btn:hover{background-color:#ffeaa7;color:#6c5400}.chat-input .quick-action-container{align-items:center;display:flex;justify-content:flex-end;margin-bottom:6px}.chat-input .show-formatting-enabled{justify-content:space-between}.chat-input .formatting-toolbar{align-items:center}.chat-input .formatting-toolbar .format-button{align-items:center;background:none;border:none;color:#7a8294;cursor:pointer;display:flex;justify-content:center;padding:6px}.chat-input .formatting-toolbar .format-button:hover{background:#eceefd;color:#4259ee}.chat-input .input-container{position:relative}.chat-input .input-container .input-wrapper{align-items:flex-end;background:#fff;border:1px solid #d9dde7;border-radius:12px;box-shadow:0 0 12px 8px #0000000f;display:flex;gap:8px;padding:12px 16px;transition:border-color .2s ease}.chat-input .input-container .input-wrapper:focus-within{border-color:#4259ee}.chat-input .input-container .input-wrapper .message-input{background:none;border:none;color:#1f2b4d;flex:1;font-family:Manrope,sans-serif;font-size:14px;line-height:1.4;outline:none}.chat-input .input-container .input-wrapper .message-input::placeholder{color:#7a8294}.chat-input .input-container .input-wrapper .image-input-container{display:flex;flex-direction:column;gap:2px;width:100%}.chat-input .input-container .character-count{bottom:-22px;color:#b4bac7;font-size:11px;position:absolute;right:-5px}.chat-input .formatting-toolbar{display:flex;gap:4px;padding:4px}.chat-input .formatting-toolbar .format-button{border-radius:4px;padding:4px;transition:all .2s ease}.chat-input .formatting-toolbar .format-button:hover{background-color:#f5f5f5}.chat-input .formatting-toolbar .format-button.is-active{background-color:#e2f4ff;color:#4259ee}.chat-input .upload-container{display:flex;flex-direction:column;width:100%}.chat-input .upload-container .image-preview-container{display:flex;flex-wrap:wrap;gap:8px}.chat-input .upload-container .image-preview-container img{border-radius:8px;object-fit:cover}.chat-input .upload-container .file-preview-container{display:flex;flex-direction:column;gap:4px}.chat-input .message-input{border:1px solid #f0f0f0;border-radius:4px;font-size:14px;line-height:1.5;padding:8px;width:100%}.chat-input .message-input:focus{border-color:#4259ee;outline:none}.chat-input .chat-input-section{border-radius:12px;display:flex;flex-direction:column;gap:6px;position:static;width:100%}.chat-input .chat-input-section.new-chat-screen{bottom:0;position:relative;width:100%}.chat-input .chat-input-section.custom-screen{bottom:15px;width:95%}.chat-input .chat-input-textarea{border:none;max-height:500px;min-height:10px;outline:none;overflow-y:auto;resize:none;width:100%}.chat-input .chat-input-container{background:#fff;border:1px solid #d9dde7;border-radius:12px;box-shadow:0 0 12px 8px #0000000f;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;padding:12px;position:relative;width:100%}.chat-input .chat-input-container:focus-within,.chat-input .chat-input-container:hover{border:1px solid #b3bdf8}.chat-input .reply-preview{align-items:flex-start;background:#f2f4fb;border-radius:8px 8px 0 0;box-sizing:border-box;display:flex;gap:8px;padding:8px;width:100%}.chat-input .reply-preview__text{color:#60697d;flex:1;font-size:14px;font-weight:500;letter-spacing:.14px;line-height:1.6;margin:0;min-width:0;word-break:break-word}.chat-input .reply-preview__close{align-items:center;background:#0000;border:none;border-radius:4px;color:#7a8294;cursor:pointer;display:inline-flex;flex-shrink:0;height:20px;justify-content:center;margin:0;padding:0;width:20px}.chat-input .reply-preview__close:hover{background:#1f2b4d0f;color:#1f2b4d}.chat-input .chat-input-wrapper{align-items:flex-end;display:flex;max-height:182px;transition:all .2s ease-in-out;width:100%}.chat-input .chat-input-wrapper.stacked{align-items:stretch;flex-direction:column}.chat-input .chat-input-wrapper.empty{align-items:flex-end;flex-direction:row}.chat-input .chat-input-wrapper.single-line-textarea{align-items:center}.chat-input .message-input-container{display:flex;flex-direction:column;gap:4px;width:100%}.chat-input .chat-textarea{background:#0000;border:none;color:#1f2b4d;flex:1;font-family:Manrope,sans-serif;font-size:14px;font-weight:400;line-height:160%;max-height:142px;outline:none;overflow-y:hidden;padding:0;resize:none;width:100%}.chat-input .chat-textarea::placeholder{color:#b4bac7}.chat-input .chat-textarea{transition:all .2s ease-in-out}.chat-input .chat-textarea.scrollable{overflow-y:auto}.chat-input .chat-actions{align-items:flex-end;display:flex;gap:12px;height:32px;justify-content:flex-end}.chat-input .chat-actions.fixed{height:36px}.chat-input .chat-actions.not-fixed{height:32px}.chat-input .input-actions{align-items:center;display:flex;gap:8px}.chat-input .input-actions .send-actions{align-items:center;display:flex;gap:8px;height:30px}.chat-input .input-actions .send-actions .ia-btn-icon{height:28px;margin-bottom:-4px}.chat-input .input-actions .send-actions img{width:12px}.chat-input .input-actions .send-actions .check-button{background:none;border:3px solid #eceefd;border-radius:8px;color:#7a8294;cursor:pointer;height:32px;padding:8px;width:32px}.chat-input .input-actions .send-actions .check-button .check-icon{width:12px}.chat-input .input-actions .send-actions .send-button{align-items:center!important;background:#0000!important;border:none!important;border-radius:6px!important;color:#fff!important;display:flex!important;height:32px!important;justify-content:center!important;min-width:32px!important;padding:0!important;width:32px!important}.tiptap p.is-editor-empty:first-child:before{color:#d9dde7;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.quick-action-menu.MuiPopover-root .MuiPaper-root{margin-bottom:8px!important}.ia-styles.ia-menu.quick-action-container .MuiList-root{min-width:214px!important}.ia-styles.ia-menu.quick-action-container .MuiPaper-root{margin-left:6px!important;margin-top:-10px!important}.ia-styles.ia-menu.priority-action-container .MuiList-root{min-width:214px!important}.ia-styles.ia-menu.priority-action-container .MuiPaper-root{margin-left:36px!important;margin-top:-6px!important}.input-actions .send-actions .ia-btn-icon-loading{margin-bottom:0;padding-top:7px}.selected_action_priority{border:1px solid #3649c6!important}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('@keyframes ia-shimmer-horizontal{0%{background-position:100% 0}to{background-position:0 0}}@keyframes ia-shimmer-vertical{0%{background-position:0 100%}to{background-position:0 0}}@property --ia-shimmer-angle{syntax:"<angle>";inherits:false;initial-value:0deg}@keyframes ia-shimmer-circular{0%{--ia-shimmer-angle:0deg}to{--ia-shimmer-angle:360deg}}.ia-shimmer{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ltr{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(90deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ltr{animation:none;background-image:linear-gradient(90deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--rtl{animation:ia-shimmer-horizontal 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(270deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:300% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--rtl{animation:none;background-image:linear-gradient(270deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--btt{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:reverse;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--btt{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--ttb{animation:ia-shimmer-vertical 1.6s ease-in-out infinite;animation-direction:normal;background-color:#e8edf5;background-image:linear-gradient(0deg,#e8edf5,#eceef4 22%,#e8edf5 48%,#d5dbe8 62%,#e8edf5);background-repeat:no-repeat;background-size:100% 300%}@media (prefers-reduced-motion:reduce){.ia-shimmer--ttb{animation:none;background-image:linear-gradient(0deg,#e8edf5,#eceef4 40%,#d5dbe8);background-size:100% 100%}}.ia-shimmer--circular{background-color:#e8edf5;background-repeat:no-repeat;--ia-shimmer-angle:0deg;animation:ia-shimmer-circular 1.6s linear infinite;background-image:conic-gradient(from var(--ia-shimmer-angle),#eceef4 0deg,#e8edf5 80deg,#d5dbe8 160deg,#e8edf5 260deg,#eceef4 1turn);background-size:100% 100%}@media (prefers-reduced-motion:reduce){.ia-shimmer--circular{animation:none;background-image:conic-gradient(from 0deg,#eceef4,#e8edf5,#d5dbe8,#e8edf5 1turn)}}:root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px;--ia-modal-backdrop:#0d152ccc}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.chat-input{background:#fff;box-sizing:border-box;margin:0 16px 12px;min-width:0}.chat-input.focused{border-top-color:#4259ee}.chat-input .edit-mode-indicator{background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:8px;margin-bottom:8px;padding:8px 12px}.chat-input .edit-mode-indicator .edit-mode-text{align-items:center;color:#856404;display:flex;font-size:14px;justify-content:space-between}.chat-input .edit-mode-indicator .edit-mode-text span{align-items:center;display:flex;font-weight:500;gap:6px}.chat-input .edit-mode-indicator .edit-mode-text .cancel-edit-btn{background:none;border:1px solid #ffeaa7;border-radius:4px;color:#856404;cursor:pointer;font-size:12px;padding:4px 8px;transition:all .2s ease}.chat-input .edit-mode-indicator .edit-mode-text .cancel-edit-btn:hover{background-color:#ffeaa7;color:#6c5400}.chat-input .quick-action-container{align-items:center;display:flex;justify-content:flex-end;margin-bottom:6px}.chat-input .show-formatting-enabled{justify-content:space-between}.chat-input .formatting-toolbar{align-items:center}.chat-input .formatting-toolbar .format-button{align-items:center;background:none;border:none;color:#7a8294;cursor:pointer;display:flex;justify-content:center;padding:6px}.chat-input .formatting-toolbar .format-button:hover{background:#eceefd;color:#4259ee}.chat-input .input-container{position:relative}.chat-input .input-container .input-wrapper{align-items:flex-end;background:#fff;border:1px solid #d9dde7;border-radius:12px;box-shadow:0 0 12px 8px #0000000f;display:flex;gap:8px;padding:12px 16px;transition:border-color .2s ease}.chat-input .input-container .input-wrapper:focus-within{border-color:#4259ee}.chat-input .input-container .input-wrapper .message-input{background:none;border:none;color:#1f2b4d;flex:1;font-family:Manrope,sans-serif;font-size:14px;line-height:1.4;outline:none}.chat-input .input-container .input-wrapper .message-input::placeholder{color:#7a8294}.chat-input .input-container .input-wrapper .image-input-container{display:flex;flex-direction:column;gap:2px;width:100%}.chat-input .input-container .character-count{bottom:-22px;color:#b4bac7;font-size:11px;position:absolute;right:-5px}.chat-input .formatting-toolbar{display:flex;gap:4px;padding:4px}.chat-input .formatting-toolbar .format-button{border-radius:4px;padding:4px;transition:all .2s ease}.chat-input .formatting-toolbar .format-button:hover{background-color:#f5f5f5}.chat-input .formatting-toolbar .format-button.is-active{background-color:#e2f4ff;color:#4259ee}.chat-input .upload-container{display:flex;flex-direction:column;width:100%}.chat-input .upload-container .image-preview-container{display:flex;flex-wrap:wrap;gap:8px}.chat-input .upload-container .image-preview-container img{border-radius:8px;object-fit:cover}.chat-input .upload-container .file-preview-container{display:flex;flex-direction:column;gap:4px}.chat-input .message-input{border:1px solid #f0f0f0;border-radius:4px;font-size:14px;line-height:1.5;padding:8px;width:100%}.chat-input .message-input:focus{border-color:#4259ee;outline:none}.chat-input .chat-input-section{border-radius:12px;display:flex;flex-direction:column;gap:6px;position:static;width:100%}.chat-input .chat-input-section.new-chat-screen{bottom:0;position:relative;width:100%}.chat-input .chat-input-section.custom-screen{bottom:15px;width:95%}.chat-input .chat-input-textarea{border:none;max-height:500px;min-height:10px;outline:none;overflow-y:auto;resize:none;width:100%}.chat-input .chat-input-container{background:#fff;border:1px solid #d9dde7;border-radius:12px;box-shadow:0 0 12px 8px #0000000f;padding:12px;position:relative;width:100%}.chat-input .chat-input-container:focus-within,.chat-input .chat-input-container:hover{border:1px solid #b3bdf8}.chat-input .chat-input-wrapper{align-items:flex-end;display:flex;max-height:182px;transition:all .2s ease-in-out;width:100%}.chat-input .chat-input-wrapper.stacked{align-items:stretch;flex-direction:column}.chat-input .chat-input-wrapper.empty{align-items:flex-end;flex-direction:row}.chat-input .chat-input-wrapper.single-line-textarea{align-items:center}.chat-input .message-input-container{display:flex;flex-direction:column;gap:4px;width:100%}.chat-input .chat-textarea{background:#0000;border:none;color:#1f2b4d;flex:1;font-family:Manrope,sans-serif;font-size:14px;font-weight:400;line-height:160%;max-height:142px;outline:none;overflow-y:hidden;padding:0;resize:none;width:100%}.chat-input .chat-textarea::placeholder{color:#b4bac7}.chat-input .chat-textarea{transition:all .2s ease-in-out}.chat-input .chat-textarea.scrollable{overflow-y:auto}.chat-input .chat-actions{align-items:flex-end;display:flex;gap:12px;height:32px;justify-content:flex-end}.chat-input .chat-actions.fixed{height:36px}.chat-input .chat-actions.not-fixed{height:32px}.chat-input .input-actions{align-items:center;display:flex;gap:8px}.chat-input .input-actions .send-actions{align-items:center;display:flex;gap:8px;height:30px}.chat-input .input-actions .send-actions .ia-btn-icon{height:28px;margin-bottom:-4px}.chat-input .input-actions .send-actions img{width:12px}.chat-input .input-actions .send-actions .check-button{background:none;border:3px solid #eceefd;border-radius:8px;color:#7a8294;cursor:pointer;height:32px;padding:8px;width:32px}.chat-input .input-actions .send-actions .check-button .check-icon{width:12px}.chat-input .input-actions .send-actions .send-button{align-items:center!important;background:#0000!important;border:none!important;border-radius:6px!important;color:#fff!important;display:flex!important;height:32px!important;justify-content:center!important;min-width:32px!important;padding:0!important;width:32px!important}.tiptap p.is-editor-empty:first-child:before{color:#d9dde7;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.quick-action-menu.MuiPopover-root .MuiPaper-root{margin-bottom:8px!important}.ia-styles.ia-menu.quick-action-container .MuiList-root{min-width:214px!important}.ia-styles.ia-menu.quick-action-container .MuiPaper-root{margin-left:6px!important;margin-top:-10px!important}.ia-styles.ia-menu.priority-action-container .MuiList-root{min-width:214px!important}.ia-styles.ia-menu.priority-action-container .MuiPaper-root{margin-left:36px!important;margin-top:-6px!important}.input-actions .send-actions .ia-btn-icon-loading{margin-bottom:0;padding-top:7px}.selected_action_priority{border:1px solid #3649c6!important}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
- import React__default, { useState, useRef, useMemo, useEffect } from "react";
4
- import default_1 from "../../../../../node_modules/@mui/icons-material/Close.js";
3
+ import React__default, { useState, useRef, useEffect } from "react";
5
4
  import { getAssetUrl } from "../../../../../utils/assetBase.js";
6
5
  import { Button } from "../../../../Button/index.js";
7
6
  import { Menu } from "../../../../Menu/index.js";
@@ -31,7 +30,6 @@ const ChatInput = ({
31
30
  onAttach,
32
31
  onImageUpload,
33
32
  onEmojiClick,
34
- onQuickAction,
35
33
  showFormatting = true,
36
34
  showQuickAction = true,
37
35
  quickActionLabel,
@@ -42,9 +40,6 @@ const ChatInput = ({
42
40
  isEditMode = false,
43
41
  editingMessage = null,
44
42
  onCancelEdit,
45
- isReplyMode = false,
46
- replyingToMessage = null,
47
- onCancelReply,
48
43
  chatId
49
44
  }) => {
50
45
  var _a, _b, _c, _d, _e, _f;
@@ -72,15 +67,6 @@ const ChatInput = ({
72
67
  const [height, setHeight] = useState("auto");
73
68
  const [selectedPriority, setSelectedPriority] = useState("");
74
69
  const [selectedQuickAction, setSelectedQuickAction] = useState(null);
75
- const REPLY_PREVIEW_MAX_LENGTH = 140;
76
- const replyPreviewText = useMemo(() => {
77
- if (!replyingToMessage) return "";
78
- const raw = replyingToMessage.content || replyingToMessage.text || "";
79
- if (typeof raw !== "string") return "";
80
- const plain = raw.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim();
81
- if (plain.length <= REPLY_PREVIEW_MAX_LENGTH) return plain;
82
- return `${plain.slice(0, REPLY_PREVIEW_MAX_LENGTH).trim()}...`;
83
- }, [replyingToMessage]);
84
70
  const [isFormatActive, setIsFormatActive] = useState({
85
71
  bold: false,
86
72
  italic: false,
@@ -410,6 +396,13 @@ const ChatInput = ({
410
396
  }
411
397
  }, [message]);
412
398
  return /* @__PURE__ */ jsxs("div", { className: `${className} ${isFocused ? "focused" : ""}`, children: [
399
+ isEditMode && editingMessage && /* @__PURE__ */ jsx("div", { className: "edit-mode-indicator", children: /* @__PURE__ */ jsxs("div", { className: "edit-mode-text", children: [
400
+ /* @__PURE__ */ jsxs("span", { children: [
401
+ "✏️ ",
402
+ t("tableChat.input.editingMessage")
403
+ ] }),
404
+ /* @__PURE__ */ jsx("button", { className: "cancel-edit-btn", type: "button", onClick: onCancelEdit, children: t("common.cancel") })
405
+ ] }) }),
413
406
  /* @__PURE__ */ jsxs("div", { className: `quick-action-container ${showFormatting ? "show-formatting-enabled" : ""}`, children: [
414
407
  showFormatting && /* @__PURE__ */ jsx(
415
408
  EditorToolbar,
@@ -417,7 +410,21 @@ const ChatInput = ({
417
410
  ref: toolbarRef,
418
411
  activeStates: isFormatActive,
419
412
  className: "formatting-toolbar",
420
- enabledItems: ["bold", "italic", "link", "strike", "highlight"],
413
+ enabledItems: [
414
+ "bold",
415
+ "italic",
416
+ "link",
417
+ // "bulletList", // Enabled if required (functionality implemented)
418
+ // "orderedList",
419
+ "strike",
420
+ "highlight"
421
+ // "h1",
422
+ // "h2",
423
+ // "h3",
424
+ // "h4",
425
+ // "h5",
426
+ // "h6",
427
+ ],
421
428
  editor: editorRef.current,
422
429
  onEmojiSelect: handleEmojiPickerOpen
423
430
  }
@@ -453,7 +460,7 @@ const ChatInput = ({
453
460
  options: quickActionMenuOptions,
454
461
  selected: selectedQuickAction,
455
462
  onClick: (option) => {
456
- var _a2, _b2;
463
+ var _a2;
457
464
  const text = getPrefillText(option.value, quickActionMenuOptions);
458
465
  if ((selectedQuickAction == null ? void 0 : selectedQuickAction.value) === option.value) {
459
466
  setSelectedQuickAction(null);
@@ -461,16 +468,10 @@ const ChatInput = ({
461
468
  if ((_a2 = editorRef.current) == null ? void 0 : _a2.clearContent) {
462
469
  editorRef.current.clearContent();
463
470
  }
464
- onChange == null ? void 0 : onChange("");
465
471
  } else {
466
472
  setSelectedQuickAction(text);
467
473
  const prefillText = (text == null ? void 0 : text.prefillText) || "";
468
474
  setMessage(prefillText);
469
- if (((_b2 = editorRef.current) == null ? void 0 : _b2.editor) && prefillText) {
470
- editorRef.current.editor.commands.setContent(`<p>${prefillText}</p>`);
471
- }
472
- onChange == null ? void 0 : onChange(prefillText);
473
- onQuickAction == null ? void 0 : onQuickAction(option, chatId);
474
475
  }
475
476
  setQuickActionMenuOpen(false);
476
477
  },
@@ -481,127 +482,112 @@ const ChatInput = ({
481
482
  )
482
483
  ] })
483
484
  ] }),
484
- /* @__PURE__ */ jsx("div", { className: `chat-input-section ${isReplyMode && replyingToMessage ? "is-replying" : ""}`, children: /* @__PURE__ */ jsxs("div", { className: "chat-input-container", children: [
485
- isReplyMode && replyingToMessage ? /* @__PURE__ */ jsxs("div", { className: "reply-preview", children: [
486
- /* @__PURE__ */ jsx("p", { className: "reply-preview__text", children: replyPreviewText }),
487
- onCancelReply ? /* @__PURE__ */ jsx(
488
- "button",
489
- {
490
- "aria-label": t("common.close"),
491
- className: "reply-preview__close",
492
- type: "button",
493
- onClick: onCancelReply,
494
- children: /* @__PURE__ */ jsx(default_1, { fontSize: "small" })
495
- }
496
- ) : null
497
- ] }) : null,
498
- /* @__PURE__ */ jsxs(
499
- "div",
500
- {
501
- className: `chat-input-wrapper ${isFixed ? "stacked" : ""} ${!isFixed || message === "" ? "empty" : ""} ${!isFixed ? "single-line-textarea" : ""}`,
502
- style: { height },
503
- children: [
504
- /* @__PURE__ */ jsxs("div", { className: "message-input-container", children: [
505
- /* @__PURE__ */ jsxs("div", { className: "upload-container", children: [
506
- /* @__PURE__ */ jsx("div", { className: "image-preview-container", children: image || isLoading || isError ? /* @__PURE__ */ jsx(
507
- ImageUploader,
508
- {
509
- handleClear,
510
- handleRetry,
511
- image,
512
- isError,
513
- isLoading
514
- }
515
- ) : null }),
516
- /* @__PURE__ */ jsx("div", { className: "file-preview-container", children: (uploadedFile || fileUploadLoading || fileUploadError) && /* @__PURE__ */ jsx(
517
- FileUploader,
518
- {
519
- file: uploadedFile,
520
- fileUrl,
521
- isError: fileUploadError,
522
- isLoading: fileUploadLoading,
523
- onClear: handleFileClear,
524
- onDownload: handleFileDownload,
525
- onRetry: handleFileRetry
526
- }
527
- ) })
528
- ] }),
529
- /* @__PURE__ */ jsx(
530
- MentionEditor,
485
+ /* @__PURE__ */ jsx("div", { className: "chat-input-section", children: /* @__PURE__ */ jsx("div", { className: "chat-input-container", children: /* @__PURE__ */ jsxs(
486
+ "div",
487
+ {
488
+ className: `chat-input-wrapper ${isFixed ? "stacked" : ""} ${!isFixed || message === "" ? "empty" : ""} ${!isFixed ? "single-line-textarea" : ""}`,
489
+ style: { height },
490
+ children: [
491
+ /* @__PURE__ */ jsxs("div", { className: "message-input-container", children: [
492
+ /* @__PURE__ */ jsxs("div", { className: "upload-container", children: [
493
+ /* @__PURE__ */ jsx("div", { className: "image-preview-container", children: image || isLoading || isError ? /* @__PURE__ */ jsx(
494
+ ImageUploader,
531
495
  {
532
- ref: editorRef,
533
- chatId,
534
- disabled,
535
- loadParticipantsAvatar: messageConfig.loadParticipantsAvatar,
536
- maxLength,
537
- placeholder: t("tableChat.input.mentionPlaceholder"),
538
- value: getDisplayValue(),
539
- onChange: handleInputChange,
540
- onSend: handleSend
496
+ handleClear,
497
+ handleRetry,
498
+ image,
499
+ isError,
500
+ isLoading
541
501
  }
542
- )
543
- ] }),
544
- /* @__PURE__ */ jsx("div", { className: `chat-actions ${isFixed ? "fixed" : ""}`, children: /* @__PURE__ */ jsx("div", { className: "input-actions", children: /* @__PURE__ */ jsxs("div", { className: "send-actions", children: [
545
- /* @__PURE__ */ jsx(
546
- Button,
502
+ ) : null }),
503
+ /* @__PURE__ */ jsx("div", { className: "file-preview-container", children: (uploadedFile || fileUploadLoading || fileUploadError) && /* @__PURE__ */ jsx(
504
+ FileUploader,
547
505
  {
548
- ariaLabel: t("tableChat.input.markAsDone"),
549
- className: `${selectedPriority.value && "selected_action_priority"} check-button`,
550
- icon: /* @__PURE__ */ jsx("img", { className: "check-icon", src: CheckIcon }),
551
- variant: "tertiary",
552
- onClick: handlePriorityClick
506
+ file: uploadedFile,
507
+ fileUrl,
508
+ isError: fileUploadError,
509
+ isLoading: fileUploadLoading,
510
+ onClear: handleFileClear,
511
+ onDownload: handleFileDownload,
512
+ onRetry: handleFileRetry
553
513
  }
554
- ),
555
- /* @__PURE__ */ jsx(
556
- Menu,
557
- {
558
- anchorEl: priorityAnchorEl,
559
- iconPlacement: "top",
560
- menuContainerClassName: "priority-action-container",
561
- MenuProps: {
562
- anchorOrigin: {
563
- vertical: "top",
564
- horizontal: "left"
565
- },
566
- transformOrigin: {
567
- vertical: "bottom",
568
- horizontal: "right"
569
- }
570
- },
571
- open: priorityMenuOpen,
572
- options: priorityMenuOptions,
573
- selected: selectedPriority,
574
- onClick: (option) => {
575
- const text = getPrefillText(option.value, priorityMenuOptions);
576
- if (selectedPriority.value === option.value) {
577
- setSelectedPriority("");
578
- } else {
579
- setSelectedPriority(text);
580
- }
581
- setPriorityMenuOpen(false);
514
+ ) })
515
+ ] }),
516
+ /* @__PURE__ */ jsx(
517
+ MentionEditor,
518
+ {
519
+ ref: editorRef,
520
+ chatId,
521
+ disabled,
522
+ loadParticipantsAvatar: messageConfig.loadParticipantsAvatar,
523
+ maxLength,
524
+ placeholder: t("tableChat.input.mentionPlaceholder"),
525
+ value: getDisplayValue(),
526
+ onChange: handleInputChange,
527
+ onSend: handleSend
528
+ }
529
+ )
530
+ ] }),
531
+ /* @__PURE__ */ jsx("div", { className: `chat-actions ${isFixed ? "fixed" : ""}`, children: /* @__PURE__ */ jsx("div", { className: "input-actions", children: /* @__PURE__ */ jsxs("div", { className: "send-actions", children: [
532
+ /* @__PURE__ */ jsx(
533
+ Button,
534
+ {
535
+ ariaLabel: t("tableChat.input.markAsDone"),
536
+ className: `${selectedPriority.value && "selected_action_priority"} check-button`,
537
+ icon: /* @__PURE__ */ jsx("img", { className: "check-icon", src: CheckIcon }),
538
+ variant: "tertiary",
539
+ onClick: handlePriorityClick
540
+ }
541
+ ),
542
+ /* @__PURE__ */ jsx(
543
+ Menu,
544
+ {
545
+ anchorEl: priorityAnchorEl,
546
+ iconPlacement: "top",
547
+ menuContainerClassName: "priority-action-container",
548
+ MenuProps: {
549
+ anchorOrigin: {
550
+ vertical: "top",
551
+ horizontal: "left"
582
552
  },
583
- onClose: () => {
584
- setPriorityMenuOpen(false);
553
+ transformOrigin: {
554
+ vertical: "bottom",
555
+ horizontal: "right"
585
556
  }
557
+ },
558
+ open: priorityMenuOpen,
559
+ options: priorityMenuOptions,
560
+ selected: selectedPriority,
561
+ onClick: (option) => {
562
+ const text = getPrefillText(option.value, priorityMenuOptions);
563
+ if (selectedPriority.value === option.value) {
564
+ setSelectedPriority("");
565
+ } else {
566
+ setSelectedPriority(text);
567
+ }
568
+ setPriorityMenuOpen(false);
569
+ },
570
+ onClose: () => {
571
+ setPriorityMenuOpen(false);
586
572
  }
587
- ),
588
- /* @__PURE__ */ jsx(
589
- Button,
590
- {
591
- "aria-label": t("tableChat.input.sendMessage"),
592
- disabled: !getTrimmedValue(),
593
- icon: /* @__PURE__ */ jsx("img", { src: SendIcon }),
594
- loading: isSending,
595
- title: t("tableChat.input.sendMessage"),
596
- variant: "primary",
597
- onClick: handleSend
598
- }
599
- )
600
- ] }) }) })
601
- ]
602
- }
603
- )
604
- ] }) }),
573
+ }
574
+ ),
575
+ /* @__PURE__ */ jsx(
576
+ Button,
577
+ {
578
+ "aria-label": isEditMode ? t("tableChat.input.updateMessage") : t("tableChat.input.sendMessage"),
579
+ disabled: !getTrimmedValue(),
580
+ icon: /* @__PURE__ */ jsx("img", { src: SendIcon }),
581
+ loading: isSending,
582
+ title: isEditMode ? t("tableChat.input.updateMessage") : t("tableChat.input.sendMessage"),
583
+ variant: "primary",
584
+ onClick: handleSend
585
+ }
586
+ )
587
+ ] }) }) })
588
+ ]
589
+ }
590
+ ) }) }),
605
591
  /* @__PURE__ */ jsx(
606
592
  TableChatEmojiPicker,
607
593
  {
@@ -1,36 +1,34 @@
1
1
 
2
- export declare const ChatMessage: ({ messageId, authorName, authorAvatar, content, timestamp, isUser, isDeleted, edited, deleted, onReply, onFinalize, onPin, pinned, onEdit, onMessageDelete, type, priority, className, onThreadClick, isThreadIconVisible, isPinChatIconvisible, isHighlighted, highlightColor, quote, showReplyActions, showFinalize, showEditOption, showDeleteOption, moreOptions, isEditing, onCancelEdit, onSaveEdit, }: {
2
+ export declare const ChatMessage: ({ messageId, author, authorName, authorAvatar, content, timestamp, isUser, showActions, showAvatar, isDeleted, edited, deleted, onReply, onReact, onBookmark, onPin, pinned, onMore, onEdit, onMessageDelete, onRefetchMessages, type, priority, actions, className, onThreadClick, isThreadIconVisible, isPinChatIconvisible, isHighlighted, highlightColor, }: {
3
3
  messageId: any;
4
+ author: any;
4
5
  authorName: any;
5
6
  authorAvatar: any;
6
7
  content: any;
7
8
  timestamp: any;
8
9
  isUser?: boolean | undefined;
10
+ showActions?: boolean | undefined;
11
+ showAvatar?: boolean | undefined;
9
12
  isDeleted?: boolean | undefined;
10
13
  edited?: boolean | undefined;
11
14
  deleted?: boolean | undefined;
12
15
  onReply: any;
13
- onFinalize: any;
16
+ onReact: any;
17
+ onBookmark: any;
14
18
  onPin: any;
15
19
  pinned: any;
20
+ onMore: any;
16
21
  onEdit: any;
17
22
  onMessageDelete: any;
23
+ onRefetchMessages: any;
18
24
  type?: string | undefined;
19
25
  priority?: string | undefined;
26
+ actions?: never[] | undefined;
20
27
  className?: string | undefined;
21
28
  onThreadClick: any;
22
29
  isThreadIconVisible: any;
23
30
  isPinChatIconvisible: any;
24
31
  isHighlighted?: boolean | undefined;
25
32
  highlightColor?: null | undefined;
26
- quote: any;
27
- showReplyActions?: boolean | undefined;
28
- showFinalize?: boolean | undefined;
29
- showEditOption?: boolean | undefined;
30
- showDeleteOption?: boolean | undefined;
31
- moreOptions?: never[] | undefined;
32
- isEditing?: boolean | undefined;
33
- onCancelEdit: any;
34
- onSaveEdit: any;
35
33
  }) => import("react/jsx-runtime").JSX.Element;
36
34
  //# sourceMappingURL=ChatMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.tsx"],"names":[],"mappings":"AAWA,OAAO,2BAA2B,CAAC;AAKnC,eAAO,MAAM,WAAW,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiC3B,4CA0JA,CAAC"}
1
+ {"version":3,"file":"ChatMessage.d.ts","sourceRoot":"","sources":["../../../../../../src/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.tsx"],"names":[],"mappings":"AAUA,OAAO,2BAA2B,CAAC;AAKnC,eAAO,MAAM,WAAW,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B3B,4CA4KA,CAAC"}