devextreme-react 25.1.2-beta → 25.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/accordion.d.ts +2 -2
- package/cjs/accordion.js +2 -2
- package/cjs/action-sheet.d.ts +2 -2
- package/cjs/action-sheet.js +2 -2
- package/cjs/autocomplete.d.ts +26 -28
- package/cjs/autocomplete.js +2 -2
- package/cjs/bar-gauge.d.ts +2 -2
- package/cjs/bar-gauge.js +2 -2
- package/cjs/box.d.ts +2 -2
- package/cjs/box.js +2 -2
- package/cjs/bullet.d.ts +2 -2
- package/cjs/bullet.js +2 -2
- package/cjs/button-group.d.ts +2 -2
- package/cjs/button-group.js +2 -2
- package/cjs/button.d.ts +2 -2
- package/cjs/button.js +2 -2
- package/cjs/calendar.d.ts +2 -2
- package/cjs/calendar.js +2 -2
- package/cjs/card-view.d.ts +1260 -50
- package/cjs/card-view.js +556 -6
- package/cjs/chart.d.ts +5 -7
- package/cjs/chart.js +3 -3
- package/cjs/chat.d.ts +2 -2
- package/cjs/chat.js +2 -2
- package/cjs/check-box.d.ts +2 -2
- package/cjs/check-box.js +2 -2
- package/cjs/circular-gauge.d.ts +2 -2
- package/cjs/circular-gauge.js +2 -2
- package/cjs/color-box.d.ts +26 -28
- package/cjs/color-box.js +2 -2
- package/cjs/common/ai-integration.d.ts +2 -2
- package/cjs/common/ai-integration.js +2 -2
- package/cjs/common/charts.d.ts +3 -3
- package/cjs/common/charts.js +2 -2
- package/cjs/common/core/animation.d.ts +2 -2
- package/cjs/common/core/animation.js +2 -2
- package/cjs/common/core/environment.d.ts +2 -2
- package/cjs/common/core/environment.js +2 -2
- package/cjs/common/core/events.d.ts +2 -2
- package/cjs/common/core/events.js +2 -2
- package/cjs/common/core/index.d.ts +2 -2
- package/cjs/common/core/index.js +2 -2
- package/cjs/common/core/localization.d.ts +2 -2
- package/cjs/common/core/localization.js +2 -2
- package/cjs/common/data/custom-store.d.ts +2 -2
- package/cjs/common/data/custom-store.js +2 -2
- package/cjs/common/data.d.ts +2 -2
- package/cjs/common/data.js +2 -2
- package/cjs/common/export/excel.d.ts +2 -2
- package/cjs/common/export/excel.js +2 -2
- package/cjs/common/export/index.d.ts +2 -2
- package/cjs/common/export/index.js +2 -2
- package/cjs/common/export/pdf.d.ts +2 -2
- package/cjs/common/export/pdf.js +2 -2
- package/cjs/common/grids.d.ts +2 -2
- package/cjs/common/grids.js +2 -2
- package/cjs/common/index.d.ts +2 -2
- package/cjs/common/index.js +2 -2
- package/cjs/context-menu.d.ts +2 -2
- package/cjs/context-menu.js +2 -2
- package/cjs/core/component-base.d.ts +2 -2
- package/cjs/core/component-base.js +10 -4
- package/cjs/core/component.d.ts +2 -2
- package/cjs/core/component.js +2 -2
- package/cjs/core/config.d.ts +2 -2
- package/cjs/core/config.js +2 -2
- package/cjs/core/configuration/comparer.d.ts +2 -2
- package/cjs/core/configuration/comparer.js +2 -2
- package/cjs/core/configuration/config-node.d.ts +2 -2
- package/cjs/core/configuration/config-node.js +2 -2
- package/cjs/core/configuration/react/element.d.ts +2 -2
- package/cjs/core/configuration/react/element.js +2 -2
- package/cjs/core/configuration/react/templates.d.ts +2 -2
- package/cjs/core/configuration/react/templates.js +2 -2
- package/cjs/core/configuration/tree.d.ts +2 -2
- package/cjs/core/configuration/tree.js +2 -2
- package/cjs/core/configuration/utils.d.ts +2 -2
- package/cjs/core/configuration/utils.js +2 -2
- package/cjs/core/const.d.ts +14 -0
- package/cjs/core/const.js +89 -0
- package/cjs/core/contexts.d.ts +2 -2
- package/cjs/core/contexts.js +2 -2
- package/cjs/core/extension-component.d.ts +2 -2
- package/cjs/core/extension-component.js +2 -2
- package/cjs/core/helpers.d.ts +2 -2
- package/cjs/core/helpers.js +2 -2
- package/cjs/core/nested-option.d.ts +2 -2
- package/cjs/core/nested-option.js +2 -2
- package/cjs/core/options-manager.d.ts +3 -2
- package/cjs/core/options-manager.js +12 -3
- package/cjs/core/template-manager.d.ts +2 -2
- package/cjs/core/template-manager.js +12 -3
- package/cjs/core/template-wrapper.d.ts +2 -2
- package/cjs/core/template-wrapper.js +2 -2
- package/cjs/core/template.d.ts +2 -2
- package/cjs/core/template.js +2 -2
- package/cjs/core/types.d.ts +2 -2
- package/cjs/core/types.js +2 -2
- package/cjs/core/use-option-scanning.d.ts +2 -2
- package/cjs/core/use-option-scanning.js +2 -2
- package/cjs/core/widget-config.d.ts +2 -2
- package/cjs/core/widget-config.js +2 -2
- package/cjs/data-grid.d.ts +62 -122
- package/cjs/data-grid.js +3 -5
- package/cjs/date-box.d.ts +30 -32
- package/cjs/date-box.js +2 -2
- package/cjs/date-range-box.d.ts +30 -32
- package/cjs/date-range-box.js +2 -2
- package/cjs/defer-rendering.d.ts +2 -2
- package/cjs/defer-rendering.js +2 -2
- package/cjs/diagram.d.ts +2 -2
- package/cjs/diagram.js +2 -2
- package/cjs/draggable.d.ts +2 -2
- package/cjs/draggable.js +2 -2
- package/cjs/drawer.d.ts +2 -2
- package/cjs/drawer.js +2 -2
- package/cjs/drop-down-box.d.ts +26 -28
- package/cjs/drop-down-box.js +2 -2
- package/cjs/drop-down-button.d.ts +22 -24
- package/cjs/drop-down-button.js +2 -2
- package/cjs/file-manager.d.ts +2 -2
- package/cjs/file-manager.js +2 -2
- package/cjs/file-uploader.d.ts +2 -2
- package/cjs/file-uploader.js +2 -2
- package/cjs/filter-builder.d.ts +2 -2
- package/cjs/filter-builder.js +2 -2
- package/cjs/form.d.ts +10 -10
- package/cjs/form.js +2 -2
- package/cjs/funnel.d.ts +2 -2
- package/cjs/funnel.js +2 -2
- package/cjs/gallery.d.ts +2 -2
- package/cjs/gallery.js +2 -2
- package/cjs/gantt.d.ts +6 -30
- package/cjs/gantt.js +2 -2
- package/cjs/html-editor.d.ts +31 -19
- package/cjs/html-editor.js +20 -3
- package/cjs/index.d.ts +2 -2
- package/cjs/index.js +2 -2
- package/cjs/linear-gauge.d.ts +2 -2
- package/cjs/linear-gauge.js +2 -2
- package/cjs/list.d.ts +14 -14
- package/cjs/list.js +2 -2
- package/cjs/load-indicator.d.ts +2 -2
- package/cjs/load-indicator.js +2 -2
- package/cjs/load-panel.d.ts +2 -2
- package/cjs/load-panel.js +2 -2
- package/cjs/lookup.d.ts +22 -24
- package/cjs/lookup.js +2 -2
- package/cjs/map.d.ts +2 -2
- package/cjs/map.js +2 -2
- package/cjs/menu.d.ts +2 -2
- package/cjs/menu.js +2 -2
- package/cjs/multi-view.d.ts +2 -2
- package/cjs/multi-view.js +2 -2
- package/cjs/number-box.d.ts +6 -6
- package/cjs/number-box.js +2 -2
- package/cjs/pagination.d.ts +2 -2
- package/cjs/pagination.js +2 -2
- package/cjs/pie-chart.d.ts +2 -2
- package/cjs/pie-chart.js +2 -2
- package/cjs/pivot-grid-field-chooser.d.ts +2 -2
- package/cjs/pivot-grid-field-chooser.js +2 -2
- package/cjs/pivot-grid.d.ts +2 -2
- package/cjs/pivot-grid.js +2 -2
- package/cjs/polar-chart.d.ts +4 -4
- package/cjs/polar-chart.js +3 -3
- package/cjs/popover.d.ts +6 -6
- package/cjs/popover.js +2 -2
- package/cjs/popup.d.ts +6 -6
- package/cjs/popup.js +2 -2
- package/cjs/progress-bar.d.ts +2 -2
- package/cjs/progress-bar.js +2 -2
- package/cjs/radio-group.d.ts +2 -2
- package/cjs/radio-group.js +2 -2
- package/cjs/range-selector.d.ts +3 -7
- package/cjs/range-selector.js +3 -3
- package/cjs/range-slider.d.ts +2 -2
- package/cjs/range-slider.js +2 -2
- package/cjs/recurrence-editor.d.ts +2 -2
- package/cjs/recurrence-editor.js +2 -2
- package/cjs/resizable.d.ts +6 -6
- package/cjs/resizable.js +2 -2
- package/cjs/responsive-box.d.ts +2 -2
- package/cjs/responsive-box.js +2 -2
- package/cjs/sankey.d.ts +2 -2
- package/cjs/sankey.js +2 -2
- package/cjs/scheduler.d.ts +6 -6
- package/cjs/scheduler.js +2 -2
- package/cjs/scroll-view.d.ts +2 -2
- package/cjs/scroll-view.js +2 -2
- package/cjs/select-box.d.ts +26 -28
- package/cjs/select-box.js +2 -2
- package/cjs/slider.d.ts +2 -2
- package/cjs/slider.js +2 -2
- package/cjs/sortable.d.ts +2 -2
- package/cjs/sortable.js +2 -2
- package/cjs/sparkline.d.ts +2 -2
- package/cjs/sparkline.js +2 -2
- package/cjs/speed-dial-action.d.ts +2 -2
- package/cjs/speed-dial-action.js +2 -2
- package/cjs/splitter.d.ts +2 -2
- package/cjs/splitter.js +2 -2
- package/cjs/stepper.d.ts +2 -2
- package/cjs/stepper.js +2 -2
- package/cjs/switch.d.ts +2 -2
- package/cjs/switch.js +2 -2
- package/cjs/tab-panel.d.ts +2 -2
- package/cjs/tab-panel.js +2 -2
- package/cjs/tabs.d.ts +2 -2
- package/cjs/tabs.js +2 -2
- package/cjs/tag-box.d.ts +26 -28
- package/cjs/tag-box.js +2 -2
- package/cjs/text-area.d.ts +2 -2
- package/cjs/text-area.js +2 -2
- package/cjs/text-box.d.ts +6 -6
- package/cjs/text-box.js +2 -2
- package/cjs/tile-view.d.ts +2 -2
- package/cjs/tile-view.js +2 -2
- package/cjs/toast.d.ts +2 -2
- package/cjs/toast.js +2 -2
- package/cjs/toolbar.d.ts +2 -2
- package/cjs/toolbar.js +2 -2
- package/cjs/tooltip.d.ts +6 -6
- package/cjs/tooltip.js +2 -2
- package/cjs/tree-list.d.ts +62 -122
- package/cjs/tree-list.js +3 -5
- package/cjs/tree-map.d.ts +2 -2
- package/cjs/tree-map.js +2 -2
- package/cjs/tree-view.d.ts +10 -10
- package/cjs/tree-view.js +2 -2
- package/cjs/validation-group.d.ts +2 -2
- package/cjs/validation-group.js +2 -2
- package/cjs/validation-summary.d.ts +2 -2
- package/cjs/validation-summary.js +2 -2
- package/cjs/validator.d.ts +2 -2
- package/cjs/validator.js +2 -2
- package/cjs/vector-map.d.ts +2 -2
- package/cjs/vector-map.js +2 -2
- package/esm/accordion.js +2 -2
- package/esm/action-sheet.js +2 -2
- package/esm/autocomplete.js +2 -2
- package/esm/bar-gauge.js +2 -2
- package/esm/box.js +2 -2
- package/esm/bullet.js +2 -2
- package/esm/button-group.js +2 -2
- package/esm/button.js +2 -2
- package/esm/calendar.js +2 -2
- package/esm/card-view.js +525 -6
- package/esm/chart.js +3 -3
- package/esm/chat.js +2 -2
- package/esm/check-box.js +2 -2
- package/esm/circular-gauge.js +2 -2
- package/esm/color-box.js +2 -2
- package/esm/common/ai-integration.js +2 -2
- package/esm/common/charts.js +2 -2
- package/esm/common/core/animation.js +2 -2
- package/esm/common/core/environment.js +2 -2
- package/esm/common/core/events.js +2 -2
- package/esm/common/core/index.js +2 -2
- package/esm/common/core/localization.js +2 -2
- package/esm/common/data/custom-store.js +2 -2
- package/esm/common/data.js +2 -2
- package/esm/common/export/excel.js +2 -2
- package/esm/common/export/index.js +2 -2
- package/esm/common/export/pdf.js +2 -2
- package/esm/common/grids.js +2 -2
- package/esm/common/index.js +2 -2
- package/esm/context-menu.js +2 -2
- package/esm/core/component-base.js +10 -4
- package/esm/core/component.js +2 -2
- package/esm/core/config.js +2 -2
- package/esm/core/configuration/comparer.js +2 -2
- package/esm/core/configuration/config-node.js +2 -2
- package/esm/core/configuration/react/element.js +2 -2
- package/esm/core/configuration/react/templates.js +2 -2
- package/esm/core/configuration/tree.js +2 -2
- package/esm/core/configuration/utils.js +2 -2
- package/esm/core/const.js +86 -0
- package/esm/core/contexts.js +2 -2
- package/esm/core/extension-component.js +2 -2
- package/esm/core/helpers.js +2 -2
- package/esm/core/nested-option.js +2 -2
- package/esm/core/options-manager.js +12 -3
- package/esm/core/template-manager.js +12 -3
- package/esm/core/template-wrapper.js +2 -2
- package/esm/core/template.js +2 -2
- package/esm/core/types.js +2 -2
- package/esm/core/use-option-scanning.js +2 -2
- package/esm/core/widget-config.js +2 -2
- package/esm/data-grid.js +3 -5
- package/esm/date-box.js +2 -2
- package/esm/date-range-box.js +2 -2
- package/esm/defer-rendering.js +2 -2
- package/esm/diagram.js +2 -2
- package/esm/draggable.js +2 -2
- package/esm/drawer.js +2 -2
- package/esm/drop-down-box.js +2 -2
- package/esm/drop-down-button.js +2 -2
- package/esm/file-manager.js +2 -2
- package/esm/file-uploader.js +2 -2
- package/esm/filter-builder.js +2 -2
- package/esm/form.js +2 -2
- package/esm/funnel.js +2 -2
- package/esm/gallery.js +2 -2
- package/esm/gantt.js +2 -2
- package/esm/html-editor.js +19 -3
- package/esm/index.js +2 -2
- package/esm/linear-gauge.js +2 -2
- package/esm/list.js +2 -2
- package/esm/load-indicator.js +2 -2
- package/esm/load-panel.js +2 -2
- package/esm/lookup.js +2 -2
- package/esm/map.js +2 -2
- package/esm/menu.js +2 -2
- package/esm/multi-view.js +2 -2
- package/esm/number-box.js +2 -2
- package/esm/pagination.js +2 -2
- package/esm/pie-chart.js +2 -2
- package/esm/pivot-grid-field-chooser.js +2 -2
- package/esm/pivot-grid.js +2 -2
- package/esm/polar-chart.js +3 -3
- package/esm/popover.js +2 -2
- package/esm/popup.js +2 -2
- package/esm/progress-bar.js +2 -2
- package/esm/radio-group.js +2 -2
- package/esm/range-selector.js +3 -3
- package/esm/range-slider.js +2 -2
- package/esm/recurrence-editor.js +2 -2
- package/esm/resizable.js +2 -2
- package/esm/responsive-box.js +2 -2
- package/esm/sankey.js +2 -2
- package/esm/scheduler.js +2 -2
- package/esm/scroll-view.js +2 -2
- package/esm/select-box.js +2 -2
- package/esm/slider.js +2 -2
- package/esm/sortable.js +2 -2
- package/esm/sparkline.js +2 -2
- package/esm/speed-dial-action.js +2 -2
- package/esm/splitter.js +2 -2
- package/esm/stepper.js +2 -2
- package/esm/switch.js +2 -2
- package/esm/tab-panel.js +2 -2
- package/esm/tabs.js +2 -2
- package/esm/tag-box.js +2 -2
- package/esm/text-area.js +2 -2
- package/esm/text-box.js +2 -2
- package/esm/tile-view.js +2 -2
- package/esm/toast.js +2 -2
- package/esm/toolbar.js +2 -2
- package/esm/tooltip.js +2 -2
- package/esm/tree-list.js +3 -5
- package/esm/tree-map.js +2 -2
- package/esm/tree-view.js +2 -2
- package/esm/validation-group.js +2 -2
- package/esm/validation-summary.js +2 -2
- package/esm/validator.js +2 -2
- package/esm/vector-map.js +2 -2
- package/package.json +2 -2
package/esm/chart.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.1.
|
|
4
|
-
* Build date: Wed
|
|
3
|
+
* Version: 25.1.3
|
|
4
|
+
* Build date: Wed Jun 25 2025
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -24,7 +24,7 @@ const Chart = memo(forwardRef((props, ref) => {
|
|
|
24
24
|
return baseRef.current?.getInstance();
|
|
25
25
|
}
|
|
26
26
|
}), [baseRef.current]);
|
|
27
|
-
const subscribableOptions = useMemo(() => (["argumentAxis", "argumentAxis.categories", "argumentAxis.visualRange", "loadingIndicator", "loadingIndicator.show", "valueAxis", "valueAxis.categories", "valueAxis.visualRange"]), []);
|
|
27
|
+
const subscribableOptions = useMemo(() => (["argumentAxis", "argumentAxis.categories", "argumentAxis.visualRange", "loadingIndicator", "loadingIndicator.show", "valueAxis", "valueAxis.categories", "valueAxis.visualRange", "argumentAxis.visualRange.endValue", "valueAxis.visualRange.endValue", "argumentAxis.visualRange.startValue", "valueAxis.visualRange.startValue", "argumentAxis.wholeRange.endValue", "valueAxis.wholeRange.endValue", "argumentAxis.wholeRange.startValue", "valueAxis.wholeRange.startValue"]), []);
|
|
28
28
|
const independentEvents = useMemo(() => (["onArgumentAxisClick", "onDisposing", "onDone", "onDrawn", "onExported", "onExporting", "onFileSaving", "onIncidentOccurred", "onInitialized", "onLegendClick", "onPointClick", "onSeriesClick", "onTooltipHidden", "onTooltipShown", "onZoomEnd", "onZoomStart"]), []);
|
|
29
29
|
const defaults = useMemo(() => ({
|
|
30
30
|
defaultArgumentAxis: "argumentAxis",
|
package/esm/chat.js
CHANGED
package/esm/check-box.js
CHANGED
package/esm/circular-gauge.js
CHANGED
package/esm/color-box.js
CHANGED
package/esm/common/charts.js
CHANGED
package/esm/common/core/index.js
CHANGED
package/esm/common/data.js
CHANGED
package/esm/common/export/pdf.js
CHANGED
package/esm/common/grids.js
CHANGED
package/esm/common/index.js
CHANGED
package/esm/context-menu.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.1.
|
|
4
|
-
* Build date: Wed
|
|
3
|
+
* Version: 25.1.3
|
|
4
|
+
* Build date: Wed Jun 25 2025
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -24,6 +24,7 @@ import { elementPropNames, getClassName } from './widget-config';
|
|
|
24
24
|
import { TemplateManager } from './template-manager';
|
|
25
25
|
import { ElementType } from './configuration/react/element';
|
|
26
26
|
import { NestedOptionContext, RemovalLockerContext, RestoreTreeContext, TemplateRenderingContext, } from './contexts';
|
|
27
|
+
import { UNITLESS_NUMBERS_SET } from './const';
|
|
27
28
|
const DX_REMOVE_EVENT = 'dxremove';
|
|
28
29
|
config({
|
|
29
30
|
buyNowLink: 'https://go.devexpress.com/Licensing_Installer_Watermark_DevExtremeReact.aspx',
|
|
@@ -98,7 +99,12 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
98
99
|
if (element.current) {
|
|
99
100
|
const el = element.current;
|
|
100
101
|
Object.entries(styles).forEach(([name, value]) => {
|
|
101
|
-
|
|
102
|
+
if (typeof value === 'number' && !UNITLESS_NUMBERS_SET.has(name)) {
|
|
103
|
+
el.style[name] = `${value}px`;
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
el.style[name] = value;
|
|
107
|
+
}
|
|
102
108
|
});
|
|
103
109
|
}
|
|
104
110
|
}, [element.current]);
|
|
@@ -125,7 +131,7 @@ const ComponentBase = forwardRef((props, ref) => {
|
|
|
125
131
|
}
|
|
126
132
|
});
|
|
127
133
|
return elementProps;
|
|
128
|
-
}, [element.current]);
|
|
134
|
+
}, [element.current, props]);
|
|
129
135
|
const scheduleTemplatesUpdate = useCallback(() => {
|
|
130
136
|
if (guardsUpdateScheduled.current) {
|
|
131
137
|
return;
|
package/esm/core/component.js
CHANGED
package/esm/core/config.js
CHANGED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* devextreme-react
|
|
3
|
+
* Version: 25.1.3
|
|
4
|
+
* Build date: Wed Jun 25 2025
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
|
+
*
|
|
8
|
+
* This software may be modified and distributed under the terms
|
|
9
|
+
* of the MIT license. See the LICENSE file in the root of the project for details.
|
|
10
|
+
*
|
|
11
|
+
* https://github.com/DevExpress/devextreme-react
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
export const UNITLESS_NUMBERS_SET = new Set([
|
|
15
|
+
'animationIterationCount',
|
|
16
|
+
'aspectRatio',
|
|
17
|
+
'borderImageOutset',
|
|
18
|
+
'borderImageSlice',
|
|
19
|
+
'borderImageWidth',
|
|
20
|
+
'boxFlex',
|
|
21
|
+
'boxFlexGroup',
|
|
22
|
+
'boxOrdinalGroup',
|
|
23
|
+
'columnCount',
|
|
24
|
+
'columns',
|
|
25
|
+
'flex',
|
|
26
|
+
'flexGrow',
|
|
27
|
+
'flexPositive',
|
|
28
|
+
'flexShrink',
|
|
29
|
+
'flexNegative',
|
|
30
|
+
'flexOrder',
|
|
31
|
+
'gridArea',
|
|
32
|
+
'gridRow',
|
|
33
|
+
'gridRowEnd',
|
|
34
|
+
'gridRowSpan',
|
|
35
|
+
'gridRowStart',
|
|
36
|
+
'gridColumn',
|
|
37
|
+
'gridColumnEnd',
|
|
38
|
+
'gridColumnSpan',
|
|
39
|
+
'gridColumnStart',
|
|
40
|
+
'fontWeight',
|
|
41
|
+
'lineClamp',
|
|
42
|
+
'lineHeight',
|
|
43
|
+
'opacity',
|
|
44
|
+
'order',
|
|
45
|
+
'orphans',
|
|
46
|
+
'scale',
|
|
47
|
+
'tabSize',
|
|
48
|
+
'widows',
|
|
49
|
+
'zIndex',
|
|
50
|
+
'zoom',
|
|
51
|
+
'fillOpacity',
|
|
52
|
+
'floodOpacity',
|
|
53
|
+
'stopOpacity',
|
|
54
|
+
'strokeDasharray',
|
|
55
|
+
'strokeDashoffset',
|
|
56
|
+
'strokeMiterlimit',
|
|
57
|
+
'strokeOpacity',
|
|
58
|
+
'strokeWidth',
|
|
59
|
+
'MozAnimationIterationCount',
|
|
60
|
+
'MozBoxFlex',
|
|
61
|
+
'MozBoxFlexGroup',
|
|
62
|
+
'MozLineClamp',
|
|
63
|
+
'msAnimationIterationCount',
|
|
64
|
+
'msFlex',
|
|
65
|
+
'msZoom',
|
|
66
|
+
'msFlexGrow',
|
|
67
|
+
'msFlexNegative',
|
|
68
|
+
'msFlexOrder',
|
|
69
|
+
'msFlexPositive',
|
|
70
|
+
'msFlexShrink',
|
|
71
|
+
'msGridColumn',
|
|
72
|
+
'msGridColumnSpan',
|
|
73
|
+
'msGridRow',
|
|
74
|
+
'msGridRowSpan',
|
|
75
|
+
'WebkitAnimationIterationCount',
|
|
76
|
+
'WebkitBoxFlex',
|
|
77
|
+
'WebKitBoxFlexGroup',
|
|
78
|
+
'WebkitBoxOrdinalGroup',
|
|
79
|
+
'WebkitColumnCount',
|
|
80
|
+
'WebkitColumns',
|
|
81
|
+
'WebkitFlex',
|
|
82
|
+
'WebkitFlexGrow',
|
|
83
|
+
'WebkitFlexPositive',
|
|
84
|
+
'WebkitFlexShrink',
|
|
85
|
+
'WebkitLineClamp',
|
|
86
|
+
]);
|
package/esm/core/contexts.js
CHANGED
package/esm/core/helpers.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.1.
|
|
4
|
-
* Build date: Wed
|
|
3
|
+
* Version: 25.1.3
|
|
4
|
+
* Build date: Wed Jun 25 2025
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -196,7 +196,16 @@ class OptionsManager {
|
|
|
196
196
|
.forEach((handler) => handler());
|
|
197
197
|
}
|
|
198
198
|
resetOption(name) {
|
|
199
|
-
this.
|
|
199
|
+
if (this.isCollectionOption(name)) {
|
|
200
|
+
this.setValue(name, []);
|
|
201
|
+
}
|
|
202
|
+
else {
|
|
203
|
+
this.instance.resetOption(name);
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
isCollectionOption(name) {
|
|
207
|
+
const valueDescriptor = findValue(this.currentConfig, name.split('.'));
|
|
208
|
+
return valueDescriptor?.type === ValueType.Array;
|
|
200
209
|
}
|
|
201
210
|
setValue(name, value) {
|
|
202
211
|
if (this.guards[name]) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.1.
|
|
4
|
-
* Build date: Wed
|
|
3
|
+
* Version: 25.1.3
|
|
4
|
+
* Build date: Wed Jun 25 2025
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -42,6 +42,7 @@ const subscribeOnRemoval = (container, onRemoved) => {
|
|
|
42
42
|
const unwrapElement = (element) => (element.get ? element.get(0) : element);
|
|
43
43
|
const getRandomId = () => `${generateID()}${generateID()}${generateID()}`;
|
|
44
44
|
export const TemplateManager = ({ init, onTemplatesRendered }) => {
|
|
45
|
+
const mounted = useRef(false);
|
|
45
46
|
const [instantiationModels, setInstantiationModels] = useState({
|
|
46
47
|
collection: new TemplateInstantiationModels(),
|
|
47
48
|
});
|
|
@@ -109,10 +110,18 @@ export const TemplateManager = ({ init, onTemplatesRendered }) => {
|
|
|
109
110
|
setInstantiationModels({ ...instantiationModels });
|
|
110
111
|
}
|
|
111
112
|
function updateTemplates(onUpdated) {
|
|
112
|
-
|
|
113
|
+
if (mounted.current) {
|
|
114
|
+
setUpdateContext({ onUpdated });
|
|
115
|
+
}
|
|
113
116
|
}
|
|
114
117
|
init({ createDXTemplates, clearInstantiationModels, updateTemplates });
|
|
115
118
|
}, [init, getRenderFunc]);
|
|
119
|
+
useEffect(() => {
|
|
120
|
+
mounted.current = true;
|
|
121
|
+
return () => {
|
|
122
|
+
mounted.current = false;
|
|
123
|
+
};
|
|
124
|
+
}, []);
|
|
116
125
|
useEffect(() => {
|
|
117
126
|
if (updateContext) {
|
|
118
127
|
updateContext.onUpdated();
|
package/esm/core/template.js
CHANGED
package/esm/core/types.js
CHANGED
package/esm/data-grid.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.1.
|
|
4
|
-
* Build date: Wed
|
|
3
|
+
* Version: 25.1.3
|
|
4
|
+
* Build date: Wed Jun 25 2025
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -24,19 +24,17 @@ const DataGrid = memo(forwardRef((props, ref) => {
|
|
|
24
24
|
return baseRef.current?.getInstance();
|
|
25
25
|
}
|
|
26
26
|
}), [baseRef.current]);
|
|
27
|
-
const subscribableOptions = useMemo(() => (["columns", "editing", "editing.changes", "editing.editColumnName", "editing.editRowKey", "
|
|
27
|
+
const subscribableOptions = useMemo(() => (["columns", "editing", "editing.changes", "editing.editColumnName", "editing.editRowKey", "filterValue", "focusedColumnIndex", "focusedRowIndex", "focusedRowKey", "groupPanel", "groupPanel.visible", "paging", "paging.pageIndex", "paging.pageSize", "selectedRowKeys", "selectionFilter", "filterBuilder.value", "filterBuilderPopup.height", "filterBuilderPopup.position", "filterBuilderPopup.visible", "filterBuilderPopup.width", "filterPanel.filterEnabled", "editing.form.formData", "editing.popup.height", "editing.popup.position", "editing.popup.visible", "editing.popup.width", "searchPanel.text"]), []);
|
|
28
28
|
const independentEvents = useMemo(() => (["onAdaptiveDetailRowPreparing", "onCellClick", "onCellDblClick", "onCellPrepared", "onContentReady", "onContextMenuPreparing", "onDataErrorOccurred", "onDisposing", "onEditCanceled", "onEditCanceling", "onEditingStart", "onEditorPrepared", "onEditorPreparing", "onExporting", "onFocusedCellChanging", "onFocusedRowChanging", "onInitialized", "onInitNewRow", "onKeyDown", "onRowClick", "onRowCollapsed", "onRowCollapsing", "onRowDblClick", "onRowExpanded", "onRowExpanding", "onRowInserted", "onRowInserting", "onRowPrepared", "onRowRemoved", "onRowRemoving", "onRowUpdated", "onRowUpdating", "onRowValidating", "onSaved", "onSaving", "onToolbarPreparing"]), []);
|
|
29
29
|
const defaults = useMemo(() => ({
|
|
30
30
|
defaultColumns: "columns",
|
|
31
31
|
defaultEditing: "editing",
|
|
32
|
-
defaultFilterPanel: "filterPanel",
|
|
33
32
|
defaultFilterValue: "filterValue",
|
|
34
33
|
defaultFocusedColumnIndex: "focusedColumnIndex",
|
|
35
34
|
defaultFocusedRowIndex: "focusedRowIndex",
|
|
36
35
|
defaultFocusedRowKey: "focusedRowKey",
|
|
37
36
|
defaultGroupPanel: "groupPanel",
|
|
38
37
|
defaultPaging: "paging",
|
|
39
|
-
defaultSearchPanel: "searchPanel",
|
|
40
38
|
defaultSelectedRowKeys: "selectedRowKeys",
|
|
41
39
|
defaultSelectionFilter: "selectionFilter",
|
|
42
40
|
}), []);
|