devextreme-react 23.1.2-beta.2 → 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 +17 -14
- package/accordion.js +2 -2
- package/action-sheet.d.ts +17 -14
- package/action-sheet.js +2 -2
- package/autocomplete.d.ts +4 -11
- package/autocomplete.js +2 -2
- package/bar-gauge.d.ts +8 -4
- package/bar-gauge.js +2 -2
- package/box.d.ts +15 -13
- package/box.js +2 -2
- package/bullet.d.ts +4 -4
- package/bullet.js +2 -2
- package/button-group.d.ts +4 -3
- package/button-group.js +2 -2
- package/button.d.ts +4 -3
- package/button.js +2 -2
- package/calendar.d.ts +2 -2
- package/calendar.js +2 -2
- package/chart.d.ts +36 -14
- 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 +4 -11
- package/color-box.js +2 -2
- package/common/charts.d.ts +2 -2
- package/common/charts.js +2 -2
- package/common/grids.d.ts +2 -2
- package/common/grids.js +2 -2
- package/common/index.d.ts +2 -2
- package/common/index.js +2 -2
- package/context-menu.d.ts +20 -13
- 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 +70 -105
- package/data-grid.js +2 -2
- package/date-box.d.ts +4 -11
- package/date-box.js +2 -2
- package/date-range-box.d.ts +10 -11
- package/date-range-box.js +5 -3
- 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 +4 -11
- package/drop-down-box.js +2 -2
- package/drop-down-button.d.ts +5 -3
- package/drop-down-button.js +2 -2
- package/file-manager.d.ts +22 -4
- package/file-manager.js +2 -2
- package/file-uploader.d.ts +13 -3
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +10 -7
- package/filter-builder.js +2 -2
- package/form.d.ts +18 -46
- package/form.js +2 -2
- package/funnel.d.ts +8 -4
- package/funnel.js +2 -2
- package/gallery.d.ts +15 -13
- package/gallery.js +2 -2
- package/gantt.d.ts +34 -8
- package/gantt.js +2 -2
- package/html-editor.d.ts +19 -91
- package/html-editor.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/linear-gauge.d.ts +2 -2
- package/linear-gauge.js +2 -2
- package/list.d.ts +36 -129
- 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 +7 -3
- package/lookup.js +2 -2
- package/map.d.ts +9 -3
- package/map.js +2 -2
- package/menu.d.ts +19 -13
- package/menu.js +2 -2
- package/multi-view.d.ts +15 -13
- package/multi-view.js +2 -2
- package/number-box.d.ts +4 -12
- package/number-box.js +2 -2
- package/package.json +5 -5
- package/pie-chart.d.ts +12 -9
- package/pie-chart.js +2 -2
- package/pivot-grid-field-chooser.d.ts +4 -3
- package/pivot-grid-field-chooser.js +2 -2
- package/pivot-grid.d.ts +8 -4
- package/pivot-grid.js +2 -2
- package/polar-chart.d.ts +16 -9
- 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 +2 -2
- package/radio-group.js +2 -2
- package/range-selector.d.ts +13 -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 +15 -13
- package/responsive-box.js +2 -2
- package/sankey.d.ts +5 -3
- package/sankey.js +2 -2
- package/scheduler.d.ts +23 -9
- package/scheduler.js +2 -2
- package/scroll-view.d.ts +5 -3
- package/scroll-view.js +2 -2
- package/select-box.d.ts +6 -12
- package/select-box.js +2 -2
- package/slider.d.ts +2 -2
- package/slider.js +2 -2
- package/sortable.d.ts +10 -3
- package/sortable.js +2 -2
- package/sparkline.d.ts +4 -4
- 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 +19 -14
- package/tab-panel.js +2 -2
- package/tabs.d.ts +15 -13
- package/tabs.js +2 -2
- package/tag-box.d.ts +7 -12
- package/tag-box.js +2 -2
- package/text-area.d.ts +2 -2
- package/text-area.js +2 -2
- package/text-box.d.ts +4 -12
- package/text-box.js +2 -2
- package/tile-view.d.ts +15 -13
- package/tile-view.js +2 -2
- package/toast.d.ts +2 -2
- package/toast.js +2 -2
- package/toolbar.d.ts +15 -13
- package/toolbar.js +2 -2
- package/tooltip.d.ts +2 -2
- package/tooltip.js +2 -2
- package/tree-list.d.ts +69 -104
- package/tree-list.js +2 -2
- package/tree-map.d.ts +7 -3
- package/tree-map.js +2 -2
- package/tree-view.d.ts +21 -20
- package/tree-view.js +2 -2
- package/validation-group.d.ts +2 -2
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +12 -10
- package/validation-summary.js +2 -2
- package/validator.d.ts +2 -2
- package/validator.js +2 -2
- package/vector-map.d.ts +9 -4
- package/vector-map.js +2 -2
package/core/templates-store.js
CHANGED
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: Fri
|
|
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
|
*
|
|
@@ -12,13 +12,14 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
+
export { ExplicitTypes } from "devextreme/ui/data_grid";
|
|
15
16
|
import dxDataGrid, { Properties } from "devextreme/ui/data_grid";
|
|
16
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
18
|
import NestedOption from "./core/nested-option";
|
|
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";
|
|
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";
|
|
19
20
|
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
|
+
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";
|
|
22
23
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
23
24
|
import type { event, EventInfo } from "devextreme/events/index";
|
|
24
25
|
import type { template } from "devextreme/core/templates/template";
|
|
@@ -28,7 +29,6 @@ import type { PositionConfig } from "devextreme/animation/position";
|
|
|
28
29
|
import type { dxPopupOptions, dxPopupToolbarItem } from "devextreme/ui/popup";
|
|
29
30
|
import type { Component } from "devextreme/core/component";
|
|
30
31
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
31
|
-
import type dxFilterBuilder from "devextreme/ui/filter_builder";
|
|
32
32
|
import type dxOverlay from "devextreme/ui/overlay";
|
|
33
33
|
import type DOMComponent from "devextreme/core/dom_component";
|
|
34
34
|
import type dxPopup from "devextreme/ui/popup";
|
|
@@ -40,32 +40,46 @@ import type * as CommonTypes from "devextreme/common";
|
|
|
40
40
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
41
41
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
42
42
|
};
|
|
43
|
-
declare type IDataGridOptionsNarrowedEvents = {
|
|
44
|
-
onAdaptiveDetailRowPreparing?: ((e: AdaptiveDetailRowPreparingEvent) => void);
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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);
|
|
67
80
|
};
|
|
68
|
-
declare type IDataGridOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDataGridOptionsNarrowedEvents
|
|
81
|
+
declare type IDataGridOptions<TRowData = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TRowData, TKey>, IDataGridOptionsNarrowedEvents<TRowData, TKey>> & IHtmlOptions & {
|
|
82
|
+
dataSource?: Properties<TRowData, TKey>["dataSource"];
|
|
69
83
|
dataRowRender?: (...params: any) => React.ReactNode;
|
|
70
84
|
dataRowComponent?: React.ComponentType<any>;
|
|
71
85
|
dataRowKeyFn?: (data: any) => string;
|
|
@@ -97,8 +111,8 @@ declare type IDataGridOptions = React.PropsWithChildren<ReplaceFieldTypes<Proper
|
|
|
97
111
|
onSelectedRowKeysChange?: (value: Array<any>) => void;
|
|
98
112
|
onSelectionFilterChange?: (value: Array<any> | (() => any) | string) => void;
|
|
99
113
|
}>;
|
|
100
|
-
declare class DataGrid extends BaseComponent<React.PropsWithChildren<IDataGridOptions
|
|
101
|
-
get instance(): dxDataGrid
|
|
114
|
+
declare class DataGrid<TRowData = any, TKey = any> extends BaseComponent<React.PropsWithChildren<IDataGridOptions<TRowData, TKey>>> {
|
|
115
|
+
get instance(): dxDataGrid<TRowData, TKey>;
|
|
102
116
|
protected _WidgetClass: typeof dxDataGrid;
|
|
103
117
|
protected useRequestAnimationFrameFlag: boolean;
|
|
104
118
|
protected subscribableOptions: string[];
|
|
@@ -384,11 +398,11 @@ declare type IColumnProps = React.PropsWithChildren<{
|
|
|
384
398
|
allowSorting?: boolean;
|
|
385
399
|
autoExpandGroup?: boolean;
|
|
386
400
|
buttons?: Array<dxDataGridColumnButton | "cancel" | "delete" | "edit" | "save" | "undelete">;
|
|
387
|
-
calculateCellValue?: ((rowData:
|
|
388
|
-
calculateDisplayValue?: ((rowData:
|
|
401
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
402
|
+
calculateDisplayValue?: ((rowData: any) => any) | string;
|
|
389
403
|
calculateFilterExpression?: ((filterValue: any, selectedFilterOperation: string | null, target: string) => string);
|
|
390
|
-
calculateGroupValue?: ((rowData:
|
|
391
|
-
calculateSortValue?: ((rowData:
|
|
404
|
+
calculateGroupValue?: ((rowData: any) => any) | string;
|
|
405
|
+
calculateSortValue?: ((rowData: any) => any) | string;
|
|
392
406
|
caption?: string;
|
|
393
407
|
cellTemplate?: ((cellElement: any, cellInfo: {
|
|
394
408
|
column: dxDataGridColumn;
|
|
@@ -476,12 +490,12 @@ declare type IColumnProps = React.PropsWithChildren<{
|
|
|
476
490
|
isBand?: boolean;
|
|
477
491
|
lookup?: Record<string, any> | {
|
|
478
492
|
allowClearing?: boolean;
|
|
479
|
-
calculateCellValue?: ((rowData:
|
|
493
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
480
494
|
dataSource?: Array<any> | DataSourceOptions | ((options: {
|
|
481
495
|
data: Record<string, any>;
|
|
482
496
|
key: any;
|
|
483
497
|
}) => Array<any>) | null | Store;
|
|
484
|
-
displayExpr?: ((data:
|
|
498
|
+
displayExpr?: ((data: any) => string) | string;
|
|
485
499
|
valueExpr?: string;
|
|
486
500
|
};
|
|
487
501
|
minWidth?: number;
|
|
@@ -489,7 +503,7 @@ declare type IColumnProps = React.PropsWithChildren<{
|
|
|
489
503
|
ownerBand?: number;
|
|
490
504
|
renderAsync?: boolean;
|
|
491
505
|
selectedFilterOperation?: "<" | "<=" | "<>" | "=" | ">" | ">=" | "between" | "contains" | "endswith" | "notcontains" | "startswith";
|
|
492
|
-
setCellValue?: ((newData:
|
|
506
|
+
setCellValue?: ((newData: any, value: any, currentRowData: any) => any);
|
|
493
507
|
showEditorAlways?: boolean;
|
|
494
508
|
showInColumnChooser?: boolean;
|
|
495
509
|
showWhenGrouped?: boolean;
|
|
@@ -745,12 +759,12 @@ declare class ColumnHeaderFilterSearch extends NestedOption<IColumnHeaderFilterS
|
|
|
745
759
|
}
|
|
746
760
|
declare type IColumnLookupProps = React.PropsWithChildren<{
|
|
747
761
|
allowClearing?: boolean;
|
|
748
|
-
calculateCellValue?: ((rowData:
|
|
762
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
749
763
|
dataSource?: Array<any> | DataSourceOptions | ((options: {
|
|
750
764
|
data: Record<string, any>;
|
|
751
765
|
key: any;
|
|
752
766
|
}) => Array<any>) | null | Store;
|
|
753
|
-
displayExpr?: ((data:
|
|
767
|
+
displayExpr?: ((data: any) => string) | string;
|
|
754
768
|
valueExpr?: string;
|
|
755
769
|
}>;
|
|
756
770
|
declare class ColumnLookup extends NestedOption<IColumnLookupProps> {
|
|
@@ -1044,8 +1058,8 @@ declare type IFieldProps = React.PropsWithChildren<{
|
|
|
1044
1058
|
lookup?: Record<string, any> | {
|
|
1045
1059
|
allowClearing?: boolean;
|
|
1046
1060
|
dataSource?: Array<any> | DataSourceOptions | Store;
|
|
1047
|
-
displayExpr?: ((data:
|
|
1048
|
-
valueExpr?: ((data:
|
|
1061
|
+
displayExpr?: ((data: any) => string) | string;
|
|
1062
|
+
valueExpr?: ((data: any) => string) | string;
|
|
1049
1063
|
};
|
|
1050
1064
|
name?: string;
|
|
1051
1065
|
trueText?: string;
|
|
@@ -1080,8 +1094,8 @@ declare class Field extends NestedOption<IFieldProps> {
|
|
|
1080
1094
|
declare type IFieldLookupProps = React.PropsWithChildren<{
|
|
1081
1095
|
allowClearing?: boolean;
|
|
1082
1096
|
dataSource?: Array<any> | DataSourceOptions | Store;
|
|
1083
|
-
displayExpr?: ((data:
|
|
1084
|
-
valueExpr?: ((data:
|
|
1097
|
+
displayExpr?: ((data: any) => string) | string;
|
|
1098
|
+
valueExpr?: ((data: any) => string) | string;
|
|
1085
1099
|
}>;
|
|
1086
1100
|
declare class FieldLookup extends NestedOption<IFieldLookupProps> {
|
|
1087
1101
|
static OptionName: string;
|
|
@@ -1124,49 +1138,11 @@ declare type IFilterBuilderProps = React.PropsWithChildren<{
|
|
|
1124
1138
|
maxGroupLevel?: number;
|
|
1125
1139
|
onContentReady?: ((e: FilterBuilderContentReadyEvent) => void);
|
|
1126
1140
|
onDisposing?: ((e: FilterBuilderDisposingEvent) => void);
|
|
1127
|
-
onEditorPrepared?: ((e:
|
|
1128
|
-
|
|
1129
|
-
dataField: string;
|
|
1130
|
-
disabled: boolean;
|
|
1131
|
-
editorElement: any;
|
|
1132
|
-
editorName: string;
|
|
1133
|
-
element: any;
|
|
1134
|
-
filterOperation: string;
|
|
1135
|
-
model: any;
|
|
1136
|
-
readOnly: boolean;
|
|
1137
|
-
rtlEnabled: boolean;
|
|
1138
|
-
setValue(newValue: any): any;
|
|
1139
|
-
updateValueTimeout: number;
|
|
1140
|
-
value: any;
|
|
1141
|
-
width: number;
|
|
1142
|
-
}) => void);
|
|
1143
|
-
onEditorPreparing?: ((e: {
|
|
1144
|
-
cancel: boolean;
|
|
1145
|
-
component: dxFilterBuilder;
|
|
1146
|
-
dataField: string;
|
|
1147
|
-
disabled: boolean;
|
|
1148
|
-
editorElement: any;
|
|
1149
|
-
editorName: string;
|
|
1150
|
-
editorOptions: Record<string, any>;
|
|
1151
|
-
element: any;
|
|
1152
|
-
filterOperation: string;
|
|
1153
|
-
model: any;
|
|
1154
|
-
readOnly: boolean;
|
|
1155
|
-
rtlEnabled: boolean;
|
|
1156
|
-
setValue(newValue: any): any;
|
|
1157
|
-
updateValueTimeout: number;
|
|
1158
|
-
value: any;
|
|
1159
|
-
width: number;
|
|
1160
|
-
}) => void);
|
|
1141
|
+
onEditorPrepared?: ((e: FilterBuilderEditorPreparedEvent) => void);
|
|
1142
|
+
onEditorPreparing?: ((e: FilterBuilderEditorPreparingEvent) => void);
|
|
1161
1143
|
onInitialized?: ((e: FilterBuilderInitializedEvent) => void);
|
|
1162
1144
|
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
1163
|
-
onValueChanged?: ((e:
|
|
1164
|
-
component: dxFilterBuilder;
|
|
1165
|
-
element: any;
|
|
1166
|
-
model: any;
|
|
1167
|
-
previousValue: Record<string, any>;
|
|
1168
|
-
value: Record<string, any>;
|
|
1169
|
-
}) => void);
|
|
1145
|
+
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
1170
1146
|
rtlEnabled?: boolean;
|
|
1171
1147
|
tabIndex?: number;
|
|
1172
1148
|
value?: Array<any> | (() => any) | string;
|
|
@@ -1449,19 +1425,8 @@ declare type IFormProps = React.PropsWithChildren<{
|
|
|
1449
1425
|
minColWidth?: number;
|
|
1450
1426
|
onContentReady?: ((e: FormContentReadyEvent) => void);
|
|
1451
1427
|
onDisposing?: ((e: FormDisposingEvent) => void);
|
|
1452
|
-
onEditorEnterKey?: ((e:
|
|
1453
|
-
|
|
1454
|
-
dataField: string;
|
|
1455
|
-
element: any;
|
|
1456
|
-
model: any;
|
|
1457
|
-
}) => void);
|
|
1458
|
-
onFieldDataChanged?: ((e: {
|
|
1459
|
-
component: dxForm;
|
|
1460
|
-
dataField: string;
|
|
1461
|
-
element: any;
|
|
1462
|
-
model: any;
|
|
1463
|
-
value: Record<string, any>;
|
|
1464
|
-
}) => void);
|
|
1428
|
+
onEditorEnterKey?: ((e: EditorEnterKeyEvent) => void);
|
|
1429
|
+
onFieldDataChanged?: ((e: FieldDataChangedEvent) => void);
|
|
1465
1430
|
onInitialized?: ((e: FormInitializedEvent) => void);
|
|
1466
1431
|
onOptionChanged?: ((e: FormOptionChangedEvent) => void);
|
|
1467
1432
|
optionalMark?: string;
|
|
@@ -1707,7 +1672,7 @@ declare type IHeaderFilterProps = React.PropsWithChildren<{
|
|
|
1707
1672
|
}) => void) | null | Store;
|
|
1708
1673
|
groupInterval?: number | "day" | "hour" | "minute" | "month" | "quarter" | "second" | "year";
|
|
1709
1674
|
height?: number;
|
|
1710
|
-
search?: ColumnHeaderFilterSearchConfig;
|
|
1675
|
+
search?: ColumnHeaderFilterSearchConfig | HeaderFilterSearchConfig;
|
|
1711
1676
|
searchMode?: "contains" | "startswith" | "equals";
|
|
1712
1677
|
width?: number;
|
|
1713
1678
|
searchTimeout?: number;
|
|
@@ -1829,13 +1794,13 @@ declare class LoadPanel extends NestedOption<ILoadPanelProps> {
|
|
|
1829
1794
|
}
|
|
1830
1795
|
declare type ILookupProps = React.PropsWithChildren<{
|
|
1831
1796
|
allowClearing?: boolean;
|
|
1832
|
-
calculateCellValue?: ((rowData:
|
|
1797
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
1833
1798
|
dataSource?: Array<any> | DataSourceOptions | ((options: {
|
|
1834
1799
|
data: Record<string, any>;
|
|
1835
1800
|
key: any;
|
|
1836
1801
|
}) => Array<any>) | null | Store;
|
|
1837
|
-
displayExpr?: ((data:
|
|
1838
|
-
valueExpr?: string;
|
|
1802
|
+
displayExpr?: ((data: any) => string) | string;
|
|
1803
|
+
valueExpr?: string | ((data: any) => string);
|
|
1839
1804
|
}>;
|
|
1840
1805
|
declare class Lookup extends NestedOption<ILookupProps> {
|
|
1841
1806
|
static OptionName: string;
|
|
@@ -2378,7 +2343,7 @@ declare class Sorting extends NestedOption<ISortingProps> {
|
|
|
2378
2343
|
}
|
|
2379
2344
|
declare type IStateStoringProps = React.PropsWithChildren<{
|
|
2380
2345
|
customLoad?: (() => any);
|
|
2381
|
-
customSave?: ((gridState:
|
|
2346
|
+
customSave?: ((gridState: any) => void);
|
|
2382
2347
|
enabled?: boolean;
|
|
2383
2348
|
savingTimeout?: number;
|
|
2384
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: Fri
|
|
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,7 +16,7 @@ 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";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent as ButtonOptionChangedEvent, ClickEvent } from "devextreme/ui/button";
|
|
20
20
|
import type { DisposingEvent as CalendarDisposingEvent, InitializedEvent as CalendarInitializedEvent, ValueChangedEvent as CalendarValueChangedEvent, DisabledDate, OptionChangedEvent } from "devextreme/ui/calendar";
|
|
21
21
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
22
22
|
import type { template } from "devextreme/core/templates/template";
|
|
@@ -28,7 +28,6 @@ import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collectio
|
|
|
28
28
|
import type dxOverlay from "devextreme/ui/overlay";
|
|
29
29
|
import type DOMComponent from "devextreme/core/dom_component";
|
|
30
30
|
import type dxPopup from "devextreme/ui/popup";
|
|
31
|
-
import type dxButton from "devextreme/ui/button";
|
|
32
31
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
33
32
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
34
33
|
};
|
|
@@ -435,13 +434,7 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
435
434
|
hint?: string;
|
|
436
435
|
hoverStateEnabled?: boolean;
|
|
437
436
|
icon?: string;
|
|
438
|
-
onClick?: ((e:
|
|
439
|
-
component: dxButton;
|
|
440
|
-
element: any;
|
|
441
|
-
event: event;
|
|
442
|
-
model: any;
|
|
443
|
-
validationGroup: Record<string, any>;
|
|
444
|
-
}) => void);
|
|
437
|
+
onClick?: ((e: ClickEvent) => void);
|
|
445
438
|
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
446
439
|
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
447
440
|
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
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: Fri
|
|
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,7 +16,7 @@ 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";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent as ButtonOptionChangedEvent, ClickEvent } from "devextreme/ui/button";
|
|
20
20
|
import type { DisposingEvent as CalendarDisposingEvent, InitializedEvent as CalendarInitializedEvent, ValueChangedEvent as CalendarValueChangedEvent, DisabledDate, OptionChangedEvent } from "devextreme/ui/calendar";
|
|
21
21
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
22
22
|
import type { template } from "devextreme/core/templates/template";
|
|
@@ -28,7 +28,6 @@ import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collectio
|
|
|
28
28
|
import type dxOverlay from "devextreme/ui/overlay";
|
|
29
29
|
import type DOMComponent from "devextreme/core/dom_component";
|
|
30
30
|
import type dxPopup from "devextreme/ui/popup";
|
|
31
|
-
import type dxButton from "devextreme/ui/button";
|
|
32
31
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
33
32
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
34
33
|
};
|
|
@@ -54,9 +53,13 @@ declare type IDateRangeBoxOptions = React.PropsWithChildren<ReplaceFieldTypes<Pr
|
|
|
54
53
|
dropDownButtonRender?: (...params: any) => React.ReactNode;
|
|
55
54
|
dropDownButtonComponent?: React.ComponentType<any>;
|
|
56
55
|
dropDownButtonKeyFn?: (data: any) => string;
|
|
56
|
+
defaultEndDate?: any | number | string;
|
|
57
57
|
defaultOpened?: boolean;
|
|
58
|
+
defaultStartDate?: any | number | string;
|
|
58
59
|
defaultValue?: Array<any | number | string>;
|
|
60
|
+
onEndDateChange?: (value: any | number | string) => void;
|
|
59
61
|
onOpenedChange?: (value: boolean) => void;
|
|
62
|
+
onStartDateChange?: (value: any | number | string) => void;
|
|
60
63
|
onValueChange?: (value: Array<any | number | string>) => void;
|
|
61
64
|
}>;
|
|
62
65
|
declare class DateRangeBox extends BaseComponent<React.PropsWithChildren<IDateRangeBoxOptions>> {
|
|
@@ -65,7 +68,9 @@ declare class DateRangeBox extends BaseComponent<React.PropsWithChildren<IDateRa
|
|
|
65
68
|
protected subscribableOptions: string[];
|
|
66
69
|
protected independentEvents: string[];
|
|
67
70
|
protected _defaults: {
|
|
71
|
+
defaultEndDate: string;
|
|
68
72
|
defaultOpened: string;
|
|
73
|
+
defaultStartDate: string;
|
|
69
74
|
defaultValue: string;
|
|
70
75
|
};
|
|
71
76
|
protected _expectedChildren: {
|
|
@@ -434,13 +439,7 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
434
439
|
hint?: string;
|
|
435
440
|
hoverStateEnabled?: boolean;
|
|
436
441
|
icon?: string;
|
|
437
|
-
onClick?: ((e:
|
|
438
|
-
component: dxButton;
|
|
439
|
-
element: any;
|
|
440
|
-
event: event;
|
|
441
|
-
model: any;
|
|
442
|
-
validationGroup: Record<string, any>;
|
|
443
|
-
}) => void);
|
|
442
|
+
onClick?: ((e: ClickEvent) => void);
|
|
444
443
|
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
445
444
|
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
446
445
|
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
package/date-range-box.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
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 = {
|
package/defer-rendering.d.ts
CHANGED
package/defer-rendering.js
CHANGED
package/diagram.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
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
|
*
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
import dxDiagram, { Properties } from "devextreme/ui/diagram";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { ContentReadyEvent, DisposingEvent, InitializedEvent, dxDiagramCustomCommand, dxDiagramShape } from "devextreme/ui/diagram";
|
|
18
|
+
import type { ContentReadyEvent, CustomCommandEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemDblClickEvent, RequestEditOperationEvent, RequestLayoutUpdateEvent, dxDiagramCustomCommand, dxDiagramShape } from "devextreme/ui/diagram";
|
|
19
19
|
import type { dxSVGElement } from "devextreme/core/element";
|
|
20
20
|
import type { template } from "devextreme/core/templates/template";
|
|
21
21
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
@@ -26,8 +26,13 @@ declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
|
26
26
|
};
|
|
27
27
|
declare type IDiagramOptionsNarrowedEvents = {
|
|
28
28
|
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
29
|
+
onCustomCommand?: ((e: CustomCommandEvent) => void);
|
|
29
30
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
30
31
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
32
|
+
onItemClick?: ((e: ItemClickEvent) => void);
|
|
33
|
+
onItemDblClick?: ((e: ItemDblClickEvent) => void);
|
|
34
|
+
onRequestEditOperation?: ((e: RequestEditOperationEvent) => void);
|
|
35
|
+
onRequestLayoutUpdate?: ((e: RequestLayoutUpdateEvent) => void);
|
|
31
36
|
};
|
|
32
37
|
declare type IDiagramOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDiagramOptionsNarrowedEvents> & IHtmlOptions & {
|
|
33
38
|
customShapeRender?: (...params: any) => React.ReactNode;
|
package/diagram.js
CHANGED
package/draggable.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
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
|
*
|
|
@@ -15,12 +15,15 @@
|
|
|
15
15
|
import dxDraggable, { Properties } from "devextreme/ui/draggable";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { DisposingEvent, InitializedEvent } from "devextreme/ui/draggable";
|
|
18
|
+
import type { DisposingEvent, DragEndEvent, DragMoveEvent, DragStartEvent, InitializedEvent } from "devextreme/ui/draggable";
|
|
19
19
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
20
20
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
21
21
|
};
|
|
22
22
|
declare type IDraggableOptionsNarrowedEvents = {
|
|
23
23
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
24
|
+
onDragEnd?: ((e: DragEndEvent) => void);
|
|
25
|
+
onDragMove?: ((e: DragMoveEvent) => void);
|
|
26
|
+
onDragStart?: ((e: DragStartEvent) => void);
|
|
24
27
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
25
28
|
};
|
|
26
29
|
declare type IDraggableOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDraggableOptionsNarrowedEvents> & IHtmlOptions & {
|
package/draggable.js
CHANGED
package/drawer.d.ts
CHANGED