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/tooltip.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,284 +11,284 @@
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 dxTooltip, { Properties } from "devextreme/ui/tooltip";
17
- import { IHtmlOptions, NestedComponentMeta } from "./core/component";
18
- import type { Position as CommonPosition, HorizontalAlignment, VerticalAlignment, Direction, PositionAlignment } 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/tooltip";
21
- type ReplaceFieldTypes<TSource, TReplacement> = {
22
- [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
23
- };
24
- type ITooltipOptionsNarrowedEvents = {
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 ITooltipOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITooltipOptionsNarrowedEvents> & IHtmlOptions & {
34
- contentRender?: (...params: any) => React.ReactNode;
35
- contentComponent?: React.ComponentType<any>;
36
- defaultHeight?: number | string;
37
- defaultPosition?: CommonPosition | PositionConfig;
38
- defaultVisible?: boolean;
39
- defaultWidth?: number | string;
40
- onHeightChange?: (value: number | string) => void;
41
- onPositionChange?: (value: CommonPosition | PositionConfig) => void;
42
- onVisibleChange?: (value: boolean) => void;
43
- onWidthChange?: (value: number | string) => void;
44
- }>;
45
- interface TooltipRef {
46
- instance: () => dxTooltip;
47
- }
48
- declare const Tooltip: (props: React.PropsWithChildren<ITooltipOptions> & {
49
- ref?: Ref<TooltipRef>;
50
- }) => ReactElement | null;
51
- type IAnimationProps = React.PropsWithChildren<{
52
- hide?: AnimationConfig;
53
- show?: AnimationConfig;
54
- }>;
55
- declare const Animation: ((props: IAnimationProps) => React.FunctionComponentElement<React.PropsWithChildren<{
56
- hide?: AnimationConfig | undefined;
57
- show?: AnimationConfig | undefined;
58
- } & {
59
- children?: React.ReactNode;
60
- } & {
61
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
62
- }>>) & NestedComponentMeta;
63
- type IAtProps = React.PropsWithChildren<{
64
- x?: HorizontalAlignment;
65
- y?: VerticalAlignment;
66
- }>;
67
- declare const At: ((props: IAtProps) => React.FunctionComponentElement<React.PropsWithChildren<{
68
- x?: HorizontalAlignment | undefined;
69
- y?: VerticalAlignment | undefined;
70
- } & {
71
- children?: React.ReactNode;
72
- } & {
73
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
74
- }>>) & NestedComponentMeta;
75
- type IBoundaryOffsetProps = React.PropsWithChildren<{
76
- x?: number;
77
- y?: number;
78
- }>;
79
- declare const BoundaryOffset: ((props: IBoundaryOffsetProps) => React.FunctionComponentElement<React.PropsWithChildren<{
80
- x?: number | undefined;
81
- y?: number | undefined;
82
- } & {
83
- children?: React.ReactNode;
84
- } & {
85
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
86
- }>>) & NestedComponentMeta;
87
- type ICollisionProps = React.PropsWithChildren<{
88
- x?: CollisionResolution;
89
- y?: CollisionResolution;
90
- }>;
91
- declare const Collision: ((props: ICollisionProps) => React.FunctionComponentElement<React.PropsWithChildren<{
92
- x?: CollisionResolution | undefined;
93
- y?: CollisionResolution | undefined;
94
- } & {
95
- children?: React.ReactNode;
96
- } & {
97
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
98
- }>>) & NestedComponentMeta;
99
- type IFromProps = React.PropsWithChildren<{
100
- left?: number;
101
- opacity?: number;
102
- position?: PositionConfig;
103
- scale?: number;
104
- top?: number;
105
- }>;
106
- declare const From: ((props: IFromProps) => React.FunctionComponentElement<React.PropsWithChildren<{
107
- left?: number | undefined;
108
- opacity?: number | undefined;
109
- position?: PositionConfig | undefined;
110
- scale?: number | undefined;
111
- top?: number | undefined;
112
- } & {
113
- children?: React.ReactNode;
114
- } & {
115
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
116
- }>>) & NestedComponentMeta;
117
- type IHideProps = React.PropsWithChildren<{
118
- complete?: (($element: any, config: AnimationConfig) => void);
119
- delay?: number;
120
- direction?: Direction | undefined;
121
- duration?: number;
122
- easing?: string;
123
- from?: AnimationState;
124
- staggerDelay?: number | undefined;
125
- start?: (($element: any, config: AnimationConfig) => void);
126
- to?: AnimationState;
127
- type?: AnimationType;
128
- }>;
129
- declare const Hide: ((props: IHideProps) => React.FunctionComponentElement<React.PropsWithChildren<{
130
- complete?: (($element: any, config: AnimationConfig) => void) | undefined;
131
- delay?: number | undefined;
132
- direction?: Direction | undefined;
133
- duration?: number | undefined;
134
- easing?: string | undefined;
135
- from?: AnimationState | undefined;
136
- staggerDelay?: number | undefined;
137
- start?: (($element: any, config: AnimationConfig) => void) | undefined;
138
- to?: AnimationState | undefined;
139
- type?: AnimationType | undefined;
140
- } & {
141
- children?: React.ReactNode;
142
- } & {
143
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
144
- }>>) & NestedComponentMeta;
145
- type IHideEventProps = React.PropsWithChildren<{
146
- delay?: number | undefined;
147
- name?: string | undefined;
148
- }>;
149
- declare const HideEvent: ((props: IHideEventProps) => React.FunctionComponentElement<React.PropsWithChildren<{
150
- delay?: number | undefined;
151
- name?: string | undefined;
152
- } & {
153
- children?: React.ReactNode;
154
- } & {
155
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
156
- }>>) & NestedComponentMeta;
157
- type IMyProps = React.PropsWithChildren<{
158
- x?: HorizontalAlignment;
159
- y?: VerticalAlignment;
160
- }>;
161
- declare const My: ((props: IMyProps) => React.FunctionComponentElement<React.PropsWithChildren<{
162
- x?: HorizontalAlignment | undefined;
163
- y?: VerticalAlignment | undefined;
164
- } & {
165
- children?: React.ReactNode;
166
- } & {
167
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
168
- }>>) & NestedComponentMeta;
169
- type IOffsetProps = React.PropsWithChildren<{
170
- x?: number;
171
- y?: number;
172
- }>;
173
- declare const Offset: ((props: IOffsetProps) => React.FunctionComponentElement<React.PropsWithChildren<{
174
- x?: number | undefined;
175
- y?: number | undefined;
176
- } & {
177
- children?: React.ReactNode;
178
- } & {
179
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
180
- }>>) & NestedComponentMeta;
181
- type IPositionProps = React.PropsWithChildren<{
182
- at?: Record<string, any> | PositionAlignment | {
183
- x?: HorizontalAlignment;
184
- y?: VerticalAlignment;
185
- };
186
- boundary?: any | string;
187
- boundaryOffset?: Record<string, any> | string | {
188
- x?: number;
189
- y?: number;
190
- };
191
- collision?: CollisionResolutionCombination | Record<string, any> | {
192
- x?: CollisionResolution;
193
- y?: CollisionResolution;
194
- };
195
- my?: Record<string, any> | PositionAlignment | {
196
- x?: HorizontalAlignment;
197
- y?: VerticalAlignment;
198
- };
199
- of?: any | string;
200
- offset?: Record<string, any> | string | {
201
- x?: number;
202
- y?: number;
203
- };
204
- }>;
205
- declare const Position: ((props: IPositionProps) => React.FunctionComponentElement<React.PropsWithChildren<{
206
- at?: Record<string, any> | PositionAlignment | {
207
- x?: HorizontalAlignment | undefined;
208
- y?: VerticalAlignment | undefined;
209
- } | undefined;
210
- boundary?: any | string;
211
- boundaryOffset?: string | Record<string, any> | {
212
- x?: number | undefined;
213
- y?: number | undefined;
214
- } | undefined;
215
- collision?: Record<string, any> | CollisionResolutionCombination | {
216
- x?: CollisionResolution | undefined;
217
- y?: CollisionResolution | undefined;
218
- } | undefined;
219
- my?: Record<string, any> | PositionAlignment | {
220
- x?: HorizontalAlignment | undefined;
221
- y?: VerticalAlignment | undefined;
222
- } | undefined;
223
- of?: any | string;
224
- offset?: string | Record<string, any> | {
225
- x?: number | undefined;
226
- y?: number | undefined;
227
- } | undefined;
228
- } & {
229
- children?: React.ReactNode;
230
- } & {
231
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
232
- }>>) & NestedComponentMeta;
233
- type IShowProps = React.PropsWithChildren<{
234
- complete?: (($element: any, config: AnimationConfig) => void);
235
- delay?: number;
236
- direction?: Direction | undefined;
237
- duration?: number;
238
- easing?: string;
239
- from?: AnimationState;
240
- staggerDelay?: number | undefined;
241
- start?: (($element: any, config: AnimationConfig) => void);
242
- to?: AnimationState;
243
- type?: AnimationType;
244
- }>;
245
- declare const Show: ((props: IShowProps) => React.FunctionComponentElement<React.PropsWithChildren<{
246
- complete?: (($element: any, config: AnimationConfig) => void) | undefined;
247
- delay?: number | undefined;
248
- direction?: Direction | undefined;
249
- duration?: number | undefined;
250
- easing?: string | undefined;
251
- from?: AnimationState | undefined;
252
- staggerDelay?: number | undefined;
253
- start?: (($element: any, config: AnimationConfig) => void) | undefined;
254
- to?: AnimationState | undefined;
255
- type?: AnimationType | undefined;
256
- } & {
257
- children?: React.ReactNode;
258
- } & {
259
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
260
- }>>) & NestedComponentMeta;
261
- type IShowEventProps = React.PropsWithChildren<{
262
- delay?: number | undefined;
263
- name?: string | undefined;
264
- }>;
265
- declare const ShowEvent: ((props: IShowEventProps) => React.FunctionComponentElement<React.PropsWithChildren<{
266
- delay?: number | undefined;
267
- name?: string | undefined;
268
- } & {
269
- children?: React.ReactNode;
270
- } & {
271
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
272
- }>>) & NestedComponentMeta;
273
- type IToProps = React.PropsWithChildren<{
274
- left?: number;
275
- opacity?: number;
276
- position?: PositionConfig;
277
- scale?: number;
278
- top?: number;
279
- }>;
280
- declare const To: ((props: IToProps) => React.FunctionComponentElement<React.PropsWithChildren<{
281
- left?: number | undefined;
282
- opacity?: number | undefined;
283
- position?: PositionConfig | undefined;
284
- scale?: number | undefined;
285
- top?: number | undefined;
286
- } & {
287
- children?: React.ReactNode;
288
- } & {
289
- elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
290
- }>>) & NestedComponentMeta;
291
- export default Tooltip;
292
- export { Tooltip, ITooltipOptions, TooltipRef, Animation, IAnimationProps, At, IAtProps, BoundaryOffset, IBoundaryOffsetProps, Collision, ICollisionProps, From, IFromProps, Hide, IHideProps, HideEvent, IHideEventProps, My, IMyProps, Offset, IOffsetProps, Position, IPositionProps, Show, IShowProps, ShowEvent, IShowEventProps, To, IToProps };
293
- import type * as TooltipTypes from 'devextreme/ui/tooltip_types';
294
- export { TooltipTypes };
14
+ import * as React from "react";
15
+ import { Ref, ReactElement } from "react";
16
+ import dxTooltip, { Properties } from "devextreme/ui/tooltip";
17
+ import { IHtmlOptions, NestedComponentMeta } from "./core/component";
18
+ import type { Position as CommonPosition, HorizontalAlignment, VerticalAlignment, Direction, PositionAlignment } 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/tooltip";
21
+ type ReplaceFieldTypes<TSource, TReplacement> = {
22
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
23
+ };
24
+ type ITooltipOptionsNarrowedEvents = {
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 ITooltipOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITooltipOptionsNarrowedEvents> & IHtmlOptions & {
34
+ contentRender?: (...params: any) => React.ReactNode;
35
+ contentComponent?: React.ComponentType<any>;
36
+ defaultHeight?: number | string;
37
+ defaultPosition?: CommonPosition | PositionConfig;
38
+ defaultVisible?: boolean;
39
+ defaultWidth?: number | string;
40
+ onHeightChange?: (value: number | string) => void;
41
+ onPositionChange?: (value: CommonPosition | PositionConfig) => void;
42
+ onVisibleChange?: (value: boolean) => void;
43
+ onWidthChange?: (value: number | string) => void;
44
+ }>;
45
+ interface TooltipRef {
46
+ instance: () => dxTooltip;
47
+ }
48
+ declare const Tooltip: (props: React.PropsWithChildren<ITooltipOptions> & {
49
+ ref?: Ref<TooltipRef>;
50
+ }) => ReactElement | null;
51
+ type IAnimationProps = React.PropsWithChildren<{
52
+ hide?: AnimationConfig;
53
+ show?: AnimationConfig;
54
+ }>;
55
+ declare const Animation: ((props: IAnimationProps) => React.FunctionComponentElement<React.PropsWithChildren<{
56
+ hide?: AnimationConfig | undefined;
57
+ show?: AnimationConfig | undefined;
58
+ } & {
59
+ children?: React.ReactNode;
60
+ } & {
61
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
62
+ }>>) & NestedComponentMeta;
63
+ type IAtProps = React.PropsWithChildren<{
64
+ x?: HorizontalAlignment;
65
+ y?: VerticalAlignment;
66
+ }>;
67
+ declare const At: ((props: IAtProps) => React.FunctionComponentElement<React.PropsWithChildren<{
68
+ x?: HorizontalAlignment | undefined;
69
+ y?: VerticalAlignment | undefined;
70
+ } & {
71
+ children?: React.ReactNode;
72
+ } & {
73
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
74
+ }>>) & NestedComponentMeta;
75
+ type IBoundaryOffsetProps = React.PropsWithChildren<{
76
+ x?: number;
77
+ y?: number;
78
+ }>;
79
+ declare const BoundaryOffset: ((props: IBoundaryOffsetProps) => React.FunctionComponentElement<React.PropsWithChildren<{
80
+ x?: number | undefined;
81
+ y?: number | undefined;
82
+ } & {
83
+ children?: React.ReactNode;
84
+ } & {
85
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
86
+ }>>) & NestedComponentMeta;
87
+ type ICollisionProps = React.PropsWithChildren<{
88
+ x?: CollisionResolution;
89
+ y?: CollisionResolution;
90
+ }>;
91
+ declare const Collision: ((props: ICollisionProps) => React.FunctionComponentElement<React.PropsWithChildren<{
92
+ x?: CollisionResolution | undefined;
93
+ y?: CollisionResolution | undefined;
94
+ } & {
95
+ children?: React.ReactNode;
96
+ } & {
97
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
98
+ }>>) & NestedComponentMeta;
99
+ type IFromProps = React.PropsWithChildren<{
100
+ left?: number;
101
+ opacity?: number;
102
+ position?: PositionConfig;
103
+ scale?: number;
104
+ top?: number;
105
+ }>;
106
+ declare const From: ((props: IFromProps) => React.FunctionComponentElement<React.PropsWithChildren<{
107
+ left?: number | undefined;
108
+ opacity?: number | undefined;
109
+ position?: PositionConfig | undefined;
110
+ scale?: number | undefined;
111
+ top?: number | undefined;
112
+ } & {
113
+ children?: React.ReactNode;
114
+ } & {
115
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
116
+ }>>) & NestedComponentMeta;
117
+ type IHideProps = React.PropsWithChildren<{
118
+ complete?: (($element: any, config: AnimationConfig) => void);
119
+ delay?: number;
120
+ direction?: Direction | undefined;
121
+ duration?: number;
122
+ easing?: string;
123
+ from?: AnimationState;
124
+ staggerDelay?: number | undefined;
125
+ start?: (($element: any, config: AnimationConfig) => void);
126
+ to?: AnimationState;
127
+ type?: AnimationType;
128
+ }>;
129
+ declare const Hide: ((props: IHideProps) => React.FunctionComponentElement<React.PropsWithChildren<{
130
+ complete?: (($element: any, config: AnimationConfig) => void) | undefined;
131
+ delay?: number | undefined;
132
+ direction?: Direction | undefined;
133
+ duration?: number | undefined;
134
+ easing?: string | undefined;
135
+ from?: AnimationState | undefined;
136
+ staggerDelay?: number | undefined;
137
+ start?: (($element: any, config: AnimationConfig) => void) | undefined;
138
+ to?: AnimationState | undefined;
139
+ type?: AnimationType | undefined;
140
+ } & {
141
+ children?: React.ReactNode;
142
+ } & {
143
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
144
+ }>>) & NestedComponentMeta;
145
+ type IHideEventProps = React.PropsWithChildren<{
146
+ delay?: number | undefined;
147
+ name?: string | undefined;
148
+ }>;
149
+ declare const HideEvent: ((props: IHideEventProps) => React.FunctionComponentElement<React.PropsWithChildren<{
150
+ delay?: number | undefined;
151
+ name?: string | undefined;
152
+ } & {
153
+ children?: React.ReactNode;
154
+ } & {
155
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
156
+ }>>) & NestedComponentMeta;
157
+ type IMyProps = React.PropsWithChildren<{
158
+ x?: HorizontalAlignment;
159
+ y?: VerticalAlignment;
160
+ }>;
161
+ declare const My: ((props: IMyProps) => React.FunctionComponentElement<React.PropsWithChildren<{
162
+ x?: HorizontalAlignment | undefined;
163
+ y?: VerticalAlignment | undefined;
164
+ } & {
165
+ children?: React.ReactNode;
166
+ } & {
167
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
168
+ }>>) & NestedComponentMeta;
169
+ type IOffsetProps = React.PropsWithChildren<{
170
+ x?: number;
171
+ y?: number;
172
+ }>;
173
+ declare const Offset: ((props: IOffsetProps) => React.FunctionComponentElement<React.PropsWithChildren<{
174
+ x?: number | undefined;
175
+ y?: number | undefined;
176
+ } & {
177
+ children?: React.ReactNode;
178
+ } & {
179
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
180
+ }>>) & NestedComponentMeta;
181
+ type IPositionProps = React.PropsWithChildren<{
182
+ at?: Record<string, any> | PositionAlignment | {
183
+ x?: HorizontalAlignment;
184
+ y?: VerticalAlignment;
185
+ };
186
+ boundary?: any | string;
187
+ boundaryOffset?: Record<string, any> | string | {
188
+ x?: number;
189
+ y?: number;
190
+ };
191
+ collision?: CollisionResolutionCombination | Record<string, any> | {
192
+ x?: CollisionResolution;
193
+ y?: CollisionResolution;
194
+ };
195
+ my?: Record<string, any> | PositionAlignment | {
196
+ x?: HorizontalAlignment;
197
+ y?: VerticalAlignment;
198
+ };
199
+ of?: any | string;
200
+ offset?: Record<string, any> | string | {
201
+ x?: number;
202
+ y?: number;
203
+ };
204
+ }>;
205
+ declare const Position: ((props: IPositionProps) => React.FunctionComponentElement<React.PropsWithChildren<{
206
+ at?: Record<string, any> | PositionAlignment | {
207
+ x?: HorizontalAlignment | undefined;
208
+ y?: VerticalAlignment | undefined;
209
+ } | undefined;
210
+ boundary?: any | string;
211
+ boundaryOffset?: string | Record<string, any> | {
212
+ x?: number | undefined;
213
+ y?: number | undefined;
214
+ } | undefined;
215
+ collision?: Record<string, any> | CollisionResolutionCombination | {
216
+ x?: CollisionResolution | undefined;
217
+ y?: CollisionResolution | undefined;
218
+ } | undefined;
219
+ my?: Record<string, any> | PositionAlignment | {
220
+ x?: HorizontalAlignment | undefined;
221
+ y?: VerticalAlignment | undefined;
222
+ } | undefined;
223
+ of?: any | string;
224
+ offset?: string | Record<string, any> | {
225
+ x?: number | undefined;
226
+ y?: number | undefined;
227
+ } | undefined;
228
+ } & {
229
+ children?: React.ReactNode;
230
+ } & {
231
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
232
+ }>>) & NestedComponentMeta;
233
+ type IShowProps = React.PropsWithChildren<{
234
+ complete?: (($element: any, config: AnimationConfig) => void);
235
+ delay?: number;
236
+ direction?: Direction | undefined;
237
+ duration?: number;
238
+ easing?: string;
239
+ from?: AnimationState;
240
+ staggerDelay?: number | undefined;
241
+ start?: (($element: any, config: AnimationConfig) => void);
242
+ to?: AnimationState;
243
+ type?: AnimationType;
244
+ }>;
245
+ declare const Show: ((props: IShowProps) => React.FunctionComponentElement<React.PropsWithChildren<{
246
+ complete?: (($element: any, config: AnimationConfig) => void) | undefined;
247
+ delay?: number | undefined;
248
+ direction?: Direction | undefined;
249
+ duration?: number | undefined;
250
+ easing?: string | undefined;
251
+ from?: AnimationState | undefined;
252
+ staggerDelay?: number | undefined;
253
+ start?: (($element: any, config: AnimationConfig) => void) | undefined;
254
+ to?: AnimationState | undefined;
255
+ type?: AnimationType | undefined;
256
+ } & {
257
+ children?: React.ReactNode;
258
+ } & {
259
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
260
+ }>>) & NestedComponentMeta;
261
+ type IShowEventProps = React.PropsWithChildren<{
262
+ delay?: number | undefined;
263
+ name?: string | undefined;
264
+ }>;
265
+ declare const ShowEvent: ((props: IShowEventProps) => React.FunctionComponentElement<React.PropsWithChildren<{
266
+ delay?: number | undefined;
267
+ name?: string | undefined;
268
+ } & {
269
+ children?: React.ReactNode;
270
+ } & {
271
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
272
+ }>>) & NestedComponentMeta;
273
+ type IToProps = React.PropsWithChildren<{
274
+ left?: number;
275
+ opacity?: number;
276
+ position?: PositionConfig;
277
+ scale?: number;
278
+ top?: number;
279
+ }>;
280
+ declare const To: ((props: IToProps) => React.FunctionComponentElement<React.PropsWithChildren<{
281
+ left?: number | undefined;
282
+ opacity?: number | undefined;
283
+ position?: PositionConfig | undefined;
284
+ scale?: number | undefined;
285
+ top?: number | undefined;
286
+ } & {
287
+ children?: React.ReactNode;
288
+ } & {
289
+ elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
290
+ }>>) & NestedComponentMeta;
291
+ export default Tooltip;
292
+ export { Tooltip, ITooltipOptions, TooltipRef, Animation, IAnimationProps, At, IAtProps, BoundaryOffset, IBoundaryOffsetProps, Collision, ICollisionProps, From, IFromProps, Hide, IHideProps, HideEvent, IHideEventProps, My, IMyProps, Offset, IOffsetProps, Position, IPositionProps, Show, IShowProps, ShowEvent, IShowEventProps, To, IToProps };
293
+ import type * as TooltipTypes from 'devextreme/ui/tooltip_types';
294
+ export { TooltipTypes };