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