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/accordion.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,7 +16,7 @@ export { ExplicitTypes } from "devextreme/ui/accordion";
16
16
  import dxAccordion, { Properties } from "devextreme/ui/accordion";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- import type { dxAccordionItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/accordion";
19
+ import type { dxAccordionItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, ItemTitleClickEvent } from "devextreme/ui/accordion";
20
20
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
21
21
  import type { template } from "devextreme/core/templates/template";
22
22
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
@@ -30,6 +30,7 @@ declare type IAccordionOptionsNarrowedEvents<TItem = any, TKey = any> = {
30
30
  onItemContextMenu?: ((e: ItemContextMenuEvent<TItem, TKey>) => void);
31
31
  onItemHold?: ((e: ItemHoldEvent<TItem, TKey>) => void);
32
32
  onItemRendered?: ((e: ItemRenderedEvent<TItem, TKey>) => void);
33
+ onItemTitleClick?: ((e: ItemTitleClickEvent<TItem, TKey>) => void);
33
34
  };
34
35
  declare type IAccordionOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IAccordionOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
35
36
  dataSource?: Properties<TItem, TKey>["dataSource"];
package/accordion.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/action-sheet.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,11 +16,24 @@ export { ExplicitTypes } from "devextreme/ui/action_sheet";
16
16
  import dxActionSheet, { Properties } from "devextreme/ui/action_sheet";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- import type { dxActionSheetItem } from "devextreme/ui/action_sheet";
19
+ import type { dxActionSheetItem, CancelClickEvent, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/action_sheet";
20
20
  import type { NativeEventInfo } from "devextreme/events/index";
21
21
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
22
22
  import type { template } from "devextreme/core/templates/template";
23
- declare type IActionSheetOptions<TItem = any, TKey = any> = React.PropsWithChildren<Properties<TItem, TKey> & IHtmlOptions & {
23
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
24
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
25
+ };
26
+ declare type IActionSheetOptionsNarrowedEvents<TItem = any, TKey = any> = {
27
+ onCancelClick?: ((e: CancelClickEvent<TItem, TKey>) => void);
28
+ onContentReady?: ((e: ContentReadyEvent<TItem, TKey>) => void);
29
+ onDisposing?: ((e: DisposingEvent<TItem, TKey>) => void);
30
+ onInitialized?: ((e: InitializedEvent<TItem, TKey>) => void);
31
+ onItemClick?: ((e: ItemClickEvent<TItem, TKey>) => void);
32
+ onItemContextMenu?: ((e: ItemContextMenuEvent<TItem, TKey>) => void);
33
+ onItemHold?: ((e: ItemHoldEvent<TItem, TKey>) => void);
34
+ onItemRendered?: ((e: ItemRenderedEvent<TItem, TKey>) => void);
35
+ };
36
+ declare type IActionSheetOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IActionSheetOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
24
37
  dataSource?: Properties<TItem, TKey>["dataSource"];
25
38
  itemRender?: (...params: any) => React.ReactNode;
26
39
  itemComponent?: React.ComponentType<any>;
package/action-sheet.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/autocomplete.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,8 +16,8 @@ import dxAutocomplete, { Properties } from "devextreme/ui/autocomplete";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
18
  import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/autocomplete";
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
  };
@@ -381,28 +380,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
381
380
  hint?: string;
382
381
  hoverStateEnabled?: boolean;
383
382
  icon?: string;
384
- onClick?: ((e: {
385
- component: dxButton;
386
- element: any;
387
- event: event;
388
- model: any;
389
- validationGroup: Record<string, any>;
390
- }) => void);
391
- onContentReady?: ((e: EventInfo<any>) => void);
392
- onDisposing?: ((e: EventInfo<any>) => void);
393
- onInitialized?: ((e: {
394
- component: Component<any>;
395
- element: any;
396
- }) => void);
397
- onOptionChanged?: ((e: {
398
- component: DOMComponent;
399
- element: any;
400
- fullName: string;
401
- model: any;
402
- name: string;
403
- previousValue: any;
404
- value: any;
405
- }) => void);
383
+ onClick?: ((e: ClickEvent) => void);
384
+ onContentReady?: ((e: ButtonContentReadyEvent) => void);
385
+ onDisposing?: ((e: ButtonDisposingEvent) => void);
386
+ onInitialized?: ((e: ButtonInitializedEvent) => void);
387
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
406
388
  rtlEnabled?: boolean;
407
389
  stylingMode?: "text" | "outlined" | "contained";
408
390
  tabIndex?: number;
package/autocomplete.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/bar-gauge.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,11 +15,25 @@
15
15
  import dxBarGauge, { Properties } from "devextreme/viz/bar_gauge";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { BarGaugeBarInfo, BarGaugeLegendItem } from "devextreme/viz/bar_gauge";
18
+ import type { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, TooltipHiddenEvent, TooltipShownEvent, BarGaugeBarInfo, BarGaugeLegendItem } from "devextreme/viz/bar_gauge";
19
19
  import type { template } from "devextreme/core/templates/template";
20
20
  import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
21
21
  import type * as LocalizationTypes from "devextreme/localization";
22
- declare type IBarGaugeOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
22
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
23
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
24
+ };
25
+ declare type IBarGaugeOptionsNarrowedEvents = {
26
+ onDisposing?: ((e: DisposingEvent) => void);
27
+ onDrawn?: ((e: DrawnEvent) => void);
28
+ onExported?: ((e: ExportedEvent) => void);
29
+ onExporting?: ((e: ExportingEvent) => void);
30
+ onFileSaving?: ((e: FileSavingEvent) => void);
31
+ onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
32
+ onInitialized?: ((e: InitializedEvent) => void);
33
+ onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
34
+ onTooltipShown?: ((e: TooltipShownEvent) => void);
35
+ };
36
+ declare type IBarGaugeOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IBarGaugeOptionsNarrowedEvents> & IHtmlOptions & {
23
37
  centerRender?: (...params: any) => React.ReactNode;
24
38
  centerComponent?: React.ComponentType<any>;
25
39
  centerKeyFn?: (data: any) => string;
@@ -469,7 +483,7 @@ declare class Subtitle extends NestedOption<ISubtitleProps> {
469
483
  declare type ITitleProps = React.PropsWithChildren<{
470
484
  font?: BaseWidgetTypes.Font;
471
485
  horizontalAlignment?: "center" | "left" | "right";
472
- margin?: Record<string, any> | {
486
+ margin?: Record<string, any> | number | {
473
487
  bottom?: number;
474
488
  left?: number;
475
489
  right?: number;
@@ -480,6 +494,8 @@ declare type ITitleProps = React.PropsWithChildren<{
480
494
  font?: BaseWidgetTypes.Font;
481
495
  offset?: number;
482
496
  text?: string;
497
+ textOverflow?: "ellipsis" | "hide" | "none";
498
+ wordWrap?: "normal" | "breakWord" | "none";
483
499
  };
484
500
  text?: string;
485
501
  verticalAlignment?: "bottom" | "top";
package/bar-gauge.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/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,10 +16,22 @@ export { ExplicitTypes } from "devextreme/ui/box";
16
16
  import dxBox, { Properties } from "devextreme/ui/box";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- import type { dxBoxItem, dxBoxOptions } from "devextreme/ui/box";
19
+ import type { dxBoxItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, dxBoxOptions } from "devextreme/ui/box";
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 IBoxOptions<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 IBoxOptionsNarrowedEvents<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 IBoxOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IBoxOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
23
35
  dataSource?: Properties<TItem, TKey>["dataSource"];
24
36
  itemRender?: (...params: any) => React.ReactNode;
25
37
  itemComponent?: React.ComponentType<any>;
package/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/bullet.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
  *
@@ -121,9 +121,9 @@ declare type ITooltipProps = React.PropsWithChildren<{
121
121
  };
122
122
  color?: string;
123
123
  container?: any | string;
124
- contentTemplate?: ((pointsInfo: Record<string, any>, element: any) => string) | template;
124
+ contentTemplate?: ((pointsInfo: any, element: any) => string) | template;
125
125
  cornerRadius?: number;
126
- customizeTooltip?: ((pointsInfo: Record<string, any>) => Record<string, any>);
126
+ customizeTooltip?: ((pointsInfo: any) => Record<string, any>);
127
127
  enabled?: boolean;
128
128
  font?: BaseWidgetTypes.Font;
129
129
  format?: LocalizationTypes.Format;
package/bullet.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/button-group.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,19 @@
15
15
  import dxButtonGroup, { Properties } from "devextreme/ui/button_group";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
+ import type { ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent } from "devextreme/ui/button_group";
18
19
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
19
20
  import type { template } from "devextreme/core/templates/template";
20
- declare type IButtonGroupOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
21
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
22
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
23
+ };
24
+ declare type IButtonGroupOptionsNarrowedEvents = {
25
+ onContentReady?: ((e: ContentReadyEvent) => void);
26
+ onDisposing?: ((e: DisposingEvent) => void);
27
+ onInitialized?: ((e: InitializedEvent) => void);
28
+ onItemClick?: ((e: ItemClickEvent) => void);
29
+ };
30
+ declare type IButtonGroupOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IButtonGroupOptionsNarrowedEvents> & IHtmlOptions & {
21
31
  buttonRender?: (...params: any) => React.ReactNode;
22
32
  buttonComponent?: React.ComponentType<any>;
23
33
  buttonKeyFn?: (data: any) => string;
package/button-group.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/button.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
  *
@@ -14,7 +14,17 @@
14
14
  /// <reference types="react" />
15
15
  import dxButton, { Properties } from "devextreme/ui/button";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
- declare type IButtonOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
17
+ import type { ClickEvent, ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/button";
18
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
19
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
20
+ };
21
+ declare type IButtonOptionsNarrowedEvents = {
22
+ onClick?: ((e: ClickEvent) => void);
23
+ onContentReady?: ((e: ContentReadyEvent) => void);
24
+ onDisposing?: ((e: DisposingEvent) => void);
25
+ onInitialized?: ((e: InitializedEvent) => void);
26
+ };
27
+ declare type IButtonOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IButtonOptionsNarrowedEvents> & IHtmlOptions & {
18
28
  render?: (...params: any) => React.ReactNode;
19
29
  component?: React.ComponentType<any>;
20
30
  keyFn?: (data: any) => string;
package/button.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/calendar.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
  *
@@ -14,7 +14,16 @@
14
14
  /// <reference types="react" />
15
15
  import dxCalendar, { Properties } from "devextreme/ui/calendar";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
- declare type ICalendarOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
17
+ import type { DisposingEvent, InitializedEvent, ValueChangedEvent } from "devextreme/ui/calendar";
18
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
19
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
20
+ };
21
+ declare type ICalendarOptionsNarrowedEvents = {
22
+ onDisposing?: ((e: DisposingEvent) => void);
23
+ onInitialized?: ((e: InitializedEvent) => void);
24
+ onValueChanged?: ((e: ValueChangedEvent) => void);
25
+ };
26
+ declare type ICalendarOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ICalendarOptionsNarrowedEvents> & IHtmlOptions & {
18
27
  cellRender?: (...params: any) => React.ReactNode;
19
28
  cellComponent?: React.ComponentType<any>;
20
29
  cellKeyFn?: (data: any) => string;
package/calendar.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/chart.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 dxChart, { Properties } from "devextreme/viz/chart";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { chartPointAggregationInfoObject, chartSeriesObject, dxChartAnnotationConfig, chartPointObject } from "devextreme/viz/chart";
18
+ import type { ArgumentAxisClickEvent, DisposingEvent, DoneEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, LegendClickEvent, PointClickEvent, SeriesClickEvent, TooltipHiddenEvent, TooltipShownEvent, ZoomEndEvent, ZoomStartEvent, chartPointAggregationInfoObject, chartSeriesObject, dxChartAnnotationConfig, chartPointObject } from "devextreme/viz/chart";
19
19
  import type { template } from "devextreme/core/templates/template";
20
20
  import type { ScaleBreak, ChartsColor } from "devextreme/common/charts";
21
21
  import type { BaseChartLegendItem } from "devextreme/viz/chart_components/base_chart";
@@ -23,7 +23,28 @@ import type { ChartSeries } from "devextreme/viz/common";
23
23
  import type * as CommonChartTypes from "devextreme/common/charts";
24
24
  import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
25
25
  import type * as LocalizationTypes from "devextreme/localization";
26
- declare type IChartOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
26
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
27
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
28
+ };
29
+ declare type IChartOptionsNarrowedEvents = {
30
+ onArgumentAxisClick?: ((e: ArgumentAxisClickEvent) => void);
31
+ onDisposing?: ((e: DisposingEvent) => void);
32
+ onDone?: ((e: DoneEvent) => void);
33
+ onDrawn?: ((e: DrawnEvent) => void);
34
+ onExported?: ((e: ExportedEvent) => void);
35
+ onExporting?: ((e: ExportingEvent) => void);
36
+ onFileSaving?: ((e: FileSavingEvent) => void);
37
+ onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
38
+ onInitialized?: ((e: InitializedEvent) => void);
39
+ onLegendClick?: ((e: LegendClickEvent) => void);
40
+ onPointClick?: ((e: PointClickEvent) => void);
41
+ onSeriesClick?: ((e: SeriesClickEvent) => void);
42
+ onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
43
+ onTooltipShown?: ((e: TooltipShownEvent) => void);
44
+ onZoomEnd?: ((e: ZoomEndEvent) => void);
45
+ onZoomStart?: ((e: ZoomStartEvent) => void);
46
+ };
47
+ declare type IChartOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IChartOptionsNarrowedEvents> & IHtmlOptions & {
27
48
  defaultArgumentAxis?: Record<string, any>;
28
49
  defaultLoadingIndicator?: Record<string, any>;
29
50
  defaultValueAxis?: Array<Record<string, any>> | Record<string, any>;
@@ -1142,7 +1163,7 @@ declare type ICommonSeriesSettingsProps = React.PropsWithChildren<{
1142
1163
  visible?: boolean;
1143
1164
  width?: number;
1144
1165
  };
1145
- customizeText?: ((pointInfo: Record<string, any>) => string);
1166
+ customizeText?: ((pointInfo: any) => string);
1146
1167
  displayFormat?: string;
1147
1168
  font?: BaseWidgetTypes.Font;
1148
1169
  format?: LocalizationTypes.Format;
@@ -1374,7 +1395,7 @@ declare type ICommonSeriesSettingsLabelProps = React.PropsWithChildren<{
1374
1395
  visible?: boolean;
1375
1396
  width?: number;
1376
1397
  };
1377
- customizeText?: ((pointInfo: Record<string, any>) => string);
1398
+ customizeText?: ((pointInfo: any) => string);
1378
1399
  displayFormat?: string;
1379
1400
  font?: BaseWidgetTypes.Font;
1380
1401
  format?: LocalizationTypes.Format;
@@ -1589,7 +1610,7 @@ declare class Crosshair extends NestedOption<ICrosshairProps> {
1589
1610
  declare type IDataPrepareSettingsProps = React.PropsWithChildren<{
1590
1611
  checkTypeForAllData?: boolean;
1591
1612
  convertToAxisDataType?: boolean;
1592
- sortingMethod?: boolean | ((a: Record<string, any>, b: Record<string, any>) => number);
1613
+ sortingMethod?: boolean | ((a: any, b: any) => number);
1593
1614
  }>;
1594
1615
  declare class DataPrepareSettings extends NestedOption<IDataPrepareSettingsProps> {
1595
1616
  static OptionName: string;
@@ -1727,9 +1748,18 @@ declare class HoverStyle extends NestedOption<IHoverStyleProps> {
1727
1748
  static OptionName: string;
1728
1749
  }
1729
1750
  declare type IImageProps = React.PropsWithChildren<{
1730
- height?: number;
1731
- url?: string;
1732
- width?: number;
1751
+ height?: number | Record<string, any> | {
1752
+ rangeMaxPoint?: number;
1753
+ rangeMinPoint?: number;
1754
+ };
1755
+ url?: string | Record<string, any> | {
1756
+ rangeMaxPoint?: string;
1757
+ rangeMinPoint?: string;
1758
+ };
1759
+ width?: number | Record<string, any> | {
1760
+ rangeMaxPoint?: number;
1761
+ rangeMinPoint?: number;
1762
+ };
1733
1763
  }>;
1734
1764
  declare class Image extends NestedOption<IImageProps> {
1735
1765
  static OptionName: string;
@@ -1737,7 +1767,7 @@ declare class Image extends NestedOption<IImageProps> {
1737
1767
  declare type ILabelProps = React.PropsWithChildren<{
1738
1768
  font?: BaseWidgetTypes.Font;
1739
1769
  horizontalAlignment?: "center" | "left" | "right";
1740
- position?: "inside" | "outside";
1770
+ position?: "inside" | "outside" | "bottom" | "left" | "right" | "top";
1741
1771
  verticalAlignment?: "bottom" | "center" | "top";
1742
1772
  visible?: boolean;
1743
1773
  text?: string;
@@ -2272,6 +2302,7 @@ declare type ISelectionStyleProps = React.PropsWithChildren<{
2272
2302
  color?: string;
2273
2303
  visible?: boolean;
2274
2304
  width?: number;
2305
+ dashStyle?: "dash" | "dot" | "longDash" | "solid";
2275
2306
  };
2276
2307
  color?: ChartsColor | string;
2277
2308
  size?: number;
@@ -2346,7 +2377,7 @@ declare type ISeriesProps = React.PropsWithChildren<{
2346
2377
  visible?: boolean;
2347
2378
  width?: number;
2348
2379
  };
2349
- customizeText?: ((pointInfo: Record<string, any>) => string);
2380
+ customizeText?: ((pointInfo: any) => string);
2350
2381
  displayFormat?: string;
2351
2382
  font?: BaseWidgetTypes.Font;
2352
2383
  format?: LocalizationTypes.Format;
@@ -2586,7 +2617,12 @@ declare class TickInterval extends NestedOption<ITickIntervalProps> {
2586
2617
  declare type ITitleProps = React.PropsWithChildren<{
2587
2618
  alignment?: "center" | "left" | "right";
2588
2619
  font?: BaseWidgetTypes.Font;
2589
- margin?: number;
2620
+ margin?: number | Record<string, any> | {
2621
+ bottom?: number;
2622
+ left?: number;
2623
+ right?: number;
2624
+ top?: number;
2625
+ };
2590
2626
  text?: string;
2591
2627
  textOverflow?: "ellipsis" | "hide" | "none";
2592
2628
  wordWrap?: "normal" | "breakWord" | "none";
@@ -2596,6 +2632,8 @@ declare type ITitleProps = React.PropsWithChildren<{
2596
2632
  font?: BaseWidgetTypes.Font;
2597
2633
  offset?: number;
2598
2634
  text?: string;
2635
+ textOverflow?: "ellipsis" | "hide" | "none";
2636
+ wordWrap?: "normal" | "breakWord" | "none";
2599
2637
  };
2600
2638
  verticalAlignment?: "bottom" | "top";
2601
2639
  }>;
@@ -2614,9 +2652,9 @@ declare type ITooltipProps = React.PropsWithChildren<{
2614
2652
  };
2615
2653
  color?: string;
2616
2654
  container?: any | string;
2617
- contentTemplate?: ((pointInfo: Record<string, any>, element: any) => string) | template;
2655
+ contentTemplate?: ((pointInfo: any, element: any) => string) | template;
2618
2656
  cornerRadius?: number;
2619
- customizeTooltip?: ((pointInfo: Record<string, any>) => Record<string, any>);
2657
+ customizeTooltip?: ((pointInfo: any) => Record<string, any>);
2620
2658
  enabled?: boolean;
2621
2659
  font?: BaseWidgetTypes.Font;
2622
2660
  format?: LocalizationTypes.Format;
package/chart.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/check-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
  *
package/check-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
  *
package/circular-gauge.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
  *