devextreme-react 23.1.2-beta → 23.1.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion.d.ts +13 -15
- package/accordion.js +2 -2
- package/action-sheet.d.ts +18 -8
- package/action-sheet.js +2 -2
- package/autocomplete.d.ts +7 -18
- package/autocomplete.js +2 -2
- package/bar-gauge.d.ts +16 -4
- package/bar-gauge.js +2 -2
- package/box.d.ts +18 -8
- package/box.js +2 -2
- package/bullet.d.ts +2 -2
- package/bullet.js +2 -2
- package/button-group.d.ts +12 -3
- package/button-group.js +2 -2
- package/button.d.ts +12 -3
- package/button.js +2 -2
- package/calendar.d.ts +12 -3
- package/calendar.js +2 -2
- package/chart.d.ts +20 -4
- 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 +7 -18
- 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 +12 -14
- 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 +45 -41
- package/data-grid.js +2 -2
- package/date-box.d.ts +14 -44
- package/date-box.js +2 -2
- package/date-range-box.d.ts +14 -44
- package/date-range-box.js +3 -10
- package/defer-rendering.d.ts +2 -2
- package/defer-rendering.js +2 -2
- package/diagram.d.ts +2 -2
- package/diagram.js +2 -2
- package/draggable.d.ts +2 -2
- package/draggable.js +2 -2
- package/drawer.d.ts +2 -2
- package/drawer.js +2 -2
- package/drop-down-box.d.ts +7 -18
- package/drop-down-box.js +2 -2
- package/drop-down-button.d.ts +12 -3
- package/drop-down-button.js +2 -2
- package/file-manager.d.ts +12 -4
- package/file-manager.js +2 -2
- package/file-uploader.d.ts +2 -2
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +12 -4
- package/filter-builder.js +2 -2
- package/form.d.ts +23 -28
- package/form.js +2 -2
- package/funnel.d.ts +16 -4
- package/funnel.js +2 -2
- package/gallery.d.ts +13 -15
- package/gallery.js +2 -2
- package/gantt.d.ts +2 -2
- package/gantt.js +2 -2
- package/html-editor.d.ts +17 -8
- 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 +30 -46
- 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 +6 -3
- package/lookup.js +2 -2
- package/map.d.ts +2 -2
- package/map.js +2 -2
- package/menu.d.ts +17 -8
- package/menu.js +2 -2
- package/multi-view.d.ts +13 -15
- package/multi-view.js +2 -2
- package/number-box.d.ts +8 -21
- package/number-box.js +2 -2
- package/package.json +4 -4
- package/pie-chart.d.ts +20 -4
- package/pie-chart.js +2 -2
- package/pivot-grid-field-chooser.d.ts +12 -3
- package/pivot-grid-field-chooser.js +2 -2
- package/pivot-grid.d.ts +12 -3
- package/pivot-grid.js +2 -2
- package/polar-chart.d.ts +20 -4
- 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 +2 -2
- package/progress-bar.js +2 -2
- package/radio-group.d.ts +13 -3
- package/radio-group.js +2 -2
- package/range-selector.d.ts +16 -3
- package/range-selector.js +2 -2
- package/range-slider.d.ts +2 -2
- package/range-slider.js +2 -2
- package/recurrence-editor.d.ts +2 -2
- package/recurrence-editor.js +2 -2
- package/resizable.d.ts +2 -2
- package/resizable.js +2 -2
- package/responsive-box.d.ts +18 -8
- package/responsive-box.js +2 -2
- package/sankey.d.ts +16 -4
- package/sankey.js +2 -2
- package/scheduler.d.ts +12 -4
- package/scheduler.js +2 -2
- package/scroll-view.d.ts +2 -2
- package/scroll-view.js +2 -2
- package/select-box.d.ts +7 -18
- package/select-box.js +2 -2
- package/slider.d.ts +13 -3
- package/slider.js +2 -2
- package/sortable.d.ts +11 -3
- package/sortable.js +2 -2
- package/sparkline.d.ts +18 -3
- package/sparkline.js +2 -2
- package/speed-dial-action.d.ts +2 -2
- package/speed-dial-action.js +2 -2
- package/switch.d.ts +2 -2
- package/switch.js +2 -2
- package/tab-panel.d.ts +13 -15
- package/tab-panel.js +2 -2
- package/tabs.d.ts +18 -8
- package/tabs.js +2 -2
- package/tag-box.d.ts +7 -18
- 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 -21
- package/text-box.js +2 -2
- package/tile-view.d.ts +18 -8
- package/tile-view.js +2 -2
- package/toast.d.ts +2 -2
- package/toast.js +2 -2
- package/toolbar.d.ts +18 -8
- package/toolbar.js +2 -2
- package/tooltip.d.ts +2 -2
- package/tooltip.js +2 -2
- package/tree-list.d.ts +45 -41
- package/tree-list.js +2 -2
- package/tree-map.d.ts +16 -4
- package/tree-map.js +2 -2
- package/tree-view.d.ts +25 -32
- package/tree-view.js +2 -2
- package/validation-group.d.ts +11 -3
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +10 -12
- package/validation-summary.js +2 -2
- package/validator.d.ts +2 -2
- package/validator.js +2 -2
- package/vector-map.d.ts +16 -4
- 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.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,8 +16,8 @@ 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
18
|
import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CustomItemCreatingEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, ValueChangedEvent } from "devextreme/ui/tag_box";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, 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";
|
|
@@ -392,21 +392,10 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
392
392
|
model: any;
|
|
393
393
|
validationGroup: Record<string, any>;
|
|
394
394
|
}) => void);
|
|
395
|
-
onContentReady?: ((e:
|
|
396
|
-
onDisposing?: ((e:
|
|
397
|
-
onInitialized?: ((e:
|
|
398
|
-
|
|
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);
|
|
395
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
396
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
397
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
398
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
410
399
|
rtlEnabled?: boolean;
|
|
411
400
|
stylingMode?: "text" | "outlined" | "contained";
|
|
412
401
|
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.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,12 +16,10 @@ import 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
|
|
21
|
-
import type { Component } from "devextreme/core/component";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent } from "devextreme/ui/button";
|
|
20
|
+
import type { event } from "devextreme/events/index";
|
|
22
21
|
import type { template } from "devextreme/core/templates/template";
|
|
23
22
|
import type dxButton from "devextreme/ui/button";
|
|
24
|
-
import type DOMComponent from "devextreme/core/dom_component";
|
|
25
23
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
26
24
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
27
25
|
};
|
|
@@ -93,21 +91,10 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
93
91
|
model: any;
|
|
94
92
|
validationGroup: Record<string, any>;
|
|
95
93
|
}) => void);
|
|
96
|
-
onContentReady?: ((e:
|
|
97
|
-
onDisposing?: ((e:
|
|
98
|
-
onInitialized?: ((e:
|
|
99
|
-
|
|
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);
|
|
94
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
95
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
96
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
97
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
111
98
|
rtlEnabled?: boolean;
|
|
112
99
|
stylingMode?: "text" | "outlined" | "contained";
|
|
113
100
|
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.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,23 +12,33 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
-
export { ExplicitTypes } from "devextreme/ui/tile_view";
|
|
16
15
|
import dxTileView, { Properties } from "devextreme/ui/tile_view";
|
|
17
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
17
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxTileViewItem } from "devextreme/ui/tile_view";
|
|
18
|
+
import type { dxTileViewItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/tile_view";
|
|
20
19
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
21
20
|
import type { template } from "devextreme/core/templates/template";
|
|
22
|
-
declare type
|
|
23
|
-
|
|
21
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
22
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
23
|
+
};
|
|
24
|
+
declare type ITileViewOptionsNarrowedEvents = {
|
|
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);
|
|
32
|
+
};
|
|
33
|
+
declare type ITileViewOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITileViewOptionsNarrowedEvents> & IHtmlOptions & {
|
|
24
34
|
itemRender?: (...params: any) => React.ReactNode;
|
|
25
35
|
itemComponent?: React.ComponentType<any>;
|
|
26
36
|
itemKeyFn?: (data: any) => string;
|
|
27
37
|
defaultItems?: Array<any | dxTileViewItem | string>;
|
|
28
38
|
onItemsChange?: (value: Array<any | dxTileViewItem | string>) => void;
|
|
29
39
|
}>;
|
|
30
|
-
declare class TileView
|
|
31
|
-
get instance(): dxTileView
|
|
40
|
+
declare class TileView extends BaseComponent<React.PropsWithChildren<ITileViewOptions>> {
|
|
41
|
+
get instance(): dxTileView;
|
|
32
42
|
protected _WidgetClass: typeof dxTileView;
|
|
33
43
|
protected subscribableOptions: string[];
|
|
34
44
|
protected independentEvents: string[];
|
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.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,15 +12,25 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
-
export { ExplicitTypes } from "devextreme/ui/toolbar";
|
|
16
15
|
import dxToolbar, { Properties } from "devextreme/ui/toolbar";
|
|
17
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
17
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxToolbarItem } from "devextreme/ui/toolbar";
|
|
18
|
+
import type { dxToolbarItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/toolbar";
|
|
20
19
|
import type { template } from "devextreme/core/templates/template";
|
|
21
20
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
22
|
-
declare type
|
|
23
|
-
|
|
21
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
22
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
23
|
+
};
|
|
24
|
+
declare type IToolbarOptionsNarrowedEvents = {
|
|
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);
|
|
32
|
+
};
|
|
33
|
+
declare type IToolbarOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IToolbarOptionsNarrowedEvents> & IHtmlOptions & {
|
|
24
34
|
itemRender?: (...params: any) => React.ReactNode;
|
|
25
35
|
itemComponent?: React.ComponentType<any>;
|
|
26
36
|
itemKeyFn?: (data: any) => string;
|
|
@@ -30,8 +40,8 @@ declare type IToolbarOptions<TItem = any, TKey = any> = React.PropsWithChildren<
|
|
|
30
40
|
defaultItems?: Array<any | dxToolbarItem | string>;
|
|
31
41
|
onItemsChange?: (value: Array<any | dxToolbarItem | string>) => void;
|
|
32
42
|
}>;
|
|
33
|
-
declare class Toolbar
|
|
34
|
-
get instance(): dxToolbar
|
|
43
|
+
declare class Toolbar extends BaseComponent<React.PropsWithChildren<IToolbarOptions>> {
|
|
44
|
+
get instance(): dxToolbar;
|
|
35
45
|
protected _WidgetClass: typeof dxToolbar;
|
|
36
46
|
protected subscribableOptions: string[];
|
|
37
47
|
protected independentEvents: string[];
|
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.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,34 +12,60 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
-
export { ExplicitTypes } from "devextreme/ui/tree_list";
|
|
16
15
|
import dxTreeList, { Properties } from "devextreme/ui/tree_list";
|
|
17
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
17
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxTreeListColumn, dxTreeListRowObject, dxTreeListColumnButton, dxTreeListToolbarItem } from "devextreme/ui/tree_list";
|
|
18
|
+
import type { dxTreeListColumn, AdaptiveDetailRowPreparingEvent, ContentReadyEvent, DataErrorOccurredEvent, DisposingEvent, EditCanceledEvent, EditCancelingEvent, InitializedEvent, InitNewRowEvent, KeyDownEvent, RowCollapsedEvent, RowCollapsingEvent, RowExpandedEvent, RowExpandingEvent, RowInsertedEvent, RowInsertingEvent, RowRemovedEvent, RowRemovingEvent, RowUpdatedEvent, RowUpdatingEvent, RowValidatingEvent, SavedEvent, SavingEvent, ToolbarPreparingEvent, dxTreeListRowObject, dxTreeListColumnButton, dxTreeListToolbarItem } from "devextreme/ui/tree_list";
|
|
20
19
|
import type { DataChange, ColumnHeaderFilterSearchConfig, ColumnChooserSearchConfig, ColumnChooserSelectionConfig, GridBase, HeaderFilterSearchConfig } from "devextreme/common/grids";
|
|
20
|
+
import type { ContentReadyEvent as FilterBuilderContentReadyEvent, DisposingEvent as FilterBuilderDisposingEvent, InitializedEvent as FilterBuilderInitializedEvent, dxFilterBuilderField, dxFilterBuilderCustomOperation, OptionChangedEvent } from "devextreme/ui/filter_builder";
|
|
21
|
+
import type { ContentReadyEvent as FormContentReadyEvent, DisposingEvent as FormDisposingEvent, InitializedEvent as FormInitializedEvent, dxFormSimpleItem, dxFormOptions, OptionChangedEvent as FormOptionChangedEvent, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem } from "devextreme/ui/form";
|
|
21
22
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
22
23
|
import type { event, EventInfo } from "devextreme/events/index";
|
|
23
24
|
import type { template } from "devextreme/core/templates/template";
|
|
24
|
-
import type { dxFormSimpleItem, dxFormOptions, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem } from "devextreme/ui/form";
|
|
25
25
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
26
26
|
import type { Store } from "devextreme/data/abstract_store";
|
|
27
27
|
import type { PositionConfig } from "devextreme/animation/position";
|
|
28
|
-
import type { dxFilterBuilderField, dxFilterBuilderCustomOperation } from "devextreme/ui/filter_builder";
|
|
29
28
|
import type { dxPopupOptions, dxPopupToolbarItem } from "devextreme/ui/popup";
|
|
30
29
|
import type { Component } from "devextreme/core/component";
|
|
31
30
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
32
31
|
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
|
|
42
|
-
|
|
40
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
41
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
42
|
+
};
|
|
43
|
+
declare type ITreeListOptionsNarrowedEvents = {
|
|
44
|
+
onAdaptiveDetailRowPreparing?: ((e: AdaptiveDetailRowPreparingEvent) => void);
|
|
45
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
46
|
+
onDataErrorOccurred?: ((e: DataErrorOccurredEvent) => void);
|
|
47
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
48
|
+
onEditCanceled?: ((e: EditCanceledEvent) => void);
|
|
49
|
+
onEditCanceling?: ((e: EditCancelingEvent) => void);
|
|
50
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
51
|
+
onInitNewRow?: ((e: InitNewRowEvent) => void);
|
|
52
|
+
onKeyDown?: ((e: KeyDownEvent) => void);
|
|
53
|
+
onRowCollapsed?: ((e: RowCollapsedEvent) => void);
|
|
54
|
+
onRowCollapsing?: ((e: RowCollapsingEvent) => void);
|
|
55
|
+
onRowExpanded?: ((e: RowExpandedEvent) => void);
|
|
56
|
+
onRowExpanding?: ((e: RowExpandingEvent) => void);
|
|
57
|
+
onRowInserted?: ((e: RowInsertedEvent) => void);
|
|
58
|
+
onRowInserting?: ((e: RowInsertingEvent) => void);
|
|
59
|
+
onRowRemoved?: ((e: RowRemovedEvent) => void);
|
|
60
|
+
onRowRemoving?: ((e: RowRemovingEvent) => void);
|
|
61
|
+
onRowUpdated?: ((e: RowUpdatedEvent) => void);
|
|
62
|
+
onRowUpdating?: ((e: RowUpdatingEvent) => void);
|
|
63
|
+
onRowValidating?: ((e: RowValidatingEvent) => void);
|
|
64
|
+
onSaved?: ((e: SavedEvent) => void);
|
|
65
|
+
onSaving?: ((e: SavingEvent) => void);
|
|
66
|
+
onToolbarPreparing?: ((e: ToolbarPreparingEvent) => void);
|
|
67
|
+
};
|
|
68
|
+
declare type ITreeListOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITreeListOptionsNarrowedEvents> & IHtmlOptions & {
|
|
43
69
|
defaultColumns?: Array<dxTreeListColumn | string>;
|
|
44
70
|
defaultEditing?: Record<string, any>;
|
|
45
71
|
defaultExpandedRowKeys?: Array<any>;
|
|
@@ -63,8 +89,8 @@ declare type ITreeListOptions<TRowData = any, TKey = any> = React.PropsWithChild
|
|
|
63
89
|
onSearchPanelChange?: (value: Record<string, any>) => void;
|
|
64
90
|
onSelectedRowKeysChange?: (value: Array<any>) => void;
|
|
65
91
|
}>;
|
|
66
|
-
declare class TreeList
|
|
67
|
-
get instance(): dxTreeList
|
|
92
|
+
declare class TreeList extends BaseComponent<React.PropsWithChildren<ITreeListOptions>> {
|
|
93
|
+
get instance(): dxTreeList;
|
|
68
94
|
protected _WidgetClass: typeof dxTreeList;
|
|
69
95
|
protected subscribableOptions: string[];
|
|
70
96
|
protected independentEvents: string[];
|
|
@@ -941,8 +967,8 @@ declare type IFilterBuilderProps = React.PropsWithChildren<{
|
|
|
941
967
|
hint?: string;
|
|
942
968
|
hoverStateEnabled?: boolean;
|
|
943
969
|
maxGroupLevel?: number;
|
|
944
|
-
onContentReady?: ((e:
|
|
945
|
-
onDisposing?: ((e:
|
|
970
|
+
onContentReady?: ((e: FilterBuilderContentReadyEvent) => void);
|
|
971
|
+
onDisposing?: ((e: FilterBuilderDisposingEvent) => void);
|
|
946
972
|
onEditorPrepared?: ((e: {
|
|
947
973
|
component: dxFilterBuilder;
|
|
948
974
|
dataField: string;
|
|
@@ -977,19 +1003,8 @@ declare type IFilterBuilderProps = React.PropsWithChildren<{
|
|
|
977
1003
|
value: any;
|
|
978
1004
|
width: number;
|
|
979
1005
|
}) => void);
|
|
980
|
-
onInitialized?: ((e:
|
|
981
|
-
|
|
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);
|
|
1006
|
+
onInitialized?: ((e: FilterBuilderInitializedEvent) => void);
|
|
1007
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
993
1008
|
onValueChanged?: ((e: {
|
|
994
1009
|
component: dxFilterBuilder;
|
|
995
1010
|
element: any;
|
|
@@ -1277,8 +1292,8 @@ declare type IFormProps = React.PropsWithChildren<{
|
|
|
1277
1292
|
labelLocation?: "left" | "right" | "top";
|
|
1278
1293
|
labelMode?: "static" | "floating" | "hidden" | "outside";
|
|
1279
1294
|
minColWidth?: number;
|
|
1280
|
-
onContentReady?: ((e:
|
|
1281
|
-
onDisposing?: ((e:
|
|
1295
|
+
onContentReady?: ((e: FormContentReadyEvent) => void);
|
|
1296
|
+
onDisposing?: ((e: FormDisposingEvent) => void);
|
|
1282
1297
|
onEditorEnterKey?: ((e: {
|
|
1283
1298
|
component: dxForm;
|
|
1284
1299
|
dataField: string;
|
|
@@ -1292,19 +1307,8 @@ declare type IFormProps = React.PropsWithChildren<{
|
|
|
1292
1307
|
model: any;
|
|
1293
1308
|
value: Record<string, any>;
|
|
1294
1309
|
}) => void);
|
|
1295
|
-
onInitialized?: ((e:
|
|
1296
|
-
|
|
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);
|
|
1310
|
+
onInitialized?: ((e: FormInitializedEvent) => void);
|
|
1311
|
+
onOptionChanged?: ((e: FormOptionChangedEvent) => void);
|
|
1308
1312
|
optionalMark?: string;
|
|
1309
1313
|
readOnly?: boolean;
|
|
1310
1314
|
requiredMark?: string;
|
package/tree-list.js
CHANGED
package/tree-map.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,11 +15,23 @@
|
|
|
15
15
|
import dxTreeMap, { Properties } from "devextreme/viz/tree_map";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { dxTreeMapNode } from "devextreme/viz/tree_map";
|
|
18
|
+
import type { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, dxTreeMapNode } from "devextreme/viz/tree_map";
|
|
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";
|
|
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 ITreeMapOptionsNarrowedEvents = {
|
|
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
|
+
};
|
|
34
|
+
declare type ITreeMapOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITreeMapOptionsNarrowedEvents> & IHtmlOptions & {
|
|
23
35
|
defaultLoadingIndicator?: Record<string, any>;
|
|
24
36
|
onLoadingIndicatorChange?: (value: Record<string, any>) => void;
|
|
25
37
|
}>;
|
package/tree-map.js
CHANGED
package/tree-view.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,30 +12,34 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
-
export { ExplicitTypes } from "devextreme/ui/tree_view";
|
|
16
15
|
import dxTreeView, { Properties } from "devextreme/ui/tree_view";
|
|
17
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
17
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxTreeViewItem } from "devextreme/ui/tree_view";
|
|
20
|
-
import type { dxButtonOptions } from "devextreme/ui/button";
|
|
18
|
+
import type { dxTreeViewItem, ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/tree_view";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent } from "devextreme/ui/button";
|
|
20
|
+
import type { ContentReadyEvent as TextBoxContentReadyEvent, DisposingEvent as TextBoxDisposingEvent, InitializedEvent as TextBoxInitializedEvent, OptionChangedEvent as TextBoxOptionChangedEvent, ChangeEvent, CopyEvent, CutEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InputEvent, KeyDownEvent, KeyUpEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/text_box";
|
|
21
21
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
22
22
|
import type { template } from "devextreme/core/templates/template";
|
|
23
|
-
import type { event
|
|
24
|
-
import type { Component } from "devextreme/core/component";
|
|
23
|
+
import type { event } from "devextreme/events/index";
|
|
25
24
|
import type { dxTextEditorButton } from "devextreme/ui/text_box/ui.text_editor.base";
|
|
26
|
-
import type { ChangeEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, OptionChangedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/text_box";
|
|
27
25
|
import type dxButton from "devextreme/ui/button";
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
27
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
28
|
+
};
|
|
29
|
+
declare type ITreeViewOptionsNarrowedEvents = {
|
|
30
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
31
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
32
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
33
|
+
};
|
|
34
|
+
declare type ITreeViewOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITreeViewOptionsNarrowedEvents> & IHtmlOptions & {
|
|
31
35
|
itemRender?: (...params: any) => React.ReactNode;
|
|
32
36
|
itemComponent?: React.ComponentType<any>;
|
|
33
37
|
itemKeyFn?: (data: any) => string;
|
|
34
38
|
defaultItems?: Array<dxTreeViewItem>;
|
|
35
39
|
onItemsChange?: (value: Array<dxTreeViewItem>) => void;
|
|
36
40
|
}>;
|
|
37
|
-
declare class TreeView
|
|
38
|
-
get instance(): dxTreeView
|
|
41
|
+
declare class TreeView extends BaseComponent<React.PropsWithChildren<ITreeViewOptions>> {
|
|
42
|
+
get instance(): dxTreeView;
|
|
39
43
|
protected _WidgetClass: typeof dxTreeView;
|
|
40
44
|
protected subscribableOptions: string[];
|
|
41
45
|
protected independentEvents: string[];
|
|
@@ -119,21 +123,10 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
119
123
|
model: any;
|
|
120
124
|
validationGroup: Record<string, any>;
|
|
121
125
|
}) => void);
|
|
122
|
-
onContentReady?: ((e:
|
|
123
|
-
onDisposing?: ((e:
|
|
124
|
-
onInitialized?: ((e:
|
|
125
|
-
|
|
126
|
-
element: any;
|
|
127
|
-
}) => void);
|
|
128
|
-
onOptionChanged?: ((e: {
|
|
129
|
-
component: DOMComponent;
|
|
130
|
-
element: any;
|
|
131
|
-
fullName: string;
|
|
132
|
-
model: any;
|
|
133
|
-
name: string;
|
|
134
|
-
previousValue: any;
|
|
135
|
-
value: any;
|
|
136
|
-
}) => void);
|
|
126
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
127
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
128
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
129
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
137
130
|
rtlEnabled?: boolean;
|
|
138
131
|
stylingMode?: "text" | "outlined" | "contained";
|
|
139
132
|
tabIndex?: number;
|
|
@@ -183,18 +176,18 @@ declare type ISearchEditorOptionsProps = React.PropsWithChildren<{
|
|
|
183
176
|
mode?: "email" | "password" | "search" | "tel" | "text" | "url";
|
|
184
177
|
name?: string;
|
|
185
178
|
onChange?: ((e: ChangeEvent) => void);
|
|
186
|
-
onContentReady?: ((e:
|
|
179
|
+
onContentReady?: ((e: TextBoxContentReadyEvent) => void);
|
|
187
180
|
onCopy?: ((e: CopyEvent) => void);
|
|
188
181
|
onCut?: ((e: CutEvent) => void);
|
|
189
|
-
onDisposing?: ((e:
|
|
182
|
+
onDisposing?: ((e: TextBoxDisposingEvent) => void);
|
|
190
183
|
onEnterKey?: ((e: EnterKeyEvent) => void);
|
|
191
184
|
onFocusIn?: ((e: FocusInEvent) => void);
|
|
192
185
|
onFocusOut?: ((e: FocusOutEvent) => void);
|
|
193
|
-
onInitialized?: ((e:
|
|
186
|
+
onInitialized?: ((e: TextBoxInitializedEvent) => void);
|
|
194
187
|
onInput?: ((e: InputEvent) => void);
|
|
195
188
|
onKeyDown?: ((e: KeyDownEvent) => void);
|
|
196
189
|
onKeyUp?: ((e: KeyUpEvent) => void);
|
|
197
|
-
onOptionChanged?: ((e:
|
|
190
|
+
onOptionChanged?: ((e: TextBoxOptionChangedEvent) => void);
|
|
198
191
|
onPaste?: ((e: PasteEvent) => void);
|
|
199
192
|
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
200
193
|
placeholder?: string;
|