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
@@ -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/diagram.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,7 +15,7 @@
15
15
  import dxDiagram, { Properties } from "devextreme/ui/diagram";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { ContentReadyEvent, DisposingEvent, InitializedEvent, dxDiagramCustomCommand, dxDiagramShape } from "devextreme/ui/diagram";
18
+ import type { ContentReadyEvent, CustomCommandEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemDblClickEvent, RequestEditOperationEvent, RequestLayoutUpdateEvent, dxDiagramCustomCommand, dxDiagramShape } from "devextreme/ui/diagram";
19
19
  import type { dxSVGElement } from "devextreme/core/element";
20
20
  import type { template } from "devextreme/core/templates/template";
21
21
  import type { DataSourceOptions } from "devextreme/data/data_source";
@@ -26,8 +26,13 @@ declare type ReplaceFieldTypes<TSource, TReplacement> = {
26
26
  };
27
27
  declare type IDiagramOptionsNarrowedEvents = {
28
28
  onContentReady?: ((e: ContentReadyEvent) => void);
29
+ onCustomCommand?: ((e: CustomCommandEvent) => void);
29
30
  onDisposing?: ((e: DisposingEvent) => void);
30
31
  onInitialized?: ((e: InitializedEvent) => void);
32
+ onItemClick?: ((e: ItemClickEvent) => void);
33
+ onItemDblClick?: ((e: ItemDblClickEvent) => void);
34
+ onRequestEditOperation?: ((e: RequestEditOperationEvent) => void);
35
+ onRequestLayoutUpdate?: ((e: RequestLayoutUpdateEvent) => void);
31
36
  };
32
37
  declare type IDiagramOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDiagramOptionsNarrowedEvents> & IHtmlOptions & {
33
38
  customShapeRender?: (...params: any) => React.ReactNode;
package/diagram.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/draggable.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,12 +15,15 @@
15
15
  import dxDraggable, { Properties } from "devextreme/ui/draggable";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { DisposingEvent, InitializedEvent } from "devextreme/ui/draggable";
18
+ import type { DisposingEvent, DragEndEvent, DragMoveEvent, DragStartEvent, InitializedEvent } from "devextreme/ui/draggable";
19
19
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
20
20
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
21
21
  };
22
22
  declare type IDraggableOptionsNarrowedEvents = {
23
23
  onDisposing?: ((e: DisposingEvent) => void);
24
+ onDragEnd?: ((e: DragEndEvent) => void);
25
+ onDragMove?: ((e: DragMoveEvent) => void);
26
+ onDragStart?: ((e: DragStartEvent) => void);
24
27
  onInitialized?: ((e: InitializedEvent) => void);
25
28
  };
26
29
  declare type IDraggableOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDraggableOptionsNarrowedEvents> & IHtmlOptions & {
package/draggable.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/drawer.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/drawer.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
  *
@@ -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,8 +16,8 @@ import dxDropDownBox, { Properties } from "devextreme/ui/drop_down_box";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
18
  import type { ChangeEvent, ClosedEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/drop_down_box";
19
+ import type { DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, ContentReadyEvent, 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
  };
@@ -352,28 +351,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
352
351
  hint?: string;
353
352
  hoverStateEnabled?: boolean;
354
353
  icon?: string;
355
- onClick?: ((e: {
356
- component: dxButton;
357
- element: any;
358
- event: event;
359
- model: any;
360
- validationGroup: Record<string, any>;
361
- }) => void);
362
- onContentReady?: ((e: EventInfo<any>) => void);
363
- onDisposing?: ((e: EventInfo<any>) => void);
364
- onInitialized?: ((e: {
365
- component: Component<any>;
366
- element: any;
367
- }) => void);
368
- onOptionChanged?: ((e: {
369
- component: DOMComponent;
370
- element: any;
371
- fullName: string;
372
- model: any;
373
- name: string;
374
- previousValue: any;
375
- value: any;
376
- }) => void);
354
+ onClick?: ((e: ClickEvent) => void);
355
+ onContentReady?: ((e: ContentReadyEvent) => void);
356
+ onDisposing?: ((e: ButtonDisposingEvent) => void);
357
+ onInitialized?: ((e: ButtonInitializedEvent) => void);
358
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
377
359
  rtlEnabled?: boolean;
378
360
  stylingMode?: "text" | "outlined" | "contained";
379
361
  tabIndex?: number;
package/drop-down-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
  *
@@ -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,6 +15,7 @@
15
15
  import dxDropDownButton, { Properties } from "devextreme/ui/drop_down_button";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
+ import type { ButtonClickEvent, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent } from "devextreme/ui/drop_down_button";
18
19
  import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
19
20
  import type { event, EventInfo } from "devextreme/events/index";
20
21
  import type { template } from "devextreme/core/templates/template";
@@ -25,7 +26,17 @@ import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collectio
25
26
  import type dxOverlay from "devextreme/ui/overlay";
26
27
  import type DOMComponent from "devextreme/core/dom_component";
27
28
  import type dxPopup from "devextreme/ui/popup";
28
- declare type IDropDownButtonOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
29
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
30
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
31
+ };
32
+ declare type IDropDownButtonOptionsNarrowedEvents = {
33
+ onButtonClick?: ((e: ButtonClickEvent) => void);
34
+ onContentReady?: ((e: ContentReadyEvent) => void);
35
+ onDisposing?: ((e: DisposingEvent) => void);
36
+ onInitialized?: ((e: InitializedEvent) => void);
37
+ onItemClick?: ((e: ItemClickEvent) => void);
38
+ };
39
+ declare type IDropDownButtonOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDropDownButtonOptionsNarrowedEvents> & IHtmlOptions & {
29
40
  dropDownContentRender?: (...params: any) => React.ReactNode;
30
41
  dropDownContentComponent?: React.ComponentType<any>;
31
42
  dropDownContentKeyFn?: (data: any) => string;
@@ -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/file-manager.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,8 +15,34 @@
15
15
  import dxFileManager, { Properties } from "devextreme/ui/file_manager";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { dxFileManagerContextMenuItem, dxFileManagerDetailsColumn, dxFileManagerToolbarItem } from "devextreme/ui/file_manager";
19
- declare type IFileManagerOptions = React.PropsWithChildren<Properties & IHtmlOptions & {}>;
18
+ import type { ContentReadyEvent, ContextMenuItemClickEvent, ContextMenuShowingEvent, DirectoryCreatedEvent, DirectoryCreatingEvent, DisposingEvent, ErrorOccurredEvent, FileUploadedEvent, FileUploadingEvent, InitializedEvent, ItemCopiedEvent, ItemCopyingEvent, ItemDeletedEvent, ItemDeletingEvent, ItemDownloadingEvent, ItemMovedEvent, ItemMovingEvent, ItemRenamedEvent, ItemRenamingEvent, SelectedFileOpenedEvent, ToolbarItemClickEvent, dxFileManagerContextMenuItem, dxFileManagerDetailsColumn, dxFileManagerToolbarItem } from "devextreme/ui/file_manager";
19
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
20
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
21
+ };
22
+ declare type IFileManagerOptionsNarrowedEvents = {
23
+ onContentReady?: ((e: ContentReadyEvent) => void);
24
+ onContextMenuItemClick?: ((e: ContextMenuItemClickEvent) => void);
25
+ onContextMenuShowing?: ((e: ContextMenuShowingEvent) => void);
26
+ onDirectoryCreated?: ((e: DirectoryCreatedEvent) => void);
27
+ onDirectoryCreating?: ((e: DirectoryCreatingEvent) => void);
28
+ onDisposing?: ((e: DisposingEvent) => void);
29
+ onErrorOccurred?: ((e: ErrorOccurredEvent) => void);
30
+ onFileUploaded?: ((e: FileUploadedEvent) => void);
31
+ onFileUploading?: ((e: FileUploadingEvent) => void);
32
+ onInitialized?: ((e: InitializedEvent) => void);
33
+ onItemCopied?: ((e: ItemCopiedEvent) => void);
34
+ onItemCopying?: ((e: ItemCopyingEvent) => void);
35
+ onItemDeleted?: ((e: ItemDeletedEvent) => void);
36
+ onItemDeleting?: ((e: ItemDeletingEvent) => void);
37
+ onItemDownloading?: ((e: ItemDownloadingEvent) => void);
38
+ onItemMoved?: ((e: ItemMovedEvent) => void);
39
+ onItemMoving?: ((e: ItemMovingEvent) => void);
40
+ onItemRenamed?: ((e: ItemRenamedEvent) => void);
41
+ onItemRenaming?: ((e: ItemRenamingEvent) => void);
42
+ onSelectedFileOpened?: ((e: SelectedFileOpenedEvent) => void);
43
+ onToolbarItemClick?: ((e: ToolbarItemClickEvent) => void);
44
+ };
45
+ declare type IFileManagerOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFileManagerOptionsNarrowedEvents> & IHtmlOptions & {}>;
20
46
  declare class FileManager extends BaseComponent<React.PropsWithChildren<IFileManagerOptions>> {
21
47
  get instance(): dxFileManager;
22
48
  protected _WidgetClass: typeof dxFileManager;
@@ -132,7 +158,7 @@ declare type IItemProps = React.PropsWithChildren<{
132
158
  disabled?: boolean;
133
159
  icon?: string;
134
160
  items?: Array<dxFileManagerContextMenuItem>;
135
- name?: "create" | "upload" | "refresh" | "download" | "move" | "copy" | "rename" | "delete";
161
+ name?: "create" | "upload" | "refresh" | "download" | "move" | "copy" | "rename" | "delete" | "showNavPane" | "switchView" | "clearSelection" | "separator";
136
162
  selectable?: boolean;
137
163
  selected?: boolean;
138
164
  text?: string;
package/file-manager.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
  *
@@ -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
  *
@@ -14,14 +14,24 @@
14
14
  /// <reference types="react" />
15
15
  import dxFileUploader, { Properties } from "devextreme/ui/file_uploader";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
- import type { ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/file_uploader";
17
+ import type { BeforeSendEvent, ContentReadyEvent, DisposingEvent, DropZoneEnterEvent, DropZoneLeaveEvent, FilesUploadedEvent, InitializedEvent, ProgressEvent, UploadAbortedEvent, UploadedEvent, UploadErrorEvent, UploadStartedEvent, ValueChangedEvent } from "devextreme/ui/file_uploader";
18
18
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
19
19
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
20
20
  };
21
21
  declare type IFileUploaderOptionsNarrowedEvents = {
22
+ onBeforeSend?: ((e: BeforeSendEvent) => void);
22
23
  onContentReady?: ((e: ContentReadyEvent) => void);
23
24
  onDisposing?: ((e: DisposingEvent) => void);
25
+ onDropZoneEnter?: ((e: DropZoneEnterEvent) => void);
26
+ onDropZoneLeave?: ((e: DropZoneLeaveEvent) => void);
27
+ onFilesUploaded?: ((e: FilesUploadedEvent) => void);
24
28
  onInitialized?: ((e: InitializedEvent) => void);
29
+ onProgress?: ((e: ProgressEvent) => void);
30
+ onUploadAborted?: ((e: UploadAbortedEvent) => void);
31
+ onUploaded?: ((e: UploadedEvent) => void);
32
+ onUploadError?: ((e: UploadErrorEvent) => void);
33
+ onUploadStarted?: ((e: UploadStartedEvent) => void);
34
+ onValueChanged?: ((e: ValueChangedEvent) => void);
25
35
  };
26
36
  declare type IFileUploaderOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFileUploaderOptionsNarrowedEvents> & IHtmlOptions & {
27
37
  defaultValue?: Array<any>;
package/file-uploader.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
  *
@@ -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,12 +15,23 @@
15
15
  import dxFilterBuilder, { Properties } from "devextreme/ui/filter_builder";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { dxFilterBuilderField } from "devextreme/ui/filter_builder";
18
+ import type { ContentReadyEvent, DisposingEvent, EditorPreparedEvent, EditorPreparingEvent, InitializedEvent, ValueChangedEvent, dxFilterBuilderField } from "devextreme/ui/filter_builder";
19
19
  import type { template } from "devextreme/core/templates/template";
20
20
  import type { DataSourceOptions } from "devextreme/data/data_source";
21
21
  import type { Store } from "devextreme/data/abstract_store";
22
22
  import type * as LocalizationTypes from "devextreme/localization";
23
- declare type IFilterBuilderOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
23
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
24
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
25
+ };
26
+ declare type IFilterBuilderOptionsNarrowedEvents = {
27
+ onContentReady?: ((e: ContentReadyEvent) => void);
28
+ onDisposing?: ((e: DisposingEvent) => void);
29
+ onEditorPrepared?: ((e: EditorPreparedEvent) => void);
30
+ onEditorPreparing?: ((e: EditorPreparingEvent) => void);
31
+ onInitialized?: ((e: InitializedEvent) => void);
32
+ onValueChanged?: ((e: ValueChangedEvent) => void);
33
+ };
34
+ declare type IFilterBuilderOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFilterBuilderOptionsNarrowedEvents> & IHtmlOptions & {
24
35
  defaultValue?: Array<any> | (() => any) | string;
25
36
  onValueChange?: (value: Array<any> | (() => any) | string) => void;
26
37
  }>;
@@ -105,8 +116,8 @@ declare type IFieldProps = React.PropsWithChildren<{
105
116
  lookup?: Record<string, any> | {
106
117
  allowClearing?: boolean;
107
118
  dataSource?: Array<any> | DataSourceOptions | Store;
108
- displayExpr?: ((data: Record<string, any>) => string) | string;
109
- valueExpr?: ((data: Record<string, any>) => string) | string;
119
+ displayExpr?: ((data: any) => string) | string;
120
+ valueExpr?: ((data: any) => string) | string;
110
121
  };
111
122
  name?: string;
112
123
  trueText?: string;
@@ -175,8 +186,8 @@ declare class GroupOperationDescriptions extends NestedOption<IGroupOperationDes
175
186
  declare type ILookupProps = React.PropsWithChildren<{
176
187
  allowClearing?: boolean;
177
188
  dataSource?: Array<any> | DataSourceOptions | Store;
178
- displayExpr?: ((data: Record<string, any>) => string) | string;
179
- valueExpr?: ((data: Record<string, any>) => string) | string;
189
+ displayExpr?: ((data: any) => string) | string;
190
+ valueExpr?: ((data: any) => string) | string;
180
191
  }>;
181
192
  declare class Lookup extends NestedOption<ILookupProps> {
182
193
  static OptionName: string;
package/filter-builder.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/form.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,21 +15,25 @@
15
15
  import dxForm, { Properties } from "devextreme/ui/form";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { dxButtonOptions } from "devextreme/ui/button";
19
- import type { event, EventInfo } from "devextreme/events/index";
20
- import type { Component } from "devextreme/core/component";
18
+ import type { ContentReadyEvent, DisposingEvent, EditorEnterKeyEvent, InitializedEvent, dxFormButtonItem, dxFormEmptyItem, dxFormGroupItem, dxFormSimpleItem, dxFormTabbedItem } from "devextreme/ui/form";
19
+ import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
20
+ import type { ContentReadyEvent as TabPanelContentReadyEvent, DisposingEvent as TabPanelDisposingEvent, InitializedEvent as TabPanelInitializedEvent, OptionChangedEvent as TabPanelOptionChangedEvent, dxTabPanelOptions, dxTabPanelItem, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, SelectionChangedEvent, TitleClickEvent, TitleHoldEvent, TitleRenderedEvent } from "devextreme/ui/tab_panel";
21
21
  import type { template } from "devextreme/core/templates/template";
22
- import type { dxFormButtonItem, dxFormEmptyItem, dxFormGroupItem, dxFormSimpleItem, dxFormTabbedItem } from "devextreme/ui/form";
23
22
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
24
- import type { dxTabPanelOptions, dxTabPanelItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, OptionChangedEvent, SelectionChangedEvent } from "devextreme/ui/tab_panel";
25
23
  import type { DataSourceOptions } from "devextreme/data/data_source";
26
24
  import type { Store } from "devextreme/data/abstract_store";
27
- import type dxButton from "devextreme/ui/button";
28
- import type DOMComponent from "devextreme/core/dom_component";
29
25
  import type DataSource from "devextreme/data/data_source";
30
- import type dxTabPanel from "devextreme/ui/tab_panel";
31
26
  import type * as CommonTypes from "devextreme/common";
32
- declare type IFormOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
27
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
28
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
29
+ };
30
+ declare type IFormOptionsNarrowedEvents = {
31
+ onContentReady?: ((e: ContentReadyEvent) => void);
32
+ onDisposing?: ((e: DisposingEvent) => void);
33
+ onEditorEnterKey?: ((e: EditorEnterKeyEvent) => void);
34
+ onInitialized?: ((e: InitializedEvent) => void);
35
+ };
36
+ declare type IFormOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFormOptionsNarrowedEvents> & IHtmlOptions & {
33
37
  defaultFormData?: any;
34
38
  onFormDataChange?: (value: any) => void;
35
39
  }>;
@@ -128,28 +132,11 @@ declare type IButtonOptionsProps = React.PropsWithChildren<{
128
132
  hint?: string;
129
133
  hoverStateEnabled?: boolean;
130
134
  icon?: string;
131
- onClick?: ((e: {
132
- component: dxButton;
133
- element: any;
134
- event: event;
135
- model: any;
136
- validationGroup: Record<string, any>;
137
- }) => void);
138
- onContentReady?: ((e: EventInfo<any>) => void);
139
- onDisposing?: ((e: EventInfo<any>) => void);
140
- onInitialized?: ((e: {
141
- component: Component<any>;
142
- element: any;
143
- }) => void);
144
- onOptionChanged?: ((e: {
145
- component: DOMComponent;
146
- element: any;
147
- fullName: string;
148
- model: any;
149
- name: string;
150
- previousValue: any;
151
- value: any;
152
- }) => void);
135
+ onClick?: ((e: ClickEvent) => void);
136
+ onContentReady?: ((e: ButtonContentReadyEvent) => void);
137
+ onDisposing?: ((e: ButtonDisposingEvent) => void);
138
+ onInitialized?: ((e: ButtonInitializedEvent) => void);
139
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
153
140
  rtlEnabled?: boolean;
154
141
  stylingMode?: "text" | "outlined" | "contained";
155
142
  tabIndex?: number;
@@ -351,8 +338,8 @@ declare type IItemProps = React.PropsWithChildren<{
351
338
  disabled?: boolean;
352
339
  icon?: string;
353
340
  items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
354
- tabTemplate?: ((tabData: Record<string, any>, tabIndex: number, tabElement: any) => any) | template;
355
- template?: ((tabData: Record<string, any>, tabIndex: number, tabElement: any) => any) | template;
341
+ tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
342
+ template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
356
343
  title?: string;
357
344
  }[];
358
345
  buttonOptions?: dxButtonOptions;
@@ -580,8 +567,8 @@ declare type ITabProps = React.PropsWithChildren<{
580
567
  disabled?: boolean;
581
568
  icon?: string;
582
569
  items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
583
- tabTemplate?: ((tabData: Record<string, any>, tabIndex: number, tabElement: any) => any) | template;
584
- template?: ((tabData: Record<string, any>, tabIndex: number, tabElement: any) => any) | template;
570
+ tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
571
+ template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
585
572
  title?: string;
586
573
  tabRender?: (...params: any) => React.ReactNode;
587
574
  tabComponent?: React.ComponentType<any>;
@@ -625,8 +612,8 @@ declare type ITabbedItemProps = React.PropsWithChildren<{
625
612
  disabled?: boolean;
626
613
  icon?: string;
627
614
  items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
628
- tabTemplate?: ((tabData: Record<string, any>, tabIndex: number, tabElement: any) => any) | template;
629
- template?: ((tabData: Record<string, any>, tabIndex: number, tabElement: any) => any) | template;
615
+ tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
616
+ template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
630
617
  title?: string;
631
618
  }[];
632
619
  visible?: boolean;
@@ -664,42 +651,22 @@ declare type ITabPanelOptionsProps = React.PropsWithChildren<{
664
651
  hoverStateEnabled?: boolean;
665
652
  itemHoldTimeout?: number;
666
653
  items?: Array<any | dxTabPanelItem | string>;
667
- itemTemplate?: ((itemData: Record<string, any>, itemIndex: number, itemElement: any) => string) | template;
668
- itemTitleTemplate?: ((itemData: Record<string, any>, itemIndex: number, itemElement: any) => string) | template;
654
+ itemTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string) | template;
655
+ itemTitleTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string) | template;
669
656
  loop?: boolean;
670
657
  noDataText?: string;
671
- onContentReady?: ((e: ContentReadyEvent) => void);
672
- onDisposing?: ((e: DisposingEvent) => void);
673
- onInitialized?: ((e: InitializedEvent) => void);
658
+ onContentReady?: ((e: TabPanelContentReadyEvent) => void);
659
+ onDisposing?: ((e: TabPanelDisposingEvent) => void);
660
+ onInitialized?: ((e: TabPanelInitializedEvent) => void);
674
661
  onItemClick?: ((e: ItemClickEvent) => void);
675
662
  onItemContextMenu?: ((e: ItemContextMenuEvent) => void);
676
663
  onItemHold?: ((e: ItemHoldEvent) => void);
677
664
  onItemRendered?: ((e: ItemRenderedEvent) => void);
678
- onOptionChanged?: ((e: OptionChangedEvent) => void);
665
+ onOptionChanged?: ((e: TabPanelOptionChangedEvent) => void);
679
666
  onSelectionChanged?: ((e: SelectionChangedEvent) => void);
680
- onTitleClick?: ((e: {
681
- component: dxTabPanel;
682
- element: any;
683
- event: event;
684
- itemData: Record<string, any>;
685
- itemElement: any;
686
- model: any;
687
- }) => void);
688
- onTitleHold?: ((e: {
689
- component: dxTabPanel;
690
- element: any;
691
- event: event;
692
- itemData: Record<string, any>;
693
- itemElement: any;
694
- model: any;
695
- }) => void);
696
- onTitleRendered?: ((e: {
697
- component: dxTabPanel;
698
- element: any;
699
- itemData: Record<string, any>;
700
- itemElement: any;
701
- model: any;
702
- }) => void);
667
+ onTitleClick?: ((e: TitleClickEvent) => void);
668
+ onTitleHold?: ((e: TitleHoldEvent) => void);
669
+ onTitleRendered?: ((e: TitleRenderedEvent) => void);
703
670
  repaintChangesOnly?: boolean;
704
671
  rtlEnabled?: boolean;
705
672
  scrollByContent?: boolean;
package/form.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
  *