@uzum-tech/ui 2.3.8 → 2.4.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.
- package/dist/index.js +63596 -32483
- package/dist/index.mjs +64978 -33874
- package/dist/index.prod.js +3 -3
- package/dist/index.prod.mjs +3 -3
- package/es/_internal/icons/Bold.d.ts +2 -0
- package/es/_internal/icons/Bold.mjs +29 -0
- package/es/_internal/icons/BulletList.d.ts +2 -0
- package/es/_internal/icons/BulletList.mjs +23 -0
- package/es/_internal/icons/HorizontalRule.d.ts +2 -0
- package/es/_internal/icons/HorizontalRule.mjs +14 -0
- package/es/_internal/icons/Italic.d.ts +2 -0
- package/es/_internal/icons/Italic.mjs +19 -0
- package/es/_internal/icons/NumberedList.d.ts +2 -0
- package/es/_internal/icons/NumberedList.mjs +23 -0
- package/es/_internal/icons/Quote.d.ts +2 -0
- package/es/_internal/icons/Quote.mjs +23 -0
- package/es/_internal/icons/SettingsLine.d.ts +2 -0
- package/es/_internal/icons/SettingsLine.mjs +19 -0
- package/es/_internal/icons/Strikethrough.d.ts +2 -0
- package/es/_internal/icons/Strikethrough.mjs +14 -0
- package/es/_internal/icons/index.d.ts +8 -0
- package/es/_internal/icons/index.mjs +8 -0
- package/es/_styles/markdown/markdown-content.cssr.d.ts +6 -0
- package/es/_styles/markdown/markdown-content.cssr.mjs +22 -0
- package/es/_utils/markdown/index.d.ts +3 -2
- package/es/_utils/markdown/index.mjs +2 -1
- package/es/_utils/markdown/render-markdown.d.ts +2 -1
- package/es/_utils/markdown/render-markdown.mjs +1 -1
- package/es/chat/src/Chat.d.ts +261 -24
- package/es/chat/src/Chat.mjs +2 -0
- package/es/chat/src/ChatMainArea.d.ts +81 -8
- package/es/chat/src/ChatMainArea.mjs +111 -355
- package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +9084 -0
- package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.mjs +70 -0
- package/es/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +2645 -0
- package/es/chat/src/ChatParts/ChatAttachmentButton/interface.mjs +19 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +9070 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.mjs +78 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +2637 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/interface.mjs +15 -0
- package/es/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.d.ts +89 -0
- package/es/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.mjs +63 -0
- package/es/chat/src/ChatParts/ChatEditorInput/interface.d.ts +42 -0
- package/es/chat/src/ChatParts/ChatEditorInput/interface.mjs +34 -0
- package/es/chat/src/ChatParts/ChatFooter/ChatFooter.d.ts +115 -0
- package/es/chat/src/ChatParts/ChatFooter/ChatFooter.mjs +99 -0
- package/es/chat/src/ChatParts/ChatFooter/interface.d.ts +56 -0
- package/es/chat/src/ChatParts/ChatFooter/interface.mjs +46 -0
- package/es/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +9205 -0
- package/es/chat/src/ChatParts/ChatHeader/ChatHeader.mjs +219 -0
- package/es/chat/src/ChatParts/ChatHeader/interface.d.ts +2694 -0
- package/es/chat/src/ChatParts/ChatHeader/interface.mjs +67 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +9142 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.mjs +130 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +2654 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/interface.mjs +27 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.d.ts +148 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.mjs +92 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/interface.d.ts +72 -0
- package/es/chat/src/ChatParts/ChatMessagesArea/interface.mjs +58 -0
- package/es/chat/src/interface.d.ts +7 -0
- package/es/chat/src/interface.mjs +4 -0
- package/es/chat/src/styles/index.cssr.mjs +11 -12
- package/es/chat/styles/light.d.ts +4 -0
- package/es/chat/styles/light.mjs +20 -1
- package/es/components.d.ts +13087 -103
- package/es/components.mjs +5 -0
- package/es/config-provider/src/ConfigProvider.mjs +6 -2
- package/es/config-provider/src/internal-interface.d.ts +2 -0
- package/es/data-table/index.d.ts +1 -1
- package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
- package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.mjs +220 -0
- package/es/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
- package/es/data-table/src/ColumnSettings/styles.cssr.mjs +25 -0
- package/es/data-table/src/DataTable.d.ts +60 -2
- package/es/data-table/src/DataTable.mjs +99 -23
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
- package/es/data-table/src/interface.d.ts +53 -1
- package/es/data-table/src/interface.mjs +18 -1
- package/es/data-table/src/styles/index.cssr.mjs +17 -1
- package/es/data-table/src/use-column-settings.d.ts +2 -0
- package/es/data-table/src/use-column-settings.mjs +124 -0
- package/es/data-table/src/utils/column-utils.d.ts +2 -1
- package/es/data-table/src/utils/column-utils.mjs +6 -0
- package/es/editor/index.d.ts +10 -0
- package/es/editor/index.mjs +5 -0
- package/es/editor/src/Editor.d.ts +3922 -0
- package/es/editor/src/Editor.mjs +230 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.mjs +63 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
- package/es/editor/src/EditorParts/BlockTypeSelect/interface.mjs +14 -0
- package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4102 -0
- package/es/editor/src/EditorParts/EditorContent/EditorContent.mjs +154 -0
- package/es/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
- package/es/editor/src/EditorParts/EditorContent/index.mjs +2 -0
- package/es/editor/src/EditorParts/EditorContent/interface.d.ts +1918 -0
- package/es/editor/src/EditorParts/EditorContent/interface.mjs +17 -0
- package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4606 -0
- package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.mjs +170 -0
- package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
- package/es/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.mjs +56 -0
- package/es/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
- package/es/editor/src/EditorParts/EditorToolbar/index.mjs +2 -0
- package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +1924 -0
- package/es/editor/src/EditorParts/EditorToolbar/interface.mjs +18 -0
- package/es/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
- package/es/editor/src/EditorParts/SendButton/SendButton.mjs +44 -0
- package/es/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
- package/es/editor/src/EditorParts/SendButton/interface.mjs +8 -0
- package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
- package/es/editor/src/EditorParts/ToolbarButton/ToolbarButton.mjs +44 -0
- package/es/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
- package/es/editor/src/EditorParts/ToolbarButton/interface.mjs +13 -0
- package/es/editor/src/composables/use-editor-commands.d.ts +8 -0
- package/es/editor/src/composables/use-editor-commands.mjs +69 -0
- package/es/editor/src/composables/use-editor-css-vars.d.ts +4 -0
- package/es/editor/src/composables/use-editor-css-vars.mjs +89 -0
- package/es/editor/src/constants.d.ts +12 -0
- package/es/editor/src/constants.mjs +25 -0
- package/es/editor/src/extensions.d.ts +7 -0
- package/es/editor/src/extensions.mjs +135 -0
- package/es/editor/src/interface.d.ts +2037 -0
- package/es/editor/src/interface.mjs +53 -0
- package/es/editor/src/markdown/constants.d.ts +8 -0
- package/es/editor/src/markdown/constants.mjs +206 -0
- package/es/editor/src/markdown/editor-serializer.d.ts +9 -0
- package/es/editor/src/markdown/editor-serializer.mjs +18 -0
- package/es/editor/src/markdown/escape.d.ts +2 -0
- package/es/editor/src/markdown/escape.mjs +24 -0
- package/es/editor/src/markdown/html.d.ts +1 -0
- package/es/editor/src/markdown/html.mjs +4 -0
- package/es/editor/src/markdown/parser.d.ts +4 -0
- package/es/editor/src/markdown/parser.mjs +36 -0
- package/es/editor/src/markdown/serializer-state.d.ts +10 -0
- package/es/editor/src/markdown/serializer-state.mjs +12 -0
- package/es/editor/src/markdown/serializer.d.ts +3 -0
- package/es/editor/src/markdown/serializer.mjs +8 -0
- package/es/editor/src/styles/index.cssr.d.ts +2 -0
- package/es/editor/src/styles/index.cssr.mjs +131 -0
- package/es/editor/styles/dark.d.ts +634 -0
- package/es/editor/styles/dark.mjs +21 -0
- package/es/editor/styles/index.d.ts +3 -0
- package/es/editor/styles/index.mjs +2 -0
- package/es/editor/styles/light.d.ts +685 -0
- package/es/editor/styles/light.mjs +91 -0
- package/es/editor/tests/fixtures/round-trip.d.ts +12 -0
- package/es/editor/tests/fixtures/round-trip.mjs +98 -0
- package/es/editor/tests/utils.d.ts +7 -0
- package/es/editor/tests/utils.mjs +27 -0
- package/es/locales/common/enUS.d.ts +22 -0
- package/es/locales/common/enUS.mjs +23 -1
- package/es/locales/common/ruRU.mjs +28 -8
- package/es/locales/common/uzUZ.mjs +23 -1
- package/es/locales/common/zhCN.mjs +23 -1
- package/es/locales/utils/date-locale.d.ts +2 -0
- package/es/locales/utils/date-locale.mjs +8 -0
- package/es/message-bubble/src/MessageBubble.d.ts +9 -0
- package/es/message-bubble/src/MessageBubble.mjs +9 -8
- package/es/message-bubble/src/interface.d.ts +5 -1
- package/es/message-bubble/src/interface.mjs +4 -0
- package/es/message-bubble/src/styles/index.cssr.mjs +4 -17
- package/es/styles.d.ts +1 -0
- package/es/styles.mjs +1 -0
- package/es/themes/dark.mjs +2 -0
- package/es/themes/light.mjs +2 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_internal/icons/Bold.d.ts +2 -0
- package/lib/_internal/icons/Bold.js +13 -0
- package/lib/_internal/icons/BulletList.d.ts +2 -0
- package/lib/_internal/icons/BulletList.js +13 -0
- package/lib/_internal/icons/HorizontalRule.d.ts +2 -0
- package/lib/_internal/icons/HorizontalRule.js +10 -0
- package/lib/_internal/icons/Italic.d.ts +2 -0
- package/lib/_internal/icons/Italic.js +11 -0
- package/lib/_internal/icons/NumberedList.d.ts +2 -0
- package/lib/_internal/icons/NumberedList.js +13 -0
- package/lib/_internal/icons/Quote.d.ts +2 -0
- package/lib/_internal/icons/Quote.js +13 -0
- package/lib/_internal/icons/SettingsLine.d.ts +2 -0
- package/lib/_internal/icons/SettingsLine.js +11 -0
- package/lib/_internal/icons/Strikethrough.d.ts +2 -0
- package/lib/_internal/icons/Strikethrough.js +10 -0
- package/lib/_internal/icons/index.d.ts +8 -0
- package/lib/_internal/icons/index.js +18 -2
- package/lib/_styles/markdown/markdown-content.cssr.d.ts +6 -0
- package/lib/_styles/markdown/markdown-content.cssr.js +28 -0
- package/lib/_utils/markdown/index.d.ts +3 -2
- package/lib/_utils/markdown/index.js +4 -1
- package/lib/_utils/markdown/render-markdown.d.ts +2 -1
- package/lib/_utils/markdown/render-markdown.js +1 -0
- package/lib/chat/src/Chat.d.ts +261 -24
- package/lib/chat/src/Chat.js +2 -0
- package/lib/chat/src/ChatMainArea.d.ts +81 -8
- package/lib/chat/src/ChatMainArea.js +93 -223
- package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +9084 -0
- package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.js +52 -0
- package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +2645 -0
- package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.js +17 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +9070 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.js +55 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +2637 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/interface.js +14 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.d.ts +89 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/ChatEditorInput.js +45 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/interface.d.ts +42 -0
- package/lib/chat/src/ChatParts/ChatEditorInput/interface.js +37 -0
- package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.d.ts +115 -0
- package/lib/chat/src/ChatParts/ChatFooter/ChatFooter.js +66 -0
- package/lib/chat/src/ChatParts/ChatFooter/interface.d.ts +56 -0
- package/lib/chat/src/ChatParts/ChatFooter/interface.js +49 -0
- package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +9205 -0
- package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.js +164 -0
- package/lib/chat/src/ChatParts/ChatHeader/interface.d.ts +2694 -0
- package/lib/chat/src/ChatParts/ChatHeader/interface.js +53 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +9142 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.js +98 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +2654 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/interface.js +23 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.d.ts +148 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/ChatMessagesArea.js +49 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/interface.d.ts +72 -0
- package/lib/chat/src/ChatParts/ChatMessagesArea/interface.js +61 -0
- package/lib/chat/src/interface.d.ts +7 -0
- package/lib/chat/src/interface.js +3 -0
- package/lib/chat/src/styles/index.cssr.js +11 -12
- package/lib/chat/styles/light.d.ts +4 -0
- package/lib/chat/styles/light.js +22 -1
- package/lib/components.d.ts +13087 -103
- package/lib/components.js +17 -7
- package/lib/config-provider/src/ConfigProvider.js +7 -4
- package/lib/config-provider/src/internal-interface.d.ts +2 -0
- package/lib/data-table/index.d.ts +1 -1
- package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +156 -0
- package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.js +181 -0
- package/lib/data-table/src/ColumnSettings/styles.cssr.d.ts +2 -0
- package/lib/data-table/src/ColumnSettings/styles.cssr.js +30 -0
- package/lib/data-table/src/DataTable.d.ts +60 -2
- package/lib/data-table/src/DataTable.js +65 -23
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
- package/lib/data-table/src/interface.d.ts +53 -1
- package/lib/data-table/src/interface.js +17 -2
- package/lib/data-table/src/styles/index.cssr.js +17 -1
- package/lib/data-table/src/use-column-settings.d.ts +2 -0
- package/lib/data-table/src/use-column-settings.js +144 -0
- package/lib/data-table/src/utils/column-utils.d.ts +2 -1
- package/lib/data-table/src/utils/column-utils.js +5 -0
- package/lib/editor/index.d.ts +10 -0
- package/lib/editor/index.js +19 -0
- package/lib/editor/src/Editor.d.ts +3922 -0
- package/lib/editor/src/Editor.js +224 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.d.ts +37 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/BlockTypeSelect.js +47 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/interface.d.ts +21 -0
- package/lib/editor/src/EditorParts/BlockTypeSelect/interface.js +17 -0
- package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +4102 -0
- package/lib/editor/src/EditorParts/EditorContent/EditorContent.js +121 -0
- package/lib/editor/src/EditorParts/EditorContent/index.d.ts +2 -0
- package/lib/editor/src/EditorParts/EditorContent/index.js +10 -0
- package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +1918 -0
- package/lib/editor/src/EditorParts/EditorContent/interface.js +8 -0
- package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +4606 -0
- package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.js +126 -0
- package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.d.ts +11 -0
- package/lib/editor/src/EditorParts/EditorToolbar/composables/use-editor-toolbar-customization.js +52 -0
- package/lib/editor/src/EditorParts/EditorToolbar/index.d.ts +2 -0
- package/lib/editor/src/EditorParts/EditorToolbar/index.js +10 -0
- package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +1924 -0
- package/lib/editor/src/EditorParts/EditorToolbar/interface.js +11 -0
- package/lib/editor/src/EditorParts/SendButton/SendButton.d.ts +23 -0
- package/lib/editor/src/EditorParts/SendButton/SendButton.js +31 -0
- package/lib/editor/src/EditorParts/SendButton/interface.d.ts +18 -0
- package/lib/editor/src/EditorParts/SendButton/interface.js +11 -0
- package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.d.ts +32 -0
- package/lib/editor/src/EditorParts/ToolbarButton/ToolbarButton.js +34 -0
- package/lib/editor/src/EditorParts/ToolbarButton/interface.d.ts +20 -0
- package/lib/editor/src/EditorParts/ToolbarButton/interface.js +16 -0
- package/lib/editor/src/composables/use-editor-commands.d.ts +8 -0
- package/lib/editor/src/composables/use-editor-commands.js +70 -0
- package/lib/editor/src/composables/use-editor-css-vars.d.ts +4 -0
- package/lib/editor/src/composables/use-editor-css-vars.js +50 -0
- package/lib/editor/src/constants.d.ts +12 -0
- package/lib/editor/src/constants.js +56 -0
- package/lib/editor/src/extensions.d.ts +7 -0
- package/lib/editor/src/extensions.js +141 -0
- package/lib/editor/src/interface.d.ts +2037 -0
- package/lib/editor/src/interface.js +22 -0
- package/lib/editor/src/markdown/constants.d.ts +8 -0
- package/lib/editor/src/markdown/constants.js +201 -0
- package/lib/editor/src/markdown/editor-serializer.d.ts +9 -0
- package/lib/editor/src/markdown/editor-serializer.js +20 -0
- package/lib/editor/src/markdown/escape.d.ts +2 -0
- package/lib/editor/src/markdown/escape.js +31 -0
- package/lib/editor/src/markdown/html.d.ts +1 -0
- package/lib/editor/src/markdown/html.js +9 -0
- package/lib/editor/src/markdown/parser.d.ts +4 -0
- package/lib/editor/src/markdown/parser.js +42 -0
- package/lib/editor/src/markdown/serializer-state.d.ts +10 -0
- package/lib/editor/src/markdown/serializer-state.js +16 -0
- package/lib/editor/src/markdown/serializer.d.ts +3 -0
- package/lib/editor/src/markdown/serializer.js +9 -0
- package/lib/editor/src/styles/index.cssr.d.ts +2 -0
- package/lib/editor/src/styles/index.cssr.js +136 -0
- package/lib/editor/styles/dark.d.ts +634 -0
- package/lib/editor/styles/dark.js +23 -0
- package/lib/editor/styles/index.d.ts +3 -0
- package/lib/editor/styles/index.js +10 -0
- package/lib/editor/styles/light.d.ts +685 -0
- package/lib/editor/styles/light.js +75 -0
- package/lib/editor/tests/fixtures/round-trip.d.ts +12 -0
- package/lib/editor/tests/fixtures/round-trip.js +125 -0
- package/lib/editor/tests/utils.d.ts +7 -0
- package/lib/editor/tests/utils.js +26 -0
- package/lib/locales/common/enUS.d.ts +22 -0
- package/lib/locales/common/enUS.js +23 -1
- package/lib/locales/common/ruRU.js +28 -8
- package/lib/locales/common/uzUZ.js +23 -1
- package/lib/locales/common/zhCN.js +23 -1
- package/lib/locales/utils/date-locale.d.ts +2 -0
- package/lib/locales/utils/date-locale.js +14 -0
- package/lib/message-bubble/src/MessageBubble.d.ts +9 -0
- package/lib/message-bubble/src/MessageBubble.js +12 -7
- package/lib/message-bubble/src/interface.d.ts +5 -1
- package/lib/message-bubble/src/interface.js +3 -0
- package/lib/message-bubble/src/styles/index.cssr.js +4 -17
- package/lib/styles.d.ts +1 -0
- package/lib/styles.js +127 -125
- package/lib/themes/dark.js +136 -134
- package/lib/themes/light.js +136 -134
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +8 -1
- package/volar.d.ts +3 -0
- package/web-types.json +454 -2
package/lib/chat/src/Chat.d.ts
CHANGED
|
@@ -24,6 +24,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
type: import("vue").PropType<import("./interface").ChatPropsInterface["disabled"]>;
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
|
+
legacyInput: {
|
|
28
|
+
type: import("vue").PropType<import("./interface").ChatPropsInterface["legacyInput"]>;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
27
31
|
listEmptyProps: {
|
|
28
32
|
type: import("vue").PropType<Partial<import("./interface").ChatPropsInterface["listEmptyProps"]>>;
|
|
29
33
|
default: undefined;
|
|
@@ -4200,6 +4204,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4200
4204
|
readonly type: NumberConstructor;
|
|
4201
4205
|
readonly default: 10;
|
|
4202
4206
|
};
|
|
4207
|
+
readonly disabled: {
|
|
4208
|
+
readonly type: BooleanConstructor;
|
|
4209
|
+
readonly default: false;
|
|
4210
|
+
};
|
|
4211
|
+
readonly legacyInput: {
|
|
4212
|
+
readonly type: BooleanConstructor;
|
|
4213
|
+
readonly default: false;
|
|
4214
|
+
};
|
|
4203
4215
|
readonly headerButtonProps: {
|
|
4204
4216
|
readonly type: import("vue").PropType<Partial<import("../..").ButtonProps>>;
|
|
4205
4217
|
readonly default: undefined;
|
|
@@ -10761,21 +10773,68 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10761
10773
|
themeClass: import("vue").Ref<string, string>;
|
|
10762
10774
|
onRender: () => void;
|
|
10763
10775
|
isStandalone: boolean;
|
|
10764
|
-
renderHeader: () => JSX.Element;
|
|
10765
|
-
renderMessages: () => JSX.Element;
|
|
10766
|
-
renderEditingBlock: () => JSX.Element | null;
|
|
10767
|
-
renderFooter: () => JSX.Element;
|
|
10768
10776
|
messagesBodyRef: import("vue").Ref<HTMLElement | {
|
|
10769
10777
|
$el: HTMLElement;
|
|
10770
10778
|
} | undefined, HTMLElement | {
|
|
10771
10779
|
$el: HTMLElement;
|
|
10772
10780
|
} | undefined>;
|
|
10773
|
-
inputRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
10774
10781
|
inputValue: import("vue").WritableComputedRef<string, string>;
|
|
10782
|
+
attachmentFileList: import("vue").Ref<{
|
|
10783
|
+
id: string;
|
|
10784
|
+
name: string;
|
|
10785
|
+
batchId?: string | null | undefined;
|
|
10786
|
+
percentage?: number | null | undefined;
|
|
10787
|
+
status: "pending" | "uploading" | "finished" | "removed" | "error";
|
|
10788
|
+
url?: string | null | undefined;
|
|
10789
|
+
file?: {
|
|
10790
|
+
readonly lastModified: number;
|
|
10791
|
+
readonly name: string;
|
|
10792
|
+
readonly webkitRelativePath: string;
|
|
10793
|
+
readonly size: number;
|
|
10794
|
+
readonly type: string;
|
|
10795
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
10796
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
10797
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
10798
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
10799
|
+
text: () => Promise<string>;
|
|
10800
|
+
} | null | undefined;
|
|
10801
|
+
thumbnailUrl?: string | null | undefined;
|
|
10802
|
+
type?: string | null | undefined;
|
|
10803
|
+
fullPath?: string | null | undefined;
|
|
10804
|
+
}[], import("../..").UploadFileInfo[] | {
|
|
10805
|
+
id: string;
|
|
10806
|
+
name: string;
|
|
10807
|
+
batchId?: string | null | undefined;
|
|
10808
|
+
percentage?: number | null | undefined;
|
|
10809
|
+
status: "pending" | "uploading" | "finished" | "removed" | "error";
|
|
10810
|
+
url?: string | null | undefined;
|
|
10811
|
+
file?: {
|
|
10812
|
+
readonly lastModified: number;
|
|
10813
|
+
readonly name: string;
|
|
10814
|
+
readonly webkitRelativePath: string;
|
|
10815
|
+
readonly size: number;
|
|
10816
|
+
readonly type: string;
|
|
10817
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
10818
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
10819
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
10820
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
10821
|
+
text: () => Promise<string>;
|
|
10822
|
+
} | null | undefined;
|
|
10823
|
+
thumbnailUrl?: string | null | undefined;
|
|
10824
|
+
type?: string | null | undefined;
|
|
10825
|
+
fullPath?: string | null | undefined;
|
|
10826
|
+
}[]>;
|
|
10827
|
+
editingMessage: import("vue").Ref<ChatMessageData | null, ChatMessageData | null>;
|
|
10828
|
+
showUnreadNotification: import("vue").ComputedRef<boolean>;
|
|
10829
|
+
unreadCountOnOpen: import("vue").Ref<number, number>;
|
|
10830
|
+
uploadChange: import("vue").ComputedRef<import("./interface").HandleOnChangeType>;
|
|
10831
|
+
uploadFileListUpdate: import("vue").ComputedRef<((fileList: import("../..").UploadFileInfo[]) => void) | undefined>;
|
|
10775
10832
|
handleSendMessage: () => Promise<void>;
|
|
10833
|
+
handleFooterUpdateValue: (value: string) => void;
|
|
10834
|
+
handleFooterSend: (value: string) => void;
|
|
10835
|
+
cancelEditingMessage: () => void;
|
|
10776
10836
|
handleMessagesScroll: (e: Event) => void;
|
|
10777
10837
|
scrollToBottom: () => void;
|
|
10778
|
-
editingMessage: import("vue").Ref<ChatMessageData | null, ChatMessageData | null>;
|
|
10779
10838
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
10780
10839
|
readonly loading: boolean;
|
|
10781
10840
|
readonly inputPlaceholder: string;
|
|
@@ -10785,11 +10844,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10785
10844
|
readonly shareButtonTooltip: string;
|
|
10786
10845
|
readonly profileButtonTooltip: string;
|
|
10787
10846
|
readonly unreadNotificationText: string;
|
|
10847
|
+
readonly disabled: boolean;
|
|
10788
10848
|
readonly markdown: boolean;
|
|
10789
10849
|
readonly markdownOptions: import("../..").MarkdownOptions;
|
|
10790
10850
|
readonly onAttachmentDownload: import("./interface").OnAttachmentDownload;
|
|
10791
10851
|
readonly inputValue: string;
|
|
10792
10852
|
readonly messages: ChatMessageData[];
|
|
10853
|
+
readonly legacyInput: boolean;
|
|
10793
10854
|
readonly headerButtonProps: Partial<import("../..").ButtonProps>;
|
|
10794
10855
|
readonly headerIconProps: Partial<import("../..").IconProps>;
|
|
10795
10856
|
readonly headerShareButtonProps: Partial<import("../..").ButtonProps>;
|
|
@@ -10850,6 +10911,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10850
10911
|
readonly type: NumberConstructor;
|
|
10851
10912
|
readonly default: 10;
|
|
10852
10913
|
};
|
|
10914
|
+
readonly disabled: {
|
|
10915
|
+
readonly type: BooleanConstructor;
|
|
10916
|
+
readonly default: false;
|
|
10917
|
+
};
|
|
10918
|
+
readonly legacyInput: {
|
|
10919
|
+
readonly type: BooleanConstructor;
|
|
10920
|
+
readonly default: false;
|
|
10921
|
+
};
|
|
10853
10922
|
readonly headerButtonProps: {
|
|
10854
10923
|
readonly type: import("vue").PropType<Partial<import("../..").ButtonProps>>;
|
|
10855
10924
|
readonly default: undefined;
|
|
@@ -17411,21 +17480,68 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17411
17480
|
themeClass: import("vue").Ref<string, string>;
|
|
17412
17481
|
onRender: () => void;
|
|
17413
17482
|
isStandalone: boolean;
|
|
17414
|
-
renderHeader: () => JSX.Element;
|
|
17415
|
-
renderMessages: () => JSX.Element;
|
|
17416
|
-
renderEditingBlock: () => JSX.Element | null;
|
|
17417
|
-
renderFooter: () => JSX.Element;
|
|
17418
17483
|
messagesBodyRef: import("vue").Ref<HTMLElement | {
|
|
17419
17484
|
$el: HTMLElement;
|
|
17420
17485
|
} | undefined, HTMLElement | {
|
|
17421
17486
|
$el: HTMLElement;
|
|
17422
17487
|
} | undefined>;
|
|
17423
|
-
inputRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
17424
17488
|
inputValue: import("vue").WritableComputedRef<string, string>;
|
|
17489
|
+
attachmentFileList: import("vue").Ref<{
|
|
17490
|
+
id: string;
|
|
17491
|
+
name: string;
|
|
17492
|
+
batchId?: string | null | undefined;
|
|
17493
|
+
percentage?: number | null | undefined;
|
|
17494
|
+
status: "pending" | "uploading" | "finished" | "removed" | "error";
|
|
17495
|
+
url?: string | null | undefined;
|
|
17496
|
+
file?: {
|
|
17497
|
+
readonly lastModified: number;
|
|
17498
|
+
readonly name: string;
|
|
17499
|
+
readonly webkitRelativePath: string;
|
|
17500
|
+
readonly size: number;
|
|
17501
|
+
readonly type: string;
|
|
17502
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
17503
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
17504
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
17505
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
17506
|
+
text: () => Promise<string>;
|
|
17507
|
+
} | null | undefined;
|
|
17508
|
+
thumbnailUrl?: string | null | undefined;
|
|
17509
|
+
type?: string | null | undefined;
|
|
17510
|
+
fullPath?: string | null | undefined;
|
|
17511
|
+
}[], import("../..").UploadFileInfo[] | {
|
|
17512
|
+
id: string;
|
|
17513
|
+
name: string;
|
|
17514
|
+
batchId?: string | null | undefined;
|
|
17515
|
+
percentage?: number | null | undefined;
|
|
17516
|
+
status: "pending" | "uploading" | "finished" | "removed" | "error";
|
|
17517
|
+
url?: string | null | undefined;
|
|
17518
|
+
file?: {
|
|
17519
|
+
readonly lastModified: number;
|
|
17520
|
+
readonly name: string;
|
|
17521
|
+
readonly webkitRelativePath: string;
|
|
17522
|
+
readonly size: number;
|
|
17523
|
+
readonly type: string;
|
|
17524
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
17525
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
17526
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
17527
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
17528
|
+
text: () => Promise<string>;
|
|
17529
|
+
} | null | undefined;
|
|
17530
|
+
thumbnailUrl?: string | null | undefined;
|
|
17531
|
+
type?: string | null | undefined;
|
|
17532
|
+
fullPath?: string | null | undefined;
|
|
17533
|
+
}[]>;
|
|
17534
|
+
editingMessage: import("vue").Ref<ChatMessageData | null, ChatMessageData | null>;
|
|
17535
|
+
showUnreadNotification: import("vue").ComputedRef<boolean>;
|
|
17536
|
+
unreadCountOnOpen: import("vue").Ref<number, number>;
|
|
17537
|
+
uploadChange: import("vue").ComputedRef<import("./interface").HandleOnChangeType>;
|
|
17538
|
+
uploadFileListUpdate: import("vue").ComputedRef<((fileList: import("../..").UploadFileInfo[]) => void) | undefined>;
|
|
17425
17539
|
handleSendMessage: () => Promise<void>;
|
|
17540
|
+
handleFooterUpdateValue: (value: string) => void;
|
|
17541
|
+
handleFooterSend: (value: string) => void;
|
|
17542
|
+
cancelEditingMessage: () => void;
|
|
17426
17543
|
handleMessagesScroll: (e: Event) => void;
|
|
17427
17544
|
scrollToBottom: () => void;
|
|
17428
|
-
editingMessage: import("vue").Ref<ChatMessageData | null, ChatMessageData | null>;
|
|
17429
17545
|
}, {}, {}, {}, {
|
|
17430
17546
|
readonly loading: boolean;
|
|
17431
17547
|
readonly inputPlaceholder: string;
|
|
@@ -17435,11 +17551,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17435
17551
|
readonly shareButtonTooltip: string;
|
|
17436
17552
|
readonly profileButtonTooltip: string;
|
|
17437
17553
|
readonly unreadNotificationText: string;
|
|
17554
|
+
readonly disabled: boolean;
|
|
17438
17555
|
readonly markdown: boolean;
|
|
17439
17556
|
readonly markdownOptions: import("../..").MarkdownOptions;
|
|
17440
17557
|
readonly onAttachmentDownload: import("./interface").OnAttachmentDownload;
|
|
17441
17558
|
readonly inputValue: string;
|
|
17442
17559
|
readonly messages: ChatMessageData[];
|
|
17560
|
+
readonly legacyInput: boolean;
|
|
17443
17561
|
readonly headerButtonProps: Partial<import("../..").ButtonProps>;
|
|
17444
17562
|
readonly headerIconProps: Partial<import("../..").IconProps>;
|
|
17445
17563
|
readonly headerShareButtonProps: Partial<import("../..").ButtonProps>;
|
|
@@ -17493,6 +17611,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
17493
17611
|
readonly type: NumberConstructor;
|
|
17494
17612
|
readonly default: 10;
|
|
17495
17613
|
};
|
|
17614
|
+
readonly disabled: {
|
|
17615
|
+
readonly type: BooleanConstructor;
|
|
17616
|
+
readonly default: false;
|
|
17617
|
+
};
|
|
17618
|
+
readonly legacyInput: {
|
|
17619
|
+
readonly type: BooleanConstructor;
|
|
17620
|
+
readonly default: false;
|
|
17621
|
+
};
|
|
17496
17622
|
readonly headerButtonProps: {
|
|
17497
17623
|
readonly type: import("vue").PropType<Partial<import("../..").ButtonProps>>;
|
|
17498
17624
|
readonly default: undefined;
|
|
@@ -24054,21 +24180,68 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24054
24180
|
themeClass: import("vue").Ref<string, string>;
|
|
24055
24181
|
onRender: () => void;
|
|
24056
24182
|
isStandalone: boolean;
|
|
24057
|
-
renderHeader: () => JSX.Element;
|
|
24058
|
-
renderMessages: () => JSX.Element;
|
|
24059
|
-
renderEditingBlock: () => JSX.Element | null;
|
|
24060
|
-
renderFooter: () => JSX.Element;
|
|
24061
24183
|
messagesBodyRef: import("vue").Ref<HTMLElement | {
|
|
24062
24184
|
$el: HTMLElement;
|
|
24063
24185
|
} | undefined, HTMLElement | {
|
|
24064
24186
|
$el: HTMLElement;
|
|
24065
24187
|
} | undefined>;
|
|
24066
|
-
inputRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
24067
24188
|
inputValue: import("vue").WritableComputedRef<string, string>;
|
|
24189
|
+
attachmentFileList: import("vue").Ref<{
|
|
24190
|
+
id: string;
|
|
24191
|
+
name: string;
|
|
24192
|
+
batchId?: string | null | undefined;
|
|
24193
|
+
percentage?: number | null | undefined;
|
|
24194
|
+
status: "pending" | "uploading" | "finished" | "removed" | "error";
|
|
24195
|
+
url?: string | null | undefined;
|
|
24196
|
+
file?: {
|
|
24197
|
+
readonly lastModified: number;
|
|
24198
|
+
readonly name: string;
|
|
24199
|
+
readonly webkitRelativePath: string;
|
|
24200
|
+
readonly size: number;
|
|
24201
|
+
readonly type: string;
|
|
24202
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
24203
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
24204
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
24205
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
24206
|
+
text: () => Promise<string>;
|
|
24207
|
+
} | null | undefined;
|
|
24208
|
+
thumbnailUrl?: string | null | undefined;
|
|
24209
|
+
type?: string | null | undefined;
|
|
24210
|
+
fullPath?: string | null | undefined;
|
|
24211
|
+
}[], import("../..").UploadFileInfo[] | {
|
|
24212
|
+
id: string;
|
|
24213
|
+
name: string;
|
|
24214
|
+
batchId?: string | null | undefined;
|
|
24215
|
+
percentage?: number | null | undefined;
|
|
24216
|
+
status: "pending" | "uploading" | "finished" | "removed" | "error";
|
|
24217
|
+
url?: string | null | undefined;
|
|
24218
|
+
file?: {
|
|
24219
|
+
readonly lastModified: number;
|
|
24220
|
+
readonly name: string;
|
|
24221
|
+
readonly webkitRelativePath: string;
|
|
24222
|
+
readonly size: number;
|
|
24223
|
+
readonly type: string;
|
|
24224
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
24225
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
24226
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
24227
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
24228
|
+
text: () => Promise<string>;
|
|
24229
|
+
} | null | undefined;
|
|
24230
|
+
thumbnailUrl?: string | null | undefined;
|
|
24231
|
+
type?: string | null | undefined;
|
|
24232
|
+
fullPath?: string | null | undefined;
|
|
24233
|
+
}[]>;
|
|
24234
|
+
editingMessage: import("vue").Ref<ChatMessageData | null, ChatMessageData | null>;
|
|
24235
|
+
showUnreadNotification: import("vue").ComputedRef<boolean>;
|
|
24236
|
+
unreadCountOnOpen: import("vue").Ref<number, number>;
|
|
24237
|
+
uploadChange: import("vue").ComputedRef<import("./interface").HandleOnChangeType>;
|
|
24238
|
+
uploadFileListUpdate: import("vue").ComputedRef<((fileList: import("../..").UploadFileInfo[]) => void) | undefined>;
|
|
24068
24239
|
handleSendMessage: () => Promise<void>;
|
|
24240
|
+
handleFooterUpdateValue: (value: string) => void;
|
|
24241
|
+
handleFooterSend: (value: string) => void;
|
|
24242
|
+
cancelEditingMessage: () => void;
|
|
24069
24243
|
handleMessagesScroll: (e: Event) => void;
|
|
24070
24244
|
scrollToBottom: () => void;
|
|
24071
|
-
editingMessage: import("vue").Ref<ChatMessageData | null, ChatMessageData | null>;
|
|
24072
24245
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
24073
24246
|
readonly loading: boolean;
|
|
24074
24247
|
readonly inputPlaceholder: string;
|
|
@@ -24078,11 +24251,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24078
24251
|
readonly shareButtonTooltip: string;
|
|
24079
24252
|
readonly profileButtonTooltip: string;
|
|
24080
24253
|
readonly unreadNotificationText: string;
|
|
24254
|
+
readonly disabled: boolean;
|
|
24081
24255
|
readonly markdown: boolean;
|
|
24082
24256
|
readonly markdownOptions: import("../..").MarkdownOptions;
|
|
24083
24257
|
readonly onAttachmentDownload: import("./interface").OnAttachmentDownload;
|
|
24084
24258
|
readonly inputValue: string;
|
|
24085
24259
|
readonly messages: ChatMessageData[];
|
|
24260
|
+
readonly legacyInput: boolean;
|
|
24086
24261
|
readonly headerButtonProps: Partial<import("../..").ButtonProps>;
|
|
24087
24262
|
readonly headerIconProps: Partial<import("../..").IconProps>;
|
|
24088
24263
|
readonly headerShareButtonProps: Partial<import("../..").ButtonProps>;
|
|
@@ -24143,6 +24318,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24143
24318
|
readonly type: NumberConstructor;
|
|
24144
24319
|
readonly default: 10;
|
|
24145
24320
|
};
|
|
24321
|
+
readonly disabled: {
|
|
24322
|
+
readonly type: BooleanConstructor;
|
|
24323
|
+
readonly default: false;
|
|
24324
|
+
};
|
|
24325
|
+
readonly legacyInput: {
|
|
24326
|
+
readonly type: BooleanConstructor;
|
|
24327
|
+
readonly default: false;
|
|
24328
|
+
};
|
|
24146
24329
|
readonly headerButtonProps: {
|
|
24147
24330
|
readonly type: import("vue").PropType<Partial<import("../..").ButtonProps>>;
|
|
24148
24331
|
readonly default: undefined;
|
|
@@ -30704,21 +30887,68 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30704
30887
|
themeClass: import("vue").Ref<string, string>;
|
|
30705
30888
|
onRender: () => void;
|
|
30706
30889
|
isStandalone: boolean;
|
|
30707
|
-
renderHeader: () => JSX.Element;
|
|
30708
|
-
renderMessages: () => JSX.Element;
|
|
30709
|
-
renderEditingBlock: () => JSX.Element | null;
|
|
30710
|
-
renderFooter: () => JSX.Element;
|
|
30711
30890
|
messagesBodyRef: import("vue").Ref<HTMLElement | {
|
|
30712
30891
|
$el: HTMLElement;
|
|
30713
30892
|
} | undefined, HTMLElement | {
|
|
30714
30893
|
$el: HTMLElement;
|
|
30715
30894
|
} | undefined>;
|
|
30716
|
-
inputRef: import("vue").Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
30717
30895
|
inputValue: import("vue").WritableComputedRef<string, string>;
|
|
30896
|
+
attachmentFileList: import("vue").Ref<{
|
|
30897
|
+
id: string;
|
|
30898
|
+
name: string;
|
|
30899
|
+
batchId?: string | null | undefined;
|
|
30900
|
+
percentage?: number | null | undefined;
|
|
30901
|
+
status: "pending" | "uploading" | "finished" | "removed" | "error";
|
|
30902
|
+
url?: string | null | undefined;
|
|
30903
|
+
file?: {
|
|
30904
|
+
readonly lastModified: number;
|
|
30905
|
+
readonly name: string;
|
|
30906
|
+
readonly webkitRelativePath: string;
|
|
30907
|
+
readonly size: number;
|
|
30908
|
+
readonly type: string;
|
|
30909
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
30910
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
30911
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
30912
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
30913
|
+
text: () => Promise<string>;
|
|
30914
|
+
} | null | undefined;
|
|
30915
|
+
thumbnailUrl?: string | null | undefined;
|
|
30916
|
+
type?: string | null | undefined;
|
|
30917
|
+
fullPath?: string | null | undefined;
|
|
30918
|
+
}[], import("../..").UploadFileInfo[] | {
|
|
30919
|
+
id: string;
|
|
30920
|
+
name: string;
|
|
30921
|
+
batchId?: string | null | undefined;
|
|
30922
|
+
percentage?: number | null | undefined;
|
|
30923
|
+
status: "pending" | "uploading" | "finished" | "removed" | "error";
|
|
30924
|
+
url?: string | null | undefined;
|
|
30925
|
+
file?: {
|
|
30926
|
+
readonly lastModified: number;
|
|
30927
|
+
readonly name: string;
|
|
30928
|
+
readonly webkitRelativePath: string;
|
|
30929
|
+
readonly size: number;
|
|
30930
|
+
readonly type: string;
|
|
30931
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
30932
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
30933
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
30934
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
30935
|
+
text: () => Promise<string>;
|
|
30936
|
+
} | null | undefined;
|
|
30937
|
+
thumbnailUrl?: string | null | undefined;
|
|
30938
|
+
type?: string | null | undefined;
|
|
30939
|
+
fullPath?: string | null | undefined;
|
|
30940
|
+
}[]>;
|
|
30941
|
+
editingMessage: import("vue").Ref<ChatMessageData | null, ChatMessageData | null>;
|
|
30942
|
+
showUnreadNotification: import("vue").ComputedRef<boolean>;
|
|
30943
|
+
unreadCountOnOpen: import("vue").Ref<number, number>;
|
|
30944
|
+
uploadChange: import("vue").ComputedRef<import("./interface").HandleOnChangeType>;
|
|
30945
|
+
uploadFileListUpdate: import("vue").ComputedRef<((fileList: import("../..").UploadFileInfo[]) => void) | undefined>;
|
|
30718
30946
|
handleSendMessage: () => Promise<void>;
|
|
30947
|
+
handleFooterUpdateValue: (value: string) => void;
|
|
30948
|
+
handleFooterSend: (value: string) => void;
|
|
30949
|
+
cancelEditingMessage: () => void;
|
|
30719
30950
|
handleMessagesScroll: (e: Event) => void;
|
|
30720
30951
|
scrollToBottom: () => void;
|
|
30721
|
-
editingMessage: import("vue").Ref<ChatMessageData | null, ChatMessageData | null>;
|
|
30722
30952
|
}, {}, {}, {}, {
|
|
30723
30953
|
readonly loading: boolean;
|
|
30724
30954
|
readonly inputPlaceholder: string;
|
|
@@ -30728,11 +30958,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30728
30958
|
readonly shareButtonTooltip: string;
|
|
30729
30959
|
readonly profileButtonTooltip: string;
|
|
30730
30960
|
readonly unreadNotificationText: string;
|
|
30961
|
+
readonly disabled: boolean;
|
|
30731
30962
|
readonly markdown: boolean;
|
|
30732
30963
|
readonly markdownOptions: import("../..").MarkdownOptions;
|
|
30733
30964
|
readonly onAttachmentDownload: import("./interface").OnAttachmentDownload;
|
|
30734
30965
|
readonly inputValue: string;
|
|
30735
30966
|
readonly messages: ChatMessageData[];
|
|
30967
|
+
readonly legacyInput: boolean;
|
|
30736
30968
|
readonly headerButtonProps: Partial<import("../..").ButtonProps>;
|
|
30737
30969
|
readonly headerIconProps: Partial<import("../..").IconProps>;
|
|
30738
30970
|
readonly headerShareButtonProps: Partial<import("../..").ButtonProps>;
|
|
@@ -30787,6 +31019,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30787
31019
|
type: import("vue").PropType<import("./interface").ChatPropsInterface["disabled"]>;
|
|
30788
31020
|
default: boolean;
|
|
30789
31021
|
};
|
|
31022
|
+
legacyInput: {
|
|
31023
|
+
type: import("vue").PropType<import("./interface").ChatPropsInterface["legacyInput"]>;
|
|
31024
|
+
default: boolean;
|
|
31025
|
+
};
|
|
30790
31026
|
listEmptyProps: {
|
|
30791
31027
|
type: import("vue").PropType<Partial<import("./interface").ChatPropsInterface["listEmptyProps"]>>;
|
|
30792
31028
|
default: undefined;
|
|
@@ -33663,6 +33899,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
33663
33899
|
selectedChatId: ChatId | undefined;
|
|
33664
33900
|
inputValue: string | undefined;
|
|
33665
33901
|
messages: ChatMessageData[] | undefined;
|
|
33902
|
+
legacyInput: boolean | undefined;
|
|
33666
33903
|
listEmptyProps: Partial<Partial<import("../..").EmptyProps> | undefined>;
|
|
33667
33904
|
listHeaderTitle: string | (() => import("vue").VNodeChild) | undefined;
|
|
33668
33905
|
listHeaderActions: (() => import("vue").VNodeChild)[] | undefined;
|
package/lib/chat/src/Chat.js
CHANGED
|
@@ -199,6 +199,8 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
199
199
|
chatItemsRef: (0, vue_1.toRef)(props, 'chatItems'),
|
|
200
200
|
selectedChatIdRef: mergedSelectedChatIdRef,
|
|
201
201
|
selectedChatRef,
|
|
202
|
+
legacyInputRef: (0, vue_1.toRef)(props, 'legacyInput'),
|
|
203
|
+
disabledRef: (0, vue_1.toRef)(props, 'disabled'),
|
|
202
204
|
inputValueRef: mergedInputValueRef,
|
|
203
205
|
handleInputValueChange,
|
|
204
206
|
messagesRef: filteredMessagesRef,
|
|
@@ -4,8 +4,8 @@ import type { MarkdownOptions } from '../../_utils/markdown';
|
|
|
4
4
|
import type { ButtonProps } from '../../button';
|
|
5
5
|
import type { IconProps } from '../../icon';
|
|
6
6
|
import type { InputProps } from '../../input';
|
|
7
|
-
import type { UploadProps } from '../../upload';
|
|
8
|
-
import type { ChatBubbleAction, ChatId, ChatListItemData, ChatMessageData, OnAttachmentDownload, OnAttachmentUpload, OnMessageSend } from './interface';
|
|
7
|
+
import type { UploadFileInfo, UploadProps } from '../../upload';
|
|
8
|
+
import type { ChatBubbleAction, ChatId, ChatListItemData, ChatMessageData, HandleOnChangeType, OnAttachmentDownload, OnAttachmentUpload, OnMessageSend } from './interface';
|
|
9
9
|
export declare const chatMainAreaProps: {
|
|
10
10
|
readonly selectedChat: {
|
|
11
11
|
readonly type: PropType<ChatListItemData>;
|
|
@@ -31,6 +31,14 @@ export declare const chatMainAreaProps: {
|
|
|
31
31
|
readonly type: NumberConstructor;
|
|
32
32
|
readonly default: 10;
|
|
33
33
|
};
|
|
34
|
+
readonly disabled: {
|
|
35
|
+
readonly type: BooleanConstructor;
|
|
36
|
+
readonly default: false;
|
|
37
|
+
};
|
|
38
|
+
readonly legacyInput: {
|
|
39
|
+
readonly type: BooleanConstructor;
|
|
40
|
+
readonly default: false;
|
|
41
|
+
};
|
|
34
42
|
readonly headerButtonProps: {
|
|
35
43
|
readonly type: PropType<Partial<ButtonProps>>;
|
|
36
44
|
readonly default: undefined;
|
|
@@ -2817,6 +2825,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2817
2825
|
readonly type: NumberConstructor;
|
|
2818
2826
|
readonly default: 10;
|
|
2819
2827
|
};
|
|
2828
|
+
readonly disabled: {
|
|
2829
|
+
readonly type: BooleanConstructor;
|
|
2830
|
+
readonly default: false;
|
|
2831
|
+
};
|
|
2832
|
+
readonly legacyInput: {
|
|
2833
|
+
readonly type: BooleanConstructor;
|
|
2834
|
+
readonly default: false;
|
|
2835
|
+
};
|
|
2820
2836
|
readonly headerButtonProps: {
|
|
2821
2837
|
readonly type: PropType<Partial<ButtonProps>>;
|
|
2822
2838
|
readonly default: undefined;
|
|
@@ -9378,21 +9394,68 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9378
9394
|
themeClass: Ref<string, string>;
|
|
9379
9395
|
onRender: () => void;
|
|
9380
9396
|
isStandalone: boolean;
|
|
9381
|
-
renderHeader: () => JSX.Element;
|
|
9382
|
-
renderMessages: () => JSX.Element;
|
|
9383
|
-
renderEditingBlock: () => JSX.Element | null;
|
|
9384
|
-
renderFooter: () => JSX.Element;
|
|
9385
9397
|
messagesBodyRef: Ref<HTMLElement | {
|
|
9386
9398
|
$el: HTMLElement;
|
|
9387
9399
|
} | undefined, HTMLElement | {
|
|
9388
9400
|
$el: HTMLElement;
|
|
9389
9401
|
} | undefined>;
|
|
9390
|
-
inputRef: Ref<HTMLInputElement | undefined, HTMLInputElement | undefined>;
|
|
9391
9402
|
inputValue: import("vue").WritableComputedRef<string, string>;
|
|
9403
|
+
attachmentFileList: Ref<{
|
|
9404
|
+
id: string;
|
|
9405
|
+
name: string;
|
|
9406
|
+
batchId?: string | null | undefined;
|
|
9407
|
+
percentage?: number | null | undefined;
|
|
9408
|
+
status: "pending" | "uploading" | "finished" | "removed" | "error";
|
|
9409
|
+
url?: string | null | undefined;
|
|
9410
|
+
file?: {
|
|
9411
|
+
readonly lastModified: number;
|
|
9412
|
+
readonly name: string;
|
|
9413
|
+
readonly webkitRelativePath: string;
|
|
9414
|
+
readonly size: number;
|
|
9415
|
+
readonly type: string;
|
|
9416
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
9417
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
9418
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
9419
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
9420
|
+
text: () => Promise<string>;
|
|
9421
|
+
} | null | undefined;
|
|
9422
|
+
thumbnailUrl?: string | null | undefined;
|
|
9423
|
+
type?: string | null | undefined;
|
|
9424
|
+
fullPath?: string | null | undefined;
|
|
9425
|
+
}[], UploadFileInfo[] | {
|
|
9426
|
+
id: string;
|
|
9427
|
+
name: string;
|
|
9428
|
+
batchId?: string | null | undefined;
|
|
9429
|
+
percentage?: number | null | undefined;
|
|
9430
|
+
status: "pending" | "uploading" | "finished" | "removed" | "error";
|
|
9431
|
+
url?: string | null | undefined;
|
|
9432
|
+
file?: {
|
|
9433
|
+
readonly lastModified: number;
|
|
9434
|
+
readonly name: string;
|
|
9435
|
+
readonly webkitRelativePath: string;
|
|
9436
|
+
readonly size: number;
|
|
9437
|
+
readonly type: string;
|
|
9438
|
+
arrayBuffer: () => Promise<ArrayBuffer>;
|
|
9439
|
+
bytes: () => Promise<Uint8Array<ArrayBuffer>>;
|
|
9440
|
+
slice: (start?: number, end?: number, contentType?: string) => Blob;
|
|
9441
|
+
stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
|
|
9442
|
+
text: () => Promise<string>;
|
|
9443
|
+
} | null | undefined;
|
|
9444
|
+
thumbnailUrl?: string | null | undefined;
|
|
9445
|
+
type?: string | null | undefined;
|
|
9446
|
+
fullPath?: string | null | undefined;
|
|
9447
|
+
}[]>;
|
|
9448
|
+
editingMessage: Ref<ChatMessageData | null, ChatMessageData | null>;
|
|
9449
|
+
showUnreadNotification: import("vue").ComputedRef<boolean>;
|
|
9450
|
+
unreadCountOnOpen: Ref<number, number>;
|
|
9451
|
+
uploadChange: import("vue").ComputedRef<HandleOnChangeType>;
|
|
9452
|
+
uploadFileListUpdate: import("vue").ComputedRef<((fileList: UploadFileInfo[]) => void) | undefined>;
|
|
9392
9453
|
handleSendMessage: () => Promise<void>;
|
|
9454
|
+
handleFooterUpdateValue: (value: string) => void;
|
|
9455
|
+
handleFooterSend: (value: string) => void;
|
|
9456
|
+
cancelEditingMessage: () => void;
|
|
9393
9457
|
handleMessagesScroll: (e: Event) => void;
|
|
9394
9458
|
scrollToBottom: () => void;
|
|
9395
|
-
editingMessage: Ref<ChatMessageData | null, ChatMessageData | null>;
|
|
9396
9459
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9397
9460
|
readonly selectedChat: {
|
|
9398
9461
|
readonly type: PropType<ChatListItemData>;
|
|
@@ -9418,6 +9481,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9418
9481
|
readonly type: NumberConstructor;
|
|
9419
9482
|
readonly default: 10;
|
|
9420
9483
|
};
|
|
9484
|
+
readonly disabled: {
|
|
9485
|
+
readonly type: BooleanConstructor;
|
|
9486
|
+
readonly default: false;
|
|
9487
|
+
};
|
|
9488
|
+
readonly legacyInput: {
|
|
9489
|
+
readonly type: BooleanConstructor;
|
|
9490
|
+
readonly default: false;
|
|
9491
|
+
};
|
|
9421
9492
|
readonly headerButtonProps: {
|
|
9422
9493
|
readonly type: PropType<Partial<ButtonProps>>;
|
|
9423
9494
|
readonly default: undefined;
|
|
@@ -12186,11 +12257,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
12186
12257
|
readonly shareButtonTooltip: string;
|
|
12187
12258
|
readonly profileButtonTooltip: string;
|
|
12188
12259
|
readonly unreadNotificationText: string;
|
|
12260
|
+
readonly disabled: boolean;
|
|
12189
12261
|
readonly markdown: boolean;
|
|
12190
12262
|
readonly markdownOptions: MarkdownOptions;
|
|
12191
12263
|
readonly onAttachmentDownload: OnAttachmentDownload;
|
|
12192
12264
|
readonly inputValue: string;
|
|
12193
12265
|
readonly messages: ChatMessageData[];
|
|
12266
|
+
readonly legacyInput: boolean;
|
|
12194
12267
|
readonly headerButtonProps: Partial<ButtonProps>;
|
|
12195
12268
|
readonly headerIconProps: Partial<IconProps>;
|
|
12196
12269
|
readonly headerShareButtonProps: Partial<ButtonProps>;
|