@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,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
2
|
+
import e from"./client.mjs";import{homeRecommendWaterfallInspectorPropsSchema as t}from"./inspector-schema.mjs";import{HomeRecommendWaterfall as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`home-recommend-waterfall`,name:`瀑布流`,icon:`/static/components-thumb/grid_waterfall_two_column.png`,category:`内容组件`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as homeRecommendWaterfallMaterial};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps } from "../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../utils/schema/index.mjs";
|
|
4
2
|
import { imageTextRecommendInspectorPropsSchema } from "./schema.mjs";
|
|
5
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
6
5
|
|
|
7
6
|
//#region components/biz/business/image-text-recommend/client.d.ts
|
|
8
7
|
type ImageTextRecommendProps = InferSchemaProps<typeof imageTextRecommendInspectorPropsSchema>;
|
|
@@ -1,38 +1,36 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
|
-
import { DefineMaterialOption } from "../../../../utils/schema/material.mjs";
|
|
4
2
|
import { ImageTextRecommendClient } from "./client.mjs";
|
|
5
|
-
import "../../../../utils.mjs";
|
|
6
3
|
import { ImageTextRecommendServer } 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/image-text-recommend/material.d.ts
|
|
11
9
|
/**
|
|
12
10
|
* 图文推荐物料定义
|
|
13
11
|
*/
|
|
14
|
-
declare const imageTextRecommendMaterial: DefineMaterialOption<typeof ImageTextRecommendServer, typeof ImageTextRecommendClient, zod.ZodObject<{
|
|
15
|
-
title: zod.ZodString & SchemaHasDefaultValue;
|
|
16
|
-
moduleCount: zod.ZodNumber & SchemaHasDefaultValue;
|
|
12
|
+
declare const imageTextRecommendMaterial: create_funhub_sdk0.DefineMaterialOption<typeof ImageTextRecommendServer, typeof ImageTextRecommendClient, zod.ZodObject<{
|
|
13
|
+
title: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
|
+
moduleCount: zod.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
17
15
|
layout: zod.ZodObject<{
|
|
18
|
-
readonly enabled: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
19
|
-
readonly tags: zod.ZodArray<zod.ZodString> & SchemaHasDefaultValue;
|
|
16
|
+
readonly enabled: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
17
|
+
readonly tags: zod.ZodArray<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
20
18
|
}, zod_v4_core0.$strip> | zod.ZodOptional<zod.ZodObject<{
|
|
21
|
-
readonly enabled: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
22
|
-
readonly tags: zod.ZodArray<zod.ZodString> & SchemaHasDefaultValue;
|
|
19
|
+
readonly enabled: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
20
|
+
readonly tags: zod.ZodArray<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
23
21
|
}, zod_v4_core0.$strip>>;
|
|
24
|
-
commonPlayCount: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
25
|
-
commonEpisodes: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
22
|
+
commonPlayCount: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
23
|
+
commonEpisodes: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
26
24
|
items: zod.ZodArray<zod.ZodObject<{
|
|
27
|
-
contentId: zod.ZodString & SchemaHasDefaultValue;
|
|
28
|
-
title: zod.ZodString & SchemaHasDefaultValue;
|
|
29
|
-
contentDescription: zod.ZodString & SchemaHasDefaultValue;
|
|
30
|
-
cover: zod.ZodString & SchemaHasDefaultValue;
|
|
31
|
-
useVideoPoster: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
32
|
-
showPlayCount: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
33
|
-
showEpisodes: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
34
|
-
badge: zod.ZodString & SchemaHasDefaultValue;
|
|
35
|
-
}, zod_v4_core0.$strip>> & SchemaHasDefaultValue;
|
|
25
|
+
contentId: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
26
|
+
title: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
27
|
+
contentDescription: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
28
|
+
cover: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
29
|
+
useVideoPoster: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
30
|
+
showPlayCount: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
31
|
+
showEpisodes: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
32
|
+
badge: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
33
|
+
}, zod_v4_core0.$strip>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
36
34
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
37
35
|
renderer: "renderer";
|
|
38
36
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{ImageTextRecommendClient as e}from"./client.mjs";import{imageTextRecommendInspectorPropsSchema as t}from"./schema.mjs";import{ImageTextRecommendServer as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`image-text-recommend`,name:`图文推荐`,icon:`/static/components-thumb/search_recommend_media.png`,category:`内容组件`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as imageTextRecommendMaterial};
|
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../utils/schema/index.mjs";
|
|
4
2
|
import { z } from "zod";
|
|
3
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
5
4
|
|
|
6
5
|
//#region components/biz/business/image-text-recommend/schema.d.ts
|
|
7
6
|
/**
|
|
8
7
|
* 图文推荐物料属性定义
|
|
9
8
|
*/
|
|
10
9
|
declare const imageTextRecommendInspectorPropsSchema: z.ZodObject<{
|
|
11
|
-
title: z.ZodString & SchemaHasDefaultValue;
|
|
12
|
-
moduleCount: z.ZodNumber & SchemaHasDefaultValue;
|
|
10
|
+
title: z.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
moduleCount: z.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
13
12
|
layout: z.ZodObject<{
|
|
14
|
-
readonly enabled: z.ZodBoolean & SchemaHasDefaultValue;
|
|
15
|
-
readonly tags: z.ZodArray<z.ZodString> & SchemaHasDefaultValue;
|
|
13
|
+
readonly enabled: z.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
|
+
readonly tags: z.ZodArray<z.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
16
15
|
}, z.core.$strip> | z.ZodOptional<z.ZodObject<{
|
|
17
|
-
readonly enabled: z.ZodBoolean & SchemaHasDefaultValue;
|
|
18
|
-
readonly tags: z.ZodArray<z.ZodString> & SchemaHasDefaultValue;
|
|
16
|
+
readonly enabled: z.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
17
|
+
readonly tags: z.ZodArray<z.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
19
18
|
}, z.core.$strip>>;
|
|
20
|
-
commonPlayCount: z.ZodBoolean & SchemaHasDefaultValue;
|
|
21
|
-
commonEpisodes: z.ZodBoolean & SchemaHasDefaultValue;
|
|
19
|
+
commonPlayCount: z.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
20
|
+
commonEpisodes: z.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
22
21
|
items: z.ZodArray<z.ZodObject<{
|
|
23
|
-
contentId: z.ZodString & SchemaHasDefaultValue;
|
|
24
|
-
title: z.ZodString & SchemaHasDefaultValue;
|
|
25
|
-
contentDescription: z.ZodString & SchemaHasDefaultValue;
|
|
26
|
-
cover: z.ZodString & SchemaHasDefaultValue;
|
|
27
|
-
useVideoPoster: z.ZodBoolean & SchemaHasDefaultValue;
|
|
28
|
-
showPlayCount: z.ZodBoolean & SchemaHasDefaultValue;
|
|
29
|
-
showEpisodes: z.ZodBoolean & SchemaHasDefaultValue;
|
|
30
|
-
badge: z.ZodString & SchemaHasDefaultValue;
|
|
31
|
-
}, z.core.$strip>> & SchemaHasDefaultValue;
|
|
22
|
+
contentId: z.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
23
|
+
title: z.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
24
|
+
contentDescription: z.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
25
|
+
cover: z.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
26
|
+
useVideoPoster: z.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
27
|
+
showPlayCount: z.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
28
|
+
showEpisodes: z.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
29
|
+
badge: z.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
30
|
+
}, z.core.$strip>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
32
31
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
33
32
|
renderer: "renderer";
|
|
34
33
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{z as e}from"zod";import{defineArrayItemPropSchema as t,defineComponentPropsSchema as n,defineNumberPropSchema as r,defineObjectPropSchema as i,defineSwitchPropSchema as a,defineTextPropSchema as o}from"create-funhub/sdk";const s=e.object({contentId:o({label:`推荐位内容`,defaultValue:``}),title:o({label:`推荐位内容名称`,defaultValue:`视频标题`}),contentDescription:o({label:`内容说明简介`,defaultValue:``}),cover:o({label:`推荐位封面`,defaultValue:``}),useVideoPoster:a({label:`沿用视频海报`,defaultValue:!0}),showPlayCount:a({label:`播放量显示`,defaultValue:!1}),showEpisodes:a({label:`集数展示`,defaultValue:!0}),badge:o({label:`推荐位角标`,defaultValue:``,description:`角标图片地址,可通过低代码平台配置上传;留空则使用默认角标图`})}),c=n({title:o({label:`推荐位名称`,defaultValue:`推荐视频`}),moduleCount:r({label:`推荐模块数`,defaultValue:1}),layout:i({enabled:a({label:`智能铺设`,defaultValue:!1}),tags:t(e.string(),{label:`取数范围标签`,defaultValue:[`电影`]})},{label:`智能铺设`,defaultValue:{enabled:!1,tags:[`电影`]}}),commonPlayCount:a({label:`通用播放量`,defaultValue:!0}),commonEpisodes:a({label:`通用集数`,defaultValue:!0}),items:t(s,{label:`推荐位模块`,defaultValue:[{contentId:`d6a35ba3279e6f0d`,title:`视频标题 1`,contentDescription:``,cover:``,useVideoPoster:!0,showPlayCount:!0,showEpisodes:!0,badge:``},{contentId:`eaf60eab4938489d`,title:`视频标题 2`,contentDescription:``,cover:``,useVideoPoster:!0,showPlayCount:!0,showEpisodes:!0,badge:``},{contentId:`c45fe58f91d1c986`,title:`视频标题 3`,contentDescription:``,cover:``,useVideoPoster:!0,showPlayCount:!0,showEpisodes:!0,badge:``}]})});export{c as imageTextRecommendInspectorPropsSchema};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { DefineMaterialOption, MaterialCategory } from "../../../../utils/schema/material.mjs";
|
|
3
2
|
import * as react from "react";
|
|
4
3
|
import * as zod from "zod";
|
|
4
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
5
5
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
6
|
|
|
7
7
|
//#region components/biz/business/large-feature-grid/material.d.ts
|
|
8
|
-
declare const largeFeatureGridMaterial: DefineMaterialOption<react.ComponentType<any>, react.ComponentType<any>, zod.ZodObject<Readonly<{
|
|
8
|
+
declare const largeFeatureGridMaterial: create_funhub_sdk0.DefineMaterialOption<react.ComponentType<any>, react.ComponentType<any>, zod.ZodObject<Readonly<{
|
|
9
9
|
[k: string]: zod_v4_core0.$ZodType<unknown, unknown, zod_v4_core0.$ZodTypeInternals<unknown, unknown>>;
|
|
10
|
-
}>, zod_v4_core0.$strip>, string, MaterialCategory>;
|
|
10
|
+
}>, zod_v4_core0.$strip>, string, create_funhub_sdk0.MaterialCategory>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { largeFeatureGridMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{largeFeatureGridInspectorPropsSchema as e}from"./schema.mjs";import{LargeFeatureGridClient as t}from"./client.mjs";import{LargeFeatureGrid as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`large-feature-grid`,name:`大图推荐`,icon:`/static/components-thumb/grid_large_feature.png`,category:`内容组件`,serverComponent:n,clientComponent:t,propsSchema:e});export{i as largeFeatureGridMaterial};
|
|
@@ -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({data:t(e.object({title:i({label:`推荐位名称`,required:!1}),moreUrl:i({label:`更多链接`,required:!1}),moreLinkType:i({label:`更多链接类型`,required:!1,defaultValue:`content-list`}),items:n({id:i({label:`内容ID`}),cover:i({label:`封面`}),play_count:i({label:`播放量`,required:!1}),showPlayCount:r({label:`展示播放量`,required:!1,defaultValue:!0}),episodeText:i({label:`集数文案`,required:!1}),showEpisode:r({label:`展示集数`,required:!1,defaultValue:!0}),useContentCover:r({label:`沿用内容海报`,required:!1,defaultValue:!0}),title:i({label:`内容标题`}),desc:i({label:`内容简介`,required:!1}),tagImageUrl:i({label:`角标图`,required:!1})})}),{label:`大图推荐数据`,required:!1,defaultValue:[{title:`推荐位名称`,moreUrl:`/channel`,moreLinkType:`content-list`,items:{id:`22edc8693ebbdaf1`,cover:`https://base-resources.guadd.fun/md-204/dcc-file/f7/f70a9f9f0c17aa9aff6c3a3e03a822db-small.jpg`,play_count:`11111`,showPlayCount:!0,episodeText:`连载中`,showEpisode:!0,useContentCover:!0,title:`穷小伙一睁眼穿越古代,娶个老婆就能得到奖励,后宫3000宠都宠不过来!谁料女帝主动送上门来,征服女帝可以直接开终极宝箱,不用选择全都可以!`,desc:`穷小伙一睁眼穿越古代,娶个老婆就能得到奖励,后宫3000宠都宠不过来!谁料女帝主动送上门来,征服女帝可以直接开终极宝箱,不用选择全都可以!`}}]})}),s=a(o);export{s as largeFeatureGridInspectorDefaultProps,o as largeFeatureGridInspectorPropsSchema};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps } from "../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../utils/schema/index.mjs";
|
|
4
2
|
import { marqueeInspectorPropsSchema } from "./schema.mjs";
|
|
5
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
6
5
|
|
|
7
6
|
//#region components/biz/business/marquee/client.d.ts
|
|
8
7
|
type MarqueeProps = InferSchemaProps<typeof marqueeInspectorPropsSchema>;
|
|
@@ -1,37 +1,35 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
|
-
import { DefineMaterialOption } from "../../../../utils/schema/material.mjs";
|
|
4
|
-
import "../../../../utils.mjs";
|
|
5
2
|
import { MarqueeClient } from "./client.mjs";
|
|
6
3
|
import { MarqueeServer } 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/marquee/material.d.ts
|
|
11
9
|
/**
|
|
12
10
|
* 跑马灯物料定义
|
|
13
11
|
*/
|
|
14
|
-
declare const marqueeMaterial: DefineMaterialOption<typeof MarqueeServer, typeof MarqueeClient, zod.ZodObject<{
|
|
15
|
-
marqueeKey: zod.ZodString & SchemaHasDefaultValue;
|
|
12
|
+
declare const marqueeMaterial: create_funhub_sdk0.DefineMaterialOption<typeof MarqueeServer, typeof MarqueeClient, zod.ZodObject<{
|
|
13
|
+
marqueeKey: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
16
14
|
contents: zod.ZodArray<zod.ZodObject<{
|
|
17
|
-
text: zod.ZodString & SchemaHasDefaultValue;
|
|
18
|
-
link: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
19
|
-
}, zod_v4_core0.$strip>> & SchemaHasDefaultValue;
|
|
15
|
+
text: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
16
|
+
link: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
17
|
+
}, zod_v4_core0.$strip>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
20
18
|
click: zod.ZodObject<{
|
|
21
|
-
readonly enabled: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
22
|
-
readonly redirectType: zod.ZodOptional<zod.ZodType<"content" | "link" | "content_list", unknown, zod_v4_core0.$ZodTypeInternals<"content" | "link" | "content_list", unknown>>> & SchemaHasDefaultValue;
|
|
23
|
-
readonly link: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
24
|
-
}, zod_v4_core0.$strip> & SchemaHasDefaultValue;
|
|
19
|
+
readonly enabled: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
20
|
+
readonly redirectType: zod.ZodOptional<zod.ZodType<"content" | "link" | "content_list", unknown, zod_v4_core0.$ZodTypeInternals<"content" | "link" | "content_list", unknown>>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
21
|
+
readonly link: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
22
|
+
}, zod_v4_core0.$strip> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
25
23
|
close: zod.ZodObject<{
|
|
26
|
-
readonly enabled: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
27
|
-
}, zod_v4_core0.$strip> & SchemaHasDefaultValue;
|
|
24
|
+
readonly enabled: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
25
|
+
}, zod_v4_core0.$strip> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
28
26
|
displayStrategy: zod.ZodObject<{
|
|
29
|
-
readonly rule: zod.ZodType<"once" | "daily", unknown, zod_v4_core0.$ZodTypeInternals<"once" | "daily", unknown>> & SchemaHasDefaultValue;
|
|
27
|
+
readonly rule: zod.ZodType<"once" | "daily", unknown, zod_v4_core0.$ZodTypeInternals<"once" | "daily", unknown>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
30
28
|
readonly period: zod.ZodOptional<zod.ZodObject<{
|
|
31
29
|
readonly start: zod.ZodString;
|
|
32
30
|
readonly end: zod.ZodString;
|
|
33
|
-
}, zod_v4_core0.$strip>> & SchemaHasDefaultValue;
|
|
34
|
-
}, zod_v4_core0.$strip> & SchemaHasDefaultValue;
|
|
31
|
+
}, zod_v4_core0.$strip>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
32
|
+
}, zod_v4_core0.$strip> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
35
33
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
36
34
|
renderer: "renderer";
|
|
37
35
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{marqueeInspectorPropsSchema as e}from"./schema.mjs";import{MarqueeClient as t}from"./client.mjs";import{MarqueeServer as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`marquee`,name:`跑马灯`,icon:`/static/components-thumb/marquee_clickable_closable.png`,category:`内容组件`,serverComponent:n,clientComponent:t,propsSchema:e});export{i as marqueeMaterial};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../utils/schema/index.mjs";
|
|
4
2
|
import { z } from "zod";
|
|
3
|
+
import * as create_funhub_sdk0 from "create-funhub/sdk";
|
|
5
4
|
|
|
6
5
|
//#region components/biz/business/marquee/schema.d.ts
|
|
7
6
|
declare function getDefaultMarqueePeriod(): {
|
|
@@ -16,26 +15,26 @@ declare const defaultMarqueePeriod: {
|
|
|
16
15
|
* 跑马灯物料属性定义
|
|
17
16
|
*/
|
|
18
17
|
declare const marqueeInspectorPropsSchema: z.ZodObject<{
|
|
19
|
-
marqueeKey: z.ZodString & SchemaHasDefaultValue;
|
|
18
|
+
marqueeKey: z.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
20
19
|
contents: z.ZodArray<z.ZodObject<{
|
|
21
|
-
text: z.ZodString & SchemaHasDefaultValue;
|
|
22
|
-
link: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
|
|
23
|
-
}, z.core.$strip>> & SchemaHasDefaultValue;
|
|
20
|
+
text: z.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
21
|
+
link: z.ZodOptional<z.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
22
|
+
}, z.core.$strip>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
24
23
|
click: z.ZodObject<{
|
|
25
|
-
readonly enabled: z.ZodBoolean & SchemaHasDefaultValue;
|
|
26
|
-
readonly redirectType: z.ZodOptional<z.ZodType<"content" | "link" | "content_list", unknown, z.core.$ZodTypeInternals<"content" | "link" | "content_list", unknown>>> & SchemaHasDefaultValue;
|
|
27
|
-
readonly link: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
|
|
28
|
-
}, z.core.$strip> & SchemaHasDefaultValue;
|
|
24
|
+
readonly enabled: z.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
25
|
+
readonly redirectType: z.ZodOptional<z.ZodType<"content" | "link" | "content_list", unknown, z.core.$ZodTypeInternals<"content" | "link" | "content_list", unknown>>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
26
|
+
readonly link: z.ZodOptional<z.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
27
|
+
}, z.core.$strip> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
29
28
|
close: z.ZodObject<{
|
|
30
|
-
readonly enabled: z.ZodBoolean & SchemaHasDefaultValue;
|
|
31
|
-
}, z.core.$strip> & SchemaHasDefaultValue;
|
|
29
|
+
readonly enabled: z.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
30
|
+
}, z.core.$strip> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
32
31
|
displayStrategy: z.ZodObject<{
|
|
33
|
-
readonly rule: z.ZodType<"once" | "daily", unknown, z.core.$ZodTypeInternals<"once" | "daily", unknown>> & SchemaHasDefaultValue;
|
|
32
|
+
readonly rule: z.ZodType<"once" | "daily", unknown, z.core.$ZodTypeInternals<"once" | "daily", unknown>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
34
33
|
readonly period: z.ZodOptional<z.ZodObject<{
|
|
35
34
|
readonly start: z.ZodString;
|
|
36
35
|
readonly end: z.ZodString;
|
|
37
|
-
}, z.core.$strip>> & SchemaHasDefaultValue;
|
|
38
|
-
}, z.core.$strip> & SchemaHasDefaultValue;
|
|
36
|
+
}, z.core.$strip>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
37
|
+
}, z.core.$strip> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
39
38
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
40
39
|
renderer: "renderer";
|
|
41
40
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineArrayItemPropSchema as
|
|
2
|
+
import{z as e}from"zod";import t from"dayjs";import{defineArrayItemPropSchema as n,defineComponentPropsSchema as r,defineObjectPropSchema as i,defineSelectEnumPropSchema as a,defineSwitchPropSchema as o,defineTextPropSchema as s,defineTimeRangePropSchema as c}from"create-funhub/sdk";function l(){return{start:t().startOf(`day`).format(`YYYY-MM-DD HH:mm:ss`),end:t().endOf(`day`).format(`YYYY-MM-DD HH:mm:ss`)}}const u=l(),d=e.object({text:s({label:`文本内容`,defaultValue:``}),link:s({label:`跳转链接`,defaultValue:``,required:!1})}),f=r({marqueeKey:s({label:`状态唯一标识`,defaultValue:``,required:!0,description:`外部传入唯一 marqueeKey,用于本地展示状态持久化`}),contents:n(d,{label:`消息内容`,defaultValue:[{text:`请输入跑马灯内容`}],description:`支持多条消息循环播放`}),click:i({enabled:o({label:`支持点击`,defaultValue:!0}),redirectType:a([`content_list`,`content`,`link`],{label:`跳转指向`,defaultValue:`link`,required:!1}),link:s({label:`跳转链接`,defaultValue:``,required:!1})},{label:`点击配置`,defaultValue:{enabled:!0,redirectType:`link`,link:``}}),close:i({enabled:o({label:`支持关闭`,defaultValue:!0})},{label:`关闭配置`,defaultValue:{enabled:!0}}),displayStrategy:i({rule:a([`once`,`daily`],{label:`展示规则`,defaultValue:`once`,description:`「只展示1次」即当前消息只展示1次;「每天展示1次」即当前消息每天展示1次,0点刷新`}),period:c({label:`展示周期`,defaultValue:u,required:!1})},{label:`展示策略`,defaultValue:{rule:`once`,period:u}})});export{u as defaultMarqueePeriod,l as getDefaultMarqueePeriod,f as marqueeInspectorPropsSchema};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
3
2
|
import { UserProfileHeaderClient } from "./client.mjs";
|
|
4
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
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/profile/profile-header/material.d.ts
|
|
9
|
-
declare const profileHeaderMaterial: DefineMaterialOption<({
|
|
9
|
+
declare const profileHeaderMaterial: create_funhub_sdk0.DefineMaterialOption<({
|
|
10
10
|
mode,
|
|
11
11
|
...props
|
|
12
12
|
}: React.ComponentProps<typeof UserProfileHeaderClient>) => react_jsx_runtime0.JSX.Element, ({
|
|
@@ -18,7 +18,7 @@ declare const profileHeaderMaterial: DefineMaterialOption<({
|
|
|
18
18
|
editor: "editor";
|
|
19
19
|
}>>;
|
|
20
20
|
}, zod_v4_core0.$strip>, "profile-header", "内容组件">;
|
|
21
|
-
declare const profileHeaderMaterialWithDisabledBackground: DefineMaterialOption<({
|
|
21
|
+
declare const profileHeaderMaterialWithDisabledBackground: create_funhub_sdk0.DefineMaterialOption<({
|
|
22
22
|
mode,
|
|
23
23
|
...props
|
|
24
24
|
}: React.ComponentProps<typeof UserProfileHeaderClient>) => react_jsx_runtime0.JSX.Element, ({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{UserProfileHeaderClient as e}from"./client.mjs";import{profileHeaderInspectorPropsSchema as t}from"./schema.mjs";import{jsx as n}from"react/jsx-runtime";import{defineMaterial as r}from"create-funhub/sdk";function i(e){return e===`editor`?{id:void 0,requireLogin:!0,cookieToken:``,cookieUserId:``,token:``,currentUserId:``}:{}}const a=r({type:`profile-header`,category:`内容组件`,name:`用户信息模块(有背景图)`,icon:`/static/components-thumb/user_profile_with_background.png`,serverComponent:({mode:t=`renderer`,...r})=>n(e,{...r,...i(t),mode:t}),clientComponent:({mode:t=`renderer`,...r})=>n(e,{...r,...i(t),mode:t}),propsSchema:t}),o=r({type:`profile-header-with-disabled-background`,category:`内容组件`,name:`用户信息模块(无背景图)`,icon:`/static/components-thumb/user_profile_plain.png`,serverComponent:({mode:t=`renderer`,...r})=>n(e,{...r,...i(t),mode:t,enableCustomBackground:!1}),clientComponent:({mode:t=`renderer`,...r})=>n(e,{...r,...i(t),mode:t,enableCustomBackground:!1}),propsSchema:t});export{a as profileHeaderMaterial,o as profileHeaderMaterialWithDisabledBackground};
|
|
@@ -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/profile/profile-header/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({}),r=t(n);export{r as profileHeaderInspectorDefaultProps,n as profileHeaderInspectorPropsSchema};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
3
2
|
import { UserProfileMainClient } from "./client.mjs";
|
|
4
3
|
import { UserProfileMain } 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/profile/profile-main/material.d.ts
|
|
9
|
-
declare const profileMainMaterial: DefineMaterialOption<typeof UserProfileMain, typeof UserProfileMainClient, zod.ZodObject<{
|
|
9
|
+
declare const profileMainMaterial: create_funhub_sdk0.DefineMaterialOption<typeof UserProfileMain, typeof UserProfileMainClient, 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{UserProfileMainClient as e}from"./client.mjs";import{profileMainInspectorPropsSchema as t}from"./schema.mjs";import{UserProfileMain as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`profile-main`,category:`内容组件`,name:`用户行为模块`,icon:`/static/components-thumb/user_profile_action.png`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as profileMainMaterial};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps, MaterialComponentMode } from "../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../utils/schema/index.mjs";
|
|
4
2
|
import * as zod from "zod";
|
|
3
|
+
import { InferSchemaProps, MaterialComponentMode } from "create-funhub/sdk";
|
|
5
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
5
|
|
|
7
6
|
//#region components/biz/business/profile/profile-main/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({}),r=t(n);export{r as profileMainInspectorDefaultProps,n as profileMainInspectorPropsSchema};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { MaterialComponentMode } from "../../../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../../../utils/schema/index.mjs";
|
|
4
2
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { MaterialComponentMode } from "create-funhub/sdk";
|
|
5
4
|
|
|
6
5
|
//#region components/biz/business/profile/profile-main/tabs/collect-tab/client.d.ts
|
|
7
6
|
interface CollectTabProps {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { MaterialComponentMode } from "../../../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../../../utils/schema/index.mjs";
|
|
4
2
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { MaterialComponentMode } from "create-funhub/sdk";
|
|
5
4
|
|
|
6
5
|
//#region components/biz/business/profile/profile-main/tabs/history-tab/client.d.ts
|
|
7
6
|
interface HistoryTabProps {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { MaterialComponentMode } from "../../../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../../../utils/schema/index.mjs";
|
|
4
2
|
import { CommunityContentInfo } from "../../../../../../../types/community-types.mjs";
|
|
5
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { MaterialComponentMode } from "create-funhub/sdk";
|
|
6
5
|
|
|
7
6
|
//#region components/biz/business/profile/profile-main/tabs/like-tab/client.d.ts
|
|
8
7
|
/**
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { MaterialComponentMode } from "../../../../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../../../../utils/schema/index.mjs";
|
|
4
2
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { MaterialComponentMode } from "create-funhub/sdk";
|
|
5
4
|
|
|
6
5
|
//#region components/biz/business/profile/profile-main/tabs/publish-tab/client.d.ts
|
|
7
6
|
interface PublishTabUserInfo {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps } from "../../../../utils/schema/schema.mjs";
|
|
3
|
-
import "../../../../utils/schema/index.mjs";
|
|
4
2
|
import { searchHistoryInspectorPropsSchema } from "./schema.mjs";
|
|
5
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { InferSchemaProps } from "create-funhub/sdk";
|
|
6
5
|
|
|
7
6
|
//#region components/biz/business/search-history/client.d.ts
|
|
8
7
|
type SearchHistoryProps = InferSchemaProps<typeof searchHistoryInspectorPropsSchema>;
|
|
@@ -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.mjs";
|
|
5
2
|
import { SearchHistoryClient } from "./client.mjs";
|
|
6
3
|
import { SearchHistoryServer } 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/search-history/material.d.ts
|
|
11
|
-
declare const searchHistoryMaterial: DefineMaterialOption<typeof SearchHistoryServer, typeof SearchHistoryClient, zod.ZodObject<{
|
|
12
|
-
title: zod.ZodString & SchemaHasDefaultValue;
|
|
13
|
-
rows: zod.ZodNumber & SchemaHasDefaultValue;
|
|
9
|
+
declare const searchHistoryMaterial: create_funhub_sdk0.DefineMaterialOption<typeof SearchHistoryServer, typeof SearchHistoryClient, zod.ZodObject<{
|
|
10
|
+
title: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
rows: zod.ZodNumber & 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{SearchHistoryClient as e}from"./client.mjs";import{searchHistoryInspectorPropsSchema as t}from"./schema.mjs";import{SearchHistoryServer as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`search-history`,name:`搜索历史`,icon:`/static/components-thumb/search_history.png`,category:`行为组件`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as searchHistoryMaterial};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
import { 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";
|
|
5
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
5
|
|
|
7
6
|
//#region components/biz/business/search-history/schema.d.ts
|
|
@@ -9,8 +8,8 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
9
8
|
* 搜索历史物料属性定义
|
|
10
9
|
*/
|
|
11
10
|
declare const searchHistoryInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
-
title: zod.ZodString & SchemaHasDefaultValue;
|
|
13
|
-
rows: zod.ZodNumber & SchemaHasDefaultValue;
|
|
11
|
+
title: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
12
|
+
rows: zod.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
14
13
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
14
|
renderer: "renderer";
|
|
16
15
|
editor: "editor";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{defineComponentPropsSchema as e,defineNumberPropSchema as t,defineTextPropSchema as n}from"
|
|
2
|
+
import{defineComponentPropsSchema as e,defineNumberPropSchema as t,defineTextPropSchema as n}from"create-funhub/sdk";const r=e({title:n({label:`标题名称`,defaultValue:`搜索历史`,description:`支持输入,中/英/数/符,6个字符`}),rows:t({label:`展示行数`,defaultValue:1})});export{r as searchHistoryInspectorPropsSchema};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import { DefineMaterialOption } from "../../../../utils/schema/material.mjs";
|
|
3
2
|
import { SearchInputClient } from "./client.mjs";
|
|
4
3
|
import { SearchInputServer } 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/search-input/material.d.ts
|
|
9
|
-
declare const searchInputMaterial: DefineMaterialOption<typeof SearchInputServer, typeof SearchInputClient, zod.ZodObject<{
|
|
9
|
+
declare const searchInputMaterial: create_funhub_sdk0.DefineMaterialOption<typeof SearchInputServer, typeof SearchInputClient, 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{SearchInputClient as e}from"./client.mjs";import{searchInputInspectorPropsSchema as t}from"./schema.mjs";import{SearchInputServer as n}from"./server.mjs";import{defineMaterial as r}from"create-funhub/sdk";const i=r({type:`search-input`,name:`搜索输入框`,icon:`/static/components-thumb/search_input.png`,category:`行为组件`,serverComponent:n,clientComponent:e,propsSchema:t});export{i as searchInputMaterial};
|
|
@@ -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/search-input/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({}),r=t(n);export{r as searchInputInspectorDefaultProps,n as searchInputInspectorPropsSchema};
|
|
@@ -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 { ShortcutGridClient } from "./client.mjs";
|
|
6
3
|
import { ShortcutGrid } 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/shortcut-grid/material.d.ts
|
|
11
|
-
declare const shortcutGridMaterial: DefineMaterialOption<typeof ShortcutGrid, typeof ShortcutGridClient, zod.ZodObject<{
|
|
12
|
-
title: zod.ZodString & SchemaHasDefaultValue;
|
|
13
|
-
shortcutCount: zod.ZodNumber & SchemaHasDefaultValue;
|
|
14
|
-
isShortcutTitle: zod.ZodBoolean & SchemaHasDefaultValue;
|
|
9
|
+
declare const shortcutGridMaterial: create_funhub_sdk0.DefineMaterialOption<typeof ShortcutGrid, typeof ShortcutGridClient, zod.ZodObject<{
|
|
10
|
+
title: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
11
|
+
shortcutCount: zod.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
12
|
+
isShortcutTitle: zod.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
15
13
|
shortcuts: zod.ZodArray<zod.ZodObject<{
|
|
16
|
-
label: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
|
|
17
|
-
icon: zod.ZodString & SchemaHasDefaultValue;
|
|
18
|
-
href: zod.ZodString & SchemaHasDefaultValue;
|
|
19
|
-
}, zod_v4_core0.$strip>> & SchemaHasDefaultValue;
|
|
14
|
+
label: zod.ZodOptional<zod.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
15
|
+
icon: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
16
|
+
href: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
17
|
+
}, zod_v4_core0.$strip>> & create_funhub_sdk0.SchemaHasDefaultValue;
|
|
20
18
|
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
21
19
|
renderer: "renderer";
|
|
22
20
|
editor: "editor";
|