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/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:
|
|
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:
|
|
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
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.
|
|
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,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, ClickEvent, 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";
|
|
@@ -27,7 +27,6 @@ import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collectio
|
|
|
27
27
|
import type dxOverlay from "devextreme/ui/overlay";
|
|
28
28
|
import type DOMComponent from "devextreme/core/dom_component";
|
|
29
29
|
import type dxPopup from "devextreme/ui/popup";
|
|
30
|
-
import type dxButton from "devextreme/ui/button";
|
|
31
30
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
32
31
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
33
32
|
};
|
|
@@ -352,28 +351,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
352
351
|
hint?: string;
|
|
353
352
|
hoverStateEnabled?: boolean;
|
|
354
353
|
icon?: string;
|
|
355
|
-
onClick?: ((e:
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
validationGroup: Record<string, any>;
|
|
361
|
-
}) => void);
|
|
362
|
-
onContentReady?: ((e: EventInfo<any>) => void);
|
|
363
|
-
onDisposing?: ((e: EventInfo<any>) => void);
|
|
364
|
-
onInitialized?: ((e: {
|
|
365
|
-
component: Component<any>;
|
|
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);
|
|
354
|
+
onClick?: ((e: ClickEvent) => void);
|
|
355
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
356
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
357
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
358
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
377
359
|
rtlEnabled?: boolean;
|
|
378
360
|
stylingMode?: "text" | "outlined" | "contained";
|
|
379
361
|
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.
|
|
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
|
*
|
|
@@ -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 { ButtonClickEvent, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent } 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,17 @@ 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
|
+
onButtonClick?: ((e: ButtonClickEvent) => void);
|
|
34
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
35
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
36
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
37
|
+
onItemClick?: ((e: ItemClickEvent) => void);
|
|
38
|
+
};
|
|
39
|
+
declare type IDropDownButtonOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDropDownButtonOptionsNarrowedEvents> & IHtmlOptions & {
|
|
29
40
|
dropDownContentRender?: (...params: any) => React.ReactNode;
|
|
30
41
|
dropDownContentComponent?: React.ComponentType<any>;
|
|
31
42
|
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.
|
|
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
|
*
|
|
@@ -15,8 +15,34 @@
|
|
|
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, ContextMenuItemClickEvent, ContextMenuShowingEvent, DirectoryCreatedEvent, DirectoryCreatingEvent, DisposingEvent, ErrorOccurredEvent, FileUploadedEvent, FileUploadingEvent, InitializedEvent, ItemCopiedEvent, ItemCopyingEvent, ItemDeletedEvent, ItemDeletingEvent, ItemDownloadingEvent, ItemMovedEvent, ItemMovingEvent, ItemRenamedEvent, ItemRenamingEvent, SelectedFileOpenedEvent, ToolbarItemClickEvent, 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
|
+
onContextMenuItemClick?: ((e: ContextMenuItemClickEvent) => void);
|
|
25
|
+
onContextMenuShowing?: ((e: ContextMenuShowingEvent) => void);
|
|
26
|
+
onDirectoryCreated?: ((e: DirectoryCreatedEvent) => void);
|
|
27
|
+
onDirectoryCreating?: ((e: DirectoryCreatingEvent) => void);
|
|
28
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
29
|
+
onErrorOccurred?: ((e: ErrorOccurredEvent) => void);
|
|
30
|
+
onFileUploaded?: ((e: FileUploadedEvent) => void);
|
|
31
|
+
onFileUploading?: ((e: FileUploadingEvent) => void);
|
|
32
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
33
|
+
onItemCopied?: ((e: ItemCopiedEvent) => void);
|
|
34
|
+
onItemCopying?: ((e: ItemCopyingEvent) => void);
|
|
35
|
+
onItemDeleted?: ((e: ItemDeletedEvent) => void);
|
|
36
|
+
onItemDeleting?: ((e: ItemDeletingEvent) => void);
|
|
37
|
+
onItemDownloading?: ((e: ItemDownloadingEvent) => void);
|
|
38
|
+
onItemMoved?: ((e: ItemMovedEvent) => void);
|
|
39
|
+
onItemMoving?: ((e: ItemMovingEvent) => void);
|
|
40
|
+
onItemRenamed?: ((e: ItemRenamedEvent) => void);
|
|
41
|
+
onItemRenaming?: ((e: ItemRenamingEvent) => void);
|
|
42
|
+
onSelectedFileOpened?: ((e: SelectedFileOpenedEvent) => void);
|
|
43
|
+
onToolbarItemClick?: ((e: ToolbarItemClickEvent) => void);
|
|
44
|
+
};
|
|
45
|
+
declare type IFileManagerOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFileManagerOptionsNarrowedEvents> & IHtmlOptions & {}>;
|
|
20
46
|
declare class FileManager extends BaseComponent<React.PropsWithChildren<IFileManagerOptions>> {
|
|
21
47
|
get instance(): dxFileManager;
|
|
22
48
|
protected _WidgetClass: typeof dxFileManager;
|
|
@@ -132,7 +158,7 @@ declare type IItemProps = React.PropsWithChildren<{
|
|
|
132
158
|
disabled?: boolean;
|
|
133
159
|
icon?: string;
|
|
134
160
|
items?: Array<dxFileManagerContextMenuItem>;
|
|
135
|
-
name?: "create" | "upload" | "refresh" | "download" | "move" | "copy" | "rename" | "delete";
|
|
161
|
+
name?: "create" | "upload" | "refresh" | "download" | "move" | "copy" | "rename" | "delete" | "showNavPane" | "switchView" | "clearSelection" | "separator";
|
|
136
162
|
selectable?: boolean;
|
|
137
163
|
selected?: boolean;
|
|
138
164
|
text?: string;
|
package/file-manager.js
CHANGED
package/file-uploader.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
|
*
|
|
@@ -14,14 +14,24 @@
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
15
|
import dxFileUploader, { Properties } from "devextreme/ui/file_uploader";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
|
-
import type { ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/file_uploader";
|
|
17
|
+
import type { BeforeSendEvent, ContentReadyEvent, DisposingEvent, DropZoneEnterEvent, DropZoneLeaveEvent, FilesUploadedEvent, InitializedEvent, ProgressEvent, UploadAbortedEvent, UploadedEvent, UploadErrorEvent, UploadStartedEvent, ValueChangedEvent } from "devextreme/ui/file_uploader";
|
|
18
18
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
19
19
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
20
20
|
};
|
|
21
21
|
declare type IFileUploaderOptionsNarrowedEvents = {
|
|
22
|
+
onBeforeSend?: ((e: BeforeSendEvent) => void);
|
|
22
23
|
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
23
24
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
25
|
+
onDropZoneEnter?: ((e: DropZoneEnterEvent) => void);
|
|
26
|
+
onDropZoneLeave?: ((e: DropZoneLeaveEvent) => void);
|
|
27
|
+
onFilesUploaded?: ((e: FilesUploadedEvent) => void);
|
|
24
28
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
29
|
+
onProgress?: ((e: ProgressEvent) => void);
|
|
30
|
+
onUploadAborted?: ((e: UploadAbortedEvent) => void);
|
|
31
|
+
onUploaded?: ((e: UploadedEvent) => void);
|
|
32
|
+
onUploadError?: ((e: UploadErrorEvent) => void);
|
|
33
|
+
onUploadStarted?: ((e: UploadStartedEvent) => void);
|
|
34
|
+
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
25
35
|
};
|
|
26
36
|
declare type IFileUploaderOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFileUploaderOptionsNarrowedEvents> & IHtmlOptions & {
|
|
27
37
|
defaultValue?: Array<any>;
|
package/file-uploader.js
CHANGED
package/filter-builder.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
|
*
|
|
@@ -15,12 +15,23 @@
|
|
|
15
15
|
import dxFilterBuilder, { Properties } from "devextreme/ui/filter_builder";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { dxFilterBuilderField } from "devextreme/ui/filter_builder";
|
|
18
|
+
import type { ContentReadyEvent, DisposingEvent, EditorPreparedEvent, EditorPreparingEvent, InitializedEvent, ValueChangedEvent, dxFilterBuilderField } from "devextreme/ui/filter_builder";
|
|
19
19
|
import type { template } from "devextreme/core/templates/template";
|
|
20
20
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
21
21
|
import type { Store } from "devextreme/data/abstract_store";
|
|
22
22
|
import type * as LocalizationTypes from "devextreme/localization";
|
|
23
|
-
declare type
|
|
23
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
24
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
25
|
+
};
|
|
26
|
+
declare type IFilterBuilderOptionsNarrowedEvents = {
|
|
27
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
28
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
29
|
+
onEditorPrepared?: ((e: EditorPreparedEvent) => void);
|
|
30
|
+
onEditorPreparing?: ((e: EditorPreparingEvent) => void);
|
|
31
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
32
|
+
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
33
|
+
};
|
|
34
|
+
declare type IFilterBuilderOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFilterBuilderOptionsNarrowedEvents> & IHtmlOptions & {
|
|
24
35
|
defaultValue?: Array<any> | (() => any) | string;
|
|
25
36
|
onValueChange?: (value: Array<any> | (() => any) | string) => void;
|
|
26
37
|
}>;
|
|
@@ -105,8 +116,8 @@ declare type IFieldProps = React.PropsWithChildren<{
|
|
|
105
116
|
lookup?: Record<string, any> | {
|
|
106
117
|
allowClearing?: boolean;
|
|
107
118
|
dataSource?: Array<any> | DataSourceOptions | Store;
|
|
108
|
-
displayExpr?: ((data:
|
|
109
|
-
valueExpr?: ((data:
|
|
119
|
+
displayExpr?: ((data: any) => string) | string;
|
|
120
|
+
valueExpr?: ((data: any) => string) | string;
|
|
110
121
|
};
|
|
111
122
|
name?: string;
|
|
112
123
|
trueText?: string;
|
|
@@ -175,8 +186,8 @@ declare class GroupOperationDescriptions extends NestedOption<IGroupOperationDes
|
|
|
175
186
|
declare type ILookupProps = React.PropsWithChildren<{
|
|
176
187
|
allowClearing?: boolean;
|
|
177
188
|
dataSource?: Array<any> | DataSourceOptions | Store;
|
|
178
|
-
displayExpr?: ((data:
|
|
179
|
-
valueExpr?: ((data:
|
|
189
|
+
displayExpr?: ((data: any) => string) | string;
|
|
190
|
+
valueExpr?: ((data: any) => string) | string;
|
|
180
191
|
}>;
|
|
181
192
|
declare class Lookup extends NestedOption<ILookupProps> {
|
|
182
193
|
static OptionName: string;
|
package/filter-builder.js
CHANGED
package/form.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
|
*
|
|
@@ -15,21 +15,25 @@
|
|
|
15
15
|
import dxForm, { Properties } from "devextreme/ui/form";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
18
|
+
import type { ContentReadyEvent, DisposingEvent, EditorEnterKeyEvent, InitializedEvent, dxFormButtonItem, dxFormEmptyItem, dxFormGroupItem, dxFormSimpleItem, dxFormTabbedItem } from "devextreme/ui/form";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
|
|
20
|
+
import type { ContentReadyEvent as TabPanelContentReadyEvent, DisposingEvent as TabPanelDisposingEvent, InitializedEvent as TabPanelInitializedEvent, OptionChangedEvent as TabPanelOptionChangedEvent, dxTabPanelOptions, dxTabPanelItem, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, SelectionChangedEvent, TitleClickEvent, TitleHoldEvent, TitleRenderedEvent } from "devextreme/ui/tab_panel";
|
|
21
21
|
import type { template } from "devextreme/core/templates/template";
|
|
22
|
-
import type { dxFormButtonItem, dxFormEmptyItem, dxFormGroupItem, dxFormSimpleItem, dxFormTabbedItem } from "devextreme/ui/form";
|
|
23
22
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
24
|
-
import type { dxTabPanelOptions, dxTabPanelItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, OptionChangedEvent, SelectionChangedEvent } from "devextreme/ui/tab_panel";
|
|
25
23
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
26
24
|
import type { Store } from "devextreme/data/abstract_store";
|
|
27
|
-
import type dxButton from "devextreme/ui/button";
|
|
28
|
-
import type DOMComponent from "devextreme/core/dom_component";
|
|
29
25
|
import type DataSource from "devextreme/data/data_source";
|
|
30
|
-
import type dxTabPanel from "devextreme/ui/tab_panel";
|
|
31
26
|
import type * as CommonTypes from "devextreme/common";
|
|
32
|
-
declare type
|
|
27
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
28
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
29
|
+
};
|
|
30
|
+
declare type IFormOptionsNarrowedEvents = {
|
|
31
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
32
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
33
|
+
onEditorEnterKey?: ((e: EditorEnterKeyEvent) => void);
|
|
34
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
35
|
+
};
|
|
36
|
+
declare type IFormOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFormOptionsNarrowedEvents> & IHtmlOptions & {
|
|
33
37
|
defaultFormData?: any;
|
|
34
38
|
onFormDataChange?: (value: any) => void;
|
|
35
39
|
}>;
|
|
@@ -128,28 +132,11 @@ declare type IButtonOptionsProps = React.PropsWithChildren<{
|
|
|
128
132
|
hint?: string;
|
|
129
133
|
hoverStateEnabled?: boolean;
|
|
130
134
|
icon?: string;
|
|
131
|
-
onClick?: ((e:
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
validationGroup: Record<string, any>;
|
|
137
|
-
}) => void);
|
|
138
|
-
onContentReady?: ((e: EventInfo<any>) => void);
|
|
139
|
-
onDisposing?: ((e: EventInfo<any>) => void);
|
|
140
|
-
onInitialized?: ((e: {
|
|
141
|
-
component: Component<any>;
|
|
142
|
-
element: any;
|
|
143
|
-
}) => void);
|
|
144
|
-
onOptionChanged?: ((e: {
|
|
145
|
-
component: DOMComponent;
|
|
146
|
-
element: any;
|
|
147
|
-
fullName: string;
|
|
148
|
-
model: any;
|
|
149
|
-
name: string;
|
|
150
|
-
previousValue: any;
|
|
151
|
-
value: any;
|
|
152
|
-
}) => void);
|
|
135
|
+
onClick?: ((e: ClickEvent) => void);
|
|
136
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
137
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
138
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
139
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
153
140
|
rtlEnabled?: boolean;
|
|
154
141
|
stylingMode?: "text" | "outlined" | "contained";
|
|
155
142
|
tabIndex?: number;
|
|
@@ -351,8 +338,8 @@ declare type IItemProps = React.PropsWithChildren<{
|
|
|
351
338
|
disabled?: boolean;
|
|
352
339
|
icon?: string;
|
|
353
340
|
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
354
|
-
tabTemplate?: ((tabData:
|
|
355
|
-
template?: ((tabData:
|
|
341
|
+
tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
|
|
342
|
+
template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
|
|
356
343
|
title?: string;
|
|
357
344
|
}[];
|
|
358
345
|
buttonOptions?: dxButtonOptions;
|
|
@@ -580,8 +567,8 @@ declare type ITabProps = React.PropsWithChildren<{
|
|
|
580
567
|
disabled?: boolean;
|
|
581
568
|
icon?: string;
|
|
582
569
|
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
583
|
-
tabTemplate?: ((tabData:
|
|
584
|
-
template?: ((tabData:
|
|
570
|
+
tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
|
|
571
|
+
template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
|
|
585
572
|
title?: string;
|
|
586
573
|
tabRender?: (...params: any) => React.ReactNode;
|
|
587
574
|
tabComponent?: React.ComponentType<any>;
|
|
@@ -625,8 +612,8 @@ declare type ITabbedItemProps = React.PropsWithChildren<{
|
|
|
625
612
|
disabled?: boolean;
|
|
626
613
|
icon?: string;
|
|
627
614
|
items?: Array<dxFormButtonItem | dxFormEmptyItem | dxFormGroupItem | dxFormSimpleItem | dxFormTabbedItem>;
|
|
628
|
-
tabTemplate?: ((tabData:
|
|
629
|
-
template?: ((tabData:
|
|
615
|
+
tabTemplate?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
|
|
616
|
+
template?: ((tabData: any, tabIndex: number, tabElement: any) => any) | template;
|
|
630
617
|
title?: string;
|
|
631
618
|
}[];
|
|
632
619
|
visible?: boolean;
|
|
@@ -664,42 +651,22 @@ declare type ITabPanelOptionsProps = React.PropsWithChildren<{
|
|
|
664
651
|
hoverStateEnabled?: boolean;
|
|
665
652
|
itemHoldTimeout?: number;
|
|
666
653
|
items?: Array<any | dxTabPanelItem | string>;
|
|
667
|
-
itemTemplate?: ((itemData:
|
|
668
|
-
itemTitleTemplate?: ((itemData:
|
|
654
|
+
itemTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string) | template;
|
|
655
|
+
itemTitleTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string) | template;
|
|
669
656
|
loop?: boolean;
|
|
670
657
|
noDataText?: string;
|
|
671
|
-
onContentReady?: ((e:
|
|
672
|
-
onDisposing?: ((e:
|
|
673
|
-
onInitialized?: ((e:
|
|
658
|
+
onContentReady?: ((e: TabPanelContentReadyEvent) => void);
|
|
659
|
+
onDisposing?: ((e: TabPanelDisposingEvent) => void);
|
|
660
|
+
onInitialized?: ((e: TabPanelInitializedEvent) => void);
|
|
674
661
|
onItemClick?: ((e: ItemClickEvent) => void);
|
|
675
662
|
onItemContextMenu?: ((e: ItemContextMenuEvent) => void);
|
|
676
663
|
onItemHold?: ((e: ItemHoldEvent) => void);
|
|
677
664
|
onItemRendered?: ((e: ItemRenderedEvent) => void);
|
|
678
|
-
onOptionChanged?: ((e:
|
|
665
|
+
onOptionChanged?: ((e: TabPanelOptionChangedEvent) => void);
|
|
679
666
|
onSelectionChanged?: ((e: SelectionChangedEvent) => void);
|
|
680
|
-
onTitleClick?: ((e:
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
event: event;
|
|
684
|
-
itemData: Record<string, any>;
|
|
685
|
-
itemElement: any;
|
|
686
|
-
model: any;
|
|
687
|
-
}) => void);
|
|
688
|
-
onTitleHold?: ((e: {
|
|
689
|
-
component: dxTabPanel;
|
|
690
|
-
element: any;
|
|
691
|
-
event: event;
|
|
692
|
-
itemData: Record<string, any>;
|
|
693
|
-
itemElement: any;
|
|
694
|
-
model: any;
|
|
695
|
-
}) => void);
|
|
696
|
-
onTitleRendered?: ((e: {
|
|
697
|
-
component: dxTabPanel;
|
|
698
|
-
element: any;
|
|
699
|
-
itemData: Record<string, any>;
|
|
700
|
-
itemElement: any;
|
|
701
|
-
model: any;
|
|
702
|
-
}) => void);
|
|
667
|
+
onTitleClick?: ((e: TitleClickEvent) => void);
|
|
668
|
+
onTitleHold?: ((e: TitleHoldEvent) => void);
|
|
669
|
+
onTitleRendered?: ((e: TitleRenderedEvent) => void);
|
|
703
670
|
repaintChangesOnly?: boolean;
|
|
704
671
|
rtlEnabled?: boolean;
|
|
705
672
|
scrollByContent?: boolean;
|