@funhub/platform 0.1.25 → 0.1.27

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/README.md +5 -0
  2. package/dist/biz.d.mts +11 -5
  3. package/dist/biz.mjs +1 -1
  4. package/dist/common.d.mts +2 -1
  5. package/dist/common.mjs +1 -1
  6. package/dist/components/biz/business/comment/comment-list.mjs +1 -1
  7. package/dist/components/biz/business/comment/reply-detail.mjs +1 -1
  8. package/dist/components/biz/business/contact/contact-list.mjs +1 -1
  9. package/dist/components/biz/business/detail/detail-operate.mjs +1 -1
  10. package/dist/components/biz/business/detail/materials/video-detail-actions/material.mjs +1 -1
  11. package/dist/components/biz/business/detail/materials/video-detail-info/material.mjs +1 -1
  12. package/dist/components/biz/business/detail/materials/video-detail-info-title/material.mjs +1 -1
  13. package/dist/components/biz/business/detail/materials/video-detail-info-title-tags-episodes/material.mjs +1 -1
  14. package/dist/components/biz/business/detail/materials/video-detail-player/material.mjs +1 -1
  15. package/dist/components/biz/business/detail/materials/video-detail-recommend/client.mjs +1 -1
  16. package/dist/components/biz/business/detail/materials/video-detail-recommend/material.mjs +1 -1
  17. package/dist/components/biz/business/home-recommend/index.d.mts +6 -0
  18. package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +1 -1
  19. package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/index.d.mts +4 -1
  20. package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/index.mjs +1 -1
  21. package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/inspector-schema.d.mts +18 -0
  22. package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/inspector-schema.mjs +2 -0
  23. package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/material.d.mts +14 -0
  24. package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/material.mjs +2 -0
  25. package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/schema/component.mjs +1 -1
  26. package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/schema/props.schema.mjs +1 -1
  27. package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/server.d.mts +17 -0
  28. package/dist/components/biz/business/home-recommend/variants/home-recommend-grid/server.mjs +2 -0
  29. package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/index.d.mts +4 -1
  30. package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/index.mjs +1 -1
  31. package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/inspector-schema.d.mts +18 -0
  32. package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs +2 -0
  33. package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/material.d.mts +14 -0
  34. package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/material.mjs +2 -0
  35. package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/schema/component.mjs +1 -1
  36. package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/schema/props.schema.mjs +1 -1
  37. package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/server.d.mts +17 -0
  38. package/dist/components/biz/business/home-recommend/variants/home-recommend-waterfall/server.mjs +2 -0
  39. package/dist/components/biz/business/index.d.mts +11 -5
  40. package/dist/components/biz/business/index.mjs +1 -1
  41. package/dist/components/biz/business/marquee/client.d.mts +2 -1
  42. package/dist/components/biz/business/marquee/client.mjs +1 -1
  43. package/dist/components/biz/business/marquee/material.d.mts +5 -3
  44. package/dist/components/biz/business/marquee/material.mjs +1 -1
  45. package/dist/components/biz/business/marquee/schema.d.mts +10 -6
  46. package/dist/components/biz/business/marquee/schema.mjs +1 -1
  47. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/runtime/client.mjs +1 -1
  48. package/dist/components/biz/business/{search-history2 → search-history}/client.d.mts +6 -5
  49. package/dist/components/biz/business/search-history/client.mjs +2 -0
  50. package/dist/components/biz/business/search-history/index.d.mts +5 -0
  51. package/dist/components/biz/business/{search-history2 → search-history}/material.d.mts +4 -4
  52. package/dist/components/biz/business/search-history/material.mjs +2 -0
  53. package/dist/components/biz/business/{search-history2 → search-history}/schema.d.mts +9 -6
  54. package/dist/components/biz/business/{search-history2 → search-history}/schema.mjs +1 -1
  55. package/dist/components/biz/business/{search-history2 → search-history}/server.d.mts +1 -1
  56. package/dist/components/biz/business/search-input/client.mjs +1 -1
  57. package/dist/components/biz/business/search-input/material.mjs +1 -1
  58. package/dist/components/biz/business/tab-bar/material.mjs +1 -1
  59. package/dist/components/biz/business/text-recommend/material.mjs +1 -1
  60. package/dist/components/biz/business/video-horizontal-list/material.mjs +1 -1
  61. package/dist/components/biz/example/button/client.mjs +1 -1
  62. package/dist/components/common/collection-popup/collection-create-modal.mjs +1 -1
  63. package/dist/components/common/funhub-provider/funhub-provider.d.mts +4 -0
  64. package/dist/components/common/funhub-provider/funhub-provider.mjs +1 -1
  65. package/dist/components/common/intl-provider/index.d.mts +2 -0
  66. package/dist/components/common/{intl-provider.d.mts → intl-provider/intl-provider.d.mts} +1 -1
  67. package/dist/components/common/intl-provider/intl-provider.mjs +2 -0
  68. package/dist/components/common/media-preview/index.mjs +1 -1
  69. package/dist/components/common/series-episodes/index.mjs +1 -1
  70. package/dist/components/common/share-popup/share-popup.mjs +1 -1
  71. package/dist/components/pages/(follow)/fans/page.mjs +1 -1
  72. package/dist/components/pages/(follow)/followed/page.mjs +1 -1
  73. package/dist/components/pages/collection-detail/detail.mjs +1 -1
  74. package/dist/components/pages/feed-series/feed-series-client.mjs +1 -1
  75. package/dist/components/pages/feed-series/page.mjs +1 -1
  76. package/dist/components/pages/login/index.mjs +1 -1
  77. package/dist/components/pages/profile/_components/tabs/collect-tab/client.mjs +1 -1
  78. package/dist/components/pages/profile/_components/tabs/history-tab/client.mjs +1 -1
  79. package/dist/components/pages/profile/_components/tabs/like-tab/client.mjs +1 -1
  80. package/dist/components/pages/profile/_components/tabs/publish-tab/client.mjs +1 -1
  81. package/dist/components/pages/profile/_components/user-profile-header/client.mjs +1 -1
  82. package/dist/components/pages/publish/components/collection-popup.mjs +1 -1
  83. package/dist/components/pages/publish/components/collection.mjs +1 -1
  84. package/dist/components/pages/publish/page-client.mjs +1 -1
  85. package/dist/components/pages/search/hot-recommend.mjs +1 -1
  86. package/dist/components/pages/search/page-client.mjs +1 -1
  87. package/dist/components/pages/search/search-result/search-video-info.mjs +1 -1
  88. package/dist/components/pages/search/top-header.mjs +1 -1
  89. package/dist/components/pages/settings/_components/settings.mjs +1 -1
  90. package/dist/components/pages/user-follow/_components/follow-no-login.mjs +1 -1
  91. package/dist/components/pages/user-follow/page.mjs +1 -1
  92. package/dist/components/ui/badge.d.mts +1 -1
  93. package/dist/components/ui/button.d.mts +1 -1
  94. package/dist/components/ui/image.d.mts +4 -4
  95. package/dist/hooks/use-search-history.d.mts +19 -0
  96. package/dist/hooks/use-search-history.mjs +2 -0
  97. package/dist/hooks.d.mts +2 -1
  98. package/dist/hooks.mjs +1 -1
  99. package/dist/materials.d.mts +3 -2
  100. package/dist/materials.mjs +1 -1
  101. package/dist/utils/share-manager.mjs +1 -1
  102. package/package.json +1 -1
  103. package/dist/components/biz/business/search-history/index.mjs +0 -2
  104. package/dist/components/biz/business/search-history/use-search-history.mjs +0 -2
  105. package/dist/components/biz/business/search-history2/client.mjs +0 -2
  106. package/dist/components/biz/business/search-history2/index.d.mts +0 -5
  107. package/dist/components/biz/business/search-history2/material.mjs +0 -2
  108. package/dist/components/common/intl-provider.mjs +0 -2
  109. /package/dist/components/biz/business/{search-history2 → search-history}/server.mjs +0 -0
@@ -1,4 +1,7 @@
1
1
 
2
2
  import { defaultProps } from "./defaults/default-props.mjs";
3
3
  import { HomeRecommendGridClient } from "./runtime/client.mjs";
4
- import { schema } from "./schema/index.mjs";
4
+ import { schema } from "./schema/index.mjs";
5
+ import { homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema } from "./inspector-schema.mjs";
6
+ import { HomeRecommendGrid } from "./server.mjs";
7
+ import { homeRecommendGridMaterial } from "./material.mjs";
@@ -1,2 +1,2 @@
1
1
 
2
- import{defaultProps as e}from"./defaults/default-props.mjs";import t from"./runtime/client.mjs";import{schema as n}from"./schema/index.mjs";var r=t;export{r as default};
2
+ import{defaultProps as e}from"./defaults/default-props.mjs";import t from"./runtime/client.mjs";import{schema as n}from"./schema/index.mjs";import{homeRecommendGridInspectorDefaultProps as r,homeRecommendGridInspectorPropsSchema as i}from"./inspector-schema.mjs";import{HomeRecommendGrid as a}from"./server.mjs";import{homeRecommendGridMaterial as o}from"./material.mjs";var s=t;export{s as default};
@@ -0,0 +1,18 @@
1
+
2
+ import { SchemaHasDefaultValue } from "../../../../../../utils/schema/schema.mjs";
3
+ import "../../../../../../utils/schema/index.mjs";
4
+ import z from "zod";
5
+
6
+ //#region components/biz/business/home-recommend/variants/home-recommend-grid/inspector-schema.d.ts
7
+ /**
8
+ * HomeRecommendGrid 物料属性 schema 定义。
9
+ */
10
+ declare const homeRecommendGridInspectorPropsSchema: z.ZodObject<{
11
+ moreLink: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
12
+ }, z.core.$strip>;
13
+ declare const homeRecommendGridInspectorDefaultProps: {
14
+ moreLink: string;
15
+ };
16
+ type HomeRecommendGridInspectorProps = z.infer<typeof homeRecommendGridInspectorPropsSchema>;
17
+ //#endregion
18
+ export { HomeRecommendGridInspectorProps, homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema };
@@ -0,0 +1,2 @@
1
+
2
+ import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"../../../../../../utils/schema/schema.mjs";const r=e({moreLink:t({label:`更多`,description:`为空时使用 block_id 生成默认跳转链接`,required:!1,defaultValue:``})}),i=n(r);export{i as homeRecommendGridInspectorDefaultProps,r as homeRecommendGridInspectorPropsSchema};
@@ -0,0 +1,14 @@
1
+
2
+ import { SchemaHasDefaultValue } from "../../../../../../utils/schema/schema.mjs";
3
+ import { DefineMaterialOption } from "../../../../../../utils/schema/material.mjs";
4
+ import "../../../../../../utils/schema/index.mjs";
5
+ import { HomeRecommendGrid } from "./server.mjs";
6
+ import * as zod from "zod";
7
+ import * as zod_v4_core0 from "zod/v4/core";
8
+
9
+ //#region components/biz/business/home-recommend/variants/home-recommend-grid/material.d.ts
10
+ declare const homeRecommendGridMaterial: DefineMaterialOption<typeof HomeRecommendGrid, zod.ZodObject<{
11
+ moreLink: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
12
+ }, zod_v4_core0.$strip>, "home-recommend-grid">;
13
+ //#endregion
14
+ export { homeRecommendGridMaterial };
@@ -0,0 +1,2 @@
1
+
2
+ import{defineMaterial as e}from"../../../../../../utils/schema/material.mjs";import{homeRecommendGridInspectorPropsSchema as t}from"./inspector-schema.mjs";import{HomeRecommendGrid as n}from"./server.mjs";const r=e({type:`home-recommend-grid`,name:`两列宫格推荐位`,icon:`/static/components-thumb/grid_two_column_single_row.png`,category:`内容组件`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as homeRecommendGridMaterial};
@@ -1,2 +1,2 @@
1
1
 
2
- const e={componentName:`HomeRecommendGrid`,displayName:`首页推荐两列宫格`,category:`HomeRecommend`,categoryName:`首页推荐`,enabled:!0};export{e as componentMeta};
2
+ const e={componentName:`HomeRecommendGrid`,displayName:`两列宫格推荐位`,category:`HomeRecommend`,categoryName:`首页推荐`,enabled:!0};export{e as componentMeta};
@@ -1,2 +1,2 @@
1
1
 
2
- const e={moreLink:{type:`string`,title:`更多跳转链接`,description:`为空时使用 block_id 生成默认跳转链接`,default:``}};export{e as propsSchema};
2
+ const e={moreLink:{type:`string`,title:`更多`,description:``,default:``}};export{e as propsSchema};
@@ -0,0 +1,17 @@
1
+
2
+ import { HomeRecommendData } from "../../types.mjs";
3
+ import { HomeRecommendGridInspectorProps } from "./inspector-schema.mjs";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+
6
+ //#region components/biz/business/home-recommend/variants/home-recommend-grid/server.d.ts
7
+ /** HomeRecommendGrid 物料组件 props(inspector 可编辑字段 + 可选数据) */
8
+ type HomeRecommendGridProps = HomeRecommendGridInspectorProps & {
9
+ /** 推荐位数据 */data?: HomeRecommendData;
10
+ };
11
+ /**
12
+ * HomeRecommendGrid 物料组件
13
+ * 接收 inspector 可编辑的 props,转换为 BaseComponentProps 传给 runtime client
14
+ */
15
+ declare function HomeRecommendGrid(props: HomeRecommendGridProps): react_jsx_runtime0.JSX.Element;
16
+ //#endregion
17
+ export { HomeRecommendGrid };
@@ -0,0 +1,2 @@
1
+
2
+ import{defaultProps as e}from"./defaults/default-props.mjs";import t from"./runtime/client.mjs";import{jsx as n}from"react/jsx-runtime";function r(r){let{moreLink:i=e.moreLink,data:a}=r;return n(t,{props:{moreLink:i},data:a})}export{r as HomeRecommendGrid};
@@ -1,4 +1,7 @@
1
1
 
2
2
  import { defaultProps } from "./defaults/default-props.mjs";
3
3
  import { HomeRecommendWaterfallClient } from "./runtime/client.mjs";
4
- import { schema } from "./schema/index.mjs";
4
+ import { schema } from "./schema/index.mjs";
5
+ import { homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema } from "./inspector-schema.mjs";
6
+ import { HomeRecommendWaterfall } from "./server.mjs";
7
+ import { homeRecommendWaterfallMaterial } from "./material.mjs";
@@ -1,2 +1,2 @@
1
1
 
2
- import{defaultProps as e}from"./defaults/default-props.mjs";import t from"./runtime/client.mjs";import{schema as n}from"./schema/index.mjs";var r=t;export{r as default};
2
+ import{defaultProps as e}from"./defaults/default-props.mjs";import t from"./runtime/client.mjs";import{schema as n}from"./schema/index.mjs";import{homeRecommendWaterfallInspectorDefaultProps as r,homeRecommendWaterfallInspectorPropsSchema as i}from"./inspector-schema.mjs";import{HomeRecommendWaterfall as a}from"./server.mjs";import{homeRecommendWaterfallMaterial as o}from"./material.mjs";var s=t;export{s as default};
@@ -0,0 +1,18 @@
1
+
2
+ import { SchemaHasDefaultValue } from "../../../../../../utils/schema/schema.mjs";
3
+ import "../../../../../../utils/schema/index.mjs";
4
+ import z from "zod";
5
+
6
+ //#region components/biz/business/home-recommend/variants/home-recommend-waterfall/inspector-schema.d.ts
7
+ /**
8
+ * HomeRecommendWaterfall 物料属性 schema 定义。
9
+ */
10
+ declare const homeRecommendWaterfallInspectorPropsSchema: z.ZodObject<{
11
+ moreLink: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
12
+ }, z.core.$strip>;
13
+ declare const homeRecommendWaterfallInspectorDefaultProps: {
14
+ moreLink: string;
15
+ };
16
+ type HomeRecommendWaterfallInspectorProps = z.infer<typeof homeRecommendWaterfallInspectorPropsSchema>;
17
+ //#endregion
18
+ export { HomeRecommendWaterfallInspectorProps, homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema };
@@ -0,0 +1,2 @@
1
+
2
+ import{defineComponentPropsSchema as e,defineTextPropSchema as t,getSchemaDefaultProps as n}from"../../../../../../utils/schema/schema.mjs";const r=e({moreLink:t({label:`更多`,description:``,required:!1,defaultValue:``})}),i=n(r);export{i as homeRecommendWaterfallInspectorDefaultProps,r as homeRecommendWaterfallInspectorPropsSchema};
@@ -0,0 +1,14 @@
1
+
2
+ import { SchemaHasDefaultValue } from "../../../../../../utils/schema/schema.mjs";
3
+ import { DefineMaterialOption } from "../../../../../../utils/schema/material.mjs";
4
+ import "../../../../../../utils/schema/index.mjs";
5
+ import { HomeRecommendWaterfall } from "./server.mjs";
6
+ import * as zod from "zod";
7
+ import * as zod_v4_core0 from "zod/v4/core";
8
+
9
+ //#region components/biz/business/home-recommend/variants/home-recommend-waterfall/material.d.ts
10
+ declare const homeRecommendWaterfallMaterial: DefineMaterialOption<typeof HomeRecommendWaterfall, zod.ZodObject<{
11
+ moreLink: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
12
+ }, zod_v4_core0.$strip>, "home-recommend-waterfall">;
13
+ //#endregion
14
+ export { homeRecommendWaterfallMaterial };
@@ -0,0 +1,2 @@
1
+
2
+ import{defineMaterial as e}from"../../../../../../utils/schema/material.mjs";import{homeRecommendWaterfallInspectorPropsSchema as t}from"./inspector-schema.mjs";import{HomeRecommendWaterfall as n}from"./server.mjs";const r=e({type:`home-recommend-waterfall`,name:`瀑布流推荐位`,icon:`/static/components-thumb/grid_waterfall_two_column.png`,category:`内容组件`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as homeRecommendWaterfallMaterial};
@@ -1,2 +1,2 @@
1
1
 
2
- const e={componentName:`HomeRecommendWaterfall`,displayName:`首页推荐瀑布流`,category:`HomeRecommend`,categoryName:`首页推荐`,enabled:!0};export{e as componentMeta};
2
+ const e={componentName:`HomeRecommendWaterfall`,displayName:`瀑布流推荐位`,category:`HomeRecommend`,categoryName:`首页推荐`,enabled:!0};export{e as componentMeta};
@@ -1,2 +1,2 @@
1
1
 
2
- const e={moreLink:{type:`string`,title:`更多跳转链接`,description:`为空时使用 block_id 生成默认跳转链接`,default:``}};export{e as propsSchema};
2
+ const e={moreLink:{type:`string`,title:`更多`,description:``,default:``}};export{e as propsSchema};
@@ -0,0 +1,17 @@
1
+
2
+ import { HomeRecommendData } from "../../types.mjs";
3
+ import { HomeRecommendWaterfallInspectorProps } from "./inspector-schema.mjs";
4
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+
6
+ //#region components/biz/business/home-recommend/variants/home-recommend-waterfall/server.d.ts
7
+ /** HomeRecommendWaterfall 物料组件 props(inspector 可编辑字段 + 可选数据) */
8
+ type HomeRecommendWaterfallProps = HomeRecommendWaterfallInspectorProps & {
9
+ /** 推荐位数据 */data?: HomeRecommendData;
10
+ };
11
+ /**
12
+ * HomeRecommendWaterfall 物料组件
13
+ * 接收 inspector 可编辑的 props,转换为 BaseComponentProps 传给 runtime client
14
+ */
15
+ declare function HomeRecommendWaterfall(props: HomeRecommendWaterfallProps): react_jsx_runtime0.JSX.Element;
16
+ //#endregion
17
+ export { HomeRecommendWaterfall };
@@ -0,0 +1,2 @@
1
+
2
+ import{defaultProps as e}from"./defaults/default-props.mjs";import t from"./runtime/client.mjs";import{jsx as n}from"react/jsx-runtime";function r(r){let{moreLink:i=e.moreLink,data:a}=r;return n(t,{props:{moreLink:i},data:a})}export{r as HomeRecommendWaterfall};
@@ -5,9 +5,9 @@ import { schema } from "../basics/fullscreen-feed/schema/index.mjs";
5
5
  import { MarqueeInspectorProps, MarqueeProps, marqueeInspectorDefaultProps, marqueeInspectorPropsSchema } from "./marquee/schema.mjs";
6
6
  import { MarqueeServer } from "./marquee/server.mjs";
7
7
  import { marqueeMaterial } from "./marquee/material.mjs";
8
- import { SearchHistory2InspectorProps, SearchHistory2Props, searchHistory2InspectorDefaultProps, searchHistory2InspectorPropsSchema } from "./search-history2/schema.mjs";
9
- import { SearchHistory2Server } from "./search-history2/server.mjs";
10
- import { searchHistory2Material } from "./search-history2/material.mjs";
8
+ import { SearchHistory2InspectorProps, SearchHistory2Props, searchHistoryInspectorDefaultProps, searchHistoryInspectorPropsSchema } from "./search-history/schema.mjs";
9
+ import { SearchHistory2Server } from "./search-history/server.mjs";
10
+ import { searchHistoryMaterial } from "./search-history/material.mjs";
11
11
  import { SearchInputInspectorProps, SearchInputProps, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema } from "./search-input/schema.mjs";
12
12
  import { SearchInputServer } from "./search-input/server.mjs";
13
13
  import { searchInputMaterial } from "./search-input/material.mjs";
@@ -57,9 +57,15 @@ import "./fullscreen-feed/index.mjs";
57
57
  import { defaultProps as defaultProps$10 } from "./home-recommend/variants/home-recommend-grid/defaults/default-props.mjs";
58
58
  import { HomeRecommendGridClient } from "./home-recommend/variants/home-recommend-grid/runtime/client.mjs";
59
59
  import { schema as schema$10 } from "./home-recommend/variants/home-recommend-grid/schema/index.mjs";
60
+ import { homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema } from "./home-recommend/variants/home-recommend-grid/inspector-schema.mjs";
61
+ import { HomeRecommendGrid } from "./home-recommend/variants/home-recommend-grid/server.mjs";
62
+ import { homeRecommendGridMaterial } from "./home-recommend/variants/home-recommend-grid/material.mjs";
60
63
  import { defaultProps as defaultProps$11 } from "./home-recommend/variants/home-recommend-waterfall/defaults/default-props.mjs";
61
64
  import { HomeRecommendWaterfallClient } from "./home-recommend/variants/home-recommend-waterfall/runtime/client.mjs";
62
65
  import { schema as schema$11 } from "./home-recommend/variants/home-recommend-waterfall/schema/index.mjs";
66
+ import { homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema } from "./home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs";
67
+ import { HomeRecommendWaterfall } from "./home-recommend/variants/home-recommend-waterfall/server.mjs";
68
+ import { homeRecommendWaterfallMaterial } from "./home-recommend/variants/home-recommend-waterfall/material.mjs";
63
69
  import "./home-recommend/index.mjs";
64
70
  import { MarqueeClient } from "./marquee/client.mjs";
65
71
  import "./marquee/index.mjs";
@@ -88,8 +94,8 @@ import { defaultProps as defaultProps$18 } from "./search-bar/variants/tag-searc
88
94
  import { TagSearchBarClient } from "./search-bar/variants/tag-search-bar/runtime/client.mjs";
89
95
  import { schema as schema$18 } from "./search-bar/variants/tag-search-bar/schema/index.mjs";
90
96
  import "./search-bar/index.mjs";
91
- import { SearchHistory2Client } from "./search-history2/client.mjs";
92
- import "./search-history2/index.mjs";
97
+ import { SearchHistory2Client } from "./search-history/client.mjs";
98
+ import "./search-history/index.mjs";
93
99
  import { SearchInputClient } from "./search-input/client.mjs";
94
100
  import "./search-input/index.mjs";
95
101
  import { TabBarClient } from "./tab-bar/client.mjs";
@@ -1,2 +1,2 @@
1
1
 
2
- import{__exportAll as e}from"../../../_virtual/_rolldown/runtime.mjs";import{marqueeInspectorDefaultProps as t,marqueeInspectorPropsSchema as n}from"./marquee/schema.mjs";import{MarqueeClient as r}from"./marquee/client.mjs";import{MarqueeServer as i}from"./marquee/server.mjs";import{marqueeMaterial as a}from"./marquee/material.mjs";import{searchHistory2InspectorDefaultProps as o,searchHistory2InspectorPropsSchema as s}from"./search-history2/schema.mjs";import{SearchHistory2Client as c}from"./search-history2/client.mjs";import{SearchHistory2Server as l}from"./search-history2/server.mjs";import{searchHistory2Material as u}from"./search-history2/material.mjs";import{searchInputInspectorDefaultProps as d,searchInputInspectorPropsSchema as f}from"./search-input/schema.mjs";import{defaultProps as p}from"./search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{schema as m}from"./search-bar/variants/detail-search-bar/schema/index.mjs";import h from"./search-bar/variants/detail-search-bar/index.mjs";import{SearchInputClient as g}from"./search-input/client.mjs";import{SearchInputServer as _}from"./search-input/server.mjs";import{searchInputMaterial as v}from"./search-input/material.mjs";import{tabBarInspectorDefaultProps as y,tabBarInspectorPropsSchema as b}from"./tab-bar/schema.mjs";import{TabBarClient as x}from"./tab-bar/client.mjs";import{TabBarServer as S}from"./tab-bar/server.mjs";import{tabBarMaterial as C}from"./tab-bar/material.mjs";import{textRecommendInspectorDefaultProps as w,textRecommendInspectorPropsSchema as T}from"./text-recommend/schema.mjs";import{TextRecommendClient as E}from"./text-recommend/client.mjs";import{TextRecommendServer as D}from"./text-recommend/server.mjs";import{textRecommendMaterial as O}from"./text-recommend/material.mjs";import{videoHorizontalListInspectorDefaultProps as k,videoHorizontalListInspectorPropsSchema as A}from"./video-horizontal-list/schema.mjs";import{VideoHorizontalListClient as j}from"./video-horizontal-list/client.mjs";import{VideoHorizontalListServer as M}from"./video-horizontal-list/server.mjs";import{videoHorizontalListMaterial as N}from"./video-horizontal-list/material.mjs";import{defaultProps as P}from"./banner/variants/basic-banner/defaults/default-props.mjs";import{schema as F}from"./banner/variants/basic-banner/schema/index.mjs";import{basicBannerInspectorDefaultProps as I,basicBannerInspectorPropsSchema as L}from"./banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as R}from"./banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as z}from"./banner/variants/basic-banner/material.mjs";import B from"./banner/variants/basic-banner/index.mjs";import{defaultProps as V}from"./card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as H}from"./card-grid/variants/card-grid-2x3/schema/index.mjs";import U from"./card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as W}from"./card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as G}from"./card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import K from"./card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as q}from"./card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as J}from"./card-grid/variants/card-grid-2x4/schema/index.mjs";import Y from"./card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as X}from"./card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as Z}from"./card-grid/variants/card-grid-3x3/schema/index.mjs";import Q from"./card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as $}from"./card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as ee}from"./card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import te from"./card-grid/variants/card-grid-3x3-infinite/index.mjs";import{defaultProps as ne}from"./feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as re}from"./feature-grid/variants/basic-feature-grid/schema/index.mjs";import ie from"./feature-grid/variants/basic-feature-grid/index.mjs";import{defaultProps as ae}from"../basics/fullscreen-feed/defaults/default-props.mjs";import{schema as oe}from"../basics/fullscreen-feed/schema/index.mjs";import se from"../basics/fullscreen-feed/index.mjs";import{defaultProps as ce}from"./fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import{schema as le}from"./fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import ue from"./fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as de}from"./fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import{schema as fe}from"./fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import pe from"./fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{defaultProps as me}from"./home-recommend/variants/home-recommend-grid/defaults/default-props.mjs";import{schema as he}from"./home-recommend/variants/home-recommend-grid/schema/index.mjs";import ge from"./home-recommend/variants/home-recommend-grid/index.mjs";import{defaultProps as _e}from"./home-recommend/variants/home-recommend-waterfall/defaults/default-props.mjs";import{schema as ve}from"./home-recommend/variants/home-recommend-waterfall/schema/index.mjs";import ye from"./home-recommend/variants/home-recommend-waterfall/index.mjs";import{defaultProps as be}from"./nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as xe}from"./nav-bar/variants/basic-nav-bar/schema/index.mjs";import Se from"./nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as Ce}from"./post-card/variants/basic-post-card/defaults/default-props.mjs";import{schema as we}from"./post-card/variants/basic-post-card/schema/index.mjs";import Te from"./post-card/variants/basic-post-card/index.mjs";import{defaultProps as Ee}from"./recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as De}from"./recommended-users/variants/basic-recommended-users/schema/index.mjs";import Oe from"./recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as ke}from"./search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as Ae}from"./search-bar/variants/basic-search-bar/schema/index.mjs";import je from"./search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as Me}from"./search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as Ne}from"./search-bar/variants/filter-search-bar/schema/index.mjs";import Pe from"./search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as Fe}from"./search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as Ie}from"./search-bar/variants/tag-search-bar/schema/index.mjs";import Le from"./search-bar/variants/tag-search-bar/index.mjs";var Re=e({BasicBanner:()=>B,BasicBannerDefaultData:()=>P,BasicBannerMaterialComponent:()=>R,BasicBannerSchema:()=>F,BasicFeatureGrid:()=>ie,BasicFeatureGridDefaultData:()=>ne,BasicFeatureGridSchema:()=>re,BasicFullscreenFeed:()=>se,BasicFullscreenFeedDefaultData:()=>ae,BasicFullscreenFeedSchema:()=>oe,BasicNavBar:()=>Se,BasicNavBarDefaultData:()=>be,BasicNavBarSchema:()=>xe,BasicPostCard:()=>Te,BasicPostCardDefaultData:()=>Ce,BasicPostCardSchema:()=>we,BasicRecommendedUsers:()=>Oe,BasicRecommendedUsersDefaultData:()=>Ee,BasicRecommendedUsersSchema:()=>De,BasicSearchBar:()=>je,BasicSearchBarDefaultData:()=>ke,BasicSearchBarSchema:()=>Ae,CardGrid2x3:()=>U,CardGrid2x3DefaultData:()=>V,CardGrid2x3Infinite:()=>K,CardGrid2x3InfiniteDefaultData:()=>W,CardGrid2x3InfiniteSchema:()=>G,CardGrid2x3Schema:()=>H,CardGrid2x4:()=>Y,CardGrid2x4DefaultData:()=>q,CardGrid2x4Schema:()=>J,CardGrid3x3:()=>Q,CardGrid3x3DefaultData:()=>X,CardGrid3x3Infinite:()=>te,CardGrid3x3InfiniteDefaultData:()=>$,CardGrid3x3InfiniteSchema:()=>ee,CardGrid3x3Schema:()=>Z,DetailSearchBar:()=>h,DetailSearchBarDefaultData:()=>p,DetailSearchBarSchema:()=>m,FilterSearchBar:()=>Pe,FilterSearchBarDefaultData:()=>Me,FilterSearchBarSchema:()=>Ne,FullscreenFeedClient:()=>ue,FullscreenPostFeedDefaultData:()=>ce,FullscreenPostFeedSchema:()=>le,FullscreenVideoClient:()=>pe,FullscreenVideoFeedDefaultData:()=>de,FullscreenVideoFeedSchema:()=>fe,HomeRecommendGrid:()=>ge,HomeRecommendGridDefaultData:()=>me,HomeRecommendGridSchema:()=>he,HomeRecommendWaterfall:()=>ye,HomeRecommendWaterfallDefaultData:()=>_e,HomeRecommendWaterfallSchema:()=>ve,MarqueeClient:()=>r,MarqueeServer:()=>i,SearchHistory2Client:()=>c,SearchHistory2Server:()=>l,SearchInputClient:()=>g,SearchInputServer:()=>_,TabBarClient:()=>x,TabBarServer:()=>S,TagSearchBar:()=>Le,TagSearchBarDefaultData:()=>Fe,TagSearchBarSchema:()=>Ie,TextRecommendClient:()=>E,TextRecommendServer:()=>D,VideoHorizontalListClient:()=>j,VideoHorizontalListServer:()=>M,basicBannerInspectorDefaultProps:()=>I,basicBannerInspectorPropsSchema:()=>L,basicBannerMaterial:()=>z,marqueeInspectorDefaultProps:()=>t,marqueeInspectorPropsSchema:()=>n,marqueeMaterial:()=>a,searchHistory2InspectorDefaultProps:()=>o,searchHistory2InspectorPropsSchema:()=>s,searchHistory2Material:()=>u,searchInputInspectorDefaultProps:()=>d,searchInputInspectorPropsSchema:()=>f,searchInputMaterial:()=>v,tabBarInspectorDefaultProps:()=>y,tabBarInspectorPropsSchema:()=>b,tabBarMaterial:()=>C,textRecommendInspectorDefaultProps:()=>w,textRecommendInspectorPropsSchema:()=>T,textRecommendMaterial:()=>O,videoHorizontalListInspectorDefaultProps:()=>k,videoHorizontalListInspectorPropsSchema:()=>A,videoHorizontalListMaterial:()=>N});export{Re as business_exports};
2
+ import{__exportAll as e}from"../../../_virtual/_rolldown/runtime.mjs";import{marqueeInspectorDefaultProps as t,marqueeInspectorPropsSchema as n}from"./marquee/schema.mjs";import{MarqueeClient as r}from"./marquee/client.mjs";import{MarqueeServer as i}from"./marquee/server.mjs";import{marqueeMaterial as a}from"./marquee/material.mjs";import{searchHistoryInspectorDefaultProps as o,searchHistoryInspectorPropsSchema as s}from"./search-history/schema.mjs";import{SearchHistory2Client as c}from"./search-history/client.mjs";import{SearchHistory2Server as l}from"./search-history/server.mjs";import{searchHistoryMaterial as u}from"./search-history/material.mjs";import{searchInputInspectorDefaultProps as d,searchInputInspectorPropsSchema as f}from"./search-input/schema.mjs";import{defaultProps as p}from"./search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{schema as m}from"./search-bar/variants/detail-search-bar/schema/index.mjs";import h from"./search-bar/variants/detail-search-bar/index.mjs";import{SearchInputClient as g}from"./search-input/client.mjs";import{SearchInputServer as _}from"./search-input/server.mjs";import{searchInputMaterial as v}from"./search-input/material.mjs";import{tabBarInspectorDefaultProps as y,tabBarInspectorPropsSchema as b}from"./tab-bar/schema.mjs";import{TabBarClient as x}from"./tab-bar/client.mjs";import{TabBarServer as S}from"./tab-bar/server.mjs";import{tabBarMaterial as C}from"./tab-bar/material.mjs";import{textRecommendInspectorDefaultProps as w,textRecommendInspectorPropsSchema as T}from"./text-recommend/schema.mjs";import{TextRecommendClient as E}from"./text-recommend/client.mjs";import{TextRecommendServer as D}from"./text-recommend/server.mjs";import{textRecommendMaterial as O}from"./text-recommend/material.mjs";import{videoHorizontalListInspectorDefaultProps as k,videoHorizontalListInspectorPropsSchema as A}from"./video-horizontal-list/schema.mjs";import{VideoHorizontalListClient as j}from"./video-horizontal-list/client.mjs";import{VideoHorizontalListServer as M}from"./video-horizontal-list/server.mjs";import{videoHorizontalListMaterial as N}from"./video-horizontal-list/material.mjs";import{defaultProps as P}from"./banner/variants/basic-banner/defaults/default-props.mjs";import{schema as F}from"./banner/variants/basic-banner/schema/index.mjs";import{basicBannerInspectorDefaultProps as I,basicBannerInspectorPropsSchema as L}from"./banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as R}from"./banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as z}from"./banner/variants/basic-banner/material.mjs";import B from"./banner/variants/basic-banner/index.mjs";import{defaultProps as V}from"./card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as H}from"./card-grid/variants/card-grid-2x3/schema/index.mjs";import U from"./card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as W}from"./card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as G}from"./card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import K from"./card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as q}from"./card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as J}from"./card-grid/variants/card-grid-2x4/schema/index.mjs";import Y from"./card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as X}from"./card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as Z}from"./card-grid/variants/card-grid-3x3/schema/index.mjs";import Q from"./card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as $}from"./card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as ee}from"./card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import te from"./card-grid/variants/card-grid-3x3-infinite/index.mjs";import{defaultProps as ne}from"./feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as re}from"./feature-grid/variants/basic-feature-grid/schema/index.mjs";import ie from"./feature-grid/variants/basic-feature-grid/index.mjs";import{defaultProps as ae}from"../basics/fullscreen-feed/defaults/default-props.mjs";import{schema as oe}from"../basics/fullscreen-feed/schema/index.mjs";import se from"../basics/fullscreen-feed/index.mjs";import{defaultProps as ce}from"./fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import{schema as le}from"./fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import ue from"./fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as de}from"./fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import{schema as fe}from"./fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import pe from"./fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{defaultProps as me}from"./home-recommend/variants/home-recommend-grid/defaults/default-props.mjs";import{schema as he}from"./home-recommend/variants/home-recommend-grid/schema/index.mjs";import{homeRecommendGridInspectorDefaultProps as ge,homeRecommendGridInspectorPropsSchema as _e}from"./home-recommend/variants/home-recommend-grid/inspector-schema.mjs";import{HomeRecommendGrid as ve}from"./home-recommend/variants/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as ye}from"./home-recommend/variants/home-recommend-grid/material.mjs";import be from"./home-recommend/variants/home-recommend-grid/index.mjs";import{defaultProps as xe}from"./home-recommend/variants/home-recommend-waterfall/defaults/default-props.mjs";import{schema as Se}from"./home-recommend/variants/home-recommend-waterfall/schema/index.mjs";import{homeRecommendWaterfallInspectorDefaultProps as Ce,homeRecommendWaterfallInspectorPropsSchema as we}from"./home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs";import{HomeRecommendWaterfall as Te}from"./home-recommend/variants/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as Ee}from"./home-recommend/variants/home-recommend-waterfall/material.mjs";import De from"./home-recommend/variants/home-recommend-waterfall/index.mjs";import{defaultProps as Oe}from"./nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as ke}from"./nav-bar/variants/basic-nav-bar/schema/index.mjs";import Ae from"./nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as je}from"./post-card/variants/basic-post-card/defaults/default-props.mjs";import{schema as Me}from"./post-card/variants/basic-post-card/schema/index.mjs";import Ne from"./post-card/variants/basic-post-card/index.mjs";import{defaultProps as Pe}from"./recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as Fe}from"./recommended-users/variants/basic-recommended-users/schema/index.mjs";import Ie from"./recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as Le}from"./search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as Re}from"./search-bar/variants/basic-search-bar/schema/index.mjs";import ze from"./search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as Be}from"./search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as Ve}from"./search-bar/variants/filter-search-bar/schema/index.mjs";import He from"./search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as Ue}from"./search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as We}from"./search-bar/variants/tag-search-bar/schema/index.mjs";import Ge from"./search-bar/variants/tag-search-bar/index.mjs";var Ke=e({BasicBanner:()=>B,BasicBannerDefaultData:()=>P,BasicBannerMaterialComponent:()=>R,BasicBannerSchema:()=>F,BasicFeatureGrid:()=>ie,BasicFeatureGridDefaultData:()=>ne,BasicFeatureGridSchema:()=>re,BasicFullscreenFeed:()=>se,BasicFullscreenFeedDefaultData:()=>ae,BasicFullscreenFeedSchema:()=>oe,BasicNavBar:()=>Ae,BasicNavBarDefaultData:()=>Oe,BasicNavBarSchema:()=>ke,BasicPostCard:()=>Ne,BasicPostCardDefaultData:()=>je,BasicPostCardSchema:()=>Me,BasicRecommendedUsers:()=>Ie,BasicRecommendedUsersDefaultData:()=>Pe,BasicRecommendedUsersSchema:()=>Fe,BasicSearchBar:()=>ze,BasicSearchBarDefaultData:()=>Le,BasicSearchBarSchema:()=>Re,CardGrid2x3:()=>U,CardGrid2x3DefaultData:()=>V,CardGrid2x3Infinite:()=>K,CardGrid2x3InfiniteDefaultData:()=>W,CardGrid2x3InfiniteSchema:()=>G,CardGrid2x3Schema:()=>H,CardGrid2x4:()=>Y,CardGrid2x4DefaultData:()=>q,CardGrid2x4Schema:()=>J,CardGrid3x3:()=>Q,CardGrid3x3DefaultData:()=>X,CardGrid3x3Infinite:()=>te,CardGrid3x3InfiniteDefaultData:()=>$,CardGrid3x3InfiniteSchema:()=>ee,CardGrid3x3Schema:()=>Z,DetailSearchBar:()=>h,DetailSearchBarDefaultData:()=>p,DetailSearchBarSchema:()=>m,FilterSearchBar:()=>He,FilterSearchBarDefaultData:()=>Be,FilterSearchBarSchema:()=>Ve,FullscreenFeedClient:()=>ue,FullscreenPostFeedDefaultData:()=>ce,FullscreenPostFeedSchema:()=>le,FullscreenVideoClient:()=>pe,FullscreenVideoFeedDefaultData:()=>de,FullscreenVideoFeedSchema:()=>fe,HomeRecommendGrid:()=>be,HomeRecommendGridDefaultData:()=>me,HomeRecommendGridMaterialComponent:()=>ve,HomeRecommendGridSchema:()=>he,HomeRecommendWaterfall:()=>De,HomeRecommendWaterfallDefaultData:()=>xe,HomeRecommendWaterfallMaterialComponent:()=>Te,HomeRecommendWaterfallSchema:()=>Se,MarqueeClient:()=>r,MarqueeServer:()=>i,SearchHistory2Client:()=>c,SearchHistory2Server:()=>l,SearchInputClient:()=>g,SearchInputServer:()=>_,TabBarClient:()=>x,TabBarServer:()=>S,TagSearchBar:()=>Ge,TagSearchBarDefaultData:()=>Ue,TagSearchBarSchema:()=>We,TextRecommendClient:()=>E,TextRecommendServer:()=>D,VideoHorizontalListClient:()=>j,VideoHorizontalListServer:()=>M,basicBannerInspectorDefaultProps:()=>I,basicBannerInspectorPropsSchema:()=>L,basicBannerMaterial:()=>z,homeRecommendGridInspectorDefaultProps:()=>ge,homeRecommendGridInspectorPropsSchema:()=>_e,homeRecommendGridMaterial:()=>ye,homeRecommendWaterfallInspectorDefaultProps:()=>Ce,homeRecommendWaterfallInspectorPropsSchema:()=>we,homeRecommendWaterfallMaterial:()=>Ee,marqueeInspectorDefaultProps:()=>t,marqueeInspectorPropsSchema:()=>n,marqueeMaterial:()=>a,searchHistoryInspectorDefaultProps:()=>o,searchHistoryInspectorPropsSchema:()=>s,searchHistoryMaterial:()=>u,searchInputInspectorDefaultProps:()=>d,searchInputInspectorPropsSchema:()=>f,searchInputMaterial:()=>v,tabBarInspectorDefaultProps:()=>y,tabBarInspectorPropsSchema:()=>b,tabBarMaterial:()=>C,textRecommendInspectorDefaultProps:()=>w,textRecommendInspectorPropsSchema:()=>T,textRecommendMaterial:()=>O,videoHorizontalListInspectorDefaultProps:()=>k,videoHorizontalListInspectorPropsSchema:()=>A,videoHorizontalListMaterial:()=>N});export{Ke as business_exports};
@@ -10,7 +10,8 @@ declare function MarqueeClient({
10
10
  contents,
11
11
  showClose,
12
12
  startTime,
13
- endTime
13
+ endTime,
14
+ displayStrategy
14
15
  }: MarqueeProps): react_jsx_runtime0.JSX.Element | null;
15
16
  //#endregion
16
17
  export { MarqueeClient };
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import e from"../../../../assets/icons/clear.mjs";import t from"../../../../assets/icons/right_arrow.mjs";import n from"../../../../assets/images/marquee.mjs";import{Image as r}from"../../../ui/image.mjs";import{Box as i}from"../../../ui/box.mjs";import{Text as a}from"../../../ui/text.mjs";import{useRouter as o}from"next/navigation";import{useEffect as s,useMemo as c,useState as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";function f({contents:f,showClose:p,startTime:m,endTime:h}){let g=o(),[_,v]=l(!0),[y,b]=l(0),[x,S]=l(!1);s(()=>{S(!0)},[]);let C=c(()=>{if(!m||!h)return!0;let e=Date.now(),t=new Date(m).getTime(),n=new Date(h).getTime();return e>=t&&e<=n},[m,h]);if(s(()=>{if(!f||f.length<=1)return;let e=setInterval(()=>{b(e=>(e+1)%f.length)},3e3);return()=>clearInterval(e)},[f]),!x||!_||!C||!f||f.length===0)return null;let w=f[y],T=!!w.link;return u(i,{className:`px-[12px] py-[8px] w-full bg-bg1`,children:d(i,{className:`flex items-center pl-[2px] pr-[12px] py-[2px] rounded-[8px] w-full cursor-pointer relative overflow-hidden`,style:{backgroundImage:`linear-gradient(154deg, rgba(255, 228, 133, 0.2) 9.14%, rgba(207, 129, 37, 0.05) 90.86%)`},onClick:()=>{T&&w.link&&g.push(w.link)},children:[u(i,{className:`relative shrink-0 w-[36px] h-[36px]`,children:u(r,{src:typeof n==`string`?n:n.src,alt:`notice`,fill:!0,className:`object-cover`,unoptimized:!0})}),u(i,{className:`flex-1 overflow-hidden relative h-[22px]`,children:u(i,{className:`absolute inset-0 flex items-center transition-transform duration-500 ease-in-out`,style:{transform:`translateY(0)`},children:u(a,{className:`text-[14px] text-[#f59e0b] leading-[22px] truncate w-full`,children:w.text})})}),d(i,{className:`flex items-center gap-[12px] shrink-0 ml-[4px]`,children:[T&&u(t,{className:`w-[16px] h-[16px] text-[#f59e0b]`}),p&&u(i,{className:`opacity-30 hover:opacity-100 transition-opacity p-1`,onClick:e=>{e.stopPropagation(),v(!1)},children:u(e,{className:`w-[12px] h-[12px] text-[#999]`})})]})]})})}export{f as MarqueeClient};
2
+ "use client";import e from"../../../../assets/icons/clear.mjs";import t from"../../../../assets/icons/right_arrow.mjs";import n from"../../../../assets/images/marquee.mjs";import{Image as r}from"../../../ui/image.mjs";import{Box as i}from"../../../ui/box.mjs";import{Text as a}from"../../../ui/text.mjs";import{useRouter as o}from"next/navigation";import{useEffect as s,useMemo as c,useState as l}from"react";import{jsx as u,jsxs as d}from"react/jsx-runtime";function f({contents:f,showClose:p,startTime:m,endTime:h,displayStrategy:g}){let _=o(),[v,y]=l(!0),[b,x]=l(0),[S,C]=l(!1);s(()=>{C(!0)},[]);let w=c(()=>{if(!m&&!h)return!0;let e=Date.now(),t=m?new Date(m).getTime():0,n=h?new Date(h).getTime():2**53-1;return e>=t&&e<=n},[m,h]);if(s(()=>{if(!S)return;let e=`marquee_closed_${g}`,t=localStorage.getItem(e);t&&(g===`once`||g===`daily`&&new Date(Number(t)).toLocaleDateString()===new Date().toLocaleDateString())&&y(!1)},[S,g]),s(()=>{if(!f||f.length<=1)return;let e=setInterval(()=>{x(e=>(e+1)%f.length)},3e3);return()=>clearInterval(e)},[f]),!S||!v||!w||!f||f.length===0)return null;let T=f[b],E=T.enableClick&&!!T.link;return u(i,{className:`px-[12px] py-[8px] w-full bg-bg1`,children:d(i,{className:`flex items-center pl-[2px] pr-[12px] py-[2px] rounded-[8px] w-full cursor-pointer relative overflow-hidden`,style:{backgroundImage:`linear-gradient(154deg, rgba(255, 228, 133, 0.2) 9.14%, rgba(207, 129, 37, 0.05) 90.86%)`},onClick:()=>{E&&T.link&&_.push(T.link)},children:[u(i,{className:`relative shrink-0 w-[36px] h-[36px]`,children:u(r,{src:typeof n==`string`?n:n.src,alt:`notice`,fill:!0,className:`object-cover`,unoptimized:!0})}),u(i,{className:`flex-1 overflow-hidden relative h-[22px]`,children:u(i,{className:`absolute inset-0 flex items-center transition-transform duration-500 ease-in-out`,style:{transform:`translateY(0)`},children:u(a,{className:`text-[14px] text-[#f59e0b] leading-[22px] truncate w-full`,children:T.text})})}),d(i,{className:`flex items-center gap-[12px] shrink-0 ml-[4px]`,children:[E&&u(t,{className:`w-[16px] h-[16px] text-[#f59e0b]`}),p&&u(i,{className:`opacity-30 hover:opacity-100 transition-opacity p-1`,onClick:e=>{e.stopPropagation(),y(!1);let t=`marquee_closed_${g}`;localStorage.setItem(t,Date.now().toString())},children:u(e,{className:`w-[12px] h-[12px] text-[#999]`})})]})]})})}export{f as MarqueeClient};
@@ -11,14 +11,16 @@ import * as zod_v4_core0 from "zod/v4/core";
11
11
  * 跑马灯物料定义
12
12
  */
13
13
  declare const marqueeMaterial: DefineMaterialOption<typeof MarqueeServer, zod.ZodObject<{
14
- showChannels: zod.ZodArray<zod.ZodString & SchemaHasDefaultValue> & SchemaHasDefaultValue;
15
- startTime: zod.ZodString & SchemaHasDefaultValue;
16
- endTime: zod.ZodString & SchemaHasDefaultValue;
17
14
  contents: zod.ZodArray<zod.ZodObject<{
18
15
  text: zod.ZodString & SchemaHasDefaultValue;
16
+ enableClick: zod.ZodBoolean & SchemaHasDefaultValue;
17
+ linkType: zod.ZodType<"content" | "url" | "content-list", unknown, zod_v4_core0.$ZodTypeInternals<"content" | "url" | "content-list", unknown>> & SchemaHasDefaultValue;
19
18
  link: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
20
19
  }, zod_v4_core0.$strip>> & SchemaHasDefaultValue;
21
20
  showClose: zod.ZodBoolean & SchemaHasDefaultValue;
21
+ displayStrategy: zod.ZodType<"once" | "daily", unknown, zod_v4_core0.$ZodTypeInternals<"once" | "daily", unknown>> & SchemaHasDefaultValue;
22
+ startTime: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
23
+ endTime: zod.ZodOptional<zod.ZodString> & SchemaHasDefaultValue;
22
24
  }, zod_v4_core0.$strip>, "marquee">;
23
25
  //#endregion
24
26
  export { marqueeMaterial };
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{marqueeInspectorPropsSchema as t}from"./schema.mjs";import{MarqueeServer as n}from"./server.mjs";const r=e({type:`marquee`,name:`跑马灯`,icon:`https://cdn.example.com/icons/marquee.png`,category:`CENTER`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as marqueeMaterial};
2
+ import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{marqueeInspectorPropsSchema as t}from"./schema.mjs";import{MarqueeServer as n}from"./server.mjs";const r=e({type:`marquee`,name:`跑马灯`,icon:`/static/components-thumb/marquee_clickable_closable.png`,category:`内容组件`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as marqueeMaterial};
@@ -8,24 +8,28 @@ import z from "zod";
8
8
  * 跑马灯物料属性定义
9
9
  */
10
10
  declare const marqueeInspectorPropsSchema: z.ZodObject<{
11
- showChannels: z.ZodArray<z.ZodString & SchemaHasDefaultValue> & SchemaHasDefaultValue;
12
- startTime: z.ZodString & SchemaHasDefaultValue;
13
- endTime: z.ZodString & SchemaHasDefaultValue;
14
11
  contents: z.ZodArray<z.ZodObject<{
15
12
  text: z.ZodString & SchemaHasDefaultValue;
13
+ enableClick: z.ZodBoolean & SchemaHasDefaultValue;
14
+ linkType: z.ZodType<"content" | "url" | "content-list", unknown, z.core.$ZodTypeInternals<"content" | "url" | "content-list", unknown>> & SchemaHasDefaultValue;
16
15
  link: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
17
16
  }, z.core.$strip>> & SchemaHasDefaultValue;
18
17
  showClose: z.ZodBoolean & SchemaHasDefaultValue;
18
+ displayStrategy: z.ZodType<"once" | "daily", unknown, z.core.$ZodTypeInternals<"once" | "daily", unknown>> & SchemaHasDefaultValue;
19
+ startTime: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
20
+ endTime: z.ZodOptional<z.ZodString> & SchemaHasDefaultValue;
19
21
  }, z.core.$strip>;
20
22
  declare const marqueeInspectorDefaultProps: {
21
- showChannels: string[];
22
- startTime: string;
23
- endTime: string;
24
23
  contents: {
25
24
  text: string;
25
+ enableClick: boolean;
26
+ linkType: "content" | "url" | "content-list";
26
27
  link?: string | undefined;
27
28
  }[];
28
29
  showClose: boolean;
30
+ displayStrategy: "once" | "daily";
31
+ startTime: string;
32
+ endTime: string;
29
33
  };
30
34
  type MarqueeInspectorProps = z.infer<typeof marqueeInspectorPropsSchema>;
31
35
  type MarqueeProps = MarqueeInspectorProps;
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineArrayItemPropSchema as e,defineCheckboxPropSchema as t,defineComponentPropsSchema as n,defineTextPropSchema as r,getSchemaDefaultProps as i}from"../../../../utils/schema/schema.mjs";const a=n({showChannels:e(r({label:`频道 ID`,defaultValue:``}),{label:`显示的频道`,defaultValue:[]}),startTime:r({label:`开始时间`,defaultValue:``,description:`格式:YYYY-MM-DD HH:mm:ss`}),endTime:r({label:`结束时间`,defaultValue:``,description:`格式:YYYY-MM-DD HH:mm:ss`}),contents:e(n({text:r({label:`内容`,defaultValue:`这里是跑马灯内容`}),link:r({label:`跳转链接`,defaultValue:``,required:!1})}),{label:`跑马灯内容`,defaultValue:[{text:`这里是跑马灯内容`,link:``}]}),showClose:t({label:`显示关闭按钮`,defaultValue:!0})}),o=i(a);export{o as marqueeInspectorDefaultProps,a as marqueeInspectorPropsSchema};
2
+ import{defineArrayItemPropSchema as e,defineComponentPropsSchema as t,defineSelectEnumPropSchema as n,defineSwitchPropSchema as r,defineTextPropSchema as i,getSchemaDefaultProps as a}from"../../../../utils/schema/schema.mjs";const o=t({contents:e(t({text:i({label:`消息内容`,defaultValue:`请在这里输入跑马灯消息内容`}),enableClick:r({label:`支持点击`,defaultValue:!1}),linkType:n([`content-list`,`content`,`url`],{label:`跳转指向`,defaultValue:`url`}),link:i({label:`跳转链接`,defaultValue:``,required:!1})}),{label:`跑马灯内容`,defaultValue:[{text:`请在这里输入跑马灯消息内容`,enableClick:!1,linkType:`url`,link:``}]}),showClose:r({label:`支持关闭`,defaultValue:!0}),displayStrategy:n([`once`,`daily`],{label:`展示规则`,defaultValue:`once`,description:`「只展示1次」即当前消息只展示1次;「每天展示1次」即当前消息每天展示1次,0点刷新`}),startTime:i({label:`开始时间`,defaultValue:``,required:!1,description:`格式:YYYY-MM-DD HH:mm:ss`}),endTime:i({label:`结束时间`,defaultValue:``,required:!1,description:`格式:YYYY-MM-DD HH:mm:ss`})}),s=a(o);export{s as marqueeInspectorDefaultProps,o as marqueeInspectorPropsSchema};
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{mergeStyles as e}from"../../../../../utils/styles/helpers.mjs";import{pxToVw as t}from"../../../../../../../utils/helper.mjs";import{Box as n}from"../../../../../../ui/box.mjs";import r from"../../../../../../../assets/icons/search.mjs";import{useSticky as i}from"../../../../../../../hooks/use-sticky.mjs";import a,{loadHiddenChannelIdsFromStorage as o}from"./channel-filter-dialog.mjs";import s from"../../../../../../ui/link.mjs";import{urlPrefix as c}from"../../../../../../../constants/url-prefix.mjs";import{defaultProps as l}from"../defaults/default-props.mjs";import u from"../../../../../../../assets/icons/filter_dark.mjs";import{useEffect as d,useMemo as f,useState as p}from"react";import{clsx as m}from"clsx";import{Fragment as h,jsx as g,jsxs as _}from"react/jsx-runtime";const v={},y={list:[],currentChannelId:null,isFullfeed:!1};function b(e,t){return t===0?`/`:`${c.CHANNEL}/${encodeURIComponent(e.cn_name)}`}function x({props:c=v,styles:x,events:S,data:C=y}){let{searchUrl:w,searchIconSize:T,filterIconSize:E,channelItemHeight:D,channelItemFontSize:O,channelItemActiveFontSize:k,channelItemGap:A}={...l,...c},[j,M]=p(!1),{isSticky:N,ref:P}=i(),[F,I]=p(C.list),L=f(()=>C.currentChannelId??null,[C.currentChannelId]);d(()=>{let e=o();I(C.list.filter(t=>!e.includes(t.id)))},[C.list]);let R=e=>{I(e)},z=(e,t)=>{S?.onChannelChange?.(e,t)},B=()=>{M(!0),S?.onFilterClick?.()},V=()=>{S?.onSearchClick?.()},H=x?e(x,{}):void 0,U=N?E+T+24:E+16;return _(h,{children:[N&&g(n,{className:`w-full`,style:{height:t(44)}}),g(n,{as:`nav`,ref:P,className:m(`w-full transition-all duration-200`,!C.isFullfeed&&N&&`fixed top-0 left-0 right-0 z-50`,C.isFullfeed&&`fixed top-[54px] left-0 z-10 w-full`,!C.isFullfeed&&`bg-bg1`),style:H,children:_(n,{className:`relative flex items-center h-[44px]`,children:[g(n,{className:`flex-1 overflow-x-auto overflow-y-hidden [&::-webkit-scrollbar]:hidden`,style:{scrollbarWidth:`none`,msOverflowStyle:`none`,WebkitOverflowScrolling:`touch`},children:g(n,{className:`flex items-center h-full`,style:{paddingLeft:t(16),paddingRight:t(U+16),gap:t(A)},children:F.map((e,n)=>{let r=L===e.id||L===null&&n===0;return g(s,{href:b(e,n),className:m(`whitespace-nowrap cursor-pointer transition-all duration-200`,`flex items-center justify-center`),style:{height:t(D),fontSize:t(r?k:O),fontWeight:r?`bold`:`normal`,color:r?`var(--color-theme5)`:`var(--color-text2)`},onClick:()=>z(e,n),children:e.cn_name},e.id||`channel-${n}`)})})}),_(n,{className:`flex items-center gap-[12px] px-[8px]`,children:[g(n,{className:`flex items-center justify-center cursor-pointer`,style:{width:t(E+8),height:t(E+8)},onClick:B,children:g(u,{width:t(E),height:t(E),style:{color:`var(--color-text1)`}})}),N&&g(s,{href:w,onClick:V,children:g(n,{className:`flex items-center justify-center cursor-pointer`,style:{width:t(T+8),height:t(T+8)},children:g(r,{width:t(T),height:t(T),style:{color:`var(--color-text1)`}})})})]})]})}),g(a,{open:j,onOpenChange:M,channels:C.list,currentChannelId:L,onChannelClick:z,onChannelsChange:R})]})}export{x as default};
2
+ "use client";import{mergeStyles as e}from"../../../../../utils/styles/helpers.mjs";import{pxToVw as t}from"../../../../../../../utils/helper.mjs";import{Box as n}from"../../../../../../ui/box.mjs";import{useSticky as r}from"../../../../../../../hooks/use-sticky.mjs";import i from"../../../../../../../assets/icons/search.mjs";import a,{loadHiddenChannelIdsFromStorage as o}from"./channel-filter-dialog.mjs";import s from"../../../../../../ui/link.mjs";import{urlPrefix as c}from"../../../../../../../constants/url-prefix.mjs";import{defaultProps as l}from"../defaults/default-props.mjs";import u from"../../../../../../../assets/icons/filter_dark.mjs";import{useEffect as d,useMemo as f,useState as p}from"react";import{clsx as m}from"clsx";import{Fragment as h,jsx as g,jsxs as _}from"react/jsx-runtime";const v={},y={list:[],currentChannelId:null,isFullfeed:!1};function b(e,t){return t===0?`/`:`${c.CHANNEL}/${encodeURIComponent(e.cn_name)}`}function x({props:c=v,styles:x,events:S,data:C=y}){let{searchUrl:w,searchIconSize:T,filterIconSize:E,channelItemHeight:D,channelItemFontSize:O,channelItemActiveFontSize:k,channelItemGap:A}={...l,...c},[j,M]=p(!1),{isSticky:N,ref:P}=r(),[F,I]=p(C.list),L=f(()=>C.currentChannelId??null,[C.currentChannelId]);d(()=>{let e=o();I(C.list.filter(t=>!e.includes(t.id)))},[C.list]);let R=e=>{I(e)},z=(e,t)=>{S?.onChannelChange?.(e,t)},B=()=>{M(!0),S?.onFilterClick?.()},V=()=>{S?.onSearchClick?.()},H=x?e(x,{}):void 0,U=N?E+T+24:E+16;return _(h,{children:[N&&g(n,{className:`w-full`,style:{height:t(44)}}),g(n,{as:`nav`,ref:P,className:m(`w-full transition-all duration-200`,!C.isFullfeed&&N&&`fixed top-0 left-0 right-0 z-50`,C.isFullfeed&&`fixed top-[54px] left-0 z-10 w-full`,!C.isFullfeed&&`bg-bg1`),style:H,children:_(n,{className:`relative flex items-center h-[44px]`,children:[g(n,{className:`flex-1 overflow-x-auto overflow-y-hidden [&::-webkit-scrollbar]:hidden`,style:{scrollbarWidth:`none`,msOverflowStyle:`none`,WebkitOverflowScrolling:`touch`},children:g(n,{className:`flex items-center h-full`,style:{paddingLeft:t(16),paddingRight:t(U+16),gap:t(A)},children:F.map((e,n)=>{let r=L===e.id||L===null&&n===0;return g(s,{href:b(e,n),className:m(`whitespace-nowrap cursor-pointer transition-all duration-200`,`flex items-center justify-center`),style:{height:t(D),fontSize:t(r?k:O),fontWeight:r?`bold`:`normal`,color:r?`var(--color-theme5)`:`var(--color-text2)`},onClick:()=>z(e,n),children:e.cn_name},e.id||`channel-${n}`)})})}),_(n,{className:`flex items-center gap-[12px] px-[8px]`,children:[g(n,{className:`flex items-center justify-center cursor-pointer`,style:{width:t(E+8),height:t(E+8)},onClick:B,children:g(u,{width:t(E),height:t(E),style:{color:`var(--color-text1)`}})}),N&&g(s,{href:w,onClick:V,children:g(n,{className:`flex items-center justify-center cursor-pointer`,style:{width:t(T+8),height:t(T+8)},children:g(i,{width:t(T),height:t(T),style:{color:`var(--color-text1)`}})})})]})]})}),g(a,{open:j,onOpenChange:M,channels:C.list,currentChannelId:L,onChannelClick:z,onChannelsChange:R})]})}export{x as default};
@@ -1,10 +1,9 @@
1
1
 
2
+ import { SearchHistory2Props } from "./schema.mjs";
2
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
3
4
 
4
- //#region components/biz/business/search-history2/client.d.ts
5
- interface SearchHistory2ClientProps {
6
- rows?: string;
7
- title: string;
5
+ //#region components/biz/business/search-history/client.d.ts
6
+ interface SearchHistory2ClientProps extends SearchHistory2Props {
8
7
  clearText: string;
9
8
  confirmDescription: string;
10
9
  }
@@ -15,7 +14,9 @@ declare function SearchHistory2Client({
15
14
  rows,
16
15
  title,
17
16
  clearText,
18
- confirmDescription
17
+ confirmDescription,
18
+ storageKey,
19
+ onHistoryClick
19
20
  }: SearchHistory2ClientProps): react_jsx_runtime0.JSX.Element | null;
20
21
  //#endregion
21
22
  export { SearchHistory2Client };
@@ -0,0 +1,2 @@
1
+
2
+ "use client";import{updateUrlParams as e}from"../../../../utils/common.mjs";import{useUserStore as t}from"../../../../store/modules/user-store.mjs";import{DeleteConfirmDialog as n}from"../../../common/delete-confirm-dialog/delete-confirm-dialog.mjs";import{useSearchHistory as r}from"../../../../hooks/use-search-history.mjs";import{useRouter as i}from"next/navigation";import{useState as a}from"react";import{jsx as o,jsxs as s}from"react/jsx-runtime";function c({rows:c,title:l,clearText:u,confirmDescription:d,storageKey:f,onHistoryClick:p}){let{userInfo:m}=t(),h=f||m?.user_id||`guest`,g=i(),[_,v]=a(!1),{history:y,clearHistory:b}=r({storageKey:h});return y.length===0?null:s(`div`,{className:`w-full bg-transparent pt-[12px] px-[12px] relative z-0`,children:[s(`div`,{className:`w-full flex items-center justify-between mb-[12px]`,children:[o(`span`,{className:`text-[16px] font-bold text-text1`,children:l}),s(`div`,{onClick:()=>v(!0),className:`cursor-pointer flex items-center gap-[4px]`,children:[o(`span`,{className:`text-text2 text-[14px] font-normal leading-[22px] text-right`,style:{fontFamily:`"Source Code Pro"`},children:u}),o(`svg`,{className:`w-[12px] h-[12px] text-text3`,viewBox:`0 0 12 12`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,children:o(`path`,{d:`M4.8295 0C4.71306 0 4.60139 0.0511359 4.51905 0.142158C4.43671 0.233181 4.39046 0.356633 4.39046 0.485358V2.5889H0.439046C0.322604 2.5889 0.210931 2.64004 0.128594 2.73106C0.0462565 2.82208 0 2.94553 0 3.07426V5.66316C0 5.79189 0.0462565 5.91534 0.128594 6.00636C0.210931 6.09738 0.322604 6.14852 0.439046 6.14852H0.878092V11.5146C0.878092 11.6434 0.924348 11.7668 1.00669 11.8578C1.08902 11.9489 1.2007 12 1.31714 12H10.6829C10.7993 12 10.911 11.9489 10.9933 11.8578C11.0757 11.7668 11.1219 11.6434 11.1219 11.5146V6.14852H11.561C11.6774 6.14852 11.7891 6.09738 11.8714 6.00636C11.9537 5.91534 12 5.79189 12 5.66316V3.07426C12 2.94553 11.9537 2.82208 11.8714 2.73106C11.7891 2.64004 11.6774 2.5889 11.561 2.5889H7.60954V0.485358C7.60954 0.356633 7.56328 0.233181 7.48095 0.142158C7.39861 0.0511359 7.28694 0 7.1705 0H4.8295ZM10.2438 11.0293H8.78092V9.54603C8.78092 9.4173 8.73466 9.29385 8.65232 9.20283C8.56999 9.1118 8.45831 9.06067 8.34187 9.06067C8.22543 9.06067 8.11376 9.1118 8.03142 9.20283C7.94908 9.29385 7.90282 9.4173 7.90282 9.54603V11.0293H6.43905V9.54117C6.43905 9.41245 6.39279 9.289 6.31045 9.19797C6.22812 9.10695 6.11644 9.05582 6 9.05582C5.88356 9.05582 5.77188 9.10695 5.68955 9.19797C5.60721 9.289 5.56095 9.41245 5.56095 9.54117V11.0303H4.09718V9.547C4.09718 9.41827 4.05092 9.29482 3.96858 9.2038C3.88624 9.11278 3.77457 9.06164 3.65813 9.06164C3.54169 9.06164 3.43001 9.11278 3.34768 9.2038C3.26534 9.29482 3.21908 9.41827 3.21908 9.547V11.0303H1.75618V6.17667H10.2438V11.0303V11.0293ZM5.26855 3.07426V0.970717H6.73145V3.07426C6.73145 3.20298 6.77771 3.32644 6.86004 3.41746C6.94238 3.50848 7.05405 3.55962 7.1705 3.55962H11.1219V5.1778H0.878092V3.55962H4.8295C4.94595 3.55962 5.05762 3.50848 5.13996 3.41746C5.22229 3.32644 5.26855 3.20298 5.26855 3.07426Z`,fill:`currentColor`})})]})]}),o(`div`,{className:`w-full overflow-hidden ${c===`1`?`h-[30px]`:c===`2`?`h-[72px]`:`h-[114px]`}`,children:o(`ul`,{className:`list-none m-0 p-0 w-full flex flex-wrap gap-[12px]`,children:y.map((t,n)=>o(`li`,{className:`h-[30px] px-[12px] bg-bg2 rounded-[4px] flex items-center justify-center cursor-pointer`,onClick:()=>{p?p(t):(e({q:t}),g.push(`${window.location.pathname}?q=${encodeURIComponent(t)}`))},children:o(`div`,{className:`text-text1 text-[14px] max-w-[124px] truncate`,children:t.length>8?`${t.slice(0,8)}...`:t})},`${t}-${n}`))})}),o(n,{open:_,onOpenChange:v,onConfirm:()=>{b(),v(!1)},title:``,description:d})]})}export{c as SearchHistory2Client};
@@ -0,0 +1,5 @@
1
+
2
+ import { SearchHistory2InspectorProps, SearchHistory2Props, searchHistoryInspectorDefaultProps, searchHistoryInspectorPropsSchema } from "./schema.mjs";
3
+ import { SearchHistory2Server } from "./server.mjs";
4
+ import { searchHistoryMaterial } from "./material.mjs";
5
+ import { SearchHistory2Client } from "./client.mjs";
@@ -6,10 +6,10 @@ import { SearchHistory2Server } from "./server.mjs";
6
6
  import * as zod from "zod";
7
7
  import * as zod_v4_core0 from "zod/v4/core";
8
8
 
9
- //#region components/biz/business/search-history2/material.d.ts
10
- declare const searchHistory2Material: DefineMaterialOption<typeof SearchHistory2Server, zod.ZodObject<{
9
+ //#region components/biz/business/search-history/material.d.ts
10
+ declare const searchHistoryMaterial: DefineMaterialOption<typeof SearchHistory2Server, zod.ZodObject<{
11
11
  title: zod.ZodString & SchemaHasDefaultValue;
12
12
  rows: zod.ZodType<"2" | "1" | "3", unknown, zod_v4_core0.$ZodTypeInternals<"2" | "1" | "3", unknown>> & SchemaHasDefaultValue;
13
- }, zod_v4_core0.$strip>, "search-history2">;
13
+ }, zod_v4_core0.$strip>, "search-history">;
14
14
  //#endregion
15
- export { searchHistory2Material };
15
+ export { searchHistoryMaterial };
@@ -0,0 +1,2 @@
1
+
2
+ import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{searchHistoryInspectorPropsSchema as t}from"./schema.mjs";import{SearchHistory2Server as n}from"./server.mjs";const r=e({type:`search-history`,name:`搜索历史`,icon:`/static/components-thumb/search_history.png`,category:`行为组件`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as searchHistoryMaterial};
@@ -3,19 +3,22 @@ import { SchemaHasDefaultValue } from "../../../../utils/schema/schema.mjs";
3
3
  import "../../../../utils.mjs";
4
4
  import z from "zod";
5
5
 
6
- //#region components/biz/business/search-history2/schema.d.ts
6
+ //#region components/biz/business/search-history/schema.d.ts
7
7
  /**
8
8
  * 搜索历史物料属性定义
9
9
  */
10
- declare const searchHistory2InspectorPropsSchema: z.ZodObject<{
10
+ declare const searchHistoryInspectorPropsSchema: z.ZodObject<{
11
11
  title: z.ZodString & SchemaHasDefaultValue;
12
12
  rows: z.ZodType<"2" | "1" | "3", unknown, z.core.$ZodTypeInternals<"2" | "1" | "3", unknown>> & SchemaHasDefaultValue;
13
13
  }, z.core.$strip>;
14
- declare const searchHistory2InspectorDefaultProps: {
14
+ declare const searchHistoryInspectorDefaultProps: {
15
15
  title: string;
16
16
  rows: "2" | "1" | "3";
17
17
  };
18
- type SearchHistory2InspectorProps = z.infer<typeof searchHistory2InspectorPropsSchema>;
19
- type SearchHistory2Props = SearchHistory2InspectorProps;
18
+ type SearchHistory2InspectorProps = z.infer<typeof searchHistoryInspectorPropsSchema>;
19
+ type SearchHistory2Props = SearchHistory2InspectorProps & {
20
+ storageKey?: string;
21
+ onHistoryClick?: (keyword: string) => void;
22
+ };
20
23
  //#endregion
21
- export { SearchHistory2InspectorProps, SearchHistory2Props, searchHistory2InspectorDefaultProps, searchHistory2InspectorPropsSchema };
24
+ export { SearchHistory2InspectorProps, SearchHistory2Props, searchHistoryInspectorDefaultProps, searchHistoryInspectorPropsSchema };
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineComponentPropsSchema as e,defineSelectEnumPropSchema as t,defineTextPropSchema as n,getSchemaDefaultProps as r}from"../../../../utils/schema/schema.mjs";const i=e({title:n({label:`标题名称`,defaultValue:`搜索历史`}),rows:t([`1`,`2`,`3`],{label:`展示行数`,defaultValue:`1`})}),a=r(i);export{a as searchHistory2InspectorDefaultProps,i as searchHistory2InspectorPropsSchema};
2
+ import{defineComponentPropsSchema as e,defineSelectEnumPropSchema as t,defineTextPropSchema as n,getSchemaDefaultProps as r}from"../../../../utils/schema/schema.mjs";const i=e({title:n({label:`标题名称`,defaultValue:`搜索历史`}),rows:t([`1`,`2`,`3`],{label:`展示行数`,defaultValue:`1`})}),a=r(i);export{a as searchHistoryInspectorDefaultProps,i as searchHistoryInspectorPropsSchema};
@@ -2,7 +2,7 @@
2
2
  import { SearchHistory2Props } from "./schema.mjs";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
- //#region components/biz/business/search-history2/server.d.ts
5
+ //#region components/biz/business/search-history/server.d.ts
6
6
  /**
7
7
  * 搜索历史物料组件 (search-history2) - 服务端部分
8
8
  */
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import e from"../../../../assets/icons/clear.mjs";import{updateUrlParams as t}from"../../../../utils/common.mjs";import{useUserStore as n}from"../../../../store/modules/user-store.mjs";import{Input as r}from"../../../ui/input.mjs";import{useSearchHistory as i}from"../search-history/use-search-history.mjs";import a from"../../../../assets/icons/search.mjs";import{isPCEnv as o}from"../../../../utils/tools.mjs";import{HeaderNav as s}from"../../../common/header-nav/client.mjs";import c from"../../../pages/search/style.module.mjs";import{useRouter as l}from"next/navigation";import{useCallback as u,useState as d}from"react";import{jsx as f,jsxs as p}from"react/jsx-runtime";function m({placeholder:m,defaultPlaceholder:h,searchLabel:g}){let[_,v]=d(``),y=l(),{userInfo:b}=n(),{addHistory:x}=i({storageKey:b?.user_id||`guest`}),S=u(e=>{let n=e||_||h;n.trim()&&(x(n),t({q:n}),y.push(`${window.location.pathname}?q=${encodeURIComponent(n)}`))},[_,h,y,x]);return f(s,{className:`h-[55px]`,rightChild:f(`div`,{className:`cursor-pointer w-[52px] flex items-center justify-center`,onClick:()=>S(_),children:f(`span`,{className:`text-[16px] text-text1`,children:g})}),centerChild:p(`header`,{className:`w-[calc(100%-52px-48px)] ml-[-15px] h-[35px] rounded-[20px] flex items-center justify-center relative overflow-hidden border-line1 border-[1px]`,children:[f(`div`,{className:`absolute left-0 top-0 w-full h-full bg-bg2 opacity-50`}),f(a,{className:`w-[16px] h-[16px] text-text3 absolute left-[12px] top-[9px] z-[1]`}),f(r,{id:`search-input-field`,placeholder:m||h,maxLength:20,value:_,className:c.searchInput,onChange:e=>v(e.target.value),onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),S(_))}}),_&&f(e,{className:`w-[15px] h-[15px] text-text3 z-10 absolute right-[12px] cursor-pointer`,onClick:()=>{o()||(v(``),t({q:``}),y.push(window.location.pathname))}})]})})}export{m as SearchInputClient};
2
+ "use client";import e from"../../../../assets/icons/clear.mjs";import{updateUrlParams as t}from"../../../../utils/common.mjs";import{useUserStore as n}from"../../../../store/modules/user-store.mjs";import{Input as r}from"../../../ui/input.mjs";import{useSearchHistory as i}from"../../../../hooks/use-search-history.mjs";import a from"../../../../assets/icons/search.mjs";import{isPCEnv as o}from"../../../../utils/tools.mjs";import{HeaderNav as s}from"../../../common/header-nav/client.mjs";import c from"../../../pages/search/style.module.mjs";import{useRouter as l}from"next/navigation";import{useCallback as u,useState as d}from"react";import{jsx as f,jsxs as p}from"react/jsx-runtime";function m({placeholder:m,defaultPlaceholder:h,searchLabel:g}){let[_,v]=d(``),y=l(),{userInfo:b}=n(),{addHistory:x}=i({storageKey:b?.user_id||`guest`}),S=u(e=>{let n=e||_||h;n.trim()&&(x(n),t({q:n}),y.push(`${window.location.pathname}?q=${encodeURIComponent(n)}`))},[_,h,y,x]);return f(s,{className:`h-[55px]`,rightChild:f(`div`,{className:`cursor-pointer w-[52px] flex items-center justify-center`,onClick:()=>S(_),children:f(`span`,{className:`text-[16px] text-text1`,children:g})}),centerChild:p(`header`,{className:`w-[calc(100%-52px-48px)] ml-[-15px] h-[35px] rounded-[20px] flex items-center justify-center relative overflow-hidden border-line1 border-[1px]`,children:[f(`div`,{className:`absolute left-0 top-0 w-full h-full bg-bg2 opacity-50`}),f(a,{className:`w-[16px] h-[16px] text-text3 absolute left-[12px] top-[9px] z-[1]`}),f(r,{id:`search-input-field`,placeholder:m||h,maxLength:20,value:_,className:c.searchInput,onChange:e=>v(e.target.value),onKeyDown:e=>{e.key===`Enter`&&(e.preventDefault(),S(_))}}),_&&f(e,{className:`w-[15px] h-[15px] text-text3 z-10 absolute right-[12px] cursor-pointer`,onClick:()=>{o()||(v(``),t({q:``}),y.push(window.location.pathname))}})]})})}export{m as SearchInputClient};
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{searchInputInspectorPropsSchema as t}from"./schema.mjs";import{SearchInputServer as n}from"./server.mjs";const r=e({type:`search-input`,name:`搜索输入框`,icon:`https://cdn.example.com/icons/search-input.png`,category:`TOP`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as searchInputMaterial};
2
+ import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{searchInputInspectorPropsSchema as t}from"./schema.mjs";import{SearchInputServer as n}from"./server.mjs";const r=e({type:`search-input`,name:`搜索输入框`,icon:`/static/components-thumb/search_input.png`,category:`行为组件`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as searchInputMaterial};
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{tabBarInspectorPropsSchema as t}from"./schema.mjs";import{TabBarServer as n}from"./server.mjs";const r=e({type:`tab-bar`,name:`底部导航栏`,icon:`https://cdn.example.com/icons/tab-bar.png`,category:`BOTTOM`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as tabBarMaterial};
2
+ import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{tabBarInspectorPropsSchema as t}from"./schema.mjs";import{TabBarServer as n}from"./server.mjs";const r=e({type:`tab-bar`,name:`底部导航栏`,icon:``,category:`行为组件`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as tabBarMaterial};
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{textRecommendInspectorPropsSchema as t}from"./schema.mjs";import{TextRecommendServer as n}from"./server.mjs";const r=e({type:`text-recommend`,name:`文字推荐`,icon:`https://cdn.example.com/icons/text-recommend.png`,category:`CENTER`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as textRecommendMaterial};
2
+ import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{textRecommendInspectorPropsSchema as t}from"./schema.mjs";import{TextRecommendServer as n}from"./server.mjs";const r=e({type:`text-recommend`,name:`文字推荐`,icon:`/static/components-thumb/search_recommend_text.png`,category:`内容组件`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as textRecommendMaterial};
@@ -1,2 +1,2 @@
1
1
 
2
- import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{videoHorizontalListInspectorPropsSchema as t}from"./schema.mjs";import{VideoHorizontalListServer as n}from"./server.mjs";const r=e({type:`video-horizontal-list`,name:`视频横向列表`,icon:`https://cdn.example.com/icons/video-list.png`,category:`CENTER`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as videoHorizontalListMaterial};
2
+ import{defineMaterial as e}from"../../../../utils/schema/material.mjs";import{videoHorizontalListInspectorPropsSchema as t}from"./schema.mjs";import{VideoHorizontalListServer as n}from"./server.mjs";const r=e({type:`video-horizontal-list`,name:`视频横向列表`,icon:`/static/components-thumb/search_recommend_media.png`,category:`内容组件`,serverComponent:n,clientComponent:n,propsSchema:t});export{r as videoHorizontalListMaterial};
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{cn as e}from"../../../../utils/cn.mjs";import{useAppContext as t}from"../../../../hooks/use-app-context/index.mjs";import{useRequest as n}from"../../../../hooks/query/use-query.mjs";import{buttonVariants as r}from"./variants.mjs";import{jsx as i}from"react/jsx-runtime";function a(a){let{text:o,disabled:s,loading:c,variant:l=`default`}=a,u=t();console.log({clientContext:u,text:o});function d(){u!==`editor`&&console.log(`invoke`)}return n([`demo`],()=>new Promise(e=>{setTimeout(()=>{e({message:`Hello World`})},200)}),{enabled:u===`renderer`}),u===`editor`?i(`div`,{children:`editor preview button`}):i(`button`,{className:e(r({variant:l})),onClick:d,disabled:s||c,children:o})}export{a as ButtonClient};
2
+ "use client";import{cn as e}from"../../../../utils/cn.mjs";import{useRequest as t}from"../../../../hooks/query/use-query.mjs";import{useAppContext as n}from"../../../../hooks/use-app-context/index.mjs";import{buttonVariants as r}from"./variants.mjs";import{jsx as i}from"react/jsx-runtime";function a(a){let{text:o,disabled:s,loading:c,variant:l=`default`}=a,u=n();console.log({clientContext:u,text:o});function d(){u!==`editor`&&console.log(`invoke`)}return t([`demo`],()=>new Promise(e=>{setTimeout(()=>{e({message:`Hello World`})},200)}),{enabled:u===`renderer`}),u===`editor`?i(`div`,{children:`editor preview button`}):i(`button`,{className:e(r({variant:l})),onClick:d,disabled:s||c,children:o})}export{a as ButtonClient};