@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
package/es/chat/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as UChat } from './src/Chat';
|
|
2
2
|
export { default as UChatListItems } from './src/ChatListItems';
|
|
3
3
|
export { default as UChatMessages } from './src/ChatMessages';
|
|
4
|
-
export type { ChatId,
|
|
4
|
+
export type { ChatId, ChatProps, ChatListItemProps, ChatMessageProps, ChatMarkProps, ChatHeaderProps, ChatFooterProps, ChatListHeaderProps, ChatSlots, ChatListItemSlots, ChatMessageSlots, ChatMarkSlots, ChatHeaderSlots, ChatFooterSlots, ChatListItemData, ChatMessageData, ChatAttachment, OnChatSelect, OnMessageSend, OnAttachmentUpload, OnFilterChange, OnLoadMoreChats, OnNetworkError, OnUploadError, OnSendError, ChatInst, ChatListInst, chatInjectionKey } from './src/interface';
|
|
5
|
+
export { MessageStatus, ChatMessageType, ChatMarkType } from './src/interface';
|
|
5
6
|
export type { ChatListItemsProps } from './src/ChatListItems';
|
|
6
7
|
export type { ChatMessagesProps } from './src/ChatMessages';
|
package/es/chat/index.js
CHANGED
package/es/chat/src/Chat.d.ts
CHANGED
|
@@ -135,9 +135,9 @@ export declare const chatProps: {
|
|
|
135
135
|
type: PropType<ChatPropsType["messagesLoadingCount"]>;
|
|
136
136
|
default: number;
|
|
137
137
|
};
|
|
138
|
-
|
|
138
|
+
height: {
|
|
139
139
|
type: PropType<string | number>;
|
|
140
|
-
default:
|
|
140
|
+
default: number;
|
|
141
141
|
};
|
|
142
142
|
onChatSelect: {
|
|
143
143
|
type: PropType<ChatPropsType["onChatSelect"]>;
|
|
@@ -538,16 +538,24 @@ export declare const chatProps: {
|
|
|
538
538
|
colorSecondary: string;
|
|
539
539
|
colorSecondaryHover: string;
|
|
540
540
|
colorSecondaryPressed: string;
|
|
541
|
+
colorSecondaryFocus: string;
|
|
542
|
+
colorSecondaryDisabled: string;
|
|
543
|
+
textColorSecondaryDisabled: string;
|
|
541
544
|
waveColorSecondary: string;
|
|
542
545
|
colorTertiary: string;
|
|
543
546
|
colorTertiaryHover: string;
|
|
544
547
|
colorTertiaryPressed: string;
|
|
548
|
+
colorTertiaryFocus: string;
|
|
545
549
|
colorTertiaryDisalbed: string;
|
|
546
550
|
waveColorTertiary: string;
|
|
547
551
|
textColorTextTertiary: string;
|
|
552
|
+
rippleColorTertiary: string;
|
|
548
553
|
colorQuaternary: string;
|
|
549
554
|
colorQuaternaryHover: string;
|
|
550
555
|
colorQuaternaryPressed: string;
|
|
556
|
+
colorQuaternaryFocus: string;
|
|
557
|
+
rippleColorQuaternary: string;
|
|
558
|
+
waveColorQuaternary: string;
|
|
551
559
|
color: string;
|
|
552
560
|
colorHover: string;
|
|
553
561
|
colorPressed: string;
|
|
@@ -1187,16 +1195,24 @@ export declare const chatProps: {
|
|
|
1187
1195
|
colorSecondary: string;
|
|
1188
1196
|
colorSecondaryHover: string;
|
|
1189
1197
|
colorSecondaryPressed: string;
|
|
1198
|
+
colorSecondaryFocus: string;
|
|
1199
|
+
colorSecondaryDisabled: string;
|
|
1200
|
+
textColorSecondaryDisabled: string;
|
|
1190
1201
|
waveColorSecondary: string;
|
|
1191
1202
|
colorTertiary: string;
|
|
1192
1203
|
colorTertiaryHover: string;
|
|
1193
1204
|
colorTertiaryPressed: string;
|
|
1205
|
+
colorTertiaryFocus: string;
|
|
1194
1206
|
colorTertiaryDisalbed: string;
|
|
1195
1207
|
waveColorTertiary: string;
|
|
1196
1208
|
textColorTextTertiary: string;
|
|
1209
|
+
rippleColorTertiary: string;
|
|
1197
1210
|
colorQuaternary: string;
|
|
1198
1211
|
colorQuaternaryHover: string;
|
|
1199
1212
|
colorQuaternaryPressed: string;
|
|
1213
|
+
colorQuaternaryFocus: string;
|
|
1214
|
+
rippleColorQuaternary: string;
|
|
1215
|
+
waveColorQuaternary: string;
|
|
1200
1216
|
color: string;
|
|
1201
1217
|
colorHover: string;
|
|
1202
1218
|
colorPressed: string;
|
|
@@ -1836,16 +1852,24 @@ export declare const chatProps: {
|
|
|
1836
1852
|
colorSecondary: string;
|
|
1837
1853
|
colorSecondaryHover: string;
|
|
1838
1854
|
colorSecondaryPressed: string;
|
|
1855
|
+
colorSecondaryFocus: string;
|
|
1856
|
+
colorSecondaryDisabled: string;
|
|
1857
|
+
textColorSecondaryDisabled: string;
|
|
1839
1858
|
waveColorSecondary: string;
|
|
1840
1859
|
colorTertiary: string;
|
|
1841
1860
|
colorTertiaryHover: string;
|
|
1842
1861
|
colorTertiaryPressed: string;
|
|
1862
|
+
colorTertiaryFocus: string;
|
|
1843
1863
|
colorTertiaryDisalbed: string;
|
|
1844
1864
|
waveColorTertiary: string;
|
|
1845
1865
|
textColorTextTertiary: string;
|
|
1866
|
+
rippleColorTertiary: string;
|
|
1846
1867
|
colorQuaternary: string;
|
|
1847
1868
|
colorQuaternaryHover: string;
|
|
1848
1869
|
colorQuaternaryPressed: string;
|
|
1870
|
+
colorQuaternaryFocus: string;
|
|
1871
|
+
rippleColorQuaternary: string;
|
|
1872
|
+
waveColorQuaternary: string;
|
|
1849
1873
|
color: string;
|
|
1850
1874
|
colorHover: string;
|
|
1851
1875
|
colorPressed: string;
|
|
@@ -2265,9 +2289,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2265
2289
|
type: PropType<ChatPropsType["messagesLoadingCount"]>;
|
|
2266
2290
|
default: number;
|
|
2267
2291
|
};
|
|
2268
|
-
|
|
2292
|
+
height: {
|
|
2269
2293
|
type: PropType<string | number>;
|
|
2270
|
-
default:
|
|
2294
|
+
default: number;
|
|
2271
2295
|
};
|
|
2272
2296
|
onChatSelect: {
|
|
2273
2297
|
type: PropType<ChatPropsType["onChatSelect"]>;
|
|
@@ -2668,16 +2692,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2668
2692
|
colorSecondary: string;
|
|
2669
2693
|
colorSecondaryHover: string;
|
|
2670
2694
|
colorSecondaryPressed: string;
|
|
2695
|
+
colorSecondaryFocus: string;
|
|
2696
|
+
colorSecondaryDisabled: string;
|
|
2697
|
+
textColorSecondaryDisabled: string;
|
|
2671
2698
|
waveColorSecondary: string;
|
|
2672
2699
|
colorTertiary: string;
|
|
2673
2700
|
colorTertiaryHover: string;
|
|
2674
2701
|
colorTertiaryPressed: string;
|
|
2702
|
+
colorTertiaryFocus: string;
|
|
2675
2703
|
colorTertiaryDisalbed: string;
|
|
2676
2704
|
waveColorTertiary: string;
|
|
2677
2705
|
textColorTextTertiary: string;
|
|
2706
|
+
rippleColorTertiary: string;
|
|
2678
2707
|
colorQuaternary: string;
|
|
2679
2708
|
colorQuaternaryHover: string;
|
|
2680
2709
|
colorQuaternaryPressed: string;
|
|
2710
|
+
colorQuaternaryFocus: string;
|
|
2711
|
+
rippleColorQuaternary: string;
|
|
2712
|
+
waveColorQuaternary: string;
|
|
2681
2713
|
color: string;
|
|
2682
2714
|
colorHover: string;
|
|
2683
2715
|
colorPressed: string;
|
|
@@ -3317,16 +3349,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3317
3349
|
colorSecondary: string;
|
|
3318
3350
|
colorSecondaryHover: string;
|
|
3319
3351
|
colorSecondaryPressed: string;
|
|
3352
|
+
colorSecondaryFocus: string;
|
|
3353
|
+
colorSecondaryDisabled: string;
|
|
3354
|
+
textColorSecondaryDisabled: string;
|
|
3320
3355
|
waveColorSecondary: string;
|
|
3321
3356
|
colorTertiary: string;
|
|
3322
3357
|
colorTertiaryHover: string;
|
|
3323
3358
|
colorTertiaryPressed: string;
|
|
3359
|
+
colorTertiaryFocus: string;
|
|
3324
3360
|
colorTertiaryDisalbed: string;
|
|
3325
3361
|
waveColorTertiary: string;
|
|
3326
3362
|
textColorTextTertiary: string;
|
|
3363
|
+
rippleColorTertiary: string;
|
|
3327
3364
|
colorQuaternary: string;
|
|
3328
3365
|
colorQuaternaryHover: string;
|
|
3329
3366
|
colorQuaternaryPressed: string;
|
|
3367
|
+
colorQuaternaryFocus: string;
|
|
3368
|
+
rippleColorQuaternary: string;
|
|
3369
|
+
waveColorQuaternary: string;
|
|
3330
3370
|
color: string;
|
|
3331
3371
|
colorHover: string;
|
|
3332
3372
|
colorPressed: string;
|
|
@@ -3966,16 +4006,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3966
4006
|
colorSecondary: string;
|
|
3967
4007
|
colorSecondaryHover: string;
|
|
3968
4008
|
colorSecondaryPressed: string;
|
|
4009
|
+
colorSecondaryFocus: string;
|
|
4010
|
+
colorSecondaryDisabled: string;
|
|
4011
|
+
textColorSecondaryDisabled: string;
|
|
3969
4012
|
waveColorSecondary: string;
|
|
3970
4013
|
colorTertiary: string;
|
|
3971
4014
|
colorTertiaryHover: string;
|
|
3972
4015
|
colorTertiaryPressed: string;
|
|
4016
|
+
colorTertiaryFocus: string;
|
|
3973
4017
|
colorTertiaryDisalbed: string;
|
|
3974
4018
|
waveColorTertiary: string;
|
|
3975
4019
|
textColorTextTertiary: string;
|
|
4020
|
+
rippleColorTertiary: string;
|
|
3976
4021
|
colorQuaternary: string;
|
|
3977
4022
|
colorQuaternaryHover: string;
|
|
3978
4023
|
colorQuaternaryPressed: string;
|
|
4024
|
+
colorQuaternaryFocus: string;
|
|
4025
|
+
rippleColorQuaternary: string;
|
|
4026
|
+
waveColorQuaternary: string;
|
|
3979
4027
|
color: string;
|
|
3980
4028
|
colorHover: string;
|
|
3981
4029
|
colorPressed: string;
|
|
@@ -4620,16 +4668,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4620
4668
|
colorSecondary: string;
|
|
4621
4669
|
colorSecondaryHover: string;
|
|
4622
4670
|
colorSecondaryPressed: string;
|
|
4671
|
+
colorSecondaryFocus: string;
|
|
4672
|
+
colorSecondaryDisabled: string;
|
|
4673
|
+
textColorSecondaryDisabled: string;
|
|
4623
4674
|
waveColorSecondary: string;
|
|
4624
4675
|
colorTertiary: string;
|
|
4625
4676
|
colorTertiaryHover: string;
|
|
4626
4677
|
colorTertiaryPressed: string;
|
|
4678
|
+
colorTertiaryFocus: string;
|
|
4627
4679
|
colorTertiaryDisalbed: string;
|
|
4628
4680
|
waveColorTertiary: string;
|
|
4629
4681
|
textColorTextTertiary: string;
|
|
4682
|
+
rippleColorTertiary: string;
|
|
4630
4683
|
colorQuaternary: string;
|
|
4631
4684
|
colorQuaternaryHover: string;
|
|
4632
4685
|
colorQuaternaryPressed: string;
|
|
4686
|
+
colorQuaternaryFocus: string;
|
|
4687
|
+
rippleColorQuaternary: string;
|
|
4688
|
+
waveColorQuaternary: string;
|
|
4633
4689
|
color: string;
|
|
4634
4690
|
colorHover: string;
|
|
4635
4691
|
colorPressed: string;
|
|
@@ -5313,9 +5369,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5313
5369
|
type: PropType<ChatPropsType["messagesLoadingCount"]>;
|
|
5314
5370
|
default: number;
|
|
5315
5371
|
};
|
|
5316
|
-
|
|
5372
|
+
height: {
|
|
5317
5373
|
type: PropType<string | number>;
|
|
5318
|
-
default:
|
|
5374
|
+
default: number;
|
|
5319
5375
|
};
|
|
5320
5376
|
onChatSelect: {
|
|
5321
5377
|
type: PropType<ChatPropsType["onChatSelect"]>;
|
|
@@ -5716,16 +5772,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5716
5772
|
colorSecondary: string;
|
|
5717
5773
|
colorSecondaryHover: string;
|
|
5718
5774
|
colorSecondaryPressed: string;
|
|
5775
|
+
colorSecondaryFocus: string;
|
|
5776
|
+
colorSecondaryDisabled: string;
|
|
5777
|
+
textColorSecondaryDisabled: string;
|
|
5719
5778
|
waveColorSecondary: string;
|
|
5720
5779
|
colorTertiary: string;
|
|
5721
5780
|
colorTertiaryHover: string;
|
|
5722
5781
|
colorTertiaryPressed: string;
|
|
5782
|
+
colorTertiaryFocus: string;
|
|
5723
5783
|
colorTertiaryDisalbed: string;
|
|
5724
5784
|
waveColorTertiary: string;
|
|
5725
5785
|
textColorTextTertiary: string;
|
|
5786
|
+
rippleColorTertiary: string;
|
|
5726
5787
|
colorQuaternary: string;
|
|
5727
5788
|
colorQuaternaryHover: string;
|
|
5728
5789
|
colorQuaternaryPressed: string;
|
|
5790
|
+
colorQuaternaryFocus: string;
|
|
5791
|
+
rippleColorQuaternary: string;
|
|
5792
|
+
waveColorQuaternary: string;
|
|
5729
5793
|
color: string;
|
|
5730
5794
|
colorHover: string;
|
|
5731
5795
|
colorPressed: string;
|
|
@@ -6365,16 +6429,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6365
6429
|
colorSecondary: string;
|
|
6366
6430
|
colorSecondaryHover: string;
|
|
6367
6431
|
colorSecondaryPressed: string;
|
|
6432
|
+
colorSecondaryFocus: string;
|
|
6433
|
+
colorSecondaryDisabled: string;
|
|
6434
|
+
textColorSecondaryDisabled: string;
|
|
6368
6435
|
waveColorSecondary: string;
|
|
6369
6436
|
colorTertiary: string;
|
|
6370
6437
|
colorTertiaryHover: string;
|
|
6371
6438
|
colorTertiaryPressed: string;
|
|
6439
|
+
colorTertiaryFocus: string;
|
|
6372
6440
|
colorTertiaryDisalbed: string;
|
|
6373
6441
|
waveColorTertiary: string;
|
|
6374
6442
|
textColorTextTertiary: string;
|
|
6443
|
+
rippleColorTertiary: string;
|
|
6375
6444
|
colorQuaternary: string;
|
|
6376
6445
|
colorQuaternaryHover: string;
|
|
6377
6446
|
colorQuaternaryPressed: string;
|
|
6447
|
+
colorQuaternaryFocus: string;
|
|
6448
|
+
rippleColorQuaternary: string;
|
|
6449
|
+
waveColorQuaternary: string;
|
|
6378
6450
|
color: string;
|
|
6379
6451
|
colorHover: string;
|
|
6380
6452
|
colorPressed: string;
|
|
@@ -7014,16 +7086,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7014
7086
|
colorSecondary: string;
|
|
7015
7087
|
colorSecondaryHover: string;
|
|
7016
7088
|
colorSecondaryPressed: string;
|
|
7089
|
+
colorSecondaryFocus: string;
|
|
7090
|
+
colorSecondaryDisabled: string;
|
|
7091
|
+
textColorSecondaryDisabled: string;
|
|
7017
7092
|
waveColorSecondary: string;
|
|
7018
7093
|
colorTertiary: string;
|
|
7019
7094
|
colorTertiaryHover: string;
|
|
7020
7095
|
colorTertiaryPressed: string;
|
|
7096
|
+
colorTertiaryFocus: string;
|
|
7021
7097
|
colorTertiaryDisalbed: string;
|
|
7022
7098
|
waveColorTertiary: string;
|
|
7023
7099
|
textColorTextTertiary: string;
|
|
7100
|
+
rippleColorTertiary: string;
|
|
7024
7101
|
colorQuaternary: string;
|
|
7025
7102
|
colorQuaternaryHover: string;
|
|
7026
7103
|
colorQuaternaryPressed: string;
|
|
7104
|
+
colorQuaternaryFocus: string;
|
|
7105
|
+
rippleColorQuaternary: string;
|
|
7106
|
+
waveColorQuaternary: string;
|
|
7027
7107
|
color: string;
|
|
7028
7108
|
colorHover: string;
|
|
7029
7109
|
colorPressed: string;
|
|
@@ -7325,7 +7405,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7325
7405
|
retryText: string | undefined;
|
|
7326
7406
|
closeButtonText: string | undefined;
|
|
7327
7407
|
unreadNotificationText: string | undefined;
|
|
7328
|
-
|
|
7408
|
+
height: string | number;
|
|
7329
7409
|
emptyProps: Partial<Partial<import("../..").EmptyProps> | undefined>;
|
|
7330
7410
|
chatItems: ChatListItemData[] | undefined;
|
|
7331
7411
|
selectedChatId: import("./interface").ChatId | undefined;
|
package/es/chat/src/Chat.js
CHANGED
|
@@ -106,9 +106,9 @@ export const chatProps = Object.assign(Object.assign({}, useTheme.props), { chat
|
|
|
106
106
|
}, messagesLoadingCount: {
|
|
107
107
|
type: Number,
|
|
108
108
|
default: 10
|
|
109
|
-
},
|
|
109
|
+
}, height: {
|
|
110
110
|
type: [String, Number],
|
|
111
|
-
default:
|
|
111
|
+
default: 800
|
|
112
112
|
}, onChatSelect: {
|
|
113
113
|
type: Function,
|
|
114
114
|
default: undefined
|
|
@@ -317,6 +317,7 @@ export default defineComponent({
|
|
|
317
317
|
const mergedUnreadNotificationTextRef = computed(() => { var _a; return (_a = props.unreadNotificationText) !== null && _a !== void 0 ? _a : localeRef.value.unreadNotificationText; });
|
|
318
318
|
provide(chatInjectionKey, {
|
|
319
319
|
mergedClsPrefixRef,
|
|
320
|
+
mergedThemeRef: themeRef,
|
|
320
321
|
chatItemsRef: toRef(props, 'chatItems'),
|
|
321
322
|
selectedChatIdRef: mergedSelectedChatIdRef,
|
|
322
323
|
selectedChatRef,
|
|
@@ -375,14 +376,12 @@ export default defineComponent({
|
|
|
375
376
|
var _a;
|
|
376
377
|
const { $slots } = this;
|
|
377
378
|
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
378
|
-
const
|
|
379
|
+
const heightStyle = this.height
|
|
379
380
|
? {
|
|
380
|
-
|
|
381
|
-
? `${this.maxHeight}px`
|
|
382
|
-
: this.maxHeight
|
|
381
|
+
height: typeof this.height === 'number' ? `${this.height}px` : this.height
|
|
383
382
|
}
|
|
384
383
|
: {};
|
|
385
|
-
return (h("div", { class: [`${this.mergedClsPrefix}-chat`, this.themeClass], style: Object.assign(Object.assign({},
|
|
384
|
+
return (h("div", { class: [`${this.mergedClsPrefix}-chat`, this.themeClass], style: Object.assign(Object.assign({}, heightStyle), this.cssVars) },
|
|
386
385
|
h(UFlex, { wrap: false, size: [20, 20], style: { width: '100%' } }, {
|
|
387
386
|
default: () => (h(Fragment, null,
|
|
388
387
|
resolveSlot($slots.sidebar, () => [
|
|
@@ -391,11 +390,12 @@ export default defineComponent({
|
|
|
391
390
|
sidebarHeaderActions: $slots.sidebarHeaderActions
|
|
392
391
|
})
|
|
393
392
|
]),
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
393
|
+
this.selectedChatId &&
|
|
394
|
+
resolveSlot($slots.default, () => [
|
|
395
|
+
h(ChatMainArea, null, {
|
|
396
|
+
headerActions: $slots.headerActions
|
|
397
|
+
})
|
|
398
|
+
])))
|
|
399
399
|
})));
|
|
400
400
|
}
|
|
401
401
|
});
|