@funhub/platform 0.1.64 → 0.1.65
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.
- package/dist/biz.d.mts +3 -3
- package/dist/biz.mjs +1 -1
- package/dist/components/biz/business/image-text-recommend/client.d.mts +2 -18
- package/dist/components/biz/business/image-text-recommend/client.mjs +1 -1
- package/dist/components/biz/business/image-text-recommend/index.d.mts +1 -1
- package/dist/components/biz/business/image-text-recommend/server.d.mts +1 -3
- package/dist/components/biz/business/image-text-recommend/server.mjs +1 -1
- package/dist/components/biz/business/image-text-recommend/shared/query.mjs +2 -0
- package/dist/components/biz/business/index.d.mts +2 -2
- package/dist/components/biz/business/profile/profile-header/server.d.mts +1 -1
- package/dist/components/biz/business/search-input/client.d.mts +2 -4
- package/dist/components/biz/business/search-input/index.d.mts +1 -1
- package/dist/components/biz/business/search-input/schema.d.mts +6 -3
- package/dist/components/biz/business/search-input/schema.mjs +1 -1
- package/package.json +1 -1
package/dist/biz.d.mts
CHANGED
|
@@ -84,7 +84,7 @@ import { schema as schema$22 } from "./components/biz/business/home-recommend/ho
|
|
|
84
84
|
import { HomeRecommendWaterfall } from "./components/biz/business/home-recommend/home-recommend-waterfall/server.mjs";
|
|
85
85
|
import { homeRecommendWaterfallMaterial } from "./components/biz/business/home-recommend/home-recommend-waterfall/material.mjs";
|
|
86
86
|
import { imageTextRecommendInspectorPropsSchema } from "./components/biz/business/image-text-recommend/schema.mjs";
|
|
87
|
-
import { ImageTextRecommendClient,
|
|
87
|
+
import { ImageTextRecommendClient, ImageTextRecommendProps } from "./components/biz/business/image-text-recommend/client.mjs";
|
|
88
88
|
import { ImageTextRecommendServer } from "./components/biz/business/image-text-recommend/server.mjs";
|
|
89
89
|
import { imageTextRecommendMaterial } from "./components/biz/business/image-text-recommend/material.mjs";
|
|
90
90
|
import { defaultMarqueePeriod, getDefaultMarqueePeriod, marqueeInspectorPropsSchema } from "./components/biz/business/marquee/schema.mjs";
|
|
@@ -134,7 +134,7 @@ import { searchHistoryInspectorPropsSchema } from "./components/biz/business/sea
|
|
|
134
134
|
import { SearchHistoryClient, SearchHistoryProps } from "./components/biz/business/search-history/client.mjs";
|
|
135
135
|
import { SearchHistoryServer } from "./components/biz/business/search-history/server.mjs";
|
|
136
136
|
import { searchHistoryMaterial } from "./components/biz/business/search-history/material.mjs";
|
|
137
|
-
import { searchInputInspectorPropsSchema } from "./components/biz/business/search-input/schema.mjs";
|
|
137
|
+
import { SearchInputInspectorProps, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema } from "./components/biz/business/search-input/schema.mjs";
|
|
138
138
|
import { SearchInputClient, SearchInputProps } from "./components/biz/business/search-input/client.mjs";
|
|
139
139
|
import { SearchInputServer } from "./components/biz/business/search-input/server.mjs";
|
|
140
140
|
import { searchInputMaterial } from "./components/biz/business/search-input/material.mjs";
|
|
@@ -154,4 +154,4 @@ import { exampleButtonMaterial } from "./components/biz/example/button/material.
|
|
|
154
154
|
import "./components/biz/example/button/index.mjs";
|
|
155
155
|
import { NodeDocument, PageDocument, PageMeta, Renderer, RendererDocument, RendererMaterial, RendererMode, RendererProps } from "./components/biz/renderer/renderer.mjs";
|
|
156
156
|
import "./components/biz/renderer/index.mjs";
|
|
157
|
-
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, homeRecommendGridInspectorDefaultProps as HomeRecommendGridDefaultData, HomeRecommendGrid as HomeRecommendGridMaterialComponent, schema$21 as HomeRecommendGridSchema, HomeRecommendWaterfallClient as HomeRecommendWaterfall, homeRecommendWaterfallInspectorDefaultProps as HomeRecommendWaterfallDefaultData, HomeRecommendWaterfall as HomeRecommendWaterfallMaterialComponent, schema$22 as HomeRecommendWaterfallSchema, ImageTextRecommendClient,
|
|
157
|
+
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, homeRecommendGridInspectorDefaultProps as HomeRecommendGridDefaultData, HomeRecommendGrid as HomeRecommendGridMaterialComponent, schema$21 as HomeRecommendGridSchema, HomeRecommendWaterfallClient as HomeRecommendWaterfall, homeRecommendWaterfallInspectorDefaultProps as HomeRecommendWaterfallDefaultData, HomeRecommendWaterfall as HomeRecommendWaterfallMaterialComponent, schema$22 as HomeRecommendWaterfallSchema, ImageTextRecommendClient, ImageTextRecommendProps, ImageTextRecommendServer, LikeDetailItem, LikeTab, LikeTabProps, LikeTabServer, MarqueeClient, MarqueeProps, MarqueeServer, MaterialRegistry, NodeDocument, PageDocument, PageMeta, ProfileHeaderInspectorProps, ProfileMainAuthConfig, ProfileMainInspectorProps, PropDefinition, PropSchema, PublishTab, PublishTabProps, PublishTabServer, PublishTabUserInfo, RawContentData, Renderer, RendererDocument, RendererMaterial, RendererMode, RendererProps, SearchHistoryClient, SearchHistoryProps, SearchHistoryServer, SearchInputClient, SearchInputInspectorProps, SearchInputProps, SearchInputServer, SimpleSearchClient as SimpleSearch, defaultProps$21 as SimpleSearchDefaultData, schema$23 as SimpleSearchSchema, StylePropDefinition, StyleSchema, TabBarClient, TabBarProps, TabBarServer, TagSearchClient as TagSearch, TagSearchBarClient as TagSearchBar, defaultProps$22 as TagSearchBarDefaultData, schema$24 as TagSearchBarSchema, defaultProps$23 as TagSearchDefaultData, schema$25 as TagSearchSchema, TextRecommendClient, TextRecommendProps, TextRecommendServer, UserProfileHeader, UserProfileHeaderAuthConfig, UserProfileHeaderClient, UserProfileHeaderClientProps, UserProfileHeaderProps, UserProfileMain, UserProfileMainClient, UserProfileMainProps, UserProfileMainRenderMode, UserProfileMainShell, UserProfileMainShellProps, basicBannerInspectorDefaultProps, basicBannerInspectorPropsSchema, basicBannerMaterial, buildCollectTabPrefetch, buildContentUrl, buildHistoryTabPrefetch, buildLikeTabPrefetch, buildPublishTabPrefetch, buildUserProfileHeaderPrefetch, buttonInspectorDefaultProps, buttonInspectorPropsSchema, commonStyleSchema, commonStylesToInline, customStylesToInline, defaultMarqueePeriod, exampleButtonMaterial, extractDataByComponentType, floatingBallInspectorDefaultProps, floatingBallInspectorPropsSchema, floatingBallMaterial, getCardSpecConfig, getChannelList, getDefaultMarqueePeriod, homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema, homeRecommendGridMaterial, homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema, homeRecommendWaterfallMaterial, imageTextRecommendInspectorPropsSchema, imageTextRecommendMaterial, marqueeInspectorPropsSchema, marqueeMaterial, mergeStyles, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema, profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground, profileMainCollectCollectionTabOptions, profileMainCollectTabOptions, profileMainHistoryTabOptions, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema, profileMainLikeTabOptions, profileMainMaterial, profileMainMineTabOptions, profileMainProfileTabOptions, profileMainTabOptions, searchHistoryInspectorPropsSchema, searchHistoryMaterial, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema, searchInputMaterial, tabBarInspectorPropsSchema, tabBarMaterial, textRecommendInspectorPropsSchema, textRecommendMaterial, transformContentListToCardItems, transformContentToCardItem };
|
package/dist/biz.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{CARD_SPEC_MAP as ee,CardSpec as te,getCardSpecConfig as e}from"./components/biz/utils/constants/card-spec.mjs";import{getChannelList as t}from"./components/biz/utils/helpers/get-channel-list.mjs";import{buildContentUrl as n}from"./components/biz/utils/helpers/url.mjs";import{DataBindingUIMode as r,DataSourceType as i}from"./components/biz/utils/schema/data.mjs";import{commonStylesToInline as a,customStylesToInline as o,mergeStyles as s}from"./components/biz/utils/styles/helpers.mjs";import{commonStyleSchema as c}from"./components/biz/utils/styles/schema.mjs";import{transformContentListToCardItems as l,transformContentToCardItem as u}from"./components/biz/utils/transformers/card-grid.mjs";import{defaultProps as d}from"./components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs";import{schema as f}from"./components/biz/business/banner/variants/basic-banner/schema/index.mjs";import{defaultProps as p}from"./components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as m}from"./components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs";import{BasicFullscreen as h}from"./components/biz/basics/fullscreen-feed/basic-fullscreen.mjs";import{defaultProps as g}from"./components/biz/basics/fullscreen-feed/defaults/default-props.mjs";import{schema as _}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import{schema as v}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import{defaultProps as y}from"./components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs";import{defaultProps as b}from"./components/biz/basics/search/variants/basic-search/defaults/default-props.mjs";import{defaultProps as x}from"./components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{defaultProps as S}from"./components/biz/basics/search/variants/simple-search/defaults/default-props.mjs";import{schema as C}from"./components/biz/basics/search/variants/simple-search/schema/index.mjs";import w from"./components/biz/basics/search/variants/simple-search/index.mjs";import{schema as T}from"./components/biz/business/search-bar/variants/detail-search-bar/schema/index.mjs";import E from"./components/biz/business/search-bar/variants/detail-search-bar/index.mjs";import{homeRecommendGridInspectorDefaultProps as D,homeRecommendGridInspectorPropsSchema as O}from"./components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs";import{schema as k}from"./components/biz/business/home-recommend/home-recommend-grid/schema.mjs";import{homeRecommendWaterfallInspectorDefaultProps as A,homeRecommendWaterfallInspectorPropsSchema as j}from"./components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs";import{schema as M}from"./components/biz/business/home-recommend/home-recommend-waterfall/schema.mjs";import{schema as N}from"./components/biz/business/post-card/variants/basic-post-card/schema/index.mjs";import{defaultProps as P}from"./components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as F}from"./components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs";import{ComponentType as I,extractDataByComponentType as L}from"./components/biz/utils/transformers/data.mjs";import{defaultProps as R}from"./components/biz/basics/card-item/defaults/default-props.mjs";import{schema as z}from"./components/biz/basics/card-item/schema/index.mjs";import{defaultProps as B}from"./components/biz/basics/card-layout/defaults/default-props.mjs";import{schema as V}from"./components/biz/basics/card-layout/schema/index.mjs";import{schema as H}from"./components/biz/basics/fullscreen-feed/schema/index.mjs";import U from"./components/biz/basics/fullscreen-feed/index.mjs";import{schema as W}from"./components/biz/basics/logo/variants/basic-logo/schema/index.mjs";import G from"./components/biz/basics/logo/variants/basic-logo/index.mjs";import{schema as K}from"./components/biz/basics/search/variants/basic-search/schema/index.mjs";import q from"./components/biz/basics/search/variants/basic-search/index.mjs";import{defaultProps as J}from"./components/biz/basics/search/variants/filter-search/defaults/default-props.mjs";import{schema as Y}from"./components/biz/basics/search/variants/filter-search/schema/index.mjs";import X from"./components/biz/basics/search/variants/filter-search/index.mjs";import{defaultProps as Z}from"./components/biz/basics/search/variants/tag-search/defaults/default-props.mjs";import{schema as Q}from"./components/biz/basics/search/variants/tag-search/schema/index.mjs";import ne from"./components/biz/basics/search/variants/tag-search/index.mjs";import{basicBannerInspectorDefaultProps as re,basicBannerInspectorPropsSchema as ie}from"./components/biz/business/banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as ae}from"./components/biz/business/banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as oe}from"./components/biz/business/banner/variants/basic-banner/material.mjs";import se from"./components/biz/business/banner/variants/basic-banner/index.mjs";import{defaultProps as ce}from"./components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as le}from"./components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs";import ue from"./components/biz/business/card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as de}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as fe}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import pe from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as me}from"./components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as he}from"./components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs";import ge from"./components/biz/business/card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as _e}from"./components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as ve}from"./components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs";import ye from"./components/biz/business/card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as be}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as xe}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import Se from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs";import Ce from"./components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs";import{FloatingBallClient as we}from"./components/biz/business/floating-ball/client.mjs";import{floatingBallInspectorDefaultProps as Te,floatingBallInspectorPropsSchema as Ee}from"./components/biz/business/floating-ball/schema.mjs";import{FloatingBall as De}from"./components/biz/business/floating-ball/server.mjs";import{floatingBallMaterial as Oe}from"./components/biz/business/floating-ball/material.mjs";import{defaultProps as ke}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import Ae from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as je}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import Me from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{HomeRecommendGrid as Ne}from"./components/biz/business/home-recommend/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as Pe}from"./components/biz/business/home-recommend/home-recommend-grid/material.mjs";import Fe from"./components/biz/business/home-recommend/home-recommend-grid/index.mjs";import{HomeRecommendWaterfall as Ie}from"./components/biz/business/home-recommend/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as Le}from"./components/biz/business/home-recommend/home-recommend-waterfall/material.mjs";import Re from"./components/biz/business/home-recommend/home-recommend-waterfall/index.mjs";import{ImageTextRecommendClient as $}from"./components/biz/business/image-text-recommend/client.mjs";import{imageTextRecommendInspectorPropsSchema as ze}from"./components/biz/business/image-text-recommend/schema.mjs";import{ImageTextRecommendServer as Be}from"./components/biz/business/image-text-recommend/server.mjs";import{imageTextRecommendMaterial as Ve}from"./components/biz/business/image-text-recommend/material.mjs";import{defaultMarqueePeriod as He,getDefaultMarqueePeriod as Ue,marqueeInspectorPropsSchema as We}from"./components/biz/business/marquee/schema.mjs";import{MarqueeClient as Ge}from"./components/biz/business/marquee/client.mjs";import{MarqueeServer as Ke}from"./components/biz/business/marquee/server.mjs";import{marqueeMaterial as qe}from"./components/biz/business/marquee/material.mjs";import{defaultProps as Je}from"./components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as Ye}from"./components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs";import Xe from"./components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as Ze}from"./components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs";import Qe from"./components/biz/business/post-card/variants/basic-post-card/index.mjs";import{UserProfileHeaderClient as $e}from"./components/biz/business/profile/profile-header/client.mjs";import{profileHeaderInspectorDefaultProps as et,profileHeaderInspectorPropsSchema as tt}from"./components/biz/business/profile/profile-header/schema.mjs";import{UserProfileHeader as nt,buildUserProfileHeaderPrefetch as rt}from"./components/biz/business/profile/profile-header/server.mjs";import{profileHeaderMaterial as it,profileHeaderMaterialWithDisabledBackground as at}from"./components/biz/business/profile/profile-header/material.mjs";import{profileMainCollectCollectionTabOptions as ot,profileMainCollectTabOptions as st,profileMainHistoryTabOptions as ct,profileMainLikeTabOptions as lt,profileMainMineTabOptions as ut,profileMainProfileTabOptions as dt,profileMainTabOptions as ft}from"./components/biz/business/profile/profile-main/variants.mjs";import{UserProfileMainShell as pt}from"./components/biz/business/profile/profile-main/shell.mjs";import{UserProfileMainClient as mt}from"./components/biz/business/profile/profile-main/client.mjs";import{profileMainInspectorDefaultProps as ht,profileMainInspectorPropsSchema as gt}from"./components/biz/business/profile/profile-main/schema.mjs";import{CollectTab as _t}from"./components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs";import{CollectTabServer as vt,buildCollectTabPrefetch as yt}from"./components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs";import{HistoryTab as bt}from"./components/biz/business/profile/profile-main/tabs/history-tab/client.mjs";import{HistoryTabServer as xt,buildHistoryTabPrefetch as St}from"./components/biz/business/profile/profile-main/tabs/history-tab/server.mjs";import{LikeTab as Ct}from"./components/biz/business/profile/profile-main/tabs/like-tab/client.mjs";import{LikeTabServer as wt,buildLikeTabPrefetch as Tt}from"./components/biz/business/profile/profile-main/tabs/like-tab/server.mjs";import{UserProfileMain as Et}from"./components/biz/business/profile/profile-main/server.mjs";import{profileMainMaterial as Dt}from"./components/biz/business/profile/profile-main/material.mjs";import{PublishTab as Ot}from"./components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs";import{PublishTabServer as kt,buildPublishTabPrefetch as At}from"./components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs";import jt 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 Nt}from"./components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs";import Pt from"./components/biz/business/search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as Ft}from"./components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as It}from"./components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs";import Lt from"./components/biz/business/search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as Rt}from"./components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as zt}from"./components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs";import Bt from"./components/biz/business/search-bar/variants/tag-search-bar/index.mjs";import{SearchHistoryClient as Vt}from"./components/biz/business/search-history/client.mjs";import{searchHistoryInspectorPropsSchema as Ht}from"./components/biz/business/search-history/schema.mjs";import{SearchHistoryServer as Ut}from"./components/biz/business/search-history/server.mjs";import{searchHistoryMaterial as Wt}from"./components/biz/business/search-history/material.mjs";import{SearchInputClient as Gt}from"./components/biz/business/search-input/client.mjs";import{searchInputInspectorPropsSchema as Kt}from"./components/biz/business/search-input/schema.mjs";import{SearchInputServer as qt}from"./components/biz/business/search-input/server.mjs";import{searchInputMaterial as Jt}from"./components/biz/business/search-input/material.mjs";import{TabBarClient as Yt}from"./components/biz/business/tab-bar/client.mjs";import{tabBarInspectorPropsSchema as Xt}from"./components/biz/business/tab-bar/schema.mjs";import{TabBarServer as Zt}from"./components/biz/business/tab-bar/server.mjs";import{tabBarMaterial as Qt}from"./components/biz/business/tab-bar/material.mjs";import{TextRecommendClient as $t}from"./components/biz/business/text-recommend/client.mjs";import{textRecommendInspectorPropsSchema as en}from"./components/biz/business/text-recommend/schema.mjs";import{TextRecommendServer as tn}from"./components/biz/business/text-recommend/server.mjs";import{textRecommendMaterial as nn}from"./components/biz/business/text-recommend/material.mjs";import{ButtonClient as rn}from"./components/biz/example/button/client.mjs";import{buttonInspectorDefaultProps as an,buttonInspectorPropsSchema as on}from"./components/biz/example/button/schema.mjs";import{Button as sn}from"./components/biz/example/button/server.mjs";import{exampleButtonMaterial as cn}from"./components/biz/example/button/material.mjs";import{Renderer as ln}from"./components/biz/renderer/renderer.mjs";export{se as BasicBanner,d as BasicBannerDefaultData,ae as BasicBannerMaterialComponent,f as BasicBannerSchema,Ce as BasicFeatureGrid,p as BasicFeatureGridDefaultData,m as BasicFeatureGridSchema,h as BasicFullscreen,U as BasicFullscreenFeed,g as BasicFullscreenFeedDefaultData,H as BasicFullscreenFeedSchema,G as BasicLogo,y as BasicLogoDefaultData,W as BasicLogoSchema,Xe as BasicNavBar,Je as BasicNavBarDefaultData,Ye as BasicNavBarSchema,Qe as BasicPostCard,Ze as BasicPostCardDefaultData,N as BasicPostCardSchema,jt as BasicRecommendedUsers,P as BasicRecommendedUsersDefaultData,F as BasicRecommendedUsersSchema,q as BasicSearch,Pt as BasicSearchBar,Mt as BasicSearchBarDefaultData,Nt as BasicSearchBarSchema,b as BasicSearchDefaultData,K as BasicSearchSchema,sn as Button,rn as ButtonClient,ee as CARD_SPEC_MAP,ue as CardGrid2x3,ce as CardGrid2x3DefaultData,pe as CardGrid2x3Infinite,de as CardGrid2x3InfiniteDefaultData,fe as CardGrid2x3InfiniteSchema,le as CardGrid2x3Schema,ge as CardGrid2x4,me as CardGrid2x4DefaultData,he as CardGrid2x4Schema,ye as CardGrid3x3,_e as CardGrid3x3DefaultData,Se as CardGrid3x3Infinite,be as CardGrid3x3InfiniteDefaultData,xe as CardGrid3x3InfiniteSchema,ve as CardGrid3x3Schema,R as CardItemDefaultData,z as CardItemSchema,B as CardLayoutDefaultData,V as CardLayoutSchema,te as CardSpec,_t as CollectTab,vt as CollectTabServer,I as ComponentType,r as DataBindingUIMode,i as DataSourceType,E as DetailSearchBar,x as DetailSearchBarDefaultData,T as DetailSearchBarSchema,X as FilterSearch,Lt as FilterSearchBar,Ft as FilterSearchBarDefaultData,It as FilterSearchBarSchema,J as FilterSearchDefaultData,Y as FilterSearchSchema,De as FloatingBall,we as FloatingBallClient,Ae as FullscreenFeedClient,ke as FullscreenPostFeedDefaultData,_ as FullscreenPostFeedSchema,Me as FullscreenVideoClient,je as FullscreenVideoFeedDefaultData,v as FullscreenVideoFeedSchema,bt as HistoryTab,xt as HistoryTabServer,Fe as HomeRecommendGrid,D as HomeRecommendGridDefaultData,Ne as HomeRecommendGridMaterialComponent,k as HomeRecommendGridSchema,Re as HomeRecommendWaterfall,A as HomeRecommendWaterfallDefaultData,Ie as HomeRecommendWaterfallMaterialComponent,M as HomeRecommendWaterfallSchema,$ as ImageTextRecommendClient,Be as ImageTextRecommendServer,Ct as LikeTab,wt as LikeTabServer,Ge as MarqueeClient,Ke as MarqueeServer,Ot as PublishTab,kt as PublishTabServer,ln as Renderer,Vt as SearchHistoryClient,Ut as SearchHistoryServer,Gt as SearchInputClient,qt as SearchInputServer,w as SimpleSearch,S as SimpleSearchDefaultData,C as SimpleSearchSchema,Yt as TabBarClient,Zt as TabBarServer,ne as TagSearch,Bt as TagSearchBar,Rt as TagSearchBarDefaultData,zt as TagSearchBarSchema,Z as TagSearchDefaultData,Q as TagSearchSchema,$t as TextRecommendClient,tn as TextRecommendServer,nt as UserProfileHeader,$e as UserProfileHeaderClient,Et as UserProfileMain,mt as UserProfileMainClient,pt as UserProfileMainShell,re as basicBannerInspectorDefaultProps,ie as basicBannerInspectorPropsSchema,oe as basicBannerMaterial,yt as buildCollectTabPrefetch,n as buildContentUrl,St as buildHistoryTabPrefetch,Tt as buildLikeTabPrefetch,At as buildPublishTabPrefetch,rt as buildUserProfileHeaderPrefetch,an as buttonInspectorDefaultProps,on as buttonInspectorPropsSchema,c as commonStyleSchema,a as commonStylesToInline,o as customStylesToInline,He as defaultMarqueePeriod,cn as exampleButtonMaterial,L as extractDataByComponentType,Te as floatingBallInspectorDefaultProps,Ee as floatingBallInspectorPropsSchema,Oe as floatingBallMaterial,e as getCardSpecConfig,t as getChannelList,Ue as getDefaultMarqueePeriod,D as homeRecommendGridInspectorDefaultProps,O as homeRecommendGridInspectorPropsSchema,Pe as homeRecommendGridMaterial,A as homeRecommendWaterfallInspectorDefaultProps,j as homeRecommendWaterfallInspectorPropsSchema,Le as homeRecommendWaterfallMaterial,ze as imageTextRecommendInspectorPropsSchema,Ve as imageTextRecommendMaterial,We as marqueeInspectorPropsSchema,qe as marqueeMaterial,s as mergeStyles,et as profileHeaderInspectorDefaultProps,tt as profileHeaderInspectorPropsSchema,it as profileHeaderMaterial,at as profileHeaderMaterialWithDisabledBackground,ot as profileMainCollectCollectionTabOptions,st as profileMainCollectTabOptions,ct as profileMainHistoryTabOptions,ht as profileMainInspectorDefaultProps,gt as profileMainInspectorPropsSchema,lt as profileMainLikeTabOptions,Dt as profileMainMaterial,ut as profileMainMineTabOptions,dt as profileMainProfileTabOptions,ft as profileMainTabOptions,Ht as searchHistoryInspectorPropsSchema,Wt as searchHistoryMaterial,Kt as searchInputInspectorPropsSchema,Jt as searchInputMaterial,Xt as tabBarInspectorPropsSchema,Qt as tabBarMaterial,en as textRecommendInspectorPropsSchema,nn as textRecommendMaterial,l as transformContentListToCardItems,u as transformContentToCardItem};
|
|
2
|
+
import{CARD_SPEC_MAP as ee,CardSpec as te,getCardSpecConfig as e}from"./components/biz/utils/constants/card-spec.mjs";import{getChannelList as t}from"./components/biz/utils/helpers/get-channel-list.mjs";import{buildContentUrl as n}from"./components/biz/utils/helpers/url.mjs";import{DataBindingUIMode as r,DataSourceType as i}from"./components/biz/utils/schema/data.mjs";import{commonStylesToInline as a,customStylesToInline as o,mergeStyles as s}from"./components/biz/utils/styles/helpers.mjs";import{commonStyleSchema as c}from"./components/biz/utils/styles/schema.mjs";import{transformContentListToCardItems as l,transformContentToCardItem as u}from"./components/biz/utils/transformers/card-grid.mjs";import{defaultProps as d}from"./components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs";import{schema as f}from"./components/biz/business/banner/variants/basic-banner/schema/index.mjs";import{defaultProps as p}from"./components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as m}from"./components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs";import{BasicFullscreen as h}from"./components/biz/basics/fullscreen-feed/basic-fullscreen.mjs";import{defaultProps as g}from"./components/biz/basics/fullscreen-feed/defaults/default-props.mjs";import{schema as _}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import{schema as v}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import{defaultProps as y}from"./components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs";import{defaultProps as b}from"./components/biz/basics/search/variants/basic-search/defaults/default-props.mjs";import{defaultProps as x}from"./components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{defaultProps as S}from"./components/biz/basics/search/variants/simple-search/defaults/default-props.mjs";import{schema as C}from"./components/biz/basics/search/variants/simple-search/schema/index.mjs";import w from"./components/biz/basics/search/variants/simple-search/index.mjs";import{schema as T}from"./components/biz/business/search-bar/variants/detail-search-bar/schema/index.mjs";import E from"./components/biz/business/search-bar/variants/detail-search-bar/index.mjs";import{homeRecommendGridInspectorDefaultProps as D,homeRecommendGridInspectorPropsSchema as O}from"./components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs";import{schema as k}from"./components/biz/business/home-recommend/home-recommend-grid/schema.mjs";import{homeRecommendWaterfallInspectorDefaultProps as A,homeRecommendWaterfallInspectorPropsSchema as j}from"./components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs";import{schema as M}from"./components/biz/business/home-recommend/home-recommend-waterfall/schema.mjs";import{schema as N}from"./components/biz/business/post-card/variants/basic-post-card/schema/index.mjs";import{defaultProps as P}from"./components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as F}from"./components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs";import{ComponentType as I,extractDataByComponentType as L}from"./components/biz/utils/transformers/data.mjs";import{defaultProps as R}from"./components/biz/basics/card-item/defaults/default-props.mjs";import{schema as z}from"./components/biz/basics/card-item/schema/index.mjs";import{defaultProps as B}from"./components/biz/basics/card-layout/defaults/default-props.mjs";import{schema as V}from"./components/biz/basics/card-layout/schema/index.mjs";import{schema as H}from"./components/biz/basics/fullscreen-feed/schema/index.mjs";import U from"./components/biz/basics/fullscreen-feed/index.mjs";import{schema as W}from"./components/biz/basics/logo/variants/basic-logo/schema/index.mjs";import G from"./components/biz/basics/logo/variants/basic-logo/index.mjs";import{schema as K}from"./components/biz/basics/search/variants/basic-search/schema/index.mjs";import q from"./components/biz/basics/search/variants/basic-search/index.mjs";import{defaultProps as J}from"./components/biz/basics/search/variants/filter-search/defaults/default-props.mjs";import{schema as Y}from"./components/biz/basics/search/variants/filter-search/schema/index.mjs";import X from"./components/biz/basics/search/variants/filter-search/index.mjs";import{defaultProps as Z}from"./components/biz/basics/search/variants/tag-search/defaults/default-props.mjs";import{schema as Q}from"./components/biz/basics/search/variants/tag-search/schema/index.mjs";import ne from"./components/biz/basics/search/variants/tag-search/index.mjs";import{basicBannerInspectorDefaultProps as re,basicBannerInspectorPropsSchema as ie}from"./components/biz/business/banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as ae}from"./components/biz/business/banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as oe}from"./components/biz/business/banner/variants/basic-banner/material.mjs";import se from"./components/biz/business/banner/variants/basic-banner/index.mjs";import{defaultProps as ce}from"./components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as le}from"./components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs";import ue from"./components/biz/business/card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as de}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as fe}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import pe from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as me}from"./components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as he}from"./components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs";import ge from"./components/biz/business/card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as _e}from"./components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as ve}from"./components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs";import ye from"./components/biz/business/card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as be}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as xe}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import Se from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs";import Ce from"./components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs";import{FloatingBallClient as we}from"./components/biz/business/floating-ball/client.mjs";import{floatingBallInspectorDefaultProps as Te,floatingBallInspectorPropsSchema as Ee}from"./components/biz/business/floating-ball/schema.mjs";import{FloatingBall as De}from"./components/biz/business/floating-ball/server.mjs";import{floatingBallMaterial as Oe}from"./components/biz/business/floating-ball/material.mjs";import{defaultProps as ke}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import Ae from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as je}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import Me from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{HomeRecommendGrid as Ne}from"./components/biz/business/home-recommend/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as Pe}from"./components/biz/business/home-recommend/home-recommend-grid/material.mjs";import Fe from"./components/biz/business/home-recommend/home-recommend-grid/index.mjs";import{HomeRecommendWaterfall as Ie}from"./components/biz/business/home-recommend/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as Le}from"./components/biz/business/home-recommend/home-recommend-waterfall/material.mjs";import Re from"./components/biz/business/home-recommend/home-recommend-waterfall/index.mjs";import{ImageTextRecommendClient as $}from"./components/biz/business/image-text-recommend/client.mjs";import{imageTextRecommendInspectorPropsSchema as ze}from"./components/biz/business/image-text-recommend/schema.mjs";import{ImageTextRecommendServer as Be}from"./components/biz/business/image-text-recommend/server.mjs";import{imageTextRecommendMaterial as Ve}from"./components/biz/business/image-text-recommend/material.mjs";import{defaultMarqueePeriod as He,getDefaultMarqueePeriod as Ue,marqueeInspectorPropsSchema as We}from"./components/biz/business/marquee/schema.mjs";import{MarqueeClient as Ge}from"./components/biz/business/marquee/client.mjs";import{MarqueeServer as Ke}from"./components/biz/business/marquee/server.mjs";import{marqueeMaterial as qe}from"./components/biz/business/marquee/material.mjs";import{defaultProps as Je}from"./components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as Ye}from"./components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs";import Xe from"./components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as Ze}from"./components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs";import Qe from"./components/biz/business/post-card/variants/basic-post-card/index.mjs";import{UserProfileHeaderClient as $e}from"./components/biz/business/profile/profile-header/client.mjs";import{profileHeaderInspectorDefaultProps as et,profileHeaderInspectorPropsSchema as tt}from"./components/biz/business/profile/profile-header/schema.mjs";import{UserProfileHeader as nt,buildUserProfileHeaderPrefetch as rt}from"./components/biz/business/profile/profile-header/server.mjs";import{profileHeaderMaterial as it,profileHeaderMaterialWithDisabledBackground as at}from"./components/biz/business/profile/profile-header/material.mjs";import{profileMainCollectCollectionTabOptions as ot,profileMainCollectTabOptions as st,profileMainHistoryTabOptions as ct,profileMainLikeTabOptions as lt,profileMainMineTabOptions as ut,profileMainProfileTabOptions as dt,profileMainTabOptions as ft}from"./components/biz/business/profile/profile-main/variants.mjs";import{UserProfileMainShell as pt}from"./components/biz/business/profile/profile-main/shell.mjs";import{UserProfileMainClient as mt}from"./components/biz/business/profile/profile-main/client.mjs";import{profileMainInspectorDefaultProps as ht,profileMainInspectorPropsSchema as gt}from"./components/biz/business/profile/profile-main/schema.mjs";import{CollectTab as _t}from"./components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs";import{CollectTabServer as vt,buildCollectTabPrefetch as yt}from"./components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs";import{HistoryTab as bt}from"./components/biz/business/profile/profile-main/tabs/history-tab/client.mjs";import{HistoryTabServer as xt,buildHistoryTabPrefetch as St}from"./components/biz/business/profile/profile-main/tabs/history-tab/server.mjs";import{LikeTab as Ct}from"./components/biz/business/profile/profile-main/tabs/like-tab/client.mjs";import{LikeTabServer as wt,buildLikeTabPrefetch as Tt}from"./components/biz/business/profile/profile-main/tabs/like-tab/server.mjs";import{UserProfileMain as Et}from"./components/biz/business/profile/profile-main/server.mjs";import{profileMainMaterial as Dt}from"./components/biz/business/profile/profile-main/material.mjs";import{PublishTab as Ot}from"./components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs";import{PublishTabServer as kt,buildPublishTabPrefetch as At}from"./components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs";import jt 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 Nt}from"./components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs";import Pt from"./components/biz/business/search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as Ft}from"./components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as It}from"./components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs";import Lt from"./components/biz/business/search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as Rt}from"./components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as zt}from"./components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs";import Bt from"./components/biz/business/search-bar/variants/tag-search-bar/index.mjs";import{SearchHistoryClient as Vt}from"./components/biz/business/search-history/client.mjs";import{searchHistoryInspectorPropsSchema as Ht}from"./components/biz/business/search-history/schema.mjs";import{SearchHistoryServer as Ut}from"./components/biz/business/search-history/server.mjs";import{searchHistoryMaterial as Wt}from"./components/biz/business/search-history/material.mjs";import{SearchInputClient as Gt}from"./components/biz/business/search-input/client.mjs";import{searchInputInspectorDefaultProps as Kt,searchInputInspectorPropsSchema as qt}from"./components/biz/business/search-input/schema.mjs";import{SearchInputServer as Jt}from"./components/biz/business/search-input/server.mjs";import{searchInputMaterial as Yt}from"./components/biz/business/search-input/material.mjs";import{TabBarClient as Xt}from"./components/biz/business/tab-bar/client.mjs";import{tabBarInspectorPropsSchema as Zt}from"./components/biz/business/tab-bar/schema.mjs";import{TabBarServer as Qt}from"./components/biz/business/tab-bar/server.mjs";import{tabBarMaterial as $t}from"./components/biz/business/tab-bar/material.mjs";import{TextRecommendClient as en}from"./components/biz/business/text-recommend/client.mjs";import{textRecommendInspectorPropsSchema as tn}from"./components/biz/business/text-recommend/schema.mjs";import{TextRecommendServer as nn}from"./components/biz/business/text-recommend/server.mjs";import{textRecommendMaterial as rn}from"./components/biz/business/text-recommend/material.mjs";import{ButtonClient as an}from"./components/biz/example/button/client.mjs";import{buttonInspectorDefaultProps as on,buttonInspectorPropsSchema as sn}from"./components/biz/example/button/schema.mjs";import{Button as cn}from"./components/biz/example/button/server.mjs";import{exampleButtonMaterial as ln}from"./components/biz/example/button/material.mjs";import{Renderer as un}from"./components/biz/renderer/renderer.mjs";export{se as BasicBanner,d as BasicBannerDefaultData,ae as BasicBannerMaterialComponent,f as BasicBannerSchema,Ce as BasicFeatureGrid,p as BasicFeatureGridDefaultData,m as BasicFeatureGridSchema,h as BasicFullscreen,U as BasicFullscreenFeed,g as BasicFullscreenFeedDefaultData,H as BasicFullscreenFeedSchema,G as BasicLogo,y as BasicLogoDefaultData,W as BasicLogoSchema,Xe as BasicNavBar,Je as BasicNavBarDefaultData,Ye as BasicNavBarSchema,Qe as BasicPostCard,Ze as BasicPostCardDefaultData,N as BasicPostCardSchema,jt as BasicRecommendedUsers,P as BasicRecommendedUsersDefaultData,F as BasicRecommendedUsersSchema,q as BasicSearch,Pt as BasicSearchBar,Mt as BasicSearchBarDefaultData,Nt as BasicSearchBarSchema,b as BasicSearchDefaultData,K as BasicSearchSchema,cn as Button,an as ButtonClient,ee as CARD_SPEC_MAP,ue as CardGrid2x3,ce as CardGrid2x3DefaultData,pe as CardGrid2x3Infinite,de as CardGrid2x3InfiniteDefaultData,fe as CardGrid2x3InfiniteSchema,le as CardGrid2x3Schema,ge as CardGrid2x4,me as CardGrid2x4DefaultData,he as CardGrid2x4Schema,ye as CardGrid3x3,_e as CardGrid3x3DefaultData,Se as CardGrid3x3Infinite,be as CardGrid3x3InfiniteDefaultData,xe as CardGrid3x3InfiniteSchema,ve as CardGrid3x3Schema,R as CardItemDefaultData,z as CardItemSchema,B as CardLayoutDefaultData,V as CardLayoutSchema,te as CardSpec,_t as CollectTab,vt as CollectTabServer,I as ComponentType,r as DataBindingUIMode,i as DataSourceType,E as DetailSearchBar,x as DetailSearchBarDefaultData,T as DetailSearchBarSchema,X as FilterSearch,Lt as FilterSearchBar,Ft as FilterSearchBarDefaultData,It as FilterSearchBarSchema,J as FilterSearchDefaultData,Y as FilterSearchSchema,De as FloatingBall,we as FloatingBallClient,Ae as FullscreenFeedClient,ke as FullscreenPostFeedDefaultData,_ as FullscreenPostFeedSchema,Me as FullscreenVideoClient,je as FullscreenVideoFeedDefaultData,v as FullscreenVideoFeedSchema,bt as HistoryTab,xt as HistoryTabServer,Fe as HomeRecommendGrid,D as HomeRecommendGridDefaultData,Ne as HomeRecommendGridMaterialComponent,k as HomeRecommendGridSchema,Re as HomeRecommendWaterfall,A as HomeRecommendWaterfallDefaultData,Ie as HomeRecommendWaterfallMaterialComponent,M as HomeRecommendWaterfallSchema,$ as ImageTextRecommendClient,Be as ImageTextRecommendServer,Ct as LikeTab,wt as LikeTabServer,Ge as MarqueeClient,Ke as MarqueeServer,Ot as PublishTab,kt as PublishTabServer,un as Renderer,Vt as SearchHistoryClient,Ut as SearchHistoryServer,Gt as SearchInputClient,Jt as SearchInputServer,w as SimpleSearch,S as SimpleSearchDefaultData,C as SimpleSearchSchema,Xt as TabBarClient,Qt as TabBarServer,ne as TagSearch,Bt as TagSearchBar,Rt as TagSearchBarDefaultData,zt as TagSearchBarSchema,Z as TagSearchDefaultData,Q as TagSearchSchema,en as TextRecommendClient,nn as TextRecommendServer,nt as UserProfileHeader,$e as UserProfileHeaderClient,Et as UserProfileMain,mt as UserProfileMainClient,pt as UserProfileMainShell,re as basicBannerInspectorDefaultProps,ie as basicBannerInspectorPropsSchema,oe as basicBannerMaterial,yt as buildCollectTabPrefetch,n as buildContentUrl,St as buildHistoryTabPrefetch,Tt as buildLikeTabPrefetch,At as buildPublishTabPrefetch,rt as buildUserProfileHeaderPrefetch,on as buttonInspectorDefaultProps,sn as buttonInspectorPropsSchema,c as commonStyleSchema,a as commonStylesToInline,o as customStylesToInline,He as defaultMarqueePeriod,ln as exampleButtonMaterial,L as extractDataByComponentType,Te as floatingBallInspectorDefaultProps,Ee as floatingBallInspectorPropsSchema,Oe as floatingBallMaterial,e as getCardSpecConfig,t as getChannelList,Ue as getDefaultMarqueePeriod,D as homeRecommendGridInspectorDefaultProps,O as homeRecommendGridInspectorPropsSchema,Pe as homeRecommendGridMaterial,A as homeRecommendWaterfallInspectorDefaultProps,j as homeRecommendWaterfallInspectorPropsSchema,Le as homeRecommendWaterfallMaterial,ze as imageTextRecommendInspectorPropsSchema,Ve as imageTextRecommendMaterial,We as marqueeInspectorPropsSchema,qe as marqueeMaterial,s as mergeStyles,et as profileHeaderInspectorDefaultProps,tt as profileHeaderInspectorPropsSchema,it as profileHeaderMaterial,at as profileHeaderMaterialWithDisabledBackground,ot as profileMainCollectCollectionTabOptions,st as profileMainCollectTabOptions,ct as profileMainHistoryTabOptions,ht as profileMainInspectorDefaultProps,gt as profileMainInspectorPropsSchema,lt as profileMainLikeTabOptions,Dt as profileMainMaterial,ut as profileMainMineTabOptions,dt as profileMainProfileTabOptions,ft as profileMainTabOptions,Ht as searchHistoryInspectorPropsSchema,Wt as searchHistoryMaterial,Kt as searchInputInspectorDefaultProps,qt as searchInputInspectorPropsSchema,Yt as searchInputMaterial,Zt as tabBarInspectorPropsSchema,$t as tabBarMaterial,tn as textRecommendInspectorPropsSchema,rn as textRecommendMaterial,l as transformContentListToCardItems,u as transformContentToCardItem};
|
|
@@ -1,28 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
import { InferSchemaProps } from "../../../../utils/schema/schema.mjs";
|
|
3
3
|
import "../../../../utils/schema/index.mjs";
|
|
4
|
-
import { ContentShowVideoInfo } from "../../../../types.mjs";
|
|
5
4
|
import { imageTextRecommendInspectorPropsSchema } from "./schema.mjs";
|
|
6
|
-
import { ImageTextRecommendAnyVideo } from "../../../../hooks/image-text-recommend.mjs";
|
|
7
|
-
import "../../../../hooks.mjs";
|
|
8
5
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
9
6
|
|
|
10
7
|
//#region components/biz/business/image-text-recommend/client.d.ts
|
|
11
|
-
type AnyVideo = ImageTextRecommendAnyVideo;
|
|
12
8
|
type ImageTextRecommendProps = InferSchemaProps<typeof imageTextRecommendInspectorPropsSchema>;
|
|
13
|
-
|
|
14
|
-
interface ImageTextRecommendInitialData {
|
|
15
|
-
initialRemoteMap?: Record<string, AnyVideo | undefined>;
|
|
16
|
-
initialSmartList?: ContentShowVideoInfo[];
|
|
17
|
-
initialLoadedBatchIndex?: number;
|
|
18
|
-
initialDataFromServer?: boolean;
|
|
19
|
-
/** 智能铺设分批时,服务端首屏返回的下一页游标 */
|
|
20
|
-
initialSmartNextCursor?: string;
|
|
21
|
-
}
|
|
22
|
-
interface ClientProps extends ImageTextRecommendProps, ImageTextRecommendInitialData {
|
|
23
|
-
allEpisodesText?: string;
|
|
24
|
-
updatedToText?: string;
|
|
25
|
-
}
|
|
9
|
+
interface ClientProps extends ImageTextRecommendProps {}
|
|
26
10
|
/**
|
|
27
11
|
* 图文推荐物料组件 - 客户端部分
|
|
28
12
|
* - 智能铺设开启:按标签调用热门列表接口,随机铺设推荐位,T+1 自动更新
|
|
@@ -30,4 +14,4 @@ interface ClientProps extends ImageTextRecommendProps, ImageTextRecommendInitial
|
|
|
30
14
|
*/
|
|
31
15
|
declare function ImageTextRecommendClient(props: ClientProps): react_jsx_runtime0.JSX.Element | null;
|
|
32
16
|
//#endregion
|
|
33
|
-
export { ImageTextRecommendClient,
|
|
17
|
+
export { ImageTextRecommendClient, ImageTextRecommendProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
"use client";import e from"../../../../utils/get-res-url.mjs";import{pContentBatchGetVideoDetail as t,pContentGetPopularVideoList as n}from"../../../../service/generated/client.mjs";import{
|
|
2
|
+
"use client";import e from"../../../../utils/get-res-url.mjs";import{pContentBatchGetVideoDetail as t,pContentGetPopularVideoList as n}from"../../../../service/generated/client.mjs";import{pContentBatchGetVideoDetailKey as r,pContentGetPopularVideoListKey as i}from"../../../../service/generated/tanstack.mjs";import{Image as a}from"../../../ui/image.mjs";import{Box as o}from"../../../ui/box.mjs";import{Text as s}from"../../../ui/text.mjs";import{IMAGE_TEXT_RECOMMEND_FIXED_BATCH_SIZE as c,buildImageTextRecommendChosenTags as l,buildImageTextRecommendRemoteMap as u,buildImageTextRecommendSmartPicked as d,getImageTextRecommendFixedIds as f,getImageTextRecommendLayoutTags as ee,resolveImageTextRecommendVideoId as te}from"../../../../hooks/image-text-recommend.mjs";import{useRequest as p}from"../../../../hooks/query/use-query.mjs";import ne from"../../../../assets/images/frame.mjs";import re from"../../../../assets/images/subscript.mjs";import{buildSmartPopularQuery as ie,buildStableChosenTags as ae}from"./shared/query.mjs";import{useCallback as m,useEffect as h,useMemo as g,useRef as oe,useState as _}from"react";import{Fragment as se,jsx as v,jsxs as y}from"react/jsx-runtime";import{useTranslations as ce}from"next-intl";import le from"next/link";const b=[];function x(e){return typeof e==`string`?e:e.src}function ue(t,n){if(!t||!t.trim())return x(n);if(t.startsWith(`http`)||t.startsWith(`//`)||t.startsWith(`data:`))return t;let r=e();return r?`${r}${t.startsWith(`/`)?t:`/${t}`}`:t}function S(e){if(e==null)return``;let t=e;return t.img_y||t.media?.img_y||``}function C(e){return e==null?``:e.name||``}function w(e){let t=e,n=t.type;return typeof n==`number`?n:t.is_more_link===!0||Number(t.episode_cnt||t.episode_count||t.episodes?.length||t.links?.length||0)>1?2:1}function T(e){if(!Number.isFinite(e)||e<=0)return``;let t=Math.floor(e),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60,a=e=>String(e).padStart(2,`0`);return n>0?`${a(n)}:${a(r)}:${a(i)}`:`${a(r)}:${a(i)}`}function E(e,t){let n=e,r=Number(n.episode_cnt??0);if(!Number.isFinite(r)||r<=0)return``;let i=n.update_status;return t(r,i===0||i===`0`)}function de(e,t){return e?w(e)===2&&t?E(e,t):T(Number(e.duration??e.detail?.duration??0)):``}function fe(e,t){if(!(e??``).trim())return``;let n=encodeURIComponent((t??``).trim()||``);return`/video/${e.trim()}/${n}/episode/1`}function pe(e){if(!e)return``;let t=e,n=Number(t.static?.browse_cnt??0);if(!Number.isFinite(n)||n<=0)return``;if(n>=1e6){let e=(n/1e6).toFixed(1);return e.endsWith(`.0`)?`${e.slice(0,-2)}M`:`${e}M`}if(n>=1e3){let e=(n/1e3).toFixed(1);return e.endsWith(`.0`)?`${e.slice(0,-2)}k`:`${e}k`}return Math.floor(n).toString()}function me(){let e=new Date,t=new Date(e);return t.setHours(24,0,0,0),t.getTime()-e.getTime()}function D(e){let{title:w,items:T=b,commonPlayCount:E,commonEpisodes:D,layout:O,mode:k=`renderer`}=e,A=ce(`components.biz.business.imageTextRecommend`),j=k===`renderer`,M=k===`editor`,[N,P]=_({}),[F,I]=_([]),[L,R]=_(0),[z,B]=_(void 0),V=oe(null),H=!!O?.enabled,U=g(()=>ee(O),[O]),W=T?.length??0,G=g(()=>f(T,H),[H,T]),K=g(()=>G.slice(0,c),[G]),q=g(()=>ae(U,W),[U,W]),J=g(()=>ie(q,W),[q,W]),{data:Y}=p(i(J),()=>n(J),{enabled:j&&!M&&H&&T.length>0,staleTime:1/0}),{data:X}=p(r({ids:K}),()=>t({ids:K}),{enabled:j&&!M&&!H&&K.length>0,staleTime:1/0}),Z=g(()=>H&&W>c?Math.ceil(W/c):G.length>0?Math.ceil(G.length/c):0,[H,W,G.length]),Q=m((e,t)=>A(t?`updatedTo`:`allEpisodes`,{count:e}),[A]),he=m(async(e,n)=>{if(e.length===0)return;let r=u((await t({ids:e})).data?.videos??[]);P(e=>n?{...e,...r}:r)},[]);h(()=>{if(M)return;if(H){let e=Y?.data?.videos??[];W>c?(I(e.slice(0,c)),B(Y?.data?.cursor),R(e.length>0?1:0)):(I(d(e,q,W)),R(0)),P({});return}if(K.length===0){P({}),I([]),R(0),B(void 0);return}let e=X?.data?.videos??[];P(u(e)),I([]),B(void 0),R(e.length>0?1:0)},[M,H,Y,X,q,K,W]),h(()=>{if(M||Z<1||L<1||L>=Z)return;let e=V.current;if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;if(!t?.isIntersecting)return;let r=L;if(H){let e=l(U,W);n({page_size:c,cursor:z,tags:e.length?Array.from(new Set(e)):void 0}).then(e=>{let t=e.data?.videos??[];I(e=>[...e,...t.slice(0,c)]),B(e.data?.cursor),R(r+1)}).catch(()=>{})}else{let e=r*c,t=G.slice(e,e+c);t.length>0&&(he(t,!0),R(r+1))}},{root:null,rootMargin:`0px`,threshold:0});return t.observe(e),()=>t.disconnect()},[M,H,G,L,Z,U,W,z,he]),h(()=>{if(M||!H||W<=0)return;let e,t=!1;function r(){e=window.setTimeout(()=>{let e=l(U,W);n({page_size:Math.max(20,W*10),tags:e.length?Array.from(new Set(e)):void 0}).then(n=>{t||I(d(n.data?.videos??[],e,W))}).catch(()=>{t||I([])}).finally(()=>{t||r()})},me())}return r(),()=>{t=!0,e!==void 0&&window.clearTimeout(e)}},[M,H,U,W]);let $=g(()=>!T||T.length===0?b:M?T:H&&W>c?T.slice(0,F.length):T,[T,M,H,W,F.length]),ge=g(()=>$.length?$.map((e,t)=>{let n=String(e?.contentId??``).trim(),r=H?F[t]:n?N[n]:void 0,i=H?r?C(r):(e?.title??``).trim():(e?.title??``).trim()||(r?C(r):``),a=(e?.cover??``).trim(),o=H?S(r)||a:a||(e?.useVideoPoster?S(r):``),s=H&&String(r?.description??r?.content_description??``).trim()||(e?.contentDescription??``).trim(),c=de(r,Q),l=pe(r);return{...e,contentId:n||(r?te(r):``),title:i,cover:o,contentDescription:s,episodeOrDurationText:c,playCountText:l}}):b,[Q,H,$,N,F]);if(!T||T.length===0)return null;let _e=L>=1&&L<Z?H?F.length-2:L*c-2:-1;return y(o,{className:M?`bg-bg1 px-3 py-3 pointer-events-none`:`bg-bg1 px-3 py-3`,children:[w&&v(o,{className:`mb-3 flex items-center justify-between`,children:v(s,{className:`text-[18px] font-bold text-text1 leading-[26px]`,children:w})}),v(o,{className:`flex overflow-x-auto pb-2 scrollbar-hide space-x-2`,children:ge.map((e,t)=>{let n=H?E:e.showPlayCount??!1,r=(e.playCountText??``).trim(),i=r!==``,c=H?D:e.showEpisodes??!1,l=(e.episodeOrDurationText??``).trim(),u=c&&l!==``,d=k===`renderer`?fe(e.contentId??``,e.title??``):``,f=y(se,{children:[y(o,{className:`relative rounded-lg overflow-hidden bg-bg2 w-[116px] h-[134px]`,children:[M||e.cover?v(a,{src:ue(e.cover,ne),alt:e.title??``,fill:!0,className:`object-cover`}):v(o,{className:`w-full h-full flex items-center justify-center`,children:v(s,{className:`text-text3 text-xs`,children:A(`noCover`)})}),!H&&(e.badge??``).trim()?v(o,{className:`absolute top-0 right-0 w-8 h-8`,children:v(a,{src:(e.badge??``).trim()||x(re),alt:``,fill:!0,sizes:`32px`,className:`object-contain object-right-top`,unoptimized:!0})}):null,y(o,{className:`absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/80 to-transparent pb-1 pt-3 px-1 flex justify-between items-center gap-1`,children:[v(o,{className:`flex items-center min-w-0 shrink`,children:n&&i?y(o,{className:`flex items-center gap-1 rounded bg-overlay px-1 py-0`,children:[v(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:`12`,height:`10`,viewBox:`0 0 12 10`,fill:`none`,className:`shrink-0`,"aria-hidden":!0,children:v(`path`,{d:`M7.56 5.18437L5.013 6.56737C4.893 6.63337 4.761 6.66937 4.638 6.66937C4.269 6.66937 4.002 6.38737 4.002 5.99737V3.28237C4.002 2.89237 4.269 2.61037 4.638 2.61037C4.764 2.61037 4.893 2.64637 5.013 2.70937L7.572 4.09237C7.803 4.21837 7.938 4.41637 7.938 4.63237C7.938 4.85137 7.8 5.05537 7.56 5.18437ZM9.807 9.27637L2.133 8.52937C0.954 8.52937 0 7.57537 0 6.39637V2.79937C0 1.62037 0.954 0.666368 2.133 0.666368L9.81 0.000367165C10.989 0.000367165 11.943 0.954367 11.943 2.13337V7.14337C11.9422 7.70935 11.7168 8.25188 11.3163 8.65181C10.9158 9.05174 10.373 9.27637 9.807 9.27637ZM10.875 2.13337C10.875 1.99351 10.8475 1.85502 10.7939 1.72581C10.7404 1.5966 10.662 1.47919 10.5631 1.3803C10.4642 1.2814 10.3468 1.20296 10.2176 1.14944C10.0883 1.09591 9.94986 1.06837 9.81 1.06837L2.133 1.73437C1.99314 1.73437 1.85465 1.76191 1.72544 1.81544C1.59623 1.86896 1.47883 1.9474 1.37993 2.0463C1.28104 2.14519 1.20259 2.2626 1.14907 2.39181C1.09555 2.52102 1.068 2.65951 1.068 2.79937V6.39637C1.068 6.67882 1.1802 6.94971 1.37993 7.14944C1.57966 7.34916 1.85054 7.46137 2.133 7.46137L9.807 8.20837C9.94686 8.20837 10.0853 8.18082 10.2146 8.1273C10.3438 8.07378 10.4612 7.99533 10.5601 7.89644C10.659 7.79754 10.7374 7.68014 10.7909 7.55093C10.8445 7.42171 10.872 7.28323 10.872 7.14337V2.13337H10.875Z`,fill:`white`})}),v(s,{className:`text-white text-[12px] leading-[20px]`,children:r})]}):null}),v(o,{className:`flex items-center shrink-0`,children:u?v(s,{className:`text-white text-[12px] leading-[20px]`,children:l}):null})]})]}),v(o,{className:`mt-2 py-2`,children:v(s,{className:`text-[16px] text-text1 font-bold leading-[24px] line-clamp-1`,children:e.title})})]});return v(o,{ref:t===_e?V:void 0,className:`flex-shrink-0 w-[116px]`,children:d?v(le,{href:d,className:`block`,children:f}):f},t)})})]})}export{D as ImageTextRecommendClient};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { imageTextRecommendInspectorPropsSchema } from "./schema.mjs";
|
|
3
|
-
import { ImageTextRecommendClient,
|
|
3
|
+
import { ImageTextRecommendClient, ImageTextRecommendProps } from "./client.mjs";
|
|
4
4
|
import { ImageTextRecommendServer } from "./server.mjs";
|
|
5
5
|
import { imageTextRecommendMaterial } from "./material.mjs";
|
|
@@ -4,9 +4,7 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
|
4
4
|
|
|
5
5
|
//#region components/biz/business/image-text-recommend/server.d.ts
|
|
6
6
|
/**
|
|
7
|
-
* 图文推荐物料组件
|
|
8
|
-
* 负责初次数据请求(与客户端共享同一套 schema 配置)、国际化文案预取和属性透传。
|
|
9
|
-
* 关闭智能铺设时超过 8 条的「触底加载下一批」仍在客户端发起。
|
|
7
|
+
* 图文推荐物料组件
|
|
10
8
|
*/
|
|
11
9
|
declare function ImageTextRecommendServer(props: ImageTextRecommendProps): Promise<react_jsx_runtime0.JSX.Element>;
|
|
12
10
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{pContentBatchGetVideoDetail as e,pContentGetPopularVideoList as t}from"../../../../service/generated/client.mjs";import{
|
|
2
|
+
import{pContentBatchGetVideoDetail as e,pContentGetPopularVideoList as t}from"../../../../service/generated/client.mjs";import{pContentBatchGetVideoDetailKey as n,pContentGetPopularVideoListKey as r}from"../../../../service/generated/tanstack.mjs";import{IMAGE_TEXT_RECOMMEND_FIXED_BATCH_SIZE as i,getImageTextRecommendFixedIds as a,getImageTextRecommendLayoutTags as o}from"../../../../hooks/image-text-recommend.mjs";import{HydrationBoundary as s}from"../../../../hooks/query/hydration-boundary.mjs";import{buildSmartPopularQuery as c,buildStableChosenTags as l}from"./shared/query.mjs";import{ImageTextRecommendClient as u}from"./client.mjs";import{jsx as d}from"react/jsx-runtime";const f=[];async function p(p){let{mode:m=`renderer`,...h}=p,g=h.items??f,_=h.layout,v=[],y=!!_?.enabled,b=a(g,y),x=o(_),S=g?.length??0;if(m===`renderer`&&g?.length)try{if(y){let e=c(l(x,S),S),n=await t(e);v.push({queryKey:r(e),queryFn:()=>Promise.resolve(n)})}else if(b.length>0){let t={ids:b.length<=i?b:b.slice(0,i)},r=await e(t);v.push({queryKey:n(t),queryFn:()=>Promise.resolve(r)})}}catch(e){console.warn(`[image-text-recommend] server prefetch failed:`,e)}return d(s,{prefetch:v,children:d(u,{...h,mode:m})})}export{p as ImageTextRecommendServer};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
import{IMAGE_TEXT_RECOMMEND_FIXED_BATCH_SIZE as e}from"../../../../../hooks/image-text-recommend.mjs";function t(e,t){let n=e.map(e=>String(e).trim()).filter(Boolean);if(!n.length||t<=0)return[];if(n.length>=t)return n.slice(0,t);let r=[...n];for(;r.length<t;)r.push(n[r.length%n.length]);return r}function n(t,n){return n>e?{page_size:e,tags:t.length?Array.from(new Set(t)):void 0}:{page_size:Math.max(20,n*10),tags:t.length?Array.from(new Set(t)):void 0}}export{n as buildSmartPopularQuery,t as buildStableChosenTags};
|
|
@@ -53,7 +53,7 @@ import { HomeRecommendWaterfall } from "./home-recommend/home-recommend-waterfal
|
|
|
53
53
|
import { homeRecommendWaterfallMaterial } from "./home-recommend/home-recommend-waterfall/material.mjs";
|
|
54
54
|
import "./home-recommend/index.mjs";
|
|
55
55
|
import { imageTextRecommendInspectorPropsSchema } from "./image-text-recommend/schema.mjs";
|
|
56
|
-
import { ImageTextRecommendClient,
|
|
56
|
+
import { ImageTextRecommendClient, ImageTextRecommendProps } from "./image-text-recommend/client.mjs";
|
|
57
57
|
import { ImageTextRecommendServer } from "./image-text-recommend/server.mjs";
|
|
58
58
|
import { imageTextRecommendMaterial } from "./image-text-recommend/material.mjs";
|
|
59
59
|
import "./image-text-recommend/index.mjs";
|
|
@@ -111,7 +111,7 @@ import { SearchHistoryClient, SearchHistoryProps } from "./search-history/client
|
|
|
111
111
|
import { SearchHistoryServer } from "./search-history/server.mjs";
|
|
112
112
|
import { searchHistoryMaterial } from "./search-history/material.mjs";
|
|
113
113
|
import "./search-history/index.mjs";
|
|
114
|
-
import { searchInputInspectorPropsSchema } from "./search-input/schema.mjs";
|
|
114
|
+
import { SearchInputInspectorProps, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema } from "./search-input/schema.mjs";
|
|
115
115
|
import { SearchInputClient, SearchInputProps } from "./search-input/client.mjs";
|
|
116
116
|
import { SearchInputServer } from "./search-input/server.mjs";
|
|
117
117
|
import { searchInputMaterial } from "./search-input/material.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
+
import { UserProfileHeaderAuthConfig, UserProfileHeaderClientProps } from "./schema.mjs";
|
|
2
3
|
import { PrefetchItem } from "../../../../../hooks/query/hydration-boundary.mjs";
|
|
3
4
|
import "../../../../../hooks.mjs";
|
|
4
|
-
import { UserProfileHeaderAuthConfig, UserProfileHeaderClientProps } from "./schema.mjs";
|
|
5
5
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
6
|
|
|
7
7
|
//#region components/biz/business/profile/profile-header/server.d.ts
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
3
|
-
import "../../../../utils/schema/index.mjs";
|
|
4
|
-
import { searchInputInspectorPropsSchema } from "./schema.mjs";
|
|
2
|
+
import { SearchInputInspectorProps } from "./schema.mjs";
|
|
5
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
4
|
|
|
7
5
|
//#region components/biz/business/search-input/client.d.ts
|
|
8
|
-
type SearchInputProps =
|
|
6
|
+
type SearchInputProps = SearchInputInspectorProps;
|
|
9
7
|
interface ClientProps extends SearchInputProps {
|
|
10
8
|
/** 占位符,未配置时由服务端 defaultPlaceholder 兜底 */
|
|
11
9
|
placeholder?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { searchInputInspectorPropsSchema } from "./schema.mjs";
|
|
2
|
+
import { SearchInputInspectorProps, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema } from "./schema.mjs";
|
|
3
3
|
import { SearchInputClient, SearchInputProps } from "./client.mjs";
|
|
4
4
|
import { SearchInputServer } from "./server.mjs";
|
|
5
5
|
import { searchInputMaterial } from "./material.mjs";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
|
|
2
|
+
import { InferSchemaProps } from "../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../utils/schema/index.mjs";
|
|
2
4
|
import * as zod from "zod";
|
|
3
5
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
4
6
|
|
|
5
7
|
//#region components/biz/business/search-input/schema.d.ts
|
|
6
8
|
/**
|
|
7
|
-
*
|
|
8
|
-
* 无需配置,低代码平台不展示配置面板;占位符等由服务端 i18n 注入。
|
|
9
|
+
* 搜索输入框物料暂不对外开放配置,仅做占位展示;占位符等由服务端 i18n 注入。
|
|
9
10
|
*/
|
|
10
11
|
declare const searchInputInspectorPropsSchema: zod.ZodObject<{
|
|
11
12
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -13,5 +14,7 @@ declare const searchInputInspectorPropsSchema: zod.ZodObject<{
|
|
|
13
14
|
editor: "editor";
|
|
14
15
|
}>>;
|
|
15
16
|
}, zod_v4_core0.$strip>;
|
|
17
|
+
declare const searchInputInspectorDefaultProps: {};
|
|
18
|
+
type SearchInputInspectorProps = InferSchemaProps<typeof searchInputInspectorPropsSchema>;
|
|
16
19
|
//#endregion
|
|
17
|
-
export { searchInputInspectorPropsSchema };
|
|
20
|
+
export { SearchInputInspectorProps, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e}from"../../../../utils/schema/schema.mjs";const
|
|
2
|
+
import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"../../../../utils/schema/schema.mjs";const n=e({}),r=t(n);export{r as searchInputInspectorDefaultProps,n as searchInputInspectorPropsSchema};
|