@uzum-tech/ui 1.7.0 → 1.7.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 +1365 -41760
- package/dist/index.prod.js +3 -3
- package/es/_internal/icons/CheckmarkDoneSharp.d.ts +2 -0
- package/es/_internal/icons/CheckmarkDoneSharp.js +10 -0
- package/es/_internal/icons/MdTime.d.ts +2 -0
- package/es/_internal/icons/MdTime.js +10 -0
- package/es/_internal/icons/PersonOutline.d.ts +2 -0
- package/es/_internal/icons/PersonOutline.js +9 -0
- package/es/_internal/icons/Refresh.d.ts +2 -0
- package/es/_internal/icons/Refresh.js +9 -0
- package/es/_internal/icons/index.d.ts +4 -0
- package/es/_internal/icons/index.js +4 -0
- package/es/_internal/select-menu/src/styles/index.cssr.js +2 -1
- package/es/_internal/select-menu/styles/light.js +1 -1
- package/es/_internal/selection/src/Selection.d.ts +0 -16
- package/es/_internal/selection/src/Selection.js +3 -4
- package/es/_internal/selection/src/styles/index.cssr.js +0 -4
- package/es/_internal/selection/styles/light.d.ts +0 -4
- package/es/_internal/selection/styles/light.js +1 -3
- package/es/cascader/src/Cascader.d.ts +0 -20
- package/es/cascader/src/CascaderMenu.d.ts +0 -2
- package/es/cascader/src/CascaderOption.d.ts +0 -2
- package/es/cascader/src/CascaderSelectMenu.d.ts +0 -2
- package/es/cascader/src/CascaderSubmenu.d.ts +0 -2
- package/es/cascader/styles/light.d.ts +0 -2
- package/es/chat/src/Chat.d.ts +38 -34
- package/es/chat/src/Chat.js +28 -7
- package/es/chat/src/ChatGlobalState.d.ts +13 -0
- package/es/chat/src/ChatGlobalState.js +32 -0
- package/es/chat/src/ChatParts/ChatAttachment.d.ts +43 -0
- package/es/chat/src/ChatParts/ChatAttachment.js +75 -0
- package/es/chat/src/ChatParts/MainArea.d.ts +3 -9
- package/es/chat/src/ChatParts/MainArea.js +129 -123
- package/es/chat/src/ChatParts/Sidebar.js +12 -19
- package/es/chat/src/interface.d.ts +8 -3
- package/es/chat/src/styles/index.cssr.js +7 -0
- package/es/chat/styles/dark.d.ts +0 -2
- package/es/chat/styles/light.d.ts +0 -2
- package/es/data-table/src/DataTable.d.ts +0 -16
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +0 -4
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +0 -4
- package/es/data-table/src/TableParts/Body.d.ts +0 -4
- package/es/data-table/src/TableParts/Body.js +3 -1
- package/es/data-table/src/TableParts/Cell.js +18 -5
- package/es/data-table/src/TableParts/Header.d.ts +0 -4
- package/es/data-table/src/interface.d.ts +1 -7
- package/es/data-table/src/utils.js +1 -1
- package/es/data-table/styles/light.d.ts +0 -2
- package/es/dynamic-tags/src/DynamicTags.d.ts +4 -454
- package/es/dynamic-tags/styles/light.d.ts +0 -45
- package/es/empty/styles/light.js +3 -3
- package/es/locales/common/arDZ.js +6 -0
- package/es/locales/common/deDE.js +6 -0
- package/es/locales/common/enGB.js +6 -0
- package/es/locales/common/enUS.d.ts +6 -0
- package/es/locales/common/enUS.js +6 -0
- package/es/locales/common/eo.js +6 -0
- package/es/locales/common/esAR.js +6 -0
- package/es/locales/common/faIR.js +6 -0
- package/es/locales/common/frFR.js +6 -0
- package/es/locales/common/idID.js +6 -0
- package/es/locales/common/itIT.js +6 -0
- package/es/locales/common/jaJP.js +6 -0
- package/es/locales/common/koKR.js +6 -0
- package/es/locales/common/nbNO.js +6 -0
- package/es/locales/common/nlNL.js +6 -0
- package/es/locales/common/plPL.js +6 -0
- package/es/locales/common/ptBR.js +6 -0
- package/es/locales/common/ruRU.js +6 -0
- package/es/locales/common/skSK.js +6 -0
- package/es/locales/common/svSE.js +6 -0
- package/es/locales/common/thTH.js +6 -0
- package/es/locales/common/trTR.js +6 -0
- package/es/locales/common/ukUA.js +6 -0
- package/es/locales/common/viVN.js +6 -0
- package/es/locales/common/zhCN.js +6 -0
- package/es/locales/common/zhTW.js +6 -0
- package/es/pagination/src/Pagination.d.ts +0 -22
- package/es/pagination/styles/light.d.ts +0 -2
- package/es/select/src/Select.d.ts +0 -20
- package/es/select/styles/light.d.ts +0 -2
- package/es/status/src/Status.d.ts +14 -13
- package/es/status/src/Status.js +10 -13
- package/es/status/src/interface.d.ts +5 -1
- package/es/status/src/styles/index.cssr.js +1 -1
- package/es/status/styles/light.d.ts +1 -1
- package/es/status/styles/light.js +3 -3
- package/es/steps/src/Step.js +1 -5
- package/es/steps/src/styles/index.cssr.js +2 -1
- package/es/tabs/src/Tab.js +8 -3
- package/es/tabs/src/Tabs.js +2 -1
- package/es/tabs/src/interface.d.ts +1 -0
- package/es/tag/src/Tag.d.ts +4 -409
- package/es/tag/src/Tag.js +3 -0
- package/es/tag/src/common-props.d.ts +1 -1
- package/es/tag/styles/light.d.ts +0 -45
- package/es/tag/styles/light.js +2 -58
- package/es/tree-select/src/TreeSelect.d.ts +0 -20
- package/es/tree-select/styles/light.d.ts +0 -2
- package/es/upload/src/useUploadActionsRender.js +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/icons/CheckmarkDoneSharp.d.ts +2 -0
- package/lib/_internal/icons/CheckmarkDoneSharp.js +12 -0
- package/lib/_internal/icons/MdTime.d.ts +2 -0
- package/lib/_internal/icons/MdTime.js +12 -0
- package/lib/_internal/icons/PersonOutline.d.ts +2 -0
- package/lib/_internal/icons/PersonOutline.js +11 -0
- package/lib/_internal/icons/Refresh.d.ts +2 -0
- package/lib/_internal/icons/Refresh.js +11 -0
- package/lib/_internal/icons/index.d.ts +4 -0
- package/lib/_internal/icons/index.js +9 -1
- package/lib/_internal/select-menu/src/styles/index.cssr.js +2 -1
- package/lib/_internal/select-menu/styles/light.js +1 -1
- package/lib/_internal/selection/src/Selection.d.ts +0 -16
- package/lib/_internal/selection/src/Selection.js +3 -4
- package/lib/_internal/selection/src/styles/index.cssr.js +0 -4
- package/lib/_internal/selection/styles/light.d.ts +0 -4
- package/lib/_internal/selection/styles/light.js +1 -3
- package/lib/cascader/src/Cascader.d.ts +0 -20
- package/lib/cascader/src/CascaderMenu.d.ts +0 -2
- package/lib/cascader/src/CascaderOption.d.ts +0 -2
- package/lib/cascader/src/CascaderSelectMenu.d.ts +0 -2
- package/lib/cascader/src/CascaderSubmenu.d.ts +0 -2
- package/lib/cascader/styles/light.d.ts +0 -2
- package/lib/chat/src/Chat.d.ts +38 -34
- package/lib/chat/src/Chat.js +27 -6
- package/lib/chat/src/ChatGlobalState.d.ts +13 -0
- package/lib/chat/src/ChatGlobalState.js +36 -0
- package/lib/chat/src/ChatParts/ChatAttachment.d.ts +43 -0
- package/lib/chat/src/ChatParts/ChatAttachment.js +77 -0
- package/lib/chat/src/ChatParts/MainArea.d.ts +3 -9
- package/lib/chat/src/ChatParts/MainArea.js +135 -126
- package/lib/chat/src/ChatParts/Sidebar.js +16 -23
- package/lib/chat/src/interface.d.ts +8 -3
- package/lib/chat/src/styles/index.cssr.js +7 -0
- package/lib/chat/styles/dark.d.ts +0 -2
- package/lib/chat/styles/light.d.ts +0 -2
- package/lib/data-table/src/DataTable.d.ts +0 -16
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +0 -4
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +0 -4
- package/lib/data-table/src/TableParts/Body.d.ts +0 -4
- package/lib/data-table/src/TableParts/Body.js +3 -1
- package/lib/data-table/src/TableParts/Cell.js +18 -5
- package/lib/data-table/src/TableParts/Header.d.ts +0 -4
- package/lib/data-table/src/interface.d.ts +1 -7
- package/lib/data-table/src/utils.js +1 -1
- package/lib/data-table/styles/light.d.ts +0 -2
- package/lib/dynamic-tags/src/DynamicTags.d.ts +4 -454
- package/lib/dynamic-tags/styles/light.d.ts +0 -45
- package/lib/empty/styles/light.js +3 -3
- package/lib/locales/common/arDZ.js +6 -0
- package/lib/locales/common/deDE.js +6 -0
- package/lib/locales/common/enGB.js +6 -0
- package/lib/locales/common/enUS.d.ts +6 -0
- package/lib/locales/common/enUS.js +6 -0
- package/lib/locales/common/eo.js +6 -0
- package/lib/locales/common/esAR.js +6 -0
- package/lib/locales/common/faIR.js +6 -0
- package/lib/locales/common/frFR.js +6 -0
- package/lib/locales/common/idID.js +6 -0
- package/lib/locales/common/itIT.js +6 -0
- package/lib/locales/common/jaJP.js +6 -0
- package/lib/locales/common/koKR.js +6 -0
- package/lib/locales/common/nbNO.js +6 -0
- package/lib/locales/common/nlNL.js +6 -0
- package/lib/locales/common/plPL.js +6 -0
- package/lib/locales/common/ptBR.js +6 -0
- package/lib/locales/common/ruRU.js +6 -0
- package/lib/locales/common/skSK.js +6 -0
- package/lib/locales/common/svSE.js +6 -0
- package/lib/locales/common/thTH.js +6 -0
- package/lib/locales/common/trTR.js +6 -0
- package/lib/locales/common/ukUA.js +6 -0
- package/lib/locales/common/viVN.js +6 -0
- package/lib/locales/common/zhCN.js +6 -0
- package/lib/locales/common/zhTW.js +6 -0
- package/lib/pagination/src/Pagination.d.ts +0 -22
- package/lib/pagination/styles/light.d.ts +0 -2
- package/lib/select/src/Select.d.ts +0 -20
- package/lib/select/styles/light.d.ts +0 -2
- package/lib/status/src/Status.d.ts +14 -13
- package/lib/status/src/Status.js +9 -12
- package/lib/status/src/interface.d.ts +5 -1
- package/lib/status/src/styles/index.cssr.js +1 -1
- package/lib/status/styles/light.d.ts +1 -1
- package/lib/status/styles/light.js +3 -3
- package/lib/steps/src/Step.js +1 -5
- package/lib/steps/src/styles/index.cssr.js +2 -1
- package/lib/tabs/src/Tab.js +7 -2
- package/lib/tabs/src/Tabs.js +2 -1
- package/lib/tabs/src/interface.d.ts +1 -0
- package/lib/tag/src/Tag.d.ts +4 -409
- package/lib/tag/src/Tag.js +3 -0
- package/lib/tag/src/common-props.d.ts +1 -1
- package/lib/tag/styles/light.d.ts +0 -45
- package/lib/tag/styles/light.js +2 -58
- package/lib/tree-select/src/TreeSelect.d.ts +0 -20
- package/lib/tree-select/styles/light.d.ts +0 -2
- package/lib/upload/src/useUploadActionsRender.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +58 -19
|
@@ -8,11 +8,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
11
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
15
|
const vue_1 = require("vue");
|
|
13
16
|
const fluent_1 = require("@vicons/fluent");
|
|
14
|
-
const ionicons5_1 = require("@vicons/ionicons5");
|
|
15
|
-
const ionicons4_1 = require("@vicons/ionicons4");
|
|
16
17
|
const interface_1 = require("../interface");
|
|
17
18
|
const input_1 = require("../../../input");
|
|
18
19
|
const button_1 = require("../../../button");
|
|
@@ -22,34 +23,23 @@ const upload_1 = require("../../../upload");
|
|
|
22
23
|
const flex_1 = require("../../../flex");
|
|
23
24
|
const _utils_1 = require("../../../_utils");
|
|
24
25
|
const typography_1 = require("../../../typography");
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
if (!((_a = window.__chatGlobalState) === null || _a === void 0 ? void 0 : _a.notificationsShown) ||
|
|
34
|
-
!((_b = window.__chatGlobalState) === null || _b === void 0 ? void 0 : _b.openedChats)) {
|
|
35
|
-
window.__chatGlobalState = {
|
|
36
|
-
notificationsShown: new Set(),
|
|
37
|
-
openedChats: new Set()
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
return window.__chatGlobalState;
|
|
41
|
-
};
|
|
42
|
-
const getChatGlobalState = () => initChatGlobalState();
|
|
26
|
+
const skeleton_1 = require("../../../skeleton");
|
|
27
|
+
const icons_1 = require("../../../_internal/icons");
|
|
28
|
+
const ChatGlobalState_1 = require("../ChatGlobalState");
|
|
29
|
+
const ChatAttachment_1 = __importDefault(require("./ChatAttachment"));
|
|
30
|
+
const SCROLL_DELAY = 50;
|
|
31
|
+
const SENDING_DELAY = 100;
|
|
32
|
+
const getChatGlobalState = () => ChatGlobalState_1.ChatGlobalState.getInstance();
|
|
43
33
|
const statusIconMapper = {
|
|
44
|
-
[interface_1.MessageStatus.READ]:
|
|
45
|
-
[interface_1.MessageStatus.PENDING]:
|
|
46
|
-
[interface_1.MessageStatus.RETRY]:
|
|
47
|
-
[interface_1.MessageStatus.UNREAD]:
|
|
34
|
+
[interface_1.MessageStatus.READ]: icons_1.CheckmarkDoneSharp,
|
|
35
|
+
[interface_1.MessageStatus.PENDING]: icons_1.MdTime,
|
|
36
|
+
[interface_1.MessageStatus.RETRY]: icons_1.Refresh,
|
|
37
|
+
[interface_1.MessageStatus.UNREAD]: icons_1.CheckmarkDoneSharp
|
|
48
38
|
};
|
|
49
39
|
exports.default = (0, vue_1.defineComponent)({
|
|
50
40
|
name: 'ChatMainArea',
|
|
51
41
|
setup(_, { slots }) {
|
|
52
|
-
const { mergedClsPrefixRef, selectedChatRef, messagesRef, typingChatIdsRef, messagesLoadingRef, headerButtonPropsRef, headerIconPropsRef, messageUploadPropsRef, footerInputPropsRef, footerButtonPropsRef, footerUploadPropsRef, footerIconPropsRef, retryTextRef, typingTextRef, closeButtonTextRef, handleMessageSend, handleMessageRetry, onChatClose, onChatShare, onUserProfile
|
|
42
|
+
const { mergedClsPrefixRef, selectedChatRef, messagesRef, typingChatIdsRef, messagesLoadingRef, messagesLoadingCountRef, headerButtonPropsRef, headerIconPropsRef, messageUploadPropsRef, footerInputPropsRef, footerButtonPropsRef, footerUploadPropsRef, footerIconPropsRef, inputPlaceholderRef, retryTextRef, typingTextRef, closeButtonTextRef, handleMessageSend, handleMessageRetry, onChatClose, onChatShare, onUserProfile
|
|
53
43
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
54
44
|
} = (0, vue_1.inject)(interface_1.chatInjectionKey);
|
|
55
45
|
const messagesBodyRef = (0, vue_1.ref)();
|
|
@@ -70,12 +60,12 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
70
60
|
inputValue.value = chatInputs.value[newChat.id] || '';
|
|
71
61
|
unreadCountOnOpen.value = unreadMessagesCount.value;
|
|
72
62
|
const globalState = getChatGlobalState();
|
|
73
|
-
globalState.
|
|
63
|
+
globalState.markChatOpened(newChat.id);
|
|
74
64
|
if (unreadCountOnOpen.value > 0 &&
|
|
75
|
-
!globalState.
|
|
65
|
+
!globalState.hasNotificationShown(newChat.id)) {
|
|
76
66
|
hasUnreadMessages.value = true;
|
|
77
67
|
showNotificationManually.value = true;
|
|
78
|
-
globalState.
|
|
68
|
+
globalState.markNotificationShown(newChat.id);
|
|
79
69
|
}
|
|
80
70
|
else {
|
|
81
71
|
hasUnreadMessages.value = false;
|
|
@@ -92,7 +82,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
92
82
|
newMessages.length > oldMessages.length) {
|
|
93
83
|
if (selectedChatRef.value) {
|
|
94
84
|
const globalState = getChatGlobalState();
|
|
95
|
-
if (globalState.
|
|
85
|
+
if (globalState.hasNotificationShown(selectedChatRef.value.id)) {
|
|
96
86
|
showNotificationManually.value = false;
|
|
97
87
|
}
|
|
98
88
|
}
|
|
@@ -118,19 +108,20 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
118
108
|
});
|
|
119
109
|
});
|
|
120
110
|
const scrollToBottom = () => {
|
|
121
|
-
|
|
122
|
-
if (
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
111
|
+
const el = messagesBodyRef.value;
|
|
112
|
+
if (!el)
|
|
113
|
+
return;
|
|
114
|
+
if ('scrollTo' in el && typeof el.scrollTo === 'function') {
|
|
115
|
+
el.scrollTo({ top: 999999, behavior: 'smooth' });
|
|
116
|
+
return;
|
|
117
|
+
}
|
|
118
|
+
if ('$el' in el && el.$el instanceof HTMLElement) {
|
|
119
|
+
const scrollContainer = el.$el.querySelector('.u-scrollbar-content') || el.$el;
|
|
120
|
+
scrollContainer.scrollTop = scrollContainer.scrollHeight;
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
if ('scrollTop' in el && 'scrollHeight' in el) {
|
|
124
|
+
el.scrollTop = el.scrollHeight;
|
|
134
125
|
}
|
|
135
126
|
};
|
|
136
127
|
const renderUnreadNotification = () => {
|
|
@@ -167,23 +158,6 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
167
158
|
? message.attachment
|
|
168
159
|
: [message.attachment]
|
|
169
160
|
: [];
|
|
170
|
-
const fileList = attachments.map((att, index) => {
|
|
171
|
-
var _a, _b;
|
|
172
|
-
return ({
|
|
173
|
-
id: `${String(message.id)}-attachment-${index}`,
|
|
174
|
-
name: att.name,
|
|
175
|
-
status: att.status || 'finished',
|
|
176
|
-
percentage: (_a = att.percentage) !== null && _a !== void 0 ? _a : null,
|
|
177
|
-
url: (_b = att.url) !== null && _b !== void 0 ? _b : null,
|
|
178
|
-
thumbnailUrl: typeof att.preview === 'string'
|
|
179
|
-
? att.preview
|
|
180
|
-
: typeof att.thumbnail === 'string'
|
|
181
|
-
? att.thumbnail
|
|
182
|
-
: null,
|
|
183
|
-
file: null,
|
|
184
|
-
batchId: null
|
|
185
|
-
});
|
|
186
|
-
});
|
|
187
161
|
return ((0, vue_1.h)("div", { key: message.id, class: [
|
|
188
162
|
`${mergedClsPrefixRef.value}-chat-main__message`,
|
|
189
163
|
isOwn
|
|
@@ -197,42 +171,16 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
197
171
|
? `${mergedClsPrefixRef.value}-chat-main__message-bubble--own`
|
|
198
172
|
: `${mergedClsPrefixRef.value}-chat-main__message-bubble--other`
|
|
199
173
|
] },
|
|
200
|
-
attachments.length > 0 &&
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
display: 'flex',
|
|
204
|
-
flexDirection: 'column',
|
|
205
|
-
gap: '2px',
|
|
206
|
-
marginTop: '0'
|
|
207
|
-
}, showRemoveButton: false, showDownloadButton: attachments.some((att) => att.status === 'finished'), showRetryButton: attachments.some((att) => att.status === 'error') }, messageUploadPropsRef.value),
|
|
208
|
-
(0, vue_1.h)(upload_1.UUploadFileList, null, {
|
|
209
|
-
'upload-file-title': slots.messageAttachmentTitle
|
|
210
|
-
? ({ file }) => { var _a; return (_a = slots.messageAttachmentTitle) === null || _a === void 0 ? void 0 : _a.call(slots, file); }
|
|
211
|
-
: undefined,
|
|
212
|
-
'upload-file-subtitle': slots.messageAttachmentSubtitle
|
|
213
|
-
? ({ file }) => { var _a; return (_a = slots.messageAttachmentSubtitle) === null || _a === void 0 ? void 0 : _a.call(slots, file); }
|
|
214
|
-
: ({ file }) => {
|
|
215
|
-
var _a;
|
|
216
|
-
const att = attachments.find((a) => a.name === file.name);
|
|
217
|
-
return ((0, vue_1.h)("span", { style: {
|
|
218
|
-
fontSize: '12px',
|
|
219
|
-
color: '#999'
|
|
220
|
-
} }, (att === null || att === void 0 ? void 0 : att.size) || ((_a = file.file) === null || _a === void 0 ? void 0 : _a.size)));
|
|
221
|
-
}
|
|
222
|
-
}))))),
|
|
223
|
-
message.content && ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__message-text` }, message.content)))) : attachments.length === 1 ? (slots.messageAttachment ? (slots.messageAttachment(message)) : ((0, vue_1.h)(upload_1.UUpload, Object.assign({ abstract: true, fileList: fileList, showRemoveButton: false, showDownloadButton: attachments.some((att) => att.status === 'finished'), showRetryButton: attachments.some((att) => att.status === 'error') }, messageUploadPropsRef.value),
|
|
224
|
-
(0, vue_1.h)(upload_1.UUploadFileList, null, {
|
|
225
|
-
'upload-file-title': slots.messageAttachmentTitle
|
|
226
|
-
? ({ file }) => { var _a; return (_a = slots.messageAttachmentTitle) === null || _a === void 0 ? void 0 : _a.call(slots, file); }
|
|
227
|
-
: undefined,
|
|
174
|
+
attachments.length > 0 && ((0, vue_1.h)(ChatAttachment_1.default, { message: message, attachments: attachments, uploadProps: messageUploadPropsRef.value, withPadding: true }, {
|
|
175
|
+
default: slots.messageAttachment,
|
|
176
|
+
'upload-file-title': slots.messageAttachmentTitle,
|
|
228
177
|
'upload-file-subtitle': slots.messageAttachmentSubtitle
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
})))) : null,
|
|
178
|
+
})),
|
|
179
|
+
message.content && ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__message-text` }, message.content)))) : attachments.length === 1 ? ((0, vue_1.h)(ChatAttachment_1.default, { message: message, attachments: attachments, uploadProps: messageUploadPropsRef.value }, {
|
|
180
|
+
default: slots.messageAttachment,
|
|
181
|
+
'upload-file-title': slots.messageAttachmentTitle,
|
|
182
|
+
'upload-file-subtitle': slots.messageAttachmentSubtitle
|
|
183
|
+
})) : null,
|
|
236
184
|
(0, vue_1.h)("div", { class: [
|
|
237
185
|
`${mergedClsPrefixRef.value}-chat-main__message-meta`,
|
|
238
186
|
isOwn
|
|
@@ -270,16 +218,43 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
270
218
|
] },
|
|
271
219
|
(0, vue_1.h)("span", { class: `${mergedClsPrefixRef.value}-chat-main__message-time` }, typingTextRef.value)))));
|
|
272
220
|
};
|
|
221
|
+
const renderSkeletonMessage = (isOwn, index) => {
|
|
222
|
+
return ((0, vue_1.h)("div", { key: `skeleton-${index}`, class: [
|
|
223
|
+
`${mergedClsPrefixRef.value}-chat-main__message`,
|
|
224
|
+
isOwn
|
|
225
|
+
? `${mergedClsPrefixRef.value}-chat-main__message--own`
|
|
226
|
+
: `${mergedClsPrefixRef.value}-chat-main__message--other`
|
|
227
|
+
] },
|
|
228
|
+
(0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__message-wrapper` },
|
|
229
|
+
(0, vue_1.h)("div", { class: [
|
|
230
|
+
`${mergedClsPrefixRef.value}-chat-main__message-bubble`,
|
|
231
|
+
isOwn
|
|
232
|
+
? `${mergedClsPrefixRef.value}-chat-main__message-bubble--own`
|
|
233
|
+
: `${mergedClsPrefixRef.value}-chat-main__message-bubble--other`
|
|
234
|
+
] },
|
|
235
|
+
(0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__message-text` },
|
|
236
|
+
(0, vue_1.h)("div", { style: { width: '376px', height: '20px' } }))),
|
|
237
|
+
(0, vue_1.h)("div", { class: [
|
|
238
|
+
`${mergedClsPrefixRef.value}-chat-main__message-meta`,
|
|
239
|
+
isOwn
|
|
240
|
+
? `${mergedClsPrefixRef.value}-chat-main__message-meta--own`
|
|
241
|
+
: `${mergedClsPrefixRef.value}-chat-main__message-meta--other`
|
|
242
|
+
] },
|
|
243
|
+
(0, vue_1.h)(skeleton_1.USkeleton, { style: { width: '36px', height: '20px', borderRadius: '4px' } })))));
|
|
244
|
+
};
|
|
273
245
|
const renderMessages = () => {
|
|
274
246
|
var _a, _b;
|
|
275
247
|
if (messagesLoadingRef.value) {
|
|
276
|
-
return ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-
|
|
248
|
+
return ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__messages` }, Array.from({ length: messagesLoadingCountRef.value || 5 }).map((_, index) => {
|
|
249
|
+
const isOwn = index % 2 === 0;
|
|
250
|
+
return renderSkeletonMessage(isOwn, index);
|
|
251
|
+
})));
|
|
277
252
|
}
|
|
278
253
|
const messagesWithDates = [];
|
|
279
254
|
let currentDate = '';
|
|
280
255
|
let unreadNotificationInserted = false;
|
|
281
256
|
(_a = messagesRef.value) === null || _a === void 0 ? void 0 : _a.forEach((message, index) => {
|
|
282
|
-
const messageDate = message.date || '
|
|
257
|
+
const messageDate = message.date || '';
|
|
283
258
|
if (messageDate !== currentDate) {
|
|
284
259
|
messagesWithDates.push({
|
|
285
260
|
type: 'date-separator',
|
|
@@ -320,17 +295,36 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
320
295
|
if (isSending.value) {
|
|
321
296
|
return;
|
|
322
297
|
}
|
|
323
|
-
|
|
298
|
+
const hasContent = inputValue.value.trim();
|
|
299
|
+
const hasAttachments = attachmentFileList.value.length > 0;
|
|
300
|
+
if ((hasContent || hasAttachments) &&
|
|
324
301
|
selectedChatRef.value &&
|
|
325
302
|
handleMessageSend) {
|
|
326
303
|
isSending.value = true;
|
|
327
304
|
try {
|
|
328
|
-
|
|
305
|
+
const attachments = attachmentFileList.value.length > 0
|
|
306
|
+
? attachmentFileList.value.map((file) => {
|
|
307
|
+
var _a, _b, _c;
|
|
308
|
+
return ({
|
|
309
|
+
id: file.id,
|
|
310
|
+
type: interface_1.ChatMessageType.FILE,
|
|
311
|
+
name: file.name,
|
|
312
|
+
url: file.url ||
|
|
313
|
+
(file.file ? URL.createObjectURL(file.file) : '#'),
|
|
314
|
+
size: (_a = file.file) === null || _a === void 0 ? void 0 : _a.size,
|
|
315
|
+
thumbnail: (_b = file.thumbnailUrl) !== null && _b !== void 0 ? _b : undefined,
|
|
316
|
+
status: file.status,
|
|
317
|
+
percentage: (_c = file.percentage) !== null && _c !== void 0 ? _c : undefined
|
|
318
|
+
});
|
|
319
|
+
})
|
|
320
|
+
: undefined;
|
|
321
|
+
handleMessageSend(inputValue.value.trim(), attachments);
|
|
329
322
|
inputValue.value = '';
|
|
323
|
+
attachmentFileList.value = [];
|
|
330
324
|
chatInputs.value[selectedChatRef.value.id] = '';
|
|
331
325
|
const globalState = getChatGlobalState();
|
|
332
|
-
if (globalState.
|
|
333
|
-
globalState.
|
|
326
|
+
if (globalState.hasNotificationShown(selectedChatRef.value.id)) {
|
|
327
|
+
globalState.markNotificationShown(selectedChatRef.value.id);
|
|
334
328
|
showNotificationManually.value = false;
|
|
335
329
|
hasUnreadMessages.value = false;
|
|
336
330
|
}
|
|
@@ -339,39 +333,54 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
339
333
|
});
|
|
340
334
|
setTimeout(() => {
|
|
341
335
|
scrollToBottom();
|
|
342
|
-
},
|
|
336
|
+
}, SCROLL_DELAY);
|
|
343
337
|
}
|
|
344
338
|
finally {
|
|
345
339
|
setTimeout(() => {
|
|
346
340
|
isSending.value = false;
|
|
347
|
-
},
|
|
341
|
+
}, SENDING_DELAY);
|
|
348
342
|
}
|
|
349
343
|
}
|
|
350
344
|
});
|
|
345
|
+
let fileUploadTimer = null;
|
|
346
|
+
const pendingFiles = (0, vue_1.ref)([]);
|
|
351
347
|
const handleFileListUpdate = (fileList) => {
|
|
352
|
-
const newFiles = fileList.filter((file) => !attachmentFileList.value.some((existing) => existing.id === file.id)
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
348
|
+
const newFiles = fileList.filter((file) => !attachmentFileList.value.some((existing) => existing.id === file.id) &&
|
|
349
|
+
!pendingFiles.value.some((existing) => existing.id === file.id));
|
|
350
|
+
if (newFiles.length > 0) {
|
|
351
|
+
pendingFiles.value = [...pendingFiles.value, ...newFiles];
|
|
352
|
+
if (fileUploadTimer) {
|
|
353
|
+
clearTimeout(fileUploadTimer);
|
|
354
|
+
}
|
|
355
|
+
fileUploadTimer = setTimeout(() => {
|
|
356
|
+
if (pendingFiles.value.length > 0 && handleMessageSend) {
|
|
357
|
+
const hasError = pendingFiles.value.some((file) => file.status === 'error');
|
|
358
|
+
const batchStatus = hasError ? 'error' : 'finished';
|
|
359
|
+
const attachments = pendingFiles.value.map((file) => {
|
|
360
|
+
var _a, _b, _c;
|
|
361
|
+
return ({
|
|
362
|
+
id: file.id,
|
|
363
|
+
type: interface_1.ChatMessageType.FILE,
|
|
364
|
+
name: file.name,
|
|
365
|
+
url: file.url ||
|
|
366
|
+
(file.file ? URL.createObjectURL(file.file) : '#'),
|
|
367
|
+
size: (_a = file.file) === null || _a === void 0 ? void 0 : _a.size,
|
|
368
|
+
thumbnail: (_b = file.thumbnailUrl) !== null && _b !== void 0 ? _b : undefined,
|
|
369
|
+
status: batchStatus,
|
|
370
|
+
percentage: (_c = file.percentage) !== null && _c !== void 0 ? _c : undefined
|
|
371
|
+
});
|
|
372
|
+
});
|
|
373
|
+
handleMessageSend('', attachments);
|
|
374
|
+
pendingFiles.value = [];
|
|
375
|
+
attachmentFileList.value = [];
|
|
376
|
+
void (0, vue_1.nextTick)(() => {
|
|
377
|
+
scrollToBottom();
|
|
378
|
+
});
|
|
379
|
+
setTimeout(() => {
|
|
380
|
+
scrollToBottom();
|
|
381
|
+
}, SCROLL_DELAY);
|
|
382
|
+
}
|
|
383
|
+
}, SENDING_DELAY);
|
|
375
384
|
}
|
|
376
385
|
};
|
|
377
386
|
const renderFooter = () => {
|
|
@@ -383,7 +392,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
383
392
|
(0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 24 }, footerIconPropsRef.value),
|
|
384
393
|
(0, vue_1.h)(fluent_1.Attach16Filled, null))))
|
|
385
394
|
}),
|
|
386
|
-
(0, vue_1.h)(input_1.UInput, Object.assign({ ref: "inputRef", value: inputValue.value, placeholder:
|
|
395
|
+
(0, vue_1.h)(input_1.UInput, Object.assign({ ref: "inputRef", value: inputValue.value, placeholder: inputPlaceholderRef.value, class: `${mergedClsPrefixRef.value}-chat-main__input` }, footerInputPropsRef.value, { onUpdateValue: (value) => {
|
|
387
396
|
inputValue.value = value;
|
|
388
397
|
if (selectedChatRef.value) {
|
|
389
398
|
chatInputs.value[selectedChatRef.value.id] = value;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const vue_1 = require("vue");
|
|
4
|
-
const ionicons5_1 = require("@vicons/ionicons5");
|
|
5
|
-
const ionicons4_1 = require("@vicons/ionicons4");
|
|
6
4
|
const interface_1 = require("../interface");
|
|
5
|
+
const ChatGlobalState_1 = require("../ChatGlobalState");
|
|
7
6
|
const flex_1 = require("../../../flex");
|
|
8
7
|
const empty_1 = require("../../../empty");
|
|
9
8
|
const avatar_1 = require("../../../avatar");
|
|
@@ -11,11 +10,12 @@ const select_1 = require("../../../select");
|
|
|
11
10
|
const list_1 = require("../../../list");
|
|
12
11
|
const badge_1 = require("../../../badge");
|
|
13
12
|
const icon_1 = require("../../../icon");
|
|
13
|
+
const icons_1 = require("../../../_internal/icons");
|
|
14
14
|
const statusIconMapper = {
|
|
15
|
-
[interface_1.MessageStatus.READ]:
|
|
16
|
-
[interface_1.MessageStatus.PENDING]:
|
|
17
|
-
[interface_1.MessageStatus.RETRY]:
|
|
18
|
-
[interface_1.MessageStatus.UNREAD]:
|
|
15
|
+
[interface_1.MessageStatus.READ]: icons_1.CheckmarkDoneSharp,
|
|
16
|
+
[interface_1.MessageStatus.PENDING]: icons_1.MdTime,
|
|
17
|
+
[interface_1.MessageStatus.RETRY]: icons_1.Refresh,
|
|
18
|
+
[interface_1.MessageStatus.UNREAD]: icons_1.CheckmarkDoneSharp
|
|
19
19
|
};
|
|
20
20
|
exports.default = (0, vue_1.defineComponent)({
|
|
21
21
|
name: 'ChatSidebar',
|
|
@@ -25,7 +25,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
25
25
|
render() {
|
|
26
26
|
var _a, _b;
|
|
27
27
|
const { slots } = this;
|
|
28
|
-
const { mergedClsPrefixRef, chatItemsRef, chatItemsLoadingRef, listEmptyPropsRef, selectedChatIdRef, typingChatIdsRef, listItemAvatarPropsRef, listItemBadgePropsRef, handleChatSelect
|
|
28
|
+
const { mergedClsPrefixRef, chatItemsRef, chatItemsLoadingRef, chatItemsLoadingCountRef, listEmptyPropsRef, selectedChatIdRef, typingChatIdsRef, typingTextRef, listItemAvatarPropsRef, listItemBadgePropsRef, handleChatSelect
|
|
29
29
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
30
30
|
} = (0, vue_1.inject)(interface_1.chatInjectionKey);
|
|
31
31
|
const renderListHeader = () => {
|
|
@@ -67,23 +67,16 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
67
67
|
minWidth: 0,
|
|
68
68
|
maxWidth: '100%'
|
|
69
69
|
} }, isTyping
|
|
70
|
-
?
|
|
71
|
-
: typeof item.subtitle === '
|
|
72
|
-
? item.subtitle
|
|
73
|
-
: item.subtitle
|
|
70
|
+
? typingTextRef.value
|
|
71
|
+
: typeof item.subtitle === 'string'
|
|
72
|
+
? item.subtitle
|
|
73
|
+
: typeof item.subtitle === 'function'
|
|
74
|
+
? item.subtitle()
|
|
75
|
+
: item.subtitle)),
|
|
74
76
|
suffix: () => {
|
|
75
|
-
const getChatGlobalState = () =>
|
|
76
|
-
var _a;
|
|
77
|
-
if (typeof window === 'undefined') {
|
|
78
|
-
return { openedChats: new Set() };
|
|
79
|
-
}
|
|
80
|
-
if (!((_a = window.__chatGlobalState) === null || _a === void 0 ? void 0 : _a.openedChats)) {
|
|
81
|
-
return { openedChats: new Set() };
|
|
82
|
-
}
|
|
83
|
-
return window.__chatGlobalState;
|
|
84
|
-
};
|
|
77
|
+
const getChatGlobalState = () => ChatGlobalState_1.ChatGlobalState.getInstance();
|
|
85
78
|
const globalState = getChatGlobalState();
|
|
86
|
-
const wasOpened = globalState.
|
|
79
|
+
const wasOpened = globalState.isChatOpened(item.id);
|
|
87
80
|
const displayUnreadCount = wasOpened ? 0 : item.unreadCount || 0;
|
|
88
81
|
const hasUnreadIncoming = displayUnreadCount > 0;
|
|
89
82
|
const lastMessageIsOwn = item.lastMessageIsOwn;
|
|
@@ -102,6 +95,6 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
102
95
|
};
|
|
103
96
|
return ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-sidebar` },
|
|
104
97
|
renderListHeader(),
|
|
105
|
-
(0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-sidebar__content` }, chatItemsLoadingRef.value ? ((0, vue_1.h)(
|
|
98
|
+
(0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-sidebar__content` }, chatItemsLoadingRef.value ? ((0, vue_1.h)(list_1.UList, { loading: true }, Array.from({ length: chatItemsLoadingCountRef.value || 10 }).map((_, index) => ((0, vue_1.h)(list_1.UListItem, { key: index, avatar: { icon: icons_1.PersonOutline }, description: { text: 'Loading...' }, header: { text: 'Loading...' } }))))) : ((_a = chatItemsRef.value) === null || _a === void 0 ? void 0 : _a.length) ? ((0, vue_1.h)(list_1.UList, { showIcon: false }, (_b = chatItemsRef.value) === null || _b === void 0 ? void 0 : _b.map((item) => renderChatItem(item)))) : ((0, vue_1.h)(empty_1.UEmpty, Object.assign({}, listEmptyPropsRef.value))))));
|
|
106
99
|
}
|
|
107
100
|
});
|
|
@@ -147,7 +147,9 @@ export interface ChatProps {
|
|
|
147
147
|
typingText?: string;
|
|
148
148
|
closeButtonText?: string;
|
|
149
149
|
chatItemsLoading?: boolean;
|
|
150
|
+
chatItemsLoadingCount?: number;
|
|
150
151
|
messagesLoading?: boolean;
|
|
152
|
+
messagesLoadingCount?: number;
|
|
151
153
|
onChatSelect?: OnChatSelect;
|
|
152
154
|
onMessageSend?: OnMessageSend;
|
|
153
155
|
onMessageRetry?: (message: ChatMessageData) => void;
|
|
@@ -244,7 +246,9 @@ export declare const chatInjectionKey: InjectionKey<{
|
|
|
244
246
|
messagesRef: Ref<ChatMessageData[]>;
|
|
245
247
|
typingChatIdsRef: Ref<Array<string | number | symbol> | undefined>;
|
|
246
248
|
chatItemsLoadingRef: Ref<boolean | undefined>;
|
|
249
|
+
chatItemsLoadingCountRef: Ref<number | undefined>;
|
|
247
250
|
messagesLoadingRef: Ref<boolean | undefined>;
|
|
251
|
+
messagesLoadingCountRef: Ref<number | undefined>;
|
|
248
252
|
listEmptyPropsRef: Ref<Partial<EmptyProps> | undefined>;
|
|
249
253
|
listHeaderTitleRef: Ref<string | (() => VNodeChild) | undefined>;
|
|
250
254
|
listHeaderActionsRef: Ref<Array<() => VNodeChild> | undefined>;
|
|
@@ -261,9 +265,10 @@ export declare const chatInjectionKey: InjectionKey<{
|
|
|
261
265
|
footerUploadPropsRef: Ref<Partial<UploadProps> | undefined>;
|
|
262
266
|
footerUploadTriggerPropsRef: Ref<Record<string, any> | undefined>;
|
|
263
267
|
footerIconPropsRef: Ref<Partial<IconProps> | undefined>;
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
268
|
+
inputPlaceholderRef: Ref<string>;
|
|
269
|
+
retryTextRef: Ref<string>;
|
|
270
|
+
typingTextRef: Ref<string>;
|
|
271
|
+
closeButtonTextRef: Ref<string>;
|
|
267
272
|
handleChatSelect: (chatId: ChatId) => void;
|
|
268
273
|
handleMessageSend: (content: string, attachments?: ChatAttachment[]) => void;
|
|
269
274
|
handleMessageRetry: (message: ChatMessageData) => void;
|
|
@@ -251,6 +251,9 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
251
251
|
min-width: 300px;
|
|
252
252
|
height: 44px;
|
|
253
253
|
padding: 12px 16px;
|
|
254
|
+
`), (0, cssr_1.cM)('skeleton', `
|
|
255
|
+
min-width: 376px;
|
|
256
|
+
height: 44px;
|
|
254
257
|
`)]), (0, cssr_1.cE)('message-text', `
|
|
255
258
|
padding: 12px 16px;
|
|
256
259
|
`), (0, cssr_1.cE)('message-attachment', `
|
|
@@ -287,6 +290,10 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
287
290
|
justify-content: flex-end;
|
|
288
291
|
`), (0, cssr_1.cM)('other', `
|
|
289
292
|
justify-content: flex-start;
|
|
293
|
+
`), (0, cssr_1.cM)('skeleton', `
|
|
294
|
+
width: 36px;
|
|
295
|
+
height: 20px;
|
|
296
|
+
border-radius: 4px;
|
|
290
297
|
`)]), (0, cssr_1.cE)('message-time', `
|
|
291
298
|
font-size: 11px;
|
|
292
299
|
color: var(--u-message-time-color);
|
|
@@ -201,9 +201,7 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
|
|
|
201
201
|
clearColorPressed: string;
|
|
202
202
|
caretColorSecondary: string;
|
|
203
203
|
filterCounterTextColor: string;
|
|
204
|
-
filterCounterSeparatorColor: string;
|
|
205
204
|
filterCounterTextColorDisabled: string;
|
|
206
|
-
filterCounterSeparatorColorDisabled: string;
|
|
207
205
|
arrowColorSecondary: string;
|
|
208
206
|
clearColorSecondary: string;
|
|
209
207
|
colorSecondary: string;
|
|
@@ -239,9 +239,7 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
|
|
|
239
239
|
clearColorPressed: string;
|
|
240
240
|
caretColorSecondary: string;
|
|
241
241
|
filterCounterTextColor: string;
|
|
242
|
-
filterCounterSeparatorColor: string;
|
|
243
242
|
filterCounterTextColorDisabled: string;
|
|
244
|
-
filterCounterSeparatorColorDisabled: string;
|
|
245
243
|
arrowColorSecondary: string;
|
|
246
244
|
clearColorSecondary: string;
|
|
247
245
|
colorSecondary: string;
|
|
@@ -644,9 +644,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
644
644
|
clearColorPressed: string;
|
|
645
645
|
caretColorSecondary: string;
|
|
646
646
|
filterCounterTextColor: string;
|
|
647
|
-
filterCounterSeparatorColor: string;
|
|
648
647
|
filterCounterTextColorDisabled: string;
|
|
649
|
-
filterCounterSeparatorColorDisabled: string;
|
|
650
648
|
arrowColorSecondary: string;
|
|
651
649
|
clearColorSecondary: string;
|
|
652
650
|
colorSecondary: string;
|
|
@@ -1562,9 +1560,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1562
1560
|
clearColorPressed: string;
|
|
1563
1561
|
caretColorSecondary: string;
|
|
1564
1562
|
filterCounterTextColor: string;
|
|
1565
|
-
filterCounterSeparatorColor: string;
|
|
1566
1563
|
filterCounterTextColorDisabled: string;
|
|
1567
|
-
filterCounterSeparatorColorDisabled: string;
|
|
1568
1564
|
arrowColorSecondary: string;
|
|
1569
1565
|
clearColorSecondary: string;
|
|
1570
1566
|
colorSecondary: string;
|
|
@@ -2480,9 +2476,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2480
2476
|
clearColorPressed: string;
|
|
2481
2477
|
caretColorSecondary: string;
|
|
2482
2478
|
filterCounterTextColor: string;
|
|
2483
|
-
filterCounterSeparatorColor: string;
|
|
2484
2479
|
filterCounterTextColorDisabled: string;
|
|
2485
|
-
filterCounterSeparatorColorDisabled: string;
|
|
2486
2480
|
arrowColorSecondary: string;
|
|
2487
2481
|
clearColorSecondary: string;
|
|
2488
2482
|
colorSecondary: string;
|
|
@@ -3421,9 +3415,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3421
3415
|
clearColorPressed: string;
|
|
3422
3416
|
caretColorSecondary: string;
|
|
3423
3417
|
filterCounterTextColor: string;
|
|
3424
|
-
filterCounterSeparatorColor: string;
|
|
3425
3418
|
filterCounterTextColorDisabled: string;
|
|
3426
|
-
filterCounterSeparatorColorDisabled: string;
|
|
3427
3419
|
arrowColorSecondary: string;
|
|
3428
3420
|
clearColorSecondary: string;
|
|
3429
3421
|
colorSecondary: string;
|
|
@@ -3908,9 +3900,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3908
3900
|
clearColorPressed: string;
|
|
3909
3901
|
caretColorSecondary: string;
|
|
3910
3902
|
filterCounterTextColor: string;
|
|
3911
|
-
filterCounterSeparatorColor: string;
|
|
3912
3903
|
filterCounterTextColorDisabled: string;
|
|
3913
|
-
filterCounterSeparatorColorDisabled: string;
|
|
3914
3904
|
arrowColorSecondary: string;
|
|
3915
3905
|
clearColorSecondary: string;
|
|
3916
3906
|
colorSecondary: string;
|
|
@@ -4922,9 +4912,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4922
4912
|
clearColorPressed: string;
|
|
4923
4913
|
caretColorSecondary: string;
|
|
4924
4914
|
filterCounterTextColor: string;
|
|
4925
|
-
filterCounterSeparatorColor: string;
|
|
4926
4915
|
filterCounterTextColorDisabled: string;
|
|
4927
|
-
filterCounterSeparatorColorDisabled: string;
|
|
4928
4916
|
arrowColorSecondary: string;
|
|
4929
4917
|
clearColorSecondary: string;
|
|
4930
4918
|
colorSecondary: string;
|
|
@@ -5840,9 +5828,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5840
5828
|
clearColorPressed: string;
|
|
5841
5829
|
caretColorSecondary: string;
|
|
5842
5830
|
filterCounterTextColor: string;
|
|
5843
|
-
filterCounterSeparatorColor: string;
|
|
5844
5831
|
filterCounterTextColorDisabled: string;
|
|
5845
|
-
filterCounterSeparatorColorDisabled: string;
|
|
5846
5832
|
arrowColorSecondary: string;
|
|
5847
5833
|
clearColorSecondary: string;
|
|
5848
5834
|
colorSecondary: string;
|
|
@@ -6758,9 +6744,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6758
6744
|
clearColorPressed: string;
|
|
6759
6745
|
caretColorSecondary: string;
|
|
6760
6746
|
filterCounterTextColor: string;
|
|
6761
|
-
filterCounterSeparatorColor: string;
|
|
6762
6747
|
filterCounterTextColorDisabled: string;
|
|
6763
|
-
filterCounterSeparatorColorDisabled: string;
|
|
6764
6748
|
arrowColorSecondary: string;
|
|
6765
6749
|
clearColorSecondary: string;
|
|
6766
6750
|
colorSecondary: string;
|
|
@@ -546,9 +546,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
546
546
|
clearColorPressed: string;
|
|
547
547
|
caretColorSecondary: string;
|
|
548
548
|
filterCounterTextColor: string;
|
|
549
|
-
filterCounterSeparatorColor: string;
|
|
550
549
|
filterCounterTextColorDisabled: string;
|
|
551
|
-
filterCounterSeparatorColorDisabled: string;
|
|
552
550
|
arrowColorSecondary: string;
|
|
553
551
|
clearColorSecondary: string;
|
|
554
552
|
colorSecondary: string;
|
|
@@ -1033,9 +1031,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1033
1031
|
clearColorPressed: string;
|
|
1034
1032
|
caretColorSecondary: string;
|
|
1035
1033
|
filterCounterTextColor: string;
|
|
1036
|
-
filterCounterSeparatorColor: string;
|
|
1037
1034
|
filterCounterTextColorDisabled: string;
|
|
1038
|
-
filterCounterSeparatorColorDisabled: string;
|
|
1039
1035
|
arrowColorSecondary: string;
|
|
1040
1036
|
clearColorSecondary: string;
|
|
1041
1037
|
colorSecondary: string;
|