devextreme-react 23.1.2-beta → 23.1.2-beta.2
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 +13 -15
- package/accordion.js +2 -2
- package/action-sheet.d.ts +18 -8
- package/action-sheet.js +2 -2
- package/autocomplete.d.ts +7 -18
- package/autocomplete.js +2 -2
- package/bar-gauge.d.ts +16 -4
- package/bar-gauge.js +2 -2
- package/box.d.ts +18 -8
- package/box.js +2 -2
- package/bullet.d.ts +2 -2
- package/bullet.js +2 -2
- package/button-group.d.ts +12 -3
- package/button-group.js +2 -2
- package/button.d.ts +12 -3
- package/button.js +2 -2
- package/calendar.d.ts +12 -3
- package/calendar.js +2 -2
- package/chart.d.ts +20 -4
- package/chart.js +2 -2
- package/check-box.d.ts +2 -2
- package/check-box.js +2 -2
- package/circular-gauge.d.ts +2 -2
- package/circular-gauge.js +2 -2
- package/color-box.d.ts +7 -18
- package/color-box.js +2 -2
- package/common/charts.d.ts +2 -2
- package/common/charts.js +2 -2
- package/common/grids.d.ts +3 -3
- package/common/grids.js +2 -2
- package/common/index.d.ts +2 -2
- package/common/index.js +2 -2
- package/context-menu.d.ts +12 -14
- package/context-menu.js +2 -2
- package/core/component-base.d.ts +2 -2
- package/core/component-base.js +2 -2
- package/core/component.d.ts +2 -2
- package/core/component.js +2 -2
- package/core/config.d.ts +2 -2
- package/core/config.js +2 -2
- package/core/configuration/comparer.d.ts +2 -2
- package/core/configuration/comparer.js +2 -2
- package/core/configuration/config-node.d.ts +2 -2
- package/core/configuration/config-node.js +2 -2
- package/core/configuration/react/element.d.ts +2 -2
- package/core/configuration/react/element.js +2 -2
- package/core/configuration/react/templates.d.ts +2 -2
- package/core/configuration/react/templates.js +2 -2
- package/core/configuration/react/tree.d.ts +2 -2
- package/core/configuration/react/tree.js +2 -2
- package/core/configuration/tree.d.ts +2 -2
- package/core/configuration/tree.js +2 -2
- package/core/configuration/utils.d.ts +2 -2
- package/core/configuration/utils.js +2 -2
- package/core/dx-template.d.ts +2 -2
- package/core/dx-template.js +2 -2
- 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 +45 -41
- package/data-grid.js +2 -2
- package/date-box.d.ts +14 -44
- package/date-box.js +2 -2
- package/date-range-box.d.ts +14 -44
- package/date-range-box.js +3 -10
- package/defer-rendering.d.ts +2 -2
- package/defer-rendering.js +2 -2
- package/diagram.d.ts +2 -2
- package/diagram.js +2 -2
- package/draggable.d.ts +2 -2
- package/draggable.js +2 -2
- package/drawer.d.ts +2 -2
- package/drawer.js +2 -2
- package/drop-down-box.d.ts +7 -18
- package/drop-down-box.js +2 -2
- package/drop-down-button.d.ts +12 -3
- package/drop-down-button.js +2 -2
- package/file-manager.d.ts +12 -4
- package/file-manager.js +2 -2
- package/file-uploader.d.ts +2 -2
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +12 -4
- package/filter-builder.js +2 -2
- package/form.d.ts +23 -28
- package/form.js +2 -2
- package/funnel.d.ts +16 -4
- package/funnel.js +2 -2
- package/gallery.d.ts +13 -15
- package/gallery.js +2 -2
- package/gantt.d.ts +2 -2
- package/gantt.js +2 -2
- package/html-editor.d.ts +17 -8
- package/html-editor.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/linear-gauge.d.ts +18 -3
- package/linear-gauge.js +2 -2
- package/list.d.ts +30 -46
- package/list.js +2 -2
- package/load-indicator.d.ts +2 -2
- package/load-indicator.js +2 -2
- package/load-panel.d.ts +2 -2
- package/load-panel.js +2 -2
- package/lookup.d.ts +6 -3
- package/lookup.js +2 -2
- package/map.d.ts +2 -2
- package/map.js +2 -2
- package/menu.d.ts +17 -8
- package/menu.js +2 -2
- package/multi-view.d.ts +13 -15
- package/multi-view.js +2 -2
- package/number-box.d.ts +8 -21
- package/number-box.js +2 -2
- package/package.json +4 -4
- package/pie-chart.d.ts +20 -4
- package/pie-chart.js +2 -2
- package/pivot-grid-field-chooser.d.ts +12 -3
- package/pivot-grid-field-chooser.js +2 -2
- package/pivot-grid.d.ts +12 -3
- package/pivot-grid.js +2 -2
- package/polar-chart.d.ts +20 -4
- package/polar-chart.js +2 -2
- package/popover.d.ts +2 -2
- package/popover.js +2 -2
- package/popup.d.ts +2 -2
- package/popup.js +2 -2
- package/progress-bar.d.ts +2 -2
- package/progress-bar.js +2 -2
- package/radio-group.d.ts +13 -3
- package/radio-group.js +2 -2
- package/range-selector.d.ts +16 -3
- package/range-selector.js +2 -2
- package/range-slider.d.ts +2 -2
- package/range-slider.js +2 -2
- package/recurrence-editor.d.ts +2 -2
- package/recurrence-editor.js +2 -2
- package/resizable.d.ts +2 -2
- package/resizable.js +2 -2
- package/responsive-box.d.ts +18 -8
- package/responsive-box.js +2 -2
- package/sankey.d.ts +16 -4
- package/sankey.js +2 -2
- package/scheduler.d.ts +12 -4
- package/scheduler.js +2 -2
- package/scroll-view.d.ts +2 -2
- package/scroll-view.js +2 -2
- package/select-box.d.ts +7 -18
- package/select-box.js +2 -2
- package/slider.d.ts +13 -3
- package/slider.js +2 -2
- package/sortable.d.ts +11 -3
- package/sortable.js +2 -2
- package/sparkline.d.ts +18 -3
- package/sparkline.js +2 -2
- package/speed-dial-action.d.ts +2 -2
- package/speed-dial-action.js +2 -2
- package/switch.d.ts +2 -2
- package/switch.js +2 -2
- package/tab-panel.d.ts +13 -15
- package/tab-panel.js +2 -2
- package/tabs.d.ts +18 -8
- package/tabs.js +2 -2
- package/tag-box.d.ts +7 -18
- package/tag-box.js +2 -2
- package/text-area.d.ts +2 -2
- package/text-area.js +2 -2
- package/text-box.d.ts +8 -21
- package/text-box.js +2 -2
- package/tile-view.d.ts +18 -8
- package/tile-view.js +2 -2
- package/toast.d.ts +2 -2
- package/toast.js +2 -2
- package/toolbar.d.ts +18 -8
- package/toolbar.js +2 -2
- package/tooltip.d.ts +2 -2
- package/tooltip.js +2 -2
- package/tree-list.d.ts +45 -41
- package/tree-list.js +2 -2
- package/tree-map.d.ts +16 -4
- package/tree-map.js +2 -2
- package/tree-view.d.ts +25 -32
- package/tree-view.js +2 -2
- package/validation-group.d.ts +11 -3
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +10 -12
- package/validation-summary.js +2 -2
- package/validator.d.ts +2 -2
- package/validator.js +2 -2
- package/vector-map.d.ts +16 -4
- package/vector-map.js +2 -2
package/data-grid.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,34 +12,60 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
-
export { ExplicitTypes } from "devextreme/ui/data_grid";
|
|
16
15
|
import dxDataGrid, { Properties } from "devextreme/ui/data_grid";
|
|
17
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
17
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxDataGridColumn, dxDataGridRowObject, dxDataGridColumnButton, dxDataGridToolbarItem } from "devextreme/ui/data_grid";
|
|
18
|
+
import type { dxDataGridColumn, AdaptiveDetailRowPreparingEvent, ContentReadyEvent, DataErrorOccurredEvent, DisposingEvent, EditCanceledEvent, EditCancelingEvent, InitializedEvent, InitNewRowEvent, KeyDownEvent, RowCollapsedEvent, RowCollapsingEvent, RowExpandedEvent, RowExpandingEvent, RowInsertedEvent, RowInsertingEvent, RowRemovedEvent, RowRemovingEvent, RowUpdatedEvent, RowUpdatingEvent, RowValidatingEvent, SavedEvent, SavingEvent, ToolbarPreparingEvent, dxDataGridRowObject, dxDataGridColumnButton, dxDataGridToolbarItem } from "devextreme/ui/data_grid";
|
|
20
19
|
import type { DataChange, ColumnHeaderFilterSearchConfig, ColumnChooserSearchConfig, ColumnChooserSelectionConfig, HeaderFilterSearchConfig, GridBase } from "devextreme/common/grids";
|
|
20
|
+
import type { ContentReadyEvent as FilterBuilderContentReadyEvent, DisposingEvent as FilterBuilderDisposingEvent, InitializedEvent as FilterBuilderInitializedEvent, dxFilterBuilderField, dxFilterBuilderCustomOperation, OptionChangedEvent } from "devextreme/ui/filter_builder";
|
|
21
|
+
import type { ContentReadyEvent as FormContentReadyEvent, DisposingEvent as FormDisposingEvent, InitializedEvent as FormInitializedEvent, dxFormSimpleItem, dxFormOptions, OptionChangedEvent as FormOptionChangedEvent, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem } from "devextreme/ui/form";
|
|
21
22
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
22
23
|
import type { event, EventInfo } from "devextreme/events/index";
|
|
23
24
|
import type { template } from "devextreme/core/templates/template";
|
|
24
|
-
import type { dxFormSimpleItem, dxFormOptions, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem } from "devextreme/ui/form";
|
|
25
25
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
26
26
|
import type { Store } from "devextreme/data/abstract_store";
|
|
27
27
|
import type { PositionConfig } from "devextreme/animation/position";
|
|
28
|
-
import type { dxFilterBuilderField, dxFilterBuilderCustomOperation } from "devextreme/ui/filter_builder";
|
|
29
28
|
import type { dxPopupOptions, dxPopupToolbarItem } from "devextreme/ui/popup";
|
|
30
29
|
import type { Component } from "devextreme/core/component";
|
|
31
30
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
32
31
|
import type dxFilterBuilder from "devextreme/ui/filter_builder";
|
|
33
|
-
import type DOMComponent from "devextreme/core/dom_component";
|
|
34
32
|
import type dxOverlay from "devextreme/ui/overlay";
|
|
33
|
+
import type DOMComponent from "devextreme/core/dom_component";
|
|
35
34
|
import type dxPopup from "devextreme/ui/popup";
|
|
36
35
|
import type dxForm from "devextreme/ui/form";
|
|
37
36
|
import type dxSortable from "devextreme/ui/sortable";
|
|
38
37
|
import type dxDraggable from "devextreme/ui/draggable";
|
|
39
38
|
import type * as LocalizationTypes from "devextreme/localization";
|
|
40
39
|
import type * as CommonTypes from "devextreme/common";
|
|
41
|
-
declare type
|
|
42
|
-
|
|
40
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
41
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
42
|
+
};
|
|
43
|
+
declare type IDataGridOptionsNarrowedEvents = {
|
|
44
|
+
onAdaptiveDetailRowPreparing?: ((e: AdaptiveDetailRowPreparingEvent) => void);
|
|
45
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
46
|
+
onDataErrorOccurred?: ((e: DataErrorOccurredEvent) => void);
|
|
47
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
48
|
+
onEditCanceled?: ((e: EditCanceledEvent) => void);
|
|
49
|
+
onEditCanceling?: ((e: EditCancelingEvent) => void);
|
|
50
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
51
|
+
onInitNewRow?: ((e: InitNewRowEvent) => void);
|
|
52
|
+
onKeyDown?: ((e: KeyDownEvent) => void);
|
|
53
|
+
onRowCollapsed?: ((e: RowCollapsedEvent) => void);
|
|
54
|
+
onRowCollapsing?: ((e: RowCollapsingEvent) => void);
|
|
55
|
+
onRowExpanded?: ((e: RowExpandedEvent) => void);
|
|
56
|
+
onRowExpanding?: ((e: RowExpandingEvent) => void);
|
|
57
|
+
onRowInserted?: ((e: RowInsertedEvent) => void);
|
|
58
|
+
onRowInserting?: ((e: RowInsertingEvent) => void);
|
|
59
|
+
onRowRemoved?: ((e: RowRemovedEvent) => void);
|
|
60
|
+
onRowRemoving?: ((e: RowRemovingEvent) => void);
|
|
61
|
+
onRowUpdated?: ((e: RowUpdatedEvent) => void);
|
|
62
|
+
onRowUpdating?: ((e: RowUpdatingEvent) => void);
|
|
63
|
+
onRowValidating?: ((e: RowValidatingEvent) => void);
|
|
64
|
+
onSaved?: ((e: SavedEvent) => void);
|
|
65
|
+
onSaving?: ((e: SavingEvent) => void);
|
|
66
|
+
onToolbarPreparing?: ((e: ToolbarPreparingEvent) => void);
|
|
67
|
+
};
|
|
68
|
+
declare type IDataGridOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDataGridOptionsNarrowedEvents> & IHtmlOptions & {
|
|
43
69
|
dataRowRender?: (...params: any) => React.ReactNode;
|
|
44
70
|
dataRowComponent?: React.ComponentType<any>;
|
|
45
71
|
dataRowKeyFn?: (data: any) => string;
|
|
@@ -71,8 +97,8 @@ declare type IDataGridOptions<TRowData = any, TKey = any> = React.PropsWithChild
|
|
|
71
97
|
onSelectedRowKeysChange?: (value: Array<any>) => void;
|
|
72
98
|
onSelectionFilterChange?: (value: Array<any> | (() => any) | string) => void;
|
|
73
99
|
}>;
|
|
74
|
-
declare class DataGrid
|
|
75
|
-
get instance(): dxDataGrid
|
|
100
|
+
declare class DataGrid extends BaseComponent<React.PropsWithChildren<IDataGridOptions>> {
|
|
101
|
+
get instance(): dxDataGrid;
|
|
76
102
|
protected _WidgetClass: typeof dxDataGrid;
|
|
77
103
|
protected useRequestAnimationFrameFlag: boolean;
|
|
78
104
|
protected subscribableOptions: string[];
|
|
@@ -1096,8 +1122,8 @@ declare type IFilterBuilderProps = React.PropsWithChildren<{
|
|
|
1096
1122
|
hint?: string;
|
|
1097
1123
|
hoverStateEnabled?: boolean;
|
|
1098
1124
|
maxGroupLevel?: number;
|
|
1099
|
-
onContentReady?: ((e:
|
|
1100
|
-
onDisposing?: ((e:
|
|
1125
|
+
onContentReady?: ((e: FilterBuilderContentReadyEvent) => void);
|
|
1126
|
+
onDisposing?: ((e: FilterBuilderDisposingEvent) => void);
|
|
1101
1127
|
onEditorPrepared?: ((e: {
|
|
1102
1128
|
component: dxFilterBuilder;
|
|
1103
1129
|
dataField: string;
|
|
@@ -1132,19 +1158,8 @@ declare type IFilterBuilderProps = React.PropsWithChildren<{
|
|
|
1132
1158
|
value: any;
|
|
1133
1159
|
width: number;
|
|
1134
1160
|
}) => void);
|
|
1135
|
-
onInitialized?: ((e:
|
|
1136
|
-
|
|
1137
|
-
element: any;
|
|
1138
|
-
}) => void);
|
|
1139
|
-
onOptionChanged?: ((e: {
|
|
1140
|
-
component: DOMComponent;
|
|
1141
|
-
element: any;
|
|
1142
|
-
fullName: string;
|
|
1143
|
-
model: any;
|
|
1144
|
-
name: string;
|
|
1145
|
-
previousValue: any;
|
|
1146
|
-
value: any;
|
|
1147
|
-
}) => void);
|
|
1161
|
+
onInitialized?: ((e: FilterBuilderInitializedEvent) => void);
|
|
1162
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
1148
1163
|
onValueChanged?: ((e: {
|
|
1149
1164
|
component: dxFilterBuilder;
|
|
1150
1165
|
element: any;
|
|
@@ -1432,8 +1447,8 @@ declare type IFormProps = React.PropsWithChildren<{
|
|
|
1432
1447
|
labelLocation?: "left" | "right" | "top";
|
|
1433
1448
|
labelMode?: "static" | "floating" | "hidden" | "outside";
|
|
1434
1449
|
minColWidth?: number;
|
|
1435
|
-
onContentReady?: ((e:
|
|
1436
|
-
onDisposing?: ((e:
|
|
1450
|
+
onContentReady?: ((e: FormContentReadyEvent) => void);
|
|
1451
|
+
onDisposing?: ((e: FormDisposingEvent) => void);
|
|
1437
1452
|
onEditorEnterKey?: ((e: {
|
|
1438
1453
|
component: dxForm;
|
|
1439
1454
|
dataField: string;
|
|
@@ -1447,19 +1462,8 @@ declare type IFormProps = React.PropsWithChildren<{
|
|
|
1447
1462
|
model: any;
|
|
1448
1463
|
value: Record<string, any>;
|
|
1449
1464
|
}) => void);
|
|
1450
|
-
onInitialized?: ((e:
|
|
1451
|
-
|
|
1452
|
-
element: any;
|
|
1453
|
-
}) => void);
|
|
1454
|
-
onOptionChanged?: ((e: {
|
|
1455
|
-
component: DOMComponent;
|
|
1456
|
-
element: any;
|
|
1457
|
-
fullName: string;
|
|
1458
|
-
model: any;
|
|
1459
|
-
name: string;
|
|
1460
|
-
previousValue: any;
|
|
1461
|
-
value: any;
|
|
1462
|
-
}) => void);
|
|
1465
|
+
onInitialized?: ((e: FormInitializedEvent) => void);
|
|
1466
|
+
onOptionChanged?: ((e: FormOptionChangedEvent) => void);
|
|
1463
1467
|
optionalMark?: string;
|
|
1464
1468
|
readOnly?: boolean;
|
|
1465
1469
|
requiredMark?: string;
|
package/data-grid.js
CHANGED
package/date-box.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,18 +16,17 @@ import dxDateBox, { Properties } from "devextreme/ui/date_box";
|
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
18
|
import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/date_box";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent as ButtonOptionChangedEvent } from "devextreme/ui/button";
|
|
20
|
+
import type { DisposingEvent as CalendarDisposingEvent, InitializedEvent as CalendarInitializedEvent, ValueChangedEvent as CalendarValueChangedEvent, DisabledDate, OptionChangedEvent } from "devextreme/ui/calendar";
|
|
19
21
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
20
|
-
import type { dxButtonOptions } from "devextreme/ui/button";
|
|
21
22
|
import type { template } from "devextreme/core/templates/template";
|
|
22
|
-
import type {
|
|
23
|
-
import type { EventInfo, event } from "devextreme/events/index";
|
|
23
|
+
import type { event, EventInfo } from "devextreme/events/index";
|
|
24
24
|
import type { Component } from "devextreme/core/component";
|
|
25
25
|
import type { PositionConfig } from "devextreme/animation/position";
|
|
26
26
|
import type { dxPopupToolbarItem } from "devextreme/ui/popup";
|
|
27
27
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
28
|
-
import type DOMComponent from "devextreme/core/dom_component";
|
|
29
|
-
import type Editor from "devextreme/ui/editor/editor";
|
|
30
28
|
import type dxOverlay from "devextreme/ui/overlay";
|
|
29
|
+
import type DOMComponent from "devextreme/core/dom_component";
|
|
31
30
|
import type dxPopup from "devextreme/ui/popup";
|
|
32
31
|
import type dxButton from "devextreme/ui/button";
|
|
33
32
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
@@ -165,28 +164,10 @@ declare type ICalendarOptionsProps = React.PropsWithChildren<{
|
|
|
165
164
|
min?: any | number | string;
|
|
166
165
|
minZoomLevel?: "century" | "decade" | "month" | "year";
|
|
167
166
|
name?: string;
|
|
168
|
-
onDisposing?: ((e:
|
|
169
|
-
onInitialized?: ((e:
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}) => void);
|
|
173
|
-
onOptionChanged?: ((e: {
|
|
174
|
-
component: DOMComponent;
|
|
175
|
-
element: any;
|
|
176
|
-
fullName: string;
|
|
177
|
-
model: any;
|
|
178
|
-
name: string;
|
|
179
|
-
previousValue: any;
|
|
180
|
-
value: any;
|
|
181
|
-
}) => void);
|
|
182
|
-
onValueChanged?: ((e: {
|
|
183
|
-
component: Editor;
|
|
184
|
-
element: any;
|
|
185
|
-
event: event;
|
|
186
|
-
model: any;
|
|
187
|
-
previousValue: Record<string, any>;
|
|
188
|
-
value: Record<string, any>;
|
|
189
|
-
}) => void);
|
|
167
|
+
onDisposing?: ((e: CalendarDisposingEvent) => void);
|
|
168
|
+
onInitialized?: ((e: CalendarInitializedEvent) => void);
|
|
169
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
170
|
+
onValueChanged?: ((e: CalendarValueChangedEvent) => void);
|
|
190
171
|
readOnly?: boolean;
|
|
191
172
|
rtlEnabled?: boolean;
|
|
192
173
|
showTodayButton?: boolean;
|
|
@@ -461,21 +442,10 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
461
442
|
model: any;
|
|
462
443
|
validationGroup: Record<string, any>;
|
|
463
444
|
}) => void);
|
|
464
|
-
onContentReady?: ((e:
|
|
465
|
-
onDisposing?: ((e:
|
|
466
|
-
onInitialized?: ((e:
|
|
467
|
-
|
|
468
|
-
element: any;
|
|
469
|
-
}) => void);
|
|
470
|
-
onOptionChanged?: ((e: {
|
|
471
|
-
component: DOMComponent;
|
|
472
|
-
element: any;
|
|
473
|
-
fullName: string;
|
|
474
|
-
model: any;
|
|
475
|
-
name: string;
|
|
476
|
-
previousValue: any;
|
|
477
|
-
value: any;
|
|
478
|
-
}) => void);
|
|
445
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
446
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
447
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
448
|
+
onOptionChanged?: ((e: ButtonOptionChangedEvent) => void);
|
|
479
449
|
rtlEnabled?: boolean;
|
|
480
450
|
stylingMode?: "text" | "outlined" | "contained";
|
|
481
451
|
tabIndex?: number;
|
package/date-box.js
CHANGED
package/date-range-box.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,18 +16,17 @@ import dxDateRangeBox, { Properties } from "devextreme/ui/date_range_box";
|
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
18
|
import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/date_range_box";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent as ButtonOptionChangedEvent } from "devextreme/ui/button";
|
|
20
|
+
import type { DisposingEvent as CalendarDisposingEvent, InitializedEvent as CalendarInitializedEvent, ValueChangedEvent as CalendarValueChangedEvent, DisabledDate, OptionChangedEvent } from "devextreme/ui/calendar";
|
|
19
21
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
20
|
-
import type { dxButtonOptions } from "devextreme/ui/button";
|
|
21
22
|
import type { template } from "devextreme/core/templates/template";
|
|
22
|
-
import type {
|
|
23
|
-
import type { EventInfo, event } from "devextreme/events/index";
|
|
23
|
+
import type { event, EventInfo } from "devextreme/events/index";
|
|
24
24
|
import type { Component } from "devextreme/core/component";
|
|
25
25
|
import type { PositionConfig } from "devextreme/animation/position";
|
|
26
26
|
import type { dxPopupToolbarItem } from "devextreme/ui/popup";
|
|
27
27
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
28
|
-
import type DOMComponent from "devextreme/core/dom_component";
|
|
29
|
-
import type Editor from "devextreme/ui/editor/editor";
|
|
30
28
|
import type dxOverlay from "devextreme/ui/overlay";
|
|
29
|
+
import type DOMComponent from "devextreme/core/dom_component";
|
|
31
30
|
import type dxPopup from "devextreme/ui/popup";
|
|
32
31
|
import type dxButton from "devextreme/ui/button";
|
|
33
32
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
@@ -164,28 +163,10 @@ declare type ICalendarOptionsProps = React.PropsWithChildren<{
|
|
|
164
163
|
min?: any | number | string;
|
|
165
164
|
minZoomLevel?: "century" | "decade" | "month" | "year";
|
|
166
165
|
name?: string;
|
|
167
|
-
onDisposing?: ((e:
|
|
168
|
-
onInitialized?: ((e:
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
}) => void);
|
|
172
|
-
onOptionChanged?: ((e: {
|
|
173
|
-
component: DOMComponent;
|
|
174
|
-
element: any;
|
|
175
|
-
fullName: string;
|
|
176
|
-
model: any;
|
|
177
|
-
name: string;
|
|
178
|
-
previousValue: any;
|
|
179
|
-
value: any;
|
|
180
|
-
}) => void);
|
|
181
|
-
onValueChanged?: ((e: {
|
|
182
|
-
component: Editor;
|
|
183
|
-
element: any;
|
|
184
|
-
event: event;
|
|
185
|
-
model: any;
|
|
186
|
-
previousValue: Record<string, any>;
|
|
187
|
-
value: Record<string, any>;
|
|
188
|
-
}) => void);
|
|
166
|
+
onDisposing?: ((e: CalendarDisposingEvent) => void);
|
|
167
|
+
onInitialized?: ((e: CalendarInitializedEvent) => void);
|
|
168
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
169
|
+
onValueChanged?: ((e: CalendarValueChangedEvent) => void);
|
|
189
170
|
readOnly?: boolean;
|
|
190
171
|
rtlEnabled?: boolean;
|
|
191
172
|
showTodayButton?: boolean;
|
|
@@ -460,21 +441,10 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
460
441
|
model: any;
|
|
461
442
|
validationGroup: Record<string, any>;
|
|
462
443
|
}) => void);
|
|
463
|
-
onContentReady?: ((e:
|
|
464
|
-
onDisposing?: ((e:
|
|
465
|
-
onInitialized?: ((e:
|
|
466
|
-
|
|
467
|
-
element: any;
|
|
468
|
-
}) => void);
|
|
469
|
-
onOptionChanged?: ((e: {
|
|
470
|
-
component: DOMComponent;
|
|
471
|
-
element: any;
|
|
472
|
-
fullName: string;
|
|
473
|
-
model: any;
|
|
474
|
-
name: string;
|
|
475
|
-
previousValue: any;
|
|
476
|
-
value: any;
|
|
477
|
-
}) => void);
|
|
444
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
445
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
446
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
447
|
+
onOptionChanged?: ((e: ButtonOptionChangedEvent) => void);
|
|
478
448
|
rtlEnabled?: boolean;
|
|
479
449
|
stylingMode?: "text" | "outlined" | "contained";
|
|
480
450
|
tabIndex?: number;
|
package/date-range-box.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -86,6 +86,7 @@ DateRangeBox.propTypes = {
|
|
|
86
86
|
dateSerializationFormat: PropTypes.string,
|
|
87
87
|
deferRendering: PropTypes.bool,
|
|
88
88
|
disabled: PropTypes.bool,
|
|
89
|
+
disableOutOfRangeSelection: PropTypes.bool,
|
|
89
90
|
displayFormat: PropTypes.oneOfType([
|
|
90
91
|
PropTypes.object,
|
|
91
92
|
PropTypes.func,
|
|
@@ -109,7 +110,6 @@ DateRangeBox.propTypes = {
|
|
|
109
110
|
invalidEndDateMessage: PropTypes.string,
|
|
110
111
|
invalidStartDateMessage: PropTypes.string,
|
|
111
112
|
isValid: PropTypes.bool,
|
|
112
|
-
label: PropTypes.string,
|
|
113
113
|
labelMode: PropTypes.oneOfType([
|
|
114
114
|
PropTypes.string,
|
|
115
115
|
PropTypes.oneOf([
|
|
@@ -118,12 +118,7 @@ DateRangeBox.propTypes = {
|
|
|
118
118
|
"hidden"
|
|
119
119
|
])
|
|
120
120
|
]),
|
|
121
|
-
maxLength: PropTypes.oneOfType([
|
|
122
|
-
PropTypes.number,
|
|
123
|
-
PropTypes.string
|
|
124
|
-
]),
|
|
125
121
|
multiView: PropTypes.bool,
|
|
126
|
-
name: PropTypes.string,
|
|
127
122
|
onChange: PropTypes.func,
|
|
128
123
|
onClosed: PropTypes.func,
|
|
129
124
|
onContentReady: PropTypes.func,
|
|
@@ -143,7 +138,6 @@ DateRangeBox.propTypes = {
|
|
|
143
138
|
onValueChanged: PropTypes.func,
|
|
144
139
|
opened: PropTypes.bool,
|
|
145
140
|
openOnFieldClick: PropTypes.bool,
|
|
146
|
-
placeholder: PropTypes.string,
|
|
147
141
|
readOnly: PropTypes.bool,
|
|
148
142
|
rtlEnabled: PropTypes.bool,
|
|
149
143
|
showClearButton: PropTypes.bool,
|
|
@@ -163,7 +157,6 @@ DateRangeBox.propTypes = {
|
|
|
163
157
|
])
|
|
164
158
|
]),
|
|
165
159
|
tabIndex: PropTypes.number,
|
|
166
|
-
text: PropTypes.string,
|
|
167
160
|
todayButtonText: PropTypes.string,
|
|
168
161
|
useMaskBehavior: PropTypes.bool,
|
|
169
162
|
validationErrors: PropTypes.array,
|
package/defer-rendering.d.ts
CHANGED
package/defer-rendering.js
CHANGED
package/diagram.d.ts
CHANGED
package/diagram.js
CHANGED
package/draggable.d.ts
CHANGED
package/draggable.js
CHANGED
package/drawer.d.ts
CHANGED
package/drawer.js
CHANGED
package/drop-down-box.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,8 +16,8 @@ import dxDropDownBox, { Properties } from "devextreme/ui/drop_down_box";
|
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
18
|
import type { ChangeEvent, ClosedEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/drop_down_box";
|
|
19
|
+
import type { DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ContentReadyEvent, OptionChangedEvent } from "devextreme/ui/button";
|
|
19
20
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
20
|
-
import type { dxButtonOptions } from "devextreme/ui/button";
|
|
21
21
|
import type { event, EventInfo } from "devextreme/events/index";
|
|
22
22
|
import type { template } from "devextreme/core/templates/template";
|
|
23
23
|
import type { Component } from "devextreme/core/component";
|
|
@@ -359,21 +359,10 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
359
359
|
model: any;
|
|
360
360
|
validationGroup: Record<string, any>;
|
|
361
361
|
}) => void);
|
|
362
|
-
onContentReady?: ((e:
|
|
363
|
-
onDisposing?: ((e:
|
|
364
|
-
onInitialized?: ((e:
|
|
365
|
-
|
|
366
|
-
element: any;
|
|
367
|
-
}) => void);
|
|
368
|
-
onOptionChanged?: ((e: {
|
|
369
|
-
component: DOMComponent;
|
|
370
|
-
element: any;
|
|
371
|
-
fullName: string;
|
|
372
|
-
model: any;
|
|
373
|
-
name: string;
|
|
374
|
-
previousValue: any;
|
|
375
|
-
value: any;
|
|
376
|
-
}) => void);
|
|
362
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
363
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
364
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
365
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
377
366
|
rtlEnabled?: boolean;
|
|
378
367
|
stylingMode?: "text" | "outlined" | "contained";
|
|
379
368
|
tabIndex?: number;
|
package/drop-down-box.js
CHANGED
package/drop-down-button.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
import dxDropDownButton, { Properties } from "devextreme/ui/drop_down_button";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
+
import type { ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/drop_down_button";
|
|
18
19
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
19
20
|
import type { event, EventInfo } from "devextreme/events/index";
|
|
20
21
|
import type { template } from "devextreme/core/templates/template";
|
|
@@ -25,7 +26,15 @@ import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collectio
|
|
|
25
26
|
import type dxOverlay from "devextreme/ui/overlay";
|
|
26
27
|
import type DOMComponent from "devextreme/core/dom_component";
|
|
27
28
|
import type dxPopup from "devextreme/ui/popup";
|
|
28
|
-
declare type
|
|
29
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
30
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
31
|
+
};
|
|
32
|
+
declare type IDropDownButtonOptionsNarrowedEvents = {
|
|
33
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
34
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
35
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
36
|
+
};
|
|
37
|
+
declare type IDropDownButtonOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDropDownButtonOptionsNarrowedEvents> & IHtmlOptions & {
|
|
29
38
|
dropDownContentRender?: (...params: any) => React.ReactNode;
|
|
30
39
|
dropDownContentComponent?: React.ComponentType<any>;
|
|
31
40
|
dropDownContentKeyFn?: (data: any) => string;
|
package/drop-down-button.js
CHANGED
package/file-manager.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,8 +15,16 @@
|
|
|
15
15
|
import dxFileManager, { Properties } from "devextreme/ui/file_manager";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { dxFileManagerContextMenuItem, dxFileManagerDetailsColumn, dxFileManagerToolbarItem } from "devextreme/ui/file_manager";
|
|
19
|
-
declare type
|
|
18
|
+
import type { ContentReadyEvent, DisposingEvent, InitializedEvent, dxFileManagerContextMenuItem, dxFileManagerDetailsColumn, dxFileManagerToolbarItem } from "devextreme/ui/file_manager";
|
|
19
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
20
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
21
|
+
};
|
|
22
|
+
declare type IFileManagerOptionsNarrowedEvents = {
|
|
23
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
24
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
25
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
26
|
+
};
|
|
27
|
+
declare type IFileManagerOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFileManagerOptionsNarrowedEvents> & IHtmlOptions & {}>;
|
|
20
28
|
declare class FileManager extends BaseComponent<React.PropsWithChildren<IFileManagerOptions>> {
|
|
21
29
|
get instance(): dxFileManager;
|
|
22
30
|
protected _WidgetClass: typeof dxFileManager;
|
package/file-manager.js
CHANGED