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/common/grids.js
CHANGED
package/common/index.d.ts
CHANGED
package/common/index.js
CHANGED
package/context-menu.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/context_menu";
|
|
16
15
|
import dxContextMenu, { Properties } from "devextreme/ui/context_menu";
|
|
17
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
17
|
import NestedOption from "./core/nested-option";
|
|
@@ -24,16 +23,15 @@ import type { template } from "devextreme/core/templates/template";
|
|
|
24
23
|
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
25
24
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
26
25
|
};
|
|
27
|
-
declare type IContextMenuOptionsNarrowedEvents
|
|
28
|
-
onContentReady?: ((e: ContentReadyEvent
|
|
29
|
-
onDisposing?: ((e: DisposingEvent
|
|
30
|
-
onInitialized?: ((e: InitializedEvent
|
|
31
|
-
onItemClick?: ((e: ItemClickEvent
|
|
32
|
-
onItemContextMenu?: ((e: ItemContextMenuEvent
|
|
33
|
-
onItemRendered?: ((e: ItemRenderedEvent
|
|
26
|
+
declare type IContextMenuOptionsNarrowedEvents = {
|
|
27
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
28
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
29
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
30
|
+
onItemClick?: ((e: ItemClickEvent) => void);
|
|
31
|
+
onItemContextMenu?: ((e: ItemContextMenuEvent) => void);
|
|
32
|
+
onItemRendered?: ((e: ItemRenderedEvent) => void);
|
|
34
33
|
};
|
|
35
|
-
declare type IContextMenuOptions
|
|
36
|
-
dataSource?: Properties<TKey>["dataSource"];
|
|
34
|
+
declare type IContextMenuOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IContextMenuOptionsNarrowedEvents> & IHtmlOptions & {
|
|
37
35
|
itemRender?: (...params: any) => React.ReactNode;
|
|
38
36
|
itemComponent?: React.ComponentType<any>;
|
|
39
37
|
itemKeyFn?: (data: any) => string;
|
|
@@ -44,8 +42,8 @@ declare type IContextMenuOptions<TKey = any> = React.PropsWithChildren<ReplaceFi
|
|
|
44
42
|
onSelectedItemChange?: (value: any) => void;
|
|
45
43
|
onVisibleChange?: (value: boolean) => void;
|
|
46
44
|
}>;
|
|
47
|
-
declare class ContextMenu
|
|
48
|
-
get instance(): dxContextMenu
|
|
45
|
+
declare class ContextMenu extends BaseComponent<React.PropsWithChildren<IContextMenuOptions>> {
|
|
46
|
+
get instance(): dxContextMenu;
|
|
49
47
|
protected _WidgetClass: typeof dxContextMenu;
|
|
50
48
|
protected subscribableOptions: string[];
|
|
51
49
|
protected independentEvents: string[];
|
package/context-menu.js
CHANGED
package/core/component-base.d.ts
CHANGED
package/core/component-base.js
CHANGED
package/core/component.d.ts
CHANGED
package/core/component.js
CHANGED
package/core/config.d.ts
CHANGED
package/core/config.js
CHANGED
package/core/dx-template.d.ts
CHANGED
package/core/dx-template.js
CHANGED
package/core/helpers.d.ts
CHANGED
package/core/helpers.js
CHANGED
package/core/nested-option.d.ts
CHANGED
package/core/nested-option.js
CHANGED
package/core/options-manager.js
CHANGED
package/core/template-wrapper.js
CHANGED
package/core/template.d.ts
CHANGED
package/core/template.js
CHANGED
package/core/templates-store.js
CHANGED
package/core/widget-config.d.ts
CHANGED