impact-ui 5.0.1 → 5.0.2-alpha.1

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 (102) hide show
  1. package/dist/_virtual/Check.js +4 -0
  2. package/dist/_virtual/index13.js +2 -2
  3. package/dist/_virtual/index14.js +2 -2
  4. package/dist/_virtual/index3.js +2 -4
  5. package/dist/_virtual/index4.js +3 -3
  6. package/dist/_virtual/index5.js +4 -2
  7. package/dist/components/Badge/index.js +1 -1
  8. package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.js +1 -1
  9. package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +1 -0
  10. package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -1
  11. package/dist/components/Breadcrumbs/index.d.ts +1 -1
  12. package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
  13. package/dist/components/Breadcrumbs/index.js +8 -4
  14. package/dist/components/Panel/Panel.types.d.ts +7 -0
  15. package/dist/components/Panel/Panel.types.d.ts.map +1 -1
  16. package/dist/components/Panel/index.d.ts +1 -1
  17. package/dist/components/Panel/index.d.ts.map +1 -1
  18. package/dist/components/Panel/index.js +5 -2
  19. package/dist/components/TableChat/EmptyContainer.js +3 -3
  20. package/dist/components/TableChat/TableChatSidePanel.d.ts +2 -1
  21. package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
  22. package/dist/components/TableChat/TableChatSidePanel.js +214 -23
  23. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
  24. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts +4 -2
  25. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
  26. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +55 -24
  27. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts.map +1 -1
  28. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.js +3 -2
  29. package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.d.ts +11 -0
  30. package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.d.ts.map +1 -0
  31. package/dist/components/TableChat/components/TableChatLeftSection/ChatFilterChips/ChatFilterChips.js +57 -0
  32. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts.map +1 -1
  33. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +20 -43
  34. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts.map +1 -1
  35. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +37 -2
  36. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts.map +1 -1
  37. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +54 -18
  38. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts +4 -1
  39. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
  40. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +90 -81
  41. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +2 -2
  42. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
  43. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +11 -4
  44. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
  45. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +67 -56
  46. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts +8 -1
  47. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
  48. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.js +170 -4
  49. package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.d.ts +12 -0
  50. package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.d.ts.map +1 -0
  51. package/dist/components/TableChat/components/TableChatRightSection/ChatInlineEdit/ChatInlineEdit.js +132 -0
  52. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts +5 -1
  53. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
  54. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +138 -124
  55. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts +11 -9
  56. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
  57. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +102 -106
  58. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +0 -17
  59. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts.map +1 -1
  60. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +4 -1
  61. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts +2 -1
  62. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
  63. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.js +29 -0
  64. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
  65. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +327 -215
  66. package/dist/components/TableChat/components/chatConfig.js +0 -1
  67. package/dist/components/TableV36/AdvanceSearchModalItem.d.ts.map +1 -1
  68. package/dist/components/TableV36/advanceSearchModal.d.ts.map +1 -1
  69. package/dist/components/TableV36/filterUtils.d.ts +21 -0
  70. package/dist/components/TableV36/filterUtils.d.ts.map +1 -1
  71. package/dist/components/TableV36/filterUtils.js +126 -16
  72. package/dist/components/TableV36/filterUtils.test.d.ts +2 -0
  73. package/dist/components/TableV36/filterUtils.test.d.ts.map +1 -0
  74. package/dist/components/TableV36/index.d.ts.map +1 -1
  75. package/dist/components/TableV36/index.js +141 -13
  76. package/dist/components/TableV36/tableFunctions.d.ts.map +1 -1
  77. package/dist/components/TableV36/tableFunctions.js +73 -17
  78. package/dist/components/TableV36/tableHeader.d.ts +5 -1
  79. package/dist/components/TableV36/tableHeader.d.ts.map +1 -1
  80. package/dist/components/TableV36/tableHeader.js +36 -11
  81. package/dist/components/TableV36/withChatIndicator.d.ts +3 -0
  82. package/dist/components/TableV36/withChatIndicator.d.ts.map +1 -0
  83. package/dist/components/TableV36/withChatIndicator.js +89 -0
  84. package/dist/locales/de-DE.json.d.ts +17 -3
  85. package/dist/locales/de-DE.json.js +16 -3
  86. package/dist/locales/en-US.json.d.ts +17 -3
  87. package/dist/locales/en-US.json.js +16 -3
  88. package/dist/locales/es-ES.json.d.ts +17 -3
  89. package/dist/locales/es-ES.json.js +16 -3
  90. package/dist/mcp-component-registry.json +8 -8
  91. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +295 -411
  92. package/dist/node_modules/@mui/icons-material/Check.js +17 -0
  93. package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
  94. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  95. package/dist/node_modules/react-is/index.js +1 -1
  96. package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
  97. package/dist/stories/tableV36ChatApiMock.d.ts +222 -74
  98. package/dist/stories/tableV36ChatApiMock.d.ts.map +1 -1
  99. package/dist/utils/helper.d.ts +2 -0
  100. package/dist/utils/helper.d.ts.map +1 -1
  101. package/package.json +2 -2
  102. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.js +0 -65
@@ -1,6 +1,7 @@
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)}}();
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)}}();
2
2
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
3
- import React__default, { useState, useRef, useEffect } from "react";
3
+ import React__default, { useState, useRef, useMemo, useEffect } from "react";
4
+ import default_1 from "../../../../../node_modules/@mui/icons-material/Close.js";
4
5
  import { getAssetUrl } from "../../../../../utils/assetBase.js";
5
6
  import { Button } from "../../../../Button/index.js";
6
7
  import { Menu } from "../../../../Menu/index.js";
@@ -30,6 +31,7 @@ const ChatInput = ({
30
31
  onAttach,
31
32
  onImageUpload,
32
33
  onEmojiClick,
34
+ onQuickAction,
33
35
  showFormatting = true,
34
36
  showQuickAction = true,
35
37
  quickActionLabel,
@@ -40,6 +42,9 @@ const ChatInput = ({
40
42
  isEditMode = false,
41
43
  editingMessage = null,
42
44
  onCancelEdit,
45
+ isReplyMode = false,
46
+ replyingToMessage = null,
47
+ onCancelReply,
43
48
  chatId
44
49
  }) => {
45
50
  var _a, _b, _c, _d, _e, _f;
@@ -67,6 +72,15 @@ const ChatInput = ({
67
72
  const [height, setHeight] = useState("auto");
68
73
  const [selectedPriority, setSelectedPriority] = useState("");
69
74
  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]);
70
84
  const [isFormatActive, setIsFormatActive] = useState({
71
85
  bold: false,
72
86
  italic: false,
@@ -396,13 +410,6 @@ const ChatInput = ({
396
410
  }
397
411
  }, [message]);
398
412
  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
- ] }) }),
406
413
  /* @__PURE__ */ jsxs("div", { className: `quick-action-container ${showFormatting ? "show-formatting-enabled" : ""}`, children: [
407
414
  showFormatting && /* @__PURE__ */ jsx(
408
415
  EditorToolbar,
@@ -410,21 +417,7 @@ const ChatInput = ({
410
417
  ref: toolbarRef,
411
418
  activeStates: isFormatActive,
412
419
  className: "formatting-toolbar",
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
- ],
420
+ enabledItems: ["bold", "italic", "link", "strike", "highlight"],
428
421
  editor: editorRef.current,
429
422
  onEmojiSelect: handleEmojiPickerOpen
430
423
  }
@@ -460,7 +453,7 @@ const ChatInput = ({
460
453
  options: quickActionMenuOptions,
461
454
  selected: selectedQuickAction,
462
455
  onClick: (option) => {
463
- var _a2;
456
+ var _a2, _b2;
464
457
  const text = getPrefillText(option.value, quickActionMenuOptions);
465
458
  if ((selectedQuickAction == null ? void 0 : selectedQuickAction.value) === option.value) {
466
459
  setSelectedQuickAction(null);
@@ -468,10 +461,16 @@ const ChatInput = ({
468
461
  if ((_a2 = editorRef.current) == null ? void 0 : _a2.clearContent) {
469
462
  editorRef.current.clearContent();
470
463
  }
464
+ onChange == null ? void 0 : onChange("");
471
465
  } else {
472
466
  setSelectedQuickAction(text);
473
467
  const prefillText = (text == null ? void 0 : text.prefillText) || "";
474
468
  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);
475
474
  }
476
475
  setQuickActionMenuOpen(false);
477
476
  },
@@ -482,112 +481,127 @@ const ChatInput = ({
482
481
  )
483
482
  ] })
484
483
  ] }),
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,
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,
495
531
  {
496
- handleClear,
497
- handleRetry,
498
- image,
499
- isError,
500
- isLoading
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
501
541
  }
502
- ) : null }),
503
- /* @__PURE__ */ jsx("div", { className: "file-preview-container", children: (uploadedFile || fileUploadLoading || fileUploadError) && /* @__PURE__ */ jsx(
504
- FileUploader,
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,
505
547
  {
506
- file: uploadedFile,
507
- fileUrl,
508
- isError: fileUploadError,
509
- isLoading: fileUploadLoading,
510
- onClear: handleFileClear,
511
- onDownload: handleFileDownload,
512
- onRetry: handleFileRetry
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
513
553
  }
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"
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
+ }
552
570
  },
553
- transformOrigin: {
554
- vertical: "bottom",
555
- horizontal: "right"
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);
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);
582
+ },
583
+ onClose: () => {
584
+ setPriorityMenuOpen(false);
567
585
  }
568
- setPriorityMenuOpen(false);
569
- },
570
- onClose: () => {
571
- setPriorityMenuOpen(false);
572
586
  }
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
- ) }) }),
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
+ ] }) }),
591
605
  /* @__PURE__ */ jsx(
592
606
  TableChatEmojiPicker,
593
607
  {
@@ -1,34 +1,36 @@
1
1
 
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, }: {
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, }: {
3
3
  messageId: any;
4
- author: any;
5
4
  authorName: any;
6
5
  authorAvatar: any;
7
6
  content: any;
8
7
  timestamp: any;
9
8
  isUser?: boolean | undefined;
10
- showActions?: boolean | undefined;
11
- showAvatar?: boolean | undefined;
12
9
  isDeleted?: boolean | undefined;
13
10
  edited?: boolean | undefined;
14
11
  deleted?: boolean | undefined;
15
12
  onReply: any;
16
- onReact: any;
17
- onBookmark: any;
13
+ onFinalize: any;
18
14
  onPin: any;
19
15
  pinned: any;
20
- onMore: any;
21
16
  onEdit: any;
22
17
  onMessageDelete: any;
23
- onRefetchMessages: any;
24
18
  type?: string | undefined;
25
19
  priority?: string | undefined;
26
- actions?: never[] | undefined;
27
20
  className?: string | undefined;
28
21
  onThreadClick: any;
29
22
  isThreadIconVisible: any;
30
23
  isPinChatIconvisible: any;
31
24
  isHighlighted?: boolean | undefined;
32
25
  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;
33
35
  }) => import("react/jsx-runtime").JSX.Element;
34
36
  //# 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":"AAUA,OAAO,2BAA2B,CAAC;AAKnC,eAAO,MAAM,WAAW,GAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B3B,4CA4KA,CAAC"}
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"}