devextreme-react 23.1.2-beta → 23.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/accordion.d.ts +4 -3
  2. package/accordion.js +2 -2
  3. package/action-sheet.d.ts +17 -4
  4. package/action-sheet.js +2 -2
  5. package/autocomplete.d.ts +8 -26
  6. package/autocomplete.js +2 -2
  7. package/bar-gauge.d.ts +21 -5
  8. package/bar-gauge.js +2 -2
  9. package/box.d.ts +16 -4
  10. package/box.js +2 -2
  11. package/bullet.d.ts +4 -4
  12. package/bullet.js +2 -2
  13. package/button-group.d.ts +13 -3
  14. package/button-group.js +2 -2
  15. package/button.d.ts +13 -3
  16. package/button.js +2 -2
  17. package/calendar.d.ts +12 -3
  18. package/calendar.js +2 -2
  19. package/chart.d.ts +53 -15
  20. package/chart.js +2 -2
  21. package/check-box.d.ts +2 -2
  22. package/check-box.js +2 -2
  23. package/circular-gauge.d.ts +2 -2
  24. package/circular-gauge.js +2 -2
  25. package/color-box.d.ts +8 -26
  26. package/color-box.js +2 -2
  27. package/common/charts.d.ts +2 -2
  28. package/common/charts.js +2 -2
  29. package/common/grids.d.ts +3 -3
  30. package/common/grids.js +2 -2
  31. package/common/index.d.ts +2 -2
  32. package/common/index.js +2 -2
  33. package/context-menu.d.ts +8 -3
  34. package/context-menu.js +2 -2
  35. package/core/component-base.d.ts +2 -2
  36. package/core/component-base.js +2 -2
  37. package/core/component.d.ts +2 -2
  38. package/core/component.js +2 -2
  39. package/core/config.d.ts +2 -2
  40. package/core/config.js +2 -2
  41. package/core/configuration/comparer.d.ts +2 -2
  42. package/core/configuration/comparer.js +2 -2
  43. package/core/configuration/config-node.d.ts +2 -2
  44. package/core/configuration/config-node.js +2 -2
  45. package/core/configuration/react/element.d.ts +2 -2
  46. package/core/configuration/react/element.js +2 -2
  47. package/core/configuration/react/templates.d.ts +2 -2
  48. package/core/configuration/react/templates.js +2 -2
  49. package/core/configuration/react/tree.d.ts +2 -2
  50. package/core/configuration/react/tree.js +2 -2
  51. package/core/configuration/tree.d.ts +2 -2
  52. package/core/configuration/tree.js +2 -2
  53. package/core/configuration/utils.d.ts +2 -2
  54. package/core/configuration/utils.js +2 -2
  55. package/core/dx-template.d.ts +2 -2
  56. package/core/dx-template.js +2 -2
  57. package/core/extension-component.d.ts +2 -2
  58. package/core/extension-component.js +2 -2
  59. package/core/helpers.d.ts +2 -2
  60. package/core/helpers.js +2 -2
  61. package/core/nested-option.d.ts +2 -2
  62. package/core/nested-option.js +2 -2
  63. package/core/options-manager.d.ts +2 -2
  64. package/core/options-manager.js +2 -2
  65. package/core/template-wrapper.d.ts +2 -2
  66. package/core/template-wrapper.js +2 -2
  67. package/core/template.d.ts +2 -2
  68. package/core/template.js +2 -2
  69. package/core/templates-manager.d.ts +2 -2
  70. package/core/templates-manager.js +2 -2
  71. package/core/templates-renderer.d.ts +2 -2
  72. package/core/templates-renderer.js +2 -2
  73. package/core/templates-store.d.ts +2 -2
  74. package/core/templates-store.js +2 -2
  75. package/core/widget-config.d.ts +2 -2
  76. package/core/widget-config.js +2 -2
  77. package/data-grid.d.ts +79 -110
  78. package/data-grid.js +2 -2
  79. package/date-box.d.ts +15 -52
  80. package/date-box.js +2 -2
  81. package/date-range-box.d.ts +21 -52
  82. package/date-range-box.js +6 -11
  83. package/defer-rendering.d.ts +2 -2
  84. package/defer-rendering.js +2 -2
  85. package/diagram.d.ts +8 -3
  86. package/diagram.js +2 -2
  87. package/draggable.d.ts +6 -3
  88. package/draggable.js +2 -2
  89. package/drawer.d.ts +2 -2
  90. package/drawer.js +2 -2
  91. package/drop-down-box.d.ts +8 -26
  92. package/drop-down-box.js +2 -2
  93. package/drop-down-button.d.ts +14 -3
  94. package/drop-down-button.js +2 -2
  95. package/file-manager.d.ts +31 -5
  96. package/file-manager.js +2 -2
  97. package/file-uploader.d.ts +13 -3
  98. package/file-uploader.js +2 -2
  99. package/filter-builder.d.ts +19 -8
  100. package/filter-builder.js +2 -2
  101. package/form.d.ts +35 -68
  102. package/form.js +2 -2
  103. package/funnel.d.ts +21 -5
  104. package/funnel.js +2 -2
  105. package/gallery.d.ts +2 -2
  106. package/gallery.js +2 -2
  107. package/gantt.d.ts +34 -8
  108. package/gantt.js +2 -2
  109. package/html-editor.d.ts +32 -95
  110. package/html-editor.js +2 -2
  111. package/index.d.ts +2 -2
  112. package/index.js +2 -2
  113. package/linear-gauge.d.ts +18 -3
  114. package/linear-gauge.js +2 -2
  115. package/list.d.ts +48 -157
  116. package/list.js +2 -2
  117. package/load-indicator.d.ts +2 -2
  118. package/load-indicator.js +2 -2
  119. package/load-panel.d.ts +2 -2
  120. package/load-panel.js +2 -2
  121. package/lookup.d.ts +10 -3
  122. package/lookup.js +2 -2
  123. package/map.d.ts +9 -3
  124. package/map.js +2 -2
  125. package/menu.d.ts +19 -4
  126. package/menu.js +2 -2
  127. package/multi-view.d.ts +2 -2
  128. package/multi-view.js +2 -2
  129. package/number-box.d.ts +8 -29
  130. package/number-box.js +2 -2
  131. package/package.json +4 -4
  132. package/pie-chart.d.ts +29 -10
  133. package/pie-chart.js +2 -2
  134. package/pivot-grid-field-chooser.d.ts +13 -3
  135. package/pivot-grid-field-chooser.js +2 -2
  136. package/pivot-grid.d.ts +17 -4
  137. package/pivot-grid.js +2 -2
  138. package/polar-chart.d.ts +33 -10
  139. package/polar-chart.js +2 -2
  140. package/popover.d.ts +2 -2
  141. package/popover.js +2 -2
  142. package/popup.d.ts +2 -2
  143. package/popup.js +2 -2
  144. package/progress-bar.d.ts +4 -3
  145. package/progress-bar.js +2 -2
  146. package/radio-group.d.ts +13 -3
  147. package/radio-group.js +2 -2
  148. package/range-selector.d.ts +26 -8
  149. package/range-selector.js +2 -2
  150. package/range-slider.d.ts +4 -3
  151. package/range-slider.js +2 -2
  152. package/recurrence-editor.d.ts +2 -2
  153. package/recurrence-editor.js +2 -2
  154. package/resizable.d.ts +6 -3
  155. package/resizable.js +2 -2
  156. package/responsive-box.d.ts +16 -4
  157. package/responsive-box.js +2 -2
  158. package/sankey.d.ts +18 -4
  159. package/sankey.js +2 -2
  160. package/scheduler.d.ts +32 -10
  161. package/scheduler.js +2 -2
  162. package/scroll-view.d.ts +5 -3
  163. package/scroll-view.js +2 -2
  164. package/select-box.d.ts +10 -27
  165. package/select-box.js +2 -2
  166. package/slider.d.ts +13 -3
  167. package/slider.js +2 -2
  168. package/sortable.d.ts +18 -3
  169. package/sortable.js +2 -2
  170. package/sparkline.d.ts +20 -5
  171. package/sparkline.js +2 -2
  172. package/speed-dial-action.d.ts +5 -3
  173. package/speed-dial-action.js +2 -2
  174. package/switch.d.ts +2 -2
  175. package/switch.js +2 -2
  176. package/tab-panel.d.ts +6 -3
  177. package/tab-panel.js +2 -2
  178. package/tabs.d.ts +16 -4
  179. package/tabs.js +2 -2
  180. package/tag-box.d.ts +11 -27
  181. package/tag-box.js +2 -2
  182. package/text-area.d.ts +2 -2
  183. package/text-area.js +2 -2
  184. package/text-box.d.ts +8 -29
  185. package/text-box.js +2 -2
  186. package/tile-view.d.ts +16 -4
  187. package/tile-view.js +2 -2
  188. package/toast.d.ts +2 -2
  189. package/toast.js +2 -2
  190. package/toolbar.d.ts +16 -4
  191. package/toolbar.js +2 -2
  192. package/tooltip.d.ts +2 -2
  193. package/tooltip.js +2 -2
  194. package/tree-list.d.ts +78 -109
  195. package/tree-list.js +2 -2
  196. package/tree-map.d.ts +20 -4
  197. package/tree-map.js +2 -2
  198. package/tree-view.d.ts +30 -36
  199. package/tree-view.js +2 -2
  200. package/validation-group.d.ts +11 -3
  201. package/validation-group.js +2 -2
  202. package/validation-summary.d.ts +2 -2
  203. package/validation-summary.js +2 -2
  204. package/validator.d.ts +2 -2
  205. package/validator.js +2 -2
  206. package/vector-map.d.ts +22 -5
  207. package/vector-map.js +2 -2
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -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/data-grid.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.3
4
+ * Build date: Fri Jun 09 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,29 +16,69 @@ export { ExplicitTypes } from "devextreme/ui/data_grid";
16
16
  import dxDataGrid, { Properties } from "devextreme/ui/data_grid";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- import type { dxDataGridColumn, dxDataGridRowObject, dxDataGridColumnButton, dxDataGridToolbarItem } from "devextreme/ui/data_grid";
19
+ import type { dxDataGridColumn, AdaptiveDetailRowPreparingEvent, CellClickEvent, CellDblClickEvent, CellPreparedEvent, ContentReadyEvent, ContextMenuPreparingEvent, DataErrorOccurredEvent, DisposingEvent, EditCanceledEvent, EditCancelingEvent, EditingStartEvent, EditorPreparedEvent, EditorPreparingEvent, ExportingEvent, FocusedCellChangingEvent, FocusedRowChangingEvent, InitializedEvent, InitNewRowEvent, KeyDownEvent, RowClickEvent, RowCollapsedEvent, RowCollapsingEvent, RowDblClickEvent, RowExpandedEvent, RowExpandingEvent, RowInsertedEvent, RowInsertingEvent, RowPreparedEvent, RowRemovedEvent, RowRemovingEvent, RowUpdatedEvent, RowUpdatingEvent, RowValidatingEvent, SavedEvent, SavingEvent, ToolbarPreparingEvent, dxDataGridRowObject, dxDataGridColumnButton, dxDataGridToolbarItem } from "devextreme/ui/data_grid";
20
20
  import type { DataChange, ColumnHeaderFilterSearchConfig, ColumnChooserSearchConfig, ColumnChooserSelectionConfig, HeaderFilterSearchConfig, GridBase } from "devextreme/common/grids";
21
+ import type { ContentReadyEvent as FilterBuilderContentReadyEvent, DisposingEvent as FilterBuilderDisposingEvent, EditorPreparedEvent as FilterBuilderEditorPreparedEvent, EditorPreparingEvent as FilterBuilderEditorPreparingEvent, InitializedEvent as FilterBuilderInitializedEvent, dxFilterBuilderField, dxFilterBuilderCustomOperation, OptionChangedEvent, ValueChangedEvent } from "devextreme/ui/filter_builder";
22
+ import type { ContentReadyEvent as FormContentReadyEvent, DisposingEvent as FormDisposingEvent, InitializedEvent as FormInitializedEvent, dxFormSimpleItem, dxFormOptions, OptionChangedEvent as FormOptionChangedEvent, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem, EditorEnterKeyEvent, FieldDataChangedEvent } from "devextreme/ui/form";
21
23
  import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
22
24
  import type { event, EventInfo } from "devextreme/events/index";
23
25
  import type { template } from "devextreme/core/templates/template";
24
- import type { dxFormSimpleItem, dxFormOptions, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem } from "devextreme/ui/form";
25
26
  import type { DataSourceOptions } from "devextreme/data/data_source";
26
27
  import type { Store } from "devextreme/data/abstract_store";
27
28
  import type { PositionConfig } from "devextreme/animation/position";
28
- import type { dxFilterBuilderField, dxFilterBuilderCustomOperation } from "devextreme/ui/filter_builder";
29
29
  import type { dxPopupOptions, dxPopupToolbarItem } from "devextreme/ui/popup";
30
30
  import type { Component } from "devextreme/core/component";
31
31
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
32
- import type dxFilterBuilder from "devextreme/ui/filter_builder";
33
- import type DOMComponent from "devextreme/core/dom_component";
34
32
  import type dxOverlay from "devextreme/ui/overlay";
33
+ import type DOMComponent from "devextreme/core/dom_component";
35
34
  import type dxPopup from "devextreme/ui/popup";
36
35
  import type dxForm from "devextreme/ui/form";
37
36
  import type dxSortable from "devextreme/ui/sortable";
38
37
  import type dxDraggable from "devextreme/ui/draggable";
39
38
  import type * as LocalizationTypes from "devextreme/localization";
40
39
  import type * as CommonTypes from "devextreme/common";
41
- declare type IDataGridOptions<TRowData = any, TKey = any> = React.PropsWithChildren<Properties<TRowData, TKey> & IHtmlOptions & {
40
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
41
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
42
+ };
43
+ declare type IDataGridOptionsNarrowedEvents<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
+ onExporting?: ((e: ExportingEvent<TRowData, TKey>) => void);
58
+ onFocusedCellChanging?: ((e: FocusedCellChangingEvent<TRowData, TKey>) => void);
59
+ onFocusedRowChanging?: ((e: FocusedRowChangingEvent<TRowData, TKey>) => void);
60
+ onInitialized?: ((e: InitializedEvent<TRowData, TKey>) => void);
61
+ onInitNewRow?: ((e: InitNewRowEvent<TRowData, TKey>) => void);
62
+ onKeyDown?: ((e: KeyDownEvent<TRowData, TKey>) => void);
63
+ onRowClick?: ((e: RowClickEvent<TRowData, TKey>) => void);
64
+ onRowCollapsed?: ((e: RowCollapsedEvent<TRowData, TKey>) => void);
65
+ onRowCollapsing?: ((e: RowCollapsingEvent<TRowData, TKey>) => void);
66
+ onRowDblClick?: ((e: RowDblClickEvent<TRowData, TKey>) => void);
67
+ onRowExpanded?: ((e: RowExpandedEvent<TRowData, TKey>) => void);
68
+ onRowExpanding?: ((e: RowExpandingEvent<TRowData, TKey>) => void);
69
+ onRowInserted?: ((e: RowInsertedEvent<TRowData, TKey>) => void);
70
+ onRowInserting?: ((e: RowInsertingEvent<TRowData, TKey>) => void);
71
+ onRowPrepared?: ((e: RowPreparedEvent<TRowData, TKey>) => void);
72
+ onRowRemoved?: ((e: RowRemovedEvent<TRowData, TKey>) => void);
73
+ onRowRemoving?: ((e: RowRemovingEvent<TRowData, TKey>) => void);
74
+ onRowUpdated?: ((e: RowUpdatedEvent<TRowData, TKey>) => void);
75
+ onRowUpdating?: ((e: RowUpdatingEvent<TRowData, TKey>) => void);
76
+ onRowValidating?: ((e: RowValidatingEvent<TRowData, TKey>) => void);
77
+ onSaved?: ((e: SavedEvent<TRowData, TKey>) => void);
78
+ onSaving?: ((e: SavingEvent<TRowData, TKey>) => void);
79
+ onToolbarPreparing?: ((e: ToolbarPreparingEvent<TRowData, TKey>) => void);
80
+ };
81
+ declare type IDataGridOptions<TRowData = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TRowData, TKey>, IDataGridOptionsNarrowedEvents<TRowData, TKey>> & IHtmlOptions & {
42
82
  dataSource?: Properties<TRowData, TKey>["dataSource"];
43
83
  dataRowRender?: (...params: any) => React.ReactNode;
44
84
  dataRowComponent?: React.ComponentType<any>;
@@ -358,11 +398,11 @@ declare type IColumnProps = React.PropsWithChildren<{
358
398
  allowSorting?: boolean;
359
399
  autoExpandGroup?: boolean;
360
400
  buttons?: Array<dxDataGridColumnButton | "cancel" | "delete" | "edit" | "save" | "undelete">;
361
- calculateCellValue?: ((rowData: Record<string, any>) => any);
362
- calculateDisplayValue?: ((rowData: Record<string, any>) => any) | string;
401
+ calculateCellValue?: ((rowData: any) => any);
402
+ calculateDisplayValue?: ((rowData: any) => any) | string;
363
403
  calculateFilterExpression?: ((filterValue: any, selectedFilterOperation: string | null, target: string) => string);
364
- calculateGroupValue?: ((rowData: Record<string, any>) => any) | string;
365
- calculateSortValue?: ((rowData: Record<string, any>) => any) | string;
404
+ calculateGroupValue?: ((rowData: any) => any) | string;
405
+ calculateSortValue?: ((rowData: any) => any) | string;
366
406
  caption?: string;
367
407
  cellTemplate?: ((cellElement: any, cellInfo: {
368
408
  column: dxDataGridColumn;
@@ -450,12 +490,12 @@ declare type IColumnProps = React.PropsWithChildren<{
450
490
  isBand?: boolean;
451
491
  lookup?: Record<string, any> | {
452
492
  allowClearing?: boolean;
453
- calculateCellValue?: ((rowData: Record<string, any>) => any);
493
+ calculateCellValue?: ((rowData: any) => any);
454
494
  dataSource?: Array<any> | DataSourceOptions | ((options: {
455
495
  data: Record<string, any>;
456
496
  key: any;
457
497
  }) => Array<any>) | null | Store;
458
- displayExpr?: ((data: Record<string, any>) => string) | string;
498
+ displayExpr?: ((data: any) => string) | string;
459
499
  valueExpr?: string;
460
500
  };
461
501
  minWidth?: number;
@@ -463,7 +503,7 @@ declare type IColumnProps = React.PropsWithChildren<{
463
503
  ownerBand?: number;
464
504
  renderAsync?: boolean;
465
505
  selectedFilterOperation?: "<" | "<=" | "<>" | "=" | ">" | ">=" | "between" | "contains" | "endswith" | "notcontains" | "startswith";
466
- setCellValue?: ((newData: Record<string, any>, value: any, currentRowData: Record<string, any>) => any);
506
+ setCellValue?: ((newData: any, value: any, currentRowData: any) => any);
467
507
  showEditorAlways?: boolean;
468
508
  showInColumnChooser?: boolean;
469
509
  showWhenGrouped?: boolean;
@@ -719,12 +759,12 @@ declare class ColumnHeaderFilterSearch extends NestedOption<IColumnHeaderFilterS
719
759
  }
720
760
  declare type IColumnLookupProps = React.PropsWithChildren<{
721
761
  allowClearing?: boolean;
722
- calculateCellValue?: ((rowData: Record<string, any>) => any);
762
+ calculateCellValue?: ((rowData: any) => any);
723
763
  dataSource?: Array<any> | DataSourceOptions | ((options: {
724
764
  data: Record<string, any>;
725
765
  key: any;
726
766
  }) => Array<any>) | null | Store;
727
- displayExpr?: ((data: Record<string, any>) => string) | string;
767
+ displayExpr?: ((data: any) => string) | string;
728
768
  valueExpr?: string;
729
769
  }>;
730
770
  declare class ColumnLookup extends NestedOption<IColumnLookupProps> {
@@ -1018,8 +1058,8 @@ declare type IFieldProps = React.PropsWithChildren<{
1018
1058
  lookup?: Record<string, any> | {
1019
1059
  allowClearing?: boolean;
1020
1060
  dataSource?: Array<any> | DataSourceOptions | Store;
1021
- displayExpr?: ((data: Record<string, any>) => string) | string;
1022
- valueExpr?: ((data: Record<string, any>) => string) | string;
1061
+ displayExpr?: ((data: any) => string) | string;
1062
+ valueExpr?: ((data: any) => string) | string;
1023
1063
  };
1024
1064
  name?: string;
1025
1065
  trueText?: string;
@@ -1054,8 +1094,8 @@ declare class Field extends NestedOption<IFieldProps> {
1054
1094
  declare type IFieldLookupProps = React.PropsWithChildren<{
1055
1095
  allowClearing?: boolean;
1056
1096
  dataSource?: Array<any> | DataSourceOptions | Store;
1057
- displayExpr?: ((data: Record<string, any>) => string) | string;
1058
- valueExpr?: ((data: Record<string, any>) => string) | string;
1097
+ displayExpr?: ((data: any) => string) | string;
1098
+ valueExpr?: ((data: any) => string) | string;
1059
1099
  }>;
1060
1100
  declare class FieldLookup extends NestedOption<IFieldLookupProps> {
1061
1101
  static OptionName: string;
@@ -1096,62 +1136,13 @@ declare type IFilterBuilderProps = React.PropsWithChildren<{
1096
1136
  hint?: string;
1097
1137
  hoverStateEnabled?: boolean;
1098
1138
  maxGroupLevel?: number;
1099
- onContentReady?: ((e: EventInfo<any>) => void);
1100
- onDisposing?: ((e: EventInfo<any>) => void);
1101
- onEditorPrepared?: ((e: {
1102
- component: dxFilterBuilder;
1103
- dataField: string;
1104
- disabled: boolean;
1105
- editorElement: any;
1106
- editorName: string;
1107
- element: any;
1108
- filterOperation: string;
1109
- model: any;
1110
- readOnly: boolean;
1111
- rtlEnabled: boolean;
1112
- setValue(newValue: any): any;
1113
- updateValueTimeout: number;
1114
- value: any;
1115
- width: number;
1116
- }) => void);
1117
- onEditorPreparing?: ((e: {
1118
- cancel: boolean;
1119
- component: dxFilterBuilder;
1120
- dataField: string;
1121
- disabled: boolean;
1122
- editorElement: any;
1123
- editorName: string;
1124
- editorOptions: Record<string, any>;
1125
- element: any;
1126
- filterOperation: string;
1127
- model: any;
1128
- readOnly: boolean;
1129
- rtlEnabled: boolean;
1130
- setValue(newValue: any): any;
1131
- updateValueTimeout: number;
1132
- value: any;
1133
- width: number;
1134
- }) => void);
1135
- onInitialized?: ((e: {
1136
- component: Component<any>;
1137
- element: any;
1138
- }) => void);
1139
- onOptionChanged?: ((e: {
1140
- component: DOMComponent;
1141
- element: any;
1142
- fullName: string;
1143
- model: any;
1144
- name: string;
1145
- previousValue: any;
1146
- value: any;
1147
- }) => void);
1148
- onValueChanged?: ((e: {
1149
- component: dxFilterBuilder;
1150
- element: any;
1151
- model: any;
1152
- previousValue: Record<string, any>;
1153
- value: Record<string, any>;
1154
- }) => void);
1139
+ onContentReady?: ((e: FilterBuilderContentReadyEvent) => void);
1140
+ onDisposing?: ((e: FilterBuilderDisposingEvent) => void);
1141
+ onEditorPrepared?: ((e: FilterBuilderEditorPreparedEvent) => void);
1142
+ onEditorPreparing?: ((e: FilterBuilderEditorPreparingEvent) => void);
1143
+ onInitialized?: ((e: FilterBuilderInitializedEvent) => void);
1144
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
1145
+ onValueChanged?: ((e: ValueChangedEvent) => void);
1155
1146
  rtlEnabled?: boolean;
1156
1147
  tabIndex?: number;
1157
1148
  value?: Array<any> | (() => any) | string;
@@ -1432,34 +1423,12 @@ declare type IFormProps = React.PropsWithChildren<{
1432
1423
  labelLocation?: "left" | "right" | "top";
1433
1424
  labelMode?: "static" | "floating" | "hidden" | "outside";
1434
1425
  minColWidth?: number;
1435
- onContentReady?: ((e: EventInfo<any>) => void);
1436
- onDisposing?: ((e: EventInfo<any>) => void);
1437
- onEditorEnterKey?: ((e: {
1438
- component: dxForm;
1439
- dataField: string;
1440
- element: any;
1441
- model: any;
1442
- }) => void);
1443
- onFieldDataChanged?: ((e: {
1444
- component: dxForm;
1445
- dataField: string;
1446
- element: any;
1447
- model: any;
1448
- value: Record<string, any>;
1449
- }) => void);
1450
- onInitialized?: ((e: {
1451
- component: Component<any>;
1452
- element: any;
1453
- }) => void);
1454
- onOptionChanged?: ((e: {
1455
- component: DOMComponent;
1456
- element: any;
1457
- fullName: string;
1458
- model: any;
1459
- name: string;
1460
- previousValue: any;
1461
- value: any;
1462
- }) => void);
1426
+ onContentReady?: ((e: FormContentReadyEvent) => void);
1427
+ onDisposing?: ((e: FormDisposingEvent) => void);
1428
+ onEditorEnterKey?: ((e: EditorEnterKeyEvent) => void);
1429
+ onFieldDataChanged?: ((e: FieldDataChangedEvent) => void);
1430
+ onInitialized?: ((e: FormInitializedEvent) => void);
1431
+ onOptionChanged?: ((e: FormOptionChangedEvent) => void);
1463
1432
  optionalMark?: string;
1464
1433
  readOnly?: boolean;
1465
1434
  requiredMark?: string;
@@ -1703,7 +1672,7 @@ declare type IHeaderFilterProps = React.PropsWithChildren<{
1703
1672
  }) => void) | null | Store;
1704
1673
  groupInterval?: number | "day" | "hour" | "minute" | "month" | "quarter" | "second" | "year";
1705
1674
  height?: number;
1706
- search?: ColumnHeaderFilterSearchConfig;
1675
+ search?: ColumnHeaderFilterSearchConfig | HeaderFilterSearchConfig;
1707
1676
  searchMode?: "contains" | "startswith" | "equals";
1708
1677
  width?: number;
1709
1678
  searchTimeout?: number;
@@ -1825,13 +1794,13 @@ declare class LoadPanel extends NestedOption<ILoadPanelProps> {
1825
1794
  }
1826
1795
  declare type ILookupProps = React.PropsWithChildren<{
1827
1796
  allowClearing?: boolean;
1828
- calculateCellValue?: ((rowData: Record<string, any>) => any);
1797
+ calculateCellValue?: ((rowData: any) => any);
1829
1798
  dataSource?: Array<any> | DataSourceOptions | ((options: {
1830
1799
  data: Record<string, any>;
1831
1800
  key: any;
1832
1801
  }) => Array<any>) | null | Store;
1833
- displayExpr?: ((data: Record<string, any>) => string) | string;
1834
- valueExpr?: string;
1802
+ displayExpr?: ((data: any) => string) | string;
1803
+ valueExpr?: string | ((data: any) => string);
1835
1804
  }>;
1836
1805
  declare class Lookup extends NestedOption<ILookupProps> {
1837
1806
  static OptionName: string;
@@ -2374,7 +2343,7 @@ declare class Sorting extends NestedOption<ISortingProps> {
2374
2343
  }
2375
2344
  declare type IStateStoringProps = React.PropsWithChildren<{
2376
2345
  customLoad?: (() => any);
2377
- customSave?: ((gridState: Record<string, any>) => void);
2346
+ customSave?: ((gridState: any) => void);
2378
2347
  enabled?: boolean;
2379
2348
  savingTimeout?: number;
2380
2349
  storageKey?: string;
package/data-grid.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/date-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,20 +16,18 @@ import dxDateBox, { Properties } from "devextreme/ui/date_box";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
18
  import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/date_box";
19
+ import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent as ButtonOptionChangedEvent, ClickEvent } from "devextreme/ui/button";
20
+ import type { DisposingEvent as CalendarDisposingEvent, InitializedEvent as CalendarInitializedEvent, ValueChangedEvent as CalendarValueChangedEvent, DisabledDate, OptionChangedEvent } from "devextreme/ui/calendar";
19
21
  import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
20
- import type { dxButtonOptions } from "devextreme/ui/button";
21
22
  import type { template } from "devextreme/core/templates/template";
22
- import type { DisabledDate } from "devextreme/ui/calendar";
23
- import type { EventInfo, event } from "devextreme/events/index";
23
+ import type { event, EventInfo } from "devextreme/events/index";
24
24
  import type { Component } from "devextreme/core/component";
25
25
  import type { PositionConfig } from "devextreme/animation/position";
26
26
  import type { dxPopupToolbarItem } from "devextreme/ui/popup";
27
27
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
28
- import type DOMComponent from "devextreme/core/dom_component";
29
- import type Editor from "devextreme/ui/editor/editor";
30
28
  import type dxOverlay from "devextreme/ui/overlay";
29
+ import type DOMComponent from "devextreme/core/dom_component";
31
30
  import type dxPopup from "devextreme/ui/popup";
32
- import type dxButton from "devextreme/ui/button";
33
31
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
34
32
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
35
33
  };
@@ -165,28 +163,10 @@ declare type ICalendarOptionsProps = React.PropsWithChildren<{
165
163
  min?: any | number | string;
166
164
  minZoomLevel?: "century" | "decade" | "month" | "year";
167
165
  name?: string;
168
- onDisposing?: ((e: EventInfo<any>) => void);
169
- onInitialized?: ((e: {
170
- component: Component<any>;
171
- element: any;
172
- }) => void);
173
- onOptionChanged?: ((e: {
174
- component: DOMComponent;
175
- element: any;
176
- fullName: string;
177
- model: any;
178
- name: string;
179
- previousValue: any;
180
- value: any;
181
- }) => void);
182
- onValueChanged?: ((e: {
183
- component: Editor;
184
- element: any;
185
- event: event;
186
- model: any;
187
- previousValue: Record<string, any>;
188
- value: Record<string, any>;
189
- }) => void);
166
+ onDisposing?: ((e: CalendarDisposingEvent) => void);
167
+ onInitialized?: ((e: CalendarInitializedEvent) => void);
168
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
169
+ onValueChanged?: ((e: CalendarValueChangedEvent) => void);
190
170
  readOnly?: boolean;
191
171
  rtlEnabled?: boolean;
192
172
  showTodayButton?: boolean;
@@ -454,28 +434,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
454
434
  hint?: string;
455
435
  hoverStateEnabled?: boolean;
456
436
  icon?: string;
457
- onClick?: ((e: {
458
- component: dxButton;
459
- element: any;
460
- event: event;
461
- model: any;
462
- validationGroup: Record<string, any>;
463
- }) => void);
464
- onContentReady?: ((e: EventInfo<any>) => void);
465
- onDisposing?: ((e: EventInfo<any>) => void);
466
- onInitialized?: ((e: {
467
- component: Component<any>;
468
- element: any;
469
- }) => void);
470
- onOptionChanged?: ((e: {
471
- component: DOMComponent;
472
- element: any;
473
- fullName: string;
474
- model: any;
475
- name: string;
476
- previousValue: any;
477
- value: any;
478
- }) => void);
437
+ onClick?: ((e: ClickEvent) => void);
438
+ onContentReady?: ((e: ButtonContentReadyEvent) => void);
439
+ onDisposing?: ((e: ButtonDisposingEvent) => void);
440
+ onInitialized?: ((e: ButtonInitializedEvent) => void);
441
+ onOptionChanged?: ((e: ButtonOptionChangedEvent) => void);
479
442
  rtlEnabled?: boolean;
480
443
  stylingMode?: "text" | "outlined" | "contained";
481
444
  tabIndex?: number;
package/date-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
  *
@@ -16,20 +16,18 @@ import dxDateRangeBox, { Properties } from "devextreme/ui/date_range_box";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
18
  import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/date_range_box";
19
+ import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent as ButtonOptionChangedEvent, ClickEvent } from "devextreme/ui/button";
20
+ import type { DisposingEvent as CalendarDisposingEvent, InitializedEvent as CalendarInitializedEvent, ValueChangedEvent as CalendarValueChangedEvent, DisabledDate, OptionChangedEvent } from "devextreme/ui/calendar";
19
21
  import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
20
- import type { dxButtonOptions } from "devextreme/ui/button";
21
22
  import type { template } from "devextreme/core/templates/template";
22
- import type { DisabledDate } from "devextreme/ui/calendar";
23
- import type { EventInfo, event } from "devextreme/events/index";
23
+ import type { event, EventInfo } from "devextreme/events/index";
24
24
  import type { Component } from "devextreme/core/component";
25
25
  import type { PositionConfig } from "devextreme/animation/position";
26
26
  import type { dxPopupToolbarItem } from "devextreme/ui/popup";
27
27
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
28
- import type DOMComponent from "devextreme/core/dom_component";
29
- import type Editor from "devextreme/ui/editor/editor";
30
28
  import type dxOverlay from "devextreme/ui/overlay";
29
+ import type DOMComponent from "devextreme/core/dom_component";
31
30
  import type dxPopup from "devextreme/ui/popup";
32
- import type dxButton from "devextreme/ui/button";
33
31
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
34
32
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
35
33
  };
@@ -55,9 +53,13 @@ declare type IDateRangeBoxOptions = React.PropsWithChildren<ReplaceFieldTypes<Pr
55
53
  dropDownButtonRender?: (...params: any) => React.ReactNode;
56
54
  dropDownButtonComponent?: React.ComponentType<any>;
57
55
  dropDownButtonKeyFn?: (data: any) => string;
56
+ defaultEndDate?: any | number | string;
58
57
  defaultOpened?: boolean;
58
+ defaultStartDate?: any | number | string;
59
59
  defaultValue?: Array<any | number | string>;
60
+ onEndDateChange?: (value: any | number | string) => void;
60
61
  onOpenedChange?: (value: boolean) => void;
62
+ onStartDateChange?: (value: any | number | string) => void;
61
63
  onValueChange?: (value: Array<any | number | string>) => void;
62
64
  }>;
63
65
  declare class DateRangeBox extends BaseComponent<React.PropsWithChildren<IDateRangeBoxOptions>> {
@@ -66,7 +68,9 @@ declare class DateRangeBox extends BaseComponent<React.PropsWithChildren<IDateRa
66
68
  protected subscribableOptions: string[];
67
69
  protected independentEvents: string[];
68
70
  protected _defaults: {
71
+ defaultEndDate: string;
69
72
  defaultOpened: string;
73
+ defaultStartDate: string;
70
74
  defaultValue: string;
71
75
  };
72
76
  protected _expectedChildren: {
@@ -164,28 +168,10 @@ declare type ICalendarOptionsProps = React.PropsWithChildren<{
164
168
  min?: any | number | string;
165
169
  minZoomLevel?: "century" | "decade" | "month" | "year";
166
170
  name?: string;
167
- onDisposing?: ((e: EventInfo<any>) => void);
168
- onInitialized?: ((e: {
169
- component: Component<any>;
170
- element: any;
171
- }) => void);
172
- onOptionChanged?: ((e: {
173
- component: DOMComponent;
174
- element: any;
175
- fullName: string;
176
- model: any;
177
- name: string;
178
- previousValue: any;
179
- value: any;
180
- }) => void);
181
- onValueChanged?: ((e: {
182
- component: Editor;
183
- element: any;
184
- event: event;
185
- model: any;
186
- previousValue: Record<string, any>;
187
- value: Record<string, any>;
188
- }) => void);
171
+ onDisposing?: ((e: CalendarDisposingEvent) => void);
172
+ onInitialized?: ((e: CalendarInitializedEvent) => void);
173
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
174
+ onValueChanged?: ((e: CalendarValueChangedEvent) => void);
189
175
  readOnly?: boolean;
190
176
  rtlEnabled?: boolean;
191
177
  showTodayButton?: boolean;
@@ -453,28 +439,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
453
439
  hint?: string;
454
440
  hoverStateEnabled?: boolean;
455
441
  icon?: string;
456
- onClick?: ((e: {
457
- component: dxButton;
458
- element: any;
459
- event: event;
460
- model: any;
461
- validationGroup: Record<string, any>;
462
- }) => void);
463
- onContentReady?: ((e: EventInfo<any>) => void);
464
- onDisposing?: ((e: EventInfo<any>) => void);
465
- onInitialized?: ((e: {
466
- component: Component<any>;
467
- element: any;
468
- }) => void);
469
- onOptionChanged?: ((e: {
470
- component: DOMComponent;
471
- element: any;
472
- fullName: string;
473
- model: any;
474
- name: string;
475
- previousValue: any;
476
- value: any;
477
- }) => void);
442
+ onClick?: ((e: ClickEvent) => void);
443
+ onContentReady?: ((e: ButtonContentReadyEvent) => void);
444
+ onDisposing?: ((e: ButtonDisposingEvent) => void);
445
+ onInitialized?: ((e: ButtonInitializedEvent) => void);
446
+ onOptionChanged?: ((e: ButtonOptionChangedEvent) => void);
478
447
  rtlEnabled?: boolean;
479
448
  stylingMode?: "text" | "outlined" | "contained";
480
449
  tabIndex?: number;
package/date-range-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
  *
@@ -38,10 +38,12 @@ var DateRangeBox = /** @class */ (function (_super) {
38
38
  function DateRangeBox() {
39
39
  var _this = _super !== null && _super.apply(this, arguments) || this;
40
40
  _this._WidgetClass = date_range_box_1.default;
41
- _this.subscribableOptions = ["opened", "value"];
41
+ _this.subscribableOptions = ["endDate", "opened", "startDate", "value"];
42
42
  _this.independentEvents = ["onChange", "onClosed", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOpened", "onPaste", "onValueChanged"];
43
43
  _this._defaults = {
44
+ defaultEndDate: "endDate",
44
45
  defaultOpened: "opened",
46
+ defaultStartDate: "startDate",
45
47
  defaultValue: "value"
46
48
  };
47
49
  _this._expectedChildren = {
@@ -86,6 +88,7 @@ DateRangeBox.propTypes = {
86
88
  dateSerializationFormat: PropTypes.string,
87
89
  deferRendering: PropTypes.bool,
88
90
  disabled: PropTypes.bool,
91
+ disableOutOfRangeSelection: PropTypes.bool,
89
92
  displayFormat: PropTypes.oneOfType([
90
93
  PropTypes.object,
91
94
  PropTypes.func,
@@ -109,7 +112,6 @@ DateRangeBox.propTypes = {
109
112
  invalidEndDateMessage: PropTypes.string,
110
113
  invalidStartDateMessage: PropTypes.string,
111
114
  isValid: PropTypes.bool,
112
- label: PropTypes.string,
113
115
  labelMode: PropTypes.oneOfType([
114
116
  PropTypes.string,
115
117
  PropTypes.oneOf([
@@ -118,12 +120,7 @@ DateRangeBox.propTypes = {
118
120
  "hidden"
119
121
  ])
120
122
  ]),
121
- maxLength: PropTypes.oneOfType([
122
- PropTypes.number,
123
- PropTypes.string
124
- ]),
125
123
  multiView: PropTypes.bool,
126
- name: PropTypes.string,
127
124
  onChange: PropTypes.func,
128
125
  onClosed: PropTypes.func,
129
126
  onContentReady: PropTypes.func,
@@ -143,7 +140,6 @@ DateRangeBox.propTypes = {
143
140
  onValueChanged: PropTypes.func,
144
141
  opened: PropTypes.bool,
145
142
  openOnFieldClick: PropTypes.bool,
146
- placeholder: PropTypes.string,
147
143
  readOnly: PropTypes.bool,
148
144
  rtlEnabled: PropTypes.bool,
149
145
  showClearButton: PropTypes.bool,
@@ -163,7 +159,6 @@ DateRangeBox.propTypes = {
163
159
  ])
164
160
  ]),
165
161
  tabIndex: PropTypes.number,
166
- text: PropTypes.string,
167
162
  todayButtonText: PropTypes.string,
168
163
  useMaskBehavior: PropTypes.bool,
169
164
  validationErrors: PropTypes.array,
@@ -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
  *