devextreme-react 23.1.2-beta.2 → 23.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion.d.ts +17 -14
- package/accordion.js +2 -2
- package/action-sheet.d.ts +17 -14
- package/action-sheet.js +2 -2
- package/autocomplete.d.ts +4 -11
- package/autocomplete.js +2 -2
- package/bar-gauge.d.ts +8 -4
- package/bar-gauge.js +2 -2
- package/box.d.ts +15 -13
- package/box.js +2 -2
- package/bullet.d.ts +4 -4
- package/bullet.js +2 -2
- package/button-group.d.ts +4 -3
- package/button-group.js +2 -2
- package/button.d.ts +4 -3
- package/button.js +2 -2
- package/calendar.d.ts +2 -2
- package/calendar.js +2 -2
- package/chart.d.ts +36 -14
- package/chart.js +2 -2
- package/check-box.d.ts +2 -2
- package/check-box.js +2 -2
- package/circular-gauge.d.ts +2 -2
- package/circular-gauge.js +2 -2
- package/color-box.d.ts +4 -11
- package/color-box.js +2 -2
- package/common/charts.d.ts +2 -2
- package/common/charts.js +2 -2
- package/common/grids.d.ts +2 -2
- package/common/grids.js +2 -2
- package/common/index.d.ts +2 -2
- package/common/index.js +2 -2
- package/context-menu.d.ts +20 -13
- package/context-menu.js +2 -2
- package/core/component-base.d.ts +2 -2
- package/core/component-base.js +2 -2
- package/core/component.d.ts +2 -2
- package/core/component.js +2 -2
- package/core/config.d.ts +2 -2
- package/core/config.js +2 -2
- package/core/configuration/comparer.d.ts +2 -2
- package/core/configuration/comparer.js +2 -2
- package/core/configuration/config-node.d.ts +2 -2
- package/core/configuration/config-node.js +2 -2
- package/core/configuration/react/element.d.ts +2 -2
- package/core/configuration/react/element.js +2 -2
- package/core/configuration/react/templates.d.ts +2 -2
- package/core/configuration/react/templates.js +2 -2
- package/core/configuration/react/tree.d.ts +2 -2
- package/core/configuration/react/tree.js +2 -2
- package/core/configuration/tree.d.ts +2 -2
- package/core/configuration/tree.js +2 -2
- package/core/configuration/utils.d.ts +2 -2
- package/core/configuration/utils.js +2 -2
- package/core/dx-template.d.ts +2 -2
- package/core/dx-template.js +2 -2
- package/core/extension-component.d.ts +2 -2
- package/core/extension-component.js +2 -2
- package/core/helpers.d.ts +2 -2
- package/core/helpers.js +2 -2
- package/core/nested-option.d.ts +2 -2
- package/core/nested-option.js +2 -2
- package/core/options-manager.d.ts +2 -2
- package/core/options-manager.js +2 -2
- package/core/template-wrapper.d.ts +2 -2
- package/core/template-wrapper.js +2 -2
- package/core/template.d.ts +2 -2
- package/core/template.js +2 -2
- package/core/templates-manager.d.ts +2 -2
- package/core/templates-manager.js +2 -2
- package/core/templates-renderer.d.ts +2 -2
- package/core/templates-renderer.js +2 -2
- package/core/templates-store.d.ts +2 -2
- package/core/templates-store.js +2 -2
- package/core/widget-config.d.ts +2 -2
- package/core/widget-config.js +2 -2
- package/data-grid.d.ts +70 -105
- package/data-grid.js +2 -2
- package/date-box.d.ts +4 -11
- package/date-box.js +2 -2
- package/date-range-box.d.ts +10 -11
- package/date-range-box.js +5 -3
- package/defer-rendering.d.ts +2 -2
- package/defer-rendering.js +2 -2
- package/diagram.d.ts +8 -3
- package/diagram.js +2 -2
- package/draggable.d.ts +6 -3
- package/draggable.js +2 -2
- package/drawer.d.ts +2 -2
- package/drawer.js +2 -2
- package/drop-down-box.d.ts +4 -11
- package/drop-down-box.js +2 -2
- package/drop-down-button.d.ts +5 -3
- package/drop-down-button.js +2 -2
- package/file-manager.d.ts +22 -4
- package/file-manager.js +2 -2
- package/file-uploader.d.ts +13 -3
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +10 -7
- package/filter-builder.js +2 -2
- package/form.d.ts +18 -46
- package/form.js +2 -2
- package/funnel.d.ts +8 -4
- package/funnel.js +2 -2
- package/gallery.d.ts +15 -13
- package/gallery.js +2 -2
- package/gantt.d.ts +34 -8
- package/gantt.js +2 -2
- package/html-editor.d.ts +19 -91
- package/html-editor.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/linear-gauge.d.ts +2 -2
- package/linear-gauge.js +2 -2
- package/list.d.ts +36 -129
- package/list.js +2 -2
- package/load-indicator.d.ts +2 -2
- package/load-indicator.js +2 -2
- package/load-panel.d.ts +2 -2
- package/load-panel.js +2 -2
- package/lookup.d.ts +7 -3
- package/lookup.js +2 -2
- package/map.d.ts +9 -3
- package/map.js +2 -2
- package/menu.d.ts +19 -13
- package/menu.js +2 -2
- package/multi-view.d.ts +15 -13
- package/multi-view.js +2 -2
- package/number-box.d.ts +4 -12
- package/number-box.js +2 -2
- package/package.json +5 -5
- package/pie-chart.d.ts +12 -9
- package/pie-chart.js +2 -2
- package/pivot-grid-field-chooser.d.ts +4 -3
- package/pivot-grid-field-chooser.js +2 -2
- package/pivot-grid.d.ts +8 -4
- package/pivot-grid.js +2 -2
- package/polar-chart.d.ts +16 -9
- package/polar-chart.js +2 -2
- package/popover.d.ts +2 -2
- package/popover.js +2 -2
- package/popup.d.ts +2 -2
- package/popup.js +2 -2
- package/progress-bar.d.ts +4 -3
- package/progress-bar.js +2 -2
- package/radio-group.d.ts +2 -2
- package/radio-group.js +2 -2
- package/range-selector.d.ts +13 -8
- package/range-selector.js +2 -2
- package/range-slider.d.ts +4 -3
- package/range-slider.js +2 -2
- package/recurrence-editor.d.ts +2 -2
- package/recurrence-editor.js +2 -2
- package/resizable.d.ts +6 -3
- package/resizable.js +2 -2
- package/responsive-box.d.ts +15 -13
- package/responsive-box.js +2 -2
- package/sankey.d.ts +5 -3
- package/sankey.js +2 -2
- package/scheduler.d.ts +23 -9
- package/scheduler.js +2 -2
- package/scroll-view.d.ts +5 -3
- package/scroll-view.js +2 -2
- package/select-box.d.ts +6 -12
- package/select-box.js +2 -2
- package/slider.d.ts +2 -2
- package/slider.js +2 -2
- package/sortable.d.ts +10 -3
- package/sortable.js +2 -2
- package/sparkline.d.ts +4 -4
- package/sparkline.js +2 -2
- package/speed-dial-action.d.ts +5 -3
- package/speed-dial-action.js +2 -2
- package/switch.d.ts +2 -2
- package/switch.js +2 -2
- package/tab-panel.d.ts +19 -14
- package/tab-panel.js +2 -2
- package/tabs.d.ts +15 -13
- package/tabs.js +2 -2
- package/tag-box.d.ts +7 -12
- package/tag-box.js +2 -2
- package/text-area.d.ts +2 -2
- package/text-area.js +2 -2
- package/text-box.d.ts +4 -12
- package/text-box.js +2 -2
- package/tile-view.d.ts +15 -13
- package/tile-view.js +2 -2
- package/toast.d.ts +2 -2
- package/toast.js +2 -2
- package/toolbar.d.ts +15 -13
- package/toolbar.js +2 -2
- package/tooltip.d.ts +2 -2
- package/tooltip.js +2 -2
- package/tree-list.d.ts +69 -104
- package/tree-list.js +2 -2
- package/tree-map.d.ts +7 -3
- package/tree-map.js +2 -2
- package/tree-view.d.ts +21 -20
- package/tree-view.js +2 -2
- package/validation-group.d.ts +2 -2
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +12 -10
- package/validation-summary.js +2 -2
- package/validator.d.ts +2 -2
- package/validator.js +2 -2
- package/vector-map.d.ts +9 -4
- package/vector-map.js +2 -2
package/tabs.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
+
export { ExplicitTypes } from "devextreme/ui/tabs";
|
|
15
16
|
import dxTabs, { Properties } from "devextreme/ui/tabs";
|
|
16
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
18
|
import NestedOption from "./core/nested-option";
|
|
@@ -21,16 +22,17 @@ import type { template } from "devextreme/core/templates/template";
|
|
|
21
22
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
22
23
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
23
24
|
};
|
|
24
|
-
declare type ITabsOptionsNarrowedEvents = {
|
|
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);
|
|
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);
|
|
32
33
|
};
|
|
33
|
-
declare type ITabsOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITabsOptionsNarrowedEvents
|
|
34
|
+
declare type ITabsOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, ITabsOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
35
|
+
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
34
36
|
itemRender?: (...params: any) => React.ReactNode;
|
|
35
37
|
itemComponent?: React.ComponentType<any>;
|
|
36
38
|
itemKeyFn?: (data: any) => string;
|
|
@@ -45,8 +47,8 @@ declare type ITabsOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties
|
|
|
45
47
|
onSelectedItemKeysChange?: (value: Array<any>) => void;
|
|
46
48
|
onSelectedItemsChange?: (value: Array<any>) => void;
|
|
47
49
|
}>;
|
|
48
|
-
declare class Tabs extends BaseComponent<React.PropsWithChildren<ITabsOptions
|
|
49
|
-
get instance(): dxTabs
|
|
50
|
+
declare class Tabs<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildren<ITabsOptions<TItem, TKey>>> {
|
|
51
|
+
get instance(): dxTabs<TItem, TKey>;
|
|
50
52
|
protected _WidgetClass: typeof dxTabs;
|
|
51
53
|
protected subscribableOptions: string[];
|
|
52
54
|
protected independentEvents: string[];
|
package/tabs.js
CHANGED
package/tag-box.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
import dxTagBox, { Properties } from "devextreme/ui/tag_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, CustomItemCreatingEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, OpenedEvent, ValueChangedEvent } from "devextreme/ui/tag_box";
|
|
19
|
-
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent } from "devextreme/ui/button";
|
|
18
|
+
import type { ChangeEvent, ClosedEvent, ContentReadyEvent, CustomItemCreatingEvent, DisposingEvent, EnterKeyEvent, FocusInEvent, FocusOutEvent, InitializedEvent, InputEvent, ItemClickEvent, KeyDownEvent, KeyUpEvent, MultiTagPreparingEvent, OpenedEvent, SelectAllValueChangedEvent, ValueChangedEvent } from "devextreme/ui/tag_box";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
|
|
20
20
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
21
21
|
import type { event, EventInfo } from "devextreme/events/index";
|
|
22
22
|
import type { template } from "devextreme/core/templates/template";
|
|
@@ -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
|
};
|
|
@@ -45,7 +44,9 @@ declare type ITagBoxOptionsNarrowedEvents = {
|
|
|
45
44
|
onItemClick?: ((e: ItemClickEvent) => void);
|
|
46
45
|
onKeyDown?: ((e: KeyDownEvent) => void);
|
|
47
46
|
onKeyUp?: ((e: KeyUpEvent) => void);
|
|
47
|
+
onMultiTagPreparing?: ((e: MultiTagPreparingEvent) => void);
|
|
48
48
|
onOpened?: ((e: OpenedEvent) => void);
|
|
49
|
+
onSelectAllValueChanged?: ((e: SelectAllValueChangedEvent) => void);
|
|
49
50
|
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
50
51
|
};
|
|
51
52
|
declare type ITagBoxOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITagBoxOptionsNarrowedEvents> & IHtmlOptions & {
|
|
@@ -385,13 +386,7 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
385
386
|
hint?: string;
|
|
386
387
|
hoverStateEnabled?: boolean;
|
|
387
388
|
icon?: string;
|
|
388
|
-
onClick?: ((e:
|
|
389
|
-
component: dxButton;
|
|
390
|
-
element: any;
|
|
391
|
-
event: event;
|
|
392
|
-
model: any;
|
|
393
|
-
validationGroup: Record<string, any>;
|
|
394
|
-
}) => void);
|
|
389
|
+
onClick?: ((e: ClickEvent) => void);
|
|
395
390
|
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
396
391
|
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
397
392
|
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
package/tag-box.js
CHANGED
package/text-area.d.ts
CHANGED
package/text-area.js
CHANGED
package/text-box.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -16,10 +16,8 @@ import dxTextBox, { Properties } from "devextreme/ui/text_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/text_box";
|
|
19
|
-
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, OptionChangedEvent } from "devextreme/ui/button";
|
|
20
|
-
import type { event } from "devextreme/events/index";
|
|
19
|
+
import type { ContentReadyEvent as ButtonContentReadyEvent, DisposingEvent as ButtonDisposingEvent, InitializedEvent as ButtonInitializedEvent, dxButtonOptions, ClickEvent, OptionChangedEvent } from "devextreme/ui/button";
|
|
21
20
|
import type { template } from "devextreme/core/templates/template";
|
|
22
|
-
import type dxButton from "devextreme/ui/button";
|
|
23
21
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
24
22
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
25
23
|
};
|
|
@@ -84,13 +82,7 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
84
82
|
hint?: string;
|
|
85
83
|
hoverStateEnabled?: boolean;
|
|
86
84
|
icon?: string;
|
|
87
|
-
onClick?: ((e:
|
|
88
|
-
component: dxButton;
|
|
89
|
-
element: any;
|
|
90
|
-
event: event;
|
|
91
|
-
model: any;
|
|
92
|
-
validationGroup: Record<string, any>;
|
|
93
|
-
}) => void);
|
|
85
|
+
onClick?: ((e: ClickEvent) => void);
|
|
94
86
|
onContentReady?: ((e: ButtonContentReadyEvent) => void);
|
|
95
87
|
onDisposing?: ((e: ButtonDisposingEvent) => void);
|
|
96
88
|
onInitialized?: ((e: ButtonInitializedEvent) => void);
|
package/text-box.js
CHANGED
package/tile-view.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
+
export { ExplicitTypes } from "devextreme/ui/tile_view";
|
|
15
16
|
import dxTileView, { Properties } from "devextreme/ui/tile_view";
|
|
16
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
18
|
import NestedOption from "./core/nested-option";
|
|
@@ -21,24 +22,25 @@ import type { template } from "devextreme/core/templates/template";
|
|
|
21
22
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
22
23
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
23
24
|
};
|
|
24
|
-
declare type ITileViewOptionsNarrowedEvents = {
|
|
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);
|
|
25
|
+
declare type ITileViewOptionsNarrowedEvents<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);
|
|
32
33
|
};
|
|
33
|
-
declare type ITileViewOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ITileViewOptionsNarrowedEvents
|
|
34
|
+
declare type ITileViewOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, ITileViewOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
35
|
+
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
34
36
|
itemRender?: (...params: any) => React.ReactNode;
|
|
35
37
|
itemComponent?: React.ComponentType<any>;
|
|
36
38
|
itemKeyFn?: (data: any) => string;
|
|
37
39
|
defaultItems?: Array<any | dxTileViewItem | string>;
|
|
38
40
|
onItemsChange?: (value: Array<any | dxTileViewItem | string>) => void;
|
|
39
41
|
}>;
|
|
40
|
-
declare class TileView extends BaseComponent<React.PropsWithChildren<ITileViewOptions
|
|
41
|
-
get instance(): dxTileView
|
|
42
|
+
declare class TileView<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildren<ITileViewOptions<TItem, TKey>>> {
|
|
43
|
+
get instance(): dxTileView<TItem, TKey>;
|
|
42
44
|
protected _WidgetClass: typeof dxTileView;
|
|
43
45
|
protected subscribableOptions: string[];
|
|
44
46
|
protected independentEvents: string[];
|
package/tile-view.js
CHANGED
package/toast.d.ts
CHANGED
package/toast.js
CHANGED
package/toolbar.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date: Fri
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
/// <reference types="react" />
|
|
15
|
+
export { ExplicitTypes } from "devextreme/ui/toolbar";
|
|
15
16
|
import dxToolbar, { Properties } from "devextreme/ui/toolbar";
|
|
16
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
18
|
import NestedOption from "./core/nested-option";
|
|
@@ -21,16 +22,17 @@ import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collectio
|
|
|
21
22
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
22
23
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
23
24
|
};
|
|
24
|
-
declare type IToolbarOptionsNarrowedEvents = {
|
|
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);
|
|
25
|
+
declare type IToolbarOptionsNarrowedEvents<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);
|
|
32
33
|
};
|
|
33
|
-
declare type IToolbarOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IToolbarOptionsNarrowedEvents
|
|
34
|
+
declare type IToolbarOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IToolbarOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
35
|
+
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
34
36
|
itemRender?: (...params: any) => React.ReactNode;
|
|
35
37
|
itemComponent?: React.ComponentType<any>;
|
|
36
38
|
itemKeyFn?: (data: any) => string;
|
|
@@ -40,8 +42,8 @@ declare type IToolbarOptions = React.PropsWithChildren<ReplaceFieldTypes<Propert
|
|
|
40
42
|
defaultItems?: Array<any | dxToolbarItem | string>;
|
|
41
43
|
onItemsChange?: (value: Array<any | dxToolbarItem | string>) => void;
|
|
42
44
|
}>;
|
|
43
|
-
declare class Toolbar extends BaseComponent<React.PropsWithChildren<IToolbarOptions
|
|
44
|
-
get instance(): dxToolbar
|
|
45
|
+
declare class Toolbar<TItem = any, TKey = any> extends BaseComponent<React.PropsWithChildren<IToolbarOptions<TItem, TKey>>> {
|
|
46
|
+
get instance(): dxToolbar<TItem, TKey>;
|
|
45
47
|
protected _WidgetClass: typeof dxToolbar;
|
|
46
48
|
protected subscribableOptions: string[];
|
|
47
49
|
protected independentEvents: string[];
|
package/toolbar.js
CHANGED
package/tooltip.d.ts
CHANGED