devextreme-react 23.1.2-beta → 23.1.2-beta.2

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 +13 -15
  2. package/accordion.js +2 -2
  3. package/action-sheet.d.ts +18 -8
  4. package/action-sheet.js +2 -2
  5. package/autocomplete.d.ts +7 -18
  6. package/autocomplete.js +2 -2
  7. package/bar-gauge.d.ts +16 -4
  8. package/bar-gauge.js +2 -2
  9. package/box.d.ts +18 -8
  10. package/box.js +2 -2
  11. package/bullet.d.ts +2 -2
  12. package/bullet.js +2 -2
  13. package/button-group.d.ts +12 -3
  14. package/button-group.js +2 -2
  15. package/button.d.ts +12 -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 +20 -4
  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 +7 -18
  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 +12 -14
  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 +45 -41
  78. package/data-grid.js +2 -2
  79. package/date-box.d.ts +14 -44
  80. package/date-box.js +2 -2
  81. package/date-range-box.d.ts +14 -44
  82. package/date-range-box.js +3 -10
  83. package/defer-rendering.d.ts +2 -2
  84. package/defer-rendering.js +2 -2
  85. package/diagram.d.ts +2 -2
  86. package/diagram.js +2 -2
  87. package/draggable.d.ts +2 -2
  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 +7 -18
  92. package/drop-down-box.js +2 -2
  93. package/drop-down-button.d.ts +12 -3
  94. package/drop-down-button.js +2 -2
  95. package/file-manager.d.ts +12 -4
  96. package/file-manager.js +2 -2
  97. package/file-uploader.d.ts +2 -2
  98. package/file-uploader.js +2 -2
  99. package/filter-builder.d.ts +12 -4
  100. package/filter-builder.js +2 -2
  101. package/form.d.ts +23 -28
  102. package/form.js +2 -2
  103. package/funnel.d.ts +16 -4
  104. package/funnel.js +2 -2
  105. package/gallery.d.ts +13 -15
  106. package/gallery.js +2 -2
  107. package/gantt.d.ts +2 -2
  108. package/gantt.js +2 -2
  109. package/html-editor.d.ts +17 -8
  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 +30 -46
  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 +6 -3
  122. package/lookup.js +2 -2
  123. package/map.d.ts +2 -2
  124. package/map.js +2 -2
  125. package/menu.d.ts +17 -8
  126. package/menu.js +2 -2
  127. package/multi-view.d.ts +13 -15
  128. package/multi-view.js +2 -2
  129. package/number-box.d.ts +8 -21
  130. package/number-box.js +2 -2
  131. package/package.json +4 -4
  132. package/pie-chart.d.ts +20 -4
  133. package/pie-chart.js +2 -2
  134. package/pivot-grid-field-chooser.d.ts +12 -3
  135. package/pivot-grid-field-chooser.js +2 -2
  136. package/pivot-grid.d.ts +12 -3
  137. package/pivot-grid.js +2 -2
  138. package/polar-chart.d.ts +20 -4
  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 +2 -2
  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 +16 -3
  149. package/range-selector.js +2 -2
  150. package/range-slider.d.ts +2 -2
  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 +2 -2
  155. package/resizable.js +2 -2
  156. package/responsive-box.d.ts +18 -8
  157. package/responsive-box.js +2 -2
  158. package/sankey.d.ts +16 -4
  159. package/sankey.js +2 -2
  160. package/scheduler.d.ts +12 -4
  161. package/scheduler.js +2 -2
  162. package/scroll-view.d.ts +2 -2
  163. package/scroll-view.js +2 -2
  164. package/select-box.d.ts +7 -18
  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 +11 -3
  169. package/sortable.js +2 -2
  170. package/sparkline.d.ts +18 -3
  171. package/sparkline.js +2 -2
  172. package/speed-dial-action.d.ts +2 -2
  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 +13 -15
  177. package/tab-panel.js +2 -2
  178. package/tabs.d.ts +18 -8
  179. package/tabs.js +2 -2
  180. package/tag-box.d.ts +7 -18
  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 -21
  185. package/text-box.js +2 -2
  186. package/tile-view.d.ts +18 -8
  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 +18 -8
  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 +45 -41
  195. package/tree-list.js +2 -2
  196. package/tree-map.d.ts +16 -4
  197. package/tree-map.js +2 -2
  198. package/tree-view.d.ts +25 -32
  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 +10 -12
  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 +16 -4
  207. package/vector-map.js +2 -2
package/lookup.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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,7 +15,7 @@
15
15
  import dxLookup, { Properties } from "devextreme/ui/lookup";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/text_box";
18
+ import type { ClosedEvent, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, OpenedEvent } from "devextreme/ui/lookup";
19
19
  import type { ContentReadyEvent as PopoverContentReadyEvent, DisposingEvent as PopoverDisposingEvent, InitializedEvent as PopoverInitializedEvent, HiddenEvent, HidingEvent, OptionChangedEvent, ShowingEvent, ShownEvent, TitleRenderedEvent } from "devextreme/ui/popover";
20
20
  import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
21
21
  import type { event } from "devextreme/events/index";
@@ -27,9 +27,12 @@ declare type ReplaceFieldTypes<TSource, TReplacement> = {
27
27
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
28
28
  };
29
29
  declare type ILookupOptionsNarrowedEvents = {
30
+ onClosed?: ((e: ClosedEvent) => void);
30
31
  onContentReady?: ((e: ContentReadyEvent) => void);
31
32
  onDisposing?: ((e: DisposingEvent) => void);
32
33
  onInitialized?: ((e: InitializedEvent) => void);
34
+ onItemClick?: ((e: ItemClickEvent) => void);
35
+ onOpened?: ((e: OpenedEvent) => void);
33
36
  };
34
37
  declare type ILookupOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ILookupOptionsNarrowedEvents> & IHtmlOptions & {
35
38
  fieldRender?: (...params: any) => React.ReactNode;
package/lookup.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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/menu.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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -12,17 +12,26 @@
12
12
  */
13
13
 
14
14
  /// <reference types="react" />
15
- export { ExplicitTypes } from "devextreme/ui/menu";
16
15
  import dxMenu, { Properties } from "devextreme/ui/menu";
17
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
17
  import NestedOption from "./core/nested-option";
19
- import type { dxMenuItem } from "devextreme/ui/menu";
18
+ import type { dxMenuItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemRenderedEvent } from "devextreme/ui/menu";
20
19
  import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
21
20
  import type { PositionConfig } from "devextreme/animation/position";
22
21
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
23
22
  import type { template } from "devextreme/core/templates/template";
24
- declare type IMenuOptions<TKey = any> = React.PropsWithChildren<Properties<TKey> & IHtmlOptions & {
25
- dataSource?: Properties<TKey>["dataSource"];
23
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
24
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
25
+ };
26
+ declare type IMenuOptionsNarrowedEvents = {
27
+ onContentReady?: ((e: ContentReadyEvent) => void);
28
+ onDisposing?: ((e: DisposingEvent) => void);
29
+ onInitialized?: ((e: InitializedEvent) => void);
30
+ onItemClick?: ((e: ItemClickEvent) => void);
31
+ onItemContextMenu?: ((e: ItemContextMenuEvent) => void);
32
+ onItemRendered?: ((e: ItemRenderedEvent) => void);
33
+ };
34
+ declare type IMenuOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IMenuOptionsNarrowedEvents> & IHtmlOptions & {
26
35
  itemRender?: (...params: any) => React.ReactNode;
27
36
  itemComponent?: React.ComponentType<any>;
28
37
  itemKeyFn?: (data: any) => string;
@@ -31,8 +40,8 @@ declare type IMenuOptions<TKey = any> = React.PropsWithChildren<Properties<TKey>
31
40
  onItemsChange?: (value: Array<dxMenuItem>) => void;
32
41
  onSelectedItemChange?: (value: any) => void;
33
42
  }>;
34
- declare class Menu<TKey = any> extends BaseComponent<React.PropsWithChildren<IMenuOptions<TKey>>> {
35
- get instance(): dxMenu<TKey>;
43
+ declare class Menu extends BaseComponent<React.PropsWithChildren<IMenuOptions>> {
44
+ get instance(): dxMenu;
36
45
  protected _WidgetClass: typeof dxMenu;
37
46
  protected subscribableOptions: string[];
38
47
  protected independentEvents: string[];
package/menu.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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/multi-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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -12,7 +12,6 @@
12
12
  */
13
13
 
14
14
  /// <reference types="react" />
15
- export { ExplicitTypes } from "devextreme/ui/multi_view";
16
15
  import dxMultiView, { Properties } from "devextreme/ui/multi_view";
17
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
17
  import NestedOption from "./core/nested-option";
@@ -22,17 +21,16 @@ import type { template } from "devextreme/core/templates/template";
22
21
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
23
22
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
24
23
  };
25
- declare type IMultiViewOptionsNarrowedEvents<TItem = any, TKey = any> = {
26
- onContentReady?: ((e: ContentReadyEvent<TItem, TKey>) => void);
27
- onDisposing?: ((e: DisposingEvent<TItem, TKey>) => void);
28
- onInitialized?: ((e: InitializedEvent<TItem, TKey>) => void);
29
- onItemClick?: ((e: ItemClickEvent<TItem, TKey>) => void);
30
- onItemContextMenu?: ((e: ItemContextMenuEvent<TItem, TKey>) => void);
31
- onItemHold?: ((e: ItemHoldEvent<TItem, TKey>) => void);
32
- onItemRendered?: ((e: ItemRenderedEvent<TItem, TKey>) => void);
24
+ declare type IMultiViewOptionsNarrowedEvents = {
25
+ onContentReady?: ((e: ContentReadyEvent) => void);
26
+ onDisposing?: ((e: DisposingEvent) => void);
27
+ onInitialized?: ((e: InitializedEvent) => void);
28
+ onItemClick?: ((e: ItemClickEvent) => void);
29
+ onItemContextMenu?: ((e: ItemContextMenuEvent) => void);
30
+ onItemHold?: ((e: ItemHoldEvent) => void);
31
+ onItemRendered?: ((e: ItemRenderedEvent) => void);
33
32
  };
34
- declare type IMultiViewOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IMultiViewOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
35
- dataSource?: Properties<TItem, TKey>["dataSource"];
33
+ declare type IMultiViewOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IMultiViewOptionsNarrowedEvents> & IHtmlOptions & {
36
34
  itemRender?: (...params: any) => React.ReactNode;
37
35
  itemComponent?: React.ComponentType<any>;
38
36
  itemKeyFn?: (data: any) => string;
@@ -43,8 +41,8 @@ declare type IMultiViewOptions<TItem = any, TKey = any> = React.PropsWithChildre
43
41
  onSelectedIndexChange?: (value: number) => void;
44
42
  onSelectedItemChange?: (value: any) => void;
45
43
  }>;
46
- declare class MultiView<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildren<IMultiViewOptions<TItem, TKey>>> {
47
- get instance(): dxMultiView<TItem, TKey>;
44
+ declare class MultiView extends BaseComponent<React.PropsWithChildren<IMultiViewOptions>> {
45
+ get instance(): dxMultiView;
48
46
  protected _WidgetClass: typeof dxMultiView;
49
47
  protected subscribableOptions: string[];
50
48
  protected independentEvents: string[];
package/multi-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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/number-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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,12 +16,10 @@ import dxNumberBox, { Properties } from "devextreme/ui/number_box";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
18
  import type { ChangeEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/number_box";
19
- import type { dxButtonOptions } from "devextreme/ui/button";
20
- import type { event, EventInfo } from "devextreme/events/index";
21
- import type { Component } from "devextreme/core/component";
19
+ import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent } from "devextreme/ui/button";
20
+ import type { event } from "devextreme/events/index";
22
21
  import type { template } from "devextreme/core/templates/template";
23
22
  import type dxButton from "devextreme/ui/button";
24
- import type DOMComponent from "devextreme/core/dom_component";
25
23
  declare type ReplaceFieldTypes<TSource, TReplacement> = {
26
24
  [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
27
25
  };
@@ -108,21 +106,10 @@ declare type IOptionsProps = React.PropsWithChildren<{
108
106
  model: any;
109
107
  validationGroup: Record<string, any>;
110
108
  }) => void);
111
- onContentReady?: ((e: EventInfo<any>) => void);
112
- onDisposing?: ((e: EventInfo<any>) => void);
113
- onInitialized?: ((e: {
114
- component: Component<any>;
115
- element: any;
116
- }) => void);
117
- onOptionChanged?: ((e: {
118
- component: DOMComponent;
119
- element: any;
120
- fullName: string;
121
- model: any;
122
- name: string;
123
- previousValue: any;
124
- value: any;
125
- }) => void);
109
+ onContentReady?: ((e: ButtonContentReadyEvent) => void);
110
+ onDisposing?: ((e: ButtonDisposingEvent) => void);
111
+ onInitialized?: ((e: ButtonInitializedEvent) => void);
112
+ onOptionChanged?: ((e: OptionChangedEvent) => void);
126
113
  rtlEnabled?: boolean;
127
114
  stylingMode?: "text" | "outlined" | "contained";
128
115
  tabIndex?: number;
package/number-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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Developer Express Inc.",
3
3
  "name": "devextreme-react",
4
- "version": "23.1.2-beta",
4
+ "version": "23.1.2-beta.2",
5
5
  "description": "DevExtreme React UI and Visualization Components",
6
6
  "repository": {
7
7
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "license": "MIT",
24
24
  "peerDependencies": {
25
- "devextreme": "~23.1.2-beta",
25
+ "devextreme": "~23.1.2-beta.2",
26
26
  "react": "^16.2.0 || ^17.0.0 || ^18.0.0",
27
27
  "react-dom": "^16.2.0 || ^17.0.0 || ^18.0.0"
28
28
  },
@@ -34,7 +34,7 @@
34
34
  "@types/react": "^16.14.28",
35
35
  "@types/react-dom": "^16.9.16",
36
36
  "del": "^3.0.0",
37
- "devextreme": "~23.1.2-beta",
37
+ "devextreme": "~23.1.2-beta.2",
38
38
  "devextreme-react-generator": "^4.1.1",
39
39
  "gulp": "^4.0.2",
40
40
  "jest": "^25.0.0",
@@ -51,4 +51,4 @@
51
51
  "resolutions": {
52
52
  "@types/react": "^16.14.28"
53
53
  }
54
- }
54
+ }
package/pie-chart.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,12 +15,28 @@
15
15
  import dxPieChart, { Properties } from "devextreme/viz/pie_chart";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { dxPieChartAnnotationConfig, dxPieChartCommonAnnotationConfig, PieChartLegendItem, PieChartSeries } from "devextreme/viz/pie_chart";
18
+ import type { DisposingEvent, DoneEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, PointClickEvent, TooltipHiddenEvent, TooltipShownEvent, dxPieChartAnnotationConfig, dxPieChartCommonAnnotationConfig, PieChartLegendItem, PieChartSeries } from "devextreme/viz/pie_chart";
19
19
  import type { template } from "devextreme/core/templates/template";
20
20
  import type { ChartsColor } from "devextreme/common/charts";
21
21
  import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
22
22
  import type * as LocalizationTypes from "devextreme/localization";
23
- declare type IPieChartOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
23
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
24
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
25
+ };
26
+ declare type IPieChartOptionsNarrowedEvents = {
27
+ onDisposing?: ((e: DisposingEvent) => void);
28
+ onDone?: ((e: DoneEvent) => void);
29
+ onDrawn?: ((e: DrawnEvent) => 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
+ onPointClick?: ((e: PointClickEvent) => void);
36
+ onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
37
+ onTooltipShown?: ((e: TooltipShownEvent) => void);
38
+ };
39
+ declare type IPieChartOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IPieChartOptionsNarrowedEvents> & IHtmlOptions & {
24
40
  centerRender?: (...params: any) => React.ReactNode;
25
41
  centerComponent?: React.ComponentType<any>;
26
42
  centerKeyFn?: (data: any) => string;
package/pie-chart.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.2-beta.2
4
+ * Build date: Fri May 26 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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,8 +15,17 @@
15
15
  import dxPivotGridFieldChooser, { Properties } from "devextreme/ui/pivot_grid_field_chooser";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
+ import type { ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/pivot_grid_field_chooser";
18
19
  import type { HeaderFilterSearchConfig } from "devextreme/common/grids";
19
- declare type IPivotGridFieldChooserOptions = React.PropsWithChildren<Properties & IHtmlOptions & {}>;
20
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
21
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
22
+ };
23
+ declare type IPivotGridFieldChooserOptionsNarrowedEvents = {
24
+ onContentReady?: ((e: ContentReadyEvent) => void);
25
+ onDisposing?: ((e: DisposingEvent) => void);
26
+ onInitialized?: ((e: InitializedEvent) => void);
27
+ };
28
+ declare type IPivotGridFieldChooserOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IPivotGridFieldChooserOptionsNarrowedEvents> & IHtmlOptions & {}>;
20
29
  declare class PivotGridFieldChooser extends BaseComponent<React.PropsWithChildren<IPivotGridFieldChooserOptions>> {
21
30
  get instance(): dxPivotGridFieldChooser;
22
31
  protected _WidgetClass: typeof dxPivotGridFieldChooser;
@@ -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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/pivot-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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,8 +15,17 @@
15
15
  import dxPivotGrid, { Properties } from "devextreme/ui/pivot_grid";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
+ import type { ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/pivot_grid";
18
19
  import type { HeaderFilterSearchConfig } from "devextreme/common/grids";
19
- declare type IPivotGridOptions = React.PropsWithChildren<Properties & IHtmlOptions & {}>;
20
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
21
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
22
+ };
23
+ declare type IPivotGridOptionsNarrowedEvents = {
24
+ onContentReady?: ((e: ContentReadyEvent) => void);
25
+ onDisposing?: ((e: DisposingEvent) => void);
26
+ onInitialized?: ((e: InitializedEvent) => void);
27
+ };
28
+ declare type IPivotGridOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IPivotGridOptionsNarrowedEvents> & IHtmlOptions & {}>;
20
29
  declare class PivotGrid extends BaseComponent<React.PropsWithChildren<IPivotGridOptions>> {
21
30
  get instance(): dxPivotGrid;
22
31
  protected _WidgetClass: typeof dxPivotGrid;
package/pivot-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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/polar-chart.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,14 +15,30 @@
15
15
  import dxPolarChart, { Properties } from "devextreme/viz/polar_chart";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
- import type { dxPolarChartAnnotationConfig, dxPolarChartCommonAnnotationConfig, PolarChartSeries } from "devextreme/viz/polar_chart";
18
+ import type { DisposingEvent, DoneEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, PointClickEvent, TooltipHiddenEvent, TooltipShownEvent, dxPolarChartAnnotationConfig, dxPolarChartCommonAnnotationConfig, PolarChartSeries } from "devextreme/viz/polar_chart";
19
19
  import type { template } from "devextreme/core/templates/template";
20
20
  import type { ChartsColor } from "devextreme/common/charts";
21
21
  import type { BaseChartLegendItem } from "devextreme/viz/chart_components/base_chart";
22
22
  import type * as CommonChartTypes from "devextreme/common/charts";
23
23
  import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
24
24
  import type * as LocalizationTypes from "devextreme/localization";
25
- declare type IPolarChartOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
25
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
26
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
27
+ };
28
+ declare type IPolarChartOptionsNarrowedEvents = {
29
+ onDisposing?: ((e: DisposingEvent) => void);
30
+ onDone?: ((e: DoneEvent) => void);
31
+ onDrawn?: ((e: DrawnEvent) => void);
32
+ onExported?: ((e: ExportedEvent) => void);
33
+ onExporting?: ((e: ExportingEvent) => void);
34
+ onFileSaving?: ((e: FileSavingEvent) => void);
35
+ onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
36
+ onInitialized?: ((e: InitializedEvent) => void);
37
+ onPointClick?: ((e: PointClickEvent) => void);
38
+ onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
39
+ onTooltipShown?: ((e: TooltipShownEvent) => void);
40
+ };
41
+ declare type IPolarChartOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IPolarChartOptionsNarrowedEvents> & IHtmlOptions & {
26
42
  defaultLoadingIndicator?: Record<string, any>;
27
43
  defaultValueAxis?: Record<string, any>;
28
44
  onLoadingIndicatorChange?: (value: Record<string, any>) => void;
package/polar-chart.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/popover.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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/popover.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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/popup.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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/popup.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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/progress-bar.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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/progress-bar.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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/radio-group.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,9 +15,19 @@
15
15
  import dxRadioGroup, { Properties } from "devextreme/ui/radio_group";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
+ import type { ContentReadyEvent, DisposingEvent, InitializedEvent, ValueChangedEvent } from "devextreme/ui/radio_group";
18
19
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
19
20
  import type { template } from "devextreme/core/templates/template";
20
- declare type IRadioGroupOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
21
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
22
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
23
+ };
24
+ declare type IRadioGroupOptionsNarrowedEvents = {
25
+ onContentReady?: ((e: ContentReadyEvent) => void);
26
+ onDisposing?: ((e: DisposingEvent) => void);
27
+ onInitialized?: ((e: InitializedEvent) => void);
28
+ onValueChanged?: ((e: ValueChangedEvent) => void);
29
+ };
30
+ declare type IRadioGroupOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IRadioGroupOptionsNarrowedEvents> & IHtmlOptions & {
21
31
  itemRender?: (...params: any) => React.ReactNode;
22
32
  itemComponent?: React.ComponentType<any>;
23
33
  itemKeyFn?: (data: any) => string;
package/radio-group.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-beta
4
- * Build date: Wed May 17 2023
3
+ * Version: 23.1.2-beta.2
4
+ * Build date: Fri May 26 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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,13 +15,26 @@
15
15
  import dxRangeSelector, { Properties } from "devextreme/viz/range_selector";
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 } from "devextreme/viz/range_selector";
18
19
  import type { chartPointAggregationInfoObject, chartSeriesObject, dxChartCommonSeriesSettings } from "devextreme/viz/chart";
19
20
  import type { ChartSeries } from "devextreme/viz/common";
20
21
  import type { ChartsColor, ScaleBreak } from "devextreme/common/charts";
21
22
  import type * as CommonChartTypes from "devextreme/common/charts";
22
23
  import type * as LocalizationTypes from "devextreme/localization";
23
24
  import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
24
- declare type IRangeSelectorOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
25
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
26
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
27
+ };
28
+ declare type IRangeSelectorOptionsNarrowedEvents = {
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
+ };
37
+ declare type IRangeSelectorOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IRangeSelectorOptionsNarrowedEvents> & IHtmlOptions & {
25
38
  defaultLoadingIndicator?: Record<string, any>;
26
39
  defaultValue?: Array<any | number | string> | CommonChartTypes.VisualRange;
27
40
  onLoadingIndicatorChange?: (value: Record<string, any>) => void;
package/range-selector.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.2-beta.2
4
+ * Build date: Fri May 26 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *