@funhub/platform 0.1.125 → 0.1.126
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/components/biz/business/banner/variants/basic-banner/inspector-schema.d.mts +5 -5
- package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.mjs +1 -1
- package/dist/components/biz/business/banner/variants/basic-banner/material.d.mts +4 -6
- package/dist/components/biz/business/banner/variants/basic-banner/material.mjs +1 -1
- package/dist/components/biz/business/banner/variants/basic-banner/runtime/client.d.mts +1 -2
- package/dist/components/biz/business/banner-carousel/material.d.mts +4 -6
- package/dist/components/biz/business/banner-carousel/material.mjs +1 -1
- package/dist/components/biz/business/banner-carousel/schema.d.mts +5 -5
- package/dist/components/biz/business/banner-carousel/schema.mjs +1 -1
- package/dist/components/biz/business/channel-list/material.d.mts +4 -6
- package/dist/components/biz/business/channel-list/material.mjs +1 -1
- package/dist/components/biz/business/channel-list/schema.d.mts +5 -5
- package/dist/components/biz/business/channel-list/schema.mjs +1 -1
- package/dist/components/biz/business/detail/shared/registry.d.mts +25 -27
- package/dist/components/biz/business/detail/shared/registry.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-actions/material.d.mts +2 -2
- package/dist/components/biz/business/detail/video-detail-actions/material.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-actions/schema.d.mts +1 -2
- package/dist/components/biz/business/detail/video-detail-actions/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-info/material.d.mts +4 -6
- package/dist/components/biz/business/detail/video-detail-info/material.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-info/schema.d.mts +4 -4
- package/dist/components/biz/business/detail/video-detail-info/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.d.mts +4 -6
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.d.mts +4 -4
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-player/material.d.mts +2 -2
- package/dist/components/biz/business/detail/video-detail-player/material.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-player/schema.d.mts +1 -2
- package/dist/components/biz/business/detail/video-detail-player/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-recommend/material.d.mts +10 -12
- package/dist/components/biz/business/detail/video-detail-recommend/material.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-recommend/schema.d.mts +11 -11
- package/dist/components/biz/business/detail/video-detail-recommend/schema.mjs +1 -1
- package/dist/components/biz/business/floating-ball/material.d.mts +4 -6
- package/dist/components/biz/business/floating-ball/material.mjs +1 -1
- package/dist/components/biz/business/floating-ball/schema.d.mts +4 -4
- package/dist/components/biz/business/floating-ball/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/material.d.mts +2 -2
- package/dist/components/biz/business/header-search/header-avatar-icon/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/schema.d.mts +1 -2
- package/dist/components/biz/business/header-search/header-avatar-icon/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search/material.d.mts +4 -6
- 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/schema.d.mts +4 -4
- package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.d.mts +4 -6
- 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/schema.d.mts +4 -4
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-logo-search/material.d.mts +4 -6
- package/dist/components/biz/business/header-search/header-logo-search/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-logo-search/schema.d.mts +4 -4
- package/dist/components/biz/business/header-search/header-logo-search/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-search/material.d.mts +2 -2
- package/dist/components/biz/business/header-search/header-search/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-search/schema.d.mts +1 -2
- package/dist/components/biz/business/header-search/header-search/schema.mjs +1 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/client.d.mts +1 -2
- package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.d.mts +13 -13
- package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs +1 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/material.d.mts +12 -14
- package/dist/components/biz/business/home-recommend/home-recommend-grid/material.mjs +1 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/client.d.mts +1 -2
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.d.mts +11 -11
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs +1 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.d.mts +10 -12
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.mjs +1 -1
- package/dist/components/biz/business/image-text-recommend/client.d.mts +1 -2
- package/dist/components/biz/business/image-text-recommend/material.d.mts +19 -21
- package/dist/components/biz/business/image-text-recommend/material.mjs +1 -1
- package/dist/components/biz/business/image-text-recommend/schema.d.mts +18 -19
- package/dist/components/biz/business/image-text-recommend/schema.mjs +1 -1
- package/dist/components/biz/business/large-feature-grid/material.d.mts +3 -3
- package/dist/components/biz/business/large-feature-grid/material.mjs +1 -1
- package/dist/components/biz/business/large-feature-grid/schema.mjs +1 -1
- package/dist/components/biz/business/marquee/client.d.mts +1 -2
- package/dist/components/biz/business/marquee/material.d.mts +15 -17
- package/dist/components/biz/business/marquee/material.mjs +1 -1
- package/dist/components/biz/business/marquee/schema.d.mts +14 -15
- package/dist/components/biz/business/marquee/schema.mjs +1 -1
- package/dist/components/biz/business/profile/profile-header/material.d.mts +3 -3
- package/dist/components/biz/business/profile/profile-header/material.mjs +1 -1
- package/dist/components/biz/business/profile/profile-header/schema.d.mts +1 -2
- package/dist/components/biz/business/profile/profile-header/schema.mjs +1 -1
- package/dist/components/biz/business/profile/profile-main/material.d.mts +2 -2
- package/dist/components/biz/business/profile/profile-main/material.mjs +1 -1
- package/dist/components/biz/business/profile/profile-main/schema.d.mts +1 -2
- package/dist/components/biz/business/profile/profile-main/schema.mjs +1 -1
- package/dist/components/biz/business/profile/profile-main/tabs/collect-tab/client.d.mts +1 -2
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.d.mts +1 -2
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.d.mts +1 -2
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/client.d.mts +1 -2
- package/dist/components/biz/business/search-history/client.d.mts +1 -2
- package/dist/components/biz/business/search-history/material.d.mts +4 -6
- package/dist/components/biz/business/search-history/material.mjs +1 -1
- package/dist/components/biz/business/search-history/schema.d.mts +3 -4
- package/dist/components/biz/business/search-history/schema.mjs +1 -1
- package/dist/components/biz/business/search-input/material.d.mts +2 -2
- package/dist/components/biz/business/search-input/material.mjs +1 -1
- package/dist/components/biz/business/search-input/schema.d.mts +1 -2
- package/dist/components/biz/business/search-input/schema.mjs +1 -1
- package/dist/components/biz/business/shortcut-grid/material.d.mts +9 -11
- package/dist/components/biz/business/shortcut-grid/material.mjs +1 -1
- package/dist/components/biz/business/shortcut-grid/schema.d.mts +9 -9
- package/dist/components/biz/business/shortcut-grid/schema.mjs +1 -1
- package/dist/components/biz/business/tab-bar/material.d.mts +2 -2
- package/dist/components/biz/business/tab-bar/material.mjs +1 -1
- package/dist/components/biz/business/tab-bar/schema.d.mts +1 -2
- package/dist/components/biz/business/tab-bar/schema.mjs +1 -1
- package/dist/components/biz/business/text-recommend/client.d.mts +1 -2
- package/dist/components/biz/business/text-recommend/material.d.mts +6 -8
- package/dist/components/biz/business/text-recommend/material.mjs +1 -1
- package/dist/components/biz/business/text-recommend/schema.d.mts +5 -6
- package/dist/components/biz/business/text-recommend/schema.mjs +1 -1
- package/dist/components/biz/example/button/material.d.mts +7 -9
- package/dist/components/biz/example/button/material.mjs +1 -1
- package/dist/components/biz/example/button/schema.d.mts +8 -8
- package/dist/components/biz/example/button/schema.mjs +1 -1
- package/dist/components/biz/renderer/renderer.d.mts +1 -1
- package/dist/components/biz/renderer/renderer.mjs +1 -1
- package/dist/components/pages/login/verify.mjs +3 -3
- package/dist/components/pages/settings/_components/reset-password-drawer.mjs +4 -1
- package/dist/components/ui/badge.d.mts +1 -1
- package/dist/components/ui/button.d.mts +2 -2
- package/dist/materials.d.mts +10 -10
- package/dist/service/register-by-verify-email-code.d.mts +15 -0
- package/dist/service/register-by-verify-email-code.mjs +2 -0
- package/dist/service.d.mts +2 -1
- package/dist/service.mjs +1 -1
- package/dist/utils/schema/inspector.d.mts +141 -141
- package/dist/utils/schema/material.d.mts +2 -2
- package/dist/utils/schema/schema.d.mts +35 -70
- package/dist/utils/schema/schema.mjs +1 -1
- package/dist/utils/schema/utils.d.mts +0 -6
- package/dist/utils.d.mts +5 -5
- package/package.json +2 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../utils/schema/index.mjs";
|
|
4
2
|
import z$1 from "zod";
|
|
3
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
4
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
5
5
|
|
|
6
6
|
//#region components/biz/business/detail/video-detail-recommend/schema.d.ts
|
|
7
7
|
declare const videoDetailRecommendInspectorPropsSchema: z$1.ZodObject<{
|
|
8
|
-
rows: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
9
|
-
columns: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
10
|
-
smartTagEnabled: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
11
|
-
title: z$1.ZodString & SchemaHasDefaultValue;
|
|
12
|
-
showPlayCount: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
-
playCountDelta: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
14
|
-
showEpisode: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
15
|
-
enableInfinite: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
8
|
+
rows: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
9
|
+
columns: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
10
|
+
smartTagEnabled: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
title: z$1.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
12
|
+
showPlayCount: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
13
|
+
playCountDelta: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
|
+
showEpisode: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
15
|
+
enableInfinite: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
16
16
|
smartTagIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
17
17
|
items: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
18
18
|
contentId: z$1.ZodString;
|
|
@@ -36,7 +36,7 @@ declare const videoDetailRecommendInspectorPropsSchema: z$1.ZodObject<{
|
|
|
36
36
|
editor: "editor";
|
|
37
37
|
}>>;
|
|
38
38
|
}, z$1.core.$strip>;
|
|
39
|
-
type VideoDetailRecommendInspectorProps =
|
|
39
|
+
type VideoDetailRecommendInspectorProps = InferSchemaProps<typeof videoDetailRecommendInspectorPropsSchema>;
|
|
40
40
|
/** 推荐模块物料 props。 */
|
|
41
41
|
type VideoDetailRecommendProps = VideoDetailRecommendInspectorProps;
|
|
42
42
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as
|
|
2
|
+
import e from"zod";import{defineComponentPropsSchema as t,defineNumberPropSchema as n,defineSwitchPropSchema as r,defineTextPropSchema as i,getSchemaDefaultProps as a}from"create-funhub/sdk";const o=t({rows:n({label:`行数`,defaultValue:1}),columns:n({label:`列数`,defaultValue:2}),smartTagEnabled:r({label:`智能铺设`,defaultValue:!1}),title:i({label:`推荐位名称`,defaultValue:`猜你喜欢`}),showPlayCount:r({label:`显示播放量`,defaultValue:!0}),playCountDelta:n({label:`播放量浮动`,defaultValue:0}),showEpisode:r({label:`显示集数`,defaultValue:!0}),enableInfinite:r({label:`无限下拉`,defaultValue:!1}),smartTagIds:e.array(e.string()).optional(),items:e.array(e.object({contentId:e.string(),coverMode:e.enum([`upload`,`content`]).optional(),coverUrl:e.string().optional(),titleMode:e.enum([`custom`,`content`]).optional(),title:e.string().optional(),description:e.string().optional(),showPlayCount:e.boolean().optional(),playCountDelta:e.number().optional(),showEpisode:e.boolean().optional()})).optional()});({...a(o)});export{o as videoDetailRecommendInspectorPropsSchema};
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
|
-
import { DefineMaterialOption } from "../../../../utils/schema/material.mjs";
|
|
4
|
-
import "../../../../utils/schema/index.mjs";
|
|
5
2
|
import { FloatingBallClient } from "./client.mjs";
|
|
6
3
|
import { FloatingBall } from "./server.mjs";
|
|
7
4
|
import * as zod from "zod";
|
|
5
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
8
6
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
9
7
|
|
|
10
8
|
//#region components/biz/business/floating-ball/material.d.ts
|
|
11
|
-
declare const floatingBallMaterial: DefineMaterialOption<typeof FloatingBall, typeof FloatingBallClient, zod.ZodObject<{
|
|
12
|
-
icon: zod.ZodString & SchemaHasDefaultValue;
|
|
13
|
-
href: zod.ZodString & SchemaHasDefaultValue;
|
|
9
|
+
declare const floatingBallMaterial: create_funhub_sdk0.DefineMaterialOption<typeof FloatingBall, typeof FloatingBallClient, zod.ZodObject<{
|
|
10
|
+
icon: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
href: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
12
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
13
|
renderer: "renderer";
|
|
16
14
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{FloatingBallClient as e}from"./client.mjs";import{floatingBallInspectorPropsSchema as t}from"./schema.mjs";import{FloatingBall as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`floating-ball`,name:`悬浮球`,icon:`/static/components-thumb/floating_action_button.png`,category:`内容组件`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as floatingBallMaterial};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../utils/schema/index.mjs";
|
|
4
2
|
import * as zod from "zod";
|
|
3
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
4
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
5
5
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
6
|
|
|
7
7
|
//#region components/biz/business/floating-ball/schema.d.ts
|
|
@@ -9,8 +9,8 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
9
9
|
* 悬浮球物料:图片链接 + 跳转链接。
|
|
10
10
|
*/
|
|
11
11
|
declare const floatingBallInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
-
icon: zod.ZodString & SchemaHasDefaultValue;
|
|
13
|
-
href: zod.ZodString & SchemaHasDefaultValue;
|
|
12
|
+
icon: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
13
|
+
href: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
14
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
15
|
renderer: "renderer";
|
|
16
16
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"
|
|
2
|
+
import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"create-funhub/sdk";const r=e({icon:t({label:`图片链接`,required:!0,defaultValue:`/images/2026/01/21/6970431b570c52b14f085d7c/0f1bb13e-3cf1-441c-9036-ed26341d4199.jpgxxx`}),href:t({label:`跳转链接`,required:!0,defaultValue:`/publish`})}),i=n(r);export{i as floatingBallInspectorDefaultProps,r as floatingBallInspectorPropsSchema};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
3
2
|
import { HeaderAvatarIconClient } from "./client.mjs";
|
|
4
3
|
import { HeaderAvatarIcon } from "./server.mjs";
|
|
5
4
|
import * as zod from "zod";
|
|
5
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
6
6
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
7
7
|
|
|
8
8
|
//#region components/biz/business/header-search/header-avatar-icon/material.d.ts
|
|
9
|
-
declare const headerAvatarIconMaterial: DefineMaterialOption<typeof HeaderAvatarIcon, typeof HeaderAvatarIconClient, zod.ZodObject<{
|
|
9
|
+
declare const headerAvatarIconMaterial: create_funhub_sdk0.DefineMaterialOption<typeof HeaderAvatarIcon, typeof HeaderAvatarIconClient, zod.ZodObject<{
|
|
10
10
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
11
11
|
renderer: "renderer";
|
|
12
12
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{HeaderAvatarIconClient as e}from"./client.mjs";import{headerAvatarIconInspectorPropsSchema as t}from"./schema.mjs";import{HeaderAvatarIcon as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`header-avatar-icon`,name:`顶部功能样式5`,icon:`/static/components-thumb/header_avatar_icon.png`,category:`顶部功能`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as headerAvatarIconMaterial};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../utils/schema/index.mjs";
|
|
4
2
|
import * as zod from "zod";
|
|
3
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
5
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
5
|
|
|
7
6
|
//#region components/biz/business/header-search/header-avatar-icon/schema.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"
|
|
2
|
+
import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"create-funhub/sdk";const n=e({});t(n);export{n as headerAvatarIconInspectorPropsSchema};
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
4
|
-
import "../../../../../utils/schema/index.mjs";
|
|
5
2
|
import { HeaderAvatarLogoSearchClient } from "./client.mjs";
|
|
6
3
|
import { HeaderAvatarLogoSearch } from "./server.mjs";
|
|
7
4
|
import * as zod from "zod";
|
|
5
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
8
6
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
9
7
|
|
|
10
8
|
//#region components/biz/business/header-search/header-avatar-logo-search/material.d.ts
|
|
11
|
-
declare const headerAvatarLogoSearchMaterial: DefineMaterialOption<typeof HeaderAvatarLogoSearch, typeof HeaderAvatarLogoSearchClient, zod.ZodObject<{
|
|
12
|
-
logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
13
|
-
logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
9
|
+
declare const headerAvatarLogoSearchMaterial: create_funhub_sdk0.DefineMaterialOption<typeof HeaderAvatarLogoSearch, typeof HeaderAvatarLogoSearchClient, zod.ZodObject<{
|
|
10
|
+
logoSrc: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
logoHref: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
12
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
13
|
renderer: "renderer";
|
|
16
14
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{headerAvatarLogoSearchInspectorPropsSchema as e}from"./schema.mjs";import{HeaderAvatarLogoSearchClient as t}from"./client.mjs";import{HeaderAvatarLogoSearch as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`header-avatar-logo-search`,name:`顶部功能样式3`,icon:`/static/components-thumb/header_avatar_logo_search.png`,category:`顶部功能`,serverComponent:n,clientComponent:t,propsSchema:e});export{i as headerAvatarLogoSearchMaterial};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../utils/schema/index.mjs";
|
|
4
2
|
import * as zod from "zod";
|
|
3
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
4
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
5
5
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
6
|
|
|
7
7
|
//#region components/biz/business/header-search/header-avatar-logo-search/schema.d.ts
|
|
@@ -11,8 +11,8 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
11
11
|
* - logoHref:可配置 logo 点击跳转地址
|
|
12
12
|
*/
|
|
13
13
|
declare const headerAvatarLogoSearchInspectorPropsSchema: zod.ZodObject<{
|
|
14
|
-
logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
15
|
-
logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
14
|
+
logoSrc: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
15
|
+
logoHref: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
16
16
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
17
17
|
renderer: "renderer";
|
|
18
18
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"
|
|
2
|
+
import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"create-funhub/sdk";const r=e({logoSrc:t({label:`LOGO 图片地址`,required:!1,defaultValue:``}),logoHref:t({label:`LOGO 跳转地址`,required:!1,defaultValue:`/`})}),i=n(r);export{i as headerAvatarLogoSearchInspectorDefaultProps,r as headerAvatarLogoSearchInspectorPropsSchema};
|
package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.d.mts
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
4
|
-
import "../../../../../utils/schema/index.mjs";
|
|
5
2
|
import { HeaderAvatarLogoSearchIconClient } from "./client.mjs";
|
|
6
3
|
import { HeaderAvatarLogoSearchIcon } from "./server.mjs";
|
|
7
4
|
import * as zod from "zod";
|
|
5
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
8
6
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
9
7
|
|
|
10
8
|
//#region components/biz/business/header-search/header-avatar-logo-search-icon/material.d.ts
|
|
11
|
-
declare const headerAvatarLogoSearchIconMaterial: DefineMaterialOption<typeof HeaderAvatarLogoSearchIcon, typeof HeaderAvatarLogoSearchIconClient, zod.ZodObject<{
|
|
12
|
-
logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
13
|
-
logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
9
|
+
declare const headerAvatarLogoSearchIconMaterial: create_funhub_sdk0.DefineMaterialOption<typeof HeaderAvatarLogoSearchIcon, typeof HeaderAvatarLogoSearchIconClient, zod.ZodObject<{
|
|
10
|
+
logoSrc: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
logoHref: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
12
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
13
|
renderer: "renderer";
|
|
16
14
|
editor: "editor";
|
package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{headerAvatarLogoSearchIconInspectorPropsSchema as e}from"./schema.mjs";import{HeaderAvatarLogoSearchIconClient as t}from"./client.mjs";import{HeaderAvatarLogoSearchIcon as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`header-avatar-logo-search-icon`,name:`顶部功能样式4`,icon:`/static/components-thumb/header_avatar_logo_search_icon.png`,category:`顶部功能`,serverComponent:n,clientComponent:t,propsSchema:e});export{i as headerAvatarLogoSearchIconMaterial};
|
package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../utils/schema/index.mjs";
|
|
4
2
|
import * as zod from "zod";
|
|
3
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
4
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
5
5
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
6
|
|
|
7
7
|
//#region components/biz/business/header-search/header-avatar-logo-search-icon/schema.d.ts
|
|
@@ -9,8 +9,8 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
9
9
|
* 顶部-头像&搜索icon&logo 物料暂不对外开放配置,仅做占位展示。
|
|
10
10
|
*/
|
|
11
11
|
declare const headerAvatarLogoSearchIconInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
-
logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
13
|
-
logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
12
|
+
logoSrc: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
13
|
+
logoHref: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
14
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
15
|
renderer: "renderer";
|
|
16
16
|
editor: "editor";
|
package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"
|
|
2
|
+
import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"create-funhub/sdk";const r=e({logoSrc:t({label:`LOGO 图片地址`,required:!1,defaultValue:``}),logoHref:t({label:`LOGO 跳转地址`,required:!1,defaultValue:`/`})}),i=n(r);export{i as headerAvatarLogoSearchIconInspectorDefaultProps,r as headerAvatarLogoSearchIconInspectorPropsSchema};
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
4
|
-
import "../../../../../utils/schema/index.mjs";
|
|
5
2
|
import { HeaderLogoSearchClient } from "./client.mjs";
|
|
6
3
|
import { HeaderLogoSearch } from "./server.mjs";
|
|
7
4
|
import * as zod from "zod";
|
|
5
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
8
6
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
9
7
|
|
|
10
8
|
//#region components/biz/business/header-search/header-logo-search/material.d.ts
|
|
11
|
-
declare const headerLogoSearchMaterial: DefineMaterialOption<typeof HeaderLogoSearch, typeof HeaderLogoSearchClient, zod.ZodObject<{
|
|
12
|
-
logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
13
|
-
logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
9
|
+
declare const headerLogoSearchMaterial: create_funhub_sdk0.DefineMaterialOption<typeof HeaderLogoSearch, typeof HeaderLogoSearchClient, zod.ZodObject<{
|
|
10
|
+
logoSrc: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
logoHref: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
12
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
13
|
renderer: "renderer";
|
|
16
14
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{headerLogoSearchInspectorPropsSchema as e}from"./schema.mjs";import{HeaderLogoSearchClient as t}from"./client.mjs";import{HeaderLogoSearch as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`header-logo-search`,name:`顶部功能样式2`,icon:`/static/components-thumb/header_logo_search.png`,category:`顶部功能`,serverComponent:n,clientComponent:t,propsSchema:e});export{i as headerLogoSearchMaterial};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../utils/schema/index.mjs";
|
|
4
2
|
import * as zod from "zod";
|
|
3
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
4
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
5
5
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
6
|
|
|
7
7
|
//#region components/biz/business/header-search/header-logo-search/schema.d.ts
|
|
@@ -11,8 +11,8 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
11
11
|
* - logoHref:可配置 logo 点击跳转地址
|
|
12
12
|
*/
|
|
13
13
|
declare const headerLogoSearchInspectorPropsSchema: zod.ZodObject<{
|
|
14
|
-
logoSrc: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
15
|
-
logoHref: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
14
|
+
logoSrc: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
15
|
+
logoHref: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
16
16
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
17
17
|
renderer: "renderer";
|
|
18
18
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"
|
|
2
|
+
import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"create-funhub/sdk";const r=e({logoSrc:t({label:`LOGO 图片地址`,required:!1,defaultValue:``}),logoHref:t({label:`LOGO 跳转地址`,required:!1,defaultValue:`/`})}),i=n(r);export{i as headerLogoSearchInspectorDefaultProps,r as headerLogoSearchInspectorPropsSchema};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
3
2
|
import { HeaderSearchClient } from "./client.mjs";
|
|
4
3
|
import { HeaderSearch } from "./server.mjs";
|
|
5
4
|
import * as zod from "zod";
|
|
5
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
6
6
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
7
7
|
|
|
8
8
|
//#region components/biz/business/header-search/header-search/material.d.ts
|
|
9
|
-
declare const headerSearchMaterial: DefineMaterialOption<typeof HeaderSearch, typeof HeaderSearchClient, zod.ZodObject<{
|
|
9
|
+
declare const headerSearchMaterial: create_funhub_sdk0.DefineMaterialOption<typeof HeaderSearch, typeof HeaderSearchClient, zod.ZodObject<{
|
|
10
10
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
11
11
|
renderer: "renderer";
|
|
12
12
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{HeaderSearchClient as e}from"./client.mjs";import{headerSearchInspectorPropsSchema as t}from"./schema.mjs";import{HeaderSearch as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`header-search`,name:`顶部功能样式1`,icon:`/static/components-thumb/header_search.png`,category:`顶部功能`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as headerSearchMaterial};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../utils/schema/index.mjs";
|
|
4
2
|
import * as zod from "zod";
|
|
3
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
5
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
5
|
|
|
7
6
|
//#region components/biz/business/header-search/header-search/schema.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"
|
|
2
|
+
import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"create-funhub/sdk";const n=e({});t(n);export{n as headerSearchInspectorPropsSchema};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
import { MaterialComponentMode } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../utils/schema/index.mjs";
|
|
4
2
|
import { HomeRecommendData } from "../types.mjs";
|
|
5
3
|
import { HomeRecommendGridInspectorProps } from "./inspector-schema.mjs";
|
|
6
4
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
import { MaterialComponentMode } from "create-funhub/sdk";
|
|
7
6
|
|
|
8
7
|
//#region components/biz/business/home-recommend/home-recommend-grid/client.d.ts
|
|
9
8
|
interface HomeRecommendGridClientProps extends Partial<Omit<HomeRecommendGridInspectorProps, 'mode'>> {
|
package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.d.mts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
import "../../../utils/index.mjs";
|
|
3
|
-
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
4
|
-
import "../../../../../utils/schema/index.mjs";
|
|
5
3
|
import z$1 from "zod";
|
|
4
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
5
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
6
6
|
|
|
7
7
|
//#region components/biz/business/home-recommend/home-recommend-grid/inspector-schema.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* HomeRecommendGrid 物料属性 schema 定义。
|
|
10
10
|
*/
|
|
11
11
|
declare const homeRecommendGridInspectorPropsSchema: z$1.ZodObject<{
|
|
12
|
-
rows: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
13
|
-
columns: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
14
|
-
smartTagEnabled: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
15
|
-
title: z$1.ZodString & SchemaHasDefaultValue;
|
|
16
|
-
showPlayCount: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
17
|
-
playCountDelta: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
18
|
-
showEpisode: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
19
|
-
enableInfinite: z$1.ZodOptional<z$1.ZodBoolean> & SchemaHasDefaultValue;
|
|
20
|
-
moreLink: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
|
|
12
|
+
rows: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
13
|
+
columns: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
|
+
smartTagEnabled: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
15
|
+
title: z$1.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
16
|
+
showPlayCount: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
17
|
+
playCountDelta: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
18
|
+
showEpisode: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
19
|
+
enableInfinite: z$1.ZodOptional<z$1.ZodBoolean> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
20
|
+
moreLink: z$1.ZodOptional<z$1.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
21
21
|
smartTagIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
22
|
-
catId: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
|
|
22
|
+
catId: z$1.ZodOptional<z$1.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
23
23
|
items: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
24
24
|
contentId: z$1.ZodString;
|
|
25
25
|
coverMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -57,6 +57,6 @@ declare const homeRecommendGridInspectorDefaultProps: {
|
|
|
57
57
|
moreLink: string;
|
|
58
58
|
catId: string;
|
|
59
59
|
};
|
|
60
|
-
type HomeRecommendGridInspectorProps =
|
|
60
|
+
type HomeRecommendGridInspectorProps = InferSchemaProps<typeof homeRecommendGridInspectorPropsSchema>;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { HomeRecommendGridInspectorProps, homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema };
|
package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{HOME_RECOMMEND_DEFAULT_ENABLE_INFINITE as e,HOME_RECOMMEND_DEFAULT_GRID_COLUMNS as t,HOME_RECOMMEND_DEFAULT_GRID_ROWS as n,HOME_RECOMMEND_DEFAULT_PLAY_COUNT_DELTA as r,HOME_RECOMMEND_DEFAULT_SHOW_EPISODE as i,HOME_RECOMMEND_DEFAULT_SHOW_PLAY_COUNT as a,HOME_RECOMMEND_DEFAULT_SMART_TAG_ENABLED as o,HOME_RECOMMEND_DEFAULT_TITLE as s}from"../shared/home-recommend-default-config.mjs";import c from"zod";import{defineComponentPropsSchema as l,defineNumberPropSchema as u,defineSwitchPropSchema as d,defineTextPropSchema as f,getSchemaDefaultProps as p}from"create-funhub/sdk";const m=l({rows:u({label:`行数`,defaultValue:n}),columns:u({label:`列数`,defaultValue:t}),smartTagEnabled:d({label:`智能铺设`,defaultValue:o}),title:f({label:`推荐位名称`,defaultValue:s}),showPlayCount:d({label:`显示播放量`,defaultValue:a}),playCountDelta:u({label:`播放量浮动`,defaultValue:r}),showEpisode:d({label:`显示集数`,defaultValue:i}),enableInfinite:d({label:`无限下拉`,defaultValue:e,required:!1}),moreLink:f({label:`更多`,description:``,required:!1,defaultValue:``}),smartTagIds:c.array(c.string()).optional(),catId:f({label:`分类 ID`,description:`透传热门接口 cat_id`,required:!1,defaultValue:``}),items:c.array(c.object({contentId:c.string(),coverMode:c.enum([`upload`,`content`]).optional(),coverUrl:c.string().optional(),badge_url:c.string().optional(),titleMode:c.enum([`custom`,`content`]).optional(),title:c.string().optional(),description:c.string().optional(),showPlayCount:c.boolean().optional(),playCountDelta:c.number().optional(),showEpisode:c.boolean().optional()})).optional()}),h={...p(m),smartTagIds:[],items:[]},g={rows:{type:`number`,title:`行数`,default:h.rows},columns:{type:`number`,title:`列数`,default:h.columns},smartTagEnabled:{type:`boolean`,title:`智能铺设`,default:h.smartTagEnabled},title:{type:`string`,title:`推荐位名称`,default:h.title},showPlayCount:{type:`boolean`,title:`显示播放量`,default:h.showPlayCount},playCountDelta:{type:`number`,title:`播放量浮动`,default:h.playCountDelta},showEpisode:{type:`boolean`,title:`显示集数`,default:h.showEpisode},enableInfinite:{type:`boolean`,title:`无限下拉`,default:h.enableInfinite},moreLink:{type:`string`,title:`更多`,description:``,default:h.moreLink},smartTagIds:{type:`array`,title:`智能铺设标签`,default:h.smartTagIds,items:{type:`string`,title:`标签 ID`}},catId:{type:`string`,title:`分类 ID`,description:`透传热门接口 cat_id`,default:h.catId},items:{type:`array`,title:`推荐项`,default:h.items,items:{type:`object`,title:`推荐项`,properties:{contentId:{type:`string`,title:`内容 ID`},coverMode:{type:`string`,title:`封面模式`},coverUrl:{type:`string`,title:`封面地址`},badge_url:{type:`string`,title:`角标地址`},titleMode:{type:`string`,title:`标题模式`},title:{type:`string`,title:`标题`},description:{type:`string`,title:`简介`},showPlayCount:{type:`boolean`,title:`显示播放量`},playCountDelta:{type:`number`,title:`播放量浮动`},showEpisode:{type:`boolean`,title:`显示集数`}}}}};export{h as homeRecommendGridInspectorDefaultProps,m as homeRecommendGridInspectorPropsSchema,g as homeRecommendGridPropsSchema};
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
4
|
-
import "../../../../../utils/schema/index.mjs";
|
|
5
2
|
import { HomeRecommendGridClient } from "./client.mjs";
|
|
6
3
|
import { HomeRecommendGrid } from "./server.mjs";
|
|
7
4
|
import * as zod from "zod";
|
|
5
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
8
6
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
9
7
|
|
|
10
8
|
//#region components/biz/business/home-recommend/home-recommend-grid/material.d.ts
|
|
11
|
-
declare const homeRecommendGridMaterial: DefineMaterialOption<typeof HomeRecommendGrid, typeof HomeRecommendGridClient, zod.ZodObject<{
|
|
12
|
-
rows: zod.ZodNumber & SchemaHasDefaultValue;
|
|
13
|
-
columns: zod.ZodNumber & SchemaHasDefaultValue;
|
|
14
|
-
smartTagEnabled: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
15
|
-
title: zod.ZodString & SchemaHasDefaultValue;
|
|
16
|
-
showPlayCount: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
17
|
-
playCountDelta: zod.ZodNumber & SchemaHasDefaultValue;
|
|
18
|
-
showEpisode: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
19
|
-
enableInfinite: zod.ZodOptional<zod.ZodBoolean> & SchemaHasDefaultValue;
|
|
20
|
-
moreLink: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
9
|
+
declare const homeRecommendGridMaterial: create_funhub_sdk0.DefineMaterialOption<typeof HomeRecommendGrid, typeof HomeRecommendGridClient, zod.ZodObject<{
|
|
10
|
+
rows: zod.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
columns: zod.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
12
|
+
smartTagEnabled: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
13
|
+
title: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
|
+
showPlayCount: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
15
|
+
playCountDelta: zod.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
16
|
+
showEpisode: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
17
|
+
enableInfinite: zod.ZodOptional<zod.ZodBoolean> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
18
|
+
moreLink: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
21
19
|
smartTagIds: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
22
|
-
catId: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
20
|
+
catId: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
23
21
|
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
24
22
|
contentId: zod.ZodString;
|
|
25
23
|
coverMode: zod.ZodOptional<zod.ZodEnum<{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
2
|
+
import e from"./client.mjs";import{homeRecommendGridInspectorPropsSchema as t}from"./inspector-schema.mjs";import{HomeRecommendGrid as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`home-recommend-grid`,name:`两列宫格`,icon:`/static/components-thumb/grid_two_column_single_row.png`,category:`内容组件`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as homeRecommendGridMaterial};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
import { MaterialComponentMode } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../utils/schema/index.mjs";
|
|
4
2
|
import { HomeRecommendData } from "../types.mjs";
|
|
5
3
|
import { HomeRecommendWaterfallInspectorProps } from "./inspector-schema.mjs";
|
|
6
4
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
import { MaterialComponentMode } from "create-funhub/sdk";
|
|
7
6
|
|
|
8
7
|
//#region components/biz/business/home-recommend/home-recommend-waterfall/client.d.ts
|
|
9
8
|
interface HomeRecommendWaterfallClientProps extends Partial<Omit<HomeRecommendWaterfallInspectorProps, 'mode'>> {
|
package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.d.mts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
2
|
import "../../../utils/index.mjs";
|
|
3
|
-
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
4
|
-
import "../../../../../utils/schema/index.mjs";
|
|
5
3
|
import z$1 from "zod";
|
|
4
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
5
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
6
6
|
|
|
7
7
|
//#region components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* HomeRecommendWaterfall 物料属性 schema 定义。
|
|
10
10
|
*/
|
|
11
11
|
declare const homeRecommendWaterfallInspectorPropsSchema: z$1.ZodObject<{
|
|
12
|
-
smartTagEnabled: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
-
title: z$1.ZodString & SchemaHasDefaultValue;
|
|
14
|
-
showPlayCount: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
15
|
-
playCountDelta: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
16
|
-
showEpisode: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
17
|
-
enableInfinite: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
18
|
-
moreLink: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
|
|
12
|
+
smartTagEnabled: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
13
|
+
title: z$1.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
|
+
showPlayCount: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
15
|
+
playCountDelta: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
16
|
+
showEpisode: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
17
|
+
enableInfinite: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
18
|
+
moreLink: z$1.ZodOptional<z$1.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
19
19
|
smartTagIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
20
|
-
catId: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
|
|
20
|
+
catId: z$1.ZodOptional<z$1.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
21
21
|
items: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
22
22
|
contentId: z$1.ZodString;
|
|
23
23
|
coverMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -52,6 +52,6 @@ declare const homeRecommendWaterfallInspectorDefaultProps: {
|
|
|
52
52
|
moreLink: string;
|
|
53
53
|
catId: string;
|
|
54
54
|
};
|
|
55
|
-
type HomeRecommendWaterfallInspectorProps =
|
|
55
|
+
type HomeRecommendWaterfallInspectorProps = InferSchemaProps<typeof homeRecommendWaterfallInspectorPropsSchema>;
|
|
56
56
|
//#endregion
|
|
57
57
|
export { HomeRecommendWaterfallInspectorProps, homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema };
|
package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{HOME_RECOMMEND_DEFAULT_ENABLE_INFINITE as e,HOME_RECOMMEND_DEFAULT_PLAY_COUNT_DELTA as t,HOME_RECOMMEND_DEFAULT_SHOW_EPISODE as n,HOME_RECOMMEND_DEFAULT_SHOW_PLAY_COUNT as r,HOME_RECOMMEND_DEFAULT_SMART_TAG_ENABLED as i,HOME_RECOMMEND_DEFAULT_TITLE as a}from"../shared/home-recommend-default-config.mjs";import o from"zod";import{defineComponentPropsSchema as s,defineNumberPropSchema as c,defineSwitchPropSchema as l,defineTextPropSchema as u,getSchemaDefaultProps as d}from"create-funhub/sdk";const f=s({smartTagEnabled:l({label:`智能铺设`,defaultValue:i}),title:u({label:`推荐位名称`,defaultValue:a}),showPlayCount:l({label:`显示播放量`,defaultValue:r}),playCountDelta:c({label:`播放量浮动`,defaultValue:t}),showEpisode:l({label:`显示集数`,defaultValue:n}),enableInfinite:l({label:`无限下拉`,defaultValue:e}),moreLink:u({label:`更多`,description:``,required:!1,defaultValue:``}),smartTagIds:o.array(o.string()).optional(),catId:u({label:`分类 ID`,description:`透传热门接口 cat_id`,required:!1,defaultValue:``}),items:o.array(o.object({contentId:o.string(),coverMode:o.enum([`upload`,`content`]).optional(),coverUrl:o.string().optional(),badge_url:o.string().optional(),titleMode:o.enum([`custom`,`content`]).optional(),title:o.string().optional(),showPlayCount:o.boolean().optional(),playCountDelta:o.number().optional(),showEpisode:o.boolean().optional()})).optional()}),p={...d(f),smartTagIds:[],items:[]},m={smartTagEnabled:{type:`boolean`,title:`智能铺设`,default:p.smartTagEnabled},title:{type:`string`,title:`推荐位名称`,default:p.title},showPlayCount:{type:`boolean`,title:`显示播放量`,default:p.showPlayCount},playCountDelta:{type:`number`,title:`播放量浮动`,default:p.playCountDelta},showEpisode:{type:`boolean`,title:`显示集数`,default:p.showEpisode},enableInfinite:{type:`boolean`,title:`无限下拉`,default:p.enableInfinite},moreLink:{type:`string`,title:`更多`,description:``,default:p.moreLink},smartTagIds:{type:`array`,title:`智能铺设标签`,default:p.smartTagIds,items:{type:`string`,title:`标签 ID`}},catId:{type:`string`,title:`分类 ID`,description:`透传热门接口 cat_id`,default:p.catId},items:{type:`array`,title:`推荐项`,default:p.items,items:{type:`object`,title:`推荐项`,properties:{contentId:{type:`string`,title:`内容 ID`},coverMode:{type:`string`,title:`封面模式`},coverUrl:{type:`string`,title:`封面地址`},badge_url:{type:`string`,title:`角标地址`},titleMode:{type:`string`,title:`标题模式`},title:{type:`string`,title:`标题`},showPlayCount:{type:`boolean`,title:`显示播放量`},playCountDelta:{type:`number`,title:`播放量浮动`},showEpisode:{type:`boolean`,title:`显示集数`}}}}};export{p as homeRecommendWaterfallInspectorDefaultProps,f as homeRecommendWaterfallInspectorPropsSchema,m as homeRecommendWaterfallPropsSchema};
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
4
|
-
import "../../../../../utils/schema/index.mjs";
|
|
5
2
|
import { HomeRecommendWaterfallClient } from "./client.mjs";
|
|
6
3
|
import { HomeRecommendWaterfall } from "./server.mjs";
|
|
7
4
|
import * as zod from "zod";
|
|
5
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
8
6
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
9
7
|
|
|
10
8
|
//#region components/biz/business/home-recommend/home-recommend-waterfall/material.d.ts
|
|
11
|
-
declare const homeRecommendWaterfallMaterial: DefineMaterialOption<typeof HomeRecommendWaterfall, typeof HomeRecommendWaterfallClient, zod.ZodObject<{
|
|
12
|
-
smartTagEnabled: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
-
title: zod.ZodString & SchemaHasDefaultValue;
|
|
14
|
-
showPlayCount: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
15
|
-
playCountDelta: zod.ZodNumber & SchemaHasDefaultValue;
|
|
16
|
-
showEpisode: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
17
|
-
enableInfinite: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
18
|
-
moreLink: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
9
|
+
declare const homeRecommendWaterfallMaterial: create_funhub_sdk0.DefineMaterialOption<typeof HomeRecommendWaterfall, typeof HomeRecommendWaterfallClient, zod.ZodObject<{
|
|
10
|
+
smartTagEnabled: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
title: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
12
|
+
showPlayCount: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
13
|
+
playCountDelta: zod.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
|
+
showEpisode: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
15
|
+
enableInfinite: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
16
|
+
moreLink: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
19
17
|
smartTagIds: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
20
|
-
catId: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
18
|
+
catId: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
21
19
|
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
22
20
|
contentId: zod.ZodString;
|
|
23
21
|
coverMode: zod.ZodOptional<zod.ZodEnum<{
|