devextreme-react 25.1.7 → 25.2.2-beta

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 (363) hide show
  1. package/cjs/accordion.d.ts +100 -100
  2. package/cjs/accordion.js +103 -103
  3. package/cjs/action-sheet.d.ts +79 -79
  4. package/cjs/action-sheet.js +91 -91
  5. package/cjs/autocomplete.d.ts +651 -651
  6. package/cjs/autocomplete.js +347 -347
  7. package/cjs/bar-gauge.d.ts +698 -698
  8. package/cjs/bar-gauge.js +410 -410
  9. package/cjs/box.d.ts +77 -77
  10. package/cjs/box.js +90 -90
  11. package/cjs/bullet.d.ts +205 -205
  12. package/cjs/bullet.js +155 -155
  13. package/cjs/button-group.d.ts +64 -64
  14. package/cjs/button-group.js +91 -91
  15. package/cjs/button.d.ts +30 -30
  16. package/cjs/button.js +61 -61
  17. package/cjs/calendar.d.ts +33 -33
  18. package/cjs/calendar.js +68 -68
  19. package/cjs/card-view.d.ts +2749 -2687
  20. package/cjs/card-view.js +1439 -1411
  21. package/cjs/chart.d.ts +4467 -4467
  22. package/cjs/chart.js +1569 -1569
  23. package/cjs/chat.d.ts +349 -190
  24. package/cjs/chat.js +215 -180
  25. package/cjs/check-box.d.ts +30 -30
  26. package/cjs/check-box.js +59 -59
  27. package/cjs/circular-gauge.d.ts +720 -720
  28. package/cjs/circular-gauge.js +427 -427
  29. package/cjs/color-box.d.ts +645 -625
  30. package/cjs/color-box.js +345 -323
  31. package/cjs/common/ai-integration.d.ts +3 -3
  32. package/cjs/common/ai-integration.js +7 -7
  33. package/cjs/common/charts.d.ts +3 -3
  34. package/cjs/common/charts.js +8 -8
  35. package/cjs/common/core/animation.d.ts +3 -3
  36. package/cjs/common/core/animation.js +11 -11
  37. package/cjs/common/core/environment.d.ts +3 -3
  38. package/cjs/common/core/environment.js +9 -9
  39. package/cjs/common/core/events.d.ts +3 -3
  40. package/cjs/common/core/events.js +10 -10
  41. package/cjs/common/core/index.d.ts +6 -6
  42. package/cjs/common/core/index.js +32 -32
  43. package/cjs/common/core/localization.d.ts +3 -3
  44. package/cjs/common/core/localization.js +13 -13
  45. package/cjs/common/data/custom-store.d.ts +3 -3
  46. package/cjs/common/data/custom-store.js +9 -9
  47. package/cjs/common/data.d.ts +3 -3
  48. package/cjs/common/data.js +25 -25
  49. package/cjs/common/export/excel.d.ts +3 -3
  50. package/cjs/common/export/excel.js +8 -8
  51. package/cjs/common/export/index.d.ts +4 -4
  52. package/cjs/common/export/index.js +30 -30
  53. package/cjs/common/export/pdf.d.ts +3 -3
  54. package/cjs/common/export/pdf.js +8 -8
  55. package/cjs/common/grids.d.ts +3 -3
  56. package/cjs/common/grids.js +4 -4
  57. package/cjs/common/index.d.ts +9 -9
  58. package/cjs/common/index.js +38 -38
  59. package/cjs/context-menu.d.ts +350 -350
  60. package/cjs/context-menu.js +295 -295
  61. package/cjs/core/component-base.d.ts +39 -39
  62. package/cjs/core/component-base.js +348 -344
  63. package/cjs/core/component.d.ts +42 -42
  64. package/cjs/core/component.js +85 -83
  65. package/cjs/core/config.d.ts +9 -9
  66. package/cjs/core/config.js +16 -16
  67. package/cjs/core/configuration/comparer.d.ts +12 -12
  68. package/cjs/core/configuration/comparer.js +101 -96
  69. package/cjs/core/configuration/config-node.d.ts +17 -33
  70. package/cjs/core/configuration/config-node.js +107 -105
  71. package/cjs/core/configuration/react/element.d.ts +36 -36
  72. package/cjs/core/configuration/react/element.js +52 -52
  73. package/cjs/core/configuration/react/templates.d.ts +7 -7
  74. package/cjs/core/configuration/react/templates.js +61 -61
  75. package/cjs/core/configuration/tree.d.ts +22 -22
  76. package/cjs/core/configuration/tree.js +118 -117
  77. package/cjs/core/configuration/utils.d.ts +16 -16
  78. package/cjs/core/configuration/utils.js +39 -38
  79. package/cjs/core/const.d.ts +3 -3
  80. package/cjs/core/const.js +78 -78
  81. package/cjs/core/contexts.d.ts +25 -25
  82. package/cjs/core/contexts.js +22 -21
  83. package/cjs/core/extension-component.d.ts +26 -26
  84. package/cjs/core/extension-component.js +66 -64
  85. package/cjs/core/helpers.d.ts +30 -30
  86. package/cjs/core/helpers.js +65 -64
  87. package/cjs/core/nested-option.d.ts +15 -15
  88. package/cjs/core/nested-option.js +60 -59
  89. package/cjs/core/options-manager.d.ts +35 -36
  90. package/cjs/core/options-manager.js +227 -223
  91. package/cjs/core/template-manager.d.ts +5 -5
  92. package/cjs/core/template-manager.js +164 -163
  93. package/cjs/core/template-wrapper.d.ts +5 -5
  94. package/cjs/core/template-wrapper.js +121 -120
  95. package/cjs/core/template.d.ts +21 -21
  96. package/cjs/core/template.js +33 -33
  97. package/cjs/core/types.d.ts +80 -64
  98. package/cjs/core/types.js +4 -4
  99. package/cjs/core/use-option-scanning.d.ts +9 -9
  100. package/cjs/core/use-option-scanning.js +50 -50
  101. package/cjs/core/widget-config.d.ts +11 -11
  102. package/cjs/core/widget-config.js +78 -76
  103. package/cjs/data-grid.d.ts +3897 -3551
  104. package/cjs/data-grid.js +1610 -1492
  105. package/cjs/date-box.d.ts +755 -753
  106. package/cjs/date-box.js +354 -354
  107. package/cjs/date-range-box.d.ts +759 -757
  108. package/cjs/date-range-box.js +355 -355
  109. package/cjs/diagram.d.ts +661 -661
  110. package/cjs/diagram.js +478 -478
  111. package/cjs/draggable.d.ts +43 -43
  112. package/cjs/draggable.js +78 -78
  113. package/cjs/drawer.d.ts +30 -30
  114. package/cjs/drawer.js +67 -67
  115. package/cjs/drop-down-box.d.ts +645 -625
  116. package/cjs/drop-down-box.js +349 -327
  117. package/cjs/drop-down-button.d.ts +560 -560
  118. package/cjs/drop-down-button.js +306 -306
  119. package/cjs/file-manager.d.ts +302 -302
  120. package/cjs/file-manager.js +233 -233
  121. package/cjs/file-uploader.d.ts +39 -39
  122. package/cjs/file-uploader.js +59 -59
  123. package/cjs/filter-builder.d.ts +216 -216
  124. package/cjs/filter-builder.js +156 -156
  125. package/cjs/form.d.ts +1020 -990
  126. package/cjs/form.js +527 -513
  127. package/cjs/funnel.d.ts +898 -898
  128. package/cjs/funnel.js +479 -479
  129. package/cjs/gallery.d.ts +79 -79
  130. package/cjs/gallery.js +92 -92
  131. package/cjs/gantt.d.ts +1029 -798
  132. package/cjs/gantt.js +564 -497
  133. package/cjs/html-editor.d.ts +480 -480
  134. package/cjs/html-editor.js +302 -302
  135. package/cjs/index.d.ts +87 -87
  136. package/cjs/index.js +198 -198
  137. package/cjs/linear-gauge.d.ts +734 -734
  138. package/cjs/linear-gauge.js +432 -432
  139. package/cjs/list.d.ts +416 -416
  140. package/cjs/list.js +196 -196
  141. package/cjs/load-indicator.d.ts +26 -26
  142. package/cjs/load-indicator.js +53 -53
  143. package/cjs/load-panel.d.ts +270 -253
  144. package/cjs/load-panel.js +237 -224
  145. package/cjs/lookup.d.ts +483 -483
  146. package/cjs/lookup.js +339 -339
  147. package/cjs/map.d.ts +156 -156
  148. package/cjs/map.js +164 -164
  149. package/cjs/menu.d.ts +355 -355
  150. package/cjs/menu.js +296 -296
  151. package/cjs/multi-view.d.ts +77 -77
  152. package/cjs/multi-view.js +92 -92
  153. package/cjs/number-box.d.ts +142 -142
  154. package/cjs/number-box.js +110 -110
  155. package/cjs/pagination.d.ts +22 -22
  156. package/cjs/pagination.js +60 -60
  157. package/cjs/pie-chart.d.ts +1449 -1449
  158. package/cjs/pie-chart.js +637 -637
  159. package/cjs/pivot-grid-field-chooser.d.ts +133 -133
  160. package/cjs/pivot-grid-field-chooser.js +125 -125
  161. package/cjs/pivot-grid.d.ts +350 -350
  162. package/cjs/pivot-grid.js +235 -235
  163. package/cjs/polar-chart.d.ts +3176 -3176
  164. package/cjs/polar-chart.js +1199 -1199
  165. package/cjs/popover.d.ts +331 -331
  166. package/cjs/popover.js +288 -288
  167. package/cjs/popup.d.ts +293 -293
  168. package/cjs/popup.js +262 -262
  169. package/cjs/progress-bar.d.ts +31 -31
  170. package/cjs/progress-bar.js +59 -59
  171. package/cjs/radio-group.d.ts +56 -56
  172. package/cjs/radio-group.js +90 -90
  173. package/cjs/range-selector.d.ts +2446 -2446
  174. package/cjs/range-selector.js +961 -961
  175. package/cjs/range-slider.d.ts +82 -82
  176. package/cjs/range-slider.js +107 -107
  177. package/cjs/recurrence-editor.d.ts +30 -30
  178. package/cjs/recurrence-editor.js +59 -59
  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 +1619 -549
  186. package/cjs/scheduler.js +775 -320
  187. package/cjs/scroll-view.d.ts +29 -29
  188. package/cjs/scroll-view.js +53 -53
  189. package/cjs/select-box.d.ts +674 -654
  190. package/cjs/select-box.js +374 -352
  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 +72 -0
  198. package/cjs/speech-to-text.js +94 -0
  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 +675 -655
  212. package/cjs/tag-box.js +379 -357
  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 +3453 -3093
  226. package/cjs/tree-list.js +1409 -1291
  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 -1306
  249. package/esm/chart.js +1447 -1447
  250. package/esm/chat.js +176 -143
  251. package/esm/check-box.js +30 -30
  252. package/esm/circular-gauge.js +374 -374
  253. package/esm/color-box.js +300 -279
  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 +9 -9
  268. package/esm/context-menu.js +251 -251
  269. package/esm/core/component-base.js +318 -314
  270. package/esm/core/component.js +59 -57
  271. package/esm/core/config.js +13 -13
  272. package/esm/core/configuration/comparer.js +97 -92
  273. package/esm/core/configuration/config-node.js +80 -78
  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 -109
  277. package/esm/core/configuration/utils.js +32 -31
  278. package/esm/core/const.js +75 -75
  279. package/esm/core/contexts.js +19 -18
  280. package/esm/core/extension-component.js +39 -37
  281. package/esm/core/helpers.js +57 -56
  282. package/esm/core/nested-option.js +35 -34
  283. package/esm/core/options-manager.js +222 -218
  284. package/esm/core/template-manager.js +137 -136
  285. package/esm/core/template-wrapper.js +95 -94
  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 +73 -71
  290. package/esm/data-grid.js +1486 -1375
  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 -283
  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 -462
  302. package/esm/funnel.js +423 -423
  303. package/esm/gallery.js +62 -62
  304. package/esm/gantt.js +505 -442
  305. package/esm/html-editor.js +259 -259
  306. package/esm/index.js +87 -87
  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 -184
  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/recurrence-editor.js +30 -30
  328. package/esm/resizable.js +31 -31
  329. package/esm/responsive-box.js +101 -101
  330. package/esm/sankey.js +304 -304
  331. package/esm/scheduler.js +713 -281
  332. package/esm/scroll-view.js +24 -24
  333. package/esm/select-box.js +328 -307
  334. package/esm/slider.js +75 -75
  335. package/esm/sortable.js +48 -48
  336. package/esm/sparkline.js +119 -119
  337. package/esm/speech-to-text.js +63 -0
  338. package/esm/speed-dial-action.js +24 -24
  339. package/esm/splitter.js +60 -60
  340. package/esm/stepper.js +62 -62
  341. package/esm/switch.js +30 -30
  342. package/esm/tab-panel.js +71 -71
  343. package/esm/tabs.js +64 -64
  344. package/esm/tag-box.js +333 -312
  345. package/esm/text-area.js +30 -30
  346. package/esm/text-box.js +66 -66
  347. package/esm/tile-view.js +60 -60
  348. package/esm/toast.js +192 -192
  349. package/esm/toolbar.js +69 -69
  350. package/esm/tooltip.js +218 -218
  351. package/esm/tree-list.js +1297 -1186
  352. package/esm/tree-map.js +332 -332
  353. package/esm/tree-view.js +112 -112
  354. package/esm/validation-group.js +24 -24
  355. package/esm/validation-summary.js +60 -60
  356. package/esm/validator.js +203 -203
  357. package/esm/vector-map.js +432 -432
  358. package/package.json +14 -18
  359. package/speech-to-text/package.json +6 -0
  360. package/cjs/defer-rendering.d.ts +0 -217
  361. package/cjs/defer-rendering.js +0 -194
  362. package/defer-rendering/package.json +0 -6
  363. package/esm/defer-rendering.js +0 -156
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 25.1.7
4
- * Build date: Mon Nov 10 2025
3
+ * Version: 25.2.2-beta
4
+ * Build date: Thu Nov 20 2025
5
5
  *
6
6
  * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -11,254 +11,271 @@
11
11
  * https://github.com/DevExpress/devextreme-react
12
12
  */
13
13
 
14
- import * as React from "react";
15
- import { Ref, ReactElement } from "react";
16
- import dxLoadPanel, { Properties } from "devextreme/ui/load_panel";
17
- import { IHtmlOptions, NestedComponentMeta } from "./core/component";
18
- import type { PositionAlignment, HorizontalAlignment, VerticalAlignment, Direction } from "devextreme/common";
19
- import type { PositionConfig, AnimationConfig, CollisionResolution, AnimationState, AnimationType, CollisionResolutionCombination } from "devextreme/common/core/animation";
20
- import type { ContentReadyEvent, DisposingEvent, HiddenEvent, HidingEvent, InitializedEvent, ShowingEvent, ShownEvent } from "devextreme/ui/load_panel";
21
- type ReplaceFieldTypes<TSource, TReplacement> = {
22
- [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
23
- };
24
- type ILoadPanelOptionsNarrowedEvents = {
25
- onContentReady?: ((e: ContentReadyEvent) => void);
26
- onDisposing?: ((e: DisposingEvent) => void);
27
- onHidden?: ((e: HiddenEvent) => void);
28
- onHiding?: ((e: HidingEvent) => void);
29
- onInitialized?: ((e: InitializedEvent) => void);
30
- onShowing?: ((e: ShowingEvent) => void);
31
- onShown?: ((e: ShownEvent) => void);
32
- };
33
- type ILoadPanelOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ILoadPanelOptionsNarrowedEvents> & IHtmlOptions & {
34
- defaultPosition?: (() => void) | PositionAlignment | PositionConfig;
35
- defaultVisible?: boolean;
36
- onPositionChange?: (value: (() => void) | PositionAlignment | PositionConfig) => void;
37
- onVisibleChange?: (value: boolean) => void;
38
- }>;
39
- interface LoadPanelRef {
40
- instance: () => dxLoadPanel;
41
- }
42
- declare const LoadPanel: (props: React.PropsWithChildren<ILoadPanelOptions> & {
43
- ref?: Ref<LoadPanelRef>;
44
- }) => ReactElement | null;
45
- type IAnimationProps = React.PropsWithChildren<{
46
- hide?: AnimationConfig;
47
- show?: AnimationConfig;
48
- }>;
49
- declare const Animation: ((props: IAnimationProps) => React.FunctionComponentElement<React.PropsWithChildren<{
50
- hide?: AnimationConfig | undefined;
51
- show?: AnimationConfig | undefined;
52
- } & {
53
- children?: React.ReactNode;
54
- } & {
55
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
56
- }>>) & NestedComponentMeta;
57
- type IAtProps = React.PropsWithChildren<{
58
- x?: HorizontalAlignment;
59
- y?: VerticalAlignment;
60
- }>;
61
- declare const At: ((props: IAtProps) => React.FunctionComponentElement<React.PropsWithChildren<{
62
- x?: HorizontalAlignment | undefined;
63
- y?: VerticalAlignment | undefined;
64
- } & {
65
- children?: React.ReactNode;
66
- } & {
67
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
68
- }>>) & NestedComponentMeta;
69
- type IBoundaryOffsetProps = React.PropsWithChildren<{
70
- x?: number;
71
- y?: number;
72
- }>;
73
- declare const BoundaryOffset: ((props: IBoundaryOffsetProps) => React.FunctionComponentElement<React.PropsWithChildren<{
74
- x?: number | undefined;
75
- y?: number | undefined;
76
- } & {
77
- children?: React.ReactNode;
78
- } & {
79
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
80
- }>>) & NestedComponentMeta;
81
- type ICollisionProps = React.PropsWithChildren<{
82
- x?: CollisionResolution;
83
- y?: CollisionResolution;
84
- }>;
85
- declare const Collision: ((props: ICollisionProps) => React.FunctionComponentElement<React.PropsWithChildren<{
86
- x?: CollisionResolution | undefined;
87
- y?: CollisionResolution | undefined;
88
- } & {
89
- children?: React.ReactNode;
90
- } & {
91
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
92
- }>>) & NestedComponentMeta;
93
- type IFromProps = React.PropsWithChildren<{
94
- left?: number;
95
- opacity?: number;
96
- position?: PositionConfig;
97
- scale?: number;
98
- top?: number;
99
- }>;
100
- declare const From: ((props: IFromProps) => React.FunctionComponentElement<React.PropsWithChildren<{
101
- left?: number | undefined;
102
- opacity?: number | undefined;
103
- position?: PositionConfig | undefined;
104
- scale?: number | undefined;
105
- top?: number | undefined;
106
- } & {
107
- children?: React.ReactNode;
108
- } & {
109
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
110
- }>>) & NestedComponentMeta;
111
- type IHideProps = React.PropsWithChildren<{
112
- complete?: (($element: any, config: AnimationConfig) => void);
113
- delay?: number;
114
- direction?: Direction | undefined;
115
- duration?: number;
116
- easing?: string;
117
- from?: AnimationState;
118
- staggerDelay?: number | undefined;
119
- start?: (($element: any, config: AnimationConfig) => void);
120
- to?: AnimationState;
121
- type?: AnimationType;
122
- }>;
123
- declare const Hide: ((props: IHideProps) => React.FunctionComponentElement<React.PropsWithChildren<{
124
- complete?: (($element: any, config: AnimationConfig) => void) | undefined;
125
- delay?: number | undefined;
126
- direction?: Direction | undefined;
127
- duration?: number | undefined;
128
- easing?: string | undefined;
129
- from?: AnimationState | undefined;
130
- staggerDelay?: number | undefined;
131
- start?: (($element: any, config: AnimationConfig) => void) | undefined;
132
- to?: AnimationState | undefined;
133
- type?: AnimationType | undefined;
134
- } & {
135
- children?: React.ReactNode;
136
- } & {
137
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
138
- }>>) & NestedComponentMeta;
139
- type IMyProps = React.PropsWithChildren<{
140
- x?: HorizontalAlignment;
141
- y?: VerticalAlignment;
142
- }>;
143
- declare const My: ((props: IMyProps) => React.FunctionComponentElement<React.PropsWithChildren<{
144
- x?: HorizontalAlignment | undefined;
145
- y?: VerticalAlignment | undefined;
146
- } & {
147
- children?: React.ReactNode;
148
- } & {
149
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
150
- }>>) & NestedComponentMeta;
151
- type IOffsetProps = React.PropsWithChildren<{
152
- x?: number;
153
- y?: number;
154
- }>;
155
- declare const Offset: ((props: IOffsetProps) => React.FunctionComponentElement<React.PropsWithChildren<{
156
- x?: number | undefined;
157
- y?: number | undefined;
158
- } & {
159
- children?: React.ReactNode;
160
- } & {
161
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
162
- }>>) & NestedComponentMeta;
163
- type IPositionProps = React.PropsWithChildren<{
164
- at?: Record<string, any> | PositionAlignment | {
165
- x?: HorizontalAlignment;
166
- y?: VerticalAlignment;
167
- };
168
- boundary?: any | string;
169
- boundaryOffset?: Record<string, any> | string | {
170
- x?: number;
171
- y?: number;
172
- };
173
- collision?: CollisionResolutionCombination | Record<string, any> | {
174
- x?: CollisionResolution;
175
- y?: CollisionResolution;
176
- };
177
- my?: Record<string, any> | PositionAlignment | {
178
- x?: HorizontalAlignment;
179
- y?: VerticalAlignment;
180
- };
181
- of?: any | string;
182
- offset?: Record<string, any> | string | {
183
- x?: number;
184
- y?: number;
185
- };
186
- }>;
187
- declare const Position: ((props: IPositionProps) => React.FunctionComponentElement<React.PropsWithChildren<{
188
- at?: Record<string, any> | PositionAlignment | {
189
- x?: HorizontalAlignment | undefined;
190
- y?: VerticalAlignment | undefined;
191
- } | undefined;
192
- boundary?: any | string;
193
- boundaryOffset?: string | Record<string, any> | {
194
- x?: number | undefined;
195
- y?: number | undefined;
196
- } | undefined;
197
- collision?: Record<string, any> | CollisionResolutionCombination | {
198
- x?: CollisionResolution | undefined;
199
- y?: CollisionResolution | undefined;
200
- } | undefined;
201
- my?: Record<string, any> | PositionAlignment | {
202
- x?: HorizontalAlignment | undefined;
203
- y?: VerticalAlignment | undefined;
204
- } | undefined;
205
- of?: any | string;
206
- offset?: string | Record<string, any> | {
207
- x?: number | undefined;
208
- y?: number | undefined;
209
- } | undefined;
210
- } & {
211
- children?: React.ReactNode;
212
- } & {
213
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
214
- }>>) & NestedComponentMeta;
215
- type IShowProps = React.PropsWithChildren<{
216
- complete?: (($element: any, config: AnimationConfig) => void);
217
- delay?: number;
218
- direction?: Direction | undefined;
219
- duration?: number;
220
- easing?: string;
221
- from?: AnimationState;
222
- staggerDelay?: number | undefined;
223
- start?: (($element: any, config: AnimationConfig) => void);
224
- to?: AnimationState;
225
- type?: AnimationType;
226
- }>;
227
- declare const Show: ((props: IShowProps) => React.FunctionComponentElement<React.PropsWithChildren<{
228
- complete?: (($element: any, config: AnimationConfig) => void) | undefined;
229
- delay?: number | undefined;
230
- direction?: Direction | undefined;
231
- duration?: number | undefined;
232
- easing?: string | undefined;
233
- from?: AnimationState | undefined;
234
- staggerDelay?: number | undefined;
235
- start?: (($element: any, config: AnimationConfig) => void) | undefined;
236
- to?: AnimationState | undefined;
237
- type?: AnimationType | undefined;
238
- } & {
239
- children?: React.ReactNode;
240
- } & {
241
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
242
- }>>) & NestedComponentMeta;
243
- type IToProps = React.PropsWithChildren<{
244
- left?: number;
245
- opacity?: number;
246
- position?: PositionConfig;
247
- scale?: number;
248
- top?: number;
249
- }>;
250
- declare const To: ((props: IToProps) => React.FunctionComponentElement<React.PropsWithChildren<{
251
- left?: number | undefined;
252
- opacity?: number | undefined;
253
- position?: PositionConfig | undefined;
254
- scale?: number | undefined;
255
- top?: number | undefined;
256
- } & {
257
- children?: React.ReactNode;
258
- } & {
259
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
260
- }>>) & NestedComponentMeta;
261
- export default LoadPanel;
262
- export { LoadPanel, ILoadPanelOptions, LoadPanelRef, Animation, IAnimationProps, At, IAtProps, BoundaryOffset, IBoundaryOffsetProps, Collision, ICollisionProps, From, IFromProps, Hide, IHideProps, My, IMyProps, Offset, IOffsetProps, Position, IPositionProps, Show, IShowProps, To, IToProps };
263
- import type * as LoadPanelTypes from 'devextreme/ui/load_panel_types';
264
- export { LoadPanelTypes };
14
+ import * as React from "react";
15
+ import { Ref, ReactElement } from "react";
16
+ import dxLoadPanel, { Properties } from "devextreme/ui/load_panel";
17
+ import { IHtmlOptions, NestedComponentMeta } from "./core/component";
18
+ import type { PositionAlignment, HorizontalAlignment, VerticalAlignment, Direction } from "devextreme/common";
19
+ import type { PositionConfig, AnimationConfig, CollisionResolution, AnimationState, AnimationType, CollisionResolutionCombination } from "devextreme/common/core/animation";
20
+ import type { ContentReadyEvent, DisposingEvent, HiddenEvent, HidingEvent, InitializedEvent, ShowingEvent, ShownEvent } from "devextreme/ui/load_panel";
21
+ import type { LoadingAnimationType } from "devextreme/ui/load_indicator";
22
+ type ReplaceFieldTypes<TSource, TReplacement> = {
23
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
24
+ };
25
+ type ILoadPanelOptionsNarrowedEvents = {
26
+ onContentReady?: ((e: ContentReadyEvent) => void);
27
+ onDisposing?: ((e: DisposingEvent) => void);
28
+ onHidden?: ((e: HiddenEvent) => void);
29
+ onHiding?: ((e: HidingEvent) => void);
30
+ onInitialized?: ((e: InitializedEvent) => void);
31
+ onShowing?: ((e: ShowingEvent) => void);
32
+ onShown?: ((e: ShownEvent) => void);
33
+ };
34
+ type ILoadPanelOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ILoadPanelOptionsNarrowedEvents> & IHtmlOptions & {
35
+ defaultPosition?: (() => void) | PositionAlignment | PositionConfig;
36
+ defaultVisible?: boolean;
37
+ onPositionChange?: (value: (() => void) | PositionAlignment | PositionConfig) => void;
38
+ onVisibleChange?: (value: boolean) => void;
39
+ }>;
40
+ interface LoadPanelRef {
41
+ instance: () => dxLoadPanel;
42
+ }
43
+ declare const LoadPanel: (props: React.PropsWithChildren<ILoadPanelOptions> & {
44
+ ref?: Ref<LoadPanelRef>;
45
+ }) => ReactElement | null;
46
+ type IAnimationProps = React.PropsWithChildren<{
47
+ hide?: AnimationConfig;
48
+ show?: AnimationConfig;
49
+ }>;
50
+ declare const Animation: ((props: IAnimationProps) => React.FunctionComponentElement<React.PropsWithChildren<{
51
+ hide?: AnimationConfig | undefined;
52
+ show?: AnimationConfig | undefined;
53
+ } & {
54
+ children?: React.ReactNode;
55
+ } & {
56
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
57
+ }>>) & NestedComponentMeta;
58
+ type IAtProps = React.PropsWithChildren<{
59
+ x?: HorizontalAlignment;
60
+ y?: VerticalAlignment;
61
+ }>;
62
+ declare const At: ((props: IAtProps) => React.FunctionComponentElement<React.PropsWithChildren<{
63
+ x?: HorizontalAlignment | undefined;
64
+ y?: VerticalAlignment | undefined;
65
+ } & {
66
+ children?: React.ReactNode;
67
+ } & {
68
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
69
+ }>>) & NestedComponentMeta;
70
+ type IBoundaryOffsetProps = React.PropsWithChildren<{
71
+ x?: number;
72
+ y?: number;
73
+ }>;
74
+ declare const BoundaryOffset: ((props: IBoundaryOffsetProps) => React.FunctionComponentElement<React.PropsWithChildren<{
75
+ x?: number | undefined;
76
+ y?: number | undefined;
77
+ } & {
78
+ children?: React.ReactNode;
79
+ } & {
80
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
81
+ }>>) & NestedComponentMeta;
82
+ type ICollisionProps = React.PropsWithChildren<{
83
+ x?: CollisionResolution;
84
+ y?: CollisionResolution;
85
+ }>;
86
+ declare const Collision: ((props: ICollisionProps) => React.FunctionComponentElement<React.PropsWithChildren<{
87
+ x?: CollisionResolution | undefined;
88
+ y?: CollisionResolution | undefined;
89
+ } & {
90
+ children?: React.ReactNode;
91
+ } & {
92
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
93
+ }>>) & NestedComponentMeta;
94
+ type IFromProps = React.PropsWithChildren<{
95
+ left?: number;
96
+ opacity?: number;
97
+ position?: PositionConfig;
98
+ scale?: number;
99
+ top?: number;
100
+ }>;
101
+ declare const From: ((props: IFromProps) => React.FunctionComponentElement<React.PropsWithChildren<{
102
+ left?: number | undefined;
103
+ opacity?: number | undefined;
104
+ position?: PositionConfig | undefined;
105
+ scale?: number | undefined;
106
+ top?: number | undefined;
107
+ } & {
108
+ children?: React.ReactNode;
109
+ } & {
110
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
111
+ }>>) & NestedComponentMeta;
112
+ type IHideProps = React.PropsWithChildren<{
113
+ complete?: (($element: any, config: AnimationConfig) => void);
114
+ delay?: number;
115
+ direction?: Direction | undefined;
116
+ duration?: number;
117
+ easing?: string;
118
+ from?: AnimationState;
119
+ staggerDelay?: number | undefined;
120
+ start?: (($element: any, config: AnimationConfig) => void);
121
+ to?: AnimationState;
122
+ type?: AnimationType;
123
+ }>;
124
+ declare const Hide: ((props: IHideProps) => React.FunctionComponentElement<React.PropsWithChildren<{
125
+ complete?: (($element: any, config: AnimationConfig) => void) | undefined;
126
+ delay?: number | undefined;
127
+ direction?: Direction | undefined;
128
+ duration?: number | undefined;
129
+ easing?: string | undefined;
130
+ from?: AnimationState | undefined;
131
+ staggerDelay?: number | undefined;
132
+ start?: (($element: any, config: AnimationConfig) => void) | undefined;
133
+ to?: AnimationState | undefined;
134
+ type?: AnimationType | undefined;
135
+ } & {
136
+ children?: React.ReactNode;
137
+ } & {
138
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
139
+ }>>) & NestedComponentMeta;
140
+ type IIndicatorOptionsProps = React.PropsWithChildren<{
141
+ animationType?: LoadingAnimationType;
142
+ height?: number | string | undefined;
143
+ src?: string;
144
+ width?: number | string | undefined;
145
+ }>;
146
+ declare const IndicatorOptions: ((props: IIndicatorOptionsProps) => React.FunctionComponentElement<React.PropsWithChildren<{
147
+ animationType?: LoadingAnimationType | undefined;
148
+ height?: number | string | undefined;
149
+ src?: string | undefined;
150
+ width?: number | string | undefined;
151
+ } & {
152
+ children?: React.ReactNode;
153
+ } & {
154
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
155
+ }>>) & NestedComponentMeta;
156
+ type IMyProps = React.PropsWithChildren<{
157
+ x?: HorizontalAlignment;
158
+ y?: VerticalAlignment;
159
+ }>;
160
+ declare const My: ((props: IMyProps) => React.FunctionComponentElement<React.PropsWithChildren<{
161
+ x?: HorizontalAlignment | undefined;
162
+ y?: VerticalAlignment | undefined;
163
+ } & {
164
+ children?: React.ReactNode;
165
+ } & {
166
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
167
+ }>>) & NestedComponentMeta;
168
+ type IOffsetProps = React.PropsWithChildren<{
169
+ x?: number;
170
+ y?: number;
171
+ }>;
172
+ declare const Offset: ((props: IOffsetProps) => React.FunctionComponentElement<React.PropsWithChildren<{
173
+ x?: number | undefined;
174
+ y?: number | undefined;
175
+ } & {
176
+ children?: React.ReactNode;
177
+ } & {
178
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
179
+ }>>) & NestedComponentMeta;
180
+ type IPositionProps = React.PropsWithChildren<{
181
+ at?: Record<string, any> | PositionAlignment | {
182
+ x?: HorizontalAlignment;
183
+ y?: VerticalAlignment;
184
+ };
185
+ boundary?: any | string;
186
+ boundaryOffset?: Record<string, any> | string | {
187
+ x?: number;
188
+ y?: number;
189
+ };
190
+ collision?: CollisionResolutionCombination | Record<string, any> | {
191
+ x?: CollisionResolution;
192
+ y?: CollisionResolution;
193
+ };
194
+ my?: Record<string, any> | PositionAlignment | {
195
+ x?: HorizontalAlignment;
196
+ y?: VerticalAlignment;
197
+ };
198
+ of?: any | string;
199
+ offset?: Record<string, any> | string | {
200
+ x?: number;
201
+ y?: number;
202
+ };
203
+ }>;
204
+ declare const Position: ((props: IPositionProps) => React.FunctionComponentElement<React.PropsWithChildren<{
205
+ at?: Record<string, any> | PositionAlignment | {
206
+ x?: HorizontalAlignment | undefined;
207
+ y?: VerticalAlignment | undefined;
208
+ } | undefined;
209
+ boundary?: any | string;
210
+ boundaryOffset?: string | Record<string, any> | {
211
+ x?: number | undefined;
212
+ y?: number | undefined;
213
+ } | undefined;
214
+ collision?: Record<string, any> | CollisionResolutionCombination | {
215
+ x?: CollisionResolution | undefined;
216
+ y?: CollisionResolution | undefined;
217
+ } | undefined;
218
+ my?: Record<string, any> | PositionAlignment | {
219
+ x?: HorizontalAlignment | undefined;
220
+ y?: VerticalAlignment | undefined;
221
+ } | undefined;
222
+ of?: any | string;
223
+ offset?: string | Record<string, any> | {
224
+ x?: number | undefined;
225
+ y?: number | undefined;
226
+ } | undefined;
227
+ } & {
228
+ children?: React.ReactNode;
229
+ } & {
230
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
231
+ }>>) & NestedComponentMeta;
232
+ type IShowProps = React.PropsWithChildren<{
233
+ complete?: (($element: any, config: AnimationConfig) => void);
234
+ delay?: number;
235
+ direction?: Direction | undefined;
236
+ duration?: number;
237
+ easing?: string;
238
+ from?: AnimationState;
239
+ staggerDelay?: number | undefined;
240
+ start?: (($element: any, config: AnimationConfig) => void);
241
+ to?: AnimationState;
242
+ type?: AnimationType;
243
+ }>;
244
+ declare const Show: ((props: IShowProps) => React.FunctionComponentElement<React.PropsWithChildren<{
245
+ complete?: (($element: any, config: AnimationConfig) => void) | undefined;
246
+ delay?: number | undefined;
247
+ direction?: Direction | undefined;
248
+ duration?: number | undefined;
249
+ easing?: string | undefined;
250
+ from?: AnimationState | undefined;
251
+ staggerDelay?: number | undefined;
252
+ start?: (($element: any, config: AnimationConfig) => void) | undefined;
253
+ to?: AnimationState | undefined;
254
+ type?: AnimationType | undefined;
255
+ } & {
256
+ children?: React.ReactNode;
257
+ } & {
258
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
259
+ }>>) & NestedComponentMeta;
260
+ type IToProps = React.PropsWithChildren<{
261
+ left?: number;
262
+ opacity?: number;
263
+ position?: PositionConfig;
264
+ scale?: number;
265
+ top?: number;
266
+ }>;
267
+ declare const To: ((props: IToProps) => React.FunctionComponentElement<React.PropsWithChildren<{
268
+ left?: number | undefined;
269
+ opacity?: number | undefined;
270
+ position?: PositionConfig | undefined;
271
+ scale?: number | undefined;
272
+ top?: number | undefined;
273
+ } & {
274
+ children?: React.ReactNode;
275
+ } & {
276
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
277
+ }>>) & NestedComponentMeta;
278
+ export default LoadPanel;
279
+ export { LoadPanel, ILoadPanelOptions, LoadPanelRef, Animation, IAnimationProps, At, IAtProps, BoundaryOffset, IBoundaryOffsetProps, Collision, ICollisionProps, From, IFromProps, Hide, IHideProps, IndicatorOptions, IIndicatorOptionsProps, My, IMyProps, Offset, IOffsetProps, Position, IPositionProps, Show, IShowProps, To, IToProps };
280
+ import type * as LoadPanelTypes from 'devextreme/ui/load_panel_types';
281
+ export { LoadPanelTypes };