devextreme-react 23.1.2-beta → 23.1.2-beta.2
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 +13 -15
- package/accordion.js +2 -2
- package/action-sheet.d.ts +18 -8
- package/action-sheet.js +2 -2
- package/autocomplete.d.ts +7 -18
- package/autocomplete.js +2 -2
- package/bar-gauge.d.ts +16 -4
- package/bar-gauge.js +2 -2
- package/box.d.ts +18 -8
- package/box.js +2 -2
- package/bullet.d.ts +2 -2
- package/bullet.js +2 -2
- package/button-group.d.ts +12 -3
- package/button-group.js +2 -2
- package/button.d.ts +12 -3
- package/button.js +2 -2
- package/calendar.d.ts +12 -3
- package/calendar.js +2 -2
- package/chart.d.ts +20 -4
- 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 +7 -18
- 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 +12 -14
- 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 +45 -41
- package/data-grid.js +2 -2
- package/date-box.d.ts +14 -44
- package/date-box.js +2 -2
- package/date-range-box.d.ts +14 -44
- package/date-range-box.js +3 -10
- package/defer-rendering.d.ts +2 -2
- package/defer-rendering.js +2 -2
- package/diagram.d.ts +2 -2
- package/diagram.js +2 -2
- package/draggable.d.ts +2 -2
- package/draggable.js +2 -2
- package/drawer.d.ts +2 -2
- package/drawer.js +2 -2
- package/drop-down-box.d.ts +7 -18
- package/drop-down-box.js +2 -2
- package/drop-down-button.d.ts +12 -3
- package/drop-down-button.js +2 -2
- package/file-manager.d.ts +12 -4
- package/file-manager.js +2 -2
- package/file-uploader.d.ts +2 -2
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +12 -4
- package/filter-builder.js +2 -2
- package/form.d.ts +23 -28
- package/form.js +2 -2
- package/funnel.d.ts +16 -4
- package/funnel.js +2 -2
- package/gallery.d.ts +13 -15
- package/gallery.js +2 -2
- package/gantt.d.ts +2 -2
- package/gantt.js +2 -2
- package/html-editor.d.ts +17 -8
- 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 +30 -46
- 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 +6 -3
- package/lookup.js +2 -2
- package/map.d.ts +2 -2
- package/map.js +2 -2
- package/menu.d.ts +17 -8
- package/menu.js +2 -2
- package/multi-view.d.ts +13 -15
- package/multi-view.js +2 -2
- package/number-box.d.ts +8 -21
- package/number-box.js +2 -2
- package/package.json +4 -4
- package/pie-chart.d.ts +20 -4
- package/pie-chart.js +2 -2
- package/pivot-grid-field-chooser.d.ts +12 -3
- package/pivot-grid-field-chooser.js +2 -2
- package/pivot-grid.d.ts +12 -3
- package/pivot-grid.js +2 -2
- package/polar-chart.d.ts +20 -4
- 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 +2 -2
- package/progress-bar.js +2 -2
- package/radio-group.d.ts +13 -3
- package/radio-group.js +2 -2
- package/range-selector.d.ts +16 -3
- package/range-selector.js +2 -2
- package/range-slider.d.ts +2 -2
- package/range-slider.js +2 -2
- package/recurrence-editor.d.ts +2 -2
- package/recurrence-editor.js +2 -2
- package/resizable.d.ts +2 -2
- package/resizable.js +2 -2
- package/responsive-box.d.ts +18 -8
- package/responsive-box.js +2 -2
- package/sankey.d.ts +16 -4
- package/sankey.js +2 -2
- package/scheduler.d.ts +12 -4
- package/scheduler.js +2 -2
- package/scroll-view.d.ts +2 -2
- package/scroll-view.js +2 -2
- package/select-box.d.ts +7 -18
- package/select-box.js +2 -2
- package/slider.d.ts +13 -3
- package/slider.js +2 -2
- package/sortable.d.ts +11 -3
- package/sortable.js +2 -2
- package/sparkline.d.ts +18 -3
- package/sparkline.js +2 -2
- package/speed-dial-action.d.ts +2 -2
- package/speed-dial-action.js +2 -2
- package/switch.d.ts +2 -2
- package/switch.js +2 -2
- package/tab-panel.d.ts +13 -15
- package/tab-panel.js +2 -2
- package/tabs.d.ts +18 -8
- package/tabs.js +2 -2
- package/tag-box.d.ts +7 -18
- 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 -21
- package/text-box.js +2 -2
- package/tile-view.d.ts +18 -8
- package/tile-view.js +2 -2
- package/toast.d.ts +2 -2
- package/toast.js +2 -2
- package/toolbar.d.ts +18 -8
- package/toolbar.js +2 -2
- package/tooltip.d.ts +2 -2
- package/tooltip.js +2 -2
- package/tree-list.d.ts +45 -41
- package/tree-list.js +2 -2
- package/tree-map.d.ts +16 -4
- package/tree-map.js +2 -2
- package/tree-view.d.ts +25 -32
- package/tree-view.js +2 -2
- package/validation-group.d.ts +11 -3
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +10 -12
- package/validation-summary.js +2 -2
- package/validator.d.ts +2 -2
- package/validator.js +2 -2
- package/vector-map.d.ts +16 -4
- package/vector-map.js +2 -2
package/file-uploader.js
CHANGED
package/filter-builder.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,12 +15,20 @@
|
|
|
15
15
|
import dxFilterBuilder, { Properties } from "devextreme/ui/filter_builder";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { dxFilterBuilderField } from "devextreme/ui/filter_builder";
|
|
18
|
+
import type { ContentReadyEvent, DisposingEvent, InitializedEvent, dxFilterBuilderField } from "devextreme/ui/filter_builder";
|
|
19
19
|
import type { template } from "devextreme/core/templates/template";
|
|
20
20
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
21
21
|
import type { Store } from "devextreme/data/abstract_store";
|
|
22
22
|
import type * as LocalizationTypes from "devextreme/localization";
|
|
23
|
-
declare type
|
|
23
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
24
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
25
|
+
};
|
|
26
|
+
declare type IFilterBuilderOptionsNarrowedEvents = {
|
|
27
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
28
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
29
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
30
|
+
};
|
|
31
|
+
declare type IFilterBuilderOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFilterBuilderOptionsNarrowedEvents> & IHtmlOptions & {
|
|
24
32
|
defaultValue?: Array<any> | (() => any) | string;
|
|
25
33
|
onValueChange?: (value: Array<any> | (() => any) | string) => void;
|
|
26
34
|
}>;
|
package/filter-builder.js
CHANGED
package/form.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,21 +15,27 @@
|
|
|
15
15
|
import dxForm, { Properties } from "devextreme/ui/form";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type {
|
|
19
|
-
import type {
|
|
20
|
-
import type {
|
|
18
|
+
import type { ContentReadyEvent, DisposingEvent, InitializedEvent, dxFormButtonItem, dxFormEmptyItem, dxFormGroupItem, dxFormSimpleItem, dxFormTabbedItem } from "devextreme/ui/form";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent } from "devextreme/ui/button";
|
|
20
|
+
import type { ContentReadyEvent as TabPanelContentReadyEvent, DisposingEvent as TabPanelDisposingEvent, InitializedEvent as TabPanelInitializedEvent, OptionChangedEvent as TabPanelOptionChangedEvent, dxTabPanelOptions, dxTabPanelItem, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, SelectionChangedEvent } from "devextreme/ui/tab_panel";
|
|
21
|
+
import type { event } from "devextreme/events/index";
|
|
21
22
|
import type { template } from "devextreme/core/templates/template";
|
|
22
|
-
import type { dxFormButtonItem, dxFormEmptyItem, dxFormGroupItem, dxFormSimpleItem, dxFormTabbedItem } from "devextreme/ui/form";
|
|
23
23
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
24
|
-
import type { dxTabPanelOptions, dxTabPanelItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent, OptionChangedEvent, SelectionChangedEvent } from "devextreme/ui/tab_panel";
|
|
25
24
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
26
25
|
import type { Store } from "devextreme/data/abstract_store";
|
|
27
26
|
import type dxButton from "devextreme/ui/button";
|
|
28
|
-
import type DOMComponent from "devextreme/core/dom_component";
|
|
29
27
|
import type DataSource from "devextreme/data/data_source";
|
|
30
28
|
import type dxTabPanel from "devextreme/ui/tab_panel";
|
|
31
29
|
import type * as CommonTypes from "devextreme/common";
|
|
32
|
-
declare type
|
|
30
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
31
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
32
|
+
};
|
|
33
|
+
declare type IFormOptionsNarrowedEvents = {
|
|
34
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
35
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
36
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
37
|
+
};
|
|
38
|
+
declare type IFormOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFormOptionsNarrowedEvents> & IHtmlOptions & {
|
|
33
39
|
defaultFormData?: any;
|
|
34
40
|
onFormDataChange?: (value: any) => void;
|
|
35
41
|
}>;
|
|
@@ -135,21 +141,10 @@ declare type IButtonOptionsProps = React.PropsWithChildren<{
|
|
|
135
141
|
model: any;
|
|
136
142
|
validationGroup: Record<string, any>;
|
|
137
143
|
}) => void);
|
|
138
|
-
onContentReady?: ((e:
|
|
139
|
-
onDisposing?: ((e:
|
|
140
|
-
onInitialized?: ((e:
|
|
141
|
-
|
|
142
|
-
element: any;
|
|
143
|
-
}) => void);
|
|
144
|
-
onOptionChanged?: ((e: {
|
|
145
|
-
component: DOMComponent;
|
|
146
|
-
element: any;
|
|
147
|
-
fullName: string;
|
|
148
|
-
model: any;
|
|
149
|
-
name: string;
|
|
150
|
-
previousValue: any;
|
|
151
|
-
value: any;
|
|
152
|
-
}) => void);
|
|
144
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
145
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
146
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
147
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
153
148
|
rtlEnabled?: boolean;
|
|
154
149
|
stylingMode?: "text" | "outlined" | "contained";
|
|
155
150
|
tabIndex?: number;
|
|
@@ -668,14 +663,14 @@ declare type ITabPanelOptionsProps = React.PropsWithChildren<{
|
|
|
668
663
|
itemTitleTemplate?: ((itemData: Record<string, any>, itemIndex: number, itemElement: any) => string) | template;
|
|
669
664
|
loop?: boolean;
|
|
670
665
|
noDataText?: string;
|
|
671
|
-
onContentReady?: ((e:
|
|
672
|
-
onDisposing?: ((e:
|
|
673
|
-
onInitialized?: ((e:
|
|
666
|
+
onContentReady?: ((e: TabPanelContentReadyEvent) => void);
|
|
667
|
+
onDisposing?: ((e: TabPanelDisposingEvent) => void);
|
|
668
|
+
onInitialized?: ((e: TabPanelInitializedEvent) => void);
|
|
674
669
|
onItemClick?: ((e: ItemClickEvent) => void);
|
|
675
670
|
onItemContextMenu?: ((e: ItemContextMenuEvent) => void);
|
|
676
671
|
onItemHold?: ((e: ItemHoldEvent) => void);
|
|
677
672
|
onItemRendered?: ((e: ItemRenderedEvent) => void);
|
|
678
|
-
onOptionChanged?: ((e:
|
|
673
|
+
onOptionChanged?: ((e: TabPanelOptionChangedEvent) => void);
|
|
679
674
|
onSelectionChanged?: ((e: SelectionChangedEvent) => void);
|
|
680
675
|
onTitleClick?: ((e: {
|
|
681
676
|
component: dxTabPanel;
|
package/form.js
CHANGED
package/funnel.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,11 +15,23 @@
|
|
|
15
15
|
import dxFunnel, { Properties } from "devextreme/viz/funnel";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { dxFunnelItem, FunnelLegendItem } from "devextreme/viz/funnel";
|
|
18
|
+
import type { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, dxFunnelItem, FunnelLegendItem } from "devextreme/viz/funnel";
|
|
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 IFunnelOptionsNarrowedEvents = {
|
|
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
|
+
};
|
|
34
|
+
declare type IFunnelOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFunnelOptionsNarrowedEvents> & IHtmlOptions & {
|
|
23
35
|
defaultLoadingIndicator?: Record<string, any>;
|
|
24
36
|
onLoadingIndicatorChange?: (value: Record<string, any>) => void;
|
|
25
37
|
}>;
|
package/funnel.js
CHANGED
package/gallery.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
-
export { ExplicitTypes } from "devextreme/ui/gallery";
|
|
16
15
|
import dxGallery, { Properties } from "devextreme/ui/gallery";
|
|
17
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
17
|
import NestedOption from "./core/nested-option";
|
|
@@ -22,17 +21,16 @@ import type { template } from "devextreme/core/templates/template";
|
|
|
22
21
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
23
22
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
24
23
|
};
|
|
25
|
-
declare type IGalleryOptionsNarrowedEvents
|
|
26
|
-
onContentReady?: ((e: ContentReadyEvent
|
|
27
|
-
onDisposing?: ((e: DisposingEvent
|
|
28
|
-
onInitialized?: ((e: InitializedEvent
|
|
29
|
-
onItemClick?: ((e: ItemClickEvent
|
|
30
|
-
onItemContextMenu?: ((e: ItemContextMenuEvent
|
|
31
|
-
onItemHold?: ((e: ItemHoldEvent
|
|
32
|
-
onItemRendered?: ((e: ItemRenderedEvent
|
|
24
|
+
declare type IGalleryOptionsNarrowedEvents = {
|
|
25
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
26
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
27
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
28
|
+
onItemClick?: ((e: ItemClickEvent) => void);
|
|
29
|
+
onItemContextMenu?: ((e: ItemContextMenuEvent) => void);
|
|
30
|
+
onItemHold?: ((e: ItemHoldEvent) => void);
|
|
31
|
+
onItemRendered?: ((e: ItemRenderedEvent) => void);
|
|
33
32
|
};
|
|
34
|
-
declare type IGalleryOptions
|
|
35
|
-
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
33
|
+
declare type IGalleryOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IGalleryOptionsNarrowedEvents> & IHtmlOptions & {
|
|
36
34
|
itemRender?: (...params: any) => React.ReactNode;
|
|
37
35
|
itemComponent?: React.ComponentType<any>;
|
|
38
36
|
itemKeyFn?: (data: any) => string;
|
|
@@ -43,8 +41,8 @@ declare type IGalleryOptions<TItem = any, TKey = any> = React.PropsWithChildren<
|
|
|
43
41
|
onSelectedIndexChange?: (value: number) => void;
|
|
44
42
|
onSelectedItemChange?: (value: any) => void;
|
|
45
43
|
}>;
|
|
46
|
-
declare class Gallery
|
|
47
|
-
get instance(): dxGallery
|
|
44
|
+
declare class Gallery extends BaseComponent<React.PropsWithChildren<IGalleryOptions>> {
|
|
45
|
+
get instance(): dxGallery;
|
|
48
46
|
protected _WidgetClass: typeof dxGallery;
|
|
49
47
|
protected subscribableOptions: string[];
|
|
50
48
|
protected independentEvents: string[];
|
package/gallery.js
CHANGED
package/gantt.d.ts
CHANGED
package/gantt.js
CHANGED
package/html-editor.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,9 +15,9 @@
|
|
|
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,
|
|
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";
|
|
19
20
|
import type { event } from "devextreme/events/index";
|
|
20
|
-
import type { dxHtmlEditorImageUploadTabItem, dxHtmlEditorTableContextMenuItem, dxHtmlEditorToolbarItem } from "devextreme/ui/html_editor";
|
|
21
21
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
22
22
|
import type { template } from "devextreme/core/templates/template";
|
|
23
23
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
@@ -25,7 +25,16 @@ import type { Store } from "devextreme/data/abstract_store";
|
|
|
25
25
|
import type UploadInfo from "devextreme/file_management/upload_info";
|
|
26
26
|
import type dxFileUploader from "devextreme/ui/file_uploader";
|
|
27
27
|
import type DataSource from "devextreme/data/data_source";
|
|
28
|
-
declare type
|
|
28
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
29
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
30
|
+
};
|
|
31
|
+
declare type IHtmlEditorOptionsNarrowedEvents = {
|
|
32
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
33
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
34
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
35
|
+
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
36
|
+
};
|
|
37
|
+
declare type IHtmlEditorOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IHtmlEditorOptionsNarrowedEvents> & IHtmlOptions & {
|
|
29
38
|
defaultValue?: any;
|
|
30
39
|
onValueChange?: (value: any) => void;
|
|
31
40
|
}>;
|
|
@@ -103,8 +112,8 @@ declare type IFileUploaderOptionsProps = React.PropsWithChildren<{
|
|
|
103
112
|
request: any;
|
|
104
113
|
uploadInfo: UploadInfo;
|
|
105
114
|
}) => void);
|
|
106
|
-
onContentReady?: ((e:
|
|
107
|
-
onDisposing?: ((e:
|
|
115
|
+
onContentReady?: ((e: FileUploaderContentReadyEvent) => void);
|
|
116
|
+
onDisposing?: ((e: FileUploaderDisposingEvent) => void);
|
|
108
117
|
onDropZoneEnter?: ((e: {
|
|
109
118
|
component: dxFileUploader;
|
|
110
119
|
dropZoneElement: any;
|
|
@@ -124,7 +133,7 @@ declare type IFileUploaderOptionsProps = React.PropsWithChildren<{
|
|
|
124
133
|
element: any;
|
|
125
134
|
model: any;
|
|
126
135
|
}) => void);
|
|
127
|
-
onInitialized?: ((e:
|
|
136
|
+
onInitialized?: ((e: FileUploaderInitializedEvent) => void);
|
|
128
137
|
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
129
138
|
onProgress?: ((e: {
|
|
130
139
|
bytesLoaded: number;
|
package/html-editor.js
CHANGED
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/linear-gauge.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,11 +15,26 @@
|
|
|
15
15
|
import dxLinearGauge, { Properties } from "devextreme/viz/linear_gauge";
|
|
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/linear_gauge";
|
|
18
19
|
import type { ChartsColor } from "devextreme/common/charts";
|
|
19
20
|
import type { template } from "devextreme/core/templates/template";
|
|
20
21
|
import type * as BaseWidgetTypes from "devextreme/viz/core/base_widget";
|
|
21
22
|
import type * as LocalizationTypes from "devextreme/localization";
|
|
22
|
-
declare type
|
|
23
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
24
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
25
|
+
};
|
|
26
|
+
declare type ILinearGaugeOptionsNarrowedEvents = {
|
|
27
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
28
|
+
onDrawn?: ((e: DrawnEvent) => void);
|
|
29
|
+
onExported?: ((e: ExportedEvent) => void);
|
|
30
|
+
onExporting?: ((e: ExportingEvent) => void);
|
|
31
|
+
onFileSaving?: ((e: FileSavingEvent) => void);
|
|
32
|
+
onIncidentOccurred?: ((e: IncidentOccurredEvent) => void);
|
|
33
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
34
|
+
onTooltipHidden?: ((e: TooltipHiddenEvent) => void);
|
|
35
|
+
onTooltipShown?: ((e: TooltipShownEvent) => void);
|
|
36
|
+
};
|
|
37
|
+
declare type ILinearGaugeOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ILinearGaugeOptionsNarrowedEvents> & IHtmlOptions & {
|
|
23
38
|
defaultLoadingIndicator?: Record<string, any>;
|
|
24
39
|
defaultSubvalues?: Array<number>;
|
|
25
40
|
defaultValue?: number;
|
package/linear-gauge.js
CHANGED
package/list.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-beta
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta.2
|
|
4
|
+
* Build date: Fri May 26 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,24 +12,30 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
-
export { ExplicitTypes } from "devextreme/ui/list";
|
|
16
15
|
import dxList, { Properties } from "devextreme/ui/list";
|
|
17
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
17
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxListItem } from "devextreme/ui/list";
|
|
20
|
-
import type { dxButtonOptions } from "devextreme/ui/button";
|
|
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";
|
|
20
|
+
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";
|
|
21
22
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
22
23
|
import type { template } from "devextreme/core/templates/template";
|
|
23
|
-
import type { event
|
|
24
|
-
import type { Component } from "devextreme/core/component";
|
|
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 { ChangeEvent, ContentReadyEvent, CopyEvent, CutEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, KeyDownEvent, KeyUpEvent, OptionChangedEvent, PasteEvent, ValueChangedEvent } from "devextreme/ui/text_box";
|
|
27
26
|
import type dxSortable from "devextreme/ui/sortable";
|
|
28
27
|
import type dxDraggable from "devextreme/ui/draggable";
|
|
29
|
-
import type DOMComponent from "devextreme/core/dom_component";
|
|
30
28
|
import type dxButton from "devextreme/ui/button";
|
|
31
|
-
declare type
|
|
32
|
-
|
|
29
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
30
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
31
|
+
};
|
|
32
|
+
declare type IListOptionsNarrowedEvents = {
|
|
33
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
34
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
35
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
36
|
+
onItemRendered?: ((e: ItemRenderedEvent) => void);
|
|
37
|
+
};
|
|
38
|
+
declare type IListOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IListOptionsNarrowedEvents> & IHtmlOptions & {
|
|
33
39
|
groupRender?: (...params: any) => React.ReactNode;
|
|
34
40
|
groupComponent?: React.ComponentType<any>;
|
|
35
41
|
groupKeyFn?: (data: any) => string;
|
|
@@ -43,8 +49,8 @@ declare type IListOptions<TItem = any, TKey = any> = React.PropsWithChildren<Pro
|
|
|
43
49
|
onSelectedItemKeysChange?: (value: Array<any>) => void;
|
|
44
50
|
onSelectedItemsChange?: (value: Array<any>) => void;
|
|
45
51
|
}>;
|
|
46
|
-
declare class List
|
|
47
|
-
get instance(): dxList
|
|
52
|
+
declare class List extends BaseComponent<React.PropsWithChildren<IListOptions>> {
|
|
53
|
+
get instance(): dxList;
|
|
48
54
|
protected _WidgetClass: typeof dxList;
|
|
49
55
|
protected subscribableOptions: string[];
|
|
50
56
|
protected independentEvents: string[];
|
|
@@ -165,7 +171,7 @@ declare type IItemDraggingProps = React.PropsWithChildren<{
|
|
|
165
171
|
toData: any;
|
|
166
172
|
toIndex: number;
|
|
167
173
|
}) => void);
|
|
168
|
-
onDisposing?: ((e:
|
|
174
|
+
onDisposing?: ((e: SortableDisposingEvent) => void);
|
|
169
175
|
onDragChange?: ((e: {
|
|
170
176
|
cancel: boolean;
|
|
171
177
|
component: dxSortable;
|
|
@@ -225,19 +231,8 @@ declare type IItemDraggingProps = React.PropsWithChildren<{
|
|
|
225
231
|
itemElement: any;
|
|
226
232
|
model: any;
|
|
227
233
|
}) => void);
|
|
228
|
-
onInitialized?: ((e:
|
|
229
|
-
|
|
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);
|
|
234
|
+
onInitialized?: ((e: SortableInitializedEvent) => void);
|
|
235
|
+
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
241
236
|
onRemove?: ((e: {
|
|
242
237
|
component: dxSortable;
|
|
243
238
|
element: any;
|
|
@@ -317,21 +312,10 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
317
312
|
model: any;
|
|
318
313
|
validationGroup: Record<string, any>;
|
|
319
314
|
}) => void);
|
|
320
|
-
onContentReady?: ((e:
|
|
321
|
-
onDisposing?: ((e:
|
|
322
|
-
onInitialized?: ((e:
|
|
323
|
-
|
|
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);
|
|
315
|
+
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
316
|
+
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
317
|
+
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
|
318
|
+
onOptionChanged?: ((e: ButtonOptionChangedEvent) => void);
|
|
335
319
|
rtlEnabled?: boolean;
|
|
336
320
|
stylingMode?: "text" | "outlined" | "contained";
|
|
337
321
|
tabIndex?: number;
|
|
@@ -381,18 +365,18 @@ declare type ISearchEditorOptionsProps = React.PropsWithChildren<{
|
|
|
381
365
|
mode?: "email" | "password" | "search" | "tel" | "text" | "url";
|
|
382
366
|
name?: string;
|
|
383
367
|
onChange?: ((e: ChangeEvent) => void);
|
|
384
|
-
onContentReady?: ((e:
|
|
368
|
+
onContentReady?: ((e: TextBoxContentReadyEvent) => void);
|
|
385
369
|
onCopy?: ((e: CopyEvent) => void);
|
|
386
370
|
onCut?: ((e: CutEvent) => void);
|
|
387
|
-
onDisposing?: ((e:
|
|
371
|
+
onDisposing?: ((e: TextBoxDisposingEvent) => void);
|
|
388
372
|
onEnterKey?: ((e: EnterKeyEvent) => void);
|
|
389
373
|
onFocusIn?: ((e: FocusInEvent) => void);
|
|
390
374
|
onFocusOut?: ((e: FocusOutEvent) => void);
|
|
391
|
-
onInitialized?: ((e:
|
|
375
|
+
onInitialized?: ((e: TextBoxInitializedEvent) => void);
|
|
392
376
|
onInput?: ((e: InputEvent) => void);
|
|
393
377
|
onKeyDown?: ((e: KeyDownEvent) => void);
|
|
394
378
|
onKeyUp?: ((e: KeyUpEvent) => void);
|
|
395
|
-
onOptionChanged?: ((e:
|
|
379
|
+
onOptionChanged?: ((e: TextBoxOptionChangedEvent) => void);
|
|
396
380
|
onPaste?: ((e: PasteEvent) => void);
|
|
397
381
|
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
398
382
|
placeholder?: string;
|
package/list.js
CHANGED
package/load-indicator.d.ts
CHANGED
package/load-indicator.js
CHANGED
package/load-panel.d.ts
CHANGED