@funhub/platform 0.2.2 → 0.2.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) 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 +4 -11
  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/business/advertisement/ad-match.mjs +1 -1
  14. package/dist/components/biz/business/advertisement/banner-ad/client.mjs +1 -1
  15. package/dist/components/biz/business/advertisement/banner-ad/material.d.mts +2 -2
  16. package/dist/components/biz/business/advertisement/banner-ad/material.mjs +1 -1
  17. package/dist/components/biz/business/advertisement/banner-ad/schema.d.mts +4 -9
  18. package/dist/components/biz/business/advertisement/banner-ad/schema.mjs +1 -1
  19. package/dist/components/biz/business/advertisement/feed-ad/index.d.mts +31 -1
  20. package/dist/components/biz/business/advertisement/feed-ad/index.mjs +1 -1
  21. package/dist/components/biz/business/advertisement/floating-ad/client.mjs +1 -1
  22. package/dist/components/biz/business/advertisement/floating-ad/material.mjs +1 -1
  23. package/dist/components/biz/business/advertisement/icon-ad/client.mjs +1 -1
  24. package/dist/components/biz/business/advertisement/icon-ad/material.d.mts +1 -1
  25. package/dist/components/biz/business/advertisement/icon-ad/material.mjs +1 -1
  26. package/dist/components/biz/business/advertisement/icon-ad/schema.d.mts +1 -7
  27. package/dist/components/biz/business/advertisement/icon-ad/schema.mjs +1 -1
  28. package/dist/components/biz/business/advertisement/index.d.mts +2 -2
  29. package/dist/components/biz/business/advertisement/popup-ad/client.mjs +2 -2
  30. package/dist/components/biz/business/advertisement/popup-ad/index.d.mts +1 -1
  31. package/dist/components/biz/business/advertisement/popup-ad/material.d.mts +2 -2
  32. package/dist/components/biz/business/advertisement/popup-ad/schema.d.mts +15 -14
  33. package/dist/components/biz/business/advertisement/popup-ad/schema.mjs +1 -1
  34. package/dist/components/biz/business/advertisement/text-ad/client.mjs +1 -1
  35. package/dist/components/biz/business/advertisement/text-ad/material.d.mts +1 -1
  36. package/dist/components/biz/business/advertisement/text-ad/material.mjs +1 -1
  37. package/dist/components/biz/business/advertisement/text-ad/schema.d.mts +1 -5
  38. package/dist/components/biz/business/advertisement/text-ad/schema.mjs +1 -1
  39. package/dist/components/biz/business/banner-carousel/client.d.mts +2 -2
  40. package/dist/components/biz/business/banner-carousel/client.mjs +1 -1
  41. package/dist/components/biz/business/channel-list/client.mjs +1 -1
  42. package/dist/components/biz/business/channel-list/default-props.mjs +1 -1
  43. package/dist/components/biz/business/detail/shared/detail-introduction.mjs +2 -0
  44. package/dist/components/biz/business/detail/shared/detail-operate.mjs +1 -1
  45. package/dist/components/biz/business/detail/shared/editor-preview.mjs +1 -1
  46. package/dist/components/biz/business/detail/shared/registry.d.mts +1 -36
  47. package/dist/components/biz/business/detail/shared/registry.mjs +1 -1
  48. package/dist/components/biz/business/detail/video-detail-actions/client.mjs +1 -1
  49. package/dist/components/biz/business/detail/video-detail-info/client.mjs +1 -1
  50. package/dist/components/biz/business/detail/video-detail-recommend/client.d.mts +13 -1
  51. package/dist/components/biz/business/detail/video-detail-recommend/client.mjs +1 -1
  52. package/dist/components/biz/business/detail/video-detail-recommend/material.mjs +1 -1
  53. package/dist/components/biz/business/header-search/header-avatar-icon/client.mjs +1 -1
  54. package/dist/components/biz/business/header-search/header-avatar-logo-search/client.d.mts +1 -1
  55. package/dist/components/biz/business/header-search/header-avatar-logo-search/client.mjs +1 -1
  56. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.d.mts +3 -4
  57. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +1 -1
  58. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/client.mjs +1 -1
  59. package/dist/components/biz/business/header-search/header-logo-search/client.mjs +1 -1
  60. package/dist/components/biz/business/header-search/header-search/client.mjs +1 -1
  61. package/dist/components/biz/business/header-search/shared/avatar.mjs +1 -1
  62. package/dist/components/biz/business/header-search/shared/logo.mjs +1 -1
  63. package/dist/components/biz/business/header-search/shared/search.mjs +1 -1
  64. package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.d.mts +8 -0
  65. package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs +1 -1
  66. package/dist/components/biz/business/home-recommend/home-recommend-grid/material.d.mts +8 -0
  67. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.d.mts +8 -0
  68. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs +1 -1
  69. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.d.mts +8 -0
  70. package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +1 -1
  71. package/dist/components/biz/business/home-recommend/shared/home-recommend-preview.mjs +1 -1
  72. package/dist/components/biz/business/index.d.mts +3 -12
  73. package/dist/components/biz/business/large-feature-grid/card-item.mjs +1 -1
  74. package/dist/components/biz/business/large-feature-grid/client.mjs +1 -1
  75. package/dist/components/biz/business/large-feature-grid/schema.mjs +1 -1
  76. package/dist/components/biz/business/marquee/client.mjs +1 -1
  77. package/dist/components/biz/business/marquee/marquee.module.mjs +6 -2
  78. package/dist/components/biz/business/marquee/material.d.mts +1 -1
  79. package/dist/components/biz/business/marquee/schema.d.mts +1 -1
  80. package/dist/components/biz/business/profile/index.d.mts +1 -1
  81. package/dist/components/biz/business/profile/profile-header/client.d.mts +1 -2
  82. package/dist/components/biz/business/profile/profile-header/client.mjs +1 -1
  83. package/dist/components/biz/business/profile/profile-header/index.d.mts +1 -1
  84. package/dist/components/biz/business/profile/profile-header/user-profile-avatar.mjs +1 -1
  85. package/dist/components/biz/business/profile/profile-header/user-profile-cover-background.mjs +1 -1
  86. package/dist/components/biz/business/profile/profile-main/client.mjs +1 -1
  87. package/dist/components/biz/business/profile/profile-main/shell.mjs +1 -1
  88. package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs +1 -1
  89. package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.mjs +1 -1
  90. package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.d.mts +1 -5
  91. package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.mjs +1 -1
  92. package/dist/components/biz/business/profile/profile-main/utils.mjs +1 -1
  93. package/dist/components/biz/business/search-history/client.mjs +1 -1
  94. package/dist/components/biz/business/search-history/schema.mjs +1 -1
  95. package/dist/components/biz/business/search-input/client.mjs +1 -1
  96. package/dist/components/biz/business/shortcut-grid/client.mjs +1 -1
  97. package/dist/components/biz/business/tab-bar/client.mjs +1 -1
  98. package/dist/components/common/collection-popup/collection-create-modal.mjs +2 -0
  99. package/dist/components/common/collection-popup/index.d.mts +0 -1
  100. package/dist/components/common/collection-popup/index.mjs +1 -1
  101. package/dist/components/common/icons/setting.mjs +1 -1
  102. package/dist/components/common/list/collection-list/collection-list-item.d.mts +0 -8
  103. package/dist/components/common/list/collection-list/collection-list-item.mjs +1 -1
  104. package/dist/components/common/list/collection-list/collection-list.d.mts +0 -6
  105. package/dist/components/common/list/collection-list/collection-list.mjs +1 -1
  106. package/dist/components/common/series-episodes/index.d.mts +1 -3
  107. package/dist/components/common/series-episodes/index.mjs +1 -1
  108. package/dist/components/common/skeleton/search-video-card-skeleton.mjs +2 -0
  109. package/dist/components/common/tab-bar/index.mjs +1 -1
  110. package/dist/components/pages/collection-detail/detail.mjs +1 -1
  111. package/dist/components/pages/edit/page.mjs +1 -1
  112. package/dist/components/pages/home/client.mjs +1 -1
  113. package/dist/components/pages/login/login-client.mjs +1 -1
  114. package/dist/components/pages/login/register.mjs +1 -1
  115. package/dist/components/pages/login/verify.mjs +4 -1
  116. package/dist/components/pages/search/page-client.mjs +1 -1
  117. package/dist/components/pages/search/search-result/index.mjs +1 -1
  118. package/dist/components/pages/search/search-result/search-all.mjs +1 -1
  119. package/dist/components/pages/search/search-result/search-user.mjs +1 -1
  120. package/dist/components/pages/search/search-result/search-video-info.mjs +1 -1
  121. package/dist/components/pages/search/search-utils.mjs +2 -0
  122. package/dist/components/pages/search/top-header.mjs +1 -1
  123. package/dist/components/pages/search-result/page-client.mjs +1 -1
  124. package/dist/components/pages/search-result/search-all.mjs +1 -1
  125. package/dist/components/pages/search-result/search-result-skeleton.mjs +2 -0
  126. package/dist/components/pages/search-result/search-tab.mjs +1 -1
  127. package/dist/components/pages/search-result/search-user.mjs +1 -1
  128. package/dist/components/pages/search-result/search-video.mjs +2 -0
  129. package/dist/components/pages/settings/_components/reset-password-drawer.mjs +2 -2
  130. package/dist/components/pages/settings/_components/settings.mjs +1 -1
  131. package/dist/components/pages/video-list/video-list-client.mjs +1 -1
  132. package/dist/components/pages/video-list/video-list-item.mjs +2 -0
  133. package/dist/components/pages/video-list/video-list-skeleton.d.mts +3 -2
  134. package/dist/components/pages/video-list/video-list-skeleton.mjs +1 -1
  135. package/dist/components/ui/badge.d.mts +1 -1
  136. package/dist/components/ui/box.d.mts +1 -1
  137. package/dist/components/ui/button.d.mts +1 -1
  138. package/dist/i18n/locales/en.mjs +2 -2
  139. package/dist/i18n/locales/zh-CN.mjs +2 -2
  140. package/dist/materials.d.mts +1 -6
  141. package/dist/materials.mjs +1 -1
  142. package/dist/service/generated/client.d.mts +2 -38
  143. package/dist/service/generated/client.mjs +1 -1
  144. package/dist/service/generated/tanstack.d.mts +2 -47
  145. package/dist/service/generated/tanstack.mjs +1 -1
  146. package/dist/service.d.mts +3 -3
  147. package/dist/service.mjs +1 -1
  148. package/dist/types.d.mts +9 -662
  149. package/dist/utils/helper.d.mts +1 -1
  150. package/dist/utils/helper.mjs +1 -1
  151. package/package.json +2 -7
  152. package/theme.css +59 -170
  153. package/dist/assets/icons/channel-list/channel-active-indicator.mjs +0 -2
  154. package/dist/assets/icons/common/header-menu.mjs +0 -2
  155. package/dist/assets/icons/common/header-search-icon.mjs +0 -2
  156. package/dist/assets/icons/common/right_arrow_thin.mjs +0 -2
  157. package/dist/assets/icons/marquee-close.mjs +0 -2
  158. package/dist/assets/icons/marquee-speaker.mjs +0 -2
  159. package/dist/assets/images/shortcut-grid/shortcut-grid-card-bg-primary.mjs +0 -2
  160. package/dist/components/biz/business/detail/video-detail-recommend/shared.mjs +0 -2
  161. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/client.d.mts +0 -8
  162. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/client.mjs +0 -2
  163. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/index.d.mts +0 -5
  164. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/material.d.mts +0 -45
  165. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/material.mjs +0 -2
  166. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/schema.d.mts +0 -9
  167. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/schema.mjs +0 -2
  168. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/server.d.mts +0 -11
  169. package/dist/components/biz/business/detail/video-detail-waterfall-recommend/server.mjs +0 -2
  170. package/dist/components/biz/business/header-search/shared/header-action.mjs +0 -2
  171. package/dist/components/biz/business/header-search/shared/header-search-icon.mjs +0 -2
  172. package/dist/components/biz/business/header-search/shared/header-shell.mjs +0 -2
  173. package/dist/components/biz/business/hot-recommend/client.d.mts +0 -17
  174. package/dist/components/biz/business/hot-recommend/client.mjs +0 -2
  175. package/dist/components/biz/business/hot-recommend/index.d.mts +0 -5
  176. package/dist/components/biz/business/hot-recommend/material.d.mts +0 -24
  177. package/dist/components/biz/business/hot-recommend/material.mjs +0 -2
  178. package/dist/components/biz/business/hot-recommend/schema.d.mts +0 -23
  179. package/dist/components/biz/business/hot-recommend/schema.mjs +0 -2
  180. package/dist/components/biz/business/hot-recommend/server.d.mts +0 -11
  181. package/dist/components/biz/business/hot-recommend/server.mjs +0 -2
  182. package/dist/components/biz/business/profile/profile-main/empty-state.mjs +0 -2
  183. package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/video-waterfall.mjs +0 -2
  184. package/dist/components/biz/business/ranking-recommend/client.d.mts +0 -17
  185. package/dist/components/biz/business/ranking-recommend/client.mjs +0 -70
  186. package/dist/components/biz/business/ranking-recommend/material.d.mts +0 -35
  187. package/dist/components/biz/business/ranking-recommend/material.mjs +0 -2
  188. package/dist/components/biz/business/ranking-recommend/schema.d.mts +0 -35
  189. package/dist/components/biz/business/ranking-recommend/schema.mjs +0 -2
  190. package/dist/components/biz/business/ranking-recommend/server.d.mts +0 -11
  191. package/dist/components/biz/business/ranking-recommend/server.mjs +0 -2
  192. package/dist/components/biz/business/ranking-recommend/shared/query.mjs +0 -2
  193. package/dist/components/biz/business/ranking-recommend/shared.d.mts +0 -15
  194. package/dist/components/biz/business/ranking-recommend/shared.mjs +0 -2
  195. package/dist/components/biz/business/search-waterfall-recommend/client.d.mts +0 -9
  196. package/dist/components/biz/business/search-waterfall-recommend/client.mjs +0 -2
  197. package/dist/components/biz/business/search-waterfall-recommend/index.d.mts +0 -4
  198. package/dist/components/biz/business/search-waterfall-recommend/material.d.mts +0 -40
  199. package/dist/components/biz/business/search-waterfall-recommend/material.mjs +0 -2
  200. package/dist/components/biz/business/search-waterfall-recommend/server.d.mts +0 -8
  201. package/dist/components/biz/business/search-waterfall-recommend/server.mjs +0 -2
  202. package/dist/components/common/collection-popup/create-collection-sheet.d.mts +0 -41
  203. package/dist/components/common/collection-popup/create-collection-sheet.mjs +0 -2
  204. package/dist/components/common/list/collection-list/collection-select-icon.mjs +0 -2
  205. package/dist/components/common/list/waterfall-recommend/index.d.mts +0 -2
  206. package/dist/components/common/list/waterfall-recommend/waterfall-recommend.d.mts +0 -99
  207. package/dist/components/common/list/waterfall-recommend/waterfall-recommend.mjs +0 -2
  208. package/dist/components/pages/collection-detail/_components/collection-detail-video-card.mjs +0 -2
  209. package/dist/components/pages/login/auth-page-styles.mjs +0 -6
  210. package/dist/components/pages/search/search-result/shared.mjs +0 -2
  211. package/dist/components/pages/search-result/search-empty.mjs +0 -2
  212. package/dist/components/pages/search-result/search-video-info.mjs +0 -2
  213. package/dist/components/pages/search-result/shared.mjs +0 -2
  214. package/dist/components/pages/search-result/top-header.mjs +0 -2
  215. package/dist/components/pages/video-list/video-list-recommend-item.mjs +0 -2
  216. package/dist/theme-tokens.d.mts +0 -9
  217. package/dist/theme-tokens.mjs +0 -2
package/dist/biz.d.mts CHANGED
@@ -50,14 +50,14 @@ import { AdRuntimeProvider, AdRuntimeProviderProps } from "./components/biz/busi
50
50
  import { BannerAd } from "./components/biz/business/advertisement/banner-ad/client.mjs";
51
51
  import { BannerAdServer } from "./components/biz/business/advertisement/banner-ad/server.mjs";
52
52
  import { bannerAdMaterial } from "./components/biz/business/advertisement/banner-ad/material.mjs";
53
- import { FeedAdBadge, FeedAdItemLike, getFeedAdIcon, getFeedAdJumpUrl, isFeedAdItem } from "./components/biz/business/advertisement/feed-ad/index.mjs";
53
+ import { FeedAdBadge, FeedAdItemLike, FeedAdPayloadLike, getFeedAdIcon, getFeedAdJumpUrl, isFeedAdItem } from "./components/biz/business/advertisement/feed-ad/index.mjs";
54
54
  import { FloatingAd } from "./components/biz/business/advertisement/floating-ad/client.mjs";
55
55
  import { FloatingAdServer } from "./components/biz/business/advertisement/floating-ad/server.mjs";
56
56
  import { floatingAdMaterial } from "./components/biz/business/advertisement/floating-ad/material.mjs";
57
57
  import { IconAd } from "./components/biz/business/advertisement/icon-ad/client.mjs";
58
58
  import { IconAdServer } from "./components/biz/business/advertisement/icon-ad/server.mjs";
59
59
  import { iconAdMaterial } from "./components/biz/business/advertisement/icon-ad/material.mjs";
60
- import { PopupAdInspectorProps, PopupAdItem, PopupAdProps, popupAdInspectorDefaultProps, popupAdInspectorPropsSchema } from "./components/biz/business/advertisement/popup-ad/schema.mjs";
60
+ import { PopupAdBaseProps, PopupAdInspectorProps, PopupAdItem, PopupAdProps, popupAdInspectorDefaultProps, popupAdInspectorPropsSchema } from "./components/biz/business/advertisement/popup-ad/schema.mjs";
61
61
  import { PopupAd } from "./components/biz/business/advertisement/popup-ad/client.mjs";
62
62
  import { PopupAdServer } from "./components/biz/business/advertisement/popup-ad/server.mjs";
63
63
  import { popupAdMaterial } from "./components/biz/business/advertisement/popup-ad/material.mjs";
@@ -108,10 +108,6 @@ import { HomeRecommendWaterfallClient } from "./components/biz/business/home-rec
108
108
  import { schema as schema$22 } from "./components/biz/business/home-recommend/home-recommend-waterfall/schema.mjs";
109
109
  import { HomeRecommendWaterfall } from "./components/biz/business/home-recommend/home-recommend-waterfall/server.mjs";
110
110
  import { homeRecommendWaterfallMaterial } from "./components/biz/business/home-recommend/home-recommend-waterfall/material.mjs";
111
- import { hotRecommendInspectorPropsSchema } from "./components/biz/business/hot-recommend/schema.mjs";
112
- import { HotRecommendClient, HotRecommendProps } from "./components/biz/business/hot-recommend/client.mjs";
113
- import { HotRecommendServer } from "./components/biz/business/hot-recommend/server.mjs";
114
- import { hotRecommendMaterial } from "./components/biz/business/hot-recommend/material.mjs";
115
111
  import { imageTextRecommendInspectorPropsSchema } from "./components/biz/business/image-text-recommend/schema.mjs";
116
112
  import { ImageTextRecommendClient, ImageTextRecommendProps } from "./components/biz/business/image-text-recommend/client.mjs";
117
113
  import { ImageTextRecommendServer } from "./components/biz/business/image-text-recommend/server.mjs";
@@ -127,7 +123,7 @@ import { defaultProps as defaultProps$5 } from "./components/biz/business/post-c
127
123
  import { BasicPostCardClient } from "./components/biz/business/post-card/variants/basic-post-card/runtime/client.mjs";
128
124
  import { schema as schema$5 } from "./components/biz/business/post-card/variants/basic-post-card/schema/index.mjs";
129
125
  import { ProfileHeaderInspectorProps, UserProfileHeaderAuthConfig, UserProfileHeaderClientProps, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema } from "./components/biz/business/profile/profile-header/schema.mjs";
130
- import { UserProfileHeaderClient, defaultBackground } from "./components/biz/business/profile/profile-header/client.mjs";
126
+ import { UserProfileHeaderClient } from "./components/biz/business/profile/profile-header/client.mjs";
131
127
  import { profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground } from "./components/biz/business/profile/profile-header/material.mjs";
132
128
  import { ProfileMainInspectorProps, UserProfileMainProps, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema } from "./components/biz/business/profile/profile-main/schema.mjs";
133
129
  import { UserProfileMainClient } from "./components/biz/business/profile/profile-main/client.mjs";
@@ -166,9 +162,6 @@ import { SearchInputInspectorProps, searchInputInspectorDefaultProps, searchInpu
166
162
  import { SearchInputClient, SearchInputProps } from "./components/biz/business/search-input/client.mjs";
167
163
  import { SearchInputServer } from "./components/biz/business/search-input/server.mjs";
168
164
  import { searchInputMaterial } from "./components/biz/business/search-input/material.mjs";
169
- import { SearchWaterfallRecommendClient, SearchWaterfallRecommendProps } from "./components/biz/business/search-waterfall-recommend/client.mjs";
170
- import { SearchWaterfallRecommendServer } from "./components/biz/business/search-waterfall-recommend/server.mjs";
171
- import { searchWaterfallRecommendMaterial } from "./components/biz/business/search-waterfall-recommend/material.mjs";
172
165
  import { TabBarInspectorProps, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema } from "./components/biz/business/tab-bar/schema.mjs";
173
166
  import { TabBarClient, TabBarItem, TabBarItemConfigType, TabBarProps } from "./components/biz/business/tab-bar/client.mjs";
174
167
  import { TabBarServer } from "./components/biz/business/tab-bar/server.mjs";
@@ -185,4 +178,4 @@ import { exampleButtonMaterial } from "./components/biz/example/button/material.
185
178
  import "./components/biz/example/button/index.mjs";
186
179
  import { NodeDocument, PageDocument, PageMeta, Renderer, RendererDocument, RendererMaterial, RendererMode, RendererProps } from "./components/biz/renderer/renderer.mjs";
187
180
  import "./components/biz/renderer/index.mjs";
188
- export { AdProvider, AdProviderProps, AdProviderValue, AdRuntimeProvider, AdRuntimeProviderProps, AdsMatchExtData, AdsMatchQueryOptions, BannerAd, BannerAdInspectorProps, BannerAdItem, BannerAdProps, BannerAdServer, BannerAdStyleSize, BaseComponentProps, BasicBannerClient as BasicBanner, defaultProps as BasicBannerDefaultData, BasicBanner as BasicBannerMaterialComponent, schema as BasicBannerSchema, BasicFeatureGridClient as BasicFeatureGrid, defaultProps$1 as BasicFeatureGridDefaultData, schema$1 as BasicFeatureGridSchema, BasicFullscreen, FullscreenFeedClient as BasicFullscreenFeed, defaultProps$2 as BasicFullscreenFeedDefaultData, schema$2 as BasicFullscreenFeedSchema, BasicLogoClient as BasicLogo, defaultProps$3 as BasicLogoDefaultData, schema$3 as BasicLogoSchema, BasicNavBarClient as BasicNavBar, defaultProps$4 as BasicNavBarDefaultData, schema$4 as BasicNavBarSchema, BasicPostCardClient as BasicPostCard, defaultProps$5 as BasicPostCardDefaultData, schema$5 as BasicPostCardSchema, BasicRecommendedUsersClient as BasicRecommendedUsers, defaultProps$6 as BasicRecommendedUsersDefaultData, schema$6 as BasicRecommendedUsersSchema, BasicSearchClient as BasicSearch, BasicSearchBarClient as BasicSearchBar, defaultProps$7 as BasicSearchBarDefaultData, schema$7 as BasicSearchBarSchema, defaultProps$8 as BasicSearchDefaultData, schema$8 as BasicSearchSchema, Button, ButtonClient, ButtonInspectorProps, ButtonProps, CARD_SPEC_MAP, CardCornerMode, CardGrid2x3Client as CardGrid2x3, defaultProps$9 as CardGrid2x3DefaultData, CardGrid2x3InfiniteClient as CardGrid2x3Infinite, defaultProps$10 as CardGrid2x3InfiniteDefaultData, schema$9 as CardGrid2x3InfiniteSchema, schema$10 as CardGrid2x3Schema, CardGrid2x4Client as CardGrid2x4, defaultProps$11 as CardGrid2x4DefaultData, schema$11 as CardGrid2x4Schema, CardGrid3x3Client as CardGrid3x3, defaultProps$12 as CardGrid3x3DefaultData, CardGrid3x3InfiniteClient as CardGrid3x3Infinite, defaultProps$13 as CardGrid3x3InfiniteDefaultData, schema$12 as CardGrid3x3InfiniteSchema, schema$13 as CardGrid3x3Schema, defaultProps$14 as CardItemDefaultData, schema$14 as CardItemSchema, defaultProps$15 as CardLayoutDefaultData, schema$15 as CardLayoutSchema, CardSpec, ChannelDataItem, CollectTab, CollectTabProps, CollectTabServer, CommonStyleSchema, ComponentMaterial, ComponentSchema, ComponentType, ContentBlockItem, DataBinding, DataBindingField, DataBindingSourceType, DataBindingUIMode, DataSchema, DataSlot, DataSourceType, DetailSearchBarClient as DetailSearchBar, defaultProps$16 as DetailSearchBarDefaultData, schema$16 as DetailSearchBarSchema, EventDefinition, EventSchema, ExtractedDataItem, FeedAdBadge, FeedAdItemLike, FieldSchema, FieldType, FilterSearchClient as FilterSearch, FilterSearchBarClient as FilterSearchBar, defaultProps$17 as FilterSearchBarDefaultData, schema$17 as FilterSearchBarSchema, defaultProps$18 as FilterSearchDefaultData, schema$18 as FilterSearchSchema, FloatingAd, FloatingAdEditableProps, FloatingAdInspectorProps, FloatingAdItem, FloatingAdProps, FloatingAdServer, FloatingBall, FloatingBallClient, FloatingBallClientProps, FloatingBallInspectorProps, FullscreenPostFeedClient as FullscreenFeedClient, defaultProps$19 as FullscreenPostFeedDefaultData, schema$19 as FullscreenPostFeedSchema, FullscreenVideoFeedClient as FullscreenVideoClient, defaultProps$20 as FullscreenVideoFeedDefaultData, schema$20 as FullscreenVideoFeedSchema, HistoryTab, HistoryTabProps, HistoryTabServer, HomeRecommendGridClient as HomeRecommendGrid, homeRecommendGridInspectorDefaultProps as HomeRecommendGridDefaultData, HomeRecommendGrid as HomeRecommendGridMaterialComponent, schema$21 as HomeRecommendGridSchema, HomeRecommendWaterfallClient as HomeRecommendWaterfall, homeRecommendWaterfallInspectorDefaultProps as HomeRecommendWaterfallDefaultData, HomeRecommendWaterfall as HomeRecommendWaterfallMaterialComponent, schema$22 as HomeRecommendWaterfallSchema, HotRecommendClient, HotRecommendProps, HotRecommendServer, IconAd, IconAdInspectorProps, IconAdItem, IconAdProps, IconAdServer, ImageTextRecommendClient, ImageTextRecommendProps, ImageTextRecommendServer, LikeDetailItem, LikeTab, LikeTabProps, LikeTabServer, MarqueeClient, MarqueeProps, MarqueeServer, MaterialRegistry, NodeDocument, PageDocument, PageMeta, PopupAd, PopupAdInspectorProps, PopupAdItem, PopupAdProps, PopupAdServer, ProfileHeaderInspectorProps, ProfileMainInspectorProps, PropDefinition, PropSchema, PublishTab, PublishTabProps, PublishTabServer, PublishTabUserInfo, RawContentData, Renderer, RendererDocument, RendererMaterial, RendererMode, RendererProps, SearchHistoryClient, SearchHistoryProps, SearchHistoryServer, SearchInputClient, SearchInputInspectorProps, SearchInputProps, SearchInputServer, SearchWaterfallRecommendClient, SearchWaterfallRecommendProps, SearchWaterfallRecommendServer, SimpleSearchClient as SimpleSearch, defaultProps$21 as SimpleSearchDefaultData, schema$23 as SimpleSearchSchema, StylePropDefinition, StyleSchema, TabBarClient, TabBarInspectorProps, TabBarItem, TabBarItemConfigType, TabBarProps, TabBarServer, TagSearchClient as TagSearch, TagSearchBarClient as TagSearchBar, defaultProps$22 as TagSearchBarDefaultData, schema$24 as TagSearchBarSchema, defaultProps$23 as TagSearchDefaultData, schema$25 as TagSearchSchema, TextAd, TextAdInspectorProps, TextAdItem, TextAdProps, TextAdServer, TextRecommendClient, TextRecommendProps, TextRecommendServer, UserProfileHeaderAuthConfig, UserProfileHeaderClient, UserProfileHeaderClientProps, UserProfileMain, UserProfileMainClient, UserProfileMainProps, UserProfileMainRenderMode, UserProfileMainShell, UserProfileMainShellProps, adaptBannerAdProps, adaptFloatingAdItem, adaptIconAdProps, adaptPopupAdMaterials, adaptTextAdProps, bannerAdInspectorDefaultProps, bannerAdInspectorPropsSchema, bannerAdMaterial, bannerAdStyleSizeOptions, basicBannerInspectorDefaultProps, basicBannerInspectorPropsSchema, basicBannerMaterial, buildAdsMatchRequest, buildContentUrl, buttonInspectorDefaultProps, buttonInspectorPropsSchema, commonStyleSchema, commonStylesToInline, createAdsMatchPrefetchItem, createAdsMatchQueryFn, customStylesToInline, defaultBackground, defaultMarqueePeriod, exampleButtonMaterial, extractDataByComponentType, floatingAdInspectorDefaultProps, floatingAdInspectorPropsSchema, floatingAdMaterial, floatingBallInspectorDefaultProps, floatingBallInspectorPropsSchema, floatingBallMaterial, getAdsMatchQueryKey, getCardSpecConfig, getChannelList, getDefaultMarqueePeriod, getFeedAdIcon, getFeedAdJumpUrl, getFirstMatchedMaterial, hasMatchedAds, homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema, homeRecommendGridMaterial, homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema, homeRecommendWaterfallMaterial, hotRecommendInspectorPropsSchema, hotRecommendMaterial, iconAdInspectorDefaultProps, iconAdInspectorPropsSchema, iconAdMaterial, imageTextRecommendInspectorPropsSchema, imageTextRecommendMaterial, isFeedAdItem, marqueeInspectorPropsSchema, marqueeMaterial, mergeStyles, parseAdsMatchExtData, popupAdInspectorDefaultProps, popupAdInspectorPropsSchema, popupAdMaterial, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema, profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground, profileMainCollectCollectionTabOptions, profileMainCollectTabOptions, profileMainHistoryTabOptions, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema, profileMainLikeTabOptions, profileMainMaterial, profileMainMineTabOptions, profileMainProfileTabOptions, profileMainTabOptions, resolveAdsAppCode, searchHistoryInspectorPropsSchema, searchHistoryMaterial, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema, searchInputMaterial, searchWaterfallRecommendMaterial, sortAdsMatchMaterials, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema, tabBarMaterial, textAdInspectorDefaultProps, textAdInspectorPropsSchema, textAdMaterial, textRecommendInspectorPropsSchema, textRecommendMaterial, transformContentListToCardItems, transformContentToCardItem, useAdProvider };
181
+ export { AdProvider, AdProviderProps, AdProviderValue, AdRuntimeProvider, AdRuntimeProviderProps, AdsMatchExtData, AdsMatchQueryOptions, BannerAd, BannerAdInspectorProps, BannerAdItem, BannerAdProps, BannerAdServer, BannerAdStyleSize, BaseComponentProps, BasicBannerClient as BasicBanner, defaultProps as BasicBannerDefaultData, BasicBanner as BasicBannerMaterialComponent, schema as BasicBannerSchema, BasicFeatureGridClient as BasicFeatureGrid, defaultProps$1 as BasicFeatureGridDefaultData, schema$1 as BasicFeatureGridSchema, BasicFullscreen, FullscreenFeedClient as BasicFullscreenFeed, defaultProps$2 as BasicFullscreenFeedDefaultData, schema$2 as BasicFullscreenFeedSchema, BasicLogoClient as BasicLogo, defaultProps$3 as BasicLogoDefaultData, schema$3 as BasicLogoSchema, BasicNavBarClient as BasicNavBar, defaultProps$4 as BasicNavBarDefaultData, schema$4 as BasicNavBarSchema, BasicPostCardClient as BasicPostCard, defaultProps$5 as BasicPostCardDefaultData, schema$5 as BasicPostCardSchema, BasicRecommendedUsersClient as BasicRecommendedUsers, defaultProps$6 as BasicRecommendedUsersDefaultData, schema$6 as BasicRecommendedUsersSchema, BasicSearchClient as BasicSearch, BasicSearchBarClient as BasicSearchBar, defaultProps$7 as BasicSearchBarDefaultData, schema$7 as BasicSearchBarSchema, defaultProps$8 as BasicSearchDefaultData, schema$8 as BasicSearchSchema, Button, ButtonClient, ButtonInspectorProps, ButtonProps, CARD_SPEC_MAP, CardCornerMode, CardGrid2x3Client as CardGrid2x3, defaultProps$9 as CardGrid2x3DefaultData, CardGrid2x3InfiniteClient as CardGrid2x3Infinite, defaultProps$10 as CardGrid2x3InfiniteDefaultData, schema$9 as CardGrid2x3InfiniteSchema, schema$10 as CardGrid2x3Schema, CardGrid2x4Client as CardGrid2x4, defaultProps$11 as CardGrid2x4DefaultData, schema$11 as CardGrid2x4Schema, CardGrid3x3Client as CardGrid3x3, defaultProps$12 as CardGrid3x3DefaultData, CardGrid3x3InfiniteClient as CardGrid3x3Infinite, defaultProps$13 as CardGrid3x3InfiniteDefaultData, schema$12 as CardGrid3x3InfiniteSchema, schema$13 as CardGrid3x3Schema, defaultProps$14 as CardItemDefaultData, schema$14 as CardItemSchema, defaultProps$15 as CardLayoutDefaultData, schema$15 as CardLayoutSchema, CardSpec, ChannelDataItem, CollectTab, CollectTabProps, CollectTabServer, CommonStyleSchema, ComponentMaterial, ComponentSchema, ComponentType, ContentBlockItem, DataBinding, DataBindingField, DataBindingSourceType, DataBindingUIMode, DataSchema, DataSlot, DataSourceType, DetailSearchBarClient as DetailSearchBar, defaultProps$16 as DetailSearchBarDefaultData, schema$16 as DetailSearchBarSchema, EventDefinition, EventSchema, ExtractedDataItem, FeedAdBadge, FeedAdItemLike, FeedAdPayloadLike, FieldSchema, FieldType, FilterSearchClient as FilterSearch, FilterSearchBarClient as FilterSearchBar, defaultProps$17 as FilterSearchBarDefaultData, schema$17 as FilterSearchBarSchema, defaultProps$18 as FilterSearchDefaultData, schema$18 as FilterSearchSchema, FloatingAd, FloatingAdEditableProps, FloatingAdInspectorProps, FloatingAdItem, FloatingAdProps, FloatingAdServer, FloatingBall, FloatingBallClient, FloatingBallClientProps, FloatingBallInspectorProps, FullscreenPostFeedClient as FullscreenFeedClient, defaultProps$19 as FullscreenPostFeedDefaultData, schema$19 as FullscreenPostFeedSchema, FullscreenVideoFeedClient as FullscreenVideoClient, defaultProps$20 as FullscreenVideoFeedDefaultData, schema$20 as FullscreenVideoFeedSchema, HistoryTab, HistoryTabProps, HistoryTabServer, HomeRecommendGridClient as HomeRecommendGrid, homeRecommendGridInspectorDefaultProps as HomeRecommendGridDefaultData, HomeRecommendGrid as HomeRecommendGridMaterialComponent, schema$21 as HomeRecommendGridSchema, HomeRecommendWaterfallClient as HomeRecommendWaterfall, homeRecommendWaterfallInspectorDefaultProps as HomeRecommendWaterfallDefaultData, HomeRecommendWaterfall as HomeRecommendWaterfallMaterialComponent, schema$22 as HomeRecommendWaterfallSchema, IconAd, IconAdInspectorProps, IconAdItem, IconAdProps, IconAdServer, ImageTextRecommendClient, ImageTextRecommendProps, ImageTextRecommendServer, LikeDetailItem, LikeTab, LikeTabProps, LikeTabServer, MarqueeClient, MarqueeProps, MarqueeServer, MaterialRegistry, NodeDocument, PageDocument, PageMeta, PopupAd, PopupAdBaseProps, PopupAdInspectorProps, PopupAdItem, PopupAdProps, PopupAdServer, ProfileHeaderInspectorProps, ProfileMainInspectorProps, PropDefinition, PropSchema, PublishTab, PublishTabProps, PublishTabServer, PublishTabUserInfo, RawContentData, Renderer, RendererDocument, RendererMaterial, RendererMode, RendererProps, SearchHistoryClient, SearchHistoryProps, SearchHistoryServer, SearchInputClient, SearchInputInspectorProps, SearchInputProps, SearchInputServer, SimpleSearchClient as SimpleSearch, defaultProps$21 as SimpleSearchDefaultData, schema$23 as SimpleSearchSchema, StylePropDefinition, StyleSchema, TabBarClient, TabBarInspectorProps, TabBarItem, TabBarItemConfigType, TabBarProps, TabBarServer, TagSearchClient as TagSearch, TagSearchBarClient as TagSearchBar, defaultProps$22 as TagSearchBarDefaultData, schema$24 as TagSearchBarSchema, defaultProps$23 as TagSearchDefaultData, schema$25 as TagSearchSchema, TextAd, TextAdInspectorProps, TextAdItem, TextAdProps, TextAdServer, TextRecommendClient, TextRecommendProps, TextRecommendServer, UserProfileHeaderAuthConfig, UserProfileHeaderClient, UserProfileHeaderClientProps, UserProfileMain, UserProfileMainClient, UserProfileMainProps, UserProfileMainRenderMode, UserProfileMainShell, UserProfileMainShellProps, adaptBannerAdProps, adaptFloatingAdItem, adaptIconAdProps, adaptPopupAdMaterials, adaptTextAdProps, bannerAdInspectorDefaultProps, bannerAdInspectorPropsSchema, bannerAdMaterial, bannerAdStyleSizeOptions, basicBannerInspectorDefaultProps, basicBannerInspectorPropsSchema, basicBannerMaterial, buildAdsMatchRequest, buildContentUrl, buttonInspectorDefaultProps, buttonInspectorPropsSchema, commonStyleSchema, commonStylesToInline, createAdsMatchPrefetchItem, createAdsMatchQueryFn, customStylesToInline, defaultMarqueePeriod, exampleButtonMaterial, extractDataByComponentType, floatingAdInspectorDefaultProps, floatingAdInspectorPropsSchema, floatingAdMaterial, floatingBallInspectorDefaultProps, floatingBallInspectorPropsSchema, floatingBallMaterial, getAdsMatchQueryKey, getCardSpecConfig, getChannelList, getDefaultMarqueePeriod, getFeedAdIcon, getFeedAdJumpUrl, getFirstMatchedMaterial, hasMatchedAds, homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema, homeRecommendGridMaterial, homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema, homeRecommendWaterfallMaterial, iconAdInspectorDefaultProps, iconAdInspectorPropsSchema, iconAdMaterial, imageTextRecommendInspectorPropsSchema, imageTextRecommendMaterial, isFeedAdItem, marqueeInspectorPropsSchema, marqueeMaterial, mergeStyles, parseAdsMatchExtData, popupAdInspectorDefaultProps, popupAdInspectorPropsSchema, popupAdMaterial, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema, profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground, profileMainCollectCollectionTabOptions, profileMainCollectTabOptions, profileMainHistoryTabOptions, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema, profileMainLikeTabOptions, profileMainMaterial, profileMainMineTabOptions, profileMainProfileTabOptions, profileMainTabOptions, resolveAdsAppCode, searchHistoryInspectorPropsSchema, searchHistoryMaterial, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema, searchInputMaterial, sortAdsMatchMaterials, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema, tabBarMaterial, textAdInspectorDefaultProps, textAdInspectorPropsSchema, textAdMaterial, textRecommendInspectorPropsSchema, textRecommendMaterial, transformContentListToCardItems, transformContentToCardItem, useAdProvider };
package/dist/biz.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- import{CARD_SPEC_MAP as ee,CardSpec as te,getCardSpecConfig as e}from"./components/biz/utils/constants/card-spec.mjs";import{getChannelList as t}from"./components/biz/utils/helpers/get-channel-list.mjs";import{buildContentUrl as n}from"./components/biz/utils/helpers/url.mjs";import{DataBindingUIMode as r,DataSourceType as i}from"./components/biz/utils/schema/data.mjs";import{commonStylesToInline as a,customStylesToInline as o,mergeStyles as s}from"./components/biz/utils/styles/helpers.mjs";import{commonStyleSchema as c}from"./components/biz/utils/styles/schema.mjs";import{transformContentListToCardItems as l,transformContentToCardItem as u}from"./components/biz/utils/transformers/card-grid.mjs";import{defaultProps as d}from"./components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs";import{schema as f}from"./components/biz/business/banner/variants/basic-banner/schema/index.mjs";import{defaultProps as p}from"./components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as m}from"./components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs";import{BasicFullscreen as h}from"./components/biz/basics/fullscreen-feed/basic-fullscreen.mjs";import{defaultProps as g}from"./components/biz/basics/fullscreen-feed/defaults/default-props.mjs";import{schema as _}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import{schema as v}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import{defaultProps as y}from"./components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs";import{defaultProps as b}from"./components/biz/basics/search/variants/basic-search/defaults/default-props.mjs";import{defaultProps as x}from"./components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{defaultProps as S}from"./components/biz/basics/search/variants/simple-search/defaults/default-props.mjs";import{schema as C}from"./components/biz/basics/search/variants/simple-search/schema/index.mjs";import w from"./components/biz/basics/search/variants/simple-search/index.mjs";import{schema as T}from"./components/biz/business/search-bar/variants/detail-search-bar/schema/index.mjs";import E from"./components/biz/business/search-bar/variants/detail-search-bar/index.mjs";import{homeRecommendGridInspectorDefaultProps as D,homeRecommendGridInspectorPropsSchema as O}from"./components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs";import{schema as k}from"./components/biz/business/home-recommend/home-recommend-grid/schema.mjs";import{homeRecommendWaterfallInspectorDefaultProps as A,homeRecommendWaterfallInspectorPropsSchema as j}from"./components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs";import{schema as M}from"./components/biz/business/home-recommend/home-recommend-waterfall/schema.mjs";import{schema as N}from"./components/biz/business/post-card/variants/basic-post-card/schema/index.mjs";import{defaultProps as P}from"./components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as F}from"./components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs";import{ComponentType as I,extractDataByComponentType as L}from"./components/biz/utils/transformers/data.mjs";import{defaultProps as R}from"./components/biz/basics/card-item/defaults/default-props.mjs";import{schema as z}from"./components/biz/basics/card-item/schema/index.mjs";import{defaultProps as B}from"./components/biz/basics/card-layout/defaults/default-props.mjs";import{schema as V}from"./components/biz/basics/card-layout/schema/index.mjs";import{schema as H}from"./components/biz/basics/fullscreen-feed/schema/index.mjs";import U from"./components/biz/basics/fullscreen-feed/index.mjs";import{schema as W}from"./components/biz/basics/logo/variants/basic-logo/schema/index.mjs";import G from"./components/biz/basics/logo/variants/basic-logo/index.mjs";import{schema as K}from"./components/biz/basics/search/variants/basic-search/schema/index.mjs";import q from"./components/biz/basics/search/variants/basic-search/index.mjs";import{defaultProps as J}from"./components/biz/basics/search/variants/filter-search/defaults/default-props.mjs";import{schema as Y}from"./components/biz/basics/search/variants/filter-search/schema/index.mjs";import X from"./components/biz/basics/search/variants/filter-search/index.mjs";import{defaultProps as Z}from"./components/biz/basics/search/variants/tag-search/defaults/default-props.mjs";import{schema as Q}from"./components/biz/basics/search/variants/tag-search/schema/index.mjs";import ne from"./components/biz/basics/search/variants/tag-search/index.mjs";import{adaptBannerAdProps as re,adaptFloatingAdItem as ie,adaptIconAdProps as ae,adaptPopupAdMaterials as oe,adaptTextAdProps as se,buildAdsMatchRequest as ce,getFirstMatchedMaterial as le,hasMatchedAds as ue,parseAdsMatchExtData as de,resolveAdsAppCode as fe,sortAdsMatchMaterials as pe}from"./components/biz/business/advertisement/ad-match.mjs";import{createAdsMatchPrefetchItem as me,createAdsMatchQueryFn as he,getAdsMatchQueryKey as ge}from"./components/biz/business/advertisement/ad-query.mjs";import{AdProvider as _e,useAdProvider as ve}from"./components/biz/business/advertisement/ad-provider.mjs";import{AdRuntimeProvider as ye}from"./components/biz/business/advertisement/ad-runtime-provider.mjs";import{BannerAd as be}from"./components/biz/business/advertisement/banner-ad/client.mjs";import{bannerAdInspectorDefaultProps as xe,bannerAdInspectorPropsSchema as Se,bannerAdStyleSizeOptions as Ce}from"./components/biz/business/advertisement/banner-ad/schema.mjs";import{BannerAdServer as we}from"./components/biz/business/advertisement/banner-ad/server.mjs";import{bannerAdMaterial as Te}from"./components/biz/business/advertisement/banner-ad/material.mjs";import{FeedAdBadge as Ee,getFeedAdIcon as De,getFeedAdJumpUrl as Oe,isFeedAdItem as ke}from"./components/biz/business/advertisement/feed-ad/index.mjs";import{FloatingAd as Ae}from"./components/biz/business/advertisement/floating-ad/client.mjs";import{floatingAdInspectorDefaultProps as je,floatingAdInspectorPropsSchema as Me}from"./components/biz/business/advertisement/floating-ad/schema.mjs";import{FloatingAdServer as Ne}from"./components/biz/business/advertisement/floating-ad/server.mjs";import{floatingAdMaterial as Pe}from"./components/biz/business/advertisement/floating-ad/material.mjs";import{IconAd as Fe}from"./components/biz/business/advertisement/icon-ad/client.mjs";import{iconAdInspectorDefaultProps as Ie,iconAdInspectorPropsSchema as Le}from"./components/biz/business/advertisement/icon-ad/schema.mjs";import{IconAdServer as Re}from"./components/biz/business/advertisement/icon-ad/server.mjs";import{iconAdMaterial as ze}from"./components/biz/business/advertisement/icon-ad/material.mjs";import{PopupAd as Be}from"./components/biz/business/advertisement/popup-ad/client.mjs";import{popupAdInspectorDefaultProps as Ve,popupAdInspectorPropsSchema as He}from"./components/biz/business/advertisement/popup-ad/schema.mjs";import{PopupAdServer as Ue}from"./components/biz/business/advertisement/popup-ad/server.mjs";import{popupAdMaterial as We}from"./components/biz/business/advertisement/popup-ad/material.mjs";import{TextAd as Ge}from"./components/biz/business/advertisement/text-ad/client.mjs";import{textAdInspectorDefaultProps as Ke,textAdInspectorPropsSchema as qe}from"./components/biz/business/advertisement/text-ad/schema.mjs";import{TextAdServer as Je}from"./components/biz/business/advertisement/text-ad/server.mjs";import{textAdMaterial as Ye}from"./components/biz/business/advertisement/text-ad/material.mjs";import{basicBannerInspectorDefaultProps as Xe,basicBannerInspectorPropsSchema as Ze}from"./components/biz/business/banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as Qe}from"./components/biz/business/banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as $e}from"./components/biz/business/banner/variants/basic-banner/material.mjs";import et from"./components/biz/business/banner/variants/basic-banner/index.mjs";import{defaultProps as tt}from"./components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as nt}from"./components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs";import rt from"./components/biz/business/card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as it}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as at}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import ot from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as st}from"./components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as ct}from"./components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs";import lt from"./components/biz/business/card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as ut}from"./components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as dt}from"./components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs";import ft from"./components/biz/business/card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as $}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as pt}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import mt from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs";import ht from"./components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs";import{FloatingBallClient as gt}from"./components/biz/business/floating-ball/client.mjs";import{floatingBallInspectorDefaultProps as _t,floatingBallInspectorPropsSchema as vt}from"./components/biz/business/floating-ball/schema.mjs";import{FloatingBall as yt}from"./components/biz/business/floating-ball/server.mjs";import{floatingBallMaterial as bt}from"./components/biz/business/floating-ball/material.mjs";import{defaultProps as xt}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import St from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as Ct}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import wt from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{HomeRecommendGrid as Tt}from"./components/biz/business/home-recommend/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as Et}from"./components/biz/business/home-recommend/home-recommend-grid/material.mjs";import Dt from"./components/biz/business/home-recommend/home-recommend-grid/index.mjs";import{HomeRecommendWaterfall as Ot}from"./components/biz/business/home-recommend/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as kt}from"./components/biz/business/home-recommend/home-recommend-waterfall/material.mjs";import At from"./components/biz/business/home-recommend/home-recommend-waterfall/index.mjs";import{HotRecommendClient as jt}from"./components/biz/business/hot-recommend/client.mjs";import{hotRecommendInspectorPropsSchema as Mt}from"./components/biz/business/hot-recommend/schema.mjs";import{HotRecommendServer as Nt}from"./components/biz/business/hot-recommend/server.mjs";import{hotRecommendMaterial as Pt}from"./components/biz/business/hot-recommend/material.mjs";import{ImageTextRecommendClient as Ft}from"./components/biz/business/image-text-recommend/client.mjs";import{imageTextRecommendInspectorPropsSchema as It}from"./components/biz/business/image-text-recommend/schema.mjs";import{ImageTextRecommendServer as Lt}from"./components/biz/business/image-text-recommend/server.mjs";import{imageTextRecommendMaterial as Rt}from"./components/biz/business/image-text-recommend/material.mjs";import{defaultMarqueePeriod as zt,getDefaultMarqueePeriod as Bt,marqueeInspectorPropsSchema as Vt}from"./components/biz/business/marquee/schema.mjs";import{MarqueeClient as Ht}from"./components/biz/business/marquee/client.mjs";import{MarqueeServer as Ut}from"./components/biz/business/marquee/server.mjs";import{marqueeMaterial as Wt}from"./components/biz/business/marquee/material.mjs";import{defaultProps as Gt}from"./components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as Kt}from"./components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs";import qt from"./components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as Jt}from"./components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs";import Yt from"./components/biz/business/post-card/variants/basic-post-card/index.mjs";import{UserProfileHeaderClient as Xt,defaultBackground as Zt}from"./components/biz/business/profile/profile-header/client.mjs";import{profileHeaderInspectorDefaultProps as Qt,profileHeaderInspectorPropsSchema as $t}from"./components/biz/business/profile/profile-header/schema.mjs";import{profileHeaderMaterial as en,profileHeaderMaterialWithDisabledBackground as tn}from"./components/biz/business/profile/profile-header/material.mjs";import{profileMainCollectCollectionTabOptions as nn,profileMainCollectTabOptions as rn,profileMainHistoryTabOptions as an,profileMainLikeTabOptions as on,profileMainMineTabOptions as sn,profileMainProfileTabOptions as cn,profileMainTabOptions as ln}from"./components/biz/business/profile/profile-main/variants.mjs";import{UserProfileMainShell as un}from"./components/biz/business/profile/profile-main/shell.mjs";import{CollectTab as dn}from"./components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs";import{HistoryTab as fn}from"./components/biz/business/profile/profile-main/tabs/history-tab/client.mjs";import{LikeTab as pn}from"./components/biz/business/profile/profile-main/tabs/like-tab/client.mjs";import{UserProfileMainClient as mn}from"./components/biz/business/profile/profile-main/client.mjs";import{profileMainInspectorDefaultProps as hn,profileMainInspectorPropsSchema as gn}from"./components/biz/business/profile/profile-main/schema.mjs";import{UserProfileMain as _n}from"./components/biz/business/profile/profile-main/server.mjs";import{profileMainMaterial as vn}from"./components/biz/business/profile/profile-main/material.mjs";import{CollectTabServer as yn}from"./components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs";import{HistoryTabServer as bn}from"./components/biz/business/profile/profile-main/tabs/history-tab/server.mjs";import{LikeTabServer as xn}from"./components/biz/business/profile/profile-main/tabs/like-tab/server.mjs";import{PublishTab as Sn}from"./components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs";import{PublishTabServer as Cn}from"./components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs";import wn from"./components/biz/business/recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as Tn}from"./components/biz/business/search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as En}from"./components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs";import Dn from"./components/biz/business/search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as On}from"./components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as kn}from"./components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs";import An from"./components/biz/business/search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as jn}from"./components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as Mn}from"./components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs";import Nn from"./components/biz/business/search-bar/variants/tag-search-bar/index.mjs";import{SearchHistoryClient as Pn}from"./components/biz/business/search-history/client.mjs";import{searchHistoryInspectorPropsSchema as Fn}from"./components/biz/business/search-history/schema.mjs";import{SearchHistoryServer as In}from"./components/biz/business/search-history/server.mjs";import{searchHistoryMaterial as Ln}from"./components/biz/business/search-history/material.mjs";import{SearchInputClient as Rn}from"./components/biz/business/search-input/client.mjs";import{searchInputInspectorDefaultProps as zn,searchInputInspectorPropsSchema as Bn}from"./components/biz/business/search-input/schema.mjs";import{SearchInputServer as Vn}from"./components/biz/business/search-input/server.mjs";import{searchInputMaterial as Hn}from"./components/biz/business/search-input/material.mjs";import Un from"./components/biz/business/search-waterfall-recommend/client.mjs";import{SearchWaterfallRecommendServer as Wn}from"./components/biz/business/search-waterfall-recommend/server.mjs";import{searchWaterfallRecommendMaterial as Gn}from"./components/biz/business/search-waterfall-recommend/material.mjs";import{TabBarClient as Kn}from"./components/biz/business/tab-bar/client.mjs";import{tabBarInspectorDefaultProps as qn,tabBarInspectorPropsSchema as Jn}from"./components/biz/business/tab-bar/schema.mjs";import{TabBarServer as Yn}from"./components/biz/business/tab-bar/server.mjs";import{tabBarMaterial as Xn}from"./components/biz/business/tab-bar/material.mjs";import{TextRecommendClient as Zn}from"./components/biz/business/text-recommend/client.mjs";import{textRecommendInspectorPropsSchema as Qn}from"./components/biz/business/text-recommend/schema.mjs";import{TextRecommendServer as $n}from"./components/biz/business/text-recommend/server.mjs";import{textRecommendMaterial as er}from"./components/biz/business/text-recommend/material.mjs";import{ButtonClient as tr}from"./components/biz/example/button/client.mjs";import{buttonInspectorDefaultProps as nr,buttonInspectorPropsSchema as rr}from"./components/biz/example/button/schema.mjs";import{Button as ir}from"./components/biz/example/button/server.mjs";import{exampleButtonMaterial as ar}from"./components/biz/example/button/material.mjs";import{Renderer as or}from"./components/biz/renderer/renderer.mjs";export{_e as AdProvider,ye as AdRuntimeProvider,be as BannerAd,we as BannerAdServer,et as BasicBanner,d as BasicBannerDefaultData,Qe as BasicBannerMaterialComponent,f as BasicBannerSchema,ht as BasicFeatureGrid,p as BasicFeatureGridDefaultData,m as BasicFeatureGridSchema,h as BasicFullscreen,U as BasicFullscreenFeed,g as BasicFullscreenFeedDefaultData,H as BasicFullscreenFeedSchema,G as BasicLogo,y as BasicLogoDefaultData,W as BasicLogoSchema,qt as BasicNavBar,Gt as BasicNavBarDefaultData,Kt as BasicNavBarSchema,Yt as BasicPostCard,Jt as BasicPostCardDefaultData,N as BasicPostCardSchema,wn as BasicRecommendedUsers,P as BasicRecommendedUsersDefaultData,F as BasicRecommendedUsersSchema,q as BasicSearch,Dn as BasicSearchBar,Tn as BasicSearchBarDefaultData,En as BasicSearchBarSchema,b as BasicSearchDefaultData,K as BasicSearchSchema,ir as Button,tr as ButtonClient,ee as CARD_SPEC_MAP,rt as CardGrid2x3,tt as CardGrid2x3DefaultData,ot as CardGrid2x3Infinite,it as CardGrid2x3InfiniteDefaultData,at as CardGrid2x3InfiniteSchema,nt as CardGrid2x3Schema,lt as CardGrid2x4,st as CardGrid2x4DefaultData,ct as CardGrid2x4Schema,ft as CardGrid3x3,ut as CardGrid3x3DefaultData,mt as CardGrid3x3Infinite,$ as CardGrid3x3InfiniteDefaultData,pt as CardGrid3x3InfiniteSchema,dt as CardGrid3x3Schema,R as CardItemDefaultData,z as CardItemSchema,B as CardLayoutDefaultData,V as CardLayoutSchema,te as CardSpec,dn as CollectTab,yn as CollectTabServer,I as ComponentType,r as DataBindingUIMode,i as DataSourceType,E as DetailSearchBar,x as DetailSearchBarDefaultData,T as DetailSearchBarSchema,Ee as FeedAdBadge,X as FilterSearch,An as FilterSearchBar,On as FilterSearchBarDefaultData,kn as FilterSearchBarSchema,J as FilterSearchDefaultData,Y as FilterSearchSchema,Ae as FloatingAd,Ne as FloatingAdServer,yt as FloatingBall,gt as FloatingBallClient,St as FullscreenFeedClient,xt as FullscreenPostFeedDefaultData,_ as FullscreenPostFeedSchema,wt as FullscreenVideoClient,Ct as FullscreenVideoFeedDefaultData,v as FullscreenVideoFeedSchema,fn as HistoryTab,bn as HistoryTabServer,Dt as HomeRecommendGrid,D as HomeRecommendGridDefaultData,Tt as HomeRecommendGridMaterialComponent,k as HomeRecommendGridSchema,At as HomeRecommendWaterfall,A as HomeRecommendWaterfallDefaultData,Ot as HomeRecommendWaterfallMaterialComponent,M as HomeRecommendWaterfallSchema,jt as HotRecommendClient,Nt as HotRecommendServer,Fe as IconAd,Re as IconAdServer,Ft as ImageTextRecommendClient,Lt as ImageTextRecommendServer,pn as LikeTab,xn as LikeTabServer,Ht as MarqueeClient,Ut as MarqueeServer,Be as PopupAd,Ue as PopupAdServer,Sn as PublishTab,Cn as PublishTabServer,or as Renderer,Pn as SearchHistoryClient,In as SearchHistoryServer,Rn as SearchInputClient,Vn as SearchInputServer,Un as SearchWaterfallRecommendClient,Wn as SearchWaterfallRecommendServer,w as SimpleSearch,S as SimpleSearchDefaultData,C as SimpleSearchSchema,Kn as TabBarClient,Yn as TabBarServer,ne as TagSearch,Nn as TagSearchBar,jn as TagSearchBarDefaultData,Mn as TagSearchBarSchema,Z as TagSearchDefaultData,Q as TagSearchSchema,Ge as TextAd,Je as TextAdServer,Zn as TextRecommendClient,$n as TextRecommendServer,Xt as UserProfileHeaderClient,_n as UserProfileMain,mn as UserProfileMainClient,un as UserProfileMainShell,re as adaptBannerAdProps,ie as adaptFloatingAdItem,ae as adaptIconAdProps,oe as adaptPopupAdMaterials,se as adaptTextAdProps,xe as bannerAdInspectorDefaultProps,Se as bannerAdInspectorPropsSchema,Te as bannerAdMaterial,Ce as bannerAdStyleSizeOptions,Xe as basicBannerInspectorDefaultProps,Ze as basicBannerInspectorPropsSchema,$e as basicBannerMaterial,ce as buildAdsMatchRequest,n as buildContentUrl,nr as buttonInspectorDefaultProps,rr as buttonInspectorPropsSchema,c as commonStyleSchema,a as commonStylesToInline,me as createAdsMatchPrefetchItem,he as createAdsMatchQueryFn,o as customStylesToInline,Zt as defaultBackground,zt as defaultMarqueePeriod,ar as exampleButtonMaterial,L as extractDataByComponentType,je as floatingAdInspectorDefaultProps,Me as floatingAdInspectorPropsSchema,Pe as floatingAdMaterial,_t as floatingBallInspectorDefaultProps,vt as floatingBallInspectorPropsSchema,bt as floatingBallMaterial,ge as getAdsMatchQueryKey,e as getCardSpecConfig,t as getChannelList,Bt as getDefaultMarqueePeriod,De as getFeedAdIcon,Oe as getFeedAdJumpUrl,le as getFirstMatchedMaterial,ue as hasMatchedAds,D as homeRecommendGridInspectorDefaultProps,O as homeRecommendGridInspectorPropsSchema,Et as homeRecommendGridMaterial,A as homeRecommendWaterfallInspectorDefaultProps,j as homeRecommendWaterfallInspectorPropsSchema,kt as homeRecommendWaterfallMaterial,Mt as hotRecommendInspectorPropsSchema,Pt as hotRecommendMaterial,Ie as iconAdInspectorDefaultProps,Le as iconAdInspectorPropsSchema,ze as iconAdMaterial,It as imageTextRecommendInspectorPropsSchema,Rt as imageTextRecommendMaterial,ke as isFeedAdItem,Vt as marqueeInspectorPropsSchema,Wt as marqueeMaterial,s as mergeStyles,de as parseAdsMatchExtData,Ve as popupAdInspectorDefaultProps,He as popupAdInspectorPropsSchema,We as popupAdMaterial,Qt as profileHeaderInspectorDefaultProps,$t as profileHeaderInspectorPropsSchema,en as profileHeaderMaterial,tn as profileHeaderMaterialWithDisabledBackground,nn as profileMainCollectCollectionTabOptions,rn as profileMainCollectTabOptions,an as profileMainHistoryTabOptions,hn as profileMainInspectorDefaultProps,gn as profileMainInspectorPropsSchema,on as profileMainLikeTabOptions,vn as profileMainMaterial,sn as profileMainMineTabOptions,cn as profileMainProfileTabOptions,ln as profileMainTabOptions,fe as resolveAdsAppCode,Fn as searchHistoryInspectorPropsSchema,Ln as searchHistoryMaterial,zn as searchInputInspectorDefaultProps,Bn as searchInputInspectorPropsSchema,Hn as searchInputMaterial,Gn as searchWaterfallRecommendMaterial,pe as sortAdsMatchMaterials,qn as tabBarInspectorDefaultProps,Jn as tabBarInspectorPropsSchema,Xn as tabBarMaterial,Ke as textAdInspectorDefaultProps,qe as textAdInspectorPropsSchema,Ye as textAdMaterial,Qn as textRecommendInspectorPropsSchema,er as textRecommendMaterial,l as transformContentListToCardItems,u as transformContentToCardItem,ve as useAdProvider};
2
+ import{CARD_SPEC_MAP as ee,CardSpec as te,getCardSpecConfig as ne}from"./components/biz/utils/constants/card-spec.mjs";import{getChannelList as re}from"./components/biz/utils/helpers/get-channel-list.mjs";import{buildContentUrl as e}from"./components/biz/utils/helpers/url.mjs";import{DataBindingUIMode as t,DataSourceType as n}from"./components/biz/utils/schema/data.mjs";import{commonStylesToInline as r,customStylesToInline as i,mergeStyles as a}from"./components/biz/utils/styles/helpers.mjs";import{commonStyleSchema as o}from"./components/biz/utils/styles/schema.mjs";import{transformContentListToCardItems as s,transformContentToCardItem as c}from"./components/biz/utils/transformers/card-grid.mjs";import{defaultProps as l}from"./components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs";import{schema as u}from"./components/biz/business/banner/variants/basic-banner/schema/index.mjs";import{defaultProps as d}from"./components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as f}from"./components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs";import{BasicFullscreen as p}from"./components/biz/basics/fullscreen-feed/basic-fullscreen.mjs";import{defaultProps as m}from"./components/biz/basics/fullscreen-feed/defaults/default-props.mjs";import{schema as h}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import{schema as g}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import{adaptBannerAdProps as _,adaptFloatingAdItem as v,adaptIconAdProps as y,adaptPopupAdMaterials as b,adaptTextAdProps as x,buildAdsMatchRequest as S,getFirstMatchedMaterial as C,hasMatchedAds as w,parseAdsMatchExtData as T,resolveAdsAppCode as E,sortAdsMatchMaterials as D}from"./components/biz/business/advertisement/ad-match.mjs";import{createAdsMatchPrefetchItem as O,createAdsMatchQueryFn as k,getAdsMatchQueryKey as A}from"./components/biz/business/advertisement/ad-query.mjs";import{AdProvider as j,useAdProvider as M}from"./components/biz/business/advertisement/ad-provider.mjs";import{AdRuntimeProvider as N}from"./components/biz/business/advertisement/ad-runtime-provider.mjs";import{bannerAdInspectorDefaultProps as P,bannerAdInspectorPropsSchema as F,bannerAdStyleSizeOptions as I}from"./components/biz/business/advertisement/banner-ad/schema.mjs";import{BannerAd as L}from"./components/biz/business/advertisement/banner-ad/client.mjs";import{BannerAdServer as R}from"./components/biz/business/advertisement/banner-ad/server.mjs";import{bannerAdMaterial as z}from"./components/biz/business/advertisement/banner-ad/material.mjs";import{FeedAdBadge as B,getFeedAdIcon as V,getFeedAdJumpUrl as H,isFeedAdItem as U}from"./components/biz/business/advertisement/feed-ad/index.mjs";import{floatingAdInspectorDefaultProps as W,floatingAdInspectorPropsSchema as G}from"./components/biz/business/advertisement/floating-ad/schema.mjs";import{FloatingAd as K}from"./components/biz/business/advertisement/floating-ad/client.mjs";import{FloatingAdServer as q}from"./components/biz/business/advertisement/floating-ad/server.mjs";import{floatingAdMaterial as J}from"./components/biz/business/advertisement/floating-ad/material.mjs";import{iconAdInspectorDefaultProps as Y,iconAdInspectorPropsSchema as X}from"./components/biz/business/advertisement/icon-ad/schema.mjs";import{IconAd as ie}from"./components/biz/business/advertisement/icon-ad/client.mjs";import{IconAdServer as ae}from"./components/biz/business/advertisement/icon-ad/server.mjs";import{iconAdMaterial as oe}from"./components/biz/business/advertisement/icon-ad/material.mjs";import{PopupAd as se}from"./components/biz/business/advertisement/popup-ad/client.mjs";import{popupAdInspectorDefaultProps as ce,popupAdInspectorPropsSchema as le}from"./components/biz/business/advertisement/popup-ad/schema.mjs";import{PopupAdServer as ue}from"./components/biz/business/advertisement/popup-ad/server.mjs";import{popupAdMaterial as de}from"./components/biz/business/advertisement/popup-ad/material.mjs";import{textAdInspectorDefaultProps as fe,textAdInspectorPropsSchema as pe}from"./components/biz/business/advertisement/text-ad/schema.mjs";import{TextAd as me}from"./components/biz/business/advertisement/text-ad/client.mjs";import{TextAdServer as he}from"./components/biz/business/advertisement/text-ad/server.mjs";import{textAdMaterial as ge}from"./components/biz/business/advertisement/text-ad/material.mjs";import{defaultProps as _e}from"./components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs";import{defaultProps as ve}from"./components/biz/basics/search/variants/basic-search/defaults/default-props.mjs";import{defaultProps as ye}from"./components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{defaultProps as be}from"./components/biz/basics/search/variants/simple-search/defaults/default-props.mjs";import{schema as xe}from"./components/biz/basics/search/variants/simple-search/schema/index.mjs";import Se from"./components/biz/basics/search/variants/simple-search/index.mjs";import{schema as Ce}from"./components/biz/business/search-bar/variants/detail-search-bar/schema/index.mjs";import we from"./components/biz/business/search-bar/variants/detail-search-bar/index.mjs";import{homeRecommendGridInspectorDefaultProps as Z,homeRecommendGridInspectorPropsSchema as Te}from"./components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs";import{schema as Ee}from"./components/biz/business/home-recommend/home-recommend-grid/schema.mjs";import{homeRecommendWaterfallInspectorDefaultProps as Q,homeRecommendWaterfallInspectorPropsSchema as De}from"./components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs";import{schema as Oe}from"./components/biz/business/home-recommend/home-recommend-waterfall/schema.mjs";import{schema as ke}from"./components/biz/business/post-card/variants/basic-post-card/schema/index.mjs";import{defaultProps as Ae}from"./components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as je}from"./components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs";import{ComponentType as Me,extractDataByComponentType as Ne}from"./components/biz/utils/transformers/data.mjs";import{defaultProps as Pe}from"./components/biz/basics/card-item/defaults/default-props.mjs";import{schema as Fe}from"./components/biz/basics/card-item/schema/index.mjs";import{defaultProps as Ie}from"./components/biz/basics/card-layout/defaults/default-props.mjs";import{schema as Le}from"./components/biz/basics/card-layout/schema/index.mjs";import{schema as Re}from"./components/biz/basics/fullscreen-feed/schema/index.mjs";import ze from"./components/biz/basics/fullscreen-feed/index.mjs";import{schema as Be}from"./components/biz/basics/logo/variants/basic-logo/schema/index.mjs";import Ve from"./components/biz/basics/logo/variants/basic-logo/index.mjs";import{schema as He}from"./components/biz/basics/search/variants/basic-search/schema/index.mjs";import Ue from"./components/biz/basics/search/variants/basic-search/index.mjs";import{defaultProps as We}from"./components/biz/basics/search/variants/filter-search/defaults/default-props.mjs";import{schema as Ge}from"./components/biz/basics/search/variants/filter-search/schema/index.mjs";import Ke from"./components/biz/basics/search/variants/filter-search/index.mjs";import{defaultProps as qe}from"./components/biz/basics/search/variants/tag-search/defaults/default-props.mjs";import{schema as Je}from"./components/biz/basics/search/variants/tag-search/schema/index.mjs";import Ye from"./components/biz/basics/search/variants/tag-search/index.mjs";import{basicBannerInspectorDefaultProps as Xe,basicBannerInspectorPropsSchema as Ze}from"./components/biz/business/banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as Qe}from"./components/biz/business/banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as $e}from"./components/biz/business/banner/variants/basic-banner/material.mjs";import et from"./components/biz/business/banner/variants/basic-banner/index.mjs";import{defaultProps as tt}from"./components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as nt}from"./components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs";import rt from"./components/biz/business/card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as it}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as at}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import ot from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as st}from"./components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as ct}from"./components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs";import $ from"./components/biz/business/card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as lt}from"./components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as ut}from"./components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs";import dt from"./components/biz/business/card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as ft}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as pt}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import mt from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs";import ht from"./components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs";import{FloatingBallClient as gt}from"./components/biz/business/floating-ball/client.mjs";import{floatingBallInspectorDefaultProps as _t,floatingBallInspectorPropsSchema as vt}from"./components/biz/business/floating-ball/schema.mjs";import{FloatingBall as yt}from"./components/biz/business/floating-ball/server.mjs";import{floatingBallMaterial as bt}from"./components/biz/business/floating-ball/material.mjs";import{defaultProps as xt}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import St from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as Ct}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import wt from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{HomeRecommendGrid as Tt}from"./components/biz/business/home-recommend/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as Et}from"./components/biz/business/home-recommend/home-recommend-grid/material.mjs";import Dt from"./components/biz/business/home-recommend/home-recommend-grid/index.mjs";import{HomeRecommendWaterfall as Ot}from"./components/biz/business/home-recommend/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as kt}from"./components/biz/business/home-recommend/home-recommend-waterfall/material.mjs";import At from"./components/biz/business/home-recommend/home-recommend-waterfall/index.mjs";import{ImageTextRecommendClient as jt}from"./components/biz/business/image-text-recommend/client.mjs";import{imageTextRecommendInspectorPropsSchema as Mt}from"./components/biz/business/image-text-recommend/schema.mjs";import{ImageTextRecommendServer as Nt}from"./components/biz/business/image-text-recommend/server.mjs";import{imageTextRecommendMaterial as Pt}from"./components/biz/business/image-text-recommend/material.mjs";import{defaultMarqueePeriod as Ft,getDefaultMarqueePeriod as It,marqueeInspectorPropsSchema as Lt}from"./components/biz/business/marquee/schema.mjs";import{MarqueeClient as Rt}from"./components/biz/business/marquee/client.mjs";import{MarqueeServer as zt}from"./components/biz/business/marquee/server.mjs";import{marqueeMaterial as Bt}from"./components/biz/business/marquee/material.mjs";import{defaultProps as Vt}from"./components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as Ht}from"./components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs";import Ut from"./components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as Wt}from"./components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs";import Gt from"./components/biz/business/post-card/variants/basic-post-card/index.mjs";import{UserProfileHeaderClient as Kt}from"./components/biz/business/profile/profile-header/client.mjs";import{profileHeaderInspectorDefaultProps as qt,profileHeaderInspectorPropsSchema as Jt}from"./components/biz/business/profile/profile-header/schema.mjs";import{profileHeaderMaterial as Yt,profileHeaderMaterialWithDisabledBackground as Xt}from"./components/biz/business/profile/profile-header/material.mjs";import{profileMainCollectCollectionTabOptions as Zt,profileMainCollectTabOptions as Qt,profileMainHistoryTabOptions as $t,profileMainLikeTabOptions as en,profileMainMineTabOptions as tn,profileMainProfileTabOptions as nn,profileMainTabOptions as rn}from"./components/biz/business/profile/profile-main/variants.mjs";import{UserProfileMainShell as an}from"./components/biz/business/profile/profile-main/shell.mjs";import{CollectTab as on}from"./components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs";import{HistoryTab as sn}from"./components/biz/business/profile/profile-main/tabs/history-tab/client.mjs";import{LikeTab as cn}from"./components/biz/business/profile/profile-main/tabs/like-tab/client.mjs";import{UserProfileMainClient as ln}from"./components/biz/business/profile/profile-main/client.mjs";import{profileMainInspectorDefaultProps as un,profileMainInspectorPropsSchema as dn}from"./components/biz/business/profile/profile-main/schema.mjs";import{UserProfileMain as fn}from"./components/biz/business/profile/profile-main/server.mjs";import{profileMainMaterial as pn}from"./components/biz/business/profile/profile-main/material.mjs";import{CollectTabServer as mn}from"./components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs";import{HistoryTabServer as hn}from"./components/biz/business/profile/profile-main/tabs/history-tab/server.mjs";import{LikeTabServer as gn}from"./components/biz/business/profile/profile-main/tabs/like-tab/server.mjs";import{PublishTab as _n}from"./components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs";import{PublishTabServer as vn}from"./components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs";import yn from"./components/biz/business/recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as bn}from"./components/biz/business/search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as xn}from"./components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs";import Sn from"./components/biz/business/search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as Cn}from"./components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as wn}from"./components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs";import Tn from"./components/biz/business/search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as En}from"./components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as Dn}from"./components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs";import On from"./components/biz/business/search-bar/variants/tag-search-bar/index.mjs";import{SearchHistoryClient as kn}from"./components/biz/business/search-history/client.mjs";import{searchHistoryInspectorPropsSchema as An}from"./components/biz/business/search-history/schema.mjs";import{SearchHistoryServer as jn}from"./components/biz/business/search-history/server.mjs";import{searchHistoryMaterial as Mn}from"./components/biz/business/search-history/material.mjs";import{SearchInputClient as Nn}from"./components/biz/business/search-input/client.mjs";import{searchInputInspectorDefaultProps as Pn,searchInputInspectorPropsSchema as Fn}from"./components/biz/business/search-input/schema.mjs";import{SearchInputServer as In}from"./components/biz/business/search-input/server.mjs";import{searchInputMaterial as Ln}from"./components/biz/business/search-input/material.mjs";import{TabBarClient as Rn}from"./components/biz/business/tab-bar/client.mjs";import{tabBarInspectorDefaultProps as zn,tabBarInspectorPropsSchema as Bn}from"./components/biz/business/tab-bar/schema.mjs";import{TabBarServer as Vn}from"./components/biz/business/tab-bar/server.mjs";import{tabBarMaterial as Hn}from"./components/biz/business/tab-bar/material.mjs";import{TextRecommendClient as Un}from"./components/biz/business/text-recommend/client.mjs";import{textRecommendInspectorPropsSchema as Wn}from"./components/biz/business/text-recommend/schema.mjs";import{TextRecommendServer as Gn}from"./components/biz/business/text-recommend/server.mjs";import{textRecommendMaterial as Kn}from"./components/biz/business/text-recommend/material.mjs";import{ButtonClient as qn}from"./components/biz/example/button/client.mjs";import{buttonInspectorDefaultProps as Jn,buttonInspectorPropsSchema as Yn}from"./components/biz/example/button/schema.mjs";import{Button as Xn}from"./components/biz/example/button/server.mjs";import{exampleButtonMaterial as Zn}from"./components/biz/example/button/material.mjs";import{Renderer as Qn}from"./components/biz/renderer/renderer.mjs";export{j as AdProvider,N as AdRuntimeProvider,L as BannerAd,R as BannerAdServer,et as BasicBanner,l as BasicBannerDefaultData,Qe as BasicBannerMaterialComponent,u as BasicBannerSchema,ht as BasicFeatureGrid,d as BasicFeatureGridDefaultData,f as BasicFeatureGridSchema,p as BasicFullscreen,ze as BasicFullscreenFeed,m as BasicFullscreenFeedDefaultData,Re as BasicFullscreenFeedSchema,Ve as BasicLogo,_e as BasicLogoDefaultData,Be as BasicLogoSchema,Ut as BasicNavBar,Vt as BasicNavBarDefaultData,Ht as BasicNavBarSchema,Gt as BasicPostCard,Wt as BasicPostCardDefaultData,ke as BasicPostCardSchema,yn as BasicRecommendedUsers,Ae as BasicRecommendedUsersDefaultData,je as BasicRecommendedUsersSchema,Ue as BasicSearch,Sn as BasicSearchBar,bn as BasicSearchBarDefaultData,xn as BasicSearchBarSchema,ve as BasicSearchDefaultData,He as BasicSearchSchema,Xn as Button,qn as ButtonClient,ee as CARD_SPEC_MAP,rt as CardGrid2x3,tt as CardGrid2x3DefaultData,ot as CardGrid2x3Infinite,it as CardGrid2x3InfiniteDefaultData,at as CardGrid2x3InfiniteSchema,nt as CardGrid2x3Schema,$ as CardGrid2x4,st as CardGrid2x4DefaultData,ct as CardGrid2x4Schema,dt as CardGrid3x3,lt as CardGrid3x3DefaultData,mt as CardGrid3x3Infinite,ft as CardGrid3x3InfiniteDefaultData,pt as CardGrid3x3InfiniteSchema,ut as CardGrid3x3Schema,Pe as CardItemDefaultData,Fe as CardItemSchema,Ie as CardLayoutDefaultData,Le as CardLayoutSchema,te as CardSpec,on as CollectTab,mn as CollectTabServer,Me as ComponentType,t as DataBindingUIMode,n as DataSourceType,we as DetailSearchBar,ye as DetailSearchBarDefaultData,Ce as DetailSearchBarSchema,B as FeedAdBadge,Ke as FilterSearch,Tn as FilterSearchBar,Cn as FilterSearchBarDefaultData,wn as FilterSearchBarSchema,We as FilterSearchDefaultData,Ge as FilterSearchSchema,K as FloatingAd,q as FloatingAdServer,yt as FloatingBall,gt as FloatingBallClient,St as FullscreenFeedClient,xt as FullscreenPostFeedDefaultData,h as FullscreenPostFeedSchema,wt as FullscreenVideoClient,Ct as FullscreenVideoFeedDefaultData,g as FullscreenVideoFeedSchema,sn as HistoryTab,hn as HistoryTabServer,Dt as HomeRecommendGrid,Z as HomeRecommendGridDefaultData,Tt as HomeRecommendGridMaterialComponent,Ee as HomeRecommendGridSchema,At as HomeRecommendWaterfall,Q as HomeRecommendWaterfallDefaultData,Ot as HomeRecommendWaterfallMaterialComponent,Oe as HomeRecommendWaterfallSchema,ie as IconAd,ae as IconAdServer,jt as ImageTextRecommendClient,Nt as ImageTextRecommendServer,cn as LikeTab,gn as LikeTabServer,Rt as MarqueeClient,zt as MarqueeServer,se as PopupAd,ue as PopupAdServer,_n as PublishTab,vn as PublishTabServer,Qn as Renderer,kn as SearchHistoryClient,jn as SearchHistoryServer,Nn as SearchInputClient,In as SearchInputServer,Se as SimpleSearch,be as SimpleSearchDefaultData,xe as SimpleSearchSchema,Rn as TabBarClient,Vn as TabBarServer,Ye as TagSearch,On as TagSearchBar,En as TagSearchBarDefaultData,Dn as TagSearchBarSchema,qe as TagSearchDefaultData,Je as TagSearchSchema,me as TextAd,he as TextAdServer,Un as TextRecommendClient,Gn as TextRecommendServer,Kt as UserProfileHeaderClient,fn as UserProfileMain,ln as UserProfileMainClient,an as UserProfileMainShell,_ as adaptBannerAdProps,v as adaptFloatingAdItem,y as adaptIconAdProps,b as adaptPopupAdMaterials,x as adaptTextAdProps,P as bannerAdInspectorDefaultProps,F as bannerAdInspectorPropsSchema,z as bannerAdMaterial,I as bannerAdStyleSizeOptions,Xe as basicBannerInspectorDefaultProps,Ze as basicBannerInspectorPropsSchema,$e as basicBannerMaterial,S as buildAdsMatchRequest,e as buildContentUrl,Jn as buttonInspectorDefaultProps,Yn as buttonInspectorPropsSchema,o as commonStyleSchema,r as commonStylesToInline,O as createAdsMatchPrefetchItem,k as createAdsMatchQueryFn,i as customStylesToInline,Ft as defaultMarqueePeriod,Zn as exampleButtonMaterial,Ne as extractDataByComponentType,W as floatingAdInspectorDefaultProps,G as floatingAdInspectorPropsSchema,J as floatingAdMaterial,_t as floatingBallInspectorDefaultProps,vt as floatingBallInspectorPropsSchema,bt as floatingBallMaterial,A as getAdsMatchQueryKey,ne as getCardSpecConfig,re as getChannelList,It as getDefaultMarqueePeriod,V as getFeedAdIcon,H as getFeedAdJumpUrl,C as getFirstMatchedMaterial,w as hasMatchedAds,Z as homeRecommendGridInspectorDefaultProps,Te as homeRecommendGridInspectorPropsSchema,Et as homeRecommendGridMaterial,Q as homeRecommendWaterfallInspectorDefaultProps,De as homeRecommendWaterfallInspectorPropsSchema,kt as homeRecommendWaterfallMaterial,Y as iconAdInspectorDefaultProps,X as iconAdInspectorPropsSchema,oe as iconAdMaterial,Mt as imageTextRecommendInspectorPropsSchema,Pt as imageTextRecommendMaterial,U as isFeedAdItem,Lt as marqueeInspectorPropsSchema,Bt as marqueeMaterial,a as mergeStyles,T as parseAdsMatchExtData,ce as popupAdInspectorDefaultProps,le as popupAdInspectorPropsSchema,de as popupAdMaterial,qt as profileHeaderInspectorDefaultProps,Jt as profileHeaderInspectorPropsSchema,Yt as profileHeaderMaterial,Xt as profileHeaderMaterialWithDisabledBackground,Zt as profileMainCollectCollectionTabOptions,Qt as profileMainCollectTabOptions,$t as profileMainHistoryTabOptions,un as profileMainInspectorDefaultProps,dn as profileMainInspectorPropsSchema,en as profileMainLikeTabOptions,pn as profileMainMaterial,tn as profileMainMineTabOptions,nn as profileMainProfileTabOptions,rn as profileMainTabOptions,E as resolveAdsAppCode,An as searchHistoryInspectorPropsSchema,Mn as searchHistoryMaterial,Pn as searchInputInspectorDefaultProps,Fn as searchInputInspectorPropsSchema,Ln as searchInputMaterial,D as sortAdsMatchMaterials,zn as tabBarInspectorDefaultProps,Bn as tabBarInspectorPropsSchema,Hn as tabBarMaterial,fe as textAdInspectorDefaultProps,pe as textAdInspectorPropsSchema,ge as textAdMaterial,Wn as textRecommendInspectorPropsSchema,Kn as textRecommendMaterial,s as transformContentListToCardItems,c as transformContentToCardItem,M as useAdProvider};
package/dist/common.d.mts CHANGED
@@ -5,7 +5,6 @@ import "./components/common/analytics-init/index.mjs";
5
5
  import { BlockedDialog } from "./components/common/blocked-dialog/blocked-dialog.mjs";
6
6
  import "./components/common/blocked-dialog/index.mjs";
7
7
  import { MiniThreeCard } from "./components/common/cards/mini-three-card.mjs";
8
- import { CreateCollectionSheet } from "./components/common/collection-popup/create-collection-sheet.mjs";
9
8
  import { CollectionPopupComponent, CollectionPopupHost } from "./components/common/collection-popup/index.mjs";
10
9
  import { DebugLocaleSwitcher } from "./components/common/debug-locale-switcher/index.mjs";
11
10
  import { DeleteConfirmDialog, DeleteConfirmDialogProps } from "./components/common/delete-confirm-dialog/delete-confirm-dialog.mjs";
@@ -38,8 +37,6 @@ import "./components/common/list/user-activity-list/index.mjs";
38
37
  import { VideoListItem, VideoListItemProps } from "./components/common/list/video-list/video-list-item.mjs";
39
38
  import { VideoList, VideoListProps } from "./components/common/list/video-list/video-list.mjs";
40
39
  import "./components/common/list/video-list/index.mjs";
41
- import { WaterfallRecommend, WaterfallRecommendCardKind, WaterfallRecommendColumnName, WaterfallRecommendColumns, WaterfallRecommendItem, WaterfallRecommendProps } from "./components/common/list/waterfall-recommend/waterfall-recommend.mjs";
42
- import "./components/common/list/waterfall-recommend/index.mjs";
43
40
  import { LocaleSync } from "./components/common/locale-sync/locale-sync.mjs";
44
41
  import { LoginDialog } from "./components/common/login-dialog/login-dialog.mjs";
45
42
  import "./components/common/login-dialog/index.mjs";
@@ -50,7 +47,7 @@ import { closePhotoPreview, photoPreview } from "./components/common/photo-previ
50
47
  import { GenderPicker, GenderPickerOption, GenderPickerProps } from "./components/common/picker/gender-picker/gender-picker.mjs";
51
48
  import "./components/common/picker/index.mjs";
52
49
  import { PopupVideo } from "./components/common/popup-video/index.mjs";
53
- import { DetailStyleOneActiveBorderLayer, SeriesEpisodes, SeriesEpisodesProps } from "./components/common/series-episodes/index.mjs";
50
+ import { SeriesEpisodes, SeriesEpisodesProps } from "./components/common/series-episodes/index.mjs";
54
51
  import { ShareContent } from "./components/common/share-popup/share-content.mjs";
55
52
  import { ShareDrawer, ShareDrawerProps } from "./components/common/share-popup/share-drawer.mjs";
56
53
  import { ActionButton, ShareDataType, SharePlatform, SharePopupComponent, defaultActions, defaultPlatforms } from "./components/common/share-popup/share-popup.mjs";
@@ -61,4 +58,4 @@ import { TopNavBarServer } from "./components/common/top-nav-bar/index.mjs";
61
58
  import { UserInfoInitializer } from "./components/common/user-info-initializer/index.mjs";
62
59
  import { CommonPlayer, CommonPlayerRef } from "./components/common/video-player/index.mjs";
63
60
  import { WaitLoading } from "./components/common/wait-loading.mjs";
64
- export { ActionButton, AddIcon, AnalyticsInit, BlockedDialog, CollectionList, CollectionListItem, CollectionListItemProps, CollectionListMediaItem, CollectionListProps, CollectionPopupComponent, CollectionPopupHost, CommentIcon, CommonPhotoGrid, CommonPlayer, CommonPlayerRef, CreateCollectionSheet, DebugLocaleSwitcher, DeleteConfirmDialog, DeleteConfirmDialogProps, DeleteIcon, DetailStyleOneActiveBorderLayer, Empty, FunhubProvider, FunhubProviderProps, GenderPicker, GenderPickerOption, GenderPickerProps, HeaderNav, IntlProvider, IntlProviderProps, LeftArrowIcon, LocaleSync, LoginDialog, MediaPreview, MiniThreeCard, MoreIcon, PageSkeleton, SeriesEpisodePage as PhotoGrid, PopupVideo, PostList, PostListItem, PostListItemProps, PostListProps, RightArrowIcon, SeriesEpisodes, SeriesEpisodesProps, SettingIcon, ShareContent, ShareDataType, ShareDrawer, ShareDrawerProps, ShareIcon, SharePlatform, SharePopupComponent, TabBar, ThemeSync, TopNavBarServer, UserActivityList, UserActivityListItem, UserActivityListItemProps, UserActivityListProps, UserActivityMediaGrid, UserActivityMediaGridProps, MediaPreview as UserActivityMediaPreview, UserInfoInitializer, VideoList, VideoListItem, VideoListItemProps, VideoListProps, WaitLoading, WaterfallRecommend, WaterfallRecommendCardKind, WaterfallRecommendColumnName, WaterfallRecommendColumns, WaterfallRecommendItem, WaterfallRecommendProps, closePhotoPreview, defaultActions, defaultPlatforms, photoPreview, useMediaPreview };
61
+ export { ActionButton, AddIcon, AnalyticsInit, BlockedDialog, CollectionList, CollectionListItem, CollectionListItemProps, CollectionListMediaItem, CollectionListProps, CollectionPopupComponent, CollectionPopupHost, CommentIcon, CommonPhotoGrid, CommonPlayer, CommonPlayerRef, DebugLocaleSwitcher, DeleteConfirmDialog, DeleteConfirmDialogProps, DeleteIcon, Empty, FunhubProvider, FunhubProviderProps, GenderPicker, GenderPickerOption, GenderPickerProps, HeaderNav, IntlProvider, IntlProviderProps, LeftArrowIcon, LocaleSync, LoginDialog, MediaPreview, MiniThreeCard, MoreIcon, PageSkeleton, SeriesEpisodePage as PhotoGrid, PopupVideo, PostList, PostListItem, PostListItemProps, PostListProps, RightArrowIcon, SeriesEpisodes, SeriesEpisodesProps, SettingIcon, ShareContent, ShareDataType, ShareDrawer, ShareDrawerProps, ShareIcon, SharePlatform, SharePopupComponent, TabBar, ThemeSync, TopNavBarServer, UserActivityList, UserActivityListItem, UserActivityListItemProps, UserActivityListProps, UserActivityMediaGrid, UserActivityMediaGridProps, MediaPreview as UserActivityMediaPreview, UserInfoInitializer, VideoList, VideoListItem, VideoListItemProps, VideoListProps, WaitLoading, closePhotoPreview, defaultActions, defaultPlatforms, photoPreview, useMediaPreview };
package/dist/common.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- import{MediaPreview as e,useMediaPreview as t}from"./components/common/media-preview/index.mjs";import{CreateCollectionSheet as n}from"./components/common/collection-popup/create-collection-sheet.mjs";import{CollectionPopupComponent as r,CollectionPopupHost as i}from"./components/common/collection-popup/index.mjs";import a from"./components/common/share-popup/share-content.mjs";import{ShareDrawer as o}from"./components/common/share-popup/share-drawer.mjs";import{IntlProvider as s}from"./components/common/intl-provider/intl-provider.mjs";import{SharePopupComponent as c,defaultActions as l,defaultPlatforms as u}from"./components/common/share-popup/share-popup.mjs";import d from"./components/common/video-player/index.mjs";import{AnalyticsInit as f}from"./components/common/analytics-init/analytics-init.mjs";import{BlockedDialog as p}from"./components/common/blocked-dialog/blocked-dialog.mjs";import{MiniThreeCard as m}from"./components/common/cards/mini-three-card.mjs";import{DebugLocaleSwitcher as h}from"./components/common/debug-locale-switcher/index.mjs";import{DeleteConfirmDialog as g}from"./components/common/delete-confirm-dialog/delete-confirm-dialog.mjs";import _ from"./components/common/empty/index.mjs";import{FunhubProvider as v}from"./components/common/funhub-provider/funhub-provider.mjs";import{LeftArrowIcon as y}from"./components/common/icons/left-arrow.mjs";import{HeaderNav as b}from"./components/common/header-nav/client.mjs";import{AddIcon as x}from"./components/common/icons/add.mjs";import{CommentIcon as S}from"./components/common/icons/comment.mjs";import{DeleteIcon as C}from"./components/common/icons/delete.mjs";import{MoreIcon as w}from"./components/common/icons/more.mjs";import{RightArrowIcon as T}from"./components/common/icons/right-arrow.mjs";import{SettingIcon as E}from"./components/common/icons/setting.mjs";import{ShareIcon as D}from"./components/common/icons/share.mjs";import{CollectionListItem as O}from"./components/common/list/collection-list/collection-list-item.mjs";import{CollectionList as k}from"./components/common/list/collection-list/collection-list.mjs";import{PostListItem as A}from"./components/common/list/post-list/post-list-item.mjs";import{PostList as j}from"./components/common/list/post-list/post-list.mjs";import{UserActivityList as M}from"./components/common/list/user-activity-list/user-activity-list.mjs";import{UserActivityListItem as N,UserActivityMediaGrid as P}from"./components/common/list/user-activity-list/user-activity-list-item.mjs";import{VideoListItem as F}from"./components/common/list/video-list/video-list-item.mjs";import{VideoList as I}from"./components/common/list/video-list/video-list.mjs";import{WaterfallRecommend as L}from"./components/common/list/waterfall-recommend/waterfall-recommend.mjs";import{LocaleSync as R}from"./components/common/locale-sync/locale-sync.mjs";import{LoginDialog as z}from"./components/common/login-dialog/login-dialog.mjs";import{PageSkeleton as B}from"./components/common/page-skeleton/page-skeleton.mjs";import V from"./components/common/photo-grid/index.mjs";import H from"./components/common/photo-grid/common-photo-grid.mjs";import{closePhotoPreview as U,photoPreview as W}from"./components/common/photo-preview/index.mjs";import{GenderPicker as G}from"./components/common/picker/gender-picker/gender-picker.mjs";import K from"./components/common/popup-video/index.mjs";import{DetailStyleOneActiveBorderLayer as q,SeriesEpisodes as J}from"./components/common/series-episodes/index.mjs";import{TabBar as Y}from"./components/common/tab-bar/index.mjs";import{ThemeSync as X}from"./components/common/theme-sync/index.mjs";import{TopNavBarServer as Z}from"./components/common/top-nav-bar/index.mjs";import{UserInfoInitializer as Q}from"./components/common/user-info-initializer/index.mjs";import{WaitLoading as $}from"./components/common/wait-loading.mjs";export{x as AddIcon,f as AnalyticsInit,p as BlockedDialog,k as CollectionList,O as CollectionListItem,r as CollectionPopupComponent,i as CollectionPopupHost,S as CommentIcon,H as CommonPhotoGrid,d as CommonPlayer,n as CreateCollectionSheet,h as DebugLocaleSwitcher,g as DeleteConfirmDialog,C as DeleteIcon,q as DetailStyleOneActiveBorderLayer,_ as Empty,v as FunhubProvider,G as GenderPicker,b as HeaderNav,s as IntlProvider,y as LeftArrowIcon,R as LocaleSync,z as LoginDialog,e as MediaPreview,m as MiniThreeCard,w as MoreIcon,B as PageSkeleton,V as PhotoGrid,K as PopupVideo,j as PostList,A as PostListItem,T as RightArrowIcon,J as SeriesEpisodes,E as SettingIcon,a as ShareContent,o as ShareDrawer,D as ShareIcon,c as SharePopupComponent,Y as TabBar,X as ThemeSync,Z as TopNavBarServer,M as UserActivityList,N as UserActivityListItem,P as UserActivityMediaGrid,e as UserActivityMediaPreview,Q as UserInfoInitializer,I as VideoList,F as VideoListItem,$ as WaitLoading,L as WaterfallRecommend,U as closePhotoPreview,l as defaultActions,u as defaultPlatforms,W as photoPreview,t as useMediaPreview};
2
+ import{MediaPreview as e,useMediaPreview as t}from"./components/common/media-preview/index.mjs";import{CollectionPopupComponent as n,CollectionPopupHost as r}from"./components/common/collection-popup/index.mjs";import i from"./components/common/share-popup/share-content.mjs";import{ShareDrawer as a}from"./components/common/share-popup/share-drawer.mjs";import{IntlProvider as o}from"./components/common/intl-provider/intl-provider.mjs";import{SharePopupComponent as s,defaultActions as c,defaultPlatforms as l}from"./components/common/share-popup/share-popup.mjs";import u from"./components/common/video-player/index.mjs";import{AnalyticsInit as d}from"./components/common/analytics-init/analytics-init.mjs";import{BlockedDialog as f}from"./components/common/blocked-dialog/blocked-dialog.mjs";import{MiniThreeCard as p}from"./components/common/cards/mini-three-card.mjs";import{DebugLocaleSwitcher as m}from"./components/common/debug-locale-switcher/index.mjs";import{DeleteConfirmDialog as h}from"./components/common/delete-confirm-dialog/delete-confirm-dialog.mjs";import g from"./components/common/empty/index.mjs";import{FunhubProvider as _}from"./components/common/funhub-provider/funhub-provider.mjs";import{LeftArrowIcon as v}from"./components/common/icons/left-arrow.mjs";import{HeaderNav as y}from"./components/common/header-nav/client.mjs";import{AddIcon as b}from"./components/common/icons/add.mjs";import{CommentIcon as x}from"./components/common/icons/comment.mjs";import{DeleteIcon as S}from"./components/common/icons/delete.mjs";import{MoreIcon as C}from"./components/common/icons/more.mjs";import{RightArrowIcon as w}from"./components/common/icons/right-arrow.mjs";import{SettingIcon as T}from"./components/common/icons/setting.mjs";import{ShareIcon as E}from"./components/common/icons/share.mjs";import{CollectionListItem as D}from"./components/common/list/collection-list/collection-list-item.mjs";import{CollectionList as O}from"./components/common/list/collection-list/collection-list.mjs";import{PostListItem as k}from"./components/common/list/post-list/post-list-item.mjs";import{PostList as A}from"./components/common/list/post-list/post-list.mjs";import{UserActivityList as j}from"./components/common/list/user-activity-list/user-activity-list.mjs";import{UserActivityListItem as M,UserActivityMediaGrid as N}from"./components/common/list/user-activity-list/user-activity-list-item.mjs";import{VideoListItem as P}from"./components/common/list/video-list/video-list-item.mjs";import{VideoList as F}from"./components/common/list/video-list/video-list.mjs";import{LocaleSync as I}from"./components/common/locale-sync/locale-sync.mjs";import{LoginDialog as L}from"./components/common/login-dialog/login-dialog.mjs";import{PageSkeleton as R}from"./components/common/page-skeleton/page-skeleton.mjs";import z from"./components/common/photo-grid/index.mjs";import B from"./components/common/photo-grid/common-photo-grid.mjs";import{closePhotoPreview as V,photoPreview as H}from"./components/common/photo-preview/index.mjs";import{GenderPicker as U}from"./components/common/picker/gender-picker/gender-picker.mjs";import W from"./components/common/popup-video/index.mjs";import{SeriesEpisodes as G}from"./components/common/series-episodes/index.mjs";import{TabBar as K}from"./components/common/tab-bar/index.mjs";import{ThemeSync as q}from"./components/common/theme-sync/index.mjs";import{TopNavBarServer as J}from"./components/common/top-nav-bar/index.mjs";import{UserInfoInitializer as Y}from"./components/common/user-info-initializer/index.mjs";import{WaitLoading as X}from"./components/common/wait-loading.mjs";export{b as AddIcon,d as AnalyticsInit,f as BlockedDialog,O as CollectionList,D as CollectionListItem,n as CollectionPopupComponent,r as CollectionPopupHost,x as CommentIcon,B as CommonPhotoGrid,u as CommonPlayer,m as DebugLocaleSwitcher,h as DeleteConfirmDialog,S as DeleteIcon,g as Empty,_ as FunhubProvider,U as GenderPicker,y as HeaderNav,o as IntlProvider,v as LeftArrowIcon,I as LocaleSync,L as LoginDialog,e as MediaPreview,p as MiniThreeCard,C as MoreIcon,R as PageSkeleton,z as PhotoGrid,W as PopupVideo,A as PostList,k as PostListItem,w as RightArrowIcon,G as SeriesEpisodes,T as SettingIcon,i as ShareContent,a as ShareDrawer,E as ShareIcon,s as SharePopupComponent,K as TabBar,q as ThemeSync,J as TopNavBarServer,j as UserActivityList,M as UserActivityListItem,N as UserActivityMediaGrid,e as UserActivityMediaPreview,Y as UserInfoInitializer,F as VideoList,P as VideoListItem,X as WaitLoading,V as closePhotoPreview,c as defaultActions,l as defaultPlatforms,H as photoPreview,t as useMediaPreview};
@@ -1,2 +1,2 @@
1
1
 
2
- import{getCookie as e}from"../../../../utils/common.mjs";import{getOrCreateDeviceId as t}from"../../../../utils/device-id.mjs";const n=process.env.NEXT_PUBLIC_APP_CODE||`APP001`;async function r(n){let r=n.userId??await e(`userId`),i=n.deviceId??t();return{...n,userId:r||void 0,deviceId:i||void 0}}function i(e){return e?.trim()||n}function a(e){let t=e?.adExtData;if(!t)return{};try{let e=JSON.parse(t);return typeof e==`object`&&e?e:{}}catch{return{}}}function o(e){return[...e??[]].sort((e,t)=>Number(e?.sort??0)-Number(t?.sort??0))}function s(e){return!!(e?.hit&&Array.isArray(e.materials)&&e.materials.length>0)}function c(e){return o(e?.materials).find(e=>!!(e?.advertiseIcon&&e?.advertiseUrl))}function l(e){let t=c(e);if(t)return{materialUrl:t.advertiseIcon||``,jumpUrl:t.advertiseUrl||``,name:t.advertiseName||``}}function u(e){let t=o(e?.materials).filter(e=>e.advertiseIcon&&e.advertiseUrl).map(e=>({title:a(e).title||e.advertiseName||``,icon:e.advertiseIcon||``,jumpUrl:e.advertiseUrl||``,badgeText:`广告`})).filter(e=>e.title&&e.icon&&e.jumpUrl);return{displayCount:m(e?.config,t.length),items:t}}function d(e){let t=o(e?.materials).map(e=>({text:e.advertiseName||e.advertiseDesc||``,jumpUrl:e.advertiseUrl||``})).filter(e=>e.text);return{displayCount:m(e?.config,t.length),items:t}}function f(e){let t=o(e?.materials).filter(e=>e.advertiseIcon&&e.advertiseUrl),n=t.map(e=>{let t=a(e);return{coverUrl:e.advertiseIcon||``,jumpUrl:e.advertiseUrl||``,title:t.title||e.advertiseName||``}}).filter(e=>e.coverUrl&&e.jumpUrl);return{displayCount:m(e?.config,n.length),switchInterval:h(e?.config,t),styleSize:g(e?.config,t),items:n}}function p(e){return o(e?.materials).map(e=>{let t=a(e);return{id:e.advertiseCode||``,title:t.title||e.advertiseName||``,jumpUrl:e.advertiseUrl||``,materialUrl:e.advertiseIcon||``,desc:e.advertiseDesc||``}}).filter(e=>e.id&&e.materialUrl&&e.jumpUrl)}function m(e,t=0){let n=Number(e?.displayCount??t);return!Number.isFinite(n)||n<=0?t:Math.min(Math.floor(n),t)}function h(e,t){let n=a(t?.[0]),r=Number(e?.switchInterval??n.switchInterval??3e3);return!Number.isFinite(r)||r<=0?3e3:r}function g(e,t){let n=a(t?.[0]),r=String(e?.styleSize??n.styleSize??`large`);return r===`small`||r===`medium`||r===`large`?r:`large`}export{f as adaptBannerAdProps,l as adaptFloatingAdItem,u as adaptIconAdProps,p as adaptPopupAdMaterials,d as adaptTextAdProps,r as buildAdsMatchRequest,c as getFirstMatchedMaterial,s as hasMatchedAds,a as parseAdsMatchExtData,i as resolveAdsAppCode,o as sortAdsMatchMaterials};
2
+ import{getCookie as e}from"../../../../utils/common.mjs";import{getOrCreateDeviceId as t}from"../../../../utils/device-id.mjs";const n=process.env.NEXT_PUBLIC_APP_CODE||`APP001`;async function r(n){let r=n.userId??await e(`userId`),i=n.deviceId??t();return{...n,userId:r||void 0,deviceId:i||void 0}}function i(e){return e?.trim()||n}function a(e){let t=e?.adExtData;if(!t)return{};try{let e=JSON.parse(t);return typeof e==`object`&&e?e:{}}catch{return{}}}function o(e){return[...e??[]].sort((e,t)=>Number(e?.sort??0)-Number(t?.sort??0))}function s(e){return!!(e?.hit&&Array.isArray(e.materials)&&e.materials.length>0)}function c(e){return o(e?.materials).find(e=>!!(e?.advertiseIcon&&e?.advertiseUrl))}function l(e){let t=c(e);if(t)return{materialUrl:t.advertiseIcon||``,jumpUrl:t.advertiseUrl||``,name:t.advertiseName||``}}function u(e){let t=o(e?.materials).filter(e=>e.advertiseIcon&&e.advertiseUrl).map(e=>({title:a(e).title||e.advertiseName||``,icon:e.advertiseIcon||``,jumpUrl:e.advertiseUrl||``,badgeText:`广告`})).filter(e=>e.title&&e.icon&&e.jumpUrl);return{displayCount:m(e?.config,t.length),items:t}}function d(e){let t=o(e?.materials).map(e=>({text:e.advertiseName||e.advertiseDesc||``,jumpUrl:e.advertiseUrl||``})).filter(e=>e.text);return{displayCount:m(e?.config,t.length),items:t}}function f(e){let t=o(e?.materials).filter(e=>e.advertiseIcon&&e.advertiseUrl),n=t.map(e=>{let t=a(e);return{coverUrl:e.advertiseIcon||``,jumpUrl:e.advertiseUrl||``,title:t.title||e.advertiseName||``}}).filter(e=>e.coverUrl&&e.jumpUrl);return{displayCount:m(e?.config,n.length),switchInterval:h(e?.config,t),styleSize:g(e?.config,t),items:n}}function p(e){return o(e?.materials).map(e=>{let t=a(e);return{id:e.advertiseCode||``,title:t.title||e.advertiseName||``,jumpUrl:e.advertiseUrl||``,materialUrl:e.advertiseIcon||``,desc:e.advertiseDesc||``}}).filter(e=>e.id&&e.materialUrl&&e.jumpUrl)}function m(e,t=0){let n=Number(e?.displayCount??t);return!Number.isFinite(n)||n<=0?t:Math.min(Math.floor(n),t)}function h(e,t){let n=a(t?.[0]),r=Number(e?.switchInterval??n.switchInterval??3e3);return!Number.isFinite(r)||r<=0?3e3:r}function g(e,t){let n=a(t?.[0]),r=String(e?.styleSize??n.styleSize??`large`);return r===`700x400`||r===`700x200`||r===`720x150`||r===`720x300`?r:r===`small`?`720x150`:r===`medium`?`700x200`:`700x400`}export{f as adaptBannerAdProps,l as adaptFloatingAdItem,u as adaptIconAdProps,p as adaptPopupAdMaterials,d as adaptTextAdProps,r as buildAdsMatchRequest,c as getFirstMatchedMaterial,s as hasMatchedAds,a as parseAdsMatchExtData,i as resolveAdsAppCode,o as sortAdsMatchMaterials};
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{Image as e}from"../../../../ui/image.mjs";import{Box as t}from"../../../../ui/box.mjs";import{Carousel as n,CarouselContent as r,CarouselItem as i}from"../../../../ui/carousel.mjs";import{Text as a}from"../../../../ui/text.mjs";import o from"../../../../ui/link.mjs";import{adaptBannerAdProps as s,hasMatchedAds as c}from"../ad-match.mjs";import{useAdProvider as l}from"../ad-provider.mjs";import u from"clsx";import{useEffect as d,useMemo as f,useRef as p,useState as m}from"react";import{jsx as h,jsxs as g}from"react/jsx-runtime";const _={small:{minHeight:`140px`,aspectRatio:`2.3 / 1`},medium:{minHeight:`180px`,aspectRatio:`2 / 1`},large:{aspectRatio:`7 / 4`}};function v({mode:v=`renderer`,displayCount:y,switchInterval:b=3e3,styleSize:x=`large`,items:S,pointerEventsDisabled:C=!1}){let w=l(),T=f(()=>c(w?.matchData)?s(w?.matchData):{displayCount:y,switchInterval:b,styleSize:x,items:S},[w?.matchData,y,S,x,b]),[E,D]=m(),[O,k]=m(0),A=p(null),j=f(()=>typeof T.displayCount==`number`?T.items.slice(0,Math.max(T.displayCount,0)):T.items,[T]);if(d(()=>{if(!E||j.length<=1)return;let e=()=>{k(E.selectedScrollSnap())};return E.on(`select`,e),e(),()=>{E.off(`select`,e)}},[E,j.length]),d(()=>{if(!(!E||j.length<=1))return A.current=setInterval(()=>{if(E.canScrollNext()){E.scrollNext();return}E.scrollTo(0)},T.switchInterval??3e3),()=>{A.current&&=(clearInterval(A.current),null)}},[E,T.switchInterval,j.length]),j.length===0)return null;let M=T.styleSize??`large`,N=_[M];return h(t,{as:`section`,className:`w-full px-[12px] py-[12px]`,"aria-label":`Banner 广告`,style:{pointerEvents:C?`none`:void 0},children:g(n,{setApi:D,opts:{align:`start`,loop:j.length>1},className:`w-full`,children:[h(r,{className:`ml-0`,children:j.map((n,r)=>h(i,{className:`pl-0`,children:g(o,{href:n.jumpUrl,className:u(`relative block w-full overflow-hidden bg-white`),style:{minHeight:N.minHeight,aspectRatio:N.aspectRatio,borderRadius:`10px`},children:[h(t,{className:`absolute inset-0`,children:h(e,{src:n.coverUrl,alt:n.title||`Banner 广告`,fill:!0,className:`object-cover object-center`,unoptimized:!0})}),h(t,{className:`absolute inset-x-0 bottom-0`,style:{height:`28%`,background:`linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%)`,opacity:.84}}),h(t,{className:`absolute right-0 top-0 overflow-hidden`,style:{width:`56px`,height:`25px`,backgroundColor:`rgba(255, 255, 255, 0.16)`,borderBottomLeftRadius:`8px`},children:h(a,{className:`flex h-full items-center justify-center text-white`,style:{fontSize:`12px`,lineHeight:`normal`,fontWeight:400},children:`广告`})}),n.title?h(a,{className:`absolute line-clamp-2 text-white`,style:{left:`16px`,bottom:`16px`,maxWidth:`calc(100% - 120px)`,fontSize:M===`large`?`14px`:M===`medium`?`26px`:`20px`,lineHeight:`normal`,fontWeight:500},children:n.title}):null]})},`${n.jumpUrl}-${r}`))}),j.length>1?h(t,{className:`pointer-events-none absolute bottom-[18px] right-[16px] z-10 flex items-center gap-[6px]`,children:j.map((e,n)=>h(t,{className:`rounded-full transition-all duration-300`,style:{width:n===O?`16px`:`8px`,height:`8px`,backgroundColor:n===O?`#FFFFFF`:`rgba(255, 255, 255, 0.78)`}},n))}):null]})})}export{v as BannerAd};
2
+ "use client";import{Image as e}from"../../../../ui/image.mjs";import{Box as t}from"../../../../ui/box.mjs";import{Carousel as n,CarouselContent as r,CarouselItem as i}from"../../../../ui/carousel.mjs";import{Text as a}from"../../../../ui/text.mjs";import o from"../../../../ui/link.mjs";import{adaptBannerAdProps as s,hasMatchedAds as c}from"../ad-match.mjs";import{useAdProvider as l}from"../ad-provider.mjs";import{bannerAdInspectorDefaultProps as u}from"./schema.mjs";import d from"clsx";import{useEffect as f,useMemo as p,useRef as m,useState as h}from"react";import{jsx as g,jsxs as _}from"react/jsx-runtime";const v={"700x400":{minHeight:`400px`,aspectRatio:`7 / 4`,titleFontSize:`14px`},"700x200":{minHeight:`200px`,aspectRatio:`7 / 2`,titleFontSize:`14px`},"720x150":{minHeight:`150px`,aspectRatio:`24 / 5`,titleFontSize:`12px`},"720x300":{minHeight:`300px`,aspectRatio:`12 / 5`,titleFontSize:`14px`}},y=[{coverUrl:`/static/components-resource/banner.png`,jumpUrl:`/search`,title:`Banner 广告一`},{coverUrl:`/static/components-resource/banner.png`,jumpUrl:`/search`,title:`Banner 广告二`},{coverUrl:`/static/components-resource/banner.png`,jumpUrl:`/search`,title:`Banner 广告三`},{coverUrl:`/static/components-resource/banner.png`,jumpUrl:`/search`,title:`Banner 广告四`},{coverUrl:`/static/components-resource/banner.png`,jumpUrl:`/search`,title:`Banner 广告五`}];function b(e,t){return Array.isArray(e)&&e.length>0?e:t??[]}function x(e,t){return typeof e==`number`&&e>0?e:t}function S(e,t){return typeof e==`number`&&e>0?e:t}function C(e,t){return e??t}function w({mode:w=`renderer`,displayCount:T,switchInterval:E=3e3,styleSize:D=`700x400`,items:O,pointerEventsDisabled:k=!1}){let A=w===`editor`?{displayCount:x(T,u.displayCount),switchInterval:S(E,u.switchInterval),styleSize:C(D,u.styleSize),items:b(O,y)}:{displayCount:T,switchInterval:E,styleSize:D,items:O},j=l(),M=p(()=>c(j?.matchData)?s(j?.matchData):{displayCount:A.displayCount,switchInterval:A.switchInterval,styleSize:A.styleSize,items:A.items},[j?.matchData,A.displayCount,A.items,A.styleSize,A.switchInterval]),[N,P]=h(),[F,I]=h(0),L=m(null),R=p(()=>typeof M.displayCount==`number`?M.items.slice(0,Math.max(M.displayCount,0)):M.items,[M]);if(f(()=>{if(!N||R.length<=1)return;let e=()=>{I(N.selectedScrollSnap())};return N.on(`select`,e),e(),()=>{N.off(`select`,e)}},[N,R.length]),f(()=>{if(!(!N||R.length<=1))return L.current=setInterval(()=>{if(N.canScrollNext()){N.scrollNext();return}N.scrollTo(0)},M.switchInterval??3e3),()=>{L.current&&=(clearInterval(L.current),null)}},[N,M.switchInterval,R.length]),R.length===0)return null;let z=v[M.styleSize??`700x400`];return g(t,{as:`section`,className:`w-full px-[12px] py-[12px]`,"aria-label":`Banner 广告`,style:{pointerEvents:k?`none`:void 0},children:_(n,{setApi:P,opts:{align:`start`,loop:R.length>1},className:`w-full`,children:[g(r,{className:`ml-0`,children:R.map((n,r)=>g(i,{className:`pl-0`,children:_(o,{href:n.jumpUrl,className:d(`relative block w-full overflow-hidden bg-white`),style:{minHeight:z.minHeight,aspectRatio:z.aspectRatio,borderRadius:`10px`},children:[g(t,{className:`absolute inset-0`,children:g(e,{src:n.coverUrl,alt:n.title||`Banner 广告`,fill:!0,className:`object-cover object-center`,unoptimized:!0})}),g(t,{className:`absolute inset-x-0 bottom-0`,style:{height:`28%`,background:`linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%)`,opacity:.84}}),g(t,{className:`absolute right-0 top-0 overflow-hidden`,style:{width:`56px`,height:`25px`,backgroundColor:`rgba(255, 255, 255, 0.16)`,borderBottomLeftRadius:`8px`},children:g(a,{className:`flex h-full items-center justify-center text-white`,style:{fontSize:`12px`,lineHeight:`normal`,fontWeight:400},children:`广告`})}),n.title?g(a,{className:`absolute line-clamp-2 text-white`,style:{left:`16px`,bottom:`16px`,maxWidth:`calc(100% - 120px)`,fontSize:z.titleFontSize,lineHeight:`normal`,fontWeight:500},children:n.title}):null]})},`${n.jumpUrl}-${r}`))}),R.length>1?g(t,{className:`pointer-events-none absolute bottom-[18px] right-[16px] z-10 flex items-center gap-[6px]`,children:R.map((e,n)=>g(t,{className:`rounded-full transition-all duration-300`,style:{width:n===F?`16px`:`8px`,height:`8px`,backgroundColor:n===F?`#FFFFFF`:`rgba(255, 255, 255, 0.78)`}},n))}):null]})})}export{w as BannerAd};
@@ -14,12 +14,12 @@ import * as zod_v4_core0 from "zod/v4/core";
14
14
  declare const bannerAdMaterial: DefineMaterialOption<typeof BannerAdServer, typeof BannerAd, zod.ZodObject<{
15
15
  readonly displayCount: zod.ZodNumber & SchemaHasDefaultValue;
16
16
  readonly switchInterval: zod.ZodNumber & SchemaHasDefaultValue;
17
- readonly styleSize: zod.ZodType<"medium" | "small" | "large", unknown, zod_v4_core0.$ZodTypeInternals<"medium" | "small" | "large", unknown>> & SchemaHasDefaultValue;
17
+ readonly styleSize: zod.ZodType<"700x400" | "700x200" | "720x150" | "720x300", unknown, zod_v4_core0.$ZodTypeInternals<"700x400" | "700x200" | "720x150" | "720x300", unknown>> & SchemaHasDefaultValue;
18
18
  readonly items: zod.ZodArray<zod.ZodObject<{
19
19
  coverUrl: zod.ZodString & SchemaHasDefaultValue;
20
20
  jumpUrl: zod.ZodString & SchemaHasDefaultValue;
21
21
  title: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
22
- }, zod_v4_core0.$strip>> & SchemaHasDefaultValue;
22
+ }, zod_v4_core0.$strip>>;
23
23
  } & {
24
24
  mode: zod.ZodOptional<zod.ZodEnum<{
25
25
  renderer: "renderer";
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{BannerAd as t}from"./client.mjs";import{bannerAdInspectorPropsSchema as n}from"./schema.mjs";import{BannerAdServer as r}from"./server.mjs";const i=e({type:`banner-ad`,name:`Banner广告`,icon:`/static/components-thumb/carousel_banner.png`,category:`广告组件`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as bannerAdMaterial};
2
+ import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{bannerAdInspectorPropsSchema as t}from"./schema.mjs";import{BannerAd as n}from"./client.mjs";import{BannerAdServer as r}from"./server.mjs";const i=e({type:`banner-ad`,name:`Banner广告`,icon:`/static/components-thumb/carousel_banner.png`,category:`广告组件`,serverComponent:r,clientComponent:n,propsSchema:t});export{i as bannerAdMaterial};
@@ -8,7 +8,7 @@ import z$1 from "zod";
8
8
  /**
9
9
  * Banner 尺寸选项。
10
10
  */
11
- declare const bannerAdStyleSizeOptions: readonly ["small", "medium", "large"];
11
+ declare const bannerAdStyleSizeOptions: readonly ["700x400", "700x200", "720x150", "720x300"];
12
12
  /**
13
13
  * Banner 广告样式尺寸。
14
14
  */
@@ -36,12 +36,12 @@ interface BannerAdItem {
36
36
  declare const bannerAdInspectorPropsSchema: z$1.ZodObject<{
37
37
  readonly displayCount: z$1.ZodNumber & SchemaHasDefaultValue;
38
38
  readonly switchInterval: z$1.ZodNumber & SchemaHasDefaultValue;
39
- readonly styleSize: z$1.ZodType<"medium" | "small" | "large", unknown, z$1.core.$ZodTypeInternals<"medium" | "small" | "large", unknown>> & SchemaHasDefaultValue;
39
+ readonly styleSize: z$1.ZodType<"700x400" | "700x200" | "720x150" | "720x300", unknown, z$1.core.$ZodTypeInternals<"700x400" | "700x200" | "720x150" | "720x300", unknown>> & SchemaHasDefaultValue;
40
40
  readonly items: z$1.ZodArray<z$1.ZodObject<{
41
41
  coverUrl: z$1.ZodString & SchemaHasDefaultValue;
42
42
  jumpUrl: z$1.ZodString & SchemaHasDefaultValue;
43
43
  title: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
44
- }, z$1.core.$strip>> & SchemaHasDefaultValue;
44
+ }, z$1.core.$strip>>;
45
45
  } & {
46
46
  mode: z$1.ZodOptional<z$1.ZodEnum<{
47
47
  renderer: "renderer";
@@ -51,12 +51,7 @@ declare const bannerAdInspectorPropsSchema: z$1.ZodObject<{
51
51
  declare const bannerAdInspectorDefaultProps: {
52
52
  readonly displayCount: number;
53
53
  readonly switchInterval: number;
54
- readonly styleSize: "medium" | "small" | "large";
55
- readonly items: {
56
- coverUrl: string;
57
- jumpUrl: string;
58
- title?: string | undefined;
59
- }[];
54
+ readonly styleSize: "700x400" | "700x200" | "720x150" | "720x300";
60
55
  };
61
56
  type BannerAdInspectorProps<T extends object = object> = InferSchemaProps<typeof bannerAdInspectorPropsSchema> & T;
62
57
  /**
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"../../../../../utils/schema/schema.mjs";import n from"zod";const r=[`small`,`medium`,`large`],i=e(e=>({displayCount:e.number(1,{label:`轮播数量`,required:!0}).refine(e=>e>=1&&e<=5,`轮播数量必须为 1-5`),switchInterval:e.number(3e3,{label:`轮播切换时间`,required:!0}),styleSize:e.enum(r,`large`,{label:`样式尺寸选择`,required:!0}),items:e.array(n.object({coverUrl:e.string(``,{label:`封面图`,required:!0}),jumpUrl:e.string(``,{label:`跳转链接`,required:!0}),title:e.string(`Banner 广告`,{label:`标题`,required:!1})}),{label:`Banner 列表`,required:!0,defaultValue:[{coverUrl:`/static/components-resource/banner.png`,jumpUrl:`/search`,title:`Banner 广告一`},{coverUrl:`/static/components-resource/banner.png`,jumpUrl:`/search`,title:`Banner 广告二`}]})})),a=t(i);export{a as bannerAdInspectorDefaultProps,i as bannerAdInspectorPropsSchema,r as bannerAdStyleSizeOptions};
2
+ import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"../../../../../utils/schema/schema.mjs";import n from"zod";const r=[`700x400`,`700x200`,`720x150`,`720x300`],i=e(e=>({displayCount:e.number(1,{label:`轮播数量`,required:!0}).refine(e=>e>=1&&e<=5,`轮播数量必须为 1-5`),switchInterval:e.number(3e3,{label:`轮播切换时间`,required:!0}),styleSize:e.enum(r,`700x400`,{label:`样式尺寸选择`,required:!0}),items:e.array(n.object({coverUrl:e.string(``,{label:`封面图`,required:!0}),jumpUrl:e.string(``,{label:`跳转链接`,required:!0}),title:e.string(`Banner 广告`,{label:`标题`,required:!1})}),{label:`Banner 列表`,required:!0})})),a=t(i);export{a as bannerAdInspectorDefaultProps,i as bannerAdInspectorPropsSchema,r as bannerAdStyleSizeOptions};
@@ -5,11 +5,41 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
  /**
6
6
  * 信息流广告项最小识别结构。
7
7
  */
8
+ interface FeedAdPayloadLike {
9
+ /**
10
+ * 广告业务编码。
11
+ */
12
+ ad_code?: string;
13
+ /**
14
+ * 广告跳转链接。
15
+ */
16
+ ad_advertise_url?: string;
17
+ /**
18
+ * 广告素材地址。
19
+ */
20
+ ad_advertise_icon?: string;
21
+ /**
22
+ * 广告类型。
23
+ */
24
+ ad_advertise_type?: number;
25
+ /**
26
+ * 广告文案描述。
27
+ */
28
+ ad_advertise_desc?: string;
29
+ /**
30
+ * 广告扩展字段。
31
+ */
32
+ ad_ext_data?: string;
33
+ }
8
34
  interface FeedAdItemLike {
9
35
  /**
10
36
  * 是否广告。
11
37
  */
12
38
  is_ad?: boolean;
39
+ /**
40
+ * 新版广告对象。
41
+ */
42
+ ad?: FeedAdPayloadLike;
13
43
  /**
14
44
  * 广告跳转链接。
15
45
  */
@@ -36,4 +66,4 @@ declare function getFeedAdIcon(item: FeedAdItemLike | null | undefined): string;
36
66
  */
37
67
  declare function FeedAdBadge(): react_jsx_runtime0.JSX.Element;
38
68
  //#endregion
39
- export { FeedAdBadge, FeedAdItemLike, getFeedAdIcon, getFeedAdJumpUrl, isFeedAdItem };
69
+ export { FeedAdBadge, FeedAdItemLike, FeedAdPayloadLike, getFeedAdIcon, getFeedAdJumpUrl, isFeedAdItem };
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{Text as e}from"../../../../ui/text.mjs";import{jsx as t}from"react/jsx-runtime";function n(e){return e?.is_ad===!0}function r(e){return e?.ad_advertise_url||``}function i(e){return e?.ad_advertise_icon||``}function a(){return t(e,{className:`inline-flex rounded-[10px] bg-black/65 px-[6px] py-[2px] text-[10px] leading-[14px] text-white`,children:`广告`})}export{a as FeedAdBadge,i as getFeedAdIcon,r as getFeedAdJumpUrl,n as isFeedAdItem};
2
+ "use client";import{Text as e}from"../../../../ui/text.mjs";import{jsx as t}from"react/jsx-runtime";function n(e){return e?.is_ad===!0}function r(e){return e?.ad?.ad_advertise_url||``}function i(e){return e?.ad?.ad_advertise_icon||``}function a(){return t(e,{className:`inline-flex rounded-[10px] bg-black/65 px-[6px] py-[2px] text-[10px] leading-[14px] text-white`,children:`广告`})}export{a as FeedAdBadge,i as getFeedAdIcon,r as getFeedAdJumpUrl,n as isFeedAdItem};
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{Image as e}from"../../../../ui/image.mjs";import{Box as t}from"../../../../ui/box.mjs";import n from"../../../../ui/link.mjs";import{adaptFloatingAdItem as r}from"../ad-match.mjs";import{useAdProvider as i}from"../ad-provider.mjs";import{useMemo as a}from"react";import{jsx as o}from"react/jsx-runtime";function s({mode:s=`renderer`,ad:c,materialUrl:l,jumpUrl:u,name:d,bottomOffset:f=100,rightOffset:p=20,pointerEventsDisabled:m=!1,onClick:h}){let g=i(),_=a(()=>{let e=c??{materialUrl:l||``,jumpUrl:u||``,name:d};return r(g?.matchData)??e},[c,g?.matchData,u,l,d]);if(!_.materialUrl||!_.jumpUrl)return null;let v=o(t,{className:`relative flex h-full w-full overflow-hidden`,style:{borderRadius:`8px`},"aria-label":_.name||`悬浮广告`,children:o(t,{className:`absolute inset-0`,children:o(e,{src:_.materialUrl,alt:_.name||`悬浮广告`,fill:!0,className:`object-cover object-center`,unoptimized:!0})})}),y={bottom:`${f}px`,right:`${p}px`,width:`75px`,height:`75px`,pointerEvents:m?`none`:void 0};return h?o(t,{className:`fixed z-50 block cursor-pointer`,style:y,onClick:h,children:v}):o(n,{href:_.jumpUrl,className:`fixed z-50 block`,style:y,children:v})}export{s as FloatingAd};
2
+ "use client";import{Image as e}from"../../../../ui/image.mjs";import{Box as t}from"../../../../ui/box.mjs";import n from"../../../../ui/link.mjs";import{adaptFloatingAdItem as r}from"../ad-match.mjs";import{useAdProvider as i}from"../ad-provider.mjs";import{floatingAdInspectorDefaultProps as a}from"./schema.mjs";import{useMemo as o}from"react";import{jsx as s}from"react/jsx-runtime";function c(e,t){return e&&e.trim()?e:t}function l({mode:l=`renderer`,ad:u,materialUrl:d,jumpUrl:f,name:p,bottomOffset:m=100,rightOffset:h=20,pointerEventsDisabled:g=!1,onClick:_}){let v=l===`editor`?{materialUrl:c(d,a.materialUrl),jumpUrl:c(f,a.jumpUrl),name:c(p,a.name)}:{materialUrl:d,jumpUrl:f,name:p},y=i(),b=o(()=>{let e=u??{materialUrl:v.materialUrl||``,jumpUrl:v.jumpUrl||``,name:v.name};return r(y?.matchData)??e},[u,y?.matchData,v.jumpUrl,v.materialUrl,v.name]);if(!b.materialUrl||!b.jumpUrl)return null;let x=s(t,{className:`relative flex h-full w-full overflow-hidden`,style:{borderRadius:`8px`},"aria-label":b.name||`悬浮广告`,children:s(t,{className:`absolute inset-0`,children:s(e,{src:b.materialUrl,alt:b.name||`悬浮广告`,fill:!0,className:`object-cover object-center`,unoptimized:!0})})}),S={bottom:`${m}px`,right:`${h}px`,width:`75px`,height:`75px`,pointerEvents:g?`none`:void 0};return _?s(t,{className:`fixed z-50 block cursor-pointer`,style:S,onClick:_,children:x}):s(n,{href:b.jumpUrl,className:`fixed z-50 block`,style:S,children:x})}export{l as FloatingAd};
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{FloatingAd as t}from"./client.mjs";import{floatingAdInspectorPropsSchema as n}from"./schema.mjs";import{FloatingAdServer as r}from"./server.mjs";const i=e({type:`floating-ad`,name:`悬浮广告`,icon:`/static/components-thumb/floating_action_button.png`,category:`广告组件`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as floatingAdMaterial};
2
+ import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{floatingAdInspectorPropsSchema as t}from"./schema.mjs";import{FloatingAd as n}from"./client.mjs";import{FloatingAdServer as r}from"./server.mjs";const i=e({type:`floating-ad`,name:`悬浮广告`,icon:`/static/components-thumb/floating_action_button.png`,category:`广告组件`,serverComponent:r,clientComponent:n,propsSchema:t});export{i as floatingAdMaterial};
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{Image as e}from"../../../../ui/image.mjs";import{Box as t}from"../../../../ui/box.mjs";import{Text as n}from"../../../../ui/text.mjs";import r from"../../../../ui/link.mjs";import{adaptIconAdProps as i,hasMatchedAds as a}from"../ad-match.mjs";import{useAdProvider as o}from"../ad-provider.mjs";import{useMemo as s}from"react";import{jsx as c,jsxs as l}from"react/jsx-runtime";function u({mode:u=`renderer`,displayCount:d,items:f,pointerEventsDisabled:p=!1}){let m=o(),h=s(()=>a(m?.matchData)?i(m?.matchData):{displayCount:d,items:f},[m?.matchData,d,f]),g=Math.min(Math.max(h.displayCount,0),Math.min(h.items.length,5)),_=h.items.slice(0,g);return _.length===0?null:c(t,{as:`section`,className:`w-full`,"aria-label":`图标广告`,style:{pointerEvents:p?`none`:void 0},children:c(t,{className:`flex overflow-x-auto`,style:{gap:`8px`,padding:`16px 24px`,backgroundColor:`#131313`,alignItems:`center`,justifyContent:_.length>=5?`space-between`:`flex-start`},children:_.map((i,a)=>c(r,{href:i.jumpUrl,className:`block shrink-0`,style:{width:`100px`},children:l(t,{className:`flex flex-col items-center`,style:{gap:`12px`},children:[c(t,{className:`relative overflow-hidden`,style:{width:`100px`,height:`61px`,borderRadius:`10px`,backgroundColor:`#616161`},children:c(e,{src:i.icon,alt:i.title||`图标广告`,fill:!0,className:`object-cover object-center`,unoptimized:!0})}),c(n,{className:`truncate text-center text-white`,style:{width:`100px`,fontSize:`12px`,lineHeight:1,fontWeight:500},children:i.title}),c(t,{className:`flex items-center justify-center`,style:{minWidth:`35px`,padding:`2px 8px`,borderRadius:`4px`,backgroundColor:`rgba(255, 255, 255, 0.33)`},children:c(n,{className:`whitespace-nowrap text-white`,style:{fontSize:`10px`,lineHeight:`normal`,fontWeight:400},children:i.badgeText||`广告`})})]})},`${i.jumpUrl}-${a}`))})})}export{u as IconAd};
2
+ "use client";import{Image as e}from"../../../../ui/image.mjs";import{Box as t}from"../../../../ui/box.mjs";import{Text as n}from"../../../../ui/text.mjs";import r from"../../../../ui/link.mjs";import{adaptIconAdProps as i,hasMatchedAds as a}from"../ad-match.mjs";import{useAdProvider as o}from"../ad-provider.mjs";import{iconAdInspectorDefaultProps as s}from"./schema.mjs";import{useMemo as c}from"react";import{jsx as l,jsxs as u}from"react/jsx-runtime";const d=[{title:`图标广告1`,icon:`/static/components-resource/banner.png`,jumpUrl:`/search`,badgeText:`广告`},{title:`图标广告2`,icon:`/static/components-resource/banner.png`,jumpUrl:`/search`,badgeText:`广告`},{title:`图标广告3`,icon:`/static/components-resource/banner.png`,jumpUrl:`/search`,badgeText:`广告`},{title:`图标广告4`,icon:`/static/components-resource/banner.png`,jumpUrl:`/search`,badgeText:`广告`},{title:`图标广告5`,icon:`/static/components-resource/banner.png`,jumpUrl:`/search`,badgeText:`广告`}];function f(e,t){return Array.isArray(e)&&e.length>0?e:t??[]}function p(e,t){return typeof e==`number`&&e>0?e:t}function m({mode:m=`renderer`,displayCount:h,items:g,pointerEventsDisabled:_=!1}){let v=m===`editor`?{displayCount:p(h,s.displayCount),items:f(g,d)}:{displayCount:h,items:g},y=o(),b=c(()=>a(y?.matchData)?i(y?.matchData):{displayCount:v.displayCount,items:v.items},[y?.matchData,v.displayCount,v.items]),x=b.displayCount??b.items.length,S=Math.min(Math.max(x,0),Math.min(b.items.length,5)),C=b.items.slice(0,S);return C.length===0?null:l(t,{as:`section`,className:`w-full`,"aria-label":`图标广告`,style:{pointerEvents:_?`none`:void 0},children:l(t,{className:`flex overflow-x-auto`,style:{gap:`8px`,padding:`16px 24px`,backgroundColor:`#131313`,alignItems:`center`,justifyContent:C.length>=5?`space-between`:`flex-start`},children:C.map((i,a)=>l(r,{href:i.jumpUrl,className:`block shrink-0`,style:{width:`100px`},children:u(t,{className:`flex flex-col items-center`,style:{gap:`12px`},children:[l(t,{className:`relative overflow-hidden`,style:{width:`100px`,height:`61px`,borderRadius:`10px`,backgroundColor:`#616161`},children:l(e,{src:i.icon,alt:i.title||`图标广告`,fill:!0,className:`object-cover object-center`,unoptimized:!0})}),l(n,{className:`truncate text-center text-white`,style:{width:`100px`,fontSize:`12px`,lineHeight:1,fontWeight:500},children:i.title}),l(t,{className:`flex items-center justify-center`,style:{minWidth:`35px`,padding:`2px 8px`,borderRadius:`4px`,backgroundColor:`rgba(255, 255, 255, 0.33)`},children:l(n,{className:`whitespace-nowrap text-white`,style:{fontSize:`10px`,lineHeight:`normal`,fontWeight:400},children:i.badgeText||`广告`})})]})},`${i.jumpUrl}-${a}`))})})}export{m as IconAd};
@@ -18,7 +18,7 @@ declare const iconAdMaterial: DefineMaterialOption<typeof IconAdServer, typeof I
18
18
  icon: zod.ZodString & SchemaHasDefaultValue;
19
19
  jumpUrl: zod.ZodString & SchemaHasDefaultValue;
20
20
  badgeText: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
21
- }, zod_v4_core0.$strip>> & SchemaHasDefaultValue;
21
+ }, zod_v4_core0.$strip>>;
22
22
  } & {
23
23
  mode: zod.ZodOptional<zod.ZodEnum<{
24
24
  renderer: "renderer";
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{IconAd as t}from"./client.mjs";import{iconAdInspectorPropsSchema as n}from"./schema.mjs";import{IconAdServer as r}from"./server.mjs";const i=e({type:`icon-ad`,name:`图标广告`,icon:`/static/components-thumb/shortcut_grid_5.png`,category:`广告组件`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as iconAdMaterial};
2
+ import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{iconAdInspectorPropsSchema as t}from"./schema.mjs";import{IconAd as n}from"./client.mjs";import{IconAdServer as r}from"./server.mjs";const i=e({type:`icon-ad`,name:`图标广告`,icon:`/static/components-thumb/shortcut_grid_5.png`,category:`广告组件`,serverComponent:r,clientComponent:n,propsSchema:t});export{i as iconAdMaterial};
@@ -36,7 +36,7 @@ declare const iconAdInspectorPropsSchema: z$1.ZodObject<{
36
36
  icon: z$1.ZodString & SchemaHasDefaultValue;
37
37
  jumpUrl: z$1.ZodString & SchemaHasDefaultValue;
38
38
  badgeText: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
39
- }, z$1.core.$strip>> & SchemaHasDefaultValue;
39
+ }, z$1.core.$strip>>;
40
40
  } & {
41
41
  mode: z$1.ZodOptional<z$1.ZodEnum<{
42
42
  renderer: "renderer";
@@ -45,12 +45,6 @@ declare const iconAdInspectorPropsSchema: z$1.ZodObject<{
45
45
  }, z$1.core.$strip>;
46
46
  declare const iconAdInspectorDefaultProps: {
47
47
  readonly displayCount: number;
48
- readonly items: {
49
- title: string;
50
- icon: string;
51
- jumpUrl: string;
52
- badgeText?: string | undefined;
53
- }[];
54
48
  };
55
49
  type IconAdInspectorProps<T extends object = object> = InferSchemaProps<typeof iconAdInspectorPropsSchema> & T;
56
50
  /**
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"../../../../../utils/schema/schema.mjs";import n from"zod";const r=e(e=>({displayCount:e.number(5,{label:`数量选择`,required:!0}).refine(e=>e>=1&&e<=5,`数量选择必须为 1-5`),items:e.array(n.object({title:e.string(`广告标题`,{label:`标题`,required:!0}),icon:e.string(``,{label:`素材`,required:!0}),jumpUrl:e.string(``,{label:`跳转链接`,required:!0}),badgeText:e.string(`广告`,{label:`广告标识`,required:!1})}),{label:`广告列表`,required:!0,defaultValue:[{title:`图标广告1`,icon:`/static/components-resource/banner.png`,jumpUrl:`/search`,badgeText:`广告`},{title:`图标广告2`,icon:`/static/components-resource/banner.png`,jumpUrl:`/search`,badgeText:`广告`},{title:`图标广告3`,icon:`/static/components-resource/banner.png`,jumpUrl:`/search`,badgeText:`广告`}]})})),i=t(r);export{i as iconAdInspectorDefaultProps,r as iconAdInspectorPropsSchema};
2
+ import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"../../../../../utils/schema/schema.mjs";import n from"zod";const r=e(e=>({displayCount:e.number(5,{label:`数量选择`,required:!0}).refine(e=>e>=1&&e<=5,`数量选择必须为 1-5`),items:e.array(n.object({title:e.string(`广告标题`,{label:`标题`,required:!0}),icon:e.string(``,{label:`素材`,required:!0}),jumpUrl:e.string(``,{label:`跳转链接`,required:!0}),badgeText:e.string(`广告`,{label:`广告标识`,required:!1})}),{label:`广告列表`,required:!0})})),i=t(r);export{i as iconAdInspectorDefaultProps,r as iconAdInspectorPropsSchema};
@@ -11,7 +11,7 @@ import { BannerAd } from "./banner-ad/client.mjs";
11
11
  import { BannerAdServer } from "./banner-ad/server.mjs";
12
12
  import { bannerAdMaterial } from "./banner-ad/material.mjs";
13
13
  import "./banner-ad/index.mjs";
14
- import { FeedAdBadge, FeedAdItemLike, getFeedAdIcon, getFeedAdJumpUrl, isFeedAdItem } from "./feed-ad/index.mjs";
14
+ import { FeedAdBadge, FeedAdItemLike, FeedAdPayloadLike, getFeedAdIcon, getFeedAdJumpUrl, isFeedAdItem } from "./feed-ad/index.mjs";
15
15
  import { FloatingAd } from "./floating-ad/client.mjs";
16
16
  import { FloatingAdServer } from "./floating-ad/server.mjs";
17
17
  import { floatingAdMaterial } from "./floating-ad/material.mjs";
@@ -20,7 +20,7 @@ import { IconAd } from "./icon-ad/client.mjs";
20
20
  import { IconAdServer } from "./icon-ad/server.mjs";
21
21
  import { iconAdMaterial } from "./icon-ad/material.mjs";
22
22
  import "./icon-ad/index.mjs";
23
- import { PopupAdInspectorProps, PopupAdItem, PopupAdProps, popupAdInspectorDefaultProps, popupAdInspectorPropsSchema } from "./popup-ad/schema.mjs";
23
+ import { PopupAdBaseProps, PopupAdInspectorProps, PopupAdItem, PopupAdProps, popupAdInspectorDefaultProps, popupAdInspectorPropsSchema } from "./popup-ad/schema.mjs";
24
24
  import { PopupAd } from "./popup-ad/client.mjs";
25
25
  import { PopupAdServer } from "./popup-ad/server.mjs";
26
26
  import { popupAdMaterial } from "./popup-ad/material.mjs";