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/responsive-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,10 +16,22 @@ export { ExplicitTypes } from "devextreme/ui/responsive_box";
|
|
|
16
16
|
import dxResponsiveBox, { Properties } from "devextreme/ui/responsive_box";
|
|
17
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
18
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxResponsiveBoxItem } from "devextreme/ui/responsive_box";
|
|
19
|
+
import type { dxResponsiveBoxItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/responsive_box";
|
|
20
20
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
21
21
|
import type { template } from "devextreme/core/templates/template";
|
|
22
|
-
declare type
|
|
22
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
23
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
24
|
+
};
|
|
25
|
+
declare type IResponsiveBoxOptionsNarrowedEvents<TItem = any, TKey = any> = {
|
|
26
|
+
onContentReady?: ((e: ContentReadyEvent<TItem, TKey>) => void);
|
|
27
|
+
onDisposing?: ((e: DisposingEvent<TItem, TKey>) => void);
|
|
28
|
+
onInitialized?: ((e: InitializedEvent<TItem, TKey>) => void);
|
|
29
|
+
onItemClick?: ((e: ItemClickEvent<TItem, TKey>) => void);
|
|
30
|
+
onItemContextMenu?: ((e: ItemContextMenuEvent<TItem, TKey>) => void);
|
|
31
|
+
onItemHold?: ((e: ItemHoldEvent<TItem, TKey>) => void);
|
|
32
|
+
onItemRendered?: ((e: ItemRenderedEvent<TItem, TKey>) => void);
|
|
33
|
+
};
|
|
34
|
+
declare type IResponsiveBoxOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IResponsiveBoxOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
23
35
|
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
24
36
|
itemRender?: (...params: any) => React.ReactNode;
|
|
25
37
|
itemComponent?: React.ComponentType<any>;
|
package/responsive-box.js
CHANGED
package/sankey.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,11 +15,25 @@
|
|
|
15
15
|
import dxSankey, { Properties } from "devextreme/viz/sankey";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { dxSankeyNode } from "devextreme/viz/sankey";
|
|
18
|
+
import type { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, LinkClickEvent, NodeClickEvent, dxSankeyNode } from "devextreme/viz/sankey";
|
|
19
19
|
import type { template } from "devextreme/core/templates/template";
|
|
20
20
|
import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
|
|
21
21
|
import type * as LocalizationTypes from "devextreme/localization";
|
|
22
|
-
declare type
|
|
22
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
23
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
24
|
+
};
|
|
25
|
+
declare type ISankeyOptionsNarrowedEvents = {
|
|
26
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
27
|
+
onDrawn?: ((e: DrawnEvent) => void);
|
|
28
|
+
onExported?: ((e: ExportedEvent) => void);
|
|
29
|
+
onExporting?: ((e: ExportingEvent) => void);
|
|
30
|
+
onFileSaving?: ((e: FileSavingEvent) => void);
|
|
31
|
+
onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
|
|
32
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
33
|
+
onLinkClick?: ((e: LinkClickEvent) => void);
|
|
34
|
+
onNodeClick?: ((e: NodeClickEvent) => void);
|
|
35
|
+
};
|
|
36
|
+
declare type ISankeyOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ISankeyOptionsNarrowedEvents> & IHtmlOptions & {
|
|
23
37
|
defaultLoadingIndicator?: Record<string, any>;
|
|
24
38
|
onLoadingIndicatorChange?: (value: Record<string, any>) => void;
|
|
25
39
|
}>;
|
package/sankey.js
CHANGED
package/scheduler.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,15 +15,37 @@
|
|
|
15
15
|
import dxScheduler, { Properties } from "devextreme/ui/scheduler";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
+
import type { AppointmentAddedEvent, AppointmentAddingEvent, AppointmentClickEvent, AppointmentContextMenuEvent, AppointmentDblClickEvent, AppointmentDeletedEvent, AppointmentDeletingEvent, AppointmentFormOpeningEvent, AppointmentRenderedEvent, AppointmentTooltipShowingEvent, AppointmentUpdatedEvent, AppointmentUpdatingEvent, CellClickEvent, CellContextMenuEvent, ContentReadyEvent, DisposingEvent, InitializedEvent, dxSchedulerScrolling } from "devextreme/ui/scheduler";
|
|
18
19
|
import type { event } from "devextreme/events/index";
|
|
19
20
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
20
21
|
import type { Store } from "devextreme/data/abstract_store";
|
|
21
22
|
import type { template } from "devextreme/core/templates/template";
|
|
22
|
-
import type { dxSchedulerScrolling } from "devextreme/ui/scheduler";
|
|
23
23
|
import type dxSortable from "devextreme/ui/sortable";
|
|
24
24
|
import type dxDraggable from "devextreme/ui/draggable";
|
|
25
25
|
import type DataSource from "devextreme/data/data_source";
|
|
26
|
-
declare type
|
|
26
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
27
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
28
|
+
};
|
|
29
|
+
declare type ISchedulerOptionsNarrowedEvents = {
|
|
30
|
+
onAppointmentAdded?: ((e: AppointmentAddedEvent) => void);
|
|
31
|
+
onAppointmentAdding?: ((e: AppointmentAddingEvent) => void);
|
|
32
|
+
onAppointmentClick?: ((e: AppointmentClickEvent) => void);
|
|
33
|
+
onAppointmentContextMenu?: ((e: AppointmentContextMenuEvent) => void);
|
|
34
|
+
onAppointmentDblClick?: ((e: AppointmentDblClickEvent) => void);
|
|
35
|
+
onAppointmentDeleted?: ((e: AppointmentDeletedEvent) => void);
|
|
36
|
+
onAppointmentDeleting?: ((e: AppointmentDeletingEvent) => void);
|
|
37
|
+
onAppointmentFormOpening?: ((e: AppointmentFormOpeningEvent) => void);
|
|
38
|
+
onAppointmentRendered?: ((e: AppointmentRenderedEvent) => void);
|
|
39
|
+
onAppointmentTooltipShowing?: ((e: AppointmentTooltipShowingEvent) => void);
|
|
40
|
+
onAppointmentUpdated?: ((e: AppointmentUpdatedEvent) => void);
|
|
41
|
+
onAppointmentUpdating?: ((e: AppointmentUpdatingEvent) => void);
|
|
42
|
+
onCellClick?: ((e: CellClickEvent) => void);
|
|
43
|
+
onCellContextMenu?: ((e: CellContextMenuEvent) => void);
|
|
44
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
45
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
46
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
47
|
+
};
|
|
48
|
+
declare type ISchedulerOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ISchedulerOptionsNarrowedEvents> & IHtmlOptions & {
|
|
27
49
|
appointmentCollectorRender?: (...params: any) => React.ReactNode;
|
|
28
50
|
appointmentCollectorComponent?: React.ComponentType<any>;
|
|
29
51
|
appointmentCollectorKeyFn?: (data: any) => string;
|
|
@@ -165,7 +187,7 @@ declare type IResourceProps = React.PropsWithChildren<{
|
|
|
165
187
|
allowMultiple?: boolean;
|
|
166
188
|
colorExpr?: string;
|
|
167
189
|
dataSource?: Array<any> | DataSource | DataSourceOptions | null | Store | string;
|
|
168
|
-
displayExpr?: ((resource:
|
|
190
|
+
displayExpr?: ((resource: any) => string) | string;
|
|
169
191
|
fieldExpr?: string;
|
|
170
192
|
label?: string;
|
|
171
193
|
useColorAsDefault?: boolean;
|
|
@@ -198,9 +220,9 @@ declare type IViewProps = React.PropsWithChildren<{
|
|
|
198
220
|
targetedAppointmentData: Record<string, any>;
|
|
199
221
|
}, itemIndex: number, contentElement: any) => string) | template;
|
|
200
222
|
cellDuration?: number;
|
|
201
|
-
dataCellTemplate?: ((itemData:
|
|
202
|
-
dateCellTemplate?: ((itemData:
|
|
203
|
-
dropDownAppointmentTemplate?: ((itemData:
|
|
223
|
+
dataCellTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string) | template;
|
|
224
|
+
dateCellTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string) | template;
|
|
225
|
+
dropDownAppointmentTemplate?: ((itemData: any, itemIndex: number, contentElement: any) => string) | template;
|
|
204
226
|
endDayHour?: number;
|
|
205
227
|
firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
206
228
|
groupByDate?: boolean;
|
|
@@ -209,11 +231,11 @@ declare type IViewProps = React.PropsWithChildren<{
|
|
|
209
231
|
intervalCount?: number;
|
|
210
232
|
maxAppointmentsPerCell?: number | "auto" | "unlimited";
|
|
211
233
|
name?: string;
|
|
212
|
-
resourceCellTemplate?: ((itemData:
|
|
234
|
+
resourceCellTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string) | template;
|
|
213
235
|
scrolling?: dxSchedulerScrolling;
|
|
214
236
|
startDate?: any | number | string;
|
|
215
237
|
startDayHour?: number;
|
|
216
|
-
timeCellTemplate?: ((itemData:
|
|
238
|
+
timeCellTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string) | template;
|
|
217
239
|
type?: "agenda" | "day" | "month" | "timelineDay" | "timelineMonth" | "timelineWeek" | "timelineWorkWeek" | "week" | "workWeek";
|
|
218
240
|
appointmentCollectorRender?: (...params: any) => React.ReactNode;
|
|
219
241
|
appointmentCollectorComponent?: React.ComponentType<any>;
|
package/scheduler.js
CHANGED
package/scroll-view.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,13 +14,15 @@
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
15
|
import dxScrollView, { Properties } from "devextreme/ui/scroll_view";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
|
-
import type { DisposingEvent, InitializedEvent, ScrollEvent, UpdatedEvent } from "devextreme/ui/scroll_view";
|
|
17
|
+
import type { DisposingEvent, InitializedEvent, PullDownEvent, ReachBottomEvent, ScrollEvent, UpdatedEvent } from "devextreme/ui/scroll_view";
|
|
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 IScrollViewOptionsNarrowedEvents = {
|
|
22
22
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
23
23
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
24
|
+
onPullDown?: ((e: PullDownEvent) => void);
|
|
25
|
+
onReachBottom?: ((e: ReachBottomEvent) => void);
|
|
24
26
|
onScroll?: ((e: ScrollEvent) => void);
|
|
25
27
|
onUpdated?: ((e: UpdatedEvent) => void);
|
|
26
28
|
};
|
package/scroll-view.js
CHANGED
package/select-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
|
*
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
import dxSelectBox, { Properties } from "devextreme/ui/select_box";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/select_box";
|
|
18
|
+
import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CopyEvent, CustomItemCreatingEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/select_box";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, 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
|
};
|
|
@@ -36,6 +35,7 @@ declare type ISelectBoxOptionsNarrowedEvents = {
|
|
|
36
35
|
onClosed?: ((e: ClosedEvent) => void);
|
|
37
36
|
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
38
37
|
onCopy?: ((e: CopyEvent) => void);
|
|
38
|
+
onCustomItemCreating?: ((e: CustomItemCreatingEvent) => void);
|
|
39
39
|
onCut?: ((e: CutEvent) => void);
|
|
40
40
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
41
41
|
onEnterKey?: ((e: EnterKeyEvent) => void);
|
|
@@ -384,28 +384,11 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
384
384
|
hint?: string;
|
|
385
385
|
hoverStateEnabled?: boolean;
|
|
386
386
|
icon?: string;
|
|
387
|
-
onClick?: ((e:
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
validationGroup: Record<string, any>;
|
|
393
|
-
}) => void);
|
|
394
|
-
onContentReady?: ((e: EventInfo<any>) => void);
|
|
395
|
-
onDisposing?: ((e: EventInfo<any>) => void);
|
|
396
|
-
onInitialized?: ((e: {
|
|
397
|
-
component: Component<any>;
|
|
398
|
-
element: any;
|
|
399
|
-
}) => void);
|
|
400
|
-
onOptionChanged?: ((e: {
|
|
401
|
-
component: DOMComponent;
|
|
402
|
-
element: any;
|
|
403
|
-
fullName: string;
|
|
404
|
-
model: any;
|
|
405
|
-
name: string;
|
|
406
|
-
previousValue: any;
|
|
407
|
-
value: any;
|
|
408
|
-
}) => void);
|
|
387
|
+
onClick?: ((e: ClickEvent) => void);
|
|
388
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
389
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
390
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
391
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
409
392
|
rtlEnabled?: boolean;
|
|
410
393
|
stylingMode?: "text" | "outlined" | "contained";
|
|
411
394
|
tabIndex?: number;
|
package/select-box.js
CHANGED
package/slider.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,18 @@
|
|
|
15
15
|
import dxSlider, { Properties } from "devextreme/ui/slider";
|
|
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 } from "devextreme/ui/slider";
|
|
18
19
|
import type * as LocalizationTypes from "devextreme/localization";
|
|
19
|
-
declare type
|
|
20
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
21
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
22
|
+
};
|
|
23
|
+
declare type ISliderOptionsNarrowedEvents = {
|
|
24
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
25
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
26
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
27
|
+
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
28
|
+
};
|
|
29
|
+
declare type ISliderOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ISliderOptionsNarrowedEvents> & IHtmlOptions & {
|
|
20
30
|
defaultValue?: number;
|
|
21
31
|
onValueChange?: (value: number) => void;
|
|
22
32
|
}>;
|
package/slider.js
CHANGED
package/sortable.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,22 @@
|
|
|
15
15
|
import dxSortable, { Properties } from "devextreme/ui/sortable";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
|
|
18
|
+
import type { AddEvent, DisposingEvent, DragChangeEvent, DragEndEvent, DragMoveEvent, DragStartEvent, InitializedEvent, RemoveEvent, ReorderEvent } from "devextreme/ui/sortable";
|
|
19
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
20
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
21
|
+
};
|
|
22
|
+
declare type ISortableOptionsNarrowedEvents = {
|
|
23
|
+
onAdd?: ((e: AddEvent) => void);
|
|
24
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
25
|
+
onDragChange?: ((e: DragChangeEvent) => void);
|
|
26
|
+
onDragEnd?: ((e: DragEndEvent) => void);
|
|
27
|
+
onDragMove?: ((e: DragMoveEvent) => void);
|
|
28
|
+
onDragStart?: ((e: DragStartEvent) => void);
|
|
29
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
30
|
+
onRemove?: ((e: RemoveEvent) => void);
|
|
31
|
+
onReorder?: ((e: ReorderEvent) => void);
|
|
32
|
+
};
|
|
33
|
+
declare type ISortableOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ISortableOptionsNarrowedEvents> & IHtmlOptions & {
|
|
19
34
|
dragRender?: (...params: any) => React.ReactNode;
|
|
20
35
|
dragComponent?: React.ComponentType<any>;
|
|
21
36
|
dragKeyFn?: (data: any) => string;
|
package/sortable.js
CHANGED
package/sparkline.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,10 +15,25 @@
|
|
|
15
15
|
import dxSparkline, { Properties } from "devextreme/viz/sparkline";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
+
import type { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, TooltipHiddenEvent, TooltipShownEvent } from "devextreme/viz/sparkline";
|
|
18
19
|
import type { template } from "devextreme/core/templates/template";
|
|
19
20
|
import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
|
|
20
21
|
import type * as LocalizationTypes from "devextreme/localization";
|
|
21
|
-
declare type
|
|
22
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
23
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
24
|
+
};
|
|
25
|
+
declare type ISparklineOptionsNarrowedEvents = {
|
|
26
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
27
|
+
onDrawn?: ((e: DrawnEvent) => void);
|
|
28
|
+
onExported?: ((e: ExportedEvent) => void);
|
|
29
|
+
onExporting?: ((e: ExportingEvent) => void);
|
|
30
|
+
onFileSaving?: ((e: FileSavingEvent) => void);
|
|
31
|
+
onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
|
|
32
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
33
|
+
onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
|
|
34
|
+
onTooltipShown?: ((e: TooltipShownEvent) => void);
|
|
35
|
+
};
|
|
36
|
+
declare type ISparklineOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ISparklineOptionsNarrowedEvents> & IHtmlOptions & {}>;
|
|
22
37
|
declare class Sparkline extends BaseComponent<React.PropsWithChildren<ISparklineOptions>> {
|
|
23
38
|
get instance(): dxSparkline;
|
|
24
39
|
protected _WidgetClass: typeof dxSparkline;
|
|
@@ -106,9 +121,9 @@ declare type ITooltipProps = React.PropsWithChildren<{
|
|
|
106
121
|
};
|
|
107
122
|
color?: string;
|
|
108
123
|
container?: any | string;
|
|
109
|
-
contentTemplate?: ((pointsInfo:
|
|
124
|
+
contentTemplate?: ((pointsInfo: any, element: any) => string) | template;
|
|
110
125
|
cornerRadius?: number;
|
|
111
|
-
customizeTooltip?: ((pointsInfo:
|
|
126
|
+
customizeTooltip?: ((pointsInfo: any) => Record<string, any>);
|
|
112
127
|
enabled?: boolean;
|
|
113
128
|
font?: BaseWidgetTypes.Font;
|
|
114
129
|
format?: LocalizationTypes.Format;
|
package/sparkline.js
CHANGED
package/speed-dial-action.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,11 +14,13 @@
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
15
|
import dxSpeedDialAction, { Properties } from "devextreme/ui/speed_dial_action";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
|
-
import type { DisposingEvent, InitializedEvent } from "devextreme/ui/speed_dial_action";
|
|
17
|
+
import type { ClickEvent, ContentReadyEvent, DisposingEvent, InitializedEvent } from "devextreme/ui/speed_dial_action";
|
|
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 ISpeedDialActionOptionsNarrowedEvents = {
|
|
22
|
+
onClick?: ((e: ClickEvent) => void);
|
|
23
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
22
24
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
23
25
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
24
26
|
};
|
package/speed-dial-action.js
CHANGED
package/switch.d.ts
CHANGED
package/switch.js
CHANGED
package/tab-panel.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,7 +16,7 @@ export { ExplicitTypes } from "devextreme/ui/tab_panel";
|
|
|
16
16
|
import dxTabPanel, { Properties } from "devextreme/ui/tab_panel";
|
|
17
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
18
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxTabPanelItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/tab_panel";
|
|
19
|
+
import type { dxTabPanelItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, TitleClickEvent, TitleHoldEvent, TitleRenderedEvent } from "devextreme/ui/tab_panel";
|
|
20
20
|
import type { template } from "devextreme/core/templates/template";
|
|
21
21
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
22
22
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
@@ -30,6 +30,9 @@ declare type ITabPanelOptionsNarrowedEvents<TItem = any, TKey = any> = {
|
|
|
30
30
|
onItemContextMenu?: ((e: ItemContextMenuEvent<TItem, TKey>) => void);
|
|
31
31
|
onItemHold?: ((e: ItemHoldEvent<TItem, TKey>) => void);
|
|
32
32
|
onItemRendered?: ((e: ItemRenderedEvent<TItem, TKey>) => void);
|
|
33
|
+
onTitleClick?: ((e: TitleClickEvent<TItem, TKey>) => void);
|
|
34
|
+
onTitleHold?: ((e: TitleHoldEvent<TItem, TKey>) => void);
|
|
35
|
+
onTitleRendered?: ((e: TitleRenderedEvent<TItem, TKey>) => void);
|
|
33
36
|
};
|
|
34
37
|
declare type ITabPanelOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, ITabPanelOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
35
38
|
dataSource?: Properties<TItem, TKey>["dataSource"];
|
package/tab-panel.js
CHANGED
package/tabs.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,10 +16,22 @@ export { ExplicitTypes } from "devextreme/ui/tabs";
|
|
|
16
16
|
import dxTabs, { Properties } from "devextreme/ui/tabs";
|
|
17
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
18
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxTabsItem } from "devextreme/ui/tabs";
|
|
19
|
+
import type { dxTabsItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/tabs";
|
|
20
20
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
21
21
|
import type { template } from "devextreme/core/templates/template";
|
|
22
|
-
declare type
|
|
22
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
23
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
24
|
+
};
|
|
25
|
+
declare type ITabsOptionsNarrowedEvents<TItem = any, TKey = any> = {
|
|
26
|
+
onContentReady?: ((e: ContentReadyEvent<TItem, TKey>) => void);
|
|
27
|
+
onDisposing?: ((e: DisposingEvent<TItem, TKey>) => void);
|
|
28
|
+
onInitialized?: ((e: InitializedEvent<TItem, TKey>) => void);
|
|
29
|
+
onItemClick?: ((e: ItemClickEvent<TItem, TKey>) => void);
|
|
30
|
+
onItemContextMenu?: ((e: ItemContextMenuEvent<TItem, TKey>) => void);
|
|
31
|
+
onItemHold?: ((e: ItemHoldEvent<TItem, TKey>) => void);
|
|
32
|
+
onItemRendered?: ((e: ItemRenderedEvent<TItem, TKey>) => void);
|
|
33
|
+
};
|
|
34
|
+
declare type ITabsOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, ITabsOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
23
35
|
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
24
36
|
itemRender?: (...params: any) => React.ReactNode;
|
|
25
37
|
itemComponent?: React.ComponentType<any>;
|