@uzum-tech/ui 1.14.0 → 1.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/dist/index.js +177 -143
  2. package/dist/index.prod.js +2 -2
  3. package/es/auto-complete/src/AutoComplete.d.ts +70 -0
  4. package/es/auto-complete/styles/light.d.ts +7 -0
  5. package/es/chat/src/Chat.d.ts +70 -0
  6. package/es/chat/src/ChatListItems.d.ts +77 -0
  7. package/es/chat/src/ChatMessages.d.ts +77 -0
  8. package/es/chat/src/ChatParts/MainArea.js +47 -54
  9. package/es/chat/src/ChatParts/Sidebar.d.ts +7 -0
  10. package/es/chat/src/styles/index.cssr.js +12 -7
  11. package/es/chat/styles/dark.d.ts +7 -0
  12. package/es/chat/styles/light.d.ts +7 -0
  13. package/es/color-picker/src/ColorInputUnit.d.ts +7 -0
  14. package/es/color-picker/src/ColorPicker.d.ts +63 -0
  15. package/es/color-picker/styles/light.d.ts +7 -0
  16. package/es/data-table/src/DataTable.d.ts +56 -0
  17. package/es/data-table/src/HeaderButton/FilterButton.d.ts +14 -0
  18. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
  19. package/es/data-table/src/TableParts/Body.d.ts +14 -0
  20. package/es/data-table/src/TableParts/Header.d.ts +14 -0
  21. package/es/data-table/src/interface.d.ts +21 -0
  22. package/es/data-table/styles/light.d.ts +7 -0
  23. package/es/date-picker/src/DatePicker.d.ts +147 -0
  24. package/es/date-picker/src/panel/date.d.ts +21 -0
  25. package/es/date-picker/src/panel/daterange.d.ts +21 -0
  26. package/es/date-picker/src/panel/datetime.d.ts +21 -0
  27. package/es/date-picker/src/panel/datetimerange.d.ts +21 -0
  28. package/es/date-picker/src/panel/panelMonth.d.ts +42 -0
  29. package/es/date-picker/src/panel/panelMonthContent.d.ts +21 -0
  30. package/es/date-picker/src/panel/panelYear.d.ts +42 -0
  31. package/es/date-picker/src/panel/panelYearContent.d.ts +21 -0
  32. package/es/date-picker/src/panel/use-calendar.d.ts +21 -0
  33. package/es/date-picker/src/panel/use-dual-calendar.d.ts +21 -0
  34. package/es/date-picker/src/panel/use-panel-common.d.ts +21 -0
  35. package/es/date-picker/styles/light.d.ts +14 -0
  36. package/es/date-picker-v2/src/DatePickerV2.d.ts +70 -0
  37. package/es/date-picker-v2/styles/dark.d.ts +7 -0
  38. package/es/date-picker-v2/styles/light.d.ts +7 -0
  39. package/es/dynamic-input/src/DynamicInput.d.ts +70 -0
  40. package/es/dynamic-input/src/InputPreset.d.ts +7 -0
  41. package/es/dynamic-input/src/PairPreset.d.ts +7 -0
  42. package/es/dynamic-input/styles/light.d.ts +7 -0
  43. package/es/dynamic-tags/src/DynamicTags.d.ts +70 -0
  44. package/es/dynamic-tags/styles/light.d.ts +7 -0
  45. package/es/input/src/Input.d.ts +77 -0
  46. package/es/input/src/Input.js +9 -1
  47. package/es/input/src/InputGroupLabel.d.ts +63 -0
  48. package/es/input/src/styles/input.cssr.js +1 -1
  49. package/es/input/styles/light.d.ts +7 -0
  50. package/es/input/styles/light.js +11 -1
  51. package/es/input-number/src/InputNumber.d.ts +70 -0
  52. package/es/input-number/styles/light.d.ts +7 -0
  53. package/es/input-otp/src/InputOtp.d.ts +70 -0
  54. package/es/input-otp/styles/light.d.ts +7 -0
  55. package/es/legacy-transfer/src/Transfer.d.ts +70 -0
  56. package/es/legacy-transfer/src/TransferFilter.d.ts +7 -0
  57. package/es/legacy-transfer/src/TransferList.d.ts +7 -0
  58. package/es/legacy-transfer/src/TransferListItem.d.ts +7 -0
  59. package/es/legacy-transfer/styles/light.d.ts +7 -0
  60. package/es/mention/src/Mention.d.ts +70 -0
  61. package/es/mention/styles/light.d.ts +7 -0
  62. package/es/pagination/src/Pagination.d.ts +70 -0
  63. package/es/pagination/styles/light.d.ts +7 -0
  64. package/es/time-picker/src/Panel.d.ts +7 -0
  65. package/es/time-picker/src/TimePicker.d.ts +70 -0
  66. package/es/time-picker/styles/light.d.ts +7 -0
  67. package/es/transfer/src/Transfer.d.ts +70 -0
  68. package/es/transfer/src/TransferFilter.d.ts +7 -0
  69. package/es/transfer/src/TransferList.d.ts +7 -0
  70. package/es/transfer/src/TransferListItem.d.ts +7 -0
  71. package/es/transfer/styles/light.d.ts +7 -0
  72. package/es/version.d.ts +1 -1
  73. package/es/version.js +1 -1
  74. package/lib/auto-complete/src/AutoComplete.d.ts +70 -0
  75. package/lib/auto-complete/styles/light.d.ts +7 -0
  76. package/lib/chat/src/Chat.d.ts +70 -0
  77. package/lib/chat/src/ChatListItems.d.ts +77 -0
  78. package/lib/chat/src/ChatMessages.d.ts +77 -0
  79. package/lib/chat/src/ChatParts/MainArea.js +47 -54
  80. package/lib/chat/src/ChatParts/Sidebar.d.ts +7 -0
  81. package/lib/chat/src/styles/index.cssr.js +12 -7
  82. package/lib/chat/styles/dark.d.ts +7 -0
  83. package/lib/chat/styles/light.d.ts +7 -0
  84. package/lib/color-picker/src/ColorInputUnit.d.ts +7 -0
  85. package/lib/color-picker/src/ColorPicker.d.ts +63 -0
  86. package/lib/color-picker/styles/light.d.ts +7 -0
  87. package/lib/data-table/src/DataTable.d.ts +56 -0
  88. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +14 -0
  89. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +14 -0
  90. package/lib/data-table/src/TableParts/Body.d.ts +14 -0
  91. package/lib/data-table/src/TableParts/Header.d.ts +14 -0
  92. package/lib/data-table/src/interface.d.ts +21 -0
  93. package/lib/data-table/styles/light.d.ts +7 -0
  94. package/lib/date-picker/src/DatePicker.d.ts +147 -0
  95. package/lib/date-picker/src/panel/date.d.ts +21 -0
  96. package/lib/date-picker/src/panel/daterange.d.ts +21 -0
  97. package/lib/date-picker/src/panel/datetime.d.ts +21 -0
  98. package/lib/date-picker/src/panel/datetimerange.d.ts +21 -0
  99. package/lib/date-picker/src/panel/panelMonth.d.ts +42 -0
  100. package/lib/date-picker/src/panel/panelMonthContent.d.ts +21 -0
  101. package/lib/date-picker/src/panel/panelYear.d.ts +42 -0
  102. package/lib/date-picker/src/panel/panelYearContent.d.ts +21 -0
  103. package/lib/date-picker/src/panel/use-calendar.d.ts +21 -0
  104. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +21 -0
  105. package/lib/date-picker/src/panel/use-panel-common.d.ts +21 -0
  106. package/lib/date-picker/styles/light.d.ts +14 -0
  107. package/lib/date-picker-v2/src/DatePickerV2.d.ts +70 -0
  108. package/lib/date-picker-v2/styles/dark.d.ts +7 -0
  109. package/lib/date-picker-v2/styles/light.d.ts +7 -0
  110. package/lib/dynamic-input/src/DynamicInput.d.ts +70 -0
  111. package/lib/dynamic-input/src/InputPreset.d.ts +7 -0
  112. package/lib/dynamic-input/src/PairPreset.d.ts +7 -0
  113. package/lib/dynamic-input/styles/light.d.ts +7 -0
  114. package/lib/dynamic-tags/src/DynamicTags.d.ts +70 -0
  115. package/lib/dynamic-tags/styles/light.d.ts +7 -0
  116. package/lib/input/src/Input.d.ts +77 -0
  117. package/lib/input/src/Input.js +9 -1
  118. package/lib/input/src/InputGroupLabel.d.ts +63 -0
  119. package/lib/input/src/styles/input.cssr.js +1 -1
  120. package/lib/input/styles/light.d.ts +7 -0
  121. package/lib/input/styles/light.js +11 -1
  122. package/lib/input-number/src/InputNumber.d.ts +70 -0
  123. package/lib/input-number/styles/light.d.ts +7 -0
  124. package/lib/input-otp/src/InputOtp.d.ts +70 -0
  125. package/lib/input-otp/styles/light.d.ts +7 -0
  126. package/lib/legacy-transfer/src/Transfer.d.ts +70 -0
  127. package/lib/legacy-transfer/src/TransferFilter.d.ts +7 -0
  128. package/lib/legacy-transfer/src/TransferList.d.ts +7 -0
  129. package/lib/legacy-transfer/src/TransferListItem.d.ts +7 -0
  130. package/lib/legacy-transfer/styles/light.d.ts +7 -0
  131. package/lib/mention/src/Mention.d.ts +70 -0
  132. package/lib/mention/styles/light.d.ts +7 -0
  133. package/lib/pagination/src/Pagination.d.ts +70 -0
  134. package/lib/pagination/styles/light.d.ts +7 -0
  135. package/lib/time-picker/src/Panel.d.ts +7 -0
  136. package/lib/time-picker/src/TimePicker.d.ts +70 -0
  137. package/lib/time-picker/styles/light.d.ts +7 -0
  138. package/lib/transfer/src/Transfer.d.ts +70 -0
  139. package/lib/transfer/src/TransferFilter.d.ts +7 -0
  140. package/lib/transfer/src/TransferList.d.ts +7 -0
  141. package/lib/transfer/src/TransferListItem.d.ts +7 -0
  142. package/lib/transfer/styles/light.d.ts +7 -0
  143. package/lib/version.d.ts +1 -1
  144. package/lib/version.js +1 -1
  145. package/package.json +1 -1
  146. package/web-types.json +1 -1
@@ -128,6 +128,13 @@ export declare const chatMessagesProps: {
128
128
  borderFocus: string;
129
129
  boxShadowFocus: string;
130
130
  loadingColor: string;
131
+ loadingColorSuccess: string;
132
+ borderSuccess: string;
133
+ borderHoverSuccess: string;
134
+ colorFocusSuccess: string;
135
+ borderFocusSuccess: string;
136
+ boxShadowFocusSuccess: string;
137
+ caretColorSuccess: string;
131
138
  loadingColorWarning: string;
132
139
  borderWarning: string;
133
140
  borderHoverWarning: string;
@@ -826,6 +833,13 @@ export declare const chatMessagesProps: {
826
833
  borderFocus: string;
827
834
  boxShadowFocus: string;
828
835
  loadingColor: string;
836
+ loadingColorSuccess: string;
837
+ borderSuccess: string;
838
+ borderHoverSuccess: string;
839
+ colorFocusSuccess: string;
840
+ borderFocusSuccess: string;
841
+ boxShadowFocusSuccess: string;
842
+ caretColorSuccess: string;
829
843
  loadingColorWarning: string;
830
844
  borderWarning: string;
831
845
  borderHoverWarning: string;
@@ -1524,6 +1538,13 @@ export declare const chatMessagesProps: {
1524
1538
  borderFocus: string;
1525
1539
  boxShadowFocus: string;
1526
1540
  loadingColor: string;
1541
+ loadingColorSuccess: string;
1542
+ borderSuccess: string;
1543
+ borderHoverSuccess: string;
1544
+ colorFocusSuccess: string;
1545
+ borderFocusSuccess: string;
1546
+ boxShadowFocusSuccess: string;
1547
+ caretColorSuccess: string;
1527
1548
  loadingColorWarning: string;
1528
1549
  borderWarning: string;
1529
1550
  borderHoverWarning: string;
@@ -2273,6 +2294,13 @@ declare const _default: import("vue").DefineComponent<{
2273
2294
  borderFocus: string;
2274
2295
  boxShadowFocus: string;
2275
2296
  loadingColor: string;
2297
+ loadingColorSuccess: string;
2298
+ borderSuccess: string;
2299
+ borderHoverSuccess: string;
2300
+ colorFocusSuccess: string;
2301
+ borderFocusSuccess: string;
2302
+ boxShadowFocusSuccess: string;
2303
+ caretColorSuccess: string;
2276
2304
  loadingColorWarning: string;
2277
2305
  borderWarning: string;
2278
2306
  borderHoverWarning: string;
@@ -2971,6 +2999,13 @@ declare const _default: import("vue").DefineComponent<{
2971
2999
  borderFocus: string;
2972
3000
  boxShadowFocus: string;
2973
3001
  loadingColor: string;
3002
+ loadingColorSuccess: string;
3003
+ borderSuccess: string;
3004
+ borderHoverSuccess: string;
3005
+ colorFocusSuccess: string;
3006
+ borderFocusSuccess: string;
3007
+ boxShadowFocusSuccess: string;
3008
+ caretColorSuccess: string;
2974
3009
  loadingColorWarning: string;
2975
3010
  borderWarning: string;
2976
3011
  borderHoverWarning: string;
@@ -3669,6 +3704,13 @@ declare const _default: import("vue").DefineComponent<{
3669
3704
  borderFocus: string;
3670
3705
  boxShadowFocus: string;
3671
3706
  loadingColor: string;
3707
+ loadingColorSuccess: string;
3708
+ borderSuccess: string;
3709
+ borderHoverSuccess: string;
3710
+ colorFocusSuccess: string;
3711
+ borderFocusSuccess: string;
3712
+ boxShadowFocusSuccess: string;
3713
+ caretColorSuccess: string;
3672
3714
  loadingColorWarning: string;
3673
3715
  borderWarning: string;
3674
3716
  borderHoverWarning: string;
@@ -4372,6 +4414,13 @@ declare const _default: import("vue").DefineComponent<{
4372
4414
  borderFocus: string;
4373
4415
  boxShadowFocus: string;
4374
4416
  loadingColor: string;
4417
+ loadingColorSuccess: string;
4418
+ borderSuccess: string;
4419
+ borderHoverSuccess: string;
4420
+ colorFocusSuccess: string;
4421
+ borderFocusSuccess: string;
4422
+ boxShadowFocusSuccess: string;
4423
+ caretColorSuccess: string;
4375
4424
  loadingColorWarning: string;
4376
4425
  borderWarning: string;
4377
4426
  borderHoverWarning: string;
@@ -5327,6 +5376,13 @@ declare const _default: import("vue").DefineComponent<{
5327
5376
  borderFocus: string;
5328
5377
  boxShadowFocus: string;
5329
5378
  loadingColor: string;
5379
+ loadingColorSuccess: string;
5380
+ borderSuccess: string;
5381
+ borderHoverSuccess: string;
5382
+ colorFocusSuccess: string;
5383
+ borderFocusSuccess: string;
5384
+ boxShadowFocusSuccess: string;
5385
+ caretColorSuccess: string;
5330
5386
  loadingColorWarning: string;
5331
5387
  borderWarning: string;
5332
5388
  borderHoverWarning: string;
@@ -6369,6 +6425,13 @@ declare const _default: import("vue").DefineComponent<{
6369
6425
  borderFocus: string;
6370
6426
  boxShadowFocus: string;
6371
6427
  loadingColor: string;
6428
+ loadingColorSuccess: string;
6429
+ borderSuccess: string;
6430
+ borderHoverSuccess: string;
6431
+ colorFocusSuccess: string;
6432
+ borderFocusSuccess: string;
6433
+ boxShadowFocusSuccess: string;
6434
+ caretColorSuccess: string;
6372
6435
  loadingColorWarning: string;
6373
6436
  borderWarning: string;
6374
6437
  borderHoverWarning: string;
@@ -7067,6 +7130,13 @@ declare const _default: import("vue").DefineComponent<{
7067
7130
  borderFocus: string;
7068
7131
  boxShadowFocus: string;
7069
7132
  loadingColor: string;
7133
+ loadingColorSuccess: string;
7134
+ borderSuccess: string;
7135
+ borderHoverSuccess: string;
7136
+ colorFocusSuccess: string;
7137
+ borderFocusSuccess: string;
7138
+ boxShadowFocusSuccess: string;
7139
+ caretColorSuccess: string;
7070
7140
  loadingColorWarning: string;
7071
7141
  borderWarning: string;
7072
7142
  borderHoverWarning: string;
@@ -7765,6 +7835,13 @@ declare const _default: import("vue").DefineComponent<{
7765
7835
  borderFocus: string;
7766
7836
  boxShadowFocus: string;
7767
7837
  loadingColor: string;
7838
+ loadingColorSuccess: string;
7839
+ borderSuccess: string;
7840
+ borderHoverSuccess: string;
7841
+ colorFocusSuccess: string;
7842
+ borderFocusSuccess: string;
7843
+ boxShadowFocusSuccess: string;
7844
+ caretColorSuccess: string;
7768
7845
  loadingColorWarning: string;
7769
7846
  borderWarning: string;
7770
7847
  borderHoverWarning: string;
@@ -186,61 +186,54 @@ exports.default = (0, vue_1.defineComponent)({
186
186
  return value != null ? String(value) : '';
187
187
  };
188
188
  const renderHeader = () => {
189
+ const chat = selectedChatRef.value;
190
+ const keyId = toKeyString(chat === null || chat === void 0 ? void 0 : chat.id);
191
+ const keyTitle = toKeyString(chat === null || chat === void 0 ? void 0 : chat.title);
189
192
  return ((0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__header` },
190
- (0, vue_1.h)(flex_1.UFlex, { justify: "space-between", align: "flex-start", wrap: false }, {
191
- default: () => {
192
- const chat = selectedChatRef.value;
193
- const keyId = toKeyString(chat === null || chat === void 0 ? void 0 : chat.id);
194
- const keyTitle = toKeyString(chat === null || chat === void 0 ? void 0 : chat.title);
195
- return ((0, vue_1.h)(vue_1.Fragment, null,
196
- (0, vue_1.h)(flex_1.UFlex, { vertical: true, size: [0, 0], justify: 'flex-start"' },
197
- (0, vue_1.h)(typography_1.UText, { key: `${keyId}-${keyTitle}`, variant: "heading-s-bold", class: `${mergedClsPrefixRef.value}-chat-main__header-title`, theme: mergedThemeRef.value.peers.Typography, themeOverrides: mergedThemeRef.value.peerOverrides.Typography }, {
198
- default: () => { var _a, _b; return (_b = (_a = selectedChatRef.value) === null || _a === void 0 ? void 0 : _a.title) !== null && _b !== void 0 ? _b : ''; }
199
- }),
200
- isTyping.value && ((0, vue_1.h)(typography_1.UText, { class: [
201
- `${mergedClsPrefixRef.value}-chat-main__header-subtitle`,
202
- 'typing'
203
- ], variant: "body-m-medium" }, {
204
- default: () => { var _a; return (_a = typingTextRef.value) !== null && _a !== void 0 ? _a : ''; }
205
- }))),
206
- (0, vue_1.h)(flex_1.UFlex, { align: "center", size: "small", class: `${mergedClsPrefixRef.value}-chat-main__header-actions` }, {
207
- default: () => (0, _utils_1.resolveSlot)(slots.headerActions, () => {
208
- const shareButtonProps = Object.assign(Object.assign({}, headerButtonPropsRef.value), headerShareButtonPropsRef.value);
209
- const profileButtonProps = Object.assign(Object.assign({}, headerButtonPropsRef.value), headerProfileButtonPropsRef.value);
210
- const closeButtonProps = Object.assign(Object.assign({}, headerButtonPropsRef.value), headerCloseButtonPropsRef.value);
211
- const shareIconProps = Object.assign(Object.assign({}, headerIconPropsRef.value), headerShareIconPropsRef.value);
212
- const profileIconProps = Object.assign(Object.assign({}, headerIconPropsRef.value), headerProfileIconPropsRef.value);
213
- const buttons = [];
214
- buttons.push((0, vue_1.h)(tooltip_1.UTooltip, null, {
215
- trigger: () => ((0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true, circle: true, size: "large" }, shareButtonProps, { theme: mergedThemeRef.value.peers.Button, themeOverrides: mergedThemeRef.value.peerOverrides
216
- .Button, onClick: () => { var _a; return (_a = onChatShare === null || onChatShare === void 0 ? void 0 : onChatShare.value) === null || _a === void 0 ? void 0 : _a.call(onChatShare); } }), {
217
- default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 20 }, shareIconProps, { theme: mergedThemeRef.value.peers
218
- .HeaderShareIcon, themeOverrides: mergedThemeRef.value.peerOverrides
219
- .HeaderShareIcon }), {
220
- default: () => ((0, vue_1.h)(icons_1.ArrowHookUpRight, null))
221
- }))
222
- })),
223
- default: () => shareButtonTooltipRef.value
224
- }));
225
- buttons.push((0, vue_1.h)(tooltip_1.UTooltip, null, {
226
- trigger: () => ((0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true, circle: true, size: "large" }, profileButtonProps, { theme: mergedThemeRef.value.peers.Button, themeOverrides: mergedThemeRef.value.peerOverrides
227
- .Button, onClick: () => { var _a; return (_a = onUserProfile === null || onUserProfile === void 0 ? void 0 : onUserProfile.value) === null || _a === void 0 ? void 0 : _a.call(onUserProfile); } }), {
228
- default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 20 }, profileIconProps, { theme: mergedThemeRef.value.peers
229
- .HeaderProfileIcon, themeOverrides: mergedThemeRef.value.peerOverrides
230
- .HeaderProfileIcon }), {
231
- default: () => (0, vue_1.h)(icons_1.PersonNote, null)
232
- }))
233
- })),
234
- default: () => profileButtonTooltipRef.value
235
- }));
236
- buttons.push((0, vue_1.h)(button_1.UButton, Object.assign({ type: "primary", size: "large", round: true }, closeButtonProps, { 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); } }), {
237
- default: () => closeButtonTextRef.value
238
- }));
239
- return buttons;
240
- })
241
- })));
242
- }
243
- })));
193
+ (0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__header-inner` },
194
+ (0, vue_1.h)("div", { class: `${mergedClsPrefixRef.value}-chat-main__header-title-wrap` },
195
+ (0, vue_1.h)(typography_1.UText, { key: `${keyId}-${keyTitle}`, variant: "heading-s-bold", class: `${mergedClsPrefixRef.value}-chat-main__header-title`, theme: mergedThemeRef.value.peers.Typography, themeOverrides: mergedThemeRef.value.peerOverrides.Typography }, {
196
+ default: () => { var _a, _b; return (_b = (_a = selectedChatRef.value) === null || _a === void 0 ? void 0 : _a.title) !== null && _b !== void 0 ? _b : ''; }
197
+ }),
198
+ isTyping.value && ((0, vue_1.h)(typography_1.UText, { class: [
199
+ `${mergedClsPrefixRef.value}-chat-main__header-subtitle`,
200
+ 'typing'
201
+ ], variant: "body-m-medium" }, {
202
+ default: () => { var _a; return (_a = typingTextRef.value) !== null && _a !== void 0 ? _a : ''; }
203
+ }))),
204
+ (0, vue_1.h)(flex_1.UFlex, { align: "center", size: "small", class: `${mergedClsPrefixRef.value}-chat-main__header-actions` }, {
205
+ default: () => (0, _utils_1.resolveSlot)(slots.headerActions, () => {
206
+ const shareButtonProps = Object.assign(Object.assign({}, headerButtonPropsRef.value), headerShareButtonPropsRef.value);
207
+ const profileButtonProps = Object.assign(Object.assign({}, headerButtonPropsRef.value), headerProfileButtonPropsRef.value);
208
+ const closeButtonProps = Object.assign(Object.assign({}, headerButtonPropsRef.value), headerCloseButtonPropsRef.value);
209
+ const shareIconProps = Object.assign(Object.assign({}, headerIconPropsRef.value), headerShareIconPropsRef.value);
210
+ const profileIconProps = Object.assign(Object.assign({}, headerIconPropsRef.value), headerProfileIconPropsRef.value);
211
+ const buttons = [];
212
+ buttons.push((0, vue_1.h)(tooltip_1.UTooltip, null, {
213
+ trigger: () => ((0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true, circle: true, size: "large" }, shareButtonProps, { 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); } }), {
214
+ default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 20 }, shareIconProps, { theme: mergedThemeRef.value.peers.HeaderShareIcon, themeOverrides: mergedThemeRef.value.peerOverrides
215
+ .HeaderShareIcon }), {
216
+ default: () => (0, vue_1.h)(icons_1.ArrowHookUpRight, null)
217
+ }))
218
+ })),
219
+ default: () => shareButtonTooltipRef.value
220
+ }));
221
+ buttons.push((0, vue_1.h)(tooltip_1.UTooltip, null, {
222
+ trigger: () => ((0, vue_1.h)(button_1.UButton, Object.assign({ secondary: true, circle: true, size: "large" }, profileButtonProps, { 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); } }), {
223
+ default: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 20 }, profileIconProps, { theme: mergedThemeRef.value.peers
224
+ .HeaderProfileIcon, themeOverrides: mergedThemeRef.value.peerOverrides
225
+ .HeaderProfileIcon }), {
226
+ default: () => (0, vue_1.h)(icons_1.PersonNote, null)
227
+ }))
228
+ })),
229
+ default: () => profileButtonTooltipRef.value
230
+ }));
231
+ buttons.push((0, vue_1.h)(button_1.UButton, Object.assign({ type: "primary", size: "large", round: true }, closeButtonProps, { 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); } }), {
232
+ default: () => closeButtonTextRef.value
233
+ }));
234
+ return buttons;
235
+ })
236
+ }))));
244
237
  };
245
238
  const renderMessages = () => {
246
239
  var _a;
@@ -88,6 +88,13 @@ declare const _default: import("vue").DefineComponent<{}, {
88
88
  borderFocus: string;
89
89
  boxShadowFocus: string;
90
90
  loadingColor: string;
91
+ loadingColorSuccess: string;
92
+ borderSuccess: string;
93
+ borderHoverSuccess: string;
94
+ colorFocusSuccess: string;
95
+ borderFocusSuccess: string;
96
+ boxShadowFocusSuccess: string;
97
+ caretColorSuccess: string;
91
98
  loadingColorWarning: string;
92
99
  borderWarning: string;
93
100
  borderHoverWarning: string;
@@ -139,23 +139,28 @@ exports.default = (0, cssr_1.cB)('chat', `
139
139
  width: 100%;
140
140
  padding: 24px 20px 10px 24px;
141
141
  flex-shrink: 0;
142
+ `), (0, cssr_1.cE)('header-inner', `
143
+ display: grid;
144
+ grid-template-columns: minmax(0, 1fr) auto;
145
+ align-items: flex-start;
146
+ gap: 8px;
147
+ `), (0, cssr_1.cE)('header-title-wrap', `
148
+ min-width: 0;
149
+ overflow: hidden;
142
150
  `), (0, cssr_1.cE)('header-title', `
143
151
  color: var(--u-header-title-color);
144
- flex: 1;
145
- min-width: 0;
152
+ display: block;
146
153
  overflow: hidden;
147
- text-overflow: ellipsis;
148
154
  white-space: nowrap;
149
- display: block;
150
- margin-right: 16px;
155
+ text-overflow: ellipsis;
156
+ width: 100%;
151
157
  `), (0, cssr_1.cE)('header-subtitle', `
152
158
  display: block;
153
159
  color: var(--u-sidebar-item-subtitle-color);
154
160
  overflow: hidden;
155
161
  text-overflow: ellipsis;
156
162
  white-space: nowrap;
157
- minWidth: 0;
158
- maxWidth: 100%;
163
+ width: 100%;
159
164
  `), (0, cssr_1.cE)('header-actions', `
160
165
  padding: 4px;
161
166
  flex-shrink: 0;
@@ -75,6 +75,13 @@ declare const chatDark: import("../../_mixins").Theme<"Chat", {
75
75
  borderFocus: string;
76
76
  boxShadowFocus: string;
77
77
  loadingColor: string;
78
+ loadingColorSuccess: string;
79
+ borderSuccess: string;
80
+ borderHoverSuccess: string;
81
+ colorFocusSuccess: string;
82
+ borderFocusSuccess: string;
83
+ boxShadowFocusSuccess: string;
84
+ caretColorSuccess: string;
78
85
  loadingColorWarning: string;
79
86
  borderWarning: string;
80
87
  borderHoverWarning: string;
@@ -113,6 +113,13 @@ declare const chatLight: import("../../_mixins").Theme<"Chat", {
113
113
  borderFocus: string;
114
114
  boxShadowFocus: string;
115
115
  loadingColor: string;
116
+ loadingColorSuccess: string;
117
+ borderSuccess: string;
118
+ borderHoverSuccess: string;
119
+ colorFocusSuccess: string;
120
+ borderFocusSuccess: string;
121
+ boxShadowFocusSuccess: string;
122
+ caretColorSuccess: string;
116
123
  loadingColorWarning: string;
117
124
  borderWarning: string;
118
125
  borderHoverWarning: string;
@@ -77,6 +77,13 @@ declare const _default: import("vue").DefineComponent<{
77
77
  borderFocus: string;
78
78
  boxShadowFocus: string;
79
79
  loadingColor: string;
80
+ loadingColorSuccess: string;
81
+ borderSuccess: string;
82
+ borderHoverSuccess: string;
83
+ colorFocusSuccess: string;
84
+ borderFocusSuccess: string;
85
+ boxShadowFocusSuccess: string;
86
+ caretColorSuccess: string;
80
87
  loadingColorWarning: string;
81
88
  borderWarning: string;
82
89
  borderHoverWarning: string;
@@ -107,6 +107,13 @@ export declare const colorPickerProps: {
107
107
  borderFocus: string;
108
108
  boxShadowFocus: string;
109
109
  loadingColor: string;
110
+ loadingColorSuccess: string;
111
+ borderSuccess: string;
112
+ borderHoverSuccess: string;
113
+ colorFocusSuccess: string;
114
+ borderFocusSuccess: string;
115
+ boxShadowFocusSuccess: string;
116
+ caretColorSuccess: string;
110
117
  loadingColorWarning: string;
111
118
  borderWarning: string;
112
119
  borderHoverWarning: string;
@@ -411,6 +418,13 @@ export declare const colorPickerProps: {
411
418
  borderFocus: string;
412
419
  boxShadowFocus: string;
413
420
  loadingColor: string;
421
+ loadingColorSuccess: string;
422
+ borderSuccess: string;
423
+ borderHoverSuccess: string;
424
+ colorFocusSuccess: string;
425
+ borderFocusSuccess: string;
426
+ boxShadowFocusSuccess: string;
427
+ caretColorSuccess: string;
414
428
  loadingColorWarning: string;
415
429
  borderWarning: string;
416
430
  borderHoverWarning: string;
@@ -715,6 +729,13 @@ export declare const colorPickerProps: {
715
729
  borderFocus: string;
716
730
  boxShadowFocus: string;
717
731
  loadingColor: string;
732
+ loadingColorSuccess: string;
733
+ borderSuccess: string;
734
+ borderHoverSuccess: string;
735
+ colorFocusSuccess: string;
736
+ borderFocusSuccess: string;
737
+ boxShadowFocusSuccess: string;
738
+ caretColorSuccess: string;
718
739
  loadingColorWarning: string;
719
740
  borderWarning: string;
720
741
  borderHoverWarning: string;
@@ -1064,6 +1085,13 @@ declare const _default: import("vue").DefineComponent<{
1064
1085
  borderFocus: string;
1065
1086
  boxShadowFocus: string;
1066
1087
  loadingColor: string;
1088
+ loadingColorSuccess: string;
1089
+ borderSuccess: string;
1090
+ borderHoverSuccess: string;
1091
+ colorFocusSuccess: string;
1092
+ borderFocusSuccess: string;
1093
+ boxShadowFocusSuccess: string;
1094
+ caretColorSuccess: string;
1067
1095
  loadingColorWarning: string;
1068
1096
  borderWarning: string;
1069
1097
  borderHoverWarning: string;
@@ -1368,6 +1396,13 @@ declare const _default: import("vue").DefineComponent<{
1368
1396
  borderFocus: string;
1369
1397
  boxShadowFocus: string;
1370
1398
  loadingColor: string;
1399
+ loadingColorSuccess: string;
1400
+ borderSuccess: string;
1401
+ borderHoverSuccess: string;
1402
+ colorFocusSuccess: string;
1403
+ borderFocusSuccess: string;
1404
+ boxShadowFocusSuccess: string;
1405
+ caretColorSuccess: string;
1371
1406
  loadingColorWarning: string;
1372
1407
  borderWarning: string;
1373
1408
  borderHoverWarning: string;
@@ -1672,6 +1707,13 @@ declare const _default: import("vue").DefineComponent<{
1672
1707
  borderFocus: string;
1673
1708
  boxShadowFocus: string;
1674
1709
  loadingColor: string;
1710
+ loadingColorSuccess: string;
1711
+ borderSuccess: string;
1712
+ borderHoverSuccess: string;
1713
+ colorFocusSuccess: string;
1714
+ borderFocusSuccess: string;
1715
+ boxShadowFocusSuccess: string;
1716
+ caretColorSuccess: string;
1675
1717
  loadingColorWarning: string;
1676
1718
  borderWarning: string;
1677
1719
  borderHoverWarning: string;
@@ -2050,6 +2092,13 @@ declare const _default: import("vue").DefineComponent<{
2050
2092
  borderFocus: string;
2051
2093
  boxShadowFocus: string;
2052
2094
  loadingColor: string;
2095
+ loadingColorSuccess: string;
2096
+ borderSuccess: string;
2097
+ borderHoverSuccess: string;
2098
+ colorFocusSuccess: string;
2099
+ borderFocusSuccess: string;
2100
+ boxShadowFocusSuccess: string;
2101
+ caretColorSuccess: string;
2053
2102
  loadingColorWarning: string;
2054
2103
  borderWarning: string;
2055
2104
  borderHoverWarning: string;
@@ -2354,6 +2403,13 @@ declare const _default: import("vue").DefineComponent<{
2354
2403
  borderFocus: string;
2355
2404
  boxShadowFocus: string;
2356
2405
  loadingColor: string;
2406
+ loadingColorSuccess: string;
2407
+ borderSuccess: string;
2408
+ borderHoverSuccess: string;
2409
+ colorFocusSuccess: string;
2410
+ borderFocusSuccess: string;
2411
+ boxShadowFocusSuccess: string;
2412
+ caretColorSuccess: string;
2357
2413
  loadingColorWarning: string;
2358
2414
  borderWarning: string;
2359
2415
  borderHoverWarning: string;
@@ -2658,6 +2714,13 @@ declare const _default: import("vue").DefineComponent<{
2658
2714
  borderFocus: string;
2659
2715
  boxShadowFocus: string;
2660
2716
  loadingColor: string;
2717
+ loadingColorSuccess: string;
2718
+ borderSuccess: string;
2719
+ borderHoverSuccess: string;
2720
+ colorFocusSuccess: string;
2721
+ borderFocusSuccess: string;
2722
+ boxShadowFocusSuccess: string;
2723
+ caretColorSuccess: string;
2661
2724
  loadingColorWarning: string;
2662
2725
  borderWarning: string;
2663
2726
  borderHoverWarning: string;
@@ -80,6 +80,13 @@ declare const colorPickerLight: import("../../_mixins/use-theme").Theme<"ColorPi
80
80
  borderFocus: string;
81
81
  boxShadowFocus: string;
82
82
  loadingColor: string;
83
+ loadingColorSuccess: string;
84
+ borderSuccess: string;
85
+ borderHoverSuccess: string;
86
+ colorFocusSuccess: string;
87
+ borderFocusSuccess: string;
88
+ boxShadowFocusSuccess: string;
89
+ caretColorSuccess: string;
83
90
  loadingColorWarning: string;
84
91
  borderWarning: string;
85
92
  borderHoverWarning: string;
@@ -802,6 +802,13 @@ declare const _default: import("vue").DefineComponent<{
802
802
  borderFocus: string;
803
803
  boxShadowFocus: string;
804
804
  loadingColor: string;
805
+ loadingColorSuccess: string;
806
+ borderSuccess: string;
807
+ borderHoverSuccess: string;
808
+ colorFocusSuccess: string;
809
+ borderFocusSuccess: string;
810
+ boxShadowFocusSuccess: string;
811
+ caretColorSuccess: string;
805
812
  loadingColorWarning: string;
806
813
  borderWarning: string;
807
814
  borderHoverWarning: string;
@@ -1750,6 +1757,13 @@ declare const _default: import("vue").DefineComponent<{
1750
1757
  borderFocus: string;
1751
1758
  boxShadowFocus: string;
1752
1759
  loadingColor: string;
1760
+ loadingColorSuccess: string;
1761
+ borderSuccess: string;
1762
+ borderHoverSuccess: string;
1763
+ colorFocusSuccess: string;
1764
+ borderFocusSuccess: string;
1765
+ boxShadowFocusSuccess: string;
1766
+ caretColorSuccess: string;
1753
1767
  loadingColorWarning: string;
1754
1768
  borderWarning: string;
1755
1769
  borderHoverWarning: string;
@@ -2698,6 +2712,13 @@ declare const _default: import("vue").DefineComponent<{
2698
2712
  borderFocus: string;
2699
2713
  boxShadowFocus: string;
2700
2714
  loadingColor: string;
2715
+ loadingColorSuccess: string;
2716
+ borderSuccess: string;
2717
+ borderHoverSuccess: string;
2718
+ colorFocusSuccess: string;
2719
+ borderFocusSuccess: string;
2720
+ boxShadowFocusSuccess: string;
2721
+ caretColorSuccess: string;
2701
2722
  loadingColorWarning: string;
2702
2723
  borderWarning: string;
2703
2724
  borderHoverWarning: string;
@@ -3669,6 +3690,13 @@ declare const _default: import("vue").DefineComponent<{
3669
3690
  borderFocus: string;
3670
3691
  boxShadowFocus: string;
3671
3692
  loadingColor: string;
3693
+ loadingColorSuccess: string;
3694
+ borderSuccess: string;
3695
+ borderHoverSuccess: string;
3696
+ colorFocusSuccess: string;
3697
+ borderFocusSuccess: string;
3698
+ boxShadowFocusSuccess: string;
3699
+ caretColorSuccess: string;
3672
3700
  loadingColorWarning: string;
3673
3701
  borderWarning: string;
3674
3702
  borderHoverWarning: string;
@@ -4178,6 +4206,13 @@ declare const _default: import("vue").DefineComponent<{
4178
4206
  borderFocus: string;
4179
4207
  boxShadowFocus: string;
4180
4208
  loadingColor: string;
4209
+ loadingColorSuccess: string;
4210
+ borderSuccess: string;
4211
+ borderHoverSuccess: string;
4212
+ colorFocusSuccess: string;
4213
+ borderFocusSuccess: string;
4214
+ boxShadowFocusSuccess: string;
4215
+ caretColorSuccess: string;
4181
4216
  loadingColorWarning: string;
4182
4217
  borderWarning: string;
4183
4218
  borderHoverWarning: string;
@@ -5216,6 +5251,13 @@ declare const _default: import("vue").DefineComponent<{
5216
5251
  borderFocus: string;
5217
5252
  boxShadowFocus: string;
5218
5253
  loadingColor: string;
5254
+ loadingColorSuccess: string;
5255
+ borderSuccess: string;
5256
+ borderHoverSuccess: string;
5257
+ colorFocusSuccess: string;
5258
+ borderFocusSuccess: string;
5259
+ boxShadowFocusSuccess: string;
5260
+ caretColorSuccess: string;
5219
5261
  loadingColorWarning: string;
5220
5262
  borderWarning: string;
5221
5263
  borderHoverWarning: string;
@@ -6164,6 +6206,13 @@ declare const _default: import("vue").DefineComponent<{
6164
6206
  borderFocus: string;
6165
6207
  boxShadowFocus: string;
6166
6208
  loadingColor: string;
6209
+ loadingColorSuccess: string;
6210
+ borderSuccess: string;
6211
+ borderHoverSuccess: string;
6212
+ colorFocusSuccess: string;
6213
+ borderFocusSuccess: string;
6214
+ boxShadowFocusSuccess: string;
6215
+ caretColorSuccess: string;
6167
6216
  loadingColorWarning: string;
6168
6217
  borderWarning: string;
6169
6218
  borderHoverWarning: string;
@@ -7112,6 +7161,13 @@ declare const _default: import("vue").DefineComponent<{
7112
7161
  borderFocus: string;
7113
7162
  boxShadowFocus: string;
7114
7163
  loadingColor: string;
7164
+ loadingColorSuccess: string;
7165
+ borderSuccess: string;
7166
+ borderHoverSuccess: string;
7167
+ colorFocusSuccess: string;
7168
+ borderFocusSuccess: string;
7169
+ boxShadowFocusSuccess: string;
7170
+ caretColorSuccess: string;
7115
7171
  loadingColorWarning: string;
7116
7172
  borderWarning: string;
7117
7173
  borderHoverWarning: string;
@@ -702,6 +702,13 @@ declare const _default: import("vue").DefineComponent<{
702
702
  borderFocus: string;
703
703
  boxShadowFocus: string;
704
704
  loadingColor: string;
705
+ loadingColorSuccess: string;
706
+ borderSuccess: string;
707
+ borderHoverSuccess: string;
708
+ colorFocusSuccess: string;
709
+ borderFocusSuccess: string;
710
+ boxShadowFocusSuccess: string;
711
+ caretColorSuccess: string;
705
712
  loadingColorWarning: string;
706
713
  borderWarning: string;
707
714
  borderHoverWarning: string;
@@ -1211,6 +1218,13 @@ declare const _default: import("vue").DefineComponent<{
1211
1218
  borderFocus: string;
1212
1219
  boxShadowFocus: string;
1213
1220
  loadingColor: string;
1221
+ loadingColorSuccess: string;
1222
+ borderSuccess: string;
1223
+ borderHoverSuccess: string;
1224
+ colorFocusSuccess: string;
1225
+ borderFocusSuccess: string;
1226
+ boxShadowFocusSuccess: string;
1227
+ caretColorSuccess: string;
1214
1228
  loadingColorWarning: string;
1215
1229
  borderWarning: string;
1216
1230
  borderHoverWarning: string;