devextreme-react 23.1.2-beta → 23.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 (207) hide show
  1. package/accordion.d.ts +4 -3
  2. package/accordion.js +2 -2
  3. package/action-sheet.d.ts +17 -4
  4. package/action-sheet.js +2 -2
  5. package/autocomplete.d.ts +8 -26
  6. package/autocomplete.js +2 -2
  7. package/bar-gauge.d.ts +21 -5
  8. package/bar-gauge.js +2 -2
  9. package/box.d.ts +16 -4
  10. package/box.js +2 -2
  11. package/bullet.d.ts +4 -4
  12. package/bullet.js +2 -2
  13. package/button-group.d.ts +13 -3
  14. package/button-group.js +2 -2
  15. package/button.d.ts +13 -3
  16. package/button.js +2 -2
  17. package/calendar.d.ts +12 -3
  18. package/calendar.js +2 -2
  19. package/chart.d.ts +53 -15
  20. package/chart.js +2 -2
  21. package/check-box.d.ts +2 -2
  22. package/check-box.js +2 -2
  23. package/circular-gauge.d.ts +2 -2
  24. package/circular-gauge.js +2 -2
  25. package/color-box.d.ts +8 -26
  26. package/color-box.js +2 -2
  27. package/common/charts.d.ts +2 -2
  28. package/common/charts.js +2 -2
  29. package/common/grids.d.ts +3 -3
  30. package/common/grids.js +2 -2
  31. package/common/index.d.ts +2 -2
  32. package/common/index.js +2 -2
  33. package/context-menu.d.ts +8 -3
  34. package/context-menu.js +2 -2
  35. package/core/component-base.d.ts +2 -2
  36. package/core/component-base.js +2 -2
  37. package/core/component.d.ts +2 -2
  38. package/core/component.js +2 -2
  39. package/core/config.d.ts +2 -2
  40. package/core/config.js +2 -2
  41. package/core/configuration/comparer.d.ts +2 -2
  42. package/core/configuration/comparer.js +2 -2
  43. package/core/configuration/config-node.d.ts +2 -2
  44. package/core/configuration/config-node.js +2 -2
  45. package/core/configuration/react/element.d.ts +2 -2
  46. package/core/configuration/react/element.js +2 -2
  47. package/core/configuration/react/templates.d.ts +2 -2
  48. package/core/configuration/react/templates.js +2 -2
  49. package/core/configuration/react/tree.d.ts +2 -2
  50. package/core/configuration/react/tree.js +2 -2
  51. package/core/configuration/tree.d.ts +2 -2
  52. package/core/configuration/tree.js +2 -2
  53. package/core/configuration/utils.d.ts +2 -2
  54. package/core/configuration/utils.js +2 -2
  55. package/core/dx-template.d.ts +2 -2
  56. package/core/dx-template.js +2 -2
  57. package/core/extension-component.d.ts +2 -2
  58. package/core/extension-component.js +2 -2
  59. package/core/helpers.d.ts +2 -2
  60. package/core/helpers.js +2 -2
  61. package/core/nested-option.d.ts +2 -2
  62. package/core/nested-option.js +2 -2
  63. package/core/options-manager.d.ts +2 -2
  64. package/core/options-manager.js +2 -2
  65. package/core/template-wrapper.d.ts +2 -2
  66. package/core/template-wrapper.js +2 -2
  67. package/core/template.d.ts +2 -2
  68. package/core/template.js +2 -2
  69. package/core/templates-manager.d.ts +2 -2
  70. package/core/templates-manager.js +2 -2
  71. package/core/templates-renderer.d.ts +2 -2
  72. package/core/templates-renderer.js +2 -2
  73. package/core/templates-store.d.ts +2 -2
  74. package/core/templates-store.js +2 -2
  75. package/core/widget-config.d.ts +2 -2
  76. package/core/widget-config.js +2 -2
  77. package/data-grid.d.ts +79 -110
  78. package/data-grid.js +2 -2
  79. package/date-box.d.ts +15 -52
  80. package/date-box.js +2 -2
  81. package/date-range-box.d.ts +21 -52
  82. package/date-range-box.js +6 -11
  83. package/defer-rendering.d.ts +2 -2
  84. package/defer-rendering.js +2 -2
  85. package/diagram.d.ts +8 -3
  86. package/diagram.js +2 -2
  87. package/draggable.d.ts +6 -3
  88. package/draggable.js +2 -2
  89. package/drawer.d.ts +2 -2
  90. package/drawer.js +2 -2
  91. package/drop-down-box.d.ts +8 -26
  92. package/drop-down-box.js +2 -2
  93. package/drop-down-button.d.ts +14 -3
  94. package/drop-down-button.js +2 -2
  95. package/file-manager.d.ts +31 -5
  96. package/file-manager.js +2 -2
  97. package/file-uploader.d.ts +13 -3
  98. package/file-uploader.js +2 -2
  99. package/filter-builder.d.ts +19 -8
  100. package/filter-builder.js +2 -2
  101. package/form.d.ts +35 -68
  102. package/form.js +2 -2
  103. package/funnel.d.ts +21 -5
  104. package/funnel.js +2 -2
  105. package/gallery.d.ts +2 -2
  106. package/gallery.js +2 -2
  107. package/gantt.d.ts +34 -8
  108. package/gantt.js +2 -2
  109. package/html-editor.d.ts +32 -95
  110. package/html-editor.js +2 -2
  111. package/index.d.ts +2 -2
  112. package/index.js +2 -2
  113. package/linear-gauge.d.ts +18 -3
  114. package/linear-gauge.js +2 -2
  115. package/list.d.ts +48 -157
  116. package/list.js +2 -2
  117. package/load-indicator.d.ts +2 -2
  118. package/load-indicator.js +2 -2
  119. package/load-panel.d.ts +2 -2
  120. package/load-panel.js +2 -2
  121. package/lookup.d.ts +10 -3
  122. package/lookup.js +2 -2
  123. package/map.d.ts +9 -3
  124. package/map.js +2 -2
  125. package/menu.d.ts +19 -4
  126. package/menu.js +2 -2
  127. package/multi-view.d.ts +2 -2
  128. package/multi-view.js +2 -2
  129. package/number-box.d.ts +8 -29
  130. package/number-box.js +2 -2
  131. package/package.json +4 -4
  132. package/pie-chart.d.ts +29 -10
  133. package/pie-chart.js +2 -2
  134. package/pivot-grid-field-chooser.d.ts +13 -3
  135. package/pivot-grid-field-chooser.js +2 -2
  136. package/pivot-grid.d.ts +17 -4
  137. package/pivot-grid.js +2 -2
  138. package/polar-chart.d.ts +33 -10
  139. package/polar-chart.js +2 -2
  140. package/popover.d.ts +2 -2
  141. package/popover.js +2 -2
  142. package/popup.d.ts +2 -2
  143. package/popup.js +2 -2
  144. package/progress-bar.d.ts +4 -3
  145. package/progress-bar.js +2 -2
  146. package/radio-group.d.ts +13 -3
  147. package/radio-group.js +2 -2
  148. package/range-selector.d.ts +26 -8
  149. package/range-selector.js +2 -2
  150. package/range-slider.d.ts +4 -3
  151. package/range-slider.js +2 -2
  152. package/recurrence-editor.d.ts +2 -2
  153. package/recurrence-editor.js +2 -2
  154. package/resizable.d.ts +6 -3
  155. package/resizable.js +2 -2
  156. package/responsive-box.d.ts +16 -4
  157. package/responsive-box.js +2 -2
  158. package/sankey.d.ts +18 -4
  159. package/sankey.js +2 -2
  160. package/scheduler.d.ts +32 -10
  161. package/scheduler.js +2 -2
  162. package/scroll-view.d.ts +5 -3
  163. package/scroll-view.js +2 -2
  164. package/select-box.d.ts +10 -27
  165. package/select-box.js +2 -2
  166. package/slider.d.ts +13 -3
  167. package/slider.js +2 -2
  168. package/sortable.d.ts +18 -3
  169. package/sortable.js +2 -2
  170. package/sparkline.d.ts +20 -5
  171. package/sparkline.js +2 -2
  172. package/speed-dial-action.d.ts +5 -3
  173. package/speed-dial-action.js +2 -2
  174. package/switch.d.ts +2 -2
  175. package/switch.js +2 -2
  176. package/tab-panel.d.ts +6 -3
  177. package/tab-panel.js +2 -2
  178. package/tabs.d.ts +16 -4
  179. package/tabs.js +2 -2
  180. package/tag-box.d.ts +11 -27
  181. package/tag-box.js +2 -2
  182. package/text-area.d.ts +2 -2
  183. package/text-area.js +2 -2
  184. package/text-box.d.ts +8 -29
  185. package/text-box.js +2 -2
  186. package/tile-view.d.ts +16 -4
  187. package/tile-view.js +2 -2
  188. package/toast.d.ts +2 -2
  189. package/toast.js +2 -2
  190. package/toolbar.d.ts +16 -4
  191. package/toolbar.js +2 -2
  192. package/tooltip.d.ts +2 -2
  193. package/tooltip.js +2 -2
  194. package/tree-list.d.ts +78 -109
  195. package/tree-list.js +2 -2
  196. package/tree-map.d.ts +20 -4
  197. package/tree-map.js +2 -2
  198. package/tree-view.d.ts +30 -36
  199. package/tree-view.js +2 -2
  200. package/validation-group.d.ts +11 -3
  201. package/validation-group.js +2 -2
  202. package/validation-summary.d.ts +2 -2
  203. package/validation-summary.js +2 -2
  204. package/validator.d.ts +2 -2
  205. package/validator.js +2 -2
  206. package/vector-map.d.ts +22 -5
  207. package/vector-map.js +2 -2
package/tag-box.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,9 +15,9 @@
15
15
  import dxTagBox, { Properties } from "devextreme/ui/tag_box";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CustomItemCreatingEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, ValueChangedEvent } from "devextreme/ui/tag_box";
18
+ import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CustomItemCreatingEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, MultiTagPreparingEvent, OpenedEvent, SelectAllValueChangedEvent, ValueChangedEvent } from "devextreme/ui/tag_box";
19
+ import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
19
20
  import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
20
- import type { dxButtonOptions } from "devextreme/ui/button";
21
21
  import type { event, EventInfo } from "devextreme/events/index";
22
22
  import type { template } from "devextreme/core/templates/template";
23
23
  import type { Component } from "devextreme/core/component";
@@ -27,7 +27,6 @@ import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collectio
27
27
  import type dxOverlay from "devextreme/ui/overlay";
28
28
  import type DOMComponent from "devextreme/core/dom_component";
29
29
  import type dxPopup from "devextreme/ui/popup";
30
- import type dxButton from "devextreme/ui/button";
31
30
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
32
31
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
33
32
  };
@@ -45,7 +44,9 @@ declare type ITagBoxOptionsNarrowedEvents = {
45
44
  onItemClick?: ((e: ItemClickEvent) => void);
46
45
  onKeyDown?: ((e: KeyDownEvent) => void);
47
46
  onKeyUp?: ((e: KeyUpEvent) => void);
47
+ onMultiTagPreparing?: ((e: MultiTagPreparingEvent) => void);
48
48
  onOpened?: ((e: OpenedEvent) => void);
49
+ onSelectAllValueChanged?: ((e: SelectAllValueChangedEvent) => void);
49
50
  onValueChanged?: ((e: ValueChangedEvent) => void);
50
51
  };
51
52
  declare type ITagBoxOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITagBoxOptionsNarrowedEvents> & IHtmlOptions & {
@@ -385,28 +386,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
385
386
  hint?: string;
386
387
  hoverStateEnabled?: boolean;
387
388
  icon?: string;
388
- onClick?: ((e: {
389
- component: dxButton;
390
- element: any;
391
- event: event;
392
- model: any;
393
- validationGroup: Record<string, any>;
394
- }) => void);
395
- onContentReady?: ((e: EventInfo<any>) => void);
396
- onDisposing?: ((e: EventInfo<any>) => void);
397
- onInitialized?: ((e: {
398
- component: Component<any>;
399
- element: any;
400
- }) => void);
401
- onOptionChanged?: ((e: {
402
- component: DOMComponent;
403
- element: any;
404
- fullName: string;
405
- model: any;
406
- name: string;
407
- previousValue: any;
408
- value: any;
409
- }) => void);
389
+ onClick?: ((e: ClickEvent) => void);
390
+ onContentReady?: ((e: ButtonContentReadyEvent) => void);
391
+ onDisposing?: ((e: ButtonDisposingEvent) => void);
392
+ onInitialized?: ((e: ButtonInitializedEvent) => void);
393
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
410
394
  rtlEnabled?: boolean;
411
395
  stylingMode?: "text" | "outlined" | "contained";
412
396
  tabIndex?: number;
package/tag-box.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/text-area.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/text-area.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/text-box.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,12 +16,8 @@ import dxTextBox, { Properties } from "devextreme/ui/text_box";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
18
  import type { ChangeEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/text_box";
19
- import type { dxButtonOptions } from "devextreme/ui/button";
20
- import type { event, EventInfo } from "devextreme/events/index";
21
- import type { Component } from "devextreme/core/component";
19
+ import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
22
20
  import type { template } from "devextreme/core/templates/template";
23
- import type dxButton from "devextreme/ui/button";
24
- import type DOMComponent from "devextreme/core/dom_component";
25
21
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
26
22
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
27
23
  };
@@ -86,28 +82,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
86
82
  hint?: string;
87
83
  hoverStateEnabled?: boolean;
88
84
  icon?: string;
89
- onClick?: ((e: {
90
- component: dxButton;
91
- element: any;
92
- event: event;
93
- model: any;
94
- validationGroup: Record<string, any>;
95
- }) => void);
96
- onContentReady?: ((e: EventInfo<any>) => void);
97
- onDisposing?: ((e: EventInfo<any>) => void);
98
- onInitialized?: ((e: {
99
- component: Component<any>;
100
- element: any;
101
- }) => void);
102
- onOptionChanged?: ((e: {
103
- component: DOMComponent;
104
- element: any;
105
- fullName: string;
106
- model: any;
107
- name: string;
108
- previousValue: any;
109
- value: any;
110
- }) => void);
85
+ onClick?: ((e: ClickEvent) => void);
86
+ onContentReady?: ((e: ButtonContentReadyEvent) => void);
87
+ onDisposing?: ((e: ButtonDisposingEvent) => void);
88
+ onInitialized?: ((e: ButtonInitializedEvent) => void);
89
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
111
90
  rtlEnabled?: boolean;
112
91
  stylingMode?: "text" | "outlined" | "contained";
113
92
  tabIndex?: number;
package/text-box.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/tile-view.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,10 +16,22 @@ export { ExplicitTypes } from "devextreme/ui/tile_view";
16
16
  import dxTileView, { Properties } from "devextreme/ui/tile_view";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- import type { dxTileViewItem } from "devextreme/ui/tile_view";
19
+ import type { dxTileViewItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/tile_view";
20
20
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
21
21
  import type { template } from "devextreme/core/templates/template";
22
- declare type ITileViewOptions<TItem = any, TKey = any> = React.PropsWithChildren<Properties<TItem, TKey> & IHtmlOptions & {
22
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
23
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
24
+ };
25
+ declare type ITileViewOptionsNarrowedEvents<TItem = any, TKey = any> = {
26
+ onContentReady?: ((e: ContentReadyEvent<TItem, TKey>) => void);
27
+ onDisposing?: ((e: DisposingEvent<TItem, TKey>) => void);
28
+ onInitialized?: ((e: InitializedEvent<TItem, TKey>) => void);
29
+ onItemClick?: ((e: ItemClickEvent<TItem, TKey>) => void);
30
+ onItemContextMenu?: ((e: ItemContextMenuEvent<TItem, TKey>) => void);
31
+ onItemHold?: ((e: ItemHoldEvent<TItem, TKey>) => void);
32
+ onItemRendered?: ((e: ItemRenderedEvent<TItem, TKey>) => void);
33
+ };
34
+ declare type ITileViewOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, ITileViewOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
23
35
  dataSource?: Properties<TItem, TKey>["dataSource"];
24
36
  itemRender?: (...params: any) => React.ReactNode;
25
37
  itemComponent?: React.ComponentType<any>;
package/tile-view.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/toast.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/toast.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/toolbar.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,10 +16,22 @@ export { ExplicitTypes } from "devextreme/ui/toolbar";
16
16
  import dxToolbar, { Properties } from "devextreme/ui/toolbar";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- import type { dxToolbarItem } from "devextreme/ui/toolbar";
19
+ import type { dxToolbarItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/toolbar";
20
20
  import type { template } from "devextreme/core/templates/template";
21
21
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
22
- declare type IToolbarOptions<TItem = any, TKey = any> = React.PropsWithChildren<Properties<TItem, TKey> & IHtmlOptions & {
22
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
23
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
24
+ };
25
+ declare type IToolbarOptionsNarrowedEvents<TItem = any, TKey = any> = {
26
+ onContentReady?: ((e: ContentReadyEvent<TItem, TKey>) => void);
27
+ onDisposing?: ((e: DisposingEvent<TItem, TKey>) => void);
28
+ onInitialized?: ((e: InitializedEvent<TItem, TKey>) => void);
29
+ onItemClick?: ((e: ItemClickEvent<TItem, TKey>) => void);
30
+ onItemContextMenu?: ((e: ItemContextMenuEvent<TItem, TKey>) => void);
31
+ onItemHold?: ((e: ItemHoldEvent<TItem, TKey>) => void);
32
+ onItemRendered?: ((e: ItemRenderedEvent<TItem, TKey>) => void);
33
+ };
34
+ declare type IToolbarOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IToolbarOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
23
35
  dataSource?: Properties<TItem, TKey>["dataSource"];
24
36
  itemRender?: (...params: any) => React.ReactNode;
25
37
  itemComponent?: React.ComponentType<any>;
package/toolbar.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/tooltip.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/tooltip.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/tree-list.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,29 +16,69 @@ export { ExplicitTypes } from "devextreme/ui/tree_list";
16
16
  import dxTreeList, { Properties } from "devextreme/ui/tree_list";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- import type { dxTreeListColumn, dxTreeListRowObject, dxTreeListColumnButton, dxTreeListToolbarItem } from "devextreme/ui/tree_list";
19
+ import type { dxTreeListColumn, AdaptiveDetailRowPreparingEvent, CellClickEvent, CellDblClickEvent, CellPreparedEvent, ContentReadyEvent, ContextMenuPreparingEvent, DataErrorOccurredEvent, DisposingEvent, EditCanceledEvent, EditCancelingEvent, EditingStartEvent, EditorPreparedEvent, EditorPreparingEvent, FocusedCellChangingEvent, FocusedRowChangingEvent, InitializedEvent, InitNewRowEvent, KeyDownEvent, NodesInitializedEvent, RowClickEvent, RowCollapsedEvent, RowCollapsingEvent, RowDblClickEvent, RowExpandedEvent, RowExpandingEvent, RowInsertedEvent, RowInsertingEvent, RowPreparedEvent, RowRemovedEvent, RowRemovingEvent, RowUpdatedEvent, RowUpdatingEvent, RowValidatingEvent, SavedEvent, SavingEvent, ToolbarPreparingEvent, dxTreeListRowObject, dxTreeListColumnButton, dxTreeListToolbarItem } from "devextreme/ui/tree_list";
20
20
  import type { DataChange, ColumnHeaderFilterSearchConfig, ColumnChooserSearchConfig, ColumnChooserSelectionConfig, GridBase, HeaderFilterSearchConfig } from "devextreme/common/grids";
21
+ import type { ContentReadyEvent as FilterBuilderContentReadyEvent, DisposingEvent as FilterBuilderDisposingEvent, EditorPreparedEvent as FilterBuilderEditorPreparedEvent, EditorPreparingEvent as FilterBuilderEditorPreparingEvent, InitializedEvent as FilterBuilderInitializedEvent, dxFilterBuilderField, dxFilterBuilderCustomOperation, OptionChangedEvent, ValueChangedEvent } from "devextreme/ui/filter_builder";
22
+ import type { ContentReadyEvent as FormContentReadyEvent, DisposingEvent as FormDisposingEvent, InitializedEvent as FormInitializedEvent, dxFormSimpleItem, dxFormOptions, OptionChangedEvent as FormOptionChangedEvent, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem, EditorEnterKeyEvent, FieldDataChangedEvent } from "devextreme/ui/form";
21
23
  import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
22
24
  import type { event, EventInfo } from "devextreme/events/index";
23
25
  import type { template } from "devextreme/core/templates/template";
24
- import type { dxFormSimpleItem, dxFormOptions, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem } from "devextreme/ui/form";
25
26
  import type { DataSourceOptions } from "devextreme/data/data_source";
26
27
  import type { Store } from "devextreme/data/abstract_store";
27
28
  import type { PositionConfig } from "devextreme/animation/position";
28
- import type { dxFilterBuilderField, dxFilterBuilderCustomOperation } from "devextreme/ui/filter_builder";
29
29
  import type { dxPopupOptions, dxPopupToolbarItem } from "devextreme/ui/popup";
30
30
  import type { Component } from "devextreme/core/component";
31
31
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
32
- import type dxFilterBuilder from "devextreme/ui/filter_builder";
33
- import type DOMComponent from "devextreme/core/dom_component";
34
32
  import type dxOverlay from "devextreme/ui/overlay";
33
+ import type DOMComponent from "devextreme/core/dom_component";
35
34
  import type dxPopup from "devextreme/ui/popup";
36
35
  import type dxForm from "devextreme/ui/form";
37
36
  import type dxSortable from "devextreme/ui/sortable";
38
37
  import type dxDraggable from "devextreme/ui/draggable";
39
38
  import type * as LocalizationTypes from "devextreme/localization";
40
39
  import type * as CommonTypes from "devextreme/common";
41
- declare type ITreeListOptions<TRowData = any, TKey = any> = React.PropsWithChildren<Properties<TRowData, TKey> & IHtmlOptions & {
40
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
41
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
42
+ };
43
+ declare type ITreeListOptionsNarrowedEvents<TRowData = any, TKey = any> = {
44
+ onAdaptiveDetailRowPreparing?: ((e: AdaptiveDetailRowPreparingEvent<TRowData, TKey>) => void);
45
+ onCellClick?: ((e: CellClickEvent<TRowData, TKey>) => void);
46
+ onCellDblClick?: ((e: CellDblClickEvent<TRowData, TKey>) => void);
47
+ onCellPrepared?: ((e: CellPreparedEvent<TRowData, TKey>) => void);
48
+ onContentReady?: ((e: ContentReadyEvent<TRowData, TKey>) => void);
49
+ onContextMenuPreparing?: ((e: ContextMenuPreparingEvent<TRowData, TKey>) => void);
50
+ onDataErrorOccurred?: ((e: DataErrorOccurredEvent<TRowData, TKey>) => void);
51
+ onDisposing?: ((e: DisposingEvent<TRowData, TKey>) => void);
52
+ onEditCanceled?: ((e: EditCanceledEvent<TRowData, TKey>) => void);
53
+ onEditCanceling?: ((e: EditCancelingEvent<TRowData, TKey>) => void);
54
+ onEditingStart?: ((e: EditingStartEvent<TRowData, TKey>) => void);
55
+ onEditorPrepared?: ((e: EditorPreparedEvent<TRowData, TKey>) => void);
56
+ onEditorPreparing?: ((e: EditorPreparingEvent<TRowData, TKey>) => void);
57
+ onFocusedCellChanging?: ((e: FocusedCellChangingEvent<TRowData, TKey>) => void);
58
+ onFocusedRowChanging?: ((e: FocusedRowChangingEvent<TRowData, TKey>) => void);
59
+ onInitialized?: ((e: InitializedEvent<TRowData, TKey>) => void);
60
+ onInitNewRow?: ((e: InitNewRowEvent<TRowData, TKey>) => void);
61
+ onKeyDown?: ((e: KeyDownEvent<TRowData, TKey>) => void);
62
+ onNodesInitialized?: ((e: NodesInitializedEvent<TRowData, TKey>) => void);
63
+ onRowClick?: ((e: RowClickEvent<TRowData, TKey>) => void);
64
+ onRowCollapsed?: ((e: RowCollapsedEvent<TRowData, TKey>) => void);
65
+ onRowCollapsing?: ((e: RowCollapsingEvent<TRowData, TKey>) => void);
66
+ onRowDblClick?: ((e: RowDblClickEvent<TRowData, TKey>) => void);
67
+ onRowExpanded?: ((e: RowExpandedEvent<TRowData, TKey>) => void);
68
+ onRowExpanding?: ((e: RowExpandingEvent<TRowData, TKey>) => void);
69
+ onRowInserted?: ((e: RowInsertedEvent<TRowData, TKey>) => void);
70
+ onRowInserting?: ((e: RowInsertingEvent<TRowData, TKey>) => void);
71
+ onRowPrepared?: ((e: RowPreparedEvent<TRowData, TKey>) => void);
72
+ onRowRemoved?: ((e: RowRemovedEvent<TRowData, TKey>) => void);
73
+ onRowRemoving?: ((e: RowRemovingEvent<TRowData, TKey>) => void);
74
+ onRowUpdated?: ((e: RowUpdatedEvent<TRowData, TKey>) => void);
75
+ onRowUpdating?: ((e: RowUpdatingEvent<TRowData, TKey>) => void);
76
+ onRowValidating?: ((e: RowValidatingEvent<TRowData, TKey>) => void);
77
+ onSaved?: ((e: SavedEvent<TRowData, TKey>) => void);
78
+ onSaving?: ((e: SavingEvent<TRowData, TKey>) => void);
79
+ onToolbarPreparing?: ((e: ToolbarPreparingEvent<TRowData, TKey>) => void);
80
+ };
81
+ declare type ITreeListOptions<TRowData = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TRowData, TKey>, ITreeListOptionsNarrowedEvents<TRowData, TKey>> & IHtmlOptions & {
42
82
  dataSource?: Properties<TRowData, TKey>["dataSource"];
43
83
  defaultColumns?: Array<dxTreeListColumn | string>;
44
84
  defaultEditing?: Record<string, any>;
@@ -315,10 +355,10 @@ declare type IColumnProps = React.PropsWithChildren<{
315
355
  allowSearch?: boolean;
316
356
  allowSorting?: boolean;
317
357
  buttons?: Array<dxTreeListColumnButton | "add" | "cancel" | "delete" | "edit" | "save" | "undelete">;
318
- calculateCellValue?: ((rowData: Record<string, any>) => any);
319
- calculateDisplayValue?: ((rowData: Record<string, any>) => any) | string;
358
+ calculateCellValue?: ((rowData: any) => any);
359
+ calculateDisplayValue?: ((rowData: any) => any) | string;
320
360
  calculateFilterExpression?: ((filterValue: any, selectedFilterOperation: string | null, target: string) => string);
321
- calculateSortValue?: ((rowData: Record<string, any>) => any) | string;
361
+ calculateSortValue?: ((rowData: any) => any) | string;
322
362
  caption?: string;
323
363
  cellTemplate?: ((cellElement: any, cellInfo: {
324
364
  column: dxTreeListColumn;
@@ -391,12 +431,12 @@ declare type IColumnProps = React.PropsWithChildren<{
391
431
  isBand?: boolean;
392
432
  lookup?: Record<string, any> | {
393
433
  allowClearing?: boolean;
394
- calculateCellValue?: ((rowData: Record<string, any>) => any);
434
+ calculateCellValue?: ((rowData: any) => any);
395
435
  dataSource?: Array<any> | DataSourceOptions | ((options: {
396
436
  data: Record<string, any>;
397
437
  key: any;
398
438
  }) => Array<any>) | null | Store;
399
- displayExpr?: ((data: Record<string, any>) => string) | string;
439
+ displayExpr?: ((data: any) => string) | string;
400
440
  valueExpr?: string;
401
441
  };
402
442
  minWidth?: number;
@@ -404,7 +444,7 @@ declare type IColumnProps = React.PropsWithChildren<{
404
444
  ownerBand?: number;
405
445
  renderAsync?: boolean;
406
446
  selectedFilterOperation?: "<" | "<=" | "<>" | "=" | ">" | ">=" | "between" | "contains" | "endswith" | "notcontains" | "startswith";
407
- setCellValue?: ((newData: Record<string, any>, value: any, currentRowData: Record<string, any>) => any);
447
+ setCellValue?: ((newData: any, value: any, currentRowData: any) => any);
408
448
  showEditorAlways?: boolean;
409
449
  showInColumnChooser?: boolean;
410
450
  sortIndex?: number;
@@ -653,12 +693,12 @@ declare class ColumnHeaderFilterSearch extends NestedOption<IColumnHeaderFilterS
653
693
  }
654
694
  declare type IColumnLookupProps = React.PropsWithChildren<{
655
695
  allowClearing?: boolean;
656
- calculateCellValue?: ((rowData: Record<string, any>) => any);
696
+ calculateCellValue?: ((rowData: any) => any);
657
697
  dataSource?: Array<any> | DataSourceOptions | ((options: {
658
698
  data: Record<string, any>;
659
699
  key: any;
660
700
  }) => Array<any>) | null | Store;
661
- displayExpr?: ((data: Record<string, any>) => string) | string;
701
+ displayExpr?: ((data: any) => string) | string;
662
702
  valueExpr?: string;
663
703
  }>;
664
704
  declare class ColumnLookup extends NestedOption<IColumnLookupProps> {
@@ -863,8 +903,8 @@ declare type IFieldProps = React.PropsWithChildren<{
863
903
  lookup?: Record<string, any> | {
864
904
  allowClearing?: boolean;
865
905
  dataSource?: Array<any> | DataSourceOptions | Store;
866
- displayExpr?: ((data: Record<string, any>) => string) | string;
867
- valueExpr?: ((data: Record<string, any>) => string) | string;
906
+ displayExpr?: ((data: any) => string) | string;
907
+ valueExpr?: ((data: any) => string) | string;
868
908
  };
869
909
  name?: string;
870
910
  trueText?: string;
@@ -899,8 +939,8 @@ declare class Field extends NestedOption<IFieldProps> {
899
939
  declare type IFieldLookupProps = React.PropsWithChildren<{
900
940
  allowClearing?: boolean;
901
941
  dataSource?: Array<any> | DataSourceOptions | Store;
902
- displayExpr?: ((data: Record<string, any>) => string) | string;
903
- valueExpr?: ((data: Record<string, any>) => string) | string;
942
+ displayExpr?: ((data: any) => string) | string;
943
+ valueExpr?: ((data: any) => string) | string;
904
944
  }>;
905
945
  declare class FieldLookup extends NestedOption<IFieldLookupProps> {
906
946
  static OptionName: string;
@@ -941,62 +981,13 @@ declare type IFilterBuilderProps = React.PropsWithChildren<{
941
981
  hint?: string;
942
982
  hoverStateEnabled?: boolean;
943
983
  maxGroupLevel?: number;
944
- onContentReady?: ((e: EventInfo<any>) => void);
945
- onDisposing?: ((e: EventInfo<any>) => void);
946
- onEditorPrepared?: ((e: {
947
- component: dxFilterBuilder;
948
- dataField: string;
949
- disabled: boolean;
950
- editorElement: any;
951
- editorName: string;
952
- element: any;
953
- filterOperation: string;
954
- model: any;
955
- readOnly: boolean;
956
- rtlEnabled: boolean;
957
- setValue(newValue: any): any;
958
- updateValueTimeout: number;
959
- value: any;
960
- width: number;
961
- }) => void);
962
- onEditorPreparing?: ((e: {
963
- cancel: boolean;
964
- component: dxFilterBuilder;
965
- dataField: string;
966
- disabled: boolean;
967
- editorElement: any;
968
- editorName: string;
969
- editorOptions: Record<string, any>;
970
- element: any;
971
- filterOperation: string;
972
- model: any;
973
- readOnly: boolean;
974
- rtlEnabled: boolean;
975
- setValue(newValue: any): any;
976
- updateValueTimeout: number;
977
- value: any;
978
- width: number;
979
- }) => void);
980
- onInitialized?: ((e: {
981
- component: Component<any>;
982
- element: any;
983
- }) => void);
984
- onOptionChanged?: ((e: {
985
- component: DOMComponent;
986
- element: any;
987
- fullName: string;
988
- model: any;
989
- name: string;
990
- previousValue: any;
991
- value: any;
992
- }) => void);
993
- onValueChanged?: ((e: {
994
- component: dxFilterBuilder;
995
- element: any;
996
- model: any;
997
- previousValue: Record<string, any>;
998
- value: Record<string, any>;
999
- }) => void);
984
+ onContentReady?: ((e: FilterBuilderContentReadyEvent) => void);
985
+ onDisposing?: ((e: FilterBuilderDisposingEvent) => void);
986
+ onEditorPrepared?: ((e: FilterBuilderEditorPreparedEvent) => void);
987
+ onEditorPreparing?: ((e: FilterBuilderEditorPreparingEvent) => void);
988
+ onInitialized?: ((e: FilterBuilderInitializedEvent) => void);
989
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
990
+ onValueChanged?: ((e: ValueChangedEvent) => void);
1000
991
  rtlEnabled?: boolean;
1001
992
  tabIndex?: number;
1002
993
  value?: Array<any> | (() => any) | string;
@@ -1277,34 +1268,12 @@ declare type IFormProps = React.PropsWithChildren<{
1277
1268
  labelLocation?: "left" | "right" | "top";
1278
1269
  labelMode?: "static" | "floating" | "hidden" | "outside";
1279
1270
  minColWidth?: number;
1280
- onContentReady?: ((e: EventInfo<any>) => void);
1281
- onDisposing?: ((e: EventInfo<any>) => void);
1282
- onEditorEnterKey?: ((e: {
1283
- component: dxForm;
1284
- dataField: string;
1285
- element: any;
1286
- model: any;
1287
- }) => void);
1288
- onFieldDataChanged?: ((e: {
1289
- component: dxForm;
1290
- dataField: string;
1291
- element: any;
1292
- model: any;
1293
- value: Record<string, any>;
1294
- }) => void);
1295
- onInitialized?: ((e: {
1296
- component: Component<any>;
1297
- element: any;
1298
- }) => void);
1299
- onOptionChanged?: ((e: {
1300
- component: DOMComponent;
1301
- element: any;
1302
- fullName: string;
1303
- model: any;
1304
- name: string;
1305
- previousValue: any;
1306
- value: any;
1307
- }) => void);
1271
+ onContentReady?: ((e: FormContentReadyEvent) => void);
1272
+ onDisposing?: ((e: FormDisposingEvent) => void);
1273
+ onEditorEnterKey?: ((e: EditorEnterKeyEvent) => void);
1274
+ onFieldDataChanged?: ((e: FieldDataChangedEvent) => void);
1275
+ onInitialized?: ((e: FormInitializedEvent) => void);
1276
+ onOptionChanged?: ((e: FormOptionChangedEvent) => void);
1308
1277
  optionalMark?: string;
1309
1278
  readOnly?: boolean;
1310
1279
  requiredMark?: string;
@@ -1474,7 +1443,7 @@ declare type IHeaderFilterProps = React.PropsWithChildren<{
1474
1443
  }) => void) | null | Store;
1475
1444
  groupInterval?: number | "day" | "hour" | "minute" | "month" | "quarter" | "second" | "year";
1476
1445
  height?: number;
1477
- search?: ColumnHeaderFilterSearchConfig;
1446
+ search?: ColumnHeaderFilterSearchConfig | HeaderFilterSearchConfig;
1478
1447
  searchMode?: "contains" | "startswith" | "equals";
1479
1448
  width?: number;
1480
1449
  searchTimeout?: number;
@@ -1596,13 +1565,13 @@ declare class LoadPanel extends NestedOption<ILoadPanelProps> {
1596
1565
  }
1597
1566
  declare type ILookupProps = React.PropsWithChildren<{
1598
1567
  allowClearing?: boolean;
1599
- calculateCellValue?: ((rowData: Record<string, any>) => any);
1568
+ calculateCellValue?: ((rowData: any) => any);
1600
1569
  dataSource?: Array<any> | DataSourceOptions | ((options: {
1601
1570
  data: Record<string, any>;
1602
1571
  key: any;
1603
1572
  }) => Array<any>) | null | Store;
1604
- displayExpr?: ((data: Record<string, any>) => string) | string;
1605
- valueExpr?: string;
1573
+ displayExpr?: ((data: any) => string) | string;
1574
+ valueExpr?: string | ((data: any) => string);
1606
1575
  }>;
1607
1576
  declare class Lookup extends NestedOption<ILookupProps> {
1608
1577
  static OptionName: string;
@@ -2109,7 +2078,7 @@ declare class Sorting extends NestedOption<ISortingProps> {
2109
2078
  }
2110
2079
  declare type IStateStoringProps = React.PropsWithChildren<{
2111
2080
  customLoad?: (() => any);
2112
- customSave?: ((gridState: Record<string, any>) => void);
2081
+ customSave?: ((gridState: any) => void);
2113
2082
  enabled?: boolean;
2114
2083
  savingTimeout?: number;
2115
2084
  storageKey?: string;
package/tree-list.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *