@funhub/platform 0.1.134 → 0.1.136
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 +1 -1
- 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/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,6 +1,35 @@
|
|
|
1
1
|
|
|
2
|
+
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
3
|
+
import "../../../../../utils.mjs";
|
|
4
|
+
import { UserProfileHeaderClient } from "./client.mjs";
|
|
5
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
|
+
import * as zod from "zod";
|
|
7
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
8
|
+
|
|
2
9
|
//#region components/biz/business/profile/profile-header/material.d.ts
|
|
3
|
-
declare const profileHeaderMaterial:
|
|
4
|
-
|
|
10
|
+
declare const profileHeaderMaterial: DefineMaterialOption<({
|
|
11
|
+
mode,
|
|
12
|
+
...props
|
|
13
|
+
}: React.ComponentProps<typeof UserProfileHeaderClient>) => react_jsx_runtime0.JSX.Element, ({
|
|
14
|
+
mode,
|
|
15
|
+
...props
|
|
16
|
+
}: React.ComponentProps<typeof UserProfileHeaderClient>) => react_jsx_runtime0.JSX.Element, zod.ZodObject<{
|
|
17
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
18
|
+
renderer: "renderer";
|
|
19
|
+
editor: "editor";
|
|
20
|
+
}>>;
|
|
21
|
+
}, zod_v4_core0.$strip>, "profile-header", "内容组件">;
|
|
22
|
+
declare const profileHeaderMaterialWithDisabledBackground: DefineMaterialOption<({
|
|
23
|
+
mode,
|
|
24
|
+
...props
|
|
25
|
+
}: React.ComponentProps<typeof UserProfileHeaderClient>) => react_jsx_runtime0.JSX.Element, ({
|
|
26
|
+
mode,
|
|
27
|
+
...props
|
|
28
|
+
}: React.ComponentProps<typeof UserProfileHeaderClient>) => react_jsx_runtime0.JSX.Element, zod.ZodObject<{
|
|
29
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
30
|
+
renderer: "renderer";
|
|
31
|
+
editor: "editor";
|
|
32
|
+
}>>;
|
|
33
|
+
}, zod_v4_core0.$strip>, "profile-header-with-disabled-background", "内容组件">;
|
|
5
34
|
//#endregion
|
|
6
35
|
export { profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{UserProfileHeaderClient as t}from"./client.mjs";import{profileHeaderInspectorPropsSchema as n}from"./schema.mjs";import{jsx as r}from"react/jsx-runtime";function i(e){return e===`editor`?{id:void 0,requireLogin:!0,cookieToken:``,cookieUserId:``,token:``,currentUserId:``}:{}}const a=e({type:`profile-header`,category:`内容组件`,name:`用户信息模块(有背景图)`,icon:`/static/components-thumb/user_profile_with_background.png`,serverComponent:({mode:e=`renderer`,...n})=>r(t,{...n,...i(e),mode:e}),clientComponent:({mode:e=`renderer`,...n})=>r(t,{...n,...i(e),mode:e}),propsSchema:n}),o=e({type:`profile-header-with-disabled-background`,category:`内容组件`,name:`用户信息模块(无背景图)`,icon:`/static/components-thumb/user_profile_plain.png`,serverComponent:({mode:e=`renderer`,...n})=>r(t,{...n,...i(e),mode:e,enableCustomBackground:!1}),clientComponent:({mode:e=`renderer`,...n})=>r(t,{...n,...i(e),mode:e,enableCustomBackground:!1}),propsSchema:n});export{a as profileHeaderMaterial,o as profileHeaderMaterialWithDisabledBackground};
|
|
@@ -1,12 +1,20 @@
|
|
|
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";
|
|
3
6
|
|
|
4
7
|
//#region components/biz/business/profile/profile-header/schema.d.ts
|
|
5
8
|
/**
|
|
6
9
|
* 用户资料头部物料 inspector 配置。
|
|
7
10
|
*/
|
|
8
|
-
declare const profileHeaderInspectorPropsSchema:
|
|
9
|
-
|
|
11
|
+
declare const profileHeaderInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
13
|
+
renderer: "renderer";
|
|
14
|
+
editor: "editor";
|
|
15
|
+
}>>;
|
|
16
|
+
}, zod_v4_core0.$strip>;
|
|
17
|
+
declare const profileHeaderInspectorDefaultProps: {};
|
|
10
18
|
type ProfileHeaderInspectorProps = InferSchemaProps<typeof profileHeaderInspectorPropsSchema>;
|
|
11
19
|
interface UserProfileHeaderAuthConfig {
|
|
12
20
|
headers?: Record<string, string>;
|
|
@@ -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({}),r=t(n);export{r as profileHeaderInspectorDefaultProps,n as profileHeaderInspectorPropsSchema};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import { ProfileMainInspectorProps, UserProfileMainProps, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema } from "./schema.mjs";
|
|
3
3
|
import { UserProfileMainClient } from "./client.mjs";
|
|
4
|
-
import { profileMainMaterial } from "./material.mjs";
|
|
5
4
|
import { UserProfileMain } from "./server.mjs";
|
|
5
|
+
import { profileMainMaterial } from "./material.mjs";
|
|
6
6
|
import { UserProfileMainRenderMode, UserProfileMainShell, UserProfileMainShellProps } from "./shell.mjs";
|
|
7
7
|
import { CollectTab, CollectTabProps } from "./tabs/collect-tab/client.mjs";
|
|
8
8
|
import { CollectTabServer } from "./tabs/collect-tab/server.mjs";
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
|
|
2
|
+
import { DefineMaterialOption } from "../../../../../utils/schema/material.mjs";
|
|
3
|
+
import "../../../../../utils.mjs";
|
|
4
|
+
import { UserProfileMainClient } from "./client.mjs";
|
|
5
|
+
import { UserProfileMain } from "./server.mjs";
|
|
6
|
+
import * as zod from "zod";
|
|
7
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
8
|
+
|
|
2
9
|
//#region components/biz/business/profile/profile-main/material.d.ts
|
|
3
|
-
declare const profileMainMaterial:
|
|
10
|
+
declare const profileMainMaterial: DefineMaterialOption<typeof UserProfileMain, typeof UserProfileMainClient, zod.ZodObject<{
|
|
11
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
12
|
+
renderer: "renderer";
|
|
13
|
+
editor: "editor";
|
|
14
|
+
}>>;
|
|
15
|
+
}, zod_v4_core0.$strip>, "profile-main", "内容组件">;
|
|
4
16
|
//#endregion
|
|
5
17
|
export { profileMainMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../../utils/schema/material.mjs";import{UserProfileMainClient as t}from"./client.mjs";import{profileMainInspectorPropsSchema as n}from"./schema.mjs";import{UserProfileMain as r}from"./server.mjs";const i=e({type:`profile-main`,category:`内容组件`,name:`用户行为模块`,icon:`/static/components-thumb/user_profile_action.png`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as profileMainMaterial};
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
import { InferSchemaProps, MaterialComponentMode } from "
|
|
2
|
+
import { InferSchemaProps, MaterialComponentMode } 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/profile/profile-main/schema.d.ts
|
|
5
8
|
/**
|
|
6
9
|
* 用户资料主体物料暂不对外开放 inspector 配置。
|
|
7
10
|
*/
|
|
8
|
-
declare const profileMainInspectorPropsSchema:
|
|
9
|
-
|
|
11
|
+
declare const profileMainInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
13
|
+
renderer: "renderer";
|
|
14
|
+
editor: "editor";
|
|
15
|
+
}>>;
|
|
16
|
+
}, zod_v4_core0.$strip>;
|
|
17
|
+
declare const profileMainInspectorDefaultProps: {};
|
|
10
18
|
type ProfileMainInspectorProps = InferSchemaProps<typeof profileMainInspectorPropsSchema>;
|
|
11
19
|
interface ProfileMainRuntimeTabProps {
|
|
12
20
|
tab?: string;
|
|
@@ -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({}),r=t(n);export{r as profileMainInspectorDefaultProps,n as profileMainInspectorPropsSchema};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
|
+
import { MaterialComponentMode } from "../../../../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../../../../utils.mjs";
|
|
2
4
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
-
import { MaterialComponentMode } from "create-funhub/sdk";
|
|
4
5
|
|
|
5
6
|
//#region components/biz/business/profile/profile-main/tabs/collect-tab/client.d.ts
|
|
6
7
|
interface CollectTabProps {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
|
+
import { MaterialComponentMode } from "../../../../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../../../../utils.mjs";
|
|
2
4
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
-
import { MaterialComponentMode } from "create-funhub/sdk";
|
|
4
5
|
|
|
5
6
|
//#region components/biz/business/profile/profile-main/tabs/history-tab/client.d.ts
|
|
6
7
|
interface HistoryTabProps {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
|
|
2
|
+
import { MaterialComponentMode } from "../../../../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../../../../utils.mjs";
|
|
2
4
|
import { CommunityContentInfo } from "../../../../../../../types/community-types.mjs";
|
|
3
5
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import { MaterialComponentMode } from "create-funhub/sdk";
|
|
5
6
|
|
|
6
7
|
//#region components/biz/business/profile/profile-main/tabs/like-tab/client.d.ts
|
|
7
8
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
|
+
import { MaterialComponentMode } from "../../../../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../../../../utils.mjs";
|
|
2
4
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
-
import { MaterialComponentMode } from "create-funhub/sdk";
|
|
4
5
|
|
|
5
6
|
//#region components/biz/business/profile/profile-main/tabs/publish-tab/client.d.ts
|
|
6
7
|
interface PublishTabUserInfo {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
|
|
2
|
+
import { InferSchemaProps } from "../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../utils.mjs";
|
|
2
4
|
import { searchHistoryInspectorPropsSchema } from "./schema.mjs";
|
|
3
5
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import { InferSchemaProps } from "create-funhub/sdk";
|
|
5
6
|
|
|
6
7
|
//#region components/biz/business/search-history/client.d.ts
|
|
7
8
|
type SearchHistoryProps = InferSchemaProps<typeof searchHistoryInspectorPropsSchema>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { searchHistoryInspectorPropsSchema } from "./schema.mjs";
|
|
3
3
|
import { SearchHistoryClient, SearchHistoryProps } from "./client.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { SearchHistoryServer } from "./server.mjs";
|
|
5
|
+
import { searchHistoryMaterial } 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 { SearchHistoryClient } from "./client.mjs";
|
|
6
|
+
import { SearchHistoryServer } 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/search-history/material.d.ts
|
|
3
|
-
declare const searchHistoryMaterial:
|
|
11
|
+
declare const searchHistoryMaterial: DefineMaterialOption<typeof SearchHistoryServer, typeof SearchHistoryClient, zod.ZodObject<{
|
|
12
|
+
title: zod.ZodString & SchemaHasDefaultValue;
|
|
13
|
+
rows: zod.ZodNumber & SchemaHasDefaultValue;
|
|
14
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
|
+
renderer: "renderer";
|
|
16
|
+
editor: "editor";
|
|
17
|
+
}>>;
|
|
18
|
+
}, zod_v4_core0.$strip>, "search-history", "行为组件">;
|
|
4
19
|
//#endregion
|
|
5
20
|
export { searchHistoryMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{SearchHistoryClient as t}from"./client.mjs";import{searchHistoryInspectorPropsSchema as n}from"./schema.mjs";import{SearchHistoryServer as r}from"./server.mjs";const i=e({type:`search-history`,name:`搜索历史`,icon:`/static/components-thumb/search_history.png`,category:`行为组件`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as searchHistoryMaterial};
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
import { 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
|
+
|
|
2
7
|
//#region components/biz/business/search-history/schema.d.ts
|
|
3
8
|
/**
|
|
4
9
|
* 搜索历史物料属性定义
|
|
5
10
|
*/
|
|
6
|
-
declare const searchHistoryInspectorPropsSchema:
|
|
11
|
+
declare const searchHistoryInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
+
title: zod.ZodString & SchemaHasDefaultValue;
|
|
13
|
+
rows: zod.ZodNumber & SchemaHasDefaultValue;
|
|
14
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
|
+
renderer: "renderer";
|
|
16
|
+
editor: "editor";
|
|
17
|
+
}>>;
|
|
18
|
+
}, zod_v4_core0.$strip>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { searchHistoryInspectorPropsSchema };
|
|
@@ -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"../../../../utils/schema/schema.mjs";const r=e({title:n({label:`标题名称`,defaultValue:`搜索历史`,description:`支持输入,中/英/数/符,6个字符`}),rows:t({label:`展示行数`,defaultValue:1})});export{r as searchHistoryInspectorPropsSchema};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { SearchInputInspectorProps, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema } from "./schema.mjs";
|
|
3
3
|
import { SearchInputClient, SearchInputProps } from "./client.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { SearchInputServer } from "./server.mjs";
|
|
5
|
+
import { searchInputMaterial } from "./material.mjs";
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
|
|
2
|
+
import { DefineMaterialOption } from "../../../../utils/schema/material.mjs";
|
|
3
|
+
import "../../../../utils.mjs";
|
|
4
|
+
import { SearchInputClient } from "./client.mjs";
|
|
5
|
+
import { SearchInputServer } from "./server.mjs";
|
|
6
|
+
import * as zod from "zod";
|
|
7
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
8
|
+
|
|
2
9
|
//#region components/biz/business/search-input/material.d.ts
|
|
3
|
-
declare const searchInputMaterial:
|
|
10
|
+
declare const searchInputMaterial: DefineMaterialOption<typeof SearchInputServer, typeof SearchInputClient, zod.ZodObject<{
|
|
11
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
12
|
+
renderer: "renderer";
|
|
13
|
+
editor: "editor";
|
|
14
|
+
}>>;
|
|
15
|
+
}, zod_v4_core0.$strip>, "search-input", "行为组件">;
|
|
4
16
|
//#endregion
|
|
5
17
|
export { searchInputMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{SearchInputClient as t}from"./client.mjs";import{searchInputInspectorPropsSchema as n}from"./schema.mjs";import{SearchInputServer as r}from"./server.mjs";const i=e({type:`search-input`,name:`搜索输入框`,icon:`/static/components-thumb/search_input.png`,category:`行为组件`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as searchInputMaterial};
|
|
@@ -1,12 +1,20 @@
|
|
|
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";
|
|
3
6
|
|
|
4
7
|
//#region components/biz/business/search-input/schema.d.ts
|
|
5
8
|
/**
|
|
6
9
|
* 搜索输入框物料暂不对外开放配置,仅做占位展示;占位符等由服务端 i18n 注入。
|
|
7
10
|
*/
|
|
8
|
-
declare const searchInputInspectorPropsSchema:
|
|
9
|
-
|
|
11
|
+
declare const searchInputInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
13
|
+
renderer: "renderer";
|
|
14
|
+
editor: "editor";
|
|
15
|
+
}>>;
|
|
16
|
+
}, zod_v4_core0.$strip>;
|
|
17
|
+
declare const searchInputInspectorDefaultProps: {};
|
|
10
18
|
type SearchInputInspectorProps = InferSchemaProps<typeof searchInputInspectorPropsSchema>;
|
|
11
19
|
//#endregion
|
|
12
20
|
export { SearchInputInspectorProps, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema };
|
|
@@ -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({}),r=t(n);export{r as searchInputInspectorDefaultProps,n as searchInputInspectorPropsSchema};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
import { ShortcutGridInspectorProps } from "./schema.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/shortcut-grid/client.d.ts
|
|
6
|
+
type ShortcutGridClientProps = ShortcutGridInspectorProps;
|
|
7
|
+
/**
|
|
8
|
+
* 金刚区客户端组件:
|
|
9
|
+
*/
|
|
10
|
+
declare function ShortcutGridClient(props: ShortcutGridClientProps): react_jsx_runtime0.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ShortcutGridClient, ShortcutGridClientProps };
|
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
|
|
2
|
+
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
|
+
import { DefineMaterialOption } from "../../../../utils/schema/material.mjs";
|
|
4
|
+
import "../../../../utils.mjs";
|
|
5
|
+
import { ShortcutGridClient } from "./client.mjs";
|
|
6
|
+
import { ShortcutGrid } 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/shortcut-grid/material.d.ts
|
|
3
|
-
declare const shortcutGridMaterial:
|
|
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;
|
|
15
|
+
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;
|
|
20
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
21
|
+
renderer: "renderer";
|
|
22
|
+
editor: "editor";
|
|
23
|
+
}>>;
|
|
24
|
+
}, zod_v4_core0.$strip>, "shortcut-grid", "金刚组件">;
|
|
4
25
|
//#endregion
|
|
5
26
|
export { shortcutGridMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{shortcutGridInspectorPropsSchema as t}from"./schema.mjs";import{ShortcutGridClient as n}from"./client.mjs";import{ShortcutGrid as r}from"./server.mjs";const i=e({type:`shortcut-grid`,name:`金刚区`,icon:`/static/components-thumb/shortcut_grid_5.png`,category:`金刚组件`,serverComponent:r,clientComponent:n,propsSchema:t});export{i as shortcutGridMaterial};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
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/shortcut-grid/schema.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* 金刚区物料可配置字段:
|
|
9
|
+
*/
|
|
10
|
+
declare const shortcutGridInspectorPropsSchema: z$1.ZodObject<{
|
|
11
|
+
title: z$1.ZodString & SchemaHasDefaultValue;
|
|
12
|
+
shortcutCount: z$1.ZodNumber & SchemaHasDefaultValue;
|
|
13
|
+
isShortcutTitle: z$1.ZodBoolean & SchemaHasDefaultValue;
|
|
14
|
+
shortcuts: z$1.ZodArray<z$1.ZodObject<{
|
|
15
|
+
label: z$1.ZodOptional<z$1.ZodString> & SchemaHasDefaultValue;
|
|
16
|
+
icon: z$1.ZodString & SchemaHasDefaultValue;
|
|
17
|
+
href: z$1.ZodString & SchemaHasDefaultValue;
|
|
18
|
+
}, z$1.core.$strip>> & SchemaHasDefaultValue;
|
|
19
|
+
mode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
20
|
+
renderer: "renderer";
|
|
21
|
+
editor: "editor";
|
|
22
|
+
}>>;
|
|
23
|
+
}, z$1.core.$strip>;
|
|
24
|
+
type ShortcutGridInspectorProps = InferSchemaProps<typeof shortcutGridInspectorPropsSchema>;
|
|
25
|
+
//#endregion
|
|
26
|
+
export { ShortcutGridInspectorProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import
|
|
2
|
+
import{defineArrayItemPropSchema as e,defineComponentPropsSchema as t,defineNumberPropSchema as n,defineSwitchPropSchema as r,defineTextPropSchema as i,getSchemaDefaultProps as a}from"../../../../utils/schema/schema.mjs";import o from"zod";const s=t({title:i({label:`推荐位名称`,required:!0,defaultValue:`推荐列表`}),shortcutCount:n({label:`入口数量`,required:!0,defaultValue:4}).refine(e=>e>=3&&e<=5,`入口数量必须为 3-5`),isShortcutTitle:r({label:`是否显示入口标题`,required:!0,defaultValue:!0}),shortcuts:e(o.object({label:i({label:`入口标题`,required:!1,defaultValue:`最新`}),icon:i({label:`图标`,required:!0,defaultValue:``}),href:i({label:`跳转指向`,required:!0,defaultValue:``})}),{label:`推荐列表`,required:!0,defaultValue:[{label:`热门`,icon:`/images/2026/01/21/6967aec2d806ed47d5238861/fce0a95c-1e8f-4872-ab69-86212435e1bc.jpegxxx`,href:`/video-list?title=穷小伙刚离婚,找了他3年的女总裁蒙着面纱出现了,一身红嫁衣当众求嫁,前妻嘲笑她是丑八怪,下秒揭开面纱后全场沉默了&tags=动作`},{label:`新上架`,icon:`/images/2026/01/21/6967aec2d806ed47d5238861/fce0a95c-1e8f-4872-ab69-86212435e1bc.jpegxxx`,href:`/video-list?title=穷小伙刚离婚,找了他3年的女总裁蒙着面纱出现了,一身红嫁衣当众求嫁,前妻嘲笑她是丑八怪,下秒揭开面纱后全场沉默了&tags=动作`},{label:`排行榜`,icon:`/images/2026/01/21/6967aec2d806ed47d5238861/fce0a95c-1e8f-4872-ab69-86212435e1bc.jpegxxx`,href:`/video-list?title=穷小伙刚离婚,找了他3年的女总裁蒙着面纱出现了,一身红嫁衣当众求嫁,前妻嘲笑她是丑八怪,下秒揭开面纱后全场沉默了&tags=动作`},{label:`筛选`,icon:`/images/2026/01/21/6967aec2d806ed47d5238861/fce0a95c-1e8f-4872-ab69-86212435e1bc.jpegxxx`,href:`/video-list?title=穷小伙刚离婚,找了他3年的女总裁蒙着面纱出现了,一身红嫁衣当众求嫁,前妻嘲笑她是丑八怪,下秒揭开面纱后全场沉默了&tags=动作`}]})}),c=a(s);export{c as shortcutGridInspectorDefaultProps,s as shortcutGridInspectorPropsSchema};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
import { ShortcutGridClientProps } from "./client.mjs";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region components/biz/business/shortcut-grid/server.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* 金刚区服务端组件,直接渲染客户端组件。
|
|
8
|
+
*/
|
|
9
|
+
declare function ShortcutGrid(props: ShortcutGridClientProps): react_jsx_runtime0.JSX.Element;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { ShortcutGrid };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { TabBarInspectorProps, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema } from "./schema.mjs";
|
|
3
3
|
import { TabBarClient, TabBarItem, TabBarItemConfigType, TabBarProps } from "./client.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { TabBarServer } from "./server.mjs";
|
|
5
|
+
import { tabBarMaterial } from "./material.mjs";
|
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
import { DefineMaterialOption } from "../../../../utils/schema/material.mjs";
|
|
3
|
+
import "../../../../utils.mjs";
|
|
4
|
+
import { TabBarClient } from "./client.mjs";
|
|
5
|
+
import { TabBarServer } from "./server.mjs";
|
|
6
|
+
import * as zod from "zod";
|
|
7
|
+
import * as zod_v4_core0 from "zod/v4/core";
|
|
8
|
+
|
|
2
9
|
//#region components/biz/business/tab-bar/material.d.ts
|
|
3
10
|
/**
|
|
4
11
|
* TabBar 物料定义
|
|
5
12
|
*/
|
|
6
|
-
declare const tabBarMaterial:
|
|
13
|
+
declare const tabBarMaterial: DefineMaterialOption<typeof TabBarServer, typeof TabBarClient, zod.ZodObject<{
|
|
14
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
15
|
+
renderer: "renderer";
|
|
16
|
+
editor: "editor";
|
|
17
|
+
}>>;
|
|
18
|
+
}, zod_v4_core0.$strip>, "tab-bar", "行为组件">;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { tabBarMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{TabBarClient as t}from"./client.mjs";import{tabBarInspectorPropsSchema as n}from"./schema.mjs";import{TabBarServer as r}from"./server.mjs";const i=e({type:`tab-bar`,name:`底部导航栏`,icon:``,category:`行为组件`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as tabBarMaterial};
|
|
@@ -1,12 +1,20 @@
|
|
|
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";
|
|
3
6
|
|
|
4
7
|
//#region components/biz/business/tab-bar/schema.d.ts
|
|
5
8
|
/**
|
|
6
9
|
* TabBar 物料暂不对外开放配置,仅做占位展示。
|
|
7
10
|
*/
|
|
8
|
-
declare const tabBarInspectorPropsSchema:
|
|
9
|
-
|
|
11
|
+
declare const tabBarInspectorPropsSchema: zod.ZodObject<{
|
|
12
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
13
|
+
renderer: "renderer";
|
|
14
|
+
editor: "editor";
|
|
15
|
+
}>>;
|
|
16
|
+
}, zod_v4_core0.$strip>;
|
|
17
|
+
declare const tabBarInspectorDefaultProps: {};
|
|
10
18
|
type TabBarInspectorProps = InferSchemaProps<typeof tabBarInspectorPropsSchema>;
|
|
11
19
|
//#endregion
|
|
12
20
|
export { TabBarInspectorProps, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema };
|
|
@@ -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({}),r=t(n);export{r as tabBarInspectorDefaultProps,n as tabBarInspectorPropsSchema};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
|
|
2
|
+
import { InferSchemaProps } from "../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../utils.mjs";
|
|
2
4
|
import { textRecommendInspectorPropsSchema } from "./schema.mjs";
|
|
3
5
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import { InferSchemaProps } from "create-funhub/sdk";
|
|
5
6
|
|
|
6
7
|
//#region components/biz/business/text-recommend/client.d.ts
|
|
7
8
|
type TextRecommendProps = InferSchemaProps<typeof textRecommendInspectorPropsSchema>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { textRecommendInspectorPropsSchema } from "./schema.mjs";
|
|
3
3
|
import { TextRecommendClient, TextRecommendProps } from "./client.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { TextRecommendServer } from "./server.mjs";
|
|
5
|
+
import { textRecommendMaterial } from "./material.mjs";
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
|
|
2
|
+
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
|
+
import { DefineMaterialOption } from "../../../../utils/schema/material.mjs";
|
|
4
|
+
import "../../../../utils.mjs";
|
|
5
|
+
import { TextRecommendClient } from "./client.mjs";
|
|
6
|
+
import { TextRecommendServer } 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/text-recommend/material.d.ts
|
|
3
|
-
declare const textRecommendMaterial:
|
|
11
|
+
declare const textRecommendMaterial: DefineMaterialOption<typeof TextRecommendServer, typeof TextRecommendClient, zod.ZodObject<{
|
|
12
|
+
title: zod.ZodString & SchemaHasDefaultValue;
|
|
13
|
+
displayCount: zod.ZodNumber & SchemaHasDefaultValue;
|
|
14
|
+
items: zod.ZodArray<zod.ZodObject<{
|
|
15
|
+
label: zod.ZodString & SchemaHasDefaultValue;
|
|
16
|
+
}, zod_v4_core0.$strip>> & SchemaHasDefaultValue;
|
|
17
|
+
mode: zod.ZodOptional<zod.ZodEnum<{
|
|
18
|
+
renderer: "renderer";
|
|
19
|
+
editor: "editor";
|
|
20
|
+
}>>;
|
|
21
|
+
}, zod_v4_core0.$strip>, "text-recommend", "内容组件">;
|
|
4
22
|
//#endregion
|
|
5
23
|
export { textRecommendMaterial };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{TextRecommendClient as t}from"./client.mjs";import{textRecommendInspectorPropsSchema as n}from"./schema.mjs";import{TextRecommendServer as r}from"./server.mjs";const i=e({type:`text-recommend`,name:`文字推荐`,icon:`/static/components-thumb/search_recommend_text.png`,category:`内容组件`,serverComponent:r,clientComponent:t,propsSchema:n});export{i as textRecommendMaterial};
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
|
|
2
|
+
import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
|
|
3
|
+
import "../../../../utils.mjs";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
|
|
2
6
|
//#region components/biz/business/text-recommend/schema.d.ts
|
|
3
7
|
/**
|
|
4
8
|
* 文字推荐物料属性定义
|
|
5
9
|
*/
|
|
6
|
-
declare const textRecommendInspectorPropsSchema:
|
|
10
|
+
declare const textRecommendInspectorPropsSchema: z.ZodObject<{
|
|
11
|
+
title: z.ZodString & SchemaHasDefaultValue;
|
|
12
|
+
displayCount: z.ZodNumber & SchemaHasDefaultValue;
|
|
13
|
+
items: z.ZodArray<z.ZodObject<{
|
|
14
|
+
label: z.ZodString & SchemaHasDefaultValue;
|
|
15
|
+
}, z.core.$strip>> & SchemaHasDefaultValue;
|
|
16
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
renderer: "renderer";
|
|
18
|
+
editor: "editor";
|
|
19
|
+
}>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { textRecommendInspectorPropsSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
import{
|
|
2
|
+
import{defineArrayItemPropSchema as e,defineComponentPropsSchema as t,defineNumberPropSchema as n,defineTextPropSchema as r}from"../../../../utils/schema/schema.mjs";import{z as i}from"zod";const a=t({title:r({label:`标题名称`,defaultValue:`文字推荐标题`,description:`支持输入,中/英/数/符,6个字符`}),displayCount:n({label:`展示数`,defaultValue:2}),items:e(i.object({label:r({label:`热词`,defaultValue:`推荐搜索1`})}),{label:`推荐位模块`,defaultValue:[{label:`推荐搜索2`},{label:`推荐搜索3`}]})});export{a as textRecommendInspectorPropsSchema};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { ButtonInspectorProps, ButtonProps, buttonInspectorDefaultProps, buttonInspectorPropsSchema } from "./schema.mjs";
|
|
3
3
|
import { ButtonClient } from "./client.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { Button } from "./server.mjs";
|
|
5
|
+
import { exampleButtonMaterial } from "./material.mjs";
|