devextreme-react 26.1.2-beta → 26.1.3

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 (357) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +27 -27
  3. package/cjs/accordion.d.ts +100 -100
  4. package/cjs/accordion.js +103 -103
  5. package/cjs/action-sheet.d.ts +79 -79
  6. package/cjs/action-sheet.js +91 -91
  7. package/cjs/autocomplete.d.ts +653 -653
  8. package/cjs/autocomplete.js +347 -347
  9. package/cjs/bar-gauge.d.ts +698 -698
  10. package/cjs/bar-gauge.js +410 -410
  11. package/cjs/box.d.ts +77 -77
  12. package/cjs/box.js +90 -90
  13. package/cjs/bullet.d.ts +205 -205
  14. package/cjs/bullet.js +155 -155
  15. package/cjs/button-group.d.ts +64 -64
  16. package/cjs/button-group.js +91 -91
  17. package/cjs/button.d.ts +30 -30
  18. package/cjs/button.js +61 -61
  19. package/cjs/calendar.d.ts +33 -33
  20. package/cjs/calendar.js +68 -68
  21. package/cjs/card-view.d.ts +2749 -2749
  22. package/cjs/card-view.js +1439 -1439
  23. package/cjs/chart.d.ts +4467 -4467
  24. package/cjs/chart.js +1569 -1569
  25. package/cjs/chat.d.ts +604 -604
  26. package/cjs/chat.js +336 -336
  27. package/cjs/check-box.d.ts +30 -30
  28. package/cjs/check-box.js +59 -59
  29. package/cjs/circular-gauge.d.ts +720 -720
  30. package/cjs/circular-gauge.js +427 -427
  31. package/cjs/color-box.d.ts +647 -647
  32. package/cjs/color-box.js +345 -345
  33. package/cjs/common/ai-integration.d.ts +4 -4
  34. package/cjs/common/ai-integration.js +7 -7
  35. package/cjs/common/charts.d.ts +4 -4
  36. package/cjs/common/charts.js +8 -8
  37. package/cjs/common/core/animation.d.ts +4 -4
  38. package/cjs/common/core/animation.js +11 -11
  39. package/cjs/common/core/environment.d.ts +4 -4
  40. package/cjs/common/core/environment.js +9 -9
  41. package/cjs/common/core/events.d.ts +4 -4
  42. package/cjs/common/core/events.js +10 -10
  43. package/cjs/common/core/index.d.ts +6 -6
  44. package/cjs/common/core/index.js +32 -32
  45. package/cjs/common/core/localization.d.ts +4 -4
  46. package/cjs/common/core/localization.js +13 -13
  47. package/cjs/common/data/custom-store.d.ts +3 -3
  48. package/cjs/common/data/custom-store.js +9 -9
  49. package/cjs/common/data.d.ts +4 -4
  50. package/cjs/common/data.js +25 -25
  51. package/cjs/common/export/excel.d.ts +4 -4
  52. package/cjs/common/export/excel.js +8 -8
  53. package/cjs/common/export/index.d.ts +4 -4
  54. package/cjs/common/export/index.js +30 -30
  55. package/cjs/common/export/pdf.d.ts +4 -4
  56. package/cjs/common/export/pdf.js +8 -8
  57. package/cjs/common/grids.d.ts +3 -3
  58. package/cjs/common/grids.js +4 -4
  59. package/cjs/common/index.d.ts +301 -289
  60. package/cjs/common/index.js +121 -121
  61. package/cjs/context-menu.d.ts +350 -350
  62. package/cjs/context-menu.js +295 -295
  63. package/cjs/core/component-base.d.ts +39 -39
  64. package/cjs/core/component-base.js +322 -322
  65. package/cjs/core/component.d.ts +42 -42
  66. package/cjs/core/component.js +88 -88
  67. package/cjs/core/config.d.ts +9 -9
  68. package/cjs/core/config.js +16 -16
  69. package/cjs/core/configuration/comparer.d.ts +12 -12
  70. package/cjs/core/configuration/comparer.js +102 -102
  71. package/cjs/core/configuration/config-node.d.ts +17 -17
  72. package/cjs/core/configuration/config-node.js +107 -107
  73. package/cjs/core/configuration/react/element.d.ts +36 -36
  74. package/cjs/core/configuration/react/element.js +52 -52
  75. package/cjs/core/configuration/react/templates.d.ts +7 -7
  76. package/cjs/core/configuration/react/templates.js +61 -61
  77. package/cjs/core/configuration/tree.d.ts +22 -22
  78. package/cjs/core/configuration/tree.js +118 -118
  79. package/cjs/core/configuration/utils.d.ts +16 -16
  80. package/cjs/core/configuration/utils.js +39 -39
  81. package/cjs/core/const.d.ts +3 -3
  82. package/cjs/core/const.js +78 -78
  83. package/cjs/core/contexts.d.ts +25 -25
  84. package/cjs/core/contexts.js +22 -22
  85. package/cjs/core/extension-component.d.ts +26 -26
  86. package/cjs/core/extension-component.js +70 -70
  87. package/cjs/core/helpers.d.ts +30 -30
  88. package/cjs/core/helpers.js +65 -65
  89. package/cjs/core/nested-option.d.ts +15 -15
  90. package/cjs/core/nested-option.js +60 -60
  91. package/cjs/core/options-manager.d.ts +35 -35
  92. package/cjs/core/options-manager.js +228 -228
  93. package/cjs/core/template-manager.d.ts +5 -5
  94. package/cjs/core/template-manager.js +164 -164
  95. package/cjs/core/template-wrapper.d.ts +5 -5
  96. package/cjs/core/template-wrapper.js +121 -121
  97. package/cjs/core/template.d.ts +21 -21
  98. package/cjs/core/template.js +33 -33
  99. package/cjs/core/types.d.ts +80 -80
  100. package/cjs/core/types.js +4 -4
  101. package/cjs/core/use-option-scanning.d.ts +9 -9
  102. package/cjs/core/use-option-scanning.js +50 -50
  103. package/cjs/core/widget-config.d.ts +11 -11
  104. package/cjs/core/widget-config.js +77 -77
  105. package/cjs/data-grid.d.ts +4632 -4628
  106. package/cjs/data-grid.js +1894 -1894
  107. package/cjs/date-box.d.ts +757 -757
  108. package/cjs/date-box.js +354 -354
  109. package/cjs/date-range-box.d.ts +761 -761
  110. package/cjs/date-range-box.js +355 -355
  111. package/cjs/diagram.d.ts +661 -661
  112. package/cjs/diagram.js +478 -478
  113. package/cjs/draggable.d.ts +43 -43
  114. package/cjs/draggable.js +78 -78
  115. package/cjs/drawer.d.ts +30 -30
  116. package/cjs/drawer.js +67 -67
  117. package/cjs/drop-down-box.d.ts +647 -647
  118. package/cjs/drop-down-box.js +349 -349
  119. package/cjs/drop-down-button.d.ts +562 -562
  120. package/cjs/drop-down-button.js +306 -306
  121. package/cjs/file-manager.d.ts +302 -302
  122. package/cjs/file-manager.js +233 -233
  123. package/cjs/file-uploader.d.ts +39 -39
  124. package/cjs/file-uploader.js +59 -59
  125. package/cjs/filter-builder.d.ts +216 -216
  126. package/cjs/filter-builder.js +156 -156
  127. package/cjs/form.d.ts +1020 -1020
  128. package/cjs/form.js +527 -527
  129. package/cjs/funnel.d.ts +898 -898
  130. package/cjs/funnel.js +479 -479
  131. package/cjs/gallery.d.ts +79 -79
  132. package/cjs/gallery.js +92 -92
  133. package/cjs/gantt.d.ts +798 -798
  134. package/cjs/gantt.js +497 -497
  135. package/cjs/html-editor.d.ts +480 -480
  136. package/cjs/html-editor.js +302 -302
  137. package/cjs/index.d.ts +86 -86
  138. package/cjs/index.js +196 -196
  139. package/cjs/linear-gauge.d.ts +734 -734
  140. package/cjs/linear-gauge.js +432 -432
  141. package/cjs/list.d.ts +416 -416
  142. package/cjs/list.js +196 -196
  143. package/cjs/load-indicator.d.ts +26 -26
  144. package/cjs/load-indicator.js +53 -53
  145. package/cjs/load-panel.d.ts +270 -270
  146. package/cjs/load-panel.js +237 -237
  147. package/cjs/lookup.d.ts +485 -485
  148. package/cjs/lookup.js +339 -339
  149. package/cjs/map.d.ts +156 -156
  150. package/cjs/map.js +164 -164
  151. package/cjs/menu.d.ts +355 -355
  152. package/cjs/menu.js +296 -296
  153. package/cjs/multi-view.d.ts +77 -77
  154. package/cjs/multi-view.js +92 -92
  155. package/cjs/number-box.d.ts +142 -142
  156. package/cjs/number-box.js +110 -110
  157. package/cjs/pagination.d.ts +22 -22
  158. package/cjs/pagination.js +60 -60
  159. package/cjs/pie-chart.d.ts +1449 -1449
  160. package/cjs/pie-chart.js +637 -637
  161. package/cjs/pivot-grid-field-chooser.d.ts +133 -133
  162. package/cjs/pivot-grid-field-chooser.js +125 -125
  163. package/cjs/pivot-grid.d.ts +350 -350
  164. package/cjs/pivot-grid.js +235 -235
  165. package/cjs/polar-chart.d.ts +3176 -3176
  166. package/cjs/polar-chart.js +1199 -1199
  167. package/cjs/popover.d.ts +331 -331
  168. package/cjs/popover.js +288 -288
  169. package/cjs/popup.d.ts +293 -293
  170. package/cjs/popup.js +262 -262
  171. package/cjs/progress-bar.d.ts +31 -31
  172. package/cjs/progress-bar.js +59 -59
  173. package/cjs/radio-group.d.ts +56 -56
  174. package/cjs/radio-group.js +90 -90
  175. package/cjs/range-selector.d.ts +2446 -2446
  176. package/cjs/range-selector.js +961 -961
  177. package/cjs/range-slider.d.ts +82 -82
  178. package/cjs/range-slider.js +107 -107
  179. package/cjs/resizable.d.ts +33 -33
  180. package/cjs/resizable.js +60 -60
  181. package/cjs/responsive-box.d.ts +133 -133
  182. package/cjs/responsive-box.js +134 -134
  183. package/cjs/sankey.d.ts +610 -610
  184. package/cjs/sankey.js +352 -352
  185. package/cjs/scheduler.d.ts +1620 -1620
  186. package/cjs/scheduler.js +775 -775
  187. package/cjs/scroll-view.d.ts +29 -29
  188. package/cjs/scroll-view.js +53 -53
  189. package/cjs/select-box.d.ts +676 -676
  190. package/cjs/select-box.js +374 -374
  191. package/cjs/slider.d.ts +82 -82
  192. package/cjs/slider.js +107 -107
  193. package/cjs/sortable.d.ts +47 -47
  194. package/cjs/sortable.js +78 -78
  195. package/cjs/sparkline.d.ts +205 -205
  196. package/cjs/sparkline.js +155 -155
  197. package/cjs/speech-to-text.d.ts +61 -61
  198. package/cjs/speech-to-text.js +83 -83
  199. package/cjs/speed-dial-action.d.ts +27 -27
  200. package/cjs/speed-dial-action.js +53 -53
  201. package/cjs/splitter.d.ts +85 -85
  202. package/cjs/splitter.js +90 -90
  203. package/cjs/stepper.d.ts +82 -82
  204. package/cjs/stepper.js +92 -92
  205. package/cjs/switch.d.ts +30 -30
  206. package/cjs/switch.js +59 -59
  207. package/cjs/tab-panel.d.ts +97 -97
  208. package/cjs/tab-panel.js +101 -101
  209. package/cjs/tabs.d.ts +90 -90
  210. package/cjs/tabs.js +94 -94
  211. package/cjs/tag-box.d.ts +677 -677
  212. package/cjs/tag-box.js +379 -379
  213. package/cjs/text-area.d.ts +40 -40
  214. package/cjs/text-area.js +59 -59
  215. package/cjs/text-box.d.ts +122 -122
  216. package/cjs/text-box.js +97 -97
  217. package/cjs/tile-view.d.ts +73 -73
  218. package/cjs/tile-view.js +90 -90
  219. package/cjs/toast.d.ts +255 -255
  220. package/cjs/toast.js +232 -232
  221. package/cjs/toolbar.d.ts +91 -91
  222. package/cjs/toolbar.js +99 -99
  223. package/cjs/tooltip.d.ts +283 -283
  224. package/cjs/tooltip.js +260 -260
  225. package/cjs/tree-list.d.ts +4160 -4156
  226. package/cjs/tree-list.js +1692 -1692
  227. package/cjs/tree-map.d.ts +586 -586
  228. package/cjs/tree-map.js +382 -382
  229. package/cjs/tree-view.d.ts +290 -290
  230. package/cjs/tree-view.js +145 -145
  231. package/cjs/validation-group.d.ts +25 -25
  232. package/cjs/validation-group.js +53 -53
  233. package/cjs/validation-summary.d.ts +66 -66
  234. package/cjs/validation-summary.js +90 -90
  235. package/cjs/validator.d.ts +271 -271
  236. package/cjs/validator.js +243 -243
  237. package/cjs/vector-map.d.ts +987 -987
  238. package/cjs/vector-map.js +487 -487
  239. package/esm/accordion.js +73 -73
  240. package/esm/action-sheet.js +61 -61
  241. package/esm/autocomplete.js +302 -302
  242. package/esm/bar-gauge.js +359 -359
  243. package/esm/box.js +60 -60
  244. package/esm/bullet.js +119 -119
  245. package/esm/button-group.js +61 -61
  246. package/esm/button.js +32 -32
  247. package/esm/calendar.js +39 -39
  248. package/esm/card-view.js +1332 -1332
  249. package/esm/chart.js +1447 -1447
  250. package/esm/chat.js +290 -290
  251. package/esm/check-box.js +30 -30
  252. package/esm/circular-gauge.js +374 -374
  253. package/esm/color-box.js +300 -300
  254. package/esm/common/ai-integration.js +3 -3
  255. package/esm/common/charts.js +3 -3
  256. package/esm/common/core/animation.js +3 -3
  257. package/esm/common/core/environment.js +3 -3
  258. package/esm/common/core/events.js +3 -3
  259. package/esm/common/core/index.js +6 -6
  260. package/esm/common/core/localization.js +3 -3
  261. package/esm/common/data/custom-store.js +3 -3
  262. package/esm/common/data.js +3 -3
  263. package/esm/common/export/excel.js +3 -3
  264. package/esm/common/export/index.js +4 -4
  265. package/esm/common/export/pdf.js +3 -3
  266. package/esm/common/grids.js +3 -3
  267. package/esm/common/index.js +91 -91
  268. package/esm/context-menu.js +251 -251
  269. package/esm/core/component-base.js +292 -292
  270. package/esm/core/component.js +62 -62
  271. package/esm/core/config.js +13 -13
  272. package/esm/core/configuration/comparer.js +98 -98
  273. package/esm/core/configuration/config-node.js +80 -80
  274. package/esm/core/configuration/react/element.js +47 -47
  275. package/esm/core/configuration/react/templates.js +57 -57
  276. package/esm/core/configuration/tree.js +110 -110
  277. package/esm/core/configuration/utils.js +32 -32
  278. package/esm/core/const.js +75 -75
  279. package/esm/core/contexts.js +19 -19
  280. package/esm/core/extension-component.js +43 -43
  281. package/esm/core/helpers.js +57 -57
  282. package/esm/core/nested-option.js +35 -35
  283. package/esm/core/options-manager.js +223 -223
  284. package/esm/core/template-manager.js +137 -137
  285. package/esm/core/template-wrapper.js +95 -95
  286. package/esm/core/template.js +29 -29
  287. package/esm/core/types.js +3 -3
  288. package/esm/core/use-option-scanning.js +46 -46
  289. package/esm/core/widget-config.js +72 -72
  290. package/esm/data-grid.js +1758 -1758
  291. package/esm/date-box.js +308 -308
  292. package/esm/date-range-box.js +309 -309
  293. package/esm/diagram.js +423 -423
  294. package/esm/draggable.js +48 -48
  295. package/esm/drawer.js +38 -38
  296. package/esm/drop-down-box.js +304 -304
  297. package/esm/drop-down-button.js +263 -263
  298. package/esm/file-manager.js +192 -192
  299. package/esm/file-uploader.js +30 -30
  300. package/esm/filter-builder.js +121 -121
  301. package/esm/form.js +475 -475
  302. package/esm/funnel.js +423 -423
  303. package/esm/gallery.js +62 -62
  304. package/esm/gantt.js +442 -442
  305. package/esm/html-editor.js +259 -259
  306. package/esm/index.js +86 -86
  307. package/esm/linear-gauge.js +378 -378
  308. package/esm/list.js +160 -160
  309. package/esm/load-indicator.js +24 -24
  310. package/esm/load-panel.js +196 -196
  311. package/esm/lookup.js +294 -294
  312. package/esm/map.js +128 -128
  313. package/esm/menu.js +252 -252
  314. package/esm/multi-view.js +62 -62
  315. package/esm/number-box.js +78 -78
  316. package/esm/pagination.js +31 -31
  317. package/esm/pie-chart.js +573 -573
  318. package/esm/pivot-grid-field-chooser.js +91 -91
  319. package/esm/pivot-grid.js +193 -193
  320. package/esm/polar-chart.js +1099 -1099
  321. package/esm/popover.js +245 -245
  322. package/esm/popup.js +221 -221
  323. package/esm/progress-bar.js +30 -30
  324. package/esm/radio-group.js +60 -60
  325. package/esm/range-selector.js +871 -871
  326. package/esm/range-slider.js +75 -75
  327. package/esm/resizable.js +31 -31
  328. package/esm/responsive-box.js +101 -101
  329. package/esm/sankey.js +304 -304
  330. package/esm/scheduler.js +713 -713
  331. package/esm/scroll-view.js +24 -24
  332. package/esm/select-box.js +328 -328
  333. package/esm/slider.js +75 -75
  334. package/esm/sortable.js +48 -48
  335. package/esm/sparkline.js +119 -119
  336. package/esm/speech-to-text.js +52 -52
  337. package/esm/speed-dial-action.js +24 -24
  338. package/esm/splitter.js +60 -60
  339. package/esm/stepper.js +62 -62
  340. package/esm/switch.js +30 -30
  341. package/esm/tab-panel.js +71 -71
  342. package/esm/tabs.js +64 -64
  343. package/esm/tag-box.js +333 -333
  344. package/esm/text-area.js +30 -30
  345. package/esm/text-box.js +66 -66
  346. package/esm/tile-view.js +60 -60
  347. package/esm/toast.js +192 -192
  348. package/esm/toolbar.js +69 -69
  349. package/esm/tooltip.js +218 -218
  350. package/esm/tree-list.js +1569 -1569
  351. package/esm/tree-map.js +332 -332
  352. package/esm/tree-view.js +112 -112
  353. package/esm/validation-group.js +24 -24
  354. package/esm/validation-summary.js +60 -60
  355. package/esm/validator.js +203 -203
  356. package/esm/vector-map.js +432 -432
  357. package/package.json +11 -5
package/cjs/chat.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 26.1.2-beta
4
- * Build date: Fri May 08 2026
3
+ * Version: 26.1.3
4
+ * Build date: Wed Jun 10 2026
5
5
  *
6
6
  * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -11,605 +11,605 @@
11
11
  * https://github.com/DevExpress/DevExtreme
12
12
  */
13
13
 
14
- import * as React from "react";
15
- import { Ref, ReactElement } from "react";
16
- import dxChat, { Properties } from "devextreme/ui/chat";
17
- import { IHtmlOptions, NestedComponentMeta } from "./core/component";
18
- import type { Message, AttachmentDownloadClickEvent, DisposingEvent, InitializedEvent, MessageDeletedEvent, MessageDeletingEvent, MessageEditCanceledEvent, MessageEditingStartEvent, MessageEnteredEvent, MessageUpdatedEvent, MessageUpdatingEvent, TypingEndEvent, TypingStartEvent, Attachment as ChatAttachment, User as ChatUser, SendButtonAction, SendButtonClickEvent } from "devextreme/ui/chat";
19
- import type { DisposingEvent as FileUploaderDisposingEvent, InitializedEvent as FileUploaderInitializedEvent, BeforeSendEvent, ContentReadyEvent, DropZoneEnterEvent, DropZoneLeaveEvent, FilesUploadedEvent, OptionChangedEvent, ProgressEvent, UploadAbortedEvent, UploadedEvent, UploadErrorEvent, UploadStartedEvent, ValueChangedEvent, UploadHttpMethod, FileUploadMode } from "devextreme/ui/file_uploader";
20
- import type { DisposingEvent as SpeechToTextDisposingEvent, InitializedEvent as SpeechToTextInitializedEvent, ContentReadyEvent as SpeechToTextContentReadyEvent, OptionChangedEvent as SpeechToTextOptionChangedEvent, CustomSpeechRecognizer as SpeechToTextCustomSpeechRecognizer, EndEvent, ErrorEvent, ResultEvent, StartClickEvent, StopClickEvent, SpeechRecognitionConfig as SpeechToTextSpeechRecognitionConfig } from "devextreme/ui/speech_to_text";
21
- import type { DisposingEvent as ButtonGroupDisposingEvent, InitializedEvent as ButtonGroupInitializedEvent, ContentReadyEvent as ButtonGroupContentReadyEvent, OptionChangedEvent as ButtonGroupOptionChangedEvent, dxButtonGroupItem, ItemClickEvent, SelectionChangedEvent } from "devextreme/ui/button_group";
22
- import type { Format, ValidationStatus, ButtonType, template, ButtonStyle, SingleMultipleOrNone } from "devextreme/common";
23
- import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
24
- import type UploadInfo from "devextreme/file_management/upload_info";
25
- type ReplaceFieldTypes<TSource, TReplacement> = {
26
- [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
27
- };
28
- type IChatOptionsNarrowedEvents = {
29
- onAttachmentDownloadClick?: ((e: AttachmentDownloadClickEvent) => void) | undefined;
30
- onDisposing?: ((e: DisposingEvent) => void);
31
- onInitialized?: ((e: InitializedEvent) => void);
32
- onMessageDeleted?: ((e: MessageDeletedEvent) => void) | undefined;
33
- onMessageDeleting?: ((e: MessageDeletingEvent) => void) | undefined;
34
- onMessageEditCanceled?: ((e: MessageEditCanceledEvent) => void) | undefined;
35
- onMessageEditingStart?: ((e: MessageEditingStartEvent) => void) | undefined;
36
- onMessageEntered?: ((e: MessageEnteredEvent) => void) | undefined;
37
- onMessageUpdated?: ((e: MessageUpdatedEvent) => void) | undefined;
38
- onMessageUpdating?: ((e: MessageUpdatingEvent) => void) | undefined;
39
- onTypingEnd?: ((e: TypingEndEvent) => void) | undefined;
40
- onTypingStart?: ((e: TypingStartEvent) => void) | undefined;
41
- };
42
- type IChatOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IChatOptionsNarrowedEvents> & IHtmlOptions & {
43
- emptyViewRender?: (...params: any) => React.ReactNode;
44
- emptyViewComponent?: React.ComponentType<any>;
45
- messageRender?: (...params: any) => React.ReactNode;
46
- messageComponent?: React.ComponentType<any>;
47
- defaultItems?: Array<Message>;
48
- onItemsChange?: (value: Array<Message>) => void;
49
- }>;
50
- interface ChatRef {
51
- instance: () => dxChat;
52
- }
53
- declare const Chat: (props: React.PropsWithChildren<IChatOptions> & {
54
- ref?: Ref<ChatRef>;
55
- }) => ReactElement | null;
56
- type IAlertProps = React.PropsWithChildren<{
57
- id?: number | string;
58
- message?: string;
59
- }>;
60
- declare const Alert: ((props: IAlertProps) => React.FunctionComponentElement<React.PropsWithChildren<{
61
- id?: string | number | undefined;
62
- message?: string | undefined;
63
- } & {
64
- children?: React.ReactNode;
65
- } & {
66
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
67
- }>>) & NestedComponentMeta;
68
- type IAttachmentProps = React.PropsWithChildren<{
69
- name?: string;
70
- size?: number;
71
- }>;
72
- declare const Attachment: ((props: IAttachmentProps) => React.FunctionComponentElement<React.PropsWithChildren<{
73
- name?: string | undefined;
74
- size?: number | undefined;
75
- } & {
76
- children?: React.ReactNode;
77
- } & {
78
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
79
- }>>) & NestedComponentMeta;
80
- type IAuthorProps = React.PropsWithChildren<{
81
- avatarAlt?: string;
82
- avatarUrl?: string;
83
- id?: number | string;
84
- name?: string;
85
- }>;
86
- declare const Author: ((props: IAuthorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
87
- avatarAlt?: string | undefined;
88
- avatarUrl?: string | undefined;
89
- id?: string | number | undefined;
90
- name?: string | undefined;
91
- } & {
92
- children?: React.ReactNode;
93
- } & {
94
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
95
- }>>) & NestedComponentMeta;
96
- type IChatItemProps = React.PropsWithChildren<{
97
- alt?: string;
98
- attachments?: Array<ChatAttachment>;
99
- author?: ChatUser;
100
- id?: number | string;
101
- isDeleted?: boolean;
102
- isEdited?: boolean;
103
- src?: string;
104
- text?: string;
105
- timestamp?: Date | number | string;
106
- type?: string | undefined;
107
- }>;
108
- declare const ChatItem: ((props: IChatItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
109
- alt?: string | undefined;
110
- attachments?: ChatAttachment[] | undefined;
111
- author?: ChatUser | undefined;
112
- id?: string | number | undefined;
113
- isDeleted?: boolean | undefined;
114
- isEdited?: boolean | undefined;
115
- src?: string | undefined;
116
- text?: string | undefined;
117
- timestamp?: string | number | Date | undefined;
118
- type?: string | undefined;
119
- } & {
120
- children?: React.ReactNode;
121
- } & {
122
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
123
- }>>) & NestedComponentMeta;
124
- type ICustomSpeechRecognizerProps = React.PropsWithChildren<{
125
- enabled?: boolean;
126
- isListening?: boolean;
127
- }>;
128
- declare const CustomSpeechRecognizer: ((props: ICustomSpeechRecognizerProps) => React.FunctionComponentElement<React.PropsWithChildren<{
129
- enabled?: boolean | undefined;
130
- isListening?: boolean | undefined;
131
- } & {
132
- children?: React.ReactNode;
133
- } & {
134
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
135
- }>>) & NestedComponentMeta;
136
- type IDayHeaderFormatProps = React.PropsWithChildren<{
137
- currency?: string;
138
- formatter?: ((value: number | Date) => string);
139
- parser?: ((value: string) => number | Date);
140
- precision?: number;
141
- type?: Format | string;
142
- useCurrencyAccountingStyle?: boolean;
143
- }>;
144
- declare const DayHeaderFormat: ((props: IDayHeaderFormatProps) => React.FunctionComponentElement<React.PropsWithChildren<{
145
- currency?: string | undefined;
146
- formatter?: ((value: number | Date) => string) | undefined;
147
- parser?: ((value: string) => number | Date) | undefined;
148
- precision?: number | undefined;
149
- type?: string | undefined;
150
- useCurrencyAccountingStyle?: boolean | undefined;
151
- } & {
152
- children?: React.ReactNode;
153
- } & {
154
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
155
- }>>) & NestedComponentMeta;
156
- type IEditingProps = React.PropsWithChildren<{
157
- allowDeleting?: boolean | ((options: {
158
- component: dxChat;
159
- message: Message;
160
- }) => boolean);
161
- allowUpdating?: boolean | ((options: {
162
- component: dxChat;
163
- message: Message;
164
- }) => boolean);
165
- }>;
166
- declare const Editing: ((props: IEditingProps) => React.FunctionComponentElement<React.PropsWithChildren<{
167
- allowDeleting?: boolean | ((options: {
168
- component: dxChat;
169
- message: Message;
170
- }) => boolean) | undefined;
171
- allowUpdating?: boolean | ((options: {
172
- component: dxChat;
173
- message: Message;
174
- }) => boolean) | undefined;
175
- } & {
176
- children?: React.ReactNode;
177
- } & {
178
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
179
- }>>) & NestedComponentMeta;
180
- type IFileUploaderOptionsProps = React.PropsWithChildren<{
181
- abortUpload?: ((file: any, uploadInfo?: UploadInfo) => any);
182
- accept?: string;
183
- accessKey?: string | undefined;
184
- activeStateEnabled?: boolean;
185
- allowCanceling?: boolean;
186
- allowedFileExtensions?: Array<string>;
187
- chunkSize?: number;
188
- dialogTrigger?: any | string | undefined;
189
- disabled?: boolean;
190
- dropZone?: any | string | undefined;
191
- elementAttr?: Record<string, any>;
192
- focusStateEnabled?: boolean;
193
- height?: number | string | undefined;
194
- hint?: string | undefined;
195
- hoverStateEnabled?: boolean;
196
- inputAttr?: any;
197
- invalidFileExtensionMessage?: string;
198
- invalidMaxFileSizeMessage?: string;
199
- invalidMinFileSizeMessage?: string;
200
- isDirty?: boolean;
201
- isValid?: boolean;
202
- labelText?: string;
203
- maxFileSize?: number;
204
- minFileSize?: number;
205
- multiple?: boolean;
206
- name?: string;
207
- onBeforeSend?: ((e: BeforeSendEvent) => void);
208
- onContentReady?: ((e: ContentReadyEvent) => void);
209
- onDisposing?: ((e: FileUploaderDisposingEvent) => void);
210
- onDropZoneEnter?: ((e: DropZoneEnterEvent) => void);
211
- onDropZoneLeave?: ((e: DropZoneLeaveEvent) => void);
212
- onFilesUploaded?: ((e: FilesUploadedEvent) => void);
213
- onInitialized?: ((e: FileUploaderInitializedEvent) => void);
214
- onOptionChanged?: ((e: OptionChangedEvent) => void);
215
- onProgress?: ((e: ProgressEvent) => void);
216
- onUploadAborted?: ((e: UploadAbortedEvent) => void);
217
- onUploaded?: ((e: UploadedEvent) => void);
218
- onUploadError?: ((e: UploadErrorEvent) => void);
219
- onUploadStarted?: ((e: UploadStartedEvent) => void);
220
- onValueChanged?: ((e: ValueChangedEvent) => void);
221
- progress?: number;
222
- readOnly?: boolean;
223
- readyToUploadMessage?: string;
224
- rtlEnabled?: boolean;
225
- selectButtonText?: string;
226
- showFileList?: boolean;
227
- tabIndex?: number;
228
- uploadAbortedMessage?: string;
229
- uploadButtonText?: string;
230
- uploadChunk?: ((file: any, uploadInfo: UploadInfo) => any);
231
- uploadCustomData?: any;
232
- uploadedMessage?: string;
233
- uploadFailedMessage?: string;
234
- uploadFile?: ((file: any, progressCallback: (() => void)) => any);
235
- uploadHeaders?: any;
236
- uploadMethod?: UploadHttpMethod;
237
- uploadMode?: FileUploadMode;
238
- uploadUrl?: string;
239
- validationError?: any;
240
- validationErrors?: Array<any>;
241
- validationStatus?: ValidationStatus;
242
- value?: Array<any>;
243
- visible?: boolean;
244
- width?: number | string | undefined;
245
- defaultValue?: Array<any>;
246
- onValueChange?: (value: Array<any>) => void;
247
- }>;
248
- declare const FileUploaderOptions: ((props: IFileUploaderOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
249
- abortUpload?: ((file: any, uploadInfo?: UploadInfo) => any) | undefined;
250
- accept?: string | undefined;
251
- accessKey?: string | undefined;
252
- activeStateEnabled?: boolean | undefined;
253
- allowCanceling?: boolean | undefined;
254
- allowedFileExtensions?: string[] | undefined;
255
- chunkSize?: number | undefined;
256
- dialogTrigger?: any | string | undefined;
257
- disabled?: boolean | undefined;
258
- dropZone?: any | string | undefined;
259
- elementAttr?: Record<string, any> | undefined;
260
- focusStateEnabled?: boolean | undefined;
261
- height?: number | string | undefined;
262
- hint?: string | undefined;
263
- hoverStateEnabled?: boolean | undefined;
264
- inputAttr?: any;
265
- invalidFileExtensionMessage?: string | undefined;
266
- invalidMaxFileSizeMessage?: string | undefined;
267
- invalidMinFileSizeMessage?: string | undefined;
268
- isDirty?: boolean | undefined;
269
- isValid?: boolean | undefined;
270
- labelText?: string | undefined;
271
- maxFileSize?: number | undefined;
272
- minFileSize?: number | undefined;
273
- multiple?: boolean | undefined;
274
- name?: string | undefined;
275
- onBeforeSend?: ((e: BeforeSendEvent) => void) | undefined;
276
- onContentReady?: ((e: ContentReadyEvent) => void) | undefined;
277
- onDisposing?: ((e: FileUploaderDisposingEvent) => void) | undefined;
278
- onDropZoneEnter?: ((e: DropZoneEnterEvent) => void) | undefined;
279
- onDropZoneLeave?: ((e: DropZoneLeaveEvent) => void) | undefined;
280
- onFilesUploaded?: ((e: FilesUploadedEvent) => void) | undefined;
281
- onInitialized?: ((e: FileUploaderInitializedEvent) => void) | undefined;
282
- onOptionChanged?: ((e: OptionChangedEvent) => void) | undefined;
283
- onProgress?: ((e: ProgressEvent) => void) | undefined;
284
- onUploadAborted?: ((e: UploadAbortedEvent) => void) | undefined;
285
- onUploaded?: ((e: UploadedEvent) => void) | undefined;
286
- onUploadError?: ((e: UploadErrorEvent) => void) | undefined;
287
- onUploadStarted?: ((e: UploadStartedEvent) => void) | undefined;
288
- onValueChanged?: ((e: ValueChangedEvent) => void) | undefined;
289
- progress?: number | undefined;
290
- readOnly?: boolean | undefined;
291
- readyToUploadMessage?: string | undefined;
292
- rtlEnabled?: boolean | undefined;
293
- selectButtonText?: string | undefined;
294
- showFileList?: boolean | undefined;
295
- tabIndex?: number | undefined;
296
- uploadAbortedMessage?: string | undefined;
297
- uploadButtonText?: string | undefined;
298
- uploadChunk?: ((file: any, uploadInfo: UploadInfo) => any) | undefined;
299
- uploadCustomData?: any;
300
- uploadedMessage?: string | undefined;
301
- uploadFailedMessage?: string | undefined;
302
- uploadFile?: ((file: any, progressCallback: (() => void)) => any) | undefined;
303
- uploadHeaders?: any;
304
- uploadMethod?: UploadHttpMethod | undefined;
305
- uploadMode?: FileUploadMode | undefined;
306
- uploadUrl?: string | undefined;
307
- validationError?: any;
308
- validationErrors?: any[] | undefined;
309
- validationStatus?: ValidationStatus | undefined;
310
- value?: any[] | undefined;
311
- visible?: boolean | undefined;
312
- width?: number | string | undefined;
313
- defaultValue?: any[] | undefined;
314
- onValueChange?: ((value: Array<any>) => void) | undefined;
315
- } & {
316
- children?: React.ReactNode;
317
- } & {
318
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
319
- }>>) & NestedComponentMeta;
320
- type IItemProps = React.PropsWithChildren<{
321
- alt?: string;
322
- attachments?: Array<ChatAttachment>;
323
- author?: ChatUser;
324
- id?: number | string;
325
- isDeleted?: boolean;
326
- isEdited?: boolean;
327
- src?: string;
328
- text?: string;
329
- timestamp?: Date | number | string;
330
- type?: string | undefined | ButtonType;
331
- disabled?: boolean;
332
- elementAttr?: Record<string, any>;
333
- hint?: string;
334
- icon?: string;
335
- template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
336
- visible?: boolean;
337
- render?: (...params: any) => React.ReactNode;
338
- component?: React.ComponentType<any>;
339
- }>;
340
- declare const Item: ((props: IItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
341
- alt?: string | undefined;
342
- attachments?: ChatAttachment[] | undefined;
343
- author?: ChatUser | undefined;
344
- id?: string | number | undefined;
345
- isDeleted?: boolean | undefined;
346
- isEdited?: boolean | undefined;
347
- src?: string | undefined;
348
- text?: string | undefined;
349
- timestamp?: string | number | Date | undefined;
350
- type?: string | undefined | ButtonType;
351
- disabled?: boolean | undefined;
352
- elementAttr?: Record<string, any> | undefined;
353
- hint?: string | undefined;
354
- icon?: string | undefined;
355
- template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
356
- visible?: boolean | undefined;
357
- render?: ((...params: any) => React.ReactNode) | undefined;
358
- component?: React.ComponentType<any> | undefined;
359
- } & {
360
- children?: React.ReactNode;
361
- } & {
362
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
363
- }>>) & NestedComponentMeta;
364
- type IMessageTimestampFormatProps = React.PropsWithChildren<{
365
- currency?: string;
366
- formatter?: ((value: number | Date) => string);
367
- parser?: ((value: string) => number | Date);
368
- precision?: number;
369
- type?: Format | string;
370
- useCurrencyAccountingStyle?: boolean;
371
- }>;
372
- declare const MessageTimestampFormat: ((props: IMessageTimestampFormatProps) => React.FunctionComponentElement<React.PropsWithChildren<{
373
- currency?: string | undefined;
374
- formatter?: ((value: number | Date) => string) | undefined;
375
- parser?: ((value: string) => number | Date) | undefined;
376
- precision?: number | undefined;
377
- type?: string | undefined;
378
- useCurrencyAccountingStyle?: boolean | undefined;
379
- } & {
380
- children?: React.ReactNode;
381
- } & {
382
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
383
- }>>) & NestedComponentMeta;
384
- type ISendButtonOptionsProps = React.PropsWithChildren<{
385
- action?: SendButtonAction;
386
- icon?: string;
387
- onClick?: ((e: SendButtonClickEvent) => void);
388
- }>;
389
- declare const SendButtonOptions: ((props: ISendButtonOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
390
- action?: SendButtonAction | undefined;
391
- icon?: string | undefined;
392
- onClick?: ((e: SendButtonClickEvent) => void) | undefined;
393
- } & {
394
- children?: React.ReactNode;
395
- } & {
396
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
397
- }>>) & NestedComponentMeta;
398
- type ISpeechRecognitionConfigProps = React.PropsWithChildren<{
399
- continuous?: boolean;
400
- grammars?: Array<string>;
401
- interimResults?: boolean;
402
- lang?: string;
403
- maxAlternatives?: number;
404
- }>;
405
- declare const SpeechRecognitionConfig: ((props: ISpeechRecognitionConfigProps) => React.FunctionComponentElement<React.PropsWithChildren<{
406
- continuous?: boolean | undefined;
407
- grammars?: string[] | undefined;
408
- interimResults?: boolean | undefined;
409
- lang?: string | undefined;
410
- maxAlternatives?: number | undefined;
411
- } & {
412
- children?: React.ReactNode;
413
- } & {
414
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
415
- }>>) & NestedComponentMeta;
416
- type ISpeechToTextOptionsProps = React.PropsWithChildren<{
417
- accessKey?: string | undefined;
418
- activeStateEnabled?: boolean;
419
- customSpeechRecognizer?: SpeechToTextCustomSpeechRecognizer;
420
- disabled?: boolean;
421
- elementAttr?: Record<string, any>;
422
- focusStateEnabled?: boolean;
423
- height?: number | string | undefined;
424
- hint?: string | undefined;
425
- hoverStateEnabled?: boolean;
426
- onContentReady?: ((e: SpeechToTextContentReadyEvent) => void);
427
- onDisposing?: ((e: SpeechToTextDisposingEvent) => void);
428
- onEnd?: ((e: EndEvent) => void) | undefined;
429
- onError?: ((e: ErrorEvent) => void) | undefined;
430
- onInitialized?: ((e: SpeechToTextInitializedEvent) => void);
431
- onOptionChanged?: ((e: SpeechToTextOptionChangedEvent) => void);
432
- onResult?: ((e: ResultEvent) => void) | undefined;
433
- onStartClick?: ((e: StartClickEvent) => void) | undefined;
434
- onStopClick?: ((e: StopClickEvent) => void) | undefined;
435
- rtlEnabled?: boolean;
436
- speechRecognitionConfig?: Record<string, any> | SpeechToTextSpeechRecognitionConfig;
437
- startIcon?: string;
438
- startText?: string;
439
- stopIcon?: string;
440
- stopText?: string;
441
- stylingMode?: ButtonStyle;
442
- tabIndex?: number;
443
- type?: ButtonType | string;
444
- visible?: boolean;
445
- width?: number | string | undefined;
446
- }>;
447
- declare const SpeechToTextOptions: ((props: ISpeechToTextOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
448
- accessKey?: string | undefined;
449
- activeStateEnabled?: boolean | undefined;
450
- customSpeechRecognizer?: SpeechToTextCustomSpeechRecognizer | undefined;
451
- disabled?: boolean | undefined;
452
- elementAttr?: Record<string, any> | undefined;
453
- focusStateEnabled?: boolean | undefined;
454
- height?: number | string | undefined;
455
- hint?: string | undefined;
456
- hoverStateEnabled?: boolean | undefined;
457
- onContentReady?: ((e: SpeechToTextContentReadyEvent) => void) | undefined;
458
- onDisposing?: ((e: SpeechToTextDisposingEvent) => void) | undefined;
459
- onEnd?: ((e: EndEvent) => void) | undefined;
460
- onError?: ((e: ErrorEvent) => void) | undefined;
461
- onInitialized?: ((e: SpeechToTextInitializedEvent) => void) | undefined;
462
- onOptionChanged?: ((e: SpeechToTextOptionChangedEvent) => void) | undefined;
463
- onResult?: ((e: ResultEvent) => void) | undefined;
464
- onStartClick?: ((e: StartClickEvent) => void) | undefined;
465
- onStopClick?: ((e: StopClickEvent) => void) | undefined;
466
- rtlEnabled?: boolean | undefined;
467
- speechRecognitionConfig?: Record<string, any> | SpeechToTextSpeechRecognitionConfig | undefined;
468
- startIcon?: string | undefined;
469
- startText?: string | undefined;
470
- stopIcon?: string | undefined;
471
- stopText?: string | undefined;
472
- stylingMode?: ButtonStyle | undefined;
473
- tabIndex?: number | undefined;
474
- type?: string | undefined;
475
- visible?: boolean | undefined;
476
- width?: number | string | undefined;
477
- } & {
478
- children?: React.ReactNode;
479
- } & {
480
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
481
- }>>) & NestedComponentMeta;
482
- type ISuggestionsProps = React.PropsWithChildren<{
483
- accessKey?: string | undefined;
484
- activeStateEnabled?: boolean;
485
- buttonTemplate?: ((buttonData: any, buttonContent: any) => string | any) | template;
486
- disabled?: boolean;
487
- elementAttr?: Record<string, any>;
488
- focusStateEnabled?: boolean;
489
- height?: number | string | undefined;
490
- hint?: string | undefined;
491
- hoverStateEnabled?: boolean;
492
- items?: Array<dxButtonGroupItem>;
493
- keyExpr?: ((item: any) => any) | string;
494
- onContentReady?: ((e: ButtonGroupContentReadyEvent) => void);
495
- onDisposing?: ((e: ButtonGroupDisposingEvent) => void);
496
- onInitialized?: ((e: ButtonGroupInitializedEvent) => void);
497
- onItemClick?: ((e: ItemClickEvent) => void);
498
- onOptionChanged?: ((e: ButtonGroupOptionChangedEvent) => void);
499
- onSelectionChanged?: ((e: SelectionChangedEvent) => void);
500
- rtlEnabled?: boolean;
501
- selectedItemKeys?: Array<any>;
502
- selectedItems?: Array<any>;
503
- selectionMode?: SingleMultipleOrNone;
504
- stylingMode?: ButtonStyle;
505
- tabIndex?: number;
506
- visible?: boolean;
507
- width?: number | string | undefined;
508
- defaultSelectedItemKeys?: Array<any>;
509
- onSelectedItemKeysChange?: (value: Array<any>) => void;
510
- defaultSelectedItems?: Array<any>;
511
- onSelectedItemsChange?: (value: Array<any>) => void;
512
- buttonRender?: (...params: any) => React.ReactNode;
513
- buttonComponent?: React.ComponentType<any>;
514
- }>;
515
- declare const Suggestions: ((props: ISuggestionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
516
- accessKey?: string | undefined;
517
- activeStateEnabled?: boolean | undefined;
518
- buttonTemplate?: template | ((buttonData: any, buttonContent: any) => string | any) | undefined;
519
- disabled?: boolean | undefined;
520
- elementAttr?: Record<string, any> | undefined;
521
- focusStateEnabled?: boolean | undefined;
522
- height?: number | string | undefined;
523
- hint?: string | undefined;
524
- hoverStateEnabled?: boolean | undefined;
525
- items?: dxButtonGroupItem[] | undefined;
526
- keyExpr?: string | ((item: any) => any) | undefined;
527
- onContentReady?: ((e: ButtonGroupContentReadyEvent) => void) | undefined;
528
- onDisposing?: ((e: ButtonGroupDisposingEvent) => void) | undefined;
529
- onInitialized?: ((e: ButtonGroupInitializedEvent) => void) | undefined;
530
- onItemClick?: ((e: ItemClickEvent) => void) | undefined;
531
- onOptionChanged?: ((e: ButtonGroupOptionChangedEvent) => void) | undefined;
532
- onSelectionChanged?: ((e: SelectionChangedEvent) => void) | undefined;
533
- rtlEnabled?: boolean | undefined;
534
- selectedItemKeys?: any[] | undefined;
535
- selectedItems?: any[] | undefined;
536
- selectionMode?: SingleMultipleOrNone | undefined;
537
- stylingMode?: ButtonStyle | undefined;
538
- tabIndex?: number | undefined;
539
- visible?: boolean | undefined;
540
- width?: number | string | undefined;
541
- defaultSelectedItemKeys?: any[] | undefined;
542
- onSelectedItemKeysChange?: ((value: Array<any>) => void) | undefined;
543
- defaultSelectedItems?: any[] | undefined;
544
- onSelectedItemsChange?: ((value: Array<any>) => void) | undefined;
545
- buttonRender?: ((...params: any) => React.ReactNode) | undefined;
546
- buttonComponent?: React.ComponentType<any> | undefined;
547
- } & {
548
- children?: React.ReactNode;
549
- } & {
550
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
551
- }>>) & NestedComponentMeta;
552
- type ISuggestionsItemProps = React.PropsWithChildren<{
553
- disabled?: boolean;
554
- elementAttr?: Record<string, any>;
555
- hint?: string;
556
- icon?: string;
557
- template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
558
- text?: string;
559
- type?: ButtonType | string;
560
- visible?: boolean;
561
- render?: (...params: any) => React.ReactNode;
562
- component?: React.ComponentType<any>;
563
- }>;
564
- declare const SuggestionsItem: ((props: ISuggestionsItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
565
- disabled?: boolean | undefined;
566
- elementAttr?: Record<string, any> | undefined;
567
- hint?: string | undefined;
568
- icon?: string | undefined;
569
- template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
570
- text?: string | undefined;
571
- type?: string | undefined;
572
- visible?: boolean | undefined;
573
- render?: ((...params: any) => React.ReactNode) | undefined;
574
- component?: React.ComponentType<any> | undefined;
575
- } & {
576
- children?: React.ReactNode;
577
- } & {
578
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
579
- }>>) & NestedComponentMeta;
580
- type ITypingUserProps = React.PropsWithChildren<{
581
- avatarAlt?: string;
582
- avatarUrl?: string;
583
- id?: number | string;
584
- name?: string;
585
- }>;
586
- declare const TypingUser: ((props: ITypingUserProps) => React.FunctionComponentElement<React.PropsWithChildren<{
587
- avatarAlt?: string | undefined;
588
- avatarUrl?: string | undefined;
589
- id?: string | number | undefined;
590
- name?: string | undefined;
591
- } & {
592
- children?: React.ReactNode;
593
- } & {
594
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
595
- }>>) & NestedComponentMeta;
596
- type IUserProps = React.PropsWithChildren<{
597
- avatarAlt?: string;
598
- avatarUrl?: string;
599
- id?: number | string;
600
- name?: string;
601
- }>;
602
- declare const User: ((props: IUserProps) => React.FunctionComponentElement<React.PropsWithChildren<{
603
- avatarAlt?: string | undefined;
604
- avatarUrl?: string | undefined;
605
- id?: string | number | undefined;
606
- name?: string | undefined;
607
- } & {
608
- children?: React.ReactNode;
609
- } & {
610
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
611
- }>>) & NestedComponentMeta;
612
- export default Chat;
613
- export { Chat, IChatOptions, ChatRef, Alert, IAlertProps, Attachment, IAttachmentProps, Author, IAuthorProps, ChatItem, IChatItemProps, CustomSpeechRecognizer, ICustomSpeechRecognizerProps, DayHeaderFormat, IDayHeaderFormatProps, Editing, IEditingProps, FileUploaderOptions, IFileUploaderOptionsProps, Item, IItemProps, MessageTimestampFormat, IMessageTimestampFormatProps, SendButtonOptions, ISendButtonOptionsProps, SpeechRecognitionConfig, ISpeechRecognitionConfigProps, SpeechToTextOptions, ISpeechToTextOptionsProps, Suggestions, ISuggestionsProps, SuggestionsItem, ISuggestionsItemProps, TypingUser, ITypingUserProps, User, IUserProps };
614
- import type * as ChatTypes from 'devextreme/ui/chat_types';
615
- export { ChatTypes };
14
+ import * as React from "react";
15
+ import { Ref, ReactElement } from "react";
16
+ import dxChat, { Properties } from "devextreme/ui/chat";
17
+ import { IHtmlOptions, NestedComponentMeta } from "./core/component";
18
+ import type { Message, AttachmentDownloadClickEvent, DisposingEvent, InitializedEvent, MessageDeletedEvent, MessageDeletingEvent, MessageEditCanceledEvent, MessageEditingStartEvent, MessageEnteredEvent, MessageUpdatedEvent, MessageUpdatingEvent, TypingEndEvent, TypingStartEvent, Attachment as ChatAttachment, User as ChatUser, SendButtonAction, SendButtonClickEvent } from "devextreme/ui/chat";
19
+ import type { DisposingEvent as FileUploaderDisposingEvent, InitializedEvent as FileUploaderInitializedEvent, BeforeSendEvent, ContentReadyEvent, DropZoneEnterEvent, DropZoneLeaveEvent, FilesUploadedEvent, OptionChangedEvent, ProgressEvent, UploadAbortedEvent, UploadedEvent, UploadErrorEvent, UploadStartedEvent, ValueChangedEvent, UploadHttpMethod, FileUploadMode } from "devextreme/ui/file_uploader";
20
+ import type { DisposingEvent as SpeechToTextDisposingEvent, InitializedEvent as SpeechToTextInitializedEvent, ContentReadyEvent as SpeechToTextContentReadyEvent, OptionChangedEvent as SpeechToTextOptionChangedEvent, CustomSpeechRecognizer as SpeechToTextCustomSpeechRecognizer, EndEvent, ErrorEvent, ResultEvent, StartClickEvent, StopClickEvent, SpeechRecognitionConfig as SpeechToTextSpeechRecognitionConfig } from "devextreme/ui/speech_to_text";
21
+ import type { DisposingEvent as ButtonGroupDisposingEvent, InitializedEvent as ButtonGroupInitializedEvent, ContentReadyEvent as ButtonGroupContentReadyEvent, OptionChangedEvent as ButtonGroupOptionChangedEvent, dxButtonGroupItem, ItemClickEvent, SelectionChangedEvent } from "devextreme/ui/button_group";
22
+ import type { Format, ValidationStatus, ButtonType, template, ButtonStyle, SingleMultipleOrNone } from "devextreme/common";
23
+ import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
24
+ import type UploadInfo from "devextreme/file_management/upload_info";
25
+ type ReplaceFieldTypes<TSource, TReplacement> = {
26
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
27
+ };
28
+ type IChatOptionsNarrowedEvents = {
29
+ onAttachmentDownloadClick?: ((e: AttachmentDownloadClickEvent) => void) | undefined;
30
+ onDisposing?: ((e: DisposingEvent) => void);
31
+ onInitialized?: ((e: InitializedEvent) => void);
32
+ onMessageDeleted?: ((e: MessageDeletedEvent) => void) | undefined;
33
+ onMessageDeleting?: ((e: MessageDeletingEvent) => void) | undefined;
34
+ onMessageEditCanceled?: ((e: MessageEditCanceledEvent) => void) | undefined;
35
+ onMessageEditingStart?: ((e: MessageEditingStartEvent) => void) | undefined;
36
+ onMessageEntered?: ((e: MessageEnteredEvent) => void) | undefined;
37
+ onMessageUpdated?: ((e: MessageUpdatedEvent) => void) | undefined;
38
+ onMessageUpdating?: ((e: MessageUpdatingEvent) => void) | undefined;
39
+ onTypingEnd?: ((e: TypingEndEvent) => void) | undefined;
40
+ onTypingStart?: ((e: TypingStartEvent) => void) | undefined;
41
+ };
42
+ type IChatOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IChatOptionsNarrowedEvents> & IHtmlOptions & {
43
+ emptyViewRender?: (...params: any) => React.ReactNode;
44
+ emptyViewComponent?: React.ComponentType<any>;
45
+ messageRender?: (...params: any) => React.ReactNode;
46
+ messageComponent?: React.ComponentType<any>;
47
+ defaultItems?: Array<Message>;
48
+ onItemsChange?: (value: Array<Message>) => void;
49
+ }>;
50
+ interface ChatRef {
51
+ instance: () => dxChat;
52
+ }
53
+ declare const Chat: (props: React.PropsWithChildren<IChatOptions> & {
54
+ ref?: Ref<ChatRef>;
55
+ }) => ReactElement | null;
56
+ type IAlertProps = React.PropsWithChildren<{
57
+ id?: number | string;
58
+ message?: string;
59
+ }>;
60
+ declare const Alert: ((props: IAlertProps) => React.FunctionComponentElement<React.PropsWithChildren<{
61
+ id?: string | number | undefined;
62
+ message?: string | undefined;
63
+ } & {
64
+ children?: React.ReactNode;
65
+ } & {
66
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
67
+ }>>) & NestedComponentMeta;
68
+ type IAttachmentProps = React.PropsWithChildren<{
69
+ name?: string;
70
+ size?: number;
71
+ }>;
72
+ declare const Attachment: ((props: IAttachmentProps) => React.FunctionComponentElement<React.PropsWithChildren<{
73
+ name?: string | undefined;
74
+ size?: number | undefined;
75
+ } & {
76
+ children?: React.ReactNode;
77
+ } & {
78
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
79
+ }>>) & NestedComponentMeta;
80
+ type IAuthorProps = React.PropsWithChildren<{
81
+ avatarAlt?: string;
82
+ avatarUrl?: string;
83
+ id?: number | string;
84
+ name?: string;
85
+ }>;
86
+ declare const Author: ((props: IAuthorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
87
+ avatarAlt?: string | undefined;
88
+ avatarUrl?: string | undefined;
89
+ id?: string | number | undefined;
90
+ name?: string | undefined;
91
+ } & {
92
+ children?: React.ReactNode;
93
+ } & {
94
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
95
+ }>>) & NestedComponentMeta;
96
+ type IChatItemProps = React.PropsWithChildren<{
97
+ alt?: string;
98
+ attachments?: Array<ChatAttachment>;
99
+ author?: ChatUser;
100
+ id?: number | string;
101
+ isDeleted?: boolean;
102
+ isEdited?: boolean;
103
+ src?: string;
104
+ text?: string;
105
+ timestamp?: Date | number | string;
106
+ type?: string | undefined;
107
+ }>;
108
+ declare const ChatItem: ((props: IChatItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
109
+ alt?: string | undefined;
110
+ attachments?: ChatAttachment[] | undefined;
111
+ author?: ChatUser | undefined;
112
+ id?: string | number | undefined;
113
+ isDeleted?: boolean | undefined;
114
+ isEdited?: boolean | undefined;
115
+ src?: string | undefined;
116
+ text?: string | undefined;
117
+ timestamp?: string | number | Date | undefined;
118
+ type?: string | undefined;
119
+ } & {
120
+ children?: React.ReactNode;
121
+ } & {
122
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
123
+ }>>) & NestedComponentMeta;
124
+ type ICustomSpeechRecognizerProps = React.PropsWithChildren<{
125
+ enabled?: boolean;
126
+ isListening?: boolean;
127
+ }>;
128
+ declare const CustomSpeechRecognizer: ((props: ICustomSpeechRecognizerProps) => React.FunctionComponentElement<React.PropsWithChildren<{
129
+ enabled?: boolean | undefined;
130
+ isListening?: boolean | undefined;
131
+ } & {
132
+ children?: React.ReactNode;
133
+ } & {
134
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
135
+ }>>) & NestedComponentMeta;
136
+ type IDayHeaderFormatProps = React.PropsWithChildren<{
137
+ currency?: string;
138
+ formatter?: ((value: number | Date) => string);
139
+ parser?: ((value: string) => number | Date);
140
+ precision?: number;
141
+ type?: Format | string;
142
+ useCurrencyAccountingStyle?: boolean;
143
+ }>;
144
+ declare const DayHeaderFormat: ((props: IDayHeaderFormatProps) => React.FunctionComponentElement<React.PropsWithChildren<{
145
+ currency?: string | undefined;
146
+ formatter?: ((value: number | Date) => string) | undefined;
147
+ parser?: ((value: string) => number | Date) | undefined;
148
+ precision?: number | undefined;
149
+ type?: string | undefined;
150
+ useCurrencyAccountingStyle?: boolean | undefined;
151
+ } & {
152
+ children?: React.ReactNode;
153
+ } & {
154
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
155
+ }>>) & NestedComponentMeta;
156
+ type IEditingProps = React.PropsWithChildren<{
157
+ allowDeleting?: boolean | ((options: {
158
+ component: dxChat;
159
+ message: Message;
160
+ }) => boolean);
161
+ allowUpdating?: boolean | ((options: {
162
+ component: dxChat;
163
+ message: Message;
164
+ }) => boolean);
165
+ }>;
166
+ declare const Editing: ((props: IEditingProps) => React.FunctionComponentElement<React.PropsWithChildren<{
167
+ allowDeleting?: boolean | ((options: {
168
+ component: dxChat;
169
+ message: Message;
170
+ }) => boolean) | undefined;
171
+ allowUpdating?: boolean | ((options: {
172
+ component: dxChat;
173
+ message: Message;
174
+ }) => boolean) | undefined;
175
+ } & {
176
+ children?: React.ReactNode;
177
+ } & {
178
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
179
+ }>>) & NestedComponentMeta;
180
+ type IFileUploaderOptionsProps = React.PropsWithChildren<{
181
+ abortUpload?: ((file: any, uploadInfo?: UploadInfo) => any);
182
+ accept?: string;
183
+ accessKey?: string | undefined;
184
+ activeStateEnabled?: boolean;
185
+ allowCanceling?: boolean;
186
+ allowedFileExtensions?: Array<string>;
187
+ chunkSize?: number;
188
+ dialogTrigger?: any | string | undefined;
189
+ disabled?: boolean;
190
+ dropZone?: any | string | undefined;
191
+ elementAttr?: Record<string, any>;
192
+ focusStateEnabled?: boolean;
193
+ height?: number | string | undefined;
194
+ hint?: string | undefined;
195
+ hoverStateEnabled?: boolean;
196
+ inputAttr?: any;
197
+ invalidFileExtensionMessage?: string;
198
+ invalidMaxFileSizeMessage?: string;
199
+ invalidMinFileSizeMessage?: string;
200
+ isDirty?: boolean;
201
+ isValid?: boolean;
202
+ labelText?: string;
203
+ maxFileSize?: number;
204
+ minFileSize?: number;
205
+ multiple?: boolean;
206
+ name?: string;
207
+ onBeforeSend?: ((e: BeforeSendEvent) => void);
208
+ onContentReady?: ((e: ContentReadyEvent) => void);
209
+ onDisposing?: ((e: FileUploaderDisposingEvent) => void);
210
+ onDropZoneEnter?: ((e: DropZoneEnterEvent) => void);
211
+ onDropZoneLeave?: ((e: DropZoneLeaveEvent) => void);
212
+ onFilesUploaded?: ((e: FilesUploadedEvent) => void);
213
+ onInitialized?: ((e: FileUploaderInitializedEvent) => void);
214
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
215
+ onProgress?: ((e: ProgressEvent) => void);
216
+ onUploadAborted?: ((e: UploadAbortedEvent) => void);
217
+ onUploaded?: ((e: UploadedEvent) => void);
218
+ onUploadError?: ((e: UploadErrorEvent) => void);
219
+ onUploadStarted?: ((e: UploadStartedEvent) => void);
220
+ onValueChanged?: ((e: ValueChangedEvent) => void);
221
+ progress?: number;
222
+ readOnly?: boolean;
223
+ readyToUploadMessage?: string;
224
+ rtlEnabled?: boolean;
225
+ selectButtonText?: string;
226
+ showFileList?: boolean;
227
+ tabIndex?: number;
228
+ uploadAbortedMessage?: string;
229
+ uploadButtonText?: string;
230
+ uploadChunk?: ((file: any, uploadInfo: UploadInfo) => any);
231
+ uploadCustomData?: any;
232
+ uploadedMessage?: string;
233
+ uploadFailedMessage?: string;
234
+ uploadFile?: ((file: any, progressCallback: (() => void)) => any);
235
+ uploadHeaders?: any;
236
+ uploadMethod?: UploadHttpMethod;
237
+ uploadMode?: FileUploadMode;
238
+ uploadUrl?: string;
239
+ validationError?: any;
240
+ validationErrors?: Array<any>;
241
+ validationStatus?: ValidationStatus;
242
+ value?: Array<any>;
243
+ visible?: boolean;
244
+ width?: number | string | undefined;
245
+ defaultValue?: Array<any>;
246
+ onValueChange?: (value: Array<any>) => void;
247
+ }>;
248
+ declare const FileUploaderOptions: ((props: IFileUploaderOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
249
+ abortUpload?: ((file: any, uploadInfo?: UploadInfo) => any) | undefined;
250
+ accept?: string | undefined;
251
+ accessKey?: string | undefined;
252
+ activeStateEnabled?: boolean | undefined;
253
+ allowCanceling?: boolean | undefined;
254
+ allowedFileExtensions?: string[] | undefined;
255
+ chunkSize?: number | undefined;
256
+ dialogTrigger?: any | string | undefined;
257
+ disabled?: boolean | undefined;
258
+ dropZone?: any | string | undefined;
259
+ elementAttr?: Record<string, any> | undefined;
260
+ focusStateEnabled?: boolean | undefined;
261
+ height?: number | string | undefined;
262
+ hint?: string | undefined;
263
+ hoverStateEnabled?: boolean | undefined;
264
+ inputAttr?: any;
265
+ invalidFileExtensionMessage?: string | undefined;
266
+ invalidMaxFileSizeMessage?: string | undefined;
267
+ invalidMinFileSizeMessage?: string | undefined;
268
+ isDirty?: boolean | undefined;
269
+ isValid?: boolean | undefined;
270
+ labelText?: string | undefined;
271
+ maxFileSize?: number | undefined;
272
+ minFileSize?: number | undefined;
273
+ multiple?: boolean | undefined;
274
+ name?: string | undefined;
275
+ onBeforeSend?: ((e: BeforeSendEvent) => void) | undefined;
276
+ onContentReady?: ((e: ContentReadyEvent) => void) | undefined;
277
+ onDisposing?: ((e: FileUploaderDisposingEvent) => void) | undefined;
278
+ onDropZoneEnter?: ((e: DropZoneEnterEvent) => void) | undefined;
279
+ onDropZoneLeave?: ((e: DropZoneLeaveEvent) => void) | undefined;
280
+ onFilesUploaded?: ((e: FilesUploadedEvent) => void) | undefined;
281
+ onInitialized?: ((e: FileUploaderInitializedEvent) => void) | undefined;
282
+ onOptionChanged?: ((e: OptionChangedEvent) => void) | undefined;
283
+ onProgress?: ((e: ProgressEvent) => void) | undefined;
284
+ onUploadAborted?: ((e: UploadAbortedEvent) => void) | undefined;
285
+ onUploaded?: ((e: UploadedEvent) => void) | undefined;
286
+ onUploadError?: ((e: UploadErrorEvent) => void) | undefined;
287
+ onUploadStarted?: ((e: UploadStartedEvent) => void) | undefined;
288
+ onValueChanged?: ((e: ValueChangedEvent) => void) | undefined;
289
+ progress?: number | undefined;
290
+ readOnly?: boolean | undefined;
291
+ readyToUploadMessage?: string | undefined;
292
+ rtlEnabled?: boolean | undefined;
293
+ selectButtonText?: string | undefined;
294
+ showFileList?: boolean | undefined;
295
+ tabIndex?: number | undefined;
296
+ uploadAbortedMessage?: string | undefined;
297
+ uploadButtonText?: string | undefined;
298
+ uploadChunk?: ((file: any, uploadInfo: UploadInfo) => any) | undefined;
299
+ uploadCustomData?: any;
300
+ uploadedMessage?: string | undefined;
301
+ uploadFailedMessage?: string | undefined;
302
+ uploadFile?: ((file: any, progressCallback: (() => void)) => any) | undefined;
303
+ uploadHeaders?: any;
304
+ uploadMethod?: UploadHttpMethod | undefined;
305
+ uploadMode?: FileUploadMode | undefined;
306
+ uploadUrl?: string | undefined;
307
+ validationError?: any;
308
+ validationErrors?: any[] | undefined;
309
+ validationStatus?: ValidationStatus | undefined;
310
+ value?: any[] | undefined;
311
+ visible?: boolean | undefined;
312
+ width?: number | string | undefined;
313
+ defaultValue?: any[] | undefined;
314
+ onValueChange?: ((value: Array<any>) => void) | undefined;
315
+ } & {
316
+ children?: React.ReactNode;
317
+ } & {
318
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
319
+ }>>) & NestedComponentMeta;
320
+ type IItemProps = React.PropsWithChildren<{
321
+ alt?: string;
322
+ attachments?: Array<ChatAttachment>;
323
+ author?: ChatUser;
324
+ id?: number | string;
325
+ isDeleted?: boolean;
326
+ isEdited?: boolean;
327
+ src?: string;
328
+ text?: string;
329
+ timestamp?: Date | number | string;
330
+ type?: string | undefined | ButtonType;
331
+ disabled?: boolean;
332
+ elementAttr?: Record<string, any>;
333
+ hint?: string;
334
+ icon?: string;
335
+ template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
336
+ visible?: boolean;
337
+ render?: (...params: any) => React.ReactNode;
338
+ component?: React.ComponentType<any>;
339
+ }>;
340
+ declare const Item: ((props: IItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
341
+ alt?: string | undefined;
342
+ attachments?: ChatAttachment[] | undefined;
343
+ author?: ChatUser | undefined;
344
+ id?: string | number | undefined;
345
+ isDeleted?: boolean | undefined;
346
+ isEdited?: boolean | undefined;
347
+ src?: string | undefined;
348
+ text?: string | undefined;
349
+ timestamp?: string | number | Date | undefined;
350
+ type?: string | undefined | ButtonType;
351
+ disabled?: boolean | undefined;
352
+ elementAttr?: Record<string, any> | undefined;
353
+ hint?: string | undefined;
354
+ icon?: string | undefined;
355
+ template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
356
+ visible?: boolean | undefined;
357
+ render?: ((...params: any) => React.ReactNode) | undefined;
358
+ component?: React.ComponentType<any> | undefined;
359
+ } & {
360
+ children?: React.ReactNode;
361
+ } & {
362
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
363
+ }>>) & NestedComponentMeta;
364
+ type IMessageTimestampFormatProps = React.PropsWithChildren<{
365
+ currency?: string;
366
+ formatter?: ((value: number | Date) => string);
367
+ parser?: ((value: string) => number | Date);
368
+ precision?: number;
369
+ type?: Format | string;
370
+ useCurrencyAccountingStyle?: boolean;
371
+ }>;
372
+ declare const MessageTimestampFormat: ((props: IMessageTimestampFormatProps) => React.FunctionComponentElement<React.PropsWithChildren<{
373
+ currency?: string | undefined;
374
+ formatter?: ((value: number | Date) => string) | undefined;
375
+ parser?: ((value: string) => number | Date) | undefined;
376
+ precision?: number | undefined;
377
+ type?: string | undefined;
378
+ useCurrencyAccountingStyle?: boolean | undefined;
379
+ } & {
380
+ children?: React.ReactNode;
381
+ } & {
382
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
383
+ }>>) & NestedComponentMeta;
384
+ type ISendButtonOptionsProps = React.PropsWithChildren<{
385
+ action?: SendButtonAction;
386
+ icon?: string;
387
+ onClick?: ((e: SendButtonClickEvent) => void);
388
+ }>;
389
+ declare const SendButtonOptions: ((props: ISendButtonOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
390
+ action?: SendButtonAction | undefined;
391
+ icon?: string | undefined;
392
+ onClick?: ((e: SendButtonClickEvent) => void) | undefined;
393
+ } & {
394
+ children?: React.ReactNode;
395
+ } & {
396
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
397
+ }>>) & NestedComponentMeta;
398
+ type ISpeechRecognitionConfigProps = React.PropsWithChildren<{
399
+ continuous?: boolean;
400
+ grammars?: Array<string>;
401
+ interimResults?: boolean;
402
+ lang?: string;
403
+ maxAlternatives?: number;
404
+ }>;
405
+ declare const SpeechRecognitionConfig: ((props: ISpeechRecognitionConfigProps) => React.FunctionComponentElement<React.PropsWithChildren<{
406
+ continuous?: boolean | undefined;
407
+ grammars?: string[] | undefined;
408
+ interimResults?: boolean | undefined;
409
+ lang?: string | undefined;
410
+ maxAlternatives?: number | undefined;
411
+ } & {
412
+ children?: React.ReactNode;
413
+ } & {
414
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
415
+ }>>) & NestedComponentMeta;
416
+ type ISpeechToTextOptionsProps = React.PropsWithChildren<{
417
+ accessKey?: string | undefined;
418
+ activeStateEnabled?: boolean;
419
+ customSpeechRecognizer?: SpeechToTextCustomSpeechRecognizer;
420
+ disabled?: boolean;
421
+ elementAttr?: Record<string, any>;
422
+ focusStateEnabled?: boolean;
423
+ height?: number | string | undefined;
424
+ hint?: string | undefined;
425
+ hoverStateEnabled?: boolean;
426
+ onContentReady?: ((e: SpeechToTextContentReadyEvent) => void);
427
+ onDisposing?: ((e: SpeechToTextDisposingEvent) => void);
428
+ onEnd?: ((e: EndEvent) => void) | undefined;
429
+ onError?: ((e: ErrorEvent) => void) | undefined;
430
+ onInitialized?: ((e: SpeechToTextInitializedEvent) => void);
431
+ onOptionChanged?: ((e: SpeechToTextOptionChangedEvent) => void);
432
+ onResult?: ((e: ResultEvent) => void) | undefined;
433
+ onStartClick?: ((e: StartClickEvent) => void) | undefined;
434
+ onStopClick?: ((e: StopClickEvent) => void) | undefined;
435
+ rtlEnabled?: boolean;
436
+ speechRecognitionConfig?: Record<string, any> | SpeechToTextSpeechRecognitionConfig;
437
+ startIcon?: string;
438
+ startText?: string;
439
+ stopIcon?: string;
440
+ stopText?: string;
441
+ stylingMode?: ButtonStyle;
442
+ tabIndex?: number;
443
+ type?: ButtonType | string;
444
+ visible?: boolean;
445
+ width?: number | string | undefined;
446
+ }>;
447
+ declare const SpeechToTextOptions: ((props: ISpeechToTextOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
448
+ accessKey?: string | undefined;
449
+ activeStateEnabled?: boolean | undefined;
450
+ customSpeechRecognizer?: SpeechToTextCustomSpeechRecognizer | undefined;
451
+ disabled?: boolean | undefined;
452
+ elementAttr?: Record<string, any> | undefined;
453
+ focusStateEnabled?: boolean | undefined;
454
+ height?: number | string | undefined;
455
+ hint?: string | undefined;
456
+ hoverStateEnabled?: boolean | undefined;
457
+ onContentReady?: ((e: SpeechToTextContentReadyEvent) => void) | undefined;
458
+ onDisposing?: ((e: SpeechToTextDisposingEvent) => void) | undefined;
459
+ onEnd?: ((e: EndEvent) => void) | undefined;
460
+ onError?: ((e: ErrorEvent) => void) | undefined;
461
+ onInitialized?: ((e: SpeechToTextInitializedEvent) => void) | undefined;
462
+ onOptionChanged?: ((e: SpeechToTextOptionChangedEvent) => void) | undefined;
463
+ onResult?: ((e: ResultEvent) => void) | undefined;
464
+ onStartClick?: ((e: StartClickEvent) => void) | undefined;
465
+ onStopClick?: ((e: StopClickEvent) => void) | undefined;
466
+ rtlEnabled?: boolean | undefined;
467
+ speechRecognitionConfig?: Record<string, any> | SpeechToTextSpeechRecognitionConfig | undefined;
468
+ startIcon?: string | undefined;
469
+ startText?: string | undefined;
470
+ stopIcon?: string | undefined;
471
+ stopText?: string | undefined;
472
+ stylingMode?: ButtonStyle | undefined;
473
+ tabIndex?: number | undefined;
474
+ type?: string | undefined;
475
+ visible?: boolean | undefined;
476
+ width?: number | string | undefined;
477
+ } & {
478
+ children?: React.ReactNode;
479
+ } & {
480
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
481
+ }>>) & NestedComponentMeta;
482
+ type ISuggestionsProps = React.PropsWithChildren<{
483
+ accessKey?: string | undefined;
484
+ activeStateEnabled?: boolean;
485
+ buttonTemplate?: ((buttonData: any, buttonContent: any) => string | any) | template;
486
+ disabled?: boolean;
487
+ elementAttr?: Record<string, any>;
488
+ focusStateEnabled?: boolean;
489
+ height?: number | string | undefined;
490
+ hint?: string | undefined;
491
+ hoverStateEnabled?: boolean;
492
+ items?: Array<dxButtonGroupItem>;
493
+ keyExpr?: ((item: any) => any) | string;
494
+ onContentReady?: ((e: ButtonGroupContentReadyEvent) => void);
495
+ onDisposing?: ((e: ButtonGroupDisposingEvent) => void);
496
+ onInitialized?: ((e: ButtonGroupInitializedEvent) => void);
497
+ onItemClick?: ((e: ItemClickEvent) => void);
498
+ onOptionChanged?: ((e: ButtonGroupOptionChangedEvent) => void);
499
+ onSelectionChanged?: ((e: SelectionChangedEvent) => void);
500
+ rtlEnabled?: boolean;
501
+ selectedItemKeys?: Array<any>;
502
+ selectedItems?: Array<any>;
503
+ selectionMode?: SingleMultipleOrNone;
504
+ stylingMode?: ButtonStyle;
505
+ tabIndex?: number;
506
+ visible?: boolean;
507
+ width?: number | string | undefined;
508
+ defaultSelectedItemKeys?: Array<any>;
509
+ onSelectedItemKeysChange?: (value: Array<any>) => void;
510
+ defaultSelectedItems?: Array<any>;
511
+ onSelectedItemsChange?: (value: Array<any>) => void;
512
+ buttonRender?: (...params: any) => React.ReactNode;
513
+ buttonComponent?: React.ComponentType<any>;
514
+ }>;
515
+ declare const Suggestions: ((props: ISuggestionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
516
+ accessKey?: string | undefined;
517
+ activeStateEnabled?: boolean | undefined;
518
+ buttonTemplate?: template | ((buttonData: any, buttonContent: any) => string | any) | undefined;
519
+ disabled?: boolean | undefined;
520
+ elementAttr?: Record<string, any> | undefined;
521
+ focusStateEnabled?: boolean | undefined;
522
+ height?: number | string | undefined;
523
+ hint?: string | undefined;
524
+ hoverStateEnabled?: boolean | undefined;
525
+ items?: dxButtonGroupItem[] | undefined;
526
+ keyExpr?: string | ((item: any) => any) | undefined;
527
+ onContentReady?: ((e: ButtonGroupContentReadyEvent) => void) | undefined;
528
+ onDisposing?: ((e: ButtonGroupDisposingEvent) => void) | undefined;
529
+ onInitialized?: ((e: ButtonGroupInitializedEvent) => void) | undefined;
530
+ onItemClick?: ((e: ItemClickEvent) => void) | undefined;
531
+ onOptionChanged?: ((e: ButtonGroupOptionChangedEvent) => void) | undefined;
532
+ onSelectionChanged?: ((e: SelectionChangedEvent) => void) | undefined;
533
+ rtlEnabled?: boolean | undefined;
534
+ selectedItemKeys?: any[] | undefined;
535
+ selectedItems?: any[] | undefined;
536
+ selectionMode?: SingleMultipleOrNone | undefined;
537
+ stylingMode?: ButtonStyle | undefined;
538
+ tabIndex?: number | undefined;
539
+ visible?: boolean | undefined;
540
+ width?: number | string | undefined;
541
+ defaultSelectedItemKeys?: any[] | undefined;
542
+ onSelectedItemKeysChange?: ((value: Array<any>) => void) | undefined;
543
+ defaultSelectedItems?: any[] | undefined;
544
+ onSelectedItemsChange?: ((value: Array<any>) => void) | undefined;
545
+ buttonRender?: ((...params: any) => React.ReactNode) | undefined;
546
+ buttonComponent?: React.ComponentType<any> | undefined;
547
+ } & {
548
+ children?: React.ReactNode;
549
+ } & {
550
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
551
+ }>>) & NestedComponentMeta;
552
+ type ISuggestionsItemProps = React.PropsWithChildren<{
553
+ disabled?: boolean;
554
+ elementAttr?: Record<string, any>;
555
+ hint?: string;
556
+ icon?: string;
557
+ template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | template;
558
+ text?: string;
559
+ type?: ButtonType | string;
560
+ visible?: boolean;
561
+ render?: (...params: any) => React.ReactNode;
562
+ component?: React.ComponentType<any>;
563
+ }>;
564
+ declare const SuggestionsItem: ((props: ISuggestionsItemProps) => React.FunctionComponentElement<React.PropsWithChildren<{
565
+ disabled?: boolean | undefined;
566
+ elementAttr?: Record<string, any> | undefined;
567
+ hint?: string | undefined;
568
+ icon?: string | undefined;
569
+ template?: template | ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string | any) | undefined;
570
+ text?: string | undefined;
571
+ type?: string | undefined;
572
+ visible?: boolean | undefined;
573
+ render?: ((...params: any) => React.ReactNode) | undefined;
574
+ component?: React.ComponentType<any> | undefined;
575
+ } & {
576
+ children?: React.ReactNode;
577
+ } & {
578
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
579
+ }>>) & NestedComponentMeta;
580
+ type ITypingUserProps = React.PropsWithChildren<{
581
+ avatarAlt?: string;
582
+ avatarUrl?: string;
583
+ id?: number | string;
584
+ name?: string;
585
+ }>;
586
+ declare const TypingUser: ((props: ITypingUserProps) => React.FunctionComponentElement<React.PropsWithChildren<{
587
+ avatarAlt?: string | undefined;
588
+ avatarUrl?: string | undefined;
589
+ id?: string | number | undefined;
590
+ name?: string | undefined;
591
+ } & {
592
+ children?: React.ReactNode;
593
+ } & {
594
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
595
+ }>>) & NestedComponentMeta;
596
+ type IUserProps = React.PropsWithChildren<{
597
+ avatarAlt?: string;
598
+ avatarUrl?: string;
599
+ id?: number | string;
600
+ name?: string;
601
+ }>;
602
+ declare const User: ((props: IUserProps) => React.FunctionComponentElement<React.PropsWithChildren<{
603
+ avatarAlt?: string | undefined;
604
+ avatarUrl?: string | undefined;
605
+ id?: string | number | undefined;
606
+ name?: string | undefined;
607
+ } & {
608
+ children?: React.ReactNode;
609
+ } & {
610
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
611
+ }>>) & NestedComponentMeta;
612
+ export default Chat;
613
+ export { Chat, IChatOptions, ChatRef, Alert, IAlertProps, Attachment, IAttachmentProps, Author, IAuthorProps, ChatItem, IChatItemProps, CustomSpeechRecognizer, ICustomSpeechRecognizerProps, DayHeaderFormat, IDayHeaderFormatProps, Editing, IEditingProps, FileUploaderOptions, IFileUploaderOptionsProps, Item, IItemProps, MessageTimestampFormat, IMessageTimestampFormatProps, SendButtonOptions, ISendButtonOptionsProps, SpeechRecognitionConfig, ISpeechRecognitionConfigProps, SpeechToTextOptions, ISpeechToTextOptionsProps, Suggestions, ISuggestionsProps, SuggestionsItem, ISuggestionsItemProps, TypingUser, ITypingUserProps, User, IUserProps };
614
+ import type * as ChatTypes from 'devextreme/ui/chat_types';
615
+ export { ChatTypes };