devextreme-react 23.1.2-beta → 23.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/accordion.d.ts +4 -3
- package/accordion.js +2 -2
- package/action-sheet.d.ts +17 -4
- package/action-sheet.js +2 -2
- package/autocomplete.d.ts +8 -26
- package/autocomplete.js +2 -2
- package/bar-gauge.d.ts +21 -5
- package/bar-gauge.js +2 -2
- package/box.d.ts +16 -4
- package/box.js +2 -2
- package/bullet.d.ts +4 -4
- package/bullet.js +2 -2
- package/button-group.d.ts +13 -3
- package/button-group.js +2 -2
- package/button.d.ts +13 -3
- package/button.js +2 -2
- package/calendar.d.ts +12 -3
- package/calendar.js +2 -2
- package/chart.d.ts +53 -15
- 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 +8 -26
- 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 +8 -3
- 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 +79 -110
- package/data-grid.js +2 -2
- package/date-box.d.ts +15 -52
- package/date-box.js +2 -2
- package/date-range-box.d.ts +21 -52
- package/date-range-box.js +6 -11
- package/defer-rendering.d.ts +2 -2
- package/defer-rendering.js +2 -2
- package/diagram.d.ts +8 -3
- package/diagram.js +2 -2
- package/draggable.d.ts +6 -3
- package/draggable.js +2 -2
- package/drawer.d.ts +2 -2
- package/drawer.js +2 -2
- package/drop-down-box.d.ts +8 -26
- package/drop-down-box.js +2 -2
- package/drop-down-button.d.ts +14 -3
- package/drop-down-button.js +2 -2
- package/file-manager.d.ts +31 -5
- package/file-manager.js +2 -2
- package/file-uploader.d.ts +13 -3
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +19 -8
- package/filter-builder.js +2 -2
- package/form.d.ts +35 -68
- package/form.js +2 -2
- package/funnel.d.ts +21 -5
- package/funnel.js +2 -2
- package/gallery.d.ts +2 -2
- package/gallery.js +2 -2
- package/gantt.d.ts +34 -8
- package/gantt.js +2 -2
- package/html-editor.d.ts +32 -95
- 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 +48 -157
- 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 +10 -3
- package/lookup.js +2 -2
- package/map.d.ts +9 -3
- package/map.js +2 -2
- package/menu.d.ts +19 -4
- package/menu.js +2 -2
- package/multi-view.d.ts +2 -2
- package/multi-view.js +2 -2
- package/number-box.d.ts +8 -29
- package/number-box.js +2 -2
- package/package.json +4 -4
- package/pie-chart.d.ts +29 -10
- package/pie-chart.js +2 -2
- package/pivot-grid-field-chooser.d.ts +13 -3
- package/pivot-grid-field-chooser.js +2 -2
- package/pivot-grid.d.ts +17 -4
- package/pivot-grid.js +2 -2
- package/polar-chart.d.ts +33 -10
- 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 +4 -3
- package/progress-bar.js +2 -2
- package/radio-group.d.ts +13 -3
- package/radio-group.js +2 -2
- package/range-selector.d.ts +26 -8
- package/range-selector.js +2 -2
- package/range-slider.d.ts +4 -3
- package/range-slider.js +2 -2
- package/recurrence-editor.d.ts +2 -2
- package/recurrence-editor.js +2 -2
- package/resizable.d.ts +6 -3
- package/resizable.js +2 -2
- package/responsive-box.d.ts +16 -4
- package/responsive-box.js +2 -2
- package/sankey.d.ts +18 -4
- package/sankey.js +2 -2
- package/scheduler.d.ts +32 -10
- package/scheduler.js +2 -2
- package/scroll-view.d.ts +5 -3
- package/scroll-view.js +2 -2
- package/select-box.d.ts +10 -27
- package/select-box.js +2 -2
- package/slider.d.ts +13 -3
- package/slider.js +2 -2
- package/sortable.d.ts +18 -3
- package/sortable.js +2 -2
- package/sparkline.d.ts +20 -5
- package/sparkline.js +2 -2
- package/speed-dial-action.d.ts +5 -3
- package/speed-dial-action.js +2 -2
- package/switch.d.ts +2 -2
- package/switch.js +2 -2
- package/tab-panel.d.ts +6 -3
- package/tab-panel.js +2 -2
- package/tabs.d.ts +16 -4
- package/tabs.js +2 -2
- package/tag-box.d.ts +11 -27
- 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 -29
- package/text-box.js +2 -2
- package/tile-view.d.ts +16 -4
- package/tile-view.js +2 -2
- package/toast.d.ts +2 -2
- package/toast.js +2 -2
- package/toolbar.d.ts +16 -4
- package/toolbar.js +2 -2
- package/tooltip.d.ts +2 -2
- package/tooltip.js +2 -2
- package/tree-list.d.ts +78 -109
- package/tree-list.js +2 -2
- package/tree-map.d.ts +20 -4
- package/tree-map.js +2 -2
- package/tree-view.d.ts +30 -36
- package/tree-view.js +2 -2
- package/validation-group.d.ts +11 -3
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +2 -2
- package/validation-summary.js +2 -2
- package/validator.d.ts +2 -2
- package/validator.js +2 -2
- package/vector-map.d.ts +22 -5
- package/vector-map.js +2 -2
package/core/widget-config.d.ts
CHANGED
package/core/widget-config.js
CHANGED
package/data-grid.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,29 +16,69 @@ export { ExplicitTypes } from "devextreme/ui/data_grid";
|
|
|
16
16
|
import dxDataGrid, { Properties } from "devextreme/ui/data_grid";
|
|
17
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
18
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxDataGridColumn, dxDataGridRowObject, dxDataGridColumnButton, dxDataGridToolbarItem } from "devextreme/ui/data_grid";
|
|
19
|
+
import type { dxDataGridColumn, AdaptiveDetailRowPreparingEvent, CellClickEvent, CellDblClickEvent, CellPreparedEvent, ContentReadyEvent, ContextMenuPreparingEvent, DataErrorOccurredEvent, DisposingEvent, EditCanceledEvent, EditCancelingEvent, EditingStartEvent, EditorPreparedEvent, EditorPreparingEvent, ExportingEvent, FocusedCellChangingEvent, FocusedRowChangingEvent, InitializedEvent, InitNewRowEvent, KeyDownEvent, RowClickEvent, RowCollapsedEvent, RowCollapsingEvent, RowDblClickEvent, RowExpandedEvent, RowExpandingEvent, RowInsertedEvent, RowInsertingEvent, RowPreparedEvent, RowRemovedEvent, RowRemovingEvent, RowUpdatedEvent, RowUpdatingEvent, RowValidatingEvent, SavedEvent, SavingEvent, ToolbarPreparingEvent, dxDataGridRowObject, dxDataGridColumnButton, dxDataGridToolbarItem } from "devextreme/ui/data_grid";
|
|
20
20
|
import type { DataChange, ColumnHeaderFilterSearchConfig, ColumnChooserSearchConfig, ColumnChooserSelectionConfig, HeaderFilterSearchConfig, GridBase } from "devextreme/common/grids";
|
|
21
|
+
import type { ContentReadyEvent as FilterBuilderContentReadyEvent, DisposingEvent as FilterBuilderDisposingEvent, EditorPreparedEvent as FilterBuilderEditorPreparedEvent, EditorPreparingEvent as FilterBuilderEditorPreparingEvent, InitializedEvent as FilterBuilderInitializedEvent, dxFilterBuilderField, dxFilterBuilderCustomOperation, OptionChangedEvent, ValueChangedEvent } from "devextreme/ui/filter_builder";
|
|
22
|
+
import type { ContentReadyEvent as FormContentReadyEvent, DisposingEvent as FormDisposingEvent, InitializedEvent as FormInitializedEvent, dxFormSimpleItem, dxFormOptions, OptionChangedEvent as FormOptionChangedEvent, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem, EditorEnterKeyEvent, FieldDataChangedEvent } from "devextreme/ui/form";
|
|
21
23
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
22
24
|
import type { event, EventInfo } from "devextreme/events/index";
|
|
23
25
|
import type { template } from "devextreme/core/templates/template";
|
|
24
|
-
import type { dxFormSimpleItem, dxFormOptions, dxFormGroupItem, dxFormTabbedItem, dxFormEmptyItem, dxFormButtonItem } from "devextreme/ui/form";
|
|
25
26
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
26
27
|
import type { Store } from "devextreme/data/abstract_store";
|
|
27
28
|
import type { PositionConfig } from "devextreme/animation/position";
|
|
28
|
-
import type { dxFilterBuilderField, dxFilterBuilderCustomOperation } from "devextreme/ui/filter_builder";
|
|
29
29
|
import type { dxPopupOptions, dxPopupToolbarItem } from "devextreme/ui/popup";
|
|
30
30
|
import type { Component } from "devextreme/core/component";
|
|
31
31
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
32
|
-
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
|
|
40
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
41
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
42
|
+
};
|
|
43
|
+
declare type IDataGridOptionsNarrowedEvents<TRowData = any, TKey = any> = {
|
|
44
|
+
onAdaptiveDetailRowPreparing?: ((e: AdaptiveDetailRowPreparingEvent<TRowData, TKey>) => void);
|
|
45
|
+
onCellClick?: ((e: CellClickEvent<TRowData, TKey>) => void);
|
|
46
|
+
onCellDblClick?: ((e: CellDblClickEvent<TRowData, TKey>) => void);
|
|
47
|
+
onCellPrepared?: ((e: CellPreparedEvent<TRowData, TKey>) => void);
|
|
48
|
+
onContentReady?: ((e: ContentReadyEvent<TRowData, TKey>) => void);
|
|
49
|
+
onContextMenuPreparing?: ((e: ContextMenuPreparingEvent<TRowData, TKey>) => void);
|
|
50
|
+
onDataErrorOccurred?: ((e: DataErrorOccurredEvent<TRowData, TKey>) => void);
|
|
51
|
+
onDisposing?: ((e: DisposingEvent<TRowData, TKey>) => void);
|
|
52
|
+
onEditCanceled?: ((e: EditCanceledEvent<TRowData, TKey>) => void);
|
|
53
|
+
onEditCanceling?: ((e: EditCancelingEvent<TRowData, TKey>) => void);
|
|
54
|
+
onEditingStart?: ((e: EditingStartEvent<TRowData, TKey>) => void);
|
|
55
|
+
onEditorPrepared?: ((e: EditorPreparedEvent<TRowData, TKey>) => void);
|
|
56
|
+
onEditorPreparing?: ((e: EditorPreparingEvent<TRowData, TKey>) => void);
|
|
57
|
+
onExporting?: ((e: ExportingEvent<TRowData, TKey>) => void);
|
|
58
|
+
onFocusedCellChanging?: ((e: FocusedCellChangingEvent<TRowData, TKey>) => void);
|
|
59
|
+
onFocusedRowChanging?: ((e: FocusedRowChangingEvent<TRowData, TKey>) => void);
|
|
60
|
+
onInitialized?: ((e: InitializedEvent<TRowData, TKey>) => void);
|
|
61
|
+
onInitNewRow?: ((e: InitNewRowEvent<TRowData, TKey>) => void);
|
|
62
|
+
onKeyDown?: ((e: KeyDownEvent<TRowData, TKey>) => void);
|
|
63
|
+
onRowClick?: ((e: RowClickEvent<TRowData, TKey>) => void);
|
|
64
|
+
onRowCollapsed?: ((e: RowCollapsedEvent<TRowData, TKey>) => void);
|
|
65
|
+
onRowCollapsing?: ((e: RowCollapsingEvent<TRowData, TKey>) => void);
|
|
66
|
+
onRowDblClick?: ((e: RowDblClickEvent<TRowData, TKey>) => void);
|
|
67
|
+
onRowExpanded?: ((e: RowExpandedEvent<TRowData, TKey>) => void);
|
|
68
|
+
onRowExpanding?: ((e: RowExpandingEvent<TRowData, TKey>) => void);
|
|
69
|
+
onRowInserted?: ((e: RowInsertedEvent<TRowData, TKey>) => void);
|
|
70
|
+
onRowInserting?: ((e: RowInsertingEvent<TRowData, TKey>) => void);
|
|
71
|
+
onRowPrepared?: ((e: RowPreparedEvent<TRowData, TKey>) => void);
|
|
72
|
+
onRowRemoved?: ((e: RowRemovedEvent<TRowData, TKey>) => void);
|
|
73
|
+
onRowRemoving?: ((e: RowRemovingEvent<TRowData, TKey>) => void);
|
|
74
|
+
onRowUpdated?: ((e: RowUpdatedEvent<TRowData, TKey>) => void);
|
|
75
|
+
onRowUpdating?: ((e: RowUpdatingEvent<TRowData, TKey>) => void);
|
|
76
|
+
onRowValidating?: ((e: RowValidatingEvent<TRowData, TKey>) => void);
|
|
77
|
+
onSaved?: ((e: SavedEvent<TRowData, TKey>) => void);
|
|
78
|
+
onSaving?: ((e: SavingEvent<TRowData, TKey>) => void);
|
|
79
|
+
onToolbarPreparing?: ((e: ToolbarPreparingEvent<TRowData, TKey>) => void);
|
|
80
|
+
};
|
|
81
|
+
declare type IDataGridOptions<TRowData = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TRowData, TKey>, IDataGridOptionsNarrowedEvents<TRowData, TKey>> & IHtmlOptions & {
|
|
42
82
|
dataSource?: Properties<TRowData, TKey>["dataSource"];
|
|
43
83
|
dataRowRender?: (...params: any) => React.ReactNode;
|
|
44
84
|
dataRowComponent?: React.ComponentType<any>;
|
|
@@ -358,11 +398,11 @@ declare type IColumnProps = React.PropsWithChildren<{
|
|
|
358
398
|
allowSorting?: boolean;
|
|
359
399
|
autoExpandGroup?: boolean;
|
|
360
400
|
buttons?: Array<dxDataGridColumnButton | "cancel" | "delete" | "edit" | "save" | "undelete">;
|
|
361
|
-
calculateCellValue?: ((rowData:
|
|
362
|
-
calculateDisplayValue?: ((rowData:
|
|
401
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
402
|
+
calculateDisplayValue?: ((rowData: any) => any) | string;
|
|
363
403
|
calculateFilterExpression?: ((filterValue: any, selectedFilterOperation: string | null, target: string) => string);
|
|
364
|
-
calculateGroupValue?: ((rowData:
|
|
365
|
-
calculateSortValue?: ((rowData:
|
|
404
|
+
calculateGroupValue?: ((rowData: any) => any) | string;
|
|
405
|
+
calculateSortValue?: ((rowData: any) => any) | string;
|
|
366
406
|
caption?: string;
|
|
367
407
|
cellTemplate?: ((cellElement: any, cellInfo: {
|
|
368
408
|
column: dxDataGridColumn;
|
|
@@ -450,12 +490,12 @@ declare type IColumnProps = React.PropsWithChildren<{
|
|
|
450
490
|
isBand?: boolean;
|
|
451
491
|
lookup?: Record<string, any> | {
|
|
452
492
|
allowClearing?: boolean;
|
|
453
|
-
calculateCellValue?: ((rowData:
|
|
493
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
454
494
|
dataSource?: Array<any> | DataSourceOptions | ((options: {
|
|
455
495
|
data: Record<string, any>;
|
|
456
496
|
key: any;
|
|
457
497
|
}) => Array<any>) | null | Store;
|
|
458
|
-
displayExpr?: ((data:
|
|
498
|
+
displayExpr?: ((data: any) => string) | string;
|
|
459
499
|
valueExpr?: string;
|
|
460
500
|
};
|
|
461
501
|
minWidth?: number;
|
|
@@ -463,7 +503,7 @@ declare type IColumnProps = React.PropsWithChildren<{
|
|
|
463
503
|
ownerBand?: number;
|
|
464
504
|
renderAsync?: boolean;
|
|
465
505
|
selectedFilterOperation?: "<" | "<=" | "<>" | "=" | ">" | ">=" | "between" | "contains" | "endswith" | "notcontains" | "startswith";
|
|
466
|
-
setCellValue?: ((newData:
|
|
506
|
+
setCellValue?: ((newData: any, value: any, currentRowData: any) => any);
|
|
467
507
|
showEditorAlways?: boolean;
|
|
468
508
|
showInColumnChooser?: boolean;
|
|
469
509
|
showWhenGrouped?: boolean;
|
|
@@ -719,12 +759,12 @@ declare class ColumnHeaderFilterSearch extends NestedOption<IColumnHeaderFilterS
|
|
|
719
759
|
}
|
|
720
760
|
declare type IColumnLookupProps = React.PropsWithChildren<{
|
|
721
761
|
allowClearing?: boolean;
|
|
722
|
-
calculateCellValue?: ((rowData:
|
|
762
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
723
763
|
dataSource?: Array<any> | DataSourceOptions | ((options: {
|
|
724
764
|
data: Record<string, any>;
|
|
725
765
|
key: any;
|
|
726
766
|
}) => Array<any>) | null | Store;
|
|
727
|
-
displayExpr?: ((data:
|
|
767
|
+
displayExpr?: ((data: any) => string) | string;
|
|
728
768
|
valueExpr?: string;
|
|
729
769
|
}>;
|
|
730
770
|
declare class ColumnLookup extends NestedOption<IColumnLookupProps> {
|
|
@@ -1018,8 +1058,8 @@ declare type IFieldProps = React.PropsWithChildren<{
|
|
|
1018
1058
|
lookup?: Record<string, any> | {
|
|
1019
1059
|
allowClearing?: boolean;
|
|
1020
1060
|
dataSource?: Array<any> | DataSourceOptions | Store;
|
|
1021
|
-
displayExpr?: ((data:
|
|
1022
|
-
valueExpr?: ((data:
|
|
1061
|
+
displayExpr?: ((data: any) => string) | string;
|
|
1062
|
+
valueExpr?: ((data: any) => string) | string;
|
|
1023
1063
|
};
|
|
1024
1064
|
name?: string;
|
|
1025
1065
|
trueText?: string;
|
|
@@ -1054,8 +1094,8 @@ declare class Field extends NestedOption<IFieldProps> {
|
|
|
1054
1094
|
declare type IFieldLookupProps = React.PropsWithChildren<{
|
|
1055
1095
|
allowClearing?: boolean;
|
|
1056
1096
|
dataSource?: Array<any> | DataSourceOptions | Store;
|
|
1057
|
-
displayExpr?: ((data:
|
|
1058
|
-
valueExpr?: ((data:
|
|
1097
|
+
displayExpr?: ((data: any) => string) | string;
|
|
1098
|
+
valueExpr?: ((data: any) => string) | string;
|
|
1059
1099
|
}>;
|
|
1060
1100
|
declare class FieldLookup extends NestedOption<IFieldLookupProps> {
|
|
1061
1101
|
static OptionName: string;
|
|
@@ -1096,62 +1136,13 @@ declare type IFilterBuilderProps = React.PropsWithChildren<{
|
|
|
1096
1136
|
hint?: string;
|
|
1097
1137
|
hoverStateEnabled?: boolean;
|
|
1098
1138
|
maxGroupLevel?: number;
|
|
1099
|
-
onContentReady?: ((e:
|
|
1100
|
-
onDisposing?: ((e:
|
|
1101
|
-
onEditorPrepared?: ((e:
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
editorName: string;
|
|
1107
|
-
element: any;
|
|
1108
|
-
filterOperation: string;
|
|
1109
|
-
model: any;
|
|
1110
|
-
readOnly: boolean;
|
|
1111
|
-
rtlEnabled: boolean;
|
|
1112
|
-
setValue(newValue: any): any;
|
|
1113
|
-
updateValueTimeout: number;
|
|
1114
|
-
value: any;
|
|
1115
|
-
width: number;
|
|
1116
|
-
}) => void);
|
|
1117
|
-
onEditorPreparing?: ((e: {
|
|
1118
|
-
cancel: boolean;
|
|
1119
|
-
component: dxFilterBuilder;
|
|
1120
|
-
dataField: string;
|
|
1121
|
-
disabled: boolean;
|
|
1122
|
-
editorElement: any;
|
|
1123
|
-
editorName: string;
|
|
1124
|
-
editorOptions: Record<string, any>;
|
|
1125
|
-
element: any;
|
|
1126
|
-
filterOperation: string;
|
|
1127
|
-
model: any;
|
|
1128
|
-
readOnly: boolean;
|
|
1129
|
-
rtlEnabled: boolean;
|
|
1130
|
-
setValue(newValue: any): any;
|
|
1131
|
-
updateValueTimeout: number;
|
|
1132
|
-
value: any;
|
|
1133
|
-
width: number;
|
|
1134
|
-
}) => void);
|
|
1135
|
-
onInitialized?: ((e: {
|
|
1136
|
-
component: Component<any>;
|
|
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);
|
|
1148
|
-
onValueChanged?: ((e: {
|
|
1149
|
-
component: dxFilterBuilder;
|
|
1150
|
-
element: any;
|
|
1151
|
-
model: any;
|
|
1152
|
-
previousValue: Record<string, any>;
|
|
1153
|
-
value: Record<string, any>;
|
|
1154
|
-
}) => void);
|
|
1139
|
+
onContentReady?: ((e: FilterBuilderContentReadyEvent) => void);
|
|
1140
|
+
onDisposing?: ((e: FilterBuilderDisposingEvent) => void);
|
|
1141
|
+
onEditorPrepared?: ((e: FilterBuilderEditorPreparedEvent) => void);
|
|
1142
|
+
onEditorPreparing?: ((e: FilterBuilderEditorPreparingEvent) => void);
|
|
1143
|
+
onInitialized?: ((e: FilterBuilderInitializedEvent) => void);
|
|
1144
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
1145
|
+
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
1155
1146
|
rtlEnabled?: boolean;
|
|
1156
1147
|
tabIndex?: number;
|
|
1157
1148
|
value?: Array<any> | (() => any) | string;
|
|
@@ -1432,34 +1423,12 @@ declare type IFormProps = React.PropsWithChildren<{
|
|
|
1432
1423
|
labelLocation?: "left" | "right" | "top";
|
|
1433
1424
|
labelMode?: "static" | "floating" | "hidden" | "outside";
|
|
1434
1425
|
minColWidth?: number;
|
|
1435
|
-
onContentReady?: ((e:
|
|
1436
|
-
onDisposing?: ((e:
|
|
1437
|
-
onEditorEnterKey?: ((e:
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
model: any;
|
|
1442
|
-
}) => void);
|
|
1443
|
-
onFieldDataChanged?: ((e: {
|
|
1444
|
-
component: dxForm;
|
|
1445
|
-
dataField: string;
|
|
1446
|
-
element: any;
|
|
1447
|
-
model: any;
|
|
1448
|
-
value: Record<string, any>;
|
|
1449
|
-
}) => void);
|
|
1450
|
-
onInitialized?: ((e: {
|
|
1451
|
-
component: Component<any>;
|
|
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);
|
|
1426
|
+
onContentReady?: ((e: FormContentReadyEvent) => void);
|
|
1427
|
+
onDisposing?: ((e: FormDisposingEvent) => void);
|
|
1428
|
+
onEditorEnterKey?: ((e: EditorEnterKeyEvent) => void);
|
|
1429
|
+
onFieldDataChanged?: ((e: FieldDataChangedEvent) => void);
|
|
1430
|
+
onInitialized?: ((e: FormInitializedEvent) => void);
|
|
1431
|
+
onOptionChanged?: ((e: FormOptionChangedEvent) => void);
|
|
1463
1432
|
optionalMark?: string;
|
|
1464
1433
|
readOnly?: boolean;
|
|
1465
1434
|
requiredMark?: string;
|
|
@@ -1703,7 +1672,7 @@ declare type IHeaderFilterProps = React.PropsWithChildren<{
|
|
|
1703
1672
|
}) => void) | null | Store;
|
|
1704
1673
|
groupInterval?: number | "day" | "hour" | "minute" | "month" | "quarter" | "second" | "year";
|
|
1705
1674
|
height?: number;
|
|
1706
|
-
search?: ColumnHeaderFilterSearchConfig;
|
|
1675
|
+
search?: ColumnHeaderFilterSearchConfig | HeaderFilterSearchConfig;
|
|
1707
1676
|
searchMode?: "contains" | "startswith" | "equals";
|
|
1708
1677
|
width?: number;
|
|
1709
1678
|
searchTimeout?: number;
|
|
@@ -1825,13 +1794,13 @@ declare class LoadPanel extends NestedOption<ILoadPanelProps> {
|
|
|
1825
1794
|
}
|
|
1826
1795
|
declare type ILookupProps = React.PropsWithChildren<{
|
|
1827
1796
|
allowClearing?: boolean;
|
|
1828
|
-
calculateCellValue?: ((rowData:
|
|
1797
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
1829
1798
|
dataSource?: Array<any> | DataSourceOptions | ((options: {
|
|
1830
1799
|
data: Record<string, any>;
|
|
1831
1800
|
key: any;
|
|
1832
1801
|
}) => Array<any>) | null | Store;
|
|
1833
|
-
displayExpr?: ((data:
|
|
1834
|
-
valueExpr?: string;
|
|
1802
|
+
displayExpr?: ((data: any) => string) | string;
|
|
1803
|
+
valueExpr?: string | ((data: any) => string);
|
|
1835
1804
|
}>;
|
|
1836
1805
|
declare class Lookup extends NestedOption<ILookupProps> {
|
|
1837
1806
|
static OptionName: string;
|
|
@@ -2374,7 +2343,7 @@ declare class Sorting extends NestedOption<ISortingProps> {
|
|
|
2374
2343
|
}
|
|
2375
2344
|
declare type IStateStoringProps = React.PropsWithChildren<{
|
|
2376
2345
|
customLoad?: (() => any);
|
|
2377
|
-
customSave?: ((gridState:
|
|
2346
|
+
customSave?: ((gridState: any) => void);
|
|
2378
2347
|
enabled?: boolean;
|
|
2379
2348
|
savingTimeout?: number;
|
|
2380
2349
|
storageKey?: 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.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,20 +16,18 @@ 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, ClickEvent } 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
|
-
import type dxButton from "devextreme/ui/button";
|
|
33
31
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
34
32
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
35
33
|
};
|
|
@@ -165,28 +163,10 @@ declare type ICalendarOptionsProps = React.PropsWithChildren<{
|
|
|
165
163
|
min?: any | number | string;
|
|
166
164
|
minZoomLevel?: "century" | "decade" | "month" | "year";
|
|
167
165
|
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);
|
|
166
|
+
onDisposing?: ((e: CalendarDisposingEvent) => void);
|
|
167
|
+
onInitialized?: ((e: CalendarInitializedEvent) => void);
|
|
168
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
169
|
+
onValueChanged?: ((e: CalendarValueChangedEvent) => void);
|
|
190
170
|
readOnly?: boolean;
|
|
191
171
|
rtlEnabled?: boolean;
|
|
192
172
|
showTodayButton?: boolean;
|
|
@@ -454,28 +434,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
454
434
|
hint?: string;
|
|
455
435
|
hoverStateEnabled?: boolean;
|
|
456
436
|
icon?: string;
|
|
457
|
-
onClick?: ((e:
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
validationGroup: Record<string, any>;
|
|
463
|
-
}) => void);
|
|
464
|
-
onContentReady?: ((e: EventInfo<any>) => void);
|
|
465
|
-
onDisposing?: ((e: EventInfo<any>) => void);
|
|
466
|
-
onInitialized?: ((e: {
|
|
467
|
-
component: Component<any>;
|
|
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);
|
|
437
|
+
onClick?: ((e: ClickEvent) => void);
|
|
438
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
439
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
440
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
441
|
+
onOptionChanged?: ((e: ButtonOptionChangedEvent) => void);
|
|
479
442
|
rtlEnabled?: boolean;
|
|
480
443
|
stylingMode?: "text" | "outlined" | "contained";
|
|
481
444
|
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.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,20 +16,18 @@ 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, ClickEvent } 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
|
-
import type dxButton from "devextreme/ui/button";
|
|
33
31
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
34
32
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
35
33
|
};
|
|
@@ -55,9 +53,13 @@ declare type IDateRangeBoxOptions = React.PropsWithChildren<ReplaceFieldTypes<Pr
|
|
|
55
53
|
dropDownButtonRender?: (...params: any) => React.ReactNode;
|
|
56
54
|
dropDownButtonComponent?: React.ComponentType<any>;
|
|
57
55
|
dropDownButtonKeyFn?: (data: any) => string;
|
|
56
|
+
defaultEndDate?: any | number | string;
|
|
58
57
|
defaultOpened?: boolean;
|
|
58
|
+
defaultStartDate?: any | number | string;
|
|
59
59
|
defaultValue?: Array<any | number | string>;
|
|
60
|
+
onEndDateChange?: (value: any | number | string) => void;
|
|
60
61
|
onOpenedChange?: (value: boolean) => void;
|
|
62
|
+
onStartDateChange?: (value: any | number | string) => void;
|
|
61
63
|
onValueChange?: (value: Array<any | number | string>) => void;
|
|
62
64
|
}>;
|
|
63
65
|
declare class DateRangeBox extends BaseComponent<React.PropsWithChildren<IDateRangeBoxOptions>> {
|
|
@@ -66,7 +68,9 @@ declare class DateRangeBox extends BaseComponent<React.PropsWithChildren<IDateRa
|
|
|
66
68
|
protected subscribableOptions: string[];
|
|
67
69
|
protected independentEvents: string[];
|
|
68
70
|
protected _defaults: {
|
|
71
|
+
defaultEndDate: string;
|
|
69
72
|
defaultOpened: string;
|
|
73
|
+
defaultStartDate: string;
|
|
70
74
|
defaultValue: string;
|
|
71
75
|
};
|
|
72
76
|
protected _expectedChildren: {
|
|
@@ -164,28 +168,10 @@ declare type ICalendarOptionsProps = React.PropsWithChildren<{
|
|
|
164
168
|
min?: any | number | string;
|
|
165
169
|
minZoomLevel?: "century" | "decade" | "month" | "year";
|
|
166
170
|
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);
|
|
171
|
+
onDisposing?: ((e: CalendarDisposingEvent) => void);
|
|
172
|
+
onInitialized?: ((e: CalendarInitializedEvent) => void);
|
|
173
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
174
|
+
onValueChanged?: ((e: CalendarValueChangedEvent) => void);
|
|
189
175
|
readOnly?: boolean;
|
|
190
176
|
rtlEnabled?: boolean;
|
|
191
177
|
showTodayButton?: boolean;
|
|
@@ -453,28 +439,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
453
439
|
hint?: string;
|
|
454
440
|
hoverStateEnabled?: boolean;
|
|
455
441
|
icon?: string;
|
|
456
|
-
onClick?: ((e:
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
validationGroup: Record<string, any>;
|
|
462
|
-
}) => void);
|
|
463
|
-
onContentReady?: ((e: EventInfo<any>) => void);
|
|
464
|
-
onDisposing?: ((e: EventInfo<any>) => void);
|
|
465
|
-
onInitialized?: ((e: {
|
|
466
|
-
component: Component<any>;
|
|
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);
|
|
442
|
+
onClick?: ((e: ClickEvent) => void);
|
|
443
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
444
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
445
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
446
|
+
onOptionChanged?: ((e: ButtonOptionChangedEvent) => void);
|
|
478
447
|
rtlEnabled?: boolean;
|
|
479
448
|
stylingMode?: "text" | "outlined" | "contained";
|
|
480
449
|
tabIndex?: number;
|
package/date-range-box.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -38,10 +38,12 @@ var DateRangeBox = /** @class */ (function (_super) {
|
|
|
38
38
|
function DateRangeBox() {
|
|
39
39
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
40
40
|
_this._WidgetClass = date_range_box_1.default;
|
|
41
|
-
_this.subscribableOptions = ["opened", "value"];
|
|
41
|
+
_this.subscribableOptions = ["endDate", "opened", "startDate", "value"];
|
|
42
42
|
_this.independentEvents = ["onChange", "onClosed", "onContentReady", "onCopy", "onCut", "onDisposing", "onEnterKey", "onFocusIn", "onFocusOut", "onInitialized", "onInput", "onKeyDown", "onKeyUp", "onOpened", "onPaste", "onValueChanged"];
|
|
43
43
|
_this._defaults = {
|
|
44
|
+
defaultEndDate: "endDate",
|
|
44
45
|
defaultOpened: "opened",
|
|
46
|
+
defaultStartDate: "startDate",
|
|
45
47
|
defaultValue: "value"
|
|
46
48
|
};
|
|
47
49
|
_this._expectedChildren = {
|
|
@@ -86,6 +88,7 @@ DateRangeBox.propTypes = {
|
|
|
86
88
|
dateSerializationFormat: PropTypes.string,
|
|
87
89
|
deferRendering: PropTypes.bool,
|
|
88
90
|
disabled: PropTypes.bool,
|
|
91
|
+
disableOutOfRangeSelection: PropTypes.bool,
|
|
89
92
|
displayFormat: PropTypes.oneOfType([
|
|
90
93
|
PropTypes.object,
|
|
91
94
|
PropTypes.func,
|
|
@@ -109,7 +112,6 @@ DateRangeBox.propTypes = {
|
|
|
109
112
|
invalidEndDateMessage: PropTypes.string,
|
|
110
113
|
invalidStartDateMessage: PropTypes.string,
|
|
111
114
|
isValid: PropTypes.bool,
|
|
112
|
-
label: PropTypes.string,
|
|
113
115
|
labelMode: PropTypes.oneOfType([
|
|
114
116
|
PropTypes.string,
|
|
115
117
|
PropTypes.oneOf([
|
|
@@ -118,12 +120,7 @@ DateRangeBox.propTypes = {
|
|
|
118
120
|
"hidden"
|
|
119
121
|
])
|
|
120
122
|
]),
|
|
121
|
-
maxLength: PropTypes.oneOfType([
|
|
122
|
-
PropTypes.number,
|
|
123
|
-
PropTypes.string
|
|
124
|
-
]),
|
|
125
123
|
multiView: PropTypes.bool,
|
|
126
|
-
name: PropTypes.string,
|
|
127
124
|
onChange: PropTypes.func,
|
|
128
125
|
onClosed: PropTypes.func,
|
|
129
126
|
onContentReady: PropTypes.func,
|
|
@@ -143,7 +140,6 @@ DateRangeBox.propTypes = {
|
|
|
143
140
|
onValueChanged: PropTypes.func,
|
|
144
141
|
opened: PropTypes.bool,
|
|
145
142
|
openOnFieldClick: PropTypes.bool,
|
|
146
|
-
placeholder: PropTypes.string,
|
|
147
143
|
readOnly: PropTypes.bool,
|
|
148
144
|
rtlEnabled: PropTypes.bool,
|
|
149
145
|
showClearButton: PropTypes.bool,
|
|
@@ -163,7 +159,6 @@ DateRangeBox.propTypes = {
|
|
|
163
159
|
])
|
|
164
160
|
]),
|
|
165
161
|
tabIndex: PropTypes.number,
|
|
166
|
-
text: PropTypes.string,
|
|
167
162
|
todayButtonText: PropTypes.string,
|
|
168
163
|
useMaskBehavior: PropTypes.bool,
|
|
169
164
|
validationErrors: PropTypes.array,
|