devextreme-react 25.2.2-beta → 25.2.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/cjs/accordion.d.ts +3 -3
- package/cjs/accordion.js +3 -3
- package/cjs/action-sheet.d.ts +3 -3
- package/cjs/action-sheet.js +3 -3
- package/cjs/autocomplete.d.ts +3 -3
- package/cjs/autocomplete.js +3 -3
- package/cjs/bar-gauge.d.ts +3 -3
- package/cjs/bar-gauge.js +3 -3
- package/cjs/box.d.ts +3 -3
- package/cjs/box.js +3 -3
- package/cjs/bullet.d.ts +3 -3
- package/cjs/bullet.js +3 -3
- package/cjs/button-group.d.ts +3 -3
- package/cjs/button-group.js +3 -3
- package/cjs/button.d.ts +3 -3
- package/cjs/button.js +3 -3
- package/cjs/calendar.d.ts +3 -3
- package/cjs/calendar.js +3 -3
- package/cjs/card-view.d.ts +12 -12
- package/cjs/card-view.js +4 -4
- package/cjs/chart.d.ts +3 -3
- package/cjs/chart.js +3 -3
- package/cjs/chat.d.ts +3 -3
- package/cjs/chat.js +3 -3
- package/cjs/check-box.d.ts +3 -3
- package/cjs/check-box.js +3 -3
- package/cjs/circular-gauge.d.ts +3 -3
- package/cjs/circular-gauge.js +3 -3
- package/cjs/color-box.d.ts +3 -3
- package/cjs/color-box.js +3 -3
- package/cjs/common/ai-integration.d.ts +3 -3
- package/cjs/common/ai-integration.js +3 -3
- package/cjs/common/charts.d.ts +3 -3
- package/cjs/common/charts.js +3 -3
- package/cjs/common/core/animation.d.ts +3 -3
- package/cjs/common/core/animation.js +3 -3
- package/cjs/common/core/environment.d.ts +3 -3
- package/cjs/common/core/environment.js +3 -3
- package/cjs/common/core/events.d.ts +3 -3
- package/cjs/common/core/events.js +3 -3
- package/cjs/common/core/index.d.ts +3 -3
- package/cjs/common/core/index.js +3 -3
- package/cjs/common/core/localization.d.ts +3 -3
- package/cjs/common/core/localization.js +3 -3
- package/cjs/common/data/custom-store.d.ts +3 -3
- package/cjs/common/data/custom-store.js +3 -3
- package/cjs/common/data.d.ts +3 -3
- package/cjs/common/data.js +3 -3
- package/cjs/common/export/excel.d.ts +3 -3
- package/cjs/common/export/excel.js +3 -3
- package/cjs/common/export/index.d.ts +3 -3
- package/cjs/common/export/index.js +3 -3
- package/cjs/common/export/pdf.d.ts +3 -3
- package/cjs/common/export/pdf.js +3 -3
- package/cjs/common/grids.d.ts +3 -3
- package/cjs/common/grids.js +3 -3
- package/cjs/common/index.d.ts +3 -3
- package/cjs/common/index.js +3 -3
- package/cjs/context-menu.d.ts +3 -3
- package/cjs/context-menu.js +3 -3
- package/cjs/core/component-base.d.ts +3 -3
- package/cjs/core/component-base.js +24 -50
- package/cjs/core/component.d.ts +3 -3
- package/cjs/core/component.js +20 -17
- package/cjs/core/config.d.ts +3 -3
- package/cjs/core/config.js +3 -3
- package/cjs/core/configuration/comparer.d.ts +3 -3
- package/cjs/core/configuration/comparer.js +3 -3
- package/cjs/core/configuration/config-node.d.ts +3 -3
- package/cjs/core/configuration/config-node.js +3 -3
- package/cjs/core/configuration/react/element.d.ts +3 -3
- package/cjs/core/configuration/react/element.js +3 -3
- package/cjs/core/configuration/react/templates.d.ts +3 -3
- package/cjs/core/configuration/react/templates.js +3 -3
- package/cjs/core/configuration/tree.d.ts +3 -3
- package/cjs/core/configuration/tree.js +3 -3
- package/cjs/core/configuration/utils.d.ts +3 -3
- package/cjs/core/configuration/utils.js +3 -3
- package/cjs/core/const.d.ts +3 -3
- package/cjs/core/const.js +3 -3
- package/cjs/core/contexts.d.ts +3 -3
- package/cjs/core/contexts.js +3 -3
- package/cjs/core/extension-component.d.ts +3 -3
- package/cjs/core/extension-component.js +10 -6
- package/cjs/core/helpers.d.ts +3 -3
- package/cjs/core/helpers.js +3 -3
- package/cjs/core/nested-option.d.ts +3 -3
- package/cjs/core/nested-option.js +3 -3
- package/cjs/core/options-manager.d.ts +3 -3
- package/cjs/core/options-manager.js +3 -3
- package/cjs/core/template-manager.d.ts +3 -3
- package/cjs/core/template-manager.js +3 -3
- package/cjs/core/template-wrapper.d.ts +3 -3
- package/cjs/core/template-wrapper.js +3 -3
- package/cjs/core/template.d.ts +3 -3
- package/cjs/core/template.js +3 -3
- package/cjs/core/types.d.ts +3 -3
- package/cjs/core/types.js +3 -3
- package/cjs/core/use-option-scanning.d.ts +3 -3
- package/cjs/core/use-option-scanning.js +3 -3
- package/cjs/core/widget-config.d.ts +3 -3
- package/cjs/core/widget-config.js +3 -3
- package/cjs/data-grid.d.ts +751 -43
- package/cjs/data-grid.js +277 -9
- package/cjs/date-box.d.ts +3 -3
- package/cjs/date-box.js +3 -3
- package/cjs/date-range-box.d.ts +3 -3
- package/cjs/date-range-box.js +3 -3
- package/cjs/diagram.d.ts +3 -3
- package/cjs/diagram.js +3 -3
- package/cjs/draggable.d.ts +3 -3
- package/cjs/draggable.js +3 -3
- package/cjs/drawer.d.ts +3 -3
- package/cjs/drawer.js +3 -3
- package/cjs/drop-down-box.d.ts +3 -3
- package/cjs/drop-down-box.js +3 -3
- package/cjs/drop-down-button.d.ts +3 -3
- package/cjs/drop-down-button.js +3 -3
- package/cjs/file-manager.d.ts +3 -3
- package/cjs/file-manager.js +3 -3
- package/cjs/file-uploader.d.ts +3 -3
- package/cjs/file-uploader.js +3 -3
- package/cjs/filter-builder.d.ts +3 -3
- package/cjs/filter-builder.js +3 -3
- package/cjs/form.d.ts +9 -9
- package/cjs/form.js +3 -3
- package/cjs/funnel.d.ts +3 -3
- package/cjs/funnel.js +3 -3
- package/cjs/gallery.d.ts +3 -3
- package/cjs/gallery.js +3 -3
- package/cjs/gantt.d.ts +3 -3
- package/cjs/gantt.js +3 -3
- package/cjs/html-editor.d.ts +3 -3
- package/cjs/html-editor.js +3 -3
- package/cjs/index.d.ts +3 -3
- package/cjs/index.js +3 -3
- package/cjs/linear-gauge.d.ts +3 -3
- package/cjs/linear-gauge.js +3 -3
- package/cjs/list.d.ts +3 -3
- package/cjs/list.js +3 -3
- package/cjs/load-indicator.d.ts +3 -3
- package/cjs/load-indicator.js +3 -3
- package/cjs/load-panel.d.ts +3 -3
- package/cjs/load-panel.js +3 -3
- package/cjs/lookup.d.ts +3 -3
- package/cjs/lookup.js +3 -3
- package/cjs/map.d.ts +3 -3
- package/cjs/map.js +3 -3
- package/cjs/menu.d.ts +3 -3
- package/cjs/menu.js +3 -3
- package/cjs/multi-view.d.ts +3 -3
- package/cjs/multi-view.js +3 -3
- package/cjs/number-box.d.ts +3 -3
- package/cjs/number-box.js +3 -3
- package/cjs/pagination.d.ts +3 -3
- package/cjs/pagination.js +3 -3
- package/cjs/pie-chart.d.ts +3 -3
- package/cjs/pie-chart.js +3 -3
- package/cjs/pivot-grid-field-chooser.d.ts +3 -3
- package/cjs/pivot-grid-field-chooser.js +3 -3
- package/cjs/pivot-grid.d.ts +3 -3
- package/cjs/pivot-grid.js +3 -3
- package/cjs/polar-chart.d.ts +3 -3
- package/cjs/polar-chart.js +3 -3
- package/cjs/popover.d.ts +3 -3
- package/cjs/popover.js +3 -3
- package/cjs/popup.d.ts +3 -3
- package/cjs/popup.js +3 -3
- package/cjs/progress-bar.d.ts +3 -3
- package/cjs/progress-bar.js +3 -3
- package/cjs/radio-group.d.ts +3 -3
- package/cjs/radio-group.js +3 -3
- package/cjs/range-selector.d.ts +3 -3
- package/cjs/range-selector.js +3 -3
- package/cjs/range-slider.d.ts +3 -3
- package/cjs/range-slider.js +3 -3
- package/cjs/recurrence-editor.d.ts +3 -3
- package/cjs/recurrence-editor.js +3 -3
- package/cjs/resizable.d.ts +3 -3
- package/cjs/resizable.js +3 -3
- package/cjs/responsive-box.d.ts +3 -3
- package/cjs/responsive-box.js +3 -3
- package/cjs/sankey.d.ts +3 -3
- package/cjs/sankey.js +3 -3
- package/cjs/scheduler.d.ts +9 -13
- package/cjs/scheduler.js +3 -3
- package/cjs/scroll-view.d.ts +3 -3
- package/cjs/scroll-view.js +3 -3
- package/cjs/select-box.d.ts +3 -3
- package/cjs/select-box.js +3 -3
- package/cjs/slider.d.ts +3 -3
- package/cjs/slider.js +3 -3
- package/cjs/sortable.d.ts +3 -3
- package/cjs/sortable.js +3 -3
- package/cjs/sparkline.d.ts +3 -3
- package/cjs/sparkline.js +3 -3
- package/cjs/speech-to-text.d.ts +3 -3
- package/cjs/speech-to-text.js +3 -3
- package/cjs/speed-dial-action.d.ts +3 -3
- package/cjs/speed-dial-action.js +3 -3
- package/cjs/splitter.d.ts +3 -3
- package/cjs/splitter.js +3 -3
- package/cjs/stepper.d.ts +3 -3
- package/cjs/stepper.js +3 -3
- package/cjs/switch.d.ts +3 -3
- package/cjs/switch.js +3 -3
- package/cjs/tab-panel.d.ts +3 -3
- package/cjs/tab-panel.js +3 -3
- package/cjs/tabs.d.ts +3 -3
- package/cjs/tabs.js +3 -3
- package/cjs/tag-box.d.ts +3 -3
- package/cjs/tag-box.js +3 -3
- package/cjs/text-area.d.ts +3 -3
- package/cjs/text-area.js +3 -3
- package/cjs/text-box.d.ts +3 -3
- package/cjs/text-box.js +3 -3
- package/cjs/tile-view.d.ts +3 -3
- package/cjs/tile-view.js +3 -3
- package/cjs/toast.d.ts +3 -3
- package/cjs/toast.js +3 -3
- package/cjs/toolbar.d.ts +3 -3
- package/cjs/toolbar.js +3 -3
- package/cjs/tooltip.d.ts +3 -3
- package/cjs/tooltip.js +3 -3
- package/cjs/tree-list.d.ts +781 -73
- package/cjs/tree-list.js +277 -10
- package/cjs/tree-map.d.ts +3 -3
- package/cjs/tree-map.js +3 -3
- package/cjs/tree-view.d.ts +3 -3
- package/cjs/tree-view.js +3 -3
- package/cjs/validation-group.d.ts +3 -3
- package/cjs/validation-group.js +3 -3
- package/cjs/validation-summary.d.ts +3 -3
- package/cjs/validation-summary.js +3 -3
- package/cjs/validator.d.ts +9 -9
- package/cjs/validator.js +3 -3
- package/cjs/vector-map.d.ts +3 -3
- package/cjs/vector-map.js +3 -3
- package/esm/accordion.js +3 -3
- package/esm/action-sheet.js +3 -3
- package/esm/autocomplete.js +3 -3
- package/esm/bar-gauge.js +3 -3
- package/esm/box.js +3 -3
- package/esm/bullet.js +3 -3
- package/esm/button-group.js +3 -3
- package/esm/button.js +3 -3
- package/esm/calendar.js +3 -3
- package/esm/card-view.js +4 -4
- package/esm/chart.js +3 -3
- package/esm/chat.js +3 -3
- package/esm/check-box.js +3 -3
- package/esm/circular-gauge.js +3 -3
- package/esm/color-box.js +3 -3
- package/esm/common/ai-integration.js +3 -3
- package/esm/common/charts.js +3 -3
- package/esm/common/core/animation.js +3 -3
- package/esm/common/core/environment.js +3 -3
- package/esm/common/core/events.js +3 -3
- package/esm/common/core/index.js +3 -3
- package/esm/common/core/localization.js +3 -3
- package/esm/common/data/custom-store.js +3 -3
- package/esm/common/data.js +3 -3
- package/esm/common/export/excel.js +3 -3
- package/esm/common/export/index.js +3 -3
- package/esm/common/export/pdf.js +3 -3
- package/esm/common/grids.js +3 -3
- package/esm/common/index.js +3 -3
- package/esm/context-menu.js +3 -3
- package/esm/core/component-base.js +24 -50
- package/esm/core/component.js +20 -17
- package/esm/core/config.js +3 -3
- package/esm/core/configuration/comparer.js +3 -3
- package/esm/core/configuration/config-node.js +3 -3
- package/esm/core/configuration/react/element.js +3 -3
- package/esm/core/configuration/react/templates.js +3 -3
- package/esm/core/configuration/tree.js +3 -3
- package/esm/core/configuration/utils.js +3 -3
- package/esm/core/const.js +3 -3
- package/esm/core/contexts.js +3 -3
- package/esm/core/extension-component.js +10 -6
- package/esm/core/helpers.js +3 -3
- package/esm/core/nested-option.js +3 -3
- package/esm/core/options-manager.js +3 -3
- package/esm/core/template-manager.js +3 -3
- package/esm/core/template-wrapper.js +3 -3
- package/esm/core/template.js +3 -3
- package/esm/core/types.js +3 -3
- package/esm/core/use-option-scanning.js +3 -3
- package/esm/core/widget-config.js +3 -3
- package/esm/data-grid.js +265 -8
- package/esm/date-box.js +3 -3
- package/esm/date-range-box.js +3 -3
- package/esm/diagram.js +3 -3
- package/esm/draggable.js +3 -3
- package/esm/drawer.js +3 -3
- package/esm/drop-down-box.js +3 -3
- package/esm/drop-down-button.js +3 -3
- package/esm/file-manager.js +3 -3
- package/esm/file-uploader.js +3 -3
- package/esm/filter-builder.js +3 -3
- package/esm/form.js +3 -3
- package/esm/funnel.js +3 -3
- package/esm/gallery.js +3 -3
- package/esm/gantt.js +3 -3
- package/esm/html-editor.js +3 -3
- package/esm/index.js +3 -3
- package/esm/linear-gauge.js +3 -3
- package/esm/list.js +3 -3
- package/esm/load-indicator.js +3 -3
- package/esm/load-panel.js +3 -3
- package/esm/lookup.js +3 -3
- package/esm/map.js +3 -3
- package/esm/menu.js +3 -3
- package/esm/multi-view.js +3 -3
- package/esm/number-box.js +3 -3
- package/esm/pagination.js +3 -3
- package/esm/pie-chart.js +3 -3
- package/esm/pivot-grid-field-chooser.js +3 -3
- package/esm/pivot-grid.js +3 -3
- package/esm/polar-chart.js +3 -3
- package/esm/popover.js +3 -3
- package/esm/popup.js +3 -3
- package/esm/progress-bar.js +3 -3
- package/esm/radio-group.js +3 -3
- package/esm/range-selector.js +3 -3
- package/esm/range-slider.js +3 -3
- package/esm/recurrence-editor.js +3 -3
- package/esm/resizable.js +3 -3
- package/esm/responsive-box.js +3 -3
- package/esm/sankey.js +3 -3
- package/esm/scheduler.js +3 -3
- package/esm/scroll-view.js +3 -3
- package/esm/select-box.js +3 -3
- package/esm/slider.js +3 -3
- package/esm/sortable.js +3 -3
- package/esm/sparkline.js +3 -3
- package/esm/speech-to-text.js +3 -3
- package/esm/speed-dial-action.js +3 -3
- package/esm/splitter.js +3 -3
- package/esm/stepper.js +3 -3
- package/esm/switch.js +3 -3
- package/esm/tab-panel.js +3 -3
- package/esm/tabs.js +3 -3
- package/esm/tag-box.js +3 -3
- package/esm/text-area.js +3 -3
- package/esm/text-box.js +3 -3
- package/esm/tile-view.js +3 -3
- package/esm/toast.js +3 -3
- package/esm/toolbar.js +3 -3
- package/esm/tooltip.js +3 -3
- package/esm/tree-list.js +266 -9
- package/esm/tree-map.js +3 -3
- package/esm/tree-view.js +3 -3
- package/esm/validation-group.js +3 -3
- package/esm/validation-summary.js +3 -3
- package/esm/validator.js +3 -3
- package/esm/vector-map.js +3 -3
- package/package.json +5 -4
package/esm/bullet.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/button-group.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/button.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/calendar.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/card-view.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -25,7 +25,7 @@ const CardView = memo(forwardRef((props, ref) => {
|
|
|
25
25
|
}
|
|
26
26
|
}), []);
|
|
27
27
|
const subscribableOptions = useMemo(() => (["filterValue", "selectedCardKeys", "filterBuilder.value", "filterPanel.filterEnabled", "editing.form.formData", "loadPanel.position", "loadPanel.visible", "paging.pageIndex", "paging.pageSize", "searchPanel.text"]), []);
|
|
28
|
-
const independentEvents = useMemo(() => (["onCardClick", "onCardDblClick", "onCardInserted", "onCardInserting", "onCardPrepared", "onCardRemoved", "onCardRemoving", "
|
|
28
|
+
const independentEvents = useMemo(() => (["onCardClick", "onCardDblClick", "onCardInserted", "onCardInserting", "onCardPrepared", "onCardRemoved", "onCardRemoving", "onCardUpdated", "onCardUpdating", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onFieldCaptionClick", "onFieldCaptionDblClick", "onFieldCaptionPrepared", "onFieldValueClick", "onFieldValueDblClick", "onFieldValuePrepared", "onInitialized", "onInitNewCard", "onSaved", "onSaving"]), []);
|
|
29
29
|
const defaults = useMemo(() => ({
|
|
30
30
|
defaultFilterValue: "filterValue",
|
|
31
31
|
defaultSelectedCardKeys: "selectedCardKeys",
|
package/esm/chart.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/chat.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/check-box.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/circular-gauge.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/color-box.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/common/charts.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/common/core/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/common/data.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/common/export/pdf.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/common/grids.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/common/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
package/esm/context-menu.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -35,6 +35,7 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
35
35
|
const [, setForceUpdateToken] = useState(Symbol('initial force update token'));
|
|
36
36
|
const removalLocker = useContext(RemovalLockerContext);
|
|
37
37
|
const restoreParentLink = useContext(RestoreTreeContext);
|
|
38
|
+
const restoreParentLinkRef = useRef(restoreParentLink);
|
|
38
39
|
const instance = useRef();
|
|
39
40
|
const element = useRef();
|
|
40
41
|
const portalContainer = useRef();
|
|
@@ -70,15 +71,10 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
70
71
|
element.current.append(...childNodes.current);
|
|
71
72
|
childElementsDetached.current = false;
|
|
72
73
|
}
|
|
73
|
-
if (
|
|
74
|
-
|
|
74
|
+
if (restoreParentLinkRef.current && element.current && !element.current.isConnected) {
|
|
75
|
+
restoreParentLinkRef.current();
|
|
75
76
|
}
|
|
76
|
-
}, [
|
|
77
|
-
childNodes.current,
|
|
78
|
-
element.current,
|
|
79
|
-
childElementsDetached.current,
|
|
80
|
-
restoreParentLink,
|
|
81
|
-
]);
|
|
77
|
+
}, []);
|
|
82
78
|
// eslint-disable-next-line @stylistic/max-len
|
|
83
79
|
const updateCssClasses = useCallback((prevProps, newProps) => {
|
|
84
80
|
const prevClassName = prevProps ? getClassName(prevProps) : undefined;
|
|
@@ -98,7 +94,7 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
98
94
|
element.current?.classList.add(...classNames);
|
|
99
95
|
}
|
|
100
96
|
}
|
|
101
|
-
}, [
|
|
97
|
+
}, []);
|
|
102
98
|
const setInlineStyles = useCallback((styles) => {
|
|
103
99
|
if (element.current) {
|
|
104
100
|
const el = element.current;
|
|
@@ -111,16 +107,12 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
111
107
|
}
|
|
112
108
|
});
|
|
113
109
|
}
|
|
114
|
-
}, [
|
|
110
|
+
}, []);
|
|
115
111
|
const setTemplateManagerHooks = useCallback(({ createDXTemplates: createDXTemplatesFn, clearInstantiationModels: clearInstantiationModelsFn, updateTemplates: updateTemplatesFn, }) => {
|
|
116
112
|
createDXTemplates.current = createDXTemplatesFn;
|
|
117
113
|
clearInstantiationModels.current = clearInstantiationModelsFn;
|
|
118
114
|
updateTemplates.current = updateTemplatesFn;
|
|
119
|
-
}, [
|
|
120
|
-
createDXTemplates.current,
|
|
121
|
-
clearInstantiationModels.current,
|
|
122
|
-
updateTemplates.current,
|
|
123
|
-
]);
|
|
115
|
+
}, []);
|
|
124
116
|
const getElementProps = useCallback(() => {
|
|
125
117
|
const elementProps = {
|
|
126
118
|
ref: (el) => {
|
|
@@ -135,7 +127,7 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
135
127
|
}
|
|
136
128
|
});
|
|
137
129
|
return elementProps;
|
|
138
|
-
}, [
|
|
130
|
+
}, [props]);
|
|
139
131
|
const scheduleTemplatesUpdate = useCallback(() => {
|
|
140
132
|
if (guardsUpdateScheduled.current) {
|
|
141
133
|
return;
|
|
@@ -148,11 +140,7 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
148
140
|
updateTemplates.current?.(() => scheduleGuards());
|
|
149
141
|
});
|
|
150
142
|
unscheduleGuards();
|
|
151
|
-
}, [
|
|
152
|
-
guardsUpdateScheduled.current,
|
|
153
|
-
useDeferUpdateForTemplates.current,
|
|
154
|
-
updateTemplates.current,
|
|
155
|
-
]);
|
|
143
|
+
}, []);
|
|
156
144
|
const createWidget = useCallback((el) => {
|
|
157
145
|
beforeCreateWidget();
|
|
158
146
|
// eslint-disable-next-line no-param-reassign
|
|
@@ -183,14 +171,8 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
183
171
|
}, [
|
|
184
172
|
beforeCreateWidget,
|
|
185
173
|
afterCreateWidget,
|
|
186
|
-
element.current,
|
|
187
|
-
optionsManager.current,
|
|
188
|
-
createDXTemplates.current,
|
|
189
|
-
clearInstantiationModels.current,
|
|
190
174
|
WidgetClass,
|
|
191
175
|
useRequestAnimationFrameFlag,
|
|
192
|
-
useDeferUpdateForTemplates.current,
|
|
193
|
-
instance.current,
|
|
194
176
|
subscribableOptions,
|
|
195
177
|
independentEvents,
|
|
196
178
|
widgetConfig,
|
|
@@ -200,7 +182,7 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
200
182
|
instance.current.focus();
|
|
201
183
|
shouldRestoreFocus.current = false;
|
|
202
184
|
}
|
|
203
|
-
}, [
|
|
185
|
+
}, []);
|
|
204
186
|
const onComponentUpdated = useCallback(() => {
|
|
205
187
|
if (!optionsManager.current?.isInstanceSet) {
|
|
206
188
|
return;
|
|
@@ -212,9 +194,6 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
212
194
|
scheduleTemplatesUpdate();
|
|
213
195
|
prevPropsRef.current = props;
|
|
214
196
|
}, [
|
|
215
|
-
optionsManager.current,
|
|
216
|
-
prevPropsRef.current,
|
|
217
|
-
createDXTemplates.current,
|
|
218
197
|
scheduleTemplatesUpdate,
|
|
219
198
|
updateCssClasses,
|
|
220
199
|
props,
|
|
@@ -234,9 +213,6 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
234
213
|
}
|
|
235
214
|
prevPropsRef.current = props;
|
|
236
215
|
}, [
|
|
237
|
-
childNodes.current,
|
|
238
|
-
element.current,
|
|
239
|
-
childElementsDetached.current,
|
|
240
216
|
updateCssClasses,
|
|
241
217
|
setInlineStyles,
|
|
242
218
|
props,
|
|
@@ -259,24 +235,23 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
259
235
|
}
|
|
260
236
|
optionsManager.current.dispose();
|
|
261
237
|
removalLocker?.unlock();
|
|
262
|
-
}, [
|
|
263
|
-
removalLocker,
|
|
264
|
-
instance.current,
|
|
265
|
-
childNodes.current,
|
|
266
|
-
element.current,
|
|
267
|
-
optionsManager.current,
|
|
268
|
-
childElementsDetached.current,
|
|
269
|
-
shouldRestoreFocus.current,
|
|
270
|
-
]);
|
|
238
|
+
}, [removalLocker]);
|
|
271
239
|
useLayoutEffect(() => {
|
|
272
240
|
onComponentMounted();
|
|
273
241
|
return () => {
|
|
274
242
|
onComponentUnmounted();
|
|
275
243
|
};
|
|
276
244
|
}, []);
|
|
245
|
+
useLayoutEffect(() => {
|
|
246
|
+
restoreParentLinkRef.current = restoreParentLink;
|
|
247
|
+
}, [restoreParentLink]);
|
|
277
248
|
useLayoutEffect(() => {
|
|
278
249
|
onComponentUpdated();
|
|
279
250
|
});
|
|
251
|
+
const createWidgetRef = useRef(createWidget);
|
|
252
|
+
useLayoutEffect(() => {
|
|
253
|
+
createWidgetRef.current = createWidget;
|
|
254
|
+
}, [createWidget]);
|
|
280
255
|
useImperativeHandle(ref, () => ({
|
|
281
256
|
getInstance() {
|
|
282
257
|
return instance.current;
|
|
@@ -285,9 +260,9 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
285
260
|
return element.current;
|
|
286
261
|
},
|
|
287
262
|
createWidget(el) {
|
|
288
|
-
|
|
263
|
+
createWidgetRef.current?.(el);
|
|
289
264
|
},
|
|
290
|
-
}), [
|
|
265
|
+
}), []);
|
|
291
266
|
const _renderChildren = useCallback(() => {
|
|
292
267
|
if (renderChildren) {
|
|
293
268
|
return renderChildren();
|
|
@@ -295,7 +270,7 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
295
270
|
const { children } = props;
|
|
296
271
|
return children;
|
|
297
272
|
}, [props, renderChildren]);
|
|
298
|
-
const renderPortal = useCallback(() => portalContainer.current && createPortal(_renderChildren(), portalContainer.current), [
|
|
273
|
+
const renderPortal = useCallback(() => portalContainer.current && createPortal(_renderChildren(), portalContainer.current), [_renderChildren]);
|
|
299
274
|
const renderContent = useCallback(() => {
|
|
300
275
|
const { children } = props;
|
|
301
276
|
return isPortalComponent && children
|
|
@@ -312,7 +287,6 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
312
287
|
}, [
|
|
313
288
|
props,
|
|
314
289
|
isPortalComponent,
|
|
315
|
-
portalContainer.current,
|
|
316
290
|
_renderChildren,
|
|
317
291
|
]);
|
|
318
292
|
const renderContextValue = useMemo(() => ({
|
package/esm/core/component.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
@@ -20,12 +20,12 @@ const Component = forwardRef((props, ref) => {
|
|
|
20
20
|
const extensionCreators = useRef([]);
|
|
21
21
|
const registerExtension = useCallback((creator) => {
|
|
22
22
|
extensionCreators.current.push(creator);
|
|
23
|
-
}, [
|
|
23
|
+
}, []);
|
|
24
24
|
const createExtensions = useCallback(() => {
|
|
25
25
|
extensionCreators.current.forEach((creator) => {
|
|
26
26
|
creator(componentBaseRef.current?.getElement());
|
|
27
27
|
});
|
|
28
|
-
}, [
|
|
28
|
+
}, []);
|
|
29
29
|
const renderChildren = useCallback(() => React.Children.map(props.children, (child) => {
|
|
30
30
|
if (React.isValidElement(child) && elementIsExtension(child)) {
|
|
31
31
|
return React.cloneElement(child, { onMounted: registerExtension });
|
|
@@ -34,23 +34,26 @@ const Component = forwardRef((props, ref) => {
|
|
|
34
34
|
}), [props, registerExtension]);
|
|
35
35
|
const createWidget = useCallback((el) => {
|
|
36
36
|
componentBaseRef.current?.createWidget(el);
|
|
37
|
-
}, [
|
|
37
|
+
}, []);
|
|
38
38
|
const clearExtensions = useCallback(() => {
|
|
39
|
-
|
|
40
|
-
props.clearExtensions();
|
|
41
|
-
}
|
|
39
|
+
props.clearExtensions?.();
|
|
42
40
|
extensionCreators.current = [];
|
|
43
|
-
}, [
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
]);
|
|
41
|
+
}, [props.clearExtensions]);
|
|
42
|
+
const createWidgetRef = useRef(createWidget);
|
|
43
|
+
const clearExtensionsRef = useRef(clearExtensions);
|
|
47
44
|
useLayoutEffect(() => {
|
|
48
45
|
createWidget();
|
|
49
46
|
createExtensions();
|
|
50
47
|
return () => {
|
|
51
|
-
|
|
48
|
+
clearExtensionsRef.current?.();
|
|
52
49
|
};
|
|
53
50
|
}, []);
|
|
51
|
+
useLayoutEffect(() => {
|
|
52
|
+
createWidgetRef.current = createWidget;
|
|
53
|
+
}, [createWidget]);
|
|
54
|
+
useLayoutEffect(() => {
|
|
55
|
+
clearExtensionsRef.current = clearExtensions;
|
|
56
|
+
}, [clearExtensions]);
|
|
54
57
|
useImperativeHandle(ref, () => ({
|
|
55
58
|
getInstance() {
|
|
56
59
|
return componentBaseRef.current?.getInstance();
|
|
@@ -59,12 +62,12 @@ const Component = forwardRef((props, ref) => {
|
|
|
59
62
|
return componentBaseRef.current?.getElement();
|
|
60
63
|
},
|
|
61
64
|
createWidget(el) {
|
|
62
|
-
|
|
65
|
+
createWidgetRef.current?.(el);
|
|
63
66
|
},
|
|
64
67
|
clearExtensions() {
|
|
65
|
-
|
|
68
|
+
clearExtensionsRef.current?.();
|
|
66
69
|
},
|
|
67
|
-
}), [
|
|
70
|
+
}), []);
|
|
68
71
|
return (React.createElement(ComponentBase, { ref: componentBaseRef, renderChildren: renderChildren, ...props }));
|
|
69
72
|
});
|
|
70
73
|
export { Component, };
|
package/esm/core/config.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.2.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 25.2.4
|
|
4
|
+
* Build date: Mon Jan 26 2026
|
|
5
5
|
*
|
|
6
|
-
* Copyright (c) 2012 -
|
|
6
|
+
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
8
8
|
* This software may be modified and distributed under the terms
|
|
9
9
|
* of the MIT license. See the LICENSE file in the root of the project for details.
|