devextreme-react 22.1.3 → 22.1.4
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 +3 -3
- package/accordion.js +2 -7
- package/action-sheet.d.ts +3 -3
- package/action-sheet.js +2 -7
- package/autocomplete.d.ts +3 -3
- package/autocomplete.js +2 -7
- package/bar-gauge.d.ts +3 -3
- package/bar-gauge.js +2 -2
- package/box.d.ts +3 -3
- package/box.js +2 -7
- package/bullet.d.ts +3 -3
- package/bullet.js +2 -2
- package/button-group.d.ts +3 -3
- package/button-group.js +2 -2
- package/button.d.ts +3 -3
- package/button.js +2 -2
- package/calendar.d.ts +3 -3
- package/calendar.js +2 -2
- package/chart.d.ts +3 -3
- package/chart.js +2 -7
- package/check-box.d.ts +3 -3
- package/check-box.js +2 -2
- package/circular-gauge.d.ts +3 -3
- package/circular-gauge.js +2 -2
- package/color-box.d.ts +3 -3
- package/color-box.js +2 -2
- package/context-menu.d.ts +3 -3
- package/context-menu.js +2 -7
- package/core/component-base.d.ts +3 -3
- package/core/component-base.js +11 -8
- 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 +21 -6
- 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 +11 -3
- package/data-grid.js +8 -8
- package/date-box.d.ts +3 -3
- package/date-box.js +2 -2
- package/defer-rendering.d.ts +3 -3
- package/defer-rendering.js +2 -2
- package/diagram.d.ts +3 -3
- package/diagram.js +2 -2
- package/draggable.d.ts +3 -3
- package/draggable.js +2 -2
- package/drawer.d.ts +3 -3
- package/drawer.js +2 -2
- package/drop-down-box.d.ts +3 -3
- package/drop-down-box.js +2 -7
- package/drop-down-button.d.ts +3 -3
- package/drop-down-button.js +2 -7
- package/file-manager.d.ts +3 -3
- package/file-manager.js +2 -2
- package/file-uploader.d.ts +3 -3
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +3 -3
- package/filter-builder.js +2 -2
- package/form.d.ts +3 -3
- package/form.js +2 -2
- package/funnel.d.ts +3 -3
- package/funnel.js +2 -7
- package/gallery.d.ts +3 -3
- package/gallery.js +2 -7
- package/gantt.d.ts +6 -5
- package/gantt.js +7 -2
- package/html-editor.d.ts +3 -3
- package/html-editor.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/linear-gauge.d.ts +3 -3
- package/linear-gauge.js +2 -2
- package/list.d.ts +3 -3
- package/list.js +2 -7
- package/load-indicator.d.ts +3 -3
- package/load-indicator.js +2 -2
- package/load-panel.d.ts +3 -3
- package/load-panel.js +2 -2
- package/lookup.d.ts +3 -3
- package/lookup.js +2 -7
- package/map.d.ts +3 -3
- package/map.js +2 -2
- package/menu.d.ts +3 -3
- package/menu.js +2 -7
- package/multi-view.d.ts +3 -3
- package/multi-view.js +2 -7
- package/nav-bar.d.ts +3 -3
- package/nav-bar.js +2 -7
- package/number-box.d.ts +3 -3
- package/number-box.js +2 -2
- package/package.json +13 -14
- package/pie-chart.d.ts +3 -3
- package/pie-chart.js +2 -7
- package/pivot-grid-field-chooser.d.ts +3 -3
- package/pivot-grid-field-chooser.js +3 -3
- package/pivot-grid.d.ts +3 -3
- package/pivot-grid.js +2 -6
- package/polar-chart.d.ts +3 -3
- package/polar-chart.js +2 -7
- package/popover.d.ts +3 -3
- package/popover.js +2 -2
- package/popup.d.ts +3 -3
- package/popup.js +2 -2
- package/progress-bar.d.ts +3 -3
- package/progress-bar.js +2 -2
- package/radio-group.d.ts +3 -3
- package/radio-group.js +2 -7
- package/range-selector.d.ts +3 -3
- package/range-selector.js +2 -7
- package/range-slider.d.ts +3 -3
- package/range-slider.js +2 -2
- package/recurrence-editor.d.ts +3 -3
- package/recurrence-editor.js +2 -2
- package/resizable.d.ts +3 -3
- package/resizable.js +2 -2
- package/responsive-box.d.ts +3 -3
- package/responsive-box.js +2 -7
- package/sankey.d.ts +3 -3
- package/sankey.js +2 -7
- package/scheduler.d.ts +3 -3
- package/scheduler.js +2 -7
- package/scroll-view.d.ts +3 -3
- package/scroll-view.js +2 -2
- package/select-box.d.ts +3 -3
- package/select-box.js +2 -7
- package/slide-out-view.d.ts +3 -3
- package/slide-out-view.js +2 -2
- package/slide-out.d.ts +3 -3
- package/slide-out.js +2 -7
- package/slider.d.ts +3 -3
- package/slider.js +2 -2
- package/sortable.d.ts +3 -3
- package/sortable.js +2 -2
- package/sparkline.d.ts +3 -3
- package/sparkline.js +2 -7
- package/speed-dial-action.d.ts +3 -3
- package/speed-dial-action.js +2 -2
- package/switch.d.ts +3 -3
- package/switch.js +2 -2
- package/tab-panel.d.ts +3 -3
- package/tab-panel.js +2 -7
- package/tabs.d.ts +3 -3
- package/tabs.js +2 -7
- package/tag-box.d.ts +3 -3
- package/tag-box.js +2 -7
- package/text-area.d.ts +3 -3
- package/text-area.js +2 -2
- package/text-box.d.ts +3 -3
- package/text-box.js +2 -2
- package/tile-view.d.ts +3 -3
- package/tile-view.js +2 -7
- package/toast.d.ts +3 -3
- package/toast.js +2 -2
- package/toolbar.d.ts +3 -3
- package/toolbar.js +2 -7
- package/tooltip.d.ts +3 -3
- package/tooltip.js +2 -2
- package/tree-list.d.ts +3 -3
- package/tree-list.js +3 -7
- package/tree-map.d.ts +3 -3
- package/tree-map.js +2 -7
- package/tree-view.d.ts +3 -3
- package/tree-view.js +2 -7
- 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 +3 -3
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +3 -3
- package/validation-summary.js +2 -2
- package/validator.d.ts +3 -3
- package/validator.js +2 -2
- package/vector-map.d.ts +3 -3
- package/vector-map.js +2 -2
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: 22.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.4
|
|
4
|
+
* Build date: Fri Jul 22 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -17,6 +17,8 @@ exports.createDxTemplate = void 0;
|
|
|
17
17
|
var React = require("react");
|
|
18
18
|
var helpers_1 = require("./helpers");
|
|
19
19
|
var template_wrapper_1 = require("./template-wrapper");
|
|
20
|
+
var component_base_1 = require("./component-base");
|
|
21
|
+
var events = require("devextreme/events");
|
|
20
22
|
function unwrapElement(element) {
|
|
21
23
|
return element.get ? element.get(0) : element;
|
|
22
24
|
}
|
|
@@ -28,6 +30,20 @@ function createDxTemplate(createContentProvider, templatesStore, keyFn) {
|
|
|
28
30
|
var key = { key1: data.model, key2: container };
|
|
29
31
|
var prevTemplateId = renderedTemplates.get(key);
|
|
30
32
|
var templateId;
|
|
33
|
+
var onRemoved = function () {
|
|
34
|
+
templatesStore.setDeferredRemove(templateId, true);
|
|
35
|
+
renderedTemplates.delete(key);
|
|
36
|
+
};
|
|
37
|
+
var _subscribeOnContainerRemoval = function () {
|
|
38
|
+
if (container.nodeType === Node.ELEMENT_NODE) {
|
|
39
|
+
events.one(container, component_base_1.DX_REMOVE_EVENT, onRemoved);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
var _unsubscribeOnContainerRemoval = function () {
|
|
43
|
+
if (container.nodeType === Node.ELEMENT_NODE) {
|
|
44
|
+
events.off(container, component_base_1.DX_REMOVE_EVENT, onRemoved);
|
|
45
|
+
}
|
|
46
|
+
};
|
|
31
47
|
if (prevTemplateId) {
|
|
32
48
|
templateId = prevTemplateId;
|
|
33
49
|
}
|
|
@@ -37,6 +53,7 @@ function createDxTemplate(createContentProvider, templatesStore, keyFn) {
|
|
|
37
53
|
renderedTemplates.set(key, templateId);
|
|
38
54
|
}
|
|
39
55
|
}
|
|
56
|
+
_subscribeOnContainerRemoval();
|
|
40
57
|
templatesStore.add(templateId, function () {
|
|
41
58
|
var props = {
|
|
42
59
|
data: data.model,
|
|
@@ -46,12 +63,10 @@ function createDxTemplate(createContentProvider, templatesStore, keyFn) {
|
|
|
46
63
|
return React.createElement(template_wrapper_1.TemplateWrapper, {
|
|
47
64
|
content: contentProvider(props),
|
|
48
65
|
container: container,
|
|
49
|
-
onRemoved:
|
|
50
|
-
templatesStore.setDeferredRemove(templateId, true);
|
|
51
|
-
renderedTemplates.delete({ key1: data.model, key2: container });
|
|
52
|
-
},
|
|
66
|
+
onRemoved: onRemoved,
|
|
53
67
|
onDidMount: function () {
|
|
54
68
|
var _a;
|
|
69
|
+
_unsubscribeOnContainerRemoval();
|
|
55
70
|
templatesStore.setDeferredRemove(templateId, false);
|
|
56
71
|
(_a = data.onRendered) === null || _a === void 0 ? void 0 : _a.call(data);
|
|
57
72
|
},
|
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
package/core/template-wrapper.js
CHANGED
package/core/template.d.ts
CHANGED
package/core/template.js
CHANGED
package/core/templates-store.js
CHANGED
package/core/widget-config.d.ts
CHANGED
package/core/widget-config.js
CHANGED
package/data-grid.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 22.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.4
|
|
4
|
+
* Build date: Fri Jul 22 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -31,6 +31,7 @@ declare type IDataGridOptions<TRowData = any, TKey = any> = React.PropsWithChild
|
|
|
31
31
|
defaultFocusedColumnIndex?: any;
|
|
32
32
|
defaultFocusedRowIndex?: any;
|
|
33
33
|
defaultFocusedRowKey?: any;
|
|
34
|
+
defaultGroupPanel?: any;
|
|
34
35
|
defaultPaging?: any;
|
|
35
36
|
defaultSearchPanel?: any;
|
|
36
37
|
defaultSelectedRowKeys?: any;
|
|
@@ -42,12 +43,13 @@ declare type IDataGridOptions<TRowData = any, TKey = any> = React.PropsWithChild
|
|
|
42
43
|
onFocusedColumnIndexChange?: (value: any) => void;
|
|
43
44
|
onFocusedRowIndexChange?: (value: any) => void;
|
|
44
45
|
onFocusedRowKeyChange?: (value: any) => void;
|
|
46
|
+
onGroupPanelChange?: (value: any) => void;
|
|
45
47
|
onPagingChange?: (value: any) => void;
|
|
46
48
|
onSearchPanelChange?: (value: any) => void;
|
|
47
49
|
onSelectedRowKeysChange?: (value: any) => void;
|
|
48
50
|
onSelectionFilterChange?: (value: any) => void;
|
|
49
51
|
}>;
|
|
50
|
-
declare class DataGrid<TRowData = any, TKey = any> extends BaseComponent<IDataGridOptions<TRowData, TKey
|
|
52
|
+
declare class DataGrid<TRowData = any, TKey = any> extends BaseComponent<React.PropsWithChildren<IDataGridOptions<TRowData, TKey>>> {
|
|
51
53
|
get instance(): dxDataGrid<TRowData, TKey>;
|
|
52
54
|
protected _WidgetClass: typeof dxDataGrid;
|
|
53
55
|
protected useRequestAnimationFrameFlag: boolean;
|
|
@@ -61,6 +63,7 @@ declare class DataGrid<TRowData = any, TKey = any> extends BaseComponent<IDataGr
|
|
|
61
63
|
defaultFocusedColumnIndex: string;
|
|
62
64
|
defaultFocusedRowIndex: string;
|
|
63
65
|
defaultFocusedRowKey: string;
|
|
66
|
+
defaultGroupPanel: string;
|
|
64
67
|
defaultPaging: string;
|
|
65
68
|
defaultSearchPanel: string;
|
|
66
69
|
defaultSelectedRowKeys: string;
|
|
@@ -1328,9 +1331,14 @@ declare type IGroupPanelProps = React.PropsWithChildren<{
|
|
|
1328
1331
|
allowColumnDragging?: any;
|
|
1329
1332
|
emptyPanelText?: any;
|
|
1330
1333
|
visible?: any;
|
|
1334
|
+
defaultVisible?: any;
|
|
1335
|
+
onVisibleChange?: (value: any) => void;
|
|
1331
1336
|
}>;
|
|
1332
1337
|
declare class GroupPanel extends NestedOption<IGroupPanelProps> {
|
|
1333
1338
|
static OptionName: string;
|
|
1339
|
+
static DefaultsProps: {
|
|
1340
|
+
defaultVisible: string;
|
|
1341
|
+
};
|
|
1334
1342
|
}
|
|
1335
1343
|
declare type IHeaderFilterProps = React.PropsWithChildren<{
|
|
1336
1344
|
allowSearch?: any;
|
package/data-grid.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 22.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.4
|
|
4
|
+
* Build date: Fri Jul 22 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -40,7 +40,7 @@ var DataGrid = /** @class */ (function (_super) {
|
|
|
40
40
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
41
41
|
_this._WidgetClass = data_grid_1.default;
|
|
42
42
|
_this.useRequestAnimationFrameFlag = true;
|
|
43
|
-
_this.subscribableOptions = ["columns", "editing", "editing.changes", "editing.editColumnName", "editing.editRowKey", "filterPanel", "filterPanel.filterEnabled", "filterValue", "focusedColumnIndex", "focusedRowIndex", "focusedRowKey", "paging", "paging.pageIndex", "paging.pageSize", "searchPanel", "searchPanel.text", "selectedRowKeys", "selectionFilter"];
|
|
43
|
+
_this.subscribableOptions = ["columns", "editing", "editing.changes", "editing.editColumnName", "editing.editRowKey", "filterPanel", "filterPanel.filterEnabled", "filterValue", "focusedColumnIndex", "focusedRowIndex", "focusedRowKey", "groupPanel", "groupPanel.visible", "paging", "paging.pageIndex", "paging.pageSize", "searchPanel", "searchPanel.text", "selectedRowKeys", "selectionFilter"];
|
|
44
44
|
_this.independentEvents = ["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onExported", "onExporting", "onFileSaving", "onFocusedCellChanging", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onToolbarPreparing"];
|
|
45
45
|
_this._defaults = {
|
|
46
46
|
defaultColumns: "columns",
|
|
@@ -50,6 +50,7 @@ var DataGrid = /** @class */ (function (_super) {
|
|
|
50
50
|
defaultFocusedColumnIndex: "focusedColumnIndex",
|
|
51
51
|
defaultFocusedRowIndex: "focusedRowIndex",
|
|
52
52
|
defaultFocusedRowKey: "focusedRowKey",
|
|
53
|
+
defaultGroupPanel: "groupPanel",
|
|
53
54
|
defaultPaging: "paging",
|
|
54
55
|
defaultSearchPanel: "searchPanel",
|
|
55
56
|
defaultSelectedRowKeys: "selectedRowKeys",
|
|
@@ -134,11 +135,6 @@ DataGrid.propTypes = {
|
|
|
134
135
|
]),
|
|
135
136
|
customizeColumns: PropTypes.func,
|
|
136
137
|
customizeExportData: PropTypes.func,
|
|
137
|
-
dataSource: PropTypes.oneOfType([
|
|
138
|
-
PropTypes.array,
|
|
139
|
-
PropTypes.object,
|
|
140
|
-
PropTypes.string
|
|
141
|
-
]),
|
|
142
138
|
dateSerializationFormat: PropTypes.string,
|
|
143
139
|
disabled: PropTypes.bool,
|
|
144
140
|
editing: PropTypes.object,
|
|
@@ -257,6 +253,7 @@ DataGrid.propTypes = {
|
|
|
257
253
|
sorting: PropTypes.object,
|
|
258
254
|
stateStoring: PropTypes.object,
|
|
259
255
|
summary: PropTypes.object,
|
|
256
|
+
syncLookupFilterValues: PropTypes.bool,
|
|
260
257
|
tabIndex: PropTypes.number,
|
|
261
258
|
toolbar: PropTypes.object,
|
|
262
259
|
twoWayBindingEnabled: PropTypes.bool,
|
|
@@ -837,6 +834,9 @@ var GroupPanel = /** @class */ (function (_super) {
|
|
|
837
834
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
838
835
|
}
|
|
839
836
|
GroupPanel.OptionName = "groupPanel";
|
|
837
|
+
GroupPanel.DefaultsProps = {
|
|
838
|
+
defaultVisible: "visible"
|
|
839
|
+
};
|
|
840
840
|
return GroupPanel;
|
|
841
841
|
}(nested_option_1.default));
|
|
842
842
|
exports.GroupPanel = GroupPanel;
|
package/date-box.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 22.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.4
|
|
4
|
+
* Build date: Fri Jul 22 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -24,7 +24,7 @@ declare type IDateBoxOptions = React.PropsWithChildren<Properties & IHtmlOptions
|
|
|
24
24
|
onOpenedChange?: (value: any) => void;
|
|
25
25
|
onValueChange?: (value: any) => void;
|
|
26
26
|
}>;
|
|
27
|
-
declare class DateBox extends BaseComponent<IDateBoxOptions
|
|
27
|
+
declare class DateBox extends BaseComponent<React.PropsWithChildren<IDateBoxOptions>> {
|
|
28
28
|
get instance(): dxDateBox;
|
|
29
29
|
protected _WidgetClass: typeof dxDateBox;
|
|
30
30
|
protected useRequestAnimationFrameFlag: boolean;
|
package/date-box.js
CHANGED
package/defer-rendering.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 22.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.4
|
|
4
|
+
* Build date: Fri Jul 22 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,7 +16,7 @@ import dxDeferRendering, { Properties } from "devextreme/ui/defer_rendering";
|
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
18
|
declare type IDeferRenderingOptions = React.PropsWithChildren<Properties & IHtmlOptions & {}>;
|
|
19
|
-
declare class DeferRendering extends BaseComponent<IDeferRenderingOptions
|
|
19
|
+
declare class DeferRendering extends BaseComponent<React.PropsWithChildren<IDeferRenderingOptions>> {
|
|
20
20
|
get instance(): dxDeferRendering;
|
|
21
21
|
protected _WidgetClass: typeof dxDeferRendering;
|
|
22
22
|
protected independentEvents: string[];
|
package/defer-rendering.js
CHANGED
package/diagram.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 22.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.4
|
|
4
|
+
* Build date: Fri Jul 22 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -29,7 +29,7 @@ declare type IDiagramOptions = React.PropsWithChildren<Properties & IHtmlOptions
|
|
|
29
29
|
onPageSizeChange?: (value: any) => void;
|
|
30
30
|
onZoomLevelChange?: (value: any) => void;
|
|
31
31
|
}>;
|
|
32
|
-
declare class Diagram extends BaseComponent<IDiagramOptions
|
|
32
|
+
declare class Diagram extends BaseComponent<React.PropsWithChildren<IDiagramOptions>> {
|
|
33
33
|
get instance(): dxDiagram;
|
|
34
34
|
protected _WidgetClass: typeof dxDiagram;
|
|
35
35
|
protected subscribableOptions: string[];
|
package/diagram.js
CHANGED
package/draggable.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 22.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 22.1.4
|
|
4
|
+
* Build date: Fri Jul 22 2022
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2022 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -20,7 +20,7 @@ declare type IDraggableOptions = React.PropsWithChildren<Properties & IHtmlOptio
|
|
|
20
20
|
dragComponent?: React.ComponentType<any>;
|
|
21
21
|
dragKeyFn?: (data: any) => string;
|
|
22
22
|
}>;
|
|
23
|
-
declare class Draggable extends BaseComponent<IDraggableOptions
|
|
23
|
+
declare class Draggable extends BaseComponent<React.PropsWithChildren<IDraggableOptions>> {
|
|
24
24
|
get instance(): dxDraggable;
|
|
25
25
|
protected _WidgetClass: typeof dxDraggable;
|
|
26
26
|
protected independentEvents: string[];
|