@uzum-tech/ui 1.8.2 → 1.9.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 +1244 -379
- package/dist/index.prod.js +3 -3
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
- package/es/_internal/scrollbar/src/Scrollbar.js +120 -67
- package/es/_internal/scrollbar/src/styles/index.cssr.js +32 -15
- package/es/_internal/scrollbar/styles/common.d.ts +7 -0
- package/es/_internal/scrollbar/styles/common.js +7 -0
- package/es/_internal/scrollbar/styles/light.d.ts +8 -0
- package/es/_internal/scrollbar/styles/light.js +3 -5
- package/es/_internal/select-menu/src/SelectMenu.d.ts +57 -1
- package/es/_internal/select-menu/styles/light.d.ts +8 -0
- package/es/_internal/selection/src/Selection.d.ts +3 -1
- package/es/_internal/selection/src/Selection.js +3 -1
- package/es/_utils/css/index.d.ts +1 -0
- package/es/_utils/css/index.js +1 -0
- package/es/_utils/css/rtl-inset.d.ts +1 -0
- package/es/_utils/css/rtl-inset.js +5 -0
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.js +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +88 -0
- package/es/auto-complete/styles/light.d.ts +8 -0
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/cascader/src/Cascader.d.ts +168 -0
- package/es/cascader/src/CascaderMenu.d.ts +24 -0
- package/es/cascader/src/CascaderOption.d.ts +24 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +24 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +25 -1
- package/es/cascader/styles/light.d.ts +16 -0
- package/es/chat/index.d.ts +1 -1
- package/es/chat/src/Chat.d.ts +321 -11
- package/es/chat/src/Chat.js +73 -22
- package/es/chat/src/ChatListItems.d.ts +104 -0
- package/es/chat/src/ChatMessages.d.ts +104 -0
- package/es/chat/src/ChatParts/ChatAttachment.js +14 -12
- package/es/chat/src/ChatParts/MainArea.d.ts +1 -0
- package/es/chat/src/ChatParts/MainArea.js +95 -57
- package/es/chat/src/ChatParts/Sidebar.d.ts +920 -0
- package/es/chat/src/ChatParts/Sidebar.js +63 -12
- package/es/chat/src/interface.d.ts +24 -3
- package/es/chat/src/styles/index.cssr.js +13 -2
- package/es/chat/styles/dark.d.ts +8 -0
- package/es/chat/styles/light.d.ts +8 -0
- package/es/components.d.ts +2 -0
- package/es/components.js +2 -0
- package/es/data-table/src/DataTable.d.ts +184 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +40 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +40 -0
- package/es/data-table/src/TableParts/Body.d.ts +41 -1
- package/es/data-table/src/TableParts/Header.d.ts +40 -0
- package/es/data-table/src/interface.d.ts +72 -0
- package/es/data-table/styles/light.d.ts +24 -0
- package/es/date-picker/src/DatePicker.d.ts +1469 -36
- package/es/date-picker/src/DatePicker.js +54 -29
- package/es/date-picker/src/interface.d.ts +1 -0
- package/es/date-picker/src/panel/date.d.ts +166 -1
- package/es/date-picker/src/panel/daterange.d.ts +167 -2
- package/es/date-picker/src/panel/datetime.d.ts +166 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +167 -2
- package/es/date-picker/src/panel/panelMonth.d.ts +332 -2
- package/es/date-picker/src/panel/panelMonthContent.d.ts +166 -1
- package/es/date-picker/src/panel/panelYear.d.ts +332 -2
- package/es/date-picker/src/panel/panelYearContent.d.ts +166 -1
- package/es/date-picker/src/panel/use-calendar.d.ts +165 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +165 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +165 -0
- package/es/date-picker/styles/dark.js +3 -1
- package/es/date-picker/styles/light.d.ts +139 -0
- package/es/date-picker/styles/light.js +3 -1
- package/es/descriptions/src/Descriptions.d.ts +30 -0
- package/es/descriptions/src/Descriptions.js +18 -10
- package/es/dialog/src/DialogProvider.d.ts +2 -2
- package/es/drawer/src/Drawer.d.ts +81 -1
- package/es/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/es/drawer/src/DrawerContent.d.ts +8 -0
- package/es/drawer/styles/light.d.ts +8 -0
- package/es/dropdown/src/Dropdown.d.ts +1 -1
- package/es/infinite-scroll/index.d.ts +2 -0
- package/es/infinite-scroll/index.js +1 -0
- package/es/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
- package/es/infinite-scroll/src/InfiniteScroll.js +78 -0
- package/es/layout/src/Layout.d.ts +112 -0
- package/es/layout/src/LayoutContent.d.ts +56 -0
- package/es/layout/src/LayoutFooter.d.ts +72 -0
- package/es/layout/src/LayoutHeader.d.ts +48 -0
- package/es/layout/src/LayoutSider.d.ts +56 -0
- package/es/layout/styles/light.d.ts +8 -0
- package/es/legacy-transfer/src/Transfer.d.ts +80 -0
- package/es/legacy-transfer/src/TransferFilter.d.ts +8 -0
- package/es/legacy-transfer/src/TransferList.d.ts +9 -1
- package/es/legacy-transfer/src/TransferListItem.d.ts +8 -0
- package/es/legacy-transfer/styles/light.d.ts +8 -0
- package/es/locales/common/arDZ.js +2 -0
- package/es/locales/common/deDE.js +2 -0
- package/es/locales/common/enGB.js +2 -0
- package/es/locales/common/enUS.d.ts +2 -0
- package/es/locales/common/enUS.js +2 -0
- package/es/locales/common/eo.js +2 -0
- package/es/locales/common/esAR.js +2 -0
- package/es/locales/common/faIR.js +2 -0
- package/es/locales/common/frFR.js +2 -0
- package/es/locales/common/idID.js +2 -0
- package/es/locales/common/itIT.js +2 -0
- package/es/locales/common/jaJP.js +2 -0
- package/es/locales/common/koKR.js +2 -0
- package/es/locales/common/nbNO.js +2 -0
- package/es/locales/common/nlNL.js +2 -0
- package/es/locales/common/plPL.js +2 -0
- package/es/locales/common/ptBR.js +2 -0
- package/es/locales/common/ruRU.js +2 -0
- package/es/locales/common/skSK.js +2 -0
- package/es/locales/common/svSE.js +2 -0
- package/es/locales/common/thTH.js +2 -0
- package/es/locales/common/trTR.js +2 -0
- package/es/locales/common/ukUA.js +2 -0
- package/es/locales/common/viVN.js +2 -0
- package/es/locales/common/zhCN.js +2 -0
- package/es/locales/common/zhTW.js +2 -0
- package/es/log/src/Log.d.ts +80 -0
- package/es/log/styles/light.d.ts +8 -0
- package/es/mention/src/Mention.d.ts +88 -0
- package/es/mention/styles/light.d.ts +8 -0
- package/es/menu/src/Menu.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +9 -1
- package/es/modal/src/Modal.d.ts +73 -1
- package/es/modal/styles/light.d.ts +8 -0
- package/es/notification/src/NotificationContainer.d.ts +8 -0
- package/es/notification/src/NotificationProvider.d.ts +72 -0
- package/es/notification/styles/light.d.ts +8 -0
- package/es/pagination/src/Pagination.d.ts +176 -0
- package/es/pagination/styles/light.d.ts +16 -0
- package/es/popselect/src/Popselect.d.ts +88 -0
- package/es/popselect/src/PopselectPanel.d.ts +16 -0
- package/es/popselect/styles/light.d.ts +8 -0
- package/es/scrollbar/src/Scrollbar.d.ts +72 -0
- package/es/select/src/Select.d.ts +88 -0
- package/es/select/styles/light.d.ts +8 -0
- package/es/time-picker/src/Panel.d.ts +8 -0
- package/es/time-picker/src/TimePicker.d.ts +80 -0
- package/es/time-picker/styles/light.d.ts +8 -0
- package/es/transfer/src/Transfer.d.ts +80 -0
- package/es/transfer/src/TransferFilter.d.ts +8 -0
- package/es/transfer/src/TransferList.d.ts +9 -1
- package/es/transfer/src/TransferListItem.d.ts +8 -0
- package/es/transfer/styles/light.d.ts +8 -0
- package/es/tree/src/Tree.d.ts +82 -2
- package/es/tree/src/TreeNodeCheckbox.d.ts +8 -0
- package/es/tree/styles/light.d.ts +8 -0
- package/es/tree-select/src/TreeSelect.d.ts +89 -1
- package/es/tree-select/styles/light.d.ts +8 -0
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/virtual-list/index.d.ts +2 -0
- package/es/virtual-list/index.js +1 -0
- package/es/virtual-list/src/VirtualList.d.ts +146 -0
- package/es/virtual-list/src/VirtualList.js +103 -0
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
- package/lib/_internal/scrollbar/src/Scrollbar.js +117 -64
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +32 -15
- package/lib/_internal/scrollbar/styles/common.d.ts +7 -0
- package/lib/_internal/scrollbar/styles/common.js +10 -0
- package/lib/_internal/scrollbar/styles/light.d.ts +8 -0
- package/lib/_internal/scrollbar/styles/light.js +3 -5
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +57 -1
- package/lib/_internal/select-menu/styles/light.d.ts +8 -0
- package/lib/_internal/selection/src/Selection.d.ts +3 -1
- package/lib/_internal/selection/src/Selection.js +3 -1
- package/lib/_utils/css/index.d.ts +1 -0
- package/lib/_utils/css/index.js +3 -1
- package/lib/_utils/css/rtl-inset.d.ts +1 -0
- package/lib/_utils/css/rtl-inset.js +8 -0
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +2 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +88 -0
- package/lib/auto-complete/styles/light.d.ts +8 -0
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/cascader/src/Cascader.d.ts +168 -0
- package/lib/cascader/src/CascaderMenu.d.ts +24 -0
- package/lib/cascader/src/CascaderOption.d.ts +24 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +24 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +25 -1
- package/lib/cascader/styles/light.d.ts +16 -0
- package/lib/chat/index.d.ts +1 -1
- package/lib/chat/src/Chat.d.ts +321 -11
- package/lib/chat/src/Chat.js +73 -22
- package/lib/chat/src/ChatListItems.d.ts +104 -0
- package/lib/chat/src/ChatMessages.d.ts +104 -0
- package/lib/chat/src/ChatParts/ChatAttachment.js +14 -12
- package/lib/chat/src/ChatParts/MainArea.d.ts +1 -0
- package/lib/chat/src/ChatParts/MainArea.js +94 -56
- package/lib/chat/src/ChatParts/Sidebar.d.ts +920 -0
- package/lib/chat/src/ChatParts/Sidebar.js +62 -11
- package/lib/chat/src/interface.d.ts +24 -3
- package/lib/chat/src/styles/index.cssr.js +13 -2
- package/lib/chat/styles/dark.d.ts +8 -0
- package/lib/chat/styles/light.d.ts +8 -0
- package/lib/components.d.ts +2 -0
- package/lib/components.js +2 -0
- package/lib/data-table/src/DataTable.d.ts +184 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +40 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +40 -0
- package/lib/data-table/src/TableParts/Body.d.ts +41 -1
- package/lib/data-table/src/TableParts/Header.d.ts +40 -0
- package/lib/data-table/src/interface.d.ts +72 -0
- package/lib/data-table/styles/light.d.ts +24 -0
- package/lib/date-picker/src/DatePicker.d.ts +1469 -36
- package/lib/date-picker/src/DatePicker.js +53 -28
- package/lib/date-picker/src/interface.d.ts +1 -0
- package/lib/date-picker/src/panel/date.d.ts +166 -1
- package/lib/date-picker/src/panel/daterange.d.ts +167 -2
- package/lib/date-picker/src/panel/datetime.d.ts +166 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +167 -2
- package/lib/date-picker/src/panel/panelMonth.d.ts +332 -2
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +166 -1
- package/lib/date-picker/src/panel/panelYear.d.ts +332 -2
- package/lib/date-picker/src/panel/panelYearContent.d.ts +166 -1
- package/lib/date-picker/src/panel/use-calendar.d.ts +165 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +165 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +165 -0
- package/lib/date-picker/styles/dark.js +3 -1
- package/lib/date-picker/styles/light.d.ts +139 -0
- package/lib/date-picker/styles/light.js +3 -1
- package/lib/descriptions/src/Descriptions.d.ts +30 -0
- package/lib/descriptions/src/Descriptions.js +18 -10
- package/lib/dialog/src/DialogProvider.d.ts +2 -2
- package/lib/drawer/src/Drawer.d.ts +81 -1
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/lib/drawer/src/DrawerContent.d.ts +8 -0
- package/lib/drawer/styles/light.d.ts +8 -0
- package/lib/dropdown/src/Dropdown.d.ts +1 -1
- package/lib/infinite-scroll/index.d.ts +2 -0
- package/lib/infinite-scroll/index.js +9 -0
- package/lib/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
- package/lib/infinite-scroll/src/InfiniteScroll.js +81 -0
- package/lib/layout/src/Layout.d.ts +112 -0
- package/lib/layout/src/LayoutContent.d.ts +56 -0
- package/lib/layout/src/LayoutFooter.d.ts +72 -0
- package/lib/layout/src/LayoutHeader.d.ts +48 -0
- package/lib/layout/src/LayoutSider.d.ts +56 -0
- package/lib/layout/styles/light.d.ts +8 -0
- package/lib/legacy-transfer/src/Transfer.d.ts +80 -0
- package/lib/legacy-transfer/src/TransferFilter.d.ts +8 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +9 -1
- package/lib/legacy-transfer/src/TransferListItem.d.ts +8 -0
- package/lib/legacy-transfer/styles/light.d.ts +8 -0
- package/lib/locales/common/arDZ.js +2 -0
- package/lib/locales/common/deDE.js +2 -0
- package/lib/locales/common/enGB.js +2 -0
- package/lib/locales/common/enUS.d.ts +2 -0
- package/lib/locales/common/enUS.js +2 -0
- package/lib/locales/common/eo.js +2 -0
- package/lib/locales/common/esAR.js +2 -0
- package/lib/locales/common/faIR.js +2 -0
- package/lib/locales/common/frFR.js +2 -0
- package/lib/locales/common/idID.js +2 -0
- package/lib/locales/common/itIT.js +2 -0
- package/lib/locales/common/jaJP.js +2 -0
- package/lib/locales/common/koKR.js +2 -0
- package/lib/locales/common/nbNO.js +2 -0
- package/lib/locales/common/nlNL.js +2 -0
- package/lib/locales/common/plPL.js +2 -0
- package/lib/locales/common/ptBR.js +2 -0
- package/lib/locales/common/ruRU.js +2 -0
- package/lib/locales/common/skSK.js +2 -0
- package/lib/locales/common/svSE.js +2 -0
- package/lib/locales/common/thTH.js +2 -0
- package/lib/locales/common/trTR.js +2 -0
- package/lib/locales/common/ukUA.js +2 -0
- package/lib/locales/common/viVN.js +2 -0
- package/lib/locales/common/zhCN.js +2 -0
- package/lib/locales/common/zhTW.js +2 -0
- package/lib/log/src/Log.d.ts +80 -0
- package/lib/log/styles/light.d.ts +8 -0
- package/lib/mention/src/Mention.d.ts +88 -0
- package/lib/mention/styles/light.d.ts +8 -0
- package/lib/menu/src/Menu.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +9 -1
- package/lib/modal/src/Modal.d.ts +73 -1
- package/lib/modal/styles/light.d.ts +8 -0
- package/lib/notification/src/NotificationContainer.d.ts +8 -0
- package/lib/notification/src/NotificationProvider.d.ts +72 -0
- package/lib/notification/styles/light.d.ts +8 -0
- package/lib/pagination/src/Pagination.d.ts +176 -0
- package/lib/pagination/styles/light.d.ts +16 -0
- package/lib/popselect/src/Popselect.d.ts +88 -0
- package/lib/popselect/src/PopselectPanel.d.ts +16 -0
- package/lib/popselect/styles/light.d.ts +8 -0
- package/lib/scrollbar/src/Scrollbar.d.ts +72 -0
- package/lib/select/src/Select.d.ts +88 -0
- package/lib/select/styles/light.d.ts +8 -0
- package/lib/time-picker/src/Panel.d.ts +8 -0
- package/lib/time-picker/src/TimePicker.d.ts +80 -0
- package/lib/time-picker/styles/light.d.ts +8 -0
- package/lib/transfer/src/Transfer.d.ts +80 -0
- package/lib/transfer/src/TransferFilter.d.ts +8 -0
- package/lib/transfer/src/TransferList.d.ts +9 -1
- package/lib/transfer/src/TransferListItem.d.ts +8 -0
- package/lib/transfer/styles/light.d.ts +8 -0
- package/lib/tree/src/Tree.d.ts +82 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +8 -0
- package/lib/tree/styles/light.d.ts +8 -0
- package/lib/tree-select/src/TreeSelect.d.ts +89 -1
- package/lib/tree-select/styles/light.d.ts +8 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/index.d.ts +2 -0
- package/lib/virtual-list/index.js +9 -0
- package/lib/virtual-list/src/VirtualList.d.ts +146 -0
- package/lib/virtual-list/src/VirtualList.js +106 -0
- package/package.json +4 -4
- package/volar.d.ts +1 -0
- package/web-types.json +124 -4
|
@@ -1,18 +1,47 @@
|
|
|
1
|
-
import { h, defineComponent, inject, Fragment } from 'vue';
|
|
1
|
+
import { h, defineComponent, inject, Fragment, ref } from 'vue';
|
|
2
2
|
import { chatInjectionKey } from '../interface';
|
|
3
3
|
import { UFlex } from '../../../flex';
|
|
4
4
|
import { USelect } from '../../../select';
|
|
5
|
+
import { UScrollbar } from '../../../scrollbar';
|
|
5
6
|
import UChatListItems from '../ChatListItems';
|
|
6
7
|
export default defineComponent({
|
|
7
8
|
name: 'ChatSidebar',
|
|
8
9
|
setup(props, { slots }) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
const { mergedClsPrefixRef, mergedThemeRef, chatItemsRef, chatItemsLoadingRef, chatItemsLoadingCountRef, listEmptyPropsRef, selectedChatIdRef, typingChatIdsRef, typingTextRef, listItemAvatarPropsRef, listItemBadgePropsRef, notificationsShownSetRef, handleChatSelect
|
|
10
|
+
const sidebarContentRef = ref();
|
|
11
|
+
const lastScrollTop = ref(0);
|
|
12
|
+
const scrollTopFired = ref(false);
|
|
13
|
+
const scrollBottomFired = ref(false);
|
|
14
|
+
const { mergedClsPrefixRef, mergedThemeRef, chatItemsRef, chatItemsLoadingRef, chatItemsLoadingCountRef, listEmptyPropsRef, selectedChatIdRef, typingChatIdsRef, typingTextRef, listItemAvatarPropsRef, listItemBadgePropsRef, notificationsShownSetRef, handleChatSelect, onChatItemsScrollToTop, onChatItemsScrollToBottom
|
|
14
15
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
15
16
|
} = inject(chatInjectionKey);
|
|
17
|
+
const handleSidebarScroll = (e) => {
|
|
18
|
+
var _a, _b;
|
|
19
|
+
const target = e.target;
|
|
20
|
+
if (!target)
|
|
21
|
+
return;
|
|
22
|
+
const { scrollTop, scrollHeight, clientHeight } = target;
|
|
23
|
+
const threshold = 5;
|
|
24
|
+
const scrollDirection = scrollTop > lastScrollTop.value ? 'down' : 'up';
|
|
25
|
+
const nearTop = scrollTop <= threshold;
|
|
26
|
+
const nearBottom = scrollHeight - (scrollTop + clientHeight) <= threshold;
|
|
27
|
+
if (scrollTop > threshold) {
|
|
28
|
+
scrollTopFired.value = false;
|
|
29
|
+
}
|
|
30
|
+
if (scrollHeight - (scrollTop + clientHeight) > threshold) {
|
|
31
|
+
scrollBottomFired.value = false;
|
|
32
|
+
}
|
|
33
|
+
if (nearTop && scrollDirection === 'up' && !scrollTopFired.value) {
|
|
34
|
+
scrollTopFired.value = true;
|
|
35
|
+
(_a = onChatItemsScrollToTop === null || onChatItemsScrollToTop === void 0 ? void 0 : onChatItemsScrollToTop.value) === null || _a === void 0 ? void 0 : _a.call(onChatItemsScrollToTop);
|
|
36
|
+
}
|
|
37
|
+
if (nearBottom &&
|
|
38
|
+
scrollDirection === 'down' &&
|
|
39
|
+
!scrollBottomFired.value) {
|
|
40
|
+
scrollBottomFired.value = true;
|
|
41
|
+
(_b = onChatItemsScrollToBottom === null || onChatItemsScrollToBottom === void 0 ? void 0 : onChatItemsScrollToBottom.value) === null || _b === void 0 ? void 0 : _b.call(onChatItemsScrollToBottom);
|
|
42
|
+
}
|
|
43
|
+
lastScrollTop.value = scrollTop;
|
|
44
|
+
};
|
|
16
45
|
const renderListHeader = () => {
|
|
17
46
|
return (h("div", { class: `${mergedClsPrefixRef.value}-chat-sidebar__header` },
|
|
18
47
|
h(UFlex, { align: "center", justify: "space-between", class: `${mergedClsPrefixRef.value}-chat-sidebar__header-container`, style: { width: '100%' } }, {
|
|
@@ -24,11 +53,33 @@ export default defineComponent({
|
|
|
24
53
|
}
|
|
25
54
|
})));
|
|
26
55
|
};
|
|
27
|
-
return
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
56
|
+
return {
|
|
57
|
+
slots,
|
|
58
|
+
sidebarContentRef,
|
|
59
|
+
renderListHeader,
|
|
60
|
+
handleSidebarScroll,
|
|
61
|
+
mergedClsPrefixRef,
|
|
62
|
+
mergedThemeRef,
|
|
63
|
+
chatItemsRef,
|
|
64
|
+
chatItemsLoadingRef,
|
|
65
|
+
chatItemsLoadingCountRef,
|
|
66
|
+
listEmptyPropsRef,
|
|
67
|
+
selectedChatIdRef,
|
|
68
|
+
typingChatIdsRef,
|
|
69
|
+
typingTextRef,
|
|
70
|
+
listItemAvatarPropsRef,
|
|
71
|
+
listItemBadgePropsRef,
|
|
72
|
+
notificationsShownSetRef,
|
|
73
|
+
handleChatSelect
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
render() {
|
|
77
|
+
return (h("div", { class: `${this.mergedClsPrefixRef}-chat-sidebar` },
|
|
78
|
+
this.renderListHeader(),
|
|
79
|
+
h(UScrollbar, { ref: "sidebarContentRef", class: `${this.mergedClsPrefixRef}-chat-sidebar__content`, onScroll: this.handleSidebarScroll }, {
|
|
80
|
+
default: () => (h(UChatListItems, { chatItems: this.chatItemsRef, selectedChatId: this.selectedChatIdRef, typingChatIds: this.typingChatIdsRef, typingText: this.typingTextRef, loading: this.chatItemsLoadingRef, loadingCount: this.chatItemsLoadingCountRef, emptyProps: this.listEmptyPropsRef, avatarProps: this.listItemAvatarPropsRef, badgeProps: this.listItemBadgePropsRef, notificationsShown: this.notificationsShownSetRef, onChatSelect: this.handleChatSelect }, {
|
|
81
|
+
chatItemStatus: this.slots.chatItemStatus
|
|
82
|
+
}))
|
|
83
|
+
})));
|
|
33
84
|
}
|
|
34
85
|
});
|
|
@@ -137,6 +137,11 @@ export interface ChatProps {
|
|
|
137
137
|
unreadCount?: number;
|
|
138
138
|
headerButtonProps?: Partial<ButtonProps>;
|
|
139
139
|
headerIconProps?: Partial<IconProps>;
|
|
140
|
+
headerShareButtonProps?: Partial<ButtonProps>;
|
|
141
|
+
headerProfileButtonProps?: Partial<ButtonProps>;
|
|
142
|
+
headerCloseButtonProps?: Partial<ButtonProps>;
|
|
143
|
+
headerShareIconProps?: Partial<IconProps>;
|
|
144
|
+
headerProfileIconProps?: Partial<IconProps>;
|
|
140
145
|
messageSenderAvatarProps?: Partial<AvatarProps>;
|
|
141
146
|
messageUploadProps?: Partial<UploadProps>;
|
|
142
147
|
messageButtonProps?: Partial<ButtonProps>;
|
|
@@ -149,6 +154,8 @@ export interface ChatProps {
|
|
|
149
154
|
retryText?: string;
|
|
150
155
|
typingText?: string;
|
|
151
156
|
closeButtonText?: string;
|
|
157
|
+
shareButtonTooltip?: string;
|
|
158
|
+
profileButtonTooltip?: string;
|
|
152
159
|
unreadNotificationText?: string;
|
|
153
160
|
chatItemsLoading?: boolean;
|
|
154
161
|
chatItemsLoadingCount?: number;
|
|
@@ -159,10 +166,14 @@ export interface ChatProps {
|
|
|
159
166
|
onMessageRetry?: (message: ChatMessageData) => void;
|
|
160
167
|
onAttachmentUpload?: OnAttachmentUpload;
|
|
161
168
|
onFilterChange?: OnFilterChange;
|
|
162
|
-
|
|
169
|
+
onFooterInputChange?: (value: string, chatId: ChatId) => void;
|
|
163
170
|
onNetworkError?: OnNetworkError;
|
|
164
171
|
onUploadError?: OnUploadError;
|
|
165
172
|
onSendError?: OnSendError;
|
|
173
|
+
onChatItemsScrollToTop?: () => void;
|
|
174
|
+
onChatItemsScrollToBottom?: () => void;
|
|
175
|
+
onMessagesScrollToTop?: () => void;
|
|
176
|
+
onMessagesScrollToBottom?: () => void;
|
|
166
177
|
}
|
|
167
178
|
export interface ChatSlots {
|
|
168
179
|
header?: () => VNodeChild;
|
|
@@ -218,7 +229,6 @@ export type OnFilterChange = (filter: {
|
|
|
218
229
|
type: string;
|
|
219
230
|
value: any;
|
|
220
231
|
}) => void;
|
|
221
|
-
export type OnLoadMoreChats = (offset: number, limit: number) => void;
|
|
222
232
|
export type OnNetworkError = (error: {
|
|
223
233
|
code: string;
|
|
224
234
|
message: string;
|
|
@@ -274,6 +284,8 @@ export declare const chatInjectionKey: InjectionKey<{
|
|
|
274
284
|
retryTextRef: Ref<string>;
|
|
275
285
|
typingTextRef: Ref<string>;
|
|
276
286
|
closeButtonTextRef: Ref<string>;
|
|
287
|
+
shareButtonTooltipRef: Ref<string>;
|
|
288
|
+
profileButtonTooltipRef: Ref<string>;
|
|
277
289
|
unreadNotificationTextRef: Ref<string>;
|
|
278
290
|
notificationsShownSetRef: Ref<Set<ChatId>>;
|
|
279
291
|
unreadCountsBeforeReadRef: Ref<Record<ChatId, number>>;
|
|
@@ -281,12 +293,12 @@ export declare const chatInjectionKey: InjectionKey<{
|
|
|
281
293
|
handleChatSelect: (chatId: ChatId) => void;
|
|
282
294
|
handleMessageSend: (content: string, attachments?: ChatAttachment[]) => void;
|
|
283
295
|
handleMessageRetry: (message: ChatMessageData) => void;
|
|
296
|
+
handleFooterInputChange: (value: string, chatId: ChatId) => void;
|
|
284
297
|
markMessagesAsRead?: (chatId: ChatId) => void;
|
|
285
298
|
handleFilterChange: (filter: {
|
|
286
299
|
type: string;
|
|
287
300
|
value: string | number | boolean;
|
|
288
301
|
}) => void;
|
|
289
|
-
handleLoadMoreChats: (offset: number, limit: number) => void;
|
|
290
302
|
handleNetworkError: (error: {
|
|
291
303
|
code: string;
|
|
292
304
|
message: string;
|
|
@@ -302,4 +314,13 @@ export declare const chatInjectionKey: InjectionKey<{
|
|
|
302
314
|
onChatClose?: Ref<(() => void) | undefined>;
|
|
303
315
|
onChatShare?: Ref<(() => void) | undefined>;
|
|
304
316
|
onUserProfile?: Ref<(() => void) | undefined>;
|
|
317
|
+
onChatItemsScrollToTop?: Ref<(() => void) | undefined>;
|
|
318
|
+
onChatItemsScrollToBottom?: Ref<(() => void) | undefined>;
|
|
319
|
+
onMessagesScrollToTop?: Ref<(() => void) | undefined>;
|
|
320
|
+
onMessagesScrollToBottom?: Ref<(() => void) | undefined>;
|
|
321
|
+
headerShareButtonPropsRef: Ref<Partial<ButtonProps> | undefined>;
|
|
322
|
+
headerProfileButtonPropsRef: Ref<Partial<ButtonProps> | undefined>;
|
|
323
|
+
headerCloseButtonPropsRef: Ref<Partial<ButtonProps> | undefined>;
|
|
324
|
+
headerShareIconPropsRef: Ref<Partial<IconProps> | undefined>;
|
|
325
|
+
headerProfileIconPropsRef: Ref<Partial<IconProps> | undefined>;
|
|
305
326
|
}>;
|
|
@@ -36,11 +36,11 @@ export default cB('chat', `
|
|
|
36
36
|
gap: 8px;
|
|
37
37
|
`), cE('content', `
|
|
38
38
|
flex: 1;
|
|
39
|
-
overflow-y: auto;
|
|
40
39
|
min-height: 0;
|
|
40
|
+
`, [c('.u-scrollbar-content', `
|
|
41
41
|
padding: 16px;
|
|
42
42
|
padding-top: 8px;
|
|
43
|
-
`), cE('item', `
|
|
43
|
+
`)]), cE('item', `
|
|
44
44
|
padding: 12px 16px;
|
|
45
45
|
width: 100%;
|
|
46
46
|
cursor: pointer;
|
|
@@ -162,8 +162,19 @@ export default cB('chat', `
|
|
|
162
162
|
`), cE('header-title', `
|
|
163
163
|
margin-top: 9px;
|
|
164
164
|
color: var(--u-header-title-color);
|
|
165
|
+
flex: 1;
|
|
166
|
+
min-width: 0;
|
|
167
|
+
overflow: hidden;
|
|
168
|
+
text-overflow: ellipsis;
|
|
169
|
+
white-space: nowrap;
|
|
170
|
+
display: block;
|
|
171
|
+
margin-right: 16px;
|
|
165
172
|
`), cE('header-actions', `
|
|
166
173
|
padding: 4px;
|
|
174
|
+
flex-shrink: 0;
|
|
175
|
+
display: flex;
|
|
176
|
+
align-items: center;
|
|
177
|
+
gap: 8px;
|
|
167
178
|
`), cE('unread-notification', `
|
|
168
179
|
background-color: var(--u-unread-notification-background-color);
|
|
169
180
|
color: var(--u-unread-notification-text-color);
|
package/es/chat/styles/dark.d.ts
CHANGED
|
@@ -277,8 +277,16 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
|
|
|
277
277
|
loadingColor: string;
|
|
278
278
|
}, {
|
|
279
279
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
280
|
+
height: string;
|
|
281
|
+
width: string;
|
|
282
|
+
borderRadius: string;
|
|
280
283
|
color: string;
|
|
281
284
|
colorHover: string;
|
|
285
|
+
railInsetHorizontalBottom: string;
|
|
286
|
+
railInsetHorizontalTop: string;
|
|
287
|
+
railInsetVerticalRight: string;
|
|
288
|
+
railInsetVerticalLeft: string;
|
|
289
|
+
railColor: string;
|
|
282
290
|
}, any>;
|
|
283
291
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
284
292
|
iconSizeSmall: string;
|
|
@@ -314,8 +314,16 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
|
|
|
314
314
|
loadingColor: string;
|
|
315
315
|
}, {
|
|
316
316
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
317
|
+
height: string;
|
|
318
|
+
width: string;
|
|
319
|
+
borderRadius: string;
|
|
317
320
|
color: string;
|
|
318
321
|
colorHover: string;
|
|
322
|
+
railInsetHorizontalBottom: string;
|
|
323
|
+
railInsetHorizontalTop: string;
|
|
324
|
+
railInsetVerticalRight: string;
|
|
325
|
+
railInsetVerticalLeft: string;
|
|
326
|
+
railColor: string;
|
|
319
327
|
}, any>;
|
|
320
328
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
321
329
|
iconSizeSmall: string;
|
package/es/components.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export * from './grid';
|
|
|
43
43
|
export * from './icon';
|
|
44
44
|
export * from './icon-wrapper';
|
|
45
45
|
export * from './image';
|
|
46
|
+
export * from './infinite-scroll';
|
|
46
47
|
export * from './input';
|
|
47
48
|
export * from './input-number';
|
|
48
49
|
export * from './input-otp';
|
|
@@ -89,6 +90,7 @@ export * from './tree';
|
|
|
89
90
|
export * from './tree-select';
|
|
90
91
|
export * from './typography';
|
|
91
92
|
export * from './upload';
|
|
93
|
+
export * from './virtual-list';
|
|
92
94
|
export * from './watermark';
|
|
93
95
|
export * from './discrete';
|
|
94
96
|
export * from './equation';
|
package/es/components.js
CHANGED
|
@@ -43,6 +43,7 @@ export * from './grid';
|
|
|
43
43
|
export * from './icon';
|
|
44
44
|
export * from './icon-wrapper';
|
|
45
45
|
export * from './image';
|
|
46
|
+
export * from './infinite-scroll';
|
|
46
47
|
export * from './input';
|
|
47
48
|
export * from './input-number';
|
|
48
49
|
export * from './input-otp';
|
|
@@ -89,6 +90,7 @@ export * from './tree';
|
|
|
89
90
|
export * from './tree-select';
|
|
90
91
|
export * from './typography';
|
|
91
92
|
export * from './upload';
|
|
93
|
+
export * from './virtual-list';
|
|
92
94
|
export * from './watermark';
|
|
93
95
|
export * from './discrete';
|
|
94
96
|
export * from './equation';
|
|
@@ -728,8 +728,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
728
728
|
loadingColor: string;
|
|
729
729
|
}, {
|
|
730
730
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
731
|
+
height: string;
|
|
732
|
+
width: string;
|
|
733
|
+
borderRadius: string;
|
|
731
734
|
color: string;
|
|
732
735
|
colorHover: string;
|
|
736
|
+
railInsetHorizontalBottom: string;
|
|
737
|
+
railInsetHorizontalTop: string;
|
|
738
|
+
railInsetVerticalRight: string;
|
|
739
|
+
railInsetVerticalLeft: string;
|
|
740
|
+
railColor: string;
|
|
733
741
|
}, any>;
|
|
734
742
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
735
743
|
iconSizeSmall: string;
|
|
@@ -867,8 +875,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
867
875
|
loadingColor: string;
|
|
868
876
|
}, {
|
|
869
877
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
878
|
+
height: string;
|
|
879
|
+
width: string;
|
|
880
|
+
borderRadius: string;
|
|
870
881
|
color: string;
|
|
871
882
|
colorHover: string;
|
|
883
|
+
railInsetHorizontalBottom: string;
|
|
884
|
+
railInsetHorizontalTop: string;
|
|
885
|
+
railInsetVerticalRight: string;
|
|
886
|
+
railInsetVerticalLeft: string;
|
|
887
|
+
railColor: string;
|
|
872
888
|
}, any>;
|
|
873
889
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
874
890
|
iconSizeSmall: string;
|
|
@@ -893,8 +909,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
893
909
|
}>;
|
|
894
910
|
}>;
|
|
895
911
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
912
|
+
height: string;
|
|
913
|
+
width: string;
|
|
914
|
+
borderRadius: string;
|
|
896
915
|
color: string;
|
|
897
916
|
colorHover: string;
|
|
917
|
+
railInsetHorizontalBottom: string;
|
|
918
|
+
railInsetHorizontalTop: string;
|
|
919
|
+
railInsetVerticalRight: string;
|
|
920
|
+
railInsetVerticalLeft: string;
|
|
921
|
+
railColor: string;
|
|
898
922
|
}, any>;
|
|
899
923
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
900
924
|
iconSizeSmall: string;
|
|
@@ -1652,8 +1676,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1652
1676
|
loadingColor: string;
|
|
1653
1677
|
}, {
|
|
1654
1678
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1679
|
+
height: string;
|
|
1680
|
+
width: string;
|
|
1681
|
+
borderRadius: string;
|
|
1655
1682
|
color: string;
|
|
1656
1683
|
colorHover: string;
|
|
1684
|
+
railInsetHorizontalBottom: string;
|
|
1685
|
+
railInsetHorizontalTop: string;
|
|
1686
|
+
railInsetVerticalRight: string;
|
|
1687
|
+
railInsetVerticalLeft: string;
|
|
1688
|
+
railColor: string;
|
|
1657
1689
|
}, any>;
|
|
1658
1690
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1659
1691
|
iconSizeSmall: string;
|
|
@@ -1791,8 +1823,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1791
1823
|
loadingColor: string;
|
|
1792
1824
|
}, {
|
|
1793
1825
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1826
|
+
height: string;
|
|
1827
|
+
width: string;
|
|
1828
|
+
borderRadius: string;
|
|
1794
1829
|
color: string;
|
|
1795
1830
|
colorHover: string;
|
|
1831
|
+
railInsetHorizontalBottom: string;
|
|
1832
|
+
railInsetHorizontalTop: string;
|
|
1833
|
+
railInsetVerticalRight: string;
|
|
1834
|
+
railInsetVerticalLeft: string;
|
|
1835
|
+
railColor: string;
|
|
1796
1836
|
}, any>;
|
|
1797
1837
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1798
1838
|
iconSizeSmall: string;
|
|
@@ -1817,8 +1857,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1817
1857
|
}>;
|
|
1818
1858
|
}>;
|
|
1819
1859
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1860
|
+
height: string;
|
|
1861
|
+
width: string;
|
|
1862
|
+
borderRadius: string;
|
|
1820
1863
|
color: string;
|
|
1821
1864
|
colorHover: string;
|
|
1865
|
+
railInsetHorizontalBottom: string;
|
|
1866
|
+
railInsetHorizontalTop: string;
|
|
1867
|
+
railInsetVerticalRight: string;
|
|
1868
|
+
railInsetVerticalLeft: string;
|
|
1869
|
+
railColor: string;
|
|
1822
1870
|
}, any>;
|
|
1823
1871
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1824
1872
|
iconSizeSmall: string;
|
|
@@ -2576,8 +2624,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2576
2624
|
loadingColor: string;
|
|
2577
2625
|
}, {
|
|
2578
2626
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2627
|
+
height: string;
|
|
2628
|
+
width: string;
|
|
2629
|
+
borderRadius: string;
|
|
2579
2630
|
color: string;
|
|
2580
2631
|
colorHover: string;
|
|
2632
|
+
railInsetHorizontalBottom: string;
|
|
2633
|
+
railInsetHorizontalTop: string;
|
|
2634
|
+
railInsetVerticalRight: string;
|
|
2635
|
+
railInsetVerticalLeft: string;
|
|
2636
|
+
railColor: string;
|
|
2581
2637
|
}, any>;
|
|
2582
2638
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2583
2639
|
iconSizeSmall: string;
|
|
@@ -2715,8 +2771,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2715
2771
|
loadingColor: string;
|
|
2716
2772
|
}, {
|
|
2717
2773
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2774
|
+
height: string;
|
|
2775
|
+
width: string;
|
|
2776
|
+
borderRadius: string;
|
|
2718
2777
|
color: string;
|
|
2719
2778
|
colorHover: string;
|
|
2779
|
+
railInsetHorizontalBottom: string;
|
|
2780
|
+
railInsetHorizontalTop: string;
|
|
2781
|
+
railInsetVerticalRight: string;
|
|
2782
|
+
railInsetVerticalLeft: string;
|
|
2783
|
+
railColor: string;
|
|
2720
2784
|
}, any>;
|
|
2721
2785
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2722
2786
|
iconSizeSmall: string;
|
|
@@ -2741,8 +2805,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2741
2805
|
}>;
|
|
2742
2806
|
}>;
|
|
2743
2807
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2808
|
+
height: string;
|
|
2809
|
+
width: string;
|
|
2810
|
+
borderRadius: string;
|
|
2744
2811
|
color: string;
|
|
2745
2812
|
colorHover: string;
|
|
2813
|
+
railInsetHorizontalBottom: string;
|
|
2814
|
+
railInsetHorizontalTop: string;
|
|
2815
|
+
railInsetVerticalRight: string;
|
|
2816
|
+
railInsetVerticalLeft: string;
|
|
2817
|
+
railColor: string;
|
|
2746
2818
|
}, any>;
|
|
2747
2819
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2748
2820
|
iconSizeSmall: string;
|
|
@@ -3523,8 +3595,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3523
3595
|
loadingColor: string;
|
|
3524
3596
|
}, {
|
|
3525
3597
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
3598
|
+
height: string;
|
|
3599
|
+
width: string;
|
|
3600
|
+
borderRadius: string;
|
|
3526
3601
|
color: string;
|
|
3527
3602
|
colorHover: string;
|
|
3603
|
+
railInsetHorizontalBottom: string;
|
|
3604
|
+
railInsetHorizontalTop: string;
|
|
3605
|
+
railInsetVerticalRight: string;
|
|
3606
|
+
railInsetVerticalLeft: string;
|
|
3607
|
+
railColor: string;
|
|
3528
3608
|
}, any>;
|
|
3529
3609
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
3530
3610
|
iconSizeSmall: string;
|
|
@@ -3662,8 +3742,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3662
3742
|
loadingColor: string;
|
|
3663
3743
|
}, {
|
|
3664
3744
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
3745
|
+
height: string;
|
|
3746
|
+
width: string;
|
|
3747
|
+
borderRadius: string;
|
|
3665
3748
|
color: string;
|
|
3666
3749
|
colorHover: string;
|
|
3750
|
+
railInsetHorizontalBottom: string;
|
|
3751
|
+
railInsetHorizontalTop: string;
|
|
3752
|
+
railInsetVerticalRight: string;
|
|
3753
|
+
railInsetVerticalLeft: string;
|
|
3754
|
+
railColor: string;
|
|
3667
3755
|
}, any>;
|
|
3668
3756
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
3669
3757
|
iconSizeSmall: string;
|
|
@@ -3688,8 +3776,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3688
3776
|
}>;
|
|
3689
3777
|
}>;
|
|
3690
3778
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
3779
|
+
height: string;
|
|
3780
|
+
width: string;
|
|
3781
|
+
borderRadius: string;
|
|
3691
3782
|
color: string;
|
|
3692
3783
|
colorHover: string;
|
|
3784
|
+
railInsetHorizontalBottom: string;
|
|
3785
|
+
railInsetHorizontalTop: string;
|
|
3786
|
+
railInsetVerticalRight: string;
|
|
3787
|
+
railInsetVerticalLeft: string;
|
|
3788
|
+
railColor: string;
|
|
3693
3789
|
}, any>;
|
|
3694
3790
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
3695
3791
|
iconSizeSmall: string;
|
|
@@ -4008,8 +4104,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4008
4104
|
loadingColor: string;
|
|
4009
4105
|
}, {
|
|
4010
4106
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
4107
|
+
height: string;
|
|
4108
|
+
width: string;
|
|
4109
|
+
borderRadius: string;
|
|
4011
4110
|
color: string;
|
|
4012
4111
|
colorHover: string;
|
|
4112
|
+
railInsetHorizontalBottom: string;
|
|
4113
|
+
railInsetHorizontalTop: string;
|
|
4114
|
+
railInsetVerticalRight: string;
|
|
4115
|
+
railInsetVerticalLeft: string;
|
|
4116
|
+
railColor: string;
|
|
4013
4117
|
}, any>;
|
|
4014
4118
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
4015
4119
|
iconSizeSmall: string;
|
|
@@ -4147,8 +4251,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4147
4251
|
loadingColor: string;
|
|
4148
4252
|
}, {
|
|
4149
4253
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
4254
|
+
height: string;
|
|
4255
|
+
width: string;
|
|
4256
|
+
borderRadius: string;
|
|
4150
4257
|
color: string;
|
|
4151
4258
|
colorHover: string;
|
|
4259
|
+
railInsetHorizontalBottom: string;
|
|
4260
|
+
railInsetHorizontalTop: string;
|
|
4261
|
+
railInsetVerticalRight: string;
|
|
4262
|
+
railInsetVerticalLeft: string;
|
|
4263
|
+
railColor: string;
|
|
4152
4264
|
}, any>;
|
|
4153
4265
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
4154
4266
|
iconSizeSmall: string;
|
|
@@ -5028,8 +5140,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5028
5140
|
loadingColor: string;
|
|
5029
5141
|
}, {
|
|
5030
5142
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
5143
|
+
height: string;
|
|
5144
|
+
width: string;
|
|
5145
|
+
borderRadius: string;
|
|
5031
5146
|
color: string;
|
|
5032
5147
|
colorHover: string;
|
|
5148
|
+
railInsetHorizontalBottom: string;
|
|
5149
|
+
railInsetHorizontalTop: string;
|
|
5150
|
+
railInsetVerticalRight: string;
|
|
5151
|
+
railInsetVerticalLeft: string;
|
|
5152
|
+
railColor: string;
|
|
5033
5153
|
}, any>;
|
|
5034
5154
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
5035
5155
|
iconSizeSmall: string;
|
|
@@ -5167,8 +5287,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5167
5287
|
loadingColor: string;
|
|
5168
5288
|
}, {
|
|
5169
5289
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
5290
|
+
height: string;
|
|
5291
|
+
width: string;
|
|
5292
|
+
borderRadius: string;
|
|
5170
5293
|
color: string;
|
|
5171
5294
|
colorHover: string;
|
|
5295
|
+
railInsetHorizontalBottom: string;
|
|
5296
|
+
railInsetHorizontalTop: string;
|
|
5297
|
+
railInsetVerticalRight: string;
|
|
5298
|
+
railInsetVerticalLeft: string;
|
|
5299
|
+
railColor: string;
|
|
5172
5300
|
}, any>;
|
|
5173
5301
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
5174
5302
|
iconSizeSmall: string;
|
|
@@ -5193,8 +5321,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5193
5321
|
}>;
|
|
5194
5322
|
}>;
|
|
5195
5323
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
5324
|
+
height: string;
|
|
5325
|
+
width: string;
|
|
5326
|
+
borderRadius: string;
|
|
5196
5327
|
color: string;
|
|
5197
5328
|
colorHover: string;
|
|
5329
|
+
railInsetHorizontalBottom: string;
|
|
5330
|
+
railInsetHorizontalTop: string;
|
|
5331
|
+
railInsetVerticalRight: string;
|
|
5332
|
+
railInsetVerticalLeft: string;
|
|
5333
|
+
railColor: string;
|
|
5198
5334
|
}, any>;
|
|
5199
5335
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
5200
5336
|
iconSizeSmall: string;
|
|
@@ -5952,8 +6088,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5952
6088
|
loadingColor: string;
|
|
5953
6089
|
}, {
|
|
5954
6090
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
6091
|
+
height: string;
|
|
6092
|
+
width: string;
|
|
6093
|
+
borderRadius: string;
|
|
5955
6094
|
color: string;
|
|
5956
6095
|
colorHover: string;
|
|
6096
|
+
railInsetHorizontalBottom: string;
|
|
6097
|
+
railInsetHorizontalTop: string;
|
|
6098
|
+
railInsetVerticalRight: string;
|
|
6099
|
+
railInsetVerticalLeft: string;
|
|
6100
|
+
railColor: string;
|
|
5957
6101
|
}, any>;
|
|
5958
6102
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
5959
6103
|
iconSizeSmall: string;
|
|
@@ -6091,8 +6235,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6091
6235
|
loadingColor: string;
|
|
6092
6236
|
}, {
|
|
6093
6237
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
6238
|
+
height: string;
|
|
6239
|
+
width: string;
|
|
6240
|
+
borderRadius: string;
|
|
6094
6241
|
color: string;
|
|
6095
6242
|
colorHover: string;
|
|
6243
|
+
railInsetHorizontalBottom: string;
|
|
6244
|
+
railInsetHorizontalTop: string;
|
|
6245
|
+
railInsetVerticalRight: string;
|
|
6246
|
+
railInsetVerticalLeft: string;
|
|
6247
|
+
railColor: string;
|
|
6096
6248
|
}, any>;
|
|
6097
6249
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
6098
6250
|
iconSizeSmall: string;
|
|
@@ -6117,8 +6269,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6117
6269
|
}>;
|
|
6118
6270
|
}>;
|
|
6119
6271
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
6272
|
+
height: string;
|
|
6273
|
+
width: string;
|
|
6274
|
+
borderRadius: string;
|
|
6120
6275
|
color: string;
|
|
6121
6276
|
colorHover: string;
|
|
6277
|
+
railInsetHorizontalBottom: string;
|
|
6278
|
+
railInsetHorizontalTop: string;
|
|
6279
|
+
railInsetVerticalRight: string;
|
|
6280
|
+
railInsetVerticalLeft: string;
|
|
6281
|
+
railColor: string;
|
|
6122
6282
|
}, any>;
|
|
6123
6283
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
6124
6284
|
iconSizeSmall: string;
|
|
@@ -6876,8 +7036,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6876
7036
|
loadingColor: string;
|
|
6877
7037
|
}, {
|
|
6878
7038
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
7039
|
+
height: string;
|
|
7040
|
+
width: string;
|
|
7041
|
+
borderRadius: string;
|
|
6879
7042
|
color: string;
|
|
6880
7043
|
colorHover: string;
|
|
7044
|
+
railInsetHorizontalBottom: string;
|
|
7045
|
+
railInsetHorizontalTop: string;
|
|
7046
|
+
railInsetVerticalRight: string;
|
|
7047
|
+
railInsetVerticalLeft: string;
|
|
7048
|
+
railColor: string;
|
|
6881
7049
|
}, any>;
|
|
6882
7050
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
6883
7051
|
iconSizeSmall: string;
|
|
@@ -7015,8 +7183,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7015
7183
|
loadingColor: string;
|
|
7016
7184
|
}, {
|
|
7017
7185
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
7186
|
+
height: string;
|
|
7187
|
+
width: string;
|
|
7188
|
+
borderRadius: string;
|
|
7018
7189
|
color: string;
|
|
7019
7190
|
colorHover: string;
|
|
7191
|
+
railInsetHorizontalBottom: string;
|
|
7192
|
+
railInsetHorizontalTop: string;
|
|
7193
|
+
railInsetVerticalRight: string;
|
|
7194
|
+
railInsetVerticalLeft: string;
|
|
7195
|
+
railColor: string;
|
|
7020
7196
|
}, any>;
|
|
7021
7197
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
7022
7198
|
iconSizeSmall: string;
|
|
@@ -7041,8 +7217,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7041
7217
|
}>;
|
|
7042
7218
|
}>;
|
|
7043
7219
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
7220
|
+
height: string;
|
|
7221
|
+
width: string;
|
|
7222
|
+
borderRadius: string;
|
|
7044
7223
|
color: string;
|
|
7045
7224
|
colorHover: string;
|
|
7225
|
+
railInsetHorizontalBottom: string;
|
|
7226
|
+
railInsetHorizontalTop: string;
|
|
7227
|
+
railInsetVerticalRight: string;
|
|
7228
|
+
railInsetVerticalLeft: string;
|
|
7229
|
+
railColor: string;
|
|
7046
7230
|
}, any>;
|
|
7047
7231
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
7048
7232
|
iconSizeSmall: string;
|