@funhub/platform 0.1.131 → 0.1.132

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.
Files changed (109) hide show
  1. package/dist/biz.d.mts +12 -12
  2. package/dist/components/biz/business/banner/index.d.mts +1 -1
  3. package/dist/components/biz/business/banner/variants/basic-banner/index.d.mts +2 -2
  4. package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.d.mts +2 -24
  5. package/dist/components/biz/business/banner/variants/basic-banner/material.d.mts +1 -18
  6. package/dist/components/biz/business/banner-carousel/material.d.mts +1 -21
  7. package/dist/components/biz/business/channel-list/material.d.mts +1 -17
  8. package/dist/components/biz/business/detail/shared/registry.d.mts +1 -72
  9. package/dist/components/biz/business/detail/video-detail-actions/client.d.mts +2 -12
  10. package/dist/components/biz/business/detail/video-detail-actions/index.d.mts +4 -4
  11. package/dist/components/biz/business/detail/video-detail-actions/material.d.mts +1 -12
  12. package/dist/components/biz/business/detail/video-detail-actions/schema.d.mts +1 -19
  13. package/dist/components/biz/business/detail/video-detail-actions/server.d.mts +2 -15
  14. package/dist/components/biz/business/detail/video-detail-info/client.d.mts +2 -14
  15. package/dist/components/biz/business/detail/video-detail-info/index.d.mts +4 -4
  16. package/dist/components/biz/business/detail/video-detail-info/material.d.mts +1 -14
  17. package/dist/components/biz/business/detail/video-detail-info/schema.d.mts +1 -22
  18. package/dist/components/biz/business/detail/video-detail-info/server.d.mts +2 -15
  19. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/client.d.mts +2 -14
  20. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/index.d.mts +4 -4
  21. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.d.mts +1 -14
  22. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.d.mts +1 -22
  23. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/server.d.mts +2 -15
  24. package/dist/components/biz/business/detail/video-detail-player/client.d.mts +2 -13
  25. package/dist/components/biz/business/detail/video-detail-player/index.d.mts +4 -4
  26. package/dist/components/biz/business/detail/video-detail-player/material.d.mts +1 -12
  27. package/dist/components/biz/business/detail/video-detail-player/schema.d.mts +1 -21
  28. package/dist/components/biz/business/detail/video-detail-player/server.d.mts +2 -10
  29. package/dist/components/biz/business/detail/video-detail-recommend/client.d.mts +2 -22
  30. package/dist/components/biz/business/detail/video-detail-recommend/index.d.mts +4 -4
  31. package/dist/components/biz/business/detail/video-detail-recommend/material.d.mts +1 -38
  32. package/dist/components/biz/business/detail/video-detail-recommend/schema.d.mts +1 -42
  33. package/dist/components/biz/business/detail/video-detail-recommend/server.d.mts +2 -10
  34. package/dist/components/biz/business/floating-ball/index.d.mts +2 -2
  35. package/dist/components/biz/business/floating-ball/material.d.mts +1 -14
  36. package/dist/components/biz/business/floating-ball/schema.d.mts +2 -15
  37. package/dist/components/biz/business/header-search/header-avatar-icon/client.d.mts +2 -13
  38. package/dist/components/biz/business/header-search/header-avatar-icon/index.d.mts +4 -4
  39. package/dist/components/biz/business/header-search/header-avatar-icon/material.d.mts +1 -12
  40. package/dist/components/biz/business/header-search/header-avatar-icon/schema.d.mts +1 -17
  41. package/dist/components/biz/business/header-search/header-avatar-icon/server.d.mts +2 -10
  42. package/dist/components/biz/business/header-search/header-avatar-logo-search/client.d.mts +2 -11
  43. package/dist/components/biz/business/header-search/header-avatar-logo-search/index.d.mts +4 -4
  44. package/dist/components/biz/business/header-search/header-avatar-logo-search/material.d.mts +1 -14
  45. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.d.mts +1 -22
  46. package/dist/components/biz/business/header-search/header-avatar-logo-search/server.d.mts +2 -10
  47. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/client.d.mts +2 -11
  48. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/index.d.mts +4 -4
  49. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.d.mts +1 -14
  50. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.d.mts +1 -20
  51. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/server.d.mts +2 -10
  52. package/dist/components/biz/business/header-search/header-logo-search/client.d.mts +2 -13
  53. package/dist/components/biz/business/header-search/header-logo-search/index.d.mts +4 -4
  54. package/dist/components/biz/business/header-search/header-logo-search/material.d.mts +1 -14
  55. package/dist/components/biz/business/header-search/header-logo-search/schema.d.mts +1 -22
  56. package/dist/components/biz/business/header-search/header-logo-search/server.d.mts +2 -10
  57. package/dist/components/biz/business/header-search/header-search/client.d.mts +2 -13
  58. package/dist/components/biz/business/header-search/header-search/index.d.mts +4 -4
  59. package/dist/components/biz/business/header-search/header-search/material.d.mts +1 -12
  60. package/dist/components/biz/business/header-search/header-search/schema.d.mts +1 -17
  61. package/dist/components/biz/business/header-search/header-search/server.d.mts +2 -10
  62. package/dist/components/biz/business/home-recommend/home-recommend-grid/index.d.mts +2 -2
  63. package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.d.mts +2 -51
  64. package/dist/components/biz/business/home-recommend/home-recommend-grid/material.d.mts +1 -41
  65. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/index.d.mts +2 -2
  66. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.d.mts +2 -46
  67. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.d.mts +1 -38
  68. package/dist/components/biz/business/home-recommend/index.d.mts +2 -2
  69. package/dist/components/biz/business/image-text-recommend/index.d.mts +2 -2
  70. package/dist/components/biz/business/image-text-recommend/material.d.mts +1 -33
  71. package/dist/components/biz/business/image-text-recommend/schema.d.mts +1 -30
  72. package/dist/components/biz/business/index.d.mts +11 -11
  73. package/dist/components/biz/business/large-feature-grid/material.d.mts +1 -8
  74. package/dist/components/biz/business/marquee/index.d.mts +2 -2
  75. package/dist/components/biz/business/marquee/material.d.mts +1 -32
  76. package/dist/components/biz/business/marquee/schema.d.mts +1 -29
  77. package/dist/components/biz/business/profile/index.d.mts +1 -1
  78. package/dist/components/biz/business/profile/profile-header/material.d.mts +2 -30
  79. package/dist/components/biz/business/profile/profile-header/schema.d.mts +2 -9
  80. package/dist/components/biz/business/profile/profile-main/index.d.mts +1 -1
  81. package/dist/components/biz/business/profile/profile-main/material.d.mts +1 -12
  82. package/dist/components/biz/business/profile/profile-main/schema.d.mts +2 -9
  83. package/dist/components/biz/business/search-history/index.d.mts +2 -2
  84. package/dist/components/biz/business/search-history/material.d.mts +1 -14
  85. package/dist/components/biz/business/search-history/schema.d.mts +1 -12
  86. package/dist/components/biz/business/search-input/index.d.mts +2 -2
  87. package/dist/components/biz/business/search-input/material.d.mts +1 -12
  88. package/dist/components/biz/business/search-input/schema.d.mts +2 -9
  89. package/dist/components/biz/business/shortcut-grid/material.d.mts +1 -20
  90. package/dist/components/biz/business/tab-bar/index.d.mts +2 -2
  91. package/dist/components/biz/business/tab-bar/material.d.mts +1 -12
  92. package/dist/components/biz/business/tab-bar/schema.d.mts +2 -9
  93. package/dist/components/biz/business/text-recommend/index.d.mts +2 -2
  94. package/dist/components/biz/business/text-recommend/material.d.mts +1 -17
  95. package/dist/components/biz/business/text-recommend/schema.d.mts +1 -14
  96. package/dist/components/biz/example/button/index.d.mts +2 -2
  97. package/dist/components/biz/example/button/material.d.mts +1 -22
  98. package/dist/components/biz/example/button/schema.d.mts +2 -29
  99. package/dist/components/ui/badge.d.mts +1 -1
  100. package/dist/components/ui/button.d.mts +1 -1
  101. package/dist/components/ui/image.d.mts +4 -4
  102. package/package.json +1 -1
  103. package/dist/components/biz/business/banner-carousel/schema.d.mts +0 -28
  104. package/dist/components/biz/business/banner-carousel/server.d.mts +0 -18
  105. package/dist/components/biz/business/channel-list/client.d.mts +0 -8
  106. package/dist/components/biz/business/channel-list/schema.d.mts +0 -30
  107. package/dist/components/biz/business/shortcut-grid/client.d.mts +0 -12
  108. package/dist/components/biz/business/shortcut-grid/schema.d.mts +0 -26
  109. package/dist/components/biz/business/shortcut-grid/server.d.mts +0 -11
@@ -1,34 +1,6 @@
1
1
 
2
- import { UserProfileHeaderClient } from "./client.mjs";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
4
- import * as zod from "zod";
5
- import * as create_funhub_sdk0 from "create-funhub/sdk";
6
- import * as zod_v4_core0 from "zod/v4/core";
7
-
8
2
  //#region components/biz/business/profile/profile-header/material.d.ts
9
- declare const profileHeaderMaterial: create_funhub_sdk0.DefineMaterialOption<({
10
- mode,
11
- ...props
12
- }: React.ComponentProps<typeof UserProfileHeaderClient>) => react_jsx_runtime0.JSX.Element, ({
13
- mode,
14
- ...props
15
- }: React.ComponentProps<typeof UserProfileHeaderClient>) => react_jsx_runtime0.JSX.Element, zod.ZodObject<{
16
- mode: zod.ZodOptional<zod.ZodEnum<{
17
- renderer: "renderer";
18
- editor: "editor";
19
- }>>;
20
- }, zod_v4_core0.$strip>, "profile-header", "内容组件">;
21
- declare const profileHeaderMaterialWithDisabledBackground: create_funhub_sdk0.DefineMaterialOption<({
22
- mode,
23
- ...props
24
- }: React.ComponentProps<typeof UserProfileHeaderClient>) => react_jsx_runtime0.JSX.Element, ({
25
- mode,
26
- ...props
27
- }: React.ComponentProps<typeof UserProfileHeaderClient>) => react_jsx_runtime0.JSX.Element, zod.ZodObject<{
28
- mode: zod.ZodOptional<zod.ZodEnum<{
29
- renderer: "renderer";
30
- editor: "editor";
31
- }>>;
32
- }, zod_v4_core0.$strip>, "profile-header-with-disabled-background", "内容组件">;
3
+ declare const profileHeaderMaterial: any;
4
+ declare const profileHeaderMaterialWithDisabledBackground: any;
33
5
  //#endregion
34
6
  export { profileHeaderMaterial, profileHeaderMaterialWithDisabledBackground };
@@ -1,19 +1,12 @@
1
1
 
2
- import * as zod from "zod";
3
2
  import { InferSchemaProps } from "create-funhub/sdk";
4
- import * as zod_v4_core0 from "zod/v4/core";
5
3
 
6
4
  //#region components/biz/business/profile/profile-header/schema.d.ts
7
5
  /**
8
6
  * 用户资料头部物料 inspector 配置。
9
7
  */
10
- declare const profileHeaderInspectorPropsSchema: zod.ZodObject<{
11
- mode: zod.ZodOptional<zod.ZodEnum<{
12
- renderer: "renderer";
13
- editor: "editor";
14
- }>>;
15
- }, zod_v4_core0.$strip>;
16
- declare const profileHeaderInspectorDefaultProps: {};
8
+ declare const profileHeaderInspectorPropsSchema: any;
9
+ declare const profileHeaderInspectorDefaultProps: any;
17
10
  type ProfileHeaderInspectorProps = InferSchemaProps<typeof profileHeaderInspectorPropsSchema>;
18
11
  interface UserProfileHeaderAuthConfig {
19
12
  headers?: Record<string, string>;
@@ -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 { UserProfileMain } from "./server.mjs";
5
4
  import { profileMainMaterial } from "./material.mjs";
5
+ import { UserProfileMain } from "./server.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,16 +1,5 @@
1
1
 
2
- import { UserProfileMainClient } from "./client.mjs";
3
- import { UserProfileMain } from "./server.mjs";
4
- import * as zod from "zod";
5
- import * as create_funhub_sdk0 from "create-funhub/sdk";
6
- import * as zod_v4_core0 from "zod/v4/core";
7
-
8
2
  //#region components/biz/business/profile/profile-main/material.d.ts
9
- declare const profileMainMaterial: create_funhub_sdk0.DefineMaterialOption<typeof UserProfileMain, typeof UserProfileMainClient, zod.ZodObject<{
10
- mode: zod.ZodOptional<zod.ZodEnum<{
11
- renderer: "renderer";
12
- editor: "editor";
13
- }>>;
14
- }, zod_v4_core0.$strip>, "profile-main", "内容组件">;
3
+ declare const profileMainMaterial: any;
15
4
  //#endregion
16
5
  export { profileMainMaterial };
@@ -1,19 +1,12 @@
1
1
 
2
- import * as zod from "zod";
3
2
  import { InferSchemaProps, MaterialComponentMode } from "create-funhub/sdk";
4
- import * as zod_v4_core0 from "zod/v4/core";
5
3
 
6
4
  //#region components/biz/business/profile/profile-main/schema.d.ts
7
5
  /**
8
6
  * 用户资料主体物料暂不对外开放 inspector 配置。
9
7
  */
10
- declare const profileMainInspectorPropsSchema: zod.ZodObject<{
11
- mode: zod.ZodOptional<zod.ZodEnum<{
12
- renderer: "renderer";
13
- editor: "editor";
14
- }>>;
15
- }, zod_v4_core0.$strip>;
16
- declare const profileMainInspectorDefaultProps: {};
8
+ declare const profileMainInspectorPropsSchema: any;
9
+ declare const profileMainInspectorDefaultProps: any;
17
10
  type ProfileMainInspectorProps = InferSchemaProps<typeof profileMainInspectorPropsSchema>;
18
11
  interface ProfileMainRuntimeTabProps {
19
12
  tab?: string;
@@ -1,5 +1,5 @@
1
1
 
2
2
  import { searchHistoryInspectorPropsSchema } from "./schema.mjs";
3
3
  import { SearchHistoryClient, SearchHistoryProps } from "./client.mjs";
4
- import { SearchHistoryServer } from "./server.mjs";
5
- import { searchHistoryMaterial } from "./material.mjs";
4
+ import { searchHistoryMaterial } from "./material.mjs";
5
+ import { SearchHistoryServer } from "./server.mjs";
@@ -1,18 +1,5 @@
1
1
 
2
- import { SearchHistoryClient } from "./client.mjs";
3
- import { SearchHistoryServer } from "./server.mjs";
4
- import * as zod from "zod";
5
- import * as create_funhub_sdk0 from "create-funhub/sdk";
6
- import * as zod_v4_core0 from "zod/v4/core";
7
-
8
2
  //#region components/biz/business/search-history/material.d.ts
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;
12
- mode: zod.ZodOptional<zod.ZodEnum<{
13
- renderer: "renderer";
14
- editor: "editor";
15
- }>>;
16
- }, zod_v4_core0.$strip>, "search-history", "行为组件">;
3
+ declare const searchHistoryMaterial: any;
17
4
  //#endregion
18
5
  export { searchHistoryMaterial };
@@ -1,19 +1,8 @@
1
1
 
2
- import * as zod from "zod";
3
- import * as create_funhub_sdk0 from "create-funhub/sdk";
4
- import * as zod_v4_core0 from "zod/v4/core";
5
-
6
2
  //#region components/biz/business/search-history/schema.d.ts
7
3
  /**
8
4
  * 搜索历史物料属性定义
9
5
  */
10
- declare const searchHistoryInspectorPropsSchema: zod.ZodObject<{
11
- title: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
12
- rows: zod.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
13
- mode: zod.ZodOptional<zod.ZodEnum<{
14
- renderer: "renderer";
15
- editor: "editor";
16
- }>>;
17
- }, zod_v4_core0.$strip>;
6
+ declare const searchHistoryInspectorPropsSchema: any;
18
7
  //#endregion
19
8
  export { 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 { SearchInputServer } from "./server.mjs";
5
- import { searchInputMaterial } from "./material.mjs";
4
+ import { searchInputMaterial } from "./material.mjs";
5
+ import { SearchInputServer } from "./server.mjs";
@@ -1,16 +1,5 @@
1
1
 
2
- import { SearchInputClient } from "./client.mjs";
3
- import { SearchInputServer } from "./server.mjs";
4
- import * as zod from "zod";
5
- import * as create_funhub_sdk0 from "create-funhub/sdk";
6
- import * as zod_v4_core0 from "zod/v4/core";
7
-
8
2
  //#region components/biz/business/search-input/material.d.ts
9
- declare const searchInputMaterial: create_funhub_sdk0.DefineMaterialOption<typeof SearchInputServer, typeof SearchInputClient, zod.ZodObject<{
10
- mode: zod.ZodOptional<zod.ZodEnum<{
11
- renderer: "renderer";
12
- editor: "editor";
13
- }>>;
14
- }, zod_v4_core0.$strip>, "search-input", "行为组件">;
3
+ declare const searchInputMaterial: any;
15
4
  //#endregion
16
5
  export { searchInputMaterial };
@@ -1,19 +1,12 @@
1
1
 
2
- import * as zod from "zod";
3
2
  import { InferSchemaProps } from "create-funhub/sdk";
4
- import * as zod_v4_core0 from "zod/v4/core";
5
3
 
6
4
  //#region components/biz/business/search-input/schema.d.ts
7
5
  /**
8
6
  * 搜索输入框物料暂不对外开放配置,仅做占位展示;占位符等由服务端 i18n 注入。
9
7
  */
10
- declare const searchInputInspectorPropsSchema: zod.ZodObject<{
11
- mode: zod.ZodOptional<zod.ZodEnum<{
12
- renderer: "renderer";
13
- editor: "editor";
14
- }>>;
15
- }, zod_v4_core0.$strip>;
16
- declare const searchInputInspectorDefaultProps: {};
8
+ declare const searchInputInspectorPropsSchema: any;
9
+ declare const searchInputInspectorDefaultProps: any;
17
10
  type SearchInputInspectorProps = InferSchemaProps<typeof searchInputInspectorPropsSchema>;
18
11
  //#endregion
19
12
  export { SearchInputInspectorProps, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema };
@@ -1,24 +1,5 @@
1
1
 
2
- import { ShortcutGridClient } from "./client.mjs";
3
- import { ShortcutGrid } from "./server.mjs";
4
- import * as zod from "zod";
5
- import * as create_funhub_sdk0 from "create-funhub/sdk";
6
- import * as zod_v4_core0 from "zod/v4/core";
7
-
8
2
  //#region components/biz/business/shortcut-grid/material.d.ts
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;
13
- shortcuts: zod.ZodArray<zod.ZodObject<{
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;
18
- mode: zod.ZodOptional<zod.ZodEnum<{
19
- renderer: "renderer";
20
- editor: "editor";
21
- }>>;
22
- }, zod_v4_core0.$strip>, "shortcut-grid", "金刚组件">;
3
+ declare const shortcutGridMaterial: any;
23
4
  //#endregion
24
5
  export { shortcutGridMaterial };
@@ -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 { TabBarServer } from "./server.mjs";
5
- import { tabBarMaterial } from "./material.mjs";
4
+ import { tabBarMaterial } from "./material.mjs";
5
+ import { TabBarServer } from "./server.mjs";
@@ -1,19 +1,8 @@
1
1
 
2
- import { TabBarClient } from "./client.mjs";
3
- import { TabBarServer } from "./server.mjs";
4
- import * as zod from "zod";
5
- import * as create_funhub_sdk0 from "create-funhub/sdk";
6
- import * as zod_v4_core0 from "zod/v4/core";
7
-
8
2
  //#region components/biz/business/tab-bar/material.d.ts
9
3
  /**
10
4
  * TabBar 物料定义
11
5
  */
12
- declare const tabBarMaterial: create_funhub_sdk0.DefineMaterialOption<typeof TabBarServer, typeof TabBarClient, zod.ZodObject<{
13
- mode: zod.ZodOptional<zod.ZodEnum<{
14
- renderer: "renderer";
15
- editor: "editor";
16
- }>>;
17
- }, zod_v4_core0.$strip>, "tab-bar", "行为组件">;
6
+ declare const tabBarMaterial: any;
18
7
  //#endregion
19
8
  export { tabBarMaterial };
@@ -1,19 +1,12 @@
1
1
 
2
- import * as zod from "zod";
3
2
  import { InferSchemaProps } from "create-funhub/sdk";
4
- import * as zod_v4_core0 from "zod/v4/core";
5
3
 
6
4
  //#region components/biz/business/tab-bar/schema.d.ts
7
5
  /**
8
6
  * TabBar 物料暂不对外开放配置,仅做占位展示。
9
7
  */
10
- declare const tabBarInspectorPropsSchema: zod.ZodObject<{
11
- mode: zod.ZodOptional<zod.ZodEnum<{
12
- renderer: "renderer";
13
- editor: "editor";
14
- }>>;
15
- }, zod_v4_core0.$strip>;
16
- declare const tabBarInspectorDefaultProps: {};
8
+ declare const tabBarInspectorPropsSchema: any;
9
+ declare const tabBarInspectorDefaultProps: any;
17
10
  type TabBarInspectorProps = InferSchemaProps<typeof tabBarInspectorPropsSchema>;
18
11
  //#endregion
19
12
  export { TabBarInspectorProps, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema };
@@ -1,5 +1,5 @@
1
1
 
2
2
  import { textRecommendInspectorPropsSchema } from "./schema.mjs";
3
3
  import { TextRecommendClient, TextRecommendProps } from "./client.mjs";
4
- import { TextRecommendServer } from "./server.mjs";
5
- import { textRecommendMaterial } from "./material.mjs";
4
+ import { textRecommendMaterial } from "./material.mjs";
5
+ import { TextRecommendServer } from "./server.mjs";
@@ -1,21 +1,5 @@
1
1
 
2
- import { TextRecommendClient } from "./client.mjs";
3
- import { TextRecommendServer } from "./server.mjs";
4
- import * as zod from "zod";
5
- import * as create_funhub_sdk0 from "create-funhub/sdk";
6
- import * as zod_v4_core0 from "zod/v4/core";
7
-
8
2
  //#region components/biz/business/text-recommend/material.d.ts
9
- declare const textRecommendMaterial: create_funhub_sdk0.DefineMaterialOption<typeof TextRecommendServer, typeof TextRecommendClient, zod.ZodObject<{
10
- title: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
11
- displayCount: zod.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
12
- items: zod.ZodArray<zod.ZodObject<{
13
- label: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
14
- }, zod_v4_core0.$strip>> & create_funhub_sdk0.SchemaHasDefaultValue;
15
- mode: zod.ZodOptional<zod.ZodEnum<{
16
- renderer: "renderer";
17
- editor: "editor";
18
- }>>;
19
- }, zod_v4_core0.$strip>, "text-recommend", "内容组件">;
3
+ declare const textRecommendMaterial: any;
20
4
  //#endregion
21
5
  export { textRecommendMaterial };
@@ -1,21 +1,8 @@
1
1
 
2
- import { z } from "zod";
3
- import * as create_funhub_sdk0 from "create-funhub/sdk";
4
-
5
2
  //#region components/biz/business/text-recommend/schema.d.ts
6
3
  /**
7
4
  * 文字推荐物料属性定义
8
5
  */
9
- declare const textRecommendInspectorPropsSchema: z.ZodObject<{
10
- title: z.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
11
- displayCount: z.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
12
- items: z.ZodArray<z.ZodObject<{
13
- label: z.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
14
- }, z.core.$strip>> & create_funhub_sdk0.SchemaHasDefaultValue;
15
- mode: z.ZodOptional<z.ZodEnum<{
16
- renderer: "renderer";
17
- editor: "editor";
18
- }>>;
19
- }, z.core.$strip>;
6
+ declare const textRecommendInspectorPropsSchema: any;
20
7
  //#endregion
21
8
  export { 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 { Button } from "./server.mjs";
5
- import { exampleButtonMaterial } from "./material.mjs";
4
+ import { exampleButtonMaterial } from "./material.mjs";
5
+ import { Button } from "./server.mjs";
@@ -1,26 +1,5 @@
1
1
 
2
- import { ButtonClient } from "./client.mjs";
3
- import { Button } from "./server.mjs";
4
- import * as zod from "zod";
5
- import * as create_funhub_sdk0 from "create-funhub/sdk";
6
- import * as zod_v4_core0 from "zod/v4/core";
7
-
8
2
  //#region components/biz/example/button/material.d.ts
9
- declare const exampleButtonMaterial: create_funhub_sdk0.DefineMaterialOption<typeof Button, typeof ButtonClient, zod.ZodObject<{
10
- text: zod.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
11
- variant: zod.ZodType<"default" | "blue" | "red", unknown, zod_v4_core0.$ZodTypeInternals<"default" | "blue" | "red", unknown>> & create_funhub_sdk0.SchemaHasDefaultValue;
12
- disabled: zod.ZodOptional<zod.ZodBoolean> & create_funhub_sdk0.SchemaHasDefaultValue;
13
- loading: zod.ZodOptional<zod.ZodBoolean>;
14
- items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
15
- name: zod.ZodOptional<zod.ZodString>;
16
- }, zod_v4_core0.$strip>>> & create_funhub_sdk0.SchemaHasDefaultValue;
17
- info: zod.ZodOptional<zod.ZodObject<{
18
- readonly address: zod.ZodOptional<zod.ZodString>;
19
- }, zod_v4_core0.$strip>> & create_funhub_sdk0.SchemaHasDefaultValue;
20
- mode: zod.ZodOptional<zod.ZodEnum<{
21
- renderer: "renderer";
22
- editor: "editor";
23
- }>>;
24
- }, zod_v4_core0.$strip>, "example-button", "行为组件">;
3
+ declare const exampleButtonMaterial: any;
25
4
  //#endregion
26
5
  export { exampleButtonMaterial };
@@ -1,39 +1,12 @@
1
1
 
2
- import z$1 from "zod";
3
- import * as create_funhub_sdk0 from "create-funhub/sdk";
4
2
  import { InferSchemaProps } from "create-funhub/sdk";
5
3
 
6
4
  //#region components/biz/example/button/schema.d.ts
7
5
  /**
8
6
  * 定义可以被低代码右侧inspector编辑的props
9
7
  */
10
- declare const buttonInspectorPropsSchema: z$1.ZodObject<{
11
- text: z$1.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
12
- variant: z$1.ZodType<"default" | "blue" | "red", unknown, z$1.core.$ZodTypeInternals<"default" | "blue" | "red", unknown>> & create_funhub_sdk0.SchemaHasDefaultValue;
13
- disabled: z$1.ZodOptional<z$1.ZodBoolean> & create_funhub_sdk0.SchemaHasDefaultValue;
14
- loading: z$1.ZodOptional<z$1.ZodBoolean>;
15
- items: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16
- name: z$1.ZodOptional<z$1.ZodString>;
17
- }, z$1.core.$strip>>> & create_funhub_sdk0.SchemaHasDefaultValue;
18
- info: z$1.ZodOptional<z$1.ZodObject<{
19
- readonly address: z$1.ZodOptional<z$1.ZodString>;
20
- }, z$1.core.$strip>> & create_funhub_sdk0.SchemaHasDefaultValue;
21
- mode: z$1.ZodOptional<z$1.ZodEnum<{
22
- renderer: "renderer";
23
- editor: "editor";
24
- }>>;
25
- }, z$1.core.$strip>;
26
- declare const buttonInspectorDefaultProps: {
27
- text: string;
28
- variant: "default" | "blue" | "red";
29
- disabled: boolean;
30
- items: {
31
- name?: string | undefined;
32
- }[];
33
- info: {
34
- address?: string | undefined;
35
- };
36
- };
8
+ declare const buttonInspectorPropsSchema: any;
9
+ declare const buttonInspectorDefaultProps: any;
37
10
  type ButtonInspectorProps<T extends object = object> = InferSchemaProps<typeof buttonInspectorPropsSchema> & T;
38
11
  /**
39
12
  * 基于ButtonInspectorProps再派生出组件真正的props(因为不是所有props都需要被编辑,比如说下面的children就不需要,但是button组件又需要传入children)
@@ -6,7 +6,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
6
6
  //#region components/ui/badge.d.ts
7
7
  /** badgeVariants 工具定义。 */
8
8
  declare const badgeVariants: (props?: ({
9
- variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
9
+ variant?: "default" | "link" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
10
10
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
11
11
  /** Badge 组件。 */
12
12
  declare function Badge({
@@ -7,7 +7,7 @@ import * as class_variance_authority_types0 from "class-variance-authority/types
7
7
  //#region components/ui/button.d.ts
8
8
  /** buttonVariants 工具定义。 */
9
9
  declare const buttonVariants: (props?: ({
10
- variant?: "link" | "default" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
10
+ variant?: "default" | "link" | "destructive" | "secondary" | "outline" | "ghost" | null | undefined;
11
11
  size?: "default" | "icon" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
12
12
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
13
13
  /** Button 组件属性。 */
@@ -1,11 +1,11 @@
1
1
 
2
2
  import * as React from "react";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
- import Image from "next/image";
4
+ import NextImage from "next/image";
5
5
 
6
6
  //#region components/ui/image.d.ts
7
7
  /** BaseImageProps 属性定义。 */
8
- type BaseImageProps = Omit<React.ComponentPropsWithoutRef<typeof Image>, 'className' | 'src' | 'alt' | 'width' | 'height' | 'loading' | 'priority' | 'fill' | 'style'>;
8
+ type BaseImageProps = Omit<React.ComponentPropsWithoutRef<typeof NextImage>, 'className' | 'src' | 'alt' | 'width' | 'height' | 'loading' | 'priority' | 'fill' | 'style'>;
9
9
  type CommonImageProps = BaseImageProps & {
10
10
  /** 图片地址,支持普通 URL、默认资源路径和加密地址。 */src: string; /** 图片替代文本。 */
11
11
  alt?: string; /** 图片类名。 */
@@ -27,6 +27,6 @@ type ImagePropsWithSize = CommonImageProps & {
27
27
  /** ImageProps 属性定义。 */
28
28
  type ImageProps = ImagePropsWithFill | ImagePropsWithSize;
29
29
  /** 图片组件:支持 bnc 解密、默认资源域名拼接与错误占位。 */
30
- declare function Image$1(props: ImageProps): react_jsx_runtime0.JSX.Element;
30
+ declare function Image(props: ImageProps): react_jsx_runtime0.JSX.Element;
31
31
  //#endregion
32
- export { BaseImageProps, CommonImageProps, Image$1 as Image, ImageProps, ImagePropsWithFill, ImagePropsWithSize };
32
+ export { BaseImageProps, CommonImageProps, Image, ImageProps, ImagePropsWithFill, ImagePropsWithSize };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@funhub/platform",
3
3
  "type": "module",
4
- "version": "0.1.131",
4
+ "version": "0.1.132",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "**/*.css"
@@ -1,28 +0,0 @@
1
-
2
- import z$1 from "zod";
3
- import * as create_funhub_sdk0 from "create-funhub/sdk";
4
- import { InferSchemaProps } from "create-funhub/sdk";
5
-
6
- //#region components/biz/business/banner-carousel/schema.d.ts
7
- /**
8
- * 定义可以被低代码右侧 inspector 编辑的 props
9
- */
10
- declare const basicBannerInspectorPropsSchema: z$1.ZodObject<{
11
- interval: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
12
- list: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
13
- contentId: z$1.ZodOptional<z$1.ZodNumber>;
14
- title: z$1.ZodOptional<z$1.ZodString>;
15
- coverUrl: z$1.ZodOptional<z$1.ZodString>;
16
- badgeUrl: z$1.ZodOptional<z$1.ZodString>;
17
- showPlayCount: z$1.ZodOptional<z$1.ZodBoolean>;
18
- showEpisodeCount: z$1.ZodOptional<z$1.ZodBoolean>;
19
- target: z$1.ZodOptional<z$1.ZodString>;
20
- }, z$1.core.$strip>>> & create_funhub_sdk0.SchemaHasDefaultValue;
21
- mode: z$1.ZodOptional<z$1.ZodEnum<{
22
- renderer: "renderer";
23
- editor: "editor";
24
- }>>;
25
- }, z$1.core.$strip>;
26
- type BasicBannerInspectorProps<T extends object = object> = InferSchemaProps<typeof basicBannerInspectorPropsSchema> & T;
27
- //#endregion
28
- export { BasicBannerInspectorProps };
@@ -1,18 +0,0 @@
1
-
2
- import { BasicBannerInspectorProps } from "./schema.mjs";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
4
-
5
- //#region components/biz/business/banner-carousel/server.d.ts
6
- /** BasicBanner 物料组件 props(inspector 可编辑字段 + 可选数据) */
7
- type BasicBannerProps = BasicBannerInspectorProps & {
8
- /** 轮播数据,未传入时使用 mock 数据 */data?: {
9
- list: Array<Record<string, unknown>>;
10
- };
11
- };
12
- /**
13
- * BasicBanner 物料组件
14
- * 接收 inspector 可编辑的 props,转换为 BaseComponentProps 传给 runtime client
15
- */
16
- declare function BannerCarousel(props: BasicBannerProps): react_jsx_runtime0.JSX.Element;
17
- //#endregion
18
- export { BannerCarousel };
@@ -1,8 +0,0 @@
1
-
2
- import { ChannelListProps } from "./schema.mjs";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
4
-
5
- //#region components/biz/business/channel-list/client.d.ts
6
- declare function BasicChannelListClient(props: ChannelListProps): react_jsx_runtime0.JSX.Element;
7
- //#endregion
8
- export { BasicChannelListClient };
@@ -1,30 +0,0 @@
1
-
2
- import { BaseComponentProps } from "../../utils/types/component.mjs";
3
- import "../../utils/index.mjs";
4
- import z$1 from "zod";
5
- import * as create_funhub_sdk0 from "create-funhub/sdk";
6
- import { InferSchemaProps } from "create-funhub/sdk";
7
-
8
- //#region components/biz/business/channel-list/schema.d.ts
9
- /**
10
- * 定义可以被低代码右侧inspector编辑的props
11
- */
12
- declare const channelListInspectorPropsSchema: z$1.ZodObject<{
13
- modifiable: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
14
- list: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
15
- name: z$1.ZodOptional<z$1.ZodString>;
16
- icon: z$1.ZodOptional<z$1.ZodString>;
17
- isDefault: z$1.ZodOptional<z$1.ZodBoolean>;
18
- }, z$1.core.$strip>>> & create_funhub_sdk0.SchemaHasDefaultValue;
19
- mode: z$1.ZodOptional<z$1.ZodEnum<{
20
- renderer: "renderer";
21
- editor: "editor";
22
- }>>;
23
- }, z$1.core.$strip>;
24
- type ChannelListInspectorProps<T extends object = object> = InferSchemaProps<typeof channelListInspectorPropsSchema> & BaseComponentProps;
25
- /**
26
- * 基于ButtonInspectorProps再派生出组件真正的props(因为不是所有props都需要被编辑,比如说下面的children就不需要,但是button组件又需要传入children)
27
- */
28
- type ChannelListProps = ChannelListInspectorProps;
29
- //#endregion
30
- export { ChannelListProps };
@@ -1,12 +0,0 @@
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,26 +0,0 @@
1
-
2
- import z$1 from "zod";
3
- import * as create_funhub_sdk0 from "create-funhub/sdk";
4
- import { InferSchemaProps } from "create-funhub/sdk";
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 & create_funhub_sdk0.SchemaHasDefaultValue;
12
- shortcutCount: z$1.ZodNumber & create_funhub_sdk0.SchemaHasDefaultValue;
13
- isShortcutTitle: z$1.ZodBoolean & create_funhub_sdk0.SchemaHasDefaultValue;
14
- shortcuts: z$1.ZodArray<z$1.ZodObject<{
15
- label: z$1.ZodOptional<z$1.ZodString> & create_funhub_sdk0.SchemaHasDefaultValue;
16
- icon: z$1.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
17
- href: z$1.ZodString & create_funhub_sdk0.SchemaHasDefaultValue;
18
- }, z$1.core.$strip>> & create_funhub_sdk0.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,11 +0,0 @@
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 };