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/html-editor.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,15 +15,13 @@
|
|
|
15
15
|
import dxHtmlEditor, { Properties } from "devextreme/ui/html_editor";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { ContentReadyEvent, DisposingEvent, InitializedEvent, ValueChangedEvent, dxHtmlEditorImageUploadTabItem, dxHtmlEditorTableContextMenuItem, dxHtmlEditorToolbarItem } from "devextreme/ui/html_editor";
|
|
19
|
-
import type { ContentReadyEvent as FileUploaderContentReadyEvent, DisposingEvent as FileUploaderDisposingEvent, InitializedEvent as FileUploaderInitializedEvent, OptionChangedEvent, dxFileUploaderOptions } from "devextreme/ui/file_uploader";
|
|
20
|
-
import type { event } from "devextreme/events/index";
|
|
18
|
+
import type { ContentReadyEvent, DisposingEvent, FocusInEvent, FocusOutEvent, InitializedEvent, ValueChangedEvent, dxHtmlEditorImageUploadTabItem, dxHtmlEditorTableContextMenuItem, dxHtmlEditorToolbarItem } from "devextreme/ui/html_editor";
|
|
19
|
+
import type { ContentReadyEvent as FileUploaderContentReadyEvent, DisposingEvent as FileUploaderDisposingEvent, InitializedEvent as FileUploaderInitializedEvent, ValueChangedEvent as FileUploaderValueChangedEvent, BeforeSendEvent, DropZoneEnterEvent, DropZoneLeaveEvent, FilesUploadedEvent, OptionChangedEvent, ProgressEvent, UploadAbortedEvent, UploadedEvent, UploadErrorEvent, UploadStartedEvent, dxFileUploaderOptions } from "devextreme/ui/file_uploader";
|
|
21
20
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
22
21
|
import type { template } from "devextreme/core/templates/template";
|
|
23
22
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
24
23
|
import type { Store } from "devextreme/data/abstract_store";
|
|
25
24
|
import type UploadInfo from "devextreme/file_management/upload_info";
|
|
26
|
-
import type dxFileUploader from "devextreme/ui/file_uploader";
|
|
27
25
|
import type DataSource from "devextreme/data/data_source";
|
|
28
26
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
29
27
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
@@ -31,6 +29,8 @@ declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
|
31
29
|
declare type IHtmlEditorOptionsNarrowedEvents = {
|
|
32
30
|
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
33
31
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
32
|
+
onFocusIn?: ((e: FocusInEvent) => void);
|
|
33
|
+
onFocusOut?: ((e: FocusOutEvent) => void);
|
|
34
34
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
35
35
|
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
36
36
|
};
|
|
@@ -104,92 +104,20 @@ declare type IFileUploaderOptionsProps = React.PropsWithChildren<{
|
|
|
104
104
|
minFileSize?: number;
|
|
105
105
|
multiple?: boolean;
|
|
106
106
|
name?: string;
|
|
107
|
-
onBeforeSend?: ((e:
|
|
108
|
-
component: dxFileUploader;
|
|
109
|
-
element: any;
|
|
110
|
-
file: any;
|
|
111
|
-
model: any;
|
|
112
|
-
request: any;
|
|
113
|
-
uploadInfo: UploadInfo;
|
|
114
|
-
}) => void);
|
|
107
|
+
onBeforeSend?: ((e: BeforeSendEvent) => void);
|
|
115
108
|
onContentReady?: ((e: FileUploaderContentReadyEvent) => void);
|
|
116
109
|
onDisposing?: ((e: FileUploaderDisposingEvent) => void);
|
|
117
|
-
onDropZoneEnter?: ((e:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
element: any;
|
|
121
|
-
event: event;
|
|
122
|
-
model: any;
|
|
123
|
-
}) => void);
|
|
124
|
-
onDropZoneLeave?: ((e: {
|
|
125
|
-
component: dxFileUploader;
|
|
126
|
-
dropZoneElement: any;
|
|
127
|
-
element: any;
|
|
128
|
-
event: event;
|
|
129
|
-
model: any;
|
|
130
|
-
}) => void);
|
|
131
|
-
onFilesUploaded?: ((e: {
|
|
132
|
-
component: dxFileUploader;
|
|
133
|
-
element: any;
|
|
134
|
-
model: any;
|
|
135
|
-
}) => void);
|
|
110
|
+
onDropZoneEnter?: ((e: DropZoneEnterEvent) => void);
|
|
111
|
+
onDropZoneLeave?: ((e: DropZoneLeaveEvent) => void);
|
|
112
|
+
onFilesUploaded?: ((e: FilesUploadedEvent) => void);
|
|
136
113
|
onInitialized?: ((e: FileUploaderInitializedEvent) => void);
|
|
137
114
|
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
138
|
-
onProgress?: ((e:
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
file: any;
|
|
145
|
-
model: any;
|
|
146
|
-
request: any;
|
|
147
|
-
segmentSize: number;
|
|
148
|
-
}) => void);
|
|
149
|
-
onUploadAborted?: ((e: {
|
|
150
|
-
component: dxFileUploader;
|
|
151
|
-
element: any;
|
|
152
|
-
event: event;
|
|
153
|
-
file: any;
|
|
154
|
-
message: string;
|
|
155
|
-
model: any;
|
|
156
|
-
request: any;
|
|
157
|
-
}) => void);
|
|
158
|
-
onUploaded?: ((e: {
|
|
159
|
-
component: dxFileUploader;
|
|
160
|
-
element: any;
|
|
161
|
-
event: event;
|
|
162
|
-
file: any;
|
|
163
|
-
message: string;
|
|
164
|
-
model: any;
|
|
165
|
-
request: any;
|
|
166
|
-
}) => void);
|
|
167
|
-
onUploadError?: ((e: {
|
|
168
|
-
component: dxFileUploader;
|
|
169
|
-
element: any;
|
|
170
|
-
error: any;
|
|
171
|
-
event: event;
|
|
172
|
-
file: any;
|
|
173
|
-
message: string;
|
|
174
|
-
model: any;
|
|
175
|
-
request: any;
|
|
176
|
-
}) => void);
|
|
177
|
-
onUploadStarted?: ((e: {
|
|
178
|
-
component: dxFileUploader;
|
|
179
|
-
element: any;
|
|
180
|
-
event: event;
|
|
181
|
-
file: any;
|
|
182
|
-
model: any;
|
|
183
|
-
request: any;
|
|
184
|
-
}) => void);
|
|
185
|
-
onValueChanged?: ((e: {
|
|
186
|
-
component: dxFileUploader;
|
|
187
|
-
element: any;
|
|
188
|
-
event: event;
|
|
189
|
-
model: any;
|
|
190
|
-
previousValue: Array<any>;
|
|
191
|
-
value: Array<any>;
|
|
192
|
-
}) => void);
|
|
115
|
+
onProgress?: ((e: ProgressEvent) => void);
|
|
116
|
+
onUploadAborted?: ((e: UploadAbortedEvent) => void);
|
|
117
|
+
onUploaded?: ((e: UploadedEvent) => void);
|
|
118
|
+
onUploadError?: ((e: UploadErrorEvent) => void);
|
|
119
|
+
onUploadStarted?: ((e: UploadStartedEvent) => void);
|
|
120
|
+
onValueChanged?: ((e: FileUploaderValueChangedEvent) => void);
|
|
193
121
|
progress?: number;
|
|
194
122
|
readOnly?: boolean;
|
|
195
123
|
readyToUploadMessage?: string;
|
|
@@ -249,7 +177,7 @@ declare type IItemProps = React.PropsWithChildren<{
|
|
|
249
177
|
disabled?: boolean;
|
|
250
178
|
icon?: string;
|
|
251
179
|
items?: Array<dxHtmlEditorTableContextMenuItem | "background" | "bold" | "color" | "font" | "italic" | "link" | "image" | "strike" | "subscript" | "superscript" | "underline" | "blockquote" | "increaseIndent" | "decreaseIndent" | "orderedList" | "bulletList" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "codeBlock" | "variable" | "undo" | "redo" | "clear" | "insertTable" | "insertHeaderRow" | "insertRowAbove" | "insertRowBelow" | "insertColumnLeft" | "insertColumnRight" | "deleteColumn" | "deleteRow" | "deleteTable" | "cellProperties" | "tableProperties">;
|
|
252
|
-
name?: "background" | "bold" | "color" | "font" | "italic" | "link" | "image" | "strike" | "subscript" | "superscript" | "underline" | "blockquote" | "increaseIndent" | "decreaseIndent" | "orderedList" | "bulletList" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "codeBlock" | "variable" | "undo" | "redo" | "clear" | "insertTable" | "insertHeaderRow" | "insertRowAbove" | "insertRowBelow" | "insertColumnLeft" | "insertColumnRight" | "deleteColumn" | "deleteRow" | "deleteTable" | "cellProperties" | "tableProperties";
|
|
180
|
+
name?: "background" | "bold" | "color" | "font" | "italic" | "link" | "image" | "strike" | "subscript" | "superscript" | "underline" | "blockquote" | "increaseIndent" | "decreaseIndent" | "orderedList" | "bulletList" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "codeBlock" | "variable" | "undo" | "redo" | "clear" | "insertTable" | "insertHeaderRow" | "insertRowAbove" | "insertRowBelow" | "insertColumnLeft" | "insertColumnRight" | "deleteColumn" | "deleteRow" | "deleteTable" | "cellProperties" | "tableProperties" | "size" | "header" | "separator";
|
|
253
181
|
selectable?: boolean;
|
|
254
182
|
selected?: boolean;
|
|
255
183
|
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
|
|
@@ -292,8 +220,8 @@ declare class MediaResizing extends NestedOption<IMediaResizingProps> {
|
|
|
292
220
|
}
|
|
293
221
|
declare type IMentionProps = React.PropsWithChildren<{
|
|
294
222
|
dataSource?: Array<any> | DataSource | DataSourceOptions | null | Store | string;
|
|
295
|
-
displayExpr?: ((item:
|
|
296
|
-
itemTemplate?: ((itemData:
|
|
223
|
+
displayExpr?: ((item: any) => string) | string;
|
|
224
|
+
itemTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string) | template;
|
|
297
225
|
marker?: string;
|
|
298
226
|
minSearchLength?: number;
|
|
299
227
|
searchExpr?: Array<(() => any) | string> | (() => any) | string;
|
package/html-editor.js
CHANGED
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/linear-gauge.d.ts
CHANGED
package/linear-gauge.js
CHANGED
package/list.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,30 +12,40 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
+
export { ExplicitTypes } from "devextreme/ui/list";
|
|
15
16
|
import dxList, { Properties } from "devextreme/ui/list";
|
|
16
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
18
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { dxListItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemRenderedEvent } from "devextreme/ui/list";
|
|
19
|
-
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent as ButtonOptionChangedEvent } from "devextreme/ui/button";
|
|
19
|
+
import type { dxListItem, ContentReadyEvent, DisposingEvent, GroupRenderedEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemDeletedEvent, ItemDeletingEvent, ItemHoldEvent, ItemRenderedEvent, ItemReorderedEvent, ItemSwipeEvent, PageLoadingEvent, PullRefreshEvent, ScrollEvent, SelectAllValueChangedEvent } from "devextreme/ui/list";
|
|
20
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent as ButtonOptionChangedEvent, ClickEvent } from "devextreme/ui/button";
|
|
20
21
|
import type { ContentReadyEvent as TextBoxContentReadyEvent, DisposingEvent as TextBoxDisposingEvent, InitializedEvent as TextBoxInitializedEvent, OptionChangedEvent as TextBoxOptionChangedEvent, ChangeEvent, CopyEvent, CutEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InputEvent, KeyDownEvent, KeyUpEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/text_box";
|
|
21
|
-
import type { DisposingEvent as SortableDisposingEvent, InitializedEvent as SortableInitializedEvent, OptionChangedEvent } from "devextreme/ui/sortable";
|
|
22
|
+
import type { DisposingEvent as SortableDisposingEvent, InitializedEvent as SortableInitializedEvent, AddEvent, DragChangeEvent, DragEndEvent, DragMoveEvent, DragStartEvent, OptionChangedEvent, RemoveEvent, ReorderEvent } from "devextreme/ui/sortable";
|
|
22
23
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
23
24
|
import type { template } from "devextreme/core/templates/template";
|
|
24
|
-
import type { event } from "devextreme/events/index";
|
|
25
25
|
import type { dxTextEditorButton } from "devextreme/ui/text_box/ui.text_editor.base";
|
|
26
|
-
import type dxSortable from "devextreme/ui/sortable";
|
|
27
|
-
import type dxDraggable from "devextreme/ui/draggable";
|
|
28
|
-
import type dxButton from "devextreme/ui/button";
|
|
29
26
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
30
27
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
31
28
|
};
|
|
32
|
-
declare type IListOptionsNarrowedEvents = {
|
|
33
|
-
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
34
|
-
onDisposing?: ((e: DisposingEvent) => void);
|
|
35
|
-
|
|
36
|
-
|
|
29
|
+
declare type IListOptionsNarrowedEvents<TItem = any, TKey = any> = {
|
|
30
|
+
onContentReady?: ((e: ContentReadyEvent<TItem, TKey>) => void);
|
|
31
|
+
onDisposing?: ((e: DisposingEvent<TItem, TKey>) => void);
|
|
32
|
+
onGroupRendered?: ((e: GroupRenderedEvent<TItem, TKey>) => void);
|
|
33
|
+
onInitialized?: ((e: InitializedEvent<TItem, TKey>) => void);
|
|
34
|
+
onItemClick?: ((e: ItemClickEvent<TItem, TKey>) => void);
|
|
35
|
+
onItemContextMenu?: ((e: ItemContextMenuEvent<TItem, TKey>) => void);
|
|
36
|
+
onItemDeleted?: ((e: ItemDeletedEvent<TItem, TKey>) => void);
|
|
37
|
+
onItemDeleting?: ((e: ItemDeletingEvent<TItem, TKey>) => void);
|
|
38
|
+
onItemHold?: ((e: ItemHoldEvent<TItem, TKey>) => void);
|
|
39
|
+
onItemRendered?: ((e: ItemRenderedEvent<TItem, TKey>) => void);
|
|
40
|
+
onItemReordered?: ((e: ItemReorderedEvent<TItem, TKey>) => void);
|
|
41
|
+
onItemSwipe?: ((e: ItemSwipeEvent<TItem, TKey>) => void);
|
|
42
|
+
onPageLoading?: ((e: PageLoadingEvent<TItem, TKey>) => void);
|
|
43
|
+
onPullRefresh?: ((e: PullRefreshEvent<TItem, TKey>) => void);
|
|
44
|
+
onScroll?: ((e: ScrollEvent<TItem, TKey>) => void);
|
|
45
|
+
onSelectAllValueChanged?: ((e: SelectAllValueChangedEvent<TItem, TKey>) => void);
|
|
37
46
|
};
|
|
38
|
-
declare type IListOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IListOptionsNarrowedEvents
|
|
47
|
+
declare type IListOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IListOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
48
|
+
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
39
49
|
groupRender?: (...params: any) => React.ReactNode;
|
|
40
50
|
groupComponent?: React.ComponentType<any>;
|
|
41
51
|
groupKeyFn?: (data: any) => string;
|
|
@@ -49,8 +59,8 @@ declare type IListOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties
|
|
|
49
59
|
onSelectedItemKeysChange?: (value: Array<any>) => void;
|
|
50
60
|
onSelectedItemsChange?: (value: Array<any>) => void;
|
|
51
61
|
}>;
|
|
52
|
-
declare class List extends BaseComponent<React.PropsWithChildren<IListOptions
|
|
53
|
-
get instance(): dxList
|
|
62
|
+
declare class List<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildren<IListOptions<TItem, TKey>>> {
|
|
63
|
+
get instance(): dxList<TItem, TKey>;
|
|
54
64
|
protected _WidgetClass: typeof dxList;
|
|
55
65
|
protected subscribableOptions: string[];
|
|
56
66
|
protected independentEvents: string[];
|
|
@@ -156,113 +166,16 @@ declare type IItemDraggingProps = React.PropsWithChildren<{
|
|
|
156
166
|
height?: (() => number) | number | string;
|
|
157
167
|
itemOrientation?: "horizontal" | "vertical";
|
|
158
168
|
moveItemOnDrop?: boolean;
|
|
159
|
-
onAdd?: ((e:
|
|
160
|
-
component: dxSortable;
|
|
161
|
-
dropInsideItem: boolean;
|
|
162
|
-
element: any;
|
|
163
|
-
event: event;
|
|
164
|
-
fromComponent: dxSortable | dxDraggable;
|
|
165
|
-
fromData: any;
|
|
166
|
-
fromIndex: number;
|
|
167
|
-
itemData: any;
|
|
168
|
-
itemElement: any;
|
|
169
|
-
model: any;
|
|
170
|
-
toComponent: dxSortable | dxDraggable;
|
|
171
|
-
toData: any;
|
|
172
|
-
toIndex: number;
|
|
173
|
-
}) => void);
|
|
169
|
+
onAdd?: ((e: AddEvent) => void);
|
|
174
170
|
onDisposing?: ((e: SortableDisposingEvent) => void);
|
|
175
|
-
onDragChange?: ((e:
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
element: any;
|
|
180
|
-
event: event;
|
|
181
|
-
fromComponent: dxSortable | dxDraggable;
|
|
182
|
-
fromData: any;
|
|
183
|
-
fromIndex: number;
|
|
184
|
-
itemData: any;
|
|
185
|
-
itemElement: any;
|
|
186
|
-
model: any;
|
|
187
|
-
toComponent: dxSortable | dxDraggable;
|
|
188
|
-
toData: any;
|
|
189
|
-
toIndex: number;
|
|
190
|
-
}) => void);
|
|
191
|
-
onDragEnd?: ((e: {
|
|
192
|
-
cancel: boolean;
|
|
193
|
-
component: dxSortable;
|
|
194
|
-
dropInsideItem: boolean;
|
|
195
|
-
element: any;
|
|
196
|
-
event: event;
|
|
197
|
-
fromComponent: dxSortable | dxDraggable;
|
|
198
|
-
fromData: any;
|
|
199
|
-
fromIndex: number;
|
|
200
|
-
itemData: any;
|
|
201
|
-
itemElement: any;
|
|
202
|
-
model: any;
|
|
203
|
-
toComponent: dxSortable | dxDraggable;
|
|
204
|
-
toData: any;
|
|
205
|
-
toIndex: number;
|
|
206
|
-
}) => void);
|
|
207
|
-
onDragMove?: ((e: {
|
|
208
|
-
cancel: boolean;
|
|
209
|
-
component: dxSortable;
|
|
210
|
-
dropInsideItem: boolean;
|
|
211
|
-
element: any;
|
|
212
|
-
event: event;
|
|
213
|
-
fromComponent: dxSortable | dxDraggable;
|
|
214
|
-
fromData: any;
|
|
215
|
-
fromIndex: number;
|
|
216
|
-
itemData: any;
|
|
217
|
-
itemElement: any;
|
|
218
|
-
model: any;
|
|
219
|
-
toComponent: dxSortable | dxDraggable;
|
|
220
|
-
toData: any;
|
|
221
|
-
toIndex: number;
|
|
222
|
-
}) => void);
|
|
223
|
-
onDragStart?: ((e: {
|
|
224
|
-
cancel: boolean;
|
|
225
|
-
component: dxSortable;
|
|
226
|
-
element: any;
|
|
227
|
-
event: event;
|
|
228
|
-
fromData: any;
|
|
229
|
-
fromIndex: number;
|
|
230
|
-
itemData: any;
|
|
231
|
-
itemElement: any;
|
|
232
|
-
model: any;
|
|
233
|
-
}) => void);
|
|
171
|
+
onDragChange?: ((e: DragChangeEvent) => void);
|
|
172
|
+
onDragEnd?: ((e: DragEndEvent) => void);
|
|
173
|
+
onDragMove?: ((e: DragMoveEvent) => void);
|
|
174
|
+
onDragStart?: ((e: DragStartEvent) => void);
|
|
234
175
|
onInitialized?: ((e: SortableInitializedEvent) => void);
|
|
235
176
|
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
236
|
-
onRemove?: ((e:
|
|
237
|
-
|
|
238
|
-
element: any;
|
|
239
|
-
event: event;
|
|
240
|
-
fromComponent: dxSortable | dxDraggable;
|
|
241
|
-
fromData: any;
|
|
242
|
-
fromIndex: number;
|
|
243
|
-
itemData: any;
|
|
244
|
-
itemElement: any;
|
|
245
|
-
model: any;
|
|
246
|
-
toComponent: dxSortable | dxDraggable;
|
|
247
|
-
toData: any;
|
|
248
|
-
toIndex: number;
|
|
249
|
-
}) => void);
|
|
250
|
-
onReorder?: ((e: {
|
|
251
|
-
component: dxSortable;
|
|
252
|
-
dropInsideItem: boolean;
|
|
253
|
-
element: any;
|
|
254
|
-
event: event;
|
|
255
|
-
fromComponent: dxSortable | dxDraggable;
|
|
256
|
-
fromData: any;
|
|
257
|
-
fromIndex: number;
|
|
258
|
-
itemData: any;
|
|
259
|
-
itemElement: any;
|
|
260
|
-
model: any;
|
|
261
|
-
promise: any;
|
|
262
|
-
toComponent: dxSortable | dxDraggable;
|
|
263
|
-
toData: any;
|
|
264
|
-
toIndex: number;
|
|
265
|
-
}) => void);
|
|
177
|
+
onRemove?: ((e: RemoveEvent) => void);
|
|
178
|
+
onReorder?: ((e: ReorderEvent) => void);
|
|
266
179
|
rtlEnabled?: boolean;
|
|
267
180
|
scrollSensitivity?: number;
|
|
268
181
|
scrollSpeed?: number;
|
|
@@ -287,7 +200,7 @@ declare class ItemDragging extends NestedOption<IItemDraggingProps> {
|
|
|
287
200
|
}[];
|
|
288
201
|
}
|
|
289
202
|
declare type IMenuItemProps = React.PropsWithChildren<{
|
|
290
|
-
action?: ((itemElement: any, itemData:
|
|
203
|
+
action?: ((itemElement: any, itemData: any) => void);
|
|
291
204
|
text?: string;
|
|
292
205
|
}>;
|
|
293
206
|
declare class MenuItem extends NestedOption<IMenuItemProps> {
|
|
@@ -305,13 +218,7 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
305
218
|
hint?: string;
|
|
306
219
|
hoverStateEnabled?: boolean;
|
|
307
220
|
icon?: string;
|
|
308
|
-
onClick?: ((e:
|
|
309
|
-
component: dxButton;
|
|
310
|
-
element: any;
|
|
311
|
-
event: event;
|
|
312
|
-
model: any;
|
|
313
|
-
validationGroup: Record<string, any>;
|
|
314
|
-
}) => void);
|
|
221
|
+
onClick?: ((e: ClickEvent) => void);
|
|
315
222
|
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
316
223
|
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
317
224
|
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
package/list.js
CHANGED
package/load-indicator.d.ts
CHANGED
package/load-indicator.js
CHANGED
package/load-panel.d.ts
CHANGED
package/load-panel.js
CHANGED
package/lookup.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 dxLookup, { Properties } from "devextreme/ui/lookup";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { ClosedEvent, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, OpenedEvent } from "devextreme/ui/lookup";
|
|
18
|
+
import type { ClosedEvent, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, OpenedEvent, PageLoadingEvent, PullRefreshEvent, ScrollEvent, ValueChangedEvent } from "devextreme/ui/lookup";
|
|
19
19
|
import type { ContentReadyEvent as PopoverContentReadyEvent, DisposingEvent as PopoverDisposingEvent, InitializedEvent as PopoverInitializedEvent, HiddenEvent, HidingEvent, OptionChangedEvent, ShowingEvent, ShownEvent, TitleRenderedEvent } from "devextreme/ui/popover";
|
|
20
20
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
21
21
|
import type { event } from "devextreme/events/index";
|
|
@@ -33,6 +33,10 @@ declare type ILookupOptionsNarrowedEvents = {
|
|
|
33
33
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
34
34
|
onItemClick?: ((e: ItemClickEvent) => void);
|
|
35
35
|
onOpened?: ((e: OpenedEvent) => void);
|
|
36
|
+
onPageLoading?: ((e: PageLoadingEvent) => void);
|
|
37
|
+
onPullRefresh?: ((e: PullRefreshEvent) => void);
|
|
38
|
+
onScroll?: ((e: ScrollEvent) => void);
|
|
39
|
+
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
36
40
|
};
|
|
37
41
|
declare type ILookupOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ILookupOptionsNarrowedEvents> & IHtmlOptions & {
|
|
38
42
|
fieldRender?: (...params: any) => React.ReactNode;
|
package/lookup.js
CHANGED
package/map.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,13 +15,19 @@
|
|
|
15
15
|
import dxMap, { Properties } from "devextreme/ui/map";
|
|
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/map";
|
|
18
|
+
import type { ClickEvent, DisposingEvent, InitializedEvent, MarkerAddedEvent, MarkerRemovedEvent, ReadyEvent, RouteAddedEvent, RouteRemovedEvent } from "devextreme/ui/map";
|
|
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 IMapOptionsNarrowedEvents = {
|
|
23
|
+
onClick?: ((e: ClickEvent) => void);
|
|
23
24
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
24
25
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
26
|
+
onMarkerAdded?: ((e: MarkerAddedEvent) => void);
|
|
27
|
+
onMarkerRemoved?: ((e: MarkerRemovedEvent) => void);
|
|
28
|
+
onReady?: ((e: ReadyEvent) => void);
|
|
29
|
+
onRouteAdded?: ((e: RouteAddedEvent) => void);
|
|
30
|
+
onRouteRemoved?: ((e: RouteRemovedEvent) => void);
|
|
25
31
|
};
|
|
26
32
|
declare type IMapOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IMapOptionsNarrowedEvents> & IHtmlOptions & {
|
|
27
33
|
defaultCenter?: Array<number> | Record<string, any> | string;
|
package/map.js
CHANGED
package/menu.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,10 +12,11 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
+
export { ExplicitTypes } from "devextreme/ui/menu";
|
|
15
16
|
import dxMenu, { Properties } from "devextreme/ui/menu";
|
|
16
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
18
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { dxMenuItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemRenderedEvent } from "devextreme/ui/menu";
|
|
19
|
+
import type { dxMenuItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemRenderedEvent, SubmenuHiddenEvent, SubmenuHidingEvent, SubmenuShowingEvent, SubmenuShownEvent } from "devextreme/ui/menu";
|
|
19
20
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
20
21
|
import type { PositionConfig } from "devextreme/animation/position";
|
|
21
22
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
@@ -23,15 +24,20 @@ import type { template } from "devextreme/core/templates/template";
|
|
|
23
24
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
24
25
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
25
26
|
};
|
|
26
|
-
declare type IMenuOptionsNarrowedEvents = {
|
|
27
|
-
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
28
|
-
onDisposing?: ((e: DisposingEvent) => void);
|
|
29
|
-
onInitialized?: ((e: InitializedEvent) => void);
|
|
30
|
-
onItemClick?: ((e: ItemClickEvent) => void);
|
|
31
|
-
onItemContextMenu?: ((e: ItemContextMenuEvent) => void);
|
|
32
|
-
onItemRendered?: ((e: ItemRenderedEvent) => void);
|
|
27
|
+
declare type IMenuOptionsNarrowedEvents<TKey = any> = {
|
|
28
|
+
onContentReady?: ((e: ContentReadyEvent<TKey>) => void);
|
|
29
|
+
onDisposing?: ((e: DisposingEvent<TKey>) => void);
|
|
30
|
+
onInitialized?: ((e: InitializedEvent<TKey>) => void);
|
|
31
|
+
onItemClick?: ((e: ItemClickEvent<TKey>) => void);
|
|
32
|
+
onItemContextMenu?: ((e: ItemContextMenuEvent<TKey>) => void);
|
|
33
|
+
onItemRendered?: ((e: ItemRenderedEvent<TKey>) => void);
|
|
34
|
+
onSubmenuHidden?: ((e: SubmenuHiddenEvent<TKey>) => void);
|
|
35
|
+
onSubmenuHiding?: ((e: SubmenuHidingEvent<TKey>) => void);
|
|
36
|
+
onSubmenuShowing?: ((e: SubmenuShowingEvent<TKey>) => void);
|
|
37
|
+
onSubmenuShown?: ((e: SubmenuShownEvent<TKey>) => void);
|
|
33
38
|
};
|
|
34
|
-
declare type IMenuOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties
|
|
39
|
+
declare type IMenuOptions<TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TKey>, IMenuOptionsNarrowedEvents<TKey>> & IHtmlOptions & {
|
|
40
|
+
dataSource?: Properties<TKey>["dataSource"];
|
|
35
41
|
itemRender?: (...params: any) => React.ReactNode;
|
|
36
42
|
itemComponent?: React.ComponentType<any>;
|
|
37
43
|
itemKeyFn?: (data: any) => string;
|
|
@@ -40,8 +46,8 @@ declare type IMenuOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties
|
|
|
40
46
|
onItemsChange?: (value: Array<dxMenuItem>) => void;
|
|
41
47
|
onSelectedItemChange?: (value: any) => void;
|
|
42
48
|
}>;
|
|
43
|
-
declare class Menu extends BaseComponent<React.PropsWithChildren<IMenuOptions
|
|
44
|
-
get instance(): dxMenu
|
|
49
|
+
declare class Menu<TKey = any> extends BaseComponent<React.PropsWithChildren<IMenuOptions<TKey>>> {
|
|
50
|
+
get instance(): dxMenu<TKey>;
|
|
45
51
|
protected _WidgetClass: typeof dxMenu;
|
|
46
52
|
protected subscribableOptions: string[];
|
|
47
53
|
protected independentEvents: string[];
|