@uzum-tech/ui 1.8.0 → 1.8.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 +198 -71
- package/dist/index.prod.js +2 -2
- package/es/chat/index.d.ts +2 -1
- package/es/chat/index.js +1 -0
- package/es/chat/src/Chat.js +1 -0
- package/es/chat/src/ChatListItems.d.ts +1759 -4
- package/es/chat/src/ChatListItems.js +13 -12
- package/es/chat/src/ChatMessages.d.ts +1760 -4
- package/es/chat/src/ChatMessages.js +27 -10
- package/es/chat/src/ChatParts/MainArea.js +10 -10
- package/es/chat/src/ChatParts/Sidebar.js +2 -2
- package/es/chat/src/interface.d.ts +4 -0
- package/es/chat/src/styles/index.cssr.js +13 -14
- package/es/chat/styles/light.d.ts +1 -1
- package/es/chat/styles/light.js +15 -3
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/chat/index.d.ts +2 -1
- package/lib/chat/index.js +5 -1
- package/lib/chat/src/Chat.js +1 -0
- package/lib/chat/src/ChatListItems.d.ts +1759 -4
- package/lib/chat/src/ChatListItems.js +11 -10
- package/lib/chat/src/ChatMessages.d.ts +1760 -4
- package/lib/chat/src/ChatMessages.js +25 -8
- package/lib/chat/src/ChatParts/MainArea.js +10 -10
- package/lib/chat/src/ChatParts/Sidebar.js +2 -2
- package/lib/chat/src/interface.d.ts +4 -0
- package/lib/chat/src/styles/index.cssr.js +13 -14
- package/lib/chat/styles/light.d.ts +1 -1
- package/lib/chat/styles/light.js +15 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
package/es/chat/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as UChat } from './src/Chat';
|
|
2
2
|
export { default as UChatListItems } from './src/ChatListItems';
|
|
3
3
|
export { default as UChatMessages } from './src/ChatMessages';
|
|
4
|
-
export type { ChatId,
|
|
4
|
+
export type { ChatId, ChatProps, ChatListItemProps, ChatMessageProps, ChatMarkProps, ChatHeaderProps, ChatFooterProps, ChatListHeaderProps, ChatSlots, ChatListItemSlots, ChatMessageSlots, ChatMarkSlots, ChatHeaderSlots, ChatFooterSlots, ChatListItemData, ChatMessageData, ChatAttachment, OnChatSelect, OnMessageSend, OnAttachmentUpload, OnFilterChange, OnLoadMoreChats, OnNetworkError, OnUploadError, OnSendError, ChatInst, ChatListInst, chatInjectionKey } from './src/interface';
|
|
5
|
+
export { MessageStatus, ChatMessageType, ChatMarkType } from './src/interface';
|
|
5
6
|
export type { ChatListItemsProps } from './src/ChatListItems';
|
|
6
7
|
export type { ChatMessagesProps } from './src/ChatMessages';
|
package/es/chat/index.js
CHANGED
package/es/chat/src/Chat.js
CHANGED
|
@@ -317,6 +317,7 @@ export default defineComponent({
|
|
|
317
317
|
const mergedUnreadNotificationTextRef = computed(() => { var _a; return (_a = props.unreadNotificationText) !== null && _a !== void 0 ? _a : localeRef.value.unreadNotificationText; });
|
|
318
318
|
provide(chatInjectionKey, {
|
|
319
319
|
mergedClsPrefixRef,
|
|
320
|
+
mergedThemeRef: themeRef,
|
|
320
321
|
chatItemsRef: toRef(props, 'chatItems'),
|
|
321
322
|
selectedChatIdRef: mergedSelectedChatIdRef,
|
|
322
323
|
selectedChatRef,
|