devextreme-react 21.2.6 → 21.2.8
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 +6 -6
- package/accordion.js +2 -2
- package/action-sheet.d.ts +6 -6
- package/action-sheet.js +2 -2
- package/autocomplete.d.ts +36 -36
- package/autocomplete.js +2 -2
- package/bar-gauge.d.ts +48 -48
- package/bar-gauge.js +2 -2
- package/box.d.ts +6 -6
- package/box.js +2 -2
- package/bullet.d.ts +17 -18
- package/bullet.js +2 -2
- package/button-group.d.ts +6 -6
- package/button-group.js +2 -2
- package/button.d.ts +4 -4
- package/button.js +2 -2
- package/calendar.d.ts +4 -4
- package/calendar.js +2 -2
- package/chart.d.ts +187 -184
- package/chart.js +2 -2
- package/check-box.d.ts +5 -4
- package/check-box.js +2 -2
- package/circular-gauge.d.ts +48 -48
- package/circular-gauge.js +2 -2
- package/color-box.d.ts +34 -34
- package/color-box.js +2 -2
- package/context-menu.d.ts +34 -34
- package/context-menu.js +2 -2
- package/core/component-base.d.ts +3 -2
- package/core/component-base.js +10 -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 +8 -4
- 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 +3 -3
- package/core/template-wrapper.js +3 -3
- 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 +4 -3
- package/core/templates-store.js +21 -6
- package/core/widget-config.d.ts +2 -2
- package/core/widget-config.js +2 -2
- package/data-grid.d.ts +164 -164
- package/data-grid.js +2 -2
- package/date-box.d.ts +38 -38
- package/date-box.js +2 -2
- package/defer-rendering.d.ts +22 -22
- package/defer-rendering.js +2 -2
- package/diagram.d.ts +56 -56
- package/diagram.js +2 -2
- package/draggable.d.ts +6 -6
- package/draggable.js +2 -2
- package/drawer.d.ts +4 -4
- package/drawer.js +2 -2
- package/drop-down-box.d.ts +34 -34
- package/drop-down-box.js +2 -2
- package/drop-down-button.d.ts +32 -32
- package/drop-down-button.js +2 -2
- package/file-manager.d.ts +27 -28
- package/file-manager.js +2 -2
- package/file-uploader.d.ts +5 -4
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +16 -16
- package/filter-builder.js +2 -2
- package/form.d.ts +48 -48
- package/form.js +2 -2
- package/funnel.d.ts +58 -58
- package/funnel.js +2 -2
- package/gallery.d.ts +6 -6
- package/gallery.js +2 -2
- package/gantt.d.ts +76 -76
- package/gantt.js +2 -2
- package/html-editor.d.ts +22 -22
- package/html-editor.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/linear-gauge.d.ts +50 -50
- package/linear-gauge.js +2 -2
- package/list.d.ts +18 -18
- package/list.js +2 -2
- package/load-indicator.d.ts +4 -4
- package/load-indicator.js +2 -2
- package/load-panel.d.ts +27 -26
- package/load-panel.js +2 -2
- package/lookup.d.ts +36 -36
- package/lookup.js +2 -2
- package/map.d.ts +17 -16
- package/map.js +2 -2
- package/menu.d.ts +34 -34
- package/menu.js +2 -2
- package/multi-view.d.ts +6 -6
- package/multi-view.js +2 -2
- package/nav-bar.d.ts +6 -6
- package/nav-bar.js +2 -2
- package/number-box.d.ts +10 -10
- package/number-box.js +2 -2
- package/package.json +1 -1
- package/pie-chart.d.ts +72 -72
- package/pie-chart.js +2 -2
- package/pivot-grid-field-chooser.d.ts +12 -12
- package/pivot-grid-field-chooser.js +2 -2
- package/pivot-grid.d.ts +28 -28
- package/pivot-grid.js +2 -2
- package/polar-chart.d.ts +142 -142
- package/polar-chart.js +2 -2
- package/popover.d.ts +32 -32
- package/popover.js +2 -2
- package/popup.d.ts +28 -28
- package/popup.js +2 -2
- package/progress-bar.d.ts +5 -4
- package/progress-bar.js +2 -2
- package/radio-group.d.ts +6 -6
- package/radio-group.js +2 -2
- package/range-selector.d.ts +124 -122
- package/range-selector.js +2 -2
- package/range-slider.d.ts +11 -10
- package/range-slider.js +2 -2
- package/recurrence-editor.d.ts +5 -4
- package/recurrence-editor.js +2 -2
- package/resizable.d.ts +5 -4
- package/resizable.js +2 -2
- package/responsive-box.d.ts +12 -12
- package/responsive-box.js +2 -2
- package/sankey.d.ts +42 -42
- package/sankey.js +2 -2
- package/scheduler.d.ts +14 -14
- package/scheduler.js +2 -2
- package/scroll-view.d.ts +4 -4
- package/scroll-view.js +2 -2
- package/select-box.d.ts +36 -36
- package/select-box.js +2 -2
- package/slide-out-view.d.ts +4 -4
- package/slide-out-view.js +2 -2
- package/slide-out.d.ts +6 -6
- package/slide-out.js +2 -2
- package/slider.d.ts +11 -10
- package/slider.js +2 -2
- package/sortable.d.ts +6 -6
- package/sortable.js +2 -2
- package/sparkline.d.ts +17 -18
- package/sparkline.js +2 -2
- package/speed-dial-action.d.ts +4 -4
- package/speed-dial-action.js +2 -2
- package/switch.d.ts +5 -4
- package/switch.js +2 -2
- package/tab-panel.d.ts +6 -6
- package/tab-panel.js +2 -2
- package/tabs.d.ts +6 -6
- package/tabs.js +2 -2
- package/tag-box.d.ts +36 -36
- package/tag-box.js +2 -2
- package/text-area.d.ts +5 -4
- package/text-area.js +2 -2
- package/text-box.d.ts +8 -8
- package/text-box.js +2 -2
- package/tile-view.d.ts +6 -6
- package/tile-view.js +8 -3
- package/toast.d.ts +26 -26
- package/toast.js +2 -2
- package/toolbar.d.ts +6 -6
- package/toolbar.js +2 -2
- package/tooltip.d.ts +30 -30
- package/tooltip.js +2 -2
- package/tree-list.d.ts +140 -140
- package/tree-list.js +2 -2
- package/tree-map.d.ts +46 -46
- package/tree-map.js +2 -2
- package/tree-view.d.ts +12 -12
- package/tree-view.js +2 -2
- package/ui/accordion.d.ts +2 -2
- package/ui/accordion.js +2 -2
- package/ui/action-sheet.d.ts +2 -2
- package/ui/action-sheet.js +2 -2
- package/ui/autocomplete.d.ts +2 -2
- package/ui/autocomplete.js +2 -2
- package/ui/bar-gauge.d.ts +2 -2
- package/ui/bar-gauge.js +2 -2
- package/ui/box.d.ts +2 -2
- package/ui/box.js +2 -2
- package/ui/bullet.d.ts +2 -2
- package/ui/bullet.js +2 -2
- package/ui/button-group.d.ts +2 -2
- package/ui/button-group.js +2 -2
- package/ui/button.d.ts +2 -2
- package/ui/button.js +2 -2
- package/ui/calendar.d.ts +2 -2
- package/ui/calendar.js +2 -2
- package/ui/chart.d.ts +2 -2
- package/ui/chart.js +2 -2
- package/ui/check-box.d.ts +2 -2
- package/ui/check-box.js +2 -2
- package/ui/circular-gauge.d.ts +2 -2
- package/ui/circular-gauge.js +2 -2
- package/ui/color-box.d.ts +2 -2
- package/ui/color-box.js +2 -2
- package/ui/context-menu.d.ts +2 -2
- package/ui/context-menu.js +2 -2
- package/ui/data-grid.d.ts +2 -2
- package/ui/data-grid.js +2 -2
- package/ui/date-box.d.ts +2 -2
- package/ui/date-box.js +2 -2
- package/ui/defer-rendering.d.ts +2 -2
- package/ui/defer-rendering.js +2 -2
- package/ui/diagram.d.ts +2 -2
- package/ui/diagram.js +2 -2
- package/ui/draggable.d.ts +2 -2
- package/ui/draggable.js +2 -2
- package/ui/drawer.d.ts +2 -2
- package/ui/drawer.js +2 -2
- package/ui/drop-down-box.d.ts +2 -2
- package/ui/drop-down-box.js +2 -2
- package/ui/drop-down-button.d.ts +2 -2
- package/ui/drop-down-button.js +2 -2
- package/ui/file-manager.d.ts +2 -2
- package/ui/file-manager.js +2 -2
- package/ui/file-uploader.d.ts +2 -2
- package/ui/file-uploader.js +2 -2
- package/ui/filter-builder.d.ts +2 -2
- package/ui/filter-builder.js +2 -2
- package/ui/form.d.ts +2 -2
- package/ui/form.js +2 -2
- package/ui/funnel.d.ts +2 -2
- package/ui/funnel.js +2 -2
- package/ui/gallery.d.ts +2 -2
- package/ui/gallery.js +2 -2
- package/ui/gantt.d.ts +2 -2
- package/ui/gantt.js +2 -2
- package/ui/html-editor.d.ts +2 -2
- package/ui/html-editor.js +2 -2
- package/ui/linear-gauge.d.ts +2 -2
- package/ui/linear-gauge.js +2 -2
- package/ui/list.d.ts +2 -2
- package/ui/list.js +2 -2
- package/ui/load-indicator.d.ts +2 -2
- package/ui/load-indicator.js +2 -2
- package/ui/load-panel.d.ts +2 -2
- package/ui/load-panel.js +2 -2
- package/ui/lookup.d.ts +2 -2
- package/ui/lookup.js +2 -2
- package/ui/map.d.ts +2 -2
- package/ui/map.js +2 -2
- package/ui/menu.d.ts +2 -2
- package/ui/menu.js +2 -2
- package/ui/multi-view.d.ts +2 -2
- package/ui/multi-view.js +2 -2
- package/ui/nav-bar.d.ts +2 -2
- package/ui/nav-bar.js +2 -2
- package/ui/number-box.d.ts +2 -2
- package/ui/number-box.js +2 -2
- package/ui/pie-chart.d.ts +2 -2
- package/ui/pie-chart.js +2 -2
- package/ui/pivot-grid-field-chooser.d.ts +2 -2
- package/ui/pivot-grid-field-chooser.js +2 -2
- package/ui/pivot-grid.d.ts +2 -2
- package/ui/pivot-grid.js +2 -2
- package/ui/polar-chart.d.ts +2 -2
- package/ui/polar-chart.js +2 -2
- package/ui/popover.d.ts +2 -2
- package/ui/popover.js +2 -2
- package/ui/popup.d.ts +2 -2
- package/ui/popup.js +2 -2
- package/ui/progress-bar.d.ts +2 -2
- package/ui/progress-bar.js +2 -2
- package/ui/radio-group.d.ts +2 -2
- package/ui/radio-group.js +2 -2
- package/ui/range-selector.d.ts +2 -2
- package/ui/range-selector.js +2 -2
- package/ui/range-slider.d.ts +2 -2
- package/ui/range-slider.js +2 -2
- package/ui/recurrence-editor.d.ts +2 -2
- package/ui/recurrence-editor.js +2 -2
- package/ui/resizable.d.ts +2 -2
- package/ui/resizable.js +2 -2
- package/ui/responsive-box.d.ts +2 -2
- package/ui/responsive-box.js +2 -2
- package/ui/sankey.d.ts +2 -2
- package/ui/sankey.js +2 -2
- package/ui/scheduler.d.ts +2 -2
- package/ui/scheduler.js +2 -2
- package/ui/scroll-view.d.ts +2 -2
- package/ui/scroll-view.js +2 -2
- package/ui/select-box.d.ts +2 -2
- package/ui/select-box.js +2 -2
- package/ui/slide-out-view.d.ts +2 -2
- package/ui/slide-out-view.js +2 -2
- package/ui/slide-out.d.ts +2 -2
- package/ui/slide-out.js +2 -2
- package/ui/slider.d.ts +2 -2
- package/ui/slider.js +2 -2
- package/ui/sortable.d.ts +2 -2
- package/ui/sortable.js +2 -2
- package/ui/sparkline.d.ts +2 -2
- package/ui/sparkline.js +2 -2
- package/ui/speed-dial-action.d.ts +2 -2
- package/ui/speed-dial-action.js +2 -2
- package/ui/switch.d.ts +2 -2
- package/ui/switch.js +2 -2
- package/ui/tab-panel.d.ts +2 -2
- package/ui/tab-panel.js +2 -2
- package/ui/tabs.d.ts +2 -2
- package/ui/tabs.js +2 -2
- package/ui/tag-box.d.ts +2 -2
- package/ui/tag-box.js +2 -2
- package/ui/text-area.d.ts +2 -2
- package/ui/text-area.js +2 -2
- package/ui/text-box.d.ts +2 -2
- package/ui/text-box.js +2 -2
- package/ui/tile-view.d.ts +2 -2
- package/ui/tile-view.js +2 -2
- package/ui/toast.d.ts +2 -2
- package/ui/toast.js +2 -2
- package/ui/toolbar.d.ts +2 -2
- package/ui/toolbar.js +2 -2
- package/ui/tooltip.d.ts +2 -2
- package/ui/tooltip.js +2 -2
- package/ui/tree-list.d.ts +2 -2
- package/ui/tree-list.js +2 -2
- package/ui/tree-map.d.ts +2 -2
- package/ui/tree-map.js +2 -2
- package/ui/tree-view.d.ts +2 -2
- package/ui/tree-view.js +2 -2
- package/ui/validation-group.d.ts +2 -2
- package/ui/validation-group.js +2 -2
- package/ui/validation-summary.d.ts +2 -2
- package/ui/validation-summary.js +2 -2
- package/ui/validator.d.ts +2 -2
- package/ui/validator.js +2 -2
- package/ui/vector-map.d.ts +2 -2
- package/ui/vector-map.js +2 -2
- package/validation-group.d.ts +4 -4
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +6 -6
- package/validation-summary.js +2 -2
- package/validator.d.ts +25 -24
- package/validator.js +2 -2
- package/vector-map.d.ts +58 -58
- package/vector-map.js +2 -2
package/context-menu.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 21.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 21.2.8
|
|
4
|
+
* Build date: Tue Jun 07 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,7 +16,7 @@ export { ExplicitTypes } from "devextreme/ui/context_menu";
|
|
|
16
16
|
import dxContextMenu, { Properties } from "devextreme/ui/context_menu";
|
|
17
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
18
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
|
|
19
|
+
declare type IContextMenuOptions<TKey = any> = React.PropsWithChildren<Properties<TKey> & IHtmlOptions & {
|
|
20
20
|
dataSource?: Properties<TKey>["dataSource"];
|
|
21
21
|
itemRender?: (...params: any) => React.ReactNode;
|
|
22
22
|
itemComponent?: React.ComponentType<any>;
|
|
@@ -27,7 +27,7 @@ interface IContextMenuOptions<TKey = any> extends Properties<TKey>, IHtmlOptions
|
|
|
27
27
|
onItemsChange?: (value: any) => void;
|
|
28
28
|
onSelectedItemChange?: (value: any) => void;
|
|
29
29
|
onVisibleChange?: (value: any) => void;
|
|
30
|
-
}
|
|
30
|
+
}>;
|
|
31
31
|
declare class ContextMenu<TKey = any> extends BaseComponent<IContextMenuOptions<TKey>> {
|
|
32
32
|
get instance(): dxContextMenu<TKey>;
|
|
33
33
|
protected _WidgetClass: typeof dxContextMenu;
|
|
@@ -67,10 +67,10 @@ declare class ContextMenu<TKey = any> extends BaseComponent<IContextMenuOptions<
|
|
|
67
67
|
keyFn: string;
|
|
68
68
|
}[];
|
|
69
69
|
}
|
|
70
|
-
|
|
70
|
+
declare type IAnimationProps = React.PropsWithChildren<{
|
|
71
71
|
hide?: any;
|
|
72
72
|
show?: any;
|
|
73
|
-
}
|
|
73
|
+
}>;
|
|
74
74
|
declare class Animation extends NestedOption<IAnimationProps> {
|
|
75
75
|
static OptionName: string;
|
|
76
76
|
static ExpectedChildren: {
|
|
@@ -84,41 +84,41 @@ declare class Animation extends NestedOption<IAnimationProps> {
|
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
86
|
}
|
|
87
|
-
|
|
87
|
+
declare type IAtProps = React.PropsWithChildren<{
|
|
88
88
|
x?: any;
|
|
89
89
|
y?: any;
|
|
90
|
-
}
|
|
90
|
+
}>;
|
|
91
91
|
declare class At extends NestedOption<IAtProps> {
|
|
92
92
|
static OptionName: string;
|
|
93
93
|
}
|
|
94
|
-
|
|
94
|
+
declare type IBoundaryOffsetProps = React.PropsWithChildren<{
|
|
95
95
|
x?: any;
|
|
96
96
|
y?: any;
|
|
97
|
-
}
|
|
97
|
+
}>;
|
|
98
98
|
declare class BoundaryOffset extends NestedOption<IBoundaryOffsetProps> {
|
|
99
99
|
static OptionName: string;
|
|
100
100
|
}
|
|
101
|
-
|
|
101
|
+
declare type ICollisionProps = React.PropsWithChildren<{
|
|
102
102
|
x?: any;
|
|
103
103
|
y?: any;
|
|
104
|
-
}
|
|
104
|
+
}>;
|
|
105
105
|
declare class Collision extends NestedOption<ICollisionProps> {
|
|
106
106
|
static OptionName: string;
|
|
107
107
|
}
|
|
108
|
-
|
|
108
|
+
declare type IDelayProps = React.PropsWithChildren<{
|
|
109
109
|
hide?: any;
|
|
110
110
|
show?: any;
|
|
111
|
-
}
|
|
111
|
+
}>;
|
|
112
112
|
declare class Delay extends NestedOption<IDelayProps> {
|
|
113
113
|
static OptionName: string;
|
|
114
114
|
}
|
|
115
|
-
|
|
115
|
+
declare type IFromProps = React.PropsWithChildren<{
|
|
116
116
|
left?: any;
|
|
117
117
|
opacity?: any;
|
|
118
118
|
position?: any;
|
|
119
119
|
scale?: any;
|
|
120
120
|
top?: any;
|
|
121
|
-
}
|
|
121
|
+
}>;
|
|
122
122
|
declare class From extends NestedOption<IFromProps> {
|
|
123
123
|
static OptionName: string;
|
|
124
124
|
static ExpectedChildren: {
|
|
@@ -128,7 +128,7 @@ declare class From extends NestedOption<IFromProps> {
|
|
|
128
128
|
};
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
-
|
|
131
|
+
declare type IHideProps = React.PropsWithChildren<{
|
|
132
132
|
complete?: any;
|
|
133
133
|
delay?: any;
|
|
134
134
|
direction?: any;
|
|
@@ -139,7 +139,7 @@ interface IHideProps {
|
|
|
139
139
|
start?: any;
|
|
140
140
|
to?: any;
|
|
141
141
|
type?: any;
|
|
142
|
-
}
|
|
142
|
+
}>;
|
|
143
143
|
declare class Hide extends NestedOption<IHideProps> {
|
|
144
144
|
static OptionName: string;
|
|
145
145
|
static ExpectedChildren: {
|
|
@@ -153,7 +153,7 @@ declare class Hide extends NestedOption<IHideProps> {
|
|
|
153
153
|
};
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
declare type IItemProps = React.PropsWithChildren<{
|
|
157
157
|
beginGroup?: any;
|
|
158
158
|
closeMenuOnClick?: any;
|
|
159
159
|
disabled?: any;
|
|
@@ -168,7 +168,7 @@ interface IItemProps {
|
|
|
168
168
|
render?: (...params: any) => React.ReactNode;
|
|
169
169
|
component?: React.ComponentType<any>;
|
|
170
170
|
keyFn?: (data: any) => string;
|
|
171
|
-
}
|
|
171
|
+
}>;
|
|
172
172
|
declare class Item extends NestedOption<IItemProps> {
|
|
173
173
|
static OptionName: string;
|
|
174
174
|
static IsCollectionItem: boolean;
|
|
@@ -179,21 +179,21 @@ declare class Item extends NestedOption<IItemProps> {
|
|
|
179
179
|
keyFn: string;
|
|
180
180
|
}[];
|
|
181
181
|
}
|
|
182
|
-
|
|
182
|
+
declare type IMyProps = React.PropsWithChildren<{
|
|
183
183
|
x?: any;
|
|
184
184
|
y?: any;
|
|
185
|
-
}
|
|
185
|
+
}>;
|
|
186
186
|
declare class My extends NestedOption<IMyProps> {
|
|
187
187
|
static OptionName: string;
|
|
188
188
|
}
|
|
189
|
-
|
|
189
|
+
declare type IOffsetProps = React.PropsWithChildren<{
|
|
190
190
|
x?: any;
|
|
191
191
|
y?: any;
|
|
192
|
-
}
|
|
192
|
+
}>;
|
|
193
193
|
declare class Offset extends NestedOption<IOffsetProps> {
|
|
194
194
|
static OptionName: string;
|
|
195
195
|
}
|
|
196
|
-
|
|
196
|
+
declare type IPositionProps = React.PropsWithChildren<{
|
|
197
197
|
at?: object | string | {
|
|
198
198
|
x?: any;
|
|
199
199
|
y?: any;
|
|
@@ -216,11 +216,11 @@ interface IPositionProps {
|
|
|
216
216
|
x?: any;
|
|
217
217
|
y?: any;
|
|
218
218
|
};
|
|
219
|
-
}
|
|
219
|
+
}>;
|
|
220
220
|
declare class Position extends NestedOption<IPositionProps> {
|
|
221
221
|
static OptionName: string;
|
|
222
222
|
}
|
|
223
|
-
|
|
223
|
+
declare type IShowProps = React.PropsWithChildren<{
|
|
224
224
|
complete?: any;
|
|
225
225
|
delay?: any;
|
|
226
226
|
direction?: any;
|
|
@@ -231,24 +231,24 @@ interface IShowProps {
|
|
|
231
231
|
start?: any;
|
|
232
232
|
to?: any;
|
|
233
233
|
type?: any;
|
|
234
|
-
}
|
|
234
|
+
}>;
|
|
235
235
|
declare class Show extends NestedOption<IShowProps> {
|
|
236
236
|
static OptionName: string;
|
|
237
237
|
}
|
|
238
|
-
|
|
238
|
+
declare type IShowEventProps = React.PropsWithChildren<{
|
|
239
239
|
delay?: any;
|
|
240
240
|
name?: any;
|
|
241
|
-
}
|
|
241
|
+
}>;
|
|
242
242
|
declare class ShowEvent extends NestedOption<IShowEventProps> {
|
|
243
243
|
static OptionName: string;
|
|
244
244
|
}
|
|
245
|
-
|
|
245
|
+
declare type IShowSubmenuModeProps = React.PropsWithChildren<{
|
|
246
246
|
delay?: number | object | {
|
|
247
247
|
hide?: any;
|
|
248
248
|
show?: any;
|
|
249
249
|
};
|
|
250
250
|
name?: any;
|
|
251
|
-
}
|
|
251
|
+
}>;
|
|
252
252
|
declare class ShowSubmenuMode extends NestedOption<IShowSubmenuModeProps> {
|
|
253
253
|
static OptionName: string;
|
|
254
254
|
static ExpectedChildren: {
|
|
@@ -258,13 +258,13 @@ declare class ShowSubmenuMode extends NestedOption<IShowSubmenuModeProps> {
|
|
|
258
258
|
};
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
|
-
|
|
261
|
+
declare type IToProps = React.PropsWithChildren<{
|
|
262
262
|
left?: any;
|
|
263
263
|
opacity?: any;
|
|
264
264
|
position?: any;
|
|
265
265
|
scale?: any;
|
|
266
266
|
top?: any;
|
|
267
|
-
}
|
|
267
|
+
}>;
|
|
268
268
|
declare class To extends NestedOption<IToProps> {
|
|
269
269
|
static OptionName: string;
|
|
270
270
|
}
|
package/context-menu.js
CHANGED
package/core/component-base.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 21.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 21.2.8
|
|
4
|
+
* Build date: Tue Jun 07 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -32,6 +32,7 @@ declare abstract class ComponentBase<P extends IHtmlOptions> extends React.PureC
|
|
|
32
32
|
protected readonly _expectedChildren: Record<string, IExpectedChild>;
|
|
33
33
|
protected readonly subscribableOptions: string[];
|
|
34
34
|
protected readonly independentEvents: string[];
|
|
35
|
+
private _childNode;
|
|
35
36
|
private _templatesRendererRef;
|
|
36
37
|
private _templatesStore;
|
|
37
38
|
private _templatesManager;
|
package/core/component-base.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 21.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 21.2.8
|
|
4
|
+
* Build date: Tue Jun 07 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -80,6 +80,12 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
80
80
|
: { display: 'contents' };
|
|
81
81
|
};
|
|
82
82
|
ComponentBase.prototype.componentDidMount = function () {
|
|
83
|
+
if (this._childNode) {
|
|
84
|
+
this._element.appendChild(this._childNode);
|
|
85
|
+
}
|
|
86
|
+
if (!this._childNode && this._element.childNodes.length) {
|
|
87
|
+
this._childNode = this._element.childNodes[0];
|
|
88
|
+
}
|
|
83
89
|
this._updateCssClasses(null, this.props);
|
|
84
90
|
};
|
|
85
91
|
ComponentBase.prototype.componentDidUpdate = function (prevProps) {
|
|
@@ -91,7 +97,9 @@ var ComponentBase = /** @class */ (function (_super) {
|
|
|
91
97
|
}
|
|
92
98
|
};
|
|
93
99
|
ComponentBase.prototype.componentWillUnmount = function () {
|
|
100
|
+
var _a, _b;
|
|
94
101
|
if (this._instance) {
|
|
102
|
+
(_b = (_a = this._childNode) === null || _a === void 0 ? void 0 : _a.parentNode) === null || _b === void 0 ? void 0 : _b.removeChild(this._childNode);
|
|
95
103
|
events.triggerHandler(this._element, DX_REMOVE_EVENT);
|
|
96
104
|
this._instance.dispose();
|
|
97
105
|
}
|
package/core/component.d.ts
CHANGED
package/core/component.js
CHANGED
package/core/config.d.ts
CHANGED
package/core/config.js
CHANGED
package/core/dx-template.d.ts
CHANGED
package/core/dx-template.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 21.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 21.2.8
|
|
4
|
+
* Build date: Tue Jun 07 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -47,10 +47,14 @@ function createDxTemplate(createContentProvider, templatesStore, keyFn) {
|
|
|
47
47
|
content: contentProvider(props),
|
|
48
48
|
container: container,
|
|
49
49
|
onRemoved: function () {
|
|
50
|
-
templatesStore.
|
|
50
|
+
templatesStore.setDeferredRemove(templateId, true);
|
|
51
51
|
renderedTemplates.delete({ key1: data.model, key2: container });
|
|
52
52
|
},
|
|
53
|
-
|
|
53
|
+
onDidMount: function () {
|
|
54
|
+
var _a;
|
|
55
|
+
templatesStore.setDeferredRemove(templateId, false);
|
|
56
|
+
(_a = data.onRendered) === null || _a === void 0 ? void 0 : _a.call(data);
|
|
57
|
+
},
|
|
54
58
|
key: templateId,
|
|
55
59
|
});
|
|
56
60
|
});
|
package/core/helpers.d.ts
CHANGED
package/core/helpers.js
CHANGED
package/core/nested-option.d.ts
CHANGED
package/core/nested-option.js
CHANGED
package/core/options-manager.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 21.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 21.2.8
|
|
4
|
+
* Build date: Tue Jun 07 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,7 +16,7 @@ interface ITemplateWrapperProps {
|
|
|
16
16
|
content: any;
|
|
17
17
|
container: Element;
|
|
18
18
|
onRemoved: () => void;
|
|
19
|
-
|
|
19
|
+
onDidMount?: () => void;
|
|
20
20
|
key: string;
|
|
21
21
|
}
|
|
22
22
|
interface ITemplateWrapperState {
|
package/core/template-wrapper.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 21.2.
|
|
4
|
-
* Build date: Tue
|
|
3
|
+
* Version: 21.2.8
|
|
4
|
+
* Build date: Tue Jun 07 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -50,7 +50,7 @@ var TemplateWrapper = /** @class */ (function (_super) {
|
|
|
50
50
|
TemplateWrapper.prototype.componentDidMount = function () {
|
|
51
51
|
var _a, _b;
|
|
52
52
|
this._subscribeOnRemove();
|
|
53
|
-
(_b = (_a = this.props).
|
|
53
|
+
(_b = (_a = this.props).onDidMount) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
54
54
|
};
|
|
55
55
|
TemplateWrapper.prototype.componentDidUpdate = function () {
|
|
56
56
|
this._subscribeOnRemove();
|
package/core/template.d.ts
CHANGED