devextreme-react 23.1.2-alpha-23114-0308 → 23.1.2-beta
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 +16 -4
- package/accordion.js +2 -2
- package/action-sheet.d.ts +2 -4
- package/action-sheet.js +2 -2
- package/autocomplete.d.ts +36 -35
- package/autocomplete.js +2 -2
- package/bar-gauge.d.ts +18 -19
- package/bar-gauge.js +2 -2
- package/box.d.ts +2 -2
- package/box.js +2 -2
- package/bullet.d.ts +22 -7
- package/bullet.js +2 -2
- package/button-group.d.ts +3 -4
- package/button-group.js +2 -2
- package/button.d.ts +2 -2
- package/button.js +2 -2
- package/calendar.d.ts +2 -2
- package/calendar.js +2 -2
- package/chart.d.ts +175 -175
- package/chart.js +2 -2
- package/check-box.d.ts +13 -3
- package/check-box.js +2 -2
- package/circular-gauge.d.ts +31 -17
- package/circular-gauge.js +2 -2
- package/color-box.d.ts +34 -35
- 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 +21 -11
- 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 +103 -143
- package/data-grid.js +4 -2
- package/date-box.d.ts +39 -52
- package/date-box.js +2 -2
- package/date-range-box.d.ts +39 -52
- package/date-range-box.js +15 -15
- package/defer-rendering.d.ts +17 -8
- package/defer-rendering.js +2 -2
- package/diagram.d.ts +27 -19
- package/diagram.js +2 -2
- package/draggable.d.ts +11 -3
- package/draggable.js +2 -2
- package/drawer.d.ts +11 -3
- package/drawer.js +2 -2
- package/drop-down-box.d.ts +34 -35
- package/drop-down-box.js +2 -2
- package/drop-down-button.d.ts +10 -24
- package/drop-down-button.js +2 -2
- package/file-manager.d.ts +3 -60
- package/file-manager.js +2 -41
- package/file-uploader.d.ts +12 -3
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +8 -8
- package/filter-builder.js +3 -2
- package/form.d.ts +57 -169
- package/form.js +3 -5
- package/funnel.d.ts +31 -31
- package/funnel.js +2 -2
- package/gallery.d.ts +16 -5
- package/gallery.js +2 -2
- package/gantt.d.ts +25 -68
- package/gantt.js +5 -19
- package/html-editor.d.ts +13 -42
- package/html-editor.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/linear-gauge.d.ts +16 -17
- package/linear-gauge.js +2 -2
- package/list.d.ts +28 -75
- package/list.js +2 -7
- package/load-indicator.d.ts +12 -3
- package/load-indicator.js +2 -2
- package/load-panel.d.ts +21 -8
- package/load-panel.js +2 -2
- package/lookup.d.ts +32 -89
- package/lookup.js +2 -2
- package/map.d.ts +20 -12
- package/map.js +2 -2
- package/menu.d.ts +10 -11
- package/menu.js +2 -2
- package/multi-view.d.ts +16 -5
- package/multi-view.js +2 -2
- package/number-box.d.ts +26 -17
- package/number-box.js +2 -2
- package/package.json +4 -4
- package/pie-chart.d.ts +58 -58
- package/pie-chart.js +2 -2
- package/pivot-grid-field-chooser.d.ts +3 -3
- package/pivot-grid-field-chooser.js +2 -2
- package/pivot-grid.d.ts +6 -6
- package/pivot-grid.js +2 -2
- package/polar-chart.d.ts +134 -136
- package/polar-chart.js +2 -2
- package/popover.d.ts +22 -8
- package/popover.js +2 -2
- package/popup.d.ts +7 -7
- package/popup.js +2 -2
- package/progress-bar.d.ts +13 -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 +104 -104
- package/range-selector.js +2 -2
- package/range-slider.d.ts +12 -3
- package/range-slider.js +2 -2
- package/recurrence-editor.d.ts +15 -3
- package/recurrence-editor.js +2 -2
- package/resizable.d.ts +11 -3
- package/resizable.js +2 -2
- package/responsive-box.d.ts +3 -3
- package/responsive-box.js +2 -2
- package/sankey.d.ts +22 -22
- package/sankey.js +2 -2
- package/scheduler.d.ts +12 -12
- package/scheduler.js +2 -2
- package/scroll-view.d.ts +13 -3
- package/scroll-view.js +2 -2
- package/select-box.d.ts +36 -35
- package/select-box.js +2 -2
- package/slider.d.ts +2 -2
- package/slider.js +2 -2
- package/sortable.d.ts +2 -2
- package/sortable.js +2 -2
- package/sparkline.d.ts +6 -6
- package/sparkline.js +2 -2
- package/speed-dial-action.d.ts +11 -3
- package/speed-dial-action.js +2 -2
- package/switch.d.ts +13 -3
- package/switch.js +2 -2
- package/tab-panel.d.ts +16 -5
- package/tab-panel.js +2 -2
- package/tabs.d.ts +2 -2
- package/tabs.js +2 -2
- package/tag-box.d.ts +34 -35
- package/tag-box.js +2 -2
- package/text-area.d.ts +23 -3
- package/text-area.js +2 -2
- package/text-box.d.ts +26 -17
- package/text-box.js +2 -2
- package/tile-view.d.ts +2 -2
- package/tile-view.js +2 -2
- package/toast.d.ts +21 -8
- package/toast.js +2 -2
- package/toolbar.d.ts +2 -2
- package/toolbar.js +2 -2
- package/tooltip.d.ts +21 -8
- package/tooltip.js +2 -2
- package/tree-list.d.ts +93 -129
- package/tree-list.js +4 -2
- package/tree-map.d.ts +23 -23
- package/tree-map.js +2 -2
- package/tree-view.d.ts +24 -53
- package/tree-view.js +2 -2
- package/validation-group.d.ts +2 -2
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +13 -3
- package/validation-summary.js +2 -2
- package/validator.d.ts +19 -19
- package/validator.js +2 -2
- package/vector-map.d.ts +30 -47
- package/vector-map.js +3 -13
package/accordion.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta
|
|
4
|
+
* Build date: Wed May 17 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/accordion";
|
|
|
16
16
|
import dxAccordion, { Properties } from "devextreme/ui/accordion";
|
|
17
17
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
18
18
|
import NestedOption from "./core/nested-option";
|
|
19
|
-
import type { dxAccordionItem } from "devextreme/ui/accordion";
|
|
19
|
+
import type { dxAccordionItem, ContentReadyEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemContextMenuEvent, ItemHoldEvent, ItemRenderedEvent } from "devextreme/ui/accordion";
|
|
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 IAccordionOptionsNarrowedEvents<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 IAccordionOptions<TItem = any, TKey = any> = React.PropsWithChildren<ReplaceFieldTypes<Properties<TItem, TKey>, IAccordionOptionsNarrowedEvents<TItem, TKey>> & IHtmlOptions & {
|
|
23
35
|
dataSource?: Properties<TItem, TKey>["dataSource"];
|
|
24
36
|
itemRender?: (...params: any) => React.ReactNode;
|
|
25
37
|
itemComponent?: React.ComponentType<any>;
|
package/accordion.js
CHANGED
package/action-sheet.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta
|
|
4
|
+
* Build date: Wed May 17 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -54,14 +54,12 @@ declare class ActionSheet<TItem = any, TKey = any> extends BaseComponent<React.P
|
|
|
54
54
|
}
|
|
55
55
|
declare type IItemProps = React.PropsWithChildren<{
|
|
56
56
|
disabled?: boolean;
|
|
57
|
-
html?: string;
|
|
58
57
|
icon?: string;
|
|
59
58
|
onClick?: ((e: NativeEventInfo<any>) => void);
|
|
60
59
|
stylingMode?: "text" | "outlined" | "contained";
|
|
61
60
|
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
|
|
62
61
|
text?: string;
|
|
63
62
|
type?: "back" | "danger" | "default" | "normal" | "success";
|
|
64
|
-
visible?: boolean;
|
|
65
63
|
render?: (...params: any) => React.ReactNode;
|
|
66
64
|
component?: React.ComponentType<any>;
|
|
67
65
|
keyFn?: (data: any) => string;
|
package/action-sheet.js
CHANGED
package/autocomplete.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta
|
|
4
|
+
* Build date: Wed May 17 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
import dxAutocomplete, { Properties } from "devextreme/ui/autocomplete";
|
|
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/autocomplete";
|
|
18
19
|
import type { AnimationConfig, AnimationState } from "devextreme/animation/fx";
|
|
19
20
|
import type { dxButtonOptions } from "devextreme/ui/button";
|
|
20
21
|
import type { event, EventInfo } from "devextreme/events/index";
|
|
@@ -23,12 +24,33 @@ import type { Component } from "devextreme/core/component";
|
|
|
23
24
|
import type { PositionConfig } from "devextreme/animation/position";
|
|
24
25
|
import type { dxPopupToolbarItem } from "devextreme/ui/popup";
|
|
25
26
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
26
|
-
import type Widget from "devextreme/ui/widget/ui.widget";
|
|
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
30
|
import type dxButton from "devextreme/ui/button";
|
|
31
|
-
declare type
|
|
31
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
32
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
33
|
+
};
|
|
34
|
+
declare type IAutocompleteOptionsNarrowedEvents = {
|
|
35
|
+
onChange?: ((e: ChangeEvent) => void);
|
|
36
|
+
onClosed?: ((e: ClosedEvent) => void);
|
|
37
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
38
|
+
onCopy?: ((e: CopyEvent) => void);
|
|
39
|
+
onCut?: ((e: CutEvent) => void);
|
|
40
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
41
|
+
onEnterKey?: ((e: EnterKeyEvent) => void);
|
|
42
|
+
onFocusIn?: ((e: FocusInEvent) => void);
|
|
43
|
+
onFocusOut?: ((e: FocusOutEvent) => void);
|
|
44
|
+
onInitialized?: ((e: InitializedEvent) => void);
|
|
45
|
+
onInput?: ((e: InputEvent) => void);
|
|
46
|
+
onItemClick?: ((e: ItemClickEvent) => void);
|
|
47
|
+
onKeyDown?: ((e: KeyDownEvent) => void);
|
|
48
|
+
onKeyUp?: ((e: KeyUpEvent) => void);
|
|
49
|
+
onOpened?: ((e: OpenedEvent) => void);
|
|
50
|
+
onPaste?: ((e: PasteEvent) => void);
|
|
51
|
+
onValueChanged?: ((e: ValueChangedEvent) => void);
|
|
52
|
+
};
|
|
53
|
+
declare type IAutocompleteOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IAutocompleteOptionsNarrowedEvents> & IHtmlOptions & {
|
|
32
54
|
dropDownButtonRender?: (...params: any) => React.ReactNode;
|
|
33
55
|
dropDownButtonComponent?: React.ComponentType<any>;
|
|
34
56
|
dropDownButtonKeyFn?: (data: any) => string;
|
|
@@ -128,12 +150,11 @@ declare class Collision extends NestedOption<ICollisionProps> {
|
|
|
128
150
|
}
|
|
129
151
|
declare type IDropDownOptionsProps = React.PropsWithChildren<{
|
|
130
152
|
accessKey?: string;
|
|
131
|
-
|
|
132
|
-
animation?: object | {
|
|
153
|
+
animation?: Record<string, any> | {
|
|
133
154
|
hide?: AnimationConfig;
|
|
134
155
|
show?: AnimationConfig;
|
|
135
156
|
};
|
|
136
|
-
bindingOptions?:
|
|
157
|
+
bindingOptions?: Record<string, any>;
|
|
137
158
|
closeOnOutsideClick?: boolean | ((event: event) => boolean);
|
|
138
159
|
container?: any | string;
|
|
139
160
|
contentTemplate?: ((contentElement: any) => string) | template;
|
|
@@ -158,16 +179,6 @@ declare type IDropDownOptionsProps = React.PropsWithChildren<{
|
|
|
158
179
|
minWidth?: (() => number) | number | string;
|
|
159
180
|
onContentReady?: ((e: EventInfo<any>) => void);
|
|
160
181
|
onDisposing?: ((e: EventInfo<any>) => void);
|
|
161
|
-
onFocusIn?: ((e: {
|
|
162
|
-
component: Widget<any>;
|
|
163
|
-
element: any;
|
|
164
|
-
model: object;
|
|
165
|
-
}) => void);
|
|
166
|
-
onFocusOut?: ((e: {
|
|
167
|
-
component: Widget<any>;
|
|
168
|
-
element: any;
|
|
169
|
-
model: object;
|
|
170
|
-
}) => void);
|
|
171
182
|
onHidden?: ((e: EventInfo<any>) => void);
|
|
172
183
|
onHiding?: ((e: {
|
|
173
184
|
cancel: boolean | any;
|
|
@@ -362,9 +373,9 @@ declare class Offset extends NestedOption<IOffsetProps> {
|
|
|
362
373
|
declare type IOptionsProps = React.PropsWithChildren<{
|
|
363
374
|
accessKey?: string;
|
|
364
375
|
activeStateEnabled?: boolean;
|
|
365
|
-
bindingOptions?:
|
|
376
|
+
bindingOptions?: Record<string, any>;
|
|
366
377
|
disabled?: boolean;
|
|
367
|
-
elementAttr?:
|
|
378
|
+
elementAttr?: Record<string, any>;
|
|
368
379
|
focusStateEnabled?: boolean;
|
|
369
380
|
height?: (() => number) | number | string;
|
|
370
381
|
hint?: string;
|
|
@@ -375,20 +386,10 @@ declare type IOptionsProps = React.PropsWithChildren<{
|
|
|
375
386
|
element: any;
|
|
376
387
|
event: event;
|
|
377
388
|
model: any;
|
|
378
|
-
validationGroup:
|
|
389
|
+
validationGroup: Record<string, any>;
|
|
379
390
|
}) => void);
|
|
380
391
|
onContentReady?: ((e: EventInfo<any>) => void);
|
|
381
392
|
onDisposing?: ((e: EventInfo<any>) => void);
|
|
382
|
-
onFocusIn?: ((e: {
|
|
383
|
-
component: Widget<any>;
|
|
384
|
-
element: any;
|
|
385
|
-
model: object;
|
|
386
|
-
}) => void);
|
|
387
|
-
onFocusOut?: ((e: {
|
|
388
|
-
component: Widget<any>;
|
|
389
|
-
element: any;
|
|
390
|
-
model: object;
|
|
391
|
-
}) => void);
|
|
392
393
|
onInitialized?: ((e: {
|
|
393
394
|
component: Component<any>;
|
|
394
395
|
element: any;
|
|
@@ -429,25 +430,25 @@ declare class Options extends NestedOption<IOptionsProps> {
|
|
|
429
430
|
}[];
|
|
430
431
|
}
|
|
431
432
|
declare type IPositionProps = React.PropsWithChildren<{
|
|
432
|
-
at?:
|
|
433
|
+
at?: Record<string, any> | "bottom" | "center" | "left" | "left bottom" | "left top" | "right" | "right bottom" | "right top" | "top" | {
|
|
433
434
|
x?: "center" | "left" | "right";
|
|
434
435
|
y?: "bottom" | "center" | "top";
|
|
435
436
|
};
|
|
436
437
|
boundary?: any | string;
|
|
437
|
-
boundaryOffset?:
|
|
438
|
+
boundaryOffset?: Record<string, any> | string | {
|
|
438
439
|
x?: number;
|
|
439
440
|
y?: number;
|
|
440
441
|
};
|
|
441
|
-
collision?:
|
|
442
|
+
collision?: Record<string, any> | "fit" | "fit flip" | "fit flipfit" | "fit none" | "flip" | "flip fit" | "flip none" | "flipfit" | "flipfit fit" | "flipfit none" | "none" | "none fit" | "none flip" | "none flipfit" | {
|
|
442
443
|
x?: "fit" | "flip" | "flipfit" | "none";
|
|
443
444
|
y?: "fit" | "flip" | "flipfit" | "none";
|
|
444
445
|
};
|
|
445
|
-
my?:
|
|
446
|
+
my?: Record<string, any> | "bottom" | "center" | "left" | "left bottom" | "left top" | "right" | "right bottom" | "right top" | "top" | {
|
|
446
447
|
x?: "center" | "left" | "right";
|
|
447
448
|
y?: "bottom" | "center" | "top";
|
|
448
449
|
};
|
|
449
450
|
of?: any | string;
|
|
450
|
-
offset?:
|
|
451
|
+
offset?: Record<string, any> | string | {
|
|
451
452
|
x?: number;
|
|
452
453
|
y?: number;
|
|
453
454
|
};
|
package/autocomplete.js
CHANGED
package/bar-gauge.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta
|
|
4
|
+
* Build date: Wed May 17 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -23,9 +23,9 @@ declare type IBarGaugeOptions = React.PropsWithChildren<Properties & IHtmlOption
|
|
|
23
23
|
centerRender?: (...params: any) => React.ReactNode;
|
|
24
24
|
centerComponent?: React.ComponentType<any>;
|
|
25
25
|
centerKeyFn?: (data: any) => string;
|
|
26
|
-
defaultLoadingIndicator?:
|
|
26
|
+
defaultLoadingIndicator?: Record<string, any>;
|
|
27
27
|
defaultValues?: Array<number>;
|
|
28
|
-
onLoadingIndicatorChange?: (value:
|
|
28
|
+
onLoadingIndicatorChange?: (value: Record<string, any>) => void;
|
|
29
29
|
onValuesChange?: (value: Array<number>) => void;
|
|
30
30
|
}>;
|
|
31
31
|
declare class BarGauge extends BaseComponent<React.PropsWithChildren<IBarGaugeOptions>> {
|
|
@@ -101,14 +101,14 @@ declare class Animation extends NestedOption<IAnimationProps> {
|
|
|
101
101
|
declare type IBarGaugeTitleProps = React.PropsWithChildren<{
|
|
102
102
|
font?: BaseWidgetTypes.Font;
|
|
103
103
|
horizontalAlignment?: "center" | "left" | "right";
|
|
104
|
-
margin?: number |
|
|
104
|
+
margin?: number | Record<string, any> | {
|
|
105
105
|
bottom?: number;
|
|
106
106
|
left?: number;
|
|
107
107
|
right?: number;
|
|
108
108
|
top?: number;
|
|
109
109
|
};
|
|
110
110
|
placeholderSize?: number;
|
|
111
|
-
subtitle?:
|
|
111
|
+
subtitle?: Record<string, any> | string | {
|
|
112
112
|
font?: BaseWidgetTypes.Font;
|
|
113
113
|
offset?: number;
|
|
114
114
|
text?: string;
|
|
@@ -246,7 +246,7 @@ declare class Label extends NestedOption<ILabelProps> {
|
|
|
246
246
|
}
|
|
247
247
|
declare type ILegendProps = React.PropsWithChildren<{
|
|
248
248
|
backgroundColor?: string;
|
|
249
|
-
border?:
|
|
249
|
+
border?: Record<string, any> | {
|
|
250
250
|
color?: string;
|
|
251
251
|
cornerRadius?: number;
|
|
252
252
|
dashStyle?: "dash" | "dot" | "longDash" | "solid";
|
|
@@ -270,7 +270,7 @@ declare type ILegendProps = React.PropsWithChildren<{
|
|
|
270
270
|
itemsAlignment?: "center" | "left" | "right";
|
|
271
271
|
itemTextFormat?: LocalizationTypes.Format;
|
|
272
272
|
itemTextPosition?: "bottom" | "left" | "right" | "top";
|
|
273
|
-
margin?: number |
|
|
273
|
+
margin?: number | Record<string, any> | {
|
|
274
274
|
bottom?: number;
|
|
275
275
|
left?: number;
|
|
276
276
|
right?: number;
|
|
@@ -283,17 +283,17 @@ declare type ILegendProps = React.PropsWithChildren<{
|
|
|
283
283
|
paddingTopBottom?: number;
|
|
284
284
|
rowCount?: number;
|
|
285
285
|
rowItemSpacing?: number;
|
|
286
|
-
title?:
|
|
286
|
+
title?: Record<string, any> | string | {
|
|
287
287
|
font?: BaseWidgetTypes.Font;
|
|
288
288
|
horizontalAlignment?: "center" | "left" | "right";
|
|
289
|
-
margin?:
|
|
289
|
+
margin?: Record<string, any> | {
|
|
290
290
|
bottom?: number;
|
|
291
291
|
left?: number;
|
|
292
292
|
right?: number;
|
|
293
293
|
top?: number;
|
|
294
294
|
};
|
|
295
295
|
placeholderSize?: number;
|
|
296
|
-
subtitle?:
|
|
296
|
+
subtitle?: Record<string, any> | string | {
|
|
297
297
|
font?: BaseWidgetTypes.Font;
|
|
298
298
|
offset?: number;
|
|
299
299
|
text?: string;
|
|
@@ -360,14 +360,14 @@ declare class LegendBorder extends NestedOption<ILegendBorderProps> {
|
|
|
360
360
|
declare type ILegendTitleProps = React.PropsWithChildren<{
|
|
361
361
|
font?: BaseWidgetTypes.Font;
|
|
362
362
|
horizontalAlignment?: "center" | "left" | "right";
|
|
363
|
-
margin?:
|
|
363
|
+
margin?: Record<string, any> | {
|
|
364
364
|
bottom?: number;
|
|
365
365
|
left?: number;
|
|
366
366
|
right?: number;
|
|
367
367
|
top?: number;
|
|
368
368
|
};
|
|
369
369
|
placeholderSize?: number;
|
|
370
|
-
subtitle?:
|
|
370
|
+
subtitle?: Record<string, any> | string | {
|
|
371
371
|
font?: BaseWidgetTypes.Font;
|
|
372
372
|
offset?: number;
|
|
373
373
|
text?: string;
|
|
@@ -412,7 +412,6 @@ declare class LegendTitleSubtitle extends NestedOption<ILegendTitleSubtitleProps
|
|
|
412
412
|
}
|
|
413
413
|
declare type ILoadingIndicatorProps = React.PropsWithChildren<{
|
|
414
414
|
backgroundColor?: string;
|
|
415
|
-
enabled?: boolean;
|
|
416
415
|
font?: BaseWidgetTypes.Font;
|
|
417
416
|
show?: boolean;
|
|
418
417
|
text?: string;
|
|
@@ -470,14 +469,14 @@ declare class Subtitle extends NestedOption<ISubtitleProps> {
|
|
|
470
469
|
declare type ITitleProps = React.PropsWithChildren<{
|
|
471
470
|
font?: BaseWidgetTypes.Font;
|
|
472
471
|
horizontalAlignment?: "center" | "left" | "right";
|
|
473
|
-
margin?:
|
|
472
|
+
margin?: Record<string, any> | {
|
|
474
473
|
bottom?: number;
|
|
475
474
|
left?: number;
|
|
476
475
|
right?: number;
|
|
477
476
|
top?: number;
|
|
478
477
|
};
|
|
479
478
|
placeholderSize?: number;
|
|
480
|
-
subtitle?:
|
|
479
|
+
subtitle?: Record<string, any> | string | {
|
|
481
480
|
font?: BaseWidgetTypes.Font;
|
|
482
481
|
offset?: number;
|
|
483
482
|
text?: string;
|
|
@@ -492,7 +491,7 @@ declare class Title extends NestedOption<ITitleProps> {
|
|
|
492
491
|
}
|
|
493
492
|
declare type ITooltipProps = React.PropsWithChildren<{
|
|
494
493
|
arrowLength?: number;
|
|
495
|
-
border?:
|
|
494
|
+
border?: Record<string, any> | {
|
|
496
495
|
color?: string;
|
|
497
496
|
dashStyle?: "dash" | "dot" | "longDash" | "solid";
|
|
498
497
|
opacity?: number;
|
|
@@ -511,7 +510,7 @@ declare type ITooltipProps = React.PropsWithChildren<{
|
|
|
511
510
|
index: number;
|
|
512
511
|
value: number;
|
|
513
512
|
valueText: string;
|
|
514
|
-
}) =>
|
|
513
|
+
}) => Record<string, any>);
|
|
515
514
|
enabled?: boolean;
|
|
516
515
|
font?: BaseWidgetTypes.Font;
|
|
517
516
|
format?: LocalizationTypes.Format;
|
|
@@ -519,7 +518,7 @@ declare type ITooltipProps = React.PropsWithChildren<{
|
|
|
519
518
|
opacity?: number;
|
|
520
519
|
paddingLeftRight?: number;
|
|
521
520
|
paddingTopBottom?: number;
|
|
522
|
-
shadow?:
|
|
521
|
+
shadow?: Record<string, any> | {
|
|
523
522
|
blur?: number;
|
|
524
523
|
color?: string;
|
|
525
524
|
offsetX?: number;
|
package/bar-gauge.js
CHANGED
package/box.d.ts
CHANGED
package/box.js
CHANGED
package/bullet.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta
|
|
4
|
+
* Build date: Wed May 17 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,10 +15,25 @@
|
|
|
15
15
|
import dxBullet, { Properties } from "devextreme/viz/bullet";
|
|
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/bullet";
|
|
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 IBulletOptionsNarrowedEvents = {
|
|
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 IBulletOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IBulletOptionsNarrowedEvents> & IHtmlOptions & {}>;
|
|
22
37
|
declare class Bullet extends BaseComponent<React.PropsWithChildren<IBulletOptions>> {
|
|
23
38
|
get instance(): dxBullet;
|
|
24
39
|
protected _WidgetClass: typeof dxBullet;
|
|
@@ -97,7 +112,7 @@ declare class Size extends NestedOption<ISizeProps> {
|
|
|
97
112
|
}
|
|
98
113
|
declare type ITooltipProps = React.PropsWithChildren<{
|
|
99
114
|
arrowLength?: number;
|
|
100
|
-
border?:
|
|
115
|
+
border?: Record<string, any> | {
|
|
101
116
|
color?: string;
|
|
102
117
|
dashStyle?: "dash" | "dot" | "longDash" | "solid";
|
|
103
118
|
opacity?: number;
|
|
@@ -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: Record<string, any>, element: any) => string) | template;
|
|
110
125
|
cornerRadius?: number;
|
|
111
|
-
customizeTooltip?: ((pointsInfo:
|
|
126
|
+
customizeTooltip?: ((pointsInfo: Record<string, any>) => Record<string, any>);
|
|
112
127
|
enabled?: boolean;
|
|
113
128
|
font?: BaseWidgetTypes.Font;
|
|
114
129
|
format?: LocalizationTypes.Format;
|
|
@@ -116,7 +131,7 @@ declare type ITooltipProps = React.PropsWithChildren<{
|
|
|
116
131
|
opacity?: number;
|
|
117
132
|
paddingLeftRight?: number;
|
|
118
133
|
paddingTopBottom?: number;
|
|
119
|
-
shadow?:
|
|
134
|
+
shadow?: Record<string, any> | {
|
|
120
135
|
blur?: number;
|
|
121
136
|
color?: string;
|
|
122
137
|
offsetX?: number;
|
package/bullet.js
CHANGED
package/button-group.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.2-
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.2-beta
|
|
4
|
+
* Build date: Wed May 17 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -50,9 +50,8 @@ declare class ButtonGroup extends BaseComponent<React.PropsWithChildren<IButtonG
|
|
|
50
50
|
}
|
|
51
51
|
declare type IItemProps = React.PropsWithChildren<{
|
|
52
52
|
disabled?: boolean;
|
|
53
|
-
elementAttr?:
|
|
53
|
+
elementAttr?: Record<string, any>;
|
|
54
54
|
hint?: string;
|
|
55
|
-
html?: string;
|
|
56
55
|
icon?: string;
|
|
57
56
|
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
|
|
58
57
|
text?: string;
|
package/button-group.js
CHANGED
package/button.d.ts
CHANGED
package/button.js
CHANGED
package/calendar.d.ts
CHANGED