devextreme-react 23.1.2-beta.2 → 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 +17 -14
  2. package/accordion.js +2 -2
  3. package/action-sheet.d.ts +17 -14
  4. package/action-sheet.js +2 -2
  5. package/autocomplete.d.ts +4 -11
  6. package/autocomplete.js +2 -2
  7. package/bar-gauge.d.ts +8 -4
  8. package/bar-gauge.js +2 -2
  9. package/box.d.ts +15 -13
  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 +4 -3
  14. package/button-group.js +2 -2
  15. package/button.d.ts +4 -3
  16. package/button.js +2 -2
  17. package/calendar.d.ts +2 -2
  18. package/calendar.js +2 -2
  19. package/chart.d.ts +36 -14
  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 +4 -11
  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 +2 -2
  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 +20 -13
  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 +70 -105
  78. package/data-grid.js +2 -2
  79. package/date-box.d.ts +4 -11
  80. package/date-box.js +2 -2
  81. package/date-range-box.d.ts +10 -11
  82. package/date-range-box.js +5 -3
  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 +4 -11
  92. package/drop-down-box.js +2 -2
  93. package/drop-down-button.d.ts +5 -3
  94. package/drop-down-button.js +2 -2
  95. package/file-manager.d.ts +22 -4
  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 +10 -7
  100. package/filter-builder.js +2 -2
  101. package/form.d.ts +18 -46
  102. package/form.js +2 -2
  103. package/funnel.d.ts +8 -4
  104. package/funnel.js +2 -2
  105. package/gallery.d.ts +15 -13
  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 +19 -91
  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 +2 -2
  114. package/linear-gauge.js +2 -2
  115. package/list.d.ts +36 -129
  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 +7 -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 -13
  126. package/menu.js +2 -2
  127. package/multi-view.d.ts +15 -13
  128. package/multi-view.js +2 -2
  129. package/number-box.d.ts +4 -12
  130. package/number-box.js +2 -2
  131. package/package.json +5 -5
  132. package/pie-chart.d.ts +12 -9
  133. package/pie-chart.js +2 -2
  134. package/pivot-grid-field-chooser.d.ts +4 -3
  135. package/pivot-grid-field-chooser.js +2 -2
  136. package/pivot-grid.d.ts +8 -4
  137. package/pivot-grid.js +2 -2
  138. package/polar-chart.d.ts +16 -9
  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 +2 -2
  147. package/radio-group.js +2 -2
  148. package/range-selector.d.ts +13 -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 +15 -13
  157. package/responsive-box.js +2 -2
  158. package/sankey.d.ts +5 -3
  159. package/sankey.js +2 -2
  160. package/scheduler.d.ts +23 -9
  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 +6 -12
  165. package/select-box.js +2 -2
  166. package/slider.d.ts +2 -2
  167. package/slider.js +2 -2
  168. package/sortable.d.ts +10 -3
  169. package/sortable.js +2 -2
  170. package/sparkline.d.ts +4 -4
  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 +19 -14
  177. package/tab-panel.js +2 -2
  178. package/tabs.d.ts +15 -13
  179. package/tabs.js +2 -2
  180. package/tag-box.d.ts +7 -12
  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 +4 -12
  185. package/text-box.js +2 -2
  186. package/tile-view.d.ts +15 -13
  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 +15 -13
  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 +69 -104
  195. package/tree-list.js +2 -2
  196. package/tree-map.d.ts +7 -3
  197. package/tree-map.js +2 -2
  198. package/tree-view.d.ts +21 -20
  199. package/tree-view.js +2 -2
  200. package/validation-group.d.ts +2 -2
  201. package/validation-group.js +2 -2
  202. package/validation-summary.d.ts +12 -10
  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 +9 -4
  207. package/vector-map.js +2 -2
package/tree-list.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta.2
4
- * Build date: Fri May 26 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
  *
@@ -12,13 +12,14 @@
12
12
  */
13
13
 
14
14
  /// <reference types="react" />
15
+ export { ExplicitTypes } from "devextreme/ui/tree_list";
15
16
  import dxTreeList, { Properties } from "devextreme/ui/tree_list";
16
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
18
  import NestedOption from "./core/nested-option";
18
- import type { dxTreeListColumn, AdaptiveDetailRowPreparingEvent, ContentReadyEvent, DataErrorOccurredEvent, DisposingEvent, EditCanceledEvent, EditCancelingEvent, InitializedEvent, InitNewRowEvent, KeyDownEvent, RowCollapsedEvent, RowCollapsingEvent, RowExpandedEvent, RowExpandingEvent, RowInsertedEvent, RowInsertingEvent, RowRemovedEvent, RowRemovingEvent, RowUpdatedEvent, RowUpdatingEvent, RowValidatingEvent, SavedEvent, SavingEvent, ToolbarPreparingEvent, dxTreeListRowObject, dxTreeListColumnButton, dxTreeListToolbarItem } from "devextreme/ui/tree_list";
19
+ import type { dxTreeListColumn, AdaptiveDetailRowPreparingEvent, CellClickEvent, CellDblClickEvent, CellPreparedEvent, ContentReadyEvent, ContextMenuPreparingEvent, DataErrorOccurredEvent, DisposingEvent, EditCanceledEvent, EditCancelingEvent, EditingStartEvent, EditorPreparedEvent, EditorPreparingEvent, FocusedCellChangingEvent, FocusedRowChangingEvent, InitializedEvent, InitNewRowEvent, KeyDownEvent, NodesInitializedEvent, RowClickEvent, RowCollapsedEvent, RowCollapsingEvent, RowDblClickEvent, RowExpandedEvent, RowExpandingEvent, RowInsertedEvent, RowInsertingEvent, RowPreparedEvent, RowRemovedEvent, RowRemovingEvent, RowUpdatedEvent, RowUpdatingEvent, RowValidatingEvent, SavedEvent, SavingEvent, ToolbarPreparingEvent, dxTreeListRowObject, dxTreeListColumnButton, dxTreeListToolbarItem } from "devextreme/ui/tree_list";
19
20
  import type { DataChange, ColumnHeaderFilterSearchConfig, ColumnChooserSearchConfig, ColumnChooserSelectionConfig, GridBase, HeaderFilterSearchConfig } from "devextreme/common/grids";
20
- import type { ContentReadyEvent as FilterBuilderContentReadyEvent, DisposingEvent as FilterBuilderDisposingEvent, InitializedEvent as FilterBuilderInitializedEvent, dxFilterBuilderField, dxFilterBuilderCustomOperation, OptionChangedEvent } from "devextreme/ui/filter_builder";
21
- import type { ContentReadyEvent as FormContentReadyEvent, DisposingEvent as FormDisposingEvent, InitializedEvent as FormInitializedEvent, dxFormSimpleItem, dxFormOptions, OptionChangedEvent as FormOptionChangedEvent, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem } from "devextreme/ui/form";
21
+ import type { ContentReadyEvent as FilterBuilderContentReadyEvent, DisposingEvent as FilterBuilderDisposingEvent, EditorPreparedEvent as FilterBuilderEditorPreparedEvent, EditorPreparingEvent as FilterBuilderEditorPreparingEvent, InitializedEvent as FilterBuilderInitializedEvent, dxFilterBuilderField, dxFilterBuilderCustomOperation, OptionChangedEvent, ValueChangedEvent } from "devextreme/ui/filter_builder";
22
+ import type { ContentReadyEvent as FormContentReadyEvent, DisposingEvent as FormDisposingEvent, InitializedEvent as FormInitializedEvent, dxFormSimpleItem, dxFormOptions, OptionChangedEvent as FormOptionChangedEvent, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem, EditorEnterKeyEvent, FieldDataChangedEvent } from "devextreme/ui/form";
22
23
  import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
23
24
  import type { event, EventInfo } from "devextreme/events/index";
24
25
  import type { template } from "devextreme/core/templates/template";
@@ -28,7 +29,6 @@ import type { PositionConfig } from "devextreme/animation/position";
28
29
  import type { dxPopupOptions, dxPopupToolbarItem } from "devextreme/ui/popup";
29
30
  import type { Component } from "devextreme/core/component";
30
31
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
31
- import type dxFilterBuilder from "devextreme/ui/filter_builder";
32
32
  import type dxOverlay from "devextreme/ui/overlay";
33
33
  import type DOMComponent from "devextreme/core/dom_component";
34
34
  import type dxPopup from "devextreme/ui/popup";
@@ -40,32 +40,46 @@ import type * as CommonTypes from "devextreme/common";
40
40
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
41
41
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
42
42
  };
43
- declare type ITreeListOptionsNarrowedEvents = {
44
- onAdaptiveDetailRowPreparing?: ((e: AdaptiveDetailRowPreparingEvent) => void);
45
- onContentReady?: ((e: ContentReadyEvent) => void);
46
- onDataErrorOccurred?: ((e: DataErrorOccurredEvent) => void);
47
- onDisposing?: ((e: DisposingEvent) => void);
48
- onEditCanceled?: ((e: EditCanceledEvent) => void);
49
- onEditCanceling?: ((e: EditCancelingEvent) => void);
50
- onInitialized?: ((e: InitializedEvent) => void);
51
- onInitNewRow?: ((e: InitNewRowEvent) => void);
52
- onKeyDown?: ((e: KeyDownEvent) => void);
53
- onRowCollapsed?: ((e: RowCollapsedEvent) => void);
54
- onRowCollapsing?: ((e: RowCollapsingEvent) => void);
55
- onRowExpanded?: ((e: RowExpandedEvent) => void);
56
- onRowExpanding?: ((e: RowExpandingEvent) => void);
57
- onRowInserted?: ((e: RowInsertedEvent) => void);
58
- onRowInserting?: ((e: RowInsertingEvent) => void);
59
- onRowRemoved?: ((e: RowRemovedEvent) => void);
60
- onRowRemoving?: ((e: RowRemovingEvent) => void);
61
- onRowUpdated?: ((e: RowUpdatedEvent) => void);
62
- onRowUpdating?: ((e: RowUpdatingEvent) => void);
63
- onRowValidating?: ((e: RowValidatingEvent) => void);
64
- onSaved?: ((e: SavedEvent) => void);
65
- onSaving?: ((e: SavingEvent) => void);
66
- onToolbarPreparing?: ((e: ToolbarPreparingEvent) => void);
43
+ declare type ITreeListOptionsNarrowedEvents<TRowData = any, TKey = any> = {
44
+ onAdaptiveDetailRowPreparing?: ((e: AdaptiveDetailRowPreparingEvent<TRowData, TKey>) => void);
45
+ onCellClick?: ((e: CellClickEvent<TRowData, TKey>) => void);
46
+ onCellDblClick?: ((e: CellDblClickEvent<TRowData, TKey>) => void);
47
+ onCellPrepared?: ((e: CellPreparedEvent<TRowData, TKey>) => void);
48
+ onContentReady?: ((e: ContentReadyEvent<TRowData, TKey>) => void);
49
+ onContextMenuPreparing?: ((e: ContextMenuPreparingEvent<TRowData, TKey>) => void);
50
+ onDataErrorOccurred?: ((e: DataErrorOccurredEvent<TRowData, TKey>) => void);
51
+ onDisposing?: ((e: DisposingEvent<TRowData, TKey>) => void);
52
+ onEditCanceled?: ((e: EditCanceledEvent<TRowData, TKey>) => void);
53
+ onEditCanceling?: ((e: EditCancelingEvent<TRowData, TKey>) => void);
54
+ onEditingStart?: ((e: EditingStartEvent<TRowData, TKey>) => void);
55
+ onEditorPrepared?: ((e: EditorPreparedEvent<TRowData, TKey>) => void);
56
+ onEditorPreparing?: ((e: EditorPreparingEvent<TRowData, TKey>) => void);
57
+ onFocusedCellChanging?: ((e: FocusedCellChangingEvent<TRowData, TKey>) => void);
58
+ onFocusedRowChanging?: ((e: FocusedRowChangingEvent<TRowData, TKey>) => void);
59
+ onInitialized?: ((e: InitializedEvent<TRowData, TKey>) => void);
60
+ onInitNewRow?: ((e: InitNewRowEvent<TRowData, TKey>) => void);
61
+ onKeyDown?: ((e: KeyDownEvent<TRowData, TKey>) => void);
62
+ onNodesInitialized?: ((e: NodesInitializedEvent<TRowData, TKey>) => void);
63
+ onRowClick?: ((e: RowClickEvent<TRowData, TKey>) => void);
64
+ onRowCollapsed?: ((e: RowCollapsedEvent<TRowData, TKey>) => void);
65
+ onRowCollapsing?: ((e: RowCollapsingEvent<TRowData, TKey>) => void);
66
+ onRowDblClick?: ((e: RowDblClickEvent<TRowData, TKey>) => void);
67
+ onRowExpanded?: ((e: RowExpandedEvent<TRowData, TKey>) => void);
68
+ onRowExpanding?: ((e: RowExpandingEvent<TRowData, TKey>) => void);
69
+ onRowInserted?: ((e: RowInsertedEvent<TRowData, TKey>) => void);
70
+ onRowInserting?: ((e: RowInsertingEvent<TRowData, TKey>) => void);
71
+ onRowPrepared?: ((e: RowPreparedEvent<TRowData, TKey>) => void);
72
+ onRowRemoved?: ((e: RowRemovedEvent<TRowData, TKey>) => void);
73
+ onRowRemoving?: ((e: RowRemovingEvent<TRowData, TKey>) => void);
74
+ onRowUpdated?: ((e: RowUpdatedEvent<TRowData, TKey>) => void);
75
+ onRowUpdating?: ((e: RowUpdatingEvent<TRowData, TKey>) => void);
76
+ onRowValidating?: ((e: RowValidatingEvent<TRowData, TKey>) => void);
77
+ onSaved?: ((e: SavedEvent<TRowData, TKey>) => void);
78
+ onSaving?: ((e: SavingEvent<TRowData, TKey>) => void);
79
+ onToolbarPreparing?: ((e: ToolbarPreparingEvent<TRowData, TKey>) => void);
67
80
  };
68
- declare type ITreeListOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITreeListOptionsNarrowedEvents> & IHtmlOptions & {
81
+ declare type ITreeListOptions<TRowData = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TRowData, TKey>, ITreeListOptionsNarrowedEvents<TRowData, TKey>> & IHtmlOptions & {
82
+ dataSource?: Properties<TRowData, TKey>["dataSource"];
69
83
  defaultColumns?: Array<dxTreeListColumn | string>;
70
84
  defaultEditing?: Record<string, any>;
71
85
  defaultExpandedRowKeys?: Array<any>;
@@ -89,8 +103,8 @@ declare type ITreeListOptions = React.PropsWithChildren<ReplaceFieldTypes<Proper
89
103
  onSearchPanelChange?: (value: Record<string, any>) => void;
90
104
  onSelectedRowKeysChange?: (value: Array<any>) => void;
91
105
  }>;
92
- declare class TreeList extends BaseComponent<React.PropsWithChildren<ITreeListOptions>> {
93
- get instance(): dxTreeList;
106
+ declare class TreeList<TRowData = any, TKey = any> extends BaseComponent<React.PropsWithChildren<ITreeListOptions<TRowData, TKey>>> {
107
+ get instance(): dxTreeList<TRowData, TKey>;
94
108
  protected _WidgetClass: typeof dxTreeList;
95
109
  protected subscribableOptions: string[];
96
110
  protected independentEvents: string[];
@@ -341,10 +355,10 @@ declare type IColumnProps = React.PropsWithChildren<{
341
355
  allowSearch?: boolean;
342
356
  allowSorting?: boolean;
343
357
  buttons?: Array<dxTreeListColumnButton | "add" | "cancel" | "delete" | "edit" | "save" | "undelete">;
344
- calculateCellValue?: ((rowData: Record<string, any>) => any);
345
- calculateDisplayValue?: ((rowData: Record<string, any>) => any) | string;
358
+ calculateCellValue?: ((rowData: any) => any);
359
+ calculateDisplayValue?: ((rowData: any) => any) | string;
346
360
  calculateFilterExpression?: ((filterValue: any, selectedFilterOperation: string | null, target: string) => string);
347
- calculateSortValue?: ((rowData: Record<string, any>) => any) | string;
361
+ calculateSortValue?: ((rowData: any) => any) | string;
348
362
  caption?: string;
349
363
  cellTemplate?: ((cellElement: any, cellInfo: {
350
364
  column: dxTreeListColumn;
@@ -417,12 +431,12 @@ declare type IColumnProps = React.PropsWithChildren<{
417
431
  isBand?: boolean;
418
432
  lookup?: Record<string, any> | {
419
433
  allowClearing?: boolean;
420
- calculateCellValue?: ((rowData: Record<string, any>) => any);
434
+ calculateCellValue?: ((rowData: any) => any);
421
435
  dataSource?: Array<any> | DataSourceOptions | ((options: {
422
436
  data: Record<string, any>;
423
437
  key: any;
424
438
  }) => Array<any>) | null | Store;
425
- displayExpr?: ((data: Record<string, any>) => string) | string;
439
+ displayExpr?: ((data: any) => string) | string;
426
440
  valueExpr?: string;
427
441
  };
428
442
  minWidth?: number;
@@ -430,7 +444,7 @@ declare type IColumnProps = React.PropsWithChildren<{
430
444
  ownerBand?: number;
431
445
  renderAsync?: boolean;
432
446
  selectedFilterOperation?: "<" | "<=" | "<>" | "=" | ">" | ">=" | "between" | "contains" | "endswith" | "notcontains" | "startswith";
433
- setCellValue?: ((newData: Record<string, any>, value: any, currentRowData: Record<string, any>) => any);
447
+ setCellValue?: ((newData: any, value: any, currentRowData: any) => any);
434
448
  showEditorAlways?: boolean;
435
449
  showInColumnChooser?: boolean;
436
450
  sortIndex?: number;
@@ -679,12 +693,12 @@ declare class ColumnHeaderFilterSearch extends NestedOption<IColumnHeaderFilterS
679
693
  }
680
694
  declare type IColumnLookupProps = React.PropsWithChildren<{
681
695
  allowClearing?: boolean;
682
- calculateCellValue?: ((rowData: Record<string, any>) => any);
696
+ calculateCellValue?: ((rowData: any) => any);
683
697
  dataSource?: Array<any> | DataSourceOptions | ((options: {
684
698
  data: Record<string, any>;
685
699
  key: any;
686
700
  }) => Array<any>) | null | Store;
687
- displayExpr?: ((data: Record<string, any>) => string) | string;
701
+ displayExpr?: ((data: any) => string) | string;
688
702
  valueExpr?: string;
689
703
  }>;
690
704
  declare class ColumnLookup extends NestedOption<IColumnLookupProps> {
@@ -889,8 +903,8 @@ declare type IFieldProps = React.PropsWithChildren<{
889
903
  lookup?: Record<string, any> | {
890
904
  allowClearing?: boolean;
891
905
  dataSource?: Array<any> | DataSourceOptions | Store;
892
- displayExpr?: ((data: Record<string, any>) => string) | string;
893
- valueExpr?: ((data: Record<string, any>) => string) | string;
906
+ displayExpr?: ((data: any) => string) | string;
907
+ valueExpr?: ((data: any) => string) | string;
894
908
  };
895
909
  name?: string;
896
910
  trueText?: string;
@@ -925,8 +939,8 @@ declare class Field extends NestedOption<IFieldProps> {
925
939
  declare type IFieldLookupProps = React.PropsWithChildren<{
926
940
  allowClearing?: boolean;
927
941
  dataSource?: Array<any> | DataSourceOptions | Store;
928
- displayExpr?: ((data: Record<string, any>) => string) | string;
929
- valueExpr?: ((data: Record<string, any>) => string) | string;
942
+ displayExpr?: ((data: any) => string) | string;
943
+ valueExpr?: ((data: any) => string) | string;
930
944
  }>;
931
945
  declare class FieldLookup extends NestedOption<IFieldLookupProps> {
932
946
  static OptionName: string;
@@ -969,49 +983,11 @@ declare type IFilterBuilderProps = React.PropsWithChildren<{
969
983
  maxGroupLevel?: number;
970
984
  onContentReady?: ((e: FilterBuilderContentReadyEvent) => void);
971
985
  onDisposing?: ((e: FilterBuilderDisposingEvent) => void);
972
- onEditorPrepared?: ((e: {
973
- component: dxFilterBuilder;
974
- dataField: string;
975
- disabled: boolean;
976
- editorElement: any;
977
- editorName: string;
978
- element: any;
979
- filterOperation: string;
980
- model: any;
981
- readOnly: boolean;
982
- rtlEnabled: boolean;
983
- setValue(newValue: any): any;
984
- updateValueTimeout: number;
985
- value: any;
986
- width: number;
987
- }) => void);
988
- onEditorPreparing?: ((e: {
989
- cancel: boolean;
990
- component: dxFilterBuilder;
991
- dataField: string;
992
- disabled: boolean;
993
- editorElement: any;
994
- editorName: string;
995
- editorOptions: Record<string, any>;
996
- element: any;
997
- filterOperation: string;
998
- model: any;
999
- readOnly: boolean;
1000
- rtlEnabled: boolean;
1001
- setValue(newValue: any): any;
1002
- updateValueTimeout: number;
1003
- value: any;
1004
- width: number;
1005
- }) => void);
986
+ onEditorPrepared?: ((e: FilterBuilderEditorPreparedEvent) => void);
987
+ onEditorPreparing?: ((e: FilterBuilderEditorPreparingEvent) => void);
1006
988
  onInitialized?: ((e: FilterBuilderInitializedEvent) => void);
1007
989
  onOptionChanged?: ((e: OptionChangedEvent) => void);
1008
- onValueChanged?: ((e: {
1009
- component: dxFilterBuilder;
1010
- element: any;
1011
- model: any;
1012
- previousValue: Record<string, any>;
1013
- value: Record<string, any>;
1014
- }) => void);
990
+ onValueChanged?: ((e: ValueChangedEvent) => void);
1015
991
  rtlEnabled?: boolean;
1016
992
  tabIndex?: number;
1017
993
  value?: Array<any> | (() => any) | string;
@@ -1294,19 +1270,8 @@ declare type IFormProps = React.PropsWithChildren<{
1294
1270
  minColWidth?: number;
1295
1271
  onContentReady?: ((e: FormContentReadyEvent) => void);
1296
1272
  onDisposing?: ((e: FormDisposingEvent) => void);
1297
- onEditorEnterKey?: ((e: {
1298
- component: dxForm;
1299
- dataField: string;
1300
- element: any;
1301
- model: any;
1302
- }) => void);
1303
- onFieldDataChanged?: ((e: {
1304
- component: dxForm;
1305
- dataField: string;
1306
- element: any;
1307
- model: any;
1308
- value: Record<string, any>;
1309
- }) => void);
1273
+ onEditorEnterKey?: ((e: EditorEnterKeyEvent) => void);
1274
+ onFieldDataChanged?: ((e: FieldDataChangedEvent) => void);
1310
1275
  onInitialized?: ((e: FormInitializedEvent) => void);
1311
1276
  onOptionChanged?: ((e: FormOptionChangedEvent) => void);
1312
1277
  optionalMark?: string;
@@ -1478,7 +1443,7 @@ declare type IHeaderFilterProps = React.PropsWithChildren<{
1478
1443
  }) => void) | null | Store;
1479
1444
  groupInterval?: number | "day" | "hour" | "minute" | "month" | "quarter" | "second" | "year";
1480
1445
  height?: number;
1481
- search?: ColumnHeaderFilterSearchConfig;
1446
+ search?: ColumnHeaderFilterSearchConfig | HeaderFilterSearchConfig;
1482
1447
  searchMode?: "contains" | "startswith" | "equals";
1483
1448
  width?: number;
1484
1449
  searchTimeout?: number;
@@ -1600,13 +1565,13 @@ declare class LoadPanel extends NestedOption<ILoadPanelProps> {
1600
1565
  }
1601
1566
  declare type ILookupProps = React.PropsWithChildren<{
1602
1567
  allowClearing?: boolean;
1603
- calculateCellValue?: ((rowData: Record<string, any>) => any);
1568
+ calculateCellValue?: ((rowData: any) => any);
1604
1569
  dataSource?: Array<any> | DataSourceOptions | ((options: {
1605
1570
  data: Record<string, any>;
1606
1571
  key: any;
1607
1572
  }) => Array<any>) | null | Store;
1608
- displayExpr?: ((data: Record<string, any>) => string) | string;
1609
- valueExpr?: string;
1573
+ displayExpr?: ((data: any) => string) | string;
1574
+ valueExpr?: string | ((data: any) => string);
1610
1575
  }>;
1611
1576
  declare class Lookup extends NestedOption<ILookupProps> {
1612
1577
  static OptionName: string;
@@ -2113,7 +2078,7 @@ declare class Sorting extends NestedOption<ISortingProps> {
2113
2078
  }
2114
2079
  declare type IStateStoringProps = React.PropsWithChildren<{
2115
2080
  customLoad?: (() => any);
2116
- customSave?: ((gridState: Record<string, any>) => void);
2081
+ customSave?: ((gridState: any) => void);
2117
2082
  enabled?: boolean;
2118
2083
  savingTimeout?: number;
2119
2084
  storageKey?: string;
package/tree-list.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta.2
4
- * Build date: Fri May 26 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-map.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta.2
4
- * Build date: Fri May 26 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 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 { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, 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";
@@ -23,13 +23,17 @@ declare type ReplaceFieldTypes<TSource, TReplacement> = {
23
23
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
24
24
  };
25
25
  declare type ITreeMapOptionsNarrowedEvents = {
26
+ onClick?: ((e: ClickEvent) => void);
26
27
  onDisposing?: ((e: DisposingEvent) => void);
27
28
  onDrawn?: ((e: DrawnEvent) => void);
29
+ onDrill?: ((e: DrillEvent) => void);
28
30
  onExported?: ((e: ExportedEvent) => void);
29
31
  onExporting?: ((e: ExportingEvent) => void);
30
32
  onFileSaving?: ((e: FileSavingEvent) => void);
31
33
  onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
32
34
  onInitialized?: ((e: InitializedEvent) => void);
35
+ onNodesInitialized?: ((e: NodesInitializedEvent) => void);
36
+ onNodesRendering?: ((e: NodesRenderingEvent) => void);
33
37
  };
34
38
  declare type ITreeMapOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITreeMapOptionsNarrowedEvents> & IHtmlOptions & {
35
39
  defaultLoadingIndicator?: Record<string, any>;
package/tree-map.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta.2
4
- * Build date: Fri May 26 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.2
4
- * Build date: Fri May 26 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
  *
@@ -12,34 +12,41 @@
12
12
  */
13
13
 
14
14
  /// <reference types="react" />
15
+ export { ExplicitTypes } from "devextreme/ui/tree_view";
15
16
  import dxTreeView, { Properties } from "devextreme/ui/tree_view";
16
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
18
  import NestedOption from "./core/nested-option";
18
- import type { dxTreeViewItem, ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/tree_view";
19
- import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent } 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";
20
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 } from "devextreme/events/index";
24
24
  import type { dxTextEditorButton } from "devextreme/ui/text_box/ui.text_editor.base";
25
- import type dxButton from "devextreme/ui/button";
26
25
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
27
26
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
28
27
  };
29
- declare type ITreeViewOptionsNarrowedEvents = {
30
- onContentReady?: ((e: ContentReadyEvent) => void);
31
- onDisposing?: ((e: DisposingEvent) => void);
32
- onInitialized?: ((e: InitializedEvent) => void);
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);
33
39
  };
34
- declare type ITreeViewOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITreeViewOptionsNarrowedEvents> & IHtmlOptions & {
40
+ declare type ITreeViewOptions<TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TKey>, ITreeViewOptionsNarrowedEvents<TKey>> & IHtmlOptions & {
41
+ dataSource?: Properties<TKey>["dataSource"];
35
42
  itemRender?: (...params: any) => React.ReactNode;
36
43
  itemComponent?: React.ComponentType<any>;
37
44
  itemKeyFn?: (data: any) => string;
38
45
  defaultItems?: Array<dxTreeViewItem>;
39
46
  onItemsChange?: (value: Array<dxTreeViewItem>) => void;
40
47
  }>;
41
- declare class TreeView extends BaseComponent<React.PropsWithChildren<ITreeViewOptions>> {
42
- get instance(): dxTreeView;
48
+ declare class TreeView<TKey = any> extends BaseComponent<React.PropsWithChildren<ITreeViewOptions<TKey>>> {
49
+ get instance(): dxTreeView<TKey>;
43
50
  protected _WidgetClass: typeof dxTreeView;
44
51
  protected subscribableOptions: string[];
45
52
  protected independentEvents: string[];
@@ -116,13 +123,7 @@ declare type IOptionsProps = React.PropsWithChildren<{
116
123
  hint?: string;
117
124
  hoverStateEnabled?: boolean;
118
125
  icon?: string;
119
- onClick?: ((e: {
120
- component: dxButton;
121
- element: any;
122
- event: event;
123
- model: any;
124
- validationGroup: Record<string, any>;
125
- }) => void);
126
+ onClick?: ((e: ClickEvent) => void);
126
127
  onContentReady?: ((e: ButtonContentReadyEvent) => void);
127
128
  onDisposing?: ((e: ButtonDisposingEvent) => void);
128
129
  onInitialized?: ((e: ButtonInitializedEvent) => void);
package/tree-view.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta.2
4
- * Build date: Fri May 26 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.2
4
- * Build date: Fri May 26 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.2
4
- * Build date: Fri May 26 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.2
4
- * Build date: Fri May 26 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
  *
@@ -12,6 +12,7 @@
12
12
  */
13
13
 
14
14
  /// <reference types="react" />
15
+ export { ExplicitTypes } from "devextreme/ui/validation_summary";
15
16
  import dxValidationSummary, { Properties } from "devextreme/ui/validation_summary";
16
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
18
  import NestedOption from "./core/nested-option";
@@ -21,21 +22,22 @@ import type { template } from "devextreme/core/templates/template";
21
22
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
22
23
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
23
24
  };
24
- declare type IValidationSummaryOptionsNarrowedEvents = {
25
- onContentReady?: ((e: ContentReadyEvent) => void);
26
- onDisposing?: ((e: DisposingEvent) => void);
27
- onInitialized?: ((e: InitializedEvent) => void);
28
- onItemClick?: ((e: ItemClickEvent) => void);
25
+ declare type IValidationSummaryOptionsNarrowedEvents<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);
29
30
  };
30
- declare type IValidationSummaryOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IValidationSummaryOptionsNarrowedEvents> & IHtmlOptions & {
31
+ declare type IValidationSummaryOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IValidationSummaryOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
32
+ dataSource?: Properties<TItem, TKey>["dataSource"];
31
33
  itemRender?: (...params: any) => React.ReactNode;
32
34
  itemComponent?: React.ComponentType<any>;
33
35
  itemKeyFn?: (data: any) => string;
34
36
  defaultItems?: Array<any | CollectionWidgetItem | string>;
35
37
  onItemsChange?: (value: Array<any | CollectionWidgetItem | string>) => void;
36
38
  }>;
37
- declare class ValidationSummary extends BaseComponent<React.PropsWithChildren<IValidationSummaryOptions>> {
38
- get instance(): dxValidationSummary;
39
+ declare class ValidationSummary<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildren<IValidationSummaryOptions<TItem, TKey>>> {
40
+ get instance(): dxValidationSummary<TItem, TKey>;
39
41
  protected _WidgetClass: typeof dxValidationSummary;
40
42
  protected subscribableOptions: string[];
41
43
  protected independentEvents: string[];
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta.2
4
- * Build date: Fri May 26 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.2
4
- * Build date: Fri May 26 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.2
4
- * Build date: Fri May 26 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.2
4
- * Build date: Fri May 26 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 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 { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, 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";
@@ -25,6 +25,7 @@ declare type ReplaceFieldTypes<TSource, TReplacement> = {
25
25
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
26
26
  };
27
27
  declare type IVectorMapOptionsNarrowedEvents = {
28
+ onClick?: ((e: ClickEvent) => void);
28
29
  onDisposing?: ((e: DisposingEvent) => void);
29
30
  onDrawn?: ((e: DrawnEvent) => void);
30
31
  onExported?: ((e: ExportedEvent) => void);
@@ -32,6 +33,8 @@ declare type IVectorMapOptionsNarrowedEvents = {
32
33
  onFileSaving?: ((e: FileSavingEvent) => void);
33
34
  onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
34
35
  onInitialized?: ((e: InitializedEvent) => void);
36
+ onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
37
+ onTooltipShown?: ((e: TooltipShownEvent) => void);
35
38
  };
36
39
  declare type IVectorMapOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IVectorMapOptionsNarrowedEvents> & IHtmlOptions & {
37
40
  defaultLoadingIndicator?: Record<string, any>;
@@ -622,7 +625,7 @@ declare class Subtitle extends NestedOption<ISubtitleProps> {
622
625
  declare type ITitleProps = React.PropsWithChildren<{
623
626
  font?: BaseWidgetTypes.Font;
624
627
  horizontalAlignment?: "center" | "left" | "right";
625
- margin?: Record<string, any> | {
628
+ margin?: Record<string, any> | number | {
626
629
  bottom?: number;
627
630
  left?: number;
628
631
  right?: number;
@@ -633,6 +636,8 @@ declare type ITitleProps = React.PropsWithChildren<{
633
636
  font?: BaseWidgetTypes.Font;
634
637
  offset?: number;
635
638
  text?: string;
639
+ textOverflow?: "ellipsis" | "hide" | "none";
640
+ wordWrap?: "normal" | "breakWord" | "none";
636
641
  };
637
642
  text?: string;
638
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.2
4
- * Build date: Fri May 26 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
  *