devextreme-react 23.1.2-beta → 23.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion.d.ts +4 -3
- package/accordion.js +2 -2
- package/action-sheet.d.ts +17 -4
- package/action-sheet.js +2 -2
- package/autocomplete.d.ts +8 -26
- package/autocomplete.js +2 -2
- package/bar-gauge.d.ts +21 -5
- package/bar-gauge.js +2 -2
- package/box.d.ts +16 -4
- package/box.js +2 -2
- package/bullet.d.ts +4 -4
- package/bullet.js +2 -2
- package/button-group.d.ts +13 -3
- package/button-group.js +2 -2
- package/button.d.ts +13 -3
- package/button.js +2 -2
- package/calendar.d.ts +12 -3
- package/calendar.js +2 -2
- package/chart.d.ts +53 -15
- package/chart.js +2 -2
- package/check-box.d.ts +2 -2
- package/check-box.js +2 -2
- package/circular-gauge.d.ts +2 -2
- package/circular-gauge.js +2 -2
- package/color-box.d.ts +8 -26
- package/color-box.js +2 -2
- package/common/charts.d.ts +2 -2
- package/common/charts.js +2 -2
- package/common/grids.d.ts +3 -3
- package/common/grids.js +2 -2
- package/common/index.d.ts +2 -2
- package/common/index.js +2 -2
- package/context-menu.d.ts +8 -3
- package/context-menu.js +2 -2
- package/core/component-base.d.ts +2 -2
- package/core/component-base.js +2 -2
- package/core/component.d.ts +2 -2
- package/core/component.js +2 -2
- package/core/config.d.ts +2 -2
- package/core/config.js +2 -2
- package/core/configuration/comparer.d.ts +2 -2
- package/core/configuration/comparer.js +2 -2
- package/core/configuration/config-node.d.ts +2 -2
- package/core/configuration/config-node.js +2 -2
- package/core/configuration/react/element.d.ts +2 -2
- package/core/configuration/react/element.js +2 -2
- package/core/configuration/react/templates.d.ts +2 -2
- package/core/configuration/react/templates.js +2 -2
- package/core/configuration/react/tree.d.ts +2 -2
- package/core/configuration/react/tree.js +2 -2
- package/core/configuration/tree.d.ts +2 -2
- package/core/configuration/tree.js +2 -2
- package/core/configuration/utils.d.ts +2 -2
- package/core/configuration/utils.js +2 -2
- package/core/dx-template.d.ts +2 -2
- package/core/dx-template.js +2 -2
- package/core/extension-component.d.ts +2 -2
- package/core/extension-component.js +2 -2
- package/core/helpers.d.ts +2 -2
- package/core/helpers.js +2 -2
- package/core/nested-option.d.ts +2 -2
- package/core/nested-option.js +2 -2
- package/core/options-manager.d.ts +2 -2
- package/core/options-manager.js +2 -2
- package/core/template-wrapper.d.ts +2 -2
- package/core/template-wrapper.js +2 -2
- package/core/template.d.ts +2 -2
- package/core/template.js +2 -2
- package/core/templates-manager.d.ts +2 -2
- package/core/templates-manager.js +2 -2
- package/core/templates-renderer.d.ts +2 -2
- package/core/templates-renderer.js +2 -2
- package/core/templates-store.d.ts +2 -2
- package/core/templates-store.js +2 -2
- package/core/widget-config.d.ts +2 -2
- package/core/widget-config.js +2 -2
- package/data-grid.d.ts +79 -110
- package/data-grid.js +2 -2
- package/date-box.d.ts +15 -52
- package/date-box.js +2 -2
- package/date-range-box.d.ts +21 -52
- package/date-range-box.js +6 -11
- package/defer-rendering.d.ts +2 -2
- package/defer-rendering.js +2 -2
- package/diagram.d.ts +8 -3
- package/diagram.js +2 -2
- package/draggable.d.ts +6 -3
- package/draggable.js +2 -2
- package/drawer.d.ts +2 -2
- package/drawer.js +2 -2
- package/drop-down-box.d.ts +8 -26
- package/drop-down-box.js +2 -2
- package/drop-down-button.d.ts +14 -3
- package/drop-down-button.js +2 -2
- package/file-manager.d.ts +31 -5
- package/file-manager.js +2 -2
- package/file-uploader.d.ts +13 -3
- package/file-uploader.js +2 -2
- package/filter-builder.d.ts +19 -8
- package/filter-builder.js +2 -2
- package/form.d.ts +35 -68
- package/form.js +2 -2
- package/funnel.d.ts +21 -5
- package/funnel.js +2 -2
- package/gallery.d.ts +2 -2
- package/gallery.js +2 -2
- package/gantt.d.ts +34 -8
- package/gantt.js +2 -2
- package/html-editor.d.ts +32 -95
- package/html-editor.js +2 -2
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/linear-gauge.d.ts +18 -3
- package/linear-gauge.js +2 -2
- package/list.d.ts +48 -157
- package/list.js +2 -2
- package/load-indicator.d.ts +2 -2
- package/load-indicator.js +2 -2
- package/load-panel.d.ts +2 -2
- package/load-panel.js +2 -2
- package/lookup.d.ts +10 -3
- package/lookup.js +2 -2
- package/map.d.ts +9 -3
- package/map.js +2 -2
- package/menu.d.ts +19 -4
- package/menu.js +2 -2
- package/multi-view.d.ts +2 -2
- package/multi-view.js +2 -2
- package/number-box.d.ts +8 -29
- package/number-box.js +2 -2
- package/package.json +4 -4
- package/pie-chart.d.ts +29 -10
- package/pie-chart.js +2 -2
- package/pivot-grid-field-chooser.d.ts +13 -3
- package/pivot-grid-field-chooser.js +2 -2
- package/pivot-grid.d.ts +17 -4
- package/pivot-grid.js +2 -2
- package/polar-chart.d.ts +33 -10
- package/polar-chart.js +2 -2
- package/popover.d.ts +2 -2
- package/popover.js +2 -2
- package/popup.d.ts +2 -2
- package/popup.js +2 -2
- package/progress-bar.d.ts +4 -3
- package/progress-bar.js +2 -2
- package/radio-group.d.ts +13 -3
- package/radio-group.js +2 -2
- package/range-selector.d.ts +26 -8
- package/range-selector.js +2 -2
- package/range-slider.d.ts +4 -3
- package/range-slider.js +2 -2
- package/recurrence-editor.d.ts +2 -2
- package/recurrence-editor.js +2 -2
- package/resizable.d.ts +6 -3
- package/resizable.js +2 -2
- package/responsive-box.d.ts +16 -4
- package/responsive-box.js +2 -2
- package/sankey.d.ts +18 -4
- package/sankey.js +2 -2
- package/scheduler.d.ts +32 -10
- package/scheduler.js +2 -2
- package/scroll-view.d.ts +5 -3
- package/scroll-view.js +2 -2
- package/select-box.d.ts +10 -27
- package/select-box.js +2 -2
- package/slider.d.ts +13 -3
- package/slider.js +2 -2
- package/sortable.d.ts +18 -3
- package/sortable.js +2 -2
- package/sparkline.d.ts +20 -5
- package/sparkline.js +2 -2
- package/speed-dial-action.d.ts +5 -3
- package/speed-dial-action.js +2 -2
- package/switch.d.ts +2 -2
- package/switch.js +2 -2
- package/tab-panel.d.ts +6 -3
- package/tab-panel.js +2 -2
- package/tabs.d.ts +16 -4
- package/tabs.js +2 -2
- package/tag-box.d.ts +11 -27
- package/tag-box.js +2 -2
- package/text-area.d.ts +2 -2
- package/text-area.js +2 -2
- package/text-box.d.ts +8 -29
- package/text-box.js +2 -2
- package/tile-view.d.ts +16 -4
- package/tile-view.js +2 -2
- package/toast.d.ts +2 -2
- package/toast.js +2 -2
- package/toolbar.d.ts +16 -4
- package/toolbar.js +2 -2
- package/tooltip.d.ts +2 -2
- package/tooltip.js +2 -2
- package/tree-list.d.ts +78 -109
- package/tree-list.js +2 -2
- package/tree-map.d.ts +20 -4
- package/tree-map.js +2 -2
- package/tree-view.d.ts +30 -36
- package/tree-view.js +2 -2
- package/validation-group.d.ts +11 -3
- package/validation-group.js +2 -2
- package/validation-summary.d.ts +2 -2
- package/validation-summary.js +2 -2
- package/validator.d.ts +2 -2
- package/validator.js +2 -2
- package/vector-map.d.ts +22 -5
- package/vector-map.js +2 -2
package/funnel.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,11 +15,25 @@
|
|
|
15
15
|
import 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, ItemClickEvent, LegendClickEvent, 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
|
+
onItemClick?: ((e: ItemClickEvent) => void);
|
|
34
|
+
onLegendClick?: ((e: LegendClickEvent) => void);
|
|
35
|
+
};
|
|
36
|
+
declare type IFunnelOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IFunnelOptionsNarrowedEvents> & IHtmlOptions & {
|
|
23
37
|
defaultLoadingIndicator?: Record<string, any>;
|
|
24
38
|
onLoadingIndicatorChange?: (value: Record<string, any>) => void;
|
|
25
39
|
}>;
|
|
@@ -615,7 +629,7 @@ declare class Subtitle extends NestedOption<ISubtitleProps> {
|
|
|
615
629
|
declare type ITitleProps = React.PropsWithChildren<{
|
|
616
630
|
font?: BaseWidgetTypes.Font;
|
|
617
631
|
horizontalAlignment?: "center" | "left" | "right";
|
|
618
|
-
margin?: Record<string, any> | {
|
|
632
|
+
margin?: Record<string, any> | number | {
|
|
619
633
|
bottom?: number;
|
|
620
634
|
left?: number;
|
|
621
635
|
right?: number;
|
|
@@ -626,6 +640,8 @@ declare type ITitleProps = React.PropsWithChildren<{
|
|
|
626
640
|
font?: BaseWidgetTypes.Font;
|
|
627
641
|
offset?: number;
|
|
628
642
|
text?: string;
|
|
643
|
+
textOverflow?: "ellipsis" | "hide" | "none";
|
|
644
|
+
wordWrap?: "normal" | "breakWord" | "none";
|
|
629
645
|
};
|
|
630
646
|
text?: string;
|
|
631
647
|
verticalAlignment?: "bottom" | "top";
|
package/funnel.js
CHANGED
package/gallery.d.ts
CHANGED
package/gallery.js
CHANGED
package/gantt.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
import dxGantt, { Properties } from "devextreme/ui/gantt";
|
|
16
16
|
import { Component as BaseComponent, IHtmlOptions } from "./core/component";
|
|
17
17
|
import NestedOption from "./core/nested-option";
|
|
18
|
-
import type { ContentReadyEvent, DisposingEvent, InitializedEvent, dxGanttContextMenuItem, dxGanttFilterRowOperationDescriptions, dxGanttHeaderFilterTexts, dxGanttToolbarItem } from "devextreme/ui/gantt";
|
|
18
|
+
import type { ContentReadyEvent, ContextMenuPreparingEvent, CustomCommandEvent, DependencyDeletedEvent, DependencyDeletingEvent, DependencyInsertedEvent, DependencyInsertingEvent, DisposingEvent, InitializedEvent, ResourceAssignedEvent, ResourceAssigningEvent, ResourceDeletedEvent, ResourceDeletingEvent, ResourceInsertedEvent, ResourceInsertingEvent, ResourceManagerDialogShowingEvent, ResourceUnassignedEvent, ResourceUnassigningEvent, ScaleCellPreparedEvent, TaskClickEvent, TaskDblClickEvent, TaskDeletedEvent, TaskDeletingEvent, TaskEditDialogShowingEvent, TaskInsertedEvent, TaskInsertingEvent, TaskMovingEvent, TaskUpdatedEvent, TaskUpdatingEvent, dxGanttContextMenuItem, dxGanttFilterRowOperationDescriptions, dxGanttHeaderFilterTexts, dxGanttToolbarItem } from "devextreme/ui/gantt";
|
|
19
19
|
import type { dxTreeListColumn, dxTreeListRowObject } from "devextreme/ui/tree_list";
|
|
20
20
|
import type { template } from "devextreme/core/templates/template";
|
|
21
21
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
@@ -31,8 +31,34 @@ declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
|
31
31
|
};
|
|
32
32
|
declare type IGanttOptionsNarrowedEvents = {
|
|
33
33
|
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
34
|
+
onContextMenuPreparing?: ((e: ContextMenuPreparingEvent) => void);
|
|
35
|
+
onCustomCommand?: ((e: CustomCommandEvent) => void);
|
|
36
|
+
onDependencyDeleted?: ((e: DependencyDeletedEvent) => void);
|
|
37
|
+
onDependencyDeleting?: ((e: DependencyDeletingEvent) => void);
|
|
38
|
+
onDependencyInserted?: ((e: DependencyInsertedEvent) => void);
|
|
39
|
+
onDependencyInserting?: ((e: DependencyInsertingEvent) => void);
|
|
34
40
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
35
41
|
onInitialized?: ((e: InitializedEvent) => void);
|
|
42
|
+
onResourceAssigned?: ((e: ResourceAssignedEvent) => void);
|
|
43
|
+
onResourceAssigning?: ((e: ResourceAssigningEvent) => void);
|
|
44
|
+
onResourceDeleted?: ((e: ResourceDeletedEvent) => void);
|
|
45
|
+
onResourceDeleting?: ((e: ResourceDeletingEvent) => void);
|
|
46
|
+
onResourceInserted?: ((e: ResourceInsertedEvent) => void);
|
|
47
|
+
onResourceInserting?: ((e: ResourceInsertingEvent) => void);
|
|
48
|
+
onResourceManagerDialogShowing?: ((e: ResourceManagerDialogShowingEvent) => void);
|
|
49
|
+
onResourceUnassigned?: ((e: ResourceUnassignedEvent) => void);
|
|
50
|
+
onResourceUnassigning?: ((e: ResourceUnassigningEvent) => void);
|
|
51
|
+
onScaleCellPrepared?: ((e: ScaleCellPreparedEvent) => void);
|
|
52
|
+
onTaskClick?: ((e: TaskClickEvent) => void);
|
|
53
|
+
onTaskDblClick?: ((e: TaskDblClickEvent) => void);
|
|
54
|
+
onTaskDeleted?: ((e: TaskDeletedEvent) => void);
|
|
55
|
+
onTaskDeleting?: ((e: TaskDeletingEvent) => void);
|
|
56
|
+
onTaskEditDialogShowing?: ((e: TaskEditDialogShowingEvent) => void);
|
|
57
|
+
onTaskInserted?: ((e: TaskInsertedEvent) => void);
|
|
58
|
+
onTaskInserting?: ((e: TaskInsertingEvent) => void);
|
|
59
|
+
onTaskMoving?: ((e: TaskMovingEvent) => void);
|
|
60
|
+
onTaskUpdated?: ((e: TaskUpdatedEvent) => void);
|
|
61
|
+
onTaskUpdating?: ((e: TaskUpdatingEvent) => void);
|
|
36
62
|
};
|
|
37
63
|
declare type IGanttOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IGanttOptionsNarrowedEvents> & IHtmlOptions & {
|
|
38
64
|
taskContentRender?: (...params: any) => React.ReactNode;
|
|
@@ -126,10 +152,10 @@ declare type IColumnProps = React.PropsWithChildren<{
|
|
|
126
152
|
allowFiltering?: boolean;
|
|
127
153
|
allowHeaderFiltering?: boolean;
|
|
128
154
|
allowSorting?: boolean;
|
|
129
|
-
calculateCellValue?: ((rowData:
|
|
130
|
-
calculateDisplayValue?: ((rowData:
|
|
155
|
+
calculateCellValue?: ((rowData: any) => any);
|
|
156
|
+
calculateDisplayValue?: ((rowData: any) => any) | string;
|
|
131
157
|
calculateFilterExpression?: ((filterValue: any, selectedFilterOperation: string | null, target: string) => string);
|
|
132
|
-
calculateSortValue?: ((rowData:
|
|
158
|
+
calculateSortValue?: ((rowData: any) => any) | string;
|
|
133
159
|
caption?: string;
|
|
134
160
|
cellTemplate?: ((cellElement: any, cellInfo: {
|
|
135
161
|
column: dxTreeListColumn;
|
|
@@ -420,7 +446,7 @@ declare type IHeaderFilterProps = React.PropsWithChildren<{
|
|
|
420
446
|
}) => void) | null | Store;
|
|
421
447
|
groupInterval?: number | "day" | "hour" | "minute" | "month" | "quarter" | "second" | "year";
|
|
422
448
|
height?: number;
|
|
423
|
-
search?: ColumnHeaderFilterSearchConfig;
|
|
449
|
+
search?: ColumnHeaderFilterSearchConfig | HeaderFilterSearchConfig;
|
|
424
450
|
searchMode?: "contains" | "startswith" | "equals";
|
|
425
451
|
width?: number;
|
|
426
452
|
searchTimeout?: number;
|
|
@@ -436,7 +462,7 @@ declare type IItemProps = React.PropsWithChildren<{
|
|
|
436
462
|
disabled?: boolean;
|
|
437
463
|
icon?: string;
|
|
438
464
|
items?: Array<dxContextMenuItem>;
|
|
439
|
-
name?: "undo" | "redo" | "expandAll" | "collapseAll" | "addTask" | "deleteTask" | "zoomIn" | "zoomOut" | "deleteDependency" | "taskDetails" | "resourceManager";
|
|
465
|
+
name?: "undo" | "redo" | "expandAll" | "collapseAll" | "addTask" | "deleteTask" | "zoomIn" | "zoomOut" | "deleteDependency" | "taskDetails" | "resourceManager" | "separator" | "fullScreen" | "showResources" | "showDependencies";
|
|
440
466
|
selectable?: boolean;
|
|
441
467
|
selected?: boolean;
|
|
442
468
|
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
|
package/gantt.js
CHANGED
package/html-editor.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 23.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,17 +15,26 @@
|
|
|
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,
|
|
19
|
-
import type {
|
|
20
|
-
import type { dxHtmlEditorImageUploadTabItem, dxHtmlEditorTableContextMenuItem, dxHtmlEditorToolbarItem } from "devextreme/ui/html_editor";
|
|
18
|
+
import type { ContentReadyEvent, DisposingEvent, FocusInEvent, FocusOutEvent, InitializedEvent, ValueChangedEvent, dxHtmlEditorImageUploadTabItem, dxHtmlEditorTableContextMenuItem, dxHtmlEditorToolbarItem } from "devextreme/ui/html_editor";
|
|
19
|
+
import type { ContentReadyEvent as FileUploaderContentReadyEvent, DisposingEvent as FileUploaderDisposingEvent, InitializedEvent as FileUploaderInitializedEvent, ValueChangedEvent as FileUploaderValueChangedEvent, BeforeSendEvent, DropZoneEnterEvent, DropZoneLeaveEvent, FilesUploadedEvent, OptionChangedEvent, ProgressEvent, UploadAbortedEvent, UploadedEvent, UploadErrorEvent, UploadStartedEvent, dxFileUploaderOptions } from "devextreme/ui/file_uploader";
|
|
21
20
|
import type { CollectionWidgetItem } from "devextreme/ui/collection/ui.collection_widget.base";
|
|
22
21
|
import type { template } from "devextreme/core/templates/template";
|
|
23
22
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
24
23
|
import type { Store } from "devextreme/data/abstract_store";
|
|
25
24
|
import type UploadInfo from "devextreme/file_management/upload_info";
|
|
26
|
-
import type dxFileUploader from "devextreme/ui/file_uploader";
|
|
27
25
|
import type DataSource from "devextreme/data/data_source";
|
|
28
|
-
declare type
|
|
26
|
+
declare type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
27
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
28
|
+
};
|
|
29
|
+
declare type IHtmlEditorOptionsNarrowedEvents = {
|
|
30
|
+
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
31
|
+
onDisposing?: ((e: DisposingEvent) => void);
|
|
32
|
+
onFocusIn?: ((e: FocusInEvent) => void);
|
|
33
|
+
onFocusOut?: ((e: FocusOutEvent) => 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
|
}>;
|
|
@@ -95,92 +104,20 @@ declare type IFileUploaderOptionsProps = React.PropsWithChildren<{
|
|
|
95
104
|
minFileSize?: number;
|
|
96
105
|
multiple?: boolean;
|
|
97
106
|
name?: string;
|
|
98
|
-
onBeforeSend?: ((e:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}) => void);
|
|
106
|
-
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
107
|
-
onDisposing?: ((e: DisposingEvent) => void);
|
|
108
|
-
onDropZoneEnter?: ((e: {
|
|
109
|
-
component: dxFileUploader;
|
|
110
|
-
dropZoneElement: any;
|
|
111
|
-
element: any;
|
|
112
|
-
event: event;
|
|
113
|
-
model: any;
|
|
114
|
-
}) => void);
|
|
115
|
-
onDropZoneLeave?: ((e: {
|
|
116
|
-
component: dxFileUploader;
|
|
117
|
-
dropZoneElement: any;
|
|
118
|
-
element: any;
|
|
119
|
-
event: event;
|
|
120
|
-
model: any;
|
|
121
|
-
}) => void);
|
|
122
|
-
onFilesUploaded?: ((e: {
|
|
123
|
-
component: dxFileUploader;
|
|
124
|
-
element: any;
|
|
125
|
-
model: any;
|
|
126
|
-
}) => void);
|
|
127
|
-
onInitialized?: ((e: InitializedEvent) => void);
|
|
107
|
+
onBeforeSend?: ((e: BeforeSendEvent) => void);
|
|
108
|
+
onContentReady?: ((e: FileUploaderContentReadyEvent) => void);
|
|
109
|
+
onDisposing?: ((e: FileUploaderDisposingEvent) => void);
|
|
110
|
+
onDropZoneEnter?: ((e: DropZoneEnterEvent) => void);
|
|
111
|
+
onDropZoneLeave?: ((e: DropZoneLeaveEvent) => void);
|
|
112
|
+
onFilesUploaded?: ((e: FilesUploadedEvent) => void);
|
|
113
|
+
onInitialized?: ((e: FileUploaderInitializedEvent) => void);
|
|
128
114
|
onOptionChanged?: ((e: OptionChangedEvent) => void);
|
|
129
|
-
onProgress?: ((e:
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
file: any;
|
|
136
|
-
model: any;
|
|
137
|
-
request: any;
|
|
138
|
-
segmentSize: number;
|
|
139
|
-
}) => void);
|
|
140
|
-
onUploadAborted?: ((e: {
|
|
141
|
-
component: dxFileUploader;
|
|
142
|
-
element: any;
|
|
143
|
-
event: event;
|
|
144
|
-
file: any;
|
|
145
|
-
message: string;
|
|
146
|
-
model: any;
|
|
147
|
-
request: any;
|
|
148
|
-
}) => void);
|
|
149
|
-
onUploaded?: ((e: {
|
|
150
|
-
component: dxFileUploader;
|
|
151
|
-
element: any;
|
|
152
|
-
event: event;
|
|
153
|
-
file: any;
|
|
154
|
-
message: string;
|
|
155
|
-
model: any;
|
|
156
|
-
request: any;
|
|
157
|
-
}) => void);
|
|
158
|
-
onUploadError?: ((e: {
|
|
159
|
-
component: dxFileUploader;
|
|
160
|
-
element: any;
|
|
161
|
-
error: any;
|
|
162
|
-
event: event;
|
|
163
|
-
file: any;
|
|
164
|
-
message: string;
|
|
165
|
-
model: any;
|
|
166
|
-
request: any;
|
|
167
|
-
}) => void);
|
|
168
|
-
onUploadStarted?: ((e: {
|
|
169
|
-
component: dxFileUploader;
|
|
170
|
-
element: any;
|
|
171
|
-
event: event;
|
|
172
|
-
file: any;
|
|
173
|
-
model: any;
|
|
174
|
-
request: any;
|
|
175
|
-
}) => void);
|
|
176
|
-
onValueChanged?: ((e: {
|
|
177
|
-
component: dxFileUploader;
|
|
178
|
-
element: any;
|
|
179
|
-
event: event;
|
|
180
|
-
model: any;
|
|
181
|
-
previousValue: Array<any>;
|
|
182
|
-
value: Array<any>;
|
|
183
|
-
}) => void);
|
|
115
|
+
onProgress?: ((e: ProgressEvent) => void);
|
|
116
|
+
onUploadAborted?: ((e: UploadAbortedEvent) => void);
|
|
117
|
+
onUploaded?: ((e: UploadedEvent) => void);
|
|
118
|
+
onUploadError?: ((e: UploadErrorEvent) => void);
|
|
119
|
+
onUploadStarted?: ((e: UploadStartedEvent) => void);
|
|
120
|
+
onValueChanged?: ((e: FileUploaderValueChangedEvent) => void);
|
|
184
121
|
progress?: number;
|
|
185
122
|
readOnly?: boolean;
|
|
186
123
|
readyToUploadMessage?: string;
|
|
@@ -240,7 +177,7 @@ declare type IItemProps = React.PropsWithChildren<{
|
|
|
240
177
|
disabled?: boolean;
|
|
241
178
|
icon?: string;
|
|
242
179
|
items?: Array<dxHtmlEditorTableContextMenuItem | "background" | "bold" | "color" | "font" | "italic" | "link" | "image" | "strike" | "subscript" | "superscript" | "underline" | "blockquote" | "increaseIndent" | "decreaseIndent" | "orderedList" | "bulletList" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "codeBlock" | "variable" | "undo" | "redo" | "clear" | "insertTable" | "insertHeaderRow" | "insertRowAbove" | "insertRowBelow" | "insertColumnLeft" | "insertColumnRight" | "deleteColumn" | "deleteRow" | "deleteTable" | "cellProperties" | "tableProperties">;
|
|
243
|
-
name?: "background" | "bold" | "color" | "font" | "italic" | "link" | "image" | "strike" | "subscript" | "superscript" | "underline" | "blockquote" | "increaseIndent" | "decreaseIndent" | "orderedList" | "bulletList" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "codeBlock" | "variable" | "undo" | "redo" | "clear" | "insertTable" | "insertHeaderRow" | "insertRowAbove" | "insertRowBelow" | "insertColumnLeft" | "insertColumnRight" | "deleteColumn" | "deleteRow" | "deleteTable" | "cellProperties" | "tableProperties";
|
|
180
|
+
name?: "background" | "bold" | "color" | "font" | "italic" | "link" | "image" | "strike" | "subscript" | "superscript" | "underline" | "blockquote" | "increaseIndent" | "decreaseIndent" | "orderedList" | "bulletList" | "alignLeft" | "alignCenter" | "alignRight" | "alignJustify" | "codeBlock" | "variable" | "undo" | "redo" | "clear" | "insertTable" | "insertHeaderRow" | "insertRowAbove" | "insertRowBelow" | "insertColumnLeft" | "insertColumnRight" | "deleteColumn" | "deleteRow" | "deleteTable" | "cellProperties" | "tableProperties" | "size" | "header" | "separator";
|
|
244
181
|
selectable?: boolean;
|
|
245
182
|
selected?: boolean;
|
|
246
183
|
template?: ((itemData: CollectionWidgetItem, itemIndex: number, itemElement: any) => string) | template;
|
|
@@ -283,8 +220,8 @@ declare class MediaResizing extends NestedOption<IMediaResizingProps> {
|
|
|
283
220
|
}
|
|
284
221
|
declare type IMentionProps = React.PropsWithChildren<{
|
|
285
222
|
dataSource?: Array<any> | DataSource | DataSourceOptions | null | Store | string;
|
|
286
|
-
displayExpr?: ((item:
|
|
287
|
-
itemTemplate?: ((itemData:
|
|
223
|
+
displayExpr?: ((item: any) => string) | string;
|
|
224
|
+
itemTemplate?: ((itemData: any, itemIndex: number, itemElement: any) => string) | template;
|
|
288
225
|
marker?: string;
|
|
289
226
|
minSearchLength?: number;
|
|
290
227
|
searchExpr?: Array<(() => any) | string> | (() => any) | string;
|
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.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 23.1.3
|
|
4
|
+
* Build date: Fri Jun 09 2023
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -15,11 +15,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;
|