devextreme-react 25.1.1-alpha → 25.1.2-beta
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/card-view/package.json +6 -0
- package/cjs/accordion.d.ts +2 -2
- package/cjs/accordion.js +2 -2
- package/cjs/action-sheet.d.ts +4 -4
- package/cjs/action-sheet.js +2 -2
- package/cjs/autocomplete.d.ts +2 -2
- 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 +4 -4
- 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 +4 -4
- package/cjs/calendar.js +2 -2
- package/cjs/card-view.d.ts +1496 -0
- package/cjs/card-view.js +872 -0
- package/cjs/chart.d.ts +2 -2
- package/cjs/chart.js +2 -2
- package/cjs/chat.d.ts +44 -4
- package/cjs/chat.js +17 -4
- 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 +2 -2
- package/cjs/color-box.js +2 -2
- package/cjs/common/ai-integration.d.ts +14 -0
- package/cjs/common/ai-integration.js +18 -0
- package/cjs/common/charts.d.ts +2 -2
- 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 +3 -3
- package/cjs/common/grids.js +2 -2
- package/cjs/common/index.d.ts +4 -3
- package/cjs/common/index.js +4 -3
- 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 +2 -2
- 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/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 +2 -2
- package/cjs/core/options-manager.js +2 -2
- package/cjs/core/template-manager.d.ts +2 -2
- package/cjs/core/template-manager.js +2 -2
- 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 +3 -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 +2 -2
- package/cjs/data-grid.js +2 -2
- package/cjs/date-box.d.ts +14 -14
- package/cjs/date-box.js +2 -2
- package/cjs/date-range-box.d.ts +18 -18
- 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 +2 -2
- package/cjs/drop-down-box.js +2 -2
- package/cjs/drop-down-button.d.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- package/cjs/gantt.js +2 -2
- package/cjs/html-editor.d.ts +2 -2
- package/cjs/html-editor.js +2 -2
- package/cjs/index.d.ts +3 -2
- package/cjs/index.js +6 -4
- package/cjs/linear-gauge.d.ts +2 -2
- package/cjs/linear-gauge.js +2 -2
- package/cjs/list.d.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/cjs/polar-chart.js +2 -2
- package/cjs/popover.d.ts +2 -2
- package/cjs/popover.js +2 -2
- package/cjs/popup.d.ts +2 -2
- 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 +2 -2
- package/cjs/range-selector.js +2 -2
- 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 +2 -2
- 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 +11 -17
- 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 +2 -2
- 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 +4 -4
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/cjs/tooltip.js +2 -2
- package/cjs/tree-list.d.ts +2 -2
- package/cjs/tree-list.js +2 -2
- package/cjs/tree-map.d.ts +2 -2
- package/cjs/tree-map.js +2 -2
- package/cjs/tree-view.d.ts +2 -2
- 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/common/ai-integration/package.json +6 -0
- 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 +798 -0
- package/esm/chart.js +2 -2
- package/esm/chat.js +16 -4
- 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 +14 -0
- 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 +3 -2
- package/esm/context-menu.js +2 -2
- package/esm/core/component-base.js +2 -2
- 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/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 +2 -2
- package/esm/core/template-manager.js +2 -2
- package/esm/core/template-wrapper.js +2 -2
- package/esm/core/template.js +3 -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 +2 -2
- 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 +2 -2
- package/esm/index.js +3 -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 +2 -2
- 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 +2 -2
- 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 +2 -2
- 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 +36 -4
package/cjs/core/component.d.ts
CHANGED
package/cjs/core/component.js
CHANGED
package/cjs/core/config.d.ts
CHANGED
package/cjs/core/config.js
CHANGED
package/cjs/core/contexts.d.ts
CHANGED
package/cjs/core/contexts.js
CHANGED
package/cjs/core/helpers.d.ts
CHANGED
package/cjs/core/helpers.js
CHANGED
package/cjs/core/template.d.ts
CHANGED
package/cjs/core/template.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.1.
|
|
4
|
-
* Build date: Wed
|
|
3
|
+
* Version: 25.1.2-beta
|
|
4
|
+
* Build date: Wed May 14 2025
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
+
'use client';
|
|
14
15
|
"use strict";
|
|
15
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
17
|
exports.findProps = exports.Template = void 0;
|
package/cjs/core/types.d.ts
CHANGED
package/cjs/core/types.js
CHANGED
package/cjs/data-grid.d.ts
CHANGED
package/cjs/data-grid.js
CHANGED
package/cjs/date-box.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.1.
|
|
4
|
-
* Build date: Wed
|
|
3
|
+
* Version: 25.1.2-beta
|
|
4
|
+
* Build date: Wed May 14 2025
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -54,9 +54,9 @@ type IDateBoxOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDa
|
|
|
54
54
|
dropDownButtonRender?: (...params: any) => React.ReactNode;
|
|
55
55
|
dropDownButtonComponent?: React.ComponentType<any>;
|
|
56
56
|
defaultOpened?: boolean;
|
|
57
|
-
defaultValue?: Date | number | string;
|
|
57
|
+
defaultValue?: Date | null | number | string;
|
|
58
58
|
onOpenedChange?: (value: boolean) => void;
|
|
59
|
-
onValueChange?: (value: Date | number | string) => void;
|
|
59
|
+
onValueChange?: (value: Date | null | number | string) => void;
|
|
60
60
|
}>;
|
|
61
61
|
interface DateBoxRef {
|
|
62
62
|
instance: () => dxDateBox;
|
|
@@ -134,9 +134,9 @@ type ICalendarOptionsProps = React.PropsWithChildren<{
|
|
|
134
134
|
hoverStateEnabled?: boolean;
|
|
135
135
|
isDirty?: boolean;
|
|
136
136
|
isValid?: boolean;
|
|
137
|
-
max?: Date | number | string;
|
|
137
|
+
max?: Date | null | number | string;
|
|
138
138
|
maxZoomLevel?: CalendarZoomLevel;
|
|
139
|
-
min?: Date | number | string;
|
|
139
|
+
min?: Date | null | number | string;
|
|
140
140
|
minZoomLevel?: CalendarZoomLevel;
|
|
141
141
|
name?: string;
|
|
142
142
|
onDisposing?: ((e: CalendarDisposingEvent) => void);
|
|
@@ -155,13 +155,13 @@ type ICalendarOptionsProps = React.PropsWithChildren<{
|
|
|
155
155
|
validationMessageMode?: ValidationMessageMode;
|
|
156
156
|
validationMessagePosition?: CommonPosition;
|
|
157
157
|
validationStatus?: ValidationStatus;
|
|
158
|
-
value?: Array<Date | number | string> | Date | number | string;
|
|
158
|
+
value?: Array<Date | null | number | string> | Date | null | number | string;
|
|
159
159
|
visible?: boolean;
|
|
160
160
|
weekNumberRule?: WeekNumberRule;
|
|
161
161
|
width?: (() => number | string) | number | string | undefined;
|
|
162
162
|
zoomLevel?: CalendarZoomLevel;
|
|
163
|
-
defaultValue?: Array<Date | number | string> | Date | number | string;
|
|
164
|
-
onValueChange?: (value: Array<Date | number | string> | Date | number | string) => void;
|
|
163
|
+
defaultValue?: Array<Date | null | number | string> | Date | null | number | string;
|
|
164
|
+
onValueChange?: (value: Array<Date | null | number | string> | Date | null | number | string) => void;
|
|
165
165
|
defaultZoomLevel?: CalendarZoomLevel;
|
|
166
166
|
onZoomLevelChange?: (value: CalendarZoomLevel) => void;
|
|
167
167
|
cellRender?: (...params: any) => React.ReactNode;
|
|
@@ -187,9 +187,9 @@ declare const CalendarOptions: ((props: ICalendarOptionsProps) => React.Function
|
|
|
187
187
|
hoverStateEnabled?: boolean | undefined;
|
|
188
188
|
isDirty?: boolean | undefined;
|
|
189
189
|
isValid?: boolean | undefined;
|
|
190
|
-
max?: string | number | Date | undefined;
|
|
190
|
+
max?: string | number | Date | null | undefined;
|
|
191
191
|
maxZoomLevel?: CalendarZoomLevel | undefined;
|
|
192
|
-
min?: string | number | Date | undefined;
|
|
192
|
+
min?: string | number | Date | null | undefined;
|
|
193
193
|
minZoomLevel?: CalendarZoomLevel | undefined;
|
|
194
194
|
name?: string | undefined;
|
|
195
195
|
onDisposing?: ((e: CalendarDisposingEvent) => void) | undefined;
|
|
@@ -208,13 +208,13 @@ declare const CalendarOptions: ((props: ICalendarOptionsProps) => React.Function
|
|
|
208
208
|
validationMessageMode?: ValidationMessageMode | undefined;
|
|
209
209
|
validationMessagePosition?: CommonPosition | undefined;
|
|
210
210
|
validationStatus?: ValidationStatus | undefined;
|
|
211
|
-
value?: string | number | Date | (string | number | Date)[] | undefined;
|
|
211
|
+
value?: string | number | Date | (string | number | Date | null)[] | null | undefined;
|
|
212
212
|
visible?: boolean | undefined;
|
|
213
213
|
weekNumberRule?: WeekNumberRule | undefined;
|
|
214
214
|
width?: (() => number | string) | number | string | undefined;
|
|
215
215
|
zoomLevel?: CalendarZoomLevel | undefined;
|
|
216
|
-
defaultValue?: string | number | Date | (string | number | Date)[] | undefined;
|
|
217
|
-
onValueChange?: ((value: Array<Date | number | string> | Date | number | string) => void) | undefined;
|
|
216
|
+
defaultValue?: string | number | Date | (string | number | Date | null)[] | null | undefined;
|
|
217
|
+
onValueChange?: ((value: Array<Date | null | number | string> | Date | null | number | string) => void) | undefined;
|
|
218
218
|
defaultZoomLevel?: CalendarZoomLevel | undefined;
|
|
219
219
|
onZoomLevelChange?: ((value: CalendarZoomLevel) => void) | undefined;
|
|
220
220
|
cellRender?: ((...params: any) => React.ReactNode) | undefined;
|
package/cjs/date-box.js
CHANGED
package/cjs/date-range-box.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 25.1.
|
|
4
|
-
* Build date: Wed
|
|
3
|
+
* Version: 25.1.2-beta
|
|
4
|
+
* Build date: Wed May 14 2025
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -53,14 +53,14 @@ type IDateRangeBoxOptionsNarrowedEvents = {
|
|
|
53
53
|
type IDateRangeBoxOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDateRangeBoxOptionsNarrowedEvents> & IHtmlOptions & {
|
|
54
54
|
dropDownButtonRender?: (...params: any) => React.ReactNode;
|
|
55
55
|
dropDownButtonComponent?: React.ComponentType<any>;
|
|
56
|
-
defaultEndDate?: Date | number | string;
|
|
56
|
+
defaultEndDate?: Date | null | number | string;
|
|
57
57
|
defaultOpened?: boolean;
|
|
58
|
-
defaultStartDate?: Date | number | string;
|
|
59
|
-
defaultValue?: Array<Date | number | string>;
|
|
60
|
-
onEndDateChange?: (value: Date | number | string) => void;
|
|
58
|
+
defaultStartDate?: Date | null | number | string;
|
|
59
|
+
defaultValue?: Array<Date | null | number | string>;
|
|
60
|
+
onEndDateChange?: (value: Date | null | number | string) => void;
|
|
61
61
|
onOpenedChange?: (value: boolean) => void;
|
|
62
|
-
onStartDateChange?: (value: Date | number | string) => void;
|
|
63
|
-
onValueChange?: (value: Array<Date | number | string>) => void;
|
|
62
|
+
onStartDateChange?: (value: Date | null | number | string) => void;
|
|
63
|
+
onValueChange?: (value: Array<Date | null | number | string>) => void;
|
|
64
64
|
}>;
|
|
65
65
|
interface DateRangeBoxRef {
|
|
66
66
|
instance: () => dxDateRangeBox;
|
|
@@ -138,9 +138,9 @@ type ICalendarOptionsProps = React.PropsWithChildren<{
|
|
|
138
138
|
hoverStateEnabled?: boolean;
|
|
139
139
|
isDirty?: boolean;
|
|
140
140
|
isValid?: boolean;
|
|
141
|
-
max?: Date | number | string;
|
|
141
|
+
max?: Date | null | number | string;
|
|
142
142
|
maxZoomLevel?: CalendarZoomLevel;
|
|
143
|
-
min?: Date | number | string;
|
|
143
|
+
min?: Date | null | number | string;
|
|
144
144
|
minZoomLevel?: CalendarZoomLevel;
|
|
145
145
|
name?: string;
|
|
146
146
|
onDisposing?: ((e: CalendarDisposingEvent) => void);
|
|
@@ -159,13 +159,13 @@ type ICalendarOptionsProps = React.PropsWithChildren<{
|
|
|
159
159
|
validationMessageMode?: ValidationMessageMode;
|
|
160
160
|
validationMessagePosition?: CommonPosition;
|
|
161
161
|
validationStatus?: ValidationStatus;
|
|
162
|
-
value?: Array<Date | number | string> | Date | number | string;
|
|
162
|
+
value?: Array<Date | null | number | string> | Date | null | number | string;
|
|
163
163
|
visible?: boolean;
|
|
164
164
|
weekNumberRule?: WeekNumberRule;
|
|
165
165
|
width?: (() => number | string) | number | string | undefined;
|
|
166
166
|
zoomLevel?: CalendarZoomLevel;
|
|
167
|
-
defaultValue?: Array<Date | number | string> | Date | number | string;
|
|
168
|
-
onValueChange?: (value: Array<Date | number | string> | Date | number | string) => void;
|
|
167
|
+
defaultValue?: Array<Date | null | number | string> | Date | null | number | string;
|
|
168
|
+
onValueChange?: (value: Array<Date | null | number | string> | Date | null | number | string) => void;
|
|
169
169
|
defaultZoomLevel?: CalendarZoomLevel;
|
|
170
170
|
onZoomLevelChange?: (value: CalendarZoomLevel) => void;
|
|
171
171
|
cellRender?: (...params: any) => React.ReactNode;
|
|
@@ -191,9 +191,9 @@ declare const CalendarOptions: ((props: ICalendarOptionsProps) => React.Function
|
|
|
191
191
|
hoverStateEnabled?: boolean | undefined;
|
|
192
192
|
isDirty?: boolean | undefined;
|
|
193
193
|
isValid?: boolean | undefined;
|
|
194
|
-
max?: string | number | Date | undefined;
|
|
194
|
+
max?: string | number | Date | null | undefined;
|
|
195
195
|
maxZoomLevel?: CalendarZoomLevel | undefined;
|
|
196
|
-
min?: string | number | Date | undefined;
|
|
196
|
+
min?: string | number | Date | null | undefined;
|
|
197
197
|
minZoomLevel?: CalendarZoomLevel | undefined;
|
|
198
198
|
name?: string | undefined;
|
|
199
199
|
onDisposing?: ((e: CalendarDisposingEvent) => void) | undefined;
|
|
@@ -212,13 +212,13 @@ declare const CalendarOptions: ((props: ICalendarOptionsProps) => React.Function
|
|
|
212
212
|
validationMessageMode?: ValidationMessageMode | undefined;
|
|
213
213
|
validationMessagePosition?: CommonPosition | undefined;
|
|
214
214
|
validationStatus?: ValidationStatus | undefined;
|
|
215
|
-
value?: string | number | Date | (string | number | Date)[] | undefined;
|
|
215
|
+
value?: string | number | Date | (string | number | Date | null)[] | null | undefined;
|
|
216
216
|
visible?: boolean | undefined;
|
|
217
217
|
weekNumberRule?: WeekNumberRule | undefined;
|
|
218
218
|
width?: (() => number | string) | number | string | undefined;
|
|
219
219
|
zoomLevel?: CalendarZoomLevel | undefined;
|
|
220
|
-
defaultValue?: string | number | Date | (string | number | Date)[] | undefined;
|
|
221
|
-
onValueChange?: ((value: Array<Date | number | string> | Date | number | string) => void) | undefined;
|
|
220
|
+
defaultValue?: string | number | Date | (string | number | Date | null)[] | null | undefined;
|
|
221
|
+
onValueChange?: ((value: Array<Date | null | number | string> | Date | null | number | string) => void) | undefined;
|
|
222
222
|
defaultZoomLevel?: CalendarZoomLevel | undefined;
|
|
223
223
|
onZoomLevelChange?: ((value: CalendarZoomLevel) => void) | undefined;
|
|
224
224
|
cellRender?: ((...params: any) => React.ReactNode) | undefined;
|