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/list.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,19 +16,35 @@ export { ExplicitTypes } from "devextreme/ui/list";
|
|
|
16
16
|
import dxList, { Properties } from "devextreme/ui/list";
|
|
17
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
18
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxListItem } from "devextreme/ui/list";
|
|
20
|
-
import type { dxButtonOptions } 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";
|
|
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";
|
|
22
|
+
import type { DisposingEvent as SortableDisposingEvent, InitializedEvent as SortableInitializedEvent, AddEvent, DragChangeEvent, DragEndEvent, DragMoveEvent, DragStartEvent, OptionChangedEvent, RemoveEvent, ReorderEvent } from "devextreme/ui/sortable";
|
|
21
23
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
22
24
|
import type { template } from "devextreme/core/templates/template";
|
|
23
|
-
import type { event, EventInfo } from "devextreme/events/index";
|
|
24
|
-
import type { Component } from "devextreme/core/component";
|
|
25
25
|
import type { dxTextEditorButton } from "devextreme/ui/text_box/ui.text_editor.base";
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
27
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
28
|
+
};
|
|
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);
|
|
46
|
+
};
|
|
47
|
+
declare type IListOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IListOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
32
48
|
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
33
49
|
groupRender?: (...params: any) => React.ReactNode;
|
|
34
50
|
groupComponent?: React.ComponentType<any>;
|
|
@@ -150,124 +166,16 @@ declare type IItemDraggingProps = React.PropsWithChildren<{
|
|
|
150
166
|
height?: (() => number) | number | string;
|
|
151
167
|
itemOrientation?: "horizontal" | "vertical";
|
|
152
168
|
moveItemOnDrop?: boolean;
|
|
153
|
-
onAdd?: ((e:
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
model: any;
|
|
164
|
-
toComponent: dxSortable | dxDraggable;
|
|
165
|
-
toData: any;
|
|
166
|
-
toIndex: number;
|
|
167
|
-
}) => void);
|
|
168
|
-
onDisposing?: ((e: EventInfo<any>) => void);
|
|
169
|
-
onDragChange?: ((e: {
|
|
170
|
-
cancel: boolean;
|
|
171
|
-
component: dxSortable;
|
|
172
|
-
dropInsideItem: boolean;
|
|
173
|
-
element: any;
|
|
174
|
-
event: event;
|
|
175
|
-
fromComponent: dxSortable | dxDraggable;
|
|
176
|
-
fromData: any;
|
|
177
|
-
fromIndex: number;
|
|
178
|
-
itemData: any;
|
|
179
|
-
itemElement: any;
|
|
180
|
-
model: any;
|
|
181
|
-
toComponent: dxSortable | dxDraggable;
|
|
182
|
-
toData: any;
|
|
183
|
-
toIndex: number;
|
|
184
|
-
}) => void);
|
|
185
|
-
onDragEnd?: ((e: {
|
|
186
|
-
cancel: boolean;
|
|
187
|
-
component: dxSortable;
|
|
188
|
-
dropInsideItem: boolean;
|
|
189
|
-
element: any;
|
|
190
|
-
event: event;
|
|
191
|
-
fromComponent: dxSortable | dxDraggable;
|
|
192
|
-
fromData: any;
|
|
193
|
-
fromIndex: number;
|
|
194
|
-
itemData: any;
|
|
195
|
-
itemElement: any;
|
|
196
|
-
model: any;
|
|
197
|
-
toComponent: dxSortable | dxDraggable;
|
|
198
|
-
toData: any;
|
|
199
|
-
toIndex: number;
|
|
200
|
-
}) => void);
|
|
201
|
-
onDragMove?: ((e: {
|
|
202
|
-
cancel: boolean;
|
|
203
|
-
component: dxSortable;
|
|
204
|
-
dropInsideItem: boolean;
|
|
205
|
-
element: any;
|
|
206
|
-
event: event;
|
|
207
|
-
fromComponent: dxSortable | dxDraggable;
|
|
208
|
-
fromData: any;
|
|
209
|
-
fromIndex: number;
|
|
210
|
-
itemData: any;
|
|
211
|
-
itemElement: any;
|
|
212
|
-
model: any;
|
|
213
|
-
toComponent: dxSortable | dxDraggable;
|
|
214
|
-
toData: any;
|
|
215
|
-
toIndex: number;
|
|
216
|
-
}) => void);
|
|
217
|
-
onDragStart?: ((e: {
|
|
218
|
-
cancel: boolean;
|
|
219
|
-
component: dxSortable;
|
|
220
|
-
element: any;
|
|
221
|
-
event: event;
|
|
222
|
-
fromData: any;
|
|
223
|
-
fromIndex: number;
|
|
224
|
-
itemData: any;
|
|
225
|
-
itemElement: any;
|
|
226
|
-
model: any;
|
|
227
|
-
}) => void);
|
|
228
|
-
onInitialized?: ((e: {
|
|
229
|
-
component: Component<any>;
|
|
230
|
-
element: any;
|
|
231
|
-
}) => void);
|
|
232
|
-
onOptionChanged?: ((e: {
|
|
233
|
-
component: DOMComponent;
|
|
234
|
-
element: any;
|
|
235
|
-
fullName: string;
|
|
236
|
-
model: any;
|
|
237
|
-
name: string;
|
|
238
|
-
previousValue: any;
|
|
239
|
-
value: any;
|
|
240
|
-
}) => void);
|
|
241
|
-
onRemove?: ((e: {
|
|
242
|
-
component: dxSortable;
|
|
243
|
-
element: any;
|
|
244
|
-
event: event;
|
|
245
|
-
fromComponent: dxSortable | dxDraggable;
|
|
246
|
-
fromData: any;
|
|
247
|
-
fromIndex: number;
|
|
248
|
-
itemData: any;
|
|
249
|
-
itemElement: any;
|
|
250
|
-
model: any;
|
|
251
|
-
toComponent: dxSortable | dxDraggable;
|
|
252
|
-
toData: any;
|
|
253
|
-
toIndex: number;
|
|
254
|
-
}) => void);
|
|
255
|
-
onReorder?: ((e: {
|
|
256
|
-
component: dxSortable;
|
|
257
|
-
dropInsideItem: boolean;
|
|
258
|
-
element: any;
|
|
259
|
-
event: event;
|
|
260
|
-
fromComponent: dxSortable | dxDraggable;
|
|
261
|
-
fromData: any;
|
|
262
|
-
fromIndex: number;
|
|
263
|
-
itemData: any;
|
|
264
|
-
itemElement: any;
|
|
265
|
-
model: any;
|
|
266
|
-
promise: any;
|
|
267
|
-
toComponent: dxSortable | dxDraggable;
|
|
268
|
-
toData: any;
|
|
269
|
-
toIndex: number;
|
|
270
|
-
}) => void);
|
|
169
|
+
onAdd?: ((e: AddEvent) => void);
|
|
170
|
+
onDisposing?: ((e: SortableDisposingEvent) => void);
|
|
171
|
+
onDragChange?: ((e: DragChangeEvent) => void);
|
|
172
|
+
onDragEnd?: ((e: DragEndEvent) => void);
|
|
173
|
+
onDragMove?: ((e: DragMoveEvent) => void);
|
|
174
|
+
onDragStart?: ((e: DragStartEvent) => void);
|
|
175
|
+
onInitialized?: ((e: SortableInitializedEvent) => void);
|
|
176
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
177
|
+
onRemove?: ((e: RemoveEvent) => void);
|
|
178
|
+
onReorder?: ((e: ReorderEvent) => void);
|
|
271
179
|
rtlEnabled?: boolean;
|
|
272
180
|
scrollSensitivity?: number;
|
|
273
181
|
scrollSpeed?: number;
|
|
@@ -292,7 +200,7 @@ declare class ItemDragging extends NestedOption<IItemDraggingProps> {
|
|
|
292
200
|
}[];
|
|
293
201
|
}
|
|
294
202
|
declare type IMenuItemProps = React.PropsWithChildren<{
|
|
295
|
-
action?: ((itemElement: any, itemData:
|
|
203
|
+
action?: ((itemElement: any, itemData: any) => void);
|
|
296
204
|
text?: string;
|
|
297
205
|
}>;
|
|
298
206
|
declare class MenuItem extends NestedOption<IMenuItemProps> {
|
|
@@ -310,28 +218,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
310
218
|
hint?: string;
|
|
311
219
|
hoverStateEnabled?: boolean;
|
|
312
220
|
icon?: string;
|
|
313
|
-
onClick?: ((e:
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
validationGroup: Record<string, any>;
|
|
319
|
-
}) => void);
|
|
320
|
-
onContentReady?: ((e: EventInfo<any>) => void);
|
|
321
|
-
onDisposing?: ((e: EventInfo<any>) => void);
|
|
322
|
-
onInitialized?: ((e: {
|
|
323
|
-
component: Component<any>;
|
|
324
|
-
element: any;
|
|
325
|
-
}) => void);
|
|
326
|
-
onOptionChanged?: ((e: {
|
|
327
|
-
component: DOMComponent;
|
|
328
|
-
element: any;
|
|
329
|
-
fullName: string;
|
|
330
|
-
model: any;
|
|
331
|
-
name: string;
|
|
332
|
-
previousValue: any;
|
|
333
|
-
value: any;
|
|
334
|
-
}) => void);
|
|
221
|
+
onClick?: ((e: ClickEvent) => void);
|
|
222
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
223
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
224
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
225
|
+
onOptionChanged?: ((e: ButtonOptionChangedEvent) => void);
|
|
335
226
|
rtlEnabled?: boolean;
|
|
336
227
|
stylingMode?: "text" | "outlined" | "contained";
|
|
337
228
|
tabIndex?: number;
|
|
@@ -381,18 +272,18 @@ declare type ISearchEditorOptionsProps = React.PropsWithChildren<{
|
|
|
381
272
|
mode?: "email" | "password" | "search" | "tel" | "text" | "url";
|
|
382
273
|
name?: string;
|
|
383
274
|
onChange?: ((e: ChangeEvent) => void);
|
|
384
|
-
onContentReady?: ((e:
|
|
275
|
+
onContentReady?: ((e: TextBoxContentReadyEvent) => void);
|
|
385
276
|
onCopy?: ((e: CopyEvent) => void);
|
|
386
277
|
onCut?: ((e: CutEvent) => void);
|
|
387
|
-
onDisposing?: ((e:
|
|
278
|
+
onDisposing?: ((e: TextBoxDisposingEvent) => void);
|
|
388
279
|
onEnterKey?: ((e: EnterKeyEvent) => void);
|
|
389
280
|
onFocusIn?: ((e: FocusInEvent) => void);
|
|
390
281
|
onFocusOut?: ((e: FocusOutEvent) => void);
|
|
391
|
-
onInitialized?: ((e:
|
|
282
|
+
onInitialized?: ((e: TextBoxInitializedEvent) => void);
|
|
392
283
|
onInput?: ((e: InputEvent) => void);
|
|
393
284
|
onKeyDown?: ((e: KeyDownEvent) => void);
|
|
394
285
|
onKeyUp?: ((e: KeyUpEvent) => void);
|
|
395
|
-
onOptionChanged?: ((e:
|
|
286
|
+
onOptionChanged?: ((e: TextBoxOptionChangedEvent) => void);
|
|
396
287
|
onPaste?: ((e: PasteEvent) => void);
|
|
397
288
|
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
398
289
|
placeholder?: string;
|
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:
|
|
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 { ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/
|
|
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";
|
|
@@ -27,9 +27,16 @@ declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
|
27
27
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
28
28
|
};
|
|
29
29
|
declare type ILookupOptionsNarrowedEvents = {
|
|
30
|
+
onClosed?: ((e: ClosedEvent) => void);
|
|
30
31
|
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
31
32
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
32
33
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
34
|
+
onItemClick?: ((e: ItemClickEvent) => void);
|
|
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);
|
|
33
40
|
};
|
|
34
41
|
declare type ILookupOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ILookupOptionsNarrowedEvents> & IHtmlOptions & {
|
|
35
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:
|
|
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:
|
|
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,12 +16,27 @@ export { ExplicitTypes } from "devextreme/ui/menu";
|
|
|
16
16
|
import dxMenu, { Properties } from "devextreme/ui/menu";
|
|
17
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
18
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxMenuItem } from "devextreme/ui/menu";
|
|
19
|
+
import type { dxMenuItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemRenderedEvent, SubmenuHiddenEvent, SubmenuHidingEvent, SubmenuShowingEvent, SubmenuShownEvent } from "devextreme/ui/menu";
|
|
20
20
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
21
21
|
import type { PositionConfig } from "devextreme/animation/position";
|
|
22
22
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
23
23
|
import type { template } from "devextreme/core/templates/template";
|
|
24
|
-
declare type
|
|
24
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
25
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
26
|
+
};
|
|
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);
|
|
38
|
+
};
|
|
39
|
+
declare type IMenuOptions<TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TKey>, IMenuOptionsNarrowedEvents<TKey>> & IHtmlOptions & {
|
|
25
40
|
dataSource?: Properties<TKey>["dataSource"];
|
|
26
41
|
itemRender?: (...params: any) => React.ReactNode;
|
|
27
42
|
itemComponent?: React.ComponentType<any>;
|
package/menu.js
CHANGED
package/multi-view.d.ts
CHANGED
package/multi-view.js
CHANGED
package/number-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,12 +16,8 @@ import dxNumberBox, { Properties } from "devextreme/ui/number_box";
|
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
18
|
import type { ChangeEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/number_box";
|
|
19
|
-
import type { dxButtonOptions } from "devextreme/ui/button";
|
|
20
|
-
import type { event, EventInfo } from "devextreme/events/index";
|
|
21
|
-
import type { Component } from "devextreme/core/component";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
|
|
22
20
|
import type { template } from "devextreme/core/templates/template";
|
|
23
|
-
import type dxButton from "devextreme/ui/button";
|
|
24
|
-
import type DOMComponent from "devextreme/core/dom_component";
|
|
25
21
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
26
22
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
27
23
|
};
|
|
@@ -101,28 +97,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
101
97
|
hint?: string;
|
|
102
98
|
hoverStateEnabled?: boolean;
|
|
103
99
|
icon?: string;
|
|
104
|
-
onClick?: ((e:
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
validationGroup: Record<string, any>;
|
|
110
|
-
}) => void);
|
|
111
|
-
onContentReady?: ((e: EventInfo<any>) => void);
|
|
112
|
-
onDisposing?: ((e: EventInfo<any>) => void);
|
|
113
|
-
onInitialized?: ((e: {
|
|
114
|
-
component: Component<any>;
|
|
115
|
-
element: any;
|
|
116
|
-
}) => void);
|
|
117
|
-
onOptionChanged?: ((e: {
|
|
118
|
-
component: DOMComponent;
|
|
119
|
-
element: any;
|
|
120
|
-
fullName: string;
|
|
121
|
-
model: any;
|
|
122
|
-
name: string;
|
|
123
|
-
previousValue: any;
|
|
124
|
-
value: any;
|
|
125
|
-
}) => void);
|
|
100
|
+
onClick?: ((e: ClickEvent) => void);
|
|
101
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
102
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
103
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
104
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
126
105
|
rtlEnabled?: boolean;
|
|
127
106
|
stylingMode?: "text" | "outlined" | "contained";
|
|
128
107
|
tabIndex?: number;
|
package/number-box.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"author": "Developer Express Inc.",
|
|
3
3
|
"name": "devextreme-react",
|
|
4
|
-
"version": "23.1.
|
|
4
|
+
"version": "23.1.3",
|
|
5
5
|
"description": "DevExtreme React UI and Visualization Components",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
],
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"devextreme": "~23.1.
|
|
25
|
+
"devextreme": "~23.1.3",
|
|
26
26
|
"react": "^16.2.0 || ^17.0.0 || ^18.0.0",
|
|
27
27
|
"react-dom": "^16.2.0 || ^17.0.0 || ^18.0.0"
|
|
28
28
|
},
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"@types/react": "^16.14.28",
|
|
35
35
|
"@types/react-dom": "^16.9.16",
|
|
36
36
|
"del": "^3.0.0",
|
|
37
|
-
"devextreme": "~23.1.
|
|
38
|
-
"devextreme-react-generator": "^4.1.
|
|
37
|
+
"devextreme": "~23.1.3",
|
|
38
|
+
"devextreme-react-generator": "^4.1.2",
|
|
39
39
|
"gulp": "^4.0.2",
|
|
40
40
|
"jest": "^25.0.0",
|
|
41
41
|
"react": "~18.0.0",
|