@funhub/platform 0.1.34 → 0.1.35

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 (47) hide show
  1. package/dist/assets/icons/search/avatar.mjs +2 -0
  2. package/dist/assets/icons/search/video.mjs +2 -0
  3. package/dist/biz.d.mts +2 -2
  4. package/dist/biz.mjs +1 -1
  5. package/dist/components/biz/business/banner-carousel/material.d.mts +1 -1
  6. package/dist/components/biz/business/banner-carousel/schema.d.mts +1 -1
  7. package/dist/components/biz/business/banner-carousel/schema.mjs +1 -1
  8. package/dist/components/biz/business/header-search/header-avatar-icon/client.d.mts +1 -1
  9. package/dist/components/biz/business/header-search/header-avatar-icon/client.mjs +1 -1
  10. package/dist/components/biz/business/header-search/header-avatar-logo-search/client.d.mts +2 -2
  11. package/dist/components/biz/business/header-search/header-avatar-logo-search/client.mjs +1 -1
  12. package/dist/components/biz/business/header-search/header-avatar-logo-search/material.d.mts +6 -1
  13. package/dist/components/biz/business/header-search/header-avatar-logo-search/material.mjs +1 -1
  14. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.d.mts +8 -3
  15. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +1 -1
  16. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/client.d.mts +2 -2
  17. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/client.mjs +1 -1
  18. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.d.mts +6 -1
  19. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.mjs +1 -1
  20. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.d.mts +5 -2
  21. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.mjs +1 -1
  22. package/dist/components/biz/business/header-search/header-logo-search/client.d.mts +4 -2
  23. package/dist/components/biz/business/header-search/header-logo-search/client.mjs +1 -1
  24. package/dist/components/biz/business/header-search/header-logo-search/material.d.mts +6 -1
  25. package/dist/components/biz/business/header-search/header-logo-search/material.mjs +1 -1
  26. package/dist/components/biz/business/header-search/header-logo-search/schema.d.mts +8 -3
  27. package/dist/components/biz/business/header-search/header-logo-search/schema.mjs +1 -1
  28. package/dist/components/biz/business/header-search/header-search/client.d.mts +1 -1
  29. package/dist/components/biz/business/header-search/header-search/client.mjs +1 -1
  30. package/dist/components/biz/business/header-search/shared/avatar.mjs +2 -0
  31. package/dist/components/biz/business/header-search/shared/logo.mjs +2 -0
  32. package/dist/components/biz/business/header-search/shared/search.mjs +2 -0
  33. package/dist/components/biz/business/index.d.mts +1 -1
  34. package/dist/components/biz/business/index.mjs +1 -1
  35. package/dist/components/biz/business/large-feature-grid/default.mjs +1 -1
  36. package/dist/components/biz/business/profile/index.d.mts +1 -1
  37. package/dist/components/biz/business/profile/profile-header/client.mjs +1 -1
  38. package/dist/components/biz/business/profile/profile-header/index.d.mts +1 -1
  39. package/dist/components/biz/business/profile/profile-header/material.d.mts +4 -6
  40. package/dist/components/biz/business/profile/profile-header/material.mjs +1 -1
  41. package/dist/components/biz/business/profile/profile-header/schema.d.mts +4 -8
  42. package/dist/components/biz/business/profile/profile-header/schema.mjs +1 -1
  43. package/dist/components/ui/image.d.mts +4 -4
  44. package/dist/materials.d.mts +2 -2
  45. package/dist/materials.mjs +1 -1
  46. package/package.json +5 -3
  47. package/theme.css +106 -0
@@ -0,0 +1,2 @@
1
+
2
+ import*as e from"react";const t=t=>e.createElement(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 36 36`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...t},e.createElement(`path`,{d:`M0 18C0 8.05888 8.05888 0 18 0C27.9411 0 36 8.05888 36 18C36 27.9411 27.9411 36 18 36C8.05888 36 0 27.9411 0 18Z`,fill:`#FFDADA`}),e.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M18 23.4219C24.2999 23.4219 27.3841 26.2639 28.7998 29.1133C26.5534 31.6567 21.9492 33.4637 18 33.4619C14.0508 33.4637 9.59061 31.6566 7.2002 29.1133C8.61593 26.2639 11.7001 23.4219 18 23.4219ZM18 7.2002C21.3956 7.2002 24.2997 10.0654 24.2998 13.5986V15.2002C24.2997 18.7344 21.3956 21.5996 18 21.5996C14.6044 21.5996 11.7003 18.7344 11.7002 15.2002V13.5996C11.7003 10.0654 14.6044 7.2002 18 7.2002Z`,fill:`url(#paint0_linear_481_372)`}),e.createElement(`defs`,null,e.createElement(`linearGradient`,{id:`paint0_linear_481_372`,x1:18,y1:7.2002,x2:18,y2:33.4685,gradientUnits:`userSpaceOnUse`},e.createElement(`stop`,{stopColor:`#FD4C5E`,stopOpacity:.4}),e.createElement(`stop`,{offset:1,stopColor:`#FD4C5E`,stopOpacity:.05}))));export{t as default};
@@ -0,0 +1,2 @@
1
+
2
+ import*as e from"react";const t=t=>e.createElement(`svg`,{width:`1em`,height:`1em`,viewBox:`0 0 40 40`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,...t},e.createElement(`path`,{d:`M20 6.66699C22.8099 6.66699 26.7444 6.79839 31.8037 7.06152C34.5425 7.204 36.7579 9.4403 36.9863 12.293C37.2177 15.1823 37.333 17.7275 37.333 19.9277C37.333 22.1551 37.2146 24.7356 36.9775 27.6689C36.7498 30.486 34.5831 32.706 31.8809 32.8906C27.5554 33.186 23.5949 33.333 20 33.333C16.4057 33.333 12.447 33.1858 8.12402 32.8906C5.42266 32.7062 3.25637 30.4877 3.02734 27.6719C2.78722 24.7166 2.667 22.1349 2.66699 19.9277C2.66699 17.7471 2.78416 15.201 3.01855 12.29C3.24816 9.43854 5.4625 7.20403 8.2002 7.06152C13.2572 6.79838 17.1904 6.66699 20 6.66699ZM19.3564 14.6426C18.4178 14.0113 17.1466 14.2604 16.5156 15.1982C16.289 15.5357 16.167 15.9347 16.167 16.3418V23.6719C16.1673 24.8026 17.0843 25.7187 18.2148 25.7188C18.6157 25.7186 19.0092 25.6016 19.3438 25.3809L24.8408 21.7461C25.7254 21.1614 26.0092 20.008 25.5273 19.0889L25.4209 18.9092L25.3008 18.7451C25.1734 18.5886 25.0221 18.4517 24.8545 18.3389L19.3564 14.6426Z`,fill:`url(#paint0_linear_473_1706)`}),e.createElement(`defs`,null,e.createElement(`linearGradient`,{id:`paint0_linear_473_1706`,x1:2.667,y1:8.44469,x2:40.7466,y2:23.8939,gradientUnits:`userSpaceOnUse`},e.createElement(`stop`,{stopColor:`#FD4C5E`}),e.createElement(`stop`,{offset:1,stopColor:`#F05D19`}))));export{t as default};
package/dist/biz.d.mts CHANGED
@@ -98,7 +98,7 @@ import { schema as schema$5 } from "./components/biz/business/post-card/variants
98
98
  import { ProfileHeaderInspectorProps, UserProfileHeaderAuthConfig, UserProfileHeaderClientProps, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema } from "./components/biz/business/profile/profile-header/schema.mjs";
99
99
  import { UserProfileHeaderClient } from "./components/biz/business/profile/profile-header/client.mjs";
100
100
  import { BuildUserProfileHeaderPrefetchParams, UserProfileHeader, UserProfileHeaderProps, buildUserProfileHeaderPrefetch } from "./components/biz/business/profile/profile-header/server.mjs";
101
- import { profileHeaderMaterial } from "./components/biz/business/profile/profile-header/material.mjs";
101
+ import { profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground } from "./components/biz/business/profile/profile-header/material.mjs";
102
102
  import { ProfileMainAuthConfig, ProfileMainInspectorProps, UserProfileMainProps, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema } from "./components/biz/business/profile/profile-main/schema.mjs";
103
103
  import { UserProfileMainClient } from "./components/biz/business/profile/profile-main/client.mjs";
104
104
  import { UserProfileMain } from "./components/biz/business/profile/profile-main/server.mjs";
@@ -156,4 +156,4 @@ import { exampleButtonMaterial } from "./components/biz/example/button/material.
156
156
  import "./components/biz/example/button/index.mjs";
157
157
  import { NodeDocument, PageDocument, PageMeta, Renderer, RendererDocument, RendererMaterial, RendererMode, RendererProps } from "./components/biz/renderer/renderer.mjs";
158
158
  import "./components/biz/renderer/index.mjs";
159
- export { 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, BuildCollectTabPrefetchParams, BuildHistoryTabPrefetchParams, BuildLikeTabPrefetchParams, BuildPublishTabPrefetchParams, BuildUserProfileHeaderPrefetchParams, 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, CollectTabAuthConfig, 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, FieldSchema, FieldType, FilterSearchClient as FilterSearch, FilterSearchBarClient as FilterSearchBar, defaultProps$17 as FilterSearchBarDefaultData, schema$17 as FilterSearchBarSchema, defaultProps$18 as FilterSearchDefaultData, schema$18 as FilterSearchSchema, 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, HistoryTabAuthConfig, HistoryTabProps, HistoryTabServer, HomeRecommendGridClient as HomeRecommendGrid, defaultProps$21 as HomeRecommendGridDefaultData, HomeRecommendGrid as HomeRecommendGridMaterialComponent, schema$21 as HomeRecommendGridSchema, HomeRecommendWaterfallClient as HomeRecommendWaterfall, defaultProps$22 as HomeRecommendWaterfallDefaultData, HomeRecommendWaterfall as HomeRecommendWaterfallMaterialComponent, schema$22 as HomeRecommendWaterfallSchema, LikeDetailItem, LikeTab, LikeTabProps, LikeTabServer, MarqueeClient, MarqueeInspectorProps, MarqueeProps, MarqueeServer, MaterialRegistry, NodeDocument, PageDocument, PageMeta, ProfileHeaderInspectorProps, ProfileMainAuthConfig, ProfileMainInspectorProps, PropDefinition, PropSchema, PublishTab, PublishTabProps, PublishTabServer, PublishTabUserInfo, RawContentData, Renderer, RendererDocument, RendererMaterial, RendererMode, RendererProps, SearchHistoryClient, SearchHistoryInspectorProps, SearchHistoryProps, SearchHistoryServer, SearchInputClient, SearchInputInspectorProps, SearchInputProps, SearchInputServer, SimpleSearchClient as SimpleSearch, defaultProps$23 as SimpleSearchDefaultData, schema$23 as SimpleSearchSchema, StylePropDefinition, StyleSchema, TabBarClient, TabBarInspectorProps, TabBarProps, TabBarServer, TagSearchClient as TagSearch, TagSearchBarClient as TagSearchBar, defaultProps$24 as TagSearchBarDefaultData, schema$24 as TagSearchBarSchema, defaultProps$25 as TagSearchDefaultData, schema$25 as TagSearchSchema, TextRecommendClient, TextRecommendInspectorProps, TextRecommendProps, TextRecommendServer, UserProfileHeader, UserProfileHeaderAuthConfig, UserProfileHeaderClient, UserProfileHeaderClientProps, UserProfileHeaderProps, UserProfileMain, UserProfileMainClient, UserProfileMainProps, UserProfileMainRenderMode, UserProfileMainShell, UserProfileMainShellProps, VideoHorizontalListClient, VideoHorizontalListInspectorProps, VideoHorizontalListProps, VideoHorizontalListServer, basicBannerInspectorDefaultProps, basicBannerInspectorPropsSchema, basicBannerMaterial, buildCollectTabPrefetch, buildContentUrl, buildHistoryTabPrefetch, buildLikeTabPrefetch, buildPublishTabPrefetch, buildUserProfileHeaderPrefetch, buttonInspectorDefaultProps, buttonInspectorPropsSchema, commonStyleSchema, commonStylesToInline, customStylesToInline, exampleButtonMaterial, extractDataByComponentType, floatingBallInspectorDefaultProps, floatingBallInspectorPropsSchema, floatingBallMaterial, getCardSpecConfig, getChannelList, homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema, homeRecommendGridMaterial, homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema, homeRecommendWaterfallMaterial, marqueeInspectorDefaultProps, marqueeInspectorPropsSchema, marqueeMaterial, mergeStyles, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema, profileHeaderMaterial, profileMainCollectCollectionTabOptions, profileMainCollectTabOptions, profileMainHistoryTabOptions, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema, profileMainLikeTabOptions, profileMainMaterial, profileMainMineTabOptions, profileMainProfileTabOptions, profileMainTabOptions, searchHistoryInspectorDefaultProps, searchHistoryInspectorPropsSchema, searchHistoryMaterial, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema, searchInputMaterial, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema, tabBarMaterial, textRecommendInspectorDefaultProps, textRecommendInspectorPropsSchema, textRecommendMaterial, transformContentListToCardItems, transformContentToCardItem, videoHorizontalListInspectorDefaultProps, videoHorizontalListInspectorPropsSchema, videoHorizontalListMaterial };
159
+ export { 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, BuildCollectTabPrefetchParams, BuildHistoryTabPrefetchParams, BuildLikeTabPrefetchParams, BuildPublishTabPrefetchParams, BuildUserProfileHeaderPrefetchParams, 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, CollectTabAuthConfig, 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, FieldSchema, FieldType, FilterSearchClient as FilterSearch, FilterSearchBarClient as FilterSearchBar, defaultProps$17 as FilterSearchBarDefaultData, schema$17 as FilterSearchBarSchema, defaultProps$18 as FilterSearchDefaultData, schema$18 as FilterSearchSchema, 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, HistoryTabAuthConfig, HistoryTabProps, HistoryTabServer, HomeRecommendGridClient as HomeRecommendGrid, defaultProps$21 as HomeRecommendGridDefaultData, HomeRecommendGrid as HomeRecommendGridMaterialComponent, schema$21 as HomeRecommendGridSchema, HomeRecommendWaterfallClient as HomeRecommendWaterfall, defaultProps$22 as HomeRecommendWaterfallDefaultData, HomeRecommendWaterfall as HomeRecommendWaterfallMaterialComponent, schema$22 as HomeRecommendWaterfallSchema, LikeDetailItem, LikeTab, LikeTabProps, LikeTabServer, MarqueeClient, MarqueeInspectorProps, MarqueeProps, MarqueeServer, MaterialRegistry, NodeDocument, PageDocument, PageMeta, ProfileHeaderInspectorProps, ProfileMainAuthConfig, ProfileMainInspectorProps, PropDefinition, PropSchema, PublishTab, PublishTabProps, PublishTabServer, PublishTabUserInfo, RawContentData, Renderer, RendererDocument, RendererMaterial, RendererMode, RendererProps, SearchHistoryClient, SearchHistoryInspectorProps, SearchHistoryProps, SearchHistoryServer, SearchInputClient, SearchInputInspectorProps, SearchInputProps, SearchInputServer, SimpleSearchClient as SimpleSearch, defaultProps$23 as SimpleSearchDefaultData, schema$23 as SimpleSearchSchema, StylePropDefinition, StyleSchema, TabBarClient, TabBarInspectorProps, TabBarProps, TabBarServer, TagSearchClient as TagSearch, TagSearchBarClient as TagSearchBar, defaultProps$24 as TagSearchBarDefaultData, schema$24 as TagSearchBarSchema, defaultProps$25 as TagSearchDefaultData, schema$25 as TagSearchSchema, TextRecommendClient, TextRecommendInspectorProps, TextRecommendProps, TextRecommendServer, UserProfileHeader, UserProfileHeaderAuthConfig, UserProfileHeaderClient, UserProfileHeaderClientProps, UserProfileHeaderProps, UserProfileMain, UserProfileMainClient, UserProfileMainProps, UserProfileMainRenderMode, UserProfileMainShell, UserProfileMainShellProps, VideoHorizontalListClient, VideoHorizontalListInspectorProps, VideoHorizontalListProps, VideoHorizontalListServer, basicBannerInspectorDefaultProps, basicBannerInspectorPropsSchema, basicBannerMaterial, buildCollectTabPrefetch, buildContentUrl, buildHistoryTabPrefetch, buildLikeTabPrefetch, buildPublishTabPrefetch, buildUserProfileHeaderPrefetch, buttonInspectorDefaultProps, buttonInspectorPropsSchema, commonStyleSchema, commonStylesToInline, customStylesToInline, exampleButtonMaterial, extractDataByComponentType, floatingBallInspectorDefaultProps, floatingBallInspectorPropsSchema, floatingBallMaterial, getCardSpecConfig, getChannelList, homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema, homeRecommendGridMaterial, homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema, homeRecommendWaterfallMaterial, marqueeInspectorDefaultProps, marqueeInspectorPropsSchema, marqueeMaterial, mergeStyles, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema, profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground, profileMainCollectCollectionTabOptions, profileMainCollectTabOptions, profileMainHistoryTabOptions, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema, profileMainLikeTabOptions, profileMainMaterial, profileMainMineTabOptions, profileMainProfileTabOptions, profileMainTabOptions, searchHistoryInspectorDefaultProps, searchHistoryInspectorPropsSchema, searchHistoryMaterial, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema, searchInputMaterial, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema, tabBarMaterial, textRecommendInspectorDefaultProps, textRecommendInspectorPropsSchema, textRecommendMaterial, transformContentListToCardItems, transformContentToCardItem, videoHorizontalListInspectorDefaultProps, videoHorizontalListInspectorPropsSchema, videoHorizontalListMaterial };
package/dist/biz.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- import{CARD_SPEC_MAP as e,CardSpec as t,getCardSpecConfig as n}from"./components/biz/utils/constants/card-spec.mjs";import{getChannelList as r}from"./components/biz/utils/helpers/get-channel-list.mjs";import{buildContentUrl as i}from"./components/biz/utils/helpers/url.mjs";import{DataBindingUIMode as a,DataSourceType as o}from"./components/biz/utils/schema/data.mjs";import{commonStylesToInline as s,customStylesToInline as c,mergeStyles as l}from"./components/biz/utils/styles/helpers.mjs";import{commonStyleSchema as u}from"./components/biz/utils/styles/schema.mjs";import{transformContentListToCardItems as d,transformContentToCardItem as f}from"./components/biz/utils/transformers/card-grid.mjs";import{defaultProps as p}from"./components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs";import{schema as m}from"./components/biz/business/banner/variants/basic-banner/schema/index.mjs";import{basicBannerInspectorDefaultProps as h,basicBannerInspectorPropsSchema as g}from"./components/biz/business/banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as _}from"./components/biz/business/banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as v}from"./components/biz/business/banner/variants/basic-banner/material.mjs";import y from"./components/biz/business/banner/variants/basic-banner/index.mjs";import{defaultProps as b}from"./components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as x}from"./components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs";import S from"./components/biz/business/card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as C}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as w}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import T from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as E}from"./components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as D}from"./components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs";import O from"./components/biz/business/card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as k}from"./components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as A}from"./components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs";import j from"./components/biz/business/card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as M}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as N}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import P from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs";import{defaultProps as F}from"./components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as I}from"./components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs";import L from"./components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs";import{FloatingBallClient as R}from"./components/biz/business/floating-ball/client.mjs";import{floatingBallInspectorDefaultProps as z,floatingBallInspectorPropsSchema as B}from"./components/biz/business/floating-ball/schema.mjs";import{FloatingBall as V}from"./components/biz/business/floating-ball/server.mjs";import{floatingBallMaterial as H}from"./components/biz/business/floating-ball/material.mjs";import{defaultProps as U}from"./components/biz/basics/fullscreen-feed/defaults/default-props.mjs";import{BasicFullscreen as W}from"./components/biz/basics/fullscreen-feed/basic-fullscreen.mjs";import{schema as G}from"./components/biz/basics/fullscreen-feed/schema/index.mjs";import K from"./components/biz/basics/fullscreen-feed/index.mjs";import{defaultProps as q}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import{schema as J}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import Y from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as X}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import{schema as Z}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import Q from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{defaultProps as $}from"./components/biz/business/home-recommend/variants/home-recommend-grid/defaults/default-props.mjs";import{defaultProps as ee}from"./components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs";import{defaultProps as te}from"./components/biz/basics/search/variants/basic-search/defaults/default-props.mjs";import{defaultProps as ne}from"./components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{schema as re}from"./components/biz/basics/logo/variants/basic-logo/schema/index.mjs";import ie from"./components/biz/basics/logo/variants/basic-logo/index.mjs";import{defaultProps as ae}from"./components/biz/basics/search/variants/simple-search/defaults/default-props.mjs";import{schema as oe}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 le from"./components/biz/business/search-bar/variants/detail-search-bar/index.mjs";import{schema as ue}from"./components/biz/business/home-recommend/variants/home-recommend-grid/schema/index.mjs";import{homeRecommendGridInspectorDefaultProps as de,homeRecommendGridInspectorPropsSchema as fe}from"./components/biz/business/home-recommend/variants/home-recommend-grid/inspector-schema.mjs";import{HomeRecommendGrid as pe}from"./components/biz/business/home-recommend/variants/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as me}from"./components/biz/business/home-recommend/variants/home-recommend-grid/material.mjs";import he from"./components/biz/business/home-recommend/variants/home-recommend-grid/index.mjs";import{defaultProps as ge}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/defaults/default-props.mjs";import{schema as _e}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/schema/index.mjs";import{homeRecommendWaterfallInspectorDefaultProps as ve,homeRecommendWaterfallInspectorPropsSchema as ye}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs";import{HomeRecommendWaterfall as be}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as xe}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/material.mjs";import Se from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/index.mjs";import{MarqueeClient as Ce}from"./components/biz/business/marquee/client.mjs";import{marqueeInspectorDefaultProps as we,marqueeInspectorPropsSchema as Te}from"./components/biz/business/marquee/schema.mjs";import{MarqueeServer as Ee}from"./components/biz/business/marquee/server.mjs";import{marqueeMaterial as De}from"./components/biz/business/marquee/material.mjs";import{defaultProps as Oe}from"./components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as ke}from"./components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs";import Ae from"./components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as je}from"./components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs";import{schema as Me}from"./components/biz/business/post-card/variants/basic-post-card/schema/index.mjs";import Ne from"./components/biz/business/post-card/variants/basic-post-card/index.mjs";import{UserProfileHeaderClient as Pe}from"./components/biz/business/profile/profile-header/client.mjs";import{profileHeaderInspectorDefaultProps as Fe,profileHeaderInspectorPropsSchema as Ie}from"./components/biz/business/profile/profile-header/schema.mjs";import{UserProfileHeader as Le,buildUserProfileHeaderPrefetch as Re}from"./components/biz/business/profile/profile-header/server.mjs";import{profileHeaderMaterial as ze}from"./components/biz/business/profile/profile-header/material.mjs";import{profileMainCollectCollectionTabOptions as Be,profileMainCollectTabOptions as Ve,profileMainHistoryTabOptions as He,profileMainLikeTabOptions as Ue,profileMainMineTabOptions as We,profileMainProfileTabOptions as Ge,profileMainTabOptions as Ke}from"./components/biz/business/profile/profile-main/variants.mjs";import{UserProfileMainShell as qe}from"./components/biz/business/profile/profile-main/shell.mjs";import{UserProfileMainClient as Je}from"./components/biz/business/profile/profile-main/client.mjs";import{profileMainInspectorDefaultProps as Ye,profileMainInspectorPropsSchema as Xe}from"./components/biz/business/profile/profile-main/schema.mjs";import{CollectTab as Ze}from"./components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs";import{CollectTabServer as Qe,buildCollectTabPrefetch as $e}from"./components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs";import{HistoryTab as et}from"./components/biz/business/profile/profile-main/tabs/history-tab/client.mjs";import{HistoryTabServer as tt,buildHistoryTabPrefetch as nt}from"./components/biz/business/profile/profile-main/tabs/history-tab/server.mjs";import{LikeTab as rt}from"./components/biz/business/profile/profile-main/tabs/like-tab/client.mjs";import{LikeTabServer as it,buildLikeTabPrefetch as at}from"./components/biz/business/profile/profile-main/tabs/like-tab/server.mjs";import{PublishTab as ot}from"./components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs";import{PublishTabServer as st,buildPublishTabPrefetch as ct}from"./components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs";import{UserProfileMain as lt}from"./components/biz/business/profile/profile-main/server.mjs";import{profileMainMaterial as ut}from"./components/biz/business/profile/profile-main/material.mjs";import{defaultProps as dt}from"./components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as ft}from"./components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs";import pt from"./components/biz/business/recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as mt}from"./components/biz/business/search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as ht}from"./components/biz/basics/search/variants/basic-search/schema/index.mjs";import gt from"./components/biz/basics/search/variants/basic-search/index.mjs";import{schema as _t}from"./components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs";import vt from"./components/biz/business/search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as yt}from"./components/biz/basics/search/variants/filter-search/defaults/default-props.mjs";import{defaultProps as bt}from"./components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as xt}from"./components/biz/basics/search/variants/filter-search/schema/index.mjs";import St from"./components/biz/basics/search/variants/filter-search/index.mjs";import{schema as Ct}from"./components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs";import wt from"./components/biz/business/search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as Tt}from"./components/biz/basics/search/variants/tag-search/defaults/default-props.mjs";import{defaultProps as Et}from"./components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as Dt}from"./components/biz/basics/search/variants/tag-search/schema/index.mjs";import Ot from"./components/biz/basics/search/variants/tag-search/index.mjs";import{schema as kt}from"./components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs";import At from"./components/biz/business/search-bar/variants/tag-search-bar/index.mjs";import{SearchHistoryClient as jt}from"./components/biz/business/search-history/client.mjs";import{searchHistoryInspectorDefaultProps as Mt,searchHistoryInspectorPropsSchema as Nt}from"./components/biz/business/search-history/schema.mjs";import{SearchHistoryServer as Pt}from"./components/biz/business/search-history/server.mjs";import{searchHistoryMaterial as Ft}from"./components/biz/business/search-history/material.mjs";import{SearchInputClient as It}from"./components/biz/business/search-input/client.mjs";import{searchInputInspectorDefaultProps as Lt,searchInputInspectorPropsSchema as Rt}from"./components/biz/business/search-input/schema.mjs";import{SearchInputServer as zt}from"./components/biz/business/search-input/server.mjs";import{searchInputMaterial as Bt}from"./components/biz/business/search-input/material.mjs";import{TabBarClient as Vt}from"./components/biz/business/tab-bar/client.mjs";import{tabBarInspectorDefaultProps as Ht,tabBarInspectorPropsSchema as Ut}from"./components/biz/business/tab-bar/schema.mjs";import{TabBarServer as Wt}from"./components/biz/business/tab-bar/server.mjs";import{tabBarMaterial as Gt}from"./components/biz/business/tab-bar/material.mjs";import{TextRecommendClient as Kt}from"./components/biz/business/text-recommend/client.mjs";import{textRecommendInspectorDefaultProps as qt,textRecommendInspectorPropsSchema as Jt}from"./components/biz/business/text-recommend/schema.mjs";import{TextRecommendServer as Yt}from"./components/biz/business/text-recommend/server.mjs";import{textRecommendMaterial as Xt}from"./components/biz/business/text-recommend/material.mjs";import{VideoHorizontalListClient as Zt}from"./components/biz/business/video-horizontal-list/client.mjs";import{videoHorizontalListInspectorDefaultProps as Qt,videoHorizontalListInspectorPropsSchema as $t}from"./components/biz/business/video-horizontal-list/schema.mjs";import{VideoHorizontalListServer as en}from"./components/biz/business/video-horizontal-list/server.mjs";import{videoHorizontalListMaterial as tn}from"./components/biz/business/video-horizontal-list/material.mjs";import{ComponentType as nn,extractDataByComponentType as rn}from"./components/biz/utils/transformers/data.mjs";import{defaultProps as an}from"./components/biz/basics/card-item/defaults/default-props.mjs";import{schema as on}from"./components/biz/basics/card-item/schema/index.mjs";import{defaultProps as sn}from"./components/biz/basics/card-layout/defaults/default-props.mjs";import{schema as cn}from"./components/biz/basics/card-layout/schema/index.mjs";import{ButtonClient as ln}from"./components/biz/example/button/client.mjs";import{buttonInspectorDefaultProps as un,buttonInspectorPropsSchema as dn}from"./components/biz/example/button/schema.mjs";import{Button as fn}from"./components/biz/example/button/server.mjs";import{exampleButtonMaterial as pn}from"./components/biz/example/button/material.mjs";import{Renderer as mn}from"./components/biz/renderer/renderer.mjs";export{y as BasicBanner,p as BasicBannerDefaultData,_ as BasicBannerMaterialComponent,m as BasicBannerSchema,L as BasicFeatureGrid,F as BasicFeatureGridDefaultData,I as BasicFeatureGridSchema,W as BasicFullscreen,K as BasicFullscreenFeed,U as BasicFullscreenFeedDefaultData,G as BasicFullscreenFeedSchema,ie as BasicLogo,ee as BasicLogoDefaultData,re as BasicLogoSchema,Ae as BasicNavBar,Oe as BasicNavBarDefaultData,ke as BasicNavBarSchema,Ne as BasicPostCard,je as BasicPostCardDefaultData,Me as BasicPostCardSchema,pt as BasicRecommendedUsers,dt as BasicRecommendedUsersDefaultData,ft as BasicRecommendedUsersSchema,gt as BasicSearch,vt as BasicSearchBar,mt as BasicSearchBarDefaultData,_t as BasicSearchBarSchema,te as BasicSearchDefaultData,ht as BasicSearchSchema,fn as Button,ln as ButtonClient,e as CARD_SPEC_MAP,S as CardGrid2x3,b as CardGrid2x3DefaultData,T as CardGrid2x3Infinite,C as CardGrid2x3InfiniteDefaultData,w as CardGrid2x3InfiniteSchema,x as CardGrid2x3Schema,O as CardGrid2x4,E as CardGrid2x4DefaultData,D as CardGrid2x4Schema,j as CardGrid3x3,k as CardGrid3x3DefaultData,P as CardGrid3x3Infinite,M as CardGrid3x3InfiniteDefaultData,N as CardGrid3x3InfiniteSchema,A as CardGrid3x3Schema,an as CardItemDefaultData,on as CardItemSchema,sn as CardLayoutDefaultData,cn as CardLayoutSchema,t as CardSpec,Ze as CollectTab,Qe as CollectTabServer,nn as ComponentType,a as DataBindingUIMode,o as DataSourceType,le as DetailSearchBar,ne as DetailSearchBarDefaultData,ce as DetailSearchBarSchema,St as FilterSearch,wt as FilterSearchBar,bt as FilterSearchBarDefaultData,Ct as FilterSearchBarSchema,yt as FilterSearchDefaultData,xt as FilterSearchSchema,V as FloatingBall,R as FloatingBallClient,Y as FullscreenFeedClient,q as FullscreenPostFeedDefaultData,J as FullscreenPostFeedSchema,Q as FullscreenVideoClient,X as FullscreenVideoFeedDefaultData,Z as FullscreenVideoFeedSchema,et as HistoryTab,tt as HistoryTabServer,he as HomeRecommendGrid,$ as HomeRecommendGridDefaultData,pe as HomeRecommendGridMaterialComponent,ue as HomeRecommendGridSchema,Se as HomeRecommendWaterfall,ge as HomeRecommendWaterfallDefaultData,be as HomeRecommendWaterfallMaterialComponent,_e as HomeRecommendWaterfallSchema,rt as LikeTab,it as LikeTabServer,Ce as MarqueeClient,Ee as MarqueeServer,ot as PublishTab,st as PublishTabServer,mn as Renderer,jt as SearchHistoryClient,Pt as SearchHistoryServer,It as SearchInputClient,zt as SearchInputServer,se as SimpleSearch,ae as SimpleSearchDefaultData,oe as SimpleSearchSchema,Vt as TabBarClient,Wt as TabBarServer,Ot as TagSearch,At as TagSearchBar,Et as TagSearchBarDefaultData,kt as TagSearchBarSchema,Tt as TagSearchDefaultData,Dt as TagSearchSchema,Kt as TextRecommendClient,Yt as TextRecommendServer,Le as UserProfileHeader,Pe as UserProfileHeaderClient,lt as UserProfileMain,Je as UserProfileMainClient,qe as UserProfileMainShell,Zt as VideoHorizontalListClient,en as VideoHorizontalListServer,h as basicBannerInspectorDefaultProps,g as basicBannerInspectorPropsSchema,v as basicBannerMaterial,$e as buildCollectTabPrefetch,i as buildContentUrl,nt as buildHistoryTabPrefetch,at as buildLikeTabPrefetch,ct as buildPublishTabPrefetch,Re as buildUserProfileHeaderPrefetch,un as buttonInspectorDefaultProps,dn as buttonInspectorPropsSchema,u as commonStyleSchema,s as commonStylesToInline,c as customStylesToInline,pn as exampleButtonMaterial,rn as extractDataByComponentType,z as floatingBallInspectorDefaultProps,B as floatingBallInspectorPropsSchema,H as floatingBallMaterial,n as getCardSpecConfig,r as getChannelList,de as homeRecommendGridInspectorDefaultProps,fe as homeRecommendGridInspectorPropsSchema,me as homeRecommendGridMaterial,ve as homeRecommendWaterfallInspectorDefaultProps,ye as homeRecommendWaterfallInspectorPropsSchema,xe as homeRecommendWaterfallMaterial,we as marqueeInspectorDefaultProps,Te as marqueeInspectorPropsSchema,De as marqueeMaterial,l as mergeStyles,Fe as profileHeaderInspectorDefaultProps,Ie as profileHeaderInspectorPropsSchema,ze as profileHeaderMaterial,Be as profileMainCollectCollectionTabOptions,Ve as profileMainCollectTabOptions,He as profileMainHistoryTabOptions,Ye as profileMainInspectorDefaultProps,Xe as profileMainInspectorPropsSchema,Ue as profileMainLikeTabOptions,ut as profileMainMaterial,We as profileMainMineTabOptions,Ge as profileMainProfileTabOptions,Ke as profileMainTabOptions,Mt as searchHistoryInspectorDefaultProps,Nt as searchHistoryInspectorPropsSchema,Ft as searchHistoryMaterial,Lt as searchInputInspectorDefaultProps,Rt as searchInputInspectorPropsSchema,Bt as searchInputMaterial,Ht as tabBarInspectorDefaultProps,Ut as tabBarInspectorPropsSchema,Gt as tabBarMaterial,qt as textRecommendInspectorDefaultProps,Jt as textRecommendInspectorPropsSchema,Xt as textRecommendMaterial,d as transformContentListToCardItems,f as transformContentToCardItem,Qt as videoHorizontalListInspectorDefaultProps,$t as videoHorizontalListInspectorPropsSchema,tn as videoHorizontalListMaterial};
2
+ import{CARD_SPEC_MAP as e,CardSpec as t,getCardSpecConfig as n}from"./components/biz/utils/constants/card-spec.mjs";import{getChannelList as r}from"./components/biz/utils/helpers/get-channel-list.mjs";import{buildContentUrl as i}from"./components/biz/utils/helpers/url.mjs";import{DataBindingUIMode as a,DataSourceType as o}from"./components/biz/utils/schema/data.mjs";import{commonStylesToInline as s,customStylesToInline as c,mergeStyles as l}from"./components/biz/utils/styles/helpers.mjs";import{commonStyleSchema as u}from"./components/biz/utils/styles/schema.mjs";import{transformContentListToCardItems as d,transformContentToCardItem as f}from"./components/biz/utils/transformers/card-grid.mjs";import{defaultProps as p}from"./components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs";import{schema as m}from"./components/biz/business/banner/variants/basic-banner/schema/index.mjs";import{basicBannerInspectorDefaultProps as h,basicBannerInspectorPropsSchema as g}from"./components/biz/business/banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as _}from"./components/biz/business/banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as v}from"./components/biz/business/banner/variants/basic-banner/material.mjs";import y from"./components/biz/business/banner/variants/basic-banner/index.mjs";import{defaultProps as b}from"./components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as x}from"./components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs";import S from"./components/biz/business/card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as C}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as w}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import T from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as E}from"./components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as D}from"./components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs";import O from"./components/biz/business/card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as k}from"./components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as A}from"./components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs";import j from"./components/biz/business/card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as M}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as N}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import P from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs";import{defaultProps as F}from"./components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as I}from"./components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs";import L from"./components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs";import{FloatingBallClient as R}from"./components/biz/business/floating-ball/client.mjs";import{floatingBallInspectorDefaultProps as z,floatingBallInspectorPropsSchema as B}from"./components/biz/business/floating-ball/schema.mjs";import{FloatingBall as V}from"./components/biz/business/floating-ball/server.mjs";import{floatingBallMaterial as H}from"./components/biz/business/floating-ball/material.mjs";import{defaultProps as U}from"./components/biz/basics/fullscreen-feed/defaults/default-props.mjs";import{BasicFullscreen as W}from"./components/biz/basics/fullscreen-feed/basic-fullscreen.mjs";import{schema as G}from"./components/biz/basics/fullscreen-feed/schema/index.mjs";import K from"./components/biz/basics/fullscreen-feed/index.mjs";import{defaultProps as q}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import{schema as J}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import Y from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as X}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import{schema as Z}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import Q from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{defaultProps as $}from"./components/biz/business/home-recommend/variants/home-recommend-grid/defaults/default-props.mjs";import{defaultProps as ee}from"./components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs";import{defaultProps as te}from"./components/biz/basics/search/variants/basic-search/defaults/default-props.mjs";import{defaultProps as ne}from"./components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{schema as re}from"./components/biz/basics/logo/variants/basic-logo/schema/index.mjs";import ie from"./components/biz/basics/logo/variants/basic-logo/index.mjs";import{defaultProps as ae}from"./components/biz/basics/search/variants/simple-search/defaults/default-props.mjs";import{schema as oe}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 le from"./components/biz/business/search-bar/variants/detail-search-bar/index.mjs";import{schema as ue}from"./components/biz/business/home-recommend/variants/home-recommend-grid/schema/index.mjs";import{homeRecommendGridInspectorDefaultProps as de,homeRecommendGridInspectorPropsSchema as fe}from"./components/biz/business/home-recommend/variants/home-recommend-grid/inspector-schema.mjs";import{HomeRecommendGrid as pe}from"./components/biz/business/home-recommend/variants/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as me}from"./components/biz/business/home-recommend/variants/home-recommend-grid/material.mjs";import he from"./components/biz/business/home-recommend/variants/home-recommend-grid/index.mjs";import{defaultProps as ge}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/defaults/default-props.mjs";import{schema as _e}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/schema/index.mjs";import{homeRecommendWaterfallInspectorDefaultProps as ve,homeRecommendWaterfallInspectorPropsSchema as ye}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs";import{HomeRecommendWaterfall as be}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as xe}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/material.mjs";import Se from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/index.mjs";import{MarqueeClient as Ce}from"./components/biz/business/marquee/client.mjs";import{marqueeInspectorDefaultProps as we,marqueeInspectorPropsSchema as Te}from"./components/biz/business/marquee/schema.mjs";import{MarqueeServer as Ee}from"./components/biz/business/marquee/server.mjs";import{marqueeMaterial as De}from"./components/biz/business/marquee/material.mjs";import{defaultProps as Oe}from"./components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as ke}from"./components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs";import Ae from"./components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as je}from"./components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs";import{schema as Me}from"./components/biz/business/post-card/variants/basic-post-card/schema/index.mjs";import Ne from"./components/biz/business/post-card/variants/basic-post-card/index.mjs";import{UserProfileHeaderClient as Pe}from"./components/biz/business/profile/profile-header/client.mjs";import{profileHeaderInspectorDefaultProps as Fe,profileHeaderInspectorPropsSchema as Ie}from"./components/biz/business/profile/profile-header/schema.mjs";import{UserProfileHeader as Le,buildUserProfileHeaderPrefetch as Re}from"./components/biz/business/profile/profile-header/server.mjs";import{profileHeaderMaterial as ze,profileHeaderMaterialWithDisabledBackground as Be}from"./components/biz/business/profile/profile-header/material.mjs";import{profileMainCollectCollectionTabOptions as Ve,profileMainCollectTabOptions as He,profileMainHistoryTabOptions as Ue,profileMainLikeTabOptions as We,profileMainMineTabOptions as Ge,profileMainProfileTabOptions as Ke,profileMainTabOptions as qe}from"./components/biz/business/profile/profile-main/variants.mjs";import{UserProfileMainShell as Je}from"./components/biz/business/profile/profile-main/shell.mjs";import{UserProfileMainClient as Ye}from"./components/biz/business/profile/profile-main/client.mjs";import{profileMainInspectorDefaultProps as Xe,profileMainInspectorPropsSchema as Ze}from"./components/biz/business/profile/profile-main/schema.mjs";import{CollectTab as Qe}from"./components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs";import{CollectTabServer as $e,buildCollectTabPrefetch as et}from"./components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs";import{HistoryTab as tt}from"./components/biz/business/profile/profile-main/tabs/history-tab/client.mjs";import{HistoryTabServer as nt,buildHistoryTabPrefetch as rt}from"./components/biz/business/profile/profile-main/tabs/history-tab/server.mjs";import{LikeTab as it}from"./components/biz/business/profile/profile-main/tabs/like-tab/client.mjs";import{LikeTabServer as at,buildLikeTabPrefetch as ot}from"./components/biz/business/profile/profile-main/tabs/like-tab/server.mjs";import{PublishTab as st}from"./components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs";import{PublishTabServer as ct,buildPublishTabPrefetch as lt}from"./components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs";import{UserProfileMain as ut}from"./components/biz/business/profile/profile-main/server.mjs";import{profileMainMaterial as dt}from"./components/biz/business/profile/profile-main/material.mjs";import{defaultProps as ft}from"./components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as pt}from"./components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs";import mt from"./components/biz/business/recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as ht}from"./components/biz/business/search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as gt}from"./components/biz/basics/search/variants/basic-search/schema/index.mjs";import _t from"./components/biz/basics/search/variants/basic-search/index.mjs";import{schema as vt}from"./components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs";import yt from"./components/biz/business/search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as bt}from"./components/biz/basics/search/variants/filter-search/defaults/default-props.mjs";import{defaultProps as xt}from"./components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as St}from"./components/biz/basics/search/variants/filter-search/schema/index.mjs";import Ct from"./components/biz/basics/search/variants/filter-search/index.mjs";import{schema as wt}from"./components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs";import Tt from"./components/biz/business/search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as Et}from"./components/biz/basics/search/variants/tag-search/defaults/default-props.mjs";import{defaultProps as Dt}from"./components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as Ot}from"./components/biz/basics/search/variants/tag-search/schema/index.mjs";import kt from"./components/biz/basics/search/variants/tag-search/index.mjs";import{schema as At}from"./components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs";import jt from"./components/biz/business/search-bar/variants/tag-search-bar/index.mjs";import{SearchHistoryClient as Mt}from"./components/biz/business/search-history/client.mjs";import{searchHistoryInspectorDefaultProps as Nt,searchHistoryInspectorPropsSchema as Pt}from"./components/biz/business/search-history/schema.mjs";import{SearchHistoryServer as Ft}from"./components/biz/business/search-history/server.mjs";import{searchHistoryMaterial as It}from"./components/biz/business/search-history/material.mjs";import{SearchInputClient as Lt}from"./components/biz/business/search-input/client.mjs";import{searchInputInspectorDefaultProps as Rt,searchInputInspectorPropsSchema as zt}from"./components/biz/business/search-input/schema.mjs";import{SearchInputServer as Bt}from"./components/biz/business/search-input/server.mjs";import{searchInputMaterial as Vt}from"./components/biz/business/search-input/material.mjs";import{TabBarClient as Ht}from"./components/biz/business/tab-bar/client.mjs";import{tabBarInspectorDefaultProps as Ut,tabBarInspectorPropsSchema as Wt}from"./components/biz/business/tab-bar/schema.mjs";import{TabBarServer as Gt}from"./components/biz/business/tab-bar/server.mjs";import{tabBarMaterial as Kt}from"./components/biz/business/tab-bar/material.mjs";import{TextRecommendClient as qt}from"./components/biz/business/text-recommend/client.mjs";import{textRecommendInspectorDefaultProps as Jt,textRecommendInspectorPropsSchema as Yt}from"./components/biz/business/text-recommend/schema.mjs";import{TextRecommendServer as Xt}from"./components/biz/business/text-recommend/server.mjs";import{textRecommendMaterial as Zt}from"./components/biz/business/text-recommend/material.mjs";import{VideoHorizontalListClient as Qt}from"./components/biz/business/video-horizontal-list/client.mjs";import{videoHorizontalListInspectorDefaultProps as $t,videoHorizontalListInspectorPropsSchema as en}from"./components/biz/business/video-horizontal-list/schema.mjs";import{VideoHorizontalListServer as tn}from"./components/biz/business/video-horizontal-list/server.mjs";import{videoHorizontalListMaterial as nn}from"./components/biz/business/video-horizontal-list/material.mjs";import{ComponentType as rn,extractDataByComponentType as an}from"./components/biz/utils/transformers/data.mjs";import{defaultProps as on}from"./components/biz/basics/card-item/defaults/default-props.mjs";import{schema as sn}from"./components/biz/basics/card-item/schema/index.mjs";import{defaultProps as cn}from"./components/biz/basics/card-layout/defaults/default-props.mjs";import{schema as ln}from"./components/biz/basics/card-layout/schema/index.mjs";import{ButtonClient as un}from"./components/biz/example/button/client.mjs";import{buttonInspectorDefaultProps as dn,buttonInspectorPropsSchema as fn}from"./components/biz/example/button/schema.mjs";import{Button as pn}from"./components/biz/example/button/server.mjs";import{exampleButtonMaterial as mn}from"./components/biz/example/button/material.mjs";import{Renderer as hn}from"./components/biz/renderer/renderer.mjs";export{y as BasicBanner,p as BasicBannerDefaultData,_ as BasicBannerMaterialComponent,m as BasicBannerSchema,L as BasicFeatureGrid,F as BasicFeatureGridDefaultData,I as BasicFeatureGridSchema,W as BasicFullscreen,K as BasicFullscreenFeed,U as BasicFullscreenFeedDefaultData,G as BasicFullscreenFeedSchema,ie as BasicLogo,ee as BasicLogoDefaultData,re as BasicLogoSchema,Ae as BasicNavBar,Oe as BasicNavBarDefaultData,ke as BasicNavBarSchema,Ne as BasicPostCard,je as BasicPostCardDefaultData,Me as BasicPostCardSchema,mt as BasicRecommendedUsers,ft as BasicRecommendedUsersDefaultData,pt as BasicRecommendedUsersSchema,_t as BasicSearch,yt as BasicSearchBar,ht as BasicSearchBarDefaultData,vt as BasicSearchBarSchema,te as BasicSearchDefaultData,gt as BasicSearchSchema,pn as Button,un as ButtonClient,e as CARD_SPEC_MAP,S as CardGrid2x3,b as CardGrid2x3DefaultData,T as CardGrid2x3Infinite,C as CardGrid2x3InfiniteDefaultData,w as CardGrid2x3InfiniteSchema,x as CardGrid2x3Schema,O as CardGrid2x4,E as CardGrid2x4DefaultData,D as CardGrid2x4Schema,j as CardGrid3x3,k as CardGrid3x3DefaultData,P as CardGrid3x3Infinite,M as CardGrid3x3InfiniteDefaultData,N as CardGrid3x3InfiniteSchema,A as CardGrid3x3Schema,on as CardItemDefaultData,sn as CardItemSchema,cn as CardLayoutDefaultData,ln as CardLayoutSchema,t as CardSpec,Qe as CollectTab,$e as CollectTabServer,rn as ComponentType,a as DataBindingUIMode,o as DataSourceType,le as DetailSearchBar,ne as DetailSearchBarDefaultData,ce as DetailSearchBarSchema,Ct as FilterSearch,Tt as FilterSearchBar,xt as FilterSearchBarDefaultData,wt as FilterSearchBarSchema,bt as FilterSearchDefaultData,St as FilterSearchSchema,V as FloatingBall,R as FloatingBallClient,Y as FullscreenFeedClient,q as FullscreenPostFeedDefaultData,J as FullscreenPostFeedSchema,Q as FullscreenVideoClient,X as FullscreenVideoFeedDefaultData,Z as FullscreenVideoFeedSchema,tt as HistoryTab,nt as HistoryTabServer,he as HomeRecommendGrid,$ as HomeRecommendGridDefaultData,pe as HomeRecommendGridMaterialComponent,ue as HomeRecommendGridSchema,Se as HomeRecommendWaterfall,ge as HomeRecommendWaterfallDefaultData,be as HomeRecommendWaterfallMaterialComponent,_e as HomeRecommendWaterfallSchema,it as LikeTab,at as LikeTabServer,Ce as MarqueeClient,Ee as MarqueeServer,st as PublishTab,ct as PublishTabServer,hn as Renderer,Mt as SearchHistoryClient,Ft as SearchHistoryServer,Lt as SearchInputClient,Bt as SearchInputServer,se as SimpleSearch,ae as SimpleSearchDefaultData,oe as SimpleSearchSchema,Ht as TabBarClient,Gt as TabBarServer,kt as TagSearch,jt as TagSearchBar,Dt as TagSearchBarDefaultData,At as TagSearchBarSchema,Et as TagSearchDefaultData,Ot as TagSearchSchema,qt as TextRecommendClient,Xt as TextRecommendServer,Le as UserProfileHeader,Pe as UserProfileHeaderClient,ut as UserProfileMain,Ye as UserProfileMainClient,Je as UserProfileMainShell,Qt as VideoHorizontalListClient,tn as VideoHorizontalListServer,h as basicBannerInspectorDefaultProps,g as basicBannerInspectorPropsSchema,v as basicBannerMaterial,et as buildCollectTabPrefetch,i as buildContentUrl,rt as buildHistoryTabPrefetch,ot as buildLikeTabPrefetch,lt as buildPublishTabPrefetch,Re as buildUserProfileHeaderPrefetch,dn as buttonInspectorDefaultProps,fn as buttonInspectorPropsSchema,u as commonStyleSchema,s as commonStylesToInline,c as customStylesToInline,mn as exampleButtonMaterial,an as extractDataByComponentType,z as floatingBallInspectorDefaultProps,B as floatingBallInspectorPropsSchema,H as floatingBallMaterial,n as getCardSpecConfig,r as getChannelList,de as homeRecommendGridInspectorDefaultProps,fe as homeRecommendGridInspectorPropsSchema,me as homeRecommendGridMaterial,ve as homeRecommendWaterfallInspectorDefaultProps,ye as homeRecommendWaterfallInspectorPropsSchema,xe as homeRecommendWaterfallMaterial,we as marqueeInspectorDefaultProps,Te as marqueeInspectorPropsSchema,De as marqueeMaterial,l as mergeStyles,Fe as profileHeaderInspectorDefaultProps,Ie as profileHeaderInspectorPropsSchema,ze as profileHeaderMaterial,Be as profileHeaderMaterialWithDisabledBackground,Ve as profileMainCollectCollectionTabOptions,He as profileMainCollectTabOptions,Ue as profileMainHistoryTabOptions,Xe as profileMainInspectorDefaultProps,Ze as profileMainInspectorPropsSchema,We as profileMainLikeTabOptions,dt as profileMainMaterial,Ge as profileMainMineTabOptions,Ke as profileMainProfileTabOptions,qe as profileMainTabOptions,Nt as searchHistoryInspectorDefaultProps,Pt as searchHistoryInspectorPropsSchema,It as searchHistoryMaterial,Rt as searchInputInspectorDefaultProps,zt as searchInputInspectorPropsSchema,Vt as searchInputMaterial,Ut as tabBarInspectorDefaultProps,Wt as tabBarInspectorPropsSchema,Kt as tabBarMaterial,Jt as textRecommendInspectorDefaultProps,Yt as textRecommendInspectorPropsSchema,Zt as textRecommendMaterial,d as transformContentListToCardItems,f as transformContentToCardItem,$t as videoHorizontalListInspectorDefaultProps,en as videoHorizontalListInspectorPropsSchema,nn as videoHorizontalListMaterial};
@@ -13,7 +13,7 @@ declare const BannerCarouselMaterial: DefineMaterialOption<typeof BannerCarousel
13
13
  contentId: zod.ZodOptional<zod.ZodNumber>;
14
14
  title: zod.ZodOptional<zod.ZodString>;
15
15
  coverUrl: zod.ZodOptional<zod.ZodString>;
16
- badgeUrl: zod.ZodOptional<zod.ZodBoolean>;
16
+ badgeUrl: zod.ZodOptional<zod.ZodString>;
17
17
  showPlayCount: zod.ZodOptional<zod.ZodBoolean>;
18
18
  showEpisodeCount: zod.ZodOptional<zod.ZodBoolean>;
19
19
  }, zod_v4_core0.$strip>>> & SchemaHasDefaultValue;
@@ -13,7 +13,7 @@ declare const basicBannerInspectorPropsSchema: z$1.ZodObject<{
13
13
  contentId: z$1.ZodOptional<z$1.ZodNumber>;
14
14
  title: z$1.ZodOptional<z$1.ZodString>;
15
15
  coverUrl: z$1.ZodOptional<z$1.ZodString>;
16
- badgeUrl: z$1.ZodOptional<z$1.ZodBoolean>;
16
+ badgeUrl: z$1.ZodOptional<z$1.ZodString>;
17
17
  showPlayCount: z$1.ZodOptional<z$1.ZodBoolean>;
18
18
  showEpisodeCount: z$1.ZodOptional<z$1.ZodBoolean>;
19
19
  }, z$1.core.$strip>>> & SchemaHasDefaultValue;
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineArrayItemPropSchema as e,defineComponentPropsSchema as t,defineNumberPropSchema as n,defineSwitchPropSchema as r,defineTextPropSchema as i,getSchemaDefaultProps as a}from"../../../../utils/schema/schema.mjs";import{defaultProps as o}from"./default-props.mjs";import s from"zod";const c=t({interval:n({label:`播放间隔`,defaultValue:o.interval}),list:e(s.object({contentId:n({label:`内容ID`,required:!1}),title:i({label:`内容标题`,required:!1}),coverUrl:i({label:`封面`,required:!1}),badgeUrl:r({label:`角标`,required:!1}),showPlayCount:r({label:`展示播放量`,required:!1}),showEpisodeCount:r({label:`展示集数`,required:!1})}),{required:!1,label:`list`,defaultValue:[{contentId:1,title:`视频标题一`,desc:`视频描述`,coverUrl:`/static/components-resource/banner.png`,badgeUrl:!1,showPlayCount:!1,showEpisodeCount:!1},{contentId:2,title:`视频标题二`,coverUrl:`/static/components-resource/banner.png`,badgeUrl:!1,showPlayCount:!1,showEpisodeCount:!1},{contentId:3,title:`视频标题三`,coverUrl:`/static/components-resource/banner.png`,badgeUrl:!1,showPlayCount:!1,showEpisodeCount:!1}]})});a(c);export{c as basicBannerInspectorPropsSchema};
2
+ import{defineArrayItemPropSchema as e,defineComponentPropsSchema as t,defineNumberPropSchema as n,defineSwitchPropSchema as r,defineTextPropSchema as i,getSchemaDefaultProps as a}from"../../../../utils/schema/schema.mjs";import{defaultProps as o}from"./default-props.mjs";import s from"zod";const c=t({interval:n({label:`播放间隔`,defaultValue:o.interval}),list:e(s.object({contentId:n({label:`内容ID`,required:!1}),title:i({label:`内容标题`,required:!1}),coverUrl:i({label:`封面`,required:!1}),badgeUrl:i({label:`角标`,required:!1}),showPlayCount:r({label:`展示播放量`,required:!1}),showEpisodeCount:r({label:`展示集数`,required:!1})}),{required:!1,label:`list`,defaultValue:[{contentId:1,title:`视频标题一`,desc:`视频描述`,coverUrl:`/static/components-resource/banner.png`,badgeUrl:``,showPlayCount:!1,showEpisodeCount:!1},{contentId:2,title:`视频标题二`,coverUrl:`/static/components-resource/banner.png`,badgeUrl:``,showPlayCount:!1,showEpisodeCount:!1},{contentId:3,title:`视频标题三`,coverUrl:`/static/components-resource/banner.png`,badgeUrl:``,showPlayCount:!1,showEpisodeCount:!1}]})});a(c);export{c as basicBannerInspectorPropsSchema};
@@ -5,7 +5,7 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
  //#region components/biz/business/header-search/header-avatar-icon/client.d.ts
6
6
  type HeaderAvatarIconClientProps = HeaderAvatarIconInspectorProps;
7
7
  /**
8
- * 顶部-头像框+icon 客户端组件,仅做占位展示。
8
+ * 顶部-头像框+icon
9
9
  */
10
10
  declare function HeaderAvatarIconClient(_props: HeaderAvatarIconClientProps): react_jsx_runtime0.JSX.Element;
11
11
  //#endregion
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{cn as e}from"../../../../../utils/cn.mjs";import{Box as t}from"../../../../ui/box.mjs";import{jsx as n,jsxs as r}from"react/jsx-runtime";function i(i){return r(t,{as:`header`,className:e(`flex items-center justify-between gap-2 px-3 py-2`,`border-b bg-background`),"aria-label":`顶部-头像框+icon`,children:[n(t,{as:`div`,className:`h-8 w-8 shrink-0 rounded-full bg-muted`,"aria-hidden":!0}),r(t,{as:`div`,className:`flex gap-2`,"aria-hidden":!0,children:[n(t,{as:`div`,className:`flex h-8 w-8 items-center justify-center rounded-full bg-muted`,"aria-hidden":!0,children:n(`span`,{className:`text-sm text-muted-foreground`,children:`⊕`})}),n(t,{as:`div`,className:`flex h-8 w-8 items-center justify-center rounded-full bg-muted`,"aria-hidden":!0,children:n(`span`,{className:`text-sm text-muted-foreground`,children:`⋮`})})]})]})}export{i as HeaderAvatarIconClient};
2
+ "use client";import{Box as e}from"../../../../ui/box.mjs";import t from"../../../../../assets/icons/search.mjs";import{UserAvatar as n}from"../shared/avatar.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";import a from"next/link";function o(o){return i(e,{as:`header`,className:`px-[12px] py-[8px] flex gap-[16px] items-center justify-between`,children:[r(n,{}),r(a,{href:`/search`,"aria-label":`打开搜索页`,children:r(t,{className:`w-[22px] h-[22px] text-text1`,"aria-hidden":!0})})]})}export{o as HeaderAvatarIconClient};
@@ -5,8 +5,8 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
  //#region components/biz/business/header-search/header-avatar-logo-search/client.d.ts
6
6
  type HeaderAvatarLogoSearchClientProps = HeaderAvatarLogoSearchInspectorProps;
7
7
  /**
8
- * 顶部-头像&搜索框&logo 客户端组件,仅做占位展示。
8
+ * 顶部-头像&搜索框。
9
9
  */
10
- declare function HeaderAvatarLogoSearchClient(_props: HeaderAvatarLogoSearchClientProps): react_jsx_runtime0.JSX.Element;
10
+ declare function HeaderAvatarLogoSearchClient(props: HeaderAvatarLogoSearchClientProps): react_jsx_runtime0.JSX.Element;
11
11
  //#endregion
12
12
  export { HeaderAvatarLogoSearchClient, HeaderAvatarLogoSearchClientProps };
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{cn as e}from"../../../../../utils/cn.mjs";import{Box as t}from"../../../../ui/box.mjs";import{Input as n}from"../../../../ui/input.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";function a(a){return i(t,{as:`header`,className:e(`flex items-center gap-3 px-3 py-2`,`border-b bg-background`),"aria-label":`顶部-头像&搜索框&logo`,children:[r(t,{as:`div`,className:`h-8 w-8 shrink-0 rounded-full bg-muted`,"aria-hidden":!0}),r(t,{as:`div`,className:`h-8 w-16 shrink-0 rounded bg-muted`,"aria-hidden":!0}),r(n,{type:`text`,placeholder:`搜索`,className:`flex-1 max-w-md`,readOnly:!0,"aria-label":`搜索框`})]})}export{a as HeaderAvatarLogoSearchClient};
2
+ "use client";import{Box as e}from"../../../../ui/box.mjs";import{UserAvatar as t}from"../shared/avatar.mjs";import{Logo as n}from"../shared/logo.mjs";import{Search as r}from"../shared/search.mjs";import{headerAvatarLogoSearchInspectorDefaultProps as i}from"./schema.mjs";import{jsx as a,jsxs as o}from"react/jsx-runtime";function s(s){let{logoSrc:c,logoHref:l}={...i,...s};return o(e,{as:`header`,className:`px-[12px] py-[8px] flex gap-[8px] items-center`,children:[a(t,{}),a(r,{}),a(n,{logoSrc:c,logoHref:l})]})}export{s as HeaderAvatarLogoSearchClient};
@@ -1,11 +1,16 @@
1
1
 
2
+ import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
2
3
  import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
4
+ import "../../../../../utils/schema/index.mjs";
3
5
  import { HeaderAvatarLogoSearchClient } from "./client.mjs";
4
6
  import { HeaderAvatarLogoSearch } from "./server.mjs";
5
7
  import * as zod from "zod";
6
8
  import * as zod_v4_core0 from "zod/v4/core";
7
9
 
8
10
  //#region components/biz/business/header-search/header-avatar-logo-search/material.d.ts
9
- declare const headerAvatarLogoSearchMaterial: DefineMaterialOption<typeof HeaderAvatarLogoSearch, typeof HeaderAvatarLogoSearchClient, zod.ZodObject<{}, zod_v4_core0.$strip>, "header-avatar-logo-search">;
11
+ declare const headerAvatarLogoSearchMaterial: DefineMaterialOption<typeof HeaderAvatarLogoSearch, typeof HeaderAvatarLogoSearchClient, zod.ZodObject<{
12
+ logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
13
+ logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
14
+ }, zod_v4_core0.$strip>, "header-avatar-logo-search">;
10
15
  //#endregion
11
16
  export { headerAvatarLogoSearchMaterial };
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{HeaderAvatarLogoSearchClient as t}from"./client.mjs";import{headerAvatarLogoSearchInspectorPropsSchema as n}from"./schema.mjs";import{HeaderAvatarLogoSearch as r}from"./server.mjs";const i=e({type:`header-avatar-logo-search`,name:`顶部功能样式3`,icon:`/static/components-thumb/header_avatar_logo_search.png`,category:`顶部功能`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as headerAvatarLogoSearchMaterial};
2
+ import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{headerAvatarLogoSearchInspectorPropsSchema as t}from"./schema.mjs";import{HeaderAvatarLogoSearchClient as n}from"./client.mjs";import{HeaderAvatarLogoSearch as r}from"./server.mjs";const i=e({type:`header-avatar-logo-search`,name:`顶部功能样式3`,icon:`/static/components-thumb/header_avatar_logo_search.png`,category:`顶部功能`,serverComponent:r,clientComponent:n,propsSchema:t});export{i as headerAvatarLogoSearchMaterial};
@@ -1,14 +1,19 @@
1
1
 
2
- import { InferSchemaProps } from "../../../../../utils/schema/schema.mjs";
2
+ import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
3
3
  import "../../../../../utils/schema/index.mjs";
4
4
  import * as zod from "zod";
5
5
  import * as zod_v4_core0 from "zod/v4/core";
6
6
 
7
7
  //#region components/biz/business/header-search/header-avatar-logo-search/schema.d.ts
8
8
  /**
9
- * 顶部-头像&搜索框&logo 物料暂不对外开放配置,仅做占位展示。
9
+ * 顶部-头像&搜索框&logo
10
+ * - logoSrc:可配置 logo 图片地址(为空时使用内置 SVG)
11
+ * - logoHref:可配置 logo 点击跳转地址
10
12
  */
11
- declare const headerAvatarLogoSearchInspectorPropsSchema: zod.ZodObject<{}, zod_v4_core0.$strip>;
13
+ declare const headerAvatarLogoSearchInspectorPropsSchema: zod.ZodObject<{
14
+ logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
15
+ logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
16
+ }, zod_v4_core0.$strip>;
12
17
  type HeaderAvatarLogoSearchInspectorProps = InferSchemaProps<typeof headerAvatarLogoSearchInspectorPropsSchema>;
13
18
  //#endregion
14
19
  export { HeaderAvatarLogoSearchInspectorProps, headerAvatarLogoSearchInspectorPropsSchema };
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"../../../../../utils/schema/schema.mjs";const n=e({});t(n);export{n as headerAvatarLogoSearchInspectorPropsSchema};
2
+ import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"../../../../../utils/schema/schema.mjs";const r=e({logoSrc:t({label:`LOGO 图片地址`,required:!1,defaultValue:``}),logoHref:t({label:`LOGO 跳转地址`,required:!1,defaultValue:`/`})}),i=n(r);export{i as headerAvatarLogoSearchInspectorDefaultProps,r as headerAvatarLogoSearchInspectorPropsSchema};
@@ -5,8 +5,8 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
  //#region components/biz/business/header-search/header-avatar-logo-search-icon/client.d.ts
6
6
  type HeaderAvatarLogoSearchIconClientProps = HeaderAvatarLogoSearchIconInspectorProps;
7
7
  /**
8
- * 顶部-头像&搜索icon&logo 客户端组件,仅做占位展示(搜索为图标非输入框)。
8
+ * 顶部-头像&搜索icon&logo
9
9
  */
10
- declare function HeaderAvatarLogoSearchIconClient(_props: HeaderAvatarLogoSearchIconClientProps): react_jsx_runtime0.JSX.Element;
10
+ declare function HeaderAvatarLogoSearchIconClient(props: HeaderAvatarLogoSearchIconClientProps): react_jsx_runtime0.JSX.Element;
11
11
  //#endregion
12
12
  export { HeaderAvatarLogoSearchIconClient, HeaderAvatarLogoSearchIconClientProps };
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{cn as e}from"../../../../../utils/cn.mjs";import{Box as t}from"../../../../ui/box.mjs";import{jsx as n,jsxs as r}from"react/jsx-runtime";function i(i){return r(t,{as:`header`,className:e(`flex items-center gap-3 px-3 py-2`,`border-b bg-background`),"aria-label":`顶部-头像&搜索icon&logo`,children:[n(t,{as:`div`,className:`h-8 w-8 shrink-0 rounded-full bg-muted`,"aria-hidden":!0}),n(t,{as:`div`,className:`h-8 w-16 shrink-0 rounded bg-muted`,"aria-hidden":!0}),n(t,{as:`div`,className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-muted`,"aria-hidden":!0,children:n(`span`,{className:`text-sm text-muted-foreground`,children:`🔍`})})]})}export{i as HeaderAvatarLogoSearchIconClient};
2
+ "use client";import{Box as e}from"../../../../ui/box.mjs";import t from"../../../../../assets/icons/search.mjs";import{UserAvatar as n}from"../shared/avatar.mjs";import{Logo as r}from"../shared/logo.mjs";import{headerAvatarLogoSearchIconInspectorDefaultProps as i}from"./schema.mjs";import{jsx as a,jsxs as o}from"react/jsx-runtime";import s from"next/link";function c(c){let{logoSrc:l,logoHref:u}={...i,...c};return o(e,{as:`header`,className:`px-[12px] py-[8px] flex gap-[16px] items-center`,children:[a(n,{}),a(e,{className:`flex-1`}),a(s,{href:`/search`,"aria-label":`打开搜索页`,children:a(t,{className:`w-[22px] h-[22px] text-text1`,"aria-hidden":!0})}),a(r,{logoSrc:l,logoHref:u})]})}export{c as HeaderAvatarLogoSearchIconClient};
@@ -1,11 +1,16 @@
1
1
 
2
+ import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
2
3
  import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
4
+ import "../../../../../utils/schema/index.mjs";
3
5
  import { HeaderAvatarLogoSearchIconClient } from "./client.mjs";
4
6
  import { HeaderAvatarLogoSearchIcon } from "./server.mjs";
5
7
  import * as zod from "zod";
6
8
  import * as zod_v4_core0 from "zod/v4/core";
7
9
 
8
10
  //#region components/biz/business/header-search/header-avatar-logo-search-icon/material.d.ts
9
- declare const headerAvatarLogoSearchIconMaterial: DefineMaterialOption<typeof HeaderAvatarLogoSearchIcon, typeof HeaderAvatarLogoSearchIconClient, zod.ZodObject<{}, zod_v4_core0.$strip>, "header-avatar-logo-search-icon">;
11
+ declare const headerAvatarLogoSearchIconMaterial: DefineMaterialOption<typeof HeaderAvatarLogoSearchIcon, typeof HeaderAvatarLogoSearchIconClient, zod.ZodObject<{
12
+ logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
13
+ logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
14
+ }, zod_v4_core0.$strip>, "header-avatar-logo-search-icon">;
10
15
  //#endregion
11
16
  export { headerAvatarLogoSearchIconMaterial };
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{HeaderAvatarLogoSearchIconClient as t}from"./client.mjs";import{headerAvatarLogoSearchIconInspectorPropsSchema as n}from"./schema.mjs";import{HeaderAvatarLogoSearchIcon as r}from"./server.mjs";const i=e({type:`header-avatar-logo-search-icon`,name:`顶部功能样式4`,icon:`/static/components-thumb/header_avatar_logo_search_icon.png`,category:`顶部功能`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as headerAvatarLogoSearchIconMaterial};
2
+ import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{headerAvatarLogoSearchIconInspectorPropsSchema as t}from"./schema.mjs";import{HeaderAvatarLogoSearchIconClient as n}from"./client.mjs";import{HeaderAvatarLogoSearchIcon as r}from"./server.mjs";const i=e({type:`header-avatar-logo-search-icon`,name:`顶部功能样式4`,icon:`/static/components-thumb/header_avatar_logo_search_icon.png`,category:`顶部功能`,serverComponent:r,clientComponent:n,propsSchema:t});export{i as headerAvatarLogoSearchIconMaterial};
@@ -1,5 +1,5 @@
1
1
 
2
- import { InferSchemaProps } from "../../../../../utils/schema/schema.mjs";
2
+ import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
3
3
  import "../../../../../utils/schema/index.mjs";
4
4
  import * as zod from "zod";
5
5
  import * as zod_v4_core0 from "zod/v4/core";
@@ -8,7 +8,10 @@ import * as zod_v4_core0 from "zod/v4/core";
8
8
  /**
9
9
  * 顶部-头像&搜索icon&logo 物料暂不对外开放配置,仅做占位展示。
10
10
  */
11
- declare const headerAvatarLogoSearchIconInspectorPropsSchema: zod.ZodObject<{}, zod_v4_core0.$strip>;
11
+ declare const headerAvatarLogoSearchIconInspectorPropsSchema: zod.ZodObject<{
12
+ logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
13
+ logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
14
+ }, zod_v4_core0.$strip>;
12
15
  type HeaderAvatarLogoSearchIconInspectorProps = InferSchemaProps<typeof headerAvatarLogoSearchIconInspectorPropsSchema>;
13
16
  //#endregion
14
17
  export { HeaderAvatarLogoSearchIconInspectorProps, headerAvatarLogoSearchIconInspectorPropsSchema };
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"../../../../../utils/schema/schema.mjs";const n=e({});t(n);export{n as headerAvatarLogoSearchIconInspectorPropsSchema};
2
+ import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"../../../../../utils/schema/schema.mjs";const r=e({logoSrc:t({label:`LOGO 图片地址`,required:!1,defaultValue:``}),logoHref:t({label:`LOGO 跳转地址`,required:!1,defaultValue:`/`})}),i=n(r);export{i as headerAvatarLogoSearchIconInspectorDefaultProps,r as headerAvatarLogoSearchIconInspectorPropsSchema};
@@ -5,8 +5,10 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
  //#region components/biz/business/header-search/header-logo-search/client.d.ts
6
6
  type HeaderLogoSearchClientProps = HeaderLogoSearchInspectorProps;
7
7
  /**
8
- * 顶部-LOGO&搜索框 客户端组件,仅做占位展示。
8
+ * 顶部-LOGO&搜索框:
9
+ * - logo 支持配置图片 & 跳转地址
10
+ * - 未配置时使用默认 SVG logo
9
11
  */
10
- declare function HeaderLogoSearchClient(_props: HeaderLogoSearchClientProps): react_jsx_runtime0.JSX.Element;
12
+ declare function HeaderLogoSearchClient(props: HeaderLogoSearchClientProps): react_jsx_runtime0.JSX.Element;
11
13
  //#endregion
12
14
  export { HeaderLogoSearchClient, HeaderLogoSearchClientProps };
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{cn as e}from"../../../../../utils/cn.mjs";import{Box as t}from"../../../../ui/box.mjs";import{Input as n}from"../../../../ui/input.mjs";import{jsx as r,jsxs as i}from"react/jsx-runtime";function a(a){return i(t,{as:`header`,className:e(`flex items-center gap-3 px-3 py-2`,`border-b bg-background`),"aria-label":`顶部-LOGO&搜索框`,children:[r(t,{as:`div`,className:`h-8 w-20 shrink-0 rounded bg-muted`,"aria-hidden":!0}),r(n,{type:`text`,placeholder:`搜索`,className:`flex-1 max-w-md`,readOnly:!0,"aria-label":`搜索框`})]})}export{a as HeaderLogoSearchClient};
2
+ "use client";import{Box as e}from"../../../../ui/box.mjs";import{Logo as t}from"../shared/logo.mjs";import{Search as n}from"../shared/search.mjs";import{headerLogoSearchInspectorDefaultProps as r}from"./schema.mjs";import{jsx as i,jsxs as a}from"react/jsx-runtime";function o(o){let{logoSrc:s,logoHref:c}={...r,...o};return a(e,{as:`header`,className:`px-[12px] py-[8px] flex gap-[8px]`,children:[i(t,{logoSrc:s,logoHref:c}),i(n,{})]})}export{o as HeaderLogoSearchClient};
@@ -1,11 +1,16 @@
1
1
 
2
+ import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
2
3
  import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
4
+ import "../../../../../utils/schema/index.mjs";
3
5
  import { HeaderLogoSearchClient } from "./client.mjs";
4
6
  import { HeaderLogoSearch } from "./server.mjs";
5
7
  import * as zod from "zod";
6
8
  import * as zod_v4_core0 from "zod/v4/core";
7
9
 
8
10
  //#region components/biz/business/header-search/header-logo-search/material.d.ts
9
- declare const headerLogoSearchMaterial: DefineMaterialOption<typeof HeaderLogoSearch, typeof HeaderLogoSearchClient, zod.ZodObject<{}, zod_v4_core0.$strip>, "header-logo-search">;
11
+ declare const headerLogoSearchMaterial: DefineMaterialOption<typeof HeaderLogoSearch, typeof HeaderLogoSearchClient, zod.ZodObject<{
12
+ logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
13
+ logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
14
+ }, zod_v4_core0.$strip>, "header-logo-search">;
10
15
  //#endregion
11
16
  export { headerLogoSearchMaterial };
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{HeaderLogoSearchClient as t}from"./client.mjs";import{headerLogoSearchInspectorPropsSchema as n}from"./schema.mjs";import{HeaderLogoSearch as r}from"./server.mjs";const i=e({type:`header-logo-search`,name:`顶部功能样式2`,icon:`/static/components-thumb/header_logo_search.png`,category:`顶部功能`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as headerLogoSearchMaterial};
2
+ import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{headerLogoSearchInspectorPropsSchema as t}from"./schema.mjs";import{HeaderLogoSearchClient as n}from"./client.mjs";import{HeaderLogoSearch as r}from"./server.mjs";const i=e({type:`header-logo-search`,name:`顶部功能样式2`,icon:`/static/components-thumb/header_logo_search.png`,category:`顶部功能`,serverComponent:r,clientComponent:n,propsSchema:t});export{i as headerLogoSearchMaterial};
@@ -1,14 +1,19 @@
1
1
 
2
- import { InferSchemaProps } from "../../../../../utils/schema/schema.mjs";
2
+ import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
3
3
  import "../../../../../utils/schema/index.mjs";
4
4
  import * as zod from "zod";
5
5
  import * as zod_v4_core0 from "zod/v4/core";
6
6
 
7
7
  //#region components/biz/business/header-search/header-logo-search/schema.d.ts
8
8
  /**
9
- * 顶部-LOGO&搜索框 物料暂不对外开放配置,仅做占位展示。
9
+ * 顶部-LOGO&搜索框:
10
+ * - logoSrc:可配置 logo 图片地址(为空时使用内置 SVG)
11
+ * - logoHref:可配置 logo 点击跳转地址
10
12
  */
11
- declare const headerLogoSearchInspectorPropsSchema: zod.ZodObject<{}, zod_v4_core0.$strip>;
13
+ declare const headerLogoSearchInspectorPropsSchema: zod.ZodObject<{
14
+ logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
15
+ logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
16
+ }, zod_v4_core0.$strip>;
12
17
  type HeaderLogoSearchInspectorProps = InferSchemaProps<typeof headerLogoSearchInspectorPropsSchema>;
13
18
  //#endregion
14
19
  export { HeaderLogoSearchInspectorProps, headerLogoSearchInspectorPropsSchema };
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"../../../../../utils/schema/schema.mjs";const n=e({});t(n);export{n as headerLogoSearchInspectorPropsSchema};
2
+ import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"../../../../../utils/schema/schema.mjs";const r=e({logoSrc:t({label:`LOGO 图片地址`,required:!1,defaultValue:``}),logoHref:t({label:`LOGO 跳转地址`,required:!1,defaultValue:`/`})}),i=n(r);export{i as headerLogoSearchInspectorDefaultProps,r as headerLogoSearchInspectorPropsSchema};
@@ -5,7 +5,7 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
  //#region components/biz/business/header-search/header-search/client.d.ts
6
6
  type HeaderSearchClientProps = HeaderSearchInspectorProps;
7
7
  /**
8
- * 顶部-搜索框 客户端组件,仅做占位展示。
8
+ * 顶部-搜索框
9
9
  */
10
10
  declare function HeaderSearchClient(_props: HeaderSearchClientProps): react_jsx_runtime0.JSX.Element;
11
11
  //#endregion
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{cn as e}from"../../../../../utils/cn.mjs";import{Box as t}from"../../../../ui/box.mjs";import{Input as n}from"../../../../ui/input.mjs";import{jsx as r}from"react/jsx-runtime";function i(i){return r(t,{as:`header`,className:e(`flex items-center gap-2 px-3 py-2`,`border-b bg-background`),"aria-label":`顶部-搜索框`,children:r(n,{type:`text`,placeholder:`搜索`,className:`flex-1 max-w-md`,readOnly:!0,"aria-label":`搜索框`})})}export{i as HeaderSearchClient};
2
+ "use client";import{Box as e}from"../../../../ui/box.mjs";import{Search as t}from"../shared/search.mjs";import{jsx as n}from"react/jsx-runtime";function r(r){return n(e,{as:`header`,className:`px-[12px] py-[8px]`,children:n(t,{})})}export{r as HeaderSearchClient};
@@ -0,0 +1,2 @@
1
+
2
+ "use client";import{Button as e}from"../../../../ui/button.mjs";import{useUserStore as t}from"../../../../../store/modules/user-store.mjs";import{Avatar as n,AvatarFallback as r,AvatarImage as i}from"../../../../ui/avatar.mjs";import{useLoginModalStore as a}from"../../../../../store/modules/login-modal-store.mjs";import o from"../../../../../assets/icons/search/avatar.mjs";import{jsx as s,jsxs as c}from"react/jsx-runtime";import l from"next/link";import{useShallow as u}from"zustand/react/shallow";function d(){let{isLogin:d,userInfo:f}=t(u(e=>({isLogin:e.isLogin,userInfo:e.userInfo}))),p=a(e=>e.open),m=f?.avatar_url||f?.avatar||void 0;return d?s(l,{href:`/mine`,children:c(n,{className:`w-[36px] h-[36px]`,children:[s(i,{src:m,alt:`用户头像`}),s(r,{})]})}):s(e,{onClick:p,"aria-label":`登录`,className:`inline-flex rounded-full w-[36px] h-[36px] bg-transparent p-0 m-0`,children:s(o,{className:`w-[36px] h-[36px]`})})}export{d as UserAvatar};
@@ -0,0 +1,2 @@
1
+
2
+ "use client";import{Image as e}from"../../../../ui/image.mjs";import t from"../../../../../assets/icons/search/video.mjs";import{jsx as n}from"react/jsx-runtime";import r from"next/link";function i(i){let{logoHref:a,logoSrc:o}=i;return n(r,{href:a,className:`flex items-center justify-center w-[40px] h-[40px] relative`,children:o?n(e,{src:o,alt:`logo`,fill:!0,sizes:`40px`,className:`h-[40px] w-[40px] object-cover`}):n(t,{className:`w-[40px] h-[40px]`})})}export{i as Logo};
@@ -0,0 +1,2 @@
1
+
2
+ "use client";import{Text as e}from"../../../../ui/text.mjs";import t from"../../../../../assets/icons/search.mjs";import{jsx as n,jsxs as r}from"react/jsx-runtime";import i from"next/link";function a(){return r(i,{href:`/search`,"aria-label":`打开搜索页`,className:`flex flex-1 items-center gap-[8px] border-[1px] border-[#FD4C5E] rounded-[20px] px-[12px] py-[8px] h-[40px]`,children:[n(t,{className:`w-[16px] h-[16px]`,"aria-hidden":!0}),n(e,{className:`flex-1 text-[16px] text-text3`,children:`请输入搜索关键字`})]})}export{a as Search};
@@ -70,7 +70,7 @@ import "./post-card/index.mjs";
70
70
  import { ProfileHeaderInspectorProps, UserProfileHeaderAuthConfig, UserProfileHeaderClientProps, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema } from "./profile/profile-header/schema.mjs";
71
71
  import { UserProfileHeaderClient } from "./profile/profile-header/client.mjs";
72
72
  import { BuildUserProfileHeaderPrefetchParams, UserProfileHeader, UserProfileHeaderProps, buildUserProfileHeaderPrefetch } from "./profile/profile-header/server.mjs";
73
- import { profileHeaderMaterial } from "./profile/profile-header/material.mjs";
73
+ import { profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground } from "./profile/profile-header/material.mjs";
74
74
  import { ProfileMainAuthConfig, ProfileMainInspectorProps, UserProfileMainProps, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema } from "./profile/profile-main/schema.mjs";
75
75
  import { UserProfileMainClient } from "./profile/profile-main/client.mjs";
76
76
  import { UserProfileMain } from "./profile/profile-main/server.mjs";
@@ -1,2 +1,2 @@
1
1
 
2
- import{__exportAll as e}from"../../../_virtual/_rolldown/runtime.mjs";import{defaultProps as t}from"./banner/variants/basic-banner/defaults/default-props.mjs";import{schema as n}from"./banner/variants/basic-banner/schema/index.mjs";import{basicBannerInspectorDefaultProps as r,basicBannerInspectorPropsSchema as i}from"./banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as a}from"./banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as o}from"./banner/variants/basic-banner/material.mjs";import s from"./banner/variants/basic-banner/index.mjs";import{defaultProps as c}from"./card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as l}from"./card-grid/variants/card-grid-2x3/schema/index.mjs";import u from"./card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as d}from"./card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as f}from"./card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import p from"./card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as m}from"./card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as h}from"./card-grid/variants/card-grid-2x4/schema/index.mjs";import g from"./card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as _}from"./card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as v}from"./card-grid/variants/card-grid-3x3/schema/index.mjs";import y from"./card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as b}from"./card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as x}from"./card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import S from"./card-grid/variants/card-grid-3x3-infinite/index.mjs";import{defaultProps as C}from"./feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as w}from"./feature-grid/variants/basic-feature-grid/schema/index.mjs";import T from"./feature-grid/variants/basic-feature-grid/index.mjs";import{FloatingBallClient as E}from"./floating-ball/client.mjs";import{floatingBallInspectorDefaultProps as D,floatingBallInspectorPropsSchema as O}from"./floating-ball/schema.mjs";import{FloatingBall as k}from"./floating-ball/server.mjs";import{floatingBallMaterial as A}from"./floating-ball/material.mjs";import{defaultProps as j}from"../basics/fullscreen-feed/defaults/default-props.mjs";import{schema as M}from"../basics/fullscreen-feed/schema/index.mjs";import N from"../basics/fullscreen-feed/index.mjs";import{defaultProps as P}from"./fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import{schema as F}from"./fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import I from"./fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as L}from"./fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import{schema as R}from"./fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import z from"./fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{defaultProps as B}from"./home-recommend/variants/home-recommend-grid/defaults/default-props.mjs";import{defaultProps as V}from"./search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{schema as H}from"./search-bar/variants/detail-search-bar/schema/index.mjs";import U from"./search-bar/variants/detail-search-bar/index.mjs";import{schema as W}from"./home-recommend/variants/home-recommend-grid/schema/index.mjs";import{homeRecommendGridInspectorDefaultProps as G,homeRecommendGridInspectorPropsSchema as K}from"./home-recommend/variants/home-recommend-grid/inspector-schema.mjs";import{HomeRecommendGrid as q}from"./home-recommend/variants/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as J}from"./home-recommend/variants/home-recommend-grid/material.mjs";import Y from"./home-recommend/variants/home-recommend-grid/index.mjs";import{defaultProps as X}from"./home-recommend/variants/home-recommend-waterfall/defaults/default-props.mjs";import{schema as Z}from"./home-recommend/variants/home-recommend-waterfall/schema/index.mjs";import{homeRecommendWaterfallInspectorDefaultProps as Q,homeRecommendWaterfallInspectorPropsSchema as $}from"./home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs";import{HomeRecommendWaterfall as ee}from"./home-recommend/variants/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as te}from"./home-recommend/variants/home-recommend-waterfall/material.mjs";import ne from"./home-recommend/variants/home-recommend-waterfall/index.mjs";import{MarqueeClient as re}from"./marquee/client.mjs";import{marqueeInspectorDefaultProps as ie,marqueeInspectorPropsSchema as ae}from"./marquee/schema.mjs";import{MarqueeServer as oe}from"./marquee/server.mjs";import{marqueeMaterial as se}from"./marquee/material.mjs";import{defaultProps as ce}from"./nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as le}from"./nav-bar/variants/basic-nav-bar/schema/index.mjs";import ue from"./nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as de}from"./post-card/variants/basic-post-card/defaults/default-props.mjs";import{schema as fe}from"./post-card/variants/basic-post-card/schema/index.mjs";import pe from"./post-card/variants/basic-post-card/index.mjs";import{UserProfileHeaderClient as me}from"./profile/profile-header/client.mjs";import{profileHeaderInspectorDefaultProps as he,profileHeaderInspectorPropsSchema as ge}from"./profile/profile-header/schema.mjs";import{UserProfileHeader as _e,buildUserProfileHeaderPrefetch as ve}from"./profile/profile-header/server.mjs";import{profileHeaderMaterial as ye}from"./profile/profile-header/material.mjs";import{profileMainCollectCollectionTabOptions as be,profileMainCollectTabOptions as xe,profileMainHistoryTabOptions as Se,profileMainLikeTabOptions as Ce,profileMainMineTabOptions as we,profileMainProfileTabOptions as Te,profileMainTabOptions as Ee}from"./profile/profile-main/variants.mjs";import{UserProfileMainShell as De}from"./profile/profile-main/shell.mjs";import{UserProfileMainClient as Oe}from"./profile/profile-main/client.mjs";import{profileMainInspectorDefaultProps as ke,profileMainInspectorPropsSchema as Ae}from"./profile/profile-main/schema.mjs";import{CollectTab as je}from"./profile/profile-main/tabs/collect-tab/client.mjs";import{CollectTabServer as Me,buildCollectTabPrefetch as Ne}from"./profile/profile-main/tabs/collect-tab/server.mjs";import{HistoryTab as Pe}from"./profile/profile-main/tabs/history-tab/client.mjs";import{HistoryTabServer as Fe,buildHistoryTabPrefetch as Ie}from"./profile/profile-main/tabs/history-tab/server.mjs";import{LikeTab as Le}from"./profile/profile-main/tabs/like-tab/client.mjs";import{LikeTabServer as Re,buildLikeTabPrefetch as ze}from"./profile/profile-main/tabs/like-tab/server.mjs";import{PublishTab as Be}from"./profile/profile-main/tabs/publish-tab/client.mjs";import{PublishTabServer as Ve,buildPublishTabPrefetch as He}from"./profile/profile-main/tabs/publish-tab/server.mjs";import{UserProfileMain as Ue}from"./profile/profile-main/server.mjs";import{profileMainMaterial as We}from"./profile/profile-main/material.mjs";import{defaultProps as Ge}from"./recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as Ke}from"./recommended-users/variants/basic-recommended-users/schema/index.mjs";import qe from"./recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as Je}from"./search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as Ye}from"./search-bar/variants/basic-search-bar/schema/index.mjs";import Xe from"./search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as Ze}from"./search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as Qe}from"./search-bar/variants/filter-search-bar/schema/index.mjs";import $e from"./search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as et}from"./search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as tt}from"./search-bar/variants/tag-search-bar/schema/index.mjs";import nt from"./search-bar/variants/tag-search-bar/index.mjs";import{SearchHistoryClient as rt}from"./search-history/client.mjs";import{searchHistoryInspectorDefaultProps as it,searchHistoryInspectorPropsSchema as at}from"./search-history/schema.mjs";import{SearchHistoryServer as ot}from"./search-history/server.mjs";import{searchHistoryMaterial as st}from"./search-history/material.mjs";import{SearchInputClient as ct}from"./search-input/client.mjs";import{searchInputInspectorDefaultProps as lt,searchInputInspectorPropsSchema as ut}from"./search-input/schema.mjs";import{SearchInputServer as dt}from"./search-input/server.mjs";import{searchInputMaterial as ft}from"./search-input/material.mjs";import{TabBarClient as pt}from"./tab-bar/client.mjs";import{tabBarInspectorDefaultProps as mt,tabBarInspectorPropsSchema as ht}from"./tab-bar/schema.mjs";import{TabBarServer as gt}from"./tab-bar/server.mjs";import{tabBarMaterial as _t}from"./tab-bar/material.mjs";import{TextRecommendClient as vt}from"./text-recommend/client.mjs";import{textRecommendInspectorDefaultProps as yt,textRecommendInspectorPropsSchema as bt}from"./text-recommend/schema.mjs";import{TextRecommendServer as xt}from"./text-recommend/server.mjs";import{textRecommendMaterial as St}from"./text-recommend/material.mjs";import{VideoHorizontalListClient as Ct}from"./video-horizontal-list/client.mjs";import{videoHorizontalListInspectorDefaultProps as wt,videoHorizontalListInspectorPropsSchema as Tt}from"./video-horizontal-list/schema.mjs";import{VideoHorizontalListServer as Et}from"./video-horizontal-list/server.mjs";import{videoHorizontalListMaterial as Dt}from"./video-horizontal-list/material.mjs";var Ot=e({BasicBanner:()=>s,BasicBannerDefaultData:()=>t,BasicBannerMaterialComponent:()=>a,BasicBannerSchema:()=>n,BasicFeatureGrid:()=>T,BasicFeatureGridDefaultData:()=>C,BasicFeatureGridSchema:()=>w,BasicFullscreenFeed:()=>N,BasicFullscreenFeedDefaultData:()=>j,BasicFullscreenFeedSchema:()=>M,BasicNavBar:()=>ue,BasicNavBarDefaultData:()=>ce,BasicNavBarSchema:()=>le,BasicPostCard:()=>pe,BasicPostCardDefaultData:()=>de,BasicPostCardSchema:()=>fe,BasicRecommendedUsers:()=>qe,BasicRecommendedUsersDefaultData:()=>Ge,BasicRecommendedUsersSchema:()=>Ke,BasicSearchBar:()=>Xe,BasicSearchBarDefaultData:()=>Je,BasicSearchBarSchema:()=>Ye,CardGrid2x3:()=>u,CardGrid2x3DefaultData:()=>c,CardGrid2x3Infinite:()=>p,CardGrid2x3InfiniteDefaultData:()=>d,CardGrid2x3InfiniteSchema:()=>f,CardGrid2x3Schema:()=>l,CardGrid2x4:()=>g,CardGrid2x4DefaultData:()=>m,CardGrid2x4Schema:()=>h,CardGrid3x3:()=>y,CardGrid3x3DefaultData:()=>_,CardGrid3x3Infinite:()=>S,CardGrid3x3InfiniteDefaultData:()=>b,CardGrid3x3InfiniteSchema:()=>x,CardGrid3x3Schema:()=>v,CollectTab:()=>je,CollectTabServer:()=>Me,DetailSearchBar:()=>U,DetailSearchBarDefaultData:()=>V,DetailSearchBarSchema:()=>H,FilterSearchBar:()=>$e,FilterSearchBarDefaultData:()=>Ze,FilterSearchBarSchema:()=>Qe,FloatingBall:()=>k,FloatingBallClient:()=>E,FullscreenFeedClient:()=>I,FullscreenPostFeedDefaultData:()=>P,FullscreenPostFeedSchema:()=>F,FullscreenVideoClient:()=>z,FullscreenVideoFeedDefaultData:()=>L,FullscreenVideoFeedSchema:()=>R,HistoryTab:()=>Pe,HistoryTabServer:()=>Fe,HomeRecommendGrid:()=>Y,HomeRecommendGridDefaultData:()=>B,HomeRecommendGridMaterialComponent:()=>q,HomeRecommendGridSchema:()=>W,HomeRecommendWaterfall:()=>ne,HomeRecommendWaterfallDefaultData:()=>X,HomeRecommendWaterfallMaterialComponent:()=>ee,HomeRecommendWaterfallSchema:()=>Z,LikeTab:()=>Le,LikeTabServer:()=>Re,MarqueeClient:()=>re,MarqueeServer:()=>oe,PublishTab:()=>Be,PublishTabServer:()=>Ve,SearchHistoryClient:()=>rt,SearchHistoryServer:()=>ot,SearchInputClient:()=>ct,SearchInputServer:()=>dt,TabBarClient:()=>pt,TabBarServer:()=>gt,TagSearchBar:()=>nt,TagSearchBarDefaultData:()=>et,TagSearchBarSchema:()=>tt,TextRecommendClient:()=>vt,TextRecommendServer:()=>xt,UserProfileHeader:()=>_e,UserProfileHeaderClient:()=>me,UserProfileMain:()=>Ue,UserProfileMainClient:()=>Oe,UserProfileMainShell:()=>De,VideoHorizontalListClient:()=>Ct,VideoHorizontalListServer:()=>Et,basicBannerInspectorDefaultProps:()=>r,basicBannerInspectorPropsSchema:()=>i,basicBannerMaterial:()=>o,buildCollectTabPrefetch:()=>Ne,buildHistoryTabPrefetch:()=>Ie,buildLikeTabPrefetch:()=>ze,buildPublishTabPrefetch:()=>He,buildUserProfileHeaderPrefetch:()=>ve,floatingBallInspectorDefaultProps:()=>D,floatingBallInspectorPropsSchema:()=>O,floatingBallMaterial:()=>A,homeRecommendGridInspectorDefaultProps:()=>G,homeRecommendGridInspectorPropsSchema:()=>K,homeRecommendGridMaterial:()=>J,homeRecommendWaterfallInspectorDefaultProps:()=>Q,homeRecommendWaterfallInspectorPropsSchema:()=>$,homeRecommendWaterfallMaterial:()=>te,marqueeInspectorDefaultProps:()=>ie,marqueeInspectorPropsSchema:()=>ae,marqueeMaterial:()=>se,profileHeaderInspectorDefaultProps:()=>he,profileHeaderInspectorPropsSchema:()=>ge,profileHeaderMaterial:()=>ye,profileMainCollectCollectionTabOptions:()=>be,profileMainCollectTabOptions:()=>xe,profileMainHistoryTabOptions:()=>Se,profileMainInspectorDefaultProps:()=>ke,profileMainInspectorPropsSchema:()=>Ae,profileMainLikeTabOptions:()=>Ce,profileMainMaterial:()=>We,profileMainMineTabOptions:()=>we,profileMainProfileTabOptions:()=>Te,profileMainTabOptions:()=>Ee,searchHistoryInspectorDefaultProps:()=>it,searchHistoryInspectorPropsSchema:()=>at,searchHistoryMaterial:()=>st,searchInputInspectorDefaultProps:()=>lt,searchInputInspectorPropsSchema:()=>ut,searchInputMaterial:()=>ft,tabBarInspectorDefaultProps:()=>mt,tabBarInspectorPropsSchema:()=>ht,tabBarMaterial:()=>_t,textRecommendInspectorDefaultProps:()=>yt,textRecommendInspectorPropsSchema:()=>bt,textRecommendMaterial:()=>St,videoHorizontalListInspectorDefaultProps:()=>wt,videoHorizontalListInspectorPropsSchema:()=>Tt,videoHorizontalListMaterial:()=>Dt});export{Ot as business_exports};
2
+ import{__exportAll as e}from"../../../_virtual/_rolldown/runtime.mjs";import{defaultProps as t}from"./banner/variants/basic-banner/defaults/default-props.mjs";import{schema as n}from"./banner/variants/basic-banner/schema/index.mjs";import{basicBannerInspectorDefaultProps as r,basicBannerInspectorPropsSchema as i}from"./banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as a}from"./banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as o}from"./banner/variants/basic-banner/material.mjs";import s from"./banner/variants/basic-banner/index.mjs";import{defaultProps as c}from"./card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as l}from"./card-grid/variants/card-grid-2x3/schema/index.mjs";import u from"./card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as d}from"./card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as f}from"./card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import p from"./card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as m}from"./card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as h}from"./card-grid/variants/card-grid-2x4/schema/index.mjs";import g from"./card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as _}from"./card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as v}from"./card-grid/variants/card-grid-3x3/schema/index.mjs";import y from"./card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as b}from"./card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as x}from"./card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import S from"./card-grid/variants/card-grid-3x3-infinite/index.mjs";import{defaultProps as C}from"./feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as w}from"./feature-grid/variants/basic-feature-grid/schema/index.mjs";import T from"./feature-grid/variants/basic-feature-grid/index.mjs";import{FloatingBallClient as E}from"./floating-ball/client.mjs";import{floatingBallInspectorDefaultProps as D,floatingBallInspectorPropsSchema as O}from"./floating-ball/schema.mjs";import{FloatingBall as k}from"./floating-ball/server.mjs";import{floatingBallMaterial as A}from"./floating-ball/material.mjs";import{defaultProps as j}from"../basics/fullscreen-feed/defaults/default-props.mjs";import{schema as M}from"../basics/fullscreen-feed/schema/index.mjs";import N from"../basics/fullscreen-feed/index.mjs";import{defaultProps as P}from"./fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import{schema as F}from"./fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import I from"./fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as L}from"./fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import{schema as R}from"./fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import z from"./fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{defaultProps as B}from"./home-recommend/variants/home-recommend-grid/defaults/default-props.mjs";import{defaultProps as V}from"./search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{schema as H}from"./search-bar/variants/detail-search-bar/schema/index.mjs";import U from"./search-bar/variants/detail-search-bar/index.mjs";import{schema as W}from"./home-recommend/variants/home-recommend-grid/schema/index.mjs";import{homeRecommendGridInspectorDefaultProps as G,homeRecommendGridInspectorPropsSchema as K}from"./home-recommend/variants/home-recommend-grid/inspector-schema.mjs";import{HomeRecommendGrid as q}from"./home-recommend/variants/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as J}from"./home-recommend/variants/home-recommend-grid/material.mjs";import Y from"./home-recommend/variants/home-recommend-grid/index.mjs";import{defaultProps as X}from"./home-recommend/variants/home-recommend-waterfall/defaults/default-props.mjs";import{schema as Z}from"./home-recommend/variants/home-recommend-waterfall/schema/index.mjs";import{homeRecommendWaterfallInspectorDefaultProps as Q,homeRecommendWaterfallInspectorPropsSchema as $}from"./home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs";import{HomeRecommendWaterfall as ee}from"./home-recommend/variants/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as te}from"./home-recommend/variants/home-recommend-waterfall/material.mjs";import ne from"./home-recommend/variants/home-recommend-waterfall/index.mjs";import{MarqueeClient as re}from"./marquee/client.mjs";import{marqueeInspectorDefaultProps as ie,marqueeInspectorPropsSchema as ae}from"./marquee/schema.mjs";import{MarqueeServer as oe}from"./marquee/server.mjs";import{marqueeMaterial as se}from"./marquee/material.mjs";import{defaultProps as ce}from"./nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as le}from"./nav-bar/variants/basic-nav-bar/schema/index.mjs";import ue from"./nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as de}from"./post-card/variants/basic-post-card/defaults/default-props.mjs";import{schema as fe}from"./post-card/variants/basic-post-card/schema/index.mjs";import pe from"./post-card/variants/basic-post-card/index.mjs";import{UserProfileHeaderClient as me}from"./profile/profile-header/client.mjs";import{profileHeaderInspectorDefaultProps as he,profileHeaderInspectorPropsSchema as ge}from"./profile/profile-header/schema.mjs";import{UserProfileHeader as _e,buildUserProfileHeaderPrefetch as ve}from"./profile/profile-header/server.mjs";import{profileHeaderMaterial as ye,profileHeaderMaterialWithDisabledBackground as be}from"./profile/profile-header/material.mjs";import{profileMainCollectCollectionTabOptions as xe,profileMainCollectTabOptions as Se,profileMainHistoryTabOptions as Ce,profileMainLikeTabOptions as we,profileMainMineTabOptions as Te,profileMainProfileTabOptions as Ee,profileMainTabOptions as De}from"./profile/profile-main/variants.mjs";import{UserProfileMainShell as Oe}from"./profile/profile-main/shell.mjs";import{UserProfileMainClient as ke}from"./profile/profile-main/client.mjs";import{profileMainInspectorDefaultProps as Ae,profileMainInspectorPropsSchema as je}from"./profile/profile-main/schema.mjs";import{CollectTab as Me}from"./profile/profile-main/tabs/collect-tab/client.mjs";import{CollectTabServer as Ne,buildCollectTabPrefetch as Pe}from"./profile/profile-main/tabs/collect-tab/server.mjs";import{HistoryTab as Fe}from"./profile/profile-main/tabs/history-tab/client.mjs";import{HistoryTabServer as Ie,buildHistoryTabPrefetch as Le}from"./profile/profile-main/tabs/history-tab/server.mjs";import{LikeTab as Re}from"./profile/profile-main/tabs/like-tab/client.mjs";import{LikeTabServer as ze,buildLikeTabPrefetch as Be}from"./profile/profile-main/tabs/like-tab/server.mjs";import{PublishTab as Ve}from"./profile/profile-main/tabs/publish-tab/client.mjs";import{PublishTabServer as He,buildPublishTabPrefetch as Ue}from"./profile/profile-main/tabs/publish-tab/server.mjs";import{UserProfileMain as We}from"./profile/profile-main/server.mjs";import{profileMainMaterial as Ge}from"./profile/profile-main/material.mjs";import{defaultProps as Ke}from"./recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as qe}from"./recommended-users/variants/basic-recommended-users/schema/index.mjs";import Je from"./recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as Ye}from"./search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as Xe}from"./search-bar/variants/basic-search-bar/schema/index.mjs";import Ze from"./search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as Qe}from"./search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as $e}from"./search-bar/variants/filter-search-bar/schema/index.mjs";import et from"./search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as tt}from"./search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as nt}from"./search-bar/variants/tag-search-bar/schema/index.mjs";import rt from"./search-bar/variants/tag-search-bar/index.mjs";import{SearchHistoryClient as it}from"./search-history/client.mjs";import{searchHistoryInspectorDefaultProps as at,searchHistoryInspectorPropsSchema as ot}from"./search-history/schema.mjs";import{SearchHistoryServer as st}from"./search-history/server.mjs";import{searchHistoryMaterial as ct}from"./search-history/material.mjs";import{SearchInputClient as lt}from"./search-input/client.mjs";import{searchInputInspectorDefaultProps as ut,searchInputInspectorPropsSchema as dt}from"./search-input/schema.mjs";import{SearchInputServer as ft}from"./search-input/server.mjs";import{searchInputMaterial as pt}from"./search-input/material.mjs";import{TabBarClient as mt}from"./tab-bar/client.mjs";import{tabBarInspectorDefaultProps as ht,tabBarInspectorPropsSchema as gt}from"./tab-bar/schema.mjs";import{TabBarServer as _t}from"./tab-bar/server.mjs";import{tabBarMaterial as vt}from"./tab-bar/material.mjs";import{TextRecommendClient as yt}from"./text-recommend/client.mjs";import{textRecommendInspectorDefaultProps as bt,textRecommendInspectorPropsSchema as xt}from"./text-recommend/schema.mjs";import{TextRecommendServer as St}from"./text-recommend/server.mjs";import{textRecommendMaterial as Ct}from"./text-recommend/material.mjs";import{VideoHorizontalListClient as wt}from"./video-horizontal-list/client.mjs";import{videoHorizontalListInspectorDefaultProps as Tt,videoHorizontalListInspectorPropsSchema as Et}from"./video-horizontal-list/schema.mjs";import{VideoHorizontalListServer as Dt}from"./video-horizontal-list/server.mjs";import{videoHorizontalListMaterial as Ot}from"./video-horizontal-list/material.mjs";var kt=e({BasicBanner:()=>s,BasicBannerDefaultData:()=>t,BasicBannerMaterialComponent:()=>a,BasicBannerSchema:()=>n,BasicFeatureGrid:()=>T,BasicFeatureGridDefaultData:()=>C,BasicFeatureGridSchema:()=>w,BasicFullscreenFeed:()=>N,BasicFullscreenFeedDefaultData:()=>j,BasicFullscreenFeedSchema:()=>M,BasicNavBar:()=>ue,BasicNavBarDefaultData:()=>ce,BasicNavBarSchema:()=>le,BasicPostCard:()=>pe,BasicPostCardDefaultData:()=>de,BasicPostCardSchema:()=>fe,BasicRecommendedUsers:()=>Je,BasicRecommendedUsersDefaultData:()=>Ke,BasicRecommendedUsersSchema:()=>qe,BasicSearchBar:()=>Ze,BasicSearchBarDefaultData:()=>Ye,BasicSearchBarSchema:()=>Xe,CardGrid2x3:()=>u,CardGrid2x3DefaultData:()=>c,CardGrid2x3Infinite:()=>p,CardGrid2x3InfiniteDefaultData:()=>d,CardGrid2x3InfiniteSchema:()=>f,CardGrid2x3Schema:()=>l,CardGrid2x4:()=>g,CardGrid2x4DefaultData:()=>m,CardGrid2x4Schema:()=>h,CardGrid3x3:()=>y,CardGrid3x3DefaultData:()=>_,CardGrid3x3Infinite:()=>S,CardGrid3x3InfiniteDefaultData:()=>b,CardGrid3x3InfiniteSchema:()=>x,CardGrid3x3Schema:()=>v,CollectTab:()=>Me,CollectTabServer:()=>Ne,DetailSearchBar:()=>U,DetailSearchBarDefaultData:()=>V,DetailSearchBarSchema:()=>H,FilterSearchBar:()=>et,FilterSearchBarDefaultData:()=>Qe,FilterSearchBarSchema:()=>$e,FloatingBall:()=>k,FloatingBallClient:()=>E,FullscreenFeedClient:()=>I,FullscreenPostFeedDefaultData:()=>P,FullscreenPostFeedSchema:()=>F,FullscreenVideoClient:()=>z,FullscreenVideoFeedDefaultData:()=>L,FullscreenVideoFeedSchema:()=>R,HistoryTab:()=>Fe,HistoryTabServer:()=>Ie,HomeRecommendGrid:()=>Y,HomeRecommendGridDefaultData:()=>B,HomeRecommendGridMaterialComponent:()=>q,HomeRecommendGridSchema:()=>W,HomeRecommendWaterfall:()=>ne,HomeRecommendWaterfallDefaultData:()=>X,HomeRecommendWaterfallMaterialComponent:()=>ee,HomeRecommendWaterfallSchema:()=>Z,LikeTab:()=>Re,LikeTabServer:()=>ze,MarqueeClient:()=>re,MarqueeServer:()=>oe,PublishTab:()=>Ve,PublishTabServer:()=>He,SearchHistoryClient:()=>it,SearchHistoryServer:()=>st,SearchInputClient:()=>lt,SearchInputServer:()=>ft,TabBarClient:()=>mt,TabBarServer:()=>_t,TagSearchBar:()=>rt,TagSearchBarDefaultData:()=>tt,TagSearchBarSchema:()=>nt,TextRecommendClient:()=>yt,TextRecommendServer:()=>St,UserProfileHeader:()=>_e,UserProfileHeaderClient:()=>me,UserProfileMain:()=>We,UserProfileMainClient:()=>ke,UserProfileMainShell:()=>Oe,VideoHorizontalListClient:()=>wt,VideoHorizontalListServer:()=>Dt,basicBannerInspectorDefaultProps:()=>r,basicBannerInspectorPropsSchema:()=>i,basicBannerMaterial:()=>o,buildCollectTabPrefetch:()=>Pe,buildHistoryTabPrefetch:()=>Le,buildLikeTabPrefetch:()=>Be,buildPublishTabPrefetch:()=>Ue,buildUserProfileHeaderPrefetch:()=>ve,floatingBallInspectorDefaultProps:()=>D,floatingBallInspectorPropsSchema:()=>O,floatingBallMaterial:()=>A,homeRecommendGridInspectorDefaultProps:()=>G,homeRecommendGridInspectorPropsSchema:()=>K,homeRecommendGridMaterial:()=>J,homeRecommendWaterfallInspectorDefaultProps:()=>Q,homeRecommendWaterfallInspectorPropsSchema:()=>$,homeRecommendWaterfallMaterial:()=>te,marqueeInspectorDefaultProps:()=>ie,marqueeInspectorPropsSchema:()=>ae,marqueeMaterial:()=>se,profileHeaderInspectorDefaultProps:()=>he,profileHeaderInspectorPropsSchema:()=>ge,profileHeaderMaterial:()=>ye,profileHeaderMaterialWithDisabledBackground:()=>be,profileMainCollectCollectionTabOptions:()=>xe,profileMainCollectTabOptions:()=>Se,profileMainHistoryTabOptions:()=>Ce,profileMainInspectorDefaultProps:()=>Ae,profileMainInspectorPropsSchema:()=>je,profileMainLikeTabOptions:()=>we,profileMainMaterial:()=>Ge,profileMainMineTabOptions:()=>Te,profileMainProfileTabOptions:()=>Ee,profileMainTabOptions:()=>De,searchHistoryInspectorDefaultProps:()=>at,searchHistoryInspectorPropsSchema:()=>ot,searchHistoryMaterial:()=>ct,searchInputInspectorDefaultProps:()=>ut,searchInputInspectorPropsSchema:()=>dt,searchInputMaterial:()=>pt,tabBarInspectorDefaultProps:()=>ht,tabBarInspectorPropsSchema:()=>gt,tabBarMaterial:()=>vt,textRecommendInspectorDefaultProps:()=>bt,textRecommendInspectorPropsSchema:()=>xt,textRecommendMaterial:()=>Ct,videoHorizontalListInspectorDefaultProps:()=>Tt,videoHorizontalListInspectorPropsSchema:()=>Et,videoHorizontalListMaterial:()=>Ot});export{kt as business_exports};
@@ -1,2 +1,2 @@
1
1
 
2
- const e=[{title:`推荐位名称`,moreUrl:`/channel`,items:{id:`22edc8693ebbdaf1`,cover:`https://base-resources.guadd.fun/md-204/dcc-file/f7/f70a9f9f0c17aa9aff6c3a3e03a822db-small.jpg`,tag:`独家`,playCount:0,playCountDelta:0,showPlayCount:!0,duration:0,showEpisode:!0,useContentCover:!0,title:`穷小伙一睁眼穿越古代,娶个老婆就能得到奖励,后宫3000宠都宠不过来!谁料女帝主动送上门来,征服女帝可以直接开终极宝箱,不用选择全都可以!`,desc:`穷小伙一睁眼穿越古代,娶个老婆就能得到奖励,后宫3000宠都宠不过来!谁料女帝主动送上门来,征服女帝可以直接开终极宝箱,不用选择全都可以!`}}];export{e as defaultData};
2
+ const e=[{title:`推荐位名称`,moreUrl:`/channel`,items:{id:`22edc8693ebbdaf1`,cover:`https://base-resources.guadd.fun/md-204/dcc-file/f7/f70a9f9f0c17aa9aff6c3a3e03a822db-small.jpg`,tag:`独家`,playCount:11111,playCountDelta:0,showPlayCount:!0,duration:3600,showEpisode:!0,useContentCover:!0,title:`穷小伙一睁眼穿越古代,娶个老婆就能得到奖励,后宫3000宠都宠不过来!谁料女帝主动送上门来,征服女帝可以直接开终极宝箱,不用选择全都可以!`,desc:`穷小伙一睁眼穿越古代,娶个老婆就能得到奖励,后宫3000宠都宠不过来!谁料女帝主动送上门来,征服女帝可以直接开终极宝箱,不用选择全都可以!`}}];export{e as defaultData};
@@ -2,7 +2,7 @@
2
2
  import { ProfileHeaderInspectorProps, UserProfileHeaderAuthConfig, UserProfileHeaderClientProps, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema } from "./profile-header/schema.mjs";
3
3
  import { UserProfileHeaderClient } from "./profile-header/client.mjs";
4
4
  import { BuildUserProfileHeaderPrefetchParams, UserProfileHeader, UserProfileHeaderProps, buildUserProfileHeaderPrefetch } from "./profile-header/server.mjs";
5
- import { profileHeaderMaterial } from "./profile-header/material.mjs";
5
+ import { profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground } from "./profile-header/material.mjs";
6
6
  import "./profile-header/index.mjs";
7
7
  import { ProfileMainAuthConfig, ProfileMainInspectorProps, UserProfileMainProps, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema } from "./profile-main/schema.mjs";
8
8
  import { UserProfileMainClient } from "./profile-main/client.mjs";
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{cn as e}from"../../../../../utils/cn.mjs";import{Button as t}from"../../../../ui/button.mjs";import{useUserStore as n}from"../../../../../store/modules/user-store.mjs";import{gUserGetUserInfo as r,gUserViewUserInfo as i,pInteractionFollow as a,pInteractionUnfollow as o}from"../../../../../service/generated/client.mjs";import{Box as s}from"../../../../ui/box.mjs";import{Skeleton as c}from"../../../../ui/skeleton.mjs";import{Text as l}from"../../../../ui/text.mjs";import{useDeleteRequest as u,useMutation as d,useRequest as f,useUpdateRequest as p}from"../../../../../hooks/query/use-query.mjs";import{useAppContext as m}from"../../../../../hooks/use-app-context/index.mjs";import{useLoginModalStore as h}from"../../../../../store/modules/login-modal-store.mjs";import{LeftArrowIcon as g}from"../../../../common/icons/left-arrow.mjs";import{SettingIcon as _}from"../../../../common/icons/setting.mjs";import{UserProfileAvatar as v}from"./user-profile-avatar.mjs";import{UserProfileCoverBackground as y}from"./user-profile-cover-background.mjs";import{useEffect as b,useMemo as ee,useState as x}from"react";import{jsx as S,jsxs as C}from"react/jsx-runtime";import{toast as w}from"sonner";import{useTranslations as T}from"next-intl";import E from"next/link";import{useRouter as te}from"next/navigation";const D=n.persist,O=`https://guadd-sg-ccs-sing-dev.s3.ap-southeast-1.amazonaws.com/default/default_avatar.png`,k=`/images/mine/img_mine_head_bg.png`;function ne({userId:e,currentUserId:n,isFollowing:r}){let i=T(`components.pages.profile`),{open:s}=h(),c=u(),l=p(),{mutateAsync:f,isPending:m}=d(async e=>a(e)),{mutateAsync:g,isPending:_}=d(async e=>o(e)),v=m||_;async function y(){if(!v){if(!n){s();return}try{if(r){let t=await g({app_id:0,follower_id:n,followee_id:e});t.code===0?(w.success(i(`client.unfollowSuccess`)),b(!1),c([`check-follow`,e]),c([`user-profile`,`profile`,e])):w.error(t.message||i(`client.unfollowFailed`))}else{let t=await f({app_id:0,follower_id:n,followee_id:e});t.code===0?(w.success(i(`client.followSuccess`)),b(!0),c([`check-follow`,e]),c([`user-profile`,`profile`,e])):w.error(t.message||i(`client.followFailed`))}}catch(e){console.error(`关注操作失败`,e),w.error(i(`client.operationFailed`))}}}function b(t){l([`user-profile`,`profile`,e],e=>!e||!e.data?e:{...e,data:{...e.data,is_following:t}})}return S(t,{variant:r?`outline`:`default`,className:`rounded-full disabled:opacity-100`,onClick:y,disabled:v,children:i(v?`client.processing`:r?`client.followed`:`client.follow`)})}function A({showBackButton:t=!0,enableCustomBackground:n=!0,className:r}){return C(s,{className:e(`flex flex-col relative`,r),children:[C(s,{className:`absolute top-0 p-3 z-10 flex items-center justify-between w-full`,children:[S(c,{className:e(`w-4 h-4 rounded-sm bg-muted`,{invisible:!t})}),S(c,{className:`w-4 h-4 rounded-sm bg-muted`})]}),S(s,{className:e(n?`h-33.75`:`h-16`),children:n?S(c,{className:`h-full w-full rounded-none bg-white/10`}):S(s,{className:`h-full w-full bg-bg1`})}),C(s,{className:`flex-1 px-3`,children:[C(s,{className:`relative flex justify-end`,children:[S(c,{className:`!absolute bottom-3 left-0 w-22 h-22 rounded-full animate-none`}),C(s,{className:`flex divide-x divide-text1/5 py-4`,children:[C(s,{className:`px-4 flex flex-col items-center gap-1`,children:[S(c,{className:`w-8 h-4`}),S(c,{className:`w-10 h-3`})]}),C(s,{className:`px-4 flex flex-col items-center gap-1`,children:[S(c,{className:`w-8 h-4`}),S(c,{className:`w-10 h-3`})]}),C(s,{className:`px-4 flex flex-col items-center gap-1`,children:[S(c,{className:`w-8 h-4`}),S(c,{className:`w-10 h-3`})]})]})]}),C(s,{className:`flex items-center justify-between gap-1`,children:[S(c,{className:`h-6 w-26`}),S(c,{className:`h-9 w-20 rounded-full`})]}),S(c,{className:`h-4 w-2/3 mt-2`})]})]})}function j({id:a,enableCustomBackground:o=!0,showBackButton:c=!0,requireLogin:u=!1,cookieToken:d,cookieUserId:p,isEditorPreview:w=!1,className:j}){let M=T(`components.pages.profile`),N=T(`components.pages.profile.components`),re=m(),P=w||re===`editor`,ie=!P,ae=te(),{open:F}=h(),{isLogin:oe,userId:I,token:se}=n(),[L,R]=x(!1);b(()=>{if(!D){R(!0);return}R(D.hasHydrated());let e=D.onHydrate(()=>{R(!1)}),t=D.onFinishHydration(()=>{R(!0)});return()=>{e(),t()}},[]);let z=L?oe&&!!I&&!!se:!!p&&!!d,B=L?I:I||p,V=B,H=a==null||!!a&&!!V&&a===V,ce=!H&&!!a,U=H?[`user-profile`,`mine`]:[`user-profile`,`profile`,a],{data:W}=f(P?[`editor-preview`,...U]:U,()=>a?i({target_user_id:a,user_id:B||a}):r({user_id:a||B||``}),{staleTime:0,enabled:ie&&(!!a||!!B)}),G=ee(()=>{let e=W?W.data:void 0;return e?{userId:e.user_id,isFollowing:e.is_following||!1,name:e.nick_name||`User${a??``}`,avatar:e.avatar||O,followingCnt:e.following_count??0,followersCnt:e.follower_count??0,likeCnt:e.like_count??0,signature:e.signature||``,background:e.bg_image||k}:{}},[a,W]),K=u&&H&&!z,le=!z&&ce,q=H&&z&&!K,J=!z,ue=o&&q,de=o&&J,fe={name:M(`client.welcomeToPlanet`),description:M(`client.exploreAdventures`),avatar:O,followingCnt:0,followersCnt:0,likeCnt:0,background:k};function Y(){F()}function pe(){ae.back()}function X(e){!H||z||(e.preventDefault(),e.stopPropagation(),F())}let me=K?S(t,{className:`rounded-full`,size:`lg`,onClick:Y,children:M(`client.loginNow`)}):le?S(t,{className:`rounded-full`,size:`lg`,onClick:Y,children:M(`client.follow`)}):z?H?S(E,{href:`/edit`,children:S(t,{variant:`outline`,className:`rounded-full`,children:M(`client.editProfile`)})}):S(ne,{userId:a||``,currentUserId:B,isFollowing:G?.isFollowing}):S(t,{className:`rounded-full`,size:`lg`,onClick:Y,children:M(`client.loginNow`)}),Z=K?fe:G,Q=Z.name||``,$=Z.description||Z.signature||``,he=Z.followingCnt??0,ge=Z.followersCnt??0,_e=Z.likeCnt??0,ve=Z.avatar||``;return P?S(A,{showBackButton:c,enableCustomBackground:o,className:j}):C(s,{className:e(`flex flex-col relative`,j),children:[C(s,{className:`absolute top-0 p-3 z-10 flex items-center justify-between w-full`,children:[S(t,{variant:`ghost`,size:`icon-xs`,onClick:pe,className:e(`h-4 w-4 p-0 hover:bg-transparent`,{invisible:!c}),children:S(g,{className:`w-4 h-4`})}),S(E,{href:`/settings`,className:e({invisible:!H}),children:S(_,{})})]}),S(y,{isMine:ue,enableCustomBackground:o,src:Z.background,onUnauthorizedClick:de?Y:void 0}),C(s,{className:`flex-1 px-3`,children:[C(s,{className:`relative flex justify-end`,children:[S(v,{isMine:q,src:ve,alt:Q||`avatar`,onUnauthorizedClick:J?Y:void 0}),C(s,{className:`flex divide-x divide-text1/5 py-4`,children:[S(E,{href:H?`/followed`:`/followed?user_id=${Z.userId}`,onClick:X,children:C(s,{className:`px-4 flex flex-col items-center`,children:[S(l,{className:`font-bold text-base`,children:he}),S(l,{className:`font-normal text-sm text-text1/66`,children:N(`userProfileHeader.follow`)})]})}),S(E,{href:H?`/fans`:`/fans?user_id=${Z.userId}`,onClick:X,children:C(s,{className:`px-4 flex flex-col items-center`,children:[S(l,{className:`font-bold text-base`,children:ge}),S(l,{className:`font-normal text-sm text-text1/66`,children:N(`userProfileHeader.fans`)})]})}),C(s,{className:`px-4 flex flex-col items-center`,children:[S(l,{className:`font-bold text-base`,children:_e}),S(l,{className:`font-normal text-sm text-text1/66`,children:N(`userProfileHeader.likesReceived`)})]})]})]}),C(s,{className:`flex items-center justify-between gap-1`,children:[S(l,{as:`p`,className:`text-text1 text-xl line-clamp-2 font-bold`,children:Q}),me]}),$&&S(l,{as:`p`,className:`text-sm py-1 line-clamp-3 text-text1/66`,children:$})]})]})}export{j as UserProfileHeaderClient};
2
+ "use client";import{cn as e}from"../../../../../utils/cn.mjs";import{Button as t}from"../../../../ui/button.mjs";import{useUserStore as n}from"../../../../../store/modules/user-store.mjs";import{gUserGetUserInfo as r,gUserViewUserInfo as i,pInteractionFollow as a,pInteractionUnfollow as o}from"../../../../../service/generated/client.mjs";import{Box as s}from"../../../../ui/box.mjs";import{Text as c}from"../../../../ui/text.mjs";import{useDeleteRequest as l,useMutation as u,useRequest as d,useUpdateRequest as f}from"../../../../../hooks/query/use-query.mjs";import{useAppContext as p}from"../../../../../hooks/use-app-context/index.mjs";import{useLoginModalStore as m}from"../../../../../store/modules/login-modal-store.mjs";import{LeftArrowIcon as h}from"../../../../common/icons/left-arrow.mjs";import{SettingIcon as g}from"../../../../common/icons/setting.mjs";import{UserProfileAvatar as _}from"./user-profile-avatar.mjs";import{UserProfileCoverBackground as v}from"./user-profile-cover-background.mjs";import{useEffect as y,useMemo as b,useState as ee}from"react";import{jsx as x,jsxs as S}from"react/jsx-runtime";import{toast as C}from"sonner";import{useTranslations as w}from"next-intl";import T from"next/link";import{useRouter as te}from"next/navigation";const E=n.persist,D=`https://guadd-sg-ccs-sing-dev.s3.ap-southeast-1.amazonaws.com/default/default_avatar.png`,O=`/images/mine/img_mine_head_bg.png`;function ne({userId:e,currentUserId:n,isFollowing:r}){let i=w(`components.pages.profile`),{open:s}=m(),c=l(),d=f(),{mutateAsync:p,isPending:h}=u(async e=>a(e)),{mutateAsync:g,isPending:_}=u(async e=>o(e)),v=h||_;async function y(){if(!v){if(!n){s();return}try{if(r){let t=await g({app_id:0,follower_id:n,followee_id:e});t.code===0?(C.success(i(`client.unfollowSuccess`)),b(!1),c([`check-follow`,e]),c([`user-profile`,`profile`,e])):C.error(t.message||i(`client.unfollowFailed`))}else{let t=await p({app_id:0,follower_id:n,followee_id:e});t.code===0?(C.success(i(`client.followSuccess`)),b(!0),c([`check-follow`,e]),c([`user-profile`,`profile`,e])):C.error(t.message||i(`client.followFailed`))}}catch(e){console.error(`关注操作失败`,e),C.error(i(`client.operationFailed`))}}}function b(t){d([`user-profile`,`profile`,e],e=>!e||!e.data?e:{...e,data:{...e.data,is_following:t}})}return x(t,{variant:r?`outline`:`default`,className:`rounded-full disabled:opacity-100`,onClick:y,disabled:v,children:i(v?`client.processing`:r?`client.followed`:`client.follow`)})}function k({id:a,enableCustomBackground:o=!0,showBackButton:l=!0,requireLogin:u=!1,cookieToken:f,cookieUserId:C,isEditorPreview:k=!1,className:A}){let j=w(`components.pages.profile`),M=w(`components.pages.profile.components`),re=p(),N=k||re===`editor`,ie=!N,ae=te(),{open:P}=m(),{isLogin:oe,userId:F,token:I}=n(),[L,R]=ee(!1);y(()=>{if(!E){R(!0);return}R(E.hasHydrated());let e=E.onHydrate(()=>{R(!1)}),t=E.onFinishHydration(()=>{R(!0)});return()=>{e(),t()}},[]);let z=N?!1:L?oe&&!!F&&!!I:!!C&&!!f,B=N?``:L?F:F||C,V=B,H=a==null||!!a&&!!V&&a===V,se=!H&&!!a,U=H?[`user-profile`,`mine`]:[`user-profile`,`profile`,a],{data:W}=d(N?[`editor-preview`,...U]:U,()=>a?i({target_user_id:a,user_id:B||a}):r({user_id:a||B||``}),{staleTime:0,enabled:ie&&(!!a||!!B)}),G=b(()=>{let e=W?W.data:void 0;return e?{userId:e.user_id,isFollowing:e.is_following||!1,name:e.nick_name||`User${a??``}`,avatar:e.avatar||D,followingCnt:e.following_count??0,followersCnt:e.follower_count??0,likeCnt:e.like_count??0,signature:e.signature||``,background:e.bg_image||O}:{}},[a,W]),K=u&&H&&!z,ce=!z&&se,q=H&&z&&!K,J=!z,le=o&&q,ue=o&&J,de={name:j(`client.welcomeToPlanet`),description:j(`client.exploreAdventures`),avatar:D,followingCnt:0,followersCnt:0,likeCnt:0,background:O};function Y(){P()}function fe(){ae.back()}function X(e){!H||z||(e.preventDefault(),e.stopPropagation(),P())}let pe=K?x(t,{className:`rounded-full`,size:`lg`,onClick:Y,children:j(`client.loginNow`)}):ce?x(t,{className:`rounded-full`,size:`lg`,onClick:Y,children:j(`client.follow`)}):z?H?x(T,{href:`/edit`,children:x(t,{variant:`outline`,className:`rounded-full`,children:j(`client.editProfile`)})}):x(ne,{userId:a||``,currentUserId:B,isFollowing:G?.isFollowing}):x(t,{className:`rounded-full`,size:`lg`,onClick:Y,children:j(`client.loginNow`)}),Z=K?de:G,Q=Z.name||``,$=Z.description||Z.signature||``,me=Z.followingCnt??0,he=Z.followersCnt??0,ge=Z.likeCnt??0,_e=Z.avatar||``;return S(s,{className:e(`flex flex-col relative`,A),children:[S(s,{className:`absolute top-0 p-3 z-10 flex items-center justify-between w-full`,children:[x(t,{variant:`ghost`,size:`icon-xs`,onClick:fe,className:e(`h-4 w-4 p-0 hover:bg-transparent`,{invisible:!l}),children:x(h,{className:`w-4 h-4`})}),x(T,{href:`/settings`,className:e({invisible:!H}),children:x(g,{})})]}),x(v,{isMine:le,enableCustomBackground:o,src:Z.background,onUnauthorizedClick:ue?Y:void 0}),S(s,{className:`flex-1 px-3`,children:[S(s,{className:`relative flex justify-end`,children:[x(_,{isMine:q,src:_e,alt:Q||`avatar`,onUnauthorizedClick:J?Y:void 0}),S(s,{className:`flex divide-x divide-text1/5 py-4`,children:[x(T,{href:H?`/followed`:`/followed?user_id=${Z.userId}`,onClick:X,children:S(s,{className:`px-4 flex flex-col items-center`,children:[x(c,{className:`font-bold text-base`,children:me}),x(c,{className:`font-normal text-sm text-text1/66`,children:M(`userProfileHeader.follow`)})]})}),x(T,{href:H?`/fans`:`/fans?user_id=${Z.userId}`,onClick:X,children:S(s,{className:`px-4 flex flex-col items-center`,children:[x(c,{className:`font-bold text-base`,children:he}),x(c,{className:`font-normal text-sm text-text1/66`,children:M(`userProfileHeader.fans`)})]})}),S(s,{className:`px-4 flex flex-col items-center`,children:[x(c,{className:`font-bold text-base`,children:ge}),x(c,{className:`font-normal text-sm text-text1/66`,children:M(`userProfileHeader.likesReceived`)})]})]})]}),S(s,{className:`flex items-center justify-between gap-1`,children:[x(c,{as:`p`,className:`text-text1 text-xl line-clamp-2 font-bold`,children:Q}),pe]}),$&&x(c,{as:`p`,className:`text-sm py-1 line-clamp-3 text-text1/66`,children:$})]})]})}export{k as UserProfileHeaderClient};
@@ -2,4 +2,4 @@
2
2
  import { ProfileHeaderInspectorProps, UserProfileHeaderAuthConfig, UserProfileHeaderClientProps, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema } from "./schema.mjs";
3
3
  import { UserProfileHeaderClient } from "./client.mjs";
4
4
  import { BuildUserProfileHeaderPrefetchParams, UserProfileHeader, UserProfileHeaderProps, buildUserProfileHeaderPrefetch } from "./server.mjs";
5
- import { profileHeaderMaterial } from "./material.mjs";
5
+ import { profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground } from "./material.mjs";
@@ -1,15 +1,13 @@
1
1
 
2
- import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
3
2
  import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
4
- import "../../../../../utils/schema/index.mjs";
5
3
  import { UserProfileHeaderClient } from "./client.mjs";
6
4
  import { UserProfileHeader } from "./server.mjs";
5
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
7
6
  import * as zod from "zod";
8
7
  import * as zod_v4_core0 from "zod/v4/core";
9
8
 
10
9
  //#region components/biz/business/profile/profile-header/material.d.ts
11
- declare const profileHeaderMaterial: DefineMaterialOption<typeof UserProfileHeader, typeof UserProfileHeaderClient, zod.ZodObject<{
12
- enableCustomBackground: zod.ZodBoolean & SchemaHasDefaultValue;
13
- }, zod_v4_core0.$strip>, "profile-header">;
10
+ declare const profileHeaderMaterial: DefineMaterialOption<typeof UserProfileHeader, typeof UserProfileHeaderClient, zod.ZodObject<{}, zod_v4_core0.$strip>, "profile-header">;
11
+ declare const profileHeaderMaterialWithDisabledBackground: DefineMaterialOption<(props: React.ComponentProps<typeof UserProfileHeader>) => react_jsx_runtime0.JSX.Element, (props: React.ComponentProps<typeof UserProfileHeader>) => react_jsx_runtime0.JSX.Element, zod.ZodObject<{}, zod_v4_core0.$strip>, "profile-header-with-disabled-background">;
14
12
  //#endregion
15
- export { profileHeaderMaterial };
13
+ export { profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground };
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{UserProfileHeaderClient as t}from"./client.mjs";import{profileHeaderInspectorPropsSchema as n}from"./schema.mjs";import{UserProfileHeader as r}from"./server.mjs";const i=e({type:`profile-header`,category:`TOP`,name:`用户信息模块`,icon:`/icon/profile-header.png`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as profileHeaderMaterial};
2
+ import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{UserProfileHeaderClient as t}from"./client.mjs";import{profileHeaderInspectorPropsSchema as n}from"./schema.mjs";import{UserProfileHeader as r}from"./server.mjs";import{jsx as i}from"react/jsx-runtime";const a=e({type:`profile-header`,category:`TOP`,name:`用户信息模块(有背景图)`,icon:`/icon/profile-header.png`,serverComponent:r,clientComponent:t,propsSchema:n}),o=e({type:`profile-header-with-disabled-background`,category:`TOP`,name:`用户信息模块(无背景图)`,icon:`/icon/profile-header-disabled-background.png`,serverComponent:e=>i(r,{...e,enableCustomBackground:!1}),clientComponent:e=>i(t,{...e,enableCustomBackground:!1}),propsSchema:n});export{a as profileHeaderMaterial,o as profileHeaderMaterialWithDisabledBackground};
@@ -1,5 +1,5 @@
1
1
 
2
- import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
2
+ import { InferSchemaProps } from "../../../../../utils/schema/schema.mjs";
3
3
  import "../../../../../utils/schema/index.mjs";
4
4
  import * as zod from "zod";
5
5
  import * as zod_v4_core0 from "zod/v4/core";
@@ -8,12 +8,8 @@ import * as zod_v4_core0 from "zod/v4/core";
8
8
  /**
9
9
  * 用户资料头部物料 inspector 配置。
10
10
  */
11
- declare const profileHeaderInspectorPropsSchema: zod.ZodObject<{
12
- enableCustomBackground: zod.ZodBoolean & SchemaHasDefaultValue;
13
- }, zod_v4_core0.$strip>;
14
- declare const profileHeaderInspectorDefaultProps: {
15
- enableCustomBackground: boolean;
16
- };
11
+ declare const profileHeaderInspectorPropsSchema: zod.ZodObject<{}, zod_v4_core0.$strip>;
12
+ declare const profileHeaderInspectorDefaultProps: {};
17
13
  type ProfileHeaderInspectorProps = InferSchemaProps<typeof profileHeaderInspectorPropsSchema>;
18
14
  interface UserProfileHeaderAuthConfig {
19
15
  headers?: Record<string, string>;
@@ -31,7 +27,7 @@ interface UserProfileHeaderClientProps {
31
27
  cookieToken?: string;
32
28
  /** 服务端透传的当前用户 ID。 */
33
29
  cookieUserId?: string;
34
- /** 是否使用编辑器骨架预览。 */
30
+ /** 是否为编辑器预览模式。 */
35
31
  isEditorPreview?: boolean;
36
32
  /** 头部容器附加类名。 */
37
33
  className?: string;
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineComponentPropsSchema as e,defineSwitchPropSchema as t,getSchemaDefaultProps as n}from"../../../../../utils/schema/schema.mjs";const r=e({enableCustomBackground:t({label:`允许自定义背景图`,defaultValue:!0})}),i=n(r);export{i as profileHeaderInspectorDefaultProps,r as profileHeaderInspectorPropsSchema};
2
+ import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"../../../../../utils/schema/schema.mjs";const n=e({}),r=t(n);export{r as profileHeaderInspectorDefaultProps,n as profileHeaderInspectorPropsSchema};
@@ -1,11 +1,11 @@
1
1
 
2
2
  import * as React from "react";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
- import NextImage from "next/image";
4
+ import Image from "next/image";
5
5
 
6
6
  //#region components/ui/image.d.ts
7
7
  /** BaseImageProps 属性定义。 */
8
- type BaseImageProps = Omit<React.ComponentPropsWithoutRef<typeof NextImage>, 'className' | 'src' | 'alt' | 'width' | 'height' | 'loading' | 'priority' | 'fill' | 'style'>;
8
+ type BaseImageProps = Omit<React.ComponentPropsWithoutRef<typeof Image>, 'className' | 'src' | 'alt' | 'width' | 'height' | 'loading' | 'priority' | 'fill' | 'style'>;
9
9
  type CommonImageProps = BaseImageProps & {
10
10
  /** 图片地址,支持普通 URL、默认资源路径和加密地址。 */src: string; /** 图片替代文本。 */
11
11
  alt?: string; /** 图片类名。 */
@@ -27,6 +27,6 @@ type ImagePropsWithSize = CommonImageProps & {
27
27
  /** ImageProps 属性定义。 */
28
28
  type ImageProps = ImagePropsWithFill | ImagePropsWithSize;
29
29
  /** 图片组件:支持 bnc 解密、默认资源域名拼接与错误占位。 */
30
- declare function Image(props: ImageProps): react_jsx_runtime0.JSX.Element;
30
+ declare function Image$1(props: ImageProps): react_jsx_runtime0.JSX.Element;
31
31
  //#endregion
32
- export { BaseImageProps, CommonImageProps, Image, ImageProps, ImagePropsWithFill, ImagePropsWithSize };
32
+ export { BaseImageProps, CommonImageProps, Image$1 as Image, ImageProps, ImagePropsWithFill, ImagePropsWithSize };
@@ -15,7 +15,7 @@ import "./components/biz/business/detail/materials/video-detail-actions/index.mj
15
15
  import { videoDetailRecommendMaterial } from "./components/biz/business/detail/materials/video-detail-recommend/material.mjs";
16
16
  import "./components/biz/business/detail/materials/video-detail-recommend/index.mjs";
17
17
  import { marqueeMaterial } from "./components/biz/business/marquee/material.mjs";
18
- import { profileHeaderMaterial } from "./components/biz/business/profile/profile-header/material.mjs";
18
+ import { profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground } from "./components/biz/business/profile/profile-header/material.mjs";
19
19
  import { profileMainMaterial } from "./components/biz/business/profile/profile-main/material.mjs";
20
20
  import { searchHistoryMaterial } from "./components/biz/business/search-history/material.mjs";
21
21
  import { searchInputMaterial } from "./components/biz/business/search-input/material.mjs";
@@ -33,4 +33,4 @@ import { headerSearchMaterial } from "./components/biz/business/header-search/he
33
33
  import "./components/biz/business/header-search/index.mjs";
34
34
  import { largeFeatureGridMaterial } from "./components/biz/business/large-feature-grid/material.mjs";
35
35
  import { shortcutGridMaterial } from "./components/biz/business/shortcut-grid/material.mjs";
36
- export { BannerCarouselMaterial, channelListMaterial, exampleButtonMaterial, floatingBallMaterial, headerAvatarIconMaterial, headerAvatarLogoSearchIconMaterial, headerAvatarLogoSearchMaterial, headerLogoSearchMaterial, headerSearchMaterial, homeRecommendGridMaterial, homeRecommendWaterfallMaterial, largeFeatureGridMaterial, marqueeMaterial, profileHeaderMaterial, profileMainMaterial, searchHistoryMaterial, searchInputMaterial, shortcutGridMaterial, tabBarMaterial, textRecommendMaterial, videoDetailActionsMaterial, videoDetailInfoMaterial, videoDetailInfoTitleMaterial, videoDetailInfoTitleTagsEpisodesMaterial, videoDetailPlayerMaterial, videoDetailRecommendMaterial, videoHorizontalListMaterial };
36
+ export { BannerCarouselMaterial, channelListMaterial, exampleButtonMaterial, floatingBallMaterial, headerAvatarIconMaterial, headerAvatarLogoSearchIconMaterial, headerAvatarLogoSearchMaterial, headerLogoSearchMaterial, headerSearchMaterial, homeRecommendGridMaterial, homeRecommendWaterfallMaterial, largeFeatureGridMaterial, marqueeMaterial, profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground, profileMainMaterial, searchHistoryMaterial, searchInputMaterial, shortcutGridMaterial, tabBarMaterial, textRecommendMaterial, videoDetailActionsMaterial, videoDetailInfoMaterial, videoDetailInfoTitleMaterial, videoDetailInfoTitleTagsEpisodesMaterial, videoDetailPlayerMaterial, videoDetailRecommendMaterial, videoHorizontalListMaterial };
@@ -1,2 +1,2 @@
1
1
 
2
- import{__exportAll as e}from"./_virtual/_rolldown/runtime.mjs";import{floatingBallMaterial as t}from"./components/biz/business/floating-ball/material.mjs";import{homeRecommendGridMaterial as n}from"./components/biz/business/home-recommend/variants/home-recommend-grid/material.mjs";import{homeRecommendWaterfallMaterial as r}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/material.mjs";import{marqueeMaterial as i}from"./components/biz/business/marquee/material.mjs";import{profileHeaderMaterial as a}from"./components/biz/business/profile/profile-header/material.mjs";import{profileMainMaterial as o}from"./components/biz/business/profile/profile-main/material.mjs";import{searchHistoryMaterial as s}from"./components/biz/business/search-history/material.mjs";import{searchInputMaterial as c}from"./components/biz/business/search-input/material.mjs";import{tabBarMaterial as l}from"./components/biz/business/tab-bar/material.mjs";import{textRecommendMaterial as u}from"./components/biz/business/text-recommend/material.mjs";import{videoHorizontalListMaterial as d}from"./components/biz/business/video-horizontal-list/material.mjs";import{exampleButtonMaterial as f}from"./components/biz/example/button/material.mjs";import{BannerCarouselMaterial as p}from"./components/biz/business/banner-carousel/material.mjs";import{channelListMaterial as m}from"./components/biz/business/channel-list/material.mjs";import{videoDetailInfoMaterial as h}from"./components/biz/business/detail/materials/video-detail-info/material.mjs";import{videoDetailInfoTitleMaterial as g}from"./components/biz/business/detail/materials/video-detail-info-title/material.mjs";import{videoDetailInfoTitleTagsEpisodesMaterial as _}from"./components/biz/business/detail/materials/video-detail-info-title-tags-episodes/material.mjs";import{videoDetailPlayerMaterial as v}from"./components/biz/business/detail/materials/video-detail-player/material.mjs";import{videoDetailRecommendMaterial as y}from"./components/biz/business/detail/materials/video-detail-recommend/material.mjs";import{videoDetailActionsMaterial as b}from"./components/biz/business/detail/materials/video-detail-actions/material.mjs";import{headerAvatarIconMaterial as x}from"./components/biz/business/header-search/header-avatar-icon/material.mjs";import{headerAvatarLogoSearchMaterial as S}from"./components/biz/business/header-search/header-avatar-logo-search/material.mjs";import{headerAvatarLogoSearchIconMaterial as C}from"./components/biz/business/header-search/header-avatar-logo-search-icon/material.mjs";import{headerLogoSearchMaterial as w}from"./components/biz/business/header-search/header-logo-search/material.mjs";import{headerSearchMaterial as T}from"./components/biz/business/header-search/header-search/material.mjs";import{largeFeatureGridMaterial as E}from"./components/biz/business/large-feature-grid/material.mjs";import{shortcutGridMaterial as D}from"./components/biz/business/shortcut-grid/material.mjs";var O=e({BannerCarouselMaterial:()=>p,channelListMaterial:()=>m,exampleButtonMaterial:()=>f,floatingBallMaterial:()=>t,headerAvatarIconMaterial:()=>x,headerAvatarLogoSearchIconMaterial:()=>C,headerAvatarLogoSearchMaterial:()=>S,headerLogoSearchMaterial:()=>w,headerSearchMaterial:()=>T,homeRecommendGridMaterial:()=>n,homeRecommendWaterfallMaterial:()=>r,largeFeatureGridMaterial:()=>E,marqueeMaterial:()=>i,profileHeaderMaterial:()=>a,profileMainMaterial:()=>o,searchHistoryMaterial:()=>s,searchInputMaterial:()=>c,shortcutGridMaterial:()=>D,tabBarMaterial:()=>l,textRecommendMaterial:()=>u,videoDetailActionsMaterial:()=>b,videoDetailInfoMaterial:()=>h,videoDetailInfoTitleMaterial:()=>g,videoDetailInfoTitleTagsEpisodesMaterial:()=>_,videoDetailPlayerMaterial:()=>v,videoDetailRecommendMaterial:()=>y,videoHorizontalListMaterial:()=>d});export{p as BannerCarouselMaterial,m as channelListMaterial,f as exampleButtonMaterial,t as floatingBallMaterial,x as headerAvatarIconMaterial,C as headerAvatarLogoSearchIconMaterial,S as headerAvatarLogoSearchMaterial,w as headerLogoSearchMaterial,T as headerSearchMaterial,n as homeRecommendGridMaterial,r as homeRecommendWaterfallMaterial,E as largeFeatureGridMaterial,i as marqueeMaterial,O as materials_exports,a as profileHeaderMaterial,o as profileMainMaterial,s as searchHistoryMaterial,c as searchInputMaterial,D as shortcutGridMaterial,l as tabBarMaterial,u as textRecommendMaterial,b as videoDetailActionsMaterial,h as videoDetailInfoMaterial,g as videoDetailInfoTitleMaterial,_ as videoDetailInfoTitleTagsEpisodesMaterial,v as videoDetailPlayerMaterial,y as videoDetailRecommendMaterial,d as videoHorizontalListMaterial};
2
+ import{__exportAll as e}from"./_virtual/_rolldown/runtime.mjs";import{floatingBallMaterial as t}from"./components/biz/business/floating-ball/material.mjs";import{homeRecommendGridMaterial as n}from"./components/biz/business/home-recommend/variants/home-recommend-grid/material.mjs";import{homeRecommendWaterfallMaterial as r}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/material.mjs";import{marqueeMaterial as i}from"./components/biz/business/marquee/material.mjs";import{profileHeaderMaterial as a,profileHeaderMaterialWithDisabledBackground as o}from"./components/biz/business/profile/profile-header/material.mjs";import{profileMainMaterial as s}from"./components/biz/business/profile/profile-main/material.mjs";import{searchHistoryMaterial as c}from"./components/biz/business/search-history/material.mjs";import{searchInputMaterial as l}from"./components/biz/business/search-input/material.mjs";import{tabBarMaterial as u}from"./components/biz/business/tab-bar/material.mjs";import{textRecommendMaterial as d}from"./components/biz/business/text-recommend/material.mjs";import{videoHorizontalListMaterial as f}from"./components/biz/business/video-horizontal-list/material.mjs";import{exampleButtonMaterial as p}from"./components/biz/example/button/material.mjs";import{BannerCarouselMaterial as m}from"./components/biz/business/banner-carousel/material.mjs";import{channelListMaterial as h}from"./components/biz/business/channel-list/material.mjs";import{videoDetailInfoMaterial as g}from"./components/biz/business/detail/materials/video-detail-info/material.mjs";import{videoDetailInfoTitleMaterial as _}from"./components/biz/business/detail/materials/video-detail-info-title/material.mjs";import{videoDetailInfoTitleTagsEpisodesMaterial as v}from"./components/biz/business/detail/materials/video-detail-info-title-tags-episodes/material.mjs";import{videoDetailPlayerMaterial as y}from"./components/biz/business/detail/materials/video-detail-player/material.mjs";import{videoDetailRecommendMaterial as b}from"./components/biz/business/detail/materials/video-detail-recommend/material.mjs";import{videoDetailActionsMaterial as x}from"./components/biz/business/detail/materials/video-detail-actions/material.mjs";import{headerAvatarIconMaterial as S}from"./components/biz/business/header-search/header-avatar-icon/material.mjs";import{headerAvatarLogoSearchMaterial as C}from"./components/biz/business/header-search/header-avatar-logo-search/material.mjs";import{headerAvatarLogoSearchIconMaterial as w}from"./components/biz/business/header-search/header-avatar-logo-search-icon/material.mjs";import{headerLogoSearchMaterial as T}from"./components/biz/business/header-search/header-logo-search/material.mjs";import{headerSearchMaterial as E}from"./components/biz/business/header-search/header-search/material.mjs";import{largeFeatureGridMaterial as D}from"./components/biz/business/large-feature-grid/material.mjs";import{shortcutGridMaterial as O}from"./components/biz/business/shortcut-grid/material.mjs";var k=e({BannerCarouselMaterial:()=>m,channelListMaterial:()=>h,exampleButtonMaterial:()=>p,floatingBallMaterial:()=>t,headerAvatarIconMaterial:()=>S,headerAvatarLogoSearchIconMaterial:()=>w,headerAvatarLogoSearchMaterial:()=>C,headerLogoSearchMaterial:()=>T,headerSearchMaterial:()=>E,homeRecommendGridMaterial:()=>n,homeRecommendWaterfallMaterial:()=>r,largeFeatureGridMaterial:()=>D,marqueeMaterial:()=>i,profileHeaderMaterial:()=>a,profileHeaderMaterialWithDisabledBackground:()=>o,profileMainMaterial:()=>s,searchHistoryMaterial:()=>c,searchInputMaterial:()=>l,shortcutGridMaterial:()=>O,tabBarMaterial:()=>u,textRecommendMaterial:()=>d,videoDetailActionsMaterial:()=>x,videoDetailInfoMaterial:()=>g,videoDetailInfoTitleMaterial:()=>_,videoDetailInfoTitleTagsEpisodesMaterial:()=>v,videoDetailPlayerMaterial:()=>y,videoDetailRecommendMaterial:()=>b,videoHorizontalListMaterial:()=>f});export{m as BannerCarouselMaterial,h as channelListMaterial,p as exampleButtonMaterial,t as floatingBallMaterial,S as headerAvatarIconMaterial,w as headerAvatarLogoSearchIconMaterial,C as headerAvatarLogoSearchMaterial,T as headerLogoSearchMaterial,E as headerSearchMaterial,n as homeRecommendGridMaterial,r as homeRecommendWaterfallMaterial,D as largeFeatureGridMaterial,i as marqueeMaterial,k as materials_exports,a as profileHeaderMaterial,o as profileHeaderMaterialWithDisabledBackground,s as profileMainMaterial,c as searchHistoryMaterial,l as searchInputMaterial,O as shortcutGridMaterial,u as tabBarMaterial,d as textRecommendMaterial,x as videoDetailActionsMaterial,g as videoDetailInfoMaterial,_ as videoDetailInfoTitleMaterial,v as videoDetailInfoTitleTagsEpisodesMaterial,y as videoDetailPlayerMaterial,b as videoDetailRecommendMaterial,f as videoHorizontalListMaterial};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@funhub/platform",
3
3
  "type": "module",
4
- "version": "0.1.34",
4
+ "version": "0.1.35",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "**/*.css"
@@ -59,11 +59,13 @@
59
59
  "types": "./config/tailwind/index.d.ts",
60
60
  "import": "./config/tailwind/index.mjs",
61
61
  "require": "./config/tailwind/index.cjs"
62
- }
62
+ },
63
+ "./theme.css": "./theme.css"
63
64
  },
64
65
  "files": [
65
66
  "config",
66
- "dist"
67
+ "dist",
68
+ "theme.css"
67
69
  ],
68
70
  "scripts": {
69
71
  "dev:web": "next dev",
package/theme.css ADDED
@@ -0,0 +1,106 @@
1
+ :root {
2
+ /* 默认是白天模式的颜色 */
3
+ --color-bg1: #ffffff;
4
+ --color-bg2: #f9f9f9;
5
+ --color-bg3: #f2f5fa;
6
+ --color-bg4: rgba(253, 76, 94, 0.1);
7
+ --color-text1: #333333;
8
+ --color-text2: #666666;
9
+ --color-text3: #999999;
10
+ --color-text4: rgb(253, 76, 94);
11
+ --color-line1: rgba(0, 0, 0, 0.05);
12
+ --color-line2: rgba(253, 76, 94, 0.4);
13
+ --color-theme1: #1fa7ff;
14
+ --color-theme2: linear-gradient(135deg, #4fd8ff 0%, #07bfff 100%);
15
+ --color-theme3: rgba(0, 173, 251, 0.2);
16
+ --color-theme4: #00adfb;
17
+ --color-theme5: rgb(253, 76, 94);
18
+ --color-theme6: #cd3f4e;
19
+
20
+ /* shadcn/ui */
21
+ --background: oklch(1 0 0);
22
+ --foreground: oklch(0.145 0 0);
23
+ --card: oklch(1 0 0);
24
+ --card-foreground: oklch(0.145 0 0);
25
+ --popover: oklch(1 0 0);
26
+ --popover-foreground: oklch(0.145 0 0);
27
+ --primary: rgb(253, 76, 94);
28
+ --primary-foreground: oklch(0.97 0.01 343);
29
+ --secondary: oklch(0.967 0.001 286.375);
30
+ --secondary-foreground: oklch(0.21 0.006 285.885);
31
+ --muted: oklch(0.97 0 0);
32
+ --muted-foreground: oklch(0.556 0 0);
33
+ --accent: oklch(0.97 0 0);
34
+ --accent-foreground: oklch(0.205 0 0);
35
+ --destructive: oklch(0.58 0.22 27);
36
+ --border: oklch(0.922 0 0);
37
+ --input: oklch(0.922 0 0);
38
+ --ring: oklch(0.708 0 0);
39
+ --chart-1: oklch(0.82 0.11 346);
40
+ --chart-2: oklch(0.73 0.18 350);
41
+ --chart-3: rgb(253, 76, 94);
42
+ --chart-4: rgb(253, 76, 94);
43
+ --chart-5: oklch(0.52 0.2 4);
44
+ --radius: 0.625rem;
45
+ --sidebar: oklch(0.985 0 0);
46
+ --sidebar-foreground: oklch(0.145 0 0);
47
+ --sidebar-primary: rgb(253, 76, 94);
48
+ --sidebar-primary-foreground: oklch(0.97 0.01 343);
49
+ --sidebar-accent: oklch(0.97 0 0);
50
+ --sidebar-accent-foreground: oklch(0.205 0 0);
51
+ --sidebar-border: oklch(0.922 0 0);
52
+ --sidebar-ring: oklch(0.708 0 0);
53
+ }
54
+
55
+ .dark {
56
+ /* 黑夜模式的颜色 */
57
+ --color-bg1: #171717;
58
+ --color-bg2: #222222;
59
+ --color-bg3: #fe5a5c;
60
+ --color-bg4: rgba(253, 76, 94, 0.1);
61
+ --color-text1: #d7d7d7;
62
+ --color-text2: #a3a3a3;
63
+ --color-text3: #717171;
64
+ --color-text4: #f2f5fa;
65
+ --color-line1: rgba(255, 255, 255, 0.05);
66
+ --color-line2: rgba(253, 76, 94, 0.4);
67
+ --color-theme1: #1fa7ff;
68
+ --color-theme2: linear-gradient(135deg, #4fd8ff 0%, #07bfff 100%);
69
+ --color-theme3: rgba(0, 173, 251, 0.2);
70
+ --color-theme4: #00adfb;
71
+ --color-theme5: rgb(253, 76, 94);
72
+ --color-theme6: #cd3f4e;
73
+
74
+ /* shadcn/ui */
75
+ --background: oklch(0.145 0 0);
76
+ --foreground: oklch(0.985 0 0);
77
+ --card: oklch(0.205 0 0);
78
+ --card-foreground: oklch(0.985 0 0);
79
+ --popover: oklch(0.205 0 0);
80
+ --popover-foreground: oklch(0.985 0 0);
81
+ --primary: rgb(253, 76, 94);
82
+ --primary-foreground: oklch(0.97 0.01 343);
83
+ --secondary: oklch(0.274 0.006 286.033);
84
+ --secondary-foreground: oklch(0.985 0 0);
85
+ --muted: oklch(0.269 0 0);
86
+ --muted-foreground: oklch(0.708 0 0);
87
+ --accent: oklch(0.371 0 0);
88
+ --accent-foreground: oklch(0.985 0 0);
89
+ --destructive: oklch(0.704 0.191 22.216);
90
+ --border: oklch(1 0 0 / 10%);
91
+ --input: oklch(1 0 0 / 15%);
92
+ --ring: oklch(0.556 0 0);
93
+ --chart-1: oklch(0.82 0.11 346);
94
+ --chart-2: oklch(0.73 0.18 350);
95
+ --chart-3: rgb(253, 76, 94);
96
+ --chart-4: rgb(253, 76, 94);
97
+ --chart-5: oklch(0.52 0.2 4);
98
+ --sidebar: oklch(0.205 0 0);
99
+ --sidebar-foreground: oklch(0.985 0 0);
100
+ --sidebar-primary: oklch(0.73 0.18 350);
101
+ --sidebar-primary-foreground: oklch(0.97 0.01 343);
102
+ --sidebar-accent: oklch(0.269 0 0);
103
+ --sidebar-accent-foreground: oklch(0.985 0 0);
104
+ --sidebar-border: oklch(1 0 0 / 10%);
105
+ --sidebar-ring: oklch(0.556 0 0);
106
+ }