@funhub/platform 0.1.62 → 0.1.63

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 (808) hide show
  1. package/dist/_virtual/_rolldown/runtime.mjs +1 -18
  2. package/dist/assets/icons/clear.mjs +1 -17
  3. package/dist/assets/icons/close-icon.mjs +1 -18
  4. package/dist/assets/icons/close.mjs +1 -14
  5. package/dist/assets/icons/common/collect_nor.mjs +1 -21
  6. package/dist/assets/icons/common/collect_sel.mjs +1 -21
  7. package/dist/assets/icons/common/follow_sel.mjs +1 -17
  8. package/dist/assets/icons/common/follow_user.mjs +1 -17
  9. package/dist/assets/icons/common/full_screen.mjs +1 -17
  10. package/dist/assets/icons/common/god_comment.mjs +1 -17
  11. package/dist/assets/icons/common/heart-like.mjs +1 -31
  12. package/dist/assets/icons/common/heart-unlike.mjs +1 -18
  13. package/dist/assets/icons/common/qq.mjs +1 -32
  14. package/dist/assets/icons/common/right_arrow.mjs +1 -14
  15. package/dist/assets/icons/common/share.mjs +1 -17
  16. package/dist/assets/icons/common/solid-arrow.mjs +1 -17
  17. package/dist/assets/icons/common/video_play.mjs +1 -18
  18. package/dist/assets/icons/common/wechat-friends.mjs +1 -40
  19. package/dist/assets/icons/common/wechat.mjs +1 -39
  20. package/dist/assets/icons/detail/check-ok.mjs +1 -17
  21. package/dist/assets/icons/detail/collect_nor.mjs +1 -21
  22. package/dist/assets/icons/detail/collect_sel.mjs +1 -21
  23. package/dist/assets/icons/detail/comment.mjs +1 -19
  24. package/dist/assets/icons/detail/commet_at.mjs +1 -53
  25. package/dist/assets/icons/detail/give_like.mjs +1 -20
  26. package/dist/assets/icons/detail/give_like_sel.mjs +1 -27
  27. package/dist/assets/icons/detail/min-collection.mjs +1 -38
  28. package/dist/assets/icons/detail/publish_pic.mjs +1 -27
  29. package/dist/assets/icons/detail/publish_video.mjs +1 -30
  30. package/dist/assets/icons/detail/share.mjs +1 -17
  31. package/dist/assets/icons/detail/un_like.mjs +1 -20
  32. package/dist/assets/icons/detail/un_like_sel.mjs +1 -27
  33. package/dist/assets/icons/detail/video_flag.mjs +1 -17
  34. package/dist/assets/icons/detail/video_play.mjs +1 -18
  35. package/dist/assets/icons/dislike.mjs +1 -20
  36. package/dist/assets/icons/dislike_sel.mjs +1 -27
  37. package/dist/assets/icons/empty/img-empty-adduser.mjs +1 -463
  38. package/dist/assets/icons/empty/img-empty-nodata.mjs +1 -194
  39. package/dist/assets/icons/eye-icon.mjs +1 -21
  40. package/dist/assets/icons/eye-off-icon.mjs +1 -21
  41. package/dist/assets/icons/filter_dark.mjs +1 -17
  42. package/dist/assets/icons/follow_nor.mjs +1 -44
  43. package/dist/assets/icons/follow_sel.mjs +1 -31
  44. package/dist/assets/icons/left-arrow-icon.mjs +1 -18
  45. package/dist/assets/icons/left_arrow.mjs +1 -14
  46. package/dist/assets/icons/like.mjs +1 -20
  47. package/dist/assets/icons/like_sel.mjs +1 -27
  48. package/dist/assets/icons/publish/publish_add.mjs +1 -17
  49. package/dist/assets/icons/publish/publish_at.mjs +1 -53
  50. package/dist/assets/icons/publish/publish_collection.mjs +1 -28
  51. package/dist/assets/icons/publish/publish_pic.mjs +1 -27
  52. package/dist/assets/icons/publish/publish_video.mjs +1 -30
  53. package/dist/assets/icons/refresh.mjs +1 -18
  54. package/dist/assets/icons/right_arrow.mjs +1 -14
  55. package/dist/assets/icons/search/avatar.mjs +1 -36
  56. package/dist/assets/icons/search/filter.mjs +1 -17
  57. package/dist/assets/icons/search/video.mjs +1 -27
  58. package/dist/assets/icons/search.mjs +1 -23
  59. package/dist/assets/icons/share/share-link.mjs +1 -39
  60. package/dist/assets/icons/tabs/follow.mjs +1 -20
  61. package/dist/assets/icons/tabs/follow_active.mjs +1 -17
  62. package/dist/assets/icons/tabs/home.mjs +1 -17
  63. package/dist/assets/icons/tabs/home_active.mjs +1 -17
  64. package/dist/assets/icons/tabs/mine.mjs +1 -26
  65. package/dist/assets/icons/tabs/mine_active.mjs +1 -17
  66. package/dist/assets/icons/view.mjs +1 -17
  67. package/dist/assets/images/add.mjs +1 -5
  68. package/dist/assets/images/default_avatar.mjs +1 -5
  69. package/dist/assets/images/default_collection_cover.mjs +1 -5
  70. package/dist/assets/images/empty/img_empty_adduser.mjs +1 -463
  71. package/dist/assets/images/empty/img_empty_message.mjs +1 -408
  72. package/dist/assets/images/empty/img_empty_network.mjs +1 -168
  73. package/dist/assets/images/empty/img_empty_nodata.mjs +1 -194
  74. package/dist/assets/images/empty/img_empty_picture.mjs +1 -59
  75. package/dist/assets/images/empty/img_empty_search.mjs +1 -250
  76. package/dist/assets/images/frame.mjs +1 -5
  77. package/dist/assets/images/less.mjs +1 -5
  78. package/dist/assets/images/logo.mjs +1 -5
  79. package/dist/assets/images/marquee.mjs +1 -5
  80. package/dist/assets/images/subscript.mjs +1 -5
  81. package/dist/assets/images/user/default_avatar.mjs +1 -5
  82. package/dist/biz.mjs +1 -145
  83. package/dist/common.mjs +1 -44
  84. package/dist/components/biz/basics/card-item/defaults/default-props.mjs +1 -10
  85. package/dist/components/biz/basics/card-item/runtime/client.mjs +1 -83
  86. package/dist/components/biz/basics/card-item/runtime/corners.mjs +1 -33
  87. package/dist/components/biz/basics/card-item/schema/component.mjs +1 -14
  88. package/dist/components/biz/basics/card-item/schema/data.schema.mjs +1 -8
  89. package/dist/components/biz/basics/card-item/schema/event.schema.mjs +1 -8
  90. package/dist/components/biz/basics/card-item/schema/index.mjs +1 -17
  91. package/dist/components/biz/basics/card-item/schema/props.schema.mjs +1 -18
  92. package/dist/components/biz/basics/card-item/schema/style.schema.mjs +1 -7
  93. package/dist/components/biz/basics/card-layout/defaults/default-props.mjs +1 -13
  94. package/dist/components/biz/basics/card-layout/runtime/client.mjs +1 -38
  95. package/dist/components/biz/basics/card-layout/schema/component.mjs +1 -14
  96. package/dist/components/biz/basics/card-layout/schema/data.schema.mjs +1 -8
  97. package/dist/components/biz/basics/card-layout/schema/event.schema.mjs +1 -5
  98. package/dist/components/biz/basics/card-layout/schema/index.mjs +1 -17
  99. package/dist/components/biz/basics/card-layout/schema/props.schema.mjs +1 -28
  100. package/dist/components/biz/basics/card-layout/schema/style.schema.mjs +1 -7
  101. package/dist/components/biz/basics/fullscreen-feed/basic-fullscreen.mjs +1 -268
  102. package/dist/components/biz/basics/fullscreen-feed/defaults/default-props.mjs +1 -11
  103. package/dist/components/biz/basics/fullscreen-feed/index.mjs +1 -12
  104. package/dist/components/biz/basics/fullscreen-feed/runtime/adapters.mjs +1 -97
  105. package/dist/components/biz/basics/fullscreen-feed/runtime/bottom-info.mjs +1 -125
  106. package/dist/components/biz/basics/fullscreen-feed/runtime/client.mjs +1 -391
  107. package/dist/components/biz/basics/fullscreen-feed/runtime/comment-modal.mjs +1 -107
  108. package/dist/components/biz/basics/fullscreen-feed/runtime/interaction-sync.mjs +1 -134
  109. package/dist/components/biz/basics/fullscreen-feed/runtime/post-slide.mjs +1 -232
  110. package/dist/components/biz/basics/fullscreen-feed/runtime/styles.module.mjs +152 -25
  111. package/dist/components/biz/basics/fullscreen-feed/runtime/use-mixed-feed-controller.mjs +1 -193
  112. package/dist/components/biz/basics/fullscreen-feed/runtime/use-series-feed-controller.mjs +1 -212
  113. package/dist/components/biz/basics/fullscreen-feed/runtime/user-action.mjs +1 -273
  114. package/dist/components/biz/basics/fullscreen-feed/runtime/video-slide.mjs +1 -373
  115. package/dist/components/biz/basics/fullscreen-feed/schema/component.mjs +1 -14
  116. package/dist/components/biz/basics/fullscreen-feed/schema/data.schema.mjs +1 -11
  117. package/dist/components/biz/basics/fullscreen-feed/schema/event.schema.mjs +1 -13
  118. package/dist/components/biz/basics/fullscreen-feed/schema/index.mjs +1 -17
  119. package/dist/components/biz/basics/fullscreen-feed/schema/props.schema.mjs +1 -20
  120. package/dist/components/biz/basics/fullscreen-feed/schema/style.schema.mjs +1 -5
  121. package/dist/components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs +1 -19
  122. package/dist/components/biz/basics/logo/variants/basic-logo/index.mjs +1 -9
  123. package/dist/components/biz/basics/logo/variants/basic-logo/runtime/client.mjs +1 -169
  124. package/dist/components/biz/basics/logo/variants/basic-logo/schema/component.mjs +1 -14
  125. package/dist/components/biz/basics/logo/variants/basic-logo/schema/data.schema.mjs +1 -9
  126. package/dist/components/biz/basics/logo/variants/basic-logo/schema/event.schema.mjs +1 -23
  127. package/dist/components/biz/basics/logo/variants/basic-logo/schema/index.mjs +1 -17
  128. package/dist/components/biz/basics/logo/variants/basic-logo/schema/props.schema.mjs +1 -78
  129. package/dist/components/biz/basics/logo/variants/basic-logo/schema/style.schema.mjs +1 -7
  130. package/dist/components/biz/basics/search/shared/components/search-box.mjs +1 -55
  131. package/dist/components/biz/basics/search/shared/config/default-data.mjs +1 -15
  132. package/dist/components/biz/basics/search/shared/config/schema.mjs +1 -50
  133. package/dist/components/biz/basics/search/variants/basic-search/defaults/default-props.mjs +1 -10
  134. package/dist/components/biz/basics/search/variants/basic-search/index.mjs +1 -12
  135. package/dist/components/biz/basics/search/variants/basic-search/runtime/client.mjs +1 -31
  136. package/dist/components/biz/basics/search/variants/basic-search/schema/component.mjs +1 -14
  137. package/dist/components/biz/basics/search/variants/basic-search/schema/data.schema.mjs +1 -8
  138. package/dist/components/biz/basics/search/variants/basic-search/schema/event.schema.mjs +1 -7
  139. package/dist/components/biz/basics/search/variants/basic-search/schema/index.mjs +1 -17
  140. package/dist/components/biz/basics/search/variants/basic-search/schema/props.schema.mjs +1 -7
  141. package/dist/components/biz/basics/search/variants/basic-search/schema/style.schema.mjs +1 -7
  142. package/dist/components/biz/basics/search/variants/filter-search/defaults/default-props.mjs +1 -14
  143. package/dist/components/biz/basics/search/variants/filter-search/index.mjs +1 -12
  144. package/dist/components/biz/basics/search/variants/filter-search/runtime/client.mjs +1 -63
  145. package/dist/components/biz/basics/search/variants/filter-search/schema/component.mjs +1 -14
  146. package/dist/components/biz/basics/search/variants/filter-search/schema/data.schema.mjs +1 -8
  147. package/dist/components/biz/basics/search/variants/filter-search/schema/event.schema.mjs +1 -7
  148. package/dist/components/biz/basics/search/variants/filter-search/schema/index.mjs +1 -17
  149. package/dist/components/biz/basics/search/variants/filter-search/schema/props.schema.mjs +1 -22
  150. package/dist/components/biz/basics/search/variants/filter-search/schema/style.schema.mjs +1 -7
  151. package/dist/components/biz/basics/search/variants/simple-search/defaults/default-props.mjs +1 -10
  152. package/dist/components/biz/basics/search/variants/simple-search/index.mjs +1 -9
  153. package/dist/components/biz/basics/search/variants/simple-search/runtime/client.mjs +1 -37
  154. package/dist/components/biz/basics/search/variants/simple-search/schema/component.mjs +1 -14
  155. package/dist/components/biz/basics/search/variants/simple-search/schema/data.schema.mjs +1 -8
  156. package/dist/components/biz/basics/search/variants/simple-search/schema/event.schema.mjs +1 -7
  157. package/dist/components/biz/basics/search/variants/simple-search/schema/index.mjs +1 -17
  158. package/dist/components/biz/basics/search/variants/simple-search/schema/props.schema.mjs +1 -7
  159. package/dist/components/biz/basics/search/variants/simple-search/schema/style.schema.mjs +1 -7
  160. package/dist/components/biz/basics/search/variants/tag-search/defaults/default-props.mjs +1 -18
  161. package/dist/components/biz/basics/search/variants/tag-search/index.mjs +1 -9
  162. package/dist/components/biz/basics/search/variants/tag-search/runtime/client.mjs +1 -67
  163. package/dist/components/biz/basics/search/variants/tag-search/schema/component.mjs +1 -14
  164. package/dist/components/biz/basics/search/variants/tag-search/schema/data.schema.mjs +1 -8
  165. package/dist/components/biz/basics/search/variants/tag-search/schema/event.schema.mjs +1 -7
  166. package/dist/components/biz/basics/search/variants/tag-search/schema/index.mjs +1 -17
  167. package/dist/components/biz/basics/search/variants/tag-search/schema/props.schema.mjs +1 -37
  168. package/dist/components/biz/basics/search/variants/tag-search/schema/style.schema.mjs +1 -7
  169. package/dist/components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs +1 -15
  170. package/dist/components/biz/business/banner/variants/basic-banner/index.mjs +1 -12
  171. package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.mjs +1 -64
  172. package/dist/components/biz/business/banner/variants/basic-banner/material.mjs +1 -21
  173. package/dist/components/biz/business/banner/variants/basic-banner/runtime/client.mjs +1 -126
  174. package/dist/components/biz/business/banner/variants/basic-banner/schema/component.mjs +1 -14
  175. package/dist/components/biz/business/banner/variants/basic-banner/schema/data.schema.mjs +1 -53
  176. package/dist/components/biz/business/banner/variants/basic-banner/schema/event.schema.mjs +1 -5
  177. package/dist/components/biz/business/banner/variants/basic-banner/schema/index.mjs +1 -17
  178. package/dist/components/biz/business/banner/variants/basic-banner/schema/props.schema.mjs +1 -40
  179. package/dist/components/biz/business/banner/variants/basic-banner/schema/style.schema.mjs +1 -7
  180. package/dist/components/biz/business/banner/variants/basic-banner/server.mjs +1 -25
  181. package/dist/components/biz/business/banner-carousel/client.mjs +1 -121
  182. package/dist/components/biz/business/banner-carousel/default-props.mjs +1 -15
  183. package/dist/components/biz/business/banner-carousel/material.mjs +1 -21
  184. package/dist/components/biz/business/banner-carousel/schema.mjs +1 -85
  185. package/dist/components/biz/business/banner-carousel/server.mjs +1 -22
  186. package/dist/components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs +1 -8
  187. package/dist/components/biz/business/card-grid/variants/card-grid-2x3/index.mjs +1 -9
  188. package/dist/components/biz/business/card-grid/variants/card-grid-2x3/runtime/client.mjs +1 -41
  189. package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/component.mjs +1 -14
  190. package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/data.schema.mjs +1 -8
  191. package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/event.schema.mjs +1 -5
  192. package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs +1 -17
  193. package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/props.schema.mjs +1 -12
  194. package/dist/components/biz/business/card-grid/variants/card-grid-2x3/schema/style.schema.mjs +1 -7
  195. package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs +1 -8
  196. package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs +1 -9
  197. package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/runtime/client.mjs +1 -107
  198. package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/component.mjs +1 -14
  199. package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/data.schema.mjs +1 -8
  200. package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/event.schema.mjs +1 -5
  201. package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs +1 -17
  202. package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/props.schema.mjs +1 -12
  203. package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/style.schema.mjs +1 -7
  204. package/dist/components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs +1 -8
  205. package/dist/components/biz/business/card-grid/variants/card-grid-2x4/index.mjs +1 -9
  206. package/dist/components/biz/business/card-grid/variants/card-grid-2x4/runtime/client.mjs +1 -41
  207. package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/component.mjs +1 -14
  208. package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/data.schema.mjs +1 -8
  209. package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/event.schema.mjs +1 -5
  210. package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs +1 -17
  211. package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/props.schema.mjs +1 -12
  212. package/dist/components/biz/business/card-grid/variants/card-grid-2x4/schema/style.schema.mjs +1 -7
  213. package/dist/components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs +1 -8
  214. package/dist/components/biz/business/card-grid/variants/card-grid-3x3/index.mjs +1 -9
  215. package/dist/components/biz/business/card-grid/variants/card-grid-3x3/runtime/client.mjs +1 -41
  216. package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/component.mjs +1 -14
  217. package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/data.schema.mjs +1 -8
  218. package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/event.schema.mjs +1 -5
  219. package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs +1 -17
  220. package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/props.schema.mjs +1 -12
  221. package/dist/components/biz/business/card-grid/variants/card-grid-3x3/schema/style.schema.mjs +1 -7
  222. package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs +1 -8
  223. package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs +1 -9
  224. package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/runtime/client.mjs +1 -107
  225. package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/component.mjs +1 -14
  226. package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/data.schema.mjs +1 -8
  227. package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/event.schema.mjs +1 -5
  228. package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs +1 -17
  229. package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/props.schema.mjs +1 -12
  230. package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/style.schema.mjs +1 -7
  231. package/dist/components/biz/business/channel-list/channel-filter-dialog.mjs +1 -180
  232. package/dist/components/biz/business/channel-list/client.mjs +1 -111
  233. package/dist/components/biz/business/channel-list/default-props.mjs +1 -12
  234. package/dist/components/biz/business/channel-list/material.mjs +1 -21
  235. package/dist/components/biz/business/channel-list/schema.mjs +1 -39
  236. package/dist/components/biz/business/comment/comment-input.mjs +5 -772
  237. package/dist/components/biz/business/comment/comment-item.mjs +1 -190
  238. package/dist/components/biz/business/comment/comment-list.mjs +1 -722
  239. package/dist/components/biz/business/comment/comment-media.mjs +1 -57
  240. package/dist/components/biz/business/comment/comment-rich-text.mjs +1 -69
  241. package/dist/components/biz/business/comment/reply-detail.mjs +1 -978
  242. package/dist/components/biz/business/comment/time-display.mjs +1 -20
  243. package/dist/components/biz/business/comment/use-keyboard-handler.mjs +1 -142
  244. package/dist/components/biz/business/contact/contact-item.mjs +1 -45
  245. package/dist/components/biz/business/contact/contact-list.mjs +1 -212
  246. package/dist/components/biz/business/contact/contact-search.mjs +1 -128
  247. package/dist/components/biz/business/detail/shared/detail-follow-action.mjs +1 -105
  248. package/dist/components/biz/business/detail/shared/detail-info-tags.mjs +1 -24
  249. package/dist/components/biz/business/detail/shared/detail-info-title.mjs +1 -82
  250. package/dist/components/biz/business/detail/shared/detail-introduction.mjs +1 -64
  251. package/dist/components/biz/business/detail/shared/detail-operate.mjs +1 -330
  252. package/dist/components/biz/business/detail/shared/detail-structured-data.mjs +1 -63
  253. package/dist/components/biz/business/detail/shared/editor-preview.mjs +1 -67
  254. package/dist/components/biz/business/detail/shared/metadata-utils.mjs +1 -21
  255. package/dist/components/biz/business/detail/shared/post-recommend-list.mjs +1 -184
  256. package/dist/components/biz/business/detail/shared/registry.mjs +1 -55
  257. package/dist/components/biz/business/detail/shared/runtime-context-provider.mjs +1 -25
  258. package/dist/components/biz/business/detail/shared/seo-config.mjs +1 -28
  259. package/dist/components/biz/business/detail/shared/video-hero.mjs +1 -393
  260. package/dist/components/biz/business/detail/video-detail-actions/client.mjs +1 -28
  261. package/dist/components/biz/business/detail/video-detail-actions/material.mjs +1 -18
  262. package/dist/components/biz/business/detail/video-detail-actions/schema.mjs +1 -11
  263. package/dist/components/biz/business/detail/video-detail-actions/server.mjs +1 -17
  264. package/dist/components/biz/business/detail/video-detail-info/client.mjs +1 -40
  265. package/dist/components/biz/business/detail/video-detail-info/material.mjs +1 -18
  266. package/dist/components/biz/business/detail/video-detail-info/schema.mjs +1 -20
  267. package/dist/components/biz/business/detail/video-detail-info/server.mjs +1 -17
  268. package/dist/components/biz/business/detail/video-detail-info-title/client.mjs +1 -27
  269. package/dist/components/biz/business/detail/video-detail-info-title/material.mjs +1 -18
  270. package/dist/components/biz/business/detail/video-detail-info-title/schema.mjs +1 -11
  271. package/dist/components/biz/business/detail/video-detail-info-title/server.mjs +1 -17
  272. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/client.mjs +1 -49
  273. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.mjs +1 -18
  274. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.mjs +1 -20
  275. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/server.mjs +1 -17
  276. package/dist/components/biz/business/detail/video-detail-player/client.mjs +1 -36
  277. package/dist/components/biz/business/detail/video-detail-player/material.mjs +1 -18
  278. package/dist/components/biz/business/detail/video-detail-player/schema.mjs +1 -11
  279. package/dist/components/biz/business/detail/video-detail-player/server.mjs +1 -17
  280. package/dist/components/biz/business/detail/video-detail-recommend/client.mjs +1 -269
  281. package/dist/components/biz/business/detail/video-detail-recommend/material.mjs +1 -18
  282. package/dist/components/biz/business/detail/video-detail-recommend/schema.mjs +1 -58
  283. package/dist/components/biz/business/detail/video-detail-recommend/server.mjs +1 -17
  284. package/dist/components/biz/business/detail/video-detail-recommend/utils.mjs +1 -51
  285. package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs +1 -12
  286. package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs +1 -9
  287. package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/runtime/client.mjs +1 -66
  288. package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/component.mjs +1 -14
  289. package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/data.schema.mjs +1 -43
  290. package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/event.schema.mjs +1 -5
  291. package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs +1 -17
  292. package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/props.schema.mjs +1 -32
  293. package/dist/components/biz/business/feature-grid/variants/basic-feature-grid/schema/style.schema.mjs +1 -7
  294. package/dist/components/biz/business/floating-ball/client.mjs +1 -31
  295. package/dist/components/biz/business/floating-ball/material.mjs +1 -18
  296. package/dist/components/biz/business/floating-ball/schema.mjs +1 -22
  297. package/dist/components/biz/business/floating-ball/server.mjs +1 -17
  298. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs +1 -11
  299. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs +1 -9
  300. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/runtime/client.mjs +1 -71
  301. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/component.mjs +1 -14
  302. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/data.schema.mjs +1 -11
  303. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs +1 -17
  304. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs +1 -11
  305. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs +1 -9
  306. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/runtime/client.mjs +1 -64
  307. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/component.mjs +1 -14
  308. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/data.schema.mjs +1 -11
  309. package/dist/components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs +1 -17
  310. package/dist/components/biz/business/fullscreen-feed/variants/shared/runtime-compat.mjs +1 -522
  311. package/dist/components/biz/business/header-search/header-avatar-icon/client.mjs +1 -29
  312. package/dist/components/biz/business/header-search/header-avatar-icon/material.mjs +1 -18
  313. package/dist/components/biz/business/header-search/header-avatar-icon/schema.mjs +1 -11
  314. package/dist/components/biz/business/header-search/header-avatar-icon/server.mjs +1 -17
  315. package/dist/components/biz/business/header-search/header-avatar-logo-search/client.mjs +1 -36
  316. package/dist/components/biz/business/header-search/header-avatar-logo-search/material.mjs +1 -18
  317. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +1 -24
  318. package/dist/components/biz/business/header-search/header-avatar-logo-search/server.mjs +1 -17
  319. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/client.mjs +1 -45
  320. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.mjs +1 -18
  321. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.mjs +1 -22
  322. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/server.mjs +1 -17
  323. package/dist/components/biz/business/header-search/header-logo-search/client.mjs +1 -33
  324. package/dist/components/biz/business/header-search/header-logo-search/material.mjs +1 -18
  325. package/dist/components/biz/business/header-search/header-logo-search/schema.mjs +1 -24
  326. package/dist/components/biz/business/header-search/header-logo-search/server.mjs +1 -17
  327. package/dist/components/biz/business/header-search/header-search/client.mjs +1 -20
  328. package/dist/components/biz/business/header-search/header-search/material.mjs +1 -18
  329. package/dist/components/biz/business/header-search/header-search/schema.mjs +1 -11
  330. package/dist/components/biz/business/header-search/header-search/server.mjs +1 -17
  331. package/dist/components/biz/business/header-search/shared/avatar.mjs +1 -44
  332. package/dist/components/biz/business/header-search/shared/logo.mjs +1 -28
  333. package/dist/components/biz/business/header-search/shared/search.mjs +1 -28
  334. package/dist/components/biz/business/home-recommend/home-recommend-grid/client.mjs +1 -48
  335. package/dist/components/biz/business/home-recommend/home-recommend-grid/index.mjs +1 -14
  336. package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs +1 -181
  337. package/dist/components/biz/business/home-recommend/home-recommend-grid/material.mjs +1 -18
  338. package/dist/components/biz/business/home-recommend/home-recommend-grid/schema.mjs +1 -24
  339. package/dist/components/biz/business/home-recommend/home-recommend-grid/server.mjs +1 -41
  340. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/client.mjs +1 -44
  341. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/index.mjs +1 -14
  342. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs +1 -157
  343. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.mjs +1 -18
  344. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/schema.mjs +1 -24
  345. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/server.mjs +1 -37
  346. package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +1 -459
  347. package/dist/components/biz/business/home-recommend/shared/home-recommend-default-config.mjs +1 -24
  348. package/dist/components/biz/business/home-recommend/shared/home-recommend-preview.mjs +1 -125
  349. package/dist/components/biz/business/home-recommend/shared/home-recommend-server-data.mjs +1 -231
  350. package/dist/components/biz/business/home-recommend/shared/home-recommend-video-detail.mjs +1 -38
  351. package/dist/components/biz/business/image-text-recommend/client.d.mts +2 -0
  352. package/dist/components/biz/business/image-text-recommend/client.mjs +1 -379
  353. package/dist/components/biz/business/image-text-recommend/material.mjs +1 -21
  354. package/dist/components/biz/business/image-text-recommend/schema.mjs +1 -117
  355. package/dist/components/biz/business/image-text-recommend/server.mjs +1 -65
  356. package/dist/components/biz/business/large-feature-grid/card-item.mjs +1 -84
  357. package/dist/components/biz/business/large-feature-grid/client.mjs +1 -88
  358. package/dist/components/biz/business/large-feature-grid/material.mjs +1 -21
  359. package/dist/components/biz/business/large-feature-grid/schema.mjs +1 -81
  360. package/dist/components/biz/business/large-feature-grid/server.mjs +1 -16
  361. package/dist/components/biz/business/marquee/client.mjs +1 -212
  362. package/dist/components/biz/business/marquee/marquee.module.mjs +25 -13
  363. package/dist/components/biz/business/marquee/material.mjs +1 -21
  364. package/dist/components/biz/business/marquee/schema.mjs +1 -91
  365. package/dist/components/biz/business/marquee/server.mjs +1 -17
  366. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs +1 -21
  367. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs +1 -9
  368. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/runtime/channel-filter-dialog.mjs +1 -180
  369. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/runtime/client.mjs +1 -148
  370. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/component.mjs +1 -14
  371. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/data.schema.mjs +1 -9
  372. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/event.schema.mjs +1 -27
  373. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs +1 -17
  374. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/props.schema.mjs +1 -92
  375. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/schema/style.schema.mjs +1 -7
  376. package/dist/components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs +1 -8
  377. package/dist/components/biz/business/post-card/variants/basic-post-card/index.mjs +1 -9
  378. package/dist/components/biz/business/post-card/variants/basic-post-card/runtime/client.mjs +1 -120
  379. package/dist/components/biz/business/post-card/variants/basic-post-card/schema/component.mjs +1 -14
  380. package/dist/components/biz/business/post-card/variants/basic-post-card/schema/data.schema.mjs +1 -8
  381. package/dist/components/biz/business/post-card/variants/basic-post-card/schema/event.schema.mjs +1 -5
  382. package/dist/components/biz/business/post-card/variants/basic-post-card/schema/index.mjs +1 -17
  383. package/dist/components/biz/business/post-card/variants/basic-post-card/schema/props.schema.mjs +1 -5
  384. package/dist/components/biz/business/post-card/variants/basic-post-card/schema/style.schema.mjs +1 -7
  385. package/dist/components/biz/business/profile/profile-header/client.mjs +1 -289
  386. package/dist/components/biz/business/profile/profile-header/material.mjs +1 -60
  387. package/dist/components/biz/business/profile/profile-header/schema.mjs +1 -11
  388. package/dist/components/biz/business/profile/profile-header/server.mjs +1 -111
  389. package/dist/components/biz/business/profile/profile-header/user-profile-avatar.mjs +1 -235
  390. package/dist/components/biz/business/profile/profile-header/user-profile-cover-background.mjs +1 -135
  391. package/dist/components/biz/business/profile/profile-main/client.mjs +1 -137
  392. package/dist/components/biz/business/profile/profile-main/material.mjs +1 -18
  393. package/dist/components/biz/business/profile/profile-main/schema.mjs +1 -11
  394. package/dist/components/biz/business/profile/profile-main/server.mjs +1 -161
  395. package/dist/components/biz/business/profile/profile-main/shell.mjs +1 -211
  396. package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs +1 -489
  397. package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs +1 -213
  398. package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.mjs +1 -251
  399. package/dist/components/biz/business/profile/profile-main/tabs/history-tab/server.mjs +1 -47
  400. package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.mjs +1 -251
  401. package/dist/components/biz/business/profile/profile-main/tabs/like-tab/server.mjs +1 -45
  402. package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs +1 -149
  403. package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs +1 -43
  404. package/dist/components/biz/business/profile/profile-main/utils.mjs +1 -248
  405. package/dist/components/biz/business/profile/profile-main/variants.mjs +1 -40
  406. package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs +1 -15
  407. package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/index.mjs +1 -9
  408. package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/runtime/client.mjs +1 -168
  409. package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/runtime/recommended-users-skeleton.mjs +1 -119
  410. package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/component.mjs +1 -14
  411. package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/data.schema.mjs +1 -9
  412. package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/event.schema.mjs +1 -17
  413. package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs +1 -17
  414. package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/props.schema.mjs +1 -54
  415. package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/schema/style.schema.mjs +1 -7
  416. package/dist/components/biz/business/search-bar/variants/basic-search-bar/defaults/default-props.mjs +1 -15
  417. package/dist/components/biz/business/search-bar/variants/basic-search-bar/index.mjs +1 -9
  418. package/dist/components/biz/business/search-bar/variants/basic-search-bar/runtime/client.mjs +1 -52
  419. package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/component.mjs +1 -14
  420. package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/data.schema.mjs +1 -9
  421. package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/event.schema.mjs +1 -5
  422. package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs +1 -17
  423. package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/props.schema.mjs +1 -117
  424. package/dist/components/biz/business/search-bar/variants/basic-search-bar/schema/style.schema.mjs +1 -7
  425. package/dist/components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs +1 -22
  426. package/dist/components/biz/business/search-bar/variants/detail-search-bar/index.mjs +1 -9
  427. package/dist/components/biz/business/search-bar/variants/detail-search-bar/runtime/client.mjs +1 -53
  428. package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/component.mjs +1 -14
  429. package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/data.schema.mjs +1 -9
  430. package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/event.schema.mjs +1 -5
  431. package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/index.mjs +1 -17
  432. package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/props.schema.mjs +1 -117
  433. package/dist/components/biz/business/search-bar/variants/detail-search-bar/schema/style.schema.mjs +1 -7
  434. package/dist/components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs +1 -15
  435. package/dist/components/biz/business/search-bar/variants/filter-search-bar/index.mjs +1 -9
  436. package/dist/components/biz/business/search-bar/variants/filter-search-bar/runtime/client.mjs +1 -52
  437. package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/component.mjs +1 -14
  438. package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/data.schema.mjs +1 -9
  439. package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/event.schema.mjs +1 -25
  440. package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs +1 -17
  441. package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/props.schema.mjs +1 -128
  442. package/dist/components/biz/business/search-bar/variants/filter-search-bar/schema/style.schema.mjs +1 -7
  443. package/dist/components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs +1 -15
  444. package/dist/components/biz/business/search-bar/variants/tag-search-bar/index.mjs +1 -12
  445. package/dist/components/biz/business/search-bar/variants/tag-search-bar/runtime/client.mjs +1 -58
  446. package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/component.mjs +1 -14
  447. package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/data.schema.mjs +1 -9
  448. package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/event.schema.mjs +1 -38
  449. package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs +1 -17
  450. package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/props.schema.mjs +1 -144
  451. package/dist/components/biz/business/search-bar/variants/tag-search-bar/schema/style.schema.mjs +1 -7
  452. package/dist/components/biz/business/search-history/client.mjs +1 -121
  453. package/dist/components/biz/business/search-history/material.mjs +1 -18
  454. package/dist/components/biz/business/search-history/schema.mjs +1 -20
  455. package/dist/components/biz/business/search-history/server.mjs +1 -22
  456. package/dist/components/biz/business/search-input/client.mjs +1 -139
  457. package/dist/components/biz/business/search-input/material.mjs +1 -18
  458. package/dist/components/biz/business/search-input/schema.mjs +1 -11
  459. package/dist/components/biz/business/search-input/server.mjs +1 -21
  460. package/dist/components/biz/business/shortcut-grid/client.mjs +1 -64
  461. package/dist/components/biz/business/shortcut-grid/material.mjs +1 -18
  462. package/dist/components/biz/business/shortcut-grid/schema.mjs +1 -70
  463. package/dist/components/biz/business/shortcut-grid/server.mjs +1 -17
  464. package/dist/components/biz/business/tab-bar/client.mjs +1 -78
  465. package/dist/components/biz/business/tab-bar/material.mjs +1 -21
  466. package/dist/components/biz/business/tab-bar/schema.mjs +1 -69
  467. package/dist/components/biz/business/tab-bar/server.mjs +1 -18
  468. package/dist/components/biz/business/text-recommend/client.d.mts +1 -1
  469. package/dist/components/biz/business/text-recommend/client.mjs +1 -80
  470. package/dist/components/biz/business/text-recommend/material.mjs +1 -18
  471. package/dist/components/biz/business/text-recommend/schema.mjs +1 -28
  472. package/dist/components/biz/business/text-recommend/server.mjs +1 -18
  473. package/dist/components/biz/example/button/client.mjs +1 -43
  474. package/dist/components/biz/example/button/material.mjs +1 -18
  475. package/dist/components/biz/example/button/schema.mjs +1 -47
  476. package/dist/components/biz/example/button/server.mjs +1 -32
  477. package/dist/components/biz/example/button/variants.mjs +1 -22
  478. package/dist/components/biz/renderer/renderer.mjs +1 -73
  479. package/dist/components/biz/utils/constants/card-spec.mjs +1 -48
  480. package/dist/components/biz/utils/helpers/get-channel-list.mjs +1 -14
  481. package/dist/components/biz/utils/helpers/url.mjs +1 -16
  482. package/dist/components/biz/utils/schema/data.mjs +1 -22
  483. package/dist/components/biz/utils/styles/helpers.mjs +1 -84
  484. package/dist/components/biz/utils/styles/schema.mjs +1 -306
  485. package/dist/components/biz/utils/transformers/card-grid.mjs +1 -71
  486. package/dist/components/biz/utils/transformers/data.mjs +1 -171
  487. package/dist/components/common/at-element/index.mjs +1 -47
  488. package/dist/components/common/background-preview-modal/background-preview-modal.mjs +1 -73
  489. package/dist/components/common/blocked-dialog/blocked-dialog.mjs +1 -54
  490. package/dist/components/common/cards/mini-three-card.mjs +1 -55
  491. package/dist/components/common/cards/style.module.mjs +24 -12
  492. package/dist/components/common/collection-popup/collection-create-modal.mjs +1 -130
  493. package/dist/components/common/collection-popup/index.mjs +1 -292
  494. package/dist/components/common/debug-locale-switcher/index.mjs +1 -59
  495. package/dist/components/common/delete-confirm-dialog/delete-confirm-dialog.mjs +1 -66
  496. package/dist/components/common/empty/index.mjs +1 -51
  497. package/dist/components/common/follow-button/index.mjs +1 -133
  498. package/dist/components/common/follow-button/unfollow-confirm-dialog.mjs +1 -35
  499. package/dist/components/common/funhub-provider/funhub-provider.mjs +1 -85
  500. package/dist/components/common/header-nav/client.mjs +1 -51
  501. package/dist/components/common/icons/add.mjs +1 -21
  502. package/dist/components/common/icons/comment.mjs +1 -30
  503. package/dist/components/common/icons/delete.mjs +1 -32
  504. package/dist/components/common/icons/left-arrow.mjs +1 -15
  505. package/dist/components/common/icons/more.mjs +1 -30
  506. package/dist/components/common/icons/right-arrow.mjs +1 -19
  507. package/dist/components/common/icons/setting.mjs +1 -45
  508. package/dist/components/common/icons/share.mjs +1 -20
  509. package/dist/components/common/icons/video.mjs +1 -22
  510. package/dist/components/common/image-crop/image-crop.mjs +1 -182
  511. package/dist/components/common/image-crop/show-image-crop.mjs +1 -102
  512. package/dist/components/common/image-crop-modal/image-crop-modal.mjs +2 -128
  513. package/dist/components/common/info-card/card-header.mjs +1 -70
  514. package/dist/components/common/info-card/card-text.mjs +1 -49
  515. package/dist/components/common/interaction-animations.module.mjs +84 -14
  516. package/dist/components/common/intl-provider/intl-provider.mjs +1 -21
  517. package/dist/components/common/keep-scroll-position/index.mjs +1 -39
  518. package/dist/components/common/list/collection-list/collection-list-item.mjs +1 -93
  519. package/dist/components/common/list/collection-list/collection-list.mjs +1 -21
  520. package/dist/components/common/list/post-list/post-list-item.mjs +1 -54
  521. package/dist/components/common/list/post-list/post-list.mjs +1 -143
  522. package/dist/components/common/list/user-activity-list/user-activity-list-actions.mjs +1 -269
  523. package/dist/components/common/list/user-activity-list/user-activity-list-item.mjs +1 -468
  524. package/dist/components/common/list/user-activity-list/user-activity-list.mjs +1 -139
  525. package/dist/components/common/list/video-list/video-list-item.mjs +1 -104
  526. package/dist/components/common/list/video-list/video-list.mjs +1 -152
  527. package/dist/components/common/locale-sync/locale-sync.mjs +1 -62
  528. package/dist/components/common/login-dialog/login-dialog.mjs +1 -29
  529. package/dist/components/common/media-preview/index.mjs +1 -162
  530. package/dist/components/common/media-preview/video-play.mjs +1 -237
  531. package/dist/components/common/page-loading/index.mjs +1 -20
  532. package/dist/components/common/page-skeleton/page-skeleton.mjs +1 -7
  533. package/dist/components/common/photo-grid/common-photo-grid.mjs +1 -321
  534. package/dist/components/common/photo-grid/index.mjs +1 -226
  535. package/dist/components/common/photo-preview/common-photo-preview.mjs +1 -97
  536. package/dist/components/common/photo-preview/decrypt-loading.mjs +2 -66
  537. package/dist/components/common/photo-preview/index.mjs +1 -64
  538. package/dist/components/common/photo-preview/style.mjs +19 -7
  539. package/dist/components/common/picker/gender-picker/gender-picker.mjs +1 -66
  540. package/dist/components/common/picker/picker-drawer/picker-drawer.mjs +1 -78
  541. package/dist/components/common/popup-video/index.mjs +1 -76
  542. package/dist/components/common/popup-video/popup-video.module.mjs +16 -7
  543. package/dist/components/common/series-episodes/index.mjs +1 -429
  544. package/dist/components/common/share-popup/share-content.mjs +1 -152
  545. package/dist/components/common/share-popup/share-drawer.mjs +1 -100
  546. package/dist/components/common/share-popup/share-popup.mjs +1 -300
  547. package/dist/components/common/skeleton/post-list-item-skeleton.mjs +1 -99
  548. package/dist/components/common/skeleton/user-activity-list-item-skeleton.mjs +1 -146
  549. package/dist/components/common/skeleton/video-list-item-skeleton.mjs +1 -110
  550. package/dist/components/common/tab-bar/index.mjs +1 -125
  551. package/dist/components/common/theme-sync/index.mjs +1 -22
  552. package/dist/components/common/top-nav-bar/client.mjs +1 -63
  553. package/dist/components/common/top-nav-bar/fullscreen.mjs +1 -27
  554. package/dist/components/common/top-nav-bar/index.mjs +1 -29
  555. package/dist/components/common/top-nav-bar/normal.mjs +1 -20
  556. package/dist/components/common/video-player/create-video.mjs +2 -27
  557. package/dist/components/common/video-player/index.mjs +5 -701
  558. package/dist/components/common/video-player/playing-videos.mjs +1 -73
  559. package/dist/components/common/video-player/process-m3u8-cache.mjs +1 -282
  560. package/dist/components/common/video-player/style.module.mjs +259 -7
  561. package/dist/components/common/wait-loading.mjs +1 -119
  562. package/dist/components/pages/(follow)/_components/follow-button/index.mjs +1 -80
  563. package/dist/components/pages/(follow)/_components/header-nav/index.mjs +1 -13
  564. package/dist/components/pages/(follow)/_components/interaction-tabs/index.mjs +1 -43
  565. package/dist/components/pages/(follow)/_components/user-list/index.mjs +1 -139
  566. package/dist/components/pages/(follow)/_components/user-list/user-list-item.mjs +1 -46
  567. package/dist/components/pages/(follow)/fans/index.mjs +1 -10
  568. package/dist/components/pages/(follow)/fans/page.mjs +1 -95
  569. package/dist/components/pages/(follow)/followed/index.mjs +1 -10
  570. package/dist/components/pages/(follow)/followed/page.mjs +1 -95
  571. package/dist/components/pages/collection-add/index.mjs +1 -10
  572. package/dist/components/pages/collection-add/page.mjs +1 -161
  573. package/dist/components/pages/collection-create/form.mjs +1 -163
  574. package/dist/components/pages/collection-create/index.mjs +1 -10
  575. package/dist/components/pages/collection-create/page.mjs +1 -28
  576. package/dist/components/pages/collection-detail/_components/collection-detail-card.mjs +1 -183
  577. package/dist/components/pages/collection-detail/detail.mjs +1 -518
  578. package/dist/components/pages/collection-detail/index.mjs +1 -10
  579. package/dist/components/pages/collection-detail/page.mjs +1 -18
  580. package/dist/components/pages/edit/index.mjs +1 -10
  581. package/dist/components/pages/edit/page.mjs +1 -576
  582. package/dist/components/pages/feed-series/feed-series-client.mjs +1 -382
  583. package/dist/components/pages/feed-series/page.mjs +1 -97
  584. package/dist/components/pages/feedback/_components/feedback-form.mjs +1 -263
  585. package/dist/components/pages/feedback/index.mjs +1 -10
  586. package/dist/components/pages/feedback/page.mjs +1 -10
  587. package/dist/components/pages/fullscreen-feed/index.mjs +1 -10
  588. package/dist/components/pages/fullscreen-feed/page.mjs +1 -104
  589. package/dist/components/pages/home/channel-matcher.mjs +1 -30
  590. package/dist/components/pages/home/client.mjs +1 -169
  591. package/dist/components/pages/home/index.mjs +1 -56
  592. package/dist/components/pages/login/agreement-dialog.mjs +1 -104
  593. package/dist/components/pages/login/auth-guard.mjs +1 -36
  594. package/dist/components/pages/login/forgot.mjs +1 -130
  595. package/dist/components/pages/login/index.mjs +1 -107
  596. package/dist/components/pages/login/login-client.mjs +1 -214
  597. package/dist/components/pages/login/password.mjs +1 -186
  598. package/dist/components/pages/login/register.mjs +1 -189
  599. package/dist/components/pages/login/reset-password.mjs +1 -193
  600. package/dist/components/pages/login/verify.mjs +3 -212
  601. package/dist/components/pages/post-detail/page.mjs +1 -28
  602. package/dist/components/pages/post-detail/post-detail-client.mjs +1 -516
  603. package/dist/components/pages/profile/index.mjs +1 -10
  604. package/dist/components/pages/profile/page.mjs +1 -28
  605. package/dist/components/pages/publish/components/collection-card.mjs +1 -49
  606. package/dist/components/pages/publish/components/collection-popup.mjs +1 -81
  607. package/dist/components/pages/publish/components/collection.mjs +1 -97
  608. package/dist/components/pages/publish/components/cover-item.mjs +1 -46
  609. package/dist/components/pages/publish/components/editor.mjs +1 -208
  610. package/dist/components/pages/publish/components/header.mjs +1 -31
  611. package/dist/components/pages/publish/components/material-grid.mjs +1 -52
  612. package/dist/components/pages/publish/components/material-item.mjs +1 -68
  613. package/dist/components/pages/publish/components/toolbar.mjs +1 -39
  614. package/dist/components/pages/publish/components/upload-progress.mjs +1 -53
  615. package/dist/components/pages/publish/components/video-item.mjs +1 -36
  616. package/dist/components/pages/publish/constants.mjs +1 -8
  617. package/dist/components/pages/publish/hooks/use-file-upload.mjs +1 -162
  618. package/dist/components/pages/publish/page-client.mjs +1 -345
  619. package/dist/components/pages/publish/page.mjs +1 -11
  620. package/dist/components/pages/publish/utils/file-upload.mjs +1 -155
  621. package/dist/components/pages/publish/utils/publish-utils.mjs +1 -11
  622. package/dist/components/pages/search/hot-recommend.mjs +1 -185
  623. package/dist/components/pages/search/hot-search.mjs +1 -70
  624. package/dist/components/pages/search/index.mjs +1 -17
  625. package/dist/components/pages/search/page-client.mjs +1 -159
  626. package/dist/components/pages/search/search-result/index.mjs +1 -22
  627. package/dist/components/pages/search/search-result/search-all.mjs +1 -223
  628. package/dist/components/pages/search/search-result/search-user.mjs +1 -203
  629. package/dist/components/pages/search/search-result/search-video-info.mjs +1 -301
  630. package/dist/components/pages/search/search-utils.mjs +1 -48
  631. package/dist/components/pages/search/style.module.mjs +113 -13
  632. package/dist/components/pages/search/top-header.mjs +1 -89
  633. package/dist/components/pages/search-result/page-client.mjs +1 -110
  634. package/dist/components/pages/search-result/search-all.mjs +1 -79
  635. package/dist/components/pages/search-result/search-tab.mjs +1 -89
  636. package/dist/components/pages/search-result/search-user.mjs +1 -258
  637. package/dist/components/pages/search-result/search-video.mjs +1 -226
  638. package/dist/components/pages/settings/_components/reset-password-drawer.mjs +1 -256
  639. package/dist/components/pages/settings/_components/settings.mjs +1 -183
  640. package/dist/components/pages/settings/index.mjs +1 -10
  641. package/dist/components/pages/settings/page.mjs +1 -13
  642. package/dist/components/pages/user-follow/_components/follow-no-login.mjs +1 -34
  643. package/dist/components/pages/user-follow/_components/follow-top-header.mjs +1 -25
  644. package/dist/components/pages/user-follow/_components/post-tab.mjs +1 -96
  645. package/dist/components/pages/user-follow/index.mjs +1 -10
  646. package/dist/components/pages/user-follow/page.mjs +1 -106
  647. package/dist/components/pages/user-follow/skeleton.mjs +1 -62
  648. package/dist/components/pages/video-detail/page.mjs +1 -47
  649. package/dist/components/pages/video-detail/video-detail-client.mjs +1 -338
  650. package/dist/components/pages/video-list/index.mjs +1 -58
  651. package/dist/components/pages/video-list/types.mjs +1 -16
  652. package/dist/components/pages/video-list/video-list-client.mjs +1 -111
  653. package/dist/components/pages/video-list/video-list-item.mjs +1 -35
  654. package/dist/components/ui/accordion.mjs +1 -62
  655. package/dist/components/ui/alert-dialog.mjs +1 -114
  656. package/dist/components/ui/alert.mjs +1 -50
  657. package/dist/components/ui/aspect-ratio.mjs +1 -17
  658. package/dist/components/ui/avatar.mjs +1 -97
  659. package/dist/components/ui/badge.d.mts +1 -1
  660. package/dist/components/ui/badge.mjs +1 -38
  661. package/dist/components/ui/box.mjs +1 -17
  662. package/dist/components/ui/breadcrumb.mjs +1 -84
  663. package/dist/components/ui/button-group.mjs +1 -49
  664. package/dist/components/ui/button.d.mts +1 -1
  665. package/dist/components/ui/button.mjs +1 -50
  666. package/dist/components/ui/card.mjs +1 -65
  667. package/dist/components/ui/carousel.mjs +1 -142
  668. package/dist/components/ui/checkbox.mjs +1 -25
  669. package/dist/components/ui/collapsible.mjs +1 -31
  670. package/dist/components/ui/combobox.mjs +1 -185
  671. package/dist/components/ui/context-menu.mjs +1 -150
  672. package/dist/components/ui/dialog.mjs +1 -109
  673. package/dist/components/ui/drawer.mjs +1 -91
  674. package/dist/components/ui/dropdown-menu.mjs +1 -154
  675. package/dist/components/ui/empty-icons.mjs +7 -96
  676. package/dist/components/ui/empty.mjs +1 -95
  677. package/dist/components/ui/field.mjs +1 -131
  678. package/dist/components/ui/hover-card.mjs +1 -43
  679. package/dist/components/ui/image.d.mts +4 -4
  680. package/dist/components/ui/image.mjs +1 -202
  681. package/dist/components/ui/infinite-scroll.mjs +1 -134
  682. package/dist/components/ui/input-group.mjs +1 -90
  683. package/dist/components/ui/input.mjs +1 -19
  684. package/dist/components/ui/item.mjs +1 -137
  685. package/dist/components/ui/kbd.mjs +1 -24
  686. package/dist/components/ui/label.mjs +1 -18
  687. package/dist/components/ui/legacy/badge.mjs +1 -80
  688. package/dist/components/ui/legacy/button.mjs +1 -55
  689. package/dist/components/ui/legacy/input.mjs +1 -22
  690. package/dist/components/ui/legacy/popover.mjs +1 -69
  691. package/dist/components/ui/link.mjs +1 -29
  692. package/dist/components/ui/list.mjs +5 -221
  693. package/dist/components/ui/loading.mjs +1 -44
  694. package/dist/components/ui/mask.mjs +1 -17
  695. package/dist/components/ui/menubar.mjs +1 -154
  696. package/dist/components/ui/native-select.mjs +1 -43
  697. package/dist/components/ui/pagination.mjs +1 -90
  698. package/dist/components/ui/popover.mjs +1 -73
  699. package/dist/components/ui/popup.mjs +1 -44
  700. package/dist/components/ui/progress.mjs +1 -53
  701. package/dist/components/ui/radio-group.mjs +1 -34
  702. package/dist/components/ui/rate.mjs +1 -69
  703. package/dist/components/ui/scroll-area.mjs +1 -43
  704. package/dist/components/ui/select.mjs +1 -113
  705. package/dist/components/ui/separator.mjs +1 -20
  706. package/dist/components/ui/sheet.mjs +1 -109
  707. package/dist/components/ui/skeleton.mjs +1 -16
  708. package/dist/components/ui/slider.mjs +1 -46
  709. package/dist/components/ui/sonner.mjs +1 -34
  710. package/dist/components/ui/spinner.mjs +1 -18
  711. package/dist/components/ui/switch.mjs +1 -65
  712. package/dist/components/ui/table.mjs +1 -78
  713. package/dist/components/ui/tabs.mjs +1 -54
  714. package/dist/components/ui/text.mjs +1 -20
  715. package/dist/components/ui/textarea.mjs +1 -16
  716. package/dist/components/ui/time.mjs +1 -91
  717. package/dist/components/ui/toggle-group.mjs +1 -59
  718. package/dist/components/ui/toggle.mjs +1 -41
  719. package/dist/components/ui/tooltip.mjs +1 -49
  720. package/dist/components/ui/wheel-picker.mjs +1 -28
  721. package/dist/constants/event-key.mjs +1 -18
  722. package/dist/constants/query-key.mjs +1 -32
  723. package/dist/constants/revalidate.mjs +1 -9
  724. package/dist/constants/site.mjs +1 -11
  725. package/dist/constants/url-prefix.mjs +1 -8
  726. package/dist/hooks/image-text-recommend.mjs +1 -71
  727. package/dist/hooks/query/hydration-boundary.mjs +1 -34
  728. package/dist/hooks/query/use-query.mjs +1 -114
  729. package/dist/hooks/use-auth.mjs +1 -198
  730. package/dist/hooks/use-browse-report.mjs +1 -466
  731. package/dist/hooks/use-card-decoration.mjs +1 -92
  732. package/dist/hooks/use-content-operate.mjs +1 -514
  733. package/dist/hooks/use-follow.mjs +1 -69
  734. package/dist/hooks/use-fullscreen-gestures.mjs +1 -144
  735. package/dist/hooks/use-interaction-animation.mjs +1 -26
  736. package/dist/hooks/use-keyboard-open.mjs +1 -56
  737. package/dist/hooks/use-like-dislike.mjs +1 -40
  738. package/dist/hooks/use-search-history.mjs +1 -40
  739. package/dist/hooks/use-sticky.mjs +1 -38
  740. package/dist/hooks.mjs +1 -14
  741. package/dist/i18n/locales/en.mjs +3 -813
  742. package/dist/i18n/locales/zh-CN.mjs +3 -813
  743. package/dist/i18n/messages.mjs +1 -20
  744. package/dist/i18n/translator.mjs +1 -38
  745. package/dist/i18n.mjs +1 -165
  746. package/dist/materials.mjs +1 -63
  747. package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.mjs +1 -17
  748. package/dist/pages.mjs +1 -22
  749. package/dist/seo/build-metadata.mjs +1 -163
  750. package/dist/seo/config/index.mjs +1 -22
  751. package/dist/seo/config/page.mjs +6 -301
  752. package/dist/seo/config/site.mjs +1 -25
  753. package/dist/seo/constants.mjs +1 -31
  754. package/dist/seo/helpers.mjs +1 -120
  755. package/dist/seo/resource-hints.mjs +1 -60
  756. package/dist/seo/robots.mjs +1 -36
  757. package/dist/seo/sitemap.mjs +1 -44
  758. package/dist/seo/structured-data/article.mjs +1 -51
  759. package/dist/seo/structured-data/common.mjs +1 -60
  760. package/dist/seo/structured-data/video.mjs +1 -41
  761. package/dist/seo/viewport.mjs +1 -31
  762. package/dist/seo.mjs +1 -15
  763. package/dist/service/generated/client.mjs +1 -1138
  764. package/dist/service/generated/tanstack.mjs +1 -1049
  765. package/dist/service.mjs +1 -4
  766. package/dist/store/create-store.mjs +1 -25
  767. package/dist/store/modules/app-config-store.mjs +1 -28
  768. package/dist/store/modules/blocked-modal-store.mjs +1 -30
  769. package/dist/store/modules/follow-ids-store.mjs +1 -12
  770. package/dist/store/modules/login-modal-store.mjs +1 -135
  771. package/dist/store/modules/media-preview-store.mjs +1 -54
  772. package/dist/store/modules/publish-store.mjs +1 -31
  773. package/dist/store/modules/use-demo-store.mjs +1 -17
  774. package/dist/store/modules/user-store.mjs +1 -113
  775. package/dist/store.mjs +1 -10
  776. package/dist/types/safe-at-user.mjs +1 -15
  777. package/dist/types/safe-comment.mjs +1 -30
  778. package/dist/types/safe-grid.mjs +1 -36
  779. package/dist/types/safe-replay.mjs +1 -43
  780. package/dist/types/share.mjs +1 -16
  781. package/dist/ui.mjs +1 -57
  782. package/dist/utils/api-collect.mjs +1 -14
  783. package/dist/utils/channel-storage.mjs +1 -57
  784. package/dist/utils/cn.mjs +1 -15
  785. package/dist/utils/common.mjs +1 -296
  786. package/dist/utils/db.mjs +1 -80
  787. package/dist/utils/decrypt-image-client.mjs +1 -198
  788. package/dist/utils/decrypt.worker.mjs +2 -20
  789. package/dist/utils/event-bus.mjs +1 -33
  790. package/dist/utils/follow-service.mjs +1 -87
  791. package/dist/utils/get-res-url.mjs +1 -94
  792. package/dist/utils/helper.mjs +1 -41
  793. package/dist/utils/http.mjs +1 -194
  794. package/dist/utils/image-compression.mjs +1 -59
  795. package/dist/utils/image-crop.mjs +1 -110
  796. package/dist/utils/loaders.mjs +1 -51
  797. package/dist/utils/media.mjs +1 -128
  798. package/dist/utils/password-validator.mjs +1 -86
  799. package/dist/utils/s3-uploader.mjs +1 -40
  800. package/dist/utils/schema/material.mjs +1 -24
  801. package/dist/utils/schema/schema.mjs +1 -200
  802. package/dist/utils/schema/utils.mjs +1 -33
  803. package/dist/utils/share-manager.mjs +1 -156
  804. package/dist/utils/tools.mjs +1 -105
  805. package/dist/utils/uint8.mjs +1 -46
  806. package/dist/utils/upload-file.mjs +1 -429
  807. package/dist/utils.mjs +1 -21
  808. package/package.json +1 -1
package/dist/service.mjs CHANGED
@@ -1,5 +1,2 @@
1
1
 
2
- import { gCommunityGetCollectionInfo, gCommunityGetComments, gCommunityGetContentInfo, gCommunityGetContentList, gCommunityGetHotContentList, gCommunityGetSubscribedCollections, gCommunityGetUserCollections, gContentGetAdvertiseByCode, gContentGetAppChannelBlock, gContentGetAppChannelBlockData, gContentGetAppChannels, gContentGetAppComponent, gContentGetGuessYouLikeVideos, gContentGetHotVideoList, gContentGetRecommendSearchList, gContentGetRecommendVideoList, gContentGetVideoDetail, gContentGetVideoDetailByApi, gContentListVisibleFloatingBall, gContentProcessM3u8, gInteractionCheckMutualFollow, gInteractionGetBrowseList, gInteractionGetContentDislikeList, gInteractionGetContentLikeList, gInteractionGetDislikeList, gInteractionGetFolder, gInteractionGetFolderStats, gInteractionGetFollowStats, gInteractionGetFollowerList, gInteractionGetFollowingContentList, gInteractionGetFollowingList, gInteractionGetFollowingUserUpdates, gInteractionGetLikeList, gInteractionListCollects, gInteractionListFolders, gUserGetGuestIdentity, gUserGetUserEditInfo, gUserGetUserInfo, gUserGetUserPrivacySettings, gUserViewUserInfo, pCommunityAddContentToCollection, pCommunityCreateCollection, pCommunityCreateComment, pCommunityDeleteCollection, pCommunityDeleteComment, pCommunityDeleteContent, pCommunityDislikeComment, pCommunityGetUploadPresignedURL, pCommunityLikeComment, pCommunityMoveCollectionContent, pCommunityPublishContent, pCommunityRemoveContentFromCollection, pCommunitySearchCurAccountFollowingUsersInfo, pCommunityShareContent, pCommunitySubscribeCollection, pCommunityUpdateCollection, pCommunityUpdateContent, pCommunityUploadMedia, pContentBatchGetVideoDetail, pContentGetNewstVideoList, pContentGetPopularVideoList, pInteractionAddCollect, pInteractionBatchClearBrowse, pInteractionBatchDeleteCollects, pInteractionBatchGetCommentLikeStatus, pInteractionBatchGetFollowStats, pInteractionBatchGetLikeStatus, pInteractionBatchQueryContentInteractions, pInteractionBrowse, pInteractionCancelDislike, pInteractionCancelLike, pInteractionCheckCollect, pInteractionCheckFollow, pInteractionClearBrowseHistory, pInteractionCreateFolder, pInteractionDeleteBrowseRecord, pInteractionDeleteFolder, pInteractionDislike, pInteractionDislikeComment, pInteractionFollow, pInteractionLike, pInteractionLikeComment, pInteractionMoveCollects, pInteractionRemoveCollect, pInteractionTrackEventsBatch, pInteractionUnfollow, pInteractionUnifiedBatchLikeDislike, pInteractionUpdateFolder, pInteractionUpdateFollowingContentUpdateTime, pUserEditUserInfo, pUserLogin, pUserRegister, pUserResetForgetPassword, pUserResetPassword, pUserSendEmailCode, pUserSendForgetEmailCode, pUserSendResetPasswordEmailCode, pUserUploadUserBgImage, pUserUserFeedback, pUserUserPrivacySettings, pUserVerifyEmailCode, pUserVerifyForgetEmailCode, pUserVerifyResetPasswordEmailCode } from "./service/generated/client.mjs";
3
- import { createQueryKey, gCommunityGetCollectionInfoKey, gCommunityGetCommentsKey, gCommunityGetContentInfoKey, gCommunityGetContentListKey, gCommunityGetHotContentListKey, gCommunityGetSubscribedCollectionsKey, gCommunityGetUserCollectionsKey, gContentGetAdvertiseByCodeKey, gContentGetAppChannelBlockDataKey, gContentGetAppChannelBlockKey, gContentGetAppChannelsKey, gContentGetAppComponentKey, gContentGetGuessYouLikeVideosKey, gContentGetHotVideoListKey, gContentGetRecommendSearchListKey, gContentGetRecommendVideoListKey, gContentGetVideoDetailByApiKey, gContentGetVideoDetailKey, gContentListVisibleFloatingBallKey, gContentProcessM3u8Key, gInteractionCheckMutualFollowKey, gInteractionGetBrowseListKey, gInteractionGetContentDislikeListKey, gInteractionGetContentLikeListKey, gInteractionGetDislikeListKey, gInteractionGetFolderKey, gInteractionGetFolderStatsKey, gInteractionGetFollowStatsKey, gInteractionGetFollowerListKey, gInteractionGetFollowingContentListKey, gInteractionGetFollowingListKey, gInteractionGetFollowingUserUpdatesKey, gInteractionGetLikeListKey, gInteractionListCollectsKey, gInteractionListFoldersKey, gUserGetGuestIdentityKey, gUserGetUserEditInfoKey, gUserGetUserInfoKey, gUserGetUserPrivacySettingsKey, gUserViewUserInfoKey, pCommunityAddContentToCollectionKey, pCommunityCreateCollectionKey, pCommunityCreateCommentKey, pCommunityDeleteCollectionKey, pCommunityDeleteCommentKey, pCommunityDeleteContentKey, pCommunityDislikeCommentKey, pCommunityGetUploadPresignedURLKey, pCommunityLikeCommentKey, pCommunityMoveCollectionContentKey, pCommunityPublishContentKey, pCommunityRemoveContentFromCollectionKey, pCommunitySearchCurAccountFollowingUsersInfoKey, pCommunityShareContentKey, pCommunitySubscribeCollectionKey, pCommunityUpdateCollectionKey, pCommunityUpdateContentKey, pCommunityUploadMediaKey, pContentBatchGetVideoDetailKey, pContentGetNewstVideoListKey, pContentGetPopularVideoListKey, pInteractionAddCollectKey, pInteractionBatchClearBrowseKey, pInteractionBatchDeleteCollectsKey, pInteractionBatchGetCommentLikeStatusKey, pInteractionBatchGetFollowStatsKey, pInteractionBatchGetLikeStatusKey, pInteractionBatchQueryContentInteractionsKey, pInteractionBrowseKey, pInteractionCancelDislikeKey, pInteractionCancelLikeKey, pInteractionCheckCollectKey, pInteractionCheckFollowKey, pInteractionClearBrowseHistoryKey, pInteractionCreateFolderKey, pInteractionDeleteBrowseRecordKey, pInteractionDeleteFolderKey, pInteractionDislikeCommentKey, pInteractionDislikeKey, pInteractionFollowKey, pInteractionLikeCommentKey, pInteractionLikeKey, pInteractionMoveCollectsKey, pInteractionRemoveCollectKey, pInteractionTrackEventsBatchKey, pInteractionUnfollowKey, pInteractionUnifiedBatchLikeDislikeKey, pInteractionUpdateFolderKey, pInteractionUpdateFollowingContentUpdateTimeKey, pUserEditUserInfoKey, pUserLoginKey, pUserRegisterKey, pUserResetForgetPasswordKey, pUserResetPasswordKey, pUserSendEmailCodeKey, pUserSendForgetEmailCodeKey, pUserSendResetPasswordEmailCodeKey, pUserUploadUserBgImageKey, pUserUserFeedbackKey, pUserUserPrivacySettingsKey, pUserVerifyEmailCodeKey, pUserVerifyForgetEmailCodeKey, pUserVerifyResetPasswordEmailCodeKey } from "./service/generated/tanstack.mjs";
4
-
5
- export { createQueryKey, gCommunityGetCollectionInfo, gCommunityGetCollectionInfoKey, gCommunityGetComments, gCommunityGetCommentsKey, gCommunityGetContentInfo, gCommunityGetContentInfoKey, gCommunityGetContentList, gCommunityGetContentListKey, gCommunityGetHotContentList, gCommunityGetHotContentListKey, gCommunityGetSubscribedCollections, gCommunityGetSubscribedCollectionsKey, gCommunityGetUserCollections, gCommunityGetUserCollectionsKey, gContentGetAdvertiseByCode, gContentGetAdvertiseByCodeKey, gContentGetAppChannelBlock, gContentGetAppChannelBlockData, gContentGetAppChannelBlockDataKey, gContentGetAppChannelBlockKey, gContentGetAppChannels, gContentGetAppChannelsKey, gContentGetAppComponent, gContentGetAppComponentKey, gContentGetGuessYouLikeVideos, gContentGetGuessYouLikeVideosKey, gContentGetHotVideoList, gContentGetHotVideoListKey, gContentGetRecommendSearchList, gContentGetRecommendSearchListKey, gContentGetRecommendVideoList, gContentGetRecommendVideoListKey, gContentGetVideoDetail, gContentGetVideoDetailByApi, gContentGetVideoDetailByApiKey, gContentGetVideoDetailKey, gContentListVisibleFloatingBall, gContentListVisibleFloatingBallKey, gContentProcessM3u8, gContentProcessM3u8Key, gInteractionCheckMutualFollow, gInteractionCheckMutualFollowKey, gInteractionGetBrowseList, gInteractionGetBrowseListKey, gInteractionGetContentDislikeList, gInteractionGetContentDislikeListKey, gInteractionGetContentLikeList, gInteractionGetContentLikeListKey, gInteractionGetDislikeList, gInteractionGetDislikeListKey, gInteractionGetFolder, gInteractionGetFolderKey, gInteractionGetFolderStats, gInteractionGetFolderStatsKey, gInteractionGetFollowStats, gInteractionGetFollowStatsKey, gInteractionGetFollowerList, gInteractionGetFollowerListKey, gInteractionGetFollowingContentList, gInteractionGetFollowingContentListKey, gInteractionGetFollowingList, gInteractionGetFollowingListKey, gInteractionGetFollowingUserUpdates, gInteractionGetFollowingUserUpdatesKey, gInteractionGetLikeList, gInteractionGetLikeListKey, gInteractionListCollects, gInteractionListCollectsKey, gInteractionListFolders, gInteractionListFoldersKey, gUserGetGuestIdentity, gUserGetGuestIdentityKey, gUserGetUserEditInfo, gUserGetUserEditInfoKey, gUserGetUserInfo, gUserGetUserInfoKey, gUserGetUserPrivacySettings, gUserGetUserPrivacySettingsKey, gUserViewUserInfo, gUserViewUserInfoKey, pCommunityAddContentToCollection, pCommunityAddContentToCollectionKey, pCommunityCreateCollection, pCommunityCreateCollectionKey, pCommunityCreateComment, pCommunityCreateCommentKey, pCommunityDeleteCollection, pCommunityDeleteCollectionKey, pCommunityDeleteComment, pCommunityDeleteCommentKey, pCommunityDeleteContent, pCommunityDeleteContentKey, pCommunityDislikeComment, pCommunityDislikeCommentKey, pCommunityGetUploadPresignedURL, pCommunityGetUploadPresignedURLKey, pCommunityLikeComment, pCommunityLikeCommentKey, pCommunityMoveCollectionContent, pCommunityMoveCollectionContentKey, pCommunityPublishContent, pCommunityPublishContentKey, pCommunityRemoveContentFromCollection, pCommunityRemoveContentFromCollectionKey, pCommunitySearchCurAccountFollowingUsersInfo, pCommunitySearchCurAccountFollowingUsersInfoKey, pCommunityShareContent, pCommunityShareContentKey, pCommunitySubscribeCollection, pCommunitySubscribeCollectionKey, pCommunityUpdateCollection, pCommunityUpdateCollectionKey, pCommunityUpdateContent, pCommunityUpdateContentKey, pCommunityUploadMedia, pCommunityUploadMediaKey, pContentBatchGetVideoDetail, pContentBatchGetVideoDetailKey, pContentGetNewstVideoList, pContentGetNewstVideoListKey, pContentGetPopularVideoList, pContentGetPopularVideoListKey, pInteractionAddCollect, pInteractionAddCollectKey, pInteractionBatchClearBrowse, pInteractionBatchClearBrowseKey, pInteractionBatchDeleteCollects, pInteractionBatchDeleteCollectsKey, pInteractionBatchGetCommentLikeStatus, pInteractionBatchGetCommentLikeStatusKey, pInteractionBatchGetFollowStats, pInteractionBatchGetFollowStatsKey, pInteractionBatchGetLikeStatus, pInteractionBatchGetLikeStatusKey, pInteractionBatchQueryContentInteractions, pInteractionBatchQueryContentInteractionsKey, pInteractionBrowse, pInteractionBrowseKey, pInteractionCancelDislike, pInteractionCancelDislikeKey, pInteractionCancelLike, pInteractionCancelLikeKey, pInteractionCheckCollect, pInteractionCheckCollectKey, pInteractionCheckFollow, pInteractionCheckFollowKey, pInteractionClearBrowseHistory, pInteractionClearBrowseHistoryKey, pInteractionCreateFolder, pInteractionCreateFolderKey, pInteractionDeleteBrowseRecord, pInteractionDeleteBrowseRecordKey, pInteractionDeleteFolder, pInteractionDeleteFolderKey, pInteractionDislike, pInteractionDislikeComment, pInteractionDislikeCommentKey, pInteractionDislikeKey, pInteractionFollow, pInteractionFollowKey, pInteractionLike, pInteractionLikeComment, pInteractionLikeCommentKey, pInteractionLikeKey, pInteractionMoveCollects, pInteractionMoveCollectsKey, pInteractionRemoveCollect, pInteractionRemoveCollectKey, pInteractionTrackEventsBatch, pInteractionTrackEventsBatchKey, pInteractionUnfollow, pInteractionUnfollowKey, pInteractionUnifiedBatchLikeDislike, pInteractionUnifiedBatchLikeDislikeKey, pInteractionUpdateFolder, pInteractionUpdateFolderKey, pInteractionUpdateFollowingContentUpdateTime, pInteractionUpdateFollowingContentUpdateTimeKey, pUserEditUserInfo, pUserEditUserInfoKey, pUserLogin, pUserLoginKey, pUserRegister, pUserRegisterKey, pUserResetForgetPassword, pUserResetForgetPasswordKey, pUserResetPassword, pUserResetPasswordKey, pUserSendEmailCode, pUserSendEmailCodeKey, pUserSendForgetEmailCode, pUserSendForgetEmailCodeKey, pUserSendResetPasswordEmailCode, pUserSendResetPasswordEmailCodeKey, pUserUploadUserBgImage, pUserUploadUserBgImageKey, pUserUserFeedback, pUserUserFeedbackKey, pUserUserPrivacySettings, pUserUserPrivacySettingsKey, pUserVerifyEmailCode, pUserVerifyEmailCodeKey, pUserVerifyForgetEmailCode, pUserVerifyForgetEmailCodeKey, pUserVerifyResetPasswordEmailCode, pUserVerifyResetPasswordEmailCodeKey };
2
+ import{gCommunityGetCollectionInfo as e,gCommunityGetComments as t,gCommunityGetContentInfo as n,gCommunityGetContentList as r,gCommunityGetHotContentList as i,gCommunityGetSubscribedCollections as a,gCommunityGetUserCollections as o,gContentGetAdvertiseByCode as s,gContentGetAppChannelBlock as c,gContentGetAppChannelBlockData as l,gContentGetAppChannels as u,gContentGetAppComponent as d,gContentGetGuessYouLikeVideos as f,gContentGetHotVideoList as p,gContentGetRecommendSearchList as m,gContentGetRecommendVideoList as h,gContentGetVideoDetail as g,gContentGetVideoDetailByApi as _,gContentListVisibleFloatingBall as v,gContentProcessM3u8 as y,gInteractionCheckMutualFollow as b,gInteractionGetBrowseList as x,gInteractionGetContentDislikeList as S,gInteractionGetContentLikeList as C,gInteractionGetDislikeList as w,gInteractionGetFolder as T,gInteractionGetFolderStats as E,gInteractionGetFollowStats as D,gInteractionGetFollowerList as O,gInteractionGetFollowingContentList as k,gInteractionGetFollowingList as A,gInteractionGetFollowingUserUpdates as j,gInteractionGetLikeList as M,gInteractionListCollects as N,gInteractionListFolders as P,gUserGetGuestIdentity as F,gUserGetUserEditInfo as I,gUserGetUserInfo as L,gUserGetUserPrivacySettings as R,gUserViewUserInfo as z,pCommunityAddContentToCollection as B,pCommunityCreateCollection as V,pCommunityCreateComment as H,pCommunityDeleteCollection as U,pCommunityDeleteComment as W,pCommunityDeleteContent as G,pCommunityDislikeComment as K,pCommunityGetUploadPresignedURL as q,pCommunityLikeComment as J,pCommunityMoveCollectionContent as Y,pCommunityPublishContent as X,pCommunityRemoveContentFromCollection as Z,pCommunitySearchCurAccountFollowingUsersInfo as Q,pCommunityShareContent as $,pCommunitySubscribeCollection as ee,pCommunityUpdateCollection as te,pCommunityUpdateContent as ne,pCommunityUploadMedia as re,pContentBatchGetVideoDetail as ie,pContentGetNewstVideoList as ae,pContentGetPopularVideoList as oe,pInteractionAddCollect as se,pInteractionBatchClearBrowse as ce,pInteractionBatchDeleteCollects as le,pInteractionBatchGetCommentLikeStatus as ue,pInteractionBatchGetFollowStats as de,pInteractionBatchGetLikeStatus as fe,pInteractionBatchQueryContentInteractions as pe,pInteractionBrowse as me,pInteractionCancelDislike as he,pInteractionCancelLike as ge,pInteractionCheckCollect as _e,pInteractionCheckFollow as ve,pInteractionClearBrowseHistory as ye,pInteractionCreateFolder as be,pInteractionDeleteBrowseRecord as xe,pInteractionDeleteFolder as Se,pInteractionDislike as Ce,pInteractionDislikeComment as we,pInteractionFollow as Te,pInteractionLike as Ee,pInteractionLikeComment as De,pInteractionMoveCollects as Oe,pInteractionRemoveCollect as ke,pInteractionTrackEventsBatch as Ae,pInteractionUnfollow as je,pInteractionUnifiedBatchLikeDislike as Me,pInteractionUpdateFolder as Ne,pInteractionUpdateFollowingContentUpdateTime as Pe,pUserEditUserInfo as Fe,pUserLogin as Ie,pUserRegister as Le,pUserResetForgetPassword as Re,pUserResetPassword as ze,pUserSendEmailCode as Be,pUserSendForgetEmailCode as Ve,pUserSendResetPasswordEmailCode as He,pUserUploadUserBgImage as Ue,pUserUserFeedback as We,pUserUserPrivacySettings as Ge,pUserVerifyEmailCode as Ke,pUserVerifyForgetEmailCode as qe,pUserVerifyResetPasswordEmailCode as Je}from"./service/generated/client.mjs";import{createQueryKey as Ye,gCommunityGetCollectionInfoKey as Xe,gCommunityGetCommentsKey as Ze,gCommunityGetContentInfoKey as Qe,gCommunityGetContentListKey as $e,gCommunityGetHotContentListKey as et,gCommunityGetSubscribedCollectionsKey as tt,gCommunityGetUserCollectionsKey as nt,gContentGetAdvertiseByCodeKey as rt,gContentGetAppChannelBlockDataKey as it,gContentGetAppChannelBlockKey as at,gContentGetAppChannelsKey as ot,gContentGetAppComponentKey as st,gContentGetGuessYouLikeVideosKey as ct,gContentGetHotVideoListKey as lt,gContentGetRecommendSearchListKey as ut,gContentGetRecommendVideoListKey as dt,gContentGetVideoDetailByApiKey as ft,gContentGetVideoDetailKey as pt,gContentListVisibleFloatingBallKey as mt,gContentProcessM3u8Key as ht,gInteractionCheckMutualFollowKey as gt,gInteractionGetBrowseListKey as _t,gInteractionGetContentDislikeListKey as vt,gInteractionGetContentLikeListKey as yt,gInteractionGetDislikeListKey as bt,gInteractionGetFolderKey as xt,gInteractionGetFolderStatsKey as St,gInteractionGetFollowStatsKey as Ct,gInteractionGetFollowerListKey as wt,gInteractionGetFollowingContentListKey as Tt,gInteractionGetFollowingListKey as Et,gInteractionGetFollowingUserUpdatesKey as Dt,gInteractionGetLikeListKey as Ot,gInteractionListCollectsKey as kt,gInteractionListFoldersKey as At,gUserGetGuestIdentityKey as jt,gUserGetUserEditInfoKey as Mt,gUserGetUserInfoKey as Nt,gUserGetUserPrivacySettingsKey as Pt,gUserViewUserInfoKey as Ft,pCommunityAddContentToCollectionKey as It,pCommunityCreateCollectionKey as Lt,pCommunityCreateCommentKey as Rt,pCommunityDeleteCollectionKey as zt,pCommunityDeleteCommentKey as Bt,pCommunityDeleteContentKey as Vt,pCommunityDislikeCommentKey as Ht,pCommunityGetUploadPresignedURLKey as Ut,pCommunityLikeCommentKey as Wt,pCommunityMoveCollectionContentKey as Gt,pCommunityPublishContentKey as Kt,pCommunityRemoveContentFromCollectionKey as qt,pCommunitySearchCurAccountFollowingUsersInfoKey as Jt,pCommunityShareContentKey as Yt,pCommunitySubscribeCollectionKey as Xt,pCommunityUpdateCollectionKey as Zt,pCommunityUpdateContentKey as Qt,pCommunityUploadMediaKey as $t,pContentBatchGetVideoDetailKey as en,pContentGetNewstVideoListKey as tn,pContentGetPopularVideoListKey as nn,pInteractionAddCollectKey as rn,pInteractionBatchClearBrowseKey as an,pInteractionBatchDeleteCollectsKey as on,pInteractionBatchGetCommentLikeStatusKey as sn,pInteractionBatchGetFollowStatsKey as cn,pInteractionBatchGetLikeStatusKey as ln,pInteractionBatchQueryContentInteractionsKey as un,pInteractionBrowseKey as dn,pInteractionCancelDislikeKey as fn,pInteractionCancelLikeKey as pn,pInteractionCheckCollectKey as mn,pInteractionCheckFollowKey as hn,pInteractionClearBrowseHistoryKey as gn,pInteractionCreateFolderKey as _n,pInteractionDeleteBrowseRecordKey as vn,pInteractionDeleteFolderKey as yn,pInteractionDislikeCommentKey as bn,pInteractionDislikeKey as xn,pInteractionFollowKey as Sn,pInteractionLikeCommentKey as Cn,pInteractionLikeKey as wn,pInteractionMoveCollectsKey as Tn,pInteractionRemoveCollectKey as En,pInteractionTrackEventsBatchKey as Dn,pInteractionUnfollowKey as On,pInteractionUnifiedBatchLikeDislikeKey as kn,pInteractionUpdateFolderKey as An,pInteractionUpdateFollowingContentUpdateTimeKey as jn,pUserEditUserInfoKey as Mn,pUserLoginKey as Nn,pUserRegisterKey as Pn,pUserResetForgetPasswordKey as Fn,pUserResetPasswordKey as In,pUserSendEmailCodeKey as Ln,pUserSendForgetEmailCodeKey as Rn,pUserSendResetPasswordEmailCodeKey as zn,pUserUploadUserBgImageKey as Bn,pUserUserFeedbackKey as Vn,pUserUserPrivacySettingsKey as Hn,pUserVerifyEmailCodeKey as Un,pUserVerifyForgetEmailCodeKey as Wn,pUserVerifyResetPasswordEmailCodeKey as Gn}from"./service/generated/tanstack.mjs";export{Ye as createQueryKey,e as gCommunityGetCollectionInfo,Xe as gCommunityGetCollectionInfoKey,t as gCommunityGetComments,Ze as gCommunityGetCommentsKey,n as gCommunityGetContentInfo,Qe as gCommunityGetContentInfoKey,r as gCommunityGetContentList,$e as gCommunityGetContentListKey,i as gCommunityGetHotContentList,et as gCommunityGetHotContentListKey,a as gCommunityGetSubscribedCollections,tt as gCommunityGetSubscribedCollectionsKey,o as gCommunityGetUserCollections,nt as gCommunityGetUserCollectionsKey,s as gContentGetAdvertiseByCode,rt as gContentGetAdvertiseByCodeKey,c as gContentGetAppChannelBlock,l as gContentGetAppChannelBlockData,it as gContentGetAppChannelBlockDataKey,at as gContentGetAppChannelBlockKey,u as gContentGetAppChannels,ot as gContentGetAppChannelsKey,d as gContentGetAppComponent,st as gContentGetAppComponentKey,f as gContentGetGuessYouLikeVideos,ct as gContentGetGuessYouLikeVideosKey,p as gContentGetHotVideoList,lt as gContentGetHotVideoListKey,m as gContentGetRecommendSearchList,ut as gContentGetRecommendSearchListKey,h as gContentGetRecommendVideoList,dt as gContentGetRecommendVideoListKey,g as gContentGetVideoDetail,_ as gContentGetVideoDetailByApi,ft as gContentGetVideoDetailByApiKey,pt as gContentGetVideoDetailKey,v as gContentListVisibleFloatingBall,mt as gContentListVisibleFloatingBallKey,y as gContentProcessM3u8,ht as gContentProcessM3u8Key,b as gInteractionCheckMutualFollow,gt as gInteractionCheckMutualFollowKey,x as gInteractionGetBrowseList,_t as gInteractionGetBrowseListKey,S as gInteractionGetContentDislikeList,vt as gInteractionGetContentDislikeListKey,C as gInteractionGetContentLikeList,yt as gInteractionGetContentLikeListKey,w as gInteractionGetDislikeList,bt as gInteractionGetDislikeListKey,T as gInteractionGetFolder,xt as gInteractionGetFolderKey,E as gInteractionGetFolderStats,St as gInteractionGetFolderStatsKey,D as gInteractionGetFollowStats,Ct as gInteractionGetFollowStatsKey,O as gInteractionGetFollowerList,wt as gInteractionGetFollowerListKey,k as gInteractionGetFollowingContentList,Tt as gInteractionGetFollowingContentListKey,A as gInteractionGetFollowingList,Et as gInteractionGetFollowingListKey,j as gInteractionGetFollowingUserUpdates,Dt as gInteractionGetFollowingUserUpdatesKey,M as gInteractionGetLikeList,Ot as gInteractionGetLikeListKey,N as gInteractionListCollects,kt as gInteractionListCollectsKey,P as gInteractionListFolders,At as gInteractionListFoldersKey,F as gUserGetGuestIdentity,jt as gUserGetGuestIdentityKey,I as gUserGetUserEditInfo,Mt as gUserGetUserEditInfoKey,L as gUserGetUserInfo,Nt as gUserGetUserInfoKey,R as gUserGetUserPrivacySettings,Pt as gUserGetUserPrivacySettingsKey,z as gUserViewUserInfo,Ft as gUserViewUserInfoKey,B as pCommunityAddContentToCollection,It as pCommunityAddContentToCollectionKey,V as pCommunityCreateCollection,Lt as pCommunityCreateCollectionKey,H as pCommunityCreateComment,Rt as pCommunityCreateCommentKey,U as pCommunityDeleteCollection,zt as pCommunityDeleteCollectionKey,W as pCommunityDeleteComment,Bt as pCommunityDeleteCommentKey,G as pCommunityDeleteContent,Vt as pCommunityDeleteContentKey,K as pCommunityDislikeComment,Ht as pCommunityDislikeCommentKey,q as pCommunityGetUploadPresignedURL,Ut as pCommunityGetUploadPresignedURLKey,J as pCommunityLikeComment,Wt as pCommunityLikeCommentKey,Y as pCommunityMoveCollectionContent,Gt as pCommunityMoveCollectionContentKey,X as pCommunityPublishContent,Kt as pCommunityPublishContentKey,Z as pCommunityRemoveContentFromCollection,qt as pCommunityRemoveContentFromCollectionKey,Q as pCommunitySearchCurAccountFollowingUsersInfo,Jt as pCommunitySearchCurAccountFollowingUsersInfoKey,$ as pCommunityShareContent,Yt as pCommunityShareContentKey,ee as pCommunitySubscribeCollection,Xt as pCommunitySubscribeCollectionKey,te as pCommunityUpdateCollection,Zt as pCommunityUpdateCollectionKey,ne as pCommunityUpdateContent,Qt as pCommunityUpdateContentKey,re as pCommunityUploadMedia,$t as pCommunityUploadMediaKey,ie as pContentBatchGetVideoDetail,en as pContentBatchGetVideoDetailKey,ae as pContentGetNewstVideoList,tn as pContentGetNewstVideoListKey,oe as pContentGetPopularVideoList,nn as pContentGetPopularVideoListKey,se as pInteractionAddCollect,rn as pInteractionAddCollectKey,ce as pInteractionBatchClearBrowse,an as pInteractionBatchClearBrowseKey,le as pInteractionBatchDeleteCollects,on as pInteractionBatchDeleteCollectsKey,ue as pInteractionBatchGetCommentLikeStatus,sn as pInteractionBatchGetCommentLikeStatusKey,de as pInteractionBatchGetFollowStats,cn as pInteractionBatchGetFollowStatsKey,fe as pInteractionBatchGetLikeStatus,ln as pInteractionBatchGetLikeStatusKey,pe as pInteractionBatchQueryContentInteractions,un as pInteractionBatchQueryContentInteractionsKey,me as pInteractionBrowse,dn as pInteractionBrowseKey,he as pInteractionCancelDislike,fn as pInteractionCancelDislikeKey,ge as pInteractionCancelLike,pn as pInteractionCancelLikeKey,_e as pInteractionCheckCollect,mn as pInteractionCheckCollectKey,ve as pInteractionCheckFollow,hn as pInteractionCheckFollowKey,ye as pInteractionClearBrowseHistory,gn as pInteractionClearBrowseHistoryKey,be as pInteractionCreateFolder,_n as pInteractionCreateFolderKey,xe as pInteractionDeleteBrowseRecord,vn as pInteractionDeleteBrowseRecordKey,Se as pInteractionDeleteFolder,yn as pInteractionDeleteFolderKey,Ce as pInteractionDislike,we as pInteractionDislikeComment,bn as pInteractionDislikeCommentKey,xn as pInteractionDislikeKey,Te as pInteractionFollow,Sn as pInteractionFollowKey,Ee as pInteractionLike,De as pInteractionLikeComment,Cn as pInteractionLikeCommentKey,wn as pInteractionLikeKey,Oe as pInteractionMoveCollects,Tn as pInteractionMoveCollectsKey,ke as pInteractionRemoveCollect,En as pInteractionRemoveCollectKey,Ae as pInteractionTrackEventsBatch,Dn as pInteractionTrackEventsBatchKey,je as pInteractionUnfollow,On as pInteractionUnfollowKey,Me as pInteractionUnifiedBatchLikeDislike,kn as pInteractionUnifiedBatchLikeDislikeKey,Ne as pInteractionUpdateFolder,An as pInteractionUpdateFolderKey,Pe as pInteractionUpdateFollowingContentUpdateTime,jn as pInteractionUpdateFollowingContentUpdateTimeKey,Fe as pUserEditUserInfo,Mn as pUserEditUserInfoKey,Ie as pUserLogin,Nn as pUserLoginKey,Le as pUserRegister,Pn as pUserRegisterKey,Re as pUserResetForgetPassword,Fn as pUserResetForgetPasswordKey,ze as pUserResetPassword,In as pUserResetPasswordKey,Be as pUserSendEmailCode,Ln as pUserSendEmailCodeKey,Ve as pUserSendForgetEmailCode,Rn as pUserSendForgetEmailCodeKey,He as pUserSendResetPasswordEmailCode,zn as pUserSendResetPasswordEmailCodeKey,Ue as pUserUploadUserBgImage,Bn as pUserUploadUserBgImageKey,We as pUserUserFeedback,Vn as pUserUserFeedbackKey,Ge as pUserUserPrivacySettings,Hn as pUserUserPrivacySettingsKey,Ke as pUserVerifyEmailCode,Un as pUserVerifyEmailCodeKey,qe as pUserVerifyForgetEmailCode,Wn as pUserVerifyForgetEmailCodeKey,Je as pUserVerifyResetPasswordEmailCode,Gn as pUserVerifyResetPasswordEmailCodeKey};
@@ -1,26 +1,2 @@
1
1
 
2
- import { create } from "zustand";
3
- import { devtools, persist, subscribeWithSelector } from "zustand/middleware";
4
- import { immer } from "zustand/middleware/immer";
5
-
6
- //#region store/create-store.ts
7
- /**
8
- * 创建 store
9
- * @param initializer - 初始化函数
10
- * @param options - 选项
11
- * @returns create<T>()(withMiddlewares as any)
12
- */
13
- function createStore(initializer, options = {}) {
14
- const { name, persist: usePersist, version = 1, partialize } = options;
15
- const storeName = name ?? "zustand-store";
16
- const persistConfig = {
17
- name: storeName,
18
- version,
19
- ...typeof partialize === "function" ? { partialize } : {}
20
- };
21
- const withMiddlewares = subscribeWithSelector(devtools(immer(usePersist ? persist(initializer, persistConfig) : initializer), { name: storeName }));
22
- return create()(withMiddlewares);
23
- }
24
-
25
- //#endregion
26
- export { createStore };
2
+ import{create as e}from"zustand";import{devtools as t,persist as n,subscribeWithSelector as r}from"zustand/middleware";import{immer as i}from"zustand/middleware/immer";function a(a,o={}){let{name:s,persist:c,version:l=1,partialize:u}=o,d=s??`zustand-store`,f={name:d,version:l,...typeof u==`function`?{partialize:u}:{}},p=r(t(i(c?n(a,f):a),{name:d}));return e()(p)}export{a as createStore};
@@ -1,29 +1,2 @@
1
1
 
2
- import { createStore } from "../create-store.mjs";
3
-
4
- //#region store/modules/app-config-store.ts
5
- let StorageType = /* @__PURE__ */ function(StorageType) {
6
- StorageType[StorageType["COS"] = 0] = "COS";
7
- StorageType[StorageType["AWS"] = 2] = "AWS";
8
- return StorageType;
9
- }({});
10
- const useAppConfigStore = createStore((set, get) => ({
11
- config: null,
12
- async getConfig() {
13
- const cached = get().config;
14
- if (cached) return cached;
15
- return { storage_type: StorageType.COS };
16
- },
17
- async getStorageType() {
18
- return (await get().getConfig()).storage_type ?? StorageType.COS;
19
- },
20
- async getCaptchaApiKey() {
21
- return (await get().getConfig()).captcha_api_key ?? "";
22
- }
23
- }), {
24
- persist: true,
25
- name: "app-config-store"
26
- });
27
-
28
- //#endregion
29
- export { StorageType, useAppConfigStore };
2
+ import{createStore as e}from"../create-store.mjs";let t=function(e){return e[e.COS=0]=`COS`,e[e.AWS=2]=`AWS`,e}({});const n=e((e,n)=>({config:null,async getConfig(){return n().config||{storage_type:t.COS}},async getStorageType(){return(await n().getConfig()).storage_type??t.COS},async getCaptchaApiKey(){return(await n().getConfig()).captcha_api_key??``}}),{persist:!0,name:`app-config-store`});export{t as StorageType,n as useAppConfigStore};
@@ -1,31 +1,2 @@
1
1
 
2
- import { createStore } from "../create-store.mjs";
3
-
4
- //#region store/modules/blocked-modal-store.ts
5
- /**
6
- * 全局封禁弹窗状态管理。
7
- */
8
- const useBlockedModalStore = createStore((set) => ({
9
- isOpen: false,
10
- blockedRemark: "",
11
- blockedEndTime: 0,
12
- open: (payload) => set((s) => ({
13
- ...s,
14
- isOpen: true,
15
- ...payload
16
- })),
17
- setOpen: (open) => set((s) => ({
18
- ...s,
19
- isOpen: open
20
- })),
21
- close: () => set((s) => ({
22
- ...s,
23
- isOpen: false
24
- }))
25
- }), {
26
- name: "blocked-modal-store",
27
- persist: false
28
- });
29
-
30
- //#endregion
31
- export { useBlockedModalStore };
2
+ import{createStore as e}from"../create-store.mjs";const t=e(e=>({isOpen:!1,blockedRemark:``,blockedEndTime:0,open:t=>e(e=>({...e,isOpen:!0,...t})),setOpen:t=>e(e=>({...e,isOpen:t})),close:()=>e(e=>({...e,isOpen:!1}))}),{name:`blocked-modal-store`,persist:!1});export{t as useBlockedModalStore};
@@ -1,13 +1,2 @@
1
1
 
2
- import { create } from "zustand";
3
-
4
- //#region store/modules/follow-ids-store.ts
5
- const useFollowIdsState = create()((set) => ({
6
- followIds: [],
7
- setFollowIds: (ids) => {
8
- set({ followIds: ids });
9
- }
10
- }));
11
-
12
- //#endregion
13
- export { useFollowIdsState };
2
+ import{create as e}from"zustand";const t=e()(e=>({followIds:[],setFollowIds:t=>{e({followIds:t})}}));export{t as useFollowIdsState};
@@ -1,136 +1,2 @@
1
1
 
2
- import { createStore } from "../create-store.mjs";
3
-
4
- //#region store/modules/login-modal-store.ts
5
- let hiddenVideosSnapshot = null;
6
- function hidePageVideosForLoginModal() {
7
- if (typeof document === "undefined") return;
8
- if (hiddenVideosSnapshot) return;
9
- const videos = Array.from(document.querySelectorAll("video"));
10
- hiddenVideosSnapshot = videos.map((el) => ({
11
- el,
12
- display: el.style.display
13
- }));
14
- videos.forEach((el) => {
15
- el.style.display = "none";
16
- });
17
- }
18
- function restorePageVideosAfterLoginModal() {
19
- if (typeof document === "undefined") return;
20
- if (!hiddenVideosSnapshot) return;
21
- hiddenVideosSnapshot.forEach(({ el, display }) => {
22
- el.style.display = display;
23
- });
24
- hiddenVideosSnapshot = null;
25
- }
26
- const useLoginModalStore = createStore((set, get) => {
27
- let pendingResolve = null;
28
- let pendingId = 0;
29
- function finalize(result) {
30
- if (!pendingResolve) return;
31
- const resolve = pendingResolve;
32
- pendingResolve = null;
33
- resolve(result);
34
- }
35
- return {
36
- isOpen: false,
37
- verifyStep: null,
38
- entryStep: null,
39
- open: () => {
40
- hidePageVideosForLoginModal();
41
- set((s) => ({
42
- ...s,
43
- isOpen: true
44
- }));
45
- },
46
- openWithStep: (step) => {
47
- hidePageVideosForLoginModal();
48
- set((s) => ({
49
- ...s,
50
- isOpen: true,
51
- entryStep: step
52
- }));
53
- },
54
- openAsync: () => {
55
- finalize(false);
56
- pendingId += 1;
57
- const thisId = pendingId;
58
- hidePageVideosForLoginModal();
59
- set((s) => ({
60
- ...s,
61
- isOpen: true
62
- }));
63
- return new Promise((resolve) => {
64
- pendingResolve = (result) => {
65
- if (thisId !== pendingId) return;
66
- resolve(result);
67
- };
68
- });
69
- },
70
- resolveLogin: (result = true) => {
71
- finalize(result);
72
- const { isOpen } = get();
73
- if (isOpen) {
74
- set((s) => ({
75
- ...s,
76
- isOpen: false,
77
- entryStep: null
78
- }));
79
- restorePageVideosAfterLoginModal();
80
- }
81
- },
82
- close: () => {
83
- finalize(false);
84
- set((s) => ({
85
- ...s,
86
- isOpen: false,
87
- entryStep: null
88
- }));
89
- restorePageVideosAfterLoginModal();
90
- },
91
- toggle: () => {
92
- const { isOpen } = get();
93
- if (isOpen) {
94
- finalize(false);
95
- set((s) => ({
96
- ...s,
97
- isOpen: !s.isOpen,
98
- entryStep: isOpen ? null : s.entryStep
99
- }));
100
- restorePageVideosAfterLoginModal();
101
- return;
102
- }
103
- hidePageVideosForLoginModal();
104
- set((s) => ({
105
- ...s,
106
- isOpen: !s.isOpen,
107
- entryStep: isOpen ? null : s.entryStep
108
- }));
109
- },
110
- setOpen: (open) => {
111
- const { isOpen } = get();
112
- if (isOpen && !open) finalize(false);
113
- if (!isOpen && open) hidePageVideosForLoginModal();
114
- set((s) => ({
115
- ...s,
116
- isOpen: open,
117
- entryStep: open ? s.entryStep : null
118
- }));
119
- if (isOpen && !open) restorePageVideosAfterLoginModal();
120
- },
121
- setEntryStep: (step) => set((s) => ({
122
- ...s,
123
- entryStep: step
124
- })),
125
- setVerifyStep: (step) => set((s) => ({
126
- ...s,
127
- verifyStep: step
128
- }))
129
- };
130
- }, {
131
- name: "login-modal-store",
132
- persist: false
133
- });
134
-
135
- //#endregion
136
- export { useLoginModalStore };
2
+ import{createStore as e}from"../create-store.mjs";let t=null;function n(){if(typeof document>`u`||t)return;let e=Array.from(document.querySelectorAll(`video`));t=e.map(e=>({el:e,display:e.style.display})),e.forEach(e=>{e.style.display=`none`})}function r(){typeof document>`u`||(t&&=(t.forEach(({el:e,display:t})=>{e.style.display=t}),null))}const i=e((e,t)=>{let i=null,a=0;function o(e){if(!i)return;let t=i;i=null,t(e)}return{isOpen:!1,verifyStep:null,entryStep:null,open:()=>{n(),e(e=>({...e,isOpen:!0}))},openWithStep:t=>{n(),e(e=>({...e,isOpen:!0,entryStep:t}))},openAsync:()=>{o(!1),a+=1;let t=a;return n(),e(e=>({...e,isOpen:!0})),new Promise(e=>{i=n=>{t===a&&e(n)}})},resolveLogin:(n=!0)=>{o(n);let{isOpen:i}=t();i&&(e(e=>({...e,isOpen:!1,entryStep:null})),r())},close:()=>{o(!1),e(e=>({...e,isOpen:!1,entryStep:null})),r()},toggle:()=>{let{isOpen:i}=t();if(i){o(!1),e(e=>({...e,isOpen:!e.isOpen,entryStep:i?null:e.entryStep})),r();return}n(),e(e=>({...e,isOpen:!e.isOpen,entryStep:i?null:e.entryStep}))},setOpen:i=>{let{isOpen:a}=t();a&&!i&&o(!1),!a&&i&&n(),e(e=>({...e,isOpen:i,entryStep:i?e.entryStep:null})),a&&!i&&r()},setEntryStep:t=>e(e=>({...e,entryStep:t})),setVerifyStep:t=>e(e=>({...e,verifyStep:t}))}},{name:`login-modal-store`,persist:!1});export{i as useLoginModalStore};
@@ -1,55 +1,2 @@
1
1
 
2
- import { createStore } from "../create-store.mjs";
3
-
4
- //#region store/modules/media-preview-store.ts
5
- /** 媒体预览弹窗 store。 */
6
- const useMediaPreviewStore = createStore((set) => {
7
- return {
8
- isOpen: false,
9
- mediaList: [],
10
- startIndex: 0,
11
- openWithMediaList: (mediaList, startIndex = 0) => {
12
- const safeIndex = Math.min(Math.max(startIndex, 0), Math.max(mediaList.length - 1, 0));
13
- set((s) => ({
14
- ...s,
15
- isOpen: true,
16
- mediaList,
17
- startIndex: safeIndex
18
- }));
19
- },
20
- close: () => {
21
- set((s) => ({
22
- ...s,
23
- isOpen: false,
24
- mediaList: [],
25
- startIndex: 0
26
- }));
27
- },
28
- setOpen: (open) => {
29
- set((s) => ({
30
- ...s,
31
- isOpen: open,
32
- mediaList: open ? s.mediaList : [],
33
- startIndex: open ? s.startIndex : 0
34
- }));
35
- },
36
- setMediaList: (mediaList) => {
37
- set((s) => ({
38
- ...s,
39
- mediaList
40
- }));
41
- },
42
- setStartIndex: (index) => {
43
- set((s) => ({
44
- ...s,
45
- startIndex: index
46
- }));
47
- }
48
- };
49
- }, {
50
- name: "media-preview-store",
51
- persist: false
52
- });
53
-
54
- //#endregion
55
- export { useMediaPreviewStore };
2
+ import{createStore as e}from"../create-store.mjs";const t=e(e=>({isOpen:!1,mediaList:[],startIndex:0,openWithMediaList:(t,n=0)=>{let r=Math.min(Math.max(n,0),Math.max(t.length-1,0));e(e=>({...e,isOpen:!0,mediaList:t,startIndex:r}))},close:()=>{e(e=>({...e,isOpen:!1,mediaList:[],startIndex:0}))},setOpen:t=>{e(e=>({...e,isOpen:t,mediaList:t?e.mediaList:[],startIndex:t?e.startIndex:0}))},setMediaList:t=>{e(e=>({...e,mediaList:t}))},setStartIndex:t=>{e(e=>({...e,startIndex:t}))}}),{name:`media-preview-store`,persist:!1});export{t as useMediaPreviewStore};
@@ -1,32 +1,2 @@
1
1
 
2
- import { createStore } from "../create-store.mjs";
3
-
4
- //#region store/modules/publish-store.ts
5
- const usePublishStore = createStore((set) => ({
6
- materialList: [],
7
- videoUrl: "",
8
- coverUrl: "",
9
- content: "",
10
- atUsers: [],
11
- setPubState: (payload) => set((state) => ({
12
- ...state,
13
- materialList: payload.materialList ?? state.materialList,
14
- videoUrl: payload.videoUrl ?? state.videoUrl,
15
- coverUrl: payload.coverUrl ?? state.coverUrl,
16
- content: payload.content ?? state.content,
17
- atUsers: payload.atUsers ?? state.atUsers
18
- })),
19
- init: () => set(() => ({
20
- materialList: [],
21
- videoUrl: "",
22
- coverUrl: "",
23
- content: "",
24
- atUsers: []
25
- }))
26
- }), {
27
- persist: true,
28
- name: "publish-store"
29
- });
30
-
31
- //#endregion
32
- export { usePublishStore };
2
+ import{createStore as e}from"../create-store.mjs";const t=e(e=>({materialList:[],videoUrl:``,coverUrl:``,content:``,atUsers:[],setPubState:t=>e(e=>({...e,materialList:t.materialList??e.materialList,videoUrl:t.videoUrl??e.videoUrl,coverUrl:t.coverUrl??e.coverUrl,content:t.content??e.content,atUsers:t.atUsers??e.atUsers})),init:()=>e(()=>({materialList:[],videoUrl:``,coverUrl:``,content:``,atUsers:[]}))}),{persist:!0,name:`publish-store`});export{t as usePublishStore};
@@ -1,18 +1,2 @@
1
1
 
2
- import { createStore } from "../create-store.mjs";
3
-
4
- //#region store/modules/use-demo-store.ts
5
- const useDemoStore = createStore((set) => ({
6
- demo: "demo",
7
- setDemo: (v) => set((s) => ({
8
- ...s,
9
- demo: v
10
- }))
11
- }), {
12
- name: "demo-store",
13
- persist: true,
14
- partialize: (s) => ({ demo: s.demo })
15
- });
16
-
17
- //#endregion
18
- export { useDemoStore };
2
+ import{createStore as e}from"../create-store.mjs";const t=e(e=>({demo:`demo`,setDemo:t=>e(e=>({...e,demo:t}))}),{name:`demo-store`,persist:!0,partialize:e=>({demo:e.demo})});export{t as useDemoStore};
@@ -1,114 +1,2 @@
1
1
 
2
- import { generateDynamicSign, generateUUID, getCookie, isClient, removeCookie, setCookie } from "../../utils/common.mjs";
3
- import { createStore } from "../create-store.mjs";
4
- import { useFollowIdsState } from "./follow-ids-store.mjs";
5
- import { usePublishStore } from "./publish-store.mjs";
6
- import { gUserGetGuestIdentity } from "../../service/generated/client.mjs";
7
-
8
- //#region store/modules/user-store.ts
9
- const PERSIST_KEYS = {
10
- userStore: "user-store",
11
- publishStore: "publish-store"
12
- };
13
- const DEFAULT_USER_STATE = {
14
- userInfo: {},
15
- isLogin: false,
16
- token: "",
17
- expireTime: 0,
18
- userId: ""
19
- };
20
- /**
21
- * 清空与用户强相关的其他 store 状态。
22
- */
23
- function clearUserRelatedStores() {
24
- useFollowIdsState.setState({ followIds: [] });
25
- usePublishStore.getState().init();
26
- }
27
- /**
28
- * 清理 Cookie 与持久化缓存。
29
- */
30
- function clearAuthPersistence() {
31
- try {
32
- removeCookie("token");
33
- removeCookie("userId");
34
- removeCookie("guestUserId");
35
- } catch (error) {
36
- console.warn("clear auth cookie failed", error);
37
- }
38
- try {
39
- localStorage.removeItem(PERSIST_KEYS.userStore);
40
- localStorage.removeItem(PERSIST_KEYS.publishStore);
41
- } catch (error) {
42
- console.warn("clear local storage failed", error);
43
- }
44
- }
45
- const useUserStore = createStore((set) => ({
46
- ...DEFAULT_USER_STATE,
47
- setUserInfo: (userInfo) => {
48
- set({ userInfo });
49
- },
50
- setUserId: (userId) => {
51
- if (isClient()) setCookie("userId", userId);
52
- set({ userId });
53
- },
54
- setIsLogin: (isLogin) => {
55
- set({ isLogin });
56
- },
57
- setToken: (token) => {
58
- if (isClient()) {
59
- setCookie("token", token);
60
- setCookie("guestUserId", "");
61
- }
62
- set({ token });
63
- },
64
- setExpireTime: (expireTime) => {
65
- set({ expireTime });
66
- },
67
- updateUserInfo: (updates) => {
68
- set((state) => ({ userInfo: {
69
- ...state.userInfo,
70
- ...updates
71
- } }));
72
- },
73
- logout: () => {
74
- clearUserRelatedStores();
75
- set({ ...DEFAULT_USER_STATE });
76
- if (isClient()) clearAuthPersistence();
77
- },
78
- clearUserInfo: () => {
79
- set({ userInfo: DEFAULT_USER_STATE.userInfo });
80
- }
81
- }), {
82
- name: "user-store",
83
- persist: true,
84
- partialize: (s) => ({
85
- userInfo: s.userInfo,
86
- isLogin: s.isLogin,
87
- token: s.token,
88
- expireTime: s.expireTime,
89
- userId: s.userId
90
- })
91
- });
92
- /**
93
- * 确保游客身份已生成并缓存到 Cookie
94
- */
95
- async function ensureGuestIdentity(force = false) {
96
- if (await getCookie("userId") && !force) return;
97
- const uuid = generateUUID();
98
- gUserGetGuestIdentity({
99
- finger_id: uuid,
100
- sign: generateDynamicSign(uuid)
101
- }).then((res) => {
102
- setCookie("guestUserId", res.data.user_id);
103
- });
104
- }
105
- const userSelectors = {
106
- getUserInfo: () => useUserStore.getState().userInfo,
107
- getIsLogin: () => useUserStore.getState().isLogin,
108
- getToken: () => useUserStore.getState().token,
109
- getExpireTime: () => useUserStore.getState().expireTime,
110
- getUserId: () => useUserStore.getState().userId
111
- };
112
-
113
- //#endregion
114
- export { ensureGuestIdentity, useUserStore, userSelectors };
2
+ import{generateDynamicSign as e,generateUUID as t,getCookie as n,isClient as r,removeCookie as i,setCookie as a}from"../../utils/common.mjs";import{createStore as o}from"../create-store.mjs";import{useFollowIdsState as s}from"./follow-ids-store.mjs";import{usePublishStore as c}from"./publish-store.mjs";import{gUserGetGuestIdentity as l}from"../../service/generated/client.mjs";const u={userStore:`user-store`,publishStore:`publish-store`},d={userInfo:{},isLogin:!1,token:``,expireTime:0,userId:``};function f(){s.setState({followIds:[]}),c.getState().init()}function p(){try{i(`token`),i(`userId`),i(`guestUserId`)}catch(e){console.warn(`clear auth cookie failed`,e)}try{localStorage.removeItem(u.userStore),localStorage.removeItem(u.publishStore)}catch(e){console.warn(`clear local storage failed`,e)}}const m=o(e=>({...d,setUserInfo:t=>{e({userInfo:t})},setUserId:t=>{r()&&a(`userId`,t),e({userId:t})},setIsLogin:t=>{e({isLogin:t})},setToken:t=>{r()&&(a(`token`,t),a(`guestUserId`,``)),e({token:t})},setExpireTime:t=>{e({expireTime:t})},updateUserInfo:t=>{e(e=>({userInfo:{...e.userInfo,...t}}))},logout:()=>{f(),e({...d}),r()&&p()},clearUserInfo:()=>{e({userInfo:d.userInfo})}}),{name:`user-store`,persist:!0,partialize:e=>({userInfo:e.userInfo,isLogin:e.isLogin,token:e.token,expireTime:e.expireTime,userId:e.userId})});async function h(r=!1){if(await n(`userId`)&&!r)return;let i=t();l({finger_id:i,sign:e(i)}).then(e=>{a(`guestUserId`,e.data.user_id)})}const g={getUserInfo:()=>m.getState().userInfo,getIsLogin:()=>m.getState().isLogin,getToken:()=>m.getState().token,getExpireTime:()=>m.getState().expireTime,getUserId:()=>m.getState().userId};export{h as ensureGuestIdentity,m as useUserStore,g as userSelectors};
package/dist/store.mjs CHANGED
@@ -1,11 +1,2 @@
1
1
 
2
- import { useBlockedModalStore } from "./store/modules/blocked-modal-store.mjs";
3
- import { useFollowIdsState } from "./store/modules/follow-ids-store.mjs";
4
- import { usePublishStore } from "./store/modules/publish-store.mjs";
5
- import { ensureGuestIdentity, useUserStore, userSelectors } from "./store/modules/user-store.mjs";
6
- import { useLoginModalStore } from "./store/modules/login-modal-store.mjs";
7
- import { StorageType, useAppConfigStore } from "./store/modules/app-config-store.mjs";
8
- import { useMediaPreviewStore } from "./store/modules/media-preview-store.mjs";
9
- import { useDemoStore } from "./store/modules/use-demo-store.mjs";
10
-
11
- export { StorageType, ensureGuestIdentity, useAppConfigStore, useBlockedModalStore, useDemoStore, useFollowIdsState, useLoginModalStore, useMediaPreviewStore, usePublishStore, useUserStore, userSelectors };
2
+ import{useBlockedModalStore as e}from"./store/modules/blocked-modal-store.mjs";import{useFollowIdsState as t}from"./store/modules/follow-ids-store.mjs";import{usePublishStore as n}from"./store/modules/publish-store.mjs";import{ensureGuestIdentity as r,useUserStore as i,userSelectors as a}from"./store/modules/user-store.mjs";import{useLoginModalStore as o}from"./store/modules/login-modal-store.mjs";import{StorageType as s,useAppConfigStore as c}from"./store/modules/app-config-store.mjs";import{useMediaPreviewStore as l}from"./store/modules/media-preview-store.mjs";import{useDemoStore as u}from"./store/modules/use-demo-store.mjs";export{s as StorageType,r as ensureGuestIdentity,c as useAppConfigStore,e as useBlockedModalStore,u as useDemoStore,t as useFollowIdsState,o as useLoginModalStore,l as useMediaPreviewStore,n as usePublishStore,i as useUserStore,a as userSelectors};
@@ -1,16 +1,2 @@
1
1
 
2
- import { numToString } from "../utils/common.mjs";
3
-
4
- //#region types/safe-at-user.ts
5
- function safeMapApiAtUserToAtUser(apiAtUser) {
6
- return {
7
- user_id: numToString(apiAtUser?.user_id),
8
- name: apiAtUser?.name || "",
9
- avatar: apiAtUser?.avatar || "",
10
- birthday: apiAtUser?.birthday || "",
11
- signature: apiAtUser?.signature || ""
12
- };
13
- }
14
-
15
- //#endregion
16
- export { safeMapApiAtUserToAtUser };
2
+ import{numToString as e}from"../utils/common.mjs";function t(t){return{user_id:e(t?.user_id),name:t?.name||``,avatar:t?.avatar||``,birthday:t?.birthday||``,signature:t?.signature||``}}export{t as safeMapApiAtUserToAtUser};
@@ -1,31 +1,2 @@
1
1
 
2
- import { numToString, stringToNumber } from "../utils/common.mjs";
3
- import { safeMapApiAtUserToAtUser } from "./safe-at-user.mjs";
4
- import { safeMapApiNineGridInfoToNineGridInfo } from "./safe-grid.mjs";
5
-
6
- //#region types/safe-comment.ts
7
- function mapApiCommentToComment(apiComment) {
8
- return {
9
- id: apiComment?.id === void 0 || apiComment?.id === null ? "" : String(apiComment.id),
10
- reply_cnt: numToString(apiComment?.reply_cnt),
11
- like_cnt: numToString(apiComment?.like_cnt),
12
- dislike_cnt: numToString(apiComment?.dislike_cnt),
13
- city_name: apiComment?.city_name || "",
14
- created_at: stringToNumber(apiComment?.created_at),
15
- text: apiComment?.text || "",
16
- files: apiComment?.files || [],
17
- at_users: (apiComment?.at_users || []).map(safeMapApiAtUserToAtUser),
18
- type: numToString(apiComment?.type),
19
- like_flag: numToString(apiComment?.like_flag),
20
- user_id: apiComment?.user_id === void 0 || apiComment?.user_id === null ? "" : String(apiComment.user_id),
21
- user_name: apiComment?.user_name || "",
22
- avatar: apiComment?.avatar || "",
23
- cover_image: apiComment?.cover_image || "",
24
- is_follow: apiComment?.is_follow === "1" || apiComment?.is_follow === true,
25
- nine_grid_content_info: (apiComment?.nine_grid_content_info || []).map(safeMapApiNineGridInfoToNineGridInfo),
26
- status: apiComment?.status != null ? String(apiComment.status) : void 0
27
- };
28
- }
29
-
30
- //#endregion
31
- export { mapApiCommentToComment };
2
+ import{numToString as e,stringToNumber as t}from"../utils/common.mjs";import{safeMapApiAtUserToAtUser as n}from"./safe-at-user.mjs";import{safeMapApiNineGridInfoToNineGridInfo as r}from"./safe-grid.mjs";function i(i){return{id:i?.id===void 0||i?.id===null?``:String(i.id),reply_cnt:e(i?.reply_cnt),like_cnt:e(i?.like_cnt),dislike_cnt:e(i?.dislike_cnt),city_name:i?.city_name||``,created_at:t(i?.created_at),text:i?.text||``,files:i?.files||[],at_users:(i?.at_users||[]).map(n),type:e(i?.type),like_flag:e(i?.like_flag),user_id:i?.user_id===void 0||i?.user_id===null?``:String(i.user_id),user_name:i?.user_name||``,avatar:i?.avatar||``,cover_image:i?.cover_image||``,is_follow:i?.is_follow===`1`||i?.is_follow===!0,nine_grid_content_info:(i?.nine_grid_content_info||[]).map(r),status:i?.status==null?void 0:String(i.status)}}export{i as mapApiCommentToComment};
@@ -1,37 +1,2 @@
1
1
 
2
- import { numToString, stringToNumber } from "../utils/common.mjs";
3
-
4
- //#region types/safe-grid.ts
5
- function safeMapApiHlsInfoToHlsInfo(apiHlsInfo) {
6
- return {
7
- enc_key: apiHlsInfo?.enc_key || "",
8
- is_default: Boolean(apiHlsInfo?.is_default),
9
- m3u8_url: apiHlsInfo?.m3u8_url || "",
10
- name: apiHlsInfo?.name || "",
11
- vertical_resolution: numToString(apiHlsInfo?.vertical_resolution || 0)
12
- };
13
- }
14
- function safeMapApiNineGridInfoToNineGridInfo(apiNineGridInfo) {
15
- return {
16
- cover_image: apiNineGridInfo?.cover_image || "",
17
- cover_image_thumbnail: apiNineGridInfo?.cover_image_thumbnail || "",
18
- cover_image_radio: stringToNumber(apiNineGridInfo?.cover_image_radio || 1),
19
- cover_image_resolution: apiNineGridInfo?.cover_image_resolution || "",
20
- image_url: apiNineGridInfo?.image_url || "",
21
- image_thumbnail: apiNineGridInfo?.image_thumbnail || "",
22
- image_radio: stringToNumber(apiNineGridInfo?.image_radio || 1),
23
- image_resolution: apiNineGridInfo?.image_resolution || "",
24
- is_video: Boolean(apiNineGridInfo?.is_video),
25
- resolution: apiNineGridInfo?.resolution || "",
26
- video_duration: stringToNumber(apiNineGridInfo?.video_duration),
27
- video_url: apiNineGridInfo?.video_url || "",
28
- video_codec_info: {
29
- hls_info: (apiNineGridInfo?.video_codec_info?.hls_info || []).map(safeMapApiHlsInfoToHlsInfo),
30
- video_codec_deal: Boolean(apiNineGridInfo?.video_codec_info?.video_codec_deal)
31
- },
32
- video_size: stringToNumber(apiNineGridInfo?.video_size)
33
- };
34
- }
35
-
36
- //#endregion
37
- export { safeMapApiNineGridInfoToNineGridInfo };
2
+ import{numToString as e,stringToNumber as t}from"../utils/common.mjs";function n(t){return{enc_key:t?.enc_key||``,is_default:!!t?.is_default,m3u8_url:t?.m3u8_url||``,name:t?.name||``,vertical_resolution:e(t?.vertical_resolution||0)}}function r(e){return{cover_image:e?.cover_image||``,cover_image_thumbnail:e?.cover_image_thumbnail||``,cover_image_radio:t(e?.cover_image_radio||1),cover_image_resolution:e?.cover_image_resolution||``,image_url:e?.image_url||``,image_thumbnail:e?.image_thumbnail||``,image_radio:t(e?.image_radio||1),image_resolution:e?.image_resolution||``,is_video:!!e?.is_video,resolution:e?.resolution||``,video_duration:t(e?.video_duration),video_url:e?.video_url||``,video_codec_info:{hls_info:(e?.video_codec_info?.hls_info||[]).map(n),video_codec_deal:!!e?.video_codec_info?.video_codec_deal},video_size:t(e?.video_size)}}export{r as safeMapApiNineGridInfoToNineGridInfo};