@funhub/platform 0.1.27 → 0.1.29
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 +28 -10
- package/dist/biz.mjs +1 -1
- package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.d.mts +11 -11
- package/dist/components/biz/business/banner/variants/basic-banner/material.d.mts +1 -1
- package/dist/components/biz/business/banner-carousel/client.mjs +2 -0
- package/dist/components/biz/business/banner-carousel/default-props.mjs +2 -0
- package/dist/components/biz/business/banner-carousel/material.d.mts +22 -0
- package/dist/components/biz/business/banner-carousel/material.mjs +2 -0
- package/dist/components/biz/business/banner-carousel/schema.d.mts +23 -0
- package/dist/components/biz/business/banner-carousel/schema.mjs +2 -0
- package/dist/components/biz/business/banner-carousel/server.d.mts +18 -0
- package/dist/components/biz/business/banner-carousel/server.mjs +2 -0
- package/dist/components/biz/business/channel-list/channel-filter-dialog.mjs +1 -1
- package/dist/components/biz/business/channel-list/client.mjs +1 -1
- package/dist/components/biz/business/channel-list/material.d.mts +4 -2
- package/dist/components/biz/business/channel-list/schema.d.mts +9 -7
- package/dist/components/biz/business/channel-list/schema.mjs +1 -1
- package/dist/components/biz/business/detail/materials/registry.d.mts +34 -28
- package/dist/components/biz/business/detail/materials/video-detail-actions/client.d.mts +1 -1
- package/dist/components/biz/business/detail/materials/video-detail-actions/client.mjs +1 -1
- package/dist/components/biz/business/detail/materials/video-detail-actions/index.d.mts +2 -2
- package/dist/components/biz/business/detail/materials/video-detail-actions/material.d.mts +2 -1
- package/dist/components/biz/business/detail/materials/video-detail-actions/material.mjs +1 -1
- package/dist/components/biz/business/detail/materials/video-detail-actions/server.d.mts +10 -2
- package/dist/components/biz/business/detail/materials/video-detail-info/client.d.mts +1 -1
- package/dist/components/biz/business/detail/materials/video-detail-info/client.mjs +1 -1
- package/dist/components/biz/business/detail/materials/video-detail-info/index.d.mts +2 -2
- package/dist/components/biz/business/detail/materials/video-detail-info/material.d.mts +2 -1
- package/dist/components/biz/business/detail/materials/video-detail-info/server.d.mts +10 -2
- package/dist/components/biz/business/detail/materials/video-detail-info-title/client.mjs +1 -1
- package/dist/components/biz/business/detail/materials/video-detail-info-title/index.d.mts +2 -2
- package/dist/components/biz/business/detail/materials/video-detail-info-title/material.d.mts +2 -1
- package/dist/components/biz/business/detail/materials/video-detail-info-title/server.d.mts +10 -2
- package/dist/components/biz/business/detail/materials/video-detail-info-title-tags-episodes/client.mjs +1 -1
- package/dist/components/biz/business/detail/materials/video-detail-info-title-tags-episodes/index.d.mts +2 -2
- package/dist/components/biz/business/detail/materials/video-detail-info-title-tags-episodes/material.d.mts +2 -1
- package/dist/components/biz/business/detail/materials/video-detail-info-title-tags-episodes/server.d.mts +10 -2
- package/dist/components/biz/business/detail/materials/video-detail-player/client.d.mts +1 -1
- package/dist/components/biz/business/detail/materials/video-detail-player/client.mjs +1 -1
- package/dist/components/biz/business/detail/materials/video-detail-player/index.d.mts +2 -2
- package/dist/components/biz/business/detail/materials/video-detail-player/material.d.mts +2 -1
- package/dist/components/biz/business/detail/materials/video-detail-player/material.mjs +1 -1
- package/dist/components/biz/business/detail/materials/video-detail-player/server.d.mts +10 -2
- package/dist/components/biz/business/detail/materials/video-detail-recommend/client.mjs +1 -1
- package/dist/components/biz/business/detail/materials/video-detail-recommend/index.d.mts +2 -2
- package/dist/components/biz/business/detail/materials/video-detail-recommend/material.d.mts +2 -1
- package/dist/components/biz/business/detail/materials/video-detail-recommend/schema.d.mts +23 -23
- package/dist/components/biz/business/detail/materials/video-detail-recommend/server.d.mts +10 -2
- package/dist/components/biz/business/floating-ball/client.d.mts +1 -1
- package/dist/components/biz/business/floating-ball/material.d.mts +2 -1
- package/dist/components/biz/business/floating-ball/server.d.mts +11 -0
- package/dist/components/biz/business/header-search/header-avatar-icon/index.d.mts +2 -2
- package/dist/components/biz/business/header-search/header-avatar-icon/material.d.mts +2 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/server.d.mts +10 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search/index.d.mts +2 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search/material.d.mts +2 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search/server.d.mts +10 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/index.d.mts +2 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.d.mts +2 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/server.d.mts +10 -2
- package/dist/components/biz/business/header-search/header-logo-search/index.d.mts +2 -2
- package/dist/components/biz/business/header-search/header-logo-search/material.d.mts +2 -1
- package/dist/components/biz/business/header-search/header-logo-search/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-logo-search/server.d.mts +10 -2
- package/dist/components/biz/business/header-search/header-search/index.d.mts +2 -2
- package/dist/components/biz/business/header-search/header-search/material.d.mts +2 -1
- package/dist/components/biz/business/header-search/header-search/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-search/server.d.mts +10 -2
- package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/inspector-schema.d.mts +5 -5
- package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/inspector-schema.mjs +1 -1
- package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/material.d.mts +1 -1
- package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/material.mjs +1 -1
- package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/runtime/client.mjs +1 -1
- package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/schema/component.mjs +1 -1
- package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/inspector-schema.d.mts +5 -5
- package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/material.d.mts +1 -1
- package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/material.mjs +1 -1
- package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/runtime/client.mjs +1 -1
- package/dist/components/biz/business/index.d.mts +27 -8
- package/dist/components/biz/business/index.mjs +1 -1
- package/dist/components/biz/business/large-feature-grid/client.d.mts +1 -1
- package/dist/components/biz/business/large-feature-grid/material.d.mts +2 -1
- package/dist/components/biz/business/large-feature-grid/server.d.mts +11 -0
- package/dist/components/biz/business/marquee/index.d.mts +2 -2
- package/dist/components/biz/business/marquee/material.d.mts +2 -1
- package/dist/components/biz/business/marquee/material.mjs +1 -1
- package/dist/components/biz/business/marquee/schema.d.mts +14 -14
- package/dist/components/biz/business/profile/index.d.mts +21 -0
- package/dist/components/biz/business/profile/profile-header/client.d.mts +19 -0
- package/dist/components/biz/business/profile/profile-header/client.mjs +2 -0
- package/dist/components/biz/business/profile/profile-header/index.d.mts +5 -0
- package/dist/components/biz/business/profile/profile-header/material.d.mts +9 -1
- package/dist/components/biz/business/profile/profile-header/material.mjs +1 -1
- package/dist/components/biz/business/profile/profile-header/schema.d.mts +40 -0
- package/dist/components/biz/business/profile/profile-header/schema.mjs +2 -0
- package/dist/components/biz/business/profile/profile-header/server.d.mts +33 -0
- package/dist/components/{pages/profile/_components/user-profile-header → biz/business/profile/profile-header}/server.mjs +1 -1
- package/dist/components/biz/business/profile/profile-header/user-profile-avatar.mjs +2 -0
- package/dist/components/biz/business/profile/profile-header/user-profile-cover-background.mjs +2 -0
- package/dist/components/biz/business/profile/profile-main/client.d.mts +17 -0
- package/dist/components/biz/business/profile/profile-main/client.mjs +2 -0
- package/dist/components/biz/business/profile/profile-main/index.d.mts +16 -0
- package/dist/components/biz/business/profile/profile-main/material.d.mts +14 -1
- package/dist/components/biz/business/profile/profile-main/material.mjs +1 -1
- package/dist/components/biz/business/profile/profile-main/schema.d.mts +55 -0
- package/dist/components/biz/business/profile/profile-main/schema.mjs +2 -0
- package/dist/components/biz/business/profile/profile-main/server.d.mts +11 -0
- package/dist/components/biz/business/profile/profile-main/server.mjs +2 -0
- package/dist/components/biz/business/profile/profile-main/shell.d.mts +25 -0
- package/dist/components/biz/business/profile/profile-main/shell.mjs +2 -0
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/client.d.mts +25 -0
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs +2 -0
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/index.d.mts +3 -0
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/server.d.mts +54 -0
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs +2 -0
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.d.mts +19 -0
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.mjs +2 -0
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/index.d.mts +3 -0
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/server.d.mts +48 -0
- package/dist/components/{pages/profile/_components → biz/business/profile/profile-main}/tabs/history-tab/server.mjs +1 -1
- package/dist/components/biz/business/profile/profile-main/tabs/index.d.mts +13 -0
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.d.mts +76 -0
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.mjs +2 -0
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/index.d.mts +3 -0
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/server.d.mts +39 -0
- package/dist/components/{pages/profile/_components → biz/business/profile/profile-main}/tabs/like-tab/server.mjs +1 -1
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/client.d.mts +30 -0
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs +2 -0
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/index.d.mts +3 -0
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/server.d.mts +33 -0
- package/dist/components/{pages/profile/_components → biz/business/profile/profile-main}/tabs/publish-tab/server.mjs +1 -1
- package/dist/components/biz/business/profile/profile-main/utils.mjs +2 -0
- package/dist/components/biz/business/profile/profile-main/variants.d.mts +32 -0
- package/dist/components/biz/business/profile/profile-main/variants.mjs +2 -0
- package/dist/components/biz/business/search-history/client.d.mts +7 -7
- package/dist/components/biz/business/search-history/client.mjs +1 -1
- package/dist/components/biz/business/search-history/index.d.mts +4 -4
- package/dist/components/biz/business/search-history/material.d.mts +3 -2
- package/dist/components/biz/business/search-history/material.mjs +1 -1
- package/dist/components/biz/business/search-history/schema.d.mts +8 -8
- package/dist/components/biz/business/search-history/server.d.mts +4 -4
- package/dist/components/biz/business/search-history/server.mjs +1 -1
- package/dist/components/biz/business/search-input/client.d.mts +2 -2
- package/dist/components/biz/business/search-input/client.mjs +1 -1
- package/dist/components/biz/business/search-input/index.d.mts +2 -2
- package/dist/components/biz/business/search-input/material.d.mts +2 -1
- package/dist/components/biz/business/search-input/material.mjs +1 -1
- package/dist/components/biz/business/search-input/schema.d.mts +5 -5
- package/dist/components/biz/business/shortcut-grid/client.d.mts +1 -1
- package/dist/components/biz/business/shortcut-grid/material.d.mts +2 -1
- package/dist/components/biz/business/shortcut-grid/schema.d.mts +11 -11
- package/dist/components/biz/business/shortcut-grid/server.d.mts +11 -0
- package/dist/components/biz/business/tab-bar/index.d.mts +2 -2
- package/dist/components/biz/business/tab-bar/material.d.mts +2 -1
- package/dist/components/biz/business/tab-bar/material.mjs +1 -1
- package/dist/components/biz/business/tab-bar/schema.d.mts +9 -9
- package/dist/components/biz/business/text-recommend/client.d.mts +2 -2
- package/dist/components/biz/business/text-recommend/client.mjs +1 -1
- package/dist/components/biz/business/text-recommend/index.d.mts +2 -2
- package/dist/components/biz/business/text-recommend/material.d.mts +2 -1
- package/dist/components/biz/business/text-recommend/material.mjs +1 -1
- package/dist/components/biz/business/text-recommend/schema.d.mts +6 -6
- package/dist/components/biz/business/video-horizontal-list/client.d.mts +5 -14
- package/dist/components/biz/business/video-horizontal-list/client.mjs +1 -1
- package/dist/components/biz/business/video-horizontal-list/index.d.mts +2 -2
- package/dist/components/biz/business/video-horizontal-list/material.d.mts +12 -2
- package/dist/components/biz/business/video-horizontal-list/material.mjs +1 -1
- package/dist/components/biz/business/video-horizontal-list/schema.d.mts +21 -3
- package/dist/components/biz/business/video-horizontal-list/schema.mjs +1 -1
- package/dist/components/biz/business/video-horizontal-list/server.d.mts +1 -1
- package/dist/components/biz/business/video-horizontal-list/server.mjs +1 -1
- package/dist/components/biz/example/button/index.d.mts +2 -2
- package/dist/components/biz/example/button/material.d.mts +2 -1
- package/dist/components/biz/example/button/schema.d.mts +14 -14
- package/dist/components/biz/renderer/renderer.d.mts +3 -3
- package/dist/components/biz/renderer/renderer.mjs +1 -1
- package/dist/components/pages/profile/page.mjs +1 -1
- package/dist/components/pages/search/page-client.mjs +1 -1
- package/dist/components/ui/badge.d.mts +1 -1
- package/dist/components/ui/button.d.mts +1 -1
- package/dist/materials.d.mts +11 -4
- package/dist/materials.mjs +1 -1
- package/dist/utils/schema/inspector.d.mts +111 -111
- package/dist/utils/schema/material.d.mts +13 -11
- package/dist/utils/schema/schema.d.mts +26 -26
- package/dist/utils/schema/utils.d.mts +1 -1
- package/dist/utils.mjs +1 -1
- package/package.json +1 -1
- package/dist/assets/images/Frame.mjs +0 -2
- package/dist/components/pages/profile/_components/tabs/collect-tab/client.mjs +0 -2
- package/dist/components/pages/profile/_components/tabs/collect-tab/server.mjs +0 -2
- package/dist/components/pages/profile/_components/tabs/history-tab/client.mjs +0 -2
- package/dist/components/pages/profile/_components/tabs/like-tab/client.mjs +0 -2
- package/dist/components/pages/profile/_components/tabs/publish-tab/client.mjs +0 -2
- package/dist/components/pages/profile/_components/user-profile-header/client.mjs +0 -2
- package/dist/components/pages/profile/_components/user-profile-header/user-profile-avatar.mjs +0 -2
- package/dist/components/pages/profile/_components/user-profile-header/user-profile-cover-background.mjs +0 -2
- package/dist/components/pages/profile/_components/user-profile-main/server.mjs +0 -2
- package/dist/components/pages/profile/_components/user-profile-main/shell.mjs +0 -2
- package/dist/components/pages/profile/utils.mjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { HeaderSearchInspectorProps, headerSearchInspectorPropsSchema } from "./schema.mjs";
|
|
3
3
|
import { HeaderSearchClient, HeaderSearchClientProps } from "./client.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
4
|
+
import { HeaderSearch } from "./server.mjs";
|
|
5
|
+
import { headerSearchMaterial } from "./material.mjs";
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
3
3
|
import { HeaderSearchClient } from "./client.mjs";
|
|
4
|
+
import { HeaderSearch } from "./server.mjs";
|
|
4
5
|
import * as zod from "zod";
|
|
5
6
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
7
|
|
|
7
8
|
//#region components/biz/business/header-search/header-search/material.d.ts
|
|
8
|
-
declare const headerSearchMaterial: DefineMaterialOption<typeof HeaderSearchClient, zod.ZodObject<{}, zod_v4_core0.$strip>, "header-search">;
|
|
9
|
+
declare const headerSearchMaterial: DefineMaterialOption<typeof HeaderSearch, typeof HeaderSearchClient, zod.ZodObject<{}, zod_v4_core0.$strip>, "header-search">;
|
|
9
10
|
//#endregion
|
|
10
11
|
export { headerSearchMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{HeaderSearchClient as t}from"./client.mjs";import{headerSearchInspectorPropsSchema as n}from"./schema.mjs";import{HeaderSearch as r}from"./server.mjs";const i=e({type:`header-search`,name
|
|
2
|
+
import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{HeaderSearchClient as t}from"./client.mjs";import{headerSearchInspectorPropsSchema as n}from"./schema.mjs";import{HeaderSearch as r}from"./server.mjs";const i=e({type:`header-search`,name:`顶部功能样式1`,icon:`/static/components-thumb/header_search.png`,category:`顶部功能`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as headerSearchMaterial};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import "./client.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
2
|
+
import { HeaderSearchClientProps } from "./client.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/header-search/header-search/server.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* 顶部-搜索框 服务端组件。
|
|
8
|
+
*/
|
|
9
|
+
declare function HeaderSearch(props: HeaderSearchClientProps): react_jsx_runtime0.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { HeaderSearch };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
2
|
import { SchemaHasDefaultValue } from "../../../../../../utils/schema/schema.mjs";
|
|
3
3
|
import "../../../../../../utils/schema/index.mjs";
|
|
4
|
-
import z from "zod";
|
|
4
|
+
import z$1 from "zod";
|
|
5
5
|
|
|
6
6
|
//#region components/biz/business/home-recommend/variants/home-recommend-grid/inspector-schema.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* HomeRecommendGrid 物料属性 schema 定义。
|
|
9
9
|
*/
|
|
10
|
-
declare const homeRecommendGridInspectorPropsSchema: z.ZodObject<{
|
|
11
|
-
moreLink: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
|
|
12
|
-
}, z.core.$strip>;
|
|
10
|
+
declare const homeRecommendGridInspectorPropsSchema: z$1.ZodObject<{
|
|
11
|
+
moreLink: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
|
|
12
|
+
}, z$1.core.$strip>;
|
|
13
13
|
declare const homeRecommendGridInspectorDefaultProps: {
|
|
14
14
|
moreLink: string;
|
|
15
15
|
};
|
|
16
|
-
type HomeRecommendGridInspectorProps = z.infer<typeof homeRecommendGridInspectorPropsSchema>;
|
|
16
|
+
type HomeRecommendGridInspectorProps = z$1.infer<typeof homeRecommendGridInspectorPropsSchema>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { HomeRecommendGridInspectorProps, homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"../../../../../../utils/schema/schema.mjs";const r=e({moreLink:t({label:`更多`,description
|
|
2
|
+
import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"../../../../../../utils/schema/schema.mjs";const r=e({moreLink:t({label:`更多`,description:``,required:!1,defaultValue:``})}),i=n(r);export{i as homeRecommendGridInspectorDefaultProps,r as homeRecommendGridInspectorPropsSchema};
|
package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/material.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ import * as zod from "zod";
|
|
|
7
7
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
8
8
|
|
|
9
9
|
//#region components/biz/business/home-recommend/variants/home-recommend-grid/material.d.ts
|
|
10
|
-
declare const homeRecommendGridMaterial: DefineMaterialOption<typeof HomeRecommendGrid, zod.ZodObject<{
|
|
10
|
+
declare const homeRecommendGridMaterial: DefineMaterialOption<typeof HomeRecommendGrid, typeof HomeRecommendGrid, zod.ZodObject<{
|
|
11
11
|
moreLink: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
12
12
|
}, zod_v4_core0.$strip>, "home-recommend-grid">;
|
|
13
13
|
//#endregion
|
package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/material.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineMaterial as e}from"../../../../../../utils/schema/material.mjs";import{homeRecommendGridInspectorPropsSchema as t}from"./inspector-schema.mjs";import{HomeRecommendGrid as n}from"./server.mjs";const r=e({type:`home-recommend-grid`,name
|
|
2
|
+
import{defineMaterial as e}from"../../../../../../utils/schema/material.mjs";import{homeRecommendGridInspectorPropsSchema as t}from"./inspector-schema.mjs";import{HomeRecommendGrid as n}from"./server.mjs";const r=e({type:`home-recommend-grid`,name:`两列宫格`,icon:`/static/components-thumb/grid_two_column_single_row.png`,category:`频道`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as homeRecommendGridMaterial};
|
package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/runtime/client.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
"use client";import e from"../../../shared/home-recommend-base.mjs";import{jsx as
|
|
2
|
+
"use client";import{useAppContext as e}from"../../../../../../../hooks/use-app-context/index.mjs";import t from"../../../shared/home-recommend-base.mjs";import{jsx as n}from"react/jsx-runtime";function r(r){return e()===`editor`?n(`div`,{children:`占位`}):n(t,{variant:`grid`,...r})}export{r as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
const e={componentName:`HomeRecommendGrid`,displayName:`两列宫格推荐位`,category:`HomeRecommend`,categoryName
|
|
2
|
+
const e={componentName:`HomeRecommendGrid`,displayName:`两列宫格推荐位`,category:`HomeRecommend`,categoryName:`频道`,enabled:!0};export{e as componentMeta};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
2
|
import { SchemaHasDefaultValue } from "../../../../../../utils/schema/schema.mjs";
|
|
3
3
|
import "../../../../../../utils/schema/index.mjs";
|
|
4
|
-
import z from "zod";
|
|
4
|
+
import z$1 from "zod";
|
|
5
5
|
|
|
6
6
|
//#region components/biz/business/home-recommend/variants/home-recommend-waterfall/inspector-schema.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* HomeRecommendWaterfall 物料属性 schema 定义。
|
|
9
9
|
*/
|
|
10
|
-
declare const homeRecommendWaterfallInspectorPropsSchema: z.ZodObject<{
|
|
11
|
-
moreLink: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
|
|
12
|
-
}, z.core.$strip>;
|
|
10
|
+
declare const homeRecommendWaterfallInspectorPropsSchema: z$1.ZodObject<{
|
|
11
|
+
moreLink: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
|
|
12
|
+
}, z$1.core.$strip>;
|
|
13
13
|
declare const homeRecommendWaterfallInspectorDefaultProps: {
|
|
14
14
|
moreLink: string;
|
|
15
15
|
};
|
|
16
|
-
type HomeRecommendWaterfallInspectorProps = z.infer<typeof homeRecommendWaterfallInspectorPropsSchema>;
|
|
16
|
+
type HomeRecommendWaterfallInspectorProps = z$1.infer<typeof homeRecommendWaterfallInspectorPropsSchema>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { HomeRecommendWaterfallInspectorProps, homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema };
|
package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/material.d.mts
CHANGED
|
@@ -7,7 +7,7 @@ import * as zod from "zod";
|
|
|
7
7
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
8
8
|
|
|
9
9
|
//#region components/biz/business/home-recommend/variants/home-recommend-waterfall/material.d.ts
|
|
10
|
-
declare const homeRecommendWaterfallMaterial: DefineMaterialOption<typeof HomeRecommendWaterfall, zod.ZodObject<{
|
|
10
|
+
declare const homeRecommendWaterfallMaterial: DefineMaterialOption<typeof HomeRecommendWaterfall, typeof HomeRecommendWaterfall, zod.ZodObject<{
|
|
11
11
|
moreLink: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
12
12
|
}, zod_v4_core0.$strip>, "home-recommend-waterfall">;
|
|
13
13
|
//#endregion
|
package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/material.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineMaterial as e}from"../../../../../../utils/schema/material.mjs";import{homeRecommendWaterfallInspectorPropsSchema as t}from"./inspector-schema.mjs";import{HomeRecommendWaterfall as n}from"./server.mjs";const r=e({type:`home-recommend-waterfall`,name
|
|
2
|
+
import{defineMaterial as e}from"../../../../../../utils/schema/material.mjs";import{homeRecommendWaterfallInspectorPropsSchema as t}from"./inspector-schema.mjs";import{HomeRecommendWaterfall as n}from"./server.mjs";const r=e({type:`home-recommend-waterfall`,name:`瀑布流`,icon:`/static/components-thumb/grid_waterfall_two_column.png`,category:`频道`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as homeRecommendWaterfallMaterial};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
"use client";import e from"../../../shared/home-recommend-base.mjs";import{jsx as
|
|
2
|
+
"use client";import{useAppContext as e}from"../../../../../../../hooks/use-app-context/index.mjs";import t from"../../../shared/home-recommend-base.mjs";import{jsx as n}from"react/jsx-runtime";function r(r){return e()===`editor`?n(`div`,{children:`占位`}):n(t,{variant:`waterfall`,...r})}export{r as default};
|
|
@@ -3,21 +3,27 @@ import { defaultProps } from "../basics/fullscreen-feed/defaults/default-props.m
|
|
|
3
3
|
import { FullscreenFeedClient } from "../basics/fullscreen-feed/runtime/client.mjs";
|
|
4
4
|
import { schema } from "../basics/fullscreen-feed/schema/index.mjs";
|
|
5
5
|
import { MarqueeInspectorProps, MarqueeProps, marqueeInspectorDefaultProps, marqueeInspectorPropsSchema } from "./marquee/schema.mjs";
|
|
6
|
+
import { MarqueeClient } from "./marquee/client.mjs";
|
|
6
7
|
import { MarqueeServer } from "./marquee/server.mjs";
|
|
7
8
|
import { marqueeMaterial } from "./marquee/material.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
9
|
+
import { SearchHistoryInspectorProps, SearchHistoryProps, searchHistoryInspectorDefaultProps, searchHistoryInspectorPropsSchema } from "./search-history/schema.mjs";
|
|
10
|
+
import { SearchHistoryClient } from "./search-history/client.mjs";
|
|
11
|
+
import { SearchHistoryServer } from "./search-history/server.mjs";
|
|
10
12
|
import { searchHistoryMaterial } from "./search-history/material.mjs";
|
|
13
|
+
import { SearchInputClient } from "./search-input/client.mjs";
|
|
11
14
|
import { SearchInputInspectorProps, SearchInputProps, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema } from "./search-input/schema.mjs";
|
|
12
15
|
import { SearchInputServer } from "./search-input/server.mjs";
|
|
13
16
|
import { searchInputMaterial } from "./search-input/material.mjs";
|
|
14
17
|
import { TabBarInspectorProps, TabBarProps, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema } from "./tab-bar/schema.mjs";
|
|
18
|
+
import { TabBarClient } from "./tab-bar/client.mjs";
|
|
15
19
|
import { TabBarServer } from "./tab-bar/server.mjs";
|
|
16
20
|
import { tabBarMaterial } from "./tab-bar/material.mjs";
|
|
21
|
+
import { TextRecommendClient } from "./text-recommend/client.mjs";
|
|
17
22
|
import { TextRecommendInspectorProps, TextRecommendProps, textRecommendInspectorDefaultProps, textRecommendInspectorPropsSchema } from "./text-recommend/schema.mjs";
|
|
18
23
|
import { TextRecommendServer } from "./text-recommend/server.mjs";
|
|
19
24
|
import { textRecommendMaterial } from "./text-recommend/material.mjs";
|
|
20
25
|
import { VideoHorizontalListInspectorProps, VideoHorizontalListProps, videoHorizontalListInspectorDefaultProps, videoHorizontalListInspectorPropsSchema } from "./video-horizontal-list/schema.mjs";
|
|
26
|
+
import { VideoHorizontalListClient } from "./video-horizontal-list/client.mjs";
|
|
21
27
|
import { VideoHorizontalListServer } from "./video-horizontal-list/server.mjs";
|
|
22
28
|
import { videoHorizontalListMaterial } from "./video-horizontal-list/material.mjs";
|
|
23
29
|
import { defaultProps as defaultProps$1 } from "./banner/variants/basic-banner/defaults/default-props.mjs";
|
|
@@ -67,7 +73,6 @@ import { homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInsp
|
|
|
67
73
|
import { HomeRecommendWaterfall } from "./home-recommend/variants/home-recommend-waterfall/server.mjs";
|
|
68
74
|
import { homeRecommendWaterfallMaterial } from "./home-recommend/variants/home-recommend-waterfall/material.mjs";
|
|
69
75
|
import "./home-recommend/index.mjs";
|
|
70
|
-
import { MarqueeClient } from "./marquee/client.mjs";
|
|
71
76
|
import "./marquee/index.mjs";
|
|
72
77
|
import { defaultProps as defaultProps$12 } from "./nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";
|
|
73
78
|
import { BasicNavBarClient } from "./nav-bar/variants/basic-nav-bar/runtime/client.mjs";
|
|
@@ -77,6 +82,25 @@ import { defaultProps as defaultProps$13 } from "./post-card/variants/basic-post
|
|
|
77
82
|
import { BasicPostCardClient } from "./post-card/variants/basic-post-card/runtime/client.mjs";
|
|
78
83
|
import { schema as schema$13 } from "./post-card/variants/basic-post-card/schema/index.mjs";
|
|
79
84
|
import "./post-card/index.mjs";
|
|
85
|
+
import { ProfileHeaderInspectorProps, UserProfileHeaderAuthConfig, UserProfileHeaderClientProps, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema } from "./profile/profile-header/schema.mjs";
|
|
86
|
+
import { UserProfileHeaderClient } from "./profile/profile-header/client.mjs";
|
|
87
|
+
import { BuildUserProfileHeaderPrefetchParams, UserProfileHeader, UserProfileHeaderProps, buildUserProfileHeaderPrefetch } from "./profile/profile-header/server.mjs";
|
|
88
|
+
import { profileHeaderMaterial } from "./profile/profile-header/material.mjs";
|
|
89
|
+
import { ProfileMainAuthConfig, ProfileMainInspectorProps, UserProfileMainProps, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema } from "./profile/profile-main/schema.mjs";
|
|
90
|
+
import { UserProfileMainClient } from "./profile/profile-main/client.mjs";
|
|
91
|
+
import { UserProfileMain } from "./profile/profile-main/server.mjs";
|
|
92
|
+
import { profileMainMaterial } from "./profile/profile-main/material.mjs";
|
|
93
|
+
import { UserProfileMainRenderMode, UserProfileMainShell, UserProfileMainShellProps } from "./profile/profile-main/shell.mjs";
|
|
94
|
+
import { CollectTab, CollectTabProps } from "./profile/profile-main/tabs/collect-tab/client.mjs";
|
|
95
|
+
import { BuildCollectTabPrefetchParams, CollectTabAuthConfig, CollectTabServer, buildCollectTabPrefetch } from "./profile/profile-main/tabs/collect-tab/server.mjs";
|
|
96
|
+
import { HistoryTab, HistoryTabProps } from "./profile/profile-main/tabs/history-tab/client.mjs";
|
|
97
|
+
import { BuildHistoryTabPrefetchParams, HistoryTabAuthConfig, HistoryTabServer, buildHistoryTabPrefetch } from "./profile/profile-main/tabs/history-tab/server.mjs";
|
|
98
|
+
import { LikeDetailItem, LikeTab, LikeTabProps } from "./profile/profile-main/tabs/like-tab/client.mjs";
|
|
99
|
+
import { BuildLikeTabPrefetchParams, LikeTabServer, buildLikeTabPrefetch } from "./profile/profile-main/tabs/like-tab/server.mjs";
|
|
100
|
+
import { PublishTab, PublishTabProps, PublishTabUserInfo } from "./profile/profile-main/tabs/publish-tab/client.mjs";
|
|
101
|
+
import { BuildPublishTabPrefetchParams, PublishTabServer, buildPublishTabPrefetch } from "./profile/profile-main/tabs/publish-tab/server.mjs";
|
|
102
|
+
import { profileMainCollectCollectionTabOptions, profileMainCollectTabOptions, profileMainHistoryTabOptions, profileMainLikeTabOptions, profileMainMineTabOptions, profileMainProfileTabOptions, profileMainTabOptions } from "./profile/profile-main/variants.mjs";
|
|
103
|
+
import "./profile/index.mjs";
|
|
80
104
|
import { defaultProps as defaultProps$14 } from "./recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";
|
|
81
105
|
import { BasicRecommendedUsersClient } from "./recommended-users/variants/basic-recommended-users/runtime/client.mjs";
|
|
82
106
|
import { schema as schema$14 } from "./recommended-users/variants/basic-recommended-users/schema/index.mjs";
|
|
@@ -94,13 +118,8 @@ import { defaultProps as defaultProps$18 } from "./search-bar/variants/tag-searc
|
|
|
94
118
|
import { TagSearchBarClient } from "./search-bar/variants/tag-search-bar/runtime/client.mjs";
|
|
95
119
|
import { schema as schema$18 } from "./search-bar/variants/tag-search-bar/schema/index.mjs";
|
|
96
120
|
import "./search-bar/index.mjs";
|
|
97
|
-
import { SearchHistory2Client } from "./search-history/client.mjs";
|
|
98
121
|
import "./search-history/index.mjs";
|
|
99
|
-
import { SearchInputClient } from "./search-input/client.mjs";
|
|
100
122
|
import "./search-input/index.mjs";
|
|
101
|
-
import { TabBarClient } from "./tab-bar/client.mjs";
|
|
102
123
|
import "./tab-bar/index.mjs";
|
|
103
|
-
import { TextRecommendClient } from "./text-recommend/client.mjs";
|
|
104
124
|
import "./text-recommend/index.mjs";
|
|
105
|
-
import { VideoHorizontalListClient } from "./video-horizontal-list/client.mjs";
|
|
106
125
|
import "./video-horizontal-list/index.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{__exportAll as e}from"../../../_virtual/_rolldown/runtime.mjs";import{marqueeInspectorDefaultProps as t,marqueeInspectorPropsSchema as n}from"./marquee/schema.mjs";import{MarqueeClient as r}from"./marquee/client.mjs";import{MarqueeServer as i}from"./marquee/server.mjs";import{marqueeMaterial as a}from"./marquee/material.mjs";import{searchHistoryInspectorDefaultProps as o,searchHistoryInspectorPropsSchema as s}from"./search-history/schema.mjs";import{SearchHistory2Client as c}from"./search-history/client.mjs";import{SearchHistory2Server as l}from"./search-history/server.mjs";import{searchHistoryMaterial as u}from"./search-history/material.mjs";import{searchInputInspectorDefaultProps as d,searchInputInspectorPropsSchema as f}from"./search-input/schema.mjs";import{defaultProps as p}from"./search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{schema as m}from"./search-bar/variants/detail-search-bar/schema/index.mjs";import h from"./search-bar/variants/detail-search-bar/index.mjs";import{SearchInputClient as g}from"./search-input/client.mjs";import{SearchInputServer as _}from"./search-input/server.mjs";import{searchInputMaterial as v}from"./search-input/material.mjs";import{tabBarInspectorDefaultProps as y,tabBarInspectorPropsSchema as b}from"./tab-bar/schema.mjs";import{TabBarClient as x}from"./tab-bar/client.mjs";import{TabBarServer as S}from"./tab-bar/server.mjs";import{tabBarMaterial as C}from"./tab-bar/material.mjs";import{textRecommendInspectorDefaultProps as w,textRecommendInspectorPropsSchema as T}from"./text-recommend/schema.mjs";import{TextRecommendClient as E}from"./text-recommend/client.mjs";import{TextRecommendServer as D}from"./text-recommend/server.mjs";import{textRecommendMaterial as O}from"./text-recommend/material.mjs";import{videoHorizontalListInspectorDefaultProps as k,videoHorizontalListInspectorPropsSchema as A}from"./video-horizontal-list/schema.mjs";import{VideoHorizontalListClient as j}from"./video-horizontal-list/client.mjs";import{VideoHorizontalListServer as M}from"./video-horizontal-list/server.mjs";import{videoHorizontalListMaterial as N}from"./video-horizontal-list/material.mjs";import{defaultProps as P}from"./banner/variants/basic-banner/defaults/default-props.mjs";import{schema as F}from"./banner/variants/basic-banner/schema/index.mjs";import{basicBannerInspectorDefaultProps as I,basicBannerInspectorPropsSchema as L}from"./banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as R}from"./banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as z}from"./banner/variants/basic-banner/material.mjs";import B from"./banner/variants/basic-banner/index.mjs";import{defaultProps as V}from"./card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as H}from"./card-grid/variants/card-grid-2x3/schema/index.mjs";import U from"./card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as W}from"./card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as G}from"./card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import K from"./card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as q}from"./card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as J}from"./card-grid/variants/card-grid-2x4/schema/index.mjs";import Y from"./card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as X}from"./card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as Z}from"./card-grid/variants/card-grid-3x3/schema/index.mjs";import Q from"./card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as $}from"./card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as ee}from"./card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import te from"./card-grid/variants/card-grid-3x3-infinite/index.mjs";import{defaultProps as ne}from"./feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as re}from"./feature-grid/variants/basic-feature-grid/schema/index.mjs";import ie from"./feature-grid/variants/basic-feature-grid/index.mjs";import{defaultProps as ae}from"../basics/fullscreen-feed/defaults/default-props.mjs";import{schema as oe}from"../basics/fullscreen-feed/schema/index.mjs";import se from"../basics/fullscreen-feed/index.mjs";import{defaultProps as ce}from"./fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import{schema as le}from"./fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import ue from"./fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as de}from"./fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import{schema as fe}from"./fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import pe from"./fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{defaultProps as me}from"./home-recommend/variants/home-recommend-grid/defaults/default-props.mjs";import{schema as he}from"./home-recommend/variants/home-recommend-grid/schema/index.mjs";import{homeRecommendGridInspectorDefaultProps as ge,homeRecommendGridInspectorPropsSchema as _e}from"./home-recommend/variants/home-recommend-grid/inspector-schema.mjs";import{HomeRecommendGrid as ve}from"./home-recommend/variants/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as ye}from"./home-recommend/variants/home-recommend-grid/material.mjs";import be from"./home-recommend/variants/home-recommend-grid/index.mjs";import{defaultProps as xe}from"./home-recommend/variants/home-recommend-waterfall/defaults/default-props.mjs";import{schema as Se}from"./home-recommend/variants/home-recommend-waterfall/schema/index.mjs";import{homeRecommendWaterfallInspectorDefaultProps as Ce,homeRecommendWaterfallInspectorPropsSchema as we}from"./home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs";import{HomeRecommendWaterfall as Te}from"./home-recommend/variants/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as Ee}from"./home-recommend/variants/home-recommend-waterfall/material.mjs";import De from"./home-recommend/variants/home-recommend-waterfall/index.mjs";import{defaultProps as Oe}from"./nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as ke}from"./nav-bar/variants/basic-nav-bar/schema/index.mjs";import Ae from"./nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as je}from"./post-card/variants/basic-post-card/defaults/default-props.mjs";import{schema as Me}from"./post-card/variants/basic-post-card/schema/index.mjs";import Ne from"./post-card/variants/basic-post-card/index.mjs";import{defaultProps as Pe}from"./recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as Fe}from"./recommended-users/variants/basic-recommended-users/schema/index.mjs";import Ie from"./recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as Le}from"./search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as Re}from"./search-bar/variants/basic-search-bar/schema/index.mjs";import ze from"./search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as Be}from"./search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as Ve}from"./search-bar/variants/filter-search-bar/schema/index.mjs";import He from"./search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as Ue}from"./search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as We}from"./search-bar/variants/tag-search-bar/schema/index.mjs";import Ge from"./search-bar/variants/tag-search-bar/index.mjs";var Ke=e({BasicBanner:()=>B,BasicBannerDefaultData:()=>P,BasicBannerMaterialComponent:()=>R,BasicBannerSchema:()=>F,BasicFeatureGrid:()=>ie,BasicFeatureGridDefaultData:()=>ne,BasicFeatureGridSchema:()=>re,BasicFullscreenFeed:()=>se,BasicFullscreenFeedDefaultData:()=>ae,BasicFullscreenFeedSchema:()=>oe,BasicNavBar:()=>Ae,BasicNavBarDefaultData:()=>Oe,BasicNavBarSchema:()=>ke,BasicPostCard:()=>Ne,BasicPostCardDefaultData:()=>je,BasicPostCardSchema:()=>Me,BasicRecommendedUsers:()=>Ie,BasicRecommendedUsersDefaultData:()=>Pe,BasicRecommendedUsersSchema:()=>Fe,BasicSearchBar:()=>ze,BasicSearchBarDefaultData:()=>Le,BasicSearchBarSchema:()=>Re,CardGrid2x3:()=>U,CardGrid2x3DefaultData:()=>V,CardGrid2x3Infinite:()=>K,CardGrid2x3InfiniteDefaultData:()=>W,CardGrid2x3InfiniteSchema:()=>G,CardGrid2x3Schema:()=>H,CardGrid2x4:()=>Y,CardGrid2x4DefaultData:()=>q,CardGrid2x4Schema:()=>J,CardGrid3x3:()=>Q,CardGrid3x3DefaultData:()=>X,CardGrid3x3Infinite:()=>te,CardGrid3x3InfiniteDefaultData:()=>$,CardGrid3x3InfiniteSchema:()=>ee,CardGrid3x3Schema:()=>Z,DetailSearchBar:()=>h,DetailSearchBarDefaultData:()=>p,DetailSearchBarSchema:()=>m,FilterSearchBar:()=>He,FilterSearchBarDefaultData:()=>Be,FilterSearchBarSchema:()=>Ve,FullscreenFeedClient:()=>ue,FullscreenPostFeedDefaultData:()=>ce,FullscreenPostFeedSchema:()=>le,FullscreenVideoClient:()=>pe,FullscreenVideoFeedDefaultData:()=>de,FullscreenVideoFeedSchema:()=>fe,HomeRecommendGrid:()=>be,HomeRecommendGridDefaultData:()=>me,HomeRecommendGridMaterialComponent:()=>ve,HomeRecommendGridSchema:()=>he,HomeRecommendWaterfall:()=>De,HomeRecommendWaterfallDefaultData:()=>xe,HomeRecommendWaterfallMaterialComponent:()=>Te,HomeRecommendWaterfallSchema:()=>Se,MarqueeClient:()=>r,MarqueeServer:()=>i,SearchHistory2Client:()=>c,SearchHistory2Server:()=>l,SearchInputClient:()=>g,SearchInputServer:()=>_,TabBarClient:()=>x,TabBarServer:()=>S,TagSearchBar:()=>Ge,TagSearchBarDefaultData:()=>Ue,TagSearchBarSchema:()=>We,TextRecommendClient:()=>E,TextRecommendServer:()=>D,VideoHorizontalListClient:()=>j,VideoHorizontalListServer:()=>M,basicBannerInspectorDefaultProps:()=>I,basicBannerInspectorPropsSchema:()=>L,basicBannerMaterial:()=>z,homeRecommendGridInspectorDefaultProps:()=>ge,homeRecommendGridInspectorPropsSchema:()=>_e,homeRecommendGridMaterial:()=>ye,homeRecommendWaterfallInspectorDefaultProps:()=>Ce,homeRecommendWaterfallInspectorPropsSchema:()=>we,homeRecommendWaterfallMaterial:()=>Ee,marqueeInspectorDefaultProps:()=>t,marqueeInspectorPropsSchema:()=>n,marqueeMaterial:()=>a,searchHistoryInspectorDefaultProps:()=>o,searchHistoryInspectorPropsSchema:()=>s,searchHistoryMaterial:()=>u,searchInputInspectorDefaultProps:()=>d,searchInputInspectorPropsSchema:()=>f,searchInputMaterial:()=>v,tabBarInspectorDefaultProps:()=>y,tabBarInspectorPropsSchema:()=>b,tabBarMaterial:()=>C,textRecommendInspectorDefaultProps:()=>w,textRecommendInspectorPropsSchema:()=>T,textRecommendMaterial:()=>O,videoHorizontalListInspectorDefaultProps:()=>k,videoHorizontalListInspectorPropsSchema:()=>A,videoHorizontalListMaterial:()=>N});export{Ke as business_exports};
|
|
2
|
+
import{__exportAll as e}from"../../../_virtual/_rolldown/runtime.mjs";import{MarqueeClient as t}from"./marquee/client.mjs";import{marqueeInspectorDefaultProps as n,marqueeInspectorPropsSchema as r}from"./marquee/schema.mjs";import{MarqueeServer as i}from"./marquee/server.mjs";import{marqueeMaterial as a}from"./marquee/material.mjs";import{SearchHistoryClient as o}from"./search-history/client.mjs";import{searchHistoryInspectorDefaultProps as s,searchHistoryInspectorPropsSchema as c}from"./search-history/schema.mjs";import{SearchHistoryServer as l}from"./search-history/server.mjs";import{searchHistoryMaterial as u}from"./search-history/material.mjs";import{defaultProps as d}from"./search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{schema as f}from"./search-bar/variants/detail-search-bar/schema/index.mjs";import p from"./search-bar/variants/detail-search-bar/index.mjs";import{SearchInputClient as m}from"./search-input/client.mjs";import{searchInputInspectorDefaultProps as h,searchInputInspectorPropsSchema as g}from"./search-input/schema.mjs";import{SearchInputServer as _}from"./search-input/server.mjs";import{searchInputMaterial as v}from"./search-input/material.mjs";import{TabBarClient as y}from"./tab-bar/client.mjs";import{tabBarInspectorDefaultProps as b,tabBarInspectorPropsSchema as x}from"./tab-bar/schema.mjs";import{TabBarServer as S}from"./tab-bar/server.mjs";import{tabBarMaterial as C}from"./tab-bar/material.mjs";import{TextRecommendClient as w}from"./text-recommend/client.mjs";import{textRecommendInspectorDefaultProps as T,textRecommendInspectorPropsSchema as E}from"./text-recommend/schema.mjs";import{TextRecommendServer as D}from"./text-recommend/server.mjs";import{textRecommendMaterial as O}from"./text-recommend/material.mjs";import{VideoHorizontalListClient as k}from"./video-horizontal-list/client.mjs";import{videoHorizontalListInspectorDefaultProps as A,videoHorizontalListInspectorPropsSchema as j}from"./video-horizontal-list/schema.mjs";import{VideoHorizontalListServer as M}from"./video-horizontal-list/server.mjs";import{videoHorizontalListMaterial as N}from"./video-horizontal-list/material.mjs";import{defaultProps as P}from"./banner/variants/basic-banner/defaults/default-props.mjs";import{schema as F}from"./banner/variants/basic-banner/schema/index.mjs";import{basicBannerInspectorDefaultProps as I,basicBannerInspectorPropsSchema as L}from"./banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as R}from"./banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as z}from"./banner/variants/basic-banner/material.mjs";import B from"./banner/variants/basic-banner/index.mjs";import{defaultProps as V}from"./card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as H}from"./card-grid/variants/card-grid-2x3/schema/index.mjs";import U from"./card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as W}from"./card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as G}from"./card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import K from"./card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as q}from"./card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as J}from"./card-grid/variants/card-grid-2x4/schema/index.mjs";import Y from"./card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as X}from"./card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as Z}from"./card-grid/variants/card-grid-3x3/schema/index.mjs";import Q from"./card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as $}from"./card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as ee}from"./card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import te from"./card-grid/variants/card-grid-3x3-infinite/index.mjs";import{defaultProps as ne}from"./feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as re}from"./feature-grid/variants/basic-feature-grid/schema/index.mjs";import ie from"./feature-grid/variants/basic-feature-grid/index.mjs";import{defaultProps as ae}from"../basics/fullscreen-feed/defaults/default-props.mjs";import{schema as oe}from"../basics/fullscreen-feed/schema/index.mjs";import se from"../basics/fullscreen-feed/index.mjs";import{defaultProps as ce}from"./fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import{schema as le}from"./fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import ue from"./fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as de}from"./fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import{schema as fe}from"./fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import pe from"./fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{defaultProps as me}from"./home-recommend/variants/home-recommend-grid/defaults/default-props.mjs";import{schema as he}from"./home-recommend/variants/home-recommend-grid/schema/index.mjs";import{homeRecommendGridInspectorDefaultProps as ge,homeRecommendGridInspectorPropsSchema as _e}from"./home-recommend/variants/home-recommend-grid/inspector-schema.mjs";import{HomeRecommendGrid as ve}from"./home-recommend/variants/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as ye}from"./home-recommend/variants/home-recommend-grid/material.mjs";import be from"./home-recommend/variants/home-recommend-grid/index.mjs";import{defaultProps as xe}from"./home-recommend/variants/home-recommend-waterfall/defaults/default-props.mjs";import{schema as Se}from"./home-recommend/variants/home-recommend-waterfall/schema/index.mjs";import{homeRecommendWaterfallInspectorDefaultProps as Ce,homeRecommendWaterfallInspectorPropsSchema as we}from"./home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs";import{HomeRecommendWaterfall as Te}from"./home-recommend/variants/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as Ee}from"./home-recommend/variants/home-recommend-waterfall/material.mjs";import De from"./home-recommend/variants/home-recommend-waterfall/index.mjs";import{defaultProps as Oe}from"./nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as ke}from"./nav-bar/variants/basic-nav-bar/schema/index.mjs";import Ae from"./nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as je}from"./post-card/variants/basic-post-card/defaults/default-props.mjs";import{schema as Me}from"./post-card/variants/basic-post-card/schema/index.mjs";import Ne from"./post-card/variants/basic-post-card/index.mjs";import{UserProfileHeaderClient as Pe}from"./profile/profile-header/client.mjs";import{profileHeaderInspectorDefaultProps as Fe,profileHeaderInspectorPropsSchema as Ie}from"./profile/profile-header/schema.mjs";import{UserProfileHeader as Le,buildUserProfileHeaderPrefetch as Re}from"./profile/profile-header/server.mjs";import{profileHeaderMaterial as ze}from"./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"./profile/profile-main/variants.mjs";import{UserProfileMainShell as qe}from"./profile/profile-main/shell.mjs";import{UserProfileMainClient as Je}from"./profile/profile-main/client.mjs";import{profileMainInspectorDefaultProps as Ye,profileMainInspectorPropsSchema as Xe}from"./profile/profile-main/schema.mjs";import{CollectTab as Ze}from"./profile/profile-main/tabs/collect-tab/client.mjs";import{CollectTabServer as Qe,buildCollectTabPrefetch as $e}from"./profile/profile-main/tabs/collect-tab/server.mjs";import{HistoryTab as et}from"./profile/profile-main/tabs/history-tab/client.mjs";import{HistoryTabServer as tt,buildHistoryTabPrefetch as nt}from"./profile/profile-main/tabs/history-tab/server.mjs";import{LikeTab as rt}from"./profile/profile-main/tabs/like-tab/client.mjs";import{LikeTabServer as it,buildLikeTabPrefetch as at}from"./profile/profile-main/tabs/like-tab/server.mjs";import{PublishTab as ot}from"./profile/profile-main/tabs/publish-tab/client.mjs";import{PublishTabServer as st,buildPublishTabPrefetch as ct}from"./profile/profile-main/tabs/publish-tab/server.mjs";import{UserProfileMain as lt}from"./profile/profile-main/server.mjs";import{profileMainMaterial as ut}from"./profile/profile-main/material.mjs";import{defaultProps as dt}from"./recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as ft}from"./recommended-users/variants/basic-recommended-users/schema/index.mjs";import pt from"./recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as mt}from"./search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as ht}from"./search-bar/variants/basic-search-bar/schema/index.mjs";import gt from"./search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as _t}from"./search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as vt}from"./search-bar/variants/filter-search-bar/schema/index.mjs";import yt from"./search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as bt}from"./search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as xt}from"./search-bar/variants/tag-search-bar/schema/index.mjs";import St from"./search-bar/variants/tag-search-bar/index.mjs";var Ct=e({BasicBanner:()=>B,BasicBannerDefaultData:()=>P,BasicBannerMaterialComponent:()=>R,BasicBannerSchema:()=>F,BasicFeatureGrid:()=>ie,BasicFeatureGridDefaultData:()=>ne,BasicFeatureGridSchema:()=>re,BasicFullscreenFeed:()=>se,BasicFullscreenFeedDefaultData:()=>ae,BasicFullscreenFeedSchema:()=>oe,BasicNavBar:()=>Ae,BasicNavBarDefaultData:()=>Oe,BasicNavBarSchema:()=>ke,BasicPostCard:()=>Ne,BasicPostCardDefaultData:()=>je,BasicPostCardSchema:()=>Me,BasicRecommendedUsers:()=>pt,BasicRecommendedUsersDefaultData:()=>dt,BasicRecommendedUsersSchema:()=>ft,BasicSearchBar:()=>gt,BasicSearchBarDefaultData:()=>mt,BasicSearchBarSchema:()=>ht,CardGrid2x3:()=>U,CardGrid2x3DefaultData:()=>V,CardGrid2x3Infinite:()=>K,CardGrid2x3InfiniteDefaultData:()=>W,CardGrid2x3InfiniteSchema:()=>G,CardGrid2x3Schema:()=>H,CardGrid2x4:()=>Y,CardGrid2x4DefaultData:()=>q,CardGrid2x4Schema:()=>J,CardGrid3x3:()=>Q,CardGrid3x3DefaultData:()=>X,CardGrid3x3Infinite:()=>te,CardGrid3x3InfiniteDefaultData:()=>$,CardGrid3x3InfiniteSchema:()=>ee,CardGrid3x3Schema:()=>Z,CollectTab:()=>Ze,CollectTabServer:()=>Qe,DetailSearchBar:()=>p,DetailSearchBarDefaultData:()=>d,DetailSearchBarSchema:()=>f,FilterSearchBar:()=>yt,FilterSearchBarDefaultData:()=>_t,FilterSearchBarSchema:()=>vt,FullscreenFeedClient:()=>ue,FullscreenPostFeedDefaultData:()=>ce,FullscreenPostFeedSchema:()=>le,FullscreenVideoClient:()=>pe,FullscreenVideoFeedDefaultData:()=>de,FullscreenVideoFeedSchema:()=>fe,HistoryTab:()=>et,HistoryTabServer:()=>tt,HomeRecommendGrid:()=>be,HomeRecommendGridDefaultData:()=>me,HomeRecommendGridMaterialComponent:()=>ve,HomeRecommendGridSchema:()=>he,HomeRecommendWaterfall:()=>De,HomeRecommendWaterfallDefaultData:()=>xe,HomeRecommendWaterfallMaterialComponent:()=>Te,HomeRecommendWaterfallSchema:()=>Se,LikeTab:()=>rt,LikeTabServer:()=>it,MarqueeClient:()=>t,MarqueeServer:()=>i,PublishTab:()=>ot,PublishTabServer:()=>st,SearchHistoryClient:()=>o,SearchHistoryServer:()=>l,SearchInputClient:()=>m,SearchInputServer:()=>_,TabBarClient:()=>y,TabBarServer:()=>S,TagSearchBar:()=>St,TagSearchBarDefaultData:()=>bt,TagSearchBarSchema:()=>xt,TextRecommendClient:()=>w,TextRecommendServer:()=>D,UserProfileHeader:()=>Le,UserProfileHeaderClient:()=>Pe,UserProfileMain:()=>lt,UserProfileMainClient:()=>Je,UserProfileMainShell:()=>qe,VideoHorizontalListClient:()=>k,VideoHorizontalListServer:()=>M,basicBannerInspectorDefaultProps:()=>I,basicBannerInspectorPropsSchema:()=>L,basicBannerMaterial:()=>z,buildCollectTabPrefetch:()=>$e,buildHistoryTabPrefetch:()=>nt,buildLikeTabPrefetch:()=>at,buildPublishTabPrefetch:()=>ct,buildUserProfileHeaderPrefetch:()=>Re,homeRecommendGridInspectorDefaultProps:()=>ge,homeRecommendGridInspectorPropsSchema:()=>_e,homeRecommendGridMaterial:()=>ye,homeRecommendWaterfallInspectorDefaultProps:()=>Ce,homeRecommendWaterfallInspectorPropsSchema:()=>we,homeRecommendWaterfallMaterial:()=>Ee,marqueeInspectorDefaultProps:()=>n,marqueeInspectorPropsSchema:()=>r,marqueeMaterial:()=>a,profileHeaderInspectorDefaultProps:()=>Fe,profileHeaderInspectorPropsSchema:()=>Ie,profileHeaderMaterial:()=>ze,profileMainCollectCollectionTabOptions:()=>Be,profileMainCollectTabOptions:()=>Ve,profileMainHistoryTabOptions:()=>He,profileMainInspectorDefaultProps:()=>Ye,profileMainInspectorPropsSchema:()=>Xe,profileMainLikeTabOptions:()=>Ue,profileMainMaterial:()=>ut,profileMainMineTabOptions:()=>We,profileMainProfileTabOptions:()=>Ge,profileMainTabOptions:()=>Ke,searchHistoryInspectorDefaultProps:()=>s,searchHistoryInspectorPropsSchema:()=>c,searchHistoryMaterial:()=>u,searchInputInspectorDefaultProps:()=>h,searchInputInspectorPropsSchema:()=>g,searchInputMaterial:()=>v,tabBarInspectorDefaultProps:()=>b,tabBarInspectorPropsSchema:()=>x,tabBarMaterial:()=>C,textRecommendInspectorDefaultProps:()=>T,textRecommendInspectorPropsSchema:()=>E,textRecommendMaterial:()=>O,videoHorizontalListInspectorDefaultProps:()=>A,videoHorizontalListInspectorPropsSchema:()=>j,videoHorizontalListMaterial:()=>N});export{Ct as business_exports};
|
|
@@ -9,4 +9,4 @@ type LargeFeatureGridClientProps = LargeFeatureGridInspectorProps;
|
|
|
9
9
|
*/
|
|
10
10
|
declare function LargeFeatureGridClient(_props: LargeFeatureGridClientProps): react_jsx_runtime0.JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { LargeFeatureGridClient };
|
|
12
|
+
export { LargeFeatureGridClient, LargeFeatureGridClientProps };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
import { DefineMaterialOption } from "../../../../utils/schema/material.mjs";
|
|
3
3
|
import { LargeFeatureGridClient } from "./client.mjs";
|
|
4
|
+
import { LargeFeatureGrid } from "./server.mjs";
|
|
4
5
|
import * as zod from "zod";
|
|
5
6
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
7
|
|
|
7
8
|
//#region components/biz/business/large-feature-grid/material.d.ts
|
|
8
|
-
declare const largeFeatureGridMaterial: DefineMaterialOption<typeof LargeFeatureGridClient, zod.ZodObject<{}, zod_v4_core0.$strip>, "large-feature-grid">;
|
|
9
|
+
declare const largeFeatureGridMaterial: DefineMaterialOption<typeof LargeFeatureGrid, typeof LargeFeatureGridClient, zod.ZodObject<{}, zod_v4_core0.$strip>, "large-feature-grid">;
|
|
9
10
|
//#endregion
|
|
10
11
|
export { largeFeatureGridMaterial };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
import { LargeFeatureGridClientProps } from "./client.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/large-feature-grid/server.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* 大图推荐服务端组件,直接渲染客户端组件。
|
|
8
|
+
*/
|
|
9
|
+
declare function LargeFeatureGrid(props: LargeFeatureGridClientProps): react_jsx_runtime0.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { LargeFeatureGrid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { MarqueeInspectorProps, MarqueeProps, marqueeInspectorDefaultProps, marqueeInspectorPropsSchema } from "./schema.mjs";
|
|
3
|
+
import { MarqueeClient } from "./client.mjs";
|
|
3
4
|
import { MarqueeServer } from "./server.mjs";
|
|
4
|
-
import { marqueeMaterial } from "./material.mjs";
|
|
5
|
-
import { MarqueeClient } from "./client.mjs";
|
|
5
|
+
import { marqueeMaterial } from "./material.mjs";
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
3
|
import { DefineMaterialOption } from "../../../../utils/schema/material.mjs";
|
|
4
4
|
import "../../../../utils.mjs";
|
|
5
|
+
import { MarqueeClient } from "./client.mjs";
|
|
5
6
|
import { MarqueeServer } from "./server.mjs";
|
|
6
7
|
import * as zod from "zod";
|
|
7
8
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
@@ -10,7 +11,7 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
10
11
|
/**
|
|
11
12
|
* 跑马灯物料定义
|
|
12
13
|
*/
|
|
13
|
-
declare const marqueeMaterial: DefineMaterialOption<typeof MarqueeServer, zod.ZodObject<{
|
|
14
|
+
declare const marqueeMaterial: DefineMaterialOption<typeof MarqueeServer, typeof MarqueeClient, zod.ZodObject<{
|
|
14
15
|
contents: zod.ZodArray<zod.ZodObject<{
|
|
15
16
|
text: zod.ZodString & SchemaHasDefaultValue;
|
|
16
17
|
enableClick: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{MarqueeClient as t}from"./client.mjs";import{marqueeInspectorPropsSchema as n}from"./schema.mjs";import{MarqueeServer as r}from"./server.mjs";const i=e({type:`marquee`,name:`跑马灯`,icon:`/static/components-thumb/marquee_clickable_closable.png`,category:`内容组件`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as marqueeMaterial};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
3
|
import "../../../../utils.mjs";
|
|
4
|
-
import z from "zod";
|
|
4
|
+
import z$1 from "zod";
|
|
5
5
|
|
|
6
6
|
//#region components/biz/business/marquee/schema.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* 跑马灯物料属性定义
|
|
9
9
|
*/
|
|
10
|
-
declare const marqueeInspectorPropsSchema: z.ZodObject<{
|
|
11
|
-
contents: z.ZodArray<z.ZodObject<{
|
|
12
|
-
text: z.ZodString & SchemaHasDefaultValue;
|
|
13
|
-
enableClick: z.ZodBoolean & SchemaHasDefaultValue;
|
|
14
|
-
linkType: z.ZodType<"content" | "url" | "content-list", unknown, z.core.$ZodTypeInternals<"content" | "url" | "content-list", unknown>> & SchemaHasDefaultValue;
|
|
15
|
-
link: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
|
|
16
|
-
}, z.core.$strip>> & SchemaHasDefaultValue;
|
|
17
|
-
showClose: z.ZodBoolean & SchemaHasDefaultValue;
|
|
18
|
-
displayStrategy: z.ZodType<"once" | "daily", unknown, z.core.$ZodTypeInternals<"once" | "daily", unknown>> & SchemaHasDefaultValue;
|
|
19
|
-
startTime: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
|
|
20
|
-
endTime: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
|
|
21
|
-
}, z.core.$strip>;
|
|
10
|
+
declare const marqueeInspectorPropsSchema: z$1.ZodObject<{
|
|
11
|
+
contents: z$1.ZodArray<z$1.ZodObject<{
|
|
12
|
+
text: z$1.ZodString & SchemaHasDefaultValue;
|
|
13
|
+
enableClick: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
14
|
+
linkType: z$1.ZodType<"content" | "url" | "content-list", unknown, z$1.core.$ZodTypeInternals<"content" | "url" | "content-list", unknown>> & SchemaHasDefaultValue;
|
|
15
|
+
link: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
|
|
16
|
+
}, z$1.core.$strip>> & SchemaHasDefaultValue;
|
|
17
|
+
showClose: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
18
|
+
displayStrategy: z$1.ZodType<"once" | "daily", unknown, z$1.core.$ZodTypeInternals<"once" | "daily", unknown>> & SchemaHasDefaultValue;
|
|
19
|
+
startTime: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
|
|
20
|
+
endTime: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
|
|
21
|
+
}, z$1.core.$strip>;
|
|
22
22
|
declare const marqueeInspectorDefaultProps: {
|
|
23
23
|
contents: {
|
|
24
24
|
text: string;
|
|
@@ -31,7 +31,7 @@ declare const marqueeInspectorDefaultProps: {
|
|
|
31
31
|
startTime: string;
|
|
32
32
|
endTime: string;
|
|
33
33
|
};
|
|
34
|
-
type MarqueeInspectorProps = z.infer<typeof marqueeInspectorPropsSchema>;
|
|
34
|
+
type MarqueeInspectorProps = z$1.infer<typeof marqueeInspectorPropsSchema>;
|
|
35
35
|
type MarqueeProps = MarqueeInspectorProps;
|
|
36
36
|
//#endregion
|
|
37
37
|
export { MarqueeInspectorProps, MarqueeProps, marqueeInspectorDefaultProps, marqueeInspectorPropsSchema };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
import { ProfileHeaderInspectorProps, UserProfileHeaderAuthConfig, UserProfileHeaderClientProps, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema } from "./profile-header/schema.mjs";
|
|
3
|
+
import { UserProfileHeaderClient } from "./profile-header/client.mjs";
|
|
4
|
+
import { BuildUserProfileHeaderPrefetchParams, UserProfileHeader, UserProfileHeaderProps, buildUserProfileHeaderPrefetch } from "./profile-header/server.mjs";
|
|
5
|
+
import { profileHeaderMaterial } from "./profile-header/material.mjs";
|
|
6
|
+
import "./profile-header/index.mjs";
|
|
7
|
+
import { ProfileMainAuthConfig, ProfileMainInspectorProps, UserProfileMainProps, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema } from "./profile-main/schema.mjs";
|
|
8
|
+
import { UserProfileMainClient } from "./profile-main/client.mjs";
|
|
9
|
+
import { UserProfileMain } from "./profile-main/server.mjs";
|
|
10
|
+
import { profileMainMaterial } from "./profile-main/material.mjs";
|
|
11
|
+
import { UserProfileMainRenderMode, UserProfileMainShell, UserProfileMainShellProps } from "./profile-main/shell.mjs";
|
|
12
|
+
import { CollectTab, CollectTabProps } from "./profile-main/tabs/collect-tab/client.mjs";
|
|
13
|
+
import { BuildCollectTabPrefetchParams, CollectTabAuthConfig, CollectTabServer, buildCollectTabPrefetch } from "./profile-main/tabs/collect-tab/server.mjs";
|
|
14
|
+
import { HistoryTab, HistoryTabProps } from "./profile-main/tabs/history-tab/client.mjs";
|
|
15
|
+
import { BuildHistoryTabPrefetchParams, HistoryTabAuthConfig, HistoryTabServer, buildHistoryTabPrefetch } from "./profile-main/tabs/history-tab/server.mjs";
|
|
16
|
+
import { LikeDetailItem, LikeTab, LikeTabProps } from "./profile-main/tabs/like-tab/client.mjs";
|
|
17
|
+
import { BuildLikeTabPrefetchParams, LikeTabServer, buildLikeTabPrefetch } from "./profile-main/tabs/like-tab/server.mjs";
|
|
18
|
+
import { PublishTab, PublishTabProps, PublishTabUserInfo } from "./profile-main/tabs/publish-tab/client.mjs";
|
|
19
|
+
import { BuildPublishTabPrefetchParams, PublishTabServer, buildPublishTabPrefetch } from "./profile-main/tabs/publish-tab/server.mjs";
|
|
20
|
+
import { profileMainCollectCollectionTabOptions, profileMainCollectTabOptions, profileMainHistoryTabOptions, profileMainLikeTabOptions, profileMainMineTabOptions, profileMainProfileTabOptions, profileMainTabOptions } from "./profile-main/variants.mjs";
|
|
21
|
+
import "./profile-main/index.mjs";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
|
|
2
|
+
import { UserProfileHeaderClientProps } from "./schema.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/profile/profile-header/client.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* 用户资料头部组件,包含资料请求与头部交互。
|
|
8
|
+
*/
|
|
9
|
+
declare function UserProfileHeaderClient({
|
|
10
|
+
id,
|
|
11
|
+
showBackButton,
|
|
12
|
+
requireLogin,
|
|
13
|
+
cookieToken,
|
|
14
|
+
cookieUserId,
|
|
15
|
+
isEditorPreview,
|
|
16
|
+
className
|
|
17
|
+
}: UserProfileHeaderClientProps): react_jsx_runtime0.JSX.Element;
|
|
18
|
+
//#endregion
|
|
19
|
+
export { UserProfileHeaderClient };
|
|
@@ -0,0 +1,2 @@
|
|
|
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{useRouter as b}from"next/navigation";import{useEffect as x,useMemo as ee,useState as te}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";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,className:n}){return C(s,{className:e(`flex flex-col relative`,n),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:`h-33.75`,children:S(c,{className:`h-full w-full rounded-none bg-white/10`})}),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,showBackButton:o=!0,requireLogin:c=!1,cookieToken:u,cookieUserId:d,isEditorPreview:p=!1,className:w}){let j=T(`components.pages.profile`),M=T(`components.pages.profile.components`),re=m(),N=p||re===`editor`,ie=!N,ae=b(),{open:P}=h(),{isLogin:oe,userId:F,token:se}=n(),[I,L]=te(!1);x(()=>{if(!D){L(!0);return}L(D.hasHydrated());let e=D.onHydrate(()=>{L(!1)}),t=D.onFinishHydration(()=>{L(!0)});return()=>{e(),t()}},[]);let R=I?oe&&!!F&&!!se:!!d&&!!u,z=I?F:F||d,B=z,V=a==null||!!a&&!!B&&a===B,ce=!V&&!!a,H=V?[`user-profile`,`mine`]:[`user-profile`,`profile`,a],{data:U}=f(N?[`editor-preview`,...H]:H,()=>a?i({target_user_id:a,user_id:z||a}):r({user_id:a||z||``}),{staleTime:0,enabled:ie&&(!!a||!!z)}),W=ee(()=>{let e=U?U.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,U]),G=c&&V&&!R,le=!R&&ce,K=V&&R&&!G,q=!R,ue={name:j(`client.welcomeToPlanet`),description:j(`client.exploreAdventures`),avatar:O,followingCnt:0,followersCnt:0,likeCnt:0,background:k};function J(){P()}function Y(){ae.back()}function X(e){!V||R||(e.preventDefault(),e.stopPropagation(),P())}let de=G?S(t,{className:`rounded-full`,size:`lg`,onClick:J,children:j(`client.loginNow`)}):le?S(t,{className:`rounded-full`,size:`lg`,onClick:J,children:j(`client.follow`)}):R?V?S(E,{href:`/edit`,children:S(t,{variant:`outline`,className:`rounded-full`,children:j(`client.editProfile`)})}):S(ne,{userId:a||``,currentUserId:z,isFollowing:W?.isFollowing}):S(t,{className:`rounded-full`,size:`lg`,onClick:J,children:j(`client.loginNow`)}),Z=G?ue:W,Q=Z.name||``,$=Z.description||Z.signature||``,fe=Z.followingCnt??0,pe=Z.followersCnt??0,me=Z.likeCnt??0,he=Z.avatar||``;return N?S(A,{showBackButton:o,className:w}):C(s,{className:e(`flex flex-col relative`,w),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:Y,className:e(`h-4 w-4 p-0 hover:bg-transparent`,{invisible:!o}),children:S(g,{className:`w-4 h-4`})}),S(E,{href:`/settings`,className:e({invisible:!V}),children:S(_,{})})]}),S(y,{isMine:K,src:Z.background,onUnauthorizedClick:q?J:void 0}),C(s,{className:`flex-1 px-3`,children:[C(s,{className:`relative flex justify-end`,children:[S(v,{isMine:K,src:he,alt:Q||`avatar`,onUnauthorizedClick:q?J:void 0}),C(s,{className:`flex divide-x divide-text1/5 py-4`,children:[S(E,{href:V?`/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:fe}),S(l,{className:`font-normal text-sm text-text1/66`,children:M(`userProfileHeader.follow`)})]})}),S(E,{href:V?`/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:pe}),S(l,{className:`font-normal text-sm text-text1/66`,children:M(`userProfileHeader.fans`)})]})}),C(s,{className:`px-4 flex flex-col items-center`,children:[S(l,{className:`font-bold text-base`,children:me}),S(l,{className:`font-normal text-sm text-text1/66`,children:M(`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}),de]}),$&&S(l,{as:`p`,className:`text-sm py-1 line-clamp-3 text-text1/66`,children:$})]})]})}export{j as UserProfileHeaderClient};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
|
|
2
|
+
import { ProfileHeaderInspectorProps, UserProfileHeaderAuthConfig, UserProfileHeaderClientProps, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema } from "./schema.mjs";
|
|
3
|
+
import { UserProfileHeaderClient } from "./client.mjs";
|
|
4
|
+
import { BuildUserProfileHeaderPrefetchParams, UserProfileHeader, UserProfileHeaderProps, buildUserProfileHeaderPrefetch } from "./server.mjs";
|
|
5
|
+
import { profileHeaderMaterial } from "./material.mjs";
|
|
@@ -1,9 +1,17 @@
|
|
|
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";
|
|
5
|
+
import { UserProfileHeaderClient } from "./client.mjs";
|
|
6
|
+
import { UserProfileHeader } from "./server.mjs";
|
|
3
7
|
import * as zod from "zod";
|
|
4
8
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
9
|
|
|
6
10
|
//#region components/biz/business/profile/profile-header/material.d.ts
|
|
7
|
-
declare const profileHeaderMaterial: DefineMaterialOption<
|
|
11
|
+
declare const profileHeaderMaterial: DefineMaterialOption<typeof UserProfileHeader, typeof UserProfileHeaderClient, zod.ZodObject<{
|
|
12
|
+
id: zod.ZodOptional<zod.ZodString>;
|
|
13
|
+
showBackButton: zod.ZodOptional<zod.ZodBoolean> & SchemaHasDefaultValue;
|
|
14
|
+
requireLogin: zod.ZodOptional<zod.ZodBoolean> & SchemaHasDefaultValue;
|
|
15
|
+
}, zod_v4_core0.$strip>, "profile-header">;
|
|
8
16
|
//#endregion
|
|
9
17
|
export { profileHeaderMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{
|
|
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};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../../utils/schema/index.mjs";
|
|
4
|
+
import z$1 from "zod";
|
|
5
|
+
|
|
6
|
+
//#region components/biz/business/profile/profile-header/schema.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* 用户资料头部可被 inspector 编辑的字段。
|
|
9
|
+
*/
|
|
10
|
+
declare const profileHeaderInspectorPropsSchema: z$1.ZodObject<{
|
|
11
|
+
id: z$1.ZodOptional<z$1.ZodString>;
|
|
12
|
+
showBackButton: z$1.ZodOptional<z$1.ZodBoolean> & SchemaHasDefaultValue;
|
|
13
|
+
requireLogin: z$1.ZodOptional<z$1.ZodBoolean> & SchemaHasDefaultValue;
|
|
14
|
+
}, z$1.core.$strip>;
|
|
15
|
+
declare const profileHeaderInspectorDefaultProps: {
|
|
16
|
+
showBackButton: boolean;
|
|
17
|
+
requireLogin: boolean;
|
|
18
|
+
};
|
|
19
|
+
type ProfileHeaderInspectorProps = z$1.infer<typeof profileHeaderInspectorPropsSchema>;
|
|
20
|
+
interface UserProfileHeaderAuthConfig {
|
|
21
|
+
headers?: Record<string, string>;
|
|
22
|
+
}
|
|
23
|
+
interface UserProfileHeaderClientProps extends ProfileHeaderInspectorProps {
|
|
24
|
+
/** 服务端透传的登录 Token。 */
|
|
25
|
+
cookieToken?: string;
|
|
26
|
+
/** 服务端透传的当前用户 ID。 */
|
|
27
|
+
cookieUserId?: string;
|
|
28
|
+
/** 是否使用编辑器骨架预览。 */
|
|
29
|
+
isEditorPreview?: boolean;
|
|
30
|
+
/** 头部容器附加类名。 */
|
|
31
|
+
className?: string;
|
|
32
|
+
/** 当前登录 Token。 */
|
|
33
|
+
token?: string;
|
|
34
|
+
/** 当前登录用户 ID。 */
|
|
35
|
+
currentUserId?: string;
|
|
36
|
+
/** 服务端请求头。 */
|
|
37
|
+
authConfig?: UserProfileHeaderAuthConfig;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
export { ProfileHeaderInspectorProps, UserProfileHeaderAuthConfig, UserProfileHeaderClientProps, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
import{defineComponentPropsSchema as e,defineSwitchPropSchema as t,defineTextPropSchema as n,getSchemaDefaultProps as r}from"../../../../../utils/schema/schema.mjs";const i=e({id:n({label:`用户 ID`,required:!1}),showBackButton:t({label:`显示返回按钮`,defaultValue:!0,required:!1}),requireLogin:t({label:`需要登录`,defaultValue:!1,required:!1})}),a=r(i);export{a as profileHeaderInspectorDefaultProps,i as profileHeaderInspectorPropsSchema};
|