@uzum-tech/ui 2.4.1 → 2.4.3
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 +243 -74
- package/dist/index.mjs +244 -75
- package/dist/index.prod.js +3 -3
- package/dist/index.prod.mjs +3 -3
- package/es/_internal/selection/src/Selection.d.ts +27 -0
- package/es/_internal/selection/src/Selection.mjs +54 -26
- package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.d.ts +35 -0
- package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.mjs +15 -0
- package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.d.ts +17 -0
- package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.mjs +16 -0
- package/es/_internal/selection/src/styles/index.cssr.mjs +45 -4
- package/es/_internal/selection/styles/light.d.ts +6 -0
- package/es/_internal/selection/styles/light.mjs +3 -0
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.mjs +1 -1
- package/es/_utils/markdown/constants.d.ts +1 -0
- package/es/_utils/markdown/constants.mjs +1 -0
- package/es/_utils/markdown/index.d.ts +1 -1
- package/es/_utils/markdown/index.mjs +1 -1
- package/es/_utils/markdown/render-markdown.d.ts +3 -0
- package/es/_utils/markdown/render-markdown.mjs +18 -3
- package/es/_utils/vue/index.d.ts +1 -0
- package/es/_utils/vue/index.mjs +1 -0
- package/es/_utils/vue/resolve-reactive.d.ts +3 -0
- package/es/_utils/vue/resolve-reactive.mjs +9 -0
- package/es/cascader/src/Cascader.d.ts +30 -0
- package/es/cascader/src/CascaderMenu.d.ts +6 -0
- package/es/cascader/src/CascaderOption.d.ts +6 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +6 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +6 -0
- package/es/cascader/styles/light.d.ts +3 -0
- package/es/chat/src/Chat.d.ts +132 -0
- package/es/chat/src/ChatListItems.d.ts +45 -0
- package/es/chat/src/ChatListItems.mjs +16 -11
- package/es/chat/src/ChatMainArea.d.ts +45 -0
- package/es/chat/src/ChatMainArea.mjs +2 -1
- package/es/chat/src/ChatMessages.d.ts +46 -1
- package/es/chat/src/ChatMessages.mjs +6 -5
- package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +36 -0
- package/es/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +9 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +36 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.mjs +2 -1
- package/es/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +9 -0
- package/es/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +36 -0
- package/es/chat/src/ChatParts/ChatHeader/ChatHeader.mjs +3 -6
- package/es/chat/src/ChatParts/ChatHeader/interface.d.ts +9 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +36 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +9 -0
- package/es/chat/src/ChatParts/Sidebar.d.ts +12 -0
- package/es/chat/src/interface.d.ts +26 -34
- package/es/chat/styles/dark.d.ts +3 -0
- package/es/chat/styles/light.d.ts +3 -0
- package/es/chat/tests/utils/constants.d.ts +12 -0
- package/es/chat/tests/utils/constants.mjs +12 -0
- package/es/chat/tests/utils/create-chat-item-mock.d.ts +2 -0
- package/es/chat/tests/utils/create-chat-item-mock.mjs +9 -0
- package/es/chat/tests/utils/create-chat-message-mock.d.ts +2 -0
- package/es/chat/tests/utils/create-chat-message-mock.mjs +13 -0
- package/es/components.d.ts +457 -4
- package/es/data-table/src/DataTable.d.ts +24 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +12 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +12 -0
- package/es/data-table/src/TableParts/Body.d.ts +12 -0
- package/es/data-table/src/TableParts/Header.d.ts +12 -0
- package/es/data-table/src/interface.d.ts +9 -0
- package/es/data-table/styles/light.d.ts +3 -0
- package/es/date-picker/src/DatePicker.d.ts +30 -0
- package/es/date-picker/src/panel/date.d.ts +6 -0
- package/es/date-picker/src/panel/daterange.d.ts +6 -0
- package/es/date-picker/src/panel/datetime.d.ts +6 -0
- package/es/date-picker/src/panel/datetimerange.d.ts +6 -0
- package/es/date-picker/src/panel/panelMonth.d.ts +24 -0
- package/es/date-picker/src/panel/panelMonthContent.d.ts +6 -0
- package/es/date-picker/src/panel/panelYear.d.ts +24 -0
- package/es/date-picker/src/panel/panelYearContent.d.ts +6 -0
- package/es/date-picker/src/panel/use-calendar.d.ts +6 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +6 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +6 -0
- package/es/date-picker/styles/light.d.ts +3 -0
- package/es/date-picker-v2/src/DatePickerV2.d.ts +30 -0
- package/es/date-picker-v2/styles/dark.d.ts +3 -0
- package/es/date-picker-v2/styles/light.d.ts +3 -0
- package/es/editor/src/Editor.d.ts +18 -0
- package/es/editor/src/Editor.mjs +14 -2
- package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +18 -0
- package/es/editor/src/EditorParts/EditorContent/interface.d.ts +9 -0
- package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +21 -0
- package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +9 -0
- package/es/editor/src/interface.d.ts +9 -0
- package/es/editor/styles/dark.d.ts +3 -0
- package/es/editor/styles/light.d.ts +3 -0
- package/es/message-bubble/src/MessageBubble.d.ts +10 -10
- package/es/message-bubble/src/MessageBubble.mjs +13 -17
- package/es/message-bubble/src/interface.d.ts +5 -5
- package/es/message-bubble/src/interface.mjs +3 -3
- package/es/pagination/src/Pagination.d.ts +24 -0
- package/es/pagination/src/interface.d.ts +9 -0
- package/es/pagination/styles/light.d.ts +3 -0
- package/es/select/src/Select.d.ts +24 -0
- package/es/select/src/Select.mjs +2 -1
- package/es/select/src/interface.d.ts +10 -0
- package/es/select/src/interface.mjs +1 -0
- package/es/select/src/styles/index.cssr.mjs +4 -1
- package/es/select/styles/light.d.ts +3 -0
- package/es/tree-select/src/TreeSelect.d.ts +30 -0
- package/es/tree-select/styles/light.d.ts +3 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_internal/selection/src/Selection.d.ts +27 -0
- package/lib/_internal/selection/src/Selection.js +43 -35
- package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.d.ts +35 -0
- package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.js +13 -0
- package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.d.ts +17 -0
- package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.js +19 -0
- package/lib/_internal/selection/src/styles/index.cssr.js +45 -4
- package/lib/_internal/selection/styles/light.d.ts +6 -0
- package/lib/_internal/selection/styles/light.js +3 -0
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +3 -1
- package/lib/_utils/markdown/constants.d.ts +1 -0
- package/lib/_utils/markdown/constants.js +2 -1
- package/lib/_utils/markdown/index.d.ts +1 -1
- package/lib/_utils/markdown/index.js +4 -1
- package/lib/_utils/markdown/render-markdown.d.ts +3 -0
- package/lib/_utils/markdown/render-markdown.js +20 -2
- package/lib/_utils/vue/index.d.ts +1 -0
- package/lib/_utils/vue/index.js +4 -1
- package/lib/_utils/vue/resolve-reactive.d.ts +3 -0
- package/lib/_utils/vue/resolve-reactive.js +17 -0
- package/lib/cascader/src/Cascader.d.ts +30 -0
- package/lib/cascader/src/CascaderMenu.d.ts +6 -0
- package/lib/cascader/src/CascaderOption.d.ts +6 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +6 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +6 -0
- package/lib/cascader/styles/light.d.ts +3 -0
- package/lib/chat/src/Chat.d.ts +132 -0
- package/lib/chat/src/ChatListItems.d.ts +45 -0
- package/lib/chat/src/ChatListItems.js +20 -17
- package/lib/chat/src/ChatMainArea.d.ts +45 -0
- package/lib/chat/src/ChatMainArea.js +2 -2
- package/lib/chat/src/ChatMessages.d.ts +46 -1
- package/lib/chat/src/ChatMessages.js +6 -5
- package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +36 -0
- package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +9 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +36 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.js +4 -1
- package/lib/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +9 -0
- package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +36 -0
- package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.js +2 -2
- package/lib/chat/src/ChatParts/ChatHeader/interface.d.ts +9 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +36 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +9 -0
- package/lib/chat/src/ChatParts/Sidebar.d.ts +12 -0
- package/lib/chat/src/interface.d.ts +26 -34
- package/lib/chat/styles/dark.d.ts +3 -0
- package/lib/chat/styles/light.d.ts +3 -0
- package/lib/chat/tests/utils/constants.d.ts +12 -0
- package/lib/chat/tests/utils/constants.js +15 -0
- package/lib/chat/tests/utils/create-chat-item-mock.d.ts +2 -0
- package/lib/chat/tests/utils/create-chat-item-mock.js +10 -0
- package/lib/chat/tests/utils/create-chat-message-mock.d.ts +2 -0
- package/lib/chat/tests/utils/create-chat-message-mock.js +14 -0
- package/lib/components.d.ts +457 -4
- package/lib/data-table/src/DataTable.d.ts +24 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +12 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +12 -0
- package/lib/data-table/src/TableParts/Body.d.ts +12 -0
- package/lib/data-table/src/TableParts/Header.d.ts +12 -0
- package/lib/data-table/src/interface.d.ts +9 -0
- package/lib/data-table/styles/light.d.ts +3 -0
- package/lib/date-picker/src/DatePicker.d.ts +30 -0
- package/lib/date-picker/src/panel/date.d.ts +6 -0
- package/lib/date-picker/src/panel/daterange.d.ts +6 -0
- package/lib/date-picker/src/panel/datetime.d.ts +6 -0
- package/lib/date-picker/src/panel/datetimerange.d.ts +6 -0
- package/lib/date-picker/src/panel/panelMonth.d.ts +24 -0
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +6 -0
- package/lib/date-picker/src/panel/panelYear.d.ts +24 -0
- package/lib/date-picker/src/panel/panelYearContent.d.ts +6 -0
- package/lib/date-picker/src/panel/use-calendar.d.ts +6 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +6 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +6 -0
- package/lib/date-picker/styles/light.d.ts +3 -0
- package/lib/date-picker-v2/src/DatePickerV2.d.ts +30 -0
- package/lib/date-picker-v2/styles/dark.d.ts +3 -0
- package/lib/date-picker-v2/styles/light.d.ts +3 -0
- package/lib/editor/src/Editor.d.ts +20 -2
- package/lib/editor/src/Editor.js +13 -1
- package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +18 -0
- package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +9 -0
- package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +21 -0
- package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +9 -0
- package/lib/editor/src/interface.d.ts +9 -0
- package/lib/editor/styles/dark.d.ts +3 -0
- package/lib/editor/styles/light.d.ts +3 -0
- package/lib/message-bubble/src/MessageBubble.d.ts +10 -10
- package/lib/message-bubble/src/MessageBubble.js +15 -19
- package/lib/message-bubble/src/interface.d.ts +5 -5
- package/lib/message-bubble/src/interface.js +3 -3
- package/lib/pagination/src/Pagination.d.ts +24 -0
- package/lib/pagination/src/interface.d.ts +9 -0
- package/lib/pagination/styles/light.d.ts +3 -0
- package/lib/select/src/Select.d.ts +24 -0
- package/lib/select/src/Select.js +5 -2
- package/lib/select/src/interface.d.ts +10 -0
- package/lib/select/src/interface.js +1 -1
- package/lib/select/src/styles/index.cssr.js +3 -0
- package/lib/select/styles/light.d.ts +3 -0
- package/lib/tree-select/src/TreeSelect.d.ts +30 -0
- package/lib/tree-select/styles/light.d.ts +3 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +17 -7
|
@@ -246,8 +246,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
246
246
|
caretColorSecondary: string;
|
|
247
247
|
filterCounterTextColor: string;
|
|
248
248
|
filterCounterTextColorDisabled: string;
|
|
249
|
+
filterCounterGap: string;
|
|
250
|
+
filterSuffixWrapperGap: string;
|
|
249
251
|
arrowColorSecondary: string;
|
|
250
252
|
clearColorSecondary: string;
|
|
253
|
+
loadingColorSecondary: string;
|
|
251
254
|
colorSecondary: string;
|
|
252
255
|
textColorSecondary: string;
|
|
253
256
|
borderSecondary: string;
|
|
@@ -1119,8 +1122,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1119
1122
|
caretColorSecondary: string;
|
|
1120
1123
|
filterCounterTextColor: string;
|
|
1121
1124
|
filterCounterTextColorDisabled: string;
|
|
1125
|
+
filterCounterGap: string;
|
|
1126
|
+
filterSuffixWrapperGap: string;
|
|
1122
1127
|
arrowColorSecondary: string;
|
|
1123
1128
|
clearColorSecondary: string;
|
|
1129
|
+
loadingColorSecondary: string;
|
|
1124
1130
|
colorSecondary: string;
|
|
1125
1131
|
textColorSecondary: string;
|
|
1126
1132
|
borderSecondary: string;
|
|
@@ -1992,8 +1998,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1992
1998
|
caretColorSecondary: string;
|
|
1993
1999
|
filterCounterTextColor: string;
|
|
1994
2000
|
filterCounterTextColorDisabled: string;
|
|
2001
|
+
filterCounterGap: string;
|
|
2002
|
+
filterSuffixWrapperGap: string;
|
|
1995
2003
|
arrowColorSecondary: string;
|
|
1996
2004
|
clearColorSecondary: string;
|
|
2005
|
+
loadingColorSecondary: string;
|
|
1997
2006
|
colorSecondary: string;
|
|
1998
2007
|
textColorSecondary: string;
|
|
1999
2008
|
borderSecondary: string;
|
|
@@ -2870,8 +2879,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2870
2879
|
caretColorSecondary: string;
|
|
2871
2880
|
filterCounterTextColor: string;
|
|
2872
2881
|
filterCounterTextColorDisabled: string;
|
|
2882
|
+
filterCounterGap: string;
|
|
2883
|
+
filterSuffixWrapperGap: string;
|
|
2873
2884
|
arrowColorSecondary: string;
|
|
2874
2885
|
clearColorSecondary: string;
|
|
2886
|
+
loadingColorSecondary: string;
|
|
2875
2887
|
colorSecondary: string;
|
|
2876
2888
|
textColorSecondary: string;
|
|
2877
2889
|
borderSecondary: string;
|
|
@@ -3619,8 +3631,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3619
3631
|
caretColorSecondary: string;
|
|
3620
3632
|
filterCounterTextColor: string;
|
|
3621
3633
|
filterCounterTextColorDisabled: string;
|
|
3634
|
+
filterCounterGap: string;
|
|
3635
|
+
filterSuffixWrapperGap: string;
|
|
3622
3636
|
arrowColorSecondary: string;
|
|
3623
3637
|
clearColorSecondary: string;
|
|
3638
|
+
loadingColorSecondary: string;
|
|
3624
3639
|
colorSecondary: string;
|
|
3625
3640
|
textColorSecondary: string;
|
|
3626
3641
|
borderSecondary: string;
|
|
@@ -4135,8 +4150,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4135
4150
|
caretColorSecondary: string;
|
|
4136
4151
|
filterCounterTextColor: string;
|
|
4137
4152
|
filterCounterTextColorDisabled: string;
|
|
4153
|
+
filterCounterGap: string;
|
|
4154
|
+
filterSuffixWrapperGap: string;
|
|
4138
4155
|
arrowColorSecondary: string;
|
|
4139
4156
|
clearColorSecondary: string;
|
|
4157
|
+
loadingColorSecondary: string;
|
|
4140
4158
|
colorSecondary: string;
|
|
4141
4159
|
textColorSecondary: string;
|
|
4142
4160
|
borderSecondary: string;
|
|
@@ -4884,8 +4902,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4884
4902
|
caretColorSecondary: string;
|
|
4885
4903
|
filterCounterTextColor: string;
|
|
4886
4904
|
filterCounterTextColorDisabled: string;
|
|
4905
|
+
filterCounterGap: string;
|
|
4906
|
+
filterSuffixWrapperGap: string;
|
|
4887
4907
|
arrowColorSecondary: string;
|
|
4888
4908
|
clearColorSecondary: string;
|
|
4909
|
+
loadingColorSecondary: string;
|
|
4889
4910
|
colorSecondary: string;
|
|
4890
4911
|
textColorSecondary: string;
|
|
4891
4912
|
borderSecondary: string;
|
|
@@ -5400,8 +5421,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5400
5421
|
caretColorSecondary: string;
|
|
5401
5422
|
filterCounterTextColor: string;
|
|
5402
5423
|
filterCounterTextColorDisabled: string;
|
|
5424
|
+
filterCounterGap: string;
|
|
5425
|
+
filterSuffixWrapperGap: string;
|
|
5403
5426
|
arrowColorSecondary: string;
|
|
5404
5427
|
clearColorSecondary: string;
|
|
5428
|
+
loadingColorSecondary: string;
|
|
5405
5429
|
colorSecondary: string;
|
|
5406
5430
|
textColorSecondary: string;
|
|
5407
5431
|
borderSecondary: string;
|
|
@@ -6149,8 +6173,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6149
6173
|
caretColorSecondary: string;
|
|
6150
6174
|
filterCounterTextColor: string;
|
|
6151
6175
|
filterCounterTextColorDisabled: string;
|
|
6176
|
+
filterCounterGap: string;
|
|
6177
|
+
filterSuffixWrapperGap: string;
|
|
6152
6178
|
arrowColorSecondary: string;
|
|
6153
6179
|
clearColorSecondary: string;
|
|
6180
|
+
loadingColorSecondary: string;
|
|
6154
6181
|
colorSecondary: string;
|
|
6155
6182
|
textColorSecondary: string;
|
|
6156
6183
|
borderSecondary: string;
|
|
@@ -6731,8 +6758,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6731
6758
|
caretColorSecondary: string;
|
|
6732
6759
|
filterCounterTextColor: string;
|
|
6733
6760
|
filterCounterTextColorDisabled: string;
|
|
6761
|
+
filterCounterGap: string;
|
|
6762
|
+
filterSuffixWrapperGap: string;
|
|
6734
6763
|
arrowColorSecondary: string;
|
|
6735
6764
|
clearColorSecondary: string;
|
|
6765
|
+
loadingColorSecondary: string;
|
|
6736
6766
|
colorSecondary: string;
|
|
6737
6767
|
textColorSecondary: string;
|
|
6738
6768
|
borderSecondary: string;
|
|
@@ -7604,8 +7634,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7604
7634
|
caretColorSecondary: string;
|
|
7605
7635
|
filterCounterTextColor: string;
|
|
7606
7636
|
filterCounterTextColorDisabled: string;
|
|
7637
|
+
filterCounterGap: string;
|
|
7638
|
+
filterSuffixWrapperGap: string;
|
|
7607
7639
|
arrowColorSecondary: string;
|
|
7608
7640
|
clearColorSecondary: string;
|
|
7641
|
+
loadingColorSecondary: string;
|
|
7609
7642
|
colorSecondary: string;
|
|
7610
7643
|
textColorSecondary: string;
|
|
7611
7644
|
borderSecondary: string;
|
|
@@ -8477,8 +8510,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8477
8510
|
caretColorSecondary: string;
|
|
8478
8511
|
filterCounterTextColor: string;
|
|
8479
8512
|
filterCounterTextColorDisabled: string;
|
|
8513
|
+
filterCounterGap: string;
|
|
8514
|
+
filterSuffixWrapperGap: string;
|
|
8480
8515
|
arrowColorSecondary: string;
|
|
8481
8516
|
clearColorSecondary: string;
|
|
8517
|
+
loadingColorSecondary: string;
|
|
8482
8518
|
colorSecondary: string;
|
|
8483
8519
|
textColorSecondary: string;
|
|
8484
8520
|
borderSecondary: string;
|
|
@@ -250,8 +250,11 @@ export declare const chatLegacyInputProps: {
|
|
|
250
250
|
caretColorSecondary: string;
|
|
251
251
|
filterCounterTextColor: string;
|
|
252
252
|
filterCounterTextColorDisabled: string;
|
|
253
|
+
filterCounterGap: string;
|
|
254
|
+
filterSuffixWrapperGap: string;
|
|
253
255
|
arrowColorSecondary: string;
|
|
254
256
|
clearColorSecondary: string;
|
|
257
|
+
loadingColorSecondary: string;
|
|
255
258
|
colorSecondary: string;
|
|
256
259
|
textColorSecondary: string;
|
|
257
260
|
borderSecondary: string;
|
|
@@ -1123,8 +1126,11 @@ export declare const chatLegacyInputProps: {
|
|
|
1123
1126
|
caretColorSecondary: string;
|
|
1124
1127
|
filterCounterTextColor: string;
|
|
1125
1128
|
filterCounterTextColorDisabled: string;
|
|
1129
|
+
filterCounterGap: string;
|
|
1130
|
+
filterSuffixWrapperGap: string;
|
|
1126
1131
|
arrowColorSecondary: string;
|
|
1127
1132
|
clearColorSecondary: string;
|
|
1133
|
+
loadingColorSecondary: string;
|
|
1128
1134
|
colorSecondary: string;
|
|
1129
1135
|
textColorSecondary: string;
|
|
1130
1136
|
borderSecondary: string;
|
|
@@ -1996,8 +2002,11 @@ export declare const chatLegacyInputProps: {
|
|
|
1996
2002
|
caretColorSecondary: string;
|
|
1997
2003
|
filterCounterTextColor: string;
|
|
1998
2004
|
filterCounterTextColorDisabled: string;
|
|
2005
|
+
filterCounterGap: string;
|
|
2006
|
+
filterSuffixWrapperGap: string;
|
|
1999
2007
|
arrowColorSecondary: string;
|
|
2000
2008
|
clearColorSecondary: string;
|
|
2009
|
+
loadingColorSecondary: string;
|
|
2001
2010
|
colorSecondary: string;
|
|
2002
2011
|
textColorSecondary: string;
|
|
2003
2012
|
borderSecondary: string;
|
|
@@ -232,8 +232,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
232
232
|
caretColorSecondary: string;
|
|
233
233
|
filterCounterTextColor: string;
|
|
234
234
|
filterCounterTextColorDisabled: string;
|
|
235
|
+
filterCounterGap: string;
|
|
236
|
+
filterSuffixWrapperGap: string;
|
|
235
237
|
arrowColorSecondary: string;
|
|
236
238
|
clearColorSecondary: string;
|
|
239
|
+
loadingColorSecondary: string;
|
|
237
240
|
colorSecondary: string;
|
|
238
241
|
textColorSecondary: string;
|
|
239
242
|
borderSecondary: string;
|
|
@@ -981,8 +984,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
981
984
|
caretColorSecondary: string;
|
|
982
985
|
filterCounterTextColor: string;
|
|
983
986
|
filterCounterTextColorDisabled: string;
|
|
987
|
+
filterCounterGap: string;
|
|
988
|
+
filterSuffixWrapperGap: string;
|
|
984
989
|
arrowColorSecondary: string;
|
|
985
990
|
clearColorSecondary: string;
|
|
991
|
+
loadingColorSecondary: string;
|
|
986
992
|
colorSecondary: string;
|
|
987
993
|
textColorSecondary: string;
|
|
988
994
|
borderSecondary: string;
|
|
@@ -1497,8 +1503,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1497
1503
|
caretColorSecondary: string;
|
|
1498
1504
|
filterCounterTextColor: string;
|
|
1499
1505
|
filterCounterTextColorDisabled: string;
|
|
1506
|
+
filterCounterGap: string;
|
|
1507
|
+
filterSuffixWrapperGap: string;
|
|
1500
1508
|
arrowColorSecondary: string;
|
|
1501
1509
|
clearColorSecondary: string;
|
|
1510
|
+
loadingColorSecondary: string;
|
|
1502
1511
|
colorSecondary: string;
|
|
1503
1512
|
textColorSecondary: string;
|
|
1504
1513
|
borderSecondary: string;
|
|
@@ -2246,8 +2255,11 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
2246
2255
|
caretColorSecondary: string;
|
|
2247
2256
|
filterCounterTextColor: string;
|
|
2248
2257
|
filterCounterTextColorDisabled: string;
|
|
2258
|
+
filterCounterGap: string;
|
|
2259
|
+
filterSuffixWrapperGap: string;
|
|
2249
2260
|
arrowColorSecondary: string;
|
|
2250
2261
|
clearColorSecondary: string;
|
|
2262
|
+
loadingColorSecondary: string;
|
|
2251
2263
|
colorSecondary: string;
|
|
2252
2264
|
textColorSecondary: string;
|
|
2253
2265
|
borderSecondary: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNodeChild } from 'vue';
|
|
1
|
+
import type { ExtractPublicPropTypes, InjectionKey, MaybeRefOrGetter, PropType, Ref, VNodeChild } from 'vue';
|
|
2
2
|
import type { MergedTheme } from '../../_mixins';
|
|
3
3
|
import type { MarkdownOptions } from '../../_utils/markdown';
|
|
4
4
|
import type { AvatarProps } from '../../avatar';
|
|
@@ -43,9 +43,9 @@ export type ChatId = string | number | symbol;
|
|
|
43
43
|
export interface ChatListItemData {
|
|
44
44
|
id: ChatId;
|
|
45
45
|
disabled?: boolean;
|
|
46
|
-
title?: string | (() => VNodeChild);
|
|
47
|
-
subtitle?: string | (() => VNodeChild);
|
|
48
|
-
datetime?: string | number | Date | (() => VNodeChild);
|
|
46
|
+
title?: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
47
|
+
subtitle?: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
48
|
+
datetime?: MaybeRefOrGetter<string | number | Date> | (() => VNodeChild);
|
|
49
49
|
unreadCount?: number;
|
|
50
50
|
messageStatus?: MessageStatus;
|
|
51
51
|
lastMessageIsOwn?: boolean;
|
|
@@ -56,59 +56,42 @@ export interface ChatMessageMark {
|
|
|
56
56
|
id: ChatId;
|
|
57
57
|
type: ChatMessageType.MARK;
|
|
58
58
|
}
|
|
59
|
-
export interface ChatMessageText {
|
|
60
|
-
id: ChatId;
|
|
61
|
-
type: ChatMessageType.TEXT;
|
|
62
|
-
isOwn: boolean;
|
|
63
|
-
content: string | (() => VNodeChild);
|
|
64
|
-
timestamp?: string | number | Date | (() => VNodeChild);
|
|
65
|
-
status?: MessageStatus;
|
|
66
|
-
}
|
|
67
|
-
export interface ChatMessageFile {
|
|
68
|
-
id: ChatId;
|
|
69
|
-
type: ChatMessageType.FILE;
|
|
70
|
-
isOwn: boolean;
|
|
71
|
-
content?: string | (() => VNodeChild);
|
|
72
|
-
timestamp?: string | number | Date | (() => VNodeChild);
|
|
73
|
-
status?: MessageStatus;
|
|
74
|
-
attachments: ChatAttachment[];
|
|
75
|
-
}
|
|
76
59
|
export interface ChatMessageData {
|
|
77
60
|
id: ChatId;
|
|
78
61
|
type?: ChatMessageType;
|
|
79
62
|
isOwn?: boolean;
|
|
80
|
-
content?: string;
|
|
81
|
-
timestamp?: string | number | Date | (() => VNodeChild);
|
|
63
|
+
content?: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
64
|
+
timestamp?: MaybeRefOrGetter<string | number | Date> | (() => VNodeChild);
|
|
82
65
|
status?: MessageStatus;
|
|
83
|
-
date?: string;
|
|
66
|
+
date?: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
84
67
|
attachment?: ChatAttachment[];
|
|
85
68
|
uploadProps?: Partial<UploadProps>;
|
|
86
69
|
senderAvatar?: string | (() => VNodeChild);
|
|
87
|
-
senderName?: string | (() => VNodeChild);
|
|
70
|
+
senderName?: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
88
71
|
markType?: ChatMarkType;
|
|
89
|
-
title?: string | (() => VNodeChild);
|
|
72
|
+
title?: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
90
73
|
markdown?: boolean;
|
|
91
74
|
}
|
|
92
75
|
export interface ChatMessageProps {
|
|
93
76
|
id: ChatId;
|
|
94
77
|
type?: ChatMessageType;
|
|
95
78
|
isOwn?: boolean;
|
|
96
|
-
content?: string;
|
|
97
|
-
timestamp?: string | number | Date | (() => VNodeChild);
|
|
79
|
+
content?: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
80
|
+
timestamp?: MaybeRefOrGetter<string | number | Date> | (() => VNodeChild);
|
|
98
81
|
status?: MessageStatus;
|
|
99
82
|
attachment?: ChatAttachment[];
|
|
100
83
|
uploadProps?: Partial<UploadProps>;
|
|
101
84
|
senderAvatar?: string | (() => VNodeChild);
|
|
102
|
-
senderName?: string | (() => VNodeChild);
|
|
85
|
+
senderName?: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
103
86
|
disabled?: boolean;
|
|
104
|
-
title?: string | (() => VNodeChild);
|
|
87
|
+
title?: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
105
88
|
}
|
|
106
89
|
export interface ChatListItemProps {
|
|
107
90
|
id: ChatId;
|
|
108
91
|
disabled?: boolean;
|
|
109
|
-
title?: string | (() => VNodeChild);
|
|
110
|
-
subtitle?: string | (() => VNodeChild);
|
|
111
|
-
datetime?: string | number | Date | (() => VNodeChild);
|
|
92
|
+
title?: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
93
|
+
subtitle?: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
94
|
+
datetime?: MaybeRefOrGetter<string | number | Date> | (() => VNodeChild);
|
|
112
95
|
unreadCount?: number;
|
|
113
96
|
messageStatus?: MessageStatus;
|
|
114
97
|
lastMessageIsOwn?: boolean;
|
|
@@ -232,7 +215,7 @@ export interface ChatMessageSlots {
|
|
|
232
215
|
}
|
|
233
216
|
export interface ChatBubbleAction {
|
|
234
217
|
key: ChatBubbleActionKey | string;
|
|
235
|
-
label: string | (() => VNodeChild);
|
|
218
|
+
label: MaybeRefOrGetter<string> | (() => VNodeChild);
|
|
236
219
|
handler: (message: ChatMessageData) => void;
|
|
237
220
|
visible?: (message: ChatMessageData) => boolean;
|
|
238
221
|
}
|
|
@@ -845,8 +828,11 @@ export declare const chatProps: {
|
|
|
845
828
|
caretColorSecondary: string;
|
|
846
829
|
filterCounterTextColor: string;
|
|
847
830
|
filterCounterTextColorDisabled: string;
|
|
831
|
+
filterCounterGap: string;
|
|
832
|
+
filterSuffixWrapperGap: string;
|
|
848
833
|
arrowColorSecondary: string;
|
|
849
834
|
clearColorSecondary: string;
|
|
835
|
+
loadingColorSecondary: string;
|
|
850
836
|
colorSecondary: string;
|
|
851
837
|
textColorSecondary: string;
|
|
852
838
|
borderSecondary: string;
|
|
@@ -1718,8 +1704,11 @@ export declare const chatProps: {
|
|
|
1718
1704
|
caretColorSecondary: string;
|
|
1719
1705
|
filterCounterTextColor: string;
|
|
1720
1706
|
filterCounterTextColorDisabled: string;
|
|
1707
|
+
filterCounterGap: string;
|
|
1708
|
+
filterSuffixWrapperGap: string;
|
|
1721
1709
|
arrowColorSecondary: string;
|
|
1722
1710
|
clearColorSecondary: string;
|
|
1711
|
+
loadingColorSecondary: string;
|
|
1723
1712
|
colorSecondary: string;
|
|
1724
1713
|
textColorSecondary: string;
|
|
1725
1714
|
borderSecondary: string;
|
|
@@ -2591,8 +2580,11 @@ export declare const chatProps: {
|
|
|
2591
2580
|
caretColorSecondary: string;
|
|
2592
2581
|
filterCounterTextColor: string;
|
|
2593
2582
|
filterCounterTextColorDisabled: string;
|
|
2583
|
+
filterCounterGap: string;
|
|
2584
|
+
filterSuffixWrapperGap: string;
|
|
2594
2585
|
arrowColorSecondary: string;
|
|
2595
2586
|
clearColorSecondary: string;
|
|
2587
|
+
loadingColorSecondary: string;
|
|
2596
2588
|
colorSecondary: string;
|
|
2597
2589
|
textColorSecondary: string;
|
|
2598
2590
|
borderSecondary: string;
|
|
@@ -217,8 +217,11 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
|
|
|
217
217
|
caretColorSecondary: string;
|
|
218
218
|
filterCounterTextColor: string;
|
|
219
219
|
filterCounterTextColorDisabled: string;
|
|
220
|
+
filterCounterGap: string;
|
|
221
|
+
filterSuffixWrapperGap: string;
|
|
220
222
|
arrowColorSecondary: string;
|
|
221
223
|
clearColorSecondary: string;
|
|
224
|
+
loadingColorSecondary: string;
|
|
222
225
|
colorSecondary: string;
|
|
223
226
|
textColorSecondary: string;
|
|
224
227
|
borderSecondary: string;
|
|
@@ -266,8 +266,11 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
|
|
|
266
266
|
caretColorSecondary: string;
|
|
267
267
|
filterCounterTextColor: string;
|
|
268
268
|
filterCounterTextColorDisabled: string;
|
|
269
|
+
filterCounterGap: string;
|
|
270
|
+
filterSuffixWrapperGap: string;
|
|
269
271
|
arrowColorSecondary: string;
|
|
270
272
|
clearColorSecondary: string;
|
|
273
|
+
loadingColorSecondary: string;
|
|
271
274
|
colorSecondary: string;
|
|
272
275
|
textColorSecondary: string;
|
|
273
276
|
borderSecondary: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const manyChatsTest: {
|
|
2
|
+
readonly chatCount: 15;
|
|
3
|
+
readonly messagesPerChat: 8;
|
|
4
|
+
readonly runCount: 2;
|
|
5
|
+
};
|
|
6
|
+
export declare const messageBubbleTest: {
|
|
7
|
+
readonly messageCount: 20;
|
|
8
|
+
};
|
|
9
|
+
export declare const sendMessageTest: {
|
|
10
|
+
readonly messageToSendCount: 20;
|
|
11
|
+
readonly sendingDelayMs: 150;
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sendMessageTest = exports.messageBubbleTest = exports.manyChatsTest = void 0;
|
|
4
|
+
exports.manyChatsTest = {
|
|
5
|
+
chatCount: 15,
|
|
6
|
+
messagesPerChat: 8,
|
|
7
|
+
runCount: 2
|
|
8
|
+
};
|
|
9
|
+
exports.messageBubbleTest = {
|
|
10
|
+
messageCount: 20
|
|
11
|
+
};
|
|
12
|
+
exports.sendMessageTest = {
|
|
13
|
+
messageToSendCount: 20,
|
|
14
|
+
sendingDelayMs: 150
|
|
15
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = createChatItemMock;
|
|
4
|
+
function createChatItemMock(length) {
|
|
5
|
+
return Array.from({ length }, (_, index) => ({
|
|
6
|
+
id: index + 1,
|
|
7
|
+
title: `**Чат ${index + 1}**`,
|
|
8
|
+
subtitle: `*последнее сообщение ${index + 1}*`
|
|
9
|
+
}));
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = createChatMessageMock;
|
|
4
|
+
const ui_1 = require("@uzum-tech/ui");
|
|
5
|
+
function createChatMessageMock(chatId, length) {
|
|
6
|
+
return Array.from({ length }, (_, index) => ({
|
|
7
|
+
id: `${chatId}-${index}`,
|
|
8
|
+
type: ui_1.ChatMessageType.TEXT,
|
|
9
|
+
isOwn: index % 2 === 1,
|
|
10
|
+
content: `Сообщение **${index}** в чате ${chatId}\n\n- пункт\n- пункт`,
|
|
11
|
+
timestamp: '10:00',
|
|
12
|
+
status: ui_1.MessageStatus.READ
|
|
13
|
+
}));
|
|
14
|
+
}
|