myshell-react-lib 0.1.5 → 0.1.6

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 (145) hide show
  1. package/dist/index.cjs +50 -2
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.js +6 -1
  4. package/dist/index.js.map +1 -1
  5. package/package.json +1 -2
  6. package/src/common/assets/audio-playing.json +0 -3657
  7. package/src/common/constants/constants.ts +0 -24
  8. package/src/common/constants/types/common.ts +0 -10
  9. package/src/common/hooks/useAudioPlayer.tsx +0 -198
  10. package/src/common/hooks/useDevice.ts +0 -26
  11. package/src/common/hooks/useNativeBridge.ts +0 -42
  12. package/src/common/hooks/useNotification.tsx +0 -179
  13. package/src/common/hooks/useWindowWidth.ts +0 -19
  14. package/src/common/utils/common-helper.ts +0 -81
  15. package/src/components/ItemDemo.tsx +0 -15
  16. package/src/components/accordion.tsx +0 -126
  17. package/src/components/alert-dialog.tsx +0 -148
  18. package/src/components/alert.tsx +0 -65
  19. package/src/components/aspect-ratio.tsx +0 -7
  20. package/src/components/audio-player.tsx +0 -60
  21. package/src/components/audio-playing.tsx +0 -33
  22. package/src/components/avatar.tsx +0 -133
  23. package/src/components/badge.tsx +0 -67
  24. package/src/components/button/button.styles.ts +0 -258
  25. package/src/components/button/button.tsx +0 -215
  26. package/src/components/button/icon-button.styles.ts +0 -103
  27. package/src/components/button/icon-button.tsx +0 -100
  28. package/src/components/button/index.tsx +0 -3
  29. package/src/components/button/link-button.tsx +0 -184
  30. package/src/components/cascader.tsx +0 -175
  31. package/src/components/checkbox.tsx +0 -135
  32. package/src/components/command.tsx +0 -155
  33. package/src/components/context-menu.tsx +0 -198
  34. package/src/components/count-down.tsx +0 -83
  35. package/src/components/custom-notification.tsx +0 -95
  36. package/src/components/dialog.tsx +0 -158
  37. package/src/components/drawer.tsx +0 -116
  38. package/src/components/dropdown-menu.tsx +0 -196
  39. package/src/components/energy-progress.tsx +0 -55
  40. package/src/components/form.tsx +0 -201
  41. package/src/components/group.tsx +0 -9
  42. package/src/components/guide.tsx +0 -243
  43. package/src/components/icon.tsx +0 -96
  44. package/src/components/icons/index.tsx +0 -13
  45. package/src/components/icons/outline/ArrowLeftIcon.tsx +0 -28
  46. package/src/components/icons/outline/ArrowUpTrayIcon.tsx +0 -28
  47. package/src/components/icons/outline/CheckCircleIcon.tsx +0 -27
  48. package/src/components/icons/outline/ConfigIcon.tsx +0 -42
  49. package/src/components/icons/outline/DownIcon.tsx +0 -18
  50. package/src/components/icons/outline/FilterIcon.tsx +0 -20
  51. package/src/components/icons/outline/PencilSquareIcon.tsx +0 -28
  52. package/src/components/icons/outline/WindowIcon.tsx +0 -26
  53. package/src/components/icons/solid/CaretDownIcon.tsx +0 -22
  54. package/src/components/icons/solid/CodeIcon.tsx +0 -25
  55. package/src/components/icons/solid/DragIcon.tsx +0 -24
  56. package/src/components/icons/solid/PhoneIcon.tsx +0 -29
  57. package/src/components/icons/solid/RectangleGroupIcon.tsx +0 -26
  58. package/src/components/image.tsx +0 -152
  59. package/src/components/input.tsx +0 -118
  60. package/src/components/label.tsx +0 -26
  61. package/src/components/link.tsx +0 -123
  62. package/src/components/marquee/index.css +0 -15
  63. package/src/components/marquee/marquee.tsx +0 -220
  64. package/src/components/masonry.tsx +0 -138
  65. package/src/components/menubar.tsx +0 -234
  66. package/src/components/mobile/m-tooltip.tsx +0 -34
  67. package/src/components/modal.tsx +0 -561
  68. package/src/components/navigation-bar.tsx +0 -100
  69. package/src/components/number-input.tsx +0 -143
  70. package/src/components/page-content.tsx +0 -16
  71. package/src/components/popover.tsx +0 -191
  72. package/src/components/progress.tsx +0 -80
  73. package/src/components/radio-group.tsx +0 -44
  74. package/src/components/scroll-area.tsx +0 -49
  75. package/src/components/search-bar.tsx +0 -140
  76. package/src/components/secondary-navigation-bar.tsx +0 -328
  77. package/src/components/select.tsx +0 -273
  78. package/src/components/separator.tsx +0 -31
  79. package/src/components/sheet.tsx +0 -143
  80. package/src/components/skeleton.tsx +0 -20
  81. package/src/components/slider.tsx +0 -160
  82. package/src/components/spinner.tsx +0 -50
  83. package/src/components/swiper/index.module.scss +0 -88
  84. package/src/components/swiper/index.tsx +0 -319
  85. package/src/components/switch.tsx +0 -67
  86. package/src/components/tabs.tsx +0 -325
  87. package/src/components/textarea.tsx +0 -71
  88. package/src/components/toast/toast.tsx +0 -182
  89. package/src/components/toast/toaster.tsx +0 -160
  90. package/src/components/toast/use-toast.tsx +0 -248
  91. package/src/components/toggle-group.tsx +0 -64
  92. package/src/components/toggle.tsx +0 -46
  93. package/src/components/tooltip.tsx +0 -283
  94. package/src/components/typography.tsx +0 -437
  95. package/src/index.ts +0 -70
  96. package/src/lib/utils.ts +0 -62
  97. package/src/stories/Accordion.stories.tsx +0 -64
  98. package/src/stories/AccordionItem.stories.tsx +0 -48
  99. package/src/stories/Avatar.stories.ts +0 -58
  100. package/src/stories/Badge.stories.tsx +0 -40
  101. package/src/stories/BannerSwiper.stories.tsx +0 -102
  102. package/src/stories/Button.stories.tsx +0 -543
  103. package/src/stories/Checkbox.stories.tsx +0 -161
  104. package/src/stories/Configure.mdx +0 -341
  105. package/src/stories/CssProperties.mdx +0 -30
  106. package/src/stories/Description.stories.ts +0 -70
  107. package/src/stories/Display.stories.ts +0 -64
  108. package/src/stories/FeaturedSwiper.stories.tsx +0 -6978
  109. package/src/stories/GridSwiper.stories.tsx +0 -1407
  110. package/src/stories/Guide.stories.tsx +0 -247
  111. package/src/stories/Heading.stories.ts +0 -89
  112. package/src/stories/Icon.stories.ts +0 -77
  113. package/src/stories/IconButton.stories.tsx +0 -301
  114. package/src/stories/IconTextButton.stories.ts +0 -59
  115. package/src/stories/Image.stories.ts +0 -55
  116. package/src/stories/Input.stories.tsx +0 -203
  117. package/src/stories/Modal.stories.tsx +0 -144
  118. package/src/stories/NavigationBar.stories.tsx +0 -81
  119. package/src/stories/Notification.stories.tsx +0 -276
  120. package/src/stories/Popover.stories.tsx +0 -100
  121. package/src/stories/SearchBar.stories.ts +0 -43
  122. package/src/stories/SecondaryNavigationBar.stories.tsx +0 -199
  123. package/src/stories/Select.stories.tsx +0 -107
  124. package/src/stories/Separator.stories.tsx +0 -49
  125. package/src/stories/Spinner.stories.tsx +0 -48
  126. package/src/stories/SubHeading.stories.ts +0 -64
  127. package/src/stories/Swich.stories.tsx +0 -69
  128. package/src/stories/Tabs.stories.tsx +0 -90
  129. package/src/stories/Text.stories.ts +0 -78
  130. package/src/stories/Textarea.stories.tsx +0 -155
  131. package/src/stories/Toast.stories.tsx +0 -424
  132. package/src/stories/Tooltip.stories.tsx +0 -244
  133. package/src/stories/ViewAutoSwiper.stories.tsx +0 -1408
  134. package/src/styles/components-dark.scss +0 -212
  135. package/src/styles/components-light.scss +0 -210
  136. package/src/styles/design-dark.scss +0 -330
  137. package/src/styles/design-light.scss +0 -345
  138. package/src/styles/design2-dark.scss +0 -319
  139. package/src/styles/design2-light.scss +0 -364
  140. package/src/styles/font.css +0 -19
  141. package/src/styles/global.scss +0 -251
  142. package/src/styles/md-viewer.scss +0 -155
  143. package/src/styles/new-tokens.scss +0 -255
  144. package/src/styles/tokens.scss +0 -401
  145. package/src/types/scss.d.ts +0 -24
@@ -1,1407 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import React from 'react';
3
-
4
- import { Swiper } from '../components/swiper/index';
5
-
6
- // More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
7
- const meta = {
8
- title: 'Components/数据展示/Swiper-轮播图',
9
- component: Swiper,
10
- parameters: {
11
- // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
12
- layout: 'centered',
13
- nextjs: {
14
- appDirectory: true, // 如果组件里有用到router next/navigation,则需要设置此配置
15
- },
16
- },
17
- // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/writing-docs/autodocs
18
- tags: ['autodocs'],
19
-
20
- // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args
21
- args: {
22
- component: (args) => {
23
- return <div {...args} showChat={true} />;
24
- },
25
- className: 'h-[314px]',
26
- swiperType: 'grid',
27
- dataList: [
28
- {
29
- subCardNormal: {
30
- baseSubCard: {
31
- clickJumpUrl: '',
32
- clickJumpSchema: '',
33
- hoverButton: {
34
- title: '立即体验',
35
- jumpUrl: 'robot-workshop/widget/1744008029948350464',
36
- jumpMobileUrl: 'robot-workshop/widget/1744008029948350464',
37
- jumpSchema: '',
38
- },
39
- },
40
- widgetSummary: {
41
- id: '1744008029948350464',
42
- name: 'Victor',
43
- description:
44
- 'Victor is the CEO of the Loveland Financial Group, and manages investments and financial concerns.',
45
- logoUrl:
46
- 'https://d6phagtfbtco7.cloudfront.net/tts-image/public-v4/Victor.png',
47
- backgroundImageUrl: '',
48
- tags: [
49
- {
50
- id: '1742987206466736128',
51
- label: '复合组件',
52
- iconUrl:
53
- 'https://www.myshellstatic.com/image/widget/icon/20240105/block/blue.png',
54
- labelColors: {
55
- light: '',
56
- dark: '',
57
- },
58
- backgroundColors: {
59
- light: '',
60
- dark: '',
61
- },
62
- isComingSoon: false,
63
- childTags: [],
64
- parentId: '1742986547088592896',
65
- orderScore: '0',
66
- extra: {
67
- isShowHover: true,
68
- hoverText:
69
- '复合组件:为基础模型加工后产生的资产类组件或基于基础模型加工后的其他组件,可直接应用在BOT上的组件,包括Prompt,Voice,Avatar,二维码生成等',
70
- },
71
- },
72
- {
73
- id: '1742195173967794176',
74
- label: 'TTS',
75
- iconUrl: '',
76
- labelColors: {
77
- light: '',
78
- dark: '',
79
- },
80
- backgroundColors: {
81
- light: '',
82
- dark: '',
83
- },
84
- isComingSoon: false,
85
- childTags: [],
86
- parentId: '1719340128612346721',
87
- orderScore: '1001600',
88
- extra: {
89
- isShowHover: false,
90
- hoverText: '',
91
- },
92
- },
93
- {
94
- id: '1742969307777732608',
95
- label: '英语',
96
- iconUrl:
97
- 'https://www.myshellstatic.com/image/bot/tag/20231127/1719341865775403008.png',
98
- labelColors: {
99
- light: '',
100
- dark: '',
101
- },
102
- backgroundColors: {
103
- light: '',
104
- dark: '',
105
- },
106
- isComingSoon: false,
107
- childTags: [],
108
- parentId: '1742195173967794176',
109
- orderScore: '0',
110
- extra: {
111
- isShowHover: false,
112
- hoverText: '',
113
- },
114
- },
115
- ],
116
- status: 'STATUS_PUBLIC',
117
- displaySellPrice: false,
118
- sellPrice: '0',
119
- chatPanelType: 'BOT_CHAT_PANEL_TYPE_IM',
120
- imPanelChatConfig: {
121
- supportedEmbedTypes: [],
122
- embedNumberLimit: 0,
123
- supportedSlashCommand: null,
124
- embedNumberMinimum: 0,
125
- },
126
- imComponent: null,
127
- energyPerChat: 1,
128
- hasUnlocked: false,
129
- chatCallerType: 'WIDGET_CHAT_CALLER_TYPE_VOICE',
130
- baseSubCard: null,
131
- needShowUnlock: false,
132
- pinned: false,
133
- membershipChatConfig: {
134
- supportedMembershipTypes: [],
135
- isLockByMembershipType: false,
136
- },
137
- author: {
138
- id: '4191412',
139
- name: 'MyShell',
140
- email: '',
141
- nameTag: '#7642',
142
- avatar: 'avatar/60f6e978f1554ffc9c3c34bb3f68f8ad.png',
143
- publicAddress: '',
144
- isNftAvatar: false,
145
- description: '',
146
- backgroundUrl: '',
147
- followedCount: 0,
148
- fansCount: 1353,
149
- followStatus: 'NOT_FOLLOWED',
150
- userSource: 'USER_SOURCE_UNSPECIFIED',
151
- membershipInfo: {
152
- type: 'TYPE_GENESIS_WITH_GENESIS_CARD',
153
- premiumInfo: null,
154
- privateBotLimit: 0,
155
- publicBotLimit: 0,
156
- levelInfo: null,
157
- },
158
- currentSeasonInfo: null,
159
- lastSeasonInfo: null,
160
- userCreatedAt: '0',
161
- },
162
- voiceDetail: {
163
- ttsId: '3912',
164
- sampleUrl: '',
165
- languageId: '1',
166
- languageName: 'English',
167
- },
168
- settings: [],
169
- showCopyProConfig: true,
170
- },
171
- title: 'Victor',
172
- subTitle:
173
- 'Victor is the CEO of the Loveland Financial Group, and manages investments and financial concerns.',
174
- imageUrl: 'tts-image/public-v4/Victor.png',
175
- },
176
- },
177
- {
178
- subCardNormal: {
179
- baseSubCard: {
180
- clickJumpUrl: '',
181
- clickJumpSchema: '',
182
- hoverButton: {
183
- title: '立即体验',
184
- jumpUrl: 'robot-workshop/widget/1744006901076594688',
185
- jumpMobileUrl: 'robot-workshop/widget/1744006901076594688',
186
- jumpSchema: '',
187
- },
188
- },
189
- widgetSummary: {
190
- id: '1744006901076594688',
191
- name: '诺拉',
192
- description: 'I love dominant assertive men!',
193
- logoUrl:
194
- 'https://d6phagtfbtco7.cloudfront.net/tts-image/public-v1/17.png',
195
- backgroundImageUrl: '',
196
- tags: [
197
- {
198
- id: '1742987206466736128',
199
- label: '复合组件',
200
- iconUrl:
201
- 'https://www.myshellstatic.com/image/widget/icon/20240105/block/blue.png',
202
- labelColors: {
203
- light: '',
204
- dark: '',
205
- },
206
- backgroundColors: {
207
- light: '',
208
- dark: '',
209
- },
210
- isComingSoon: false,
211
- childTags: [],
212
- parentId: '1742986547088592896',
213
- orderScore: '0',
214
- extra: {
215
- isShowHover: true,
216
- hoverText:
217
- '复合组件:为基础模型加工后产生的资产类组件或基于基础模型加工后的其他组件,可直接应用在BOT上的组件,包括Prompt,Voice,Avatar,二维码生成等',
218
- },
219
- },
220
- {
221
- id: '1742195173967794176',
222
- label: 'TTS',
223
- iconUrl: '',
224
- labelColors: {
225
- light: '',
226
- dark: '',
227
- },
228
- backgroundColors: {
229
- light: '',
230
- dark: '',
231
- },
232
- isComingSoon: false,
233
- childTags: [],
234
- parentId: '1719340128612346721',
235
- orderScore: '1001600',
236
- extra: {
237
- isShowHover: false,
238
- hoverText: '',
239
- },
240
- },
241
- {
242
- id: '1742969748653608960',
243
- label: '中文',
244
- iconUrl:
245
- 'https://www.myshellstatic.com/image/bot/tag/20231127/1719341882581979136.png',
246
- labelColors: {
247
- light: '',
248
- dark: '',
249
- },
250
- backgroundColors: {
251
- light: '',
252
- dark: '',
253
- },
254
- isComingSoon: false,
255
- childTags: [],
256
- parentId: '1742195173967794176',
257
- orderScore: '0',
258
- extra: {
259
- isShowHover: false,
260
- hoverText: '',
261
- },
262
- },
263
- ],
264
- status: 'STATUS_PUBLIC',
265
- displaySellPrice: false,
266
- sellPrice: '0',
267
- chatPanelType: 'BOT_CHAT_PANEL_TYPE_IM',
268
- imPanelChatConfig: {
269
- supportedEmbedTypes: [],
270
- embedNumberLimit: 0,
271
- supportedSlashCommand: null,
272
- embedNumberMinimum: 0,
273
- },
274
- imComponent: null,
275
- energyPerChat: 1,
276
- hasUnlocked: false,
277
- chatCallerType: 'WIDGET_CHAT_CALLER_TYPE_VOICE',
278
- baseSubCard: null,
279
- needShowUnlock: false,
280
- pinned: false,
281
- membershipChatConfig: {
282
- supportedMembershipTypes: [],
283
- isLockByMembershipType: false,
284
- },
285
- author: {
286
- id: '4191412',
287
- name: 'MyShell',
288
- email: '',
289
- nameTag: '#7642',
290
- avatar: 'avatar/60f6e978f1554ffc9c3c34bb3f68f8ad.png',
291
- publicAddress: '',
292
- isNftAvatar: false,
293
- description: '',
294
- backgroundUrl: '',
295
- followedCount: 0,
296
- fansCount: 1353,
297
- followStatus: 'NOT_FOLLOWED',
298
- userSource: 'USER_SOURCE_UNSPECIFIED',
299
- membershipInfo: {
300
- type: 'TYPE_GENESIS_WITH_GENESIS_CARD',
301
- premiumInfo: null,
302
- privateBotLimit: 0,
303
- publicBotLimit: 0,
304
- levelInfo: null,
305
- },
306
- currentSeasonInfo: null,
307
- lastSeasonInfo: null,
308
- userCreatedAt: '0',
309
- },
310
- voiceDetail: {
311
- ttsId: '24',
312
- sampleUrl: '',
313
- languageId: '3',
314
- languageName: 'Chinese',
315
- },
316
- settings: [],
317
- showCopyProConfig: true,
318
- },
319
- title: '诺拉',
320
- subTitle: 'I love dominant assertive men!',
321
- imageUrl: 'tts-image/public-v1/17.png',
322
- },
323
- },
324
- {
325
- subCardNormal: {
326
- baseSubCard: {
327
- clickJumpUrl: '',
328
- clickJumpSchema: '',
329
- hoverButton: {
330
- title: '立即体验',
331
- jumpUrl: 'robot-workshop/widget/1744713390946783232',
332
- jumpMobileUrl: 'robot-workshop/widget/1744713390946783232',
333
- jumpSchema: '',
334
- },
335
- },
336
- widgetSummary: {
337
- id: '1744713390946783232',
338
- name: 'Nurse Naomi',
339
- description: 'a deep sexy female voice',
340
- logoUrl:
341
- 'https://www.myshellstatic.com/cdn-cgi/image/quality=40,format=webp/image/bot/voice_logo/29858/20240113/4cdac7071b3b435a9a26d57acb5b968c.png',
342
- backgroundImageUrl: '',
343
- tags: [
344
- {
345
- id: '1742987206466736128',
346
- label: '复合组件',
347
- iconUrl:
348
- 'https://www.myshellstatic.com/image/widget/icon/20240105/block/blue.png',
349
- labelColors: {
350
- light: '',
351
- dark: '',
352
- },
353
- backgroundColors: {
354
- light: '',
355
- dark: '',
356
- },
357
- isComingSoon: false,
358
- childTags: [],
359
- parentId: '1742986547088592896',
360
- orderScore: '0',
361
- extra: {
362
- isShowHover: true,
363
- hoverText:
364
- '复合组件:为基础模型加工后产生的资产类组件或基于基础模型加工后的其他组件,可直接应用在BOT上的组件,包括Prompt,Voice,Avatar,二维码生成等',
365
- },
366
- },
367
- {
368
- id: '1742195173967794176',
369
- label: 'TTS',
370
- iconUrl: '',
371
- labelColors: {
372
- light: '',
373
- dark: '',
374
- },
375
- backgroundColors: {
376
- light: '',
377
- dark: '',
378
- },
379
- isComingSoon: false,
380
- childTags: [],
381
- parentId: '1719340128612346721',
382
- orderScore: '1001600',
383
- extra: {
384
- isShowHover: false,
385
- hoverText: '',
386
- },
387
- },
388
- {
389
- id: '1742969307777732608',
390
- label: '英语',
391
- iconUrl:
392
- 'https://www.myshellstatic.com/image/bot/tag/20231127/1719341865775403008.png',
393
- labelColors: {
394
- light: '',
395
- dark: '',
396
- },
397
- backgroundColors: {
398
- light: '',
399
- dark: '',
400
- },
401
- isComingSoon: false,
402
- childTags: [],
403
- parentId: '1742195173967794176',
404
- orderScore: '0',
405
- extra: {
406
- isShowHover: false,
407
- hoverText: '',
408
- },
409
- },
410
- ],
411
- status: 'STATUS_PUBLIC',
412
- displaySellPrice: false,
413
- sellPrice: '0',
414
- chatPanelType: 'BOT_CHAT_PANEL_TYPE_IM',
415
- imPanelChatConfig: {
416
- supportedEmbedTypes: [],
417
- embedNumberLimit: 0,
418
- supportedSlashCommand: null,
419
- embedNumberMinimum: 0,
420
- },
421
- imComponent: null,
422
- energyPerChat: 1,
423
- hasUnlocked: false,
424
- chatCallerType: 'WIDGET_CHAT_CALLER_TYPE_VOICE',
425
- baseSubCard: null,
426
- needShowUnlock: false,
427
- pinned: false,
428
- membershipChatConfig: {
429
- supportedMembershipTypes: [],
430
- isLockByMembershipType: false,
431
- },
432
- author: {
433
- id: '29858',
434
- name: 'df1bd05c3f224e65899d8be994aa806c',
435
- email: '',
436
- nameTag: '#4777',
437
- avatar: 'default_avatars/Group6.png',
438
- publicAddress: '',
439
- isNftAvatar: false,
440
- description: '',
441
- backgroundUrl: '',
442
- followedCount: 0,
443
- fansCount: 41,
444
- followStatus: 'NOT_FOLLOWED',
445
- userSource: 'USER_SOURCE_UNSPECIFIED',
446
- membershipInfo: {
447
- type: 'TYPE_GENESIS_WITH_GENESIS_CARD',
448
- premiumInfo: null,
449
- privateBotLimit: 0,
450
- publicBotLimit: 0,
451
- levelInfo: null,
452
- },
453
- currentSeasonInfo: null,
454
- lastSeasonInfo: null,
455
- userCreatedAt: '0',
456
- },
457
- voiceDetail: {
458
- ttsId: '34439',
459
- sampleUrl:
460
- 'https://www.myshellstatic.com/audio/bot/voice_sample_audio/29858/20231030/031e830d1b9841dbac05b35c48637667.mp3',
461
- languageId: '1',
462
- languageName: 'English',
463
- },
464
- settings: [],
465
- showCopyProConfig: true,
466
- },
467
- title: 'Nurse Naomi',
468
- subTitle: 'a deep sexy female voice',
469
- imageUrl:
470
- 'image/bot/voice_logo/29858/20240113/4cdac7071b3b435a9a26d57acb5b968c.png',
471
- },
472
- },
473
- {
474
- subCardNormal: {
475
- baseSubCard: {
476
- clickJumpUrl: '',
477
- clickJumpSchema: '',
478
- hoverButton: {
479
- title: '立即体验',
480
- jumpUrl: 'robot-workshop/widget/1743159010695057408',
481
- jumpMobileUrl: 'robot-workshop/widget/1743159010695057408',
482
- jumpSchema: '',
483
- },
484
- },
485
- widgetSummary: {
486
- id: '1743159010695057408',
487
- name: 'Samantha',
488
- description:
489
- 'A gentle and natural female voice, the classic choice.',
490
- logoUrl:
491
- 'https://d6phagtfbtco7.cloudfront.net/tts-image/public-v1/1.png',
492
- backgroundImageUrl: '',
493
- tags: [
494
- {
495
- id: '1742987206466736128',
496
- label: '复合组件',
497
- iconUrl:
498
- 'https://www.myshellstatic.com/image/widget/icon/20240105/block/blue.png',
499
- labelColors: {
500
- light: '',
501
- dark: '',
502
- },
503
- backgroundColors: {
504
- light: '',
505
- dark: '',
506
- },
507
- isComingSoon: false,
508
- childTags: [],
509
- parentId: '1742986547088592896',
510
- orderScore: '0',
511
- extra: {
512
- isShowHover: true,
513
- hoverText:
514
- '复合组件:为基础模型加工后产生的资产类组件或基于基础模型加工后的其他组件,可直接应用在BOT上的组件,包括Prompt,Voice,Avatar,二维码生成等',
515
- },
516
- },
517
- {
518
- id: '1742195173967794176',
519
- label: 'TTS',
520
- iconUrl: '',
521
- labelColors: {
522
- light: '',
523
- dark: '',
524
- },
525
- backgroundColors: {
526
- light: '',
527
- dark: '',
528
- },
529
- isComingSoon: false,
530
- childTags: [],
531
- parentId: '1719340128612346721',
532
- orderScore: '1001600',
533
- extra: {
534
- isShowHover: false,
535
- hoverText: '',
536
- },
537
- },
538
- {
539
- id: '1742969307777732608',
540
- label: '英语',
541
- iconUrl:
542
- 'https://www.myshellstatic.com/image/bot/tag/20231127/1719341865775403008.png',
543
- labelColors: {
544
- light: '',
545
- dark: '',
546
- },
547
- backgroundColors: {
548
- light: '',
549
- dark: '',
550
- },
551
- isComingSoon: false,
552
- childTags: [],
553
- parentId: '1742195173967794176',
554
- orderScore: '0',
555
- extra: {
556
- isShowHover: false,
557
- hoverText: '',
558
- },
559
- },
560
- ],
561
- status: 'STATUS_PUBLIC',
562
- displaySellPrice: false,
563
- sellPrice: '0',
564
- chatPanelType: 'BOT_CHAT_PANEL_TYPE_IM',
565
- imPanelChatConfig: {
566
- supportedEmbedTypes: [],
567
- embedNumberLimit: 0,
568
- supportedSlashCommand: null,
569
- embedNumberMinimum: 0,
570
- },
571
- imComponent: null,
572
- energyPerChat: 1,
573
- hasUnlocked: false,
574
- chatCallerType: 'WIDGET_CHAT_CALLER_TYPE_VOICE',
575
- baseSubCard: null,
576
- needShowUnlock: false,
577
- pinned: false,
578
- membershipChatConfig: {
579
- supportedMembershipTypes: [],
580
- isLockByMembershipType: false,
581
- },
582
- author: {
583
- id: '4191412',
584
- name: 'MyShell',
585
- email: '',
586
- nameTag: '#7642',
587
- avatar: 'avatar/60f6e978f1554ffc9c3c34bb3f68f8ad.png',
588
- publicAddress: '',
589
- isNftAvatar: false,
590
- description: '',
591
- backgroundUrl: '',
592
- followedCount: 0,
593
- fansCount: 1353,
594
- followStatus: 'NOT_FOLLOWED',
595
- userSource: 'USER_SOURCE_UNSPECIFIED',
596
- membershipInfo: {
597
- type: 'TYPE_GENESIS_WITH_GENESIS_CARD',
598
- premiumInfo: null,
599
- privateBotLimit: 0,
600
- publicBotLimit: 0,
601
- levelInfo: null,
602
- },
603
- currentSeasonInfo: null,
604
- lastSeasonInfo: null,
605
- userCreatedAt: '0',
606
- },
607
- voiceDetail: {
608
- ttsId: '1',
609
- sampleUrl: '',
610
- languageId: '1',
611
- languageName: 'English',
612
- },
613
- settings: [],
614
- showCopyProConfig: true,
615
- },
616
- title: 'Samantha',
617
- subTitle: 'A gentle and natural female voice, the classic choice.',
618
- imageUrl: 'tts-image/public-v1/1.png',
619
- },
620
- },
621
- {
622
- subCardNormal: {
623
- baseSubCard: {
624
- clickJumpUrl: '',
625
- clickJumpSchema: '',
626
- hoverButton: {
627
- title: '立即体验',
628
- jumpUrl: 'robot-workshop/widget/1744008009190739968',
629
- jumpMobileUrl: 'robot-workshop/widget/1744008009190739968',
630
- jumpSchema: '',
631
- },
632
- },
633
- widgetSummary: {
634
- id: '1744008009190739968',
635
- name: '周棋洛',
636
- description:
637
- 'A popular superstar and idol known for his charming looks, his irresistible smile, and having been in many concerts and shows.',
638
- logoUrl:
639
- 'https://d6phagtfbtco7.cloudfront.net/tts-image/public-v4/zhouqiluo.png',
640
- backgroundImageUrl: '',
641
- tags: [
642
- {
643
- id: '1742987206466736128',
644
- label: '复合组件',
645
- iconUrl:
646
- 'https://www.myshellstatic.com/image/widget/icon/20240105/block/blue.png',
647
- labelColors: {
648
- light: '',
649
- dark: '',
650
- },
651
- backgroundColors: {
652
- light: '',
653
- dark: '',
654
- },
655
- isComingSoon: false,
656
- childTags: [],
657
- parentId: '1742986547088592896',
658
- orderScore: '0',
659
- extra: {
660
- isShowHover: true,
661
- hoverText:
662
- '复合组件:为基础模型加工后产生的资产类组件或基于基础模型加工后的其他组件,可直接应用在BOT上的组件,包括Prompt,Voice,Avatar,二维码生成等',
663
- },
664
- },
665
- {
666
- id: '1742195173967794176',
667
- label: 'TTS',
668
- iconUrl: '',
669
- labelColors: {
670
- light: '',
671
- dark: '',
672
- },
673
- backgroundColors: {
674
- light: '',
675
- dark: '',
676
- },
677
- isComingSoon: false,
678
- childTags: [],
679
- parentId: '1719340128612346721',
680
- orderScore: '1001600',
681
- extra: {
682
- isShowHover: false,
683
- hoverText: '',
684
- },
685
- },
686
- {
687
- id: '1742969748653608960',
688
- label: '中文',
689
- iconUrl:
690
- 'https://www.myshellstatic.com/image/bot/tag/20231127/1719341882581979136.png',
691
- labelColors: {
692
- light: '',
693
- dark: '',
694
- },
695
- backgroundColors: {
696
- light: '',
697
- dark: '',
698
- },
699
- isComingSoon: false,
700
- childTags: [],
701
- parentId: '1742195173967794176',
702
- orderScore: '0',
703
- extra: {
704
- isShowHover: false,
705
- hoverText: '',
706
- },
707
- },
708
- ],
709
- status: 'STATUS_PUBLIC',
710
- displaySellPrice: false,
711
- sellPrice: '0',
712
- chatPanelType: 'BOT_CHAT_PANEL_TYPE_IM',
713
- imPanelChatConfig: {
714
- supportedEmbedTypes: [],
715
- embedNumberLimit: 0,
716
- supportedSlashCommand: null,
717
- embedNumberMinimum: 0,
718
- },
719
- imComponent: null,
720
- energyPerChat: 1,
721
- hasUnlocked: false,
722
- chatCallerType: 'WIDGET_CHAT_CALLER_TYPE_VOICE',
723
- baseSubCard: null,
724
- needShowUnlock: false,
725
- pinned: false,
726
- membershipChatConfig: {
727
- supportedMembershipTypes: [],
728
- isLockByMembershipType: false,
729
- },
730
- author: {
731
- id: '4191412',
732
- name: 'MyShell',
733
- email: '',
734
- nameTag: '#7642',
735
- avatar: 'avatar/60f6e978f1554ffc9c3c34bb3f68f8ad.png',
736
- publicAddress: '',
737
- isNftAvatar: false,
738
- description: '',
739
- backgroundUrl: '',
740
- followedCount: 0,
741
- fansCount: 1353,
742
- followStatus: 'NOT_FOLLOWED',
743
- userSource: 'USER_SOURCE_UNSPECIFIED',
744
- membershipInfo: {
745
- type: 'TYPE_GENESIS_WITH_GENESIS_CARD',
746
- premiumInfo: null,
747
- privateBotLimit: 0,
748
- publicBotLimit: 0,
749
- levelInfo: null,
750
- },
751
- currentSeasonInfo: null,
752
- lastSeasonInfo: null,
753
- userCreatedAt: '0',
754
- },
755
- voiceDetail: {
756
- ttsId: '3911',
757
- sampleUrl: '',
758
- languageId: '3',
759
- languageName: 'Chinese',
760
- },
761
- settings: [],
762
- showCopyProConfig: true,
763
- },
764
- title: '周棋洛',
765
- subTitle:
766
- 'A popular superstar and idol known for his charming looks, his irresistible smile, and having been in many concerts and shows.',
767
- imageUrl: 'tts-image/public-v4/zhouqiluo.png',
768
- },
769
- },
770
- {
771
- subCardNormal: {
772
- baseSubCard: {
773
- clickJumpUrl: '',
774
- clickJumpSchema: '',
775
- hoverButton: {
776
- title: '立即体验',
777
- jumpUrl: 'robot-workshop/widget/1744712704246943744',
778
- jumpMobileUrl: 'robot-workshop/widget/1744712704246943744',
779
- jumpSchema: '',
780
- },
781
- },
782
- widgetSummary: {
783
- id: '1744712704246943744',
784
- name: 'Your Girlfriend',
785
- description:
786
- 'Your girlfriend has lost all her memory - her name, age, background, habits, personality, and everything else, EXCEPT for her LOVE for you.',
787
- logoUrl:
788
- 'https://www.myshellstatic.com/cdn-cgi/image/quality=40,format=webp/image/bot/voice_logo/48810/20240111/4e38d80d35c84a17af9153c43a0f8518.png',
789
- backgroundImageUrl: '',
790
- tags: [
791
- {
792
- id: '1742987206466736128',
793
- label: '复合组件',
794
- iconUrl:
795
- 'https://www.myshellstatic.com/image/widget/icon/20240105/block/blue.png',
796
- labelColors: {
797
- light: '',
798
- dark: '',
799
- },
800
- backgroundColors: {
801
- light: '',
802
- dark: '',
803
- },
804
- isComingSoon: false,
805
- childTags: [],
806
- parentId: '1742986547088592896',
807
- orderScore: '0',
808
- extra: {
809
- isShowHover: true,
810
- hoverText:
811
- '复合组件:为基础模型加工后产生的资产类组件或基于基础模型加工后的其他组件,可直接应用在BOT上的组件,包括Prompt,Voice,Avatar,二维码生成等',
812
- },
813
- },
814
- {
815
- id: '1742195173967794176',
816
- label: 'TTS',
817
- iconUrl: '',
818
- labelColors: {
819
- light: '',
820
- dark: '',
821
- },
822
- backgroundColors: {
823
- light: '',
824
- dark: '',
825
- },
826
- isComingSoon: false,
827
- childTags: [],
828
- parentId: '1719340128612346721',
829
- orderScore: '1001600',
830
- extra: {
831
- isShowHover: false,
832
- hoverText: '',
833
- },
834
- },
835
- {
836
- id: '1742969307777732608',
837
- label: '英语',
838
- iconUrl:
839
- 'https://www.myshellstatic.com/image/bot/tag/20231127/1719341865775403008.png',
840
- labelColors: {
841
- light: '',
842
- dark: '',
843
- },
844
- backgroundColors: {
845
- light: '',
846
- dark: '',
847
- },
848
- isComingSoon: false,
849
- childTags: [],
850
- parentId: '1742195173967794176',
851
- orderScore: '0',
852
- extra: {
853
- isShowHover: false,
854
- hoverText: '',
855
- },
856
- },
857
- ],
858
- status: 'STATUS_PUBLIC',
859
- displaySellPrice: false,
860
- sellPrice: '0',
861
- chatPanelType: 'BOT_CHAT_PANEL_TYPE_IM',
862
- imPanelChatConfig: {
863
- supportedEmbedTypes: [],
864
- embedNumberLimit: 0,
865
- supportedSlashCommand: null,
866
- embedNumberMinimum: 0,
867
- },
868
- imComponent: null,
869
- energyPerChat: 1,
870
- hasUnlocked: false,
871
- chatCallerType: 'WIDGET_CHAT_CALLER_TYPE_VOICE',
872
- baseSubCard: null,
873
- needShowUnlock: false,
874
- pinned: false,
875
- membershipChatConfig: {
876
- supportedMembershipTypes: [],
877
- isLockByMembershipType: false,
878
- },
879
- author: {
880
- id: '48810',
881
- name: 'Kaiser',
882
- email: '',
883
- nameTag: '#6626',
884
- avatar: 'avatar/16a0b74e2ace439bbce9e0c7e077b64e.png',
885
- publicAddress: '',
886
- isNftAvatar: false,
887
- description: '',
888
- backgroundUrl: '',
889
- followedCount: 0,
890
- fansCount: 26,
891
- followStatus: 'NOT_FOLLOWED',
892
- userSource: 'USER_SOURCE_UNSPECIFIED',
893
- membershipInfo: {
894
- type: 'TYPE_GENESIS_WITH_GENESIS_CARD',
895
- premiumInfo: null,
896
- privateBotLimit: 0,
897
- publicBotLimit: 0,
898
- levelInfo: null,
899
- },
900
- currentSeasonInfo: null,
901
- lastSeasonInfo: null,
902
- userCreatedAt: '0',
903
- },
904
- voiceDetail: {
905
- ttsId: '2887',
906
- sampleUrl:
907
- 'https://d6phagtfbtco7.cloudfront.net/tts-user-sample/a679ddc3c02543dd9c0a46d76010c5a1.mp3',
908
- languageId: '1',
909
- languageName: 'English',
910
- },
911
- settings: [],
912
- showCopyProConfig: true,
913
- },
914
- title: 'Your Girlfriend',
915
- subTitle:
916
- 'Your girlfriend has lost all her memory - her name, age, background, habits, personality, and everything else, EXCEPT for her LOVE for you.',
917
- imageUrl:
918
- 'image/bot/voice_logo/48810/20240111/4e38d80d35c84a17af9153c43a0f8518.png',
919
- },
920
- },
921
- {
922
- subCardNormal: {
923
- baseSubCard: {
924
- clickJumpUrl: '',
925
- clickJumpSchema: '',
926
- hoverButton: {
927
- title: '立即体验',
928
- jumpUrl: 'robot-workshop/widget/1743159666025697280',
929
- jumpMobileUrl: 'robot-workshop/widget/1743159666025697280',
930
- jumpSchema: '',
931
- },
932
- },
933
- widgetSummary: {
934
- id: '1743159666025697280',
935
- name: 'Sherlock',
936
- description:
937
- 'My name is Sherlock Holmes. It is my business to know what other people do not know.',
938
- logoUrl:
939
- 'https://d6phagtfbtco7.cloudfront.net/tts-image/public-v1/2.png',
940
- backgroundImageUrl: '',
941
- tags: [
942
- {
943
- id: '1742987206466736128',
944
- label: '复合组件',
945
- iconUrl:
946
- 'https://www.myshellstatic.com/image/widget/icon/20240105/block/blue.png',
947
- labelColors: {
948
- light: '',
949
- dark: '',
950
- },
951
- backgroundColors: {
952
- light: '',
953
- dark: '',
954
- },
955
- isComingSoon: false,
956
- childTags: [],
957
- parentId: '1742986547088592896',
958
- orderScore: '0',
959
- extra: {
960
- isShowHover: true,
961
- hoverText:
962
- '复合组件:为基础模型加工后产生的资产类组件或基于基础模型加工后的其他组件,可直接应用在BOT上的组件,包括Prompt,Voice,Avatar,二维码生成等',
963
- },
964
- },
965
- {
966
- id: '1742195173967794176',
967
- label: 'TTS',
968
- iconUrl: '',
969
- labelColors: {
970
- light: '',
971
- dark: '',
972
- },
973
- backgroundColors: {
974
- light: '',
975
- dark: '',
976
- },
977
- isComingSoon: false,
978
- childTags: [],
979
- parentId: '1719340128612346721',
980
- orderScore: '1001600',
981
- extra: {
982
- isShowHover: false,
983
- hoverText: '',
984
- },
985
- },
986
- {
987
- id: '1742969307777732608',
988
- label: '英语',
989
- iconUrl:
990
- 'https://www.myshellstatic.com/image/bot/tag/20231127/1719341865775403008.png',
991
- labelColors: {
992
- light: '',
993
- dark: '',
994
- },
995
- backgroundColors: {
996
- light: '',
997
- dark: '',
998
- },
999
- isComingSoon: false,
1000
- childTags: [],
1001
- parentId: '1742195173967794176',
1002
- orderScore: '0',
1003
- extra: {
1004
- isShowHover: false,
1005
- hoverText: '',
1006
- },
1007
- },
1008
- ],
1009
- status: 'STATUS_PUBLIC',
1010
- displaySellPrice: false,
1011
- sellPrice: '0',
1012
- chatPanelType: 'BOT_CHAT_PANEL_TYPE_IM',
1013
- imPanelChatConfig: {
1014
- supportedEmbedTypes: [],
1015
- embedNumberLimit: 0,
1016
- supportedSlashCommand: null,
1017
- embedNumberMinimum: 0,
1018
- },
1019
- imComponent: null,
1020
- energyPerChat: 1,
1021
- hasUnlocked: false,
1022
- chatCallerType: 'WIDGET_CHAT_CALLER_TYPE_VOICE',
1023
- baseSubCard: null,
1024
- needShowUnlock: false,
1025
- pinned: false,
1026
- membershipChatConfig: {
1027
- supportedMembershipTypes: [],
1028
- isLockByMembershipType: false,
1029
- },
1030
- author: {
1031
- id: '4191412',
1032
- name: 'MyShell',
1033
- email: '',
1034
- nameTag: '#7642',
1035
- avatar: 'avatar/60f6e978f1554ffc9c3c34bb3f68f8ad.png',
1036
- publicAddress: '',
1037
- isNftAvatar: false,
1038
- description: '',
1039
- backgroundUrl: '',
1040
- followedCount: 0,
1041
- fansCount: 1353,
1042
- followStatus: 'NOT_FOLLOWED',
1043
- userSource: 'USER_SOURCE_UNSPECIFIED',
1044
- membershipInfo: {
1045
- type: 'TYPE_GENESIS_WITH_GENESIS_CARD',
1046
- premiumInfo: null,
1047
- privateBotLimit: 0,
1048
- publicBotLimit: 0,
1049
- levelInfo: null,
1050
- },
1051
- currentSeasonInfo: null,
1052
- lastSeasonInfo: null,
1053
- userCreatedAt: '0',
1054
- },
1055
- voiceDetail: {
1056
- ttsId: '2',
1057
- sampleUrl: '',
1058
- languageId: '1',
1059
- languageName: 'English',
1060
- },
1061
- settings: [],
1062
- showCopyProConfig: true,
1063
- },
1064
- title: 'Sherlock',
1065
- subTitle:
1066
- 'My name is Sherlock Holmes. It is my business to know what other people do not know.',
1067
- imageUrl: 'tts-image/public-v1/2.png',
1068
- },
1069
- },
1070
- {
1071
- subCardNormal: {
1072
- baseSubCard: {
1073
- clickJumpUrl: '',
1074
- clickJumpSchema: '',
1075
- hoverButton: {
1076
- title: '立即体验',
1077
- jumpUrl: 'robot-workshop/widget/1744007633909583872',
1078
- jumpMobileUrl: 'robot-workshop/widget/1744007633909583872',
1079
- jumpSchema: '',
1080
- },
1081
- },
1082
- widgetSummary: {
1083
- id: '1744007633909583872',
1084
- name: 'voix douce féminine',
1085
- description:
1086
- 'Indulge in the gentle and soothing voice of our feminine whisper.',
1087
- logoUrl:
1088
- 'https://d6phagtfbtco7.cloudfront.net/tts-image/public-v2/fr_02.png',
1089
- backgroundImageUrl: '',
1090
- tags: [
1091
- {
1092
- id: '1742987206466736128',
1093
- label: '复合组件',
1094
- iconUrl:
1095
- 'https://www.myshellstatic.com/image/widget/icon/20240105/block/blue.png',
1096
- labelColors: {
1097
- light: '',
1098
- dark: '',
1099
- },
1100
- backgroundColors: {
1101
- light: '',
1102
- dark: '',
1103
- },
1104
- isComingSoon: false,
1105
- childTags: [],
1106
- parentId: '1742986547088592896',
1107
- orderScore: '0',
1108
- extra: {
1109
- isShowHover: true,
1110
- hoverText:
1111
- '复合组件:为基础模型加工后产生的资产类组件或基于基础模型加工后的其他组件,可直接应用在BOT上的组件,包括Prompt,Voice,Avatar,二维码生成等',
1112
- },
1113
- },
1114
- {
1115
- id: '1742195173967794176',
1116
- label: 'TTS',
1117
- iconUrl: '',
1118
- labelColors: {
1119
- light: '',
1120
- dark: '',
1121
- },
1122
- backgroundColors: {
1123
- light: '',
1124
- dark: '',
1125
- },
1126
- isComingSoon: false,
1127
- childTags: [],
1128
- parentId: '1719340128612346721',
1129
- orderScore: '1001600',
1130
- extra: {
1131
- isShowHover: false,
1132
- hoverText: '',
1133
- },
1134
- },
1135
- {
1136
- id: '1742969843952390144',
1137
- label: '法语',
1138
- iconUrl:
1139
- 'https://www.myshellstatic.com/image/bot/tag/20231127/1719341903578664960.png',
1140
- labelColors: {
1141
- light: '',
1142
- dark: '',
1143
- },
1144
- backgroundColors: {
1145
- light: '',
1146
- dark: '',
1147
- },
1148
- isComingSoon: false,
1149
- childTags: [],
1150
- parentId: '1742195173967794176',
1151
- orderScore: '0',
1152
- extra: {
1153
- isShowHover: false,
1154
- hoverText: '',
1155
- },
1156
- },
1157
- ],
1158
- status: 'STATUS_PUBLIC',
1159
- displaySellPrice: false,
1160
- sellPrice: '0',
1161
- chatPanelType: 'BOT_CHAT_PANEL_TYPE_IM',
1162
- imPanelChatConfig: {
1163
- supportedEmbedTypes: [],
1164
- embedNumberLimit: 0,
1165
- supportedSlashCommand: null,
1166
- embedNumberMinimum: 0,
1167
- },
1168
- imComponent: null,
1169
- energyPerChat: 1,
1170
- hasUnlocked: false,
1171
- chatCallerType: 'WIDGET_CHAT_CALLER_TYPE_VOICE',
1172
- baseSubCard: null,
1173
- needShowUnlock: false,
1174
- pinned: false,
1175
- membershipChatConfig: {
1176
- supportedMembershipTypes: [],
1177
- isLockByMembershipType: false,
1178
- },
1179
- author: {
1180
- id: '4191412',
1181
- name: 'MyShell',
1182
- email: '',
1183
- nameTag: '#7642',
1184
- avatar: 'avatar/60f6e978f1554ffc9c3c34bb3f68f8ad.png',
1185
- publicAddress: '',
1186
- isNftAvatar: false,
1187
- description: '',
1188
- backgroundUrl: '',
1189
- followedCount: 0,
1190
- fansCount: 1353,
1191
- followStatus: 'NOT_FOLLOWED',
1192
- userSource: 'USER_SOURCE_UNSPECIFIED',
1193
- membershipInfo: {
1194
- type: 'TYPE_GENESIS_WITH_GENESIS_CARD',
1195
- premiumInfo: null,
1196
- privateBotLimit: 0,
1197
- publicBotLimit: 0,
1198
- levelInfo: null,
1199
- },
1200
- currentSeasonInfo: null,
1201
- lastSeasonInfo: null,
1202
- userCreatedAt: '0',
1203
- },
1204
- voiceDetail: {
1205
- ttsId: '2744',
1206
- sampleUrl: '',
1207
- languageId: '4',
1208
- languageName: 'French',
1209
- },
1210
- settings: [],
1211
- showCopyProConfig: true,
1212
- },
1213
- title: 'voix douce féminine',
1214
- subTitle:
1215
- 'Indulge in the gentle and soothing voice of our feminine whisper.',
1216
- imageUrl: 'tts-image/public-v2/fr_02.png',
1217
- },
1218
- },
1219
- {
1220
- subCardNormal: {
1221
- baseSubCard: {
1222
- clickJumpUrl: '',
1223
- clickJumpSchema: '',
1224
- hoverButton: {
1225
- title: '立即体验',
1226
- jumpUrl: 'robot-workshop/widget/1744007592708935680',
1227
- jumpMobileUrl: 'robot-workshop/widget/1744007592708935680',
1228
- jumpSchema: '',
1229
- },
1230
- },
1231
- widgetSummary: {
1232
- id: '1744007592708935680',
1233
- name: 'Nora',
1234
- description:
1235
- 'I am here to help you upgrade your red hot pocket rockets. And believe me handsome, upgrade whatever tickles your fancy.',
1236
- logoUrl:
1237
- 'https://d6phagtfbtco7.cloudfront.net/tts-image/public-v3/51.png',
1238
- backgroundImageUrl: '',
1239
- tags: [
1240
- {
1241
- id: '1742987206466736128',
1242
- label: '复合组件',
1243
- iconUrl:
1244
- 'https://www.myshellstatic.com/image/widget/icon/20240105/block/blue.png',
1245
- labelColors: {
1246
- light: '',
1247
- dark: '',
1248
- },
1249
- backgroundColors: {
1250
- light: '',
1251
- dark: '',
1252
- },
1253
- isComingSoon: false,
1254
- childTags: [],
1255
- parentId: '1742986547088592896',
1256
- orderScore: '0',
1257
- extra: {
1258
- isShowHover: true,
1259
- hoverText:
1260
- '复合组件:为基础模型加工后产生的资产类组件或基于基础模型加工后的其他组件,可直接应用在BOT上的组件,包括Prompt,Voice,Avatar,二维码生成等',
1261
- },
1262
- },
1263
- {
1264
- id: '1742195173967794176',
1265
- label: 'TTS',
1266
- iconUrl: '',
1267
- labelColors: {
1268
- light: '',
1269
- dark: '',
1270
- },
1271
- backgroundColors: {
1272
- light: '',
1273
- dark: '',
1274
- },
1275
- isComingSoon: false,
1276
- childTags: [],
1277
- parentId: '1719340128612346721',
1278
- orderScore: '1001600',
1279
- extra: {
1280
- isShowHover: false,
1281
- hoverText: '',
1282
- },
1283
- },
1284
- {
1285
- id: '1742969307777732608',
1286
- label: '英语',
1287
- iconUrl:
1288
- 'https://www.myshellstatic.com/image/bot/tag/20231127/1719341865775403008.png',
1289
- labelColors: {
1290
- light: '',
1291
- dark: '',
1292
- },
1293
- backgroundColors: {
1294
- light: '',
1295
- dark: '',
1296
- },
1297
- isComingSoon: false,
1298
- childTags: [],
1299
- parentId: '1742195173967794176',
1300
- orderScore: '0',
1301
- extra: {
1302
- isShowHover: false,
1303
- hoverText: '',
1304
- },
1305
- },
1306
- ],
1307
- status: 'STATUS_PUBLIC',
1308
- displaySellPrice: false,
1309
- sellPrice: '0',
1310
- chatPanelType: 'BOT_CHAT_PANEL_TYPE_IM',
1311
- imPanelChatConfig: {
1312
- supportedEmbedTypes: [],
1313
- embedNumberLimit: 0,
1314
- supportedSlashCommand: null,
1315
- embedNumberMinimum: 0,
1316
- },
1317
- imComponent: null,
1318
- energyPerChat: 1,
1319
- hasUnlocked: false,
1320
- chatCallerType: 'WIDGET_CHAT_CALLER_TYPE_VOICE',
1321
- baseSubCard: null,
1322
- needShowUnlock: false,
1323
- pinned: false,
1324
- membershipChatConfig: {
1325
- supportedMembershipTypes: [],
1326
- isLockByMembershipType: false,
1327
- },
1328
- author: {
1329
- id: '4191412',
1330
- name: 'MyShell',
1331
- email: '',
1332
- nameTag: '#7642',
1333
- avatar: 'avatar/60f6e978f1554ffc9c3c34bb3f68f8ad.png',
1334
- publicAddress: '',
1335
- isNftAvatar: false,
1336
- description: '',
1337
- backgroundUrl: '',
1338
- followedCount: 0,
1339
- fansCount: 1353,
1340
- followStatus: 'NOT_FOLLOWED',
1341
- userSource: 'USER_SOURCE_UNSPECIFIED',
1342
- membershipInfo: {
1343
- type: 'TYPE_GENESIS_WITH_GENESIS_CARD',
1344
- premiumInfo: null,
1345
- privateBotLimit: 0,
1346
- publicBotLimit: 0,
1347
- levelInfo: null,
1348
- },
1349
- currentSeasonInfo: null,
1350
- lastSeasonInfo: null,
1351
- userCreatedAt: '0',
1352
- },
1353
- voiceDetail: {
1354
- ttsId: '2735',
1355
- sampleUrl: '',
1356
- languageId: '1',
1357
- languageName: 'English',
1358
- },
1359
- settings: [],
1360
- showCopyProConfig: true,
1361
- },
1362
- title: 'Nora',
1363
- subTitle:
1364
- 'I am here to help you upgrade your red hot pocket rockets. And believe me handsome, upgrade whatever tickles your fancy.',
1365
- imageUrl: 'tts-image/public-v3/51.png',
1366
- },
1367
- },
1368
- ].map((item) => {
1369
- const summary = item.subCardNormal?.widgetSummary;
1370
- return {
1371
- title: summary.name,
1372
- description: summary.description,
1373
- logoUrl: summary.logoUrl,
1374
- authorName: summary.author.name,
1375
- authorNameTag: summary.author.nameTag,
1376
- id: summary.id,
1377
- clickUrl: `/robot-workshop/widget/${summary.id}`,
1378
- type: 'Widget',
1379
- // buttonTitle: 'Chat',
1380
- // buttonUrl: `/robot-workshop/widget/${summary.id}`
1381
- };
1382
- }),
1383
- },
1384
- argTypes: {
1385
- // 定义size为select类型的控件
1386
- },
1387
- } satisfies Meta<typeof Swiper>;
1388
-
1389
- export default meta;
1390
- // export const Default: StoryObj<typeof meta> = {
1391
- // // 这里不需要设置 args,因为它会继承 meta 中的 args
1392
- // };
1393
- type Story = StoryObj<typeof meta>;
1394
-
1395
- // More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
1396
- export const GridDemo: Story = {
1397
- args: {
1398
- ...meta.args, // 继承默认参数
1399
- },
1400
- render: (args) => {
1401
- return (
1402
- <div className="w-[70vw] px-3 rounded-md">
1403
- <Swiper {...args} />
1404
- </div>
1405
- );
1406
- },
1407
- };