devextreme-react 23.1.2-beta → 23.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion.d.ts +4 -3
- package/accordion.js +2 -2
- package/action-sheet.d.ts +17 -4
- package/action-sheet.js +2 -2
- package/autocomplete.d.ts +8 -26
- package/autocomplete.js +2 -2
- package/bar-gauge.d.ts +21 -5
- package/bar-gauge.js +2 -2
- package/box.d.ts +16 -4
- package/box.js +2 -2
- package/bullet.d.ts +4 -4
- package/bullet.js +2 -2
- package/button-group.d.ts +13 -3
- package/button-group.js +2 -2
- package/button.d.ts +13 -3
- package/button.js +2 -2
- package/calendar.d.ts +12 -3
- package/calendar.js +2 -2
- package/chart.d.ts +53 -15
- 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 +8 -26
- package/color-box.js +2 -2
- package/common/charts.d.ts +2 -2
- package/common/charts.js +2 -2
- package/common/grids.d.ts +3 -3
- package/common/grids.js +2 -2
- package/common/index.d.ts +2 -2
- package/common/index.js +2 -2
- package/context-menu.d.ts +8 -3
- 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 +79 -110
- package/data-grid.js +2 -2
- package/date-box.d.ts +15 -52
- package/date-box.js +2 -2
- package/date-range-box.d.ts +21 -52
- package/date-range-box.js +6 -11
- 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 +8 -26
- package/drop-down-box.js +2 -2
- package/drop-down-button.d.ts +14 -3
- package/drop-down-button.js +2 -2
- package/file-manager.d.ts +31 -5
- package/file-manager.js +2 -2
- package/file-uploader.d.ts +13 -3
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +19 -8
- package/filter-builder.js +2 -2
- package/form.d.ts +35 -68
- package/form.js +2 -2
- package/funnel.d.ts +21 -5
- package/funnel.js +2 -2
- package/gallery.d.ts +2 -2
- package/gallery.js +2 -2
- package/gantt.d.ts +34 -8
- package/gantt.js +2 -2
- package/html-editor.d.ts +32 -95
- package/html-editor.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/linear-gauge.d.ts +18 -3
- package/linear-gauge.js +2 -2
- package/list.d.ts +48 -157
- 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 +10 -3
- package/lookup.js +2 -2
- package/map.d.ts +9 -3
- package/map.js +2 -2
- package/menu.d.ts +19 -4
- package/menu.js +2 -2
- package/multi-view.d.ts +2 -2
- package/multi-view.js +2 -2
- package/number-box.d.ts +8 -29
- package/number-box.js +2 -2
- package/package.json +4 -4
- package/pie-chart.d.ts +29 -10
- package/pie-chart.js +2 -2
- package/pivot-grid-field-chooser.d.ts +13 -3
- package/pivot-grid-field-chooser.js +2 -2
- package/pivot-grid.d.ts +17 -4
- package/pivot-grid.js +2 -2
- package/polar-chart.d.ts +33 -10
- 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 +13 -3
- package/radio-group.js +2 -2
- package/range-selector.d.ts +26 -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 +16 -4
- package/responsive-box.js +2 -2
- package/sankey.d.ts +18 -4
- package/sankey.js +2 -2
- package/scheduler.d.ts +32 -10
- package/scheduler.js +2 -2
- package/scroll-view.d.ts +5 -3
- package/scroll-view.js +2 -2
- package/select-box.d.ts +10 -27
- package/select-box.js +2 -2
- package/slider.d.ts +13 -3
- package/slider.js +2 -2
- package/sortable.d.ts +18 -3
- package/sortable.js +2 -2
- package/sparkline.d.ts +20 -5
- 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 +6 -3
- package/tab-panel.js +2 -2
- package/tabs.d.ts +16 -4
- package/tabs.js +2 -2
- package/tag-box.d.ts +11 -27
- package/tag-box.js +2 -2
- package/text-area.d.ts +2 -2
- package/text-area.js +2 -2
- package/text-box.d.ts +8 -29
- package/text-box.js +2 -2
- package/tile-view.d.ts +16 -4
- package/tile-view.js +2 -2
- package/toast.d.ts +2 -2
- package/toast.js +2 -2
- package/toolbar.d.ts +16 -4
- package/toolbar.js +2 -2
- package/tooltip.d.ts +2 -2
- package/tooltip.js +2 -2
- package/tree-list.d.ts +78 -109
- package/tree-list.js +2 -2
- package/tree-map.d.ts +20 -4
- package/tree-map.js +2 -2
- package/tree-view.d.ts +30 -36
- package/tree-view.js +2 -2
- package/validation-group.d.ts +11 -3
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +2 -2
- package/validation-summary.js +2 -2
- package/validator.d.ts +2 -2
- package/validator.js +2 -2
- package/vector-map.d.ts +22 -5
- package/vector-map.js +2 -2
package/tag-box.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date:
|
|
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,9 +15,9 @@
|
|
|
15
15
|
import dxTagBox, { Properties } from "devextreme/ui/tag_box";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CustomItemCreatingEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, ValueChangedEvent } from "devextreme/ui/tag_box";
|
|
18
|
+
import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CustomItemCreatingEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, MultiTagPreparingEvent, OpenedEvent, SelectAllValueChangedEvent, ValueChangedEvent } from "devextreme/ui/tag_box";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
|
|
19
20
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
20
|
-
import type { dxButtonOptions } from "devextreme/ui/button";
|
|
21
21
|
import type { event, EventInfo } from "devextreme/events/index";
|
|
22
22
|
import type { template } from "devextreme/core/templates/template";
|
|
23
23
|
import type { Component } from "devextreme/core/component";
|
|
@@ -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
|
};
|
|
@@ -45,7 +44,9 @@ declare type ITagBoxOptionsNarrowedEvents = {
|
|
|
45
44
|
onItemClick?: ((e: ItemClickEvent) => void);
|
|
46
45
|
onKeyDown?: ((e: KeyDownEvent) => void);
|
|
47
46
|
onKeyUp?: ((e: KeyUpEvent) => void);
|
|
47
|
+
onMultiTagPreparing?: ((e: MultiTagPreparingEvent) => void);
|
|
48
48
|
onOpened?: ((e: OpenedEvent) => void);
|
|
49
|
+
onSelectAllValueChanged?: ((e: SelectAllValueChangedEvent) => void);
|
|
49
50
|
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
50
51
|
};
|
|
51
52
|
declare type ITagBoxOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITagBoxOptionsNarrowedEvents> & IHtmlOptions & {
|
|
@@ -385,28 +386,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
385
386
|
hint?: string;
|
|
386
387
|
hoverStateEnabled?: boolean;
|
|
387
388
|
icon?: string;
|
|
388
|
-
onClick?: ((e:
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
validationGroup: Record<string, any>;
|
|
394
|
-
}) => void);
|
|
395
|
-
onContentReady?: ((e: EventInfo<any>) => void);
|
|
396
|
-
onDisposing?: ((e: EventInfo<any>) => void);
|
|
397
|
-
onInitialized?: ((e: {
|
|
398
|
-
component: Component<any>;
|
|
399
|
-
element: any;
|
|
400
|
-
}) => void);
|
|
401
|
-
onOptionChanged?: ((e: {
|
|
402
|
-
component: DOMComponent;
|
|
403
|
-
element: any;
|
|
404
|
-
fullName: string;
|
|
405
|
-
model: any;
|
|
406
|
-
name: string;
|
|
407
|
-
previousValue: any;
|
|
408
|
-
value: any;
|
|
409
|
-
}) => void);
|
|
389
|
+
onClick?: ((e: ClickEvent) => void);
|
|
390
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
391
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
392
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
393
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
410
394
|
rtlEnabled?: boolean;
|
|
411
395
|
stylingMode?: "text" | "outlined" | "contained";
|
|
412
396
|
tabIndex?: number;
|
package/tag-box.js
CHANGED
package/text-area.d.ts
CHANGED
package/text-area.js
CHANGED
package/text-box.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date:
|
|
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,12 +16,8 @@ import dxTextBox, { Properties } from "devextreme/ui/text_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/text_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, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
|
|
22
20
|
import type { template } from "devextreme/core/templates/template";
|
|
23
|
-
import type dxButton from "devextreme/ui/button";
|
|
24
|
-
import type DOMComponent from "devextreme/core/dom_component";
|
|
25
21
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
26
22
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
27
23
|
};
|
|
@@ -86,28 +82,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
86
82
|
hint?: string;
|
|
87
83
|
hoverStateEnabled?: boolean;
|
|
88
84
|
icon?: string;
|
|
89
|
-
onClick?: ((e:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
validationGroup: Record<string, any>;
|
|
95
|
-
}) => void);
|
|
96
|
-
onContentReady?: ((e: EventInfo<any>) => void);
|
|
97
|
-
onDisposing?: ((e: EventInfo<any>) => void);
|
|
98
|
-
onInitialized?: ((e: {
|
|
99
|
-
component: Component<any>;
|
|
100
|
-
element: any;
|
|
101
|
-
}) => void);
|
|
102
|
-
onOptionChanged?: ((e: {
|
|
103
|
-
component: DOMComponent;
|
|
104
|
-
element: any;
|
|
105
|
-
fullName: string;
|
|
106
|
-
model: any;
|
|
107
|
-
name: string;
|
|
108
|
-
previousValue: any;
|
|
109
|
-
value: any;
|
|
110
|
-
}) => void);
|
|
85
|
+
onClick?: ((e: ClickEvent) => void);
|
|
86
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
87
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
88
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
89
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
111
90
|
rtlEnabled?: boolean;
|
|
112
91
|
stylingMode?: "text" | "outlined" | "contained";
|
|
113
92
|
tabIndex?: number;
|
package/text-box.js
CHANGED
package/tile-view.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date:
|
|
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,10 +16,22 @@ export { ExplicitTypes } from "devextreme/ui/tile_view";
|
|
|
16
16
|
import dxTileView, { Properties } from "devextreme/ui/tile_view";
|
|
17
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
18
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxTileViewItem } from "devextreme/ui/tile_view";
|
|
19
|
+
import type { dxTileViewItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/tile_view";
|
|
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
|
|
22
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
23
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
24
|
+
};
|
|
25
|
+
declare type ITileViewOptionsNarrowedEvents<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 ITileViewOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, ITileViewOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
23
35
|
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
24
36
|
itemRender?: (...params: any) => React.ReactNode;
|
|
25
37
|
itemComponent?: React.ComponentType<any>;
|
package/tile-view.js
CHANGED
package/toast.d.ts
CHANGED
package/toast.js
CHANGED
package/toolbar.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date:
|
|
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,10 +16,22 @@ export { ExplicitTypes } from "devextreme/ui/toolbar";
|
|
|
16
16
|
import dxToolbar, { Properties } from "devextreme/ui/toolbar";
|
|
17
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
18
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxToolbarItem } from "devextreme/ui/toolbar";
|
|
19
|
+
import type { dxToolbarItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/toolbar";
|
|
20
20
|
import type { template } from "devextreme/core/templates/template";
|
|
21
21
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
22
|
-
declare type
|
|
22
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
23
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
24
|
+
};
|
|
25
|
+
declare type IToolbarOptionsNarrowedEvents<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 IToolbarOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IToolbarOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
23
35
|
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
24
36
|
itemRender?: (...params: any) => React.ReactNode;
|
|
25
37
|
itemComponent?: React.ComponentType<any>;
|
package/toolbar.js
CHANGED
package/tooltip.d.ts
CHANGED
package/tooltip.js
CHANGED
package/tree-list.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,29 +16,69 @@ export { ExplicitTypes } from "devextreme/ui/tree_list";
|
|
|
16
16
|
import dxTreeList, { Properties } from "devextreme/ui/tree_list";
|
|
17
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
18
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxTreeListColumn, dxTreeListRowObject, dxTreeListColumnButton, dxTreeListToolbarItem } from "devextreme/ui/tree_list";
|
|
19
|
+
import type { dxTreeListColumn, AdaptiveDetailRowPreparingEvent, CellClickEvent, CellDblClickEvent, CellPreparedEvent, ContentReadyEvent, ContextMenuPreparingEvent, DataErrorOccurredEvent, DisposingEvent, EditCanceledEvent, EditCancelingEvent, EditingStartEvent, EditorPreparedEvent, EditorPreparingEvent, FocusedCellChangingEvent, FocusedRowChangingEvent, InitializedEvent, InitNewRowEvent, KeyDownEvent, NodesInitializedEvent, RowClickEvent, RowCollapsedEvent, RowCollapsingEvent, RowDblClickEvent, RowExpandedEvent, RowExpandingEvent, RowInsertedEvent, RowInsertingEvent, RowPreparedEvent, RowRemovedEvent, RowRemovingEvent, RowUpdatedEvent, RowUpdatingEvent, RowValidatingEvent, SavedEvent, SavingEvent, ToolbarPreparingEvent, dxTreeListRowObject, dxTreeListColumnButton, dxTreeListToolbarItem } from "devextreme/ui/tree_list";
|
|
20
20
|
import type { DataChange, ColumnHeaderFilterSearchConfig, ColumnChooserSearchConfig, ColumnChooserSelectionConfig, GridBase, HeaderFilterSearchConfig } from "devextreme/common/grids";
|
|
21
|
+
import type { ContentReadyEvent as FilterBuilderContentReadyEvent, DisposingEvent as FilterBuilderDisposingEvent, EditorPreparedEvent as FilterBuilderEditorPreparedEvent, EditorPreparingEvent as FilterBuilderEditorPreparingEvent, InitializedEvent as FilterBuilderInitializedEvent, dxFilterBuilderField, dxFilterBuilderCustomOperation, OptionChangedEvent, ValueChangedEvent } from "devextreme/ui/filter_builder";
|
|
22
|
+
import type { ContentReadyEvent as FormContentReadyEvent, DisposingEvent as FormDisposingEvent, InitializedEvent as FormInitializedEvent, dxFormSimpleItem, dxFormOptions, OptionChangedEvent as FormOptionChangedEvent, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem, EditorEnterKeyEvent, FieldDataChangedEvent } from "devextreme/ui/form";
|
|
21
23
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
22
24
|
import type { event, EventInfo } from "devextreme/events/index";
|
|
23
25
|
import type { template } from "devextreme/core/templates/template";
|
|
24
|
-
import type { dxFormSimpleItem, dxFormOptions, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem } from "devextreme/ui/form";
|
|
25
26
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
26
27
|
import type { Store } from "devextreme/data/abstract_store";
|
|
27
28
|
import type { PositionConfig } from "devextreme/animation/position";
|
|
28
|
-
import type { dxFilterBuilderField, dxFilterBuilderCustomOperation } from "devextreme/ui/filter_builder";
|
|
29
29
|
import type { dxPopupOptions, dxPopupToolbarItem } from "devextreme/ui/popup";
|
|
30
30
|
import type { Component } from "devextreme/core/component";
|
|
31
31
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
32
|
-
import type dxFilterBuilder from "devextreme/ui/filter_builder";
|
|
33
|
-
import type DOMComponent from "devextreme/core/dom_component";
|
|
34
32
|
import type dxOverlay from "devextreme/ui/overlay";
|
|
33
|
+
import type DOMComponent from "devextreme/core/dom_component";
|
|
35
34
|
import type dxPopup from "devextreme/ui/popup";
|
|
36
35
|
import type dxForm from "devextreme/ui/form";
|
|
37
36
|
import type dxSortable from "devextreme/ui/sortable";
|
|
38
37
|
import type dxDraggable from "devextreme/ui/draggable";
|
|
39
38
|
import type * as LocalizationTypes from "devextreme/localization";
|
|
40
39
|
import type * as CommonTypes from "devextreme/common";
|
|
41
|
-
declare type
|
|
40
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
41
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
42
|
+
};
|
|
43
|
+
declare type ITreeListOptionsNarrowedEvents<TRowData = any, TKey = any> = {
|
|
44
|
+
onAdaptiveDetailRowPreparing?: ((e: AdaptiveDetailRowPreparingEvent<TRowData, TKey>) => void);
|
|
45
|
+
onCellClick?: ((e: CellClickEvent<TRowData, TKey>) => void);
|
|
46
|
+
onCellDblClick?: ((e: CellDblClickEvent<TRowData, TKey>) => void);
|
|
47
|
+
onCellPrepared?: ((e: CellPreparedEvent<TRowData, TKey>) => void);
|
|
48
|
+
onContentReady?: ((e: ContentReadyEvent<TRowData, TKey>) => void);
|
|
49
|
+
onContextMenuPreparing?: ((e: ContextMenuPreparingEvent<TRowData, TKey>) => void);
|
|
50
|
+
onDataErrorOccurred?: ((e: DataErrorOccurredEvent<TRowData, TKey>) => void);
|
|
51
|
+
onDisposing?: ((e: DisposingEvent<TRowData, TKey>) => void);
|
|
52
|
+
onEditCanceled?: ((e: EditCanceledEvent<TRowData, TKey>) => void);
|
|
53
|
+
onEditCanceling?: ((e: EditCancelingEvent<TRowData, TKey>) => void);
|
|
54
|
+
onEditingStart?: ((e: EditingStartEvent<TRowData, TKey>) => void);
|
|
55
|
+
onEditorPrepared?: ((e: EditorPreparedEvent<TRowData, TKey>) => void);
|
|
56
|
+
onEditorPreparing?: ((e: EditorPreparingEvent<TRowData, TKey>) => void);
|
|
57
|
+
onFocusedCellChanging?: ((e: FocusedCellChangingEvent<TRowData, TKey>) => void);
|
|
58
|
+
onFocusedRowChanging?: ((e: FocusedRowChangingEvent<TRowData, TKey>) => void);
|
|
59
|
+
onInitialized?: ((e: InitializedEvent<TRowData, TKey>) => void);
|
|
60
|
+
onInitNewRow?: ((e: InitNewRowEvent<TRowData, TKey>) => void);
|
|
61
|
+
onKeyDown?: ((e: KeyDownEvent<TRowData, TKey>) => void);
|
|
62
|
+
onNodesInitialized?: ((e: NodesInitializedEvent<TRowData, TKey>) => void);
|
|
63
|
+
onRowClick?: ((e: RowClickEvent<TRowData, TKey>) => void);
|
|
64
|
+
onRowCollapsed?: ((e: RowCollapsedEvent<TRowData, TKey>) => void);
|
|
65
|
+
onRowCollapsing?: ((e: RowCollapsingEvent<TRowData, TKey>) => void);
|
|
66
|
+
onRowDblClick?: ((e: RowDblClickEvent<TRowData, TKey>) => void);
|
|
67
|
+
onRowExpanded?: ((e: RowExpandedEvent<TRowData, TKey>) => void);
|
|
68
|
+
onRowExpanding?: ((e: RowExpandingEvent<TRowData, TKey>) => void);
|
|
69
|
+
onRowInserted?: ((e: RowInsertedEvent<TRowData, TKey>) => void);
|
|
70
|
+
onRowInserting?: ((e: RowInsertingEvent<TRowData, TKey>) => void);
|
|
71
|
+
onRowPrepared?: ((e: RowPreparedEvent<TRowData, TKey>) => void);
|
|
72
|
+
onRowRemoved?: ((e: RowRemovedEvent<TRowData, TKey>) => void);
|
|
73
|
+
onRowRemoving?: ((e: RowRemovingEvent<TRowData, TKey>) => void);
|
|
74
|
+
onRowUpdated?: ((e: RowUpdatedEvent<TRowData, TKey>) => void);
|
|
75
|
+
onRowUpdating?: ((e: RowUpdatingEvent<TRowData, TKey>) => void);
|
|
76
|
+
onRowValidating?: ((e: RowValidatingEvent<TRowData, TKey>) => void);
|
|
77
|
+
onSaved?: ((e: SavedEvent<TRowData, TKey>) => void);
|
|
78
|
+
onSaving?: ((e: SavingEvent<TRowData, TKey>) => void);
|
|
79
|
+
onToolbarPreparing?: ((e: ToolbarPreparingEvent<TRowData, TKey>) => void);
|
|
80
|
+
};
|
|
81
|
+
declare type ITreeListOptions<TRowData = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TRowData, TKey>, ITreeListOptionsNarrowedEvents<TRowData, TKey>> & IHtmlOptions & {
|
|
42
82
|
dataSource?: Properties<TRowData, TKey>["dataSource"];
|
|
43
83
|
defaultColumns?: Array<dxTreeListColumn | string>;
|
|
44
84
|
defaultEditing?: Record<string, any>;
|
|
@@ -315,10 +355,10 @@ declare type IColumnProps = React.PropsWithChildren<{
|
|
|
315
355
|
allowSearch?: boolean;
|
|
316
356
|
allowSorting?: boolean;
|
|
317
357
|
buttons?: Array<dxTreeListColumnButton | "add" | "cancel" | "delete" | "edit" | "save" | "undelete">;
|
|
318
|
-
calculateCellValue?: ((rowData:
|
|
319
|
-
calculateDisplayValue?: ((rowData:
|
|
358
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
359
|
+
calculateDisplayValue?: ((rowData: any) => any) | string;
|
|
320
360
|
calculateFilterExpression?: ((filterValue: any, selectedFilterOperation: string | null, target: string) => string);
|
|
321
|
-
calculateSortValue?: ((rowData:
|
|
361
|
+
calculateSortValue?: ((rowData: any) => any) | string;
|
|
322
362
|
caption?: string;
|
|
323
363
|
cellTemplate?: ((cellElement: any, cellInfo: {
|
|
324
364
|
column: dxTreeListColumn;
|
|
@@ -391,12 +431,12 @@ declare type IColumnProps = React.PropsWithChildren<{
|
|
|
391
431
|
isBand?: boolean;
|
|
392
432
|
lookup?: Record<string, any> | {
|
|
393
433
|
allowClearing?: boolean;
|
|
394
|
-
calculateCellValue?: ((rowData:
|
|
434
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
395
435
|
dataSource?: Array<any> | DataSourceOptions | ((options: {
|
|
396
436
|
data: Record<string, any>;
|
|
397
437
|
key: any;
|
|
398
438
|
}) => Array<any>) | null | Store;
|
|
399
|
-
displayExpr?: ((data:
|
|
439
|
+
displayExpr?: ((data: any) => string) | string;
|
|
400
440
|
valueExpr?: string;
|
|
401
441
|
};
|
|
402
442
|
minWidth?: number;
|
|
@@ -404,7 +444,7 @@ declare type IColumnProps = React.PropsWithChildren<{
|
|
|
404
444
|
ownerBand?: number;
|
|
405
445
|
renderAsync?: boolean;
|
|
406
446
|
selectedFilterOperation?: "<" | "<=" | "<>" | "=" | ">" | ">=" | "between" | "contains" | "endswith" | "notcontains" | "startswith";
|
|
407
|
-
setCellValue?: ((newData:
|
|
447
|
+
setCellValue?: ((newData: any, value: any, currentRowData: any) => any);
|
|
408
448
|
showEditorAlways?: boolean;
|
|
409
449
|
showInColumnChooser?: boolean;
|
|
410
450
|
sortIndex?: number;
|
|
@@ -653,12 +693,12 @@ declare class ColumnHeaderFilterSearch extends NestedOption<IColumnHeaderFilterS
|
|
|
653
693
|
}
|
|
654
694
|
declare type IColumnLookupProps = React.PropsWithChildren<{
|
|
655
695
|
allowClearing?: boolean;
|
|
656
|
-
calculateCellValue?: ((rowData:
|
|
696
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
657
697
|
dataSource?: Array<any> | DataSourceOptions | ((options: {
|
|
658
698
|
data: Record<string, any>;
|
|
659
699
|
key: any;
|
|
660
700
|
}) => Array<any>) | null | Store;
|
|
661
|
-
displayExpr?: ((data:
|
|
701
|
+
displayExpr?: ((data: any) => string) | string;
|
|
662
702
|
valueExpr?: string;
|
|
663
703
|
}>;
|
|
664
704
|
declare class ColumnLookup extends NestedOption<IColumnLookupProps> {
|
|
@@ -863,8 +903,8 @@ declare type IFieldProps = React.PropsWithChildren<{
|
|
|
863
903
|
lookup?: Record<string, any> | {
|
|
864
904
|
allowClearing?: boolean;
|
|
865
905
|
dataSource?: Array<any> | DataSourceOptions | Store;
|
|
866
|
-
displayExpr?: ((data:
|
|
867
|
-
valueExpr?: ((data:
|
|
906
|
+
displayExpr?: ((data: any) => string) | string;
|
|
907
|
+
valueExpr?: ((data: any) => string) | string;
|
|
868
908
|
};
|
|
869
909
|
name?: string;
|
|
870
910
|
trueText?: string;
|
|
@@ -899,8 +939,8 @@ declare class Field extends NestedOption<IFieldProps> {
|
|
|
899
939
|
declare type IFieldLookupProps = React.PropsWithChildren<{
|
|
900
940
|
allowClearing?: boolean;
|
|
901
941
|
dataSource?: Array<any> | DataSourceOptions | Store;
|
|
902
|
-
displayExpr?: ((data:
|
|
903
|
-
valueExpr?: ((data:
|
|
942
|
+
displayExpr?: ((data: any) => string) | string;
|
|
943
|
+
valueExpr?: ((data: any) => string) | string;
|
|
904
944
|
}>;
|
|
905
945
|
declare class FieldLookup extends NestedOption<IFieldLookupProps> {
|
|
906
946
|
static OptionName: string;
|
|
@@ -941,62 +981,13 @@ declare type IFilterBuilderProps = React.PropsWithChildren<{
|
|
|
941
981
|
hint?: string;
|
|
942
982
|
hoverStateEnabled?: boolean;
|
|
943
983
|
maxGroupLevel?: number;
|
|
944
|
-
onContentReady?: ((e:
|
|
945
|
-
onDisposing?: ((e:
|
|
946
|
-
onEditorPrepared?: ((e:
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
editorName: string;
|
|
952
|
-
element: any;
|
|
953
|
-
filterOperation: string;
|
|
954
|
-
model: any;
|
|
955
|
-
readOnly: boolean;
|
|
956
|
-
rtlEnabled: boolean;
|
|
957
|
-
setValue(newValue: any): any;
|
|
958
|
-
updateValueTimeout: number;
|
|
959
|
-
value: any;
|
|
960
|
-
width: number;
|
|
961
|
-
}) => void);
|
|
962
|
-
onEditorPreparing?: ((e: {
|
|
963
|
-
cancel: boolean;
|
|
964
|
-
component: dxFilterBuilder;
|
|
965
|
-
dataField: string;
|
|
966
|
-
disabled: boolean;
|
|
967
|
-
editorElement: any;
|
|
968
|
-
editorName: string;
|
|
969
|
-
editorOptions: Record<string, any>;
|
|
970
|
-
element: any;
|
|
971
|
-
filterOperation: string;
|
|
972
|
-
model: any;
|
|
973
|
-
readOnly: boolean;
|
|
974
|
-
rtlEnabled: boolean;
|
|
975
|
-
setValue(newValue: any): any;
|
|
976
|
-
updateValueTimeout: number;
|
|
977
|
-
value: any;
|
|
978
|
-
width: number;
|
|
979
|
-
}) => void);
|
|
980
|
-
onInitialized?: ((e: {
|
|
981
|
-
component: Component<any>;
|
|
982
|
-
element: any;
|
|
983
|
-
}) => void);
|
|
984
|
-
onOptionChanged?: ((e: {
|
|
985
|
-
component: DOMComponent;
|
|
986
|
-
element: any;
|
|
987
|
-
fullName: string;
|
|
988
|
-
model: any;
|
|
989
|
-
name: string;
|
|
990
|
-
previousValue: any;
|
|
991
|
-
value: any;
|
|
992
|
-
}) => void);
|
|
993
|
-
onValueChanged?: ((e: {
|
|
994
|
-
component: dxFilterBuilder;
|
|
995
|
-
element: any;
|
|
996
|
-
model: any;
|
|
997
|
-
previousValue: Record<string, any>;
|
|
998
|
-
value: Record<string, any>;
|
|
999
|
-
}) => void);
|
|
984
|
+
onContentReady?: ((e: FilterBuilderContentReadyEvent) => void);
|
|
985
|
+
onDisposing?: ((e: FilterBuilderDisposingEvent) => void);
|
|
986
|
+
onEditorPrepared?: ((e: FilterBuilderEditorPreparedEvent) => void);
|
|
987
|
+
onEditorPreparing?: ((e: FilterBuilderEditorPreparingEvent) => void);
|
|
988
|
+
onInitialized?: ((e: FilterBuilderInitializedEvent) => void);
|
|
989
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
990
|
+
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
1000
991
|
rtlEnabled?: boolean;
|
|
1001
992
|
tabIndex?: number;
|
|
1002
993
|
value?: Array<any> | (() => any) | string;
|
|
@@ -1277,34 +1268,12 @@ declare type IFormProps = React.PropsWithChildren<{
|
|
|
1277
1268
|
labelLocation?: "left" | "right" | "top";
|
|
1278
1269
|
labelMode?: "static" | "floating" | "hidden" | "outside";
|
|
1279
1270
|
minColWidth?: number;
|
|
1280
|
-
onContentReady?: ((e:
|
|
1281
|
-
onDisposing?: ((e:
|
|
1282
|
-
onEditorEnterKey?: ((e:
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
model: any;
|
|
1287
|
-
}) => void);
|
|
1288
|
-
onFieldDataChanged?: ((e: {
|
|
1289
|
-
component: dxForm;
|
|
1290
|
-
dataField: string;
|
|
1291
|
-
element: any;
|
|
1292
|
-
model: any;
|
|
1293
|
-
value: Record<string, any>;
|
|
1294
|
-
}) => void);
|
|
1295
|
-
onInitialized?: ((e: {
|
|
1296
|
-
component: Component<any>;
|
|
1297
|
-
element: any;
|
|
1298
|
-
}) => void);
|
|
1299
|
-
onOptionChanged?: ((e: {
|
|
1300
|
-
component: DOMComponent;
|
|
1301
|
-
element: any;
|
|
1302
|
-
fullName: string;
|
|
1303
|
-
model: any;
|
|
1304
|
-
name: string;
|
|
1305
|
-
previousValue: any;
|
|
1306
|
-
value: any;
|
|
1307
|
-
}) => void);
|
|
1271
|
+
onContentReady?: ((e: FormContentReadyEvent) => void);
|
|
1272
|
+
onDisposing?: ((e: FormDisposingEvent) => void);
|
|
1273
|
+
onEditorEnterKey?: ((e: EditorEnterKeyEvent) => void);
|
|
1274
|
+
onFieldDataChanged?: ((e: FieldDataChangedEvent) => void);
|
|
1275
|
+
onInitialized?: ((e: FormInitializedEvent) => void);
|
|
1276
|
+
onOptionChanged?: ((e: FormOptionChangedEvent) => void);
|
|
1308
1277
|
optionalMark?: string;
|
|
1309
1278
|
readOnly?: boolean;
|
|
1310
1279
|
requiredMark?: string;
|
|
@@ -1474,7 +1443,7 @@ declare type IHeaderFilterProps = React.PropsWithChildren<{
|
|
|
1474
1443
|
}) => void) | null | Store;
|
|
1475
1444
|
groupInterval?: number | "day" | "hour" | "minute" | "month" | "quarter" | "second" | "year";
|
|
1476
1445
|
height?: number;
|
|
1477
|
-
search?: ColumnHeaderFilterSearchConfig;
|
|
1446
|
+
search?: ColumnHeaderFilterSearchConfig | HeaderFilterSearchConfig;
|
|
1478
1447
|
searchMode?: "contains" | "startswith" | "equals";
|
|
1479
1448
|
width?: number;
|
|
1480
1449
|
searchTimeout?: number;
|
|
@@ -1596,13 +1565,13 @@ declare class LoadPanel extends NestedOption<ILoadPanelProps> {
|
|
|
1596
1565
|
}
|
|
1597
1566
|
declare type ILookupProps = React.PropsWithChildren<{
|
|
1598
1567
|
allowClearing?: boolean;
|
|
1599
|
-
calculateCellValue?: ((rowData:
|
|
1568
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
1600
1569
|
dataSource?: Array<any> | DataSourceOptions | ((options: {
|
|
1601
1570
|
data: Record<string, any>;
|
|
1602
1571
|
key: any;
|
|
1603
1572
|
}) => Array<any>) | null | Store;
|
|
1604
|
-
displayExpr?: ((data:
|
|
1605
|
-
valueExpr?: string;
|
|
1573
|
+
displayExpr?: ((data: any) => string) | string;
|
|
1574
|
+
valueExpr?: string | ((data: any) => string);
|
|
1606
1575
|
}>;
|
|
1607
1576
|
declare class Lookup extends NestedOption<ILookupProps> {
|
|
1608
1577
|
static OptionName: string;
|
|
@@ -2109,7 +2078,7 @@ declare class Sorting extends NestedOption<ISortingProps> {
|
|
|
2109
2078
|
}
|
|
2110
2079
|
declare type IStateStoringProps = React.PropsWithChildren<{
|
|
2111
2080
|
customLoad?: (() => any);
|
|
2112
|
-
customSave?: ((gridState:
|
|
2081
|
+
customSave?: ((gridState: any) => void);
|
|
2113
2082
|
enabled?: boolean;
|
|
2114
2083
|
savingTimeout?: number;
|
|
2115
2084
|
storageKey?: string;
|