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/tree-map.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,27 @@
15
15
  import dxTreeMap, { Properties } from "devextreme/viz/tree_map";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { dxTreeMapNode } from "devextreme/viz/tree_map";
18
+ import type { ClickEvent, DisposingEvent, DrawnEvent, DrillEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, NodesInitializedEvent, NodesRenderingEvent, dxTreeMapNode } from "devextreme/viz/tree_map";
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 ITreeMapOptions = 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 ITreeMapOptionsNarrowedEvents = {
26
+ onClick?: ((e: ClickEvent) => void);
27
+ onDisposing?: ((e: DisposingEvent) => void);
28
+ onDrawn?: ((e: DrawnEvent) => void);
29
+ onDrill?: ((e: DrillEvent) => void);
30
+ onExported?: ((e: ExportedEvent) => void);
31
+ onExporting?: ((e: ExportingEvent) => void);
32
+ onFileSaving?: ((e: FileSavingEvent) => void);
33
+ onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
34
+ onInitialized?: ((e: InitializedEvent) => void);
35
+ onNodesInitialized?: ((e: NodesInitializedEvent) => void);
36
+ onNodesRendering?: ((e: NodesRenderingEvent) => void);
37
+ };
38
+ declare type ITreeMapOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITreeMapOptionsNarrowedEvents> & IHtmlOptions & {
23
39
  defaultLoadingIndicator?: Record<string, any>;
24
40
  onLoadingIndicatorChange?: (value: Record<string, any>) => void;
25
41
  }>;
package/tree-map.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-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,17 +16,28 @@ export { ExplicitTypes } from "devextreme/ui/tree_view";
16
16
  import dxTreeView, { Properties } from "devextreme/ui/tree_view";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- import type { dxTreeViewItem } from "devextreme/ui/tree_view";
20
- import type { dxButtonOptions } from "devextreme/ui/button";
19
+ import type { dxTreeViewItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemCollapsedEvent, ItemContextMenuEvent, ItemExpandedEvent, ItemHoldEvent, ItemRenderedEvent, SelectAllValueChangedEvent } from "devextreme/ui/tree_view";
20
+ import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
21
+ import type { ContentReadyEvent as TextBoxContentReadyEvent, DisposingEvent as TextBoxDisposingEvent, InitializedEvent as TextBoxInitializedEvent, OptionChangedEvent as TextBoxOptionChangedEvent, ChangeEvent, CopyEvent, CutEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InputEvent, KeyDownEvent, KeyUpEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/text_box";
21
22
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
22
23
  import type { template } from "devextreme/core/templates/template";
23
- import type { event, EventInfo } from "devextreme/events/index";
24
- import type { Component } from "devextreme/core/component";
25
24
  import type { dxTextEditorButton } from "devextreme/ui/text_box/ui.text_editor.base";
26
- import type { ChangeEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, OptionChangedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/text_box";
27
- import type dxButton from "devextreme/ui/button";
28
- import type DOMComponent from "devextreme/core/dom_component";
29
- declare type ITreeViewOptions<TKey = any> = React.PropsWithChildren<Properties<TKey> & IHtmlOptions & {
25
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
26
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
27
+ };
28
+ declare type ITreeViewOptionsNarrowedEvents<TKey = any> = {
29
+ onContentReady?: ((e: ContentReadyEvent<TKey>) => void);
30
+ onDisposing?: ((e: DisposingEvent<TKey>) => void);
31
+ onInitialized?: ((e: InitializedEvent<TKey>) => void);
32
+ onItemClick?: ((e: ItemClickEvent<TKey>) => void);
33
+ onItemCollapsed?: ((e: ItemCollapsedEvent<TKey>) => void);
34
+ onItemContextMenu?: ((e: ItemContextMenuEvent<TKey>) => void);
35
+ onItemExpanded?: ((e: ItemExpandedEvent<TKey>) => void);
36
+ onItemHold?: ((e: ItemHoldEvent<TKey>) => void);
37
+ onItemRendered?: ((e: ItemRenderedEvent<TKey>) => void);
38
+ onSelectAllValueChanged?: ((e: SelectAllValueChangedEvent<TKey>) => void);
39
+ };
40
+ declare type ITreeViewOptions<TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TKey>, ITreeViewOptionsNarrowedEvents<TKey>> & IHtmlOptions & {
30
41
  dataSource?: Properties<TKey>["dataSource"];
31
42
  itemRender?: (...params: any) => React.ReactNode;
32
43
  itemComponent?: React.ComponentType<any>;
@@ -112,28 +123,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
112
123
  hint?: string;
113
124
  hoverStateEnabled?: boolean;
114
125
  icon?: string;
115
- onClick?: ((e: {
116
- component: dxButton;
117
- element: any;
118
- event: event;
119
- model: any;
120
- validationGroup: Record<string, any>;
121
- }) => void);
122
- onContentReady?: ((e: EventInfo<any>) => void);
123
- onDisposing?: ((e: EventInfo<any>) => void);
124
- onInitialized?: ((e: {
125
- component: Component<any>;
126
- element: any;
127
- }) => void);
128
- onOptionChanged?: ((e: {
129
- component: DOMComponent;
130
- element: any;
131
- fullName: string;
132
- model: any;
133
- name: string;
134
- previousValue: any;
135
- value: any;
136
- }) => void);
126
+ onClick?: ((e: ClickEvent) => void);
127
+ onContentReady?: ((e: ButtonContentReadyEvent) => void);
128
+ onDisposing?: ((e: ButtonDisposingEvent) => void);
129
+ onInitialized?: ((e: ButtonInitializedEvent) => void);
130
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
137
131
  rtlEnabled?: boolean;
138
132
  stylingMode?: "text" | "outlined" | "contained";
139
133
  tabIndex?: number;
@@ -183,18 +177,18 @@ declare type ISearchEditorOptionsProps = React.PropsWithChildren<{
183
177
  mode?: "email" | "password" | "search" | "tel" | "text" | "url";
184
178
  name?: string;
185
179
  onChange?: ((e: ChangeEvent) => void);
186
- onContentReady?: ((e: ContentReadyEvent) => void);
180
+ onContentReady?: ((e: TextBoxContentReadyEvent) => void);
187
181
  onCopy?: ((e: CopyEvent) => void);
188
182
  onCut?: ((e: CutEvent) => void);
189
- onDisposing?: ((e: DisposingEvent) => void);
183
+ onDisposing?: ((e: TextBoxDisposingEvent) => void);
190
184
  onEnterKey?: ((e: EnterKeyEvent) => void);
191
185
  onFocusIn?: ((e: FocusInEvent) => void);
192
186
  onFocusOut?: ((e: FocusOutEvent) => void);
193
- onInitialized?: ((e: InitializedEvent) => void);
187
+ onInitialized?: ((e: TextBoxInitializedEvent) => void);
194
188
  onInput?: ((e: InputEvent) => void);
195
189
  onKeyDown?: ((e: KeyDownEvent) => void);
196
190
  onKeyUp?: ((e: KeyUpEvent) => void);
197
- onOptionChanged?: ((e: OptionChangedEvent) => void);
191
+ onOptionChanged?: ((e: TextBoxOptionChangedEvent) => void);
198
192
  onPaste?: ((e: PasteEvent) => void);
199
193
  onValueChanged?: ((e: ValueChangedEvent) => void);
200
194
  placeholder?: string;
package/tree-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
  *
@@ -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,15 @@
14
14
  /// <reference types="react" />
15
15
  import dxValidationGroup, { Properties } from "devextreme/ui/validation_group";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
- declare type IValidationGroupOptions = React.PropsWithChildren<Properties & IHtmlOptions & {}>;
17
+ import type { DisposingEvent, InitializedEvent } from "devextreme/ui/validation_group";
18
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
19
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
20
+ };
21
+ declare type IValidationGroupOptionsNarrowedEvents = {
22
+ onDisposing?: ((e: DisposingEvent) => void);
23
+ onInitialized?: ((e: InitializedEvent) => void);
24
+ };
25
+ declare type IValidationGroupOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IValidationGroupOptionsNarrowedEvents> & IHtmlOptions & {}>;
18
26
  declare class ValidationGroup extends BaseComponent<React.PropsWithChildren<IValidationGroupOptions>> {
19
27
  get instance(): dxValidationGroup;
20
28
  protected _WidgetClass: typeof dxValidationGroup;
@@ -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
  *
@@ -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/validator.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/validator.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/vector-map.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,13 +15,28 @@
15
15
  import dxVectorMap, { Properties } from "devextreme/viz/vector_map";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { dxVectorMapAnnotationConfig, MapLayerElement, VectorMapLegendItem } from "devextreme/viz/vector_map";
18
+ import type { ClickEvent, DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, TooltipHiddenEvent, TooltipShownEvent, dxVectorMapAnnotationConfig, MapLayerElement, VectorMapLegendItem } from "devextreme/viz/vector_map";
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 DataSource from "devextreme/data/data_source";
23
23
  import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
24
- declare type IVectorMapOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
24
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
25
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
26
+ };
27
+ declare type IVectorMapOptionsNarrowedEvents = {
28
+ onClick?: ((e: ClickEvent) => void);
29
+ onDisposing?: ((e: DisposingEvent) => void);
30
+ onDrawn?: ((e: DrawnEvent) => void);
31
+ onExported?: ((e: ExportedEvent) => void);
32
+ onExporting?: ((e: ExportingEvent) => void);
33
+ onFileSaving?: ((e: FileSavingEvent) => void);
34
+ onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
35
+ onInitialized?: ((e: InitializedEvent) => void);
36
+ onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
37
+ onTooltipShown?: ((e: TooltipShownEvent) => void);
38
+ };
39
+ declare type IVectorMapOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IVectorMapOptionsNarrowedEvents> & IHtmlOptions & {
25
40
  defaultLoadingIndicator?: Record<string, any>;
26
41
  onLoadingIndicatorChange?: (value: Record<string, any>) => void;
27
42
  }>;
@@ -610,7 +625,7 @@ declare class Subtitle extends NestedOption<ISubtitleProps> {
610
625
  declare type ITitleProps = React.PropsWithChildren<{
611
626
  font?: BaseWidgetTypes.Font;
612
627
  horizontalAlignment?: "center" | "left" | "right";
613
- margin?: Record<string, any> | {
628
+ margin?: Record<string, any> | number | {
614
629
  bottom?: number;
615
630
  left?: number;
616
631
  right?: number;
@@ -621,6 +636,8 @@ declare type ITitleProps = React.PropsWithChildren<{
621
636
  font?: BaseWidgetTypes.Font;
622
637
  offset?: number;
623
638
  text?: string;
639
+ textOverflow?: "ellipsis" | "hide" | "none";
640
+ wordWrap?: "normal" | "breakWord" | "none";
624
641
  };
625
642
  text?: string;
626
643
  verticalAlignment?: "bottom" | "top";
package/vector-map.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
  *