tuikit-atomicx-vue3 3.3.0-beta.3 → 3.3.0

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 (243) hide show
  1. package/dist/AttachmentPicker.module-BesmtGyl.js +11 -0
  2. package/dist/FilePicker.vue_vue_type_script_setup_true_lang-CdJ4DUzE.js +76 -0
  3. package/dist/ImagePicker.vue_vue_type_script_setup_true_lang-CbNUofpK.js +76 -0
  4. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-XRL7A5Gj.js → MessageInput.vue_vue_type_script_setup_true_lang-wUJPjWbx.js} +23 -18
  5. package/dist/VideoPicker.vue_vue_type_script_setup_true_lang-CmxjbNDJ.js +76 -0
  6. package/dist/chat/index.d.ts +3747 -2386
  7. package/dist/chat/index.js +12 -11
  8. package/dist/components/BarrageInput/BarrageInputH5.js +32 -8
  9. package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +9 -5
  10. package/dist/components/BarrageInput/TextEditor/index.js +14 -6
  11. package/dist/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.vue.d.ts +4 -4
  12. package/dist/components/BarrageList/Message/TextMessage/TextMessage.js +12 -4
  13. package/dist/components/BarrageList/i18n/en-US/index.d.ts +1 -0
  14. package/dist/components/BarrageList/i18n/en-US/index.js +2 -1
  15. package/dist/components/BarrageList/i18n/zh-CN/index.d.ts +1 -0
  16. package/dist/components/BarrageList/i18n/zh-CN/index.js +2 -1
  17. package/dist/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.js +5 -3
  18. package/dist/components/ChatSetting/GroupChatSetting/GroupChatSetting.js +3 -3
  19. package/dist/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.js +3 -3
  20. package/dist/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.js +3 -3
  21. package/dist/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.js +3 -3
  22. package/dist/components/ChatSetting/SettingItem/SettingItem.js +21 -21
  23. package/dist/components/ChatSetting/i18n/en-US.js +3 -3
  24. package/dist/components/ChatSetting/i18n/zh-CN.js +3 -3
  25. package/dist/components/ChatSetting/index.d.ts +1 -4
  26. package/dist/components/ChatSetting/index.js +3 -6
  27. package/dist/components/CoGuestPanel/CoGuestPanel.js +1 -1
  28. package/dist/components/ContactList/ContactInfo/ContactInfo.js +17 -17
  29. package/dist/components/ContactList/ContactInfo/ContactInfo.vue.d.ts +26 -2
  30. package/dist/components/ContactList/ContactInfo/GroupInfo/GroupInfo.js +2 -1
  31. package/dist/components/ContactList/ContactList.js +19 -10
  32. package/dist/components/ContactList/ContactList.vue.d.ts +109 -1
  33. package/dist/components/ContactList/index.d.ts +158 -26
  34. package/dist/components/ConversationList/ConversationActions/ConversationActions.js +8 -9
  35. package/dist/components/ConversationList/ConversationCreate/ConversationCreate.js +2 -1
  36. package/dist/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.js +8 -8
  37. package/dist/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.js +1 -2
  38. package/dist/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.js +8 -8
  39. package/dist/components/ConversationList/ConversationList.js +18 -44
  40. package/dist/components/ConversationList/ConversationList.vue.d.ts +197 -1535
  41. package/dist/components/ConversationList/ConversationListContent/ConversationListContent.js +8 -11
  42. package/dist/components/ConversationList/ConversationListContent/ConversationListContent.vue.d.ts +22 -340
  43. package/dist/components/ConversationList/ConversationPreview/ConversationPreview.vue.d.ts +80 -134
  44. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewAbstract.js +14 -14
  45. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTimestamp.js +14 -14
  46. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.js +19 -30
  47. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue.d.ts +0 -2
  48. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.js +14 -15
  49. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUI.vue.d.ts +12 -24
  50. package/dist/components/ConversationList/ConversationPreview/ConversationPreviewUnread.js +14 -14
  51. package/dist/components/ConversationList/ConversationPreview/index.d.ts +1 -1
  52. package/dist/components/ConversationList/ConversationPreview/index.js +17 -21
  53. package/dist/components/ConversationList/ConversationSearch/ConversationSearch.js +1 -0
  54. package/dist/components/ConversationList/index.d.ts +468 -2400
  55. package/dist/components/ConversationList/index.js +1 -1
  56. package/dist/components/LiveCoreView/index.js +113 -58
  57. package/dist/components/LiveCoreView/index.vue.d.ts +9 -0
  58. package/dist/components/LiveList/LiveList.js +7 -5
  59. package/dist/components/LiveList/LiveListH5.js +77 -71
  60. package/dist/components/LiveList/i18n/en-US/index.d.ts +5 -0
  61. package/dist/components/LiveList/i18n/en-US/index.js +6 -1
  62. package/dist/components/LiveList/i18n/zh-CN/index.d.ts +5 -0
  63. package/dist/components/LiveList/i18n/zh-CN/index.js +6 -1
  64. package/dist/components/LiveList/pullToRefresh.js +204 -0
  65. package/dist/components/LiveList/pullToRefresh.vue.d.ts +86 -0
  66. package/dist/components/LiveScenePanel/CameraSettingDialog.js +6 -5
  67. package/dist/components/LiveScenePanel/index.js +3 -3
  68. package/dist/components/MessageInput/AttachmentPicker/AttachmentPicker.vue.d.ts +0 -4
  69. package/dist/components/MessageInput/AttachmentPicker/FilePicker.js +1 -1
  70. package/dist/components/MessageInput/AttachmentPicker/ImagePicker.js +1 -1
  71. package/dist/components/MessageInput/AttachmentPicker/VideoPicker.js +1 -1
  72. package/dist/components/MessageInput/AttachmentPicker/index.js +14 -19
  73. package/dist/components/MessageInput/EmojiPicker/EmojiPicker.js +3 -3
  74. package/dist/components/MessageInput/MessageInput.js +1 -1
  75. package/dist/components/MessageInput/MessageInput.vue.d.ts +6 -9
  76. package/dist/components/MessageInput/TextEditor/TextEditor.vue.d.ts +2 -2
  77. package/dist/components/MessageInput/TextEditor/index.js +18 -9
  78. package/dist/components/MessageInput/index.d.ts +5 -41
  79. package/dist/components/MessageInput/index.js +4 -4
  80. package/dist/components/MessageList/Message/CustomMessage/index.js +2 -2
  81. package/dist/components/MessageList/Message/FaceMessage/FaceMessage.js +7 -5
  82. package/dist/components/MessageList/Message/FaceMessage/FaceMessage.vue.d.ts +8 -8
  83. package/dist/components/MessageList/Message/LocationMessage/LocationMessage.js +2 -1
  84. package/dist/components/MessageList/Message/MergerMessage/MergerMessage.js +2 -1
  85. package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.js +12 -4
  86. package/dist/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue.d.ts +3 -3
  87. package/dist/components/MessageList/MessageForward/MessageForward.js +2 -3
  88. package/dist/components/MessageList/MessageList.js +14 -7
  89. package/dist/components/MessageList/MessageList.vue.d.ts +1 -1
  90. package/dist/components/MessageList/MessageTimeDivider/MessageTimeDivider.js +5 -5
  91. package/dist/components/MessageList/MessageTimeDivider/MessageTimeDivider.vue.d.ts +10 -10
  92. package/dist/components/MessageList/index.d.ts +143 -5
  93. package/dist/components/MessageList/index.js +5 -5
  94. package/dist/components/Search/Search.js +1 -3
  95. package/dist/components/Search/SearchResults/EmptyResult/EmptyResult.js +4 -6
  96. package/dist/components/Search/SearchResults/Loading/Loading.js +2 -4
  97. package/dist/components/Search/SearchResults/SearchResults.js +20 -22
  98. package/dist/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.js +6 -8
  99. package/dist/components/Search/SearchResults/SearchResultsItem/Group/Group.js +5 -7
  100. package/dist/components/Search/SearchResults/SearchResultsItem/Message/Message.js +19 -21
  101. package/dist/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.js +1 -3
  102. package/dist/components/Search/SearchResults/SearchResultsItem/User/User.js +5 -7
  103. package/dist/components/StreamMixer/LocalMixer/index.js +11 -5
  104. package/dist/components/StreamView/manager/mediaManager.js +1 -1
  105. package/dist/components/UserPicker/UserPicker.js +2 -2
  106. package/dist/components/UserPicker/UserPicker.vue.d.ts +7 -8
  107. package/dist/components/UserPicker/components/ListMode/ListMode.js +14 -17
  108. package/dist/components/UserPicker/components/ListMode/ListMode.vue.d.ts +2 -2
  109. package/dist/components/UserPicker/components/SelectedPanel/SelectedPanel.vue.d.ts +2 -2
  110. package/dist/components/UserPicker/components/TreeMode/TreeMode.vue.d.ts +3 -3
  111. package/dist/components/UserPicker/components/TreeMode/TreeNode.vue.d.ts +4 -4
  112. package/dist/components/UserPicker/hooks/useSearchFilter.d.ts +3 -3
  113. package/dist/components/UserPicker/hooks/useSelection.d.ts +8 -8
  114. package/dist/components/UserPicker/hooks/useTreeState.d.ts +3 -3
  115. package/dist/components/UserPicker/index.d.ts +134 -3
  116. package/dist/components/UserPicker/index.js +3 -2
  117. package/dist/components/UserPicker/type.d.ts +18 -18
  118. package/dist/index.js +6 -3
  119. package/dist/rtc/index.d.ts +9 -0
  120. package/dist/states/GroupSettingState/GroupSettingState.js +3 -3
  121. package/dist/states/LiveSeatState/usePlayStream/MixStreamPlayer.js +3 -0
  122. package/dist/states/LoginState.js +1 -0
  123. package/dist/states/MessageInputState/MessageInputState.js +25 -5
  124. package/dist/styles/index.css +1275 -3559
  125. package/dist/types/contact.d.ts +13 -12
  126. package/dist/types/conversation.d.ts +12 -14
  127. package/dist/types/engine.d.ts +12 -0
  128. package/dist/types/engine.js +15 -0
  129. package/dist/types/index.js +2 -1
  130. package/dist/utils/json.js +0 -1
  131. package/package.json +7 -3
  132. package/src/chat/index.ts +12 -4
  133. package/src/components/BarrageInput/BarrageInputH5.vue +50 -4
  134. package/src/components/BarrageInput/EmojiPicker/EmojiPicker.module.scss +1 -0
  135. package/src/components/BarrageInput/EmojiPicker/EmojiPicker.vue +1 -1
  136. package/src/components/BarrageInput/TextEditor/Editor.scss +1 -1
  137. package/src/components/BarrageInput/TextEditor/TextEditor.module.scss +2 -0
  138. package/src/components/BarrageInput/TextEditor/TextEditor.vue +6 -0
  139. package/src/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.vue +8 -8
  140. package/src/components/BarrageList/Message/TextMessage/TextMessage.vue +10 -0
  141. package/src/components/BarrageList/i18n/en-US/index.ts +1 -0
  142. package/src/components/BarrageList/i18n/zh-CN/index.ts +1 -0
  143. package/src/components/ChatSetting/GroupChatSetting/GroupActions/GroupActions.vue +5 -2
  144. package/src/components/ChatSetting/GroupChatSetting/GroupChatSetting.vue +5 -4
  145. package/src/components/ChatSetting/GroupChatSetting/GroupInfo/GroupInfo.vue +2 -2
  146. package/src/components/ChatSetting/GroupChatSetting/GroupManagement/GroupManagement.vue +3 -2
  147. package/src/components/ChatSetting/GroupChatSetting/GroupMembers/GroupMembers.vue +3 -3
  148. package/src/components/ChatSetting/SettingItem/SettingItem.vue +10 -7
  149. package/src/components/ChatSetting/i18n/en-US.ts +3 -3
  150. package/src/components/ChatSetting/i18n/zh-CN.ts +3 -3
  151. package/src/components/ChatSetting/index.ts +3 -3
  152. package/src/components/CoGuestPanel/CoGuestPanel.vue +9 -0
  153. package/src/components/ContactList/ContactInfo/BlacklistInfo/BlacklistInfo.scss +2 -0
  154. package/src/components/ContactList/ContactInfo/ContactInfo.vue +17 -9
  155. package/src/components/ContactList/ContactInfo/FriendApplicationInfo/FriendApplicationInfo.scss +2 -0
  156. package/src/components/ContactList/ContactInfo/FriendInfo/FriendInfo.scss +4 -3
  157. package/src/components/ContactList/ContactInfo/GroupApplicationInfo/GroupApplicationInfo.scss +2 -0
  158. package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.scss +2 -0
  159. package/src/components/ContactList/ContactInfo/GroupInfo/GroupInfo.vue +1 -0
  160. package/src/components/ContactList/ContactInfo/SearchGroupInfo/SearchGroupInfo.scss +2 -2
  161. package/src/components/ContactList/ContactInfo/SearchUserInfo/SearchUserInfo.scss +3 -2
  162. package/src/components/ContactList/ContactList.scss +2 -1
  163. package/src/components/ContactList/ContactList.vue +18 -3
  164. package/src/components/ContactList/ContactListItem/BlacklistItem/BlacklistItem.scss +3 -3
  165. package/src/components/ContactList/ContactListItem/FriendApplicationItem/FriendApplicationItem.scss +5 -6
  166. package/src/components/ContactList/ContactListItem/FriendItem/FriendItem.scss +3 -3
  167. package/src/components/ContactList/ContactListItem/GroupApplicationItem/GroupApplicationItem.scss +5 -6
  168. package/src/components/ContactList/ContactListItem/GroupItem/GroupItem.scss +3 -3
  169. package/src/components/ConversationList/ConversationActions/ConversationActions.scss +2 -12
  170. package/src/components/ConversationList/ConversationActions/ConversationActions.vue +2 -2
  171. package/src/components/ConversationList/ConversationCreate/ConversationCreate.vue +1 -0
  172. package/src/components/ConversationList/ConversationCreate/ConversationCreateGroupDetail/ConversationCreateGroupDetail.scss +2 -1
  173. package/src/components/ConversationList/ConversationCreate/ConversationCreateUserSelectList/ConversationCreateUserSelectList.vue +2 -2
  174. package/src/components/ConversationList/ConversationCreate/ConversationGroupTypeInfo/ConversationGroupTypeInfo.scss +2 -1
  175. package/src/components/ConversationList/ConversationList.scss +0 -5
  176. package/src/components/ConversationList/ConversationList.vue +15 -41
  177. package/src/components/ConversationList/ConversationListContent/ConversationListContent.scss +1 -0
  178. package/src/components/ConversationList/ConversationListContent/ConversationListContent.vue +13 -18
  179. package/src/components/ConversationList/ConversationPreview/ConversationPreview.scss +11 -9
  180. package/src/components/ConversationList/ConversationPreview/ConversationPreview.vue +14 -16
  181. package/src/components/ConversationList/ConversationPreview/ConversationPreviewTitle.vue +2 -14
  182. package/src/components/ConversationList/ConversationPreview/index.ts +1 -1
  183. package/src/components/ConversationList/ConversationSearch/ConversationSearch.vue +1 -0
  184. package/src/components/LiveCoreView/index.vue +144 -78
  185. package/src/components/LiveList/LiveList.vue +3 -0
  186. package/src/components/LiveList/LiveListH5.vue +60 -85
  187. package/src/components/LiveList/i18n/en-US/index.ts +5 -0
  188. package/src/components/LiveList/i18n/zh-CN/index.ts +5 -0
  189. package/src/components/LiveList/pullToRefresh.vue +364 -0
  190. package/src/components/LiveScenePanel/CameraSettingDialog.vue +6 -5
  191. package/src/components/LiveScenePanel/index.vue +2 -2
  192. package/src/components/MessageInput/AttachmentPicker/AttachmentPicker.module.scss +4 -0
  193. package/src/components/MessageInput/AttachmentPicker/AttachmentPicker.vue +12 -17
  194. package/src/components/MessageInput/AttachmentPicker/FilePicker.vue +3 -2
  195. package/src/components/MessageInput/AttachmentPicker/ImagePicker.vue +3 -2
  196. package/src/components/MessageInput/AttachmentPicker/VideoPicker.vue +3 -2
  197. package/src/components/MessageInput/EmojiPicker/EmojiPicker.module.scss +1 -0
  198. package/src/components/MessageInput/MessageInput.vue +21 -15
  199. package/src/components/MessageInput/TextEditor/Editor.scss +1 -0
  200. package/src/components/MessageInput/TextEditor/TextEditor.vue +16 -6
  201. package/src/components/MessageInput/types.d.ts +3 -4
  202. package/src/components/MessageList/Message/CustomMessage/CustomMessage.vue +1 -1
  203. package/src/components/MessageList/Message/FaceMessage/FaceMessage.vue +10 -7
  204. package/src/components/MessageList/Message/LocationMessage/LocationMessage.vue +3 -1
  205. package/src/components/MessageList/Message/MergerMessage/MergerMessage.vue +1 -1
  206. package/src/components/MessageList/Message/MessageLayout/MessageActionDropdown/MessageActionDropdown.vue +2 -2
  207. package/src/components/MessageList/MessageForward/MessageForward.vue +3 -3
  208. package/src/components/MessageList/MessageList.vue +17 -5
  209. package/src/components/MessageList/MessageTimeDivider/MessageTimeDivider.vue +9 -9
  210. package/src/components/MessageList/index.ts +5 -4
  211. package/src/components/Search/Search.scss +0 -3
  212. package/src/components/Search/SearchResults/EmptyResult/EmptyResult.scss +0 -3
  213. package/src/components/Search/SearchResults/Loading/Loading.scss +0 -3
  214. package/src/components/Search/SearchResults/SearchResults.scss +7 -16
  215. package/src/components/Search/SearchResults/SearchResultsItem/Conversation/Conversation.scss +5 -11
  216. package/src/components/Search/SearchResults/SearchResultsItem/Group/Group.scss +5 -11
  217. package/src/components/Search/SearchResults/SearchResultsItem/Message/Message.scss +5 -11
  218. package/src/components/Search/SearchResults/SearchResultsItem/SearchResultsItem.scss +0 -3
  219. package/src/components/Search/SearchResults/SearchResultsItem/User/User.scss +5 -6
  220. package/src/components/StreamMixer/LocalMixer/index.vue +9 -4
  221. package/src/components/StreamView/manager/mediaManager.ts +1 -1
  222. package/src/components/UserPicker/UserPicker.vue +6 -9
  223. package/src/components/UserPicker/components/ListMode/ListMode.vue +3 -7
  224. package/src/components/UserPicker/components/SelectedPanel/SelectedPanel.vue +2 -2
  225. package/src/components/UserPicker/components/TreeMode/TreeMode.vue +3 -3
  226. package/src/components/UserPicker/components/TreeMode/TreeNode.vue +3 -3
  227. package/src/components/UserPicker/hooks/useSearchFilter.ts +15 -14
  228. package/src/components/UserPicker/hooks/useSelection.ts +32 -32
  229. package/src/components/UserPicker/hooks/useTreeState.ts +4 -4
  230. package/src/components/UserPicker/index.ts +16 -14
  231. package/src/components/UserPicker/type.ts +18 -18
  232. package/src/types/contact.ts +13 -12
  233. package/src/types/conversation.ts +12 -14
  234. package/src/types/engine.ts +15 -0
  235. package/src/utils/json.ts +0 -4
  236. package/dist/AttachmentPicker.module-0_DWsAtr.js +0 -11
  237. package/dist/FilePicker.vue_vue_type_script_setup_true_lang-CaSj3Gh_.js +0 -72
  238. package/dist/ImagePicker.vue_vue_type_script_setup_true_lang-CrzGMmrh.js +0 -72
  239. package/dist/VideoPicker.vue_vue_type_script_setup_true_lang-DTv6TJKr.js +0 -72
  240. package/dist/states/UIOpenControlState/UIOpenControlState.d.ts +0 -15
  241. package/dist/states/UIOpenControlState/UIOpenControlState.js +0 -28
  242. package/dist/states/UIOpenControlState/index.d.ts +0 -1
  243. package/dist/states/UIOpenControlState/index.js +0 -4
@@ -1,4 +1,4 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, renderSlot, createBlock, createCommentVNode, resolveDynamicComponent, normalizeProps, mergeProps } from "vue";
1
+ import { defineComponent, h, createElementBlock, openBlock, normalizeStyle, normalizeClass, renderSlot, createBlock, createCommentVNode, resolveDynamicComponent } from "vue";
2
2
  import ConversationPlaceHolder from "../ConversationPlaceHolder/ConversationPlaceHolder.js";
3
3
  import { PlaceHolderTypes } from "../../../types/conversation.js";
4
4
  import { _ as _export_sfc } from "../../../_plugin-vue_export-helper-1tPrXgE0.js";
@@ -9,17 +9,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
9
9
  empty: { type: Boolean, default: false },
10
10
  loading: { type: Boolean, default: false },
11
11
  error: { type: Boolean, default: false },
12
- PlaceholderEmptyList: { default: () => ({
13
- component: ConversationPlaceHolder,
14
- props: { type: PlaceHolderTypes.NO_CONVERSATIONS }
12
+ PlaceholderEmptyList: { default: () => h(ConversationPlaceHolder, {
13
+ type: PlaceHolderTypes.NO_CONVERSATIONS
15
14
  }) },
16
- PlaceholderLoading: { default: () => ({
17
- component: ConversationPlaceHolder,
18
- props: { type: PlaceHolderTypes.LOADING }
15
+ PlaceholderLoading: { default: () => h(ConversationPlaceHolder, {
16
+ type: PlaceHolderTypes.LOADING
19
17
  }) },
20
- PlaceholderLoadError: { default: () => ({
21
- component: ConversationPlaceHolder,
22
- props: { type: PlaceHolderTypes.WRONG }
18
+ PlaceholderLoadError: { default: () => h(ConversationPlaceHolder, {
19
+ type: PlaceHolderTypes.WRONG
23
20
  }) },
24
21
  className: {},
25
22
  style: {}
@@ -30,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
27
  class: normalizeClass([_ctx.$style.conversationListContent, _ctx.className]),
31
28
  style: normalizeStyle(_ctx.style)
32
29
  }, [
33
- !_ctx.error && !_ctx.loading && !_ctx.empty ? renderSlot(_ctx.$slots, "default", { key: 0 }) : _ctx.error ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.PlaceholderLoadError.component), normalizeProps(mergeProps({ key: 1 }, _ctx.PlaceholderLoadError.props)), null, 16)) : _ctx.loading ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.PlaceholderLoading.component), normalizeProps(mergeProps({ key: 2 }, _ctx.PlaceholderLoading.props)), null, 16)) : _ctx.empty ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.PlaceholderEmptyList.component), normalizeProps(mergeProps({ key: 3 }, _ctx.PlaceholderEmptyList.props)), null, 16)) : createCommentVNode("", true)
30
+ !_ctx.error && !_ctx.loading && !_ctx.empty ? renderSlot(_ctx.$slots, "default", { key: 0 }) : _ctx.error ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.PlaceholderLoadError), { key: 1 })) : _ctx.loading ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.PlaceholderLoading), { key: 2 })) : _ctx.empty ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.PlaceholderEmptyList), { key: 3 })) : createCommentVNode("", true)
34
31
  ], 6);
35
32
  };
36
33
  }
@@ -1,4 +1,4 @@
1
- import { PlaceHolderTypes, ConversationListContentProps } from '../../../types';
1
+ import { ConversationListContentProps } from '../../../types';
2
2
 
3
3
  declare function __VLS_template(): {
4
4
  default?(_: {}): any;
@@ -7,353 +7,35 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
7
7
  empty: boolean;
8
8
  loading: boolean;
9
9
  error: boolean;
10
- PlaceholderEmptyList: () => {
11
- component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
12
- type: {
13
- type: import('vue').PropType<PlaceHolderTypes>;
14
- required: true;
15
- default: PlaceHolderTypes;
16
- };
17
- className: {
18
- type: import('vue').PropType<string>;
19
- default: string;
20
- };
21
- iconSize: {
22
- type: import('vue').PropType<number>;
23
- default: number;
24
- };
25
- searchString: {
26
- type: import('vue').PropType<string>;
27
- default: string;
28
- };
29
- retry: {
30
- type: import('vue').PropType<() => void>;
31
- default: undefined;
32
- };
33
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
34
- type: {
35
- type: import('vue').PropType<PlaceHolderTypes>;
36
- required: true;
37
- default: PlaceHolderTypes;
38
- };
39
- className: {
40
- type: import('vue').PropType<string>;
41
- default: string;
42
- };
43
- iconSize: {
44
- type: import('vue').PropType<number>;
45
- default: number;
46
- };
47
- searchString: {
48
- type: import('vue').PropType<string>;
49
- default: string;
50
- };
51
- retry: {
52
- type: import('vue').PropType<() => void>;
53
- default: undefined;
54
- };
55
- }>> & Readonly<{}>, {
56
- type: PlaceHolderTypes;
57
- className: string;
58
- iconSize: number;
59
- searchString: string;
60
- retry: () => void;
61
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
62
- props: {
63
- type: PlaceHolderTypes;
64
- };
65
- };
66
- PlaceholderLoading: () => {
67
- component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
68
- type: {
69
- type: import('vue').PropType<PlaceHolderTypes>;
70
- required: true;
71
- default: PlaceHolderTypes;
72
- };
73
- className: {
74
- type: import('vue').PropType<string>;
75
- default: string;
76
- };
77
- iconSize: {
78
- type: import('vue').PropType<number>;
79
- default: number;
80
- };
81
- searchString: {
82
- type: import('vue').PropType<string>;
83
- default: string;
84
- };
85
- retry: {
86
- type: import('vue').PropType<() => void>;
87
- default: undefined;
88
- };
89
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
90
- type: {
91
- type: import('vue').PropType<PlaceHolderTypes>;
92
- required: true;
93
- default: PlaceHolderTypes;
94
- };
95
- className: {
96
- type: import('vue').PropType<string>;
97
- default: string;
98
- };
99
- iconSize: {
100
- type: import('vue').PropType<number>;
101
- default: number;
102
- };
103
- searchString: {
104
- type: import('vue').PropType<string>;
105
- default: string;
106
- };
107
- retry: {
108
- type: import('vue').PropType<() => void>;
109
- default: undefined;
110
- };
111
- }>> & Readonly<{}>, {
112
- type: PlaceHolderTypes;
113
- className: string;
114
- iconSize: number;
115
- searchString: string;
116
- retry: () => void;
117
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
118
- props: {
119
- type: PlaceHolderTypes;
120
- };
121
- };
122
- PlaceholderLoadError: () => {
123
- component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
124
- type: {
125
- type: import('vue').PropType<PlaceHolderTypes>;
126
- required: true;
127
- default: PlaceHolderTypes;
128
- };
129
- className: {
130
- type: import('vue').PropType<string>;
131
- default: string;
132
- };
133
- iconSize: {
134
- type: import('vue').PropType<number>;
135
- default: number;
136
- };
137
- searchString: {
138
- type: import('vue').PropType<string>;
139
- default: string;
140
- };
141
- retry: {
142
- type: import('vue').PropType<() => void>;
143
- default: undefined;
144
- };
145
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
146
- type: {
147
- type: import('vue').PropType<PlaceHolderTypes>;
148
- required: true;
149
- default: PlaceHolderTypes;
150
- };
151
- className: {
152
- type: import('vue').PropType<string>;
153
- default: string;
154
- };
155
- iconSize: {
156
- type: import('vue').PropType<number>;
157
- default: number;
158
- };
159
- searchString: {
160
- type: import('vue').PropType<string>;
161
- default: string;
162
- };
163
- retry: {
164
- type: import('vue').PropType<() => void>;
165
- default: undefined;
166
- };
167
- }>> & Readonly<{}>, {
168
- type: PlaceHolderTypes;
169
- className: string;
170
- iconSize: number;
171
- searchString: string;
172
- retry: () => void;
173
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
174
- props: {
175
- type: PlaceHolderTypes;
176
- };
177
- };
10
+ PlaceholderEmptyList: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
11
+ [key: string]: any;
12
+ }>;
13
+ PlaceholderLoading: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
14
+ [key: string]: any;
15
+ }>;
16
+ PlaceholderLoadError: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
17
+ [key: string]: any;
18
+ }>;
178
19
  }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ConversationListContentProps>, {
179
20
  empty: boolean;
180
21
  loading: boolean;
181
22
  error: boolean;
182
- PlaceholderEmptyList: () => {
183
- component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
184
- type: {
185
- type: import('vue').PropType<PlaceHolderTypes>;
186
- required: true;
187
- default: PlaceHolderTypes;
188
- };
189
- className: {
190
- type: import('vue').PropType<string>;
191
- default: string;
192
- };
193
- iconSize: {
194
- type: import('vue').PropType<number>;
195
- default: number;
196
- };
197
- searchString: {
198
- type: import('vue').PropType<string>;
199
- default: string;
200
- };
201
- retry: {
202
- type: import('vue').PropType<() => void>;
203
- default: undefined;
204
- };
205
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
206
- type: {
207
- type: import('vue').PropType<PlaceHolderTypes>;
208
- required: true;
209
- default: PlaceHolderTypes;
210
- };
211
- className: {
212
- type: import('vue').PropType<string>;
213
- default: string;
214
- };
215
- iconSize: {
216
- type: import('vue').PropType<number>;
217
- default: number;
218
- };
219
- searchString: {
220
- type: import('vue').PropType<string>;
221
- default: string;
222
- };
223
- retry: {
224
- type: import('vue').PropType<() => void>;
225
- default: undefined;
226
- };
227
- }>> & Readonly<{}>, {
228
- type: PlaceHolderTypes;
229
- className: string;
230
- iconSize: number;
231
- searchString: string;
232
- retry: () => void;
233
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
234
- props: {
235
- type: PlaceHolderTypes;
236
- };
237
- };
238
- PlaceholderLoading: () => {
239
- component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
240
- type: {
241
- type: import('vue').PropType<PlaceHolderTypes>;
242
- required: true;
243
- default: PlaceHolderTypes;
244
- };
245
- className: {
246
- type: import('vue').PropType<string>;
247
- default: string;
248
- };
249
- iconSize: {
250
- type: import('vue').PropType<number>;
251
- default: number;
252
- };
253
- searchString: {
254
- type: import('vue').PropType<string>;
255
- default: string;
256
- };
257
- retry: {
258
- type: import('vue').PropType<() => void>;
259
- default: undefined;
260
- };
261
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
262
- type: {
263
- type: import('vue').PropType<PlaceHolderTypes>;
264
- required: true;
265
- default: PlaceHolderTypes;
266
- };
267
- className: {
268
- type: import('vue').PropType<string>;
269
- default: string;
270
- };
271
- iconSize: {
272
- type: import('vue').PropType<number>;
273
- default: number;
274
- };
275
- searchString: {
276
- type: import('vue').PropType<string>;
277
- default: string;
278
- };
279
- retry: {
280
- type: import('vue').PropType<() => void>;
281
- default: undefined;
282
- };
283
- }>> & Readonly<{}>, {
284
- type: PlaceHolderTypes;
285
- className: string;
286
- iconSize: number;
287
- searchString: string;
288
- retry: () => void;
289
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
290
- props: {
291
- type: PlaceHolderTypes;
292
- };
293
- };
294
- PlaceholderLoadError: () => {
295
- component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
296
- type: {
297
- type: import('vue').PropType<PlaceHolderTypes>;
298
- required: true;
299
- default: PlaceHolderTypes;
300
- };
301
- className: {
302
- type: import('vue').PropType<string>;
303
- default: string;
304
- };
305
- iconSize: {
306
- type: import('vue').PropType<number>;
307
- default: number;
308
- };
309
- searchString: {
310
- type: import('vue').PropType<string>;
311
- default: string;
312
- };
313
- retry: {
314
- type: import('vue').PropType<() => void>;
315
- default: undefined;
316
- };
317
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
318
- type: {
319
- type: import('vue').PropType<PlaceHolderTypes>;
320
- required: true;
321
- default: PlaceHolderTypes;
322
- };
323
- className: {
324
- type: import('vue').PropType<string>;
325
- default: string;
326
- };
327
- iconSize: {
328
- type: import('vue').PropType<number>;
329
- default: number;
330
- };
331
- searchString: {
332
- type: import('vue').PropType<string>;
333
- default: string;
334
- };
335
- retry: {
336
- type: import('vue').PropType<() => void>;
337
- default: undefined;
338
- };
339
- }>> & Readonly<{}>, {
340
- type: PlaceHolderTypes;
341
- className: string;
342
- iconSize: number;
343
- searchString: string;
344
- retry: () => void;
345
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
346
- props: {
347
- type: PlaceHolderTypes;
348
- };
349
- };
23
+ PlaceholderEmptyList: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
24
+ [key: string]: any;
25
+ }>;
26
+ PlaceholderLoading: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
27
+ [key: string]: any;
28
+ }>;
29
+ PlaceholderLoadError: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
30
+ [key: string]: any;
31
+ }>;
350
32
  }>>> & Readonly<{}>, {
351
33
  error: boolean;
352
34
  loading: boolean;
353
- PlaceholderEmptyList: any;
35
+ PlaceholderEmptyList: import('vue').Component;
354
36
  empty: boolean;
355
- PlaceholderLoading: any;
356
- PlaceholderLoadError: any;
37
+ PlaceholderLoading: import('vue').Component;
38
+ PlaceholderLoadError: import('vue').Component;
357
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
358
40
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
359
41
  export default _default;