devextreme-react 23.1.2-beta.2 → 23.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion.d.ts +17 -14
- package/accordion.js +2 -2
- package/action-sheet.d.ts +17 -14
- package/action-sheet.js +2 -2
- package/autocomplete.d.ts +4 -11
- package/autocomplete.js +2 -2
- package/bar-gauge.d.ts +8 -4
- package/bar-gauge.js +2 -2
- package/box.d.ts +15 -13
- package/box.js +2 -2
- package/bullet.d.ts +4 -4
- package/bullet.js +2 -2
- package/button-group.d.ts +4 -3
- package/button-group.js +2 -2
- package/button.d.ts +4 -3
- package/button.js +2 -2
- package/calendar.d.ts +2 -2
- package/calendar.js +2 -2
- package/chart.d.ts +36 -14
- package/chart.js +2 -2
- package/check-box.d.ts +2 -2
- package/check-box.js +2 -2
- package/circular-gauge.d.ts +2 -2
- package/circular-gauge.js +2 -2
- package/color-box.d.ts +4 -11
- package/color-box.js +2 -2
- package/common/charts.d.ts +2 -2
- package/common/charts.js +2 -2
- package/common/grids.d.ts +2 -2
- package/common/grids.js +2 -2
- package/common/index.d.ts +2 -2
- package/common/index.js +2 -2
- package/context-menu.d.ts +20 -13
- package/context-menu.js +2 -2
- package/core/component-base.d.ts +2 -2
- package/core/component-base.js +2 -2
- package/core/component.d.ts +2 -2
- package/core/component.js +2 -2
- package/core/config.d.ts +2 -2
- package/core/config.js +2 -2
- package/core/configuration/comparer.d.ts +2 -2
- package/core/configuration/comparer.js +2 -2
- package/core/configuration/config-node.d.ts +2 -2
- package/core/configuration/config-node.js +2 -2
- package/core/configuration/react/element.d.ts +2 -2
- package/core/configuration/react/element.js +2 -2
- package/core/configuration/react/templates.d.ts +2 -2
- package/core/configuration/react/templates.js +2 -2
- package/core/configuration/react/tree.d.ts +2 -2
- package/core/configuration/react/tree.js +2 -2
- package/core/configuration/tree.d.ts +2 -2
- package/core/configuration/tree.js +2 -2
- package/core/configuration/utils.d.ts +2 -2
- package/core/configuration/utils.js +2 -2
- package/core/dx-template.d.ts +2 -2
- package/core/dx-template.js +2 -2
- package/core/extension-component.d.ts +2 -2
- package/core/extension-component.js +2 -2
- package/core/helpers.d.ts +2 -2
- package/core/helpers.js +2 -2
- package/core/nested-option.d.ts +2 -2
- package/core/nested-option.js +2 -2
- package/core/options-manager.d.ts +2 -2
- package/core/options-manager.js +2 -2
- package/core/template-wrapper.d.ts +2 -2
- package/core/template-wrapper.js +2 -2
- package/core/template.d.ts +2 -2
- package/core/template.js +2 -2
- package/core/templates-manager.d.ts +2 -2
- package/core/templates-manager.js +2 -2
- package/core/templates-renderer.d.ts +2 -2
- package/core/templates-renderer.js +2 -2
- package/core/templates-store.d.ts +2 -2
- package/core/templates-store.js +2 -2
- package/core/widget-config.d.ts +2 -2
- package/core/widget-config.js +2 -2
- package/data-grid.d.ts +70 -105
- package/data-grid.js +2 -2
- package/date-box.d.ts +4 -11
- package/date-box.js +2 -2
- package/date-range-box.d.ts +10 -11
- package/date-range-box.js +5 -3
- package/defer-rendering.d.ts +2 -2
- package/defer-rendering.js +2 -2
- package/diagram.d.ts +8 -3
- package/diagram.js +2 -2
- package/draggable.d.ts +6 -3
- package/draggable.js +2 -2
- package/drawer.d.ts +2 -2
- package/drawer.js +2 -2
- package/drop-down-box.d.ts +4 -11
- package/drop-down-box.js +2 -2
- package/drop-down-button.d.ts +5 -3
- package/drop-down-button.js +2 -2
- package/file-manager.d.ts +22 -4
- package/file-manager.js +2 -2
- package/file-uploader.d.ts +13 -3
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +10 -7
- package/filter-builder.js +2 -2
- package/form.d.ts +18 -46
- package/form.js +2 -2
- package/funnel.d.ts +8 -4
- package/funnel.js +2 -2
- package/gallery.d.ts +15 -13
- package/gallery.js +2 -2
- package/gantt.d.ts +34 -8
- package/gantt.js +2 -2
- package/html-editor.d.ts +19 -91
- package/html-editor.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/linear-gauge.d.ts +2 -2
- package/linear-gauge.js +2 -2
- package/list.d.ts +36 -129
- package/list.js +2 -2
- package/load-indicator.d.ts +2 -2
- package/load-indicator.js +2 -2
- package/load-panel.d.ts +2 -2
- package/load-panel.js +2 -2
- package/lookup.d.ts +7 -3
- package/lookup.js +2 -2
- package/map.d.ts +9 -3
- package/map.js +2 -2
- package/menu.d.ts +19 -13
- package/menu.js +2 -2
- package/multi-view.d.ts +15 -13
- package/multi-view.js +2 -2
- package/number-box.d.ts +4 -12
- package/number-box.js +2 -2
- package/package.json +5 -5
- package/pie-chart.d.ts +12 -9
- package/pie-chart.js +2 -2
- package/pivot-grid-field-chooser.d.ts +4 -3
- package/pivot-grid-field-chooser.js +2 -2
- package/pivot-grid.d.ts +8 -4
- package/pivot-grid.js +2 -2
- package/polar-chart.d.ts +16 -9
- package/polar-chart.js +2 -2
- package/popover.d.ts +2 -2
- package/popover.js +2 -2
- package/popup.d.ts +2 -2
- package/popup.js +2 -2
- package/progress-bar.d.ts +4 -3
- package/progress-bar.js +2 -2
- package/radio-group.d.ts +2 -2
- package/radio-group.js +2 -2
- package/range-selector.d.ts +13 -8
- package/range-selector.js +2 -2
- package/range-slider.d.ts +4 -3
- package/range-slider.js +2 -2
- package/recurrence-editor.d.ts +2 -2
- package/recurrence-editor.js +2 -2
- package/resizable.d.ts +6 -3
- package/resizable.js +2 -2
- package/responsive-box.d.ts +15 -13
- package/responsive-box.js +2 -2
- package/sankey.d.ts +5 -3
- package/sankey.js +2 -2
- package/scheduler.d.ts +23 -9
- package/scheduler.js +2 -2
- package/scroll-view.d.ts +5 -3
- package/scroll-view.js +2 -2
- package/select-box.d.ts +6 -12
- package/select-box.js +2 -2
- package/slider.d.ts +2 -2
- package/slider.js +2 -2
- package/sortable.d.ts +10 -3
- package/sortable.js +2 -2
- package/sparkline.d.ts +4 -4
- package/sparkline.js +2 -2
- package/speed-dial-action.d.ts +5 -3
- package/speed-dial-action.js +2 -2
- package/switch.d.ts +2 -2
- package/switch.js +2 -2
- package/tab-panel.d.ts +19 -14
- package/tab-panel.js +2 -2
- package/tabs.d.ts +15 -13
- package/tabs.js +2 -2
- package/tag-box.d.ts +7 -12
- package/tag-box.js +2 -2
- package/text-area.d.ts +2 -2
- package/text-area.js +2 -2
- package/text-box.d.ts +4 -12
- package/text-box.js +2 -2
- package/tile-view.d.ts +15 -13
- package/tile-view.js +2 -2
- package/toast.d.ts +2 -2
- package/toast.js +2 -2
- package/toolbar.d.ts +15 -13
- package/toolbar.js +2 -2
- package/tooltip.d.ts +2 -2
- package/tooltip.js +2 -2
- package/tree-list.d.ts +69 -104
- package/tree-list.js +2 -2
- package/tree-map.d.ts +7 -3
- package/tree-map.js +2 -2
- package/tree-view.d.ts +21 -20
- package/tree-view.js +2 -2
- package/validation-group.d.ts +2 -2
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +12 -10
- package/validation-summary.js +2 -2
- package/validator.d.ts +2 -2
- package/validator.js +2 -2
- package/vector-map.d.ts +9 -4
- package/vector-map.js +2 -2
package/accordion.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,25 +12,28 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
+
export { ExplicitTypes } from "devextreme/ui/accordion";
|
|
15
16
|
import dxAccordion, { Properties } from "devextreme/ui/accordion";
|
|
16
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
18
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { dxAccordionItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/accordion";
|
|
19
|
+
import type { dxAccordionItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, ItemTitleClickEvent } from "devextreme/ui/accordion";
|
|
19
20
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
20
21
|
import type { template } from "devextreme/core/templates/template";
|
|
21
22
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
22
23
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
23
24
|
};
|
|
24
|
-
declare type IAccordionOptionsNarrowedEvents = {
|
|
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);
|
|
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
|
+
onItemTitleClick?: ((e: ItemTitleClickEvent<TItem, TKey>) => void);
|
|
32
34
|
};
|
|
33
|
-
declare type IAccordionOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IAccordionOptionsNarrowedEvents
|
|
35
|
+
declare type IAccordionOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IAccordionOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
36
|
+
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
34
37
|
itemRender?: (...params: any) => React.ReactNode;
|
|
35
38
|
itemComponent?: React.ComponentType<any>;
|
|
36
39
|
itemKeyFn?: (data: any) => string;
|
|
@@ -48,8 +51,8 @@ declare type IAccordionOptions = React.PropsWithChildren<ReplaceFieldTypes<Prope
|
|
|
48
51
|
onSelectedItemKeysChange?: (value: Array<any>) => void;
|
|
49
52
|
onSelectedItemsChange?: (value: Array<any>) => void;
|
|
50
53
|
}>;
|
|
51
|
-
declare class Accordion extends BaseComponent<React.PropsWithChildren<IAccordionOptions
|
|
52
|
-
get instance(): dxAccordion
|
|
54
|
+
declare class Accordion<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildren<IAccordionOptions<TItem, TKey>>> {
|
|
55
|
+
get instance(): dxAccordion<TItem, TKey>;
|
|
53
56
|
protected _WidgetClass: typeof dxAccordion;
|
|
54
57
|
protected subscribableOptions: string[];
|
|
55
58
|
protected independentEvents: string[];
|
package/accordion.js
CHANGED
package/action-sheet.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,26 +12,29 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
+
export { ExplicitTypes } from "devextreme/ui/action_sheet";
|
|
15
16
|
import dxActionSheet, { Properties } from "devextreme/ui/action_sheet";
|
|
16
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
18
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { dxActionSheetItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/action_sheet";
|
|
19
|
+
import type { dxActionSheetItem, CancelClickEvent, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/action_sheet";
|
|
19
20
|
import type { NativeEventInfo } from "devextreme/events/index";
|
|
20
21
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
21
22
|
import type { template } from "devextreme/core/templates/template";
|
|
22
23
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
23
24
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
24
25
|
};
|
|
25
|
-
declare type IActionSheetOptionsNarrowedEvents = {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
26
|
+
declare type IActionSheetOptionsNarrowedEvents<TItem = any, TKey = any> = {
|
|
27
|
+
onCancelClick?: ((e: CancelClickEvent<TItem, TKey>) => void);
|
|
28
|
+
onContentReady?: ((e: ContentReadyEvent<TItem, TKey>) => void);
|
|
29
|
+
onDisposing?: ((e: DisposingEvent<TItem, TKey>) => void);
|
|
30
|
+
onInitialized?: ((e: InitializedEvent<TItem, TKey>) => void);
|
|
31
|
+
onItemClick?: ((e: ItemClickEvent<TItem, TKey>) => void);
|
|
32
|
+
onItemContextMenu?: ((e: ItemContextMenuEvent<TItem, TKey>) => void);
|
|
33
|
+
onItemHold?: ((e: ItemHoldEvent<TItem, TKey>) => void);
|
|
34
|
+
onItemRendered?: ((e: ItemRenderedEvent<TItem, TKey>) => void);
|
|
33
35
|
};
|
|
34
|
-
declare type IActionSheetOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IActionSheetOptionsNarrowedEvents
|
|
36
|
+
declare type IActionSheetOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IActionSheetOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
37
|
+
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
35
38
|
itemRender?: (...params: any) => React.ReactNode;
|
|
36
39
|
itemComponent?: React.ComponentType<any>;
|
|
37
40
|
itemKeyFn?: (data: any) => string;
|
|
@@ -40,8 +43,8 @@ declare type IActionSheetOptions = React.PropsWithChildren<ReplaceFieldTypes<Pro
|
|
|
40
43
|
onItemsChange?: (value: Array<any | dxActionSheetItem | string>) => void;
|
|
41
44
|
onVisibleChange?: (value: boolean) => void;
|
|
42
45
|
}>;
|
|
43
|
-
declare class ActionSheet extends BaseComponent<React.PropsWithChildren<IActionSheetOptions
|
|
44
|
-
get instance(): dxActionSheet
|
|
46
|
+
declare class ActionSheet<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildren<IActionSheetOptions<TItem, TKey>>> {
|
|
47
|
+
get instance(): dxActionSheet<TItem, TKey>;
|
|
45
48
|
protected _WidgetClass: typeof dxActionSheet;
|
|
46
49
|
protected subscribableOptions: string[];
|
|
47
50
|
protected independentEvents: string[];
|
package/action-sheet.js
CHANGED
package/autocomplete.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
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,7 +16,7 @@ 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
18
|
import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/autocomplete";
|
|
19
|
-
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent } from "devextreme/ui/button";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
|
|
20
20
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
21
21
|
import type { event, EventInfo } from "devextreme/events/index";
|
|
22
22
|
import type { template } from "devextreme/core/templates/template";
|
|
@@ -27,7 +27,6 @@ import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collectio
|
|
|
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
|
-
import type dxButton from "devextreme/ui/button";
|
|
31
30
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
32
31
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
33
32
|
};
|
|
@@ -381,13 +380,7 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
381
380
|
hint?: string;
|
|
382
381
|
hoverStateEnabled?: boolean;
|
|
383
382
|
icon?: string;
|
|
384
|
-
onClick?: ((e:
|
|
385
|
-
component: dxButton;
|
|
386
|
-
element: any;
|
|
387
|
-
event: event;
|
|
388
|
-
model: any;
|
|
389
|
-
validationGroup: Record<string, any>;
|
|
390
|
-
}) => void);
|
|
383
|
+
onClick?: ((e: ClickEvent) => void);
|
|
391
384
|
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
392
385
|
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
393
386
|
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
package/autocomplete.js
CHANGED
package/bar-gauge.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
import dxBarGauge, { Properties } from "devextreme/viz/bar_gauge";
|
|
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, BarGaugeBarInfo, BarGaugeLegendItem } from "devextreme/viz/bar_gauge";
|
|
18
|
+
import type { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, TooltipHiddenEvent, TooltipShownEvent, BarGaugeBarInfo, BarGaugeLegendItem } from "devextreme/viz/bar_gauge";
|
|
19
19
|
import type { template } from "devextreme/core/templates/template";
|
|
20
20
|
import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
|
|
21
21
|
import type * as LocalizationTypes from "devextreme/localization";
|
|
@@ -30,6 +30,8 @@ declare type IBarGaugeOptionsNarrowedEvents = {
|
|
|
30
30
|
onFileSaving?: ((e: FileSavingEvent) => void);
|
|
31
31
|
onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
|
|
32
32
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
33
|
+
onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
|
|
34
|
+
onTooltipShown?: ((e: TooltipShownEvent) => void);
|
|
33
35
|
};
|
|
34
36
|
declare type IBarGaugeOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IBarGaugeOptionsNarrowedEvents> & IHtmlOptions & {
|
|
35
37
|
centerRender?: (...params: any) => React.ReactNode;
|
|
@@ -481,7 +483,7 @@ declare class Subtitle extends NestedOption<ISubtitleProps> {
|
|
|
481
483
|
declare type ITitleProps = React.PropsWithChildren<{
|
|
482
484
|
font?: BaseWidgetTypes.Font;
|
|
483
485
|
horizontalAlignment?: "center" | "left" | "right";
|
|
484
|
-
margin?: Record<string, any> | {
|
|
486
|
+
margin?: Record<string, any> | number | {
|
|
485
487
|
bottom?: number;
|
|
486
488
|
left?: number;
|
|
487
489
|
right?: number;
|
|
@@ -492,6 +494,8 @@ declare type ITitleProps = React.PropsWithChildren<{
|
|
|
492
494
|
font?: BaseWidgetTypes.Font;
|
|
493
495
|
offset?: number;
|
|
494
496
|
text?: string;
|
|
497
|
+
textOverflow?: "ellipsis" | "hide" | "none";
|
|
498
|
+
wordWrap?: "normal" | "breakWord" | "none";
|
|
495
499
|
};
|
|
496
500
|
text?: string;
|
|
497
501
|
verticalAlignment?: "bottom" | "top";
|
package/bar-gauge.js
CHANGED
package/box.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
+
export { ExplicitTypes } from "devextreme/ui/box";
|
|
15
16
|
import dxBox, { Properties } from "devextreme/ui/box";
|
|
16
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
18
|
import NestedOption from "./core/nested-option";
|
|
@@ -21,24 +22,25 @@ import type { template } from "devextreme/core/templates/template";
|
|
|
21
22
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
22
23
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
23
24
|
};
|
|
24
|
-
declare type IBoxOptionsNarrowedEvents = {
|
|
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);
|
|
25
|
+
declare type IBoxOptionsNarrowedEvents<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);
|
|
32
33
|
};
|
|
33
|
-
declare type IBoxOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IBoxOptionsNarrowedEvents
|
|
34
|
+
declare type IBoxOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IBoxOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
35
|
+
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
34
36
|
itemRender?: (...params: any) => React.ReactNode;
|
|
35
37
|
itemComponent?: React.ComponentType<any>;
|
|
36
38
|
itemKeyFn?: (data: any) => string;
|
|
37
39
|
defaultItems?: Array<any | dxBoxItem | string>;
|
|
38
40
|
onItemsChange?: (value: Array<any | dxBoxItem | string>) => void;
|
|
39
41
|
}>;
|
|
40
|
-
declare class Box extends BaseComponent<React.PropsWithChildren<IBoxOptions
|
|
41
|
-
get instance(): dxBox
|
|
42
|
+
declare class Box<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildren<IBoxOptions<TItem, TKey>>> {
|
|
43
|
+
get instance(): dxBox<TItem, TKey>;
|
|
42
44
|
protected _WidgetClass: typeof dxBox;
|
|
43
45
|
protected subscribableOptions: string[];
|
|
44
46
|
protected independentEvents: string[];
|
package/box.js
CHANGED
package/bullet.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
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
|
*
|
|
@@ -121,9 +121,9 @@ declare type ITooltipProps = React.PropsWithChildren<{
|
|
|
121
121
|
};
|
|
122
122
|
color?: string;
|
|
123
123
|
container?: any | string;
|
|
124
|
-
contentTemplate?: ((pointsInfo:
|
|
124
|
+
contentTemplate?: ((pointsInfo: any, element: any) => string) | template;
|
|
125
125
|
cornerRadius?: number;
|
|
126
|
-
customizeTooltip?: ((pointsInfo:
|
|
126
|
+
customizeTooltip?: ((pointsInfo: any) => Record<string, any>);
|
|
127
127
|
enabled?: boolean;
|
|
128
128
|
font?: BaseWidgetTypes.Font;
|
|
129
129
|
format?: LocalizationTypes.Format;
|
package/bullet.js
CHANGED
package/button-group.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
import dxButtonGroup, { Properties } from "devextreme/ui/button_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 } from "devextreme/ui/button_group";
|
|
18
|
+
import type { ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent } from "devextreme/ui/button_group";
|
|
19
19
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
20
20
|
import type { template } from "devextreme/core/templates/template";
|
|
21
21
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
@@ -25,6 +25,7 @@ declare type IButtonGroupOptionsNarrowedEvents = {
|
|
|
25
25
|
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
26
26
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
27
27
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
28
|
+
onItemClick?: ((e: ItemClickEvent) => void);
|
|
28
29
|
};
|
|
29
30
|
declare type IButtonGroupOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IButtonGroupOptionsNarrowedEvents> & IHtmlOptions & {
|
|
30
31
|
buttonRender?: (...params: any) => React.ReactNode;
|
package/button-group.js
CHANGED
package/button.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -14,11 +14,12 @@
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
15
|
import dxButton, { Properties } from "devextreme/ui/button";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
|
-
import type { ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/button";
|
|
17
|
+
import type { ClickEvent, ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/button";
|
|
18
18
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
19
19
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
20
20
|
};
|
|
21
21
|
declare type IButtonOptionsNarrowedEvents = {
|
|
22
|
+
onClick?: ((e: ClickEvent) => void);
|
|
22
23
|
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
23
24
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
24
25
|
onInitialized?: ((e: InitializedEvent) => void);
|
package/button.js
CHANGED
package/calendar.d.ts
CHANGED
package/calendar.js
CHANGED
package/chart.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
import dxChart, { Properties } from "devextreme/viz/chart";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { DisposingEvent, DoneEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, PointClickEvent, TooltipHiddenEvent, TooltipShownEvent, chartPointAggregationInfoObject, chartSeriesObject, dxChartAnnotationConfig, chartPointObject } from "devextreme/viz/chart";
|
|
18
|
+
import type { ArgumentAxisClickEvent, DisposingEvent, DoneEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, LegendClickEvent, PointClickEvent, SeriesClickEvent, TooltipHiddenEvent, TooltipShownEvent, ZoomEndEvent, ZoomStartEvent, chartPointAggregationInfoObject, chartSeriesObject, dxChartAnnotationConfig, chartPointObject } from "devextreme/viz/chart";
|
|
19
19
|
import type { template } from "devextreme/core/templates/template";
|
|
20
20
|
import type { ScaleBreak, ChartsColor } from "devextreme/common/charts";
|
|
21
21
|
import type { BaseChartLegendItem } from "devextreme/viz/chart_components/base_chart";
|
|
@@ -27,6 +27,7 @@ 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 IChartOptionsNarrowedEvents = {
|
|
30
|
+
onArgumentAxisClick?: ((e: ArgumentAxisClickEvent) => void);
|
|
30
31
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
31
32
|
onDone?: ((e: DoneEvent) => void);
|
|
32
33
|
onDrawn?: ((e: DrawnEvent) => void);
|
|
@@ -35,9 +36,13 @@ declare type IChartOptionsNarrowedEvents = {
|
|
|
35
36
|
onFileSaving?: ((e: FileSavingEvent) => void);
|
|
36
37
|
onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
|
|
37
38
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
39
|
+
onLegendClick?: ((e: LegendClickEvent) => void);
|
|
38
40
|
onPointClick?: ((e: PointClickEvent) => void);
|
|
41
|
+
onSeriesClick?: ((e: SeriesClickEvent) => void);
|
|
39
42
|
onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
|
|
40
43
|
onTooltipShown?: ((e: TooltipShownEvent) => void);
|
|
44
|
+
onZoomEnd?: ((e: ZoomEndEvent) => void);
|
|
45
|
+
onZoomStart?: ((e: ZoomStartEvent) => void);
|
|
41
46
|
};
|
|
42
47
|
declare type IChartOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IChartOptionsNarrowedEvents> & IHtmlOptions & {
|
|
43
48
|
defaultArgumentAxis?: Record<string, any>;
|
|
@@ -1158,7 +1163,7 @@ declare type ICommonSeriesSettingsProps = React.PropsWithChildren<{
|
|
|
1158
1163
|
visible?: boolean;
|
|
1159
1164
|
width?: number;
|
|
1160
1165
|
};
|
|
1161
|
-
customizeText?: ((pointInfo:
|
|
1166
|
+
customizeText?: ((pointInfo: any) => string);
|
|
1162
1167
|
displayFormat?: string;
|
|
1163
1168
|
font?: BaseWidgetTypes.Font;
|
|
1164
1169
|
format?: LocalizationTypes.Format;
|
|
@@ -1390,7 +1395,7 @@ declare type ICommonSeriesSettingsLabelProps = React.PropsWithChildren<{
|
|
|
1390
1395
|
visible?: boolean;
|
|
1391
1396
|
width?: number;
|
|
1392
1397
|
};
|
|
1393
|
-
customizeText?: ((pointInfo:
|
|
1398
|
+
customizeText?: ((pointInfo: any) => string);
|
|
1394
1399
|
displayFormat?: string;
|
|
1395
1400
|
font?: BaseWidgetTypes.Font;
|
|
1396
1401
|
format?: LocalizationTypes.Format;
|
|
@@ -1605,7 +1610,7 @@ declare class Crosshair extends NestedOption<ICrosshairProps> {
|
|
|
1605
1610
|
declare type IDataPrepareSettingsProps = React.PropsWithChildren<{
|
|
1606
1611
|
checkTypeForAllData?: boolean;
|
|
1607
1612
|
convertToAxisDataType?: boolean;
|
|
1608
|
-
sortingMethod?: boolean | ((a:
|
|
1613
|
+
sortingMethod?: boolean | ((a: any, b: any) => number);
|
|
1609
1614
|
}>;
|
|
1610
1615
|
declare class DataPrepareSettings extends NestedOption<IDataPrepareSettingsProps> {
|
|
1611
1616
|
static OptionName: string;
|
|
@@ -1743,9 +1748,18 @@ declare class HoverStyle extends NestedOption<IHoverStyleProps> {
|
|
|
1743
1748
|
static OptionName: string;
|
|
1744
1749
|
}
|
|
1745
1750
|
declare type IImageProps = React.PropsWithChildren<{
|
|
1746
|
-
height?: number
|
|
1747
|
-
|
|
1748
|
-
|
|
1751
|
+
height?: number | Record<string, any> | {
|
|
1752
|
+
rangeMaxPoint?: number;
|
|
1753
|
+
rangeMinPoint?: number;
|
|
1754
|
+
};
|
|
1755
|
+
url?: string | Record<string, any> | {
|
|
1756
|
+
rangeMaxPoint?: string;
|
|
1757
|
+
rangeMinPoint?: string;
|
|
1758
|
+
};
|
|
1759
|
+
width?: number | Record<string, any> | {
|
|
1760
|
+
rangeMaxPoint?: number;
|
|
1761
|
+
rangeMinPoint?: number;
|
|
1762
|
+
};
|
|
1749
1763
|
}>;
|
|
1750
1764
|
declare class Image extends NestedOption<IImageProps> {
|
|
1751
1765
|
static OptionName: string;
|
|
@@ -1753,7 +1767,7 @@ declare class Image extends NestedOption<IImageProps> {
|
|
|
1753
1767
|
declare type ILabelProps = React.PropsWithChildren<{
|
|
1754
1768
|
font?: BaseWidgetTypes.Font;
|
|
1755
1769
|
horizontalAlignment?: "center" | "left" | "right";
|
|
1756
|
-
position?: "inside" | "outside";
|
|
1770
|
+
position?: "inside" | "outside" | "bottom" | "left" | "right" | "top";
|
|
1757
1771
|
verticalAlignment?: "bottom" | "center" | "top";
|
|
1758
1772
|
visible?: boolean;
|
|
1759
1773
|
text?: string;
|
|
@@ -2288,6 +2302,7 @@ declare type ISelectionStyleProps = React.PropsWithChildren<{
|
|
|
2288
2302
|
color?: string;
|
|
2289
2303
|
visible?: boolean;
|
|
2290
2304
|
width?: number;
|
|
2305
|
+
dashStyle?: "dash" | "dot" | "longDash" | "solid";
|
|
2291
2306
|
};
|
|
2292
2307
|
color?: ChartsColor | string;
|
|
2293
2308
|
size?: number;
|
|
@@ -2362,7 +2377,7 @@ declare type ISeriesProps = React.PropsWithChildren<{
|
|
|
2362
2377
|
visible?: boolean;
|
|
2363
2378
|
width?: number;
|
|
2364
2379
|
};
|
|
2365
|
-
customizeText?: ((pointInfo:
|
|
2380
|
+
customizeText?: ((pointInfo: any) => string);
|
|
2366
2381
|
displayFormat?: string;
|
|
2367
2382
|
font?: BaseWidgetTypes.Font;
|
|
2368
2383
|
format?: LocalizationTypes.Format;
|
|
@@ -2602,7 +2617,12 @@ declare class TickInterval extends NestedOption<ITickIntervalProps> {
|
|
|
2602
2617
|
declare type ITitleProps = React.PropsWithChildren<{
|
|
2603
2618
|
alignment?: "center" | "left" | "right";
|
|
2604
2619
|
font?: BaseWidgetTypes.Font;
|
|
2605
|
-
margin?: number
|
|
2620
|
+
margin?: number | Record<string, any> | {
|
|
2621
|
+
bottom?: number;
|
|
2622
|
+
left?: number;
|
|
2623
|
+
right?: number;
|
|
2624
|
+
top?: number;
|
|
2625
|
+
};
|
|
2606
2626
|
text?: string;
|
|
2607
2627
|
textOverflow?: "ellipsis" | "hide" | "none";
|
|
2608
2628
|
wordWrap?: "normal" | "breakWord" | "none";
|
|
@@ -2612,6 +2632,8 @@ declare type ITitleProps = React.PropsWithChildren<{
|
|
|
2612
2632
|
font?: BaseWidgetTypes.Font;
|
|
2613
2633
|
offset?: number;
|
|
2614
2634
|
text?: string;
|
|
2635
|
+
textOverflow?: "ellipsis" | "hide" | "none";
|
|
2636
|
+
wordWrap?: "normal" | "breakWord" | "none";
|
|
2615
2637
|
};
|
|
2616
2638
|
verticalAlignment?: "bottom" | "top";
|
|
2617
2639
|
}>;
|
|
@@ -2630,9 +2652,9 @@ declare type ITooltipProps = React.PropsWithChildren<{
|
|
|
2630
2652
|
};
|
|
2631
2653
|
color?: string;
|
|
2632
2654
|
container?: any | string;
|
|
2633
|
-
contentTemplate?: ((pointInfo:
|
|
2655
|
+
contentTemplate?: ((pointInfo: any, element: any) => string) | template;
|
|
2634
2656
|
cornerRadius?: number;
|
|
2635
|
-
customizeTooltip?: ((pointInfo:
|
|
2657
|
+
customizeTooltip?: ((pointInfo: any) => Record<string, any>);
|
|
2636
2658
|
enabled?: boolean;
|
|
2637
2659
|
font?: BaseWidgetTypes.Font;
|
|
2638
2660
|
format?: LocalizationTypes.Format;
|
package/chart.js
CHANGED
package/check-box.d.ts
CHANGED
package/check-box.js
CHANGED