@funhub/platform 0.1.134 → 0.1.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/biz.d.mts +12 -12
- package/dist/cli/init/create-client.mjs +2 -0
- package/dist/cli/init/create-sdk.mjs +2 -0
- package/dist/cli/init/shared/command.mjs +2 -0
- package/dist/cli/init/shared/constants.mjs +2 -0
- package/dist/cli/init/shared/create-project.mjs +3 -0
- package/dist/cli/init/shared/file.mjs +2 -0
- package/dist/cli/init/shared/package-manager.mjs +2 -0
- package/dist/cli/init/shared/prompts.mjs +2 -0
- package/dist/cli/init/shared/template.mjs +2 -0
- package/dist/cli.d.mts +2 -0
- package/dist/cli.mjs +4 -0
- package/dist/components/biz/business/banner/index.d.mts +1 -1
- package/dist/components/biz/business/banner/variants/basic-banner/index.d.mts +2 -2
- package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.d.mts +25 -3
- 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 +20 -1
- 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 +2 -1
- package/dist/components/biz/business/banner-carousel/material.d.mts +23 -1
- package/dist/components/biz/business/banner-carousel/material.mjs +1 -1
- package/dist/components/biz/business/banner-carousel/schema.d.mts +28 -0
- package/dist/components/biz/business/banner-carousel/schema.mjs +1 -1
- package/dist/components/biz/business/banner-carousel/server.d.mts +18 -0
- package/dist/components/biz/business/channel-list/client.d.mts +8 -0
- package/dist/components/biz/business/channel-list/material.d.mts +19 -1
- package/dist/components/biz/business/channel-list/material.mjs +1 -1
- package/dist/components/biz/business/channel-list/schema.d.mts +30 -0
- package/dist/components/biz/business/channel-list/schema.mjs +1 -1
- package/dist/components/biz/business/detail/shared/registry.d.mts +75 -2
- package/dist/components/biz/business/detail/shared/registry.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-actions/client.d.mts +12 -2
- package/dist/components/biz/business/detail/video-detail-actions/index.d.mts +4 -4
- package/dist/components/biz/business/detail/video-detail-actions/material.d.mts +13 -1
- 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 +20 -1
- package/dist/components/biz/business/detail/video-detail-actions/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-actions/server.d.mts +15 -2
- package/dist/components/biz/business/detail/video-detail-info/client.d.mts +14 -2
- package/dist/components/biz/business/detail/video-detail-info/index.d.mts +4 -4
- package/dist/components/biz/business/detail/video-detail-info/material.d.mts +16 -1
- 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 +22 -1
- package/dist/components/biz/business/detail/video-detail-info/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-info/server.d.mts +15 -2
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/client.d.mts +14 -2
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/index.d.mts +4 -4
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.d.mts +16 -1
- 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 +22 -1
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/server.d.mts +15 -2
- package/dist/components/biz/business/detail/video-detail-player/client.d.mts +13 -2
- package/dist/components/biz/business/detail/video-detail-player/index.d.mts +4 -4
- package/dist/components/biz/business/detail/video-detail-player/material.d.mts +13 -1
- 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 +22 -1
- package/dist/components/biz/business/detail/video-detail-player/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-player/server.d.mts +10 -2
- package/dist/components/biz/business/detail/video-detail-recommend/client.d.mts +22 -2
- package/dist/components/biz/business/detail/video-detail-recommend/index.d.mts +4 -4
- package/dist/components/biz/business/detail/video-detail-recommend/material.d.mts +40 -1
- 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 +42 -1
- package/dist/components/biz/business/detail/video-detail-recommend/schema.mjs +1 -1
- package/dist/components/biz/business/detail/video-detail-recommend/server.d.mts +10 -2
- package/dist/components/biz/business/floating-ball/index.d.mts +2 -2
- package/dist/components/biz/business/floating-ball/material.d.mts +16 -1
- package/dist/components/biz/business/floating-ball/material.mjs +1 -1
- package/dist/components/biz/business/floating-ball/schema.d.mts +16 -3
- package/dist/components/biz/business/floating-ball/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/client.d.mts +13 -2
- package/dist/components/biz/business/header-search/header-avatar-icon/index.d.mts +4 -4
- package/dist/components/biz/business/header-search/header-avatar-icon/material.d.mts +13 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/schema.d.mts +18 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-icon/server.d.mts +10 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search/client.d.mts +11 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search/index.d.mts +4 -4
- package/dist/components/biz/business/header-search/header-avatar-logo-search/material.d.mts +16 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.d.mts +22 -1
- 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/server.d.mts +10 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/client.d.mts +11 -2
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/index.d.mts +4 -4
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.d.mts +16 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.d.mts +20 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/server.d.mts +10 -2
- package/dist/components/biz/business/header-search/header-logo-search/client.d.mts +13 -2
- package/dist/components/biz/business/header-search/header-logo-search/index.d.mts +4 -4
- package/dist/components/biz/business/header-search/header-logo-search/material.d.mts +16 -1
- package/dist/components/biz/business/header-search/header-logo-search/material.mjs +1 -1
- package/dist/components/biz/business/header-search/header-logo-search/schema.d.mts +22 -1
- package/dist/components/biz/business/header-search/header-logo-search/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-logo-search/server.d.mts +10 -2
- package/dist/components/biz/business/header-search/header-search/client.d.mts +13 -2
- package/dist/components/biz/business/header-search/header-search/index.d.mts +4 -4
- package/dist/components/biz/business/header-search/header-search/material.d.mts +13 -1
- 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 +18 -1
- package/dist/components/biz/business/header-search/header-search/schema.mjs +1 -1
- package/dist/components/biz/business/header-search/header-search/server.d.mts +10 -2
- package/dist/components/biz/business/home-recommend/home-recommend-grid/client.d.mts +2 -1
- package/dist/components/biz/business/home-recommend/home-recommend-grid/index.d.mts +2 -2
- package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.d.mts +52 -3
- 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 +43 -1
- 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 +2 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/index.d.mts +2 -2
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.d.mts +47 -3
- 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 +40 -1
- package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.mjs +1 -1
- package/dist/components/biz/business/home-recommend/index.d.mts +2 -2
- package/dist/components/biz/business/image-text-recommend/client.d.mts +2 -1
- package/dist/components/biz/business/image-text-recommend/index.d.mts +2 -2
- package/dist/components/biz/business/image-text-recommend/material.d.mts +35 -1
- package/dist/components/biz/business/image-text-recommend/material.mjs +1 -1
- package/dist/components/biz/business/image-text-recommend/schema.d.mts +31 -1
- package/dist/components/biz/business/image-text-recommend/schema.mjs +1 -1
- package/dist/components/biz/business/index.d.mts +11 -11
- package/dist/components/biz/business/large-feature-grid/material.d.mts +9 -1
- 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 +2 -1
- package/dist/components/biz/business/marquee/index.d.mts +2 -2
- package/dist/components/biz/business/marquee/material.d.mts +34 -1
- package/dist/components/biz/business/marquee/material.mjs +1 -1
- package/dist/components/biz/business/marquee/schema.d.mts +30 -1
- package/dist/components/biz/business/marquee/schema.mjs +1 -1
- package/dist/components/biz/business/profile/index.d.mts +1 -1
- package/dist/components/biz/business/profile/profile-header/material.d.mts +31 -2
- package/dist/components/biz/business/profile/profile-header/material.mjs +1 -1
- package/dist/components/biz/business/profile/profile-header/schema.d.mts +11 -3
- package/dist/components/biz/business/profile/profile-header/schema.mjs +1 -1
- package/dist/components/biz/business/profile/profile-main/index.d.mts +1 -1
- package/dist/components/biz/business/profile/profile-main/material.d.mts +13 -1
- package/dist/components/biz/business/profile/profile-main/material.mjs +1 -1
- package/dist/components/biz/business/profile/profile-main/schema.d.mts +11 -3
- 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 +2 -1
- package/dist/components/biz/business/profile/profile-main/tabs/history-tab/client.d.mts +2 -1
- package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.d.mts +2 -1
- package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/client.d.mts +2 -1
- package/dist/components/biz/business/search-history/client.d.mts +2 -1
- package/dist/components/biz/business/search-history/index.d.mts +2 -2
- package/dist/components/biz/business/search-history/material.d.mts +16 -1
- package/dist/components/biz/business/search-history/material.mjs +1 -1
- package/dist/components/biz/business/search-history/schema.d.mts +13 -1
- package/dist/components/biz/business/search-history/schema.mjs +1 -1
- package/dist/components/biz/business/search-input/index.d.mts +2 -2
- package/dist/components/biz/business/search-input/material.d.mts +13 -1
- package/dist/components/biz/business/search-input/material.mjs +1 -1
- package/dist/components/biz/business/search-input/schema.d.mts +11 -3
- package/dist/components/biz/business/search-input/schema.mjs +1 -1
- package/dist/components/biz/business/shortcut-grid/client.d.mts +12 -0
- package/dist/components/biz/business/shortcut-grid/material.d.mts +22 -1
- package/dist/components/biz/business/shortcut-grid/material.mjs +1 -1
- package/dist/components/biz/business/shortcut-grid/schema.d.mts +26 -0
- package/dist/components/biz/business/shortcut-grid/schema.mjs +1 -1
- package/dist/components/biz/business/shortcut-grid/server.d.mts +11 -0
- package/dist/components/biz/business/tab-bar/index.d.mts +2 -2
- package/dist/components/biz/business/tab-bar/material.d.mts +13 -1
- package/dist/components/biz/business/tab-bar/material.mjs +1 -1
- package/dist/components/biz/business/tab-bar/schema.d.mts +11 -3
- package/dist/components/biz/business/tab-bar/schema.mjs +1 -1
- package/dist/components/biz/business/text-recommend/client.d.mts +2 -1
- package/dist/components/biz/business/text-recommend/index.d.mts +2 -2
- package/dist/components/biz/business/text-recommend/material.d.mts +19 -1
- package/dist/components/biz/business/text-recommend/material.mjs +1 -1
- package/dist/components/biz/business/text-recommend/schema.d.mts +15 -1
- package/dist/components/biz/business/text-recommend/schema.mjs +1 -1
- package/dist/components/biz/example/button/index.d.mts +2 -2
- package/dist/components/biz/example/button/material.d.mts +24 -1
- package/dist/components/biz/example/button/material.mjs +1 -1
- package/dist/components/biz/example/button/schema.d.mts +30 -3
- package/dist/components/biz/example/button/schema.mjs +1 -1
- package/dist/components/biz/renderer/renderer.d.mts +2 -1
- package/dist/components/biz/renderer/renderer.mjs +1 -1
- package/dist/components/pages/settings/_components/reset-password-drawer.mjs +3 -3
- package/dist/components/ui/badge.d.mts +1 -1
- package/dist/components/ui/button.d.mts +2 -2
- package/dist/components/ui/empty.d.mts +1 -1
- package/dist/components/ui/image.d.mts +4 -4
- package/dist/components/ui/item.d.mts +1 -1
- package/dist/materials.d.mts +10 -10
- package/dist/utils/schema/index.d.mts +1 -1
- package/dist/utils/schema/material.d.mts +1 -1
- package/dist/utils/schema/schema.d.mts +35 -0
- package/dist/utils.d.mts +3 -3
- package/package.json +8 -3
|
@@ -1,2 +1,21 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps } from "
|
|
2
|
+
import { InferSchemaProps } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../../utils.mjs";
|
|
4
|
+
import * as zod from "zod";
|
|
5
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
|
+
|
|
7
|
+
//#region components/biz/business/detail/video-detail-actions/schema.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* 行为模块物料暂不对外开放配置。
|
|
10
|
+
*/
|
|
11
|
+
declare const videoDetailActionsInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
13
|
+
renderer: "renderer";
|
|
14
|
+
editor: "editor";
|
|
15
|
+
}>>;
|
|
16
|
+
}, zod_v4_core0.$strip>;
|
|
17
|
+
type VideoDetailActionsInspectorProps = InferSchemaProps<typeof videoDetailActionsInspectorPropsSchema>;
|
|
18
|
+
/** 视频详情行为模块物料 props。 */
|
|
19
|
+
type VideoDetailActionsProps = VideoDetailActionsInspectorProps;
|
|
20
|
+
//#endregion
|
|
21
|
+
export { VideoDetailActionsInspectorProps, VideoDetailActionsProps, videoDetailActionsInspectorPropsSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"
|
|
2
|
+
import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"../../../../../utils/schema/schema.mjs";const n=e({});t(n);export{n as videoDetailActionsInspectorPropsSchema};
|
|
@@ -1,3 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
2
|
+
import { VideoDetailActionsProps } from "./schema.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/detail/video-detail-actions/server.d.ts
|
|
6
|
+
interface VideoDetailActionsServerProps extends VideoDetailActionsProps {
|
|
7
|
+
detailId?: string;
|
|
8
|
+
currentSeriesNum?: number;
|
|
9
|
+
__route?: unknown;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 视频详情行为模块服务端组件。
|
|
13
|
+
*/
|
|
14
|
+
declare function VideoDetailActions(props: VideoDetailActionsServerProps): Promise<react_jsx_runtime0.JSX.Element>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { VideoDetailActions };
|
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
2
|
+
import { VideoDetailInfoProps } from "./schema.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/detail/video-detail-info/client.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* 媒体信息-简介&选集物料客户端组件。
|
|
8
|
+
*/
|
|
9
|
+
declare function VideoDetailInfoClient({
|
|
10
|
+
showTags,
|
|
11
|
+
showEpisodes,
|
|
12
|
+
mode
|
|
13
|
+
}: VideoDetailInfoProps): react_jsx_runtime0.JSX.Element | null;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { VideoDetailInfoClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "./client.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
2
|
+
import { VideoDetailInfoInspectorProps, VideoDetailInfoProps, videoDetailInfoInspectorPropsSchema } from "./schema.mjs";
|
|
3
|
+
import { VideoDetailInfoClient } from "./client.mjs";
|
|
4
|
+
import { VideoDetailInfo } from "./server.mjs";
|
|
5
|
+
import { videoDetailInfoMaterial } from "./material.mjs";
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
import { VideoDetailInfoClient } from "./client.mjs";
|
|
3
|
+
import { VideoDetailInfo } from "./server.mjs";
|
|
4
|
+
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
5
|
+
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
6
|
+
import "../../../../../utils.mjs";
|
|
7
|
+
import * as zod from "zod";
|
|
8
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
9
|
+
|
|
2
10
|
//#region components/biz/business/detail/video-detail-info/material.d.ts
|
|
3
|
-
declare const videoDetailInfoMaterial:
|
|
11
|
+
declare const videoDetailInfoMaterial: DefineMaterialOption<typeof VideoDetailInfo, typeof VideoDetailInfoClient, zod.ZodObject<{
|
|
12
|
+
showTags: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
+
showEpisodes: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
14
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
|
+
renderer: "renderer";
|
|
16
|
+
editor: "editor";
|
|
17
|
+
}>>;
|
|
18
|
+
}, zod_v4_core0.$strip>, "video-detail-info", "内容组件">;
|
|
4
19
|
//#endregion
|
|
5
20
|
export { videoDetailInfoMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{VideoDetailInfoClient as t}from"./client.mjs";import{videoDetailInfoInspectorPropsSchema as n}from"./schema.mjs";import{VideoDetailInfo as r}from"./server.mjs";const i=e({type:`video-detail-info`,name:`专辑信息样式1`,icon:`/static/components-thumb/media_info_description_episode.png`,category:`内容组件`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as videoDetailInfoMaterial};
|
|
@@ -1,2 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps } from "
|
|
2
|
+
import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../../utils.mjs";
|
|
4
|
+
import * as zod from "zod";
|
|
5
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
|
+
|
|
7
|
+
//#region components/biz/business/detail/video-detail-info/schema.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* 媒体信息-简介&选集物料暂不对外开放配置。
|
|
10
|
+
*/
|
|
11
|
+
declare const videoDetailInfoInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
+
showTags: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
+
showEpisodes: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
14
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
|
+
renderer: "renderer";
|
|
16
|
+
editor: "editor";
|
|
17
|
+
}>>;
|
|
18
|
+
}, zod_v4_core0.$strip>;
|
|
19
|
+
type VideoDetailInfoInspectorProps = InferSchemaProps<typeof videoDetailInfoInspectorPropsSchema>;
|
|
20
|
+
/** 媒体信息-简介&选集物料 props。 */
|
|
21
|
+
type VideoDetailInfoProps = VideoDetailInfoInspectorProps;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { VideoDetailInfoInspectorProps, VideoDetailInfoProps, videoDetailInfoInspectorPropsSchema };
|
|
@@ -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"../../../../../utils/schema/schema.mjs";const r=e({showTags:t({label:`显示标签`,defaultValue:!1}),showEpisodes:t({label:`显示选集`,defaultValue:!1})});n(r);export{r as videoDetailInfoInspectorPropsSchema};
|
|
@@ -1,3 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
2
|
+
import { VideoDetailInfoProps } from "./schema.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/detail/video-detail-info/server.d.ts
|
|
6
|
+
interface VideoDetailInfoServerProps extends VideoDetailInfoProps {
|
|
7
|
+
detailId?: string;
|
|
8
|
+
currentSeriesNum?: number;
|
|
9
|
+
__route?: unknown;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 媒体信息-简介&选集物料服务端组件。
|
|
13
|
+
*/
|
|
14
|
+
declare function VideoDetailInfo(props: VideoDetailInfoServerProps): Promise<react_jsx_runtime0.JSX.Element>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { VideoDetailInfo };
|
package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/client.d.mts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
2
|
+
import { VideoDetailInfoTitleTagsEpisodesProps } from "./schema.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/detail/video-detail-info-title-tags-episodes/client.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* 媒体信息-选集物料客户端组件。
|
|
8
|
+
*/
|
|
9
|
+
declare function VideoDetailInfoTitleTagsEpisodesClient({
|
|
10
|
+
showTags,
|
|
11
|
+
showEpisodes,
|
|
12
|
+
mode
|
|
13
|
+
}: VideoDetailInfoTitleTagsEpisodesProps): react_jsx_runtime0.JSX.Element | null;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { VideoDetailInfoTitleTagsEpisodesClient };
|
package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "./client.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
2
|
+
import { VideoDetailInfoTitleTagsEpisodesInspectorProps, VideoDetailInfoTitleTagsEpisodesProps, videoDetailInfoTitleTagsEpisodesInspectorPropsSchema } from "./schema.mjs";
|
|
3
|
+
import { VideoDetailInfoTitleTagsEpisodesClient } from "./client.mjs";
|
|
4
|
+
import { VideoDetailInfoTitleTagsEpisodes } from "./server.mjs";
|
|
5
|
+
import { videoDetailInfoTitleTagsEpisodesMaterial } from "./material.mjs";
|
package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.d.mts
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
import { VideoDetailInfoTitleTagsEpisodesClient } from "./client.mjs";
|
|
3
|
+
import { VideoDetailInfoTitleTagsEpisodes } from "./server.mjs";
|
|
4
|
+
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
5
|
+
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
6
|
+
import "../../../../../utils.mjs";
|
|
7
|
+
import * as zod from "zod";
|
|
8
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
9
|
+
|
|
2
10
|
//#region components/biz/business/detail/video-detail-info-title-tags-episodes/material.d.ts
|
|
3
|
-
declare const videoDetailInfoTitleTagsEpisodesMaterial:
|
|
11
|
+
declare const videoDetailInfoTitleTagsEpisodesMaterial: DefineMaterialOption<typeof VideoDetailInfoTitleTagsEpisodes, typeof VideoDetailInfoTitleTagsEpisodesClient, zod.ZodObject<{
|
|
12
|
+
showTags: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
+
showEpisodes: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
14
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
|
+
renderer: "renderer";
|
|
16
|
+
editor: "editor";
|
|
17
|
+
}>>;
|
|
18
|
+
}, zod_v4_core0.$strip>, "video-detail-info-title-tags-episodes", "内容组件">;
|
|
4
19
|
//#endregion
|
|
5
20
|
export { videoDetailInfoTitleTagsEpisodesMaterial };
|
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{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{VideoDetailInfoTitleTagsEpisodesClient as t}from"./client.mjs";import{videoDetailInfoTitleTagsEpisodesInspectorPropsSchema as n}from"./schema.mjs";import{VideoDetailInfoTitleTagsEpisodes as r}from"./server.mjs";const i=e({type:`video-detail-info-title-tags-episodes`,name:`专辑信息样式2`,icon:`/static/components-thumb/media_info_episode_list.png`,category:`内容组件`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as videoDetailInfoTitleTagsEpisodesMaterial};
|
package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.d.mts
CHANGED
|
@@ -1,2 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps } from "
|
|
2
|
+
import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../../utils.mjs";
|
|
4
|
+
import * as zod from "zod";
|
|
5
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
|
+
|
|
7
|
+
//#region components/biz/business/detail/video-detail-info-title-tags-episodes/schema.d.ts
|
|
8
|
+
/**
|
|
9
|
+
* 媒体信息-选集物料暂不对外开放配置。
|
|
10
|
+
*/
|
|
11
|
+
declare const videoDetailInfoTitleTagsEpisodesInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
+
showTags: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
13
|
+
showEpisodes: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
14
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
|
+
renderer: "renderer";
|
|
16
|
+
editor: "editor";
|
|
17
|
+
}>>;
|
|
18
|
+
}, zod_v4_core0.$strip>;
|
|
19
|
+
type VideoDetailInfoTitleTagsEpisodesInspectorProps = InferSchemaProps<typeof videoDetailInfoTitleTagsEpisodesInspectorPropsSchema>;
|
|
20
|
+
/** 媒体信息-选集物料 props。 */
|
|
21
|
+
type VideoDetailInfoTitleTagsEpisodesProps = VideoDetailInfoTitleTagsEpisodesInspectorProps;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { VideoDetailInfoTitleTagsEpisodesInspectorProps, VideoDetailInfoTitleTagsEpisodesProps, videoDetailInfoTitleTagsEpisodesInspectorPropsSchema };
|
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"../../../../../utils/schema/schema.mjs";const r=e({showTags:t({label:`显示标签`,defaultValue:!0}),showEpisodes:t({label:`显示选集`,defaultValue:!0})});n(r);export{r as videoDetailInfoTitleTagsEpisodesInspectorPropsSchema};
|
package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/server.d.mts
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
2
|
+
import { VideoDetailInfoTitleTagsEpisodesProps } from "./schema.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/detail/video-detail-info-title-tags-episodes/server.d.ts
|
|
6
|
+
interface VideoDetailInfoTitleTagsEpisodesServerProps extends VideoDetailInfoTitleTagsEpisodesProps {
|
|
7
|
+
detailId?: string;
|
|
8
|
+
currentSeriesNum?: number;
|
|
9
|
+
__route?: unknown;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 媒体信息-选集物料服务端组件。
|
|
13
|
+
*/
|
|
14
|
+
declare function VideoDetailInfoTitleTagsEpisodes(props: VideoDetailInfoTitleTagsEpisodesServerProps): Promise<react_jsx_runtime0.JSX.Element>;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { VideoDetailInfoTitleTagsEpisodes };
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
2
|
+
import { VideoDetailPlayerProps } from "./schema.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/detail/video-detail-player/client.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* 视频播放器物料客户端组件。
|
|
8
|
+
*/
|
|
9
|
+
declare function VideoDetailPlayerClient({
|
|
10
|
+
mode,
|
|
11
|
+
children
|
|
12
|
+
}: VideoDetailPlayerProps): react_jsx_runtime0.JSX.Element;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { VideoDetailPlayerClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "./client.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
2
|
+
import { VideoDetailPlayerInspectorProps, VideoDetailPlayerProps, videoDetailPlayerInspectorPropsSchema } from "./schema.mjs";
|
|
3
|
+
import { VideoDetailPlayerClient } from "./client.mjs";
|
|
4
|
+
import { VideoDetailPlayer } from "./server.mjs";
|
|
5
|
+
import { videoDetailPlayerMaterial } from "./material.mjs";
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
|
|
2
|
+
import { VideoDetailPlayerClient } from "./client.mjs";
|
|
3
|
+
import { VideoDetailPlayer } from "./server.mjs";
|
|
4
|
+
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
5
|
+
import "../../../../../utils.mjs";
|
|
6
|
+
import * as zod from "zod";
|
|
7
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
8
|
+
|
|
2
9
|
//#region components/biz/business/detail/video-detail-player/material.d.ts
|
|
3
|
-
declare const videoDetailPlayerMaterial:
|
|
10
|
+
declare const videoDetailPlayerMaterial: DefineMaterialOption<typeof VideoDetailPlayer, typeof VideoDetailPlayerClient, zod.ZodObject<{
|
|
11
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
12
|
+
renderer: "renderer";
|
|
13
|
+
editor: "editor";
|
|
14
|
+
}>>;
|
|
15
|
+
}, zod_v4_core0.$strip>, "video-detail-player", "视频模块">;
|
|
4
16
|
//#endregion
|
|
5
17
|
export { videoDetailPlayerMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{VideoDetailPlayerClient as t}from"./client.mjs";import{videoDetailPlayerInspectorPropsSchema as n}from"./schema.mjs";import{VideoDetailPlayer as r}from"./server.mjs";const i=e({type:`video-detail-player`,name:`视频播放器`,icon:`/static/components-thumb/video_player.png`,category:`视频模块`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as videoDetailPlayerMaterial};
|
|
@@ -1,3 +1,24 @@
|
|
|
1
1
|
|
|
2
|
+
import { InferSchemaProps } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../../utils.mjs";
|
|
2
4
|
import { ReactNode } from "react";
|
|
3
|
-
import
|
|
5
|
+
import * as zod from "zod";
|
|
6
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
7
|
+
|
|
8
|
+
//#region components/biz/business/detail/video-detail-player/schema.d.ts
|
|
9
|
+
/**
|
|
10
|
+
* 播放器物料暂不对外开放配置。
|
|
11
|
+
*/
|
|
12
|
+
declare const videoDetailPlayerInspectorPropsSchema: zod.ZodObject<{
|
|
13
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
14
|
+
renderer: "renderer";
|
|
15
|
+
editor: "editor";
|
|
16
|
+
}>>;
|
|
17
|
+
}, zod_v4_core0.$strip>;
|
|
18
|
+
type VideoDetailPlayerInspectorProps = InferSchemaProps<typeof videoDetailPlayerInspectorPropsSchema>;
|
|
19
|
+
/** 播放器物料 props。 */
|
|
20
|
+
interface VideoDetailPlayerProps extends VideoDetailPlayerInspectorProps {
|
|
21
|
+
children?: ReactNode;
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { VideoDetailPlayerInspectorProps, VideoDetailPlayerProps, videoDetailPlayerInspectorPropsSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"
|
|
2
|
+
import{defineComponentPropsSchema as e,getSchemaDefaultProps as t}from"../../../../../utils/schema/schema.mjs";const n=e({});t(n);export{n as videoDetailPlayerInspectorPropsSchema};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
2
|
+
import { VideoDetailPlayerProps } from "./schema.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/detail/video-detail-player/server.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* 视频播放器物料服务端组件。
|
|
8
|
+
*/
|
|
9
|
+
declare function VideoDetailPlayer(props: VideoDetailPlayerProps): react_jsx_runtime0.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { VideoDetailPlayer };
|
|
@@ -1,3 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
2
|
+
import { VideoDetailRecommendProps } from "./schema.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/detail/video-detail-recommend/client.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* 推荐模块客户端组件。
|
|
8
|
+
*/
|
|
9
|
+
declare function VideoDetailRecommendClient({
|
|
10
|
+
rows,
|
|
11
|
+
columns,
|
|
12
|
+
smartTagEnabled,
|
|
13
|
+
smartTagIds,
|
|
14
|
+
title,
|
|
15
|
+
showPlayCount,
|
|
16
|
+
playCountDelta,
|
|
17
|
+
showEpisode,
|
|
18
|
+
enableInfinite,
|
|
19
|
+
items,
|
|
20
|
+
mode
|
|
21
|
+
}: VideoDetailRecommendProps): react_jsx_runtime0.JSX.Element | null;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { VideoDetailRecommendClient };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "./client.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
2
|
+
import { VideoDetailRecommendInspectorProps, VideoDetailRecommendProps, videoDetailRecommendInspectorPropsSchema } from "./schema.mjs";
|
|
3
|
+
import { VideoDetailRecommendClient } from "./client.mjs";
|
|
4
|
+
import { VideoDetailRecommend } from "./server.mjs";
|
|
5
|
+
import { videoDetailRecommendMaterial } from "./material.mjs";
|
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
|
|
2
|
+
import { VideoDetailRecommendClient } from "./client.mjs";
|
|
3
|
+
import { VideoDetailRecommend } from "./server.mjs";
|
|
4
|
+
import { SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
5
|
+
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
6
|
+
import "../../../../../utils.mjs";
|
|
7
|
+
import * as zod from "zod";
|
|
8
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
9
|
+
|
|
2
10
|
//#region components/biz/business/detail/video-detail-recommend/material.d.ts
|
|
3
|
-
declare const videoDetailRecommendMaterial:
|
|
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;
|
|
20
|
+
smartTagIds: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
21
|
+
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
22
|
+
contentId: zod.ZodString;
|
|
23
|
+
coverMode: zod.ZodOptional<zod.ZodEnum<{
|
|
24
|
+
content: "content";
|
|
25
|
+
upload: "upload";
|
|
26
|
+
}>>;
|
|
27
|
+
coverUrl: zod.ZodOptional<zod.ZodString>;
|
|
28
|
+
titleMode: zod.ZodOptional<zod.ZodEnum<{
|
|
29
|
+
content: "content";
|
|
30
|
+
custom: "custom";
|
|
31
|
+
}>>;
|
|
32
|
+
title: zod.ZodOptional<zod.ZodString>;
|
|
33
|
+
description: zod.ZodOptional<zod.ZodString>;
|
|
34
|
+
showPlayCount: zod.ZodOptional<zod.ZodBoolean>;
|
|
35
|
+
playCountDelta: zod.ZodOptional<zod.ZodNumber>;
|
|
36
|
+
showEpisode: zod.ZodOptional<zod.ZodBoolean>;
|
|
37
|
+
}, zod_v4_core0.$strip>>>;
|
|
38
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
39
|
+
renderer: "renderer";
|
|
40
|
+
editor: "editor";
|
|
41
|
+
}>>;
|
|
42
|
+
}, zod_v4_core0.$strip>, "video-detail-recommend", "详情页">;
|
|
4
43
|
//#endregion
|
|
5
44
|
export { videoDetailRecommendMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{VideoDetailRecommendClient as t}from"./client.mjs";import{videoDetailRecommendInspectorPropsSchema as n}from"./schema.mjs";import{VideoDetailRecommend as r}from"./server.mjs";const i=e({type:`video-detail-recommend`,name:`详情页-推荐模块`,icon:`/static/components-thumb/video_guess_you_like.png`,category:`详情页`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as videoDetailRecommendMaterial};
|
|
@@ -1,2 +1,43 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps } from "
|
|
2
|
+
import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../../utils.mjs";
|
|
4
|
+
import z$1 from "zod";
|
|
5
|
+
|
|
6
|
+
//#region components/biz/business/detail/video-detail-recommend/schema.d.ts
|
|
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;
|
|
16
|
+
smartTagIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
17
|
+
items: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
18
|
+
contentId: z$1.ZodString;
|
|
19
|
+
coverMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
20
|
+
content: "content";
|
|
21
|
+
upload: "upload";
|
|
22
|
+
}>>;
|
|
23
|
+
coverUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
24
|
+
titleMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
25
|
+
content: "content";
|
|
26
|
+
custom: "custom";
|
|
27
|
+
}>>;
|
|
28
|
+
title: z$1.ZodOptional<z$1.ZodString>;
|
|
29
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
30
|
+
showPlayCount: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
31
|
+
playCountDelta: z$1.ZodOptional<z$1.ZodNumber>;
|
|
32
|
+
showEpisode: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
33
|
+
}, z$1.core.$strip>>>;
|
|
34
|
+
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
35
|
+
renderer: "renderer";
|
|
36
|
+
editor: "editor";
|
|
37
|
+
}>>;
|
|
38
|
+
}, z$1.core.$strip>;
|
|
39
|
+
type VideoDetailRecommendInspectorProps = InferSchemaProps<typeof videoDetailRecommendInspectorPropsSchema>;
|
|
40
|
+
/** 推荐模块物料 props。 */
|
|
41
|
+
type VideoDetailRecommendProps = VideoDetailRecommendInspectorProps;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { VideoDetailRecommendInspectorProps, VideoDetailRecommendProps, videoDetailRecommendInspectorPropsSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
2
|
+
import{defineComponentPropsSchema as e,defineNumberPropSchema as t,defineSwitchPropSchema as n,defineTextPropSchema as r,getSchemaDefaultProps as i}from"../../../../../utils/schema/schema.mjs";import a from"zod";const o=e({rows:t({label:`行数`,defaultValue:1}),columns:t({label:`列数`,defaultValue:2}),smartTagEnabled:n({label:`智能铺设`,defaultValue:!1}),title:r({label:`推荐位名称`,defaultValue:`猜你喜欢`}),showPlayCount:n({label:`显示播放量`,defaultValue:!0}),playCountDelta:t({label:`播放量浮动`,defaultValue:0}),showEpisode:n({label:`显示集数`,defaultValue:!0}),enableInfinite:n({label:`无限下拉`,defaultValue:!1}),smartTagIds:a.array(a.string()).optional(),items:a.array(a.object({contentId:a.string(),coverMode:a.enum([`upload`,`content`]).optional(),coverUrl:a.string().optional(),titleMode:a.enum([`custom`,`content`]).optional(),title:a.string().optional(),description:a.string().optional(),showPlayCount:a.boolean().optional(),playCountDelta:a.number().optional(),showEpisode:a.boolean().optional()})).optional()});({...i(o)});export{o as videoDetailRecommendInspectorPropsSchema};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
import "./schema.mjs";
|
|
3
|
-
import "react/jsx-runtime";
|
|
2
|
+
import { VideoDetailRecommendProps } from "./schema.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/detail/video-detail-recommend/server.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* 推荐模块服务端组件。
|
|
8
|
+
*/
|
|
9
|
+
declare function VideoDetailRecommend(props: VideoDetailRecommendProps): react_jsx_runtime0.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { VideoDetailRecommend };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { FloatingBallInspectorProps, floatingBallInspectorDefaultProps, floatingBallInspectorPropsSchema } from "./schema.mjs";
|
|
3
3
|
import { FloatingBallClient, FloatingBallClientProps } from "./client.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { FloatingBall } from "./server.mjs";
|
|
5
|
+
import { floatingBallMaterial } from "./material.mjs";
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
|
+
import { DefineMaterialOption } from "../../../../utils/schema/material.mjs";
|
|
4
|
+
import "../../../../utils.mjs";
|
|
5
|
+
import { FloatingBallClient } from "./client.mjs";
|
|
6
|
+
import { FloatingBall } from "./server.mjs";
|
|
7
|
+
import * as zod from "zod";
|
|
8
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
9
|
+
|
|
2
10
|
//#region components/biz/business/floating-ball/material.d.ts
|
|
3
|
-
declare const floatingBallMaterial:
|
|
11
|
+
declare const floatingBallMaterial: DefineMaterialOption<typeof FloatingBall, typeof FloatingBallClient, zod.ZodObject<{
|
|
12
|
+
icon: zod.ZodString & SchemaHasDefaultValue;
|
|
13
|
+
href: zod.ZodString & SchemaHasDefaultValue;
|
|
14
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
|
+
renderer: "renderer";
|
|
16
|
+
editor: "editor";
|
|
17
|
+
}>>;
|
|
18
|
+
}, zod_v4_core0.$strip>, "floating-ball", "内容组件">;
|
|
4
19
|
//#endregion
|
|
5
20
|
export { floatingBallMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{FloatingBallClient as t}from"./client.mjs";import{floatingBallInspectorPropsSchema as n}from"./schema.mjs";import{FloatingBall as r}from"./server.mjs";const i=e({type:`floating-ball`,name:`悬浮球`,icon:`/static/components-thumb/floating_action_button.png`,category:`内容组件`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as floatingBallMaterial};
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps } from "
|
|
2
|
+
import { InferSchemaProps, SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../utils.mjs";
|
|
4
|
+
import * as zod from "zod";
|
|
5
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
3
6
|
|
|
4
7
|
//#region components/biz/business/floating-ball/schema.d.ts
|
|
5
8
|
/**
|
|
6
9
|
* 悬浮球物料:图片链接 + 跳转链接。
|
|
7
10
|
*/
|
|
8
|
-
declare const floatingBallInspectorPropsSchema:
|
|
9
|
-
|
|
11
|
+
declare const floatingBallInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
+
icon: zod.ZodString & SchemaHasDefaultValue;
|
|
13
|
+
href: zod.ZodString & SchemaHasDefaultValue;
|
|
14
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
|
+
renderer: "renderer";
|
|
16
|
+
editor: "editor";
|
|
17
|
+
}>>;
|
|
18
|
+
}, zod_v4_core0.$strip>;
|
|
19
|
+
declare const floatingBallInspectorDefaultProps: {
|
|
20
|
+
icon: string;
|
|
21
|
+
href: string;
|
|
22
|
+
};
|
|
10
23
|
type FloatingBallInspectorProps = InferSchemaProps<typeof floatingBallInspectorPropsSchema>;
|
|
11
24
|
//#endregion
|
|
12
25
|
export { FloatingBallInspectorProps, floatingBallInspectorDefaultProps, floatingBallInspectorPropsSchema };
|
|
@@ -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"../../../../utils/schema/schema.mjs";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};
|