devextreme-react 23.2.6 → 24.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/cjs/accordion.d.ts +35 -48
- package/cjs/accordion.js +63 -118
- package/cjs/action-sheet.d.ts +27 -43
- package/cjs/action-sheet.js +54 -95
- package/cjs/autocomplete.d.ts +62 -192
- package/cjs/autocomplete.js +181 -352
- package/cjs/bar-gauge.d.ts +80 -292
- package/cjs/bar-gauge.js +210 -353
- package/cjs/box.d.ts +25 -42
- package/cjs/box.js +53 -113
- package/cjs/bullet.d.ts +35 -80
- package/cjs/bullet.js +82 -148
- package/cjs/button-group.d.ts +17 -43
- package/cjs/button-group.js +54 -112
- package/cjs/button.d.ts +14 -19
- package/cjs/button.js +36 -88
- package/cjs/calendar.d.ts +14 -24
- package/cjs/calendar.js +41 -180
- package/cjs/chart.d.ts +297 -1146
- package/cjs/chart.js +707 -1059
- package/cjs/check-box.d.ts +14 -16
- package/cjs/check-box.js +34 -101
- package/cjs/circular-gauge.d.ts +86 -287
- package/cjs/circular-gauge.js +226 -332
- package/cjs/color-box.d.ts +59 -175
- package/cjs/color-box.js +165 -312
- package/cjs/common/charts.d.ts +2 -2
- package/cjs/common/charts.js +2 -2
- package/cjs/common/data/custom-store.d.ts +2 -2
- package/cjs/common/data/custom-store.js +2 -2
- package/cjs/common/grids.d.ts +2 -2
- package/cjs/common/grids.js +2 -2
- package/cjs/common/index.d.ts +2 -2
- package/cjs/common/index.js +2 -2
- package/cjs/context-menu.d.ts +71 -148
- package/cjs/context-menu.js +151 -279
- package/cjs/core/component-base.d.ts +18 -47
- package/cjs/core/component-base.js +261 -185
- package/cjs/core/component.d.ts +26 -13
- package/cjs/core/component.js +73 -58
- package/cjs/core/config.d.ts +2 -2
- package/cjs/core/config.js +2 -2
- package/cjs/core/configuration/comparer.d.ts +2 -2
- package/cjs/core/configuration/comparer.js +10 -10
- package/cjs/core/configuration/config-node.d.ts +2 -3
- package/cjs/core/configuration/config-node.js +2 -2
- package/cjs/core/configuration/react/element.d.ts +12 -4
- package/cjs/core/configuration/react/element.js +4 -5
- package/cjs/core/configuration/react/templates.d.ts +2 -2
- package/cjs/core/configuration/react/templates.js +2 -8
- package/cjs/core/configuration/react/tree.d.ts +2 -2
- package/cjs/core/configuration/react/tree.js +13 -9
- package/cjs/core/configuration/tree.d.ts +2 -2
- package/cjs/core/configuration/tree.js +5 -6
- package/cjs/core/configuration/utils.d.ts +2 -2
- package/cjs/core/configuration/utils.js +2 -2
- package/cjs/core/extension-component.d.ts +14 -7
- package/cjs/core/extension-component.js +69 -29
- package/cjs/core/helpers.d.ts +4 -3
- package/cjs/core/helpers.js +8 -9
- package/cjs/core/nested-option.d.ts +3 -5
- package/cjs/core/nested-option.js +16 -34
- package/cjs/core/options-manager.d.ts +3 -2
- package/cjs/core/options-manager.js +30 -18
- package/cjs/core/template-manager.d.ts +2 -2
- package/cjs/core/template-manager.js +20 -16
- package/cjs/core/template-wrapper.d.ts +2 -2
- package/cjs/core/template-wrapper.js +18 -14
- package/cjs/core/template.d.ts +3 -7
- package/cjs/core/template.js +4 -61
- package/cjs/core/types.d.ts +8 -8
- package/cjs/core/types.js +2 -2
- package/cjs/core/widget-config.d.ts +2 -2
- package/cjs/core/widget-config.js +23 -6
- package/cjs/data-grid.d.ts +317 -1057
- package/cjs/data-grid.js +752 -1112
- package/cjs/date-box.d.ts +65 -202
- package/cjs/date-box.js +179 -386
- package/cjs/date-range-box.d.ts +65 -203
- package/cjs/date-range-box.js +181 -373
- package/cjs/defer-rendering.d.ts +41 -93
- package/cjs/defer-rendering.js +93 -151
- package/cjs/diagram.d.ts +92 -307
- package/cjs/diagram.js +263 -408
- package/cjs/draggable.d.ts +17 -30
- package/cjs/draggable.js +45 -89
- package/cjs/drawer.d.ts +14 -23
- package/cjs/drawer.js +40 -102
- package/cjs/drop-down-box.d.ts +59 -175
- package/cjs/drop-down-box.js +169 -319
- package/cjs/drop-down-button.d.ts +58 -160
- package/cjs/drop-down-button.js +157 -256
- package/cjs/file-manager.d.ts +50 -128
- package/cjs/file-manager.js +123 -220
- package/cjs/file-uploader.d.ts +14 -16
- package/cjs/file-uploader.js +34 -127
- package/cjs/filter-builder.d.ts +32 -86
- package/cjs/filter-builder.js +86 -147
- package/cjs/form.d.ts +94 -347
- package/cjs/form.js +273 -398
- package/cjs/funnel.d.ts +95 -358
- package/cjs/funnel.js +239 -412
- package/cjs/gallery.d.ts +29 -44
- package/cjs/gallery.js +55 -107
- package/cjs/gantt.d.ts +89 -294
- package/cjs/gantt.js +252 -420
- package/cjs/html-editor.d.ts +50 -164
- package/cjs/html-editor.js +143 -262
- package/cjs/index.d.ts +3 -2
- package/cjs/index.js +5 -3
- package/cjs/linear-gauge.d.ts +89 -288
- package/cjs/linear-gauge.js +226 -335
- package/cjs/list.d.ts +49 -118
- package/cjs/list.js +115 -277
- package/cjs/load-indicator.d.ts +14 -12
- package/cjs/load-indicator.js +30 -56
- package/cjs/load-panel.d.ts +47 -99
- package/cjs/load-panel.js +111 -221
- package/cjs/lookup.d.ts +62 -182
- package/cjs/lookup.js +174 -364
- package/cjs/map.d.ts +32 -80
- package/cjs/map.js +85 -164
- package/cjs/menu.d.ts +69 -171
- package/cjs/menu.js +153 -286
- package/cjs/multi-view.d.ts +29 -44
- package/cjs/multi-view.js +55 -101
- package/cjs/number-box.d.ts +23 -53
- package/cjs/number-box.js +62 -183
- package/cjs/pie-chart.d.ts +119 -481
- package/cjs/pie-chart.js +309 -520
- package/cjs/pivot-grid-field-chooser.d.ts +29 -61
- package/cjs/pivot-grid-field-chooser.js +67 -129
- package/cjs/pivot-grid.d.ts +53 -137
- package/cjs/pivot-grid.js +125 -225
- package/cjs/polar-chart.d.ts +228 -882
- package/cjs/polar-chart.js +544 -828
- package/cjs/popover.d.ts +56 -142
- package/cjs/popover.js +150 -270
- package/cjs/popup.d.ts +48 -124
- package/cjs/popup.js +136 -261
- package/cjs/progress-bar.d.ts +14 -16
- package/cjs/progress-bar.js +34 -98
- package/cjs/radio-group.d.ts +17 -42
- package/cjs/radio-group.js +53 -132
- package/cjs/range-selector.d.ts +194 -671
- package/cjs/range-selector.js +455 -646
- package/cjs/range-slider.d.ts +23 -51
- package/cjs/range-slider.js +60 -145
- package/cjs/recurrence-editor.d.ts +14 -16
- package/cjs/recurrence-editor.js +34 -95
- package/cjs/resizable.d.ts +14 -17
- package/cjs/resizable.js +35 -75
- package/cjs/responsive-box.d.ts +34 -71
- package/cjs/responsive-box.js +78 -122
- package/cjs/sankey.d.ts +71 -240
- package/cjs/sankey.js +180 -321
- package/cjs/scheduler.d.ts +29 -96
- package/cjs/scheduler.js +127 -290
- package/cjs/scroll-view.d.ts +14 -12
- package/cjs/scroll-view.js +30 -82
- package/cjs/select-box.d.ts +62 -193
- package/cjs/select-box.js +186 -366
- package/cjs/slider.d.ts +23 -51
- package/cjs/slider.js +60 -142
- package/cjs/sortable.d.ts +17 -30
- package/cjs/sortable.js +45 -110
- package/cjs/sparkline.d.ts +35 -80
- package/cjs/sparkline.js +82 -183
- package/cjs/speed-dial-action.d.ts +14 -12
- package/cjs/speed-dial-action.js +30 -54
- package/cjs/splitter.d.ts +79 -0
- package/cjs/splitter.js +99 -0
- package/cjs/switch.d.ts +14 -16
- package/cjs/switch.js +34 -98
- package/cjs/tab-panel.d.ts +31 -46
- package/cjs/tab-panel.js +61 -140
- package/cjs/tabs.d.ts +33 -46
- package/cjs/tabs.js +57 -138
- package/cjs/tag-box.d.ts +62 -194
- package/cjs/tag-box.js +191 -390
- package/cjs/text-area.d.ts +14 -16
- package/cjs/text-area.js +34 -141
- package/cjs/text-box.d.ts +20 -45
- package/cjs/text-box.js +55 -182
- package/cjs/tile-view.d.ts +25 -42
- package/cjs/tile-view.js +53 -112
- package/cjs/toast.d.ts +47 -106
- package/cjs/toast.js +117 -223
- package/cjs/toolbar.d.ts +27 -44
- package/cjs/toolbar.js +59 -92
- package/cjs/tooltip.d.ts +53 -124
- package/cjs/tooltip.js +133 -243
- package/cjs/tree-list.d.ts +274 -909
- package/cjs/tree-list.js +644 -996
- package/cjs/tree-map.d.ts +77 -257
- package/cjs/tree-map.js +191 -326
- package/cjs/tree-view.d.ts +34 -81
- package/cjs/tree-view.js +82 -229
- package/cjs/validation-group.d.ts +14 -12
- package/cjs/validation-group.js +30 -51
- package/cjs/validation-summary.d.ts +25 -42
- package/cjs/validation-summary.js +53 -71
- package/cjs/validator.d.ts +48 -142
- package/cjs/validator.js +142 -187
- package/cjs/vector-map.d.ts +92 -347
- package/cjs/vector-map.js +244 -384
- package/esm/accordion.js +58 -117
- package/esm/action-sheet.js +49 -94
- package/esm/autocomplete.js +176 -351
- package/esm/bar-gauge.js +205 -352
- package/esm/box.js +48 -112
- package/esm/bullet.js +77 -147
- package/esm/button-group.js +49 -111
- package/esm/button.js +31 -87
- package/esm/calendar.js +36 -179
- package/esm/chart.js +702 -1058
- package/esm/check-box.js +29 -100
- package/esm/circular-gauge.js +221 -331
- package/esm/color-box.js +160 -311
- package/esm/common/charts.js +2 -2
- package/esm/common/data/custom-store.js +2 -2
- package/esm/common/grids.js +2 -2
- package/esm/common/index.js +2 -2
- package/esm/context-menu.js +146 -278
- package/esm/core/component-base.js +256 -184
- package/esm/core/component.js +69 -58
- package/esm/core/config.js +2 -2
- package/esm/core/configuration/comparer.js +2 -2
- package/esm/core/configuration/config-node.js +2 -2
- package/esm/core/configuration/react/element.js +5 -5
- package/esm/core/configuration/react/templates.js +2 -8
- package/esm/core/configuration/react/tree.js +3 -3
- package/esm/core/configuration/tree.js +2 -2
- package/esm/core/configuration/utils.js +2 -2
- package/esm/core/extension-component.js +45 -29
- package/esm/core/helpers.js +7 -8
- package/esm/core/nested-option.js +11 -33
- package/esm/core/options-manager.js +22 -10
- package/esm/core/template-manager.js +3 -3
- package/esm/core/template-wrapper.js +2 -2
- package/esm/core/template.js +4 -42
- package/esm/core/types.js +2 -2
- package/esm/core/widget-config.js +23 -6
- package/esm/data-grid.js +748 -1112
- package/esm/date-box.js +174 -385
- package/esm/date-range-box.js +176 -372
- package/esm/defer-rendering.js +88 -150
- package/esm/diagram.js +258 -407
- package/esm/draggable.js +40 -88
- package/esm/drawer.js +35 -101
- package/esm/drop-down-box.js +164 -318
- package/esm/drop-down-button.js +152 -255
- package/esm/file-manager.js +118 -219
- package/esm/file-uploader.js +29 -126
- package/esm/filter-builder.js +81 -146
- package/esm/form.js +268 -397
- package/esm/funnel.js +234 -411
- package/esm/gallery.js +50 -106
- package/esm/gantt.js +247 -419
- package/esm/html-editor.js +138 -261
- package/esm/index.js +3 -2
- package/esm/linear-gauge.js +221 -334
- package/esm/list.js +110 -276
- package/esm/load-indicator.js +25 -55
- package/esm/load-panel.js +106 -220
- package/esm/lookup.js +169 -363
- package/esm/map.js +80 -163
- package/esm/menu.js +148 -285
- package/esm/multi-view.js +50 -100
- package/esm/number-box.js +57 -182
- package/esm/pie-chart.js +304 -519
- package/esm/pivot-grid-field-chooser.js +62 -128
- package/esm/pivot-grid.js +120 -224
- package/esm/polar-chart.js +539 -827
- package/esm/popover.js +145 -269
- package/esm/popup.js +131 -260
- package/esm/progress-bar.js +29 -97
- package/esm/radio-group.js +48 -131
- package/esm/range-selector.js +450 -645
- package/esm/range-slider.js +55 -144
- package/esm/recurrence-editor.js +29 -94
- package/esm/resizable.js +30 -74
- package/esm/responsive-box.js +73 -121
- package/esm/sankey.js +175 -320
- package/esm/scheduler.js +122 -289
- package/esm/scroll-view.js +25 -81
- package/esm/select-box.js +181 -365
- package/esm/slider.js +55 -141
- package/esm/sortable.js +40 -109
- package/esm/sparkline.js +77 -182
- package/esm/speed-dial-action.js +25 -53
- package/esm/splitter.js +69 -0
- package/esm/switch.js +29 -97
- package/esm/tab-panel.js +56 -139
- package/esm/tabs.js +52 -137
- package/esm/tag-box.js +186 -389
- package/esm/text-area.js +29 -140
- package/esm/text-box.js +50 -181
- package/esm/tile-view.js +48 -111
- package/esm/toast.js +112 -222
- package/esm/toolbar.js +54 -91
- package/esm/tooltip.js +128 -242
- package/esm/tree-list.js +639 -995
- package/esm/tree-map.js +186 -325
- package/esm/tree-view.js +77 -228
- package/esm/validation-group.js +25 -50
- package/esm/validation-summary.js +48 -70
- package/esm/validator.js +137 -186
- package/esm/vector-map.js +239 -383
- package/package.json +4 -4
- package/splitter/package.json +6 -0
package/cjs/diagram.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version:
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 24.1.2-beta
|
|
4
|
+
* Build date: Mon May 13 2024
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,20 +11,20 @@
|
|
|
11
11
|
* https://github.com/DevExpress/devextreme-react
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
import * as React from "react";
|
|
15
|
+
import { Ref, ReactElement } from "react";
|
|
15
16
|
import dxDiagram, { Properties } from "devextreme/ui/diagram";
|
|
16
|
-
import {
|
|
17
|
-
import NestedOption from "./core/nested-option";
|
|
17
|
+
import { IHtmlOptions, IElementDescriptor } from "./core/component";
|
|
18
18
|
import type { ContentReadyEvent, CustomCommandEvent, DisposingEvent, InitializedEvent, ItemClickEvent, ItemDblClickEvent, RequestEditOperationEvent, RequestLayoutUpdateEvent, dxDiagramCustomCommand, dxDiagramShape } from "devextreme/ui/diagram";
|
|
19
19
|
import type { dxSVGElement } from "devextreme/core/element";
|
|
20
20
|
import type { template } from "devextreme/core/templates/template";
|
|
21
21
|
import type { DataSourceOptions } from "devextreme/data/data_source";
|
|
22
22
|
import type { Store } from "devextreme/data/store";
|
|
23
23
|
import type DataSource from "devextreme/data/data_source";
|
|
24
|
-
|
|
24
|
+
type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
25
25
|
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
type IDiagramOptionsNarrowedEvents = {
|
|
28
28
|
onContentReady?: ((e: ContentReadyEvent) => void);
|
|
29
29
|
onCustomCommand?: ((e: CustomCommandEvent) => void);
|
|
30
30
|
onDisposing?: ((e: DisposingEvent) => void);
|
|
@@ -34,13 +34,11 @@ declare type IDiagramOptionsNarrowedEvents = {
|
|
|
34
34
|
onRequestEditOperation?: ((e: RequestEditOperationEvent) => void);
|
|
35
35
|
onRequestLayoutUpdate?: ((e: RequestLayoutUpdateEvent) => void);
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
type IDiagramOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, IDiagramOptionsNarrowedEvents> & IHtmlOptions & {
|
|
38
38
|
customShapeRender?: (...params: any) => React.ReactNode;
|
|
39
39
|
customShapeComponent?: React.ComponentType<any>;
|
|
40
|
-
customShapeKeyFn?: (data: any) => string;
|
|
41
40
|
customShapeToolboxRender?: (...params: any) => React.ReactNode;
|
|
42
41
|
customShapeToolboxComponent?: React.ComponentType<any>;
|
|
43
|
-
customShapeToolboxKeyFn?: (data: any) => string;
|
|
44
42
|
defaultGridSize?: number | Record<string, any>;
|
|
45
43
|
defaultPageSize?: Record<string, any>;
|
|
46
44
|
defaultZoomLevel?: number | Record<string, any>;
|
|
@@ -48,140 +46,49 @@ declare type IDiagramOptions = React.PropsWithChildren<ReplaceFieldTypes<Propert
|
|
|
48
46
|
onPageSizeChange?: (value: Record<string, any>) => void;
|
|
49
47
|
onZoomLevelChange?: (value: number | Record<string, any>) => void;
|
|
50
48
|
}>;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
protected _WidgetClass: typeof dxDiagram;
|
|
54
|
-
protected subscribableOptions: string[];
|
|
55
|
-
protected independentEvents: string[];
|
|
56
|
-
protected _defaults: {
|
|
57
|
-
defaultGridSize: string;
|
|
58
|
-
defaultPageSize: string;
|
|
59
|
-
defaultZoomLevel: string;
|
|
60
|
-
};
|
|
61
|
-
protected _expectedChildren: {
|
|
62
|
-
contextMenu: {
|
|
63
|
-
optionName: string;
|
|
64
|
-
isCollectionItem: boolean;
|
|
65
|
-
};
|
|
66
|
-
contextToolbox: {
|
|
67
|
-
optionName: string;
|
|
68
|
-
isCollectionItem: boolean;
|
|
69
|
-
};
|
|
70
|
-
customShape: {
|
|
71
|
-
optionName: string;
|
|
72
|
-
isCollectionItem: boolean;
|
|
73
|
-
};
|
|
74
|
-
defaultItemProperties: {
|
|
75
|
-
optionName: string;
|
|
76
|
-
isCollectionItem: boolean;
|
|
77
|
-
};
|
|
78
|
-
edges: {
|
|
79
|
-
optionName: string;
|
|
80
|
-
isCollectionItem: boolean;
|
|
81
|
-
};
|
|
82
|
-
editing: {
|
|
83
|
-
optionName: string;
|
|
84
|
-
isCollectionItem: boolean;
|
|
85
|
-
};
|
|
86
|
-
export: {
|
|
87
|
-
optionName: string;
|
|
88
|
-
isCollectionItem: boolean;
|
|
89
|
-
};
|
|
90
|
-
gridSize: {
|
|
91
|
-
optionName: string;
|
|
92
|
-
isCollectionItem: boolean;
|
|
93
|
-
};
|
|
94
|
-
historyToolbar: {
|
|
95
|
-
optionName: string;
|
|
96
|
-
isCollectionItem: boolean;
|
|
97
|
-
};
|
|
98
|
-
mainToolbar: {
|
|
99
|
-
optionName: string;
|
|
100
|
-
isCollectionItem: boolean;
|
|
101
|
-
};
|
|
102
|
-
nodes: {
|
|
103
|
-
optionName: string;
|
|
104
|
-
isCollectionItem: boolean;
|
|
105
|
-
};
|
|
106
|
-
pageSize: {
|
|
107
|
-
optionName: string;
|
|
108
|
-
isCollectionItem: boolean;
|
|
109
|
-
};
|
|
110
|
-
propertiesPanel: {
|
|
111
|
-
optionName: string;
|
|
112
|
-
isCollectionItem: boolean;
|
|
113
|
-
};
|
|
114
|
-
toolbox: {
|
|
115
|
-
optionName: string;
|
|
116
|
-
isCollectionItem: boolean;
|
|
117
|
-
};
|
|
118
|
-
viewToolbar: {
|
|
119
|
-
optionName: string;
|
|
120
|
-
isCollectionItem: boolean;
|
|
121
|
-
};
|
|
122
|
-
zoomLevel: {
|
|
123
|
-
optionName: string;
|
|
124
|
-
isCollectionItem: boolean;
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
protected _templateProps: {
|
|
128
|
-
tmplOption: string;
|
|
129
|
-
render: string;
|
|
130
|
-
component: string;
|
|
131
|
-
keyFn: string;
|
|
132
|
-
}[];
|
|
49
|
+
interface DiagramRef {
|
|
50
|
+
instance: () => dxDiagram;
|
|
133
51
|
}
|
|
134
|
-
declare
|
|
52
|
+
declare const Diagram: (props: React.PropsWithChildren<IDiagramOptions> & {
|
|
53
|
+
ref?: Ref<DiagramRef>;
|
|
54
|
+
}) => ReactElement | null;
|
|
55
|
+
type IAutoLayoutProps = React.PropsWithChildren<{
|
|
135
56
|
orientation?: "horizontal" | "vertical";
|
|
136
57
|
type?: "auto" | "off" | "tree" | "layered";
|
|
137
58
|
}>;
|
|
138
|
-
declare
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
declare type ICommandProps = React.PropsWithChildren<{
|
|
59
|
+
declare const _componentAutoLayout: React.MemoExoticComponent<(props: IAutoLayoutProps) => React.FunctionComponentElement<IAutoLayoutProps>>;
|
|
60
|
+
declare const AutoLayout: typeof _componentAutoLayout & IElementDescriptor;
|
|
61
|
+
type ICommandProps = React.PropsWithChildren<{
|
|
142
62
|
icon?: string;
|
|
143
63
|
items?: Array<dxDiagramCustomCommand>;
|
|
144
64
|
location?: "after" | "before" | "center";
|
|
145
65
|
name?: "separator" | "exportSvg" | "exportPng" | "exportJpg" | "undo" | "redo" | "cut" | "copy" | "paste" | "selectAll" | "delete" | "fontName" | "fontSize" | "bold" | "italic" | "underline" | "fontColor" | "lineStyle" | "lineWidth" | "lineColor" | "fillColor" | "textAlignLeft" | "textAlignCenter" | "textAlignRight" | "lock" | "unlock" | "sendToBack" | "bringToFront" | "insertShapeImage" | "editShapeImage" | "deleteShapeImage" | "connectorLineType" | "connectorLineStart" | "connectorLineEnd" | "layoutTreeTopToBottom" | "layoutTreeBottomToTop" | "layoutTreeLeftToRight" | "layoutTreeRightToLeft" | "layoutLayeredTopToBottom" | "layoutLayeredBottomToTop" | "layoutLayeredLeftToRight" | "layoutLayeredRightToLeft" | "fullScreen" | "zoomLevel" | "showGrid" | "snapToGrid" | "gridSize" | "units" | "pageSize" | "pageOrientation" | "pageColor" | "simpleView" | "toolbox";
|
|
146
66
|
text?: string;
|
|
147
67
|
}>;
|
|
148
|
-
declare
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
152
|
-
declare type ICommandItemProps = React.PropsWithChildren<{
|
|
68
|
+
declare const _componentCommand: React.MemoExoticComponent<(props: ICommandProps) => React.FunctionComponentElement<ICommandProps>>;
|
|
69
|
+
declare const Command: typeof _componentCommand & IElementDescriptor;
|
|
70
|
+
type ICommandItemProps = React.PropsWithChildren<{
|
|
153
71
|
icon?: string;
|
|
154
72
|
items?: Array<dxDiagramCustomCommand>;
|
|
155
73
|
location?: "after" | "before" | "center";
|
|
156
74
|
name?: "separator" | "exportSvg" | "exportPng" | "exportJpg" | "undo" | "redo" | "cut" | "copy" | "paste" | "selectAll" | "delete" | "fontName" | "fontSize" | "bold" | "italic" | "underline" | "fontColor" | "lineStyle" | "lineWidth" | "lineColor" | "fillColor" | "textAlignLeft" | "textAlignCenter" | "textAlignRight" | "lock" | "unlock" | "sendToBack" | "bringToFront" | "insertShapeImage" | "editShapeImage" | "deleteShapeImage" | "connectorLineType" | "connectorLineStart" | "connectorLineEnd" | "layoutTreeTopToBottom" | "layoutTreeBottomToTop" | "layoutTreeLeftToRight" | "layoutTreeRightToLeft" | "layoutLayeredTopToBottom" | "layoutLayeredBottomToTop" | "layoutLayeredLeftToRight" | "layoutLayeredRightToLeft" | "fullScreen" | "zoomLevel" | "showGrid" | "snapToGrid" | "gridSize" | "units" | "pageSize" | "pageOrientation" | "pageColor" | "simpleView" | "toolbox";
|
|
157
75
|
text?: string;
|
|
158
76
|
}>;
|
|
159
|
-
declare
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}
|
|
163
|
-
declare type IConnectionPointProps = React.PropsWithChildren<{
|
|
77
|
+
declare const _componentCommandItem: React.MemoExoticComponent<(props: ICommandItemProps) => React.FunctionComponentElement<ICommandItemProps>>;
|
|
78
|
+
declare const CommandItem: typeof _componentCommandItem & IElementDescriptor;
|
|
79
|
+
type IConnectionPointProps = React.PropsWithChildren<{
|
|
164
80
|
x?: number;
|
|
165
81
|
y?: number;
|
|
166
82
|
}>;
|
|
167
|
-
declare
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
declare type IContextMenuProps = React.PropsWithChildren<{
|
|
83
|
+
declare const _componentConnectionPoint: React.MemoExoticComponent<(props: IConnectionPointProps) => React.FunctionComponentElement<IConnectionPointProps>>;
|
|
84
|
+
declare const ConnectionPoint: typeof _componentConnectionPoint & IElementDescriptor;
|
|
85
|
+
type IContextMenuProps = React.PropsWithChildren<{
|
|
172
86
|
commands?: Array<dxDiagramCustomCommand>;
|
|
173
87
|
enabled?: boolean;
|
|
174
88
|
}>;
|
|
175
|
-
declare
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
command: {
|
|
179
|
-
optionName: string;
|
|
180
|
-
isCollectionItem: boolean;
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
declare type IContextToolboxProps = React.PropsWithChildren<{
|
|
89
|
+
declare const _componentContextMenu: React.MemoExoticComponent<(props: IContextMenuProps) => React.FunctionComponentElement<IContextMenuProps>>;
|
|
90
|
+
declare const ContextMenu: typeof _componentContextMenu & IElementDescriptor;
|
|
91
|
+
type IContextToolboxProps = React.PropsWithChildren<{
|
|
185
92
|
category?: "general" | "flowchart" | "orgChart" | "containers" | "custom";
|
|
186
93
|
displayMode?: "icons" | "texts";
|
|
187
94
|
enabled?: boolean;
|
|
@@ -189,10 +96,9 @@ declare type IContextToolboxProps = React.PropsWithChildren<{
|
|
|
189
96
|
shapes?: Array<"text" | "rectangle" | "ellipse" | "cross" | "triangle" | "diamond" | "heart" | "pentagon" | "hexagon" | "octagon" | "star" | "arrowLeft" | "arrowTop" | "arrowRight" | "arrowBottom" | "arrowNorthSouth" | "arrowEastWest" | "process" | "decision" | "terminator" | "predefinedProcess" | "document" | "multipleDocuments" | "manualInput" | "preparation" | "data" | "database" | "hardDisk" | "internalStorage" | "paperTape" | "manualOperation" | "delay" | "storedData" | "display" | "merge" | "connector" | "or" | "summingJunction" | "verticalContainer" | "horizontalContainer" | "cardWithImageOnLeft" | "cardWithImageOnTop" | "cardWithImageOnRight">;
|
|
190
97
|
width?: number;
|
|
191
98
|
}>;
|
|
192
|
-
declare
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
declare type ICustomShapeProps = React.PropsWithChildren<{
|
|
99
|
+
declare const _componentContextToolbox: React.MemoExoticComponent<(props: IContextToolboxProps) => React.FunctionComponentElement<IContextToolboxProps>>;
|
|
100
|
+
declare const ContextToolbox: typeof _componentContextToolbox & IElementDescriptor;
|
|
101
|
+
type ICustomShapeProps = React.PropsWithChildren<{
|
|
196
102
|
allowEditImage?: boolean;
|
|
197
103
|
allowEditText?: boolean;
|
|
198
104
|
allowResize?: boolean;
|
|
@@ -240,28 +146,12 @@ declare type ICustomShapeProps = React.PropsWithChildren<{
|
|
|
240
146
|
type?: string;
|
|
241
147
|
render?: (...params: any) => React.ReactNode;
|
|
242
148
|
component?: React.ComponentType<any>;
|
|
243
|
-
keyFn?: (data: any) => string;
|
|
244
149
|
toolboxRender?: (...params: any) => React.ReactNode;
|
|
245
150
|
toolboxComponent?: React.ComponentType<any>;
|
|
246
|
-
toolboxKeyFn?: (data: any) => string;
|
|
247
151
|
}>;
|
|
248
|
-
declare
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
static ExpectedChildren: {
|
|
252
|
-
connectionPoint: {
|
|
253
|
-
optionName: string;
|
|
254
|
-
isCollectionItem: boolean;
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
static TemplateProps: {
|
|
258
|
-
tmplOption: string;
|
|
259
|
-
render: string;
|
|
260
|
-
component: string;
|
|
261
|
-
keyFn: string;
|
|
262
|
-
}[];
|
|
263
|
-
}
|
|
264
|
-
declare type IDefaultItemPropertiesProps = React.PropsWithChildren<{
|
|
152
|
+
declare const _componentCustomShape: React.MemoExoticComponent<(props: ICustomShapeProps) => React.FunctionComponentElement<ICustomShapeProps>>;
|
|
153
|
+
declare const CustomShape: typeof _componentCustomShape & IElementDescriptor;
|
|
154
|
+
type IDefaultItemPropertiesProps = React.PropsWithChildren<{
|
|
265
155
|
connectorLineEnd?: "none" | "arrow" | "outlinedTriangle" | "filledTriangle";
|
|
266
156
|
connectorLineStart?: "none" | "arrow" | "outlinedTriangle" | "filledTriangle";
|
|
267
157
|
connectorLineType?: "straight" | "orthogonal";
|
|
@@ -272,10 +162,9 @@ declare type IDefaultItemPropertiesProps = React.PropsWithChildren<{
|
|
|
272
162
|
style?: Record<string, any>;
|
|
273
163
|
textStyle?: Record<string, any>;
|
|
274
164
|
}>;
|
|
275
|
-
declare
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
declare type IEdgesProps = React.PropsWithChildren<{
|
|
165
|
+
declare const _componentDefaultItemProperties: React.MemoExoticComponent<(props: IDefaultItemPropertiesProps) => React.FunctionComponentElement<IDefaultItemPropertiesProps>>;
|
|
166
|
+
declare const DefaultItemProperties: typeof _componentDefaultItemProperties & IElementDescriptor;
|
|
167
|
+
type IEdgesProps = React.PropsWithChildren<{
|
|
279
168
|
customDataExpr?: ((data: any, value: any) => any) | string;
|
|
280
169
|
dataSource?: Array<any> | DataSource | DataSourceOptions | null | Store | string;
|
|
281
170
|
fromExpr?: ((data: any, value: any) => any) | string;
|
|
@@ -293,10 +182,9 @@ declare type IEdgesProps = React.PropsWithChildren<{
|
|
|
293
182
|
toPointIndexExpr?: ((data: any, value: any) => any) | string;
|
|
294
183
|
zIndexExpr?: ((data: any, value: any) => any) | string;
|
|
295
184
|
}>;
|
|
296
|
-
declare
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
declare type IEditingProps = React.PropsWithChildren<{
|
|
185
|
+
declare const _componentEdges: React.MemoExoticComponent<(props: IEdgesProps) => React.FunctionComponentElement<IEdgesProps>>;
|
|
186
|
+
declare const Edges: typeof _componentEdges & IElementDescriptor;
|
|
187
|
+
type IEditingProps = React.PropsWithChildren<{
|
|
300
188
|
allowAddShape?: boolean;
|
|
301
189
|
allowChangeConnection?: boolean;
|
|
302
190
|
allowChangeConnectorPoints?: boolean;
|
|
@@ -307,28 +195,22 @@ declare type IEditingProps = React.PropsWithChildren<{
|
|
|
307
195
|
allowMoveShape?: boolean;
|
|
308
196
|
allowResizeShape?: boolean;
|
|
309
197
|
}>;
|
|
310
|
-
declare
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
declare type IExportProps = React.PropsWithChildren<{
|
|
198
|
+
declare const _componentEditing: React.MemoExoticComponent<(props: IEditingProps) => React.FunctionComponentElement<IEditingProps>>;
|
|
199
|
+
declare const Editing: typeof _componentEditing & IElementDescriptor;
|
|
200
|
+
type IExportProps = React.PropsWithChildren<{
|
|
314
201
|
fileName?: string;
|
|
315
202
|
}>;
|
|
316
|
-
declare
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
declare type IGridSizeProps = React.PropsWithChildren<{
|
|
203
|
+
declare const _componentExport: React.MemoExoticComponent<(props: IExportProps) => React.FunctionComponentElement<IExportProps>>;
|
|
204
|
+
declare const Export: typeof _componentExport & IElementDescriptor;
|
|
205
|
+
type IGridSizeProps = React.PropsWithChildren<{
|
|
320
206
|
items?: Array<number>;
|
|
321
207
|
value?: number;
|
|
322
208
|
defaultValue?: number;
|
|
323
209
|
onValueChange?: (value: number) => void;
|
|
324
210
|
}>;
|
|
325
|
-
declare
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
defaultValue: string;
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
declare type IGroupProps = React.PropsWithChildren<{
|
|
211
|
+
declare const _componentGridSize: React.MemoExoticComponent<(props: IGridSizeProps) => React.FunctionComponentElement<IGridSizeProps>>;
|
|
212
|
+
declare const GridSize: typeof _componentGridSize & IElementDescriptor;
|
|
213
|
+
type IGroupProps = React.PropsWithChildren<{
|
|
332
214
|
commands?: Array<dxDiagramCustomCommand>;
|
|
333
215
|
title?: string;
|
|
334
216
|
category?: "general" | "flowchart" | "orgChart" | "containers" | "custom";
|
|
@@ -336,24 +218,15 @@ declare type IGroupProps = React.PropsWithChildren<{
|
|
|
336
218
|
expanded?: boolean;
|
|
337
219
|
shapes?: Array<"text" | "rectangle" | "ellipse" | "cross" | "triangle" | "diamond" | "heart" | "pentagon" | "hexagon" | "octagon" | "star" | "arrowLeft" | "arrowTop" | "arrowRight" | "arrowBottom" | "arrowNorthSouth" | "arrowEastWest" | "process" | "decision" | "terminator" | "predefinedProcess" | "document" | "multipleDocuments" | "manualInput" | "preparation" | "data" | "database" | "hardDisk" | "internalStorage" | "paperTape" | "manualOperation" | "delay" | "storedData" | "display" | "merge" | "connector" | "or" | "summingJunction" | "verticalContainer" | "horizontalContainer" | "cardWithImageOnLeft" | "cardWithImageOnTop" | "cardWithImageOnRight">;
|
|
338
220
|
}>;
|
|
339
|
-
declare
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
}
|
|
343
|
-
declare type IHistoryToolbarProps = React.PropsWithChildren<{
|
|
221
|
+
declare const _componentGroup: React.MemoExoticComponent<(props: IGroupProps) => React.FunctionComponentElement<IGroupProps>>;
|
|
222
|
+
declare const Group: typeof _componentGroup & IElementDescriptor;
|
|
223
|
+
type IHistoryToolbarProps = React.PropsWithChildren<{
|
|
344
224
|
commands?: Array<dxDiagramCustomCommand>;
|
|
345
225
|
visible?: boolean;
|
|
346
226
|
}>;
|
|
347
|
-
declare
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
command: {
|
|
351
|
-
optionName: string;
|
|
352
|
-
isCollectionItem: boolean;
|
|
353
|
-
};
|
|
354
|
-
};
|
|
355
|
-
}
|
|
356
|
-
declare type IItemProps = React.PropsWithChildren<{
|
|
227
|
+
declare const _componentHistoryToolbar: React.MemoExoticComponent<(props: IHistoryToolbarProps) => React.FunctionComponentElement<IHistoryToolbarProps>>;
|
|
228
|
+
declare const HistoryToolbar: typeof _componentHistoryToolbar & IElementDescriptor;
|
|
229
|
+
type IItemProps = React.PropsWithChildren<{
|
|
357
230
|
icon?: string;
|
|
358
231
|
items?: Array<dxDiagramCustomCommand>;
|
|
359
232
|
location?: "after" | "before" | "center";
|
|
@@ -362,24 +235,15 @@ declare type IItemProps = React.PropsWithChildren<{
|
|
|
362
235
|
height?: number;
|
|
363
236
|
width?: number;
|
|
364
237
|
}>;
|
|
365
|
-
declare
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
}
|
|
369
|
-
declare type IMainToolbarProps = React.PropsWithChildren<{
|
|
238
|
+
declare const _componentItem: React.MemoExoticComponent<(props: IItemProps) => React.FunctionComponentElement<IItemProps>>;
|
|
239
|
+
declare const Item: typeof _componentItem & IElementDescriptor;
|
|
240
|
+
type IMainToolbarProps = React.PropsWithChildren<{
|
|
370
241
|
commands?: Array<dxDiagramCustomCommand>;
|
|
371
242
|
visible?: boolean;
|
|
372
243
|
}>;
|
|
373
|
-
declare
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
command: {
|
|
377
|
-
optionName: string;
|
|
378
|
-
isCollectionItem: boolean;
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
declare type INodesProps = React.PropsWithChildren<{
|
|
244
|
+
declare const _componentMainToolbar: React.MemoExoticComponent<(props: IMainToolbarProps) => React.FunctionComponentElement<IMainToolbarProps>>;
|
|
245
|
+
declare const MainToolbar: typeof _componentMainToolbar & IElementDescriptor;
|
|
246
|
+
type INodesProps = React.PropsWithChildren<{
|
|
383
247
|
autoLayout?: Record<string, any> | "auto" | "off" | "tree" | "layered" | {
|
|
384
248
|
orientation?: "horizontal" | "vertical";
|
|
385
249
|
type?: "auto" | "off" | "tree" | "layered";
|
|
@@ -404,16 +268,9 @@ declare type INodesProps = React.PropsWithChildren<{
|
|
|
404
268
|
widthExpr?: ((data: any, value: any) => any) | string;
|
|
405
269
|
zIndexExpr?: ((data: any, value: any) => any) | string;
|
|
406
270
|
}>;
|
|
407
|
-
declare
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
autoLayout: {
|
|
411
|
-
optionName: string;
|
|
412
|
-
isCollectionItem: boolean;
|
|
413
|
-
};
|
|
414
|
-
};
|
|
415
|
-
}
|
|
416
|
-
declare type IPageSizeProps = React.PropsWithChildren<{
|
|
271
|
+
declare const _componentNodes: React.MemoExoticComponent<(props: INodesProps) => React.FunctionComponentElement<INodesProps>>;
|
|
272
|
+
declare const Nodes: typeof _componentNodes & IElementDescriptor;
|
|
273
|
+
type IPageSizeProps = React.PropsWithChildren<{
|
|
417
274
|
height?: number;
|
|
418
275
|
items?: Array<Record<string, any>> | {
|
|
419
276
|
height?: number;
|
|
@@ -426,33 +283,16 @@ declare type IPageSizeProps = React.PropsWithChildren<{
|
|
|
426
283
|
defaultWidth?: number;
|
|
427
284
|
onWidthChange?: (value: number) => void;
|
|
428
285
|
}>;
|
|
429
|
-
declare
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
defaultHeight: string;
|
|
433
|
-
defaultWidth: string;
|
|
434
|
-
};
|
|
435
|
-
static ExpectedChildren: {
|
|
436
|
-
item: {
|
|
437
|
-
optionName: string;
|
|
438
|
-
isCollectionItem: boolean;
|
|
439
|
-
};
|
|
440
|
-
pageSizeItem: {
|
|
441
|
-
optionName: string;
|
|
442
|
-
isCollectionItem: boolean;
|
|
443
|
-
};
|
|
444
|
-
};
|
|
445
|
-
}
|
|
446
|
-
declare type IPageSizeItemProps = React.PropsWithChildren<{
|
|
286
|
+
declare const _componentPageSize: React.MemoExoticComponent<(props: IPageSizeProps) => React.FunctionComponentElement<IPageSizeProps>>;
|
|
287
|
+
declare const PageSize: typeof _componentPageSize & IElementDescriptor;
|
|
288
|
+
type IPageSizeItemProps = React.PropsWithChildren<{
|
|
447
289
|
height?: number;
|
|
448
290
|
text?: string;
|
|
449
291
|
width?: number;
|
|
450
292
|
}>;
|
|
451
|
-
declare
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
}
|
|
455
|
-
declare type IPropertiesPanelProps = React.PropsWithChildren<{
|
|
293
|
+
declare const _componentPageSizeItem: React.MemoExoticComponent<(props: IPageSizeItemProps) => React.FunctionComponentElement<IPageSizeItemProps>>;
|
|
294
|
+
declare const PageSizeItem: typeof _componentPageSizeItem & IElementDescriptor;
|
|
295
|
+
type IPropertiesPanelProps = React.PropsWithChildren<{
|
|
456
296
|
tabs?: Array<Record<string, any>> | {
|
|
457
297
|
commands?: Array<dxDiagramCustomCommand>;
|
|
458
298
|
groups?: Array<Record<string, any>> | {
|
|
@@ -463,16 +303,9 @@ declare type IPropertiesPanelProps = React.PropsWithChildren<{
|
|
|
463
303
|
}[];
|
|
464
304
|
visibility?: "auto" | "visible" | "collapsed" | "disabled";
|
|
465
305
|
}>;
|
|
466
|
-
declare
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
tab: {
|
|
470
|
-
optionName: string;
|
|
471
|
-
isCollectionItem: boolean;
|
|
472
|
-
};
|
|
473
|
-
};
|
|
474
|
-
}
|
|
475
|
-
declare type ITabProps = React.PropsWithChildren<{
|
|
306
|
+
declare const _componentPropertiesPanel: React.MemoExoticComponent<(props: IPropertiesPanelProps) => React.FunctionComponentElement<IPropertiesPanelProps>>;
|
|
307
|
+
declare const PropertiesPanel: typeof _componentPropertiesPanel & IElementDescriptor;
|
|
308
|
+
type ITabProps = React.PropsWithChildren<{
|
|
476
309
|
commands?: Array<dxDiagramCustomCommand>;
|
|
477
310
|
groups?: Array<Record<string, any>> | {
|
|
478
311
|
commands?: Array<dxDiagramCustomCommand>;
|
|
@@ -480,39 +313,15 @@ declare type ITabProps = React.PropsWithChildren<{
|
|
|
480
313
|
}[];
|
|
481
314
|
title?: string;
|
|
482
315
|
}>;
|
|
483
|
-
declare
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
static ExpectedChildren: {
|
|
487
|
-
command: {
|
|
488
|
-
optionName: string;
|
|
489
|
-
isCollectionItem: boolean;
|
|
490
|
-
};
|
|
491
|
-
group: {
|
|
492
|
-
optionName: string;
|
|
493
|
-
isCollectionItem: boolean;
|
|
494
|
-
};
|
|
495
|
-
tabGroup: {
|
|
496
|
-
optionName: string;
|
|
497
|
-
isCollectionItem: boolean;
|
|
498
|
-
};
|
|
499
|
-
};
|
|
500
|
-
}
|
|
501
|
-
declare type ITabGroupProps = React.PropsWithChildren<{
|
|
316
|
+
declare const _componentTab: React.MemoExoticComponent<(props: ITabProps) => React.FunctionComponentElement<ITabProps>>;
|
|
317
|
+
declare const Tab: typeof _componentTab & IElementDescriptor;
|
|
318
|
+
type ITabGroupProps = React.PropsWithChildren<{
|
|
502
319
|
commands?: Array<dxDiagramCustomCommand>;
|
|
503
320
|
title?: string;
|
|
504
321
|
}>;
|
|
505
|
-
declare
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
static ExpectedChildren: {
|
|
509
|
-
command: {
|
|
510
|
-
optionName: string;
|
|
511
|
-
isCollectionItem: boolean;
|
|
512
|
-
};
|
|
513
|
-
};
|
|
514
|
-
}
|
|
515
|
-
declare type IToolboxProps = React.PropsWithChildren<{
|
|
322
|
+
declare const _componentTabGroup: React.MemoExoticComponent<(props: ITabGroupProps) => React.FunctionComponentElement<ITabGroupProps>>;
|
|
323
|
+
declare const TabGroup: typeof _componentTabGroup & IElementDescriptor;
|
|
324
|
+
type IToolboxProps = React.PropsWithChildren<{
|
|
516
325
|
groups?: Array<Record<string, any>> | {
|
|
517
326
|
category?: "general" | "flowchart" | "orgChart" | "containers" | "custom";
|
|
518
327
|
displayMode?: "icons" | "texts";
|
|
@@ -525,56 +334,32 @@ declare type IToolboxProps = React.PropsWithChildren<{
|
|
|
525
334
|
visibility?: "auto" | "visible" | "collapsed" | "disabled";
|
|
526
335
|
width?: number;
|
|
527
336
|
}>;
|
|
528
|
-
declare
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
group: {
|
|
532
|
-
optionName: string;
|
|
533
|
-
isCollectionItem: boolean;
|
|
534
|
-
};
|
|
535
|
-
toolboxGroup: {
|
|
536
|
-
optionName: string;
|
|
537
|
-
isCollectionItem: boolean;
|
|
538
|
-
};
|
|
539
|
-
};
|
|
540
|
-
}
|
|
541
|
-
declare type IToolboxGroupProps = React.PropsWithChildren<{
|
|
337
|
+
declare const _componentToolbox: React.MemoExoticComponent<(props: IToolboxProps) => React.FunctionComponentElement<IToolboxProps>>;
|
|
338
|
+
declare const Toolbox: typeof _componentToolbox & IElementDescriptor;
|
|
339
|
+
type IToolboxGroupProps = React.PropsWithChildren<{
|
|
542
340
|
category?: "general" | "flowchart" | "orgChart" | "containers" | "custom";
|
|
543
341
|
displayMode?: "icons" | "texts";
|
|
544
342
|
expanded?: boolean;
|
|
545
343
|
shapes?: Array<"text" | "rectangle" | "ellipse" | "cross" | "triangle" | "diamond" | "heart" | "pentagon" | "hexagon" | "octagon" | "star" | "arrowLeft" | "arrowTop" | "arrowRight" | "arrowBottom" | "arrowNorthSouth" | "arrowEastWest" | "process" | "decision" | "terminator" | "predefinedProcess" | "document" | "multipleDocuments" | "manualInput" | "preparation" | "data" | "database" | "hardDisk" | "internalStorage" | "paperTape" | "manualOperation" | "delay" | "storedData" | "display" | "merge" | "connector" | "or" | "summingJunction" | "verticalContainer" | "horizontalContainer" | "cardWithImageOnLeft" | "cardWithImageOnTop" | "cardWithImageOnRight">;
|
|
546
344
|
title?: string;
|
|
547
345
|
}>;
|
|
548
|
-
declare
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
}
|
|
552
|
-
declare type IViewToolbarProps = React.PropsWithChildren<{
|
|
346
|
+
declare const _componentToolboxGroup: React.MemoExoticComponent<(props: IToolboxGroupProps) => React.FunctionComponentElement<IToolboxGroupProps>>;
|
|
347
|
+
declare const ToolboxGroup: typeof _componentToolboxGroup & IElementDescriptor;
|
|
348
|
+
type IViewToolbarProps = React.PropsWithChildren<{
|
|
553
349
|
commands?: Array<dxDiagramCustomCommand>;
|
|
554
350
|
visible?: boolean;
|
|
555
351
|
}>;
|
|
556
|
-
declare
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
command: {
|
|
560
|
-
optionName: string;
|
|
561
|
-
isCollectionItem: boolean;
|
|
562
|
-
};
|
|
563
|
-
};
|
|
564
|
-
}
|
|
565
|
-
declare type IZoomLevelProps = React.PropsWithChildren<{
|
|
352
|
+
declare const _componentViewToolbar: React.MemoExoticComponent<(props: IViewToolbarProps) => React.FunctionComponentElement<IViewToolbarProps>>;
|
|
353
|
+
declare const ViewToolbar: typeof _componentViewToolbar & IElementDescriptor;
|
|
354
|
+
type IZoomLevelProps = React.PropsWithChildren<{
|
|
566
355
|
items?: Array<number>;
|
|
567
356
|
value?: number;
|
|
568
357
|
defaultValue?: number;
|
|
569
358
|
onValueChange?: (value: number) => void;
|
|
570
359
|
}>;
|
|
571
|
-
declare
|
|
572
|
-
|
|
573
|
-
static DefaultsProps: {
|
|
574
|
-
defaultValue: string;
|
|
575
|
-
};
|
|
576
|
-
}
|
|
360
|
+
declare const _componentZoomLevel: React.MemoExoticComponent<(props: IZoomLevelProps) => React.FunctionComponentElement<IZoomLevelProps>>;
|
|
361
|
+
declare const ZoomLevel: typeof _componentZoomLevel & IElementDescriptor;
|
|
577
362
|
export default Diagram;
|
|
578
|
-
export { Diagram, IDiagramOptions, AutoLayout, IAutoLayoutProps, Command, ICommandProps, CommandItem, ICommandItemProps, ConnectionPoint, IConnectionPointProps, ContextMenu, IContextMenuProps, ContextToolbox, IContextToolboxProps, CustomShape, ICustomShapeProps, DefaultItemProperties, IDefaultItemPropertiesProps, Edges, IEdgesProps, Editing, IEditingProps, Export, IExportProps, GridSize, IGridSizeProps, Group, IGroupProps, HistoryToolbar, IHistoryToolbarProps, Item, IItemProps, MainToolbar, IMainToolbarProps, Nodes, INodesProps, PageSize, IPageSizeProps, PageSizeItem, IPageSizeItemProps, PropertiesPanel, IPropertiesPanelProps, Tab, ITabProps, TabGroup, ITabGroupProps, Toolbox, IToolboxProps, ToolboxGroup, IToolboxGroupProps, ViewToolbar, IViewToolbarProps, ZoomLevel, IZoomLevelProps };
|
|
363
|
+
export { Diagram, IDiagramOptions, DiagramRef, AutoLayout, IAutoLayoutProps, Command, ICommandProps, CommandItem, ICommandItemProps, ConnectionPoint, IConnectionPointProps, ContextMenu, IContextMenuProps, ContextToolbox, IContextToolboxProps, CustomShape, ICustomShapeProps, DefaultItemProperties, IDefaultItemPropertiesProps, Edges, IEdgesProps, Editing, IEditingProps, Export, IExportProps, GridSize, IGridSizeProps, Group, IGroupProps, HistoryToolbar, IHistoryToolbarProps, Item, IItemProps, MainToolbar, IMainToolbarProps, Nodes, INodesProps, PageSize, IPageSizeProps, PageSizeItem, IPageSizeItemProps, PropertiesPanel, IPropertiesPanelProps, Tab, ITabProps, TabGroup, ITabGroupProps, Toolbox, IToolboxProps, ToolboxGroup, IToolboxGroupProps, ViewToolbar, IViewToolbarProps, ZoomLevel, IZoomLevelProps };
|
|
579
364
|
import type * as DiagramTypes from 'devextreme/ui/diagram_types';
|
|
580
365
|
export { DiagramTypes };
|