Commit e83aad8
feat(ChatRecord): add new component (#4474)
* feat: 支持ChatThinking组件content插槽自定义思考内容
* refactor: 为内容内部视图添加空数组类名参数保持结构一致
* Feature/add chat record (#4281)
* feat: add chat-record component
新增chat-record 语音输入组件
* feat: 新增语音书输入插件
BREAKING CHANGE: 新增语音输入组件
* feat: 新增语音输入组件
* feat(chat-record 组件样式调整): chat-record 组件样式调整
* feat(chat-record 组件样式优化): chat-record 组件样式优化
* feat: 更新chat-record 组件文档
* feat: 更新chat-record 组件文档
* Feature/add uni record (#4318)
* feat: tdesign-uniapp-chat 新增 chat-record 组件
tdesign-uniapp-chat 新增 chat-record 组件
* feat: chat-record 组件demo 补充
* feat: chat-record demo 样式调整
* feat(还原setting.json 文件配置,删除快码插件配置): 还原setting文件,删除快码插件配置
---------
Co-authored-by: Miya <1054055589@qq.com>
* feat: 将senderType改为allowSpeech控制语音输入开关
* feat: 统一插槽命名并完善语音输入相关文档与属性
* Feature/add chat record (#4391)
* feat: add chat-record component
新增chat-record 语音输入组件
* feat: 新增语音书输入插件
BREAKING CHANGE: 新增语音输入组件
* feat: 新增语音输入组件
* feat(chat-record 组件样式调整): chat-record 组件样式调整
* feat(chat-record 组件样式优化): chat-record 组件样式优化
* feat: 更新chat-record 组件文档
* feat: 更新chat-record 组件文档
* feat: chat-record 组件交互更改
* feat: chat-record 组件demo调整
* feat: chat-record 组件,麦克风权限相关问题修改
* feat: chat-record bug 修复
* feat(chat-record demo bug修复): chat-record demo 修复
* feat: chat-record 组件bug修复
* feat: 删除快码插件配置
* feat: 还原setting.json文件
* chat-record 组件更改
* fix(chat-record): 组件问题修复
* feat: 新增聊天发送示例并重构语音记录组件
* fix: chat-record demo 样式调整
* style(chat-record): 调整 chat-record 示例样式
* style(chat-record): 调整 chat-record 示例样式
* style(chat-sender): sender 组件record 示例样式调整
* style(chat-record): 语言输入组件样式调整
* feat(chat-record): chat-record demo 重构
* feat(chat-record): chat-record 组件国际化处理
* chore: 移除手动发送逻辑并自动发送识别文本,
* style(chat-record): chat-record demo 样式调整
* style(chat-record): chat-record demo 动效调整
* feat: 代码优化
* 将tdesign-uniapp新增chat-record组件
* uni-app chat-reord 导入组件问题修复
* chat-record demo 样式调整
* feat: 优化allowSpeech
* fix: 移除chat-sender组件的inputMode
* refactor: 移除多余语音方法
* feat(chat-record): 新增语音识别完成、取消及错误回调事件
* feat: 文档优化
* feat: 补充chat-sender的插槽说明
* docs(ChatRecord): regenerate api docs
* test: update snapshots
* fix: fix lint
* chore: update uniapp demo style
* chore: update uniapp demo style
* fix: code formatter
* feat(Locale): update
* feat: support adapter
* chore: update demo
* fix: fix cr
* test: update snapshots
* chore: stash changelog [ci skip]
---------
Co-authored-by: CodeCarfter <43510057+zhangjiaoalice@users.noreply.github.com>
Co-authored-by: aalicezhang <aalicezhang@tencent.com>
Co-authored-by: 2640847812@qq.com <2640847812@qq.com>
Co-authored-by: novlan1 <1576271227@qq.com>
Co-authored-by: anlyyao <anly_yaw@163.com>
Co-authored-by: tdesign-bot <tdesign@tencent.com>1 parent ef43247 commit e83aad8
97 files changed
Lines changed: 6286 additions & 149 deletions
File tree
- .github/workflows
- .vscode
- packages
- components
- config-provider/__test__/__snapshots__
- locale
- pro-components/chat
- attachments
- chat-record
- _example
- base
- chat-sender
- _example
- record
- tdesign-miniprogram-chat/site
- tdesign-miniprogram
- .changelog
- example
- pages
- gulp-error
- home
- data
- tdesign-uniapp-chat
- .changelog
- site
- tdesign-uniapp
- example/src
- pages/home/data
- uniapp-components/locale
- uniapp-pro-components/chat
- chat-markdown-code
- chat-record
- _example
- base
- custom-adapter
- adapters
- chat-sender
- types
- script
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
57 | 74 | | |
- .github/workflows/component-ci-call.yml+167
- .github/workflows/component-ci.yml+343
- .github/workflows/pr-spelling.template.yml+1-1
- .github/workflows/pull-request.yml+1-13
- .github/workflows/typos-config.toml+1
- docs/mobile/api/upload.en-US.md+7-1
- docs/mobile/api/upload.md+7-1
- docs/web/_design/数字选择器InputNumber.md+1-1
- docs/web/_design/文字提示Tooltip.md+1-1
- docs/web/_design/日期选择器DatePicker.md+3-3
- docs/web/_design/栅格Grid.md+2-2
- docs/web/_design/树选择器TreeSelect.md+2-2
- docs/web/_design/警告 Alert.md+1-1
- docs/web/api/tag-input.md+2-1
- docs/web/design/alert.md+1-1
- docs/web/design/date-picker.md+3-3
- docs/web/design/grid.md+2-2
- docs/web/design/tooltip.md+1-1
- docs/web/design/tree-select.md+2-2
- js/global-config/default-config.ts+8
- js/global-config/locale/ja_JP.ts+1-1
- js/global-config/mobile/locale/ar_KW.ts+33-6
- js/global-config/mobile/locale/en_US.ts+27-1
- js/global-config/mobile/locale/it_IT.ts+31-5
- js/global-config/mobile/locale/ja_JP.ts+27-1
- js/global-config/mobile/locale/ko_KR.ts+27-1
- js/global-config/mobile/locale/ru_RU.ts+28-1
- js/global-config/mobile/locale/zh_CN.ts+26-1
- js/global-config/mobile/locale/zh_TW.ts+28-2
- js/global-config/t.ts+10-1
- js/qrcode/qrcodegen.ts+1-1
- js/tree/tree-node-model.ts+4
- js/utils/calcTextareaHeight.ts+36-39
- package.json+2
- pnpm-workspace.yaml+1
- scripts/generate-css-vars.mjs+17-39
- style/mobile/components/button/_index.less+2-8
- style/mobile/components/button/_var.less+4-5
- style/mobile/components/navbar/_index.less+3-7
- style/mobile/components/table/_index.less+54-2
- style/mobile/components/table/_pagination.less+21
- style/mobile/components/table/_var.less+1-1
- style/mobile/components/upload/_index.less+25-2
- style/mobile/theme/_dark.less+1
- style/mobile/theme/_light.less+1
- style/web/components/button/_index.less+1-1
- style/web/components/button/_var.less+1-1
- style/web/components/color-picker/_index.less+5-1
- style/web/components/form/_index.less+1-1
- style/web/components/menu/_index.less+13-1
- style/web/components/select/_index.less+3-3
- style/web/components/tag-input/_index.less+4
- style/web/components/tree/_index.less+15-14
- style/web/theme/_dark.less+1
- style/web/theme/_light.less+1
- test/unit/utils/calcTextareaHeight.test.ts+50
Lines changed: 54 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
61 | 82 | | |
62 | 83 | | |
63 | 84 | | |
| |||
75 | 96 | | |
76 | 97 | | |
77 | 98 | | |
78 | | - | |
| 99 | + | |
79 | 100 | | |
80 | 101 | | |
81 | 102 | | |
| |||
168 | 189 | | |
169 | 190 | | |
170 | 191 | | |
| 192 | + | |
| 193 | + | |
171 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
172 | 198 | | |
173 | 199 | | |
174 | 200 | | |
| |||
335 | 361 | | |
336 | 362 | | |
337 | 363 | | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
338 | 385 | | |
339 | 386 | | |
340 | 387 | | |
| |||
352 | 399 | | |
353 | 400 | | |
354 | 401 | | |
355 | | - | |
| 402 | + | |
356 | 403 | | |
357 | 404 | | |
358 | 405 | | |
| |||
445 | 492 | | |
446 | 493 | | |
447 | 494 | | |
| 495 | + | |
| 496 | + | |
448 | 497 | | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
449 | 501 | | |
450 | 502 | | |
451 | 503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
93 | | - | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
98 | | - | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
104 | 110 | | |
105 | 111 | | |
106 | 112 | | |
| |||
115 | 121 | | |
116 | 122 | | |
117 | 123 | | |
| 124 | + | |
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
| |||
149 | 156 | | |
150 | 157 | | |
151 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
152 | 179 | | |
153 | 180 | | |
154 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
| |||
138 | 144 | | |
139 | 145 | | |
140 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
141 | 167 | | |
142 | 168 | | |
143 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
| |||
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
| 111 | + | |
106 | 112 | | |
107 | 113 | | |
108 | 114 | | |
| |||
137 | 143 | | |
138 | 144 | | |
139 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
140 | 166 | | |
141 | 167 | | |
142 | 168 | | |
| |||
0 commit comments