@funhub/platform 0.2.4 → 0.2.6

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 (231) hide show
  1. package/dist/assets/icons/detail/collect_nor.mjs +2 -0
  2. package/dist/assets/icons/detail/collect_sel.mjs +2 -0
  3. package/dist/assets/icons/detail/share.mjs +2 -0
  4. package/dist/assets/icons/eye-off-icon.mjs +1 -1
  5. package/dist/assets/icons/marquee-enter.mjs +2 -0
  6. package/dist/assets/icons/right_arrow.mjs +2 -0
  7. package/dist/assets/icons/search/avatar.mjs +2 -0
  8. package/dist/assets/images/marquee.mjs +2 -0
  9. package/dist/biz.d.mts +6 -10
  10. package/dist/biz.mjs +1 -1
  11. package/dist/common.d.mts +2 -5
  12. package/dist/common.mjs +1 -1
  13. package/dist/components/biz/basics/fullscreen-feed/runtime/user-action.mjs +1 -1
  14. package/dist/components/biz/basics/logo/variants/basic-logo/runtime/client.mjs +1 -1
  15. package/dist/components/biz/business/advertisement/ad-match.d.mts +3 -7
  16. package/dist/components/biz/business/advertisement/ad-match.mjs +1 -1
  17. package/dist/components/biz/business/advertisement/banner-ad/client.mjs +1 -1
  18. package/dist/components/biz/business/advertisement/banner-ad/material.d.mts +2 -2
  19. package/dist/components/biz/business/advertisement/banner-ad/material.mjs +1 -1
  20. package/dist/components/biz/business/advertisement/banner-ad/schema.d.mts +4 -9
  21. package/dist/components/biz/business/advertisement/banner-ad/schema.mjs +1 -1
  22. package/dist/components/biz/business/advertisement/feed-ad/index.d.mts +31 -1
  23. package/dist/components/biz/business/advertisement/feed-ad/index.mjs +1 -1
  24. package/dist/components/biz/business/advertisement/floating-ad/client.d.mts +3 -4
  25. package/dist/components/biz/business/advertisement/floating-ad/client.mjs +1 -1
  26. package/dist/components/biz/business/advertisement/floating-ad/index.d.mts +1 -1
  27. package/dist/components/biz/business/advertisement/floating-ad/material.d.mts +0 -5
  28. package/dist/components/biz/business/advertisement/floating-ad/schema.d.mts +6 -21
  29. package/dist/components/biz/business/advertisement/floating-ad/schema.mjs +1 -1
  30. package/dist/components/biz/business/advertisement/icon-ad/client.mjs +1 -1
  31. package/dist/components/biz/business/advertisement/icon-ad/material.d.mts +1 -1
  32. package/dist/components/biz/business/advertisement/icon-ad/material.mjs +1 -1
  33. package/dist/components/biz/business/advertisement/icon-ad/schema.d.mts +1 -7
  34. package/dist/components/biz/business/advertisement/icon-ad/schema.mjs +1 -1
  35. package/dist/components/biz/business/advertisement/index.d.mts +4 -4
  36. package/dist/components/biz/business/advertisement/popup-ad/client.mjs +2 -2
  37. package/dist/components/biz/business/advertisement/popup-ad/index.d.mts +1 -1
  38. package/dist/components/biz/business/advertisement/popup-ad/material.d.mts +2 -2
  39. package/dist/components/biz/business/advertisement/popup-ad/schema.d.mts +15 -14
  40. package/dist/components/biz/business/advertisement/popup-ad/schema.mjs +1 -1
  41. package/dist/components/biz/business/advertisement/text-ad/client.mjs +1 -1
  42. package/dist/components/biz/business/advertisement/text-ad/material.d.mts +1 -1
  43. package/dist/components/biz/business/advertisement/text-ad/material.mjs +1 -1
  44. package/dist/components/biz/business/advertisement/text-ad/schema.d.mts +1 -5
  45. package/dist/components/biz/business/advertisement/text-ad/schema.mjs +1 -1
  46. package/dist/components/biz/business/banner/variants/basic-banner/runtime/client.mjs +1 -1
  47. package/dist/components/biz/business/banner-carousel/client.d.mts +1 -2
  48. package/dist/components/biz/business/banner-carousel/client.mjs +1 -1
  49. package/dist/components/biz/business/banner-carousel/default-props.mjs +1 -1
  50. package/dist/components/biz/business/channel-list/client.mjs +1 -1
  51. package/dist/components/biz/business/channel-list/default-props.mjs +1 -1
  52. package/dist/components/biz/business/detail/shared/detail-introduction.mjs +2 -0
  53. package/dist/components/biz/business/detail/shared/detail-operate.mjs +1 -1
  54. package/dist/components/biz/business/detail/shared/editor-preview.mjs +1 -1
  55. package/dist/components/biz/business/detail/shared/runtime-context-provider.mjs +1 -1
  56. package/dist/components/biz/business/detail/shared/video-hero.mjs +1 -1
  57. package/dist/components/biz/business/detail/video-detail-actions/client.mjs +1 -1
  58. package/dist/components/biz/business/detail/video-detail-info/client.mjs +1 -1
  59. package/dist/components/biz/business/detail/video-detail-recommend/client.d.mts +13 -1
  60. package/dist/components/biz/business/detail/video-detail-recommend/client.mjs +1 -1
  61. package/dist/components/biz/business/detail/video-detail-recommend/material.mjs +1 -1
  62. package/dist/components/biz/business/detail/video-detail-recommend/schema.mjs +1 -1
  63. package/dist/components/biz/business/header-search/header-avatar-icon/client.mjs +1 -1
  64. package/dist/components/biz/business/header-search/header-avatar-logo-search/client.d.mts +1 -1
  65. package/dist/components/biz/business/header-search/header-avatar-logo-search/client.mjs +1 -1
  66. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.d.mts +3 -4
  67. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +1 -1
  68. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/client.mjs +1 -1
  69. package/dist/components/biz/business/header-search/header-logo-search/client.mjs +1 -1
  70. package/dist/components/biz/business/header-search/header-search/client.mjs +1 -1
  71. package/dist/components/biz/business/header-search/shared/avatar.mjs +1 -1
  72. package/dist/components/biz/business/header-search/shared/logo.mjs +1 -1
  73. package/dist/components/biz/business/header-search/shared/search.mjs +1 -1
  74. package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.d.mts +8 -0
  75. package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs +1 -1
  76. package/dist/components/biz/business/home-recommend/home-recommend-grid/material.d.mts +8 -0
  77. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.d.mts +8 -0
  78. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs +1 -1
  79. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.d.mts +8 -0
  80. package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +1 -1
  81. package/dist/components/biz/business/home-recommend/shared/home-recommend-preview.mjs +1 -1
  82. package/dist/components/biz/business/index.d.mts +5 -10
  83. package/dist/components/biz/business/large-feature-grid/card-item.mjs +1 -1
  84. package/dist/components/biz/business/large-feature-grid/client.mjs +1 -1
  85. package/dist/components/biz/business/large-feature-grid/schema.mjs +1 -1
  86. package/dist/components/biz/business/marquee/client.mjs +1 -1
  87. package/dist/components/biz/business/marquee/marquee.module.mjs +6 -2
  88. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/runtime/client.mjs +1 -1
  89. package/dist/components/biz/business/profile/index.d.mts +1 -1
  90. package/dist/components/biz/business/profile/profile-header/client.d.mts +1 -2
  91. package/dist/components/biz/business/profile/profile-header/client.mjs +1 -1
  92. package/dist/components/biz/business/profile/profile-header/index.d.mts +1 -1
  93. package/dist/components/biz/business/profile/profile-header/user-profile-avatar.mjs +1 -1
  94. package/dist/components/biz/business/profile/profile-header/user-profile-cover-background.mjs +1 -1
  95. package/dist/components/biz/business/profile/profile-main/client.mjs +1 -1
  96. package/dist/components/biz/business/profile/profile-main/shell.mjs +1 -1
  97. package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs +1 -1
  98. package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.mjs +1 -1
  99. package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.d.mts +1 -5
  100. package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.mjs +1 -1
  101. package/dist/components/biz/business/profile/profile-main/utils.mjs +1 -1
  102. package/dist/components/biz/business/search-history/client.mjs +1 -1
  103. package/dist/components/biz/business/search-history/schema.mjs +1 -1
  104. package/dist/components/biz/business/search-input/client.mjs +1 -1
  105. package/dist/components/biz/business/shortcut-grid/client.mjs +1 -1
  106. package/dist/components/biz/business/tab-bar/client.d.mts +2 -0
  107. package/dist/components/biz/business/tab-bar/client.mjs +1 -1
  108. package/dist/components/common/collection-popup/collection-create-modal.mjs +2 -0
  109. package/dist/components/common/collection-popup/index.d.mts +0 -1
  110. package/dist/components/common/collection-popup/index.mjs +1 -1
  111. package/dist/components/common/icons/setting.mjs +1 -1
  112. package/dist/components/common/list/collection-list/collection-list-item.d.mts +0 -8
  113. package/dist/components/common/list/collection-list/collection-list-item.mjs +1 -1
  114. package/dist/components/common/list/collection-list/collection-list.d.mts +0 -6
  115. package/dist/components/common/list/collection-list/collection-list.mjs +1 -1
  116. package/dist/components/common/series-episodes/index.d.mts +1 -3
  117. package/dist/components/common/series-episodes/index.mjs +1 -1
  118. package/dist/components/common/skeleton/search-video-card-skeleton.mjs +2 -0
  119. package/dist/components/common/tab-bar/index.mjs +1 -1
  120. package/dist/components/common/video-player/index.d.mts +2 -1
  121. package/dist/components/common/video-player/video-blind-ad-overlay.mjs +2 -0
  122. package/dist/components/common/video-player/video-player-ref-context.mjs +2 -0
  123. package/dist/components/pages/collection-detail/detail.mjs +1 -1
  124. package/dist/components/pages/edit/page.mjs +1 -1
  125. package/dist/components/pages/feedback/_components/feedback-form.mjs +1 -1
  126. package/dist/components/pages/home/client.mjs +1 -1
  127. package/dist/components/pages/login/login-client.mjs +1 -1
  128. package/dist/components/pages/login/register.mjs +1 -1
  129. package/dist/components/pages/login/verify.mjs +4 -1
  130. package/dist/components/pages/publish/components/collection.mjs +1 -1
  131. package/dist/components/pages/search/page-client.mjs +1 -1
  132. package/dist/components/pages/search/search-result/index.mjs +1 -1
  133. package/dist/components/pages/search/search-result/search-all.mjs +1 -1
  134. package/dist/components/pages/search/search-result/search-user.mjs +1 -1
  135. package/dist/components/pages/search/search-result/search-video-info.mjs +1 -1
  136. package/dist/components/pages/search/search-utils.mjs +2 -0
  137. package/dist/components/pages/search/top-header.mjs +1 -1
  138. package/dist/components/pages/search-result/page-client.mjs +1 -1
  139. package/dist/components/pages/search-result/search-all.mjs +1 -1
  140. package/dist/components/pages/search-result/search-result-skeleton.mjs +2 -0
  141. package/dist/components/pages/search-result/search-tab.mjs +1 -1
  142. package/dist/components/pages/search-result/search-user.mjs +1 -1
  143. package/dist/components/pages/search-result/search-video.mjs +2 -0
  144. package/dist/components/pages/settings/_components/reset-password-drawer.mjs +2 -2
  145. package/dist/components/pages/settings/_components/settings.mjs +1 -1
  146. package/dist/components/pages/user-follow/_components/follow-no-login.mjs +1 -1
  147. package/dist/components/pages/video-list/video-list-client.mjs +1 -1
  148. package/dist/components/pages/video-list/video-list-item.mjs +2 -0
  149. package/dist/components/pages/video-list/video-list-skeleton.d.mts +3 -2
  150. package/dist/components/pages/video-list/video-list-skeleton.mjs +1 -1
  151. package/dist/components/ui/badge.d.mts +1 -1
  152. package/dist/components/ui/box.d.mts +1 -1
  153. package/dist/components/ui/button.d.mts +2 -2
  154. package/dist/components/ui/image.d.mts +4 -4
  155. package/dist/components/ui/input-group.d.mts +1 -1
  156. package/dist/components/ui/item.d.mts +1 -1
  157. package/dist/hooks/use-is-client.d.mts +10 -0
  158. package/dist/hooks/use-is-client.mjs +2 -0
  159. package/dist/hooks.d.mts +2 -1
  160. package/dist/hooks.mjs +1 -1
  161. package/dist/i18n/locales/en.mjs +2 -2
  162. package/dist/i18n/locales/zh-CN.mjs +2 -2
  163. package/dist/materials.d.mts +1 -3
  164. package/dist/materials.mjs +1 -1
  165. package/dist/service/generated/client.d.mts +10 -2
  166. package/dist/service/generated/client.mjs +1 -1
  167. package/dist/service/generated/tanstack.d.mts +12 -2
  168. package/dist/service/generated/tanstack.mjs +1 -1
  169. package/dist/service.d.mts +3 -3
  170. package/dist/service.mjs +1 -1
  171. package/dist/store/modules/blind-spot-ad-store.d.mts +116 -0
  172. package/dist/store/modules/blind-spot-ad-store.mjs +2 -0
  173. package/dist/store/modules/video-player-ref-store.d.mts +21 -0
  174. package/dist/store/modules/video-player-ref-store.mjs +2 -0
  175. package/dist/store.d.mts +3 -1
  176. package/dist/store.mjs +1 -1
  177. package/dist/types.d.mts +171 -33
  178. package/dist/utils/helper.d.mts +1 -1
  179. package/dist/utils/helper.mjs +1 -1
  180. package/dist/utils/schema/inspector.d.mts +2 -2
  181. package/package.json +2 -8
  182. package/theme.css +59 -170
  183. package/dist/assets/icons/channel-list/channel-active-indicator.mjs +0 -2
  184. package/dist/assets/icons/common/header-menu.mjs +0 -2
  185. package/dist/assets/icons/common/header-search-icon.mjs +0 -2
  186. package/dist/assets/icons/common/right_arrow_thin.mjs +0 -2
  187. package/dist/assets/icons/marquee-close.mjs +0 -2
  188. package/dist/assets/icons/marquee-speaker.mjs +0 -2
  189. package/dist/assets/images/shortcut-grid/shortcut-grid-card-bg-primary.mjs +0 -2
  190. package/dist/components/biz/business/detail/video-detail-recommend/shared.mjs +0 -2
  191. package/dist/components/biz/business/header-search/shared/header-action.mjs +0 -2
  192. package/dist/components/biz/business/header-search/shared/header-search-icon.mjs +0 -2
  193. package/dist/components/biz/business/header-search/shared/header-shell.mjs +0 -2
  194. package/dist/components/biz/business/hot-recommend/client.d.mts +0 -17
  195. package/dist/components/biz/business/hot-recommend/client.mjs +0 -2
  196. package/dist/components/biz/business/hot-recommend/index.d.mts +0 -5
  197. package/dist/components/biz/business/hot-recommend/material.d.mts +0 -24
  198. package/dist/components/biz/business/hot-recommend/material.mjs +0 -2
  199. package/dist/components/biz/business/hot-recommend/schema.d.mts +0 -23
  200. package/dist/components/biz/business/hot-recommend/schema.mjs +0 -2
  201. package/dist/components/biz/business/hot-recommend/server.d.mts +0 -11
  202. package/dist/components/biz/business/hot-recommend/server.mjs +0 -2
  203. package/dist/components/biz/business/profile/profile-main/empty-state.mjs +0 -2
  204. package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/video-waterfall.mjs +0 -2
  205. package/dist/components/biz/business/ranking-recommend/client.d.mts +0 -17
  206. package/dist/components/biz/business/ranking-recommend/client.mjs +0 -70
  207. package/dist/components/biz/business/ranking-recommend/material.d.mts +0 -35
  208. package/dist/components/biz/business/ranking-recommend/material.mjs +0 -2
  209. package/dist/components/biz/business/ranking-recommend/schema.d.mts +0 -35
  210. package/dist/components/biz/business/ranking-recommend/schema.mjs +0 -2
  211. package/dist/components/biz/business/ranking-recommend/server.d.mts +0 -11
  212. package/dist/components/biz/business/ranking-recommend/server.mjs +0 -2
  213. package/dist/components/biz/business/ranking-recommend/shared/query.mjs +0 -2
  214. package/dist/components/biz/business/ranking-recommend/shared.d.mts +0 -15
  215. package/dist/components/biz/business/ranking-recommend/shared.mjs +0 -2
  216. package/dist/components/common/collection-popup/create-collection-sheet.d.mts +0 -41
  217. package/dist/components/common/collection-popup/create-collection-sheet.mjs +0 -2
  218. package/dist/components/common/list/collection-list/collection-select-icon.mjs +0 -2
  219. package/dist/components/common/list/waterfall-recommend/index.d.mts +0 -2
  220. package/dist/components/common/list/waterfall-recommend/waterfall-recommend.d.mts +0 -116
  221. package/dist/components/common/list/waterfall-recommend/waterfall-recommend.mjs +0 -2
  222. package/dist/components/pages/collection-detail/_components/collection-detail-video-card.mjs +0 -2
  223. package/dist/components/pages/login/auth-page-styles.mjs +0 -6
  224. package/dist/components/pages/search/search-result/shared.mjs +0 -2
  225. package/dist/components/pages/search-result/search-empty.mjs +0 -2
  226. package/dist/components/pages/search-result/search-video-info.mjs +0 -2
  227. package/dist/components/pages/search-result/shared.mjs +0 -2
  228. package/dist/components/pages/search-result/top-header.mjs +0 -2
  229. package/dist/components/pages/video-list/video-list-recommend-item.mjs +0 -2
  230. package/dist/theme-tokens.d.mts +0 -9
  231. package/dist/theme-tokens.mjs +0 -2
package/dist/types.d.mts CHANGED
@@ -1434,38 +1434,7 @@ type ContentShowVideoInfo = {
1434
1434
  * 是否广告组件
1435
1435
  */
1436
1436
  is_ad?: boolean;
1437
- /**
1438
- * 广告业务编码
1439
- */
1440
- ad_code?: string;
1441
- /**
1442
- * 广告跳转地址
1443
- */
1444
- ad_advertise_url?: string;
1445
- /**
1446
- * 广告图片地址
1447
- */
1448
- ad_advertise_icon?: string;
1449
- /**
1450
- * 广告类型枚举
1451
- */
1452
- ad_advertise_type?: number;
1453
- /**
1454
- * 广告描述
1455
- */
1456
- ad_advertise_desc?: string;
1457
- /**
1458
- * 广告开始时间戳(毫秒)
1459
- */
1460
- ad_start_time?: number;
1461
- /**
1462
- * 广告结束时间戳(毫秒)
1463
- */
1464
- ad_end_time?: number;
1465
- /**
1466
- * 广告扩展数据
1467
- */
1468
- ad_ext_data?: string;
1437
+ ad?: ContentFeedAdInfo;
1469
1438
  };
1470
1439
  /**
1471
1440
  * 标签对象
@@ -4122,6 +4091,7 @@ type ContentMatchAdsResponse = {
4122
4091
  * 广告匹配素材(精简字段)
4123
4092
  */
4124
4093
  materials?: ContentMatchAdMaterial[];
4094
+ settings?: ContentMatchAdSettings;
4125
4095
  };
4126
4096
  type CommunityBatchDeleteCollectionResponse = {
4127
4097
  /**
@@ -4178,6 +4148,134 @@ type ContentMatchAdMaterial = {
4178
4148
  */
4179
4149
  ad_ext_data?: string;
4180
4150
  };
4151
+ /**
4152
+ * 信息流广告信息(仅在 ShowVideoInfo.is_ad=true 时返回)
4153
+ */
4154
+ type ContentFeedAdInfo = {
4155
+ /**
4156
+ * 广告业务编码
4157
+ */
4158
+ ad_code?: string;
4159
+ /**
4160
+ * 广告跳转地址
4161
+ */
4162
+ ad_advertise_url?: string;
4163
+ /**
4164
+ * 广告图片地址
4165
+ */
4166
+ ad_advertise_icon?: string;
4167
+ /**
4168
+ * 广告类型枚举
4169
+ */
4170
+ ad_advertise_type?: number;
4171
+ /**
4172
+ * 广告描述
4173
+ */
4174
+ ad_advertise_desc?: string;
4175
+ /**
4176
+ * 广告开始时间戳(毫秒)
4177
+ */
4178
+ ad_start_time?: number;
4179
+ /**
4180
+ * 广告结束时间戳(毫秒)
4181
+ */
4182
+ ad_end_time?: number;
4183
+ /**
4184
+ * 广告扩展数据
4185
+ */
4186
+ ad_ext_data?: string;
4187
+ };
4188
+ /**
4189
+ * 最热视频列表响应
4190
+ */
4191
+ type ContentGetMostPlayedVideoListResponse = {
4192
+ /**
4193
+ * 视频信息(用于首页列表)
4194
+ */
4195
+ videos?: ContentShowVideoInfo[];
4196
+ /**
4197
+ * 下一页游标
4198
+ */
4199
+ cursor?: string;
4200
+ };
4201
+ /**
4202
+ * 广告配置 settings
4203
+ */
4204
+ type ContentMatchAdSettings = {
4205
+ /**
4206
+ * 热启动间隔(分钟)
4207
+ */
4208
+ hot_start_interval_min?: number;
4209
+ /**
4210
+ * 跳过秒数
4211
+ */
4212
+ skip_seconds?: number;
4213
+ /**
4214
+ * 每日最大展示次数
4215
+ */
4216
+ daily_max_show?: number;
4217
+ /**
4218
+ * 触发视频进度(分钟)
4219
+ */
4220
+ trigger_video_progress_min?: number;
4221
+ /**
4222
+ * 返回广告数量
4223
+ */
4224
+ show_count?: number;
4225
+ /**
4226
+ * 信息流插入间隔
4227
+ */
4228
+ feed_insert_interval?: number;
4229
+ /**
4230
+ * 停留时长(秒)
4231
+ */
4232
+ stay_seconds?: number;
4233
+ /**
4234
+ * 配置宽度
4235
+ */
4236
+ advertise_width?: number;
4237
+ /**
4238
+ * 配置高度
4239
+ */
4240
+ advertise_height?: number;
4241
+ };
4242
+ /**
4243
+ * 获取访客权限配置响应
4244
+ */
4245
+ type UserGetVisitorPermissionConfigResponse = {
4246
+ /**
4247
+ * 权限配置
4248
+ */
4249
+ permission_config?: {
4250
+ [key: string]: string;
4251
+ };
4252
+ };
4253
+ /**
4254
+ * 将单个视频同步到 Elasticsearch
4255
+ */
4256
+ type InternalSyncVideoToESRequest = {
4257
+ /**
4258
+ * 视频/专辑 ID
4259
+ */
4260
+ video_id?: string;
4261
+ };
4262
+ /**
4263
+ * 同步单个视频到 Elasticsearch 响应
4264
+ */
4265
+ type InternalSyncVideoToESResponse = {
4266
+ /**
4267
+ * 响应码,0 表示成功
4268
+ */
4269
+ code?: number;
4270
+ /**
4271
+ * 响应消息
4272
+ */
4273
+ message?: string;
4274
+ /**
4275
+ * 响应数据
4276
+ */
4277
+ data?: unknown;
4278
+ };
4181
4279
  type PostApiCommunityPublishContentReqBody = {
4182
4280
  /**
4183
4281
  * 正文内容
@@ -5113,6 +5211,32 @@ type PostApiContentMatchAdsRes = {
5113
5211
  message?: string;
5114
5212
  data: ContentMatchAdsResponse;
5115
5213
  };
5214
+ type PostApiContentGetMostPlayedVideoListReqBody = {
5215
+ /**
5216
+ * 游标,首次为空或不传
5217
+ */
5218
+ cursor?: string;
5219
+ /**
5220
+ * 每页数量
5221
+ */
5222
+ page_size?: number;
5223
+ /**
5224
+ * 标签列表筛选
5225
+ */
5226
+ tags?: string[];
5227
+ /**
5228
+ * 分类ID列表筛选(批量)
5229
+ */
5230
+ cat_ids?: string[];
5231
+ };
5232
+ type PostApiContentGetMostPlayedVideoListRes = {
5233
+ code?: ResultCode;
5234
+ /**
5235
+ * 响应消息
5236
+ */
5237
+ message?: string;
5238
+ data: ContentGetMostPlayedVideoListResponse;
5239
+ };
5116
5240
  type GetApiContentProcessM3u8Query = {
5117
5241
  /**
5118
5242
  * m3u8地址
@@ -6734,6 +6858,20 @@ type PostApiUserRegisterByVerifyEmailCodeRes = {
6734
6858
  message?: string;
6735
6859
  data: UserRegisterByVerifyEmailCodeResponse;
6736
6860
  };
6861
+ type GetApiUserGetVisitorPermissionConfigQuery = {
6862
+ /**
6863
+ * User id
6864
+ */
6865
+ user_id?: string;
6866
+ };
6867
+ type GetApiUserGetVisitorPermissionConfigRes = {
6868
+ code?: ResultCode;
6869
+ /**
6870
+ * 响应消息
6871
+ */
6872
+ message?: string;
6873
+ data: UserGetVisitorPermissionConfigResponse;
6874
+ };
6737
6875
  type PostApiCommerceCreatePaymentReqBody = {
6738
6876
  /**
6739
6877
  * 支付类型:alipay/wechat/union/usdt/dyhbPay/digitalRmb
@@ -6874,4 +7012,4 @@ type PostApiCommerceRefundCallbackRes = {
6874
7012
  data: CommerceRefundCallbackResponse;
6875
7013
  };
6876
7014
  //#endregion
6877
- export { CommerceCreatePaymentResponse, CommerceGetPaymentMethodsResponse, CommerceOrderResult, CommercePaymentCardInfo, CommercePaymentMethod, CommercePaymentMethodGroup, CommercePaymentPlayerInfo, CommercePaymentSuccessCallbackResponse, CommerceQueryOrderResultResponse, CommerceRefundCallbackResponse, CommunityAddContentToCollectionResponse, CommunityBatchDeleteCollectionResponse, CommunityCollectionData, CommunityCollectionDetail, CommunityCollectionInfo, CommunityCommentInfo, CommunityCommentListData, CommunityContentBrief, CommunityContentInfo, CommunityContentInteraction, CommunityContentListData, CommunityCreateCollectionResponse, CommunityCreateCommentResponse, CommunityDeleteCollectionResponse, CommunityDeleteCommentResponse, CommunityDeleteContentResponse, CommunityDislikeCommentResponse, CommunityFollowInfo, CommunityGetCollectionInfoResponse, CommunityGetCommentsResponse, CommunityGetCommentsResponseData, CommunityGetContentInfoResponse, CommunityGetContentListResponse, CommunityGetHotContentListResponse, CommunityGetSubscribedCollectionsResponse, CommunityGetUploadPresignedURLResponse, CommunityGetUserCollectionsResponse, CommunityHotContentInfo, CommunityLikeCommentResponse, CommunityMediaInfo, CommunityMediaTagInfo, CommunityMoveCollectionContentResponse, CommunityPublishContentResponse, CommunitySearchCurAccountFollowingUsersInfoResponse, CommunityShareContentResponse, CommunityShareData, CommunitySubscribeCollectionResponse, CommunityUpdateCollectionResponse, CommunityUpdateContentResponse, CommunityUploadMediaInfo, CommunityUploadMediaResponse, CommunityUserBrief, ContentAdSceneContext, ContentAdvertiseDetail, ContentAppChannel, ContentAppChannelBlock, ContentAppChannelBlockBanner, ContentAppChannelBlockData, ContentAppComponentCommon, ContentBaseUserInfo, ContentBatchGetVideoDetailResponse, ContentBlockIconInfo, ContentContentInfo, ContentFloatingBallInfo, ContentGeoConfig, ContentGeoFaq, ContentGetAdvertiseByCodeResponse, ContentGetAppChannelBlockDataResponse, ContentGetAppChannelBlockResponse, ContentGetAppChannelsResponse, ContentGetAppComponentResponse, ContentGetGuessYouLikeVideosResponse, ContentGetHotVideoListResponse, ContentGetNewstVideoListResponse, ContentGetPopularVideoListResponse, ContentGetRecommendSearchListResponse, ContentGetRecommendVideoListResponse, ContentGetSeoConfigResponse, ContentGetTopRatedVideoListResponse, ContentGetVideoDetailByApiResponse, ContentGetVideoDetailResponse, ContentHotVideoInfo, ContentListVisibleFloatingBallResponse, ContentMatchAdMaterial, ContentMatchAdsResponse, ContentMediaInfo, ContentProcessM3U8Response, ContentRecommendContentAuthor, ContentRecommendContentInfo, ContentRecommendContentInteraction, ContentRecommendContentList, ContentRecommendContentMedia, ContentRecommendInfo, ContentRecommendUserInfo, ContentRecommendUserList, ContentRecommendVideoInfo, ContentRecommendVideoList, ContentSeoConfig, ContentShowVideoInfo, ContentTag, ContentVideoDetail, ContentVideoEpisodeMedium, ContentVideoEpisodeProto, ContentVideoLink, ContentVideoStatic, GetApiCommerceQueryOrderResultQuery, GetApiCommerceQueryOrderResultRes, GetApiCommunityGetCollectionInfoQuery, GetApiCommunityGetCollectionInfoRes, GetApiCommunityGetCommentsQuery, GetApiCommunityGetCommentsRes, GetApiCommunityGetContentInfoQuery, GetApiCommunityGetContentInfoRes, GetApiCommunityGetContentListQuery, GetApiCommunityGetContentListRes, GetApiCommunityGetHotContentListQuery, GetApiCommunityGetHotContentListRes, GetApiCommunityGetSubscribedCollectionsQuery, GetApiCommunityGetSubscribedCollectionsRes, GetApiCommunityGetUserCollectionsQuery, GetApiCommunityGetUserCollectionsRes, GetApiContentGetAdvertiseByCodeQuery, GetApiContentGetAdvertiseByCodeRes, GetApiContentGetAppChannelBlockDataQuery, GetApiContentGetAppChannelBlockDataRes, GetApiContentGetAppChannelBlockQuery, GetApiContentGetAppChannelBlockRes, GetApiContentGetAppChannelsQuery, GetApiContentGetAppChannelsRes, GetApiContentGetAppComponentRes, GetApiContentGetGuessYouLikeVideosQuery, GetApiContentGetGuessYouLikeVideosRes, GetApiContentGetHotVideoListQuery, GetApiContentGetHotVideoListRes, GetApiContentGetRecommendSearchListQuery, GetApiContentGetRecommendSearchListRes, GetApiContentGetRecommendVideoListQuery, GetApiContentGetRecommendVideoListRes, GetApiContentGetSeoConfigQuery, GetApiContentGetSeoConfigRes, GetApiContentGetVideoDetailByApiQuery, GetApiContentGetVideoDetailByApiRes, GetApiContentGetVideoDetailQuery, GetApiContentGetVideoDetailRes, GetApiContentListVisibleFloatingBallQuery, GetApiContentListVisibleFloatingBallRes, GetApiContentProcessM3u8Query, GetApiContentProcessM3u8Res, GetApiInteractionCheckMutualFollowQuery, GetApiInteractionCheckMutualFollowRes, GetApiInteractionGetBrowseListQuery, GetApiInteractionGetBrowseListRes, GetApiInteractionGetContentDislikeListQuery, GetApiInteractionGetContentDislikeListRes, GetApiInteractionGetContentLikeListQuery, GetApiInteractionGetContentLikeListRes, GetApiInteractionGetDislikeListQuery, GetApiInteractionGetDislikeListRes, GetApiInteractionGetFolderQuery, GetApiInteractionGetFolderRes, GetApiInteractionGetFolderStatsQuery, GetApiInteractionGetFolderStatsRes, GetApiInteractionGetFollowStatsQuery, GetApiInteractionGetFollowStatsRes, GetApiInteractionGetFollowerListQuery, GetApiInteractionGetFollowerListRes, GetApiInteractionGetFollowingContentListQuery, GetApiInteractionGetFollowingContentListRes, GetApiInteractionGetFollowingListQuery, GetApiInteractionGetFollowingListRes, GetApiInteractionGetFollowingUserUpdatesQuery, GetApiInteractionGetFollowingUserUpdatesRes, GetApiInteractionGetLikeListQuery, GetApiInteractionGetLikeListRes, GetApiInteractionListCollectsQuery, GetApiInteractionListCollectsRes, GetApiInteractionListFoldersQuery, GetApiInteractionListFoldersRes, GetApiUserGetGuestIdentityQuery, GetApiUserGetGuestIdentityRes, GetApiUserGetUserEditInfoQuery, GetApiUserGetUserEditInfoRes, GetApiUserGetUserInfoQuery, GetApiUserGetUserInfoRes, GetApiUserGetUserPrivacySettingsQuery, GetApiUserGetUserPrivacySettingsRes, GetApiUserViewUserInfoQuery, GetApiUserViewUserInfoRes, GoogleProtobufAny, InteractionAddCollectResponse, InteractionBatchClearBrowseResponse, InteractionBatchDeleteCollectsResponse, InteractionBatchDeleteFoldersResponse, InteractionBatchGetCommentLikeStatusResponse, InteractionBatchGetFollowStatsResponse, InteractionBatchGetLikeStatusResponse, InteractionBatchQueryContentInteractionsResponse, InteractionBrowseItem, InteractionBrowseRecord, InteractionBrowseResponse, InteractionCancelDislikeResponse, InteractionCancelLikeResponse, InteractionCheckCollectResponse, InteractionCheckFollowResponse, InteractionCheckMutualFollowResponse, InteractionClearBrowseHistoryResponse, InteractionCollectInfo, InteractionCollectItem, InteractionContentInteraction, InteractionContentInteractionStatus, InteractionCreateFolderResponse, InteractionDeleteFolderResponse, InteractionDislikeResponse, InteractionEpisode, InteractionFolderInfo, InteractionFolderStats, InteractionFollowInfoItem, InteractionFollowResponse, InteractionFollowingContentItem, InteractionGetBrowseListResponse, InteractionGetContentDislikeListResponse, InteractionGetContentLikeListResponse, InteractionGetDislikeListResponse, InteractionGetFolderResponse, InteractionGetFolderStatsResponse, InteractionGetFollowStatsResponse, InteractionGetFollowerListResponse, InteractionGetFollowingContentListResponse, InteractionGetFollowingListResponse, InteractionGetFollowingUserUpdatesResponse, InteractionGetLikeListResponse, InteractionLikeInfo, InteractionLikeItem, InteractionLikeResponse, InteractionLikeStatusItem, InteractionListCollectsResponse, InteractionListFoldersResponse, InteractionMediaInfo, InteractionMoveCollectsResponse, InteractionPostInfo, InteractionRemoveCollectResponse, InteractionTrackEvent, InteractionUnfollowResponse, InteractionUnifiedBatchLikeDislikeResponse, InteractionUnifiedBatchLikeDislikeResult, InteractionUserBrief, InteractionVideoDetailNested, InteractionVideoInfo, InteractionVideoMedia, InteractionVideoTag, InternalReplayVideoDetailPrewarmData, InternalReplayVideoDetailPrewarmRequest, InternalReplayVideoDetailPrewarmResponse, PostApiCommerceCreatePaymentReqBody, PostApiCommerceCreatePaymentRes, PostApiCommerceGetPaymentMethodsReqBody, PostApiCommerceGetPaymentMethodsRes, PostApiCommercePaymentSuccessCallbackReqBody, PostApiCommercePaymentSuccessCallbackRes, PostApiCommerceRefundCallbackReqBody, PostApiCommerceRefundCallbackRes, PostApiCommunityAddContentToCollectionReqBody, PostApiCommunityAddContentToCollectionRes, PostApiCommunityBatchDeleteCollectionReqBody, PostApiCommunityBatchDeleteCollectionRes, PostApiCommunityCreateCollectionReqBody, PostApiCommunityCreateCollectionRes, PostApiCommunityCreateCommentReqBody, PostApiCommunityCreateCommentRes, PostApiCommunityDeleteCollectionReqBody, PostApiCommunityDeleteCollectionRes, PostApiCommunityDeleteCommentReqBody, PostApiCommunityDeleteCommentRes, PostApiCommunityDeleteContentReqBody, PostApiCommunityDeleteContentRes, PostApiCommunityDislikeCommentReqBody, PostApiCommunityDislikeCommentRes, PostApiCommunityGetUploadPresignedURLReqBody, PostApiCommunityGetUploadPresignedURLRes, PostApiCommunityLikeCommentReqBody, PostApiCommunityLikeCommentRes, PostApiCommunityMoveCollectionContentReqBody, PostApiCommunityMoveCollectionContentRes, PostApiCommunityPublishContentReqBody, PostApiCommunityPublishContentRes, PostApiCommunityRemoveContentFromCollectionReqBody, PostApiCommunityRemoveContentFromCollectionRes, PostApiCommunitySearchCurAccountFollowingUsersInfoReqBody, PostApiCommunitySearchCurAccountFollowingUsersInfoRes, PostApiCommunityShareContentReqBody, PostApiCommunityShareContentRes, PostApiCommunitySubscribeCollectionReqBody, PostApiCommunitySubscribeCollectionRes, PostApiCommunityUpdateCollectionReqBody, PostApiCommunityUpdateCollectionRes, PostApiCommunityUpdateContentReqBody, PostApiCommunityUpdateContentRes, PostApiCommunityUploadMediaReqBody, PostApiCommunityUploadMediaRes, PostApiContentBatchGetVideoDetailReqBody, PostApiContentBatchGetVideoDetailRes, PostApiContentGetNewstVideoListReqBody, PostApiContentGetNewstVideoListRes, PostApiContentGetPopularVideoListReqBody, PostApiContentGetPopularVideoListRes, PostApiContentGetTopRatedVideoListReqBody, PostApiContentGetTopRatedVideoListRes, PostApiContentMatchAdsReqBody, PostApiContentMatchAdsRes, PostApiInteractionAddCollectReqBody, PostApiInteractionAddCollectRes, PostApiInteractionBatchClearBrowseReqBody, PostApiInteractionBatchClearBrowseRes, PostApiInteractionBatchDeleteCollectsReqBody, PostApiInteractionBatchDeleteCollectsRes, PostApiInteractionBatchDeleteFoldersReqBody, PostApiInteractionBatchDeleteFoldersRes, PostApiInteractionBatchGetCommentLikeStatusReqBody, PostApiInteractionBatchGetCommentLikeStatusRes, PostApiInteractionBatchGetFollowStatsReqBody, PostApiInteractionBatchGetFollowStatsRes, PostApiInteractionBatchGetLikeStatusReqBody, PostApiInteractionBatchGetLikeStatusRes, PostApiInteractionBatchQueryContentInteractionsReqBody, PostApiInteractionBatchQueryContentInteractionsRes, PostApiInteractionBrowseReqBody, PostApiInteractionBrowseRes, PostApiInteractionCancelDislikeReqBody, PostApiInteractionCancelDislikeRes, PostApiInteractionCancelLikeReqBody, PostApiInteractionCancelLikeRes, PostApiInteractionCheckCollectReqBody, PostApiInteractionCheckCollectRes, PostApiInteractionCheckFollowReqBody, PostApiInteractionCheckFollowRes, PostApiInteractionClearBrowseHistoryReqBody, PostApiInteractionClearBrowseHistoryRes, PostApiInteractionCreateFolderReqBody, PostApiInteractionCreateFolderRes, PostApiInteractionDeleteBrowseRecordReqBody, PostApiInteractionDeleteBrowseRecordRes, PostApiInteractionDeleteFolderReqBody, PostApiInteractionDeleteFolderRes, PostApiInteractionDislikeCommentReqBody, PostApiInteractionDislikeCommentRes, PostApiInteractionDislikeReqBody, PostApiInteractionDislikeRes, PostApiInteractionFollowReqBody, PostApiInteractionFollowRes, PostApiInteractionLikeCommentReqBody, PostApiInteractionLikeCommentRes, PostApiInteractionLikeReqBody, PostApiInteractionLikeRes, PostApiInteractionMoveCollectsReqBody, PostApiInteractionMoveCollectsRes, PostApiInteractionRemoveCollectReqBody, PostApiInteractionRemoveCollectRes, PostApiInteractionTrackEventsBatchReqBody, PostApiInteractionTrackEventsBatchRes, PostApiInteractionUnfollowReqBody, PostApiInteractionUnfollowRes, PostApiInteractionUnifiedBatchLikeDislikeReqBody, PostApiInteractionUnifiedBatchLikeDislikeRes, PostApiInteractionUpdateFolderReqBody, PostApiInteractionUpdateFolderRes, PostApiInteractionUpdateFollowingContentUpdateTimeReqBody, PostApiInteractionUpdateFollowingContentUpdateTimeRes, PostApiUserEditUserInfoReqBody, PostApiUserEditUserInfoRes, PostApiUserLoginReqBody, PostApiUserLoginRes, PostApiUserRegisterByVerifyEmailCodeReqBody, PostApiUserRegisterByVerifyEmailCodeRes, PostApiUserRegisterReqBody, PostApiUserRegisterRes, PostApiUserResetForgetPasswordReqBody, PostApiUserResetForgetPasswordRes, PostApiUserResetPasswordReqBody, PostApiUserResetPasswordRes, PostApiUserSendEmailCodeReqBody, PostApiUserSendEmailCodeRes, PostApiUserSendForgetEmailCodeReqBody, PostApiUserSendForgetEmailCodeRes, PostApiUserSendResetPasswordEmailCodeReqBody, PostApiUserSendResetPasswordEmailCodeRes, PostApiUserUploadUserBgImageReqBody, PostApiUserUploadUserBgImageRes, PostApiUserUserFeedbackReqBody, PostApiUserUserFeedbackRes, PostApiUserUserPrivacySettingsReqBody, PostApiUserUserPrivacySettingsRes, PostApiUserVerifyEmailCodeReqBody, PostApiUserVerifyEmailCodeRes, PostApiUserVerifyForgetEmailCodeReqBody, PostApiUserVerifyForgetEmailCodeRes, PostApiUserVerifyResetPasswordEmailCodeReqBody, PostApiUserVerifyResetPasswordEmailCodeRes, Result, ResultCode, ResultGrpc, Status, UserGetGuestIdentityResponse, UserGetUserEditInfoResponse, UserGetUserInfoResponse, UserGetUserPrivacySettingsResponse, UserLoginResponse, UserRegisterByVerifyEmailCodeResponse, UserRegisterResponse, UserViewUserInfoResponse };
7015
+ export { CommerceCreatePaymentResponse, CommerceGetPaymentMethodsResponse, CommerceOrderResult, CommercePaymentCardInfo, CommercePaymentMethod, CommercePaymentMethodGroup, CommercePaymentPlayerInfo, CommercePaymentSuccessCallbackResponse, CommerceQueryOrderResultResponse, CommerceRefundCallbackResponse, CommunityAddContentToCollectionResponse, CommunityBatchDeleteCollectionResponse, CommunityCollectionData, CommunityCollectionDetail, CommunityCollectionInfo, CommunityCommentInfo, CommunityCommentListData, CommunityContentBrief, CommunityContentInfo, CommunityContentInteraction, CommunityContentListData, CommunityCreateCollectionResponse, CommunityCreateCommentResponse, CommunityDeleteCollectionResponse, CommunityDeleteCommentResponse, CommunityDeleteContentResponse, CommunityDislikeCommentResponse, CommunityFollowInfo, CommunityGetCollectionInfoResponse, CommunityGetCommentsResponse, CommunityGetCommentsResponseData, CommunityGetContentInfoResponse, CommunityGetContentListResponse, CommunityGetHotContentListResponse, CommunityGetSubscribedCollectionsResponse, CommunityGetUploadPresignedURLResponse, CommunityGetUserCollectionsResponse, CommunityHotContentInfo, CommunityLikeCommentResponse, CommunityMediaInfo, CommunityMediaTagInfo, CommunityMoveCollectionContentResponse, CommunityPublishContentResponse, CommunitySearchCurAccountFollowingUsersInfoResponse, CommunityShareContentResponse, CommunityShareData, CommunitySubscribeCollectionResponse, CommunityUpdateCollectionResponse, CommunityUpdateContentResponse, CommunityUploadMediaInfo, CommunityUploadMediaResponse, CommunityUserBrief, ContentAdSceneContext, ContentAdvertiseDetail, ContentAppChannel, ContentAppChannelBlock, ContentAppChannelBlockBanner, ContentAppChannelBlockData, ContentAppComponentCommon, ContentBaseUserInfo, ContentBatchGetVideoDetailResponse, ContentBlockIconInfo, ContentContentInfo, ContentFeedAdInfo, ContentFloatingBallInfo, ContentGeoConfig, ContentGeoFaq, ContentGetAdvertiseByCodeResponse, ContentGetAppChannelBlockDataResponse, ContentGetAppChannelBlockResponse, ContentGetAppChannelsResponse, ContentGetAppComponentResponse, ContentGetGuessYouLikeVideosResponse, ContentGetHotVideoListResponse, ContentGetMostPlayedVideoListResponse, ContentGetNewstVideoListResponse, ContentGetPopularVideoListResponse, ContentGetRecommendSearchListResponse, ContentGetRecommendVideoListResponse, ContentGetSeoConfigResponse, ContentGetTopRatedVideoListResponse, ContentGetVideoDetailByApiResponse, ContentGetVideoDetailResponse, ContentHotVideoInfo, ContentListVisibleFloatingBallResponse, ContentMatchAdMaterial, ContentMatchAdSettings, ContentMatchAdsResponse, ContentMediaInfo, ContentProcessM3U8Response, ContentRecommendContentAuthor, ContentRecommendContentInfo, ContentRecommendContentInteraction, ContentRecommendContentList, ContentRecommendContentMedia, ContentRecommendInfo, ContentRecommendUserInfo, ContentRecommendUserList, ContentRecommendVideoInfo, ContentRecommendVideoList, ContentSeoConfig, ContentShowVideoInfo, ContentTag, ContentVideoDetail, ContentVideoEpisodeMedium, ContentVideoEpisodeProto, ContentVideoLink, ContentVideoStatic, GetApiCommerceQueryOrderResultQuery, GetApiCommerceQueryOrderResultRes, GetApiCommunityGetCollectionInfoQuery, GetApiCommunityGetCollectionInfoRes, GetApiCommunityGetCommentsQuery, GetApiCommunityGetCommentsRes, GetApiCommunityGetContentInfoQuery, GetApiCommunityGetContentInfoRes, GetApiCommunityGetContentListQuery, GetApiCommunityGetContentListRes, GetApiCommunityGetHotContentListQuery, GetApiCommunityGetHotContentListRes, GetApiCommunityGetSubscribedCollectionsQuery, GetApiCommunityGetSubscribedCollectionsRes, GetApiCommunityGetUserCollectionsQuery, GetApiCommunityGetUserCollectionsRes, GetApiContentGetAdvertiseByCodeQuery, GetApiContentGetAdvertiseByCodeRes, GetApiContentGetAppChannelBlockDataQuery, GetApiContentGetAppChannelBlockDataRes, GetApiContentGetAppChannelBlockQuery, GetApiContentGetAppChannelBlockRes, GetApiContentGetAppChannelsQuery, GetApiContentGetAppChannelsRes, GetApiContentGetAppComponentRes, GetApiContentGetGuessYouLikeVideosQuery, GetApiContentGetGuessYouLikeVideosRes, GetApiContentGetHotVideoListQuery, GetApiContentGetHotVideoListRes, GetApiContentGetRecommendSearchListQuery, GetApiContentGetRecommendSearchListRes, GetApiContentGetRecommendVideoListQuery, GetApiContentGetRecommendVideoListRes, GetApiContentGetSeoConfigQuery, GetApiContentGetSeoConfigRes, GetApiContentGetVideoDetailByApiQuery, GetApiContentGetVideoDetailByApiRes, GetApiContentGetVideoDetailQuery, GetApiContentGetVideoDetailRes, GetApiContentListVisibleFloatingBallQuery, GetApiContentListVisibleFloatingBallRes, GetApiContentProcessM3u8Query, GetApiContentProcessM3u8Res, GetApiInteractionCheckMutualFollowQuery, GetApiInteractionCheckMutualFollowRes, GetApiInteractionGetBrowseListQuery, GetApiInteractionGetBrowseListRes, GetApiInteractionGetContentDislikeListQuery, GetApiInteractionGetContentDislikeListRes, GetApiInteractionGetContentLikeListQuery, GetApiInteractionGetContentLikeListRes, GetApiInteractionGetDislikeListQuery, GetApiInteractionGetDislikeListRes, GetApiInteractionGetFolderQuery, GetApiInteractionGetFolderRes, GetApiInteractionGetFolderStatsQuery, GetApiInteractionGetFolderStatsRes, GetApiInteractionGetFollowStatsQuery, GetApiInteractionGetFollowStatsRes, GetApiInteractionGetFollowerListQuery, GetApiInteractionGetFollowerListRes, GetApiInteractionGetFollowingContentListQuery, GetApiInteractionGetFollowingContentListRes, GetApiInteractionGetFollowingListQuery, GetApiInteractionGetFollowingListRes, GetApiInteractionGetFollowingUserUpdatesQuery, GetApiInteractionGetFollowingUserUpdatesRes, GetApiInteractionGetLikeListQuery, GetApiInteractionGetLikeListRes, GetApiInteractionListCollectsQuery, GetApiInteractionListCollectsRes, GetApiInteractionListFoldersQuery, GetApiInteractionListFoldersRes, GetApiUserGetGuestIdentityQuery, GetApiUserGetGuestIdentityRes, GetApiUserGetUserEditInfoQuery, GetApiUserGetUserEditInfoRes, GetApiUserGetUserInfoQuery, GetApiUserGetUserInfoRes, GetApiUserGetUserPrivacySettingsQuery, GetApiUserGetUserPrivacySettingsRes, GetApiUserGetVisitorPermissionConfigQuery, GetApiUserGetVisitorPermissionConfigRes, GetApiUserViewUserInfoQuery, GetApiUserViewUserInfoRes, GoogleProtobufAny, InteractionAddCollectResponse, InteractionBatchClearBrowseResponse, InteractionBatchDeleteCollectsResponse, InteractionBatchDeleteFoldersResponse, InteractionBatchGetCommentLikeStatusResponse, InteractionBatchGetFollowStatsResponse, InteractionBatchGetLikeStatusResponse, InteractionBatchQueryContentInteractionsResponse, InteractionBrowseItem, InteractionBrowseRecord, InteractionBrowseResponse, InteractionCancelDislikeResponse, InteractionCancelLikeResponse, InteractionCheckCollectResponse, InteractionCheckFollowResponse, InteractionCheckMutualFollowResponse, InteractionClearBrowseHistoryResponse, InteractionCollectInfo, InteractionCollectItem, InteractionContentInteraction, InteractionContentInteractionStatus, InteractionCreateFolderResponse, InteractionDeleteFolderResponse, InteractionDislikeResponse, InteractionEpisode, InteractionFolderInfo, InteractionFolderStats, InteractionFollowInfoItem, InteractionFollowResponse, InteractionFollowingContentItem, InteractionGetBrowseListResponse, InteractionGetContentDislikeListResponse, InteractionGetContentLikeListResponse, InteractionGetDislikeListResponse, InteractionGetFolderResponse, InteractionGetFolderStatsResponse, InteractionGetFollowStatsResponse, InteractionGetFollowerListResponse, InteractionGetFollowingContentListResponse, InteractionGetFollowingListResponse, InteractionGetFollowingUserUpdatesResponse, InteractionGetLikeListResponse, InteractionLikeInfo, InteractionLikeItem, InteractionLikeResponse, InteractionLikeStatusItem, InteractionListCollectsResponse, InteractionListFoldersResponse, InteractionMediaInfo, InteractionMoveCollectsResponse, InteractionPostInfo, InteractionRemoveCollectResponse, InteractionTrackEvent, InteractionUnfollowResponse, InteractionUnifiedBatchLikeDislikeResponse, InteractionUnifiedBatchLikeDislikeResult, InteractionUserBrief, InteractionVideoDetailNested, InteractionVideoInfo, InteractionVideoMedia, InteractionVideoTag, InternalReplayVideoDetailPrewarmData, InternalReplayVideoDetailPrewarmRequest, InternalReplayVideoDetailPrewarmResponse, InternalSyncVideoToESRequest, InternalSyncVideoToESResponse, PostApiCommerceCreatePaymentReqBody, PostApiCommerceCreatePaymentRes, PostApiCommerceGetPaymentMethodsReqBody, PostApiCommerceGetPaymentMethodsRes, PostApiCommercePaymentSuccessCallbackReqBody, PostApiCommercePaymentSuccessCallbackRes, PostApiCommerceRefundCallbackReqBody, PostApiCommerceRefundCallbackRes, PostApiCommunityAddContentToCollectionReqBody, PostApiCommunityAddContentToCollectionRes, PostApiCommunityBatchDeleteCollectionReqBody, PostApiCommunityBatchDeleteCollectionRes, PostApiCommunityCreateCollectionReqBody, PostApiCommunityCreateCollectionRes, PostApiCommunityCreateCommentReqBody, PostApiCommunityCreateCommentRes, PostApiCommunityDeleteCollectionReqBody, PostApiCommunityDeleteCollectionRes, PostApiCommunityDeleteCommentReqBody, PostApiCommunityDeleteCommentRes, PostApiCommunityDeleteContentReqBody, PostApiCommunityDeleteContentRes, PostApiCommunityDislikeCommentReqBody, PostApiCommunityDislikeCommentRes, PostApiCommunityGetUploadPresignedURLReqBody, PostApiCommunityGetUploadPresignedURLRes, PostApiCommunityLikeCommentReqBody, PostApiCommunityLikeCommentRes, PostApiCommunityMoveCollectionContentReqBody, PostApiCommunityMoveCollectionContentRes, PostApiCommunityPublishContentReqBody, PostApiCommunityPublishContentRes, PostApiCommunityRemoveContentFromCollectionReqBody, PostApiCommunityRemoveContentFromCollectionRes, PostApiCommunitySearchCurAccountFollowingUsersInfoReqBody, PostApiCommunitySearchCurAccountFollowingUsersInfoRes, PostApiCommunityShareContentReqBody, PostApiCommunityShareContentRes, PostApiCommunitySubscribeCollectionReqBody, PostApiCommunitySubscribeCollectionRes, PostApiCommunityUpdateCollectionReqBody, PostApiCommunityUpdateCollectionRes, PostApiCommunityUpdateContentReqBody, PostApiCommunityUpdateContentRes, PostApiCommunityUploadMediaReqBody, PostApiCommunityUploadMediaRes, PostApiContentBatchGetVideoDetailReqBody, PostApiContentBatchGetVideoDetailRes, PostApiContentGetMostPlayedVideoListReqBody, PostApiContentGetMostPlayedVideoListRes, PostApiContentGetNewstVideoListReqBody, PostApiContentGetNewstVideoListRes, PostApiContentGetPopularVideoListReqBody, PostApiContentGetPopularVideoListRes, PostApiContentGetTopRatedVideoListReqBody, PostApiContentGetTopRatedVideoListRes, PostApiContentMatchAdsReqBody, PostApiContentMatchAdsRes, PostApiInteractionAddCollectReqBody, PostApiInteractionAddCollectRes, PostApiInteractionBatchClearBrowseReqBody, PostApiInteractionBatchClearBrowseRes, PostApiInteractionBatchDeleteCollectsReqBody, PostApiInteractionBatchDeleteCollectsRes, PostApiInteractionBatchDeleteFoldersReqBody, PostApiInteractionBatchDeleteFoldersRes, PostApiInteractionBatchGetCommentLikeStatusReqBody, PostApiInteractionBatchGetCommentLikeStatusRes, PostApiInteractionBatchGetFollowStatsReqBody, PostApiInteractionBatchGetFollowStatsRes, PostApiInteractionBatchGetLikeStatusReqBody, PostApiInteractionBatchGetLikeStatusRes, PostApiInteractionBatchQueryContentInteractionsReqBody, PostApiInteractionBatchQueryContentInteractionsRes, PostApiInteractionBrowseReqBody, PostApiInteractionBrowseRes, PostApiInteractionCancelDislikeReqBody, PostApiInteractionCancelDislikeRes, PostApiInteractionCancelLikeReqBody, PostApiInteractionCancelLikeRes, PostApiInteractionCheckCollectReqBody, PostApiInteractionCheckCollectRes, PostApiInteractionCheckFollowReqBody, PostApiInteractionCheckFollowRes, PostApiInteractionClearBrowseHistoryReqBody, PostApiInteractionClearBrowseHistoryRes, PostApiInteractionCreateFolderReqBody, PostApiInteractionCreateFolderRes, PostApiInteractionDeleteBrowseRecordReqBody, PostApiInteractionDeleteBrowseRecordRes, PostApiInteractionDeleteFolderReqBody, PostApiInteractionDeleteFolderRes, PostApiInteractionDislikeCommentReqBody, PostApiInteractionDislikeCommentRes, PostApiInteractionDislikeReqBody, PostApiInteractionDislikeRes, PostApiInteractionFollowReqBody, PostApiInteractionFollowRes, PostApiInteractionLikeCommentReqBody, PostApiInteractionLikeCommentRes, PostApiInteractionLikeReqBody, PostApiInteractionLikeRes, PostApiInteractionMoveCollectsReqBody, PostApiInteractionMoveCollectsRes, PostApiInteractionRemoveCollectReqBody, PostApiInteractionRemoveCollectRes, PostApiInteractionTrackEventsBatchReqBody, PostApiInteractionTrackEventsBatchRes, PostApiInteractionUnfollowReqBody, PostApiInteractionUnfollowRes, PostApiInteractionUnifiedBatchLikeDislikeReqBody, PostApiInteractionUnifiedBatchLikeDislikeRes, PostApiInteractionUpdateFolderReqBody, PostApiInteractionUpdateFolderRes, PostApiInteractionUpdateFollowingContentUpdateTimeReqBody, PostApiInteractionUpdateFollowingContentUpdateTimeRes, PostApiUserEditUserInfoReqBody, PostApiUserEditUserInfoRes, PostApiUserLoginReqBody, PostApiUserLoginRes, PostApiUserRegisterByVerifyEmailCodeReqBody, PostApiUserRegisterByVerifyEmailCodeRes, PostApiUserRegisterReqBody, PostApiUserRegisterRes, PostApiUserResetForgetPasswordReqBody, PostApiUserResetForgetPasswordRes, PostApiUserResetPasswordReqBody, PostApiUserResetPasswordRes, PostApiUserSendEmailCodeReqBody, PostApiUserSendEmailCodeRes, PostApiUserSendForgetEmailCodeReqBody, PostApiUserSendForgetEmailCodeRes, PostApiUserSendResetPasswordEmailCodeReqBody, PostApiUserSendResetPasswordEmailCodeRes, PostApiUserUploadUserBgImageReqBody, PostApiUserUploadUserBgImageRes, PostApiUserUserFeedbackReqBody, PostApiUserUserFeedbackRes, PostApiUserUserPrivacySettingsReqBody, PostApiUserUserPrivacySettingsRes, PostApiUserVerifyEmailCodeReqBody, PostApiUserVerifyEmailCodeRes, PostApiUserVerifyForgetEmailCodeReqBody, PostApiUserVerifyForgetEmailCodeRes, PostApiUserVerifyResetPasswordEmailCodeReqBody, PostApiUserVerifyResetPasswordEmailCodeRes, Result, ResultCode, ResultGrpc, Status, UserGetGuestIdentityResponse, UserGetUserEditInfoResponse, UserGetUserInfoResponse, UserGetUserPrivacySettingsResponse, UserGetVisitorPermissionConfigResponse, UserLoginResponse, UserRegisterByVerifyEmailCodeResponse, UserRegisterResponse, UserViewUserInfoResponse };
@@ -1,7 +1,7 @@
1
1
 
2
2
  //#region utils/helper.d.ts
3
3
  /**
4
- * 将像素值转换为 vw(基于 390 宽设计稿)。
4
+ * 将像素值转换为 vw(基于 430 宽设计稿)。
5
5
  * @param px 像素值。
6
6
  * @returns 转换后的 vw 字符串。
7
7
  */
@@ -1,2 +1,2 @@
1
1
 
2
- function e(e){return`${(e/390*100).toFixed(3)}vw`}function t(e){if(e)return e.trim()||void 0}function n(){typeof document<`u`&&(document.body.style.overflow=`hidden`)}function r(){typeof document<`u`&&(document.body.style.overflow=``)}export{n as disablePageScroll,r as enablePageScroll,t as normalizeClassName,e as pxToVw};
2
+ function e(e){return`${(e/430*100).toFixed(3)}vw`}function t(e){if(e)return e.trim()||void 0}function n(){typeof document<`u`&&(document.body.style.overflow=`hidden`)}function r(){typeof document<`u`&&(document.body.style.overflow=``)}export{n as disablePageScroll,r as enablePageScroll,t as normalizeClassName,e as pxToVw};
@@ -6,10 +6,10 @@ type InspectorFieldOption<T> = Omit<T, 'type'>;
6
6
  declare const stringInspectorFieldSchema: z.ZodObject<{
7
7
  type: z.ZodLiteral<"string">;
8
8
  fieldType: z.ZodOptional<z.ZodEnum<{
9
- select: "select";
10
9
  input: "input";
11
10
  textarea: "textarea";
12
11
  color: "color";
12
+ select: "select";
13
13
  }>>;
14
14
  defaultValue: z.ZodOptional<z.ZodString>;
15
15
  label: z.ZodOptional<z.ZodString>;
@@ -68,10 +68,10 @@ type ObjectInspectorFieldOption = InspectorFieldOption<z.infer<typeof objectInsp
68
68
  declare const componentInspectorFieldMetaSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
69
69
  type: z.ZodLiteral<"string">;
70
70
  fieldType: z.ZodOptional<z.ZodEnum<{
71
- select: "select";
72
71
  input: "input";
73
72
  textarea: "textarea";
74
73
  color: "color";
74
+ select: "select";
75
75
  }>>;
76
76
  defaultValue: z.ZodOptional<z.ZodString>;
77
77
  label: z.ZodOptional<z.ZodString>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@funhub/platform",
3
3
  "type": "module",
4
- "version": "0.2.4",
4
+ "version": "0.2.6",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "**/*.css"
@@ -55,10 +55,6 @@
55
55
  "types": "./dist/i18n.d.mts",
56
56
  "import": "./dist/i18n.mjs"
57
57
  },
58
- "./theme-tokens": {
59
- "types": "./dist/theme-tokens.d.mts",
60
- "import": "./dist/theme-tokens.mjs"
61
- },
62
58
  "./config/tailwind": {
63
59
  "types": "./config/tailwind/index.d.ts",
64
60
  "import": "./config/tailwind/index.mjs",
@@ -88,7 +84,6 @@
88
84
  "@aws-sdk/lib-storage": "^3.890.0",
89
85
  "@base-ui/react": "^1.0.0",
90
86
  "@clack/prompts": "^1.1.0",
91
- "@fingerprintjs/fingerprintjs": "^5.1.0",
92
87
  "@ncdai/react-wheel-picker": "^1.1.0",
93
88
  "@next/bundle-analyzer": "^16.1.6",
94
89
  "browser-image-compression": "^2.0.2",
@@ -137,8 +132,7 @@
137
132
  "scripts": {
138
133
  "dev:web": "next dev",
139
134
  "build:web": "next build",
140
- "gen:theme-tokens": "node scripts/generate-theme-tokens.mjs",
141
- "prebuild": "pnpm gen:theme-tokens && pnpm i18n:build",
135
+ "prebuild": "pnpm i18n:build",
142
136
  "build": "cross-env TSDOWN_ENV=production tsdown",
143
137
  "predev": "pnpm i18n:build",
144
138
  "dev": "node scripts/dev-with-i18n-watch.mjs",
package/theme.css CHANGED
@@ -1,135 +1,24 @@
1
1
  :root {
2
2
  --tab-bar-height: 56px;
3
- --tab-bar-top-gap: 8px;
4
- --tab-bar-safe-area-bottom: max(env(safe-area-inset-bottom, 0px), 8px);
5
- --tab-bar-occupied-height: calc(var(--tab-bar-height) + var(--tab-bar-safe-area-bottom));
6
- /* app-v1 全量语义变量(Figma 定稿节点聚合) */
7
- --color-brand-primary: #c043e8;
8
- --color-brand-accent-purple: #9012ff;
9
- --color-brand-tag-gradient-start: #ca3fe9;
10
- --color-brand-tag-gradient-end: #9756e3;
11
- --color-brand-action-gradient-end: #6c43ee;
12
- --color-brand-rating: #ffc039;
13
- --color-brand-hot-ranking: #c922ef;
14
- --color-brand-link: #9054e5;
15
- --color-text-primary: #ffffff;
16
- --color-text-secondary: rgba(255, 255, 255, 0.9);
17
- --color-text-white80: rgba(255, 255, 255, 0.8);
18
- --color-text-tertiary: rgba(255, 255, 255, 0.6);
19
- --color-text-quaternary: rgba(255, 255, 255, 0.5);
20
- --color-text-dimmed: rgba(255, 255, 255, 0.7);
21
- --color-text-disabled: rgba(255, 255, 255, 0.3);
22
- --color-text-inactive: #bfbfbf;
23
- --color-text-muted: #747474;
24
- --color-surface-tab-bg: #121212;
25
- --color-surface-card-fallback: #282129;
26
- --color-surface-chip-bg: #1b1b1b;
27
- --color-surface-chip-gray20: rgba(217, 217, 217, 0.2);
28
- --color-surface-white20: rgba(255, 255, 255, 0.2);
29
- --color-surface-white10: rgba(255, 255, 255, 0.1);
30
- --color-surface-mask-black40: rgba(0, 0, 0, 0.4);
31
- --color-surface-mask-black60: rgba(0, 0, 0, 0.6);
32
- --color-surface-panel-dark: #060315;
33
- --color-surface-field-bg: rgba(173, 163, 191, 0.1);
34
- --color-border-search-highlight: rgba(230, 42, 255, 0.9);
35
- --color-border-panel-glow: rgba(219, 55, 255, 0.4);
36
- --color-border-danger: #ff1eff;
37
- --color-border-required: rgba(255, 0, 0, 0.7);
38
- --color-neutral-black: #000000;
39
- --color-neutral-white: #ffffff;
40
- --color-overlay-mask-start: rgba(8, 2, 17, 0);
41
- --color-overlay-mask-end70: rgba(8, 2, 17, 0.7);
42
- --color-overlay-mask-end80: rgba(8, 2, 17, 0.8);
43
- --color-overlay-top-bar-black30: rgba(0, 0, 0, 0.3);
44
- --color-overlay-create-top-black50: rgba(0, 0, 0, 0.5);
45
- --color-overlay-create-mid-purple27: rgba(116, 18, 131, 0.27);
46
- --color-overlay-create-bottom-purple0: rgba(75, 24, 87, 0);
47
- --color-overlay-panel-fade-start90: rgba(6, 3, 21, 0.9);
48
- --color-overlay-panel-fade-end0: rgba(6, 3, 21, 0);
49
- --gradient-brand-tag: linear-gradient(90deg, #ca3fe9 0%, #9756e3 100%);
50
- --gradient-action-button: linear-gradient(90deg, #9756e3 0%, #6c43ee 100%);
51
- --gradient-card-mask-strong: linear-gradient(180deg, rgba(8, 2, 17, 0) 28.624%, rgba(8, 2, 17, 0.8) 77.695%);
52
- --gradient-card-mask-medium: linear-gradient(180deg, rgba(8, 2, 17, 0) 46.087%, rgba(8, 2, 17, 0.7) 83.152%);
53
- --gradient-card-mask-light: linear-gradient(180deg, rgba(8, 2, 17, 0) 44.638%, rgba(8, 2, 17, 0.7) 82.699%);
54
- --gradient-detail-hero-blur: linear-gradient(180deg, rgba(8, 2, 17, 0) 41.303%, rgba(8, 2, 17, 0.7) 61.091%);
55
- --gradient-search-panel-fade: linear-gradient(180deg, rgba(6, 3, 21, 0.9) 19.905%, rgba(6, 3, 21, 0) 100%);
56
- --gradient-search-hot-card: linear-gradient(180deg, rgba(151, 86, 227, 0.4) 21.144%, rgba(151, 86, 227, 0) 87.065%);
57
- --gradient-create-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(116, 18, 131, 0.27) 28.215%, rgba(75, 24, 87, 0) 100%);
58
- --font-family-sans: 'PingFang SC';
59
- --font-family-numeric: 'DIN';
60
- --font-family-numeric-black: 'DIN_Black';
61
- --font-sans: var(--font-family-sans);
62
- --font-mono: var(--font-family-numeric);
63
- --font-size-xs: 10px;
64
- --font-size-sm: 12px;
65
- --font-size-md: 14px;
66
- --font-size-status: 15px;
67
- --font-size-base: 16px;
68
- --font-size-lg: 18px;
69
- --font-size-xl: 20px;
70
- --line-height-xs: 14px;
71
- --line-height-sm: 14px;
72
- --line-height-tight: 16px;
73
- --line-height-md: 20px;
74
- --line-height-status: 22px;
75
- --line-height-base: 24px;
76
- --line-height-lg: 24px;
77
- --font-weight-regular: 400;
78
- --font-weight-medium: 500;
79
- --font-weight-semibold: 600;
80
- --font-weight-bold: 700;
81
- --radius-sm: 4px;
82
- --radius-md: 8px;
83
- --radius-lg: 12px;
84
- --radius-xl: 16px;
85
- --radius-sheet: 24px;
86
- --radius-pill: 100px;
87
- --effect-backdrop-blur-card-mask: 2px;
88
- --effect-backdrop-blur-card-mask-lite: 1.5px;
89
- --effect-backdrop-blur-detail-hero: 4px;
90
- --effect-backdrop-blur-modal-sheet: 50px;
91
- --color-cover-text-primary: #ffffff;
92
- --color-cover-text-secondary: #747474;
93
- --color-cover-gray-11: #121212;
94
- --color-cover-gray-6: #d9d9d9;
95
- --color-cover-light-gray-6: #e0e0e0;
96
- --color-cover-surface-dark: #1b1b1b;
97
- --color-cover-gray11: var(--color-cover-gray-11);
98
- --color-cover-gray6: var(--color-cover-gray-6);
99
- --color-cover-light-gray6: var(--color-cover-light-gray-6);
100
- --gradient-cover-overlay: linear-gradient(158.6385deg, #000000 14.614%, rgba(18, 18, 18, 0.1) 50.185%);
101
- --gradient-cover-cover-overlay: var(--gradient-cover-overlay);
102
- --font-family-cover-latin: 'Inter';
103
- --font-family-cover-zh: 'PingFang SC';
104
- --font-family-cover-numeric: 'Poppins';
105
- --font-size-cover-16: 16px;
106
- --font-size-cover-28: 28px;
107
- --font-size-cover-36: 36px;
108
- --font-size-cover-48: 48px;
109
- --font-size-cover-64: 64px;
110
- --font-size-cover-80: 80px;
111
- --font-size-cover-110: 110px;
112
- --font-size-cover-140: 140px;
113
-
114
- /* 默认是白天模式的颜色(旧变量别名,兼容历史引用) */
115
- --color-bg1: var(--color-surface-tab-bg);
116
- --color-bg2: var(--color-surface-chip-bg);
117
- --color-bg3: var(--color-surface-card-fallback);
118
- --color-bg4: var(--color-surface-white20);
119
- --color-text1: var(--color-text-primary);
120
- --color-text2: var(--color-text-secondary);
121
- --color-text3: var(--color-text-tertiary);
122
- --color-text4: var(--color-brand-primary);
123
- --color-line1: var(--color-surface-chip-gray20);
124
- --color-line2: var(--color-border-panel-glow);
125
- --color-theme1: var(--color-brand-accent-purple);
126
- --color-theme2: var(--gradient-action-button);
127
- --color-theme3: var(--color-surface-chip-gray20);
128
- --color-theme4: var(--color-brand-link);
129
- --color-theme5: var(--color-brand-primary);
130
- --color-theme6: var(--color-brand-tag-gradient-start);
131
- /** 叠层色:兼容旧变量,映射到新遮罩层级 */
132
- --color-overlay: var(--color-overlay-mask-end70);
3
+ /* 默认是白天模式的颜色 */
4
+ --color-bg1: #ffffff;
5
+ --color-bg2: #f9f9f9;
6
+ --color-bg3: #f2f5fa;
7
+ --color-bg4: rgba(253, 76, 94, 0.1);
8
+ --color-text1: #333333;
9
+ --color-text2: #666666;
10
+ --color-text3: #999999;
11
+ --color-text4: rgb(253, 76, 94);
12
+ --color-line1: rgba(0, 0, 0, 0.05);
13
+ --color-line2: rgba(253, 76, 94, 0.4);
14
+ --color-theme1: #1fa7ff;
15
+ --color-theme2: linear-gradient(135deg, #4fd8ff 0%, #07bfff 100%);
16
+ --color-theme3: rgba(0, 173, 251, 0.2);
17
+ --color-theme4: #00adfb;
18
+ --color-theme5: rgb(253, 76, 94);
19
+ --color-theme6: #cd3f4e;
20
+ /** 叠层色:用于深色区域上的半透明浮层,亮色 #FFFFFF·10% */
21
+ --color-overlay: rgba(255, 255, 255, 0.1);
133
22
 
134
23
  /* shadcn/ui */
135
24
  --background: oklch(1 0 0);
@@ -138,8 +27,8 @@
138
27
  --card-foreground: oklch(0.145 0 0);
139
28
  --popover: oklch(1 0 0);
140
29
  --popover-foreground: oklch(0.145 0 0);
141
- --primary: var(--color-brand-primary);
142
- --primary-foreground: #ffffff;
30
+ --primary: rgb(253, 76, 94);
31
+ --primary-foreground: oklch(0.97 0.01 343);
143
32
  --secondary: oklch(0.967 0.001 286.375);
144
33
  --secondary-foreground: oklch(0.21 0.006 285.885);
145
34
  --muted: oklch(0.97 0 0);
@@ -149,43 +38,43 @@
149
38
  --destructive: oklch(0.58 0.22 27);
150
39
  --border: oklch(0.922 0 0);
151
40
  --input: oklch(0.922 0 0);
152
- --ring: var(--color-brand-primary);
153
- --chart-1: #c043e8;
154
- --chart-2: #9012ff;
155
- --chart-3: #ffc039;
156
- --chart-4: #9756e3;
157
- --chart-5: #6c43ee;
41
+ --ring: oklch(0.708 0 0);
42
+ --chart-1: oklch(0.82 0.11 346);
43
+ --chart-2: oklch(0.73 0.18 350);
44
+ --chart-3: rgb(253, 76, 94);
45
+ --chart-4: rgb(253, 76, 94);
46
+ --chart-5: oklch(0.52 0.2 4);
158
47
  --radius: 0.625rem;
159
48
  --sidebar: oklch(0.985 0 0);
160
49
  --sidebar-foreground: oklch(0.145 0 0);
161
- --sidebar-primary: var(--color-brand-primary);
162
- --sidebar-primary-foreground: #ffffff;
50
+ --sidebar-primary: rgb(253, 76, 94);
51
+ --sidebar-primary-foreground: oklch(0.97 0.01 343);
163
52
  --sidebar-accent: oklch(0.97 0 0);
164
53
  --sidebar-accent-foreground: oklch(0.205 0 0);
165
54
  --sidebar-border: oklch(0.922 0 0);
166
- --sidebar-ring: var(--color-brand-primary);
55
+ --sidebar-ring: oklch(0.708 0 0);
167
56
  }
168
57
 
169
58
  .dark {
170
59
  /* 黑夜模式的颜色 */
171
- --color-bg1: var(--color-surface-tab-bg);
172
- --color-bg2: var(--color-surface-chip-bg);
173
- --color-bg3: var(--color-surface-card-fallback);
174
- --color-bg4: var(--color-surface-white20);
175
- --color-text1: var(--color-text-primary);
176
- --color-text2: var(--color-text-secondary);
177
- --color-text3: var(--color-text-tertiary);
178
- --color-text4: var(--color-brand-primary);
179
- --color-line1: var(--color-surface-chip-gray20);
180
- --color-line2: var(--color-border-panel-glow);
181
- --color-theme1: var(--color-brand-accent-purple);
182
- --color-theme2: var(--gradient-action-button);
183
- --color-theme3: var(--color-surface-chip-gray20);
184
- --color-theme4: var(--color-brand-link);
185
- --color-theme5: var(--color-brand-primary);
186
- --color-theme6: var(--color-brand-tag-gradient-start);
187
- /** 叠层色:兼容旧变量,映射到新遮罩层级 */
188
- --color-overlay: var(--color-overlay-mask-end70);
60
+ --color-bg1: #171717;
61
+ --color-bg2: #222222;
62
+ --color-bg3: #fe5a5c;
63
+ --color-bg4: rgba(253, 76, 94, 0.1);
64
+ --color-text1: #d7d7d7;
65
+ --color-text2: #a3a3a3;
66
+ --color-text3: #717171;
67
+ --color-text4: #f2f5fa;
68
+ --color-line1: rgba(255, 255, 255, 0.05);
69
+ --color-line2: rgba(253, 76, 94, 0.4);
70
+ --color-theme1: #1fa7ff;
71
+ --color-theme2: linear-gradient(135deg, #4fd8ff 0%, #07bfff 100%);
72
+ --color-theme3: rgba(0, 173, 251, 0.2);
73
+ --color-theme4: #00adfb;
74
+ --color-theme5: rgb(253, 76, 94);
75
+ --color-theme6: #cd3f4e;
76
+ /** 叠层色:暗色 #000000·10% */
77
+ --color-overlay: rgba(0, 0, 0, 0.1);
189
78
 
190
79
  /* shadcn/ui */
191
80
  --background: oklch(0.145 0 0);
@@ -194,8 +83,8 @@
194
83
  --card-foreground: oklch(0.985 0 0);
195
84
  --popover: oklch(0.205 0 0);
196
85
  --popover-foreground: oklch(0.985 0 0);
197
- --primary: var(--color-brand-primary);
198
- --primary-foreground: #ffffff;
86
+ --primary: rgb(253, 76, 94);
87
+ --primary-foreground: oklch(0.97 0.01 343);
199
88
  --secondary: oklch(0.274 0.006 286.033);
200
89
  --secondary-foreground: oklch(0.985 0 0);
201
90
  --muted: oklch(0.269 0 0);
@@ -205,18 +94,18 @@
205
94
  --destructive: oklch(0.704 0.191 22.216);
206
95
  --border: oklch(1 0 0 / 10%);
207
96
  --input: oklch(1 0 0 / 15%);
208
- --ring: var(--color-brand-primary);
209
- --chart-1: #c043e8;
210
- --chart-2: #9012ff;
211
- --chart-3: #ffc039;
212
- --chart-4: #9756e3;
213
- --chart-5: #6c43ee;
97
+ --ring: oklch(0.556 0 0);
98
+ --chart-1: oklch(0.82 0.11 346);
99
+ --chart-2: oklch(0.73 0.18 350);
100
+ --chart-3: rgb(253, 76, 94);
101
+ --chart-4: rgb(253, 76, 94);
102
+ --chart-5: oklch(0.52 0.2 4);
214
103
  --sidebar: oklch(0.205 0 0);
215
104
  --sidebar-foreground: oklch(0.985 0 0);
216
- --sidebar-primary: var(--color-brand-primary);
217
- --sidebar-primary-foreground: #ffffff;
105
+ --sidebar-primary: oklch(0.73 0.18 350);
106
+ --sidebar-primary-foreground: oklch(0.97 0.01 343);
218
107
  --sidebar-accent: oklch(0.269 0 0);
219
108
  --sidebar-accent-foreground: oklch(0.985 0 0);
220
109
  --sidebar-border: oklch(1 0 0 / 10%);
221
- --sidebar-ring: var(--color-brand-primary);
110
+ --sidebar-ring: oklch(0.556 0 0);
222
111
  }
@@ -1,2 +0,0 @@
1
-
2
- import*as e from"react";const t=t=>e.createElement(`svg`,{preserveAspectRatio:`none`,width:`1em`,height:`1em`,overflow:`visible`,style:{display:`block`},viewBox:`0 0 39.0008 11.0008`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...t},e.createElement(`path`,{id:`Vector 5 (Stroke)`,d:`M34.5347 0.383066C35.9803 -0.426451 37.8081 0.0889314 38.6177 1.53443C39.4272 2.98 38.9119 4.80785 37.4664 5.61744L32.0298 8.66236C27.8162 11.022 22.6472 10.8762 18.5728 8.28346C16.6595 7.06589 14.2802 6.83256 12.1666 7.65455L4.08745 10.7962C2.54334 11.3964 0.805117 10.6313 0.204639 9.08717C-0.395644 7.54305 0.369538 5.80483 1.91362 5.20435L9.99175 2.06275C13.8859 0.548379 18.2685 0.978784 21.7935 3.22193C24.005 4.62925 26.8111 4.70779 29.0982 3.42701L34.5347 0.383066Z`,fill:`url(#paint0_linear_0_9)`}),e.createElement(`defs`,null,e.createElement(`linearGradient`,{id:`paint0_linear_0_9`,x1:3.00054,y1:6.00025,x2:36.0005,y2:6.00025,gradientUnits:`userSpaceOnUse`},e.createElement(`stop`,{stopColor:`#CA3FE9`}),e.createElement(`stop`,{offset:1,stopColor:`#9756E3`}))));export{t as default};
@@ -1,2 +0,0 @@
1
-
2
- import*as e from"react";const t=t=>e.createElement(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...t},e.createElement(`path`,{d:`M4 7H20`,stroke:`currentColor`,strokeWidth:1.8,strokeLinecap:`round`}),e.createElement(`path`,{d:`M4 12H20`,stroke:`currentColor`,strokeWidth:1.8,strokeLinecap:`round`}),e.createElement(`path`,{d:`M4 17H20`,stroke:`currentColor`,strokeWidth:1.8,strokeLinecap:`round`}));export{t as default};
@@ -1,2 +0,0 @@
1
-
2
- import*as e from"react";const t=t=>e.createElement(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`1em`,height:`1em`,viewBox:`0 0 20 20`,fill:`none`,...t},e.createElement(`g`,{opacity:.5},e.createElement(`path`,{d:`M9.16602 1.66635C9.38593 1.66635 9.60352 1.67788 9.81868 1.69646C9.53468 2.1952 9.33435 2.74761 9.23602 3.33465C9.21268 3.33437 9.18935 3.33302 9.16602 3.33302C5.94321 3.33302 3.33286 5.94359 3.33268 9.1664C3.33268 12.3893 5.9431 14.9997 9.16602 14.9997C10.7457 14.9997 12.1783 14.3723 13.2285 13.3534L13.353 13.2289C14.3718 12.1787 14.9993 10.7459 14.9993 9.1664C14.9993 9.14281 14.9972 9.11906 14.9969 9.09556C15.5842 8.99731 16.1362 8.7969 16.6351 8.5129C16.6537 8.72823 16.666 8.94623 16.666 9.1664C16.666 10.9362 16.052 12.5641 15.0253 13.8474L18.5939 17.4159L17.4155 18.5943L13.847 15.0257C12.5638 16.0525 10.936 16.6664 9.16602 16.6664C5.02602 16.6664 1.66602 13.3064 1.66602 9.1664C1.66619 5.0265 5.02612 1.66635 9.16602 1.66635ZM13.7738 1.09913C13.9209 0.744306 14.4112 0.744296 14.5583 1.09913L14.769 1.60857C15.129 2.47756 15.8007 3.1715 16.6448 3.54705L17.243 3.81316C17.5848 3.96551 17.5848 4.46318 17.243 4.61557L16.6098 4.89715C15.7868 5.26321 15.1272 5.93257 14.7609 6.77296L14.555 7.24416C14.4047 7.58927 13.9274 7.58927 13.777 7.24416L13.5719 6.77296C13.2057 5.93244 12.5453 5.26325 11.7222 4.89715L11.089 4.61557C10.7472 4.46319 10.7472 3.9655 11.089 3.81316L11.6872 3.54705C12.5314 3.1715 13.2031 2.47758 13.563 1.60857L13.7738 1.09913Z`,fill:`white`})));export{t as default};