@funhub/platform 0.1.30 → 0.1.33

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 (118) hide show
  1. package/config/tailwind/index.cjs +115 -1
  2. package/config/tailwind/index.d.ts +3 -0
  3. package/config/tailwind/index.mjs +115 -1
  4. package/dist/biz.d.mts +29 -25
  5. package/dist/biz.mjs +1 -1
  6. package/dist/common.mjs +1 -1
  7. package/dist/components/biz/basics/fullscreen-feed/index.mjs +1 -1
  8. package/dist/components/biz/basics/fullscreen-feed/runtime/client.mjs +1 -1
  9. package/dist/components/biz/basics/fullscreen-feed/runtime/post-slide.mjs +1 -1
  10. package/dist/components/biz/basics/fullscreen-feed/runtime/use-mixed-feed-controller.mjs +1 -1
  11. package/dist/components/biz/basics/fullscreen-feed/runtime/use-series-feed-controller.mjs +1 -1
  12. package/dist/components/biz/basics/fullscreen-feed/runtime/user-action.mjs +1 -1
  13. package/dist/components/biz/basics/logo/variants/basic-logo/runtime/client.mjs +1 -1
  14. package/dist/components/biz/basics/search/shared/components/search-box.mjs +1 -1
  15. package/dist/components/biz/basics/search/variants/simple-search/runtime/client.mjs +1 -1
  16. package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.mjs +1 -1
  17. package/dist/components/biz/business/banner/variants/basic-banner/runtime/client.mjs +1 -1
  18. package/dist/components/biz/business/banner-carousel/client.mjs +1 -1
  19. package/dist/components/biz/business/card-grid/variants/card-grid-2x3-infinite/runtime/client.mjs +1 -1
  20. package/dist/components/biz/business/card-grid/variants/card-grid-3x3-infinite/runtime/client.mjs +1 -1
  21. package/dist/components/biz/business/channel-list/client.d.mts +2 -2
  22. package/dist/components/biz/business/channel-list/client.mjs +1 -1
  23. package/dist/components/biz/business/channel-list/default-props.mjs +1 -1
  24. package/dist/components/biz/business/channel-list/material.d.mts +2 -2
  25. package/dist/components/biz/business/comment/comment-item.mjs +1 -1
  26. package/dist/components/biz/business/comment/reply-detail.mjs +1 -1
  27. package/dist/components/biz/business/contact/contact-list.mjs +1 -1
  28. package/dist/components/biz/business/detail/detail-operate.mjs +1 -1
  29. package/dist/components/biz/business/detail/materials/video-detail-actions/schema.d.mts +1 -1
  30. package/dist/components/biz/business/detail/materials/video-detail-info/schema.d.mts +1 -1
  31. package/dist/components/biz/business/detail/materials/video-detail-info-title/schema.d.mts +1 -1
  32. package/dist/components/biz/business/detail/materials/video-detail-info-title-tags-episodes/schema.d.mts +1 -1
  33. package/dist/components/biz/business/detail/materials/video-detail-player/schema.d.mts +1 -1
  34. package/dist/components/biz/business/detail/materials/video-detail-recommend/client.mjs +1 -1
  35. package/dist/components/biz/business/detail/video-hero.mjs +1 -1
  36. package/dist/components/biz/business/floating-ball/client.d.mts +2 -2
  37. package/dist/components/biz/business/floating-ball/client.mjs +1 -1
  38. package/dist/components/biz/business/floating-ball/index.d.mts +5 -0
  39. package/dist/components/biz/business/floating-ball/material.d.mts +6 -1
  40. package/dist/components/biz/business/floating-ball/schema.d.mts +11 -4
  41. package/dist/components/biz/business/floating-ball/schema.mjs +1 -1
  42. package/dist/components/biz/business/fullscreen-feed/variants/shared/runtime-compat.mjs +1 -1
  43. package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +1 -1
  44. package/dist/components/biz/business/index.d.mts +29 -24
  45. package/dist/components/biz/business/index.mjs +1 -1
  46. package/dist/components/biz/business/large-feature-grid/card-item.mjs +2 -0
  47. package/dist/components/biz/business/large-feature-grid/client.d.mts +8 -5
  48. package/dist/components/biz/business/large-feature-grid/client.mjs +1 -1
  49. package/dist/components/biz/business/large-feature-grid/mock.mjs +2 -0
  50. package/dist/components/biz/business/large-feature-grid/server.d.mts +4 -2
  51. package/dist/components/biz/business/large-feature-grid/types.d.mts +33 -0
  52. package/dist/components/biz/business/marquee/client.mjs +1 -1
  53. package/dist/components/biz/business/nav-bar/variants/basic-nav-bar/runtime/client.mjs +1 -1
  54. package/dist/components/biz/business/profile/profile-header/client.mjs +1 -1
  55. package/dist/components/biz/business/profile/profile-header/material.d.mts +1 -7
  56. package/dist/components/biz/business/profile/profile-header/schema.d.mts +14 -14
  57. package/dist/components/biz/business/profile/profile-header/schema.mjs +1 -1
  58. package/dist/components/biz/business/profile/profile-main/material.d.mts +1 -12
  59. package/dist/components/biz/business/profile/profile-main/schema.d.mts +14 -24
  60. package/dist/components/biz/business/profile/profile-main/schema.mjs +1 -1
  61. package/dist/components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs +1 -1
  62. package/dist/components/biz/business/recommended-users/variants/basic-recommended-users/runtime/client.mjs +1 -1
  63. package/dist/components/biz/business/search-bar/variants/detail-search-bar/runtime/client.mjs +1 -1
  64. package/dist/components/biz/business/search-history/client.mjs +1 -1
  65. package/dist/components/biz/business/search-input/client.mjs +1 -1
  66. package/dist/components/biz/business/tab-bar/client.mjs +1 -1
  67. package/dist/components/biz/business/text-recommend/client.mjs +1 -1
  68. package/dist/components/common/at-element/index.mjs +1 -1
  69. package/dist/components/common/blocked-dialog/blocked-dialog.mjs +1 -1
  70. package/dist/components/common/funhub-provider/funhub-provider.mjs +1 -1
  71. package/dist/components/common/header-nav/client.mjs +1 -1
  72. package/dist/components/common/info-card/card-header.mjs +1 -1
  73. package/dist/components/common/list/post-list/post-list.mjs +1 -1
  74. package/dist/components/common/list/user-activity-list/user-activity-list-actions.mjs +1 -1
  75. package/dist/components/common/list/user-activity-list/user-activity-list-item.mjs +1 -1
  76. package/dist/components/common/list/video-list/video-list.mjs +1 -1
  77. package/dist/components/common/media-preview/index.mjs +1 -1
  78. package/dist/components/common/popup-video/index.mjs +1 -1
  79. package/dist/components/common/share-popup/share-popup.mjs +1 -1
  80. package/dist/components/common/tab-bar/index.mjs +1 -1
  81. package/dist/components/common/top-nav-bar/client.mjs +1 -1
  82. package/dist/components/common/video-player/index.mjs +2 -2
  83. package/dist/components/pages/(follow)/_components/interaction-tabs/index.mjs +1 -1
  84. package/dist/components/pages/(follow)/_components/user-list/index.mjs +1 -1
  85. package/dist/components/pages/collection-create/form.mjs +1 -1
  86. package/dist/components/pages/collection-detail/detail.mjs +1 -1
  87. package/dist/components/pages/feed-series/feed-series-client.mjs +1 -1
  88. package/dist/components/pages/feed-series/page.mjs +1 -1
  89. package/dist/components/pages/feedback/_components/feedback-form.mjs +1 -1
  90. package/dist/components/pages/fullscreen-feed/page.mjs +1 -1
  91. package/dist/components/pages/home/client.mjs +1 -1
  92. package/dist/components/pages/post-detail/post-detail-client.mjs +1 -1
  93. package/dist/components/pages/profile/_components/user-profile-container/client.mjs +1 -1
  94. package/dist/components/pages/publish/components/collection.mjs +1 -1
  95. package/dist/components/pages/publish/components/header.mjs +1 -1
  96. package/dist/components/pages/publish/page-client.mjs +1 -1
  97. package/dist/components/pages/search/page-client.mjs +1 -1
  98. package/dist/components/pages/search/search-result/search-video-info.mjs +1 -1
  99. package/dist/components/pages/search/top-header.mjs +1 -1
  100. package/dist/components/pages/user-follow/_components/follow-no-login.mjs +1 -1
  101. package/dist/components/pages/video-detail/page.mjs +1 -1
  102. package/dist/components/pages/video-detail/video-detail-client.mjs +1 -1
  103. package/dist/components/pages/video-list/video-list-client.mjs +1 -1
  104. package/dist/components/ui/badge.d.mts +1 -1
  105. package/dist/components/ui/button-group.d.mts +1 -1
  106. package/dist/components/ui/button.d.mts +2 -2
  107. package/dist/components/ui/field.d.mts +1 -1
  108. package/dist/components/ui/image.d.mts +4 -4
  109. package/dist/hooks/use-content-operate.mjs +1 -1
  110. package/dist/i18n.d.mts +1 -1
  111. package/dist/i18n.mjs +1 -1
  112. package/dist/materials.d.mts +5 -5
  113. package/dist/materials.mjs +1 -1
  114. package/dist/utils/share-manager.mjs +1 -1
  115. package/dist/utils.d.mts +4 -4
  116. package/dist/utils.mjs +1 -1
  117. package/package.json +1 -1
  118. package/dist/components/biz/business/large-feature-grid/schema.d.mts +0 -14
@@ -82,18 +82,132 @@ const platformTailwindColors = {
82
82
  'sidebar-ring': 'var(--sidebar-ring)',
83
83
  };
84
84
 
85
+ const platformTailwindSpacing = {
86
+ 1.25: '0.3125rem',
87
+ 2.25: '0.5625rem',
88
+ 6.25: '1.5625rem',
89
+ 6.5: '1.625rem',
90
+ 7.5: '1.875rem',
91
+ 8.5: '2.125rem',
92
+ 13.5: '3.375rem',
93
+ 15: '3.75rem',
94
+ 16.5: '4.125rem',
95
+ 17: '4.25rem',
96
+ 18: '4.5rem',
97
+ 20.5: '5.125rem',
98
+ 21: '5.25rem',
99
+ 22: '5.5rem',
100
+ 33.5: '8.375rem',
101
+ 33.75: '8.4375rem',
102
+ 35.5: '8.875rem',
103
+ 36.25: '9.0625rem',
104
+ 49.5: '12.375rem',
105
+ 67.5: '16.875rem',
106
+ 76: '19rem',
107
+ 89.25: '22.3125rem',
108
+ 101.5: '25.375rem',
109
+ };
110
+
111
+ const platformTailwindLineHeight = {
112
+ 4.5: '1.125rem',
113
+ 5.5: '1.375rem',
114
+ 6.5: '1.625rem',
115
+ 7.5: '1.875rem',
116
+ };
117
+
118
+ const platformTailwindBorderRadius = {
119
+ xs: '0.125rem',
120
+ };
121
+
122
+ const platformTailwindUtilityPolyfills = {
123
+ '.text-text1\\/21': {
124
+ color: 'color-mix(in srgb, var(--color-text1) 21%, transparent)',
125
+ },
126
+ '.text-text1\\/33': {
127
+ color: 'color-mix(in srgb, var(--color-text1) 33%, transparent)',
128
+ },
129
+ '.text-text1\\/66': {
130
+ color: 'color-mix(in srgb, var(--color-text1) 66%, transparent)',
131
+ },
132
+ '.text-text1\\/80': {
133
+ color: 'color-mix(in srgb, var(--color-text1) 80%, transparent)',
134
+ },
135
+ '.text-theme1\\/80': {
136
+ color: 'color-mix(in srgb, var(--color-theme1) 80%, transparent)',
137
+ },
138
+ '.hover\\:text-theme1\\/80:hover': {
139
+ color: 'color-mix(in srgb, var(--color-theme1) 80%, transparent)',
140
+ },
141
+ '.bg-bg2\\/33': {
142
+ backgroundColor: 'color-mix(in srgb, var(--color-bg2) 33%, transparent)',
143
+ },
144
+ '.bg-bg2\\/60': {
145
+ backgroundColor: 'color-mix(in srgb, var(--color-bg2) 60%, transparent)',
146
+ },
147
+ '.hover\\:bg-bg2\\/60:hover': {
148
+ backgroundColor: 'color-mix(in srgb, var(--color-bg2) 60%, transparent)',
149
+ },
150
+ '.bg-theme6\\/40': {
151
+ backgroundColor: 'color-mix(in srgb, var(--color-theme6) 40%, transparent)',
152
+ },
153
+ '.disabled\\:bg-theme6\\/40:disabled': {
154
+ backgroundColor: 'color-mix(in srgb, var(--color-theme6) 40%, transparent)',
155
+ },
156
+ '.bg-text1\\/10': {
157
+ backgroundColor: 'color-mix(in srgb, var(--color-text1) 10%, transparent)',
158
+ },
159
+ '.bg-text1\\/20': {
160
+ backgroundColor: 'color-mix(in srgb, var(--color-text1) 20%, transparent)',
161
+ },
162
+ '.bg-text3\\/10': {
163
+ backgroundColor: 'color-mix(in srgb, var(--color-text3) 10%, transparent)',
164
+ },
165
+ '.bg-line1\\/20': {
166
+ backgroundColor: 'color-mix(in srgb, var(--color-line1) 20%, transparent)',
167
+ },
168
+ '.border-line1\\/20': {
169
+ borderColor: 'color-mix(in srgb, var(--color-line1) 20%, transparent)',
170
+ },
171
+ '.border-text1\\/5': {
172
+ borderColor: 'color-mix(in srgb, var(--color-text1) 5%, transparent)',
173
+ },
174
+ '.border-text1\\/10': {
175
+ borderColor: 'color-mix(in srgb, var(--color-text1) 10%, transparent)',
176
+ },
177
+ '.divide-text1\\/5 > :not([hidden]) ~ :not([hidden])': {
178
+ borderColor: 'color-mix(in srgb, var(--color-text1) 5%, transparent)',
179
+ },
180
+ '.group\\/tabs-list[data-variant="segment"] .group-data-\\[variant\\=segment\\]\\/tabs-list\\:data-\\[active\\]\\:bg-text1\\/10[data-active]': {
181
+ backgroundColor: 'color-mix(in srgb, var(--color-text1) 10%, transparent)',
182
+ },
183
+ '.group\\/tabs[data-orientation="horizontal"] .group-data-\\[orientation\\=horizontal\\]\\/tabs\\:after\\:-bottom-1\\.25::after': {
184
+ bottom: '-0.3125rem',
185
+ },
186
+ };
187
+
188
+ /**
189
+ * 注入历史 className 兼容规则,减少业务组件迁移成本。
190
+ * @param {{ addUtilities: (utilities: Record<string, Record<string, string>>) => void }} tailwindApi
191
+ */
192
+ function platformTailwindCompatibilityUtilitiesPlugin({ addUtilities }) {
193
+ addUtilities(platformTailwindUtilityPolyfills);
194
+ }
195
+
85
196
  const platformTailwindPreset = {
86
197
  darkMode: 'class',
87
198
  theme: {
88
199
  extend: {
89
200
  colors: platformTailwindColors,
201
+ spacing: platformTailwindSpacing,
202
+ lineHeight: platformTailwindLineHeight,
203
+ borderRadius: platformTailwindBorderRadius,
90
204
  fontFamily: {
91
205
  sans: ['var(--font-sans)'],
92
206
  mono: ['var(--font-mono)'],
93
207
  },
94
208
  },
95
209
  },
96
- plugins: [tailwindcssAnimate],
210
+ plugins: [tailwindcssAnimate, platformTailwindCompatibilityUtilitiesPlugin],
97
211
  };
98
212
 
99
213
  /**
@@ -3,6 +3,9 @@ export interface PlatformTailwindPreset {
3
3
  theme: {
4
4
  extend: {
5
5
  colors: Record<string, string>
6
+ spacing: Record<string, string>
7
+ lineHeight: Record<string, string>
8
+ borderRadius: Record<string, string>
6
9
  fontFamily: {
7
10
  sans: string[]
8
11
  mono: string[]
@@ -83,6 +83,117 @@ const platformTailwindColors = {
83
83
  'sidebar-ring': 'var(--sidebar-ring)',
84
84
  };
85
85
 
86
+ const platformTailwindSpacing = {
87
+ 1.25: '0.3125rem',
88
+ 2.25: '0.5625rem',
89
+ 6.25: '1.5625rem',
90
+ 6.5: '1.625rem',
91
+ 7.5: '1.875rem',
92
+ 8.5: '2.125rem',
93
+ 13.5: '3.375rem',
94
+ 15: '3.75rem',
95
+ 16.5: '4.125rem',
96
+ 17: '4.25rem',
97
+ 18: '4.5rem',
98
+ 20.5: '5.125rem',
99
+ 21: '5.25rem',
100
+ 22: '5.5rem',
101
+ 33.5: '8.375rem',
102
+ 33.75: '8.4375rem',
103
+ 35.5: '8.875rem',
104
+ 36.25: '9.0625rem',
105
+ 49.5: '12.375rem',
106
+ 67.5: '16.875rem',
107
+ 76: '19rem',
108
+ 89.25: '22.3125rem',
109
+ 101.5: '25.375rem',
110
+ };
111
+
112
+ const platformTailwindLineHeight = {
113
+ 4.5: '1.125rem',
114
+ 5.5: '1.375rem',
115
+ 6.5: '1.625rem',
116
+ 7.5: '1.875rem',
117
+ };
118
+
119
+ const platformTailwindBorderRadius = {
120
+ xs: '0.125rem',
121
+ };
122
+
123
+ const platformTailwindUtilityPolyfills = {
124
+ '.text-text1\\/21': {
125
+ color: 'color-mix(in srgb, var(--color-text1) 21%, transparent)',
126
+ },
127
+ '.text-text1\\/33': {
128
+ color: 'color-mix(in srgb, var(--color-text1) 33%, transparent)',
129
+ },
130
+ '.text-text1\\/66': {
131
+ color: 'color-mix(in srgb, var(--color-text1) 66%, transparent)',
132
+ },
133
+ '.text-text1\\/80': {
134
+ color: 'color-mix(in srgb, var(--color-text1) 80%, transparent)',
135
+ },
136
+ '.text-theme1\\/80': {
137
+ color: 'color-mix(in srgb, var(--color-theme1) 80%, transparent)',
138
+ },
139
+ '.hover\\:text-theme1\\/80:hover': {
140
+ color: 'color-mix(in srgb, var(--color-theme1) 80%, transparent)',
141
+ },
142
+ '.bg-bg2\\/33': {
143
+ backgroundColor: 'color-mix(in srgb, var(--color-bg2) 33%, transparent)',
144
+ },
145
+ '.bg-bg2\\/60': {
146
+ backgroundColor: 'color-mix(in srgb, var(--color-bg2) 60%, transparent)',
147
+ },
148
+ '.hover\\:bg-bg2\\/60:hover': {
149
+ backgroundColor: 'color-mix(in srgb, var(--color-bg2) 60%, transparent)',
150
+ },
151
+ '.bg-theme6\\/40': {
152
+ backgroundColor: 'color-mix(in srgb, var(--color-theme6) 40%, transparent)',
153
+ },
154
+ '.disabled\\:bg-theme6\\/40:disabled': {
155
+ backgroundColor: 'color-mix(in srgb, var(--color-theme6) 40%, transparent)',
156
+ },
157
+ '.bg-text1\\/10': {
158
+ backgroundColor: 'color-mix(in srgb, var(--color-text1) 10%, transparent)',
159
+ },
160
+ '.bg-text1\\/20': {
161
+ backgroundColor: 'color-mix(in srgb, var(--color-text1) 20%, transparent)',
162
+ },
163
+ '.bg-text3\\/10': {
164
+ backgroundColor: 'color-mix(in srgb, var(--color-text3) 10%, transparent)',
165
+ },
166
+ '.bg-line1\\/20': {
167
+ backgroundColor: 'color-mix(in srgb, var(--color-line1) 20%, transparent)',
168
+ },
169
+ '.border-line1\\/20': {
170
+ borderColor: 'color-mix(in srgb, var(--color-line1) 20%, transparent)',
171
+ },
172
+ '.border-text1\\/5': {
173
+ borderColor: 'color-mix(in srgb, var(--color-text1) 5%, transparent)',
174
+ },
175
+ '.border-text1\\/10': {
176
+ borderColor: 'color-mix(in srgb, var(--color-text1) 10%, transparent)',
177
+ },
178
+ '.divide-text1\\/5 > :not([hidden]) ~ :not([hidden])': {
179
+ borderColor: 'color-mix(in srgb, var(--color-text1) 5%, transparent)',
180
+ },
181
+ '.group\\/tabs-list[data-variant="segment"] .group-data-\\[variant\\=segment\\]\\/tabs-list\\:data-\\[active\\]\\:bg-text1\\/10[data-active]': {
182
+ backgroundColor: 'color-mix(in srgb, var(--color-text1) 10%, transparent)',
183
+ },
184
+ '.group\\/tabs[data-orientation="horizontal"] .group-data-\\[orientation\\=horizontal\\]\\/tabs\\:after\\:-bottom-1\\.25::after': {
185
+ bottom: '-0.3125rem',
186
+ },
187
+ };
188
+
189
+ /**
190
+ * 注入历史 className 兼容规则,减少业务组件迁移成本。
191
+ * @param {{ addUtilities: (utilities: Record<string, Record<string, string>>) => void }} tailwindApi
192
+ */
193
+ function platformTailwindCompatibilityUtilitiesPlugin({ addUtilities }) {
194
+ addUtilities(platformTailwindUtilityPolyfills);
195
+ }
196
+
86
197
  const currentFilePath = fileURLToPath(import.meta.url);
87
198
  const currentDirPath = path.dirname(currentFilePath);
88
199
 
@@ -91,13 +202,16 @@ export const platformTailwindPreset = {
91
202
  theme: {
92
203
  extend: {
93
204
  colors: platformTailwindColors,
205
+ spacing: platformTailwindSpacing,
206
+ lineHeight: platformTailwindLineHeight,
207
+ borderRadius: platformTailwindBorderRadius,
94
208
  fontFamily: {
95
209
  sans: ['var(--font-sans)'],
96
210
  mono: ['var(--font-mono)'],
97
211
  },
98
212
  },
99
213
  },
100
- plugins: [tailwindcssAnimate],
214
+ plugins: [tailwindcssAnimate, platformTailwindCompatibilityUtilitiesPlugin],
101
215
  };
102
216
 
103
217
  /**
package/dist/biz.d.mts CHANGED
@@ -39,30 +39,6 @@ import { defaultProps as defaultProps$25 } from "./components/biz/basics/search/
39
39
  import { TagSearchClient } from "./components/biz/basics/search/variants/tag-search/runtime/client.mjs";
40
40
  import { schema as schema$25 } from "./components/biz/basics/search/variants/tag-search/schema/index.mjs";
41
41
  import "./components/biz/basics/index.mjs";
42
- import { MarqueeInspectorProps, MarqueeProps, marqueeInspectorDefaultProps, marqueeInspectorPropsSchema } from "./components/biz/business/marquee/schema.mjs";
43
- import { MarqueeClient } from "./components/biz/business/marquee/client.mjs";
44
- import { MarqueeServer } from "./components/biz/business/marquee/server.mjs";
45
- import { marqueeMaterial } from "./components/biz/business/marquee/material.mjs";
46
- import { SearchHistoryInspectorProps, SearchHistoryProps, searchHistoryInspectorDefaultProps, searchHistoryInspectorPropsSchema } from "./components/biz/business/search-history/schema.mjs";
47
- import { SearchHistoryClient } from "./components/biz/business/search-history/client.mjs";
48
- import { SearchHistoryServer } from "./components/biz/business/search-history/server.mjs";
49
- import { searchHistoryMaterial } from "./components/biz/business/search-history/material.mjs";
50
- import { SearchInputClient } from "./components/biz/business/search-input/client.mjs";
51
- import { SearchInputInspectorProps, SearchInputProps, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema } from "./components/biz/business/search-input/schema.mjs";
52
- import { SearchInputServer } from "./components/biz/business/search-input/server.mjs";
53
- import { searchInputMaterial } from "./components/biz/business/search-input/material.mjs";
54
- import { TabBarInspectorProps, TabBarProps, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema } from "./components/biz/business/tab-bar/schema.mjs";
55
- import { TabBarClient } from "./components/biz/business/tab-bar/client.mjs";
56
- import { TabBarServer } from "./components/biz/business/tab-bar/server.mjs";
57
- import { tabBarMaterial } from "./components/biz/business/tab-bar/material.mjs";
58
- import { TextRecommendClient } from "./components/biz/business/text-recommend/client.mjs";
59
- import { TextRecommendInspectorProps, TextRecommendProps, textRecommendInspectorDefaultProps, textRecommendInspectorPropsSchema } from "./components/biz/business/text-recommend/schema.mjs";
60
- import { TextRecommendServer } from "./components/biz/business/text-recommend/server.mjs";
61
- import { textRecommendMaterial } from "./components/biz/business/text-recommend/material.mjs";
62
- import { VideoHorizontalListInspectorProps, VideoHorizontalListProps, videoHorizontalListInspectorDefaultProps, videoHorizontalListInspectorPropsSchema } from "./components/biz/business/video-horizontal-list/schema.mjs";
63
- import { VideoHorizontalListClient } from "./components/biz/business/video-horizontal-list/client.mjs";
64
- import { VideoHorizontalListServer } from "./components/biz/business/video-horizontal-list/server.mjs";
65
- import { videoHorizontalListMaterial } from "./components/biz/business/video-horizontal-list/material.mjs";
66
42
  import { defaultProps } from "./components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs";
67
43
  import { BasicBannerClient } from "./components/biz/business/banner/variants/basic-banner/runtime/client.mjs";
68
44
  import { schema } from "./components/biz/business/banner/variants/basic-banner/schema/index.mjs";
@@ -87,6 +63,10 @@ import { schema as schema$12 } from "./components/biz/business/card-grid/variant
87
63
  import { defaultProps as defaultProps$1 } from "./components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";
88
64
  import { BasicFeatureGridClient } from "./components/biz/business/feature-grid/variants/basic-feature-grid/runtime/client.mjs";
89
65
  import { schema as schema$1 } from "./components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs";
66
+ import { FloatingBallInspectorProps, floatingBallInspectorDefaultProps, floatingBallInspectorPropsSchema } from "./components/biz/business/floating-ball/schema.mjs";
67
+ import { FloatingBallClient, FloatingBallClientProps } from "./components/biz/business/floating-ball/client.mjs";
68
+ import { FloatingBall } from "./components/biz/business/floating-ball/server.mjs";
69
+ import { floatingBallMaterial } from "./components/biz/business/floating-ball/material.mjs";
90
70
  import { defaultProps as defaultProps$19 } from "./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";
91
71
  import { FullscreenPostFeedClient } from "./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/runtime/client.mjs";
92
72
  import { schema as schema$19 } from "./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";
@@ -105,6 +85,10 @@ import { schema as schema$22 } from "./components/biz/business/home-recommend/va
105
85
  import { homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema } from "./components/biz/business/home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs";
106
86
  import { HomeRecommendWaterfall } from "./components/biz/business/home-recommend/variants/home-recommend-waterfall/server.mjs";
107
87
  import { homeRecommendWaterfallMaterial } from "./components/biz/business/home-recommend/variants/home-recommend-waterfall/material.mjs";
88
+ import { MarqueeInspectorProps, MarqueeProps, marqueeInspectorDefaultProps, marqueeInspectorPropsSchema } from "./components/biz/business/marquee/schema.mjs";
89
+ import { MarqueeClient } from "./components/biz/business/marquee/client.mjs";
90
+ import { MarqueeServer } from "./components/biz/business/marquee/server.mjs";
91
+ import { marqueeMaterial } from "./components/biz/business/marquee/material.mjs";
108
92
  import { defaultProps as defaultProps$4 } from "./components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";
109
93
  import { BasicNavBarClient } from "./components/biz/business/nav-bar/variants/basic-nav-bar/runtime/client.mjs";
110
94
  import { schema as schema$4 } from "./components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs";
@@ -144,6 +128,26 @@ import { schema as schema$17 } from "./components/biz/business/search-bar/varian
144
128
  import { defaultProps as defaultProps$24 } from "./components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs";
145
129
  import { TagSearchBarClient } from "./components/biz/business/search-bar/variants/tag-search-bar/runtime/client.mjs";
146
130
  import { schema as schema$24 } from "./components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs";
131
+ import { SearchHistoryInspectorProps, SearchHistoryProps, searchHistoryInspectorDefaultProps, searchHistoryInspectorPropsSchema } from "./components/biz/business/search-history/schema.mjs";
132
+ import { SearchHistoryClient } from "./components/biz/business/search-history/client.mjs";
133
+ import { SearchHistoryServer } from "./components/biz/business/search-history/server.mjs";
134
+ import { searchHistoryMaterial } from "./components/biz/business/search-history/material.mjs";
135
+ import { SearchInputClient } from "./components/biz/business/search-input/client.mjs";
136
+ import { SearchInputInspectorProps, SearchInputProps, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema } from "./components/biz/business/search-input/schema.mjs";
137
+ import { SearchInputServer } from "./components/biz/business/search-input/server.mjs";
138
+ import { searchInputMaterial } from "./components/biz/business/search-input/material.mjs";
139
+ import { TabBarInspectorProps, TabBarProps, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema } from "./components/biz/business/tab-bar/schema.mjs";
140
+ import { TabBarClient } from "./components/biz/business/tab-bar/client.mjs";
141
+ import { TabBarServer } from "./components/biz/business/tab-bar/server.mjs";
142
+ import { tabBarMaterial } from "./components/biz/business/tab-bar/material.mjs";
143
+ import { TextRecommendClient } from "./components/biz/business/text-recommend/client.mjs";
144
+ import { TextRecommendInspectorProps, TextRecommendProps, textRecommendInspectorDefaultProps, textRecommendInspectorPropsSchema } from "./components/biz/business/text-recommend/schema.mjs";
145
+ import { TextRecommendServer } from "./components/biz/business/text-recommend/server.mjs";
146
+ import { textRecommendMaterial } from "./components/biz/business/text-recommend/material.mjs";
147
+ import { VideoHorizontalListInspectorProps, VideoHorizontalListProps, videoHorizontalListInspectorDefaultProps, videoHorizontalListInspectorPropsSchema } from "./components/biz/business/video-horizontal-list/schema.mjs";
148
+ import { VideoHorizontalListClient } from "./components/biz/business/video-horizontal-list/client.mjs";
149
+ import { VideoHorizontalListServer } from "./components/biz/business/video-horizontal-list/server.mjs";
150
+ import { videoHorizontalListMaterial } from "./components/biz/business/video-horizontal-list/material.mjs";
147
151
  import "./components/biz/business/index.mjs";
148
152
  import { ButtonInspectorProps, ButtonProps, buttonInspectorDefaultProps, buttonInspectorPropsSchema } from "./components/biz/example/button/schema.mjs";
149
153
  import { ButtonClient } from "./components/biz/example/button/client.mjs";
@@ -152,4 +156,4 @@ import { exampleButtonMaterial } from "./components/biz/example/button/material.
152
156
  import "./components/biz/example/button/index.mjs";
153
157
  import { NodeDocument, PageDocument, PageMeta, Renderer, RendererDocument, RendererMaterial, RendererMode, RendererProps } from "./components/biz/renderer/renderer.mjs";
154
158
  import "./components/biz/renderer/index.mjs";
155
- export { BaseComponentProps, BasicBannerClient as BasicBanner, defaultProps as BasicBannerDefaultData, BasicBanner as BasicBannerMaterialComponent, schema as BasicBannerSchema, BasicFeatureGridClient as BasicFeatureGrid, defaultProps$1 as BasicFeatureGridDefaultData, schema$1 as BasicFeatureGridSchema, BasicFullscreen, FullscreenFeedClient as BasicFullscreenFeed, defaultProps$2 as BasicFullscreenFeedDefaultData, schema$2 as BasicFullscreenFeedSchema, BasicLogoClient as BasicLogo, defaultProps$3 as BasicLogoDefaultData, schema$3 as BasicLogoSchema, BasicNavBarClient as BasicNavBar, defaultProps$4 as BasicNavBarDefaultData, schema$4 as BasicNavBarSchema, BasicPostCardClient as BasicPostCard, defaultProps$5 as BasicPostCardDefaultData, schema$5 as BasicPostCardSchema, BasicRecommendedUsersClient as BasicRecommendedUsers, defaultProps$6 as BasicRecommendedUsersDefaultData, schema$6 as BasicRecommendedUsersSchema, BasicSearchClient as BasicSearch, BasicSearchBarClient as BasicSearchBar, defaultProps$7 as BasicSearchBarDefaultData, schema$7 as BasicSearchBarSchema, defaultProps$8 as BasicSearchDefaultData, schema$8 as BasicSearchSchema, BuildCollectTabPrefetchParams, BuildHistoryTabPrefetchParams, BuildLikeTabPrefetchParams, BuildPublishTabPrefetchParams, BuildUserProfileHeaderPrefetchParams, Button, ButtonClient, ButtonInspectorProps, ButtonProps, CARD_SPEC_MAP, CardCornerMode, CardGrid2x3Client as CardGrid2x3, defaultProps$9 as CardGrid2x3DefaultData, CardGrid2x3InfiniteClient as CardGrid2x3Infinite, defaultProps$10 as CardGrid2x3InfiniteDefaultData, schema$9 as CardGrid2x3InfiniteSchema, schema$10 as CardGrid2x3Schema, CardGrid2x4Client as CardGrid2x4, defaultProps$11 as CardGrid2x4DefaultData, schema$11 as CardGrid2x4Schema, CardGrid3x3Client as CardGrid3x3, defaultProps$12 as CardGrid3x3DefaultData, CardGrid3x3InfiniteClient as CardGrid3x3Infinite, defaultProps$13 as CardGrid3x3InfiniteDefaultData, schema$12 as CardGrid3x3InfiniteSchema, schema$13 as CardGrid3x3Schema, defaultProps$14 as CardItemDefaultData, schema$14 as CardItemSchema, defaultProps$15 as CardLayoutDefaultData, schema$15 as CardLayoutSchema, CardSpec, ChannelDataItem, CollectTab, CollectTabAuthConfig, CollectTabProps, CollectTabServer, CommonStyleSchema, ComponentMaterial, ComponentSchema, ComponentType, ContentBlockItem, DataBinding, DataBindingField, DataBindingSourceType, DataBindingUIMode, DataSchema, DataSlot, DataSourceType, DetailSearchBarClient as DetailSearchBar, defaultProps$16 as DetailSearchBarDefaultData, schema$16 as DetailSearchBarSchema, EventDefinition, EventSchema, ExtractedDataItem, FieldSchema, FieldType, FilterSearchClient as FilterSearch, FilterSearchBarClient as FilterSearchBar, defaultProps$17 as FilterSearchBarDefaultData, schema$17 as FilterSearchBarSchema, defaultProps$18 as FilterSearchDefaultData, schema$18 as FilterSearchSchema, FullscreenPostFeedClient as FullscreenFeedClient, defaultProps$19 as FullscreenPostFeedDefaultData, schema$19 as FullscreenPostFeedSchema, FullscreenVideoFeedClient as FullscreenVideoClient, defaultProps$20 as FullscreenVideoFeedDefaultData, schema$20 as FullscreenVideoFeedSchema, HistoryTab, HistoryTabAuthConfig, HistoryTabProps, HistoryTabServer, HomeRecommendGridClient as HomeRecommendGrid, defaultProps$21 as HomeRecommendGridDefaultData, HomeRecommendGrid as HomeRecommendGridMaterialComponent, schema$21 as HomeRecommendGridSchema, HomeRecommendWaterfallClient as HomeRecommendWaterfall, defaultProps$22 as HomeRecommendWaterfallDefaultData, HomeRecommendWaterfall as HomeRecommendWaterfallMaterialComponent, schema$22 as HomeRecommendWaterfallSchema, LikeDetailItem, LikeTab, LikeTabProps, LikeTabServer, MarqueeClient, MarqueeInspectorProps, MarqueeProps, MarqueeServer, MaterialRegistry, NodeDocument, PageDocument, PageMeta, ProfileHeaderInspectorProps, ProfileMainAuthConfig, ProfileMainInspectorProps, PropDefinition, PropSchema, PublishTab, PublishTabProps, PublishTabServer, PublishTabUserInfo, RawContentData, Renderer, RendererDocument, RendererMaterial, RendererMode, RendererProps, SearchHistoryClient, SearchHistoryInspectorProps, SearchHistoryProps, SearchHistoryServer, SearchInputClient, SearchInputInspectorProps, SearchInputProps, SearchInputServer, SimpleSearchClient as SimpleSearch, defaultProps$23 as SimpleSearchDefaultData, schema$23 as SimpleSearchSchema, StylePropDefinition, StyleSchema, TabBarClient, TabBarInspectorProps, TabBarProps, TabBarServer, TagSearchClient as TagSearch, TagSearchBarClient as TagSearchBar, defaultProps$24 as TagSearchBarDefaultData, schema$24 as TagSearchBarSchema, defaultProps$25 as TagSearchDefaultData, schema$25 as TagSearchSchema, TextRecommendClient, TextRecommendInspectorProps, TextRecommendProps, TextRecommendServer, UserProfileHeader, UserProfileHeaderAuthConfig, UserProfileHeaderClient, UserProfileHeaderClientProps, UserProfileHeaderProps, UserProfileMain, UserProfileMainClient, UserProfileMainProps, UserProfileMainRenderMode, UserProfileMainShell, UserProfileMainShellProps, VideoHorizontalListClient, VideoHorizontalListInspectorProps, VideoHorizontalListProps, VideoHorizontalListServer, basicBannerInspectorDefaultProps, basicBannerInspectorPropsSchema, basicBannerMaterial, buildCollectTabPrefetch, buildContentUrl, buildHistoryTabPrefetch, buildLikeTabPrefetch, buildPublishTabPrefetch, buildUserProfileHeaderPrefetch, buttonInspectorDefaultProps, buttonInspectorPropsSchema, commonStyleSchema, commonStylesToInline, customStylesToInline, exampleButtonMaterial, extractDataByComponentType, getCardSpecConfig, getChannelList, homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema, homeRecommendGridMaterial, homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema, homeRecommendWaterfallMaterial, marqueeInspectorDefaultProps, marqueeInspectorPropsSchema, marqueeMaterial, mergeStyles, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema, profileHeaderMaterial, profileMainCollectCollectionTabOptions, profileMainCollectTabOptions, profileMainHistoryTabOptions, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema, profileMainLikeTabOptions, profileMainMaterial, profileMainMineTabOptions, profileMainProfileTabOptions, profileMainTabOptions, searchHistoryInspectorDefaultProps, searchHistoryInspectorPropsSchema, searchHistoryMaterial, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema, searchInputMaterial, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema, tabBarMaterial, textRecommendInspectorDefaultProps, textRecommendInspectorPropsSchema, textRecommendMaterial, transformContentListToCardItems, transformContentToCardItem, videoHorizontalListInspectorDefaultProps, videoHorizontalListInspectorPropsSchema, videoHorizontalListMaterial };
159
+ export { BaseComponentProps, BasicBannerClient as BasicBanner, defaultProps as BasicBannerDefaultData, BasicBanner as BasicBannerMaterialComponent, schema as BasicBannerSchema, BasicFeatureGridClient as BasicFeatureGrid, defaultProps$1 as BasicFeatureGridDefaultData, schema$1 as BasicFeatureGridSchema, BasicFullscreen, FullscreenFeedClient as BasicFullscreenFeed, defaultProps$2 as BasicFullscreenFeedDefaultData, schema$2 as BasicFullscreenFeedSchema, BasicLogoClient as BasicLogo, defaultProps$3 as BasicLogoDefaultData, schema$3 as BasicLogoSchema, BasicNavBarClient as BasicNavBar, defaultProps$4 as BasicNavBarDefaultData, schema$4 as BasicNavBarSchema, BasicPostCardClient as BasicPostCard, defaultProps$5 as BasicPostCardDefaultData, schema$5 as BasicPostCardSchema, BasicRecommendedUsersClient as BasicRecommendedUsers, defaultProps$6 as BasicRecommendedUsersDefaultData, schema$6 as BasicRecommendedUsersSchema, BasicSearchClient as BasicSearch, BasicSearchBarClient as BasicSearchBar, defaultProps$7 as BasicSearchBarDefaultData, schema$7 as BasicSearchBarSchema, defaultProps$8 as BasicSearchDefaultData, schema$8 as BasicSearchSchema, BuildCollectTabPrefetchParams, BuildHistoryTabPrefetchParams, BuildLikeTabPrefetchParams, BuildPublishTabPrefetchParams, BuildUserProfileHeaderPrefetchParams, Button, ButtonClient, ButtonInspectorProps, ButtonProps, CARD_SPEC_MAP, CardCornerMode, CardGrid2x3Client as CardGrid2x3, defaultProps$9 as CardGrid2x3DefaultData, CardGrid2x3InfiniteClient as CardGrid2x3Infinite, defaultProps$10 as CardGrid2x3InfiniteDefaultData, schema$9 as CardGrid2x3InfiniteSchema, schema$10 as CardGrid2x3Schema, CardGrid2x4Client as CardGrid2x4, defaultProps$11 as CardGrid2x4DefaultData, schema$11 as CardGrid2x4Schema, CardGrid3x3Client as CardGrid3x3, defaultProps$12 as CardGrid3x3DefaultData, CardGrid3x3InfiniteClient as CardGrid3x3Infinite, defaultProps$13 as CardGrid3x3InfiniteDefaultData, schema$12 as CardGrid3x3InfiniteSchema, schema$13 as CardGrid3x3Schema, defaultProps$14 as CardItemDefaultData, schema$14 as CardItemSchema, defaultProps$15 as CardLayoutDefaultData, schema$15 as CardLayoutSchema, CardSpec, ChannelDataItem, CollectTab, CollectTabAuthConfig, CollectTabProps, CollectTabServer, CommonStyleSchema, ComponentMaterial, ComponentSchema, ComponentType, ContentBlockItem, DataBinding, DataBindingField, DataBindingSourceType, DataBindingUIMode, DataSchema, DataSlot, DataSourceType, DetailSearchBarClient as DetailSearchBar, defaultProps$16 as DetailSearchBarDefaultData, schema$16 as DetailSearchBarSchema, EventDefinition, EventSchema, ExtractedDataItem, FieldSchema, FieldType, FilterSearchClient as FilterSearch, FilterSearchBarClient as FilterSearchBar, defaultProps$17 as FilterSearchBarDefaultData, schema$17 as FilterSearchBarSchema, defaultProps$18 as FilterSearchDefaultData, schema$18 as FilterSearchSchema, FloatingBall, FloatingBallClient, FloatingBallClientProps, FloatingBallInspectorProps, FullscreenPostFeedClient as FullscreenFeedClient, defaultProps$19 as FullscreenPostFeedDefaultData, schema$19 as FullscreenPostFeedSchema, FullscreenVideoFeedClient as FullscreenVideoClient, defaultProps$20 as FullscreenVideoFeedDefaultData, schema$20 as FullscreenVideoFeedSchema, HistoryTab, HistoryTabAuthConfig, HistoryTabProps, HistoryTabServer, HomeRecommendGridClient as HomeRecommendGrid, defaultProps$21 as HomeRecommendGridDefaultData, HomeRecommendGrid as HomeRecommendGridMaterialComponent, schema$21 as HomeRecommendGridSchema, HomeRecommendWaterfallClient as HomeRecommendWaterfall, defaultProps$22 as HomeRecommendWaterfallDefaultData, HomeRecommendWaterfall as HomeRecommendWaterfallMaterialComponent, schema$22 as HomeRecommendWaterfallSchema, LikeDetailItem, LikeTab, LikeTabProps, LikeTabServer, MarqueeClient, MarqueeInspectorProps, MarqueeProps, MarqueeServer, MaterialRegistry, NodeDocument, PageDocument, PageMeta, ProfileHeaderInspectorProps, ProfileMainAuthConfig, ProfileMainInspectorProps, PropDefinition, PropSchema, PublishTab, PublishTabProps, PublishTabServer, PublishTabUserInfo, RawContentData, Renderer, RendererDocument, RendererMaterial, RendererMode, RendererProps, SearchHistoryClient, SearchHistoryInspectorProps, SearchHistoryProps, SearchHistoryServer, SearchInputClient, SearchInputInspectorProps, SearchInputProps, SearchInputServer, SimpleSearchClient as SimpleSearch, defaultProps$23 as SimpleSearchDefaultData, schema$23 as SimpleSearchSchema, StylePropDefinition, StyleSchema, TabBarClient, TabBarInspectorProps, TabBarProps, TabBarServer, TagSearchClient as TagSearch, TagSearchBarClient as TagSearchBar, defaultProps$24 as TagSearchBarDefaultData, schema$24 as TagSearchBarSchema, defaultProps$25 as TagSearchDefaultData, schema$25 as TagSearchSchema, TextRecommendClient, TextRecommendInspectorProps, TextRecommendProps, TextRecommendServer, UserProfileHeader, UserProfileHeaderAuthConfig, UserProfileHeaderClient, UserProfileHeaderClientProps, UserProfileHeaderProps, UserProfileMain, UserProfileMainClient, UserProfileMainProps, UserProfileMainRenderMode, UserProfileMainShell, UserProfileMainShellProps, VideoHorizontalListClient, VideoHorizontalListInspectorProps, VideoHorizontalListProps, VideoHorizontalListServer, basicBannerInspectorDefaultProps, basicBannerInspectorPropsSchema, basicBannerMaterial, buildCollectTabPrefetch, buildContentUrl, buildHistoryTabPrefetch, buildLikeTabPrefetch, buildPublishTabPrefetch, buildUserProfileHeaderPrefetch, buttonInspectorDefaultProps, buttonInspectorPropsSchema, commonStyleSchema, commonStylesToInline, customStylesToInline, exampleButtonMaterial, extractDataByComponentType, floatingBallInspectorDefaultProps, floatingBallInspectorPropsSchema, floatingBallMaterial, getCardSpecConfig, getChannelList, homeRecommendGridInspectorDefaultProps, homeRecommendGridInspectorPropsSchema, homeRecommendGridMaterial, homeRecommendWaterfallInspectorDefaultProps, homeRecommendWaterfallInspectorPropsSchema, homeRecommendWaterfallMaterial, marqueeInspectorDefaultProps, marqueeInspectorPropsSchema, marqueeMaterial, mergeStyles, profileHeaderInspectorDefaultProps, profileHeaderInspectorPropsSchema, profileHeaderMaterial, profileMainCollectCollectionTabOptions, profileMainCollectTabOptions, profileMainHistoryTabOptions, profileMainInspectorDefaultProps, profileMainInspectorPropsSchema, profileMainLikeTabOptions, profileMainMaterial, profileMainMineTabOptions, profileMainProfileTabOptions, profileMainTabOptions, searchHistoryInspectorDefaultProps, searchHistoryInspectorPropsSchema, searchHistoryMaterial, searchInputInspectorDefaultProps, searchInputInspectorPropsSchema, searchInputMaterial, tabBarInspectorDefaultProps, tabBarInspectorPropsSchema, tabBarMaterial, textRecommendInspectorDefaultProps, textRecommendInspectorPropsSchema, textRecommendMaterial, transformContentListToCardItems, transformContentToCardItem, videoHorizontalListInspectorDefaultProps, videoHorizontalListInspectorPropsSchema, videoHorizontalListMaterial };
package/dist/biz.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- import{CARD_SPEC_MAP as e,CardSpec as t,getCardSpecConfig as n}from"./components/biz/utils/constants/card-spec.mjs";import{getChannelList as r}from"./components/biz/utils/helpers/get-channel-list.mjs";import{buildContentUrl as i}from"./components/biz/utils/helpers/url.mjs";import{DataBindingUIMode as a,DataSourceType as o}from"./components/biz/utils/schema/data.mjs";import{commonStylesToInline as s,customStylesToInline as c,mergeStyles as l}from"./components/biz/utils/styles/helpers.mjs";import{commonStyleSchema as u}from"./components/biz/utils/styles/schema.mjs";import{transformContentListToCardItems as d,transformContentToCardItem as f}from"./components/biz/utils/transformers/card-grid.mjs";import{MarqueeClient as p}from"./components/biz/business/marquee/client.mjs";import{marqueeInspectorDefaultProps as m,marqueeInspectorPropsSchema as h}from"./components/biz/business/marquee/schema.mjs";import{MarqueeServer as g}from"./components/biz/business/marquee/server.mjs";import{marqueeMaterial as _}from"./components/biz/business/marquee/material.mjs";import{SearchHistoryClient as v}from"./components/biz/business/search-history/client.mjs";import{searchHistoryInspectorDefaultProps as y,searchHistoryInspectorPropsSchema as b}from"./components/biz/business/search-history/schema.mjs";import{SearchHistoryServer as x}from"./components/biz/business/search-history/server.mjs";import{searchHistoryMaterial as S}from"./components/biz/business/search-history/material.mjs";import{defaultProps as C}from"./components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs";import{defaultProps as w}from"./components/biz/basics/search/variants/basic-search/defaults/default-props.mjs";import{defaultProps as T}from"./components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{schema as E}from"./components/biz/basics/logo/variants/basic-logo/schema/index.mjs";import D from"./components/biz/basics/logo/variants/basic-logo/index.mjs";import{defaultProps as O}from"./components/biz/basics/search/variants/simple-search/defaults/default-props.mjs";import{schema as k}from"./components/biz/basics/search/variants/simple-search/schema/index.mjs";import A from"./components/biz/basics/search/variants/simple-search/index.mjs";import{schema as j}from"./components/biz/business/search-bar/variants/detail-search-bar/schema/index.mjs";import M from"./components/biz/business/search-bar/variants/detail-search-bar/index.mjs";import{BasicFullscreen as N}from"./components/biz/basics/fullscreen-feed/basic-fullscreen.mjs";import{SearchInputClient as P}from"./components/biz/business/search-input/client.mjs";import{searchInputInspectorDefaultProps as F,searchInputInspectorPropsSchema as I}from"./components/biz/business/search-input/schema.mjs";import{SearchInputServer as L}from"./components/biz/business/search-input/server.mjs";import{searchInputMaterial as R}from"./components/biz/business/search-input/material.mjs";import{TabBarClient as z}from"./components/biz/business/tab-bar/client.mjs";import{tabBarInspectorDefaultProps as B,tabBarInspectorPropsSchema as V}from"./components/biz/business/tab-bar/schema.mjs";import{TabBarServer as H}from"./components/biz/business/tab-bar/server.mjs";import{tabBarMaterial as U}from"./components/biz/business/tab-bar/material.mjs";import{TextRecommendClient as W}from"./components/biz/business/text-recommend/client.mjs";import{textRecommendInspectorDefaultProps as G,textRecommendInspectorPropsSchema as K}from"./components/biz/business/text-recommend/schema.mjs";import{TextRecommendServer as q}from"./components/biz/business/text-recommend/server.mjs";import{textRecommendMaterial as J}from"./components/biz/business/text-recommend/material.mjs";import{VideoHorizontalListClient as Y}from"./components/biz/business/video-horizontal-list/client.mjs";import{videoHorizontalListInspectorDefaultProps as X,videoHorizontalListInspectorPropsSchema as Z}from"./components/biz/business/video-horizontal-list/schema.mjs";import{VideoHorizontalListServer as Q}from"./components/biz/business/video-horizontal-list/server.mjs";import{videoHorizontalListMaterial as $}from"./components/biz/business/video-horizontal-list/material.mjs";import{defaultProps as ee}from"./components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs";import{schema as te}from"./components/biz/business/banner/variants/basic-banner/schema/index.mjs";import{basicBannerInspectorDefaultProps as ne,basicBannerInspectorPropsSchema as re}from"./components/biz/business/banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as ie}from"./components/biz/business/banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as ae}from"./components/biz/business/banner/variants/basic-banner/material.mjs";import oe from"./components/biz/business/banner/variants/basic-banner/index.mjs";import{defaultProps as se}from"./components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as ce}from"./components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs";import le from"./components/biz/business/card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as ue}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as de}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import fe from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as pe}from"./components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as me}from"./components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs";import he from"./components/biz/business/card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as ge}from"./components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as _e}from"./components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs";import ve from"./components/biz/business/card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as ye}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as be}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import xe from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs";import{defaultProps as Se}from"./components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as Ce}from"./components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs";import we from"./components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs";import{defaultProps as Te}from"./components/biz/basics/fullscreen-feed/defaults/default-props.mjs";import{schema as Ee}from"./components/biz/basics/fullscreen-feed/schema/index.mjs";import De from"./components/biz/basics/fullscreen-feed/index.mjs";import{defaultProps as Oe}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import{schema as ke}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import Ae from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as je}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import{schema as Me}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import Ne from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{defaultProps as Pe}from"./components/biz/business/home-recommend/variants/home-recommend-grid/defaults/default-props.mjs";import{schema as Fe}from"./components/biz/business/home-recommend/variants/home-recommend-grid/schema/index.mjs";import{homeRecommendGridInspectorDefaultProps as Ie,homeRecommendGridInspectorPropsSchema as Le}from"./components/biz/business/home-recommend/variants/home-recommend-grid/inspector-schema.mjs";import{HomeRecommendGrid as Re}from"./components/biz/business/home-recommend/variants/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as ze}from"./components/biz/business/home-recommend/variants/home-recommend-grid/material.mjs";import Be from"./components/biz/business/home-recommend/variants/home-recommend-grid/index.mjs";import{defaultProps as Ve}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/defaults/default-props.mjs";import{schema as He}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/schema/index.mjs";import{homeRecommendWaterfallInspectorDefaultProps as Ue,homeRecommendWaterfallInspectorPropsSchema as We}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs";import{HomeRecommendWaterfall as Ge}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as Ke}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/material.mjs";import qe from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/index.mjs";import{defaultProps as Je}from"./components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as Ye}from"./components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs";import Xe from"./components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as Ze}from"./components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs";import{schema as Qe}from"./components/biz/business/post-card/variants/basic-post-card/schema/index.mjs";import $e from"./components/biz/business/post-card/variants/basic-post-card/index.mjs";import{UserProfileHeaderClient as et}from"./components/biz/business/profile/profile-header/client.mjs";import{profileHeaderInspectorDefaultProps as tt,profileHeaderInspectorPropsSchema as nt}from"./components/biz/business/profile/profile-header/schema.mjs";import{UserProfileHeader as rt,buildUserProfileHeaderPrefetch as it}from"./components/biz/business/profile/profile-header/server.mjs";import{profileHeaderMaterial as at}from"./components/biz/business/profile/profile-header/material.mjs";import{profileMainCollectCollectionTabOptions as ot,profileMainCollectTabOptions as st,profileMainHistoryTabOptions as ct,profileMainLikeTabOptions as lt,profileMainMineTabOptions as ut,profileMainProfileTabOptions as dt,profileMainTabOptions as ft}from"./components/biz/business/profile/profile-main/variants.mjs";import{UserProfileMainShell as pt}from"./components/biz/business/profile/profile-main/shell.mjs";import{UserProfileMainClient as mt}from"./components/biz/business/profile/profile-main/client.mjs";import{profileMainInspectorDefaultProps as ht,profileMainInspectorPropsSchema as gt}from"./components/biz/business/profile/profile-main/schema.mjs";import{CollectTab as _t}from"./components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs";import{CollectTabServer as vt,buildCollectTabPrefetch as yt}from"./components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs";import{HistoryTab as bt}from"./components/biz/business/profile/profile-main/tabs/history-tab/client.mjs";import{HistoryTabServer as xt,buildHistoryTabPrefetch as St}from"./components/biz/business/profile/profile-main/tabs/history-tab/server.mjs";import{LikeTab as Ct}from"./components/biz/business/profile/profile-main/tabs/like-tab/client.mjs";import{LikeTabServer as wt,buildLikeTabPrefetch as Tt}from"./components/biz/business/profile/profile-main/tabs/like-tab/server.mjs";import{PublishTab as Et}from"./components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs";import{PublishTabServer as Dt,buildPublishTabPrefetch as Ot}from"./components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs";import{UserProfileMain as kt}from"./components/biz/business/profile/profile-main/server.mjs";import{profileMainMaterial as At}from"./components/biz/business/profile/profile-main/material.mjs";import{defaultProps as jt}from"./components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as Mt}from"./components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs";import Nt from"./components/biz/business/recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as Pt}from"./components/biz/business/search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as Ft}from"./components/biz/basics/search/variants/basic-search/schema/index.mjs";import It from"./components/biz/basics/search/variants/basic-search/index.mjs";import{schema as Lt}from"./components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs";import Rt from"./components/biz/business/search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as zt}from"./components/biz/basics/search/variants/filter-search/defaults/default-props.mjs";import{defaultProps as Bt}from"./components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as Vt}from"./components/biz/basics/search/variants/filter-search/schema/index.mjs";import Ht from"./components/biz/basics/search/variants/filter-search/index.mjs";import{schema as Ut}from"./components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs";import Wt from"./components/biz/business/search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as Gt}from"./components/biz/basics/search/variants/tag-search/defaults/default-props.mjs";import{defaultProps as Kt}from"./components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as qt}from"./components/biz/basics/search/variants/tag-search/schema/index.mjs";import Jt from"./components/biz/basics/search/variants/tag-search/index.mjs";import{schema as Yt}from"./components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs";import Xt from"./components/biz/business/search-bar/variants/tag-search-bar/index.mjs";import{ComponentType as Zt,extractDataByComponentType as Qt}from"./components/biz/utils/transformers/data.mjs";import{defaultProps as $t}from"./components/biz/basics/card-item/defaults/default-props.mjs";import{schema as en}from"./components/biz/basics/card-item/schema/index.mjs";import{defaultProps as tn}from"./components/biz/basics/card-layout/defaults/default-props.mjs";import{schema as nn}from"./components/biz/basics/card-layout/schema/index.mjs";import{ButtonClient as rn}from"./components/biz/example/button/client.mjs";import{buttonInspectorDefaultProps as an,buttonInspectorPropsSchema as on}from"./components/biz/example/button/schema.mjs";import{Button as sn}from"./components/biz/example/button/server.mjs";import{exampleButtonMaterial as cn}from"./components/biz/example/button/material.mjs";import{Renderer as ln}from"./components/biz/renderer/renderer.mjs";export{oe as BasicBanner,ee as BasicBannerDefaultData,ie as BasicBannerMaterialComponent,te as BasicBannerSchema,we as BasicFeatureGrid,Se as BasicFeatureGridDefaultData,Ce as BasicFeatureGridSchema,N as BasicFullscreen,De as BasicFullscreenFeed,Te as BasicFullscreenFeedDefaultData,Ee as BasicFullscreenFeedSchema,D as BasicLogo,C as BasicLogoDefaultData,E as BasicLogoSchema,Xe as BasicNavBar,Je as BasicNavBarDefaultData,Ye as BasicNavBarSchema,$e as BasicPostCard,Ze as BasicPostCardDefaultData,Qe as BasicPostCardSchema,Nt as BasicRecommendedUsers,jt as BasicRecommendedUsersDefaultData,Mt as BasicRecommendedUsersSchema,It as BasicSearch,Rt as BasicSearchBar,Pt as BasicSearchBarDefaultData,Lt as BasicSearchBarSchema,w as BasicSearchDefaultData,Ft as BasicSearchSchema,sn as Button,rn as ButtonClient,e as CARD_SPEC_MAP,le as CardGrid2x3,se as CardGrid2x3DefaultData,fe as CardGrid2x3Infinite,ue as CardGrid2x3InfiniteDefaultData,de as CardGrid2x3InfiniteSchema,ce as CardGrid2x3Schema,he as CardGrid2x4,pe as CardGrid2x4DefaultData,me as CardGrid2x4Schema,ve as CardGrid3x3,ge as CardGrid3x3DefaultData,xe as CardGrid3x3Infinite,ye as CardGrid3x3InfiniteDefaultData,be as CardGrid3x3InfiniteSchema,_e as CardGrid3x3Schema,$t as CardItemDefaultData,en as CardItemSchema,tn as CardLayoutDefaultData,nn as CardLayoutSchema,t as CardSpec,_t as CollectTab,vt as CollectTabServer,Zt as ComponentType,a as DataBindingUIMode,o as DataSourceType,M as DetailSearchBar,T as DetailSearchBarDefaultData,j as DetailSearchBarSchema,Ht as FilterSearch,Wt as FilterSearchBar,Bt as FilterSearchBarDefaultData,Ut as FilterSearchBarSchema,zt as FilterSearchDefaultData,Vt as FilterSearchSchema,Ae as FullscreenFeedClient,Oe as FullscreenPostFeedDefaultData,ke as FullscreenPostFeedSchema,Ne as FullscreenVideoClient,je as FullscreenVideoFeedDefaultData,Me as FullscreenVideoFeedSchema,bt as HistoryTab,xt as HistoryTabServer,Be as HomeRecommendGrid,Pe as HomeRecommendGridDefaultData,Re as HomeRecommendGridMaterialComponent,Fe as HomeRecommendGridSchema,qe as HomeRecommendWaterfall,Ve as HomeRecommendWaterfallDefaultData,Ge as HomeRecommendWaterfallMaterialComponent,He as HomeRecommendWaterfallSchema,Ct as LikeTab,wt as LikeTabServer,p as MarqueeClient,g as MarqueeServer,Et as PublishTab,Dt as PublishTabServer,ln as Renderer,v as SearchHistoryClient,x as SearchHistoryServer,P as SearchInputClient,L as SearchInputServer,A as SimpleSearch,O as SimpleSearchDefaultData,k as SimpleSearchSchema,z as TabBarClient,H as TabBarServer,Jt as TagSearch,Xt as TagSearchBar,Kt as TagSearchBarDefaultData,Yt as TagSearchBarSchema,Gt as TagSearchDefaultData,qt as TagSearchSchema,W as TextRecommendClient,q as TextRecommendServer,rt as UserProfileHeader,et as UserProfileHeaderClient,kt as UserProfileMain,mt as UserProfileMainClient,pt as UserProfileMainShell,Y as VideoHorizontalListClient,Q as VideoHorizontalListServer,ne as basicBannerInspectorDefaultProps,re as basicBannerInspectorPropsSchema,ae as basicBannerMaterial,yt as buildCollectTabPrefetch,i as buildContentUrl,St as buildHistoryTabPrefetch,Tt as buildLikeTabPrefetch,Ot as buildPublishTabPrefetch,it as buildUserProfileHeaderPrefetch,an as buttonInspectorDefaultProps,on as buttonInspectorPropsSchema,u as commonStyleSchema,s as commonStylesToInline,c as customStylesToInline,cn as exampleButtonMaterial,Qt as extractDataByComponentType,n as getCardSpecConfig,r as getChannelList,Ie as homeRecommendGridInspectorDefaultProps,Le as homeRecommendGridInspectorPropsSchema,ze as homeRecommendGridMaterial,Ue as homeRecommendWaterfallInspectorDefaultProps,We as homeRecommendWaterfallInspectorPropsSchema,Ke as homeRecommendWaterfallMaterial,m as marqueeInspectorDefaultProps,h as marqueeInspectorPropsSchema,_ as marqueeMaterial,l as mergeStyles,tt as profileHeaderInspectorDefaultProps,nt as profileHeaderInspectorPropsSchema,at as profileHeaderMaterial,ot as profileMainCollectCollectionTabOptions,st as profileMainCollectTabOptions,ct as profileMainHistoryTabOptions,ht as profileMainInspectorDefaultProps,gt as profileMainInspectorPropsSchema,lt as profileMainLikeTabOptions,At as profileMainMaterial,ut as profileMainMineTabOptions,dt as profileMainProfileTabOptions,ft as profileMainTabOptions,y as searchHistoryInspectorDefaultProps,b as searchHistoryInspectorPropsSchema,S as searchHistoryMaterial,F as searchInputInspectorDefaultProps,I as searchInputInspectorPropsSchema,R as searchInputMaterial,B as tabBarInspectorDefaultProps,V as tabBarInspectorPropsSchema,U as tabBarMaterial,G as textRecommendInspectorDefaultProps,K as textRecommendInspectorPropsSchema,J as textRecommendMaterial,d as transformContentListToCardItems,f as transformContentToCardItem,X as videoHorizontalListInspectorDefaultProps,Z as videoHorizontalListInspectorPropsSchema,$ as videoHorizontalListMaterial};
2
+ import{CARD_SPEC_MAP as e,CardSpec as t,getCardSpecConfig as n}from"./components/biz/utils/constants/card-spec.mjs";import{getChannelList as r}from"./components/biz/utils/helpers/get-channel-list.mjs";import{buildContentUrl as i}from"./components/biz/utils/helpers/url.mjs";import{DataBindingUIMode as a,DataSourceType as o}from"./components/biz/utils/schema/data.mjs";import{commonStylesToInline as s,customStylesToInline as c,mergeStyles as l}from"./components/biz/utils/styles/helpers.mjs";import{commonStyleSchema as u}from"./components/biz/utils/styles/schema.mjs";import{transformContentListToCardItems as d,transformContentToCardItem as f}from"./components/biz/utils/transformers/card-grid.mjs";import{defaultProps as p}from"./components/biz/business/banner/variants/basic-banner/defaults/default-props.mjs";import{schema as m}from"./components/biz/business/banner/variants/basic-banner/schema/index.mjs";import{basicBannerInspectorDefaultProps as h,basicBannerInspectorPropsSchema as g}from"./components/biz/business/banner/variants/basic-banner/inspector-schema.mjs";import{BasicBanner as _}from"./components/biz/business/banner/variants/basic-banner/server.mjs";import{basicBannerMaterial as v}from"./components/biz/business/banner/variants/basic-banner/material.mjs";import y from"./components/biz/business/banner/variants/basic-banner/index.mjs";import{defaultProps as b}from"./components/biz/business/card-grid/variants/card-grid-2x3/defaults/default-props.mjs";import{schema as x}from"./components/biz/business/card-grid/variants/card-grid-2x3/schema/index.mjs";import S from"./components/biz/business/card-grid/variants/card-grid-2x3/index.mjs";import{defaultProps as C}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/defaults/default-props.mjs";import{schema as w}from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/schema/index.mjs";import T from"./components/biz/business/card-grid/variants/card-grid-2x3-infinite/index.mjs";import{defaultProps as E}from"./components/biz/business/card-grid/variants/card-grid-2x4/defaults/default-props.mjs";import{schema as D}from"./components/biz/business/card-grid/variants/card-grid-2x4/schema/index.mjs";import O from"./components/biz/business/card-grid/variants/card-grid-2x4/index.mjs";import{defaultProps as k}from"./components/biz/business/card-grid/variants/card-grid-3x3/defaults/default-props.mjs";import{schema as A}from"./components/biz/business/card-grid/variants/card-grid-3x3/schema/index.mjs";import j from"./components/biz/business/card-grid/variants/card-grid-3x3/index.mjs";import{defaultProps as M}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/defaults/default-props.mjs";import{schema as N}from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/schema/index.mjs";import P from"./components/biz/business/card-grid/variants/card-grid-3x3-infinite/index.mjs";import{defaultProps as F}from"./components/biz/business/feature-grid/variants/basic-feature-grid/defaults/default-props.mjs";import{schema as I}from"./components/biz/business/feature-grid/variants/basic-feature-grid/schema/index.mjs";import L from"./components/biz/business/feature-grid/variants/basic-feature-grid/index.mjs";import{FloatingBallClient as R}from"./components/biz/business/floating-ball/client.mjs";import{floatingBallInspectorDefaultProps as z,floatingBallInspectorPropsSchema as B}from"./components/biz/business/floating-ball/schema.mjs";import{FloatingBall as V}from"./components/biz/business/floating-ball/server.mjs";import{floatingBallMaterial as H}from"./components/biz/business/floating-ball/material.mjs";import{defaultProps as U}from"./components/biz/basics/fullscreen-feed/defaults/default-props.mjs";import{BasicFullscreen as W}from"./components/biz/basics/fullscreen-feed/basic-fullscreen.mjs";import{schema as G}from"./components/biz/basics/fullscreen-feed/schema/index.mjs";import K from"./components/biz/basics/fullscreen-feed/index.mjs";import{defaultProps as q}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/defaults/default-props.mjs";import{schema as J}from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/schema/index.mjs";import Y from"./components/biz/business/fullscreen-feed/variants/fullscreen-post-feed/index.mjs";import{defaultProps as X}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/defaults/default-props.mjs";import{schema as Z}from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/schema/index.mjs";import Q from"./components/biz/business/fullscreen-feed/variants/fullscreen-video-feed/index.mjs";import{defaultProps as $}from"./components/biz/business/home-recommend/variants/home-recommend-grid/defaults/default-props.mjs";import{defaultProps as ee}from"./components/biz/basics/logo/variants/basic-logo/defaults/default-props.mjs";import{defaultProps as te}from"./components/biz/basics/search/variants/basic-search/defaults/default-props.mjs";import{defaultProps as ne}from"./components/biz/business/search-bar/variants/detail-search-bar/defaults/default-props.mjs";import{schema as re}from"./components/biz/basics/logo/variants/basic-logo/schema/index.mjs";import ie from"./components/biz/basics/logo/variants/basic-logo/index.mjs";import{defaultProps as ae}from"./components/biz/basics/search/variants/simple-search/defaults/default-props.mjs";import{schema as oe}from"./components/biz/basics/search/variants/simple-search/schema/index.mjs";import se from"./components/biz/basics/search/variants/simple-search/index.mjs";import{schema as ce}from"./components/biz/business/search-bar/variants/detail-search-bar/schema/index.mjs";import le from"./components/biz/business/search-bar/variants/detail-search-bar/index.mjs";import{schema as ue}from"./components/biz/business/home-recommend/variants/home-recommend-grid/schema/index.mjs";import{homeRecommendGridInspectorDefaultProps as de,homeRecommendGridInspectorPropsSchema as fe}from"./components/biz/business/home-recommend/variants/home-recommend-grid/inspector-schema.mjs";import{HomeRecommendGrid as pe}from"./components/biz/business/home-recommend/variants/home-recommend-grid/server.mjs";import{homeRecommendGridMaterial as me}from"./components/biz/business/home-recommend/variants/home-recommend-grid/material.mjs";import he from"./components/biz/business/home-recommend/variants/home-recommend-grid/index.mjs";import{defaultProps as ge}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/defaults/default-props.mjs";import{schema as _e}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/schema/index.mjs";import{homeRecommendWaterfallInspectorDefaultProps as ve,homeRecommendWaterfallInspectorPropsSchema as ye}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/inspector-schema.mjs";import{HomeRecommendWaterfall as be}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/server.mjs";import{homeRecommendWaterfallMaterial as xe}from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/material.mjs";import Se from"./components/biz/business/home-recommend/variants/home-recommend-waterfall/index.mjs";import{MarqueeClient as Ce}from"./components/biz/business/marquee/client.mjs";import{marqueeInspectorDefaultProps as we,marqueeInspectorPropsSchema as Te}from"./components/biz/business/marquee/schema.mjs";import{MarqueeServer as Ee}from"./components/biz/business/marquee/server.mjs";import{marqueeMaterial as De}from"./components/biz/business/marquee/material.mjs";import{defaultProps as Oe}from"./components/biz/business/nav-bar/variants/basic-nav-bar/defaults/default-props.mjs";import{schema as ke}from"./components/biz/business/nav-bar/variants/basic-nav-bar/schema/index.mjs";import Ae from"./components/biz/business/nav-bar/variants/basic-nav-bar/index.mjs";import{defaultProps as je}from"./components/biz/business/post-card/variants/basic-post-card/defaults/default-props.mjs";import{schema as Me}from"./components/biz/business/post-card/variants/basic-post-card/schema/index.mjs";import Ne from"./components/biz/business/post-card/variants/basic-post-card/index.mjs";import{UserProfileHeaderClient as Pe}from"./components/biz/business/profile/profile-header/client.mjs";import{profileHeaderInspectorDefaultProps as Fe,profileHeaderInspectorPropsSchema as Ie}from"./components/biz/business/profile/profile-header/schema.mjs";import{UserProfileHeader as Le,buildUserProfileHeaderPrefetch as Re}from"./components/biz/business/profile/profile-header/server.mjs";import{profileHeaderMaterial as ze}from"./components/biz/business/profile/profile-header/material.mjs";import{profileMainCollectCollectionTabOptions as Be,profileMainCollectTabOptions as Ve,profileMainHistoryTabOptions as He,profileMainLikeTabOptions as Ue,profileMainMineTabOptions as We,profileMainProfileTabOptions as Ge,profileMainTabOptions as Ke}from"./components/biz/business/profile/profile-main/variants.mjs";import{UserProfileMainShell as qe}from"./components/biz/business/profile/profile-main/shell.mjs";import{UserProfileMainClient as Je}from"./components/biz/business/profile/profile-main/client.mjs";import{profileMainInspectorDefaultProps as Ye,profileMainInspectorPropsSchema as Xe}from"./components/biz/business/profile/profile-main/schema.mjs";import{CollectTab as Ze}from"./components/biz/business/profile/profile-main/tabs/collect-tab/client.mjs";import{CollectTabServer as Qe,buildCollectTabPrefetch as $e}from"./components/biz/business/profile/profile-main/tabs/collect-tab/server.mjs";import{HistoryTab as et}from"./components/biz/business/profile/profile-main/tabs/history-tab/client.mjs";import{HistoryTabServer as tt,buildHistoryTabPrefetch as nt}from"./components/biz/business/profile/profile-main/tabs/history-tab/server.mjs";import{LikeTab as rt}from"./components/biz/business/profile/profile-main/tabs/like-tab/client.mjs";import{LikeTabServer as it,buildLikeTabPrefetch as at}from"./components/biz/business/profile/profile-main/tabs/like-tab/server.mjs";import{PublishTab as ot}from"./components/biz/business/profile/profile-main/tabs/publish-tab/client.mjs";import{PublishTabServer as st,buildPublishTabPrefetch as ct}from"./components/biz/business/profile/profile-main/tabs/publish-tab/server.mjs";import{UserProfileMain as lt}from"./components/biz/business/profile/profile-main/server.mjs";import{profileMainMaterial as ut}from"./components/biz/business/profile/profile-main/material.mjs";import{defaultProps as dt}from"./components/biz/business/recommended-users/variants/basic-recommended-users/defaults/default-props.mjs";import{schema as ft}from"./components/biz/business/recommended-users/variants/basic-recommended-users/schema/index.mjs";import pt from"./components/biz/business/recommended-users/variants/basic-recommended-users/index.mjs";import{defaultProps as mt}from"./components/biz/business/search-bar/variants/basic-search-bar/defaults/default-props.mjs";import{schema as ht}from"./components/biz/basics/search/variants/basic-search/schema/index.mjs";import gt from"./components/biz/basics/search/variants/basic-search/index.mjs";import{schema as _t}from"./components/biz/business/search-bar/variants/basic-search-bar/schema/index.mjs";import vt from"./components/biz/business/search-bar/variants/basic-search-bar/index.mjs";import{defaultProps as yt}from"./components/biz/basics/search/variants/filter-search/defaults/default-props.mjs";import{defaultProps as bt}from"./components/biz/business/search-bar/variants/filter-search-bar/defaults/default-props.mjs";import{schema as xt}from"./components/biz/basics/search/variants/filter-search/schema/index.mjs";import St from"./components/biz/basics/search/variants/filter-search/index.mjs";import{schema as Ct}from"./components/biz/business/search-bar/variants/filter-search-bar/schema/index.mjs";import wt from"./components/biz/business/search-bar/variants/filter-search-bar/index.mjs";import{defaultProps as Tt}from"./components/biz/basics/search/variants/tag-search/defaults/default-props.mjs";import{defaultProps as Et}from"./components/biz/business/search-bar/variants/tag-search-bar/defaults/default-props.mjs";import{schema as Dt}from"./components/biz/basics/search/variants/tag-search/schema/index.mjs";import Ot from"./components/biz/basics/search/variants/tag-search/index.mjs";import{schema as kt}from"./components/biz/business/search-bar/variants/tag-search-bar/schema/index.mjs";import At from"./components/biz/business/search-bar/variants/tag-search-bar/index.mjs";import{SearchHistoryClient as jt}from"./components/biz/business/search-history/client.mjs";import{searchHistoryInspectorDefaultProps as Mt,searchHistoryInspectorPropsSchema as Nt}from"./components/biz/business/search-history/schema.mjs";import{SearchHistoryServer as Pt}from"./components/biz/business/search-history/server.mjs";import{searchHistoryMaterial as Ft}from"./components/biz/business/search-history/material.mjs";import{SearchInputClient as It}from"./components/biz/business/search-input/client.mjs";import{searchInputInspectorDefaultProps as Lt,searchInputInspectorPropsSchema as Rt}from"./components/biz/business/search-input/schema.mjs";import{SearchInputServer as zt}from"./components/biz/business/search-input/server.mjs";import{searchInputMaterial as Bt}from"./components/biz/business/search-input/material.mjs";import{TabBarClient as Vt}from"./components/biz/business/tab-bar/client.mjs";import{tabBarInspectorDefaultProps as Ht,tabBarInspectorPropsSchema as Ut}from"./components/biz/business/tab-bar/schema.mjs";import{TabBarServer as Wt}from"./components/biz/business/tab-bar/server.mjs";import{tabBarMaterial as Gt}from"./components/biz/business/tab-bar/material.mjs";import{TextRecommendClient as Kt}from"./components/biz/business/text-recommend/client.mjs";import{textRecommendInspectorDefaultProps as qt,textRecommendInspectorPropsSchema as Jt}from"./components/biz/business/text-recommend/schema.mjs";import{TextRecommendServer as Yt}from"./components/biz/business/text-recommend/server.mjs";import{textRecommendMaterial as Xt}from"./components/biz/business/text-recommend/material.mjs";import{VideoHorizontalListClient as Zt}from"./components/biz/business/video-horizontal-list/client.mjs";import{videoHorizontalListInspectorDefaultProps as Qt,videoHorizontalListInspectorPropsSchema as $t}from"./components/biz/business/video-horizontal-list/schema.mjs";import{VideoHorizontalListServer as en}from"./components/biz/business/video-horizontal-list/server.mjs";import{videoHorizontalListMaterial as tn}from"./components/biz/business/video-horizontal-list/material.mjs";import{ComponentType as nn,extractDataByComponentType as rn}from"./components/biz/utils/transformers/data.mjs";import{defaultProps as an}from"./components/biz/basics/card-item/defaults/default-props.mjs";import{schema as on}from"./components/biz/basics/card-item/schema/index.mjs";import{defaultProps as sn}from"./components/biz/basics/card-layout/defaults/default-props.mjs";import{schema as cn}from"./components/biz/basics/card-layout/schema/index.mjs";import{ButtonClient as ln}from"./components/biz/example/button/client.mjs";import{buttonInspectorDefaultProps as un,buttonInspectorPropsSchema as dn}from"./components/biz/example/button/schema.mjs";import{Button as fn}from"./components/biz/example/button/server.mjs";import{exampleButtonMaterial as pn}from"./components/biz/example/button/material.mjs";import{Renderer as mn}from"./components/biz/renderer/renderer.mjs";export{y as BasicBanner,p as BasicBannerDefaultData,_ as BasicBannerMaterialComponent,m as BasicBannerSchema,L as BasicFeatureGrid,F as BasicFeatureGridDefaultData,I as BasicFeatureGridSchema,W as BasicFullscreen,K as BasicFullscreenFeed,U as BasicFullscreenFeedDefaultData,G as BasicFullscreenFeedSchema,ie as BasicLogo,ee as BasicLogoDefaultData,re as BasicLogoSchema,Ae as BasicNavBar,Oe as BasicNavBarDefaultData,ke as BasicNavBarSchema,Ne as BasicPostCard,je as BasicPostCardDefaultData,Me as BasicPostCardSchema,pt as BasicRecommendedUsers,dt as BasicRecommendedUsersDefaultData,ft as BasicRecommendedUsersSchema,gt as BasicSearch,vt as BasicSearchBar,mt as BasicSearchBarDefaultData,_t as BasicSearchBarSchema,te as BasicSearchDefaultData,ht as BasicSearchSchema,fn as Button,ln as ButtonClient,e as CARD_SPEC_MAP,S as CardGrid2x3,b as CardGrid2x3DefaultData,T as CardGrid2x3Infinite,C as CardGrid2x3InfiniteDefaultData,w as CardGrid2x3InfiniteSchema,x as CardGrid2x3Schema,O as CardGrid2x4,E as CardGrid2x4DefaultData,D as CardGrid2x4Schema,j as CardGrid3x3,k as CardGrid3x3DefaultData,P as CardGrid3x3Infinite,M as CardGrid3x3InfiniteDefaultData,N as CardGrid3x3InfiniteSchema,A as CardGrid3x3Schema,an as CardItemDefaultData,on as CardItemSchema,sn as CardLayoutDefaultData,cn as CardLayoutSchema,t as CardSpec,Ze as CollectTab,Qe as CollectTabServer,nn as ComponentType,a as DataBindingUIMode,o as DataSourceType,le as DetailSearchBar,ne as DetailSearchBarDefaultData,ce as DetailSearchBarSchema,St as FilterSearch,wt as FilterSearchBar,bt as FilterSearchBarDefaultData,Ct as FilterSearchBarSchema,yt as FilterSearchDefaultData,xt as FilterSearchSchema,V as FloatingBall,R as FloatingBallClient,Y as FullscreenFeedClient,q as FullscreenPostFeedDefaultData,J as FullscreenPostFeedSchema,Q as FullscreenVideoClient,X as FullscreenVideoFeedDefaultData,Z as FullscreenVideoFeedSchema,et as HistoryTab,tt as HistoryTabServer,he as HomeRecommendGrid,$ as HomeRecommendGridDefaultData,pe as HomeRecommendGridMaterialComponent,ue as HomeRecommendGridSchema,Se as HomeRecommendWaterfall,ge as HomeRecommendWaterfallDefaultData,be as HomeRecommendWaterfallMaterialComponent,_e as HomeRecommendWaterfallSchema,rt as LikeTab,it as LikeTabServer,Ce as MarqueeClient,Ee as MarqueeServer,ot as PublishTab,st as PublishTabServer,mn as Renderer,jt as SearchHistoryClient,Pt as SearchHistoryServer,It as SearchInputClient,zt as SearchInputServer,se as SimpleSearch,ae as SimpleSearchDefaultData,oe as SimpleSearchSchema,Vt as TabBarClient,Wt as TabBarServer,Ot as TagSearch,At as TagSearchBar,Et as TagSearchBarDefaultData,kt as TagSearchBarSchema,Tt as TagSearchDefaultData,Dt as TagSearchSchema,Kt as TextRecommendClient,Yt as TextRecommendServer,Le as UserProfileHeader,Pe as UserProfileHeaderClient,lt as UserProfileMain,Je as UserProfileMainClient,qe as UserProfileMainShell,Zt as VideoHorizontalListClient,en as VideoHorizontalListServer,h as basicBannerInspectorDefaultProps,g as basicBannerInspectorPropsSchema,v as basicBannerMaterial,$e as buildCollectTabPrefetch,i as buildContentUrl,nt as buildHistoryTabPrefetch,at as buildLikeTabPrefetch,ct as buildPublishTabPrefetch,Re as buildUserProfileHeaderPrefetch,un as buttonInspectorDefaultProps,dn as buttonInspectorPropsSchema,u as commonStyleSchema,s as commonStylesToInline,c as customStylesToInline,pn as exampleButtonMaterial,rn as extractDataByComponentType,z as floatingBallInspectorDefaultProps,B as floatingBallInspectorPropsSchema,H as floatingBallMaterial,n as getCardSpecConfig,r as getChannelList,de as homeRecommendGridInspectorDefaultProps,fe as homeRecommendGridInspectorPropsSchema,me as homeRecommendGridMaterial,ve as homeRecommendWaterfallInspectorDefaultProps,ye as homeRecommendWaterfallInspectorPropsSchema,xe as homeRecommendWaterfallMaterial,we as marqueeInspectorDefaultProps,Te as marqueeInspectorPropsSchema,De as marqueeMaterial,l as mergeStyles,Fe as profileHeaderInspectorDefaultProps,Ie as profileHeaderInspectorPropsSchema,ze as profileHeaderMaterial,Be as profileMainCollectCollectionTabOptions,Ve as profileMainCollectTabOptions,He as profileMainHistoryTabOptions,Ye as profileMainInspectorDefaultProps,Xe as profileMainInspectorPropsSchema,Ue as profileMainLikeTabOptions,ut as profileMainMaterial,We as profileMainMineTabOptions,Ge as profileMainProfileTabOptions,Ke as profileMainTabOptions,Mt as searchHistoryInspectorDefaultProps,Nt as searchHistoryInspectorPropsSchema,Ft as searchHistoryMaterial,Lt as searchInputInspectorDefaultProps,Rt as searchInputInspectorPropsSchema,Bt as searchInputMaterial,Ht as tabBarInspectorDefaultProps,Ut as tabBarInspectorPropsSchema,Gt as tabBarMaterial,qt as textRecommendInspectorDefaultProps,Jt as textRecommendInspectorPropsSchema,Xt as textRecommendMaterial,d as transformContentListToCardItems,f as transformContentToCardItem,Qt as videoHorizontalListInspectorDefaultProps,$t as videoHorizontalListInspectorPropsSchema,tn as videoHorizontalListMaterial};
package/dist/common.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- import{DeleteConfirmDialog as e}from"./components/common/delete-confirm-dialog/delete-confirm-dialog.mjs";import{AppContext as t}from"./components/common/app-context/index.mjs";import{BlockedDialog as n}from"./components/common/blocked-dialog/blocked-dialog.mjs";import{MiniThreeCard as r}from"./components/common/cards/mini-three-card.mjs";import{DebugLocaleSwitcher as i}from"./components/common/debug-locale-switcher/index.mjs";import a from"./components/common/empty/index.mjs";import{IntlProvider as o}from"./components/common/intl-provider/intl-provider.mjs";import{LoginDialog as s}from"./components/common/login-dialog/login-dialog.mjs";import{MediaPreview as c,useMediaPreview as l}from"./components/common/media-preview/index.mjs";import{FunhubProvider as u}from"./components/common/funhub-provider/funhub-provider.mjs";import{LeftArrowIcon as d}from"./components/common/icons/left-arrow.mjs";import{HeaderNav as f}from"./components/common/header-nav/client.mjs";import{AddIcon as p}from"./components/common/icons/add.mjs";import{CommentIcon as m}from"./components/common/icons/comment.mjs";import{DeleteIcon as h}from"./components/common/icons/delete.mjs";import{MoreIcon as g}from"./components/common/icons/more.mjs";import{RightArrowIcon as _}from"./components/common/icons/right-arrow.mjs";import{SettingIcon as v}from"./components/common/icons/setting.mjs";import{ShareIcon as y}from"./components/common/icons/share.mjs";import{CollectionListItem as b}from"./components/common/list/collection-list/collection-list-item.mjs";import{CollectionList as x}from"./components/common/list/collection-list/collection-list.mjs";import{PostListItem as S}from"./components/common/list/post-list/post-list-item.mjs";import{PostList as C}from"./components/common/list/post-list/post-list.mjs";import{UserActivityList as w}from"./components/common/list/user-activity-list/user-activity-list.mjs";import T from"./components/common/share-popup/share-content.mjs";import{ShareDrawer as E}from"./components/common/share-popup/share-drawer.mjs";import{SharePopupComponent as D,defaultActions as O,defaultPlatforms as k}from"./components/common/share-popup/share-popup.mjs";import{UserActivityListItem as A,UserActivityMediaGrid as j}from"./components/common/list/user-activity-list/user-activity-list-item.mjs";import{VideoListItem as M}from"./components/common/list/video-list/video-list-item.mjs";import{VideoList as N}from"./components/common/list/video-list/video-list.mjs";import{LocaleSync as P}from"./components/common/locale-sync/locale-sync.mjs";import{PageSkeleton as F}from"./components/common/page-skeleton/page-skeleton.mjs";import I from"./components/common/video-player/index.mjs";import L from"./components/common/photo-grid/index.mjs";import R from"./components/common/photo-grid/common-photo-grid.mjs";import{closePhotoPreview as z,photoPreview as B}from"./components/common/photo-preview/index.mjs";import{GenderPicker as V}from"./components/common/picker/gender-picker/gender-picker.mjs";import H from"./components/common/popup-video/index.mjs";import{SeriesEpisodes as U}from"./components/common/series-episodes/index.mjs";import{TabBar as W}from"./components/common/tab-bar/index.mjs";import{ThemeSync as G}from"./components/common/theme-sync/index.mjs";import{TopNavBarServer as K}from"./components/common/top-nav-bar/index.mjs";import{WaitLoading as q}from"./components/common/wait-loading.mjs";export{p as AddIcon,t as AppContext,n as BlockedDialog,x as CollectionList,b as CollectionListItem,m as CommentIcon,R as CommonPhotoGrid,I as CommonPlayer,i as DebugLocaleSwitcher,e as DeleteConfirmDialog,h as DeleteIcon,a as Empty,u as FunhubProvider,V as GenderPicker,f as HeaderNav,o as IntlProvider,d as LeftArrowIcon,P as LocaleSync,s as LoginDialog,c as MediaPreview,r as MiniThreeCard,g as MoreIcon,F as PageSkeleton,L as PhotoGrid,H as PopupVideo,C as PostList,S as PostListItem,_ as RightArrowIcon,U as SeriesEpisodes,v as SettingIcon,T as ShareContent,E as ShareDrawer,y as ShareIcon,D as SharePopupComponent,W as TabBar,G as ThemeSync,K as TopNavBarServer,w as UserActivityList,A as UserActivityListItem,j as UserActivityMediaGrid,c as UserActivityMediaPreview,N as VideoList,M as VideoListItem,q as WaitLoading,z as closePhotoPreview,O as defaultActions,k as defaultPlatforms,B as photoPreview,l as useMediaPreview};
2
+ import{MediaPreview as e,useMediaPreview as t}from"./components/common/media-preview/index.mjs";import n from"./components/common/share-popup/share-content.mjs";import{ShareDrawer as r}from"./components/common/share-popup/share-drawer.mjs";import{IntlProvider as i}from"./components/common/intl-provider/intl-provider.mjs";import{SharePopupComponent as a,defaultActions as o,defaultPlatforms as s}from"./components/common/share-popup/share-popup.mjs";import c from"./components/common/video-player/index.mjs";import{AppContext as l}from"./components/common/app-context/index.mjs";import{BlockedDialog as u}from"./components/common/blocked-dialog/blocked-dialog.mjs";import{MiniThreeCard as d}from"./components/common/cards/mini-three-card.mjs";import{DebugLocaleSwitcher as f}from"./components/common/debug-locale-switcher/index.mjs";import{DeleteConfirmDialog as p}from"./components/common/delete-confirm-dialog/delete-confirm-dialog.mjs";import m from"./components/common/empty/index.mjs";import{LoginDialog as h}from"./components/common/login-dialog/login-dialog.mjs";import{FunhubProvider as g}from"./components/common/funhub-provider/funhub-provider.mjs";import{LeftArrowIcon as _}from"./components/common/icons/left-arrow.mjs";import{HeaderNav as v}from"./components/common/header-nav/client.mjs";import{AddIcon as y}from"./components/common/icons/add.mjs";import{CommentIcon as b}from"./components/common/icons/comment.mjs";import{DeleteIcon as x}from"./components/common/icons/delete.mjs";import{MoreIcon as S}from"./components/common/icons/more.mjs";import{RightArrowIcon as C}from"./components/common/icons/right-arrow.mjs";import{SettingIcon as w}from"./components/common/icons/setting.mjs";import{ShareIcon as T}from"./components/common/icons/share.mjs";import{CollectionListItem as E}from"./components/common/list/collection-list/collection-list-item.mjs";import{CollectionList as D}from"./components/common/list/collection-list/collection-list.mjs";import{PostListItem as O}from"./components/common/list/post-list/post-list-item.mjs";import{PostList as k}from"./components/common/list/post-list/post-list.mjs";import{UserActivityList as A}from"./components/common/list/user-activity-list/user-activity-list.mjs";import{UserActivityListItem as j,UserActivityMediaGrid as M}from"./components/common/list/user-activity-list/user-activity-list-item.mjs";import{VideoListItem as N}from"./components/common/list/video-list/video-list-item.mjs";import{VideoList as P}from"./components/common/list/video-list/video-list.mjs";import{LocaleSync as F}from"./components/common/locale-sync/locale-sync.mjs";import{PageSkeleton as I}from"./components/common/page-skeleton/page-skeleton.mjs";import L from"./components/common/photo-grid/index.mjs";import R from"./components/common/photo-grid/common-photo-grid.mjs";import{closePhotoPreview as z,photoPreview as B}from"./components/common/photo-preview/index.mjs";import{GenderPicker as V}from"./components/common/picker/gender-picker/gender-picker.mjs";import H from"./components/common/popup-video/index.mjs";import{SeriesEpisodes as U}from"./components/common/series-episodes/index.mjs";import{TabBar as W}from"./components/common/tab-bar/index.mjs";import{ThemeSync as G}from"./components/common/theme-sync/index.mjs";import{TopNavBarServer as K}from"./components/common/top-nav-bar/index.mjs";import{WaitLoading as q}from"./components/common/wait-loading.mjs";export{y as AddIcon,l as AppContext,u as BlockedDialog,D as CollectionList,E as CollectionListItem,b as CommentIcon,R as CommonPhotoGrid,c as CommonPlayer,f as DebugLocaleSwitcher,p as DeleteConfirmDialog,x as DeleteIcon,m as Empty,g as FunhubProvider,V as GenderPicker,v as HeaderNav,i as IntlProvider,_ as LeftArrowIcon,F as LocaleSync,h as LoginDialog,e as MediaPreview,d as MiniThreeCard,S as MoreIcon,I as PageSkeleton,L as PhotoGrid,H as PopupVideo,k as PostList,O as PostListItem,C as RightArrowIcon,U as SeriesEpisodes,w as SettingIcon,n as ShareContent,r as ShareDrawer,T as ShareIcon,a as SharePopupComponent,W as TabBar,G as ThemeSync,K as TopNavBarServer,A as UserActivityList,j as UserActivityListItem,M as UserActivityMediaGrid,e as UserActivityMediaPreview,P as VideoList,N as VideoListItem,q as WaitLoading,z as closePhotoPreview,o as defaultActions,s as defaultPlatforms,B as photoPreview,t as useMediaPreview};
@@ -1,2 +1,2 @@
1
1
 
2
- import e from"./runtime/client.mjs";import{defaultProps as t}from"./defaults/default-props.mjs";import{schema as n}from"./schema/index.mjs";var r=e;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";var r=t;export{r as default};
@@ -1,2 +1,2 @@
1
1
 
2
- "use client";import{useLoginModalStore as e}from"../../../../../store/modules/login-modal-store.mjs";import{prefetchVideoPlayerSrc as t}from"../../../../common/video-player/process-m3u8-cache.mjs";import{BasicFullscreen as n}from"../basic-fullscreen.mjs";import{adaptFeedItemToSafeInformation as r,normalizeToFeedItem as i}from"./adapters.mjs";import a from"./styles.module.mjs";import{BottomInfo as o}from"./bottom-info.mjs";import{PostSlide as s}from"./post-slide.mjs";import{UserAction as ee}from"./user-action.mjs";import{VideoSlide as te}from"./video-slide.mjs";import{useParams as c,useRouter as l}from"next/navigation";import{useCallback as u,useEffect as d,useMemo as f,useRef as p,useState as m}from"react";import{Fragment as h,jsx as g,jsxs as _}from"react/jsx-runtime";import v from"next/dynamic";const ne=v(()=>import(`./comment-modal.mjs`),{ssr:!1,loading:()=>null});function y(v){let y=l(),b=c(),{items:x,activeIndex:S,top:re,bottom:ie,videoConfig:ae,userInteracted:C,onUserInteracted:w,onActiveIndexChange:oe,onDataUpdate:T,onOpenComment:E,getNavigationInfo:D,onControlsVisibilityChange:O,onGestureStart:se,onGestureEnd:ce,onSwipeCancel:le,onCustomActionRender:ue,onVideoProgressUpdate:de,currentUserId:fe,followIds:pe,onFollowIdsChange:me,commentContentId:he,onRequireLogin:k,style:ge,activeEpisodeId:_e}=v,A=ae;function j(){C||w()}function M(e){j();let t=typeof b?.locale==`string`?`/${b.locale}`:``;y.push(`${t}/profile/${e}`)}let N=u(e=>`${typeof b?.locale==`string`?`/${b.locale}`:``}/feed-series/${e}/episode/1`,[b?.locale]);function P(e){j();let t=N(e);window.isWebView?window.location.href=t:y.push(t)}function F(){if(k){k();return}e.getState().open()}let[ve,I]=m({});function ye(e,t){if(!t)return e;let n=t.static?{...e.static||{},...t.static}:e.static,r=t.author?{...e.author||{},...t.author}:e.author;return{...e,...t,static:n,author:r}}function L(e,t){I(n=>{let r=n[e]||{},i=t.static?{...r.static||{},...t.static}:r.static,a=t.author?{...r.author||{},...t.author}:r.author;return{...n,[e]:{...r,...t,...i?{static:i}:{},...a?{author:a}:{}}}}),T(e,t)}let[R,be]=m(null),[z,xe]=m(``),[Se,Ce]=m(1),[B,V]=m(!1);function we(e,t,n){if(j(),E){E(t);return}be(t),xe(e),Ce(n),V(!0)}function Te(e){let t=e.static?.comment_cnt;t!=null&&z&&L(z,{static:{comment_cnt:t}})}let H=f(()=>{function e(e){return!!e&&typeof e==`object`&&typeof e.kind==`string`&&!!e.originalData}function t(e){return!!e&&typeof e==`object`&&typeof e.content_id==`string`}function n(e){return!!e&&typeof e==`object`&&typeof e.id==`string`&&typeof e.name==`string`}function a(e){let t=Array.isArray(e.medias)?e.medias:[],n=t.map(e=>e?.media_url?e.is_video&&e.cover_image||e.media_url:``).filter(e=>!!e),r=e.content||``,i=r.length>18?`${r.slice(0,18)}...`:r,a={id:e.content_id,mid:e.content_id,name:i,img_y:e.cover_image||``,preview_images:t,description:r,tags:(e.tags||[]).map(e=>({id:e,name:e})),links:[],static:{like_cnt:e.like_count??0,dislike_cnt:e.dislike_count??0,comment_cnt:e.comment_count??0,share_cnt:e.share_count??0,browse_cnt:e.view_count??0,collect_cnt:0},type:e.type,is_liked:!!e.is_liked,is_dislike:!!e.is_dislike,is_collected:!!e.is_collected,is_followed:!!e.is_followed,author:e.author,up_user:e.user_id};return{kind:`post`,id:e.content_id,title:i,content:r,images:n,originalData:a}}function o(e){let t=(Array.isArray(e.preview_images)?e.preview_images:[]).map(e=>e?typeof e==`string`?e:e.is_video?e.cover_image||e.media_url||``:e.media_url||``:``).filter(e=>!!e);return{kind:`post`,id:e.id,title:e.name,content:e.description??``,images:t,originalData:e}}return(x||[]).map(s=>{if(e(s))return s;if(t(s))return a(s);if(n(s)){let e=r(s);return e.type===1&&e.links.length===0?o(e):i(e)}return null}).filter(Boolean)},[x]),U=f(()=>{if(!H.length)return[];let e=Math.max(0,S-1),t=Math.min(H.length-1,S+2),n=[];for(let r=e;r<=t;r+=1){let e=H[r];if(!e||e.kind!==`video`)continue;let t=e.videoUrl||e.hlsList?.[0]?.url||``;t&&n.push(t)}return Array.from(new Set(n))},[S,H]);d(()=>{U.forEach(e=>t(e))},[U]);let W=p(new Set);d(()=>{let e=H[S];if(!e||e.kind!==`video`||Number(e.originalData?.episode_cnt||0)<=1||D(S).onSeriesClick)return;let t=e.originalData?.id||e.id;if(!t)return;let n=N(t);W.current.has(n)||(W.current.add(n),y.prefetch(n))},[S,N,D,H,y]);let G=`env(safe-area-inset-bottom, 0px)`,K=re??0,q=ie??0,Ee={...ge,top:`${K}px`,bottom:`calc(${q}px + ${G})`,height:`calc(100dvh - ${K}px - (${q}px + ${G}))`},J=p(S),[De,Y]=m(!1),[X,Z]=m(!1),[Oe,Q]=m(!1),$=De&&X&&Oe;return d(()=>{J.current=S,Y(!1),Z(!1),Q(!1)},[S,O]),d(()=>{O?.($)},[$,O]),_(h,{children:[g(n,{items:H,activeIndex:S,userInteracted:C,onUserInteracted:w,onActiveIndexChange:oe,onViewportIndexChange:e=>{J.current=e,Y(!1),Z(!1),Q(!1)},onGestureStart:se,onGestureEnd:ce,onSwipeCancel:le,style:Ee,className:`w-full h-full fixed top-0 left-0 overflow-hidden z-[2] touch-none ${a.fullscreenFeed}`,trackClassName:a.feedTrack,itemWrapperClassName:a.feedItem,renderItem:({item:e,index:t,activeIndex:n,isActive:r,isSettledActive:i,shouldMount:c,swipeNext:l})=>{if(!e)return g(`div`,{className:a.emptySlide});let u=Math.abs(t-n)<=1,d=ye(e.originalData,ve[e.id]);return _(h,{children:[e.kind===`post`?g(s,{item:e,isSettledActive:i,shouldMount:c}):e.kind===`video`?g(te,{item:e,videoConfig:A,isActive:r,isSettledActive:i,shouldMount:c,shouldLoadCover:u,isPaused:B,userInteracted:C,onPlayerInteract:()=>{t===J.current&&X&&Q(!0)},onControlsVisibilityChange:e=>{t===J.current&&Y(e)},onVideoEnded:A?.autoNext?l:void 0,onProgressUpdate:(n,r)=>{t===J.current&&(!X&&n>=.05&&Z(!0),de?.({id:e.id,currentTime:n,duration:r}))}}):g(`div`,{className:a.emptySlide}),g(ee,{information:d,onUpdate:t=>L(e.id,t),onOpenComment:()=>we(e.id,d,e.kind===`post`?2:1),onCustomActionRender:ue,onUserNavigate:M,currentUserId:fe,followIds:pe,onFollowChange:e=>{me?.(e)},onRequireLogin:F,activeEpisodeId:_e}),r&&g(o,{information:d,isPost:e.kind===`post`,navigation:(()=>{let e=D(t);return(d.episode_cnt??0)>1&&!e.onSeriesClick?{...e,onSeriesClick:()=>P(d.id)}:e})(),isControlsVisible:$,onUserNavigate:M,onNextClick:l})]})}}),!E&&B&&R&&g(ne,{open:B,information:R,contentId:he||R.id,content_type:Se,onUpdate:Te,onClose:()=>V(!1)})]})}export{y as default};
2
+ "use client";import{useLoginModalStore as e}from"../../../../../store/modules/login-modal-store.mjs";import{prefetchVideoPlayerSrc as t}from"../../../../common/video-player/process-m3u8-cache.mjs";import{BasicFullscreen as n}from"../basic-fullscreen.mjs";import{adaptFeedItemToSafeInformation as r,normalizeToFeedItem as i}from"./adapters.mjs";import a from"./styles.module.mjs";import{BottomInfo as o}from"./bottom-info.mjs";import{PostSlide as s}from"./post-slide.mjs";import{UserAction as ee}from"./user-action.mjs";import{VideoSlide as te}from"./video-slide.mjs";import{useCallback as c,useEffect as l,useMemo as u,useRef as d,useState as f}from"react";import{Fragment as p,jsx as m,jsxs as h}from"react/jsx-runtime";import g from"next/dynamic";import{useParams as ne,useRouter as re}from"next/navigation";const _=g(()=>import(`./comment-modal.mjs`),{ssr:!1,loading:()=>null});function v(g){let v=re(),y=ne(),{items:b,activeIndex:x,top:ie,bottom:ae,videoConfig:oe,userInteracted:S,onUserInteracted:C,onActiveIndexChange:se,onDataUpdate:ce,onOpenComment:w,getNavigationInfo:T,onControlsVisibilityChange:E,onGestureStart:le,onGestureEnd:D,onSwipeCancel:ue,onCustomActionRender:de,onVideoProgressUpdate:fe,currentUserId:pe,followIds:me,onFollowIdsChange:he,commentContentId:ge,onRequireLogin:O,style:_e,activeEpisodeId:ve}=g,k=oe;function A(){S||C()}function j(e){A();let t=typeof y?.locale==`string`?`/${y.locale}`:``;v.push(`${t}/profile/${e}`)}let M=c(e=>`${typeof y?.locale==`string`?`/${y.locale}`:``}/feed-series/${e}/episode/1`,[y?.locale]);function N(e){A();let t=M(e);window.isWebView?window.location.href=t:v.push(t)}function P(){if(O){O();return}e.getState().open()}let[F,ye]=f({});function I(e,t){if(!t)return e;let n=t.static?{...e.static||{},...t.static}:e.static,r=t.author?{...e.author||{},...t.author}:e.author;return{...e,...t,static:n,author:r}}function L(e,t){ye(n=>{let r=n[e]||{},i=t.static?{...r.static||{},...t.static}:r.static,a=t.author?{...r.author||{},...t.author}:r.author;return{...n,[e]:{...r,...t,...i?{static:i}:{},...a?{author:a}:{}}}}),ce(e,t)}let[R,be]=f(null),[z,xe]=f(``),[Se,Ce]=f(1),[B,V]=f(!1);function we(e,t,n){if(A(),w){w(t);return}be(t),xe(e),Ce(n),V(!0)}function Te(e){let t=e.static?.comment_cnt;t!=null&&z&&L(z,{static:{comment_cnt:t}})}let H=u(()=>{function e(e){return!!e&&typeof e==`object`&&typeof e.kind==`string`&&!!e.originalData}function t(e){return!!e&&typeof e==`object`&&typeof e.content_id==`string`}function n(e){return!!e&&typeof e==`object`&&typeof e.id==`string`&&typeof e.name==`string`}function a(e){let t=Array.isArray(e.medias)?e.medias:[],n=t.map(e=>e?.media_url?e.is_video&&e.cover_image||e.media_url:``).filter(e=>!!e),r=e.content||``,i=r.length>18?`${r.slice(0,18)}...`:r,a={id:e.content_id,mid:e.content_id,name:i,img_y:e.cover_image||``,preview_images:t,description:r,tags:(e.tags||[]).map(e=>({id:e,name:e})),links:[],static:{like_cnt:e.like_count??0,dislike_cnt:e.dislike_count??0,comment_cnt:e.comment_count??0,share_cnt:e.share_count??0,browse_cnt:e.view_count??0,collect_cnt:0},type:e.type,is_liked:!!e.is_liked,is_dislike:!!e.is_dislike,is_collected:!!e.is_collected,is_followed:!!e.is_followed,author:e.author,up_user:e.user_id};return{kind:`post`,id:e.content_id,title:i,content:r,images:n,originalData:a}}function o(e){let t=(Array.isArray(e.preview_images)?e.preview_images:[]).map(e=>e?typeof e==`string`?e:e.is_video?e.cover_image||e.media_url||``:e.media_url||``:``).filter(e=>!!e);return{kind:`post`,id:e.id,title:e.name,content:e.description??``,images:t,originalData:e}}return(b||[]).map(s=>{if(e(s))return s;if(t(s))return a(s);if(n(s)){let e=r(s);return e.type===1&&e.links.length===0?o(e):i(e)}return null}).filter(Boolean)},[b]),U=u(()=>{if(!H.length)return[];let e=Math.max(0,x-1),t=Math.min(H.length-1,x+2),n=[];for(let r=e;r<=t;r+=1){let e=H[r];if(!e||e.kind!==`video`)continue;let t=e.videoUrl||e.hlsList?.[0]?.url||``;t&&n.push(t)}return Array.from(new Set(n))},[x,H]);l(()=>{U.forEach(e=>t(e))},[U]);let W=d(new Set);l(()=>{let e=H[x];if(!e||e.kind!==`video`||Number(e.originalData?.episode_cnt||0)<=1||T(x).onSeriesClick)return;let t=e.originalData?.id||e.id;if(!t)return;let n=M(t);W.current.has(n)||(W.current.add(n),v.prefetch(n))},[x,M,T,H,v]);let G=`env(safe-area-inset-bottom, 0px)`,K=ie??0,q=ae??0,Ee={..._e,top:`${K}px`,bottom:`calc(${q}px + ${G})`,height:`calc(100dvh - ${K}px - (${q}px + ${G}))`},J=d(x),[De,Y]=f(!1),[X,Z]=f(!1),[Oe,Q]=f(!1),$=De&&X&&Oe;return l(()=>{J.current=x,Y(!1),Z(!1),Q(!1)},[x,E]),l(()=>{E?.($)},[$,E]),h(p,{children:[m(n,{items:H,activeIndex:x,userInteracted:S,onUserInteracted:C,onActiveIndexChange:se,onViewportIndexChange:e=>{J.current=e,Y(!1),Z(!1),Q(!1)},onGestureStart:le,onGestureEnd:D,onSwipeCancel:ue,style:Ee,className:`w-full h-full fixed top-0 left-0 overflow-hidden z-[2] touch-none ${a.fullscreenFeed}`,trackClassName:a.feedTrack,itemWrapperClassName:a.feedItem,renderItem:({item:e,index:t,activeIndex:n,isActive:r,isSettledActive:i,shouldMount:c,swipeNext:l})=>{if(!e)return m(`div`,{className:a.emptySlide});let u=Math.abs(t-n)<=1,d=I(e.originalData,F[e.id]);return h(p,{children:[e.kind===`post`?m(s,{item:e,isSettledActive:i,shouldMount:c}):e.kind===`video`?m(te,{item:e,videoConfig:k,isActive:r,isSettledActive:i,shouldMount:c,shouldLoadCover:u,isPaused:B,userInteracted:S,onPlayerInteract:()=>{t===J.current&&X&&Q(!0)},onControlsVisibilityChange:e=>{t===J.current&&Y(e)},onVideoEnded:k?.autoNext?l:void 0,onProgressUpdate:(n,r)=>{t===J.current&&(!X&&n>=.05&&Z(!0),fe?.({id:e.id,currentTime:n,duration:r}))}}):m(`div`,{className:a.emptySlide}),m(ee,{information:d,onUpdate:t=>L(e.id,t),onOpenComment:()=>we(e.id,d,e.kind===`post`?2:1),onCustomActionRender:de,onUserNavigate:j,currentUserId:pe,followIds:me,onFollowChange:e=>{he?.(e)},onRequireLogin:P,activeEpisodeId:ve}),r&&m(o,{information:d,isPost:e.kind===`post`,navigation:(()=>{let e=T(t);return(d.episode_cnt??0)>1&&!e.onSeriesClick?{...e,onSeriesClick:()=>N(d.id)}:e})(),isControlsVisible:$,onUserNavigate:j,onNextClick:l})]})}}),!w&&B&&R&&m(_,{open:B,information:R,contentId:ge||R.id,content_type:Se,onUpdate:Te,onClose:()=>V(!1)})]})}export{v as default};