devextreme-react 26.1.2-beta → 26.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/LICENSE +21 -21
- package/README.md +27 -27
- package/cjs/accordion.d.ts +100 -100
- package/cjs/accordion.js +103 -103
- package/cjs/action-sheet.d.ts +79 -79
- package/cjs/action-sheet.js +91 -91
- package/cjs/autocomplete.d.ts +653 -653
- package/cjs/autocomplete.js +347 -347
- package/cjs/bar-gauge.d.ts +698 -698
- package/cjs/bar-gauge.js +410 -410
- package/cjs/box.d.ts +77 -77
- package/cjs/box.js +90 -90
- package/cjs/bullet.d.ts +205 -205
- package/cjs/bullet.js +155 -155
- package/cjs/button-group.d.ts +64 -64
- package/cjs/button-group.js +91 -91
- package/cjs/button.d.ts +30 -30
- package/cjs/button.js +61 -61
- package/cjs/calendar.d.ts +33 -33
- package/cjs/calendar.js +68 -68
- package/cjs/card-view.d.ts +2749 -2749
- package/cjs/card-view.js +1439 -1439
- package/cjs/chart.d.ts +4467 -4467
- package/cjs/chart.js +1569 -1569
- package/cjs/chat.d.ts +604 -604
- package/cjs/chat.js +336 -336
- package/cjs/check-box.d.ts +30 -30
- package/cjs/check-box.js +59 -59
- package/cjs/circular-gauge.d.ts +720 -720
- package/cjs/circular-gauge.js +427 -427
- package/cjs/color-box.d.ts +647 -647
- package/cjs/color-box.js +345 -345
- package/cjs/common/ai-integration.d.ts +4 -4
- package/cjs/common/ai-integration.js +7 -7
- package/cjs/common/charts.d.ts +4 -4
- package/cjs/common/charts.js +8 -8
- package/cjs/common/core/animation.d.ts +4 -4
- package/cjs/common/core/animation.js +11 -11
- package/cjs/common/core/environment.d.ts +4 -4
- package/cjs/common/core/environment.js +9 -9
- package/cjs/common/core/events.d.ts +4 -4
- package/cjs/common/core/events.js +10 -10
- package/cjs/common/core/index.d.ts +6 -6
- package/cjs/common/core/index.js +32 -32
- package/cjs/common/core/localization.d.ts +4 -4
- package/cjs/common/core/localization.js +13 -13
- package/cjs/common/data/custom-store.d.ts +3 -3
- package/cjs/common/data/custom-store.js +9 -9
- package/cjs/common/data.d.ts +4 -4
- package/cjs/common/data.js +25 -25
- package/cjs/common/export/excel.d.ts +4 -4
- package/cjs/common/export/excel.js +8 -8
- package/cjs/common/export/index.d.ts +4 -4
- package/cjs/common/export/index.js +30 -30
- package/cjs/common/export/pdf.d.ts +4 -4
- package/cjs/common/export/pdf.js +8 -8
- package/cjs/common/grids.d.ts +3 -3
- package/cjs/common/grids.js +4 -4
- package/cjs/common/index.d.ts +301 -289
- package/cjs/common/index.js +121 -121
- package/cjs/context-menu.d.ts +350 -350
- package/cjs/context-menu.js +295 -295
- package/cjs/core/component-base.d.ts +39 -39
- package/cjs/core/component-base.js +322 -322
- package/cjs/core/component.d.ts +42 -42
- package/cjs/core/component.js +88 -88
- package/cjs/core/config.d.ts +9 -9
- package/cjs/core/config.js +16 -16
- package/cjs/core/configuration/comparer.d.ts +12 -12
- package/cjs/core/configuration/comparer.js +102 -102
- package/cjs/core/configuration/config-node.d.ts +17 -17
- package/cjs/core/configuration/config-node.js +107 -107
- package/cjs/core/configuration/react/element.d.ts +36 -36
- package/cjs/core/configuration/react/element.js +52 -52
- package/cjs/core/configuration/react/templates.d.ts +7 -7
- package/cjs/core/configuration/react/templates.js +61 -61
- package/cjs/core/configuration/tree.d.ts +22 -22
- package/cjs/core/configuration/tree.js +118 -118
- package/cjs/core/configuration/utils.d.ts +16 -16
- package/cjs/core/configuration/utils.js +39 -39
- package/cjs/core/const.d.ts +3 -3
- package/cjs/core/const.js +78 -78
- package/cjs/core/contexts.d.ts +25 -25
- package/cjs/core/contexts.js +22 -22
- package/cjs/core/extension-component.d.ts +26 -26
- package/cjs/core/extension-component.js +70 -70
- package/cjs/core/helpers.d.ts +30 -30
- package/cjs/core/helpers.js +65 -65
- package/cjs/core/nested-option.d.ts +15 -15
- package/cjs/core/nested-option.js +60 -60
- package/cjs/core/options-manager.d.ts +35 -35
- package/cjs/core/options-manager.js +228 -228
- package/cjs/core/template-manager.d.ts +5 -5
- package/cjs/core/template-manager.js +164 -164
- package/cjs/core/template-wrapper.d.ts +5 -5
- package/cjs/core/template-wrapper.js +121 -121
- package/cjs/core/template.d.ts +21 -21
- package/cjs/core/template.js +33 -33
- package/cjs/core/types.d.ts +80 -80
- package/cjs/core/types.js +4 -4
- package/cjs/core/use-option-scanning.d.ts +9 -9
- package/cjs/core/use-option-scanning.js +50 -50
- package/cjs/core/widget-config.d.ts +11 -11
- package/cjs/core/widget-config.js +77 -77
- package/cjs/data-grid.d.ts +4632 -4628
- package/cjs/data-grid.js +1894 -1894
- package/cjs/date-box.d.ts +757 -757
- package/cjs/date-box.js +354 -354
- package/cjs/date-range-box.d.ts +761 -761
- package/cjs/date-range-box.js +355 -355
- package/cjs/diagram.d.ts +661 -661
- package/cjs/diagram.js +478 -478
- package/cjs/draggable.d.ts +43 -43
- package/cjs/draggable.js +78 -78
- package/cjs/drawer.d.ts +30 -30
- package/cjs/drawer.js +67 -67
- package/cjs/drop-down-box.d.ts +647 -647
- package/cjs/drop-down-box.js +349 -349
- package/cjs/drop-down-button.d.ts +562 -562
- package/cjs/drop-down-button.js +306 -306
- package/cjs/file-manager.d.ts +302 -302
- package/cjs/file-manager.js +233 -233
- package/cjs/file-uploader.d.ts +39 -39
- package/cjs/file-uploader.js +59 -59
- package/cjs/filter-builder.d.ts +216 -216
- package/cjs/filter-builder.js +156 -156
- package/cjs/form.d.ts +1020 -1020
- package/cjs/form.js +527 -527
- package/cjs/funnel.d.ts +898 -898
- package/cjs/funnel.js +479 -479
- package/cjs/gallery.d.ts +79 -79
- package/cjs/gallery.js +92 -92
- package/cjs/gantt.d.ts +798 -798
- package/cjs/gantt.js +497 -497
- package/cjs/html-editor.d.ts +480 -480
- package/cjs/html-editor.js +302 -302
- package/cjs/index.d.ts +86 -86
- package/cjs/index.js +196 -196
- package/cjs/linear-gauge.d.ts +734 -734
- package/cjs/linear-gauge.js +432 -432
- package/cjs/list.d.ts +416 -416
- package/cjs/list.js +196 -196
- package/cjs/load-indicator.d.ts +26 -26
- package/cjs/load-indicator.js +53 -53
- package/cjs/load-panel.d.ts +270 -270
- package/cjs/load-panel.js +237 -237
- package/cjs/lookup.d.ts +485 -485
- package/cjs/lookup.js +339 -339
- package/cjs/map.d.ts +156 -156
- package/cjs/map.js +164 -164
- package/cjs/menu.d.ts +355 -355
- package/cjs/menu.js +296 -296
- package/cjs/multi-view.d.ts +77 -77
- package/cjs/multi-view.js +92 -92
- package/cjs/number-box.d.ts +142 -142
- package/cjs/number-box.js +110 -110
- package/cjs/pagination.d.ts +22 -22
- package/cjs/pagination.js +60 -60
- package/cjs/pie-chart.d.ts +1449 -1449
- package/cjs/pie-chart.js +637 -637
- package/cjs/pivot-grid-field-chooser.d.ts +133 -133
- package/cjs/pivot-grid-field-chooser.js +125 -125
- package/cjs/pivot-grid.d.ts +350 -350
- package/cjs/pivot-grid.js +235 -235
- package/cjs/polar-chart.d.ts +3176 -3176
- package/cjs/polar-chart.js +1199 -1199
- package/cjs/popover.d.ts +331 -331
- package/cjs/popover.js +288 -288
- package/cjs/popup.d.ts +293 -293
- package/cjs/popup.js +262 -262
- package/cjs/progress-bar.d.ts +31 -31
- package/cjs/progress-bar.js +59 -59
- package/cjs/radio-group.d.ts +56 -56
- package/cjs/radio-group.js +90 -90
- package/cjs/range-selector.d.ts +2446 -2446
- package/cjs/range-selector.js +961 -961
- package/cjs/range-slider.d.ts +82 -82
- package/cjs/range-slider.js +107 -107
- package/cjs/resizable.d.ts +33 -33
- package/cjs/resizable.js +60 -60
- package/cjs/responsive-box.d.ts +133 -133
- package/cjs/responsive-box.js +134 -134
- package/cjs/sankey.d.ts +610 -610
- package/cjs/sankey.js +352 -352
- package/cjs/scheduler.d.ts +1620 -1620
- package/cjs/scheduler.js +775 -775
- package/cjs/scroll-view.d.ts +29 -29
- package/cjs/scroll-view.js +53 -53
- package/cjs/select-box.d.ts +676 -676
- package/cjs/select-box.js +374 -374
- package/cjs/slider.d.ts +82 -82
- package/cjs/slider.js +107 -107
- package/cjs/sortable.d.ts +47 -47
- package/cjs/sortable.js +78 -78
- package/cjs/sparkline.d.ts +205 -205
- package/cjs/sparkline.js +155 -155
- package/cjs/speech-to-text.d.ts +61 -61
- package/cjs/speech-to-text.js +83 -83
- package/cjs/speed-dial-action.d.ts +27 -27
- package/cjs/speed-dial-action.js +53 -53
- package/cjs/splitter.d.ts +85 -85
- package/cjs/splitter.js +90 -90
- package/cjs/stepper.d.ts +82 -82
- package/cjs/stepper.js +92 -92
- package/cjs/switch.d.ts +30 -30
- package/cjs/switch.js +59 -59
- package/cjs/tab-panel.d.ts +97 -97
- package/cjs/tab-panel.js +101 -101
- package/cjs/tabs.d.ts +90 -90
- package/cjs/tabs.js +94 -94
- package/cjs/tag-box.d.ts +677 -677
- package/cjs/tag-box.js +379 -379
- package/cjs/text-area.d.ts +40 -40
- package/cjs/text-area.js +59 -59
- package/cjs/text-box.d.ts +122 -122
- package/cjs/text-box.js +97 -97
- package/cjs/tile-view.d.ts +73 -73
- package/cjs/tile-view.js +90 -90
- package/cjs/toast.d.ts +255 -255
- package/cjs/toast.js +232 -232
- package/cjs/toolbar.d.ts +91 -91
- package/cjs/toolbar.js +99 -99
- package/cjs/tooltip.d.ts +283 -283
- package/cjs/tooltip.js +260 -260
- package/cjs/tree-list.d.ts +4160 -4156
- package/cjs/tree-list.js +1692 -1692
- package/cjs/tree-map.d.ts +586 -586
- package/cjs/tree-map.js +382 -382
- package/cjs/tree-view.d.ts +290 -290
- package/cjs/tree-view.js +145 -145
- package/cjs/validation-group.d.ts +25 -25
- package/cjs/validation-group.js +53 -53
- package/cjs/validation-summary.d.ts +66 -66
- package/cjs/validation-summary.js +90 -90
- package/cjs/validator.d.ts +271 -271
- package/cjs/validator.js +243 -243
- package/cjs/vector-map.d.ts +987 -987
- package/cjs/vector-map.js +487 -487
- package/esm/accordion.js +73 -73
- package/esm/action-sheet.js +61 -61
- package/esm/autocomplete.js +302 -302
- package/esm/bar-gauge.js +359 -359
- package/esm/box.js +60 -60
- package/esm/bullet.js +119 -119
- package/esm/button-group.js +61 -61
- package/esm/button.js +32 -32
- package/esm/calendar.js +39 -39
- package/esm/card-view.js +1332 -1332
- package/esm/chart.js +1447 -1447
- package/esm/chat.js +290 -290
- package/esm/check-box.js +30 -30
- package/esm/circular-gauge.js +374 -374
- package/esm/color-box.js +300 -300
- package/esm/common/ai-integration.js +3 -3
- package/esm/common/charts.js +3 -3
- package/esm/common/core/animation.js +3 -3
- package/esm/common/core/environment.js +3 -3
- package/esm/common/core/events.js +3 -3
- package/esm/common/core/index.js +6 -6
- package/esm/common/core/localization.js +3 -3
- package/esm/common/data/custom-store.js +3 -3
- package/esm/common/data.js +3 -3
- package/esm/common/export/excel.js +3 -3
- package/esm/common/export/index.js +4 -4
- package/esm/common/export/pdf.js +3 -3
- package/esm/common/grids.js +3 -3
- package/esm/common/index.js +91 -91
- package/esm/context-menu.js +251 -251
- package/esm/core/component-base.js +292 -292
- package/esm/core/component.js +62 -62
- package/esm/core/config.js +13 -13
- package/esm/core/configuration/comparer.js +98 -98
- package/esm/core/configuration/config-node.js +80 -80
- package/esm/core/configuration/react/element.js +47 -47
- package/esm/core/configuration/react/templates.js +57 -57
- package/esm/core/configuration/tree.js +110 -110
- package/esm/core/configuration/utils.js +32 -32
- package/esm/core/const.js +75 -75
- package/esm/core/contexts.js +19 -19
- package/esm/core/extension-component.js +43 -43
- package/esm/core/helpers.js +57 -57
- package/esm/core/nested-option.js +35 -35
- package/esm/core/options-manager.js +223 -223
- package/esm/core/template-manager.js +137 -137
- package/esm/core/template-wrapper.js +95 -95
- package/esm/core/template.js +29 -29
- package/esm/core/types.js +3 -3
- package/esm/core/use-option-scanning.js +46 -46
- package/esm/core/widget-config.js +72 -72
- package/esm/data-grid.js +1758 -1758
- package/esm/date-box.js +308 -308
- package/esm/date-range-box.js +309 -309
- package/esm/diagram.js +423 -423
- package/esm/draggable.js +48 -48
- package/esm/drawer.js +38 -38
- package/esm/drop-down-box.js +304 -304
- package/esm/drop-down-button.js +263 -263
- package/esm/file-manager.js +192 -192
- package/esm/file-uploader.js +30 -30
- package/esm/filter-builder.js +121 -121
- package/esm/form.js +475 -475
- package/esm/funnel.js +423 -423
- package/esm/gallery.js +62 -62
- package/esm/gantt.js +442 -442
- package/esm/html-editor.js +259 -259
- package/esm/index.js +86 -86
- package/esm/linear-gauge.js +378 -378
- package/esm/list.js +160 -160
- package/esm/load-indicator.js +24 -24
- package/esm/load-panel.js +196 -196
- package/esm/lookup.js +294 -294
- package/esm/map.js +128 -128
- package/esm/menu.js +252 -252
- package/esm/multi-view.js +62 -62
- package/esm/number-box.js +78 -78
- package/esm/pagination.js +31 -31
- package/esm/pie-chart.js +573 -573
- package/esm/pivot-grid-field-chooser.js +91 -91
- package/esm/pivot-grid.js +193 -193
- package/esm/polar-chart.js +1099 -1099
- package/esm/popover.js +245 -245
- package/esm/popup.js +221 -221
- package/esm/progress-bar.js +30 -30
- package/esm/radio-group.js +60 -60
- package/esm/range-selector.js +871 -871
- package/esm/range-slider.js +75 -75
- package/esm/resizable.js +31 -31
- package/esm/responsive-box.js +101 -101
- package/esm/sankey.js +304 -304
- package/esm/scheduler.js +713 -713
- package/esm/scroll-view.js +24 -24
- package/esm/select-box.js +328 -328
- package/esm/slider.js +75 -75
- package/esm/sortable.js +48 -48
- package/esm/sparkline.js +119 -119
- package/esm/speech-to-text.js +52 -52
- package/esm/speed-dial-action.js +24 -24
- package/esm/splitter.js +60 -60
- package/esm/stepper.js +62 -62
- package/esm/switch.js +30 -30
- package/esm/tab-panel.js +71 -71
- package/esm/tabs.js +64 -64
- package/esm/tag-box.js +333 -333
- package/esm/text-area.js +30 -30
- package/esm/text-box.js +66 -66
- package/esm/tile-view.js +60 -60
- package/esm/toast.js +192 -192
- package/esm/toolbar.js +69 -69
- package/esm/tooltip.js +218 -218
- package/esm/tree-list.js +1569 -1569
- package/esm/tree-map.js +332 -332
- package/esm/tree-view.js +112 -112
- package/esm/validation-group.js +24 -24
- package/esm/validation-summary.js +60 -60
- package/esm/validator.js +203 -203
- package/esm/vector-map.js +432 -432
- package/package.json +11 -5
package/cjs/linear-gauge.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* devextreme-react
|
|
3
|
-
* Version: 26.1.
|
|
4
|
-
* Build date:
|
|
3
|
+
* Version: 26.1.3
|
|
4
|
+
* Build date: Wed Jun 10 2026
|
|
5
5
|
*
|
|
6
6
|
* Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
|
|
7
7
|
*
|
|
@@ -11,735 +11,735 @@
|
|
|
11
11
|
* https://github.com/DevExpress/DevExtreme
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
import * as React from "react";
|
|
15
|
-
import { Ref, ReactElement } from "react";
|
|
16
|
-
import dxLinearGauge, { Properties } from "devextreme/viz/linear_gauge";
|
|
17
|
-
import { IHtmlOptions, NestedComponentMeta } from "./core/component";
|
|
18
|
-
import type { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, TooltipHiddenEvent, TooltipShownEvent } from "devextreme/viz/linear_gauge";
|
|
19
|
-
import type { AnimationEaseMode, DashStyle, Font as ChartsFont, LabelOverlap, ChartsColor, Palette, PaletteExtensionMode, TextOverflow, WordWrap } from "devextreme/common/charts";
|
|
20
|
-
import type { ExportFormat, Format as CommonFormat, Orientation, HorizontalAlignment, VerticalAlignment, HorizontalEdge, VerticalEdge, template } from "devextreme/common";
|
|
21
|
-
import type { Format as LocalizationFormat } from "devextreme/common/core/localization";
|
|
22
|
-
type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
23
|
-
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
24
|
-
};
|
|
25
|
-
type ILinearGaugeOptionsNarrowedEvents = {
|
|
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
|
-
type ILinearGaugeOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ILinearGaugeOptionsNarrowedEvents> & IHtmlOptions & {
|
|
37
|
-
defaultLoadingIndicator?: Record<string, any>;
|
|
38
|
-
defaultSubvalues?: Array<number>;
|
|
39
|
-
defaultValue?: number | undefined;
|
|
40
|
-
onLoadingIndicatorChange?: (value: Record<string, any>) => void;
|
|
41
|
-
onSubvaluesChange?: (value: Array<number>) => void;
|
|
42
|
-
onValueChange?: (value: number | undefined) => void;
|
|
43
|
-
}>;
|
|
44
|
-
interface LinearGaugeRef {
|
|
45
|
-
instance: () => dxLinearGauge;
|
|
46
|
-
}
|
|
47
|
-
declare const LinearGauge: (props: React.PropsWithChildren<ILinearGaugeOptions> & {
|
|
48
|
-
ref?: Ref<LinearGaugeRef>;
|
|
49
|
-
}) => ReactElement | null;
|
|
50
|
-
type IAnimationProps = React.PropsWithChildren<{
|
|
51
|
-
duration?: number;
|
|
52
|
-
easing?: AnimationEaseMode;
|
|
53
|
-
enabled?: boolean;
|
|
54
|
-
}>;
|
|
55
|
-
declare const Animation: ((props: IAnimationProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
56
|
-
duration?: number | undefined;
|
|
57
|
-
easing?: AnimationEaseMode | undefined;
|
|
58
|
-
enabled?: boolean | undefined;
|
|
59
|
-
} & {
|
|
60
|
-
children?: React.ReactNode;
|
|
61
|
-
} & {
|
|
62
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
63
|
-
}>>) & NestedComponentMeta;
|
|
64
|
-
type IBackgroundColorProps = React.PropsWithChildren<{
|
|
65
|
-
base?: string | undefined;
|
|
66
|
-
fillId?: string | undefined;
|
|
67
|
-
}>;
|
|
68
|
-
declare const BackgroundColor: ((props: IBackgroundColorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
69
|
-
base?: string | undefined;
|
|
70
|
-
fillId?: string | undefined;
|
|
71
|
-
} & {
|
|
72
|
-
children?: React.ReactNode;
|
|
73
|
-
} & {
|
|
74
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
75
|
-
}>>) & NestedComponentMeta;
|
|
76
|
-
type IBorderProps = React.PropsWithChildren<{
|
|
77
|
-
color?: string;
|
|
78
|
-
dashStyle?: DashStyle;
|
|
79
|
-
opacity?: number | undefined;
|
|
80
|
-
visible?: boolean;
|
|
81
|
-
width?: number;
|
|
82
|
-
}>;
|
|
83
|
-
declare const Border: ((props: IBorderProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
84
|
-
color?: string | undefined;
|
|
85
|
-
dashStyle?: DashStyle | undefined;
|
|
86
|
-
opacity?: number | undefined;
|
|
87
|
-
visible?: boolean | undefined;
|
|
88
|
-
width?: number | undefined;
|
|
89
|
-
} & {
|
|
90
|
-
children?: React.ReactNode;
|
|
91
|
-
} & {
|
|
92
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
93
|
-
}>>) & NestedComponentMeta;
|
|
94
|
-
type IColorProps = React.PropsWithChildren<{
|
|
95
|
-
base?: string | undefined;
|
|
96
|
-
fillId?: string | undefined;
|
|
97
|
-
}>;
|
|
98
|
-
declare const Color: ((props: IColorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
99
|
-
base?: string | undefined;
|
|
100
|
-
fillId?: string | undefined;
|
|
101
|
-
} & {
|
|
102
|
-
children?: React.ReactNode;
|
|
103
|
-
} & {
|
|
104
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
105
|
-
}>>) & NestedComponentMeta;
|
|
106
|
-
type IExportProps = React.PropsWithChildren<{
|
|
107
|
-
backgroundColor?: string;
|
|
108
|
-
enabled?: boolean;
|
|
109
|
-
fileName?: string;
|
|
110
|
-
formats?: Array<ExportFormat>;
|
|
111
|
-
margin?: number;
|
|
112
|
-
printingEnabled?: boolean;
|
|
113
|
-
svgToCanvas?: ((svg: any, canvas: any) => any) | undefined;
|
|
114
|
-
}>;
|
|
115
|
-
declare const Export: ((props: IExportProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
116
|
-
backgroundColor?: string | undefined;
|
|
117
|
-
enabled?: boolean | undefined;
|
|
118
|
-
fileName?: string | undefined;
|
|
119
|
-
formats?: ExportFormat[] | undefined;
|
|
120
|
-
margin?: number | undefined;
|
|
121
|
-
printingEnabled?: boolean | undefined;
|
|
122
|
-
svgToCanvas?: ((svg: any, canvas: any) => any) | undefined;
|
|
123
|
-
} & {
|
|
124
|
-
children?: React.ReactNode;
|
|
125
|
-
} & {
|
|
126
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
127
|
-
}>>) & NestedComponentMeta;
|
|
128
|
-
type IFontProps = React.PropsWithChildren<{
|
|
129
|
-
color?: string;
|
|
130
|
-
family?: string;
|
|
131
|
-
opacity?: number;
|
|
132
|
-
size?: number | string;
|
|
133
|
-
weight?: number;
|
|
134
|
-
}>;
|
|
135
|
-
declare const Font: ((props: IFontProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
136
|
-
color?: string | undefined;
|
|
137
|
-
family?: string | undefined;
|
|
138
|
-
opacity?: number | undefined;
|
|
139
|
-
size?: string | number | undefined;
|
|
140
|
-
weight?: number | undefined;
|
|
141
|
-
} & {
|
|
142
|
-
children?: React.ReactNode;
|
|
143
|
-
} & {
|
|
144
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
145
|
-
}>>) & NestedComponentMeta;
|
|
146
|
-
type IFormatProps = React.PropsWithChildren<{
|
|
147
|
-
currency?: string;
|
|
148
|
-
formatter?: ((value: number | Date) => string);
|
|
149
|
-
parser?: ((value: string) => number | Date);
|
|
150
|
-
precision?: number;
|
|
151
|
-
type?: CommonFormat | string;
|
|
152
|
-
useCurrencyAccountingStyle?: boolean;
|
|
153
|
-
}>;
|
|
154
|
-
declare const Format: ((props: IFormatProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
155
|
-
currency?: string | undefined;
|
|
156
|
-
formatter?: ((value: number | Date) => string) | undefined;
|
|
157
|
-
parser?: ((value: string) => number | Date) | undefined;
|
|
158
|
-
precision?: number | undefined;
|
|
159
|
-
type?: string | undefined;
|
|
160
|
-
useCurrencyAccountingStyle?: boolean | undefined;
|
|
161
|
-
} & {
|
|
162
|
-
children?: React.ReactNode;
|
|
163
|
-
} & {
|
|
164
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
165
|
-
}>>) & NestedComponentMeta;
|
|
166
|
-
type IGeometryProps = React.PropsWithChildren<{
|
|
167
|
-
orientation?: Orientation;
|
|
168
|
-
}>;
|
|
169
|
-
declare const Geometry: ((props: IGeometryProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
170
|
-
orientation?: Orientation | undefined;
|
|
171
|
-
} & {
|
|
172
|
-
children?: React.ReactNode;
|
|
173
|
-
} & {
|
|
174
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
175
|
-
}>>) & NestedComponentMeta;
|
|
176
|
-
type ILabelProps = React.PropsWithChildren<{
|
|
177
|
-
customizeText?: ((scaleValue: {
|
|
178
|
-
value: number;
|
|
179
|
-
valueText: string;
|
|
180
|
-
}) => string);
|
|
181
|
-
font?: ChartsFont;
|
|
182
|
-
format?: LocalizationFormat | undefined;
|
|
183
|
-
indentFromTick?: number;
|
|
184
|
-
overlappingBehavior?: LabelOverlap;
|
|
185
|
-
useRangeColors?: boolean;
|
|
186
|
-
visible?: boolean;
|
|
187
|
-
}>;
|
|
188
|
-
declare const Label: ((props: ILabelProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
189
|
-
customizeText?: ((scaleValue: {
|
|
190
|
-
value: number;
|
|
191
|
-
valueText: string;
|
|
192
|
-
}) => string) | undefined;
|
|
193
|
-
font?: ChartsFont | undefined;
|
|
194
|
-
format?: LocalizationFormat | undefined;
|
|
195
|
-
indentFromTick?: number | undefined;
|
|
196
|
-
overlappingBehavior?: LabelOverlap | undefined;
|
|
197
|
-
useRangeColors?: boolean | undefined;
|
|
198
|
-
visible?: boolean | undefined;
|
|
199
|
-
} & {
|
|
200
|
-
children?: React.ReactNode;
|
|
201
|
-
} & {
|
|
202
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
203
|
-
}>>) & NestedComponentMeta;
|
|
204
|
-
type ILoadingIndicatorProps = React.PropsWithChildren<{
|
|
205
|
-
backgroundColor?: string;
|
|
206
|
-
font?: ChartsFont;
|
|
207
|
-
show?: boolean;
|
|
208
|
-
text?: string;
|
|
209
|
-
defaultShow?: boolean;
|
|
210
|
-
onShowChange?: (value: boolean) => void;
|
|
211
|
-
}>;
|
|
212
|
-
declare const LoadingIndicator: ((props: ILoadingIndicatorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
213
|
-
backgroundColor?: string | undefined;
|
|
214
|
-
font?: ChartsFont | undefined;
|
|
215
|
-
show?: boolean | undefined;
|
|
216
|
-
text?: string | undefined;
|
|
217
|
-
defaultShow?: boolean | undefined;
|
|
218
|
-
onShowChange?: ((value: boolean) => void) | undefined;
|
|
219
|
-
} & {
|
|
220
|
-
children?: React.ReactNode;
|
|
221
|
-
} & {
|
|
222
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
223
|
-
}>>) & NestedComponentMeta;
|
|
224
|
-
type IMarginProps = React.PropsWithChildren<{
|
|
225
|
-
bottom?: number;
|
|
226
|
-
left?: number;
|
|
227
|
-
right?: number;
|
|
228
|
-
top?: number;
|
|
229
|
-
}>;
|
|
230
|
-
declare const Margin: ((props: IMarginProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
231
|
-
bottom?: number | undefined;
|
|
232
|
-
left?: number | undefined;
|
|
233
|
-
right?: number | undefined;
|
|
234
|
-
top?: number | undefined;
|
|
235
|
-
} & {
|
|
236
|
-
children?: React.ReactNode;
|
|
237
|
-
} & {
|
|
238
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
239
|
-
}>>) & NestedComponentMeta;
|
|
240
|
-
type IMinorTickProps = React.PropsWithChildren<{
|
|
241
|
-
color?: string;
|
|
242
|
-
length?: number;
|
|
243
|
-
opacity?: number;
|
|
244
|
-
visible?: boolean;
|
|
245
|
-
width?: number;
|
|
246
|
-
}>;
|
|
247
|
-
declare const MinorTick: ((props: IMinorTickProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
248
|
-
color?: string | undefined;
|
|
249
|
-
length?: number | undefined;
|
|
250
|
-
opacity?: number | undefined;
|
|
251
|
-
visible?: boolean | undefined;
|
|
252
|
-
width?: number | undefined;
|
|
253
|
-
} & {
|
|
254
|
-
children?: React.ReactNode;
|
|
255
|
-
} & {
|
|
256
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
257
|
-
}>>) & NestedComponentMeta;
|
|
258
|
-
type IRangeProps = React.PropsWithChildren<{
|
|
259
|
-
color?: ChartsColor | string;
|
|
260
|
-
endValue?: number;
|
|
261
|
-
startValue?: number;
|
|
262
|
-
}>;
|
|
263
|
-
declare const Range: ((props: IRangeProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
264
|
-
color?: string | ChartsColor | undefined;
|
|
265
|
-
endValue?: number | undefined;
|
|
266
|
-
startValue?: number | undefined;
|
|
267
|
-
} & {
|
|
268
|
-
children?: React.ReactNode;
|
|
269
|
-
} & {
|
|
270
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
271
|
-
}>>) & NestedComponentMeta;
|
|
272
|
-
type IRangeContainerProps = React.PropsWithChildren<{
|
|
273
|
-
backgroundColor?: ChartsColor | string;
|
|
274
|
-
horizontalOrientation?: HorizontalAlignment;
|
|
275
|
-
offset?: number;
|
|
276
|
-
palette?: Array<string> | Palette;
|
|
277
|
-
paletteExtensionMode?: PaletteExtensionMode;
|
|
278
|
-
ranges?: Array<Record<string, any>> | {
|
|
279
|
-
color?: ChartsColor | string;
|
|
280
|
-
endValue?: number;
|
|
281
|
-
startValue?: number;
|
|
282
|
-
}[];
|
|
283
|
-
verticalOrientation?: VerticalAlignment;
|
|
284
|
-
width?: number | Record<string, any> | {
|
|
285
|
-
end?: number;
|
|
286
|
-
start?: number;
|
|
287
|
-
};
|
|
288
|
-
}>;
|
|
289
|
-
declare const RangeContainer: ((props: IRangeContainerProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
290
|
-
backgroundColor?: string | ChartsColor | undefined;
|
|
291
|
-
horizontalOrientation?: HorizontalAlignment | undefined;
|
|
292
|
-
offset?: number | undefined;
|
|
293
|
-
palette?: string[] | Palette | undefined;
|
|
294
|
-
paletteExtensionMode?: PaletteExtensionMode | undefined;
|
|
295
|
-
ranges?: Record<string, any>[] | {
|
|
296
|
-
color?: string | ChartsColor | undefined;
|
|
297
|
-
endValue?: number | undefined;
|
|
298
|
-
startValue?: number | undefined;
|
|
299
|
-
}[] | undefined;
|
|
300
|
-
verticalOrientation?: VerticalAlignment | undefined;
|
|
301
|
-
width?: number | Record<string, any> | {
|
|
302
|
-
end?: number | undefined;
|
|
303
|
-
start?: number | undefined;
|
|
304
|
-
} | undefined;
|
|
305
|
-
} & {
|
|
306
|
-
children?: React.ReactNode;
|
|
307
|
-
} & {
|
|
308
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
309
|
-
}>>) & NestedComponentMeta;
|
|
310
|
-
type IScaleProps = React.PropsWithChildren<{
|
|
311
|
-
allowDecimals?: boolean | undefined;
|
|
312
|
-
customMinorTicks?: Array<number>;
|
|
313
|
-
customTicks?: Array<number>;
|
|
314
|
-
endValue?: number;
|
|
315
|
-
horizontalOrientation?: HorizontalAlignment;
|
|
316
|
-
label?: Record<string, any> | {
|
|
317
|
-
customizeText?: ((scaleValue: {
|
|
318
|
-
value: number;
|
|
319
|
-
valueText: string;
|
|
320
|
-
}) => string);
|
|
321
|
-
font?: ChartsFont;
|
|
322
|
-
format?: LocalizationFormat | undefined;
|
|
323
|
-
indentFromTick?: number;
|
|
324
|
-
overlappingBehavior?: LabelOverlap;
|
|
325
|
-
useRangeColors?: boolean;
|
|
326
|
-
visible?: boolean;
|
|
327
|
-
};
|
|
328
|
-
minorTick?: Record<string, any> | {
|
|
329
|
-
color?: string;
|
|
330
|
-
length?: number;
|
|
331
|
-
opacity?: number;
|
|
332
|
-
visible?: boolean;
|
|
333
|
-
width?: number;
|
|
334
|
-
};
|
|
335
|
-
minorTickInterval?: number | undefined;
|
|
336
|
-
scaleDivisionFactor?: number;
|
|
337
|
-
startValue?: number;
|
|
338
|
-
tick?: Record<string, any> | {
|
|
339
|
-
color?: string;
|
|
340
|
-
length?: number;
|
|
341
|
-
opacity?: number;
|
|
342
|
-
visible?: boolean;
|
|
343
|
-
width?: number;
|
|
344
|
-
};
|
|
345
|
-
tickInterval?: number | undefined;
|
|
346
|
-
verticalOrientation?: VerticalAlignment;
|
|
347
|
-
}>;
|
|
348
|
-
declare const Scale: ((props: IScaleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
349
|
-
allowDecimals?: boolean | undefined;
|
|
350
|
-
customMinorTicks?: number[] | undefined;
|
|
351
|
-
customTicks?: number[] | undefined;
|
|
352
|
-
endValue?: number | undefined;
|
|
353
|
-
horizontalOrientation?: HorizontalAlignment | undefined;
|
|
354
|
-
label?: Record<string, any> | {
|
|
355
|
-
customizeText?: ((scaleValue: {
|
|
356
|
-
value: number;
|
|
357
|
-
valueText: string;
|
|
358
|
-
}) => string) | undefined;
|
|
359
|
-
font?: ChartsFont | undefined;
|
|
360
|
-
format?: LocalizationFormat | undefined;
|
|
361
|
-
indentFromTick?: number | undefined;
|
|
362
|
-
overlappingBehavior?: LabelOverlap | undefined;
|
|
363
|
-
useRangeColors?: boolean | undefined;
|
|
364
|
-
visible?: boolean | undefined;
|
|
365
|
-
} | undefined;
|
|
366
|
-
minorTick?: Record<string, any> | {
|
|
367
|
-
color?: string | undefined;
|
|
368
|
-
length?: number | undefined;
|
|
369
|
-
opacity?: number | undefined;
|
|
370
|
-
visible?: boolean | undefined;
|
|
371
|
-
width?: number | undefined;
|
|
372
|
-
} | undefined;
|
|
373
|
-
minorTickInterval?: number | undefined;
|
|
374
|
-
scaleDivisionFactor?: number | undefined;
|
|
375
|
-
startValue?: number | undefined;
|
|
376
|
-
tick?: Record<string, any> | {
|
|
377
|
-
color?: string | undefined;
|
|
378
|
-
length?: number | undefined;
|
|
379
|
-
opacity?: number | undefined;
|
|
380
|
-
visible?: boolean | undefined;
|
|
381
|
-
width?: number | undefined;
|
|
382
|
-
} | undefined;
|
|
383
|
-
tickInterval?: number | undefined;
|
|
384
|
-
verticalOrientation?: VerticalAlignment | undefined;
|
|
385
|
-
} & {
|
|
386
|
-
children?: React.ReactNode;
|
|
387
|
-
} & {
|
|
388
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
389
|
-
}>>) & NestedComponentMeta;
|
|
390
|
-
type IShadowProps = React.PropsWithChildren<{
|
|
391
|
-
blur?: number;
|
|
392
|
-
color?: string;
|
|
393
|
-
offsetX?: number;
|
|
394
|
-
offsetY?: number;
|
|
395
|
-
opacity?: number;
|
|
396
|
-
}>;
|
|
397
|
-
declare const Shadow: ((props: IShadowProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
398
|
-
blur?: number | undefined;
|
|
399
|
-
color?: string | undefined;
|
|
400
|
-
offsetX?: number | undefined;
|
|
401
|
-
offsetY?: number | undefined;
|
|
402
|
-
opacity?: number | undefined;
|
|
403
|
-
} & {
|
|
404
|
-
children?: React.ReactNode;
|
|
405
|
-
} & {
|
|
406
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
407
|
-
}>>) & NestedComponentMeta;
|
|
408
|
-
type ISizeProps = React.PropsWithChildren<{
|
|
409
|
-
height?: number | undefined;
|
|
410
|
-
width?: number | undefined;
|
|
411
|
-
}>;
|
|
412
|
-
declare const Size: ((props: ISizeProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
413
|
-
height?: number | undefined;
|
|
414
|
-
width?: number | undefined;
|
|
415
|
-
} & {
|
|
416
|
-
children?: React.ReactNode;
|
|
417
|
-
} & {
|
|
418
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
419
|
-
}>>) & NestedComponentMeta;
|
|
420
|
-
type ISubtitleProps = React.PropsWithChildren<{
|
|
421
|
-
font?: ChartsFont;
|
|
422
|
-
offset?: number;
|
|
423
|
-
text?: string;
|
|
424
|
-
textOverflow?: TextOverflow;
|
|
425
|
-
wordWrap?: WordWrap;
|
|
426
|
-
}>;
|
|
427
|
-
declare const Subtitle: ((props: ISubtitleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
428
|
-
font?: ChartsFont | undefined;
|
|
429
|
-
offset?: number | undefined;
|
|
430
|
-
text?: string | undefined;
|
|
431
|
-
textOverflow?: TextOverflow | undefined;
|
|
432
|
-
wordWrap?: WordWrap | undefined;
|
|
433
|
-
} & {
|
|
434
|
-
children?: React.ReactNode;
|
|
435
|
-
} & {
|
|
436
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
437
|
-
}>>) & NestedComponentMeta;
|
|
438
|
-
type ISubvalueIndicatorProps = React.PropsWithChildren<{
|
|
439
|
-
arrowLength?: number;
|
|
440
|
-
backgroundColor?: string;
|
|
441
|
-
baseValue?: number | undefined;
|
|
442
|
-
beginAdaptingAtRadius?: number;
|
|
443
|
-
color?: ChartsColor | string;
|
|
444
|
-
horizontalOrientation?: HorizontalEdge;
|
|
445
|
-
indentFromCenter?: number;
|
|
446
|
-
length?: number;
|
|
447
|
-
offset?: number;
|
|
448
|
-
palette?: Array<string> | Palette;
|
|
449
|
-
secondColor?: string;
|
|
450
|
-
secondFraction?: number;
|
|
451
|
-
size?: number;
|
|
452
|
-
spindleGapSize?: number;
|
|
453
|
-
spindleSize?: number;
|
|
454
|
-
text?: Record<string, any> | {
|
|
455
|
-
customizeText?: ((indicatedValue: {
|
|
456
|
-
value: number;
|
|
457
|
-
valueText: string;
|
|
458
|
-
}) => string) | undefined;
|
|
459
|
-
font?: ChartsFont;
|
|
460
|
-
format?: LocalizationFormat | undefined;
|
|
461
|
-
indent?: number;
|
|
462
|
-
};
|
|
463
|
-
type?: "circle" | "rangeBar" | "rectangle" | "rectangleNeedle" | "rhombus" | "textCloud" | "triangleMarker" | "triangleNeedle" | "twoColorNeedle";
|
|
464
|
-
verticalOrientation?: VerticalEdge;
|
|
465
|
-
width?: number;
|
|
466
|
-
}>;
|
|
467
|
-
declare const SubvalueIndicator: ((props: ISubvalueIndicatorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
468
|
-
arrowLength?: number | undefined;
|
|
469
|
-
backgroundColor?: string | undefined;
|
|
470
|
-
baseValue?: number | undefined;
|
|
471
|
-
beginAdaptingAtRadius?: number | undefined;
|
|
472
|
-
color?: string | ChartsColor | undefined;
|
|
473
|
-
horizontalOrientation?: HorizontalEdge | undefined;
|
|
474
|
-
indentFromCenter?: number | undefined;
|
|
475
|
-
length?: number | undefined;
|
|
476
|
-
offset?: number | undefined;
|
|
477
|
-
palette?: string[] | Palette | undefined;
|
|
478
|
-
secondColor?: string | undefined;
|
|
479
|
-
secondFraction?: number | undefined;
|
|
480
|
-
size?: number | undefined;
|
|
481
|
-
spindleGapSize?: number | undefined;
|
|
482
|
-
spindleSize?: number | undefined;
|
|
483
|
-
text?: Record<string, any> | {
|
|
484
|
-
customizeText?: ((indicatedValue: {
|
|
485
|
-
value: number;
|
|
486
|
-
valueText: string;
|
|
487
|
-
}) => string) | undefined;
|
|
488
|
-
font?: ChartsFont | undefined;
|
|
489
|
-
format?: LocalizationFormat | undefined;
|
|
490
|
-
indent?: number | undefined;
|
|
491
|
-
} | undefined;
|
|
492
|
-
type?: "circle" | "rangeBar" | "rectangle" | "rectangleNeedle" | "rhombus" | "textCloud" | "triangleMarker" | "triangleNeedle" | "twoColorNeedle" | undefined;
|
|
493
|
-
verticalOrientation?: VerticalEdge | undefined;
|
|
494
|
-
width?: number | undefined;
|
|
495
|
-
} & {
|
|
496
|
-
children?: React.ReactNode;
|
|
497
|
-
} & {
|
|
498
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
499
|
-
}>>) & NestedComponentMeta;
|
|
500
|
-
type ITextProps = React.PropsWithChildren<{
|
|
501
|
-
customizeText?: ((indicatedValue: {
|
|
502
|
-
value: number;
|
|
503
|
-
valueText: string;
|
|
504
|
-
}) => string) | undefined;
|
|
505
|
-
font?: ChartsFont;
|
|
506
|
-
format?: LocalizationFormat | undefined;
|
|
507
|
-
indent?: number;
|
|
508
|
-
}>;
|
|
509
|
-
declare const Text: ((props: ITextProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
510
|
-
customizeText?: ((indicatedValue: {
|
|
511
|
-
value: number;
|
|
512
|
-
valueText: string;
|
|
513
|
-
}) => string) | undefined;
|
|
514
|
-
font?: ChartsFont | undefined;
|
|
515
|
-
format?: LocalizationFormat | undefined;
|
|
516
|
-
indent?: number | undefined;
|
|
517
|
-
} & {
|
|
518
|
-
children?: React.ReactNode;
|
|
519
|
-
} & {
|
|
520
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
521
|
-
}>>) & NestedComponentMeta;
|
|
522
|
-
type ITickProps = React.PropsWithChildren<{
|
|
523
|
-
color?: string;
|
|
524
|
-
length?: number;
|
|
525
|
-
opacity?: number;
|
|
526
|
-
visible?: boolean;
|
|
527
|
-
width?: number;
|
|
528
|
-
}>;
|
|
529
|
-
declare const Tick: ((props: ITickProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
530
|
-
color?: string | undefined;
|
|
531
|
-
length?: number | undefined;
|
|
532
|
-
opacity?: number | undefined;
|
|
533
|
-
visible?: boolean | undefined;
|
|
534
|
-
width?: number | undefined;
|
|
535
|
-
} & {
|
|
536
|
-
children?: React.ReactNode;
|
|
537
|
-
} & {
|
|
538
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
539
|
-
}>>) & NestedComponentMeta;
|
|
540
|
-
type ITitleProps = React.PropsWithChildren<{
|
|
541
|
-
font?: ChartsFont;
|
|
542
|
-
horizontalAlignment?: HorizontalAlignment;
|
|
543
|
-
margin?: number | Record<string, any> | {
|
|
544
|
-
bottom?: number;
|
|
545
|
-
left?: number;
|
|
546
|
-
right?: number;
|
|
547
|
-
top?: number;
|
|
548
|
-
};
|
|
549
|
-
placeholderSize?: number | undefined;
|
|
550
|
-
subtitle?: Record<string, any> | string | {
|
|
551
|
-
font?: ChartsFont;
|
|
552
|
-
offset?: number;
|
|
553
|
-
text?: string;
|
|
554
|
-
textOverflow?: TextOverflow;
|
|
555
|
-
wordWrap?: WordWrap;
|
|
556
|
-
};
|
|
557
|
-
text?: string;
|
|
558
|
-
textOverflow?: TextOverflow;
|
|
559
|
-
verticalAlignment?: VerticalEdge;
|
|
560
|
-
wordWrap?: WordWrap;
|
|
561
|
-
}>;
|
|
562
|
-
declare const Title: ((props: ITitleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
563
|
-
font?: ChartsFont | undefined;
|
|
564
|
-
horizontalAlignment?: HorizontalAlignment | undefined;
|
|
565
|
-
margin?: number | Record<string, any> | {
|
|
566
|
-
bottom?: number | undefined;
|
|
567
|
-
left?: number | undefined;
|
|
568
|
-
right?: number | undefined;
|
|
569
|
-
top?: number | undefined;
|
|
570
|
-
} | undefined;
|
|
571
|
-
placeholderSize?: number | undefined;
|
|
572
|
-
subtitle?: string | Record<string, any> | {
|
|
573
|
-
font?: ChartsFont | undefined;
|
|
574
|
-
offset?: number | undefined;
|
|
575
|
-
text?: string | undefined;
|
|
576
|
-
textOverflow?: TextOverflow | undefined;
|
|
577
|
-
wordWrap?: WordWrap | undefined;
|
|
578
|
-
} | undefined;
|
|
579
|
-
text?: string | undefined;
|
|
580
|
-
textOverflow?: TextOverflow | undefined;
|
|
581
|
-
verticalAlignment?: VerticalEdge | undefined;
|
|
582
|
-
wordWrap?: WordWrap | undefined;
|
|
583
|
-
} & {
|
|
584
|
-
children?: React.ReactNode;
|
|
585
|
-
} & {
|
|
586
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
587
|
-
}>>) & NestedComponentMeta;
|
|
588
|
-
type ITooltipProps = React.PropsWithChildren<{
|
|
589
|
-
arrowLength?: number;
|
|
590
|
-
border?: Record<string, any> | {
|
|
591
|
-
color?: string;
|
|
592
|
-
dashStyle?: DashStyle;
|
|
593
|
-
opacity?: number | undefined;
|
|
594
|
-
visible?: boolean;
|
|
595
|
-
width?: number;
|
|
596
|
-
};
|
|
597
|
-
color?: string;
|
|
598
|
-
container?: any | string | undefined;
|
|
599
|
-
contentTemplate?: ((scaleValue: {
|
|
600
|
-
value: number;
|
|
601
|
-
valueText: string;
|
|
602
|
-
}, element: any) => string | any) | template | undefined;
|
|
603
|
-
cornerRadius?: number;
|
|
604
|
-
customizeTooltip?: ((scaleValue: {
|
|
605
|
-
value: number;
|
|
606
|
-
valueText: string;
|
|
607
|
-
}) => Record<string, any>) | undefined;
|
|
608
|
-
enabled?: boolean;
|
|
609
|
-
font?: ChartsFont;
|
|
610
|
-
format?: LocalizationFormat | undefined;
|
|
611
|
-
interactive?: boolean;
|
|
612
|
-
opacity?: number | undefined;
|
|
613
|
-
paddingLeftRight?: number;
|
|
614
|
-
paddingTopBottom?: number;
|
|
615
|
-
shadow?: Record<string, any> | {
|
|
616
|
-
blur?: number;
|
|
617
|
-
color?: string;
|
|
618
|
-
offsetX?: number;
|
|
619
|
-
offsetY?: number;
|
|
620
|
-
opacity?: number;
|
|
621
|
-
};
|
|
622
|
-
zIndex?: number | undefined;
|
|
623
|
-
contentRender?: (...params: any) => React.ReactNode;
|
|
624
|
-
contentComponent?: React.ComponentType<any>;
|
|
625
|
-
}>;
|
|
626
|
-
declare const Tooltip: ((props: ITooltipProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
627
|
-
arrowLength?: number | undefined;
|
|
628
|
-
border?: Record<string, any> | {
|
|
629
|
-
color?: string | undefined;
|
|
630
|
-
dashStyle?: DashStyle | undefined;
|
|
631
|
-
opacity?: number | undefined;
|
|
632
|
-
visible?: boolean | undefined;
|
|
633
|
-
width?: number | undefined;
|
|
634
|
-
} | undefined;
|
|
635
|
-
color?: string | undefined;
|
|
636
|
-
container?: any | string | undefined;
|
|
637
|
-
contentTemplate?: template | ((scaleValue: {
|
|
638
|
-
value: number;
|
|
639
|
-
valueText: string;
|
|
640
|
-
}, element: any) => string | any) | undefined;
|
|
641
|
-
cornerRadius?: number | undefined;
|
|
642
|
-
customizeTooltip?: ((scaleValue: {
|
|
643
|
-
value: number;
|
|
644
|
-
valueText: string;
|
|
645
|
-
}) => Record<string, any>) | undefined;
|
|
646
|
-
enabled?: boolean | undefined;
|
|
647
|
-
font?: ChartsFont | undefined;
|
|
648
|
-
format?: LocalizationFormat | undefined;
|
|
649
|
-
interactive?: boolean | undefined;
|
|
650
|
-
opacity?: number | undefined;
|
|
651
|
-
paddingLeftRight?: number | undefined;
|
|
652
|
-
paddingTopBottom?: number | undefined;
|
|
653
|
-
shadow?: Record<string, any> | {
|
|
654
|
-
blur?: number | undefined;
|
|
655
|
-
color?: string | undefined;
|
|
656
|
-
offsetX?: number | undefined;
|
|
657
|
-
offsetY?: number | undefined;
|
|
658
|
-
opacity?: number | undefined;
|
|
659
|
-
} | undefined;
|
|
660
|
-
zIndex?: number | undefined;
|
|
661
|
-
contentRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
662
|
-
contentComponent?: React.ComponentType<any> | undefined;
|
|
663
|
-
} & {
|
|
664
|
-
children?: React.ReactNode;
|
|
665
|
-
} & {
|
|
666
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
667
|
-
}>>) & NestedComponentMeta;
|
|
668
|
-
type IValueIndicatorProps = React.PropsWithChildren<{
|
|
669
|
-
arrowLength?: number;
|
|
670
|
-
backgroundColor?: string;
|
|
671
|
-
baseValue?: number | undefined;
|
|
672
|
-
beginAdaptingAtRadius?: number;
|
|
673
|
-
color?: ChartsColor | string;
|
|
674
|
-
horizontalOrientation?: HorizontalEdge;
|
|
675
|
-
indentFromCenter?: number;
|
|
676
|
-
length?: number;
|
|
677
|
-
offset?: number;
|
|
678
|
-
palette?: Array<string> | Palette;
|
|
679
|
-
secondColor?: string;
|
|
680
|
-
secondFraction?: number;
|
|
681
|
-
size?: number;
|
|
682
|
-
spindleGapSize?: number;
|
|
683
|
-
spindleSize?: number;
|
|
684
|
-
text?: Record<string, any> | {
|
|
685
|
-
customizeText?: ((indicatedValue: {
|
|
686
|
-
value: number;
|
|
687
|
-
valueText: string;
|
|
688
|
-
}) => string) | undefined;
|
|
689
|
-
font?: ChartsFont;
|
|
690
|
-
format?: LocalizationFormat | undefined;
|
|
691
|
-
indent?: number;
|
|
692
|
-
};
|
|
693
|
-
type?: "circle" | "rangeBar" | "rectangle" | "rectangleNeedle" | "rhombus" | "textCloud" | "triangleMarker" | "triangleNeedle" | "twoColorNeedle";
|
|
694
|
-
verticalOrientation?: VerticalEdge;
|
|
695
|
-
width?: number;
|
|
696
|
-
}>;
|
|
697
|
-
declare const ValueIndicator: ((props: IValueIndicatorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
698
|
-
arrowLength?: number | undefined;
|
|
699
|
-
backgroundColor?: string | undefined;
|
|
700
|
-
baseValue?: number | undefined;
|
|
701
|
-
beginAdaptingAtRadius?: number | undefined;
|
|
702
|
-
color?: string | ChartsColor | undefined;
|
|
703
|
-
horizontalOrientation?: HorizontalEdge | undefined;
|
|
704
|
-
indentFromCenter?: number | undefined;
|
|
705
|
-
length?: number | undefined;
|
|
706
|
-
offset?: number | undefined;
|
|
707
|
-
palette?: string[] | Palette | undefined;
|
|
708
|
-
secondColor?: string | undefined;
|
|
709
|
-
secondFraction?: number | undefined;
|
|
710
|
-
size?: number | undefined;
|
|
711
|
-
spindleGapSize?: number | undefined;
|
|
712
|
-
spindleSize?: number | undefined;
|
|
713
|
-
text?: Record<string, any> | {
|
|
714
|
-
customizeText?: ((indicatedValue: {
|
|
715
|
-
value: number;
|
|
716
|
-
valueText: string;
|
|
717
|
-
}) => string) | undefined;
|
|
718
|
-
font?: ChartsFont | undefined;
|
|
719
|
-
format?: LocalizationFormat | undefined;
|
|
720
|
-
indent?: number | undefined;
|
|
721
|
-
} | undefined;
|
|
722
|
-
type?: "circle" | "rangeBar" | "rectangle" | "rectangleNeedle" | "rhombus" | "textCloud" | "triangleMarker" | "triangleNeedle" | "twoColorNeedle" | undefined;
|
|
723
|
-
verticalOrientation?: VerticalEdge | undefined;
|
|
724
|
-
width?: number | undefined;
|
|
725
|
-
} & {
|
|
726
|
-
children?: React.ReactNode;
|
|
727
|
-
} & {
|
|
728
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
729
|
-
}>>) & NestedComponentMeta;
|
|
730
|
-
type IWidthProps = React.PropsWithChildren<{
|
|
731
|
-
end?: number;
|
|
732
|
-
start?: number;
|
|
733
|
-
}>;
|
|
734
|
-
declare const Width: ((props: IWidthProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
735
|
-
end?: number | undefined;
|
|
736
|
-
start?: number | undefined;
|
|
737
|
-
} & {
|
|
738
|
-
children?: React.ReactNode;
|
|
739
|
-
} & {
|
|
740
|
-
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
741
|
-
}>>) & NestedComponentMeta;
|
|
742
|
-
export default LinearGauge;
|
|
743
|
-
export { LinearGauge, ILinearGaugeOptions, LinearGaugeRef, Animation, IAnimationProps, BackgroundColor, IBackgroundColorProps, Border, IBorderProps, Color, IColorProps, Export, IExportProps, Font, IFontProps, Format, IFormatProps, Geometry, IGeometryProps, Label, ILabelProps, LoadingIndicator, ILoadingIndicatorProps, Margin, IMarginProps, MinorTick, IMinorTickProps, Range, IRangeProps, RangeContainer, IRangeContainerProps, Scale, IScaleProps, Shadow, IShadowProps, Size, ISizeProps, Subtitle, ISubtitleProps, SubvalueIndicator, ISubvalueIndicatorProps, Text, ITextProps, Tick, ITickProps, Title, ITitleProps, Tooltip, ITooltipProps, ValueIndicator, IValueIndicatorProps, Width, IWidthProps };
|
|
744
|
-
import type * as LinearGaugeTypes from 'devextreme/viz/linear_gauge_types';
|
|
745
|
-
export { LinearGaugeTypes };
|
|
14
|
+
import * as React from "react";
|
|
15
|
+
import { Ref, ReactElement } from "react";
|
|
16
|
+
import dxLinearGauge, { Properties } from "devextreme/viz/linear_gauge";
|
|
17
|
+
import { IHtmlOptions, NestedComponentMeta } from "./core/component";
|
|
18
|
+
import type { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, TooltipHiddenEvent, TooltipShownEvent } from "devextreme/viz/linear_gauge";
|
|
19
|
+
import type { AnimationEaseMode, DashStyle, Font as ChartsFont, LabelOverlap, ChartsColor, Palette, PaletteExtensionMode, TextOverflow, WordWrap } from "devextreme/common/charts";
|
|
20
|
+
import type { ExportFormat, Format as CommonFormat, Orientation, HorizontalAlignment, VerticalAlignment, HorizontalEdge, VerticalEdge, template } from "devextreme/common";
|
|
21
|
+
import type { Format as LocalizationFormat } from "devextreme/common/core/localization";
|
|
22
|
+
type ReplaceFieldTypes<TSource, TReplacement> = {
|
|
23
|
+
[P in keyof TSource]: P extends keyof TReplacement ? TReplacement[P] : TSource[P];
|
|
24
|
+
};
|
|
25
|
+
type ILinearGaugeOptionsNarrowedEvents = {
|
|
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
|
+
type ILinearGaugeOptions = React.PropsWithChildren<ReplaceFieldTypes<Properties, ILinearGaugeOptionsNarrowedEvents> & IHtmlOptions & {
|
|
37
|
+
defaultLoadingIndicator?: Record<string, any>;
|
|
38
|
+
defaultSubvalues?: Array<number>;
|
|
39
|
+
defaultValue?: number | undefined;
|
|
40
|
+
onLoadingIndicatorChange?: (value: Record<string, any>) => void;
|
|
41
|
+
onSubvaluesChange?: (value: Array<number>) => void;
|
|
42
|
+
onValueChange?: (value: number | undefined) => void;
|
|
43
|
+
}>;
|
|
44
|
+
interface LinearGaugeRef {
|
|
45
|
+
instance: () => dxLinearGauge;
|
|
46
|
+
}
|
|
47
|
+
declare const LinearGauge: (props: React.PropsWithChildren<ILinearGaugeOptions> & {
|
|
48
|
+
ref?: Ref<LinearGaugeRef>;
|
|
49
|
+
}) => ReactElement | null;
|
|
50
|
+
type IAnimationProps = React.PropsWithChildren<{
|
|
51
|
+
duration?: number;
|
|
52
|
+
easing?: AnimationEaseMode;
|
|
53
|
+
enabled?: boolean;
|
|
54
|
+
}>;
|
|
55
|
+
declare const Animation: ((props: IAnimationProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
56
|
+
duration?: number | undefined;
|
|
57
|
+
easing?: AnimationEaseMode | undefined;
|
|
58
|
+
enabled?: boolean | undefined;
|
|
59
|
+
} & {
|
|
60
|
+
children?: React.ReactNode;
|
|
61
|
+
} & {
|
|
62
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
63
|
+
}>>) & NestedComponentMeta;
|
|
64
|
+
type IBackgroundColorProps = React.PropsWithChildren<{
|
|
65
|
+
base?: string | undefined;
|
|
66
|
+
fillId?: string | undefined;
|
|
67
|
+
}>;
|
|
68
|
+
declare const BackgroundColor: ((props: IBackgroundColorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
69
|
+
base?: string | undefined;
|
|
70
|
+
fillId?: string | undefined;
|
|
71
|
+
} & {
|
|
72
|
+
children?: React.ReactNode;
|
|
73
|
+
} & {
|
|
74
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
75
|
+
}>>) & NestedComponentMeta;
|
|
76
|
+
type IBorderProps = React.PropsWithChildren<{
|
|
77
|
+
color?: string;
|
|
78
|
+
dashStyle?: DashStyle;
|
|
79
|
+
opacity?: number | undefined;
|
|
80
|
+
visible?: boolean;
|
|
81
|
+
width?: number;
|
|
82
|
+
}>;
|
|
83
|
+
declare const Border: ((props: IBorderProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
84
|
+
color?: string | undefined;
|
|
85
|
+
dashStyle?: DashStyle | undefined;
|
|
86
|
+
opacity?: number | undefined;
|
|
87
|
+
visible?: boolean | undefined;
|
|
88
|
+
width?: number | undefined;
|
|
89
|
+
} & {
|
|
90
|
+
children?: React.ReactNode;
|
|
91
|
+
} & {
|
|
92
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
93
|
+
}>>) & NestedComponentMeta;
|
|
94
|
+
type IColorProps = React.PropsWithChildren<{
|
|
95
|
+
base?: string | undefined;
|
|
96
|
+
fillId?: string | undefined;
|
|
97
|
+
}>;
|
|
98
|
+
declare const Color: ((props: IColorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
99
|
+
base?: string | undefined;
|
|
100
|
+
fillId?: string | undefined;
|
|
101
|
+
} & {
|
|
102
|
+
children?: React.ReactNode;
|
|
103
|
+
} & {
|
|
104
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
105
|
+
}>>) & NestedComponentMeta;
|
|
106
|
+
type IExportProps = React.PropsWithChildren<{
|
|
107
|
+
backgroundColor?: string;
|
|
108
|
+
enabled?: boolean;
|
|
109
|
+
fileName?: string;
|
|
110
|
+
formats?: Array<ExportFormat>;
|
|
111
|
+
margin?: number;
|
|
112
|
+
printingEnabled?: boolean;
|
|
113
|
+
svgToCanvas?: ((svg: any, canvas: any) => any) | undefined;
|
|
114
|
+
}>;
|
|
115
|
+
declare const Export: ((props: IExportProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
116
|
+
backgroundColor?: string | undefined;
|
|
117
|
+
enabled?: boolean | undefined;
|
|
118
|
+
fileName?: string | undefined;
|
|
119
|
+
formats?: ExportFormat[] | undefined;
|
|
120
|
+
margin?: number | undefined;
|
|
121
|
+
printingEnabled?: boolean | undefined;
|
|
122
|
+
svgToCanvas?: ((svg: any, canvas: any) => any) | undefined;
|
|
123
|
+
} & {
|
|
124
|
+
children?: React.ReactNode;
|
|
125
|
+
} & {
|
|
126
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
127
|
+
}>>) & NestedComponentMeta;
|
|
128
|
+
type IFontProps = React.PropsWithChildren<{
|
|
129
|
+
color?: string;
|
|
130
|
+
family?: string;
|
|
131
|
+
opacity?: number;
|
|
132
|
+
size?: number | string;
|
|
133
|
+
weight?: number;
|
|
134
|
+
}>;
|
|
135
|
+
declare const Font: ((props: IFontProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
136
|
+
color?: string | undefined;
|
|
137
|
+
family?: string | undefined;
|
|
138
|
+
opacity?: number | undefined;
|
|
139
|
+
size?: string | number | undefined;
|
|
140
|
+
weight?: number | undefined;
|
|
141
|
+
} & {
|
|
142
|
+
children?: React.ReactNode;
|
|
143
|
+
} & {
|
|
144
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
145
|
+
}>>) & NestedComponentMeta;
|
|
146
|
+
type IFormatProps = React.PropsWithChildren<{
|
|
147
|
+
currency?: string;
|
|
148
|
+
formatter?: ((value: number | Date) => string);
|
|
149
|
+
parser?: ((value: string) => number | Date);
|
|
150
|
+
precision?: number;
|
|
151
|
+
type?: CommonFormat | string;
|
|
152
|
+
useCurrencyAccountingStyle?: boolean;
|
|
153
|
+
}>;
|
|
154
|
+
declare const Format: ((props: IFormatProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
155
|
+
currency?: string | undefined;
|
|
156
|
+
formatter?: ((value: number | Date) => string) | undefined;
|
|
157
|
+
parser?: ((value: string) => number | Date) | undefined;
|
|
158
|
+
precision?: number | undefined;
|
|
159
|
+
type?: string | undefined;
|
|
160
|
+
useCurrencyAccountingStyle?: boolean | undefined;
|
|
161
|
+
} & {
|
|
162
|
+
children?: React.ReactNode;
|
|
163
|
+
} & {
|
|
164
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
165
|
+
}>>) & NestedComponentMeta;
|
|
166
|
+
type IGeometryProps = React.PropsWithChildren<{
|
|
167
|
+
orientation?: Orientation;
|
|
168
|
+
}>;
|
|
169
|
+
declare const Geometry: ((props: IGeometryProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
170
|
+
orientation?: Orientation | undefined;
|
|
171
|
+
} & {
|
|
172
|
+
children?: React.ReactNode;
|
|
173
|
+
} & {
|
|
174
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
175
|
+
}>>) & NestedComponentMeta;
|
|
176
|
+
type ILabelProps = React.PropsWithChildren<{
|
|
177
|
+
customizeText?: ((scaleValue: {
|
|
178
|
+
value: number;
|
|
179
|
+
valueText: string;
|
|
180
|
+
}) => string);
|
|
181
|
+
font?: ChartsFont;
|
|
182
|
+
format?: LocalizationFormat | undefined;
|
|
183
|
+
indentFromTick?: number;
|
|
184
|
+
overlappingBehavior?: LabelOverlap;
|
|
185
|
+
useRangeColors?: boolean;
|
|
186
|
+
visible?: boolean;
|
|
187
|
+
}>;
|
|
188
|
+
declare const Label: ((props: ILabelProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
189
|
+
customizeText?: ((scaleValue: {
|
|
190
|
+
value: number;
|
|
191
|
+
valueText: string;
|
|
192
|
+
}) => string) | undefined;
|
|
193
|
+
font?: ChartsFont | undefined;
|
|
194
|
+
format?: LocalizationFormat | undefined;
|
|
195
|
+
indentFromTick?: number | undefined;
|
|
196
|
+
overlappingBehavior?: LabelOverlap | undefined;
|
|
197
|
+
useRangeColors?: boolean | undefined;
|
|
198
|
+
visible?: boolean | undefined;
|
|
199
|
+
} & {
|
|
200
|
+
children?: React.ReactNode;
|
|
201
|
+
} & {
|
|
202
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
203
|
+
}>>) & NestedComponentMeta;
|
|
204
|
+
type ILoadingIndicatorProps = React.PropsWithChildren<{
|
|
205
|
+
backgroundColor?: string;
|
|
206
|
+
font?: ChartsFont;
|
|
207
|
+
show?: boolean;
|
|
208
|
+
text?: string;
|
|
209
|
+
defaultShow?: boolean;
|
|
210
|
+
onShowChange?: (value: boolean) => void;
|
|
211
|
+
}>;
|
|
212
|
+
declare const LoadingIndicator: ((props: ILoadingIndicatorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
213
|
+
backgroundColor?: string | undefined;
|
|
214
|
+
font?: ChartsFont | undefined;
|
|
215
|
+
show?: boolean | undefined;
|
|
216
|
+
text?: string | undefined;
|
|
217
|
+
defaultShow?: boolean | undefined;
|
|
218
|
+
onShowChange?: ((value: boolean) => void) | undefined;
|
|
219
|
+
} & {
|
|
220
|
+
children?: React.ReactNode;
|
|
221
|
+
} & {
|
|
222
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
223
|
+
}>>) & NestedComponentMeta;
|
|
224
|
+
type IMarginProps = React.PropsWithChildren<{
|
|
225
|
+
bottom?: number;
|
|
226
|
+
left?: number;
|
|
227
|
+
right?: number;
|
|
228
|
+
top?: number;
|
|
229
|
+
}>;
|
|
230
|
+
declare const Margin: ((props: IMarginProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
231
|
+
bottom?: number | undefined;
|
|
232
|
+
left?: number | undefined;
|
|
233
|
+
right?: number | undefined;
|
|
234
|
+
top?: number | undefined;
|
|
235
|
+
} & {
|
|
236
|
+
children?: React.ReactNode;
|
|
237
|
+
} & {
|
|
238
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
239
|
+
}>>) & NestedComponentMeta;
|
|
240
|
+
type IMinorTickProps = React.PropsWithChildren<{
|
|
241
|
+
color?: string;
|
|
242
|
+
length?: number;
|
|
243
|
+
opacity?: number;
|
|
244
|
+
visible?: boolean;
|
|
245
|
+
width?: number;
|
|
246
|
+
}>;
|
|
247
|
+
declare const MinorTick: ((props: IMinorTickProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
248
|
+
color?: string | undefined;
|
|
249
|
+
length?: number | undefined;
|
|
250
|
+
opacity?: number | undefined;
|
|
251
|
+
visible?: boolean | undefined;
|
|
252
|
+
width?: number | undefined;
|
|
253
|
+
} & {
|
|
254
|
+
children?: React.ReactNode;
|
|
255
|
+
} & {
|
|
256
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
257
|
+
}>>) & NestedComponentMeta;
|
|
258
|
+
type IRangeProps = React.PropsWithChildren<{
|
|
259
|
+
color?: ChartsColor | string;
|
|
260
|
+
endValue?: number;
|
|
261
|
+
startValue?: number;
|
|
262
|
+
}>;
|
|
263
|
+
declare const Range: ((props: IRangeProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
264
|
+
color?: string | ChartsColor | undefined;
|
|
265
|
+
endValue?: number | undefined;
|
|
266
|
+
startValue?: number | undefined;
|
|
267
|
+
} & {
|
|
268
|
+
children?: React.ReactNode;
|
|
269
|
+
} & {
|
|
270
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
271
|
+
}>>) & NestedComponentMeta;
|
|
272
|
+
type IRangeContainerProps = React.PropsWithChildren<{
|
|
273
|
+
backgroundColor?: ChartsColor | string;
|
|
274
|
+
horizontalOrientation?: HorizontalAlignment;
|
|
275
|
+
offset?: number;
|
|
276
|
+
palette?: Array<string> | Palette;
|
|
277
|
+
paletteExtensionMode?: PaletteExtensionMode;
|
|
278
|
+
ranges?: Array<Record<string, any>> | {
|
|
279
|
+
color?: ChartsColor | string;
|
|
280
|
+
endValue?: number;
|
|
281
|
+
startValue?: number;
|
|
282
|
+
}[];
|
|
283
|
+
verticalOrientation?: VerticalAlignment;
|
|
284
|
+
width?: number | Record<string, any> | {
|
|
285
|
+
end?: number;
|
|
286
|
+
start?: number;
|
|
287
|
+
};
|
|
288
|
+
}>;
|
|
289
|
+
declare const RangeContainer: ((props: IRangeContainerProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
290
|
+
backgroundColor?: string | ChartsColor | undefined;
|
|
291
|
+
horizontalOrientation?: HorizontalAlignment | undefined;
|
|
292
|
+
offset?: number | undefined;
|
|
293
|
+
palette?: string[] | Palette | undefined;
|
|
294
|
+
paletteExtensionMode?: PaletteExtensionMode | undefined;
|
|
295
|
+
ranges?: Record<string, any>[] | {
|
|
296
|
+
color?: string | ChartsColor | undefined;
|
|
297
|
+
endValue?: number | undefined;
|
|
298
|
+
startValue?: number | undefined;
|
|
299
|
+
}[] | undefined;
|
|
300
|
+
verticalOrientation?: VerticalAlignment | undefined;
|
|
301
|
+
width?: number | Record<string, any> | {
|
|
302
|
+
end?: number | undefined;
|
|
303
|
+
start?: number | undefined;
|
|
304
|
+
} | undefined;
|
|
305
|
+
} & {
|
|
306
|
+
children?: React.ReactNode;
|
|
307
|
+
} & {
|
|
308
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
309
|
+
}>>) & NestedComponentMeta;
|
|
310
|
+
type IScaleProps = React.PropsWithChildren<{
|
|
311
|
+
allowDecimals?: boolean | undefined;
|
|
312
|
+
customMinorTicks?: Array<number>;
|
|
313
|
+
customTicks?: Array<number>;
|
|
314
|
+
endValue?: number;
|
|
315
|
+
horizontalOrientation?: HorizontalAlignment;
|
|
316
|
+
label?: Record<string, any> | {
|
|
317
|
+
customizeText?: ((scaleValue: {
|
|
318
|
+
value: number;
|
|
319
|
+
valueText: string;
|
|
320
|
+
}) => string);
|
|
321
|
+
font?: ChartsFont;
|
|
322
|
+
format?: LocalizationFormat | undefined;
|
|
323
|
+
indentFromTick?: number;
|
|
324
|
+
overlappingBehavior?: LabelOverlap;
|
|
325
|
+
useRangeColors?: boolean;
|
|
326
|
+
visible?: boolean;
|
|
327
|
+
};
|
|
328
|
+
minorTick?: Record<string, any> | {
|
|
329
|
+
color?: string;
|
|
330
|
+
length?: number;
|
|
331
|
+
opacity?: number;
|
|
332
|
+
visible?: boolean;
|
|
333
|
+
width?: number;
|
|
334
|
+
};
|
|
335
|
+
minorTickInterval?: number | undefined;
|
|
336
|
+
scaleDivisionFactor?: number;
|
|
337
|
+
startValue?: number;
|
|
338
|
+
tick?: Record<string, any> | {
|
|
339
|
+
color?: string;
|
|
340
|
+
length?: number;
|
|
341
|
+
opacity?: number;
|
|
342
|
+
visible?: boolean;
|
|
343
|
+
width?: number;
|
|
344
|
+
};
|
|
345
|
+
tickInterval?: number | undefined;
|
|
346
|
+
verticalOrientation?: VerticalAlignment;
|
|
347
|
+
}>;
|
|
348
|
+
declare const Scale: ((props: IScaleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
349
|
+
allowDecimals?: boolean | undefined;
|
|
350
|
+
customMinorTicks?: number[] | undefined;
|
|
351
|
+
customTicks?: number[] | undefined;
|
|
352
|
+
endValue?: number | undefined;
|
|
353
|
+
horizontalOrientation?: HorizontalAlignment | undefined;
|
|
354
|
+
label?: Record<string, any> | {
|
|
355
|
+
customizeText?: ((scaleValue: {
|
|
356
|
+
value: number;
|
|
357
|
+
valueText: string;
|
|
358
|
+
}) => string) | undefined;
|
|
359
|
+
font?: ChartsFont | undefined;
|
|
360
|
+
format?: LocalizationFormat | undefined;
|
|
361
|
+
indentFromTick?: number | undefined;
|
|
362
|
+
overlappingBehavior?: LabelOverlap | undefined;
|
|
363
|
+
useRangeColors?: boolean | undefined;
|
|
364
|
+
visible?: boolean | undefined;
|
|
365
|
+
} | undefined;
|
|
366
|
+
minorTick?: Record<string, any> | {
|
|
367
|
+
color?: string | undefined;
|
|
368
|
+
length?: number | undefined;
|
|
369
|
+
opacity?: number | undefined;
|
|
370
|
+
visible?: boolean | undefined;
|
|
371
|
+
width?: number | undefined;
|
|
372
|
+
} | undefined;
|
|
373
|
+
minorTickInterval?: number | undefined;
|
|
374
|
+
scaleDivisionFactor?: number | undefined;
|
|
375
|
+
startValue?: number | undefined;
|
|
376
|
+
tick?: Record<string, any> | {
|
|
377
|
+
color?: string | undefined;
|
|
378
|
+
length?: number | undefined;
|
|
379
|
+
opacity?: number | undefined;
|
|
380
|
+
visible?: boolean | undefined;
|
|
381
|
+
width?: number | undefined;
|
|
382
|
+
} | undefined;
|
|
383
|
+
tickInterval?: number | undefined;
|
|
384
|
+
verticalOrientation?: VerticalAlignment | undefined;
|
|
385
|
+
} & {
|
|
386
|
+
children?: React.ReactNode;
|
|
387
|
+
} & {
|
|
388
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
389
|
+
}>>) & NestedComponentMeta;
|
|
390
|
+
type IShadowProps = React.PropsWithChildren<{
|
|
391
|
+
blur?: number;
|
|
392
|
+
color?: string;
|
|
393
|
+
offsetX?: number;
|
|
394
|
+
offsetY?: number;
|
|
395
|
+
opacity?: number;
|
|
396
|
+
}>;
|
|
397
|
+
declare const Shadow: ((props: IShadowProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
398
|
+
blur?: number | undefined;
|
|
399
|
+
color?: string | undefined;
|
|
400
|
+
offsetX?: number | undefined;
|
|
401
|
+
offsetY?: number | undefined;
|
|
402
|
+
opacity?: number | undefined;
|
|
403
|
+
} & {
|
|
404
|
+
children?: React.ReactNode;
|
|
405
|
+
} & {
|
|
406
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
407
|
+
}>>) & NestedComponentMeta;
|
|
408
|
+
type ISizeProps = React.PropsWithChildren<{
|
|
409
|
+
height?: number | undefined;
|
|
410
|
+
width?: number | undefined;
|
|
411
|
+
}>;
|
|
412
|
+
declare const Size: ((props: ISizeProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
413
|
+
height?: number | undefined;
|
|
414
|
+
width?: number | undefined;
|
|
415
|
+
} & {
|
|
416
|
+
children?: React.ReactNode;
|
|
417
|
+
} & {
|
|
418
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
419
|
+
}>>) & NestedComponentMeta;
|
|
420
|
+
type ISubtitleProps = React.PropsWithChildren<{
|
|
421
|
+
font?: ChartsFont;
|
|
422
|
+
offset?: number;
|
|
423
|
+
text?: string;
|
|
424
|
+
textOverflow?: TextOverflow;
|
|
425
|
+
wordWrap?: WordWrap;
|
|
426
|
+
}>;
|
|
427
|
+
declare const Subtitle: ((props: ISubtitleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
428
|
+
font?: ChartsFont | undefined;
|
|
429
|
+
offset?: number | undefined;
|
|
430
|
+
text?: string | undefined;
|
|
431
|
+
textOverflow?: TextOverflow | undefined;
|
|
432
|
+
wordWrap?: WordWrap | undefined;
|
|
433
|
+
} & {
|
|
434
|
+
children?: React.ReactNode;
|
|
435
|
+
} & {
|
|
436
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
437
|
+
}>>) & NestedComponentMeta;
|
|
438
|
+
type ISubvalueIndicatorProps = React.PropsWithChildren<{
|
|
439
|
+
arrowLength?: number;
|
|
440
|
+
backgroundColor?: string;
|
|
441
|
+
baseValue?: number | undefined;
|
|
442
|
+
beginAdaptingAtRadius?: number;
|
|
443
|
+
color?: ChartsColor | string;
|
|
444
|
+
horizontalOrientation?: HorizontalEdge;
|
|
445
|
+
indentFromCenter?: number;
|
|
446
|
+
length?: number;
|
|
447
|
+
offset?: number;
|
|
448
|
+
palette?: Array<string> | Palette;
|
|
449
|
+
secondColor?: string;
|
|
450
|
+
secondFraction?: number;
|
|
451
|
+
size?: number;
|
|
452
|
+
spindleGapSize?: number;
|
|
453
|
+
spindleSize?: number;
|
|
454
|
+
text?: Record<string, any> | {
|
|
455
|
+
customizeText?: ((indicatedValue: {
|
|
456
|
+
value: number;
|
|
457
|
+
valueText: string;
|
|
458
|
+
}) => string) | undefined;
|
|
459
|
+
font?: ChartsFont;
|
|
460
|
+
format?: LocalizationFormat | undefined;
|
|
461
|
+
indent?: number;
|
|
462
|
+
};
|
|
463
|
+
type?: "circle" | "rangeBar" | "rectangle" | "rectangleNeedle" | "rhombus" | "textCloud" | "triangleMarker" | "triangleNeedle" | "twoColorNeedle";
|
|
464
|
+
verticalOrientation?: VerticalEdge;
|
|
465
|
+
width?: number;
|
|
466
|
+
}>;
|
|
467
|
+
declare const SubvalueIndicator: ((props: ISubvalueIndicatorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
468
|
+
arrowLength?: number | undefined;
|
|
469
|
+
backgroundColor?: string | undefined;
|
|
470
|
+
baseValue?: number | undefined;
|
|
471
|
+
beginAdaptingAtRadius?: number | undefined;
|
|
472
|
+
color?: string | ChartsColor | undefined;
|
|
473
|
+
horizontalOrientation?: HorizontalEdge | undefined;
|
|
474
|
+
indentFromCenter?: number | undefined;
|
|
475
|
+
length?: number | undefined;
|
|
476
|
+
offset?: number | undefined;
|
|
477
|
+
palette?: string[] | Palette | undefined;
|
|
478
|
+
secondColor?: string | undefined;
|
|
479
|
+
secondFraction?: number | undefined;
|
|
480
|
+
size?: number | undefined;
|
|
481
|
+
spindleGapSize?: number | undefined;
|
|
482
|
+
spindleSize?: number | undefined;
|
|
483
|
+
text?: Record<string, any> | {
|
|
484
|
+
customizeText?: ((indicatedValue: {
|
|
485
|
+
value: number;
|
|
486
|
+
valueText: string;
|
|
487
|
+
}) => string) | undefined;
|
|
488
|
+
font?: ChartsFont | undefined;
|
|
489
|
+
format?: LocalizationFormat | undefined;
|
|
490
|
+
indent?: number | undefined;
|
|
491
|
+
} | undefined;
|
|
492
|
+
type?: "circle" | "rangeBar" | "rectangle" | "rectangleNeedle" | "rhombus" | "textCloud" | "triangleMarker" | "triangleNeedle" | "twoColorNeedle" | undefined;
|
|
493
|
+
verticalOrientation?: VerticalEdge | undefined;
|
|
494
|
+
width?: number | undefined;
|
|
495
|
+
} & {
|
|
496
|
+
children?: React.ReactNode;
|
|
497
|
+
} & {
|
|
498
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
499
|
+
}>>) & NestedComponentMeta;
|
|
500
|
+
type ITextProps = React.PropsWithChildren<{
|
|
501
|
+
customizeText?: ((indicatedValue: {
|
|
502
|
+
value: number;
|
|
503
|
+
valueText: string;
|
|
504
|
+
}) => string) | undefined;
|
|
505
|
+
font?: ChartsFont;
|
|
506
|
+
format?: LocalizationFormat | undefined;
|
|
507
|
+
indent?: number;
|
|
508
|
+
}>;
|
|
509
|
+
declare const Text: ((props: ITextProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
510
|
+
customizeText?: ((indicatedValue: {
|
|
511
|
+
value: number;
|
|
512
|
+
valueText: string;
|
|
513
|
+
}) => string) | undefined;
|
|
514
|
+
font?: ChartsFont | undefined;
|
|
515
|
+
format?: LocalizationFormat | undefined;
|
|
516
|
+
indent?: number | undefined;
|
|
517
|
+
} & {
|
|
518
|
+
children?: React.ReactNode;
|
|
519
|
+
} & {
|
|
520
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
521
|
+
}>>) & NestedComponentMeta;
|
|
522
|
+
type ITickProps = React.PropsWithChildren<{
|
|
523
|
+
color?: string;
|
|
524
|
+
length?: number;
|
|
525
|
+
opacity?: number;
|
|
526
|
+
visible?: boolean;
|
|
527
|
+
width?: number;
|
|
528
|
+
}>;
|
|
529
|
+
declare const Tick: ((props: ITickProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
530
|
+
color?: string | undefined;
|
|
531
|
+
length?: number | undefined;
|
|
532
|
+
opacity?: number | undefined;
|
|
533
|
+
visible?: boolean | undefined;
|
|
534
|
+
width?: number | undefined;
|
|
535
|
+
} & {
|
|
536
|
+
children?: React.ReactNode;
|
|
537
|
+
} & {
|
|
538
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
539
|
+
}>>) & NestedComponentMeta;
|
|
540
|
+
type ITitleProps = React.PropsWithChildren<{
|
|
541
|
+
font?: ChartsFont;
|
|
542
|
+
horizontalAlignment?: HorizontalAlignment;
|
|
543
|
+
margin?: number | Record<string, any> | {
|
|
544
|
+
bottom?: number;
|
|
545
|
+
left?: number;
|
|
546
|
+
right?: number;
|
|
547
|
+
top?: number;
|
|
548
|
+
};
|
|
549
|
+
placeholderSize?: number | undefined;
|
|
550
|
+
subtitle?: Record<string, any> | string | {
|
|
551
|
+
font?: ChartsFont;
|
|
552
|
+
offset?: number;
|
|
553
|
+
text?: string;
|
|
554
|
+
textOverflow?: TextOverflow;
|
|
555
|
+
wordWrap?: WordWrap;
|
|
556
|
+
};
|
|
557
|
+
text?: string;
|
|
558
|
+
textOverflow?: TextOverflow;
|
|
559
|
+
verticalAlignment?: VerticalEdge;
|
|
560
|
+
wordWrap?: WordWrap;
|
|
561
|
+
}>;
|
|
562
|
+
declare const Title: ((props: ITitleProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
563
|
+
font?: ChartsFont | undefined;
|
|
564
|
+
horizontalAlignment?: HorizontalAlignment | undefined;
|
|
565
|
+
margin?: number | Record<string, any> | {
|
|
566
|
+
bottom?: number | undefined;
|
|
567
|
+
left?: number | undefined;
|
|
568
|
+
right?: number | undefined;
|
|
569
|
+
top?: number | undefined;
|
|
570
|
+
} | undefined;
|
|
571
|
+
placeholderSize?: number | undefined;
|
|
572
|
+
subtitle?: string | Record<string, any> | {
|
|
573
|
+
font?: ChartsFont | undefined;
|
|
574
|
+
offset?: number | undefined;
|
|
575
|
+
text?: string | undefined;
|
|
576
|
+
textOverflow?: TextOverflow | undefined;
|
|
577
|
+
wordWrap?: WordWrap | undefined;
|
|
578
|
+
} | undefined;
|
|
579
|
+
text?: string | undefined;
|
|
580
|
+
textOverflow?: TextOverflow | undefined;
|
|
581
|
+
verticalAlignment?: VerticalEdge | undefined;
|
|
582
|
+
wordWrap?: WordWrap | undefined;
|
|
583
|
+
} & {
|
|
584
|
+
children?: React.ReactNode;
|
|
585
|
+
} & {
|
|
586
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
587
|
+
}>>) & NestedComponentMeta;
|
|
588
|
+
type ITooltipProps = React.PropsWithChildren<{
|
|
589
|
+
arrowLength?: number;
|
|
590
|
+
border?: Record<string, any> | {
|
|
591
|
+
color?: string;
|
|
592
|
+
dashStyle?: DashStyle;
|
|
593
|
+
opacity?: number | undefined;
|
|
594
|
+
visible?: boolean;
|
|
595
|
+
width?: number;
|
|
596
|
+
};
|
|
597
|
+
color?: string;
|
|
598
|
+
container?: any | string | undefined;
|
|
599
|
+
contentTemplate?: ((scaleValue: {
|
|
600
|
+
value: number;
|
|
601
|
+
valueText: string;
|
|
602
|
+
}, element: any) => string | any) | template | undefined;
|
|
603
|
+
cornerRadius?: number;
|
|
604
|
+
customizeTooltip?: ((scaleValue: {
|
|
605
|
+
value: number;
|
|
606
|
+
valueText: string;
|
|
607
|
+
}) => Record<string, any>) | undefined;
|
|
608
|
+
enabled?: boolean;
|
|
609
|
+
font?: ChartsFont;
|
|
610
|
+
format?: LocalizationFormat | undefined;
|
|
611
|
+
interactive?: boolean;
|
|
612
|
+
opacity?: number | undefined;
|
|
613
|
+
paddingLeftRight?: number;
|
|
614
|
+
paddingTopBottom?: number;
|
|
615
|
+
shadow?: Record<string, any> | {
|
|
616
|
+
blur?: number;
|
|
617
|
+
color?: string;
|
|
618
|
+
offsetX?: number;
|
|
619
|
+
offsetY?: number;
|
|
620
|
+
opacity?: number;
|
|
621
|
+
};
|
|
622
|
+
zIndex?: number | undefined;
|
|
623
|
+
contentRender?: (...params: any) => React.ReactNode;
|
|
624
|
+
contentComponent?: React.ComponentType<any>;
|
|
625
|
+
}>;
|
|
626
|
+
declare const Tooltip: ((props: ITooltipProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
627
|
+
arrowLength?: number | undefined;
|
|
628
|
+
border?: Record<string, any> | {
|
|
629
|
+
color?: string | undefined;
|
|
630
|
+
dashStyle?: DashStyle | undefined;
|
|
631
|
+
opacity?: number | undefined;
|
|
632
|
+
visible?: boolean | undefined;
|
|
633
|
+
width?: number | undefined;
|
|
634
|
+
} | undefined;
|
|
635
|
+
color?: string | undefined;
|
|
636
|
+
container?: any | string | undefined;
|
|
637
|
+
contentTemplate?: template | ((scaleValue: {
|
|
638
|
+
value: number;
|
|
639
|
+
valueText: string;
|
|
640
|
+
}, element: any) => string | any) | undefined;
|
|
641
|
+
cornerRadius?: number | undefined;
|
|
642
|
+
customizeTooltip?: ((scaleValue: {
|
|
643
|
+
value: number;
|
|
644
|
+
valueText: string;
|
|
645
|
+
}) => Record<string, any>) | undefined;
|
|
646
|
+
enabled?: boolean | undefined;
|
|
647
|
+
font?: ChartsFont | undefined;
|
|
648
|
+
format?: LocalizationFormat | undefined;
|
|
649
|
+
interactive?: boolean | undefined;
|
|
650
|
+
opacity?: number | undefined;
|
|
651
|
+
paddingLeftRight?: number | undefined;
|
|
652
|
+
paddingTopBottom?: number | undefined;
|
|
653
|
+
shadow?: Record<string, any> | {
|
|
654
|
+
blur?: number | undefined;
|
|
655
|
+
color?: string | undefined;
|
|
656
|
+
offsetX?: number | undefined;
|
|
657
|
+
offsetY?: number | undefined;
|
|
658
|
+
opacity?: number | undefined;
|
|
659
|
+
} | undefined;
|
|
660
|
+
zIndex?: number | undefined;
|
|
661
|
+
contentRender?: ((...params: any) => React.ReactNode) | undefined;
|
|
662
|
+
contentComponent?: React.ComponentType<any> | undefined;
|
|
663
|
+
} & {
|
|
664
|
+
children?: React.ReactNode;
|
|
665
|
+
} & {
|
|
666
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
667
|
+
}>>) & NestedComponentMeta;
|
|
668
|
+
type IValueIndicatorProps = React.PropsWithChildren<{
|
|
669
|
+
arrowLength?: number;
|
|
670
|
+
backgroundColor?: string;
|
|
671
|
+
baseValue?: number | undefined;
|
|
672
|
+
beginAdaptingAtRadius?: number;
|
|
673
|
+
color?: ChartsColor | string;
|
|
674
|
+
horizontalOrientation?: HorizontalEdge;
|
|
675
|
+
indentFromCenter?: number;
|
|
676
|
+
length?: number;
|
|
677
|
+
offset?: number;
|
|
678
|
+
palette?: Array<string> | Palette;
|
|
679
|
+
secondColor?: string;
|
|
680
|
+
secondFraction?: number;
|
|
681
|
+
size?: number;
|
|
682
|
+
spindleGapSize?: number;
|
|
683
|
+
spindleSize?: number;
|
|
684
|
+
text?: Record<string, any> | {
|
|
685
|
+
customizeText?: ((indicatedValue: {
|
|
686
|
+
value: number;
|
|
687
|
+
valueText: string;
|
|
688
|
+
}) => string) | undefined;
|
|
689
|
+
font?: ChartsFont;
|
|
690
|
+
format?: LocalizationFormat | undefined;
|
|
691
|
+
indent?: number;
|
|
692
|
+
};
|
|
693
|
+
type?: "circle" | "rangeBar" | "rectangle" | "rectangleNeedle" | "rhombus" | "textCloud" | "triangleMarker" | "triangleNeedle" | "twoColorNeedle";
|
|
694
|
+
verticalOrientation?: VerticalEdge;
|
|
695
|
+
width?: number;
|
|
696
|
+
}>;
|
|
697
|
+
declare const ValueIndicator: ((props: IValueIndicatorProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
698
|
+
arrowLength?: number | undefined;
|
|
699
|
+
backgroundColor?: string | undefined;
|
|
700
|
+
baseValue?: number | undefined;
|
|
701
|
+
beginAdaptingAtRadius?: number | undefined;
|
|
702
|
+
color?: string | ChartsColor | undefined;
|
|
703
|
+
horizontalOrientation?: HorizontalEdge | undefined;
|
|
704
|
+
indentFromCenter?: number | undefined;
|
|
705
|
+
length?: number | undefined;
|
|
706
|
+
offset?: number | undefined;
|
|
707
|
+
palette?: string[] | Palette | undefined;
|
|
708
|
+
secondColor?: string | undefined;
|
|
709
|
+
secondFraction?: number | undefined;
|
|
710
|
+
size?: number | undefined;
|
|
711
|
+
spindleGapSize?: number | undefined;
|
|
712
|
+
spindleSize?: number | undefined;
|
|
713
|
+
text?: Record<string, any> | {
|
|
714
|
+
customizeText?: ((indicatedValue: {
|
|
715
|
+
value: number;
|
|
716
|
+
valueText: string;
|
|
717
|
+
}) => string) | undefined;
|
|
718
|
+
font?: ChartsFont | undefined;
|
|
719
|
+
format?: LocalizationFormat | undefined;
|
|
720
|
+
indent?: number | undefined;
|
|
721
|
+
} | undefined;
|
|
722
|
+
type?: "circle" | "rangeBar" | "rectangle" | "rectangleNeedle" | "rhombus" | "textCloud" | "triangleMarker" | "triangleNeedle" | "twoColorNeedle" | undefined;
|
|
723
|
+
verticalOrientation?: VerticalEdge | undefined;
|
|
724
|
+
width?: number | undefined;
|
|
725
|
+
} & {
|
|
726
|
+
children?: React.ReactNode;
|
|
727
|
+
} & {
|
|
728
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
729
|
+
}>>) & NestedComponentMeta;
|
|
730
|
+
type IWidthProps = React.PropsWithChildren<{
|
|
731
|
+
end?: number;
|
|
732
|
+
start?: number;
|
|
733
|
+
}>;
|
|
734
|
+
declare const Width: ((props: IWidthProps) => React.FunctionComponentElement<React.PropsWithChildren<{
|
|
735
|
+
end?: number | undefined;
|
|
736
|
+
start?: number | undefined;
|
|
737
|
+
} & {
|
|
738
|
+
children?: React.ReactNode;
|
|
739
|
+
} & {
|
|
740
|
+
elementDescriptor: import("./core/configuration/react/element").IElementDescriptor;
|
|
741
|
+
}>>) & NestedComponentMeta;
|
|
742
|
+
export default LinearGauge;
|
|
743
|
+
export { LinearGauge, ILinearGaugeOptions, LinearGaugeRef, Animation, IAnimationProps, BackgroundColor, IBackgroundColorProps, Border, IBorderProps, Color, IColorProps, Export, IExportProps, Font, IFontProps, Format, IFormatProps, Geometry, IGeometryProps, Label, ILabelProps, LoadingIndicator, ILoadingIndicatorProps, Margin, IMarginProps, MinorTick, IMinorTickProps, Range, IRangeProps, RangeContainer, IRangeContainerProps, Scale, IScaleProps, Shadow, IShadowProps, Size, ISizeProps, Subtitle, ISubtitleProps, SubvalueIndicator, ISubvalueIndicatorProps, Text, ITextProps, Tick, ITickProps, Title, ITitleProps, Tooltip, ITooltipProps, ValueIndicator, IValueIndicatorProps, Width, IWidthProps };
|
|
744
|
+
import type * as LinearGaugeTypes from 'devextreme/viz/linear_gauge_types';
|
|
745
|
+
export { LinearGaugeTypes };
|