@uzum-tech/ui 1.8.0 → 1.8.2
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 +378 -197
- package/dist/index.prod.js +3 -3
- package/es/_internal/scrollbar/src/Scrollbar.js +1 -1
- package/es/button/src/Button.d.ts +72 -0
- package/es/button/src/Button.js +13 -7
- package/es/button/src/styles/index.cssr.js +1 -2
- package/es/button/styles/light.d.ts +8 -0
- package/es/button/styles/light.js +7 -7
- package/es/calendar/src/Calendar.d.ts +80 -0
- package/es/calendar/styles/light.d.ts +8 -0
- package/es/chat/index.d.ts +2 -1
- package/es/chat/index.js +1 -0
- package/es/chat/src/Chat.d.ts +87 -7
- package/es/chat/src/Chat.js +12 -12
- package/es/chat/src/ChatListItems.d.ts +1847 -4
- package/es/chat/src/ChatListItems.js +16 -12
- package/es/chat/src/ChatMessages.d.ts +1848 -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 +14 -17
- package/es/chat/styles/dark.d.ts +8 -0
- package/es/chat/styles/light.d.ts +9 -1
- package/es/chat/styles/light.js +15 -3
- package/es/color-picker/src/ColorInputUnit.d.ts +8 -0
- package/es/color-picker/src/ColorPicker.d.ts +72 -0
- package/es/color-picker/styles/light.d.ts +8 -0
- package/es/data-table/src/DataTable.d.ts +56 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +8 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +8 -0
- package/es/data-table/src/TableParts/Body.d.ts +8 -0
- package/es/data-table/src/TableParts/Header.d.ts +8 -0
- package/es/data-table/src/interface.d.ts +24 -0
- package/es/data-table/styles/light.d.ts +8 -0
- package/es/date-picker/src/DatePicker.d.ts +168 -0
- package/es/date-picker/src/panel/date.d.ts +24 -0
- package/es/date-picker/src/panel/daterange.d.ts +24 -0
- package/es/date-picker/src/panel/datetime.d.ts +24 -0
- package/es/date-picker/src/panel/datetimerange.d.ts +24 -0
- package/es/date-picker/src/panel/panelMonth.d.ts +48 -0
- package/es/date-picker/src/panel/panelMonthContent.d.ts +24 -0
- package/es/date-picker/src/panel/panelYear.d.ts +48 -0
- package/es/date-picker/src/panel/panelYearContent.d.ts +24 -0
- package/es/date-picker/src/panel/use-calendar.d.ts +24 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +24 -0
- package/es/date-picker/styles/light.d.ts +16 -0
- package/es/dialog/src/Dialog.d.ts +56 -0
- package/es/dialog/src/DialogProvider.d.ts +16 -0
- package/es/dialog/styles/light.d.ts +8 -0
- package/es/dynamic-input/src/DynamicInput.d.ts +80 -0
- package/es/dynamic-input/src/InputPreset.d.ts +8 -0
- package/es/dynamic-input/src/PairPreset.d.ts +8 -0
- package/es/dynamic-input/styles/light.d.ts +8 -0
- package/es/dynamic-tags/src/DynamicTags.d.ts +80 -0
- package/es/dynamic-tags/styles/light.d.ts +8 -0
- package/es/input-number/src/InputNumber.d.ts +80 -0
- package/es/input-number/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 +8 -0
- package/es/legacy-transfer/src/TransferListItem.d.ts +8 -0
- package/es/legacy-transfer/styles/light.d.ts +8 -0
- package/es/modal/src/BodyWrapper.d.ts +16 -0
- package/es/modal/src/Modal.d.ts +72 -0
- package/es/modal/styles/light.d.ts +8 -0
- package/es/notification/src/Notification.d.ts +5 -0
- package/es/notification/src/Notification.js +16 -6
- package/es/notification/src/NotificationContainer.d.ts +12 -0
- package/es/notification/src/NotificationProvider.d.ts +108 -0
- package/es/notification/src/styles/index.cssr.js +12 -8
- package/es/notification/styles/light.d.ts +24 -0
- package/es/notification/styles/light.js +9 -8
- package/es/popconfirm/src/Popconfirm.d.ts +80 -0
- package/es/popconfirm/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 +8 -0
- package/es/transfer/src/TransferListItem.d.ts +8 -0
- package/es/transfer/styles/light.d.ts +8 -0
- package/es/upload/src/Upload.d.ts +90 -0
- package/es/upload/src/Upload.js +2 -1
- package/es/upload/src/UploadFile.d.ts +9 -0
- package/es/upload/src/UploadProgress.d.ts +9 -0
- package/es/upload/src/styles/index.cssr.js +1 -0
- package/es/upload/src/useUploadActionsRender.js +5 -1
- package/es/upload/styles/light.d.ts +10 -0
- package/es/upload/styles/light.js +6 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.js +1 -1
- package/lib/button/src/Button.d.ts +72 -0
- package/lib/button/src/Button.js +13 -7
- package/lib/button/src/styles/index.cssr.js +1 -2
- package/lib/button/styles/light.d.ts +8 -0
- package/lib/button/styles/light.js +7 -7
- package/lib/calendar/src/Calendar.d.ts +80 -0
- package/lib/calendar/styles/light.d.ts +8 -0
- package/lib/chat/index.d.ts +2 -1
- package/lib/chat/index.js +5 -1
- package/lib/chat/src/Chat.d.ts +87 -7
- package/lib/chat/src/Chat.js +12 -12
- package/lib/chat/src/ChatListItems.d.ts +1847 -4
- package/lib/chat/src/ChatListItems.js +14 -10
- package/lib/chat/src/ChatMessages.d.ts +1848 -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 +14 -17
- package/lib/chat/styles/dark.d.ts +8 -0
- package/lib/chat/styles/light.d.ts +9 -1
- package/lib/chat/styles/light.js +15 -3
- package/lib/color-picker/src/ColorInputUnit.d.ts +8 -0
- package/lib/color-picker/src/ColorPicker.d.ts +72 -0
- package/lib/color-picker/styles/light.d.ts +8 -0
- package/lib/data-table/src/DataTable.d.ts +56 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +8 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +8 -0
- package/lib/data-table/src/TableParts/Body.d.ts +8 -0
- package/lib/data-table/src/TableParts/Header.d.ts +8 -0
- package/lib/data-table/src/interface.d.ts +24 -0
- package/lib/data-table/styles/light.d.ts +8 -0
- package/lib/date-picker/src/DatePicker.d.ts +168 -0
- package/lib/date-picker/src/panel/date.d.ts +24 -0
- package/lib/date-picker/src/panel/daterange.d.ts +24 -0
- package/lib/date-picker/src/panel/datetime.d.ts +24 -0
- package/lib/date-picker/src/panel/datetimerange.d.ts +24 -0
- package/lib/date-picker/src/panel/panelMonth.d.ts +48 -0
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +24 -0
- package/lib/date-picker/src/panel/panelYear.d.ts +48 -0
- package/lib/date-picker/src/panel/panelYearContent.d.ts +24 -0
- package/lib/date-picker/src/panel/use-calendar.d.ts +24 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +24 -0
- package/lib/date-picker/styles/light.d.ts +16 -0
- package/lib/dialog/src/Dialog.d.ts +56 -0
- package/lib/dialog/src/DialogProvider.d.ts +16 -0
- package/lib/dialog/styles/light.d.ts +8 -0
- package/lib/dynamic-input/src/DynamicInput.d.ts +80 -0
- package/lib/dynamic-input/src/InputPreset.d.ts +8 -0
- package/lib/dynamic-input/src/PairPreset.d.ts +8 -0
- package/lib/dynamic-input/styles/light.d.ts +8 -0
- package/lib/dynamic-tags/src/DynamicTags.d.ts +80 -0
- package/lib/dynamic-tags/styles/light.d.ts +8 -0
- package/lib/input-number/src/InputNumber.d.ts +80 -0
- package/lib/input-number/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 +8 -0
- package/lib/legacy-transfer/src/TransferListItem.d.ts +8 -0
- package/lib/legacy-transfer/styles/light.d.ts +8 -0
- package/lib/modal/src/BodyWrapper.d.ts +16 -0
- package/lib/modal/src/Modal.d.ts +72 -0
- package/lib/modal/styles/light.d.ts +8 -0
- package/lib/notification/src/Notification.d.ts +5 -0
- package/lib/notification/src/Notification.js +14 -4
- package/lib/notification/src/NotificationContainer.d.ts +12 -0
- package/lib/notification/src/NotificationProvider.d.ts +108 -0
- package/lib/notification/src/styles/index.cssr.js +12 -8
- package/lib/notification/styles/light.d.ts +24 -0
- package/lib/notification/styles/light.js +9 -8
- package/lib/popconfirm/src/Popconfirm.d.ts +80 -0
- package/lib/popconfirm/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 +8 -0
- package/lib/transfer/src/TransferListItem.d.ts +8 -0
- package/lib/transfer/styles/light.d.ts +8 -0
- package/lib/upload/src/Upload.d.ts +90 -0
- package/lib/upload/src/Upload.js +2 -1
- package/lib/upload/src/UploadFile.d.ts +9 -0
- package/lib/upload/src/UploadProgress.d.ts +9 -0
- package/lib/upload/src/styles/index.cssr.js +1 -0
- package/lib/upload/src/useUploadActionsRender.js +5 -1
- package/lib/upload/styles/light.d.ts +10 -0
- package/lib/upload/styles/light.js +6 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +4 -4
|
@@ -59,10 +59,11 @@ exports.chatMessagesProps = Object.assign(Object.assign({}, _mixins_1.useTheme.p
|
|
|
59
59
|
exports.default = (0, vue_1.defineComponent)({
|
|
60
60
|
name: 'ChatMessages',
|
|
61
61
|
props: exports.chatMessagesProps,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
setup(props, { slots }) {
|
|
63
|
+
var _a;
|
|
64
|
+
const UChat = (0, vue_1.inject)(interface_1.chatInjectionKey, null);
|
|
64
65
|
const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
|
|
65
|
-
const themeRef = (0, _mixins_1.useTheme)('Chat', '-chat', index_cssr_1.default, styles_1.chatLight, props, mergedClsPrefixRef);
|
|
66
|
+
const themeRef = (_a = UChat === null || UChat === void 0 ? void 0 : UChat.mergedThemeRef) !== null && _a !== void 0 ? _a : (0, _mixins_1.useTheme)('Chat', '-chat', index_cssr_1.default, styles_1.chatLight, props, mergedClsPrefixRef);
|
|
66
67
|
const { localeRef } = (0, _mixins_1.useLocale)('Chat');
|
|
67
68
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
68
69
|
const { common: { cubicBezierEaseInOut, brandPrimary500, staticGreen, staticRed, textPrimary, textSecondary, textTertiary }, self: { backgroundColor, borderColor, mainBackgroundColor, headerBackgroundColor, headerBorderColor, headerTitleColor, messageBubbleBackgroundColorOwn, messageBubbleBackgroundColorOther, messageBubbleTextColorOwn, messageBubbleTextColorOther, messageTimeColor, messageStatusColor, attachmentBackgroundColorOwn, attachmentBackgroundColorOther, unreadNotificationBackgroundColor, unreadNotificationTextColor, typingIndicatorColor, dateSeparatorColor, dateSeparatorBackgroundColor, borderRadius, errorColor } } = themeRef.value;
|
|
@@ -107,7 +108,6 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
107
108
|
});
|
|
108
109
|
const handleMessageRetry = (message) => {
|
|
109
110
|
var _a;
|
|
110
|
-
emit('message-retry', message);
|
|
111
111
|
(_a = props.onMessageRetry) === null || _a === void 0 ? void 0 : _a.call(props, message);
|
|
112
112
|
};
|
|
113
113
|
const renderDateSeparator = (date) => {
|
|
@@ -123,6 +123,17 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
123
123
|
" ",
|
|
124
124
|
mergedUnreadNotificationTextRef.value)));
|
|
125
125
|
};
|
|
126
|
+
const renderMarkMessage = (message) => {
|
|
127
|
+
const markTypeClass = message.markType === interface_1.ChatMarkType.SYSTEM
|
|
128
|
+
? 'system'
|
|
129
|
+
: message.markType === interface_1.ChatMarkType.EVENT
|
|
130
|
+
? 'event'
|
|
131
|
+
: 'divider';
|
|
132
|
+
return ((0, vue_1.h)("div", { key: message.id, class: [
|
|
133
|
+
`${mergedClsPrefixRef.value}-chat-main__mark`,
|
|
134
|
+
`${mergedClsPrefixRef.value}-chat-main__mark--${markTypeClass}`
|
|
135
|
+
] }, message.content && (0, vue_1.h)("span", null, message.content)));
|
|
136
|
+
};
|
|
126
137
|
const renderMessage = (message) => {
|
|
127
138
|
const isOwn = message.isOwn;
|
|
128
139
|
const attachments = message.attachment
|
|
@@ -163,7 +174,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
163
174
|
] }, message.status === interface_1.MessageStatus.RETRY ? ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__message-retry`, onClick: () => {
|
|
164
175
|
handleMessageRetry(message);
|
|
165
176
|
}, style: { cursor: 'pointer' } },
|
|
166
|
-
(0, vue_1.h)(icon_1.UIcon, { size: 16, component: statusIconMapper[interface_1.MessageStatus.RETRY], class: `${mergedClsPrefixRef.value}-chat-main__message-retry-icon
|
|
177
|
+
(0, vue_1.h)(icon_1.UIcon, { size: 16, component: statusIconMapper[interface_1.MessageStatus.RETRY], class: `${mergedClsPrefixRef.value}-chat-main__message-retry-icon`, theme: themeRef.value.peers.Icon, themeOverrides: themeRef.value.peerOverrides.Icon }),
|
|
167
178
|
(0, vue_1.h)("span", { class: `${mergedClsPrefixRef.value}-chat-main__message-retry-text` }, mergedRetryTextRef.value))) : ((0, vue_1.h)(vue_1.Fragment, null,
|
|
168
179
|
(0, vue_1.h)("span", { class: `${mergedClsPrefixRef.value}-chat-main__message-time` }, message.timestamp),
|
|
169
180
|
isOwn && message.status && ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__message-status` }, slots.messageStatus
|
|
@@ -171,7 +182,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
171
182
|
: statusIconMapper[message.status] && ((0, vue_1.h)(icon_1.UIcon, { size: 16, component: statusIconMapper[message.status], class: [
|
|
172
183
|
`${mergedClsPrefixRef.value}-chat-main__message-status-icon`,
|
|
173
184
|
`${mergedClsPrefixRef.value}-chat-main__message-status-icon--${String(message.status)}`
|
|
174
|
-
] }))))))))));
|
|
185
|
+
], theme: themeRef.value.peers.Icon, themeOverrides: themeRef.value.peerOverrides.Icon }))))))))));
|
|
175
186
|
};
|
|
176
187
|
const renderTypingIndicator = () => {
|
|
177
188
|
return ((0, vue_1.h)("div", { class: [
|
|
@@ -216,7 +227,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
216
227
|
};
|
|
217
228
|
return {
|
|
218
229
|
mergedClsPrefixRef,
|
|
230
|
+
mergedTheme: themeRef,
|
|
219
231
|
renderMessage,
|
|
232
|
+
renderMarkMessage,
|
|
220
233
|
renderTypingIndicator,
|
|
221
234
|
renderSkeletonMessage,
|
|
222
235
|
renderDateSeparator,
|
|
@@ -229,7 +242,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
229
242
|
render() {
|
|
230
243
|
var _a, _b, _c;
|
|
231
244
|
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
232
|
-
const { mergedClsPrefixRef, renderMessage, renderTypingIndicator, renderSkeletonMessage, renderDateSeparator, renderUnreadNotification } = this;
|
|
245
|
+
const { mergedClsPrefixRef, renderMessage, renderMarkMessage, renderTypingIndicator, renderSkeletonMessage, renderDateSeparator, renderUnreadNotification } = this;
|
|
233
246
|
if (this.loading) {
|
|
234
247
|
return ((0, vue_1.h)("div", { class: [`${mergedClsPrefixRef}-chat`, this.themeClass], style: this.cssVars },
|
|
235
248
|
(0, vue_1.h)("div", { class: `${mergedClsPrefixRef}-chat-main`, style: {
|
|
@@ -307,7 +320,11 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
307
320
|
if (item.type === 'unread-notification') {
|
|
308
321
|
return renderUnreadNotification();
|
|
309
322
|
}
|
|
310
|
-
|
|
323
|
+
const message = item;
|
|
324
|
+
if (message.type === interface_1.ChatMessageType.MARK) {
|
|
325
|
+
return renderMarkMessage(message);
|
|
326
|
+
}
|
|
327
|
+
return renderMessage(message);
|
|
311
328
|
}),
|
|
312
329
|
isTyping && renderTypingIndicator()))));
|
|
313
330
|
}
|
|
@@ -29,7 +29,7 @@ const SENDING_DELAY = 100;
|
|
|
29
29
|
exports.default = (0, vue_1.defineComponent)({
|
|
30
30
|
name: 'ChatMainArea',
|
|
31
31
|
setup(_, { slots }) {
|
|
32
|
-
const { mergedClsPrefixRef, selectedChatRef, messagesRef, typingChatIdsRef, messagesLoadingRef, messagesLoadingCountRef, headerButtonPropsRef, headerIconPropsRef, messageUploadPropsRef, footerInputPropsRef, footerButtonPropsRef, footerUploadPropsRef, footerIconPropsRef, inputPlaceholderRef, retryTextRef, typingTextRef, closeButtonTextRef, unreadNotificationTextRef, notificationsShownSetRef, unreadCountsBeforeReadRef, markNotificationShown, handleMessageSend, handleMessageRetry, onChatClose, onChatShare, onUserProfile
|
|
32
|
+
const { mergedClsPrefixRef, mergedThemeRef, selectedChatRef, messagesRef, typingChatIdsRef, messagesLoadingRef, messagesLoadingCountRef, headerButtonPropsRef, headerIconPropsRef, messageUploadPropsRef, footerInputPropsRef, footerButtonPropsRef, footerUploadPropsRef, footerIconPropsRef, inputPlaceholderRef, retryTextRef, typingTextRef, closeButtonTextRef, unreadNotificationTextRef, notificationsShownSetRef, unreadCountsBeforeReadRef, markNotificationShown, handleMessageSend, handleMessageRetry, onChatClose, onChatShare, onUserProfile
|
|
33
33
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
34
34
|
} = (0, vue_1.inject)(interface_1.chatInjectionKey);
|
|
35
35
|
const messagesBodyRef = (0, vue_1.ref)();
|
|
@@ -136,22 +136,22 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
136
136
|
return ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__header` },
|
|
137
137
|
(0, vue_1.h)(flex_1.UFlex, { justify: "space-between", align: "flex-start" }, {
|
|
138
138
|
default: () => ((0, vue_1.h)(vue_1.Fragment, null,
|
|
139
|
-
(0, vue_1.h)(typography_1.UText, { variant: "heading-s-bold", class: `${mergedClsPrefixRef.value}-chat-main__header-title
|
|
139
|
+
(0, vue_1.h)(typography_1.UText, { variant: "heading-s-bold", class: `${mergedClsPrefixRef.value}-chat-main__header-title`, theme: mergedThemeRef.value.peers.Typography, themeOverrides: mergedThemeRef.value.peerOverrides.Typography }, {
|
|
140
140
|
default: () => { var _a; return ((_a = selectedChatRef.value) === null || _a === void 0 ? void 0 : _a.title) || 'Select a chat'; }
|
|
141
141
|
}),
|
|
142
142
|
(0, vue_1.h)(flex_1.UFlex, { align: "center", size: "small", class: `${mergedClsPrefixRef.value}-chat-main__header-actions` }, {
|
|
143
143
|
default: () => (0, _utils_1.resolveSlot)(slots.headerActions, () => [
|
|
144
|
-
(0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true, circle: true, size: "large" }, headerButtonPropsRef.value, { onClick: () => { var _a; return (_a = onChatShare === null || onChatShare === void 0 ? void 0 : onChatShare.value) === null || _a === void 0 ? void 0 : _a.call(onChatShare); } }), {
|
|
145
|
-
default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 20 }, headerIconPropsRef.value), {
|
|
144
|
+
(0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true, circle: true, size: "large" }, headerButtonPropsRef.value, { theme: mergedThemeRef.value.peers.Button, themeOverrides: mergedThemeRef.value.peerOverrides.Button, onClick: () => { var _a; return (_a = onChatShare === null || onChatShare === void 0 ? void 0 : onChatShare.value) === null || _a === void 0 ? void 0 : _a.call(onChatShare); } }), {
|
|
145
|
+
default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 20 }, headerIconPropsRef.value, { theme: mergedThemeRef.value.peers.Icon, themeOverrides: mergedThemeRef.value.peerOverrides.Icon }), {
|
|
146
146
|
default: () => (0, vue_1.h)(icons_1.ArrowHookUpRight, null)
|
|
147
147
|
}))
|
|
148
148
|
}),
|
|
149
|
-
(0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true, circle: true, size: "large" }, headerButtonPropsRef.value, { onClick: () => { var _a; return (_a = onUserProfile === null || onUserProfile === void 0 ? void 0 : onUserProfile.value) === null || _a === void 0 ? void 0 : _a.call(onUserProfile); } }), {
|
|
150
|
-
default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 20 }, headerIconPropsRef.value), {
|
|
149
|
+
(0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true, circle: true, size: "large" }, headerButtonPropsRef.value, { theme: mergedThemeRef.value.peers.Button, themeOverrides: mergedThemeRef.value.peerOverrides.Button, onClick: () => { var _a; return (_a = onUserProfile === null || onUserProfile === void 0 ? void 0 : onUserProfile.value) === null || _a === void 0 ? void 0 : _a.call(onUserProfile); } }), {
|
|
150
|
+
default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 20 }, headerIconPropsRef.value, { theme: mergedThemeRef.value.peers.Icon, themeOverrides: mergedThemeRef.value.peerOverrides.Icon }), {
|
|
151
151
|
default: () => (0, vue_1.h)(icons_1.PersonNote, null)
|
|
152
152
|
}))
|
|
153
153
|
}),
|
|
154
|
-
(0, vue_1.h)(button_1.UButton, Object.assign({ type: "primary", size: "large", round: true }, headerButtonPropsRef.value, { onClick: () => { var _a; return (_a = onChatClose === null || onChatClose === void 0 ? void 0 : onChatClose.value) === null || _a === void 0 ? void 0 : _a.call(onChatClose); } }), {
|
|
154
|
+
(0, vue_1.h)(button_1.UButton, Object.assign({ type: "primary", size: "large", round: true }, headerButtonPropsRef.value, { theme: mergedThemeRef.value.peers.Button, themeOverrides: mergedThemeRef.value.peerOverrides.Button, onClick: () => { var _a; return (_a = onChatClose === null || onChatClose === void 0 ? void 0 : onChatClose.value) === null || _a === void 0 ? void 0 : _a.call(onChatClose); } }), {
|
|
155
155
|
default: () => closeButtonTextRef.value
|
|
156
156
|
})
|
|
157
157
|
])
|
|
@@ -262,13 +262,13 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
262
262
|
default: () => ((0, vue_1.h)(flex_1.UFlex, { align: "center", size: "small", class: `${mergedClsPrefixRef.value}-chat-main__input-container` }, {
|
|
263
263
|
default: () => ((0, vue_1.h)(vue_1.Fragment, null,
|
|
264
264
|
(0, vue_1.h)(upload_1.UUploadTrigger, { abstract: true }, {
|
|
265
|
-
default: ({ handleClick }) => ((0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true, size: "large", class: `${mergedClsPrefixRef.value}-chat-main__attach-btn` }, footerButtonPropsRef.value, { onClick: handleClick }), {
|
|
266
|
-
default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 24 }, footerIconPropsRef.value), {
|
|
265
|
+
default: ({ handleClick }) => ((0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true, size: "large", class: `${mergedClsPrefixRef.value}-chat-main__attach-btn` }, footerButtonPropsRef.value, { theme: mergedThemeRef.value.peers.Button, themeOverrides: mergedThemeRef.value.peerOverrides.Button, onClick: handleClick }), {
|
|
266
|
+
default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 24 }, footerIconPropsRef.value, { theme: mergedThemeRef.value.peers.Icon, themeOverrides: mergedThemeRef.value.peerOverrides.Icon }), {
|
|
267
267
|
default: () => (0, vue_1.h)(icons_1.AttachIcon, null)
|
|
268
268
|
}))
|
|
269
269
|
}))
|
|
270
270
|
}),
|
|
271
|
-
(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) => {
|
|
271
|
+
(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, { theme: mergedThemeRef.value.peers.Input, themeOverrides: mergedThemeRef.value.peerOverrides.Input, onUpdateValue: (value) => {
|
|
272
272
|
inputValue.value = value;
|
|
273
273
|
if (selectedChatRef.value) {
|
|
274
274
|
chatInputs.value[selectedChatRef.value.id] = value;
|
|
@@ -15,7 +15,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
15
15
|
},
|
|
16
16
|
render() {
|
|
17
17
|
const { slots } = this;
|
|
18
|
-
const { mergedClsPrefixRef, chatItemsRef, chatItemsLoadingRef, chatItemsLoadingCountRef, listEmptyPropsRef, selectedChatIdRef, typingChatIdsRef, typingTextRef, listItemAvatarPropsRef, listItemBadgePropsRef, notificationsShownSetRef, handleChatSelect
|
|
18
|
+
const { mergedClsPrefixRef, mergedThemeRef, chatItemsRef, chatItemsLoadingRef, chatItemsLoadingCountRef, listEmptyPropsRef, selectedChatIdRef, typingChatIdsRef, typingTextRef, listItemAvatarPropsRef, listItemBadgePropsRef, notificationsShownSetRef, handleChatSelect
|
|
19
19
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
20
20
|
} = (0, vue_1.inject)(interface_1.chatInjectionKey);
|
|
21
21
|
const renderListHeader = () => {
|
|
@@ -24,7 +24,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
24
24
|
default: () => {
|
|
25
25
|
var _a, _b;
|
|
26
26
|
return ((0, vue_1.h)(vue_1.Fragment, null,
|
|
27
|
-
(0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-sidebar__header-main` }, ((_a = slots.sidebarHeaderMain) === null || _a === void 0 ? void 0 : _a.call(slots)) || ((0, vue_1.h)(select_1.USelect, { round: true, size: "
|
|
27
|
+
(0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-sidebar__header-main` }, ((_a = slots.sidebarHeaderMain) === null || _a === void 0 ? void 0 : _a.call(slots)) || ((0, vue_1.h)(select_1.USelect, { round: true, size: "tiny", theme: mergedThemeRef.value.peers.Select, themeOverrides: mergedThemeRef.value.peerOverrides.Select }))),
|
|
28
28
|
(0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-sidebar__header-actions` }, (_b = slots.sidebarHeaderActions) === null || _b === void 0 ? void 0 : _b.call(slots))));
|
|
29
29
|
}
|
|
30
30
|
})));
|
|
@@ -6,6 +6,8 @@ import type { IconProps } from '../../icon';
|
|
|
6
6
|
import type { BadgeProps } from '../../badge';
|
|
7
7
|
import { EmptyProps } from '../../empty';
|
|
8
8
|
import { InputProps } from '../../input';
|
|
9
|
+
import type { ChatTheme } from '../styles';
|
|
10
|
+
import type { MergedTheme } from '../../_mixins';
|
|
9
11
|
export declare enum MessageStatus {
|
|
10
12
|
READ = "read",
|
|
11
13
|
UNREAD = "unread",
|
|
@@ -69,6 +71,7 @@ export interface ChatMessageData {
|
|
|
69
71
|
uploadProps?: Partial<UploadProps>;
|
|
70
72
|
senderAvatar?: string | (() => VNodeChild);
|
|
71
73
|
senderName?: string | (() => VNodeChild);
|
|
74
|
+
markType?: ChatMarkType;
|
|
72
75
|
}
|
|
73
76
|
export interface ChatMessageProps {
|
|
74
77
|
id: ChatId;
|
|
@@ -241,6 +244,7 @@ export interface ChatListInst {
|
|
|
241
244
|
}
|
|
242
245
|
export declare const chatInjectionKey: InjectionKey<{
|
|
243
246
|
mergedClsPrefixRef: Ref<string>;
|
|
247
|
+
mergedThemeRef: Ref<MergedTheme<ChatTheme>>;
|
|
244
248
|
chatItemsRef: Ref<ChatListItemData[] | undefined>;
|
|
245
249
|
selectedChatIdRef: Ref<ChatId | undefined>;
|
|
246
250
|
selectedChatRef: Ref<ChatListItemData | undefined>;
|
|
@@ -6,10 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
const cssr_1 = require("../../../_utils/cssr");
|
|
7
7
|
exports.default = (0, cssr_1.cB)('chat', `
|
|
8
8
|
height: 100%;
|
|
9
|
-
|
|
10
|
-
min-height: 0;
|
|
11
|
-
display: flex;
|
|
12
|
-
overflow: hidden;
|
|
9
|
+
background-color: transparent;
|
|
13
10
|
box-sizing: border-box;
|
|
14
11
|
.u-list-item__text {
|
|
15
12
|
grid-template-columns: 1fr !important;
|
|
@@ -18,7 +15,6 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
18
15
|
height: 100%;
|
|
19
16
|
max-height: 100%;
|
|
20
17
|
min-height: 0;
|
|
21
|
-
overflow: hidden;
|
|
22
18
|
}
|
|
23
19
|
`, [(0, cssr_1.cB)('chat-sidebar', `
|
|
24
20
|
max-width: 388px;
|
|
@@ -29,7 +25,6 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
29
25
|
background-color: var(--u-sidebar-background-color);
|
|
30
26
|
border: 1px solid var(--u-sidebar-border-color);
|
|
31
27
|
border-radius: 20px;
|
|
32
|
-
overflow: hidden;
|
|
33
28
|
`, [(0, cssr_1.cE)('header', `
|
|
34
29
|
flex-shrink: 0;
|
|
35
30
|
`), (0, cssr_1.cE)('header-container', `
|
|
@@ -143,7 +138,6 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
143
138
|
`), (0, cssr_1.cE)('item-status sup', `
|
|
144
139
|
padding: 2px 6px 2px 5px;
|
|
145
140
|
height: 22px;
|
|
146
|
-
--u-color: var(--u-unread-notification-background-color);
|
|
147
141
|
`), (0, cssr_1.cE)('item-status-icon', `
|
|
148
142
|
color: var(--u-sidebar-item-time-color);
|
|
149
143
|
`, [(0, cssr_1.cM)('read', `
|
|
@@ -165,7 +159,6 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
165
159
|
height: 100%;
|
|
166
160
|
max-height: 100%;
|
|
167
161
|
min-height: 0;
|
|
168
|
-
overflow: hidden;
|
|
169
162
|
`, [(0, cssr_1.cE)('header', `
|
|
170
163
|
border-bottom: 1px solid var(--u-border-color);
|
|
171
164
|
width: 100%;
|
|
@@ -181,7 +174,7 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
181
174
|
color: var(--u-unread-notification-text-color);
|
|
182
175
|
padding: 6px 12px;
|
|
183
176
|
text-align: center;
|
|
184
|
-
font-size:
|
|
177
|
+
font-size: 14px;
|
|
185
178
|
font-weight: 500;
|
|
186
179
|
margin: 8px 0;
|
|
187
180
|
display: flex;
|
|
@@ -215,8 +208,19 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
215
208
|
color: var(--u-date-separator-color);
|
|
216
209
|
padding: 4px 12px;
|
|
217
210
|
border-radius: 12px;
|
|
218
|
-
font-size:
|
|
211
|
+
font-size: 14px;
|
|
219
212
|
font-weight: 500;
|
|
213
|
+
`)]), (0, cssr_1.cE)('mark', `
|
|
214
|
+
display: flex;
|
|
215
|
+
justify-content: center;
|
|
216
|
+
margin: 12px 0;
|
|
217
|
+
width: 100%;
|
|
218
|
+
`, [(0, cssr_1.c)('span', `
|
|
219
|
+
padding: 6px 12px;
|
|
220
|
+
border-radius: 8px;
|
|
221
|
+
color: var(--u-text-color-secondary);
|
|
222
|
+
background-color: var(--u-date-separator-background-color);
|
|
223
|
+
text-align: center;
|
|
220
224
|
`)]), (0, cssr_1.cE)('message', `
|
|
221
225
|
display: flex;
|
|
222
226
|
margin-bottom: 8px;
|
|
@@ -332,13 +336,6 @@ exports.default = (0, cssr_1.cB)('chat', `
|
|
|
332
336
|
`), (0, cssr_1.cE)('input', `
|
|
333
337
|
flex: 1;
|
|
334
338
|
margin-right: 4px;
|
|
335
|
-
--u-color: #F3F4F6 !important;
|
|
336
|
-
--u-color-focus: #F3F4F6 !important;
|
|
337
|
-
--u-border: none !important;
|
|
338
|
-
--u-border-focus: none !important;
|
|
339
|
-
--u-border-hover: none !important;
|
|
340
|
-
--u-box-shadow: none !important;
|
|
341
|
-
--u-box-shadow-focus: none !important;
|
|
342
339
|
`), (0, cssr_1.cE)('attach-btn', `
|
|
343
340
|
margin-left: 4px;
|
|
344
341
|
flex-shrink: 0;
|
|
@@ -353,16 +353,24 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
|
|
|
353
353
|
colorSecondary: string;
|
|
354
354
|
colorSecondaryHover: string;
|
|
355
355
|
colorSecondaryPressed: string;
|
|
356
|
+
colorSecondaryFocus: string;
|
|
357
|
+
colorSecondaryDisabled: string;
|
|
358
|
+
textColorSecondaryDisabled: string;
|
|
356
359
|
waveColorSecondary: string;
|
|
357
360
|
colorTertiary: string;
|
|
358
361
|
colorTertiaryHover: string;
|
|
359
362
|
colorTertiaryPressed: string;
|
|
363
|
+
colorTertiaryFocus: string;
|
|
360
364
|
colorTertiaryDisalbed: string;
|
|
361
365
|
waveColorTertiary: string;
|
|
362
366
|
textColorTextTertiary: string;
|
|
367
|
+
rippleColorTertiary: string;
|
|
363
368
|
colorQuaternary: string;
|
|
364
369
|
colorQuaternaryHover: string;
|
|
365
370
|
colorQuaternaryPressed: string;
|
|
371
|
+
colorQuaternaryFocus: string;
|
|
372
|
+
rippleColorQuaternary: string;
|
|
373
|
+
waveColorQuaternary: string;
|
|
366
374
|
color: string;
|
|
367
375
|
colorHover: string;
|
|
368
376
|
colorPressed: string;
|
|
@@ -35,7 +35,6 @@ export declare const self: (vars: ThemeCommonVars) => {
|
|
|
35
35
|
borderRadius: string;
|
|
36
36
|
errorColor: string;
|
|
37
37
|
};
|
|
38
|
-
export type ChatThemeVars = ReturnType<typeof self>;
|
|
39
38
|
declare const chatLight: import("../../_mixins").Theme<"Chat", {
|
|
40
39
|
backgroundColor: string;
|
|
41
40
|
borderColor: string;
|
|
@@ -391,16 +390,24 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
|
|
|
391
390
|
colorSecondary: string;
|
|
392
391
|
colorSecondaryHover: string;
|
|
393
392
|
colorSecondaryPressed: string;
|
|
393
|
+
colorSecondaryFocus: string;
|
|
394
|
+
colorSecondaryDisabled: string;
|
|
395
|
+
textColorSecondaryDisabled: string;
|
|
394
396
|
waveColorSecondary: string;
|
|
395
397
|
colorTertiary: string;
|
|
396
398
|
colorTertiaryHover: string;
|
|
397
399
|
colorTertiaryPressed: string;
|
|
400
|
+
colorTertiaryFocus: string;
|
|
398
401
|
colorTertiaryDisalbed: string;
|
|
399
402
|
waveColorTertiary: string;
|
|
400
403
|
textColorTextTertiary: string;
|
|
404
|
+
rippleColorTertiary: string;
|
|
401
405
|
colorQuaternary: string;
|
|
402
406
|
colorQuaternaryHover: string;
|
|
403
407
|
colorQuaternaryPressed: string;
|
|
408
|
+
colorQuaternaryFocus: string;
|
|
409
|
+
rippleColorQuaternary: string;
|
|
410
|
+
waveColorQuaternary: string;
|
|
404
411
|
color: string;
|
|
405
412
|
colorHover: string;
|
|
406
413
|
colorPressed: string;
|
|
@@ -686,4 +693,5 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
|
|
|
686
693
|
}, any>;
|
|
687
694
|
}>;
|
|
688
695
|
export default chatLight;
|
|
696
|
+
export type ChatThemeVars = ReturnType<typeof self>;
|
|
689
697
|
export type ChatTheme = typeof chatLight;
|
package/lib/chat/styles/light.js
CHANGED
|
@@ -2,16 +2,28 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.self = void 0;
|
|
4
4
|
const styles_1 = require("../../input/styles");
|
|
5
|
+
const light_1 = require("../../input/styles/light");
|
|
5
6
|
const styles_2 = require("../../empty/styles");
|
|
6
7
|
const styles_3 = require("../../select/styles");
|
|
7
8
|
const styles_4 = require("../../avatar/styles");
|
|
8
9
|
const styles_5 = require("../../badge/styles");
|
|
10
|
+
const light_2 = require("../../badge/styles/light");
|
|
9
11
|
const styles_6 = require("../../button/styles");
|
|
10
12
|
const styles_7 = require("../../icon/styles");
|
|
11
13
|
const styles_8 = require("../../list/styles");
|
|
12
14
|
const styles_9 = require("../../typography/styles");
|
|
13
15
|
const common_1 = require("../../_styles/common");
|
|
14
16
|
const _mixins_1 = require("../../_mixins");
|
|
17
|
+
const chatInputLight = Object.assign(Object.assign({}, styles_1.inputLight), { self(vars) {
|
|
18
|
+
const originalInputSelf = (0, light_1.self)(vars);
|
|
19
|
+
const { elementsTertiary } = vars;
|
|
20
|
+
return Object.assign(Object.assign({}, originalInputSelf), { color: elementsTertiary, colorFocus: elementsTertiary, border: 'none', borderFocus: 'none', borderHover: 'none', boxShadow: 'none', boxShadowFocus: 'none' });
|
|
21
|
+
} });
|
|
22
|
+
const chatBadgeLight = Object.assign(Object.assign({}, styles_5.badgeLight), { self(vars) {
|
|
23
|
+
const originalBadgeSelf = (0, light_2.self)(vars);
|
|
24
|
+
const { brandPrimary400, elementsSecondary } = vars;
|
|
25
|
+
return Object.assign(Object.assign({}, originalBadgeSelf), { color: brandPrimary400, textColor: elementsSecondary });
|
|
26
|
+
} });
|
|
15
27
|
const self = (vars) => {
|
|
16
28
|
const { borderRadiusLarge, elementsQuaternary, elementsTertiary, textTertiary, textPrimary, textSecondary, surfacePrimary, brandPrimary500, brandPrimary400, transparencySecondary, elementsSecondary, elementsDarkQuinary, staticRed, staticWhite } = vars;
|
|
17
29
|
return {
|
|
@@ -46,7 +58,7 @@ const self = (vars) => {
|
|
|
46
58
|
unreadNotificationTextColor: elementsSecondary,
|
|
47
59
|
typingIndicatorColor: textSecondary,
|
|
48
60
|
dateSeparatorColor: textTertiary,
|
|
49
|
-
dateSeparatorBackgroundColor:
|
|
61
|
+
dateSeparatorBackgroundColor: 'transparent',
|
|
50
62
|
borderRadius: borderRadiusLarge,
|
|
51
63
|
errorColor: staticRed
|
|
52
64
|
};
|
|
@@ -56,11 +68,11 @@ const chatLight = (0, _mixins_1.createTheme)({
|
|
|
56
68
|
name: 'Chat',
|
|
57
69
|
common: common_1.commonLight,
|
|
58
70
|
peers: {
|
|
59
|
-
Input:
|
|
71
|
+
Input: chatInputLight,
|
|
60
72
|
Empty: styles_2.emptyLight,
|
|
61
73
|
Select: styles_3.selectLight,
|
|
62
74
|
Avatar: styles_4.avatarLight,
|
|
63
|
-
Badge:
|
|
75
|
+
Badge: chatBadgeLight,
|
|
64
76
|
Button: styles_6.buttonLight,
|
|
65
77
|
Icon: styles_7.iconLight,
|
|
66
78
|
List: styles_8.listLight,
|
|
@@ -122,16 +122,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
122
122
|
colorSecondary: string;
|
|
123
123
|
colorSecondaryHover: string;
|
|
124
124
|
colorSecondaryPressed: string;
|
|
125
|
+
colorSecondaryFocus: string;
|
|
126
|
+
colorSecondaryDisabled: string;
|
|
127
|
+
textColorSecondaryDisabled: string;
|
|
125
128
|
waveColorSecondary: string;
|
|
126
129
|
colorTertiary: string;
|
|
127
130
|
colorTertiaryHover: string;
|
|
128
131
|
colorTertiaryPressed: string;
|
|
132
|
+
colorTertiaryFocus: string;
|
|
129
133
|
colorTertiaryDisalbed: string;
|
|
130
134
|
waveColorTertiary: string;
|
|
131
135
|
textColorTextTertiary: string;
|
|
136
|
+
rippleColorTertiary: string;
|
|
132
137
|
colorQuaternary: string;
|
|
133
138
|
colorQuaternaryHover: string;
|
|
134
139
|
colorQuaternaryPressed: string;
|
|
140
|
+
colorQuaternaryFocus: string;
|
|
141
|
+
rippleColorQuaternary: string;
|
|
142
|
+
waveColorQuaternary: string;
|
|
135
143
|
color: string;
|
|
136
144
|
colorHover: string;
|
|
137
145
|
colorPressed: string;
|
|
@@ -152,16 +152,24 @@ export declare const colorPickerProps: {
|
|
|
152
152
|
colorSecondary: string;
|
|
153
153
|
colorSecondaryHover: string;
|
|
154
154
|
colorSecondaryPressed: string;
|
|
155
|
+
colorSecondaryFocus: string;
|
|
156
|
+
colorSecondaryDisabled: string;
|
|
157
|
+
textColorSecondaryDisabled: string;
|
|
155
158
|
waveColorSecondary: string;
|
|
156
159
|
colorTertiary: string;
|
|
157
160
|
colorTertiaryHover: string;
|
|
158
161
|
colorTertiaryPressed: string;
|
|
162
|
+
colorTertiaryFocus: string;
|
|
159
163
|
colorTertiaryDisalbed: string;
|
|
160
164
|
waveColorTertiary: string;
|
|
161
165
|
textColorTextTertiary: string;
|
|
166
|
+
rippleColorTertiary: string;
|
|
162
167
|
colorQuaternary: string;
|
|
163
168
|
colorQuaternaryHover: string;
|
|
164
169
|
colorQuaternaryPressed: string;
|
|
170
|
+
colorQuaternaryFocus: string;
|
|
171
|
+
rippleColorQuaternary: string;
|
|
172
|
+
waveColorQuaternary: string;
|
|
165
173
|
color: string;
|
|
166
174
|
colorHover: string;
|
|
167
175
|
colorPressed: string;
|
|
@@ -448,16 +456,24 @@ export declare const colorPickerProps: {
|
|
|
448
456
|
colorSecondary: string;
|
|
449
457
|
colorSecondaryHover: string;
|
|
450
458
|
colorSecondaryPressed: string;
|
|
459
|
+
colorSecondaryFocus: string;
|
|
460
|
+
colorSecondaryDisabled: string;
|
|
461
|
+
textColorSecondaryDisabled: string;
|
|
451
462
|
waveColorSecondary: string;
|
|
452
463
|
colorTertiary: string;
|
|
453
464
|
colorTertiaryHover: string;
|
|
454
465
|
colorTertiaryPressed: string;
|
|
466
|
+
colorTertiaryFocus: string;
|
|
455
467
|
colorTertiaryDisalbed: string;
|
|
456
468
|
waveColorTertiary: string;
|
|
457
469
|
textColorTextTertiary: string;
|
|
470
|
+
rippleColorTertiary: string;
|
|
458
471
|
colorQuaternary: string;
|
|
459
472
|
colorQuaternaryHover: string;
|
|
460
473
|
colorQuaternaryPressed: string;
|
|
474
|
+
colorQuaternaryFocus: string;
|
|
475
|
+
rippleColorQuaternary: string;
|
|
476
|
+
waveColorQuaternary: string;
|
|
461
477
|
color: string;
|
|
462
478
|
colorHover: string;
|
|
463
479
|
colorPressed: string;
|
|
@@ -744,16 +760,24 @@ export declare const colorPickerProps: {
|
|
|
744
760
|
colorSecondary: string;
|
|
745
761
|
colorSecondaryHover: string;
|
|
746
762
|
colorSecondaryPressed: string;
|
|
763
|
+
colorSecondaryFocus: string;
|
|
764
|
+
colorSecondaryDisabled: string;
|
|
765
|
+
textColorSecondaryDisabled: string;
|
|
747
766
|
waveColorSecondary: string;
|
|
748
767
|
colorTertiary: string;
|
|
749
768
|
colorTertiaryHover: string;
|
|
750
769
|
colorTertiaryPressed: string;
|
|
770
|
+
colorTertiaryFocus: string;
|
|
751
771
|
colorTertiaryDisalbed: string;
|
|
752
772
|
waveColorTertiary: string;
|
|
753
773
|
textColorTextTertiary: string;
|
|
774
|
+
rippleColorTertiary: string;
|
|
754
775
|
colorQuaternary: string;
|
|
755
776
|
colorQuaternaryHover: string;
|
|
756
777
|
colorQuaternaryPressed: string;
|
|
778
|
+
colorQuaternaryFocus: string;
|
|
779
|
+
rippleColorQuaternary: string;
|
|
780
|
+
waveColorQuaternary: string;
|
|
757
781
|
color: string;
|
|
758
782
|
colorHover: string;
|
|
759
783
|
colorPressed: string;
|
|
@@ -1085,16 +1109,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1085
1109
|
colorSecondary: string;
|
|
1086
1110
|
colorSecondaryHover: string;
|
|
1087
1111
|
colorSecondaryPressed: string;
|
|
1112
|
+
colorSecondaryFocus: string;
|
|
1113
|
+
colorSecondaryDisabled: string;
|
|
1114
|
+
textColorSecondaryDisabled: string;
|
|
1088
1115
|
waveColorSecondary: string;
|
|
1089
1116
|
colorTertiary: string;
|
|
1090
1117
|
colorTertiaryHover: string;
|
|
1091
1118
|
colorTertiaryPressed: string;
|
|
1119
|
+
colorTertiaryFocus: string;
|
|
1092
1120
|
colorTertiaryDisalbed: string;
|
|
1093
1121
|
waveColorTertiary: string;
|
|
1094
1122
|
textColorTextTertiary: string;
|
|
1123
|
+
rippleColorTertiary: string;
|
|
1095
1124
|
colorQuaternary: string;
|
|
1096
1125
|
colorQuaternaryHover: string;
|
|
1097
1126
|
colorQuaternaryPressed: string;
|
|
1127
|
+
colorQuaternaryFocus: string;
|
|
1128
|
+
rippleColorQuaternary: string;
|
|
1129
|
+
waveColorQuaternary: string;
|
|
1098
1130
|
color: string;
|
|
1099
1131
|
colorHover: string;
|
|
1100
1132
|
colorPressed: string;
|
|
@@ -1381,16 +1413,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1381
1413
|
colorSecondary: string;
|
|
1382
1414
|
colorSecondaryHover: string;
|
|
1383
1415
|
colorSecondaryPressed: string;
|
|
1416
|
+
colorSecondaryFocus: string;
|
|
1417
|
+
colorSecondaryDisabled: string;
|
|
1418
|
+
textColorSecondaryDisabled: string;
|
|
1384
1419
|
waveColorSecondary: string;
|
|
1385
1420
|
colorTertiary: string;
|
|
1386
1421
|
colorTertiaryHover: string;
|
|
1387
1422
|
colorTertiaryPressed: string;
|
|
1423
|
+
colorTertiaryFocus: string;
|
|
1388
1424
|
colorTertiaryDisalbed: string;
|
|
1389
1425
|
waveColorTertiary: string;
|
|
1390
1426
|
textColorTextTertiary: string;
|
|
1427
|
+
rippleColorTertiary: string;
|
|
1391
1428
|
colorQuaternary: string;
|
|
1392
1429
|
colorQuaternaryHover: string;
|
|
1393
1430
|
colorQuaternaryPressed: string;
|
|
1431
|
+
colorQuaternaryFocus: string;
|
|
1432
|
+
rippleColorQuaternary: string;
|
|
1433
|
+
waveColorQuaternary: string;
|
|
1394
1434
|
color: string;
|
|
1395
1435
|
colorHover: string;
|
|
1396
1436
|
colorPressed: string;
|
|
@@ -1677,16 +1717,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1677
1717
|
colorSecondary: string;
|
|
1678
1718
|
colorSecondaryHover: string;
|
|
1679
1719
|
colorSecondaryPressed: string;
|
|
1720
|
+
colorSecondaryFocus: string;
|
|
1721
|
+
colorSecondaryDisabled: string;
|
|
1722
|
+
textColorSecondaryDisabled: string;
|
|
1680
1723
|
waveColorSecondary: string;
|
|
1681
1724
|
colorTertiary: string;
|
|
1682
1725
|
colorTertiaryHover: string;
|
|
1683
1726
|
colorTertiaryPressed: string;
|
|
1727
|
+
colorTertiaryFocus: string;
|
|
1684
1728
|
colorTertiaryDisalbed: string;
|
|
1685
1729
|
waveColorTertiary: string;
|
|
1686
1730
|
textColorTextTertiary: string;
|
|
1731
|
+
rippleColorTertiary: string;
|
|
1687
1732
|
colorQuaternary: string;
|
|
1688
1733
|
colorQuaternaryHover: string;
|
|
1689
1734
|
colorQuaternaryPressed: string;
|
|
1735
|
+
colorQuaternaryFocus: string;
|
|
1736
|
+
rippleColorQuaternary: string;
|
|
1737
|
+
waveColorQuaternary: string;
|
|
1690
1738
|
color: string;
|
|
1691
1739
|
colorHover: string;
|
|
1692
1740
|
colorPressed: string;
|
|
@@ -2047,16 +2095,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2047
2095
|
colorSecondary: string;
|
|
2048
2096
|
colorSecondaryHover: string;
|
|
2049
2097
|
colorSecondaryPressed: string;
|
|
2098
|
+
colorSecondaryFocus: string;
|
|
2099
|
+
colorSecondaryDisabled: string;
|
|
2100
|
+
textColorSecondaryDisabled: string;
|
|
2050
2101
|
waveColorSecondary: string;
|
|
2051
2102
|
colorTertiary: string;
|
|
2052
2103
|
colorTertiaryHover: string;
|
|
2053
2104
|
colorTertiaryPressed: string;
|
|
2105
|
+
colorTertiaryFocus: string;
|
|
2054
2106
|
colorTertiaryDisalbed: string;
|
|
2055
2107
|
waveColorTertiary: string;
|
|
2056
2108
|
textColorTextTertiary: string;
|
|
2109
|
+
rippleColorTertiary: string;
|
|
2057
2110
|
colorQuaternary: string;
|
|
2058
2111
|
colorQuaternaryHover: string;
|
|
2059
2112
|
colorQuaternaryPressed: string;
|
|
2113
|
+
colorQuaternaryFocus: string;
|
|
2114
|
+
rippleColorQuaternary: string;
|
|
2115
|
+
waveColorQuaternary: string;
|
|
2060
2116
|
color: string;
|
|
2061
2117
|
colorHover: string;
|
|
2062
2118
|
colorPressed: string;
|
|
@@ -2343,16 +2399,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2343
2399
|
colorSecondary: string;
|
|
2344
2400
|
colorSecondaryHover: string;
|
|
2345
2401
|
colorSecondaryPressed: string;
|
|
2402
|
+
colorSecondaryFocus: string;
|
|
2403
|
+
colorSecondaryDisabled: string;
|
|
2404
|
+
textColorSecondaryDisabled: string;
|
|
2346
2405
|
waveColorSecondary: string;
|
|
2347
2406
|
colorTertiary: string;
|
|
2348
2407
|
colorTertiaryHover: string;
|
|
2349
2408
|
colorTertiaryPressed: string;
|
|
2409
|
+
colorTertiaryFocus: string;
|
|
2350
2410
|
colorTertiaryDisalbed: string;
|
|
2351
2411
|
waveColorTertiary: string;
|
|
2352
2412
|
textColorTextTertiary: string;
|
|
2413
|
+
rippleColorTertiary: string;
|
|
2353
2414
|
colorQuaternary: string;
|
|
2354
2415
|
colorQuaternaryHover: string;
|
|
2355
2416
|
colorQuaternaryPressed: string;
|
|
2417
|
+
colorQuaternaryFocus: string;
|
|
2418
|
+
rippleColorQuaternary: string;
|
|
2419
|
+
waveColorQuaternary: string;
|
|
2356
2420
|
color: string;
|
|
2357
2421
|
colorHover: string;
|
|
2358
2422
|
colorPressed: string;
|
|
@@ -2639,16 +2703,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2639
2703
|
colorSecondary: string;
|
|
2640
2704
|
colorSecondaryHover: string;
|
|
2641
2705
|
colorSecondaryPressed: string;
|
|
2706
|
+
colorSecondaryFocus: string;
|
|
2707
|
+
colorSecondaryDisabled: string;
|
|
2708
|
+
textColorSecondaryDisabled: string;
|
|
2642
2709
|
waveColorSecondary: string;
|
|
2643
2710
|
colorTertiary: string;
|
|
2644
2711
|
colorTertiaryHover: string;
|
|
2645
2712
|
colorTertiaryPressed: string;
|
|
2713
|
+
colorTertiaryFocus: string;
|
|
2646
2714
|
colorTertiaryDisalbed: string;
|
|
2647
2715
|
waveColorTertiary: string;
|
|
2648
2716
|
textColorTextTertiary: string;
|
|
2717
|
+
rippleColorTertiary: string;
|
|
2649
2718
|
colorQuaternary: string;
|
|
2650
2719
|
colorQuaternaryHover: string;
|
|
2651
2720
|
colorQuaternaryPressed: string;
|
|
2721
|
+
colorQuaternaryFocus: string;
|
|
2722
|
+
rippleColorQuaternary: string;
|
|
2723
|
+
waveColorQuaternary: string;
|
|
2652
2724
|
color: string;
|
|
2653
2725
|
colorHover: string;
|
|
2654
2726
|
colorPressed: string;
|