devextreme-react 23.1.2-alpha-23114-0308 → 23.1.2-beta

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 +16 -4
  2. package/accordion.js +2 -2
  3. package/action-sheet.d.ts +2 -4
  4. package/action-sheet.js +2 -2
  5. package/autocomplete.d.ts +36 -35
  6. package/autocomplete.js +2 -2
  7. package/bar-gauge.d.ts +18 -19
  8. package/bar-gauge.js +2 -2
  9. package/box.d.ts +2 -2
  10. package/box.js +2 -2
  11. package/bullet.d.ts +22 -7
  12. package/bullet.js +2 -2
  13. package/button-group.d.ts +3 -4
  14. package/button-group.js +2 -2
  15. package/button.d.ts +2 -2
  16. package/button.js +2 -2
  17. package/calendar.d.ts +2 -2
  18. package/calendar.js +2 -2
  19. package/chart.d.ts +175 -175
  20. package/chart.js +2 -2
  21. package/check-box.d.ts +13 -3
  22. package/check-box.js +2 -2
  23. package/circular-gauge.d.ts +31 -17
  24. package/circular-gauge.js +2 -2
  25. package/color-box.d.ts +34 -35
  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 +21 -11
  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 +103 -143
  78. package/data-grid.js +4 -2
  79. package/date-box.d.ts +39 -52
  80. package/date-box.js +2 -2
  81. package/date-range-box.d.ts +39 -52
  82. package/date-range-box.js +15 -15
  83. package/defer-rendering.d.ts +17 -8
  84. package/defer-rendering.js +2 -2
  85. package/diagram.d.ts +27 -19
  86. package/diagram.js +2 -2
  87. package/draggable.d.ts +11 -3
  88. package/draggable.js +2 -2
  89. package/drawer.d.ts +11 -3
  90. package/drawer.js +2 -2
  91. package/drop-down-box.d.ts +34 -35
  92. package/drop-down-box.js +2 -2
  93. package/drop-down-button.d.ts +10 -24
  94. package/drop-down-button.js +2 -2
  95. package/file-manager.d.ts +3 -60
  96. package/file-manager.js +2 -41
  97. package/file-uploader.d.ts +12 -3
  98. package/file-uploader.js +2 -2
  99. package/filter-builder.d.ts +8 -8
  100. package/filter-builder.js +3 -2
  101. package/form.d.ts +57 -169
  102. package/form.js +3 -5
  103. package/funnel.d.ts +31 -31
  104. package/funnel.js +2 -2
  105. package/gallery.d.ts +16 -5
  106. package/gallery.js +2 -2
  107. package/gantt.d.ts +25 -68
  108. package/gantt.js +5 -19
  109. package/html-editor.d.ts +13 -42
  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 +16 -17
  114. package/linear-gauge.js +2 -2
  115. package/list.d.ts +28 -75
  116. package/list.js +2 -7
  117. package/load-indicator.d.ts +12 -3
  118. package/load-indicator.js +2 -2
  119. package/load-panel.d.ts +21 -8
  120. package/load-panel.js +2 -2
  121. package/lookup.d.ts +32 -89
  122. package/lookup.js +2 -2
  123. package/map.d.ts +20 -12
  124. package/map.js +2 -2
  125. package/menu.d.ts +10 -11
  126. package/menu.js +2 -2
  127. package/multi-view.d.ts +16 -5
  128. package/multi-view.js +2 -2
  129. package/number-box.d.ts +26 -17
  130. package/number-box.js +2 -2
  131. package/package.json +4 -4
  132. package/pie-chart.d.ts +58 -58
  133. package/pie-chart.js +2 -2
  134. package/pivot-grid-field-chooser.d.ts +3 -3
  135. package/pivot-grid-field-chooser.js +2 -2
  136. package/pivot-grid.d.ts +6 -6
  137. package/pivot-grid.js +2 -2
  138. package/polar-chart.d.ts +134 -136
  139. package/polar-chart.js +2 -2
  140. package/popover.d.ts +22 -8
  141. package/popover.js +2 -2
  142. package/popup.d.ts +7 -7
  143. package/popup.js +2 -2
  144. package/progress-bar.d.ts +13 -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 +104 -104
  149. package/range-selector.js +2 -2
  150. package/range-slider.d.ts +12 -3
  151. package/range-slider.js +2 -2
  152. package/recurrence-editor.d.ts +15 -3
  153. package/recurrence-editor.js +2 -2
  154. package/resizable.d.ts +11 -3
  155. package/resizable.js +2 -2
  156. package/responsive-box.d.ts +3 -3
  157. package/responsive-box.js +2 -2
  158. package/sankey.d.ts +22 -22
  159. package/sankey.js +2 -2
  160. package/scheduler.d.ts +12 -12
  161. package/scheduler.js +2 -2
  162. package/scroll-view.d.ts +13 -3
  163. package/scroll-view.js +2 -2
  164. package/select-box.d.ts +36 -35
  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 +2 -2
  169. package/sortable.js +2 -2
  170. package/sparkline.d.ts +6 -6
  171. package/sparkline.js +2 -2
  172. package/speed-dial-action.d.ts +11 -3
  173. package/speed-dial-action.js +2 -2
  174. package/switch.d.ts +13 -3
  175. package/switch.js +2 -2
  176. package/tab-panel.d.ts +16 -5
  177. package/tab-panel.js +2 -2
  178. package/tabs.d.ts +2 -2
  179. package/tabs.js +2 -2
  180. package/tag-box.d.ts +34 -35
  181. package/tag-box.js +2 -2
  182. package/text-area.d.ts +23 -3
  183. package/text-area.js +2 -2
  184. package/text-box.d.ts +26 -17
  185. package/text-box.js +2 -2
  186. package/tile-view.d.ts +2 -2
  187. package/tile-view.js +2 -2
  188. package/toast.d.ts +21 -8
  189. package/toast.js +2 -2
  190. package/toolbar.d.ts +2 -2
  191. package/toolbar.js +2 -2
  192. package/tooltip.d.ts +21 -8
  193. package/tooltip.js +2 -2
  194. package/tree-list.d.ts +93 -129
  195. package/tree-list.js +4 -2
  196. package/tree-map.d.ts +23 -23
  197. package/tree-map.js +2 -2
  198. package/tree-view.d.ts +24 -53
  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 +13 -3
  203. package/validation-summary.js +2 -2
  204. package/validator.d.ts +19 -19
  205. package/validator.js +2 -2
  206. package/vector-map.d.ts +30 -47
  207. package/vector-map.js +3 -13
package/accordion.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -16,10 +16,22 @@ export { ExplicitTypes } from "devextreme/ui/accordion";
16
16
  import dxAccordion, { Properties } from "devextreme/ui/accordion";
17
17
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
18
18
  import NestedOption from "./core/nested-option";
19
- import type { dxAccordionItem } from "devextreme/ui/accordion";
19
+ import type { dxAccordionItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/accordion";
20
20
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
21
21
  import type { template } from "devextreme/core/templates/template";
22
- declare type IAccordionOptions<TItem = any, TKey = any> = React.PropsWithChildren<Properties<TItem, TKey> & IHtmlOptions & {
22
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
23
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
24
+ };
25
+ declare type IAccordionOptionsNarrowedEvents<TItem = any, TKey = any> = {
26
+ onContentReady?: ((e: ContentReadyEvent<TItem, TKey>) => void);
27
+ onDisposing?: ((e: DisposingEvent<TItem, TKey>) => void);
28
+ onInitialized?: ((e: InitializedEvent<TItem, TKey>) => void);
29
+ onItemClick?: ((e: ItemClickEvent<TItem, TKey>) => void);
30
+ onItemContextMenu?: ((e: ItemContextMenuEvent<TItem, TKey>) => void);
31
+ onItemHold?: ((e: ItemHoldEvent<TItem, TKey>) => void);
32
+ onItemRendered?: ((e: ItemRenderedEvent<TItem, TKey>) => void);
33
+ };
34
+ declare type IAccordionOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IAccordionOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
23
35
  dataSource?: Properties<TItem, TKey>["dataSource"];
24
36
  itemRender?: (...params: any) => React.ReactNode;
25
37
  itemComponent?: React.ComponentType<any>;
package/accordion.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/action-sheet.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -54,14 +54,12 @@ declare class ActionSheet<TItem = any, TKey = any> extends BaseComponent<React.P
54
54
  }
55
55
  declare type IItemProps = React.PropsWithChildren<{
56
56
  disabled?: boolean;
57
- html?: string;
58
57
  icon?: string;
59
58
  onClick?: ((e: NativeEventInfo<any>) => void);
60
59
  stylingMode?: "text" | "outlined" | "contained";
61
60
  template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
62
61
  text?: string;
63
62
  type?: "back" | "danger" | "default" | "normal" | "success";
64
- visible?: boolean;
65
63
  render?: (...params: any) => React.ReactNode;
66
64
  component?: React.ComponentType<any>;
67
65
  keyFn?: (data: any) => string;
package/action-sheet.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/autocomplete.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,6 +15,7 @@
15
15
  import dxAutocomplete, { Properties } from "devextreme/ui/autocomplete";
16
16
  import { Component as BaseComponent, IHtmlOptions } from "./core/component";
17
17
  import NestedOption from "./core/nested-option";
18
+ import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/autocomplete";
18
19
  import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
19
20
  import type { dxButtonOptions } from "devextreme/ui/button";
20
21
  import type { event, EventInfo } from "devextreme/events/index";
@@ -23,12 +24,33 @@ import type { Component } from "devextreme/core/component";
23
24
  import type { PositionConfig } from "devextreme/animation/position";
24
25
  import type { dxPopupToolbarItem } from "devextreme/ui/popup";
25
26
  import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
26
- import type Widget from "devextreme/ui/widget/ui.widget";
27
27
  import type dxOverlay from "devextreme/ui/overlay";
28
28
  import type DOMComponent from "devextreme/core/dom_component";
29
29
  import type dxPopup from "devextreme/ui/popup";
30
30
  import type dxButton from "devextreme/ui/button";
31
- declare type IAutocompleteOptions = React.PropsWithChildren<Properties & IHtmlOptions & {
31
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
32
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
33
+ };
34
+ declare type IAutocompleteOptionsNarrowedEvents = {
35
+ onChange?: ((e: ChangeEvent) => void);
36
+ onClosed?: ((e: ClosedEvent) => void);
37
+ onContentReady?: ((e: ContentReadyEvent) => void);
38
+ onCopy?: ((e: CopyEvent) => void);
39
+ onCut?: ((e: CutEvent) => void);
40
+ onDisposing?: ((e: DisposingEvent) => void);
41
+ onEnterKey?: ((e: EnterKeyEvent) => void);
42
+ onFocusIn?: ((e: FocusInEvent) => void);
43
+ onFocusOut?: ((e: FocusOutEvent) => void);
44
+ onInitialized?: ((e: InitializedEvent) => void);
45
+ onInput?: ((e: InputEvent) => void);
46
+ onItemClick?: ((e: ItemClickEvent) => void);
47
+ onKeyDown?: ((e: KeyDownEvent) => void);
48
+ onKeyUp?: ((e: KeyUpEvent) => void);
49
+ onOpened?: ((e: OpenedEvent) => void);
50
+ onPaste?: ((e: PasteEvent) => void);
51
+ onValueChanged?: ((e: ValueChangedEvent) => void);
52
+ };
53
+ declare type IAutocompleteOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IAutocompleteOptionsNarrowedEvents> & IHtmlOptions & {
32
54
  dropDownButtonRender?: (...params: any) => React.ReactNode;
33
55
  dropDownButtonComponent?: React.ComponentType<any>;
34
56
  dropDownButtonKeyFn?: (data: any) => string;
@@ -128,12 +150,11 @@ declare class Collision extends NestedOption<ICollisionProps> {
128
150
  }
129
151
  declare type IDropDownOptionsProps = React.PropsWithChildren<{
130
152
  accessKey?: string;
131
- activeStateEnabled?: boolean;
132
- animation?: object | {
153
+ animation?: Record<string, any> | {
133
154
  hide?: AnimationConfig;
134
155
  show?: AnimationConfig;
135
156
  };
136
- bindingOptions?: object;
157
+ bindingOptions?: Record<string, any>;
137
158
  closeOnOutsideClick?: boolean | ((event: event) => boolean);
138
159
  container?: any | string;
139
160
  contentTemplate?: ((contentElement: any) => string) | template;
@@ -158,16 +179,6 @@ declare type IDropDownOptionsProps = React.PropsWithChildren<{
158
179
  minWidth?: (() => number) | number | string;
159
180
  onContentReady?: ((e: EventInfo<any>) => void);
160
181
  onDisposing?: ((e: EventInfo<any>) => void);
161
- onFocusIn?: ((e: {
162
- component: Widget<any>;
163
- element: any;
164
- model: object;
165
- }) => void);
166
- onFocusOut?: ((e: {
167
- component: Widget<any>;
168
- element: any;
169
- model: object;
170
- }) => void);
171
182
  onHidden?: ((e: EventInfo<any>) => void);
172
183
  onHiding?: ((e: {
173
184
  cancel: boolean | any;
@@ -362,9 +373,9 @@ declare class Offset extends NestedOption<IOffsetProps> {
362
373
  declare type IOptionsProps = React.PropsWithChildren<{
363
374
  accessKey?: string;
364
375
  activeStateEnabled?: boolean;
365
- bindingOptions?: object;
376
+ bindingOptions?: Record<string, any>;
366
377
  disabled?: boolean;
367
- elementAttr?: object;
378
+ elementAttr?: Record<string, any>;
368
379
  focusStateEnabled?: boolean;
369
380
  height?: (() => number) | number | string;
370
381
  hint?: string;
@@ -375,20 +386,10 @@ declare type IOptionsProps = React.PropsWithChildren<{
375
386
  element: any;
376
387
  event: event;
377
388
  model: any;
378
- validationGroup: object;
389
+ validationGroup: Record<string, any>;
379
390
  }) => void);
380
391
  onContentReady?: ((e: EventInfo<any>) => void);
381
392
  onDisposing?: ((e: EventInfo<any>) => void);
382
- onFocusIn?: ((e: {
383
- component: Widget<any>;
384
- element: any;
385
- model: object;
386
- }) => void);
387
- onFocusOut?: ((e: {
388
- component: Widget<any>;
389
- element: any;
390
- model: object;
391
- }) => void);
392
393
  onInitialized?: ((e: {
393
394
  component: Component<any>;
394
395
  element: any;
@@ -429,25 +430,25 @@ declare class Options extends NestedOption<IOptionsProps> {
429
430
  }[];
430
431
  }
431
432
  declare type IPositionProps = React.PropsWithChildren<{
432
- at?: object | "bottom" | "center" | "left" | "left bottom" | "left top" | "right" | "right bottom" | "right top" | "top" | {
433
+ at?: Record<string, any> | "bottom" | "center" | "left" | "left bottom" | "left top" | "right" | "right bottom" | "right top" | "top" | {
433
434
  x?: "center" | "left" | "right";
434
435
  y?: "bottom" | "center" | "top";
435
436
  };
436
437
  boundary?: any | string;
437
- boundaryOffset?: object | string | {
438
+ boundaryOffset?: Record<string, any> | string | {
438
439
  x?: number;
439
440
  y?: number;
440
441
  };
441
- collision?: object | "fit" | "fit flip" | "fit flipfit" | "fit none" | "flip" | "flip fit" | "flip none" | "flipfit" | "flipfit fit" | "flipfit none" | "none" | "none fit" | "none flip" | "none flipfit" | {
442
+ collision?: Record<string, any> | "fit" | "fit flip" | "fit flipfit" | "fit none" | "flip" | "flip fit" | "flip none" | "flipfit" | "flipfit fit" | "flipfit none" | "none" | "none fit" | "none flip" | "none flipfit" | {
442
443
  x?: "fit" | "flip" | "flipfit" | "none";
443
444
  y?: "fit" | "flip" | "flipfit" | "none";
444
445
  };
445
- my?: object | "bottom" | "center" | "left" | "left bottom" | "left top" | "right" | "right bottom" | "right top" | "top" | {
446
+ my?: Record<string, any> | "bottom" | "center" | "left" | "left bottom" | "left top" | "right" | "right bottom" | "right top" | "top" | {
446
447
  x?: "center" | "left" | "right";
447
448
  y?: "bottom" | "center" | "top";
448
449
  };
449
450
  of?: any | string;
450
- offset?: object | string | {
451
+ offset?: Record<string, any> | string | {
451
452
  x?: number;
452
453
  y?: number;
453
454
  };
package/autocomplete.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/bar-gauge.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -23,9 +23,9 @@ declare type IBarGaugeOptions = React.PropsWithChildren<Properties & IHtmlOption
23
23
  centerRender?: (...params: any) => React.ReactNode;
24
24
  centerComponent?: React.ComponentType<any>;
25
25
  centerKeyFn?: (data: any) => string;
26
- defaultLoadingIndicator?: object;
26
+ defaultLoadingIndicator?: Record<string, any>;
27
27
  defaultValues?: Array<number>;
28
- onLoadingIndicatorChange?: (value: object) => void;
28
+ onLoadingIndicatorChange?: (value: Record<string, any>) => void;
29
29
  onValuesChange?: (value: Array<number>) => void;
30
30
  }>;
31
31
  declare class BarGauge extends BaseComponent<React.PropsWithChildren<IBarGaugeOptions>> {
@@ -101,14 +101,14 @@ declare class Animation extends NestedOption<IAnimationProps> {
101
101
  declare type IBarGaugeTitleProps = React.PropsWithChildren<{
102
102
  font?: BaseWidgetTypes.Font;
103
103
  horizontalAlignment?: "center" | "left" | "right";
104
- margin?: number | object | {
104
+ margin?: number | Record<string, any> | {
105
105
  bottom?: number;
106
106
  left?: number;
107
107
  right?: number;
108
108
  top?: number;
109
109
  };
110
110
  placeholderSize?: number;
111
- subtitle?: object | string | {
111
+ subtitle?: Record<string, any> | string | {
112
112
  font?: BaseWidgetTypes.Font;
113
113
  offset?: number;
114
114
  text?: string;
@@ -246,7 +246,7 @@ declare class Label extends NestedOption<ILabelProps> {
246
246
  }
247
247
  declare type ILegendProps = React.PropsWithChildren<{
248
248
  backgroundColor?: string;
249
- border?: object | {
249
+ border?: Record<string, any> | {
250
250
  color?: string;
251
251
  cornerRadius?: number;
252
252
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
@@ -270,7 +270,7 @@ declare type ILegendProps = React.PropsWithChildren<{
270
270
  itemsAlignment?: "center" | "left" | "right";
271
271
  itemTextFormat?: LocalizationTypes.Format;
272
272
  itemTextPosition?: "bottom" | "left" | "right" | "top";
273
- margin?: number | object | {
273
+ margin?: number | Record<string, any> | {
274
274
  bottom?: number;
275
275
  left?: number;
276
276
  right?: number;
@@ -283,17 +283,17 @@ declare type ILegendProps = React.PropsWithChildren<{
283
283
  paddingTopBottom?: number;
284
284
  rowCount?: number;
285
285
  rowItemSpacing?: number;
286
- title?: object | string | {
286
+ title?: Record<string, any> | string | {
287
287
  font?: BaseWidgetTypes.Font;
288
288
  horizontalAlignment?: "center" | "left" | "right";
289
- margin?: object | {
289
+ margin?: Record<string, any> | {
290
290
  bottom?: number;
291
291
  left?: number;
292
292
  right?: number;
293
293
  top?: number;
294
294
  };
295
295
  placeholderSize?: number;
296
- subtitle?: object | string | {
296
+ subtitle?: Record<string, any> | string | {
297
297
  font?: BaseWidgetTypes.Font;
298
298
  offset?: number;
299
299
  text?: string;
@@ -360,14 +360,14 @@ declare class LegendBorder extends NestedOption<ILegendBorderProps> {
360
360
  declare type ILegendTitleProps = React.PropsWithChildren<{
361
361
  font?: BaseWidgetTypes.Font;
362
362
  horizontalAlignment?: "center" | "left" | "right";
363
- margin?: object | {
363
+ margin?: Record<string, any> | {
364
364
  bottom?: number;
365
365
  left?: number;
366
366
  right?: number;
367
367
  top?: number;
368
368
  };
369
369
  placeholderSize?: number;
370
- subtitle?: object | string | {
370
+ subtitle?: Record<string, any> | string | {
371
371
  font?: BaseWidgetTypes.Font;
372
372
  offset?: number;
373
373
  text?: string;
@@ -412,7 +412,6 @@ declare class LegendTitleSubtitle extends NestedOption<ILegendTitleSubtitleProps
412
412
  }
413
413
  declare type ILoadingIndicatorProps = React.PropsWithChildren<{
414
414
  backgroundColor?: string;
415
- enabled?: boolean;
416
415
  font?: BaseWidgetTypes.Font;
417
416
  show?: boolean;
418
417
  text?: string;
@@ -470,14 +469,14 @@ declare class Subtitle extends NestedOption<ISubtitleProps> {
470
469
  declare type ITitleProps = React.PropsWithChildren<{
471
470
  font?: BaseWidgetTypes.Font;
472
471
  horizontalAlignment?: "center" | "left" | "right";
473
- margin?: object | {
472
+ margin?: Record<string, any> | {
474
473
  bottom?: number;
475
474
  left?: number;
476
475
  right?: number;
477
476
  top?: number;
478
477
  };
479
478
  placeholderSize?: number;
480
- subtitle?: object | string | {
479
+ subtitle?: Record<string, any> | string | {
481
480
  font?: BaseWidgetTypes.Font;
482
481
  offset?: number;
483
482
  text?: string;
@@ -492,7 +491,7 @@ declare class Title extends NestedOption<ITitleProps> {
492
491
  }
493
492
  declare type ITooltipProps = React.PropsWithChildren<{
494
493
  arrowLength?: number;
495
- border?: object | {
494
+ border?: Record<string, any> | {
496
495
  color?: string;
497
496
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
498
497
  opacity?: number;
@@ -511,7 +510,7 @@ declare type ITooltipProps = React.PropsWithChildren<{
511
510
  index: number;
512
511
  value: number;
513
512
  valueText: string;
514
- }) => object);
513
+ }) => Record<string, any>);
515
514
  enabled?: boolean;
516
515
  font?: BaseWidgetTypes.Font;
517
516
  format?: LocalizationTypes.Format;
@@ -519,7 +518,7 @@ declare type ITooltipProps = React.PropsWithChildren<{
519
518
  opacity?: number;
520
519
  paddingLeftRight?: number;
521
520
  paddingTopBottom?: number;
522
- shadow?: object | {
521
+ shadow?: Record<string, any> | {
523
522
  blur?: number;
524
523
  color?: string;
525
524
  offsetX?: number;
package/bar-gauge.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/box.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/box.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/bullet.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -15,10 +15,25 @@
15
15
  import dxBullet, { Properties } from "devextreme/viz/bullet";
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, TooltipHiddenEvent, TooltipShownEvent } from "devextreme/viz/bullet";
18
19
  import type { template } from "devextreme/core/templates/template";
19
20
  import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
20
21
  import type * as LocalizationTypes from "devextreme/localization";
21
- declare type IBulletOptions = React.PropsWithChildren<Properties & IHtmlOptions & {}>;
22
+ declare type ReplaceFieldTypes<TSource, TReplacement> = {
23
+ [P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
24
+ };
25
+ declare type IBulletOptionsNarrowedEvents = {
26
+ onDisposing?: ((e: DisposingEvent) => void);
27
+ onDrawn?: ((e: DrawnEvent) => void);
28
+ onExported?: ((e: ExportedEvent) => void);
29
+ onExporting?: ((e: ExportingEvent) => void);
30
+ onFileSaving?: ((e: FileSavingEvent) => void);
31
+ onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
32
+ onInitialized?: ((e: InitializedEvent) => void);
33
+ onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
34
+ onTooltipShown?: ((e: TooltipShownEvent) => void);
35
+ };
36
+ declare type IBulletOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IBulletOptionsNarrowedEvents> & IHtmlOptions & {}>;
22
37
  declare class Bullet extends BaseComponent<React.PropsWithChildren<IBulletOptions>> {
23
38
  get instance(): dxBullet;
24
39
  protected _WidgetClass: typeof dxBullet;
@@ -97,7 +112,7 @@ declare class Size extends NestedOption<ISizeProps> {
97
112
  }
98
113
  declare type ITooltipProps = React.PropsWithChildren<{
99
114
  arrowLength?: number;
100
- border?: object | {
115
+ border?: Record<string, any> | {
101
116
  color?: string;
102
117
  dashStyle?: "dash" | "dot" | "longDash" | "solid";
103
118
  opacity?: number;
@@ -106,9 +121,9 @@ declare type ITooltipProps = React.PropsWithChildren<{
106
121
  };
107
122
  color?: string;
108
123
  container?: any | string;
109
- contentTemplate?: ((pointsInfo: object, element: any) => string) | template;
124
+ contentTemplate?: ((pointsInfo: Record<string, any>, element: any) => string) | template;
110
125
  cornerRadius?: number;
111
- customizeTooltip?: ((pointsInfo: object) => object);
126
+ customizeTooltip?: ((pointsInfo: Record<string, any>) => Record<string, any>);
112
127
  enabled?: boolean;
113
128
  font?: BaseWidgetTypes.Font;
114
129
  format?: LocalizationTypes.Format;
@@ -116,7 +131,7 @@ declare type ITooltipProps = React.PropsWithChildren<{
116
131
  opacity?: number;
117
132
  paddingLeftRight?: number;
118
133
  paddingTopBottom?: number;
119
- shadow?: object | {
134
+ shadow?: Record<string, any> | {
120
135
  blur?: number;
121
136
  color?: string;
122
137
  offsetX?: number;
package/bullet.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/button-group.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
@@ -50,9 +50,8 @@ declare class ButtonGroup extends BaseComponent<React.PropsWithChildren<IButtonG
50
50
  }
51
51
  declare type IItemProps = React.PropsWithChildren<{
52
52
  disabled?: boolean;
53
- elementAttr?: object;
53
+ elementAttr?: Record<string, any>;
54
54
  hint?: string;
55
- html?: string;
56
55
  icon?: string;
57
56
  template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
58
57
  text?: string;
package/button-group.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/button.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/button.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/calendar.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *
package/calendar.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.1.2-alpha-23114-0308
4
- * Build date: Mon Apr 24 2023
3
+ * Version: 23.1.2-beta
4
+ * Build date: Wed May 17 2023
5
5
  *
6
6
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
7
7
  *