@funhub/platform 0.1.124 → 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/search/search-result/search-video-info.mjs +1 -1
- 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 +1 -1
- package/dist/components/ui/image.d.mts +4 -4
- 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,20 +1,20 @@
|
|
|
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/banner/variants/basic-banner/inspector-schema.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* 定义可以被低代码右侧 inspector 编辑的 props
|
|
9
9
|
*/
|
|
10
10
|
declare const basicBannerInspectorPropsSchema: z$1.ZodObject<{
|
|
11
|
-
interval: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
11
|
+
interval: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
12
12
|
list: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
13
13
|
contentId: z$1.ZodOptional<z$1.ZodNumber>;
|
|
14
14
|
title: z$1.ZodOptional<z$1.ZodString>;
|
|
15
15
|
coverUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
16
16
|
showViewCount: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
17
|
-
}, z$1.core.$strip>>> & SchemaHasDefaultValue;
|
|
17
|
+
}, z$1.core.$strip>>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
18
18
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
19
19
|
renderer: "renderer";
|
|
20
20
|
editor: "editor";
|
|
@@ -29,6 +29,6 @@ declare const basicBannerInspectorDefaultProps: {
|
|
|
29
29
|
showViewCount?: boolean | undefined;
|
|
30
30
|
}[];
|
|
31
31
|
};
|
|
32
|
-
type BasicBannerInspectorProps<T extends object = object> =
|
|
32
|
+
type BasicBannerInspectorProps<T extends object = object> = InferSchemaProps<typeof basicBannerInspectorPropsSchema> & T;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BasicBannerInspectorProps, basicBannerInspectorDefaultProps, basicBannerInspectorPropsSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineArrayItemPropSchema as
|
|
2
|
+
import{defaultProps as e}from"./defaults/default-props.mjs";import t from"zod";import{defineArrayItemPropSchema as n,defineComponentPropsSchema as r,defineNumberPropSchema as i,defineSwitchPropSchema as a,defineTextPropSchema as o,getSchemaDefaultProps as s}from"create-funhub/sdk";const c=r({interval:i({label:`播放间隔`,defaultValue:e.interval}),list:n(t.object({contentId:i({label:`内容ID`,required:!1}),title:o({label:`内容标题`,required:!1}),coverUrl:o({label:`封面`,required:!1}),showViewCount:a({label:`角标`,required:!1})}),{required:!1,label:`list`,defaultValue:[{contentId:1,title:`视频标题一`,desc:`视频描述`,coverUrl:`/static/components-resource/banner.png`,showViewCount:!1},{contentId:2,title:`视频标题二`,coverUrl:`/static/components-resource/banner.png`,showViewCount:!1},{contentId:3,title:`视频标题三`,coverUrl:`/static/components-resource/banner.png`,showViewCount:!1}]})}),l=s(c);export{l as basicBannerInspectorDefaultProps,c as basicBannerInspectorPropsSchema};
|
|
@@ -1,20 +1,18 @@
|
|
|
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 { BasicBanner } from "./server.mjs";
|
|
6
3
|
import * as zod from "zod";
|
|
4
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
7
5
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
8
6
|
|
|
9
7
|
//#region components/biz/business/banner/variants/basic-banner/material.d.ts
|
|
10
|
-
declare const basicBannerMaterial: DefineMaterialOption<typeof BasicBanner, typeof BasicBanner, zod.ZodObject<{
|
|
11
|
-
interval: zod.ZodNumber & SchemaHasDefaultValue;
|
|
8
|
+
declare const basicBannerMaterial: create_funhub_sdk0.DefineMaterialOption<typeof BasicBanner, typeof BasicBanner, zod.ZodObject<{
|
|
9
|
+
interval: zod.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
12
10
|
list: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
13
11
|
contentId: zod.ZodOptional<zod.ZodNumber>;
|
|
14
12
|
title: zod.ZodOptional<zod.ZodString>;
|
|
15
13
|
coverUrl: zod.ZodOptional<zod.ZodString>;
|
|
16
14
|
showViewCount: zod.ZodOptional<zod.ZodBoolean>;
|
|
17
|
-
}, zod_v4_core0.$strip>>> & SchemaHasDefaultValue;
|
|
15
|
+
}, zod_v4_core0.$strip>>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
18
16
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
19
17
|
renderer: "renderer";
|
|
20
18
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{basicBannerInspectorPropsSchema as e}from"./inspector-schema.mjs";import{BasicBanner as t}from"./server.mjs";import{defineMaterial as n}from"create-funhub/sdk";const r=n({type:`basic-banner`,name:`基础轮播图`,icon:`/static/components-thumb/carousel_banner.png`,category:`内容组件`,serverComponent:t,clientComponent:t,propsSchema:e});export{r as basicBannerMaterial};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import { BaseComponentProps } from "../../../../../utils/types/component.mjs";
|
|
3
3
|
import "../../../../../utils/index.mjs";
|
|
4
|
-
import { MaterialComponentMode } from "../../../../../../../utils/schema/schema.mjs";
|
|
5
|
-
import "../../../../../../../utils/schema/index.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/banner/variants/basic-banner/runtime/client.d.ts
|
|
9
8
|
declare function BasicBannerClient({
|
|
@@ -1,14 +1,12 @@
|
|
|
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 { BannerCarousel } from "./server.mjs";
|
|
6
3
|
import * as zod from "zod";
|
|
4
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
7
5
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
8
6
|
|
|
9
7
|
//#region components/biz/business/banner-carousel/material.d.ts
|
|
10
|
-
declare const BannerCarouselMaterial: DefineMaterialOption<typeof BannerCarousel, typeof BannerCarousel, zod.ZodObject<{
|
|
11
|
-
interval: zod.ZodNumber & SchemaHasDefaultValue;
|
|
8
|
+
declare const BannerCarouselMaterial: create_funhub_sdk0.DefineMaterialOption<typeof BannerCarousel, typeof BannerCarousel, zod.ZodObject<{
|
|
9
|
+
interval: zod.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
12
10
|
list: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
13
11
|
contentId: zod.ZodOptional<zod.ZodNumber>;
|
|
14
12
|
title: zod.ZodOptional<zod.ZodString>;
|
|
@@ -17,7 +15,7 @@ declare const BannerCarouselMaterial: DefineMaterialOption<typeof BannerCarousel
|
|
|
17
15
|
showPlayCount: zod.ZodOptional<zod.ZodBoolean>;
|
|
18
16
|
showEpisodeCount: zod.ZodOptional<zod.ZodBoolean>;
|
|
19
17
|
target: zod.ZodOptional<zod.ZodString>;
|
|
20
|
-
}, zod_v4_core0.$strip>>> & SchemaHasDefaultValue;
|
|
18
|
+
}, zod_v4_core0.$strip>>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
21
19
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
22
20
|
renderer: "renderer";
|
|
23
21
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{basicBannerInspectorPropsSchema as e}from"./schema.mjs";import{BannerCarousel as t}from"./server.mjs";import{defineMaterial as n}from"create-funhub/sdk";const r=n({type:`banner-carousel`,name:`基础轮播图`,icon:`/static/components-thumb/carousel_banner.png`,category:`内容组件`,serverComponent:t,clientComponent:t,propsSchema:e});export{r as BannerCarouselMaterial};
|
|
@@ -1,14 +1,14 @@
|
|
|
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/banner-carousel/schema.d.ts
|
|
7
7
|
/**
|
|
8
8
|
* 定义可以被低代码右侧 inspector 编辑的 props
|
|
9
9
|
*/
|
|
10
10
|
declare const basicBannerInspectorPropsSchema: z$1.ZodObject<{
|
|
11
|
-
interval: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
11
|
+
interval: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
12
12
|
list: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
13
13
|
contentId: z$1.ZodOptional<z$1.ZodNumber>;
|
|
14
14
|
title: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -17,12 +17,12 @@ declare const basicBannerInspectorPropsSchema: z$1.ZodObject<{
|
|
|
17
17
|
showPlayCount: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
18
18
|
showEpisodeCount: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
19
19
|
target: z$1.ZodOptional<z$1.ZodString>;
|
|
20
|
-
}, z$1.core.$strip>>> & SchemaHasDefaultValue;
|
|
20
|
+
}, z$1.core.$strip>>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
21
21
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
22
22
|
renderer: "renderer";
|
|
23
23
|
editor: "editor";
|
|
24
24
|
}>>;
|
|
25
25
|
}, z$1.core.$strip>;
|
|
26
|
-
type BasicBannerInspectorProps<T extends object = object> =
|
|
26
|
+
type BasicBannerInspectorProps<T extends object = object> = InferSchemaProps<typeof basicBannerInspectorPropsSchema> & T;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { BasicBannerInspectorProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineArrayItemPropSchema as
|
|
2
|
+
import{defaultProps as e}from"./default-props.mjs";import t from"zod";import{defineArrayItemPropSchema as n,defineComponentPropsSchema as r,defineNumberPropSchema as i,defineSwitchPropSchema as a,defineTextPropSchema as o,getSchemaDefaultProps as s}from"create-funhub/sdk";const c=r({interval:i({label:`播放间隔`,defaultValue:e.interval}),list:n(t.object({contentId:i({label:`内容ID`,required:!1}),title:o({label:`内容标题`,required:!1}),coverUrl:o({label:`封面`,required:!1}),badgeUrl:o({label:`角标`,required:!1}),showPlayCount:a({label:`展示播放量`,required:!1}),showEpisodeCount:a({label:`展示集数`,required:!1}),target:o({label:`跳转地址`,required:!1})}),{required:!1,label:`list`,defaultValue:[{contentId:1,title:`视频标题一`,desc:`视频描述`,coverUrl:`/static/components-resource/banner.png`,badgeUrl:``,showPlayCount:!1,showEpisodeCount:!1,target:``},{contentId:2,title:`视频标题二`,coverUrl:`/static/components-resource/banner.png`,badgeUrl:``,showPlayCount:!1,showEpisodeCount:!1,target:``},{contentId:3,title:`视频标题三`,coverUrl:`/static/components-resource/banner.png`,badgeUrl:``,showPlayCount:!1,showEpisodeCount:!1,target:``}]})});s(c);export{c as basicBannerInspectorPropsSchema};
|
|
@@ -1,19 +1,17 @@
|
|
|
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 { BasicChannelListClient } from "./client.mjs";
|
|
6
3
|
import * as zod from "zod";
|
|
4
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
7
5
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
8
6
|
|
|
9
7
|
//#region components/biz/business/channel-list/material.d.ts
|
|
10
|
-
declare const channelListMaterial: DefineMaterialOption<typeof BasicChannelListClient, typeof BasicChannelListClient, zod.ZodObject<{
|
|
11
|
-
modifiable: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
8
|
+
declare const channelListMaterial: create_funhub_sdk0.DefineMaterialOption<typeof BasicChannelListClient, typeof BasicChannelListClient, zod.ZodObject<{
|
|
9
|
+
modifiable: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
12
10
|
list: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
13
11
|
name: zod.ZodOptional<zod.ZodString>;
|
|
14
12
|
icon: zod.ZodOptional<zod.ZodString>;
|
|
15
13
|
isDefault: zod.ZodOptional<zod.ZodBoolean>;
|
|
16
|
-
}, zod_v4_core0.$strip>>> & SchemaHasDefaultValue;
|
|
14
|
+
}, zod_v4_core0.$strip>>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
17
15
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
18
16
|
renderer: "renderer";
|
|
19
17
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
2
|
+
import e from"./client.mjs";import{channelListInspectorPropsSchema as t}from"./schema.mjs";import{defineMaterial as n}from"create-funhub/sdk";const r=n({type:`channel-list`,name:`频道`,icon:`/static/components-thumb/channel_list_editable.png`,category:`内容组件`,serverComponent:e,clientComponent:e,propsSchema:t});export{r as channelListMaterial};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
|
|
2
2
|
import { BaseComponentProps } from "../../utils/types/component.mjs";
|
|
3
3
|
import "../../utils/index.mjs";
|
|
4
|
-
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
5
|
-
import "../../../../utils/schema/index.mjs";
|
|
6
4
|
import z$1 from "zod";
|
|
5
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
6
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
7
7
|
|
|
8
8
|
//#region components/biz/business/channel-list/schema.d.ts
|
|
9
9
|
/**
|
|
10
10
|
* 定义可以被低代码右侧inspector编辑的props
|
|
11
11
|
*/
|
|
12
12
|
declare const channelListInspectorPropsSchema: z$1.ZodObject<{
|
|
13
|
-
modifiable: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
+
modifiable: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
14
|
list: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15
15
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
16
16
|
icon: z$1.ZodOptional<z$1.ZodString>;
|
|
17
17
|
isDefault: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
18
|
-
}, z$1.core.$strip>>> & SchemaHasDefaultValue;
|
|
18
|
+
}, z$1.core.$strip>>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
19
19
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
20
20
|
renderer: "renderer";
|
|
21
21
|
editor: "editor";
|
|
22
22
|
}>>;
|
|
23
23
|
}, z$1.core.$strip>;
|
|
24
|
-
type ChannelListInspectorProps<T extends object = object> =
|
|
24
|
+
type ChannelListInspectorProps<T extends object = object> = InferSchemaProps<typeof channelListInspectorPropsSchema> & BaseComponentProps;
|
|
25
25
|
/**
|
|
26
26
|
* 基于ButtonInspectorProps再派生出组件真正的props(因为不是所有props都需要被编辑,比如说下面的children就不需要,但是button组件又需要传入children)
|
|
27
27
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineArrayItemPropSchema as
|
|
2
|
+
import e from"zod";import{defineArrayItemPropSchema as t,defineComponentPropsSchema as n,defineSwitchPropSchema as r,defineTextPropSchema as i,getSchemaDefaultProps as a}from"create-funhub/sdk";const o=n({modifiable:r({label:`自定义频道`,defaultValue:!0}),list:t(e.object({name:i({label:`内容标题`,required:!1}),icon:i({label:`图标`,required:!1}),isDefault:r({label:`是否默认频道`,required:!1})}),{required:!1,label:`list`,defaultValue:[{name:`频道名称`,icon:``,isDefault:!0}]})});a(o);export{o as channelListInspectorPropsSchema};
|
|
@@ -1,59 +1,57 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import { VideoDetailPlayerClient } from "../video-detail-player/client.mjs";
|
|
6
|
-
import { VideoDetailPlayer } from "../video-detail-player/server.mjs";
|
|
7
|
-
import "../video-detail-player/index.mjs";
|
|
2
|
+
import { VideoDetailActionsClient } from "../video-detail-actions/client.mjs";
|
|
3
|
+
import { VideoDetailActions } from "../video-detail-actions/server.mjs";
|
|
4
|
+
import "../video-detail-actions/index.mjs";
|
|
8
5
|
import { VideoDetailInfoClient } from "../video-detail-info/client.mjs";
|
|
9
6
|
import { VideoDetailInfo } from "../video-detail-info/server.mjs";
|
|
10
7
|
import "../video-detail-info/index.mjs";
|
|
11
8
|
import { VideoDetailInfoTitleTagsEpisodesClient } from "../video-detail-info-title-tags-episodes/client.mjs";
|
|
12
9
|
import { VideoDetailInfoTitleTagsEpisodes } from "../video-detail-info-title-tags-episodes/server.mjs";
|
|
13
10
|
import "../video-detail-info-title-tags-episodes/index.mjs";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import "../video-detail-
|
|
11
|
+
import { VideoDetailPlayerClient } from "../video-detail-player/client.mjs";
|
|
12
|
+
import { VideoDetailPlayer } from "../video-detail-player/server.mjs";
|
|
13
|
+
import "../video-detail-player/index.mjs";
|
|
17
14
|
import { VideoDetailRecommendClient } from "../video-detail-recommend/client.mjs";
|
|
18
15
|
import { VideoDetailRecommend } from "../video-detail-recommend/server.mjs";
|
|
19
16
|
import "../video-detail-recommend/index.mjs";
|
|
20
|
-
import "../../../../../utils.mjs";
|
|
21
17
|
import z$1 from "zod";
|
|
18
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
19
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
22
20
|
|
|
23
21
|
//#region components/biz/business/detail/shared/registry.d.ts
|
|
24
|
-
declare const videoDetailMaterials: MaterialMap<readonly [DefineMaterialOption<typeof VideoDetailPlayer, typeof VideoDetailPlayerClient, z$1.ZodObject<{
|
|
22
|
+
declare const videoDetailMaterials: create_funhub_sdk0.MaterialMap<readonly [create_funhub_sdk0.DefineMaterialOption<typeof VideoDetailPlayer, typeof VideoDetailPlayerClient, z$1.ZodObject<{
|
|
25
23
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
26
24
|
renderer: "renderer";
|
|
27
25
|
editor: "editor";
|
|
28
26
|
}>>;
|
|
29
|
-
}, z$1.core.$strip>, "video-detail-player", "视频模块">, DefineMaterialOption<typeof VideoDetailInfo, typeof VideoDetailInfoClient, z$1.ZodObject<{
|
|
30
|
-
showTags: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
31
|
-
showEpisodes: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
27
|
+
}, z$1.core.$strip>, "video-detail-player", "视频模块">, create_funhub_sdk0.DefineMaterialOption<typeof VideoDetailInfo, typeof VideoDetailInfoClient, z$1.ZodObject<{
|
|
28
|
+
showTags: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
29
|
+
showEpisodes: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
32
30
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
33
31
|
renderer: "renderer";
|
|
34
32
|
editor: "editor";
|
|
35
33
|
}>>;
|
|
36
|
-
}, z$1.core.$strip>, "video-detail-info", "内容组件">, DefineMaterialOption<typeof VideoDetailInfoTitleTagsEpisodes, typeof VideoDetailInfoTitleTagsEpisodesClient, z$1.ZodObject<{
|
|
37
|
-
showTags: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
38
|
-
showEpisodes: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
34
|
+
}, z$1.core.$strip>, "video-detail-info", "内容组件">, create_funhub_sdk0.DefineMaterialOption<typeof VideoDetailInfoTitleTagsEpisodes, typeof VideoDetailInfoTitleTagsEpisodesClient, z$1.ZodObject<{
|
|
35
|
+
showTags: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
36
|
+
showEpisodes: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
39
37
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
40
38
|
renderer: "renderer";
|
|
41
39
|
editor: "editor";
|
|
42
40
|
}>>;
|
|
43
|
-
}, z$1.core.$strip>, "video-detail-info-title-tags-episodes", "内容组件">, DefineMaterialOption<typeof VideoDetailActions, typeof VideoDetailActionsClient, z$1.ZodObject<{
|
|
41
|
+
}, z$1.core.$strip>, "video-detail-info-title-tags-episodes", "内容组件">, create_funhub_sdk0.DefineMaterialOption<typeof VideoDetailActions, typeof VideoDetailActionsClient, z$1.ZodObject<{
|
|
44
42
|
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
45
43
|
renderer: "renderer";
|
|
46
44
|
editor: "editor";
|
|
47
45
|
}>>;
|
|
48
|
-
}, z$1.core.$strip>, "video-detail-actions", "行为组件">, DefineMaterialOption<typeof VideoDetailRecommend, typeof VideoDetailRecommendClient, z$1.ZodObject<{
|
|
49
|
-
rows: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
50
|
-
columns: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
51
|
-
smartTagEnabled: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
52
|
-
title: z$1.ZodString & SchemaHasDefaultValue;
|
|
53
|
-
showPlayCount: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
54
|
-
playCountDelta: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
55
|
-
showEpisode: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
56
|
-
enableInfinite: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
46
|
+
}, z$1.core.$strip>, "video-detail-actions", "行为组件">, create_funhub_sdk0.DefineMaterialOption<typeof VideoDetailRecommend, typeof VideoDetailRecommendClient, z$1.ZodObject<{
|
|
47
|
+
rows: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
48
|
+
columns: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
49
|
+
smartTagEnabled: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
50
|
+
title: z$1.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
51
|
+
showPlayCount: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
52
|
+
playCountDelta: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
53
|
+
showEpisode: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
54
|
+
enableInfinite: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
57
55
|
smartTagIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
58
56
|
items: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
59
57
|
contentId: z$1.ZodString;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{videoDetailInfoMaterial as e}from"../video-detail-info/material.mjs";import{videoDetailInfoTitleTagsEpisodesMaterial as t}from"../video-detail-info-title-tags-episodes/material.mjs";import{videoDetailPlayerMaterial as n}from"../video-detail-player/material.mjs";import{videoDetailRecommendMaterial as r}from"../video-detail-recommend/material.mjs";import{videoDetailActionsMaterial as i}from"../video-detail-actions/material.mjs";import{generateMaterialMap as a,getSchemaDefaultProps as o}from"create-funhub/sdk";function s(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>typeof t==`number`&&Number.isFinite(t)?[e,String(t)]:[e,t]))}function c(e,t){let n={...o(e.propsSchema),...t??{}},r=e.propsSchema.safeParse(n);if(r.success)return{isValid:!0,props:r.data};let i=s(n),a=e.propsSchema.safeParse(i);return a.success?{isValid:!0,props:a.data}:{isValid:!1,props:n}}const l=a([n,e,t,i,r]);export{c as resolveMaterialProps,l as videoDetailMaterials};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
3
2
|
import { VideoDetailActionsClient } from "./client.mjs";
|
|
4
3
|
import { VideoDetailActions } 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/detail/video-detail-actions/material.d.ts
|
|
9
|
-
declare const videoDetailActionsMaterial: DefineMaterialOption<typeof VideoDetailActions, typeof VideoDetailActionsClient, zod.ZodObject<{
|
|
9
|
+
declare const videoDetailActionsMaterial: create_funhub_sdk0.DefineMaterialOption<typeof VideoDetailActions, typeof VideoDetailActionsClient, 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{VideoDetailActionsClient as e}from"./client.mjs";import{videoDetailActionsInspectorPropsSchema as t}from"./schema.mjs";import{VideoDetailActions as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`video-detail-actions`,name:`行为模块`,icon:`/static/components-thumb/interaction_actions_default.png`,category:`行为组件`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as videoDetailActionsMaterial};
|
|
@@ -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/detail/video-detail-actions/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 videoDetailActionsInspectorPropsSchema};
|
|
@@ -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 { VideoDetailInfoClient } from "./client.mjs";
|
|
6
3
|
import { VideoDetailInfo } 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/detail/video-detail-info/material.d.ts
|
|
11
|
-
declare const videoDetailInfoMaterial: DefineMaterialOption<typeof VideoDetailInfo, typeof VideoDetailInfoClient, zod.ZodObject<{
|
|
12
|
-
showTags: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
-
showEpisodes: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
9
|
+
declare const videoDetailInfoMaterial: create_funhub_sdk0.DefineMaterialOption<typeof VideoDetailInfo, typeof VideoDetailInfoClient, zod.ZodObject<{
|
|
10
|
+
showTags: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
showEpisodes: zod.ZodBoolean & 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{VideoDetailInfoClient as e}from"./client.mjs";import{videoDetailInfoInspectorPropsSchema as t}from"./schema.mjs";import{VideoDetailInfo as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`video-detail-info`,name:`专辑信息样式1`,icon:`/static/components-thumb/media_info_description_episode.png`,category:`内容组件`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as videoDetailInfoMaterial};
|
|
@@ -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/detail/video-detail-info/schema.d.ts
|
|
@@ -9,8 +9,8 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
9
9
|
* 媒体信息-简介&选集物料暂不对外开放配置。
|
|
10
10
|
*/
|
|
11
11
|
declare const videoDetailInfoInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
-
showTags: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
-
showEpisodes: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
12
|
+
showTags: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
13
|
+
showEpisodes: zod.ZodBoolean & 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,defineSwitchPropSchema as t,getSchemaDefaultProps as n}from"
|
|
2
|
+
import{defineComponentPropsSchema as e,defineSwitchPropSchema as t,getSchemaDefaultProps as n}from"create-funhub/sdk";const r=e({showTags:t({label:`显示标签`,defaultValue:!1}),showEpisodes:t({label:`显示选集`,defaultValue:!1})});n(r);export{r as videoDetailInfoInspectorPropsSchema};
|
package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/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 { VideoDetailInfoTitleTagsEpisodesClient } from "./client.mjs";
|
|
6
3
|
import { VideoDetailInfoTitleTagsEpisodes } 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/detail/video-detail-info-title-tags-episodes/material.d.ts
|
|
11
|
-
declare const videoDetailInfoTitleTagsEpisodesMaterial: DefineMaterialOption<typeof VideoDetailInfoTitleTagsEpisodes, typeof VideoDetailInfoTitleTagsEpisodesClient, zod.ZodObject<{
|
|
12
|
-
showTags: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
-
showEpisodes: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
9
|
+
declare const videoDetailInfoTitleTagsEpisodesMaterial: create_funhub_sdk0.DefineMaterialOption<typeof VideoDetailInfoTitleTagsEpisodes, typeof VideoDetailInfoTitleTagsEpisodesClient, zod.ZodObject<{
|
|
10
|
+
showTags: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
showEpisodes: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
12
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
13
|
renderer: "renderer";
|
|
16
14
|
editor: "editor";
|
package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{VideoDetailInfoTitleTagsEpisodesClient as e}from"./client.mjs";import{videoDetailInfoTitleTagsEpisodesInspectorPropsSchema as t}from"./schema.mjs";import{VideoDetailInfoTitleTagsEpisodes as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`video-detail-info-title-tags-episodes`,name:`专辑信息样式2`,icon:`/static/components-thumb/media_info_episode_list.png`,category:`内容组件`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as videoDetailInfoTitleTagsEpisodesMaterial};
|
package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/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/detail/video-detail-info-title-tags-episodes/schema.d.ts
|
|
@@ -9,8 +9,8 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
9
9
|
* 媒体信息-选集物料暂不对外开放配置。
|
|
10
10
|
*/
|
|
11
11
|
declare const videoDetailInfoTitleTagsEpisodesInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
-
showTags: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
-
showEpisodes: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
12
|
+
showTags: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
13
|
+
showEpisodes: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
14
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
15
|
renderer: "renderer";
|
|
16
16
|
editor: "editor";
|
package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e,defineSwitchPropSchema as t,getSchemaDefaultProps as n}from"
|
|
2
|
+
import{defineComponentPropsSchema as e,defineSwitchPropSchema as t,getSchemaDefaultProps as n}from"create-funhub/sdk";const r=e({showTags:t({label:`显示标签`,defaultValue:!0}),showEpisodes:t({label:`显示选集`,defaultValue:!0})});n(r);export{r as videoDetailInfoTitleTagsEpisodesInspectorPropsSchema};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
3
2
|
import { VideoDetailPlayerClient } from "./client.mjs";
|
|
4
3
|
import { VideoDetailPlayer } 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/detail/video-detail-player/material.d.ts
|
|
9
|
-
declare const videoDetailPlayerMaterial: DefineMaterialOption<typeof VideoDetailPlayer, typeof VideoDetailPlayerClient, zod.ZodObject<{
|
|
9
|
+
declare const videoDetailPlayerMaterial: create_funhub_sdk0.DefineMaterialOption<typeof VideoDetailPlayer, typeof VideoDetailPlayerClient, 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{VideoDetailPlayerClient as e}from"./client.mjs";import{videoDetailPlayerInspectorPropsSchema as t}from"./schema.mjs";import{VideoDetailPlayer as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`video-detail-player`,name:`视频播放器`,icon:`/static/components-thumb/video_player.png`,category:`视频模块`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as videoDetailPlayerMaterial};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../utils/schema/index.mjs";
|
|
4
2
|
import { ReactNode } from "react";
|
|
5
3
|
import * as zod from "zod";
|
|
4
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
6
5
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
7
6
|
|
|
8
7
|
//#region components/biz/business/detail/video-detail-player/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 videoDetailPlayerInspectorPropsSchema};
|
|
@@ -1,22 +1,20 @@
|
|
|
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 { VideoDetailRecommendClient } from "./client.mjs";
|
|
6
3
|
import { VideoDetailRecommend } 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/detail/video-detail-recommend/material.d.ts
|
|
11
|
-
declare const videoDetailRecommendMaterial: DefineMaterialOption<typeof VideoDetailRecommend, typeof VideoDetailRecommendClient, 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.ZodBoolean & SchemaHasDefaultValue;
|
|
9
|
+
declare const videoDetailRecommendMaterial: create_funhub_sdk0.DefineMaterialOption<typeof VideoDetailRecommend, typeof VideoDetailRecommendClient, 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.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
20
18
|
smartTagIds: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
21
19
|
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
22
20
|
contentId: zod.ZodString;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{VideoDetailRecommendClient as e}from"./client.mjs";import{videoDetailRecommendInspectorPropsSchema as t}from"./schema.mjs";import{VideoDetailRecommend as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`video-detail-recommend`,name:`详情页-推荐模块`,icon:`/static/components-thumb/video_guess_you_like.png`,category:`详情页`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as videoDetailRecommendMaterial};
|