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.
Files changed (311) hide show
  1. package/cjs/accordion.d.ts +35 -48
  2. package/cjs/accordion.js +63 -118
  3. package/cjs/action-sheet.d.ts +27 -43
  4. package/cjs/action-sheet.js +54 -95
  5. package/cjs/autocomplete.d.ts +62 -192
  6. package/cjs/autocomplete.js +181 -352
  7. package/cjs/bar-gauge.d.ts +80 -292
  8. package/cjs/bar-gauge.js +210 -353
  9. package/cjs/box.d.ts +25 -42
  10. package/cjs/box.js +53 -113
  11. package/cjs/bullet.d.ts +35 -80
  12. package/cjs/bullet.js +82 -148
  13. package/cjs/button-group.d.ts +17 -43
  14. package/cjs/button-group.js +54 -112
  15. package/cjs/button.d.ts +14 -19
  16. package/cjs/button.js +36 -88
  17. package/cjs/calendar.d.ts +14 -24
  18. package/cjs/calendar.js +41 -180
  19. package/cjs/chart.d.ts +297 -1146
  20. package/cjs/chart.js +707 -1059
  21. package/cjs/check-box.d.ts +14 -16
  22. package/cjs/check-box.js +34 -101
  23. package/cjs/circular-gauge.d.ts +86 -287
  24. package/cjs/circular-gauge.js +226 -332
  25. package/cjs/color-box.d.ts +59 -175
  26. package/cjs/color-box.js +165 -312
  27. package/cjs/common/charts.d.ts +2 -2
  28. package/cjs/common/charts.js +2 -2
  29. package/cjs/common/data/custom-store.d.ts +2 -2
  30. package/cjs/common/data/custom-store.js +2 -2
  31. package/cjs/common/grids.d.ts +2 -2
  32. package/cjs/common/grids.js +2 -2
  33. package/cjs/common/index.d.ts +2 -2
  34. package/cjs/common/index.js +2 -2
  35. package/cjs/context-menu.d.ts +71 -148
  36. package/cjs/context-menu.js +151 -279
  37. package/cjs/core/component-base.d.ts +18 -47
  38. package/cjs/core/component-base.js +261 -185
  39. package/cjs/core/component.d.ts +26 -13
  40. package/cjs/core/component.js +73 -58
  41. package/cjs/core/config.d.ts +2 -2
  42. package/cjs/core/config.js +2 -2
  43. package/cjs/core/configuration/comparer.d.ts +2 -2
  44. package/cjs/core/configuration/comparer.js +10 -10
  45. package/cjs/core/configuration/config-node.d.ts +2 -3
  46. package/cjs/core/configuration/config-node.js +2 -2
  47. package/cjs/core/configuration/react/element.d.ts +12 -4
  48. package/cjs/core/configuration/react/element.js +4 -5
  49. package/cjs/core/configuration/react/templates.d.ts +2 -2
  50. package/cjs/core/configuration/react/templates.js +2 -8
  51. package/cjs/core/configuration/react/tree.d.ts +2 -2
  52. package/cjs/core/configuration/react/tree.js +13 -9
  53. package/cjs/core/configuration/tree.d.ts +2 -2
  54. package/cjs/core/configuration/tree.js +5 -6
  55. package/cjs/core/configuration/utils.d.ts +2 -2
  56. package/cjs/core/configuration/utils.js +2 -2
  57. package/cjs/core/extension-component.d.ts +14 -7
  58. package/cjs/core/extension-component.js +69 -29
  59. package/cjs/core/helpers.d.ts +4 -3
  60. package/cjs/core/helpers.js +8 -9
  61. package/cjs/core/nested-option.d.ts +3 -5
  62. package/cjs/core/nested-option.js +16 -34
  63. package/cjs/core/options-manager.d.ts +3 -2
  64. package/cjs/core/options-manager.js +30 -18
  65. package/cjs/core/template-manager.d.ts +2 -2
  66. package/cjs/core/template-manager.js +20 -16
  67. package/cjs/core/template-wrapper.d.ts +2 -2
  68. package/cjs/core/template-wrapper.js +18 -14
  69. package/cjs/core/template.d.ts +3 -7
  70. package/cjs/core/template.js +4 -61
  71. package/cjs/core/types.d.ts +8 -8
  72. package/cjs/core/types.js +2 -2
  73. package/cjs/core/widget-config.d.ts +2 -2
  74. package/cjs/core/widget-config.js +23 -6
  75. package/cjs/data-grid.d.ts +317 -1057
  76. package/cjs/data-grid.js +752 -1112
  77. package/cjs/date-box.d.ts +65 -202
  78. package/cjs/date-box.js +179 -386
  79. package/cjs/date-range-box.d.ts +65 -203
  80. package/cjs/date-range-box.js +181 -373
  81. package/cjs/defer-rendering.d.ts +41 -93
  82. package/cjs/defer-rendering.js +93 -151
  83. package/cjs/diagram.d.ts +92 -307
  84. package/cjs/diagram.js +263 -408
  85. package/cjs/draggable.d.ts +17 -30
  86. package/cjs/draggable.js +45 -89
  87. package/cjs/drawer.d.ts +14 -23
  88. package/cjs/drawer.js +40 -102
  89. package/cjs/drop-down-box.d.ts +59 -175
  90. package/cjs/drop-down-box.js +169 -319
  91. package/cjs/drop-down-button.d.ts +58 -160
  92. package/cjs/drop-down-button.js +157 -256
  93. package/cjs/file-manager.d.ts +50 -128
  94. package/cjs/file-manager.js +123 -220
  95. package/cjs/file-uploader.d.ts +14 -16
  96. package/cjs/file-uploader.js +34 -127
  97. package/cjs/filter-builder.d.ts +32 -86
  98. package/cjs/filter-builder.js +86 -147
  99. package/cjs/form.d.ts +94 -347
  100. package/cjs/form.js +273 -398
  101. package/cjs/funnel.d.ts +95 -358
  102. package/cjs/funnel.js +239 -412
  103. package/cjs/gallery.d.ts +29 -44
  104. package/cjs/gallery.js +55 -107
  105. package/cjs/gantt.d.ts +89 -294
  106. package/cjs/gantt.js +252 -420
  107. package/cjs/html-editor.d.ts +50 -164
  108. package/cjs/html-editor.js +143 -262
  109. package/cjs/index.d.ts +3 -2
  110. package/cjs/index.js +5 -3
  111. package/cjs/linear-gauge.d.ts +89 -288
  112. package/cjs/linear-gauge.js +226 -335
  113. package/cjs/list.d.ts +49 -118
  114. package/cjs/list.js +115 -277
  115. package/cjs/load-indicator.d.ts +14 -12
  116. package/cjs/load-indicator.js +30 -56
  117. package/cjs/load-panel.d.ts +47 -99
  118. package/cjs/load-panel.js +111 -221
  119. package/cjs/lookup.d.ts +62 -182
  120. package/cjs/lookup.js +174 -364
  121. package/cjs/map.d.ts +32 -80
  122. package/cjs/map.js +85 -164
  123. package/cjs/menu.d.ts +69 -171
  124. package/cjs/menu.js +153 -286
  125. package/cjs/multi-view.d.ts +29 -44
  126. package/cjs/multi-view.js +55 -101
  127. package/cjs/number-box.d.ts +23 -53
  128. package/cjs/number-box.js +62 -183
  129. package/cjs/pie-chart.d.ts +119 -481
  130. package/cjs/pie-chart.js +309 -520
  131. package/cjs/pivot-grid-field-chooser.d.ts +29 -61
  132. package/cjs/pivot-grid-field-chooser.js +67 -129
  133. package/cjs/pivot-grid.d.ts +53 -137
  134. package/cjs/pivot-grid.js +125 -225
  135. package/cjs/polar-chart.d.ts +228 -882
  136. package/cjs/polar-chart.js +544 -828
  137. package/cjs/popover.d.ts +56 -142
  138. package/cjs/popover.js +150 -270
  139. package/cjs/popup.d.ts +48 -124
  140. package/cjs/popup.js +136 -261
  141. package/cjs/progress-bar.d.ts +14 -16
  142. package/cjs/progress-bar.js +34 -98
  143. package/cjs/radio-group.d.ts +17 -42
  144. package/cjs/radio-group.js +53 -132
  145. package/cjs/range-selector.d.ts +194 -671
  146. package/cjs/range-selector.js +455 -646
  147. package/cjs/range-slider.d.ts +23 -51
  148. package/cjs/range-slider.js +60 -145
  149. package/cjs/recurrence-editor.d.ts +14 -16
  150. package/cjs/recurrence-editor.js +34 -95
  151. package/cjs/resizable.d.ts +14 -17
  152. package/cjs/resizable.js +35 -75
  153. package/cjs/responsive-box.d.ts +34 -71
  154. package/cjs/responsive-box.js +78 -122
  155. package/cjs/sankey.d.ts +71 -240
  156. package/cjs/sankey.js +180 -321
  157. package/cjs/scheduler.d.ts +29 -96
  158. package/cjs/scheduler.js +127 -290
  159. package/cjs/scroll-view.d.ts +14 -12
  160. package/cjs/scroll-view.js +30 -82
  161. package/cjs/select-box.d.ts +62 -193
  162. package/cjs/select-box.js +186 -366
  163. package/cjs/slider.d.ts +23 -51
  164. package/cjs/slider.js +60 -142
  165. package/cjs/sortable.d.ts +17 -30
  166. package/cjs/sortable.js +45 -110
  167. package/cjs/sparkline.d.ts +35 -80
  168. package/cjs/sparkline.js +82 -183
  169. package/cjs/speed-dial-action.d.ts +14 -12
  170. package/cjs/speed-dial-action.js +30 -54
  171. package/cjs/splitter.d.ts +79 -0
  172. package/cjs/splitter.js +99 -0
  173. package/cjs/switch.d.ts +14 -16
  174. package/cjs/switch.js +34 -98
  175. package/cjs/tab-panel.d.ts +31 -46
  176. package/cjs/tab-panel.js +61 -140
  177. package/cjs/tabs.d.ts +33 -46
  178. package/cjs/tabs.js +57 -138
  179. package/cjs/tag-box.d.ts +62 -194
  180. package/cjs/tag-box.js +191 -390
  181. package/cjs/text-area.d.ts +14 -16
  182. package/cjs/text-area.js +34 -141
  183. package/cjs/text-box.d.ts +20 -45
  184. package/cjs/text-box.js +55 -182
  185. package/cjs/tile-view.d.ts +25 -42
  186. package/cjs/tile-view.js +53 -112
  187. package/cjs/toast.d.ts +47 -106
  188. package/cjs/toast.js +117 -223
  189. package/cjs/toolbar.d.ts +27 -44
  190. package/cjs/toolbar.js +59 -92
  191. package/cjs/tooltip.d.ts +53 -124
  192. package/cjs/tooltip.js +133 -243
  193. package/cjs/tree-list.d.ts +274 -909
  194. package/cjs/tree-list.js +644 -996
  195. package/cjs/tree-map.d.ts +77 -257
  196. package/cjs/tree-map.js +191 -326
  197. package/cjs/tree-view.d.ts +34 -81
  198. package/cjs/tree-view.js +82 -229
  199. package/cjs/validation-group.d.ts +14 -12
  200. package/cjs/validation-group.js +30 -51
  201. package/cjs/validation-summary.d.ts +25 -42
  202. package/cjs/validation-summary.js +53 -71
  203. package/cjs/validator.d.ts +48 -142
  204. package/cjs/validator.js +142 -187
  205. package/cjs/vector-map.d.ts +92 -347
  206. package/cjs/vector-map.js +244 -384
  207. package/esm/accordion.js +58 -117
  208. package/esm/action-sheet.js +49 -94
  209. package/esm/autocomplete.js +176 -351
  210. package/esm/bar-gauge.js +205 -352
  211. package/esm/box.js +48 -112
  212. package/esm/bullet.js +77 -147
  213. package/esm/button-group.js +49 -111
  214. package/esm/button.js +31 -87
  215. package/esm/calendar.js +36 -179
  216. package/esm/chart.js +702 -1058
  217. package/esm/check-box.js +29 -100
  218. package/esm/circular-gauge.js +221 -331
  219. package/esm/color-box.js +160 -311
  220. package/esm/common/charts.js +2 -2
  221. package/esm/common/data/custom-store.js +2 -2
  222. package/esm/common/grids.js +2 -2
  223. package/esm/common/index.js +2 -2
  224. package/esm/context-menu.js +146 -278
  225. package/esm/core/component-base.js +256 -184
  226. package/esm/core/component.js +69 -58
  227. package/esm/core/config.js +2 -2
  228. package/esm/core/configuration/comparer.js +2 -2
  229. package/esm/core/configuration/config-node.js +2 -2
  230. package/esm/core/configuration/react/element.js +5 -5
  231. package/esm/core/configuration/react/templates.js +2 -8
  232. package/esm/core/configuration/react/tree.js +3 -3
  233. package/esm/core/configuration/tree.js +2 -2
  234. package/esm/core/configuration/utils.js +2 -2
  235. package/esm/core/extension-component.js +45 -29
  236. package/esm/core/helpers.js +7 -8
  237. package/esm/core/nested-option.js +11 -33
  238. package/esm/core/options-manager.js +22 -10
  239. package/esm/core/template-manager.js +3 -3
  240. package/esm/core/template-wrapper.js +2 -2
  241. package/esm/core/template.js +4 -42
  242. package/esm/core/types.js +2 -2
  243. package/esm/core/widget-config.js +23 -6
  244. package/esm/data-grid.js +748 -1112
  245. package/esm/date-box.js +174 -385
  246. package/esm/date-range-box.js +176 -372
  247. package/esm/defer-rendering.js +88 -150
  248. package/esm/diagram.js +258 -407
  249. package/esm/draggable.js +40 -88
  250. package/esm/drawer.js +35 -101
  251. package/esm/drop-down-box.js +164 -318
  252. package/esm/drop-down-button.js +152 -255
  253. package/esm/file-manager.js +118 -219
  254. package/esm/file-uploader.js +29 -126
  255. package/esm/filter-builder.js +81 -146
  256. package/esm/form.js +268 -397
  257. package/esm/funnel.js +234 -411
  258. package/esm/gallery.js +50 -106
  259. package/esm/gantt.js +247 -419
  260. package/esm/html-editor.js +138 -261
  261. package/esm/index.js +3 -2
  262. package/esm/linear-gauge.js +221 -334
  263. package/esm/list.js +110 -276
  264. package/esm/load-indicator.js +25 -55
  265. package/esm/load-panel.js +106 -220
  266. package/esm/lookup.js +169 -363
  267. package/esm/map.js +80 -163
  268. package/esm/menu.js +148 -285
  269. package/esm/multi-view.js +50 -100
  270. package/esm/number-box.js +57 -182
  271. package/esm/pie-chart.js +304 -519
  272. package/esm/pivot-grid-field-chooser.js +62 -128
  273. package/esm/pivot-grid.js +120 -224
  274. package/esm/polar-chart.js +539 -827
  275. package/esm/popover.js +145 -269
  276. package/esm/popup.js +131 -260
  277. package/esm/progress-bar.js +29 -97
  278. package/esm/radio-group.js +48 -131
  279. package/esm/range-selector.js +450 -645
  280. package/esm/range-slider.js +55 -144
  281. package/esm/recurrence-editor.js +29 -94
  282. package/esm/resizable.js +30 -74
  283. package/esm/responsive-box.js +73 -121
  284. package/esm/sankey.js +175 -320
  285. package/esm/scheduler.js +122 -289
  286. package/esm/scroll-view.js +25 -81
  287. package/esm/select-box.js +181 -365
  288. package/esm/slider.js +55 -141
  289. package/esm/sortable.js +40 -109
  290. package/esm/sparkline.js +77 -182
  291. package/esm/speed-dial-action.js +25 -53
  292. package/esm/splitter.js +69 -0
  293. package/esm/switch.js +29 -97
  294. package/esm/tab-panel.js +56 -139
  295. package/esm/tabs.js +52 -137
  296. package/esm/tag-box.js +186 -389
  297. package/esm/text-area.js +29 -140
  298. package/esm/text-box.js +50 -181
  299. package/esm/tile-view.js +48 -111
  300. package/esm/toast.js +112 -222
  301. package/esm/toolbar.js +54 -91
  302. package/esm/tooltip.js +128 -242
  303. package/esm/tree-list.js +639 -995
  304. package/esm/tree-map.js +186 -325
  305. package/esm/tree-view.js +77 -228
  306. package/esm/validation-group.js +25 -50
  307. package/esm/validation-summary.js +48 -70
  308. package/esm/validator.js +137 -186
  309. package/esm/vector-map.js +239 -383
  310. package/package.json +4 -4
  311. package/splitter/package.json +6 -0
package/esm/chart.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * devextreme-react
3
- * Version: 23.2.6
4
- * Build date: Wed May 01 2024
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
  *
@@ -12,315 +12,135 @@
12
12
  */
13
13
 
14
14
  "use client";
15
- var __extends = (this && this.__extends) || (function () {
16
- var extendStatics = function (d, b) {
17
- extendStatics = Object.setPrototypeOf ||
18
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
- return extendStatics(d, b);
21
- };
22
- return function (d, b) {
23
- if (typeof b !== "function" && b !== null)
24
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
- extendStatics(d, b);
26
- function __() { this.constructor = d; }
27
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
- };
29
- })();
15
+ var __assign = (this && this.__assign) || function () {
16
+ __assign = Object.assign || function(t) {
17
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
18
+ s = arguments[i];
19
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
20
+ t[p] = s[p];
21
+ }
22
+ return t;
23
+ };
24
+ return __assign.apply(this, arguments);
25
+ };
26
+ import * as React from "react";
27
+ import { memo, forwardRef, useImperativeHandle, useRef, useMemo } from "react";
30
28
  import dxChart from "devextreme/viz/chart";
31
- import * as PropTypes from "prop-types";
32
29
  import { Component as BaseComponent } from "./core/component";
33
30
  import NestedOption from "./core/nested-option";
34
- var Chart = /** @class */ (function (_super) {
35
- __extends(Chart, _super);
36
- function Chart() {
37
- var _this = _super !== null && _super.apply(this, arguments) || this;
38
- _this._WidgetClass = dxChart;
39
- _this.useRequestAnimationFrameFlag = true;
40
- _this.subscribableOptions = ["argumentAxis", "argumentAxis.categories", "argumentAxis.visualRange", "loadingIndicator", "loadingIndicator.show", "valueAxis", "valueAxis.categories", "valueAxis.visualRange"];
41
- _this.independentEvents = ["onArgumentAxisClick", "onDisposing", "onDone", "onDrawn", "onExported", "onExporting", "onFileSaving", "onIncidentOccurred", "onInitialized", "onLegendClick", "onPointClick", "onSeriesClick", "onTooltipHidden", "onTooltipShown", "onZoomEnd", "onZoomStart"];
42
- _this._defaults = {
43
- defaultArgumentAxis: "argumentAxis",
44
- defaultLoadingIndicator: "loadingIndicator",
45
- defaultValueAxis: "valueAxis"
46
- };
47
- _this._expectedChildren = {
48
- adaptiveLayout: { optionName: "adaptiveLayout", isCollectionItem: false },
49
- animation: { optionName: "animation", isCollectionItem: false },
50
- annotation: { optionName: "annotations", isCollectionItem: true },
51
- argumentAxis: { optionName: "argumentAxis", isCollectionItem: false },
52
- chartTitle: { optionName: "title", isCollectionItem: false },
53
- commonAnnotationSettings: { optionName: "commonAnnotationSettings", isCollectionItem: false },
54
- commonAxisSettings: { optionName: "commonAxisSettings", isCollectionItem: false },
55
- commonPaneSettings: { optionName: "commonPaneSettings", isCollectionItem: false },
56
- commonSeriesSettings: { optionName: "commonSeriesSettings", isCollectionItem: false },
57
- crosshair: { optionName: "crosshair", isCollectionItem: false },
58
- dataPrepareSettings: { optionName: "dataPrepareSettings", isCollectionItem: false },
59
- export: { optionName: "export", isCollectionItem: false },
60
- legend: { optionName: "legend", isCollectionItem: false },
61
- loadingIndicator: { optionName: "loadingIndicator", isCollectionItem: false },
62
- margin: { optionName: "margin", isCollectionItem: false },
63
- pane: { optionName: "panes", isCollectionItem: true },
64
- scrollBar: { optionName: "scrollBar", isCollectionItem: false },
65
- series: { optionName: "series", isCollectionItem: true },
66
- seriesTemplate: { optionName: "seriesTemplate", isCollectionItem: false },
67
- size: { optionName: "size", isCollectionItem: false },
68
- title: { optionName: "title", isCollectionItem: false },
69
- tooltip: { optionName: "tooltip", isCollectionItem: false },
70
- valueAxis: { optionName: "valueAxis", isCollectionItem: true },
71
- zoomAndPan: { optionName: "zoomAndPan", isCollectionItem: false }
72
- };
73
- return _this;
74
- }
75
- Object.defineProperty(Chart.prototype, "instance", {
76
- get: function () {
77
- return this._instance;
78
- },
79
- enumerable: false,
80
- configurable: true
81
- });
82
- return Chart;
83
- }(BaseComponent));
84
- Chart.propTypes = {
85
- adaptiveLayout: PropTypes.object,
86
- adjustOnZoom: PropTypes.bool,
87
- animation: PropTypes.oneOfType([
88
- PropTypes.bool,
89
- PropTypes.object
90
- ]),
91
- annotations: PropTypes.array,
92
- argumentAxis: PropTypes.object,
93
- autoHidePointMarkers: PropTypes.bool,
94
- barGroupPadding: PropTypes.number,
95
- barGroupWidth: PropTypes.number,
96
- commonAnnotationSettings: PropTypes.object,
97
- commonAxisSettings: PropTypes.object,
98
- commonPaneSettings: PropTypes.object,
99
- commonSeriesSettings: PropTypes.object,
100
- containerBackgroundColor: PropTypes.string,
101
- crosshair: PropTypes.object,
102
- customizeAnnotation: PropTypes.func,
103
- customizeLabel: PropTypes.func,
104
- customizePoint: PropTypes.func,
105
- dataPrepareSettings: PropTypes.object,
106
- defaultPane: PropTypes.string,
107
- disabled: PropTypes.bool,
108
- elementAttr: PropTypes.object,
109
- export: PropTypes.object,
110
- legend: PropTypes.object,
111
- loadingIndicator: PropTypes.object,
112
- margin: PropTypes.object,
113
- maxBubbleSize: PropTypes.number,
114
- minBubbleSize: PropTypes.number,
115
- negativesAsZeroes: PropTypes.bool,
116
- onArgumentAxisClick: PropTypes.func,
117
- onDisposing: PropTypes.func,
118
- onDone: PropTypes.func,
119
- onDrawn: PropTypes.func,
120
- onExported: PropTypes.func,
121
- onExporting: PropTypes.func,
122
- onFileSaving: PropTypes.func,
123
- onIncidentOccurred: PropTypes.func,
124
- onInitialized: PropTypes.func,
125
- onLegendClick: PropTypes.func,
126
- onOptionChanged: PropTypes.func,
127
- onPointClick: PropTypes.func,
128
- onPointHoverChanged: PropTypes.func,
129
- onPointSelectionChanged: PropTypes.func,
130
- onSeriesClick: PropTypes.func,
131
- onSeriesHoverChanged: PropTypes.func,
132
- onSeriesSelectionChanged: PropTypes.func,
133
- onTooltipHidden: PropTypes.func,
134
- onTooltipShown: PropTypes.func,
135
- onZoomEnd: PropTypes.func,
136
- onZoomStart: PropTypes.func,
137
- palette: PropTypes.oneOfType([
138
- PropTypes.array,
139
- PropTypes.oneOfType([
140
- PropTypes.string,
141
- PropTypes.oneOf([
142
- "Bright",
143
- "Harmony Light",
144
- "Ocean",
145
- "Pastel",
146
- "Soft",
147
- "Soft Pastel",
148
- "Vintage",
149
- "Violet",
150
- "Carmine",
151
- "Dark Moon",
152
- "Dark Violet",
153
- "Green Mist",
154
- "Soft Blue",
155
- "Material",
156
- "Office"
157
- ])
158
- ])
159
- ]),
160
- paletteExtensionMode: PropTypes.oneOfType([
161
- PropTypes.string,
162
- PropTypes.oneOf([
163
- "alternate",
164
- "blend",
165
- "extrapolate"
166
- ])
167
- ]),
168
- panes: PropTypes.oneOfType([
169
- PropTypes.array,
170
- PropTypes.object
171
- ]),
172
- pathModified: PropTypes.bool,
173
- pointSelectionMode: PropTypes.oneOfType([
174
- PropTypes.string,
175
- PropTypes.oneOf([
176
- "single",
177
- "multiple"
178
- ])
179
- ]),
180
- redrawOnResize: PropTypes.bool,
181
- resizePanesOnZoom: PropTypes.bool,
182
- resolveLabelOverlapping: PropTypes.oneOfType([
183
- PropTypes.string,
184
- PropTypes.oneOf([
185
- "hide",
186
- "none",
187
- "stack"
188
- ])
189
- ]),
190
- rotated: PropTypes.bool,
191
- rtlEnabled: PropTypes.bool,
192
- scrollBar: PropTypes.object,
193
- series: PropTypes.oneOfType([
194
- PropTypes.array,
195
- PropTypes.object
196
- ]),
197
- seriesSelectionMode: PropTypes.oneOfType([
198
- PropTypes.string,
199
- PropTypes.oneOf([
200
- "single",
201
- "multiple"
202
- ])
203
- ]),
204
- seriesTemplate: PropTypes.object,
205
- size: PropTypes.object,
206
- stickyHovering: PropTypes.bool,
207
- synchronizeMultiAxes: PropTypes.bool,
208
- theme: PropTypes.oneOfType([
209
- PropTypes.string,
210
- PropTypes.oneOf([
211
- "generic.dark",
212
- "generic.light",
213
- "generic.contrast",
214
- "generic.carmine",
215
- "generic.darkmoon",
216
- "generic.darkviolet",
217
- "generic.greenmist",
218
- "generic.softblue",
219
- "material.blue.light",
220
- "material.lime.light",
221
- "material.orange.light",
222
- "material.purple.light",
223
- "material.teal.light"
224
- ])
225
- ]),
226
- title: PropTypes.oneOfType([
227
- PropTypes.object,
228
- PropTypes.string
229
- ]),
230
- tooltip: PropTypes.object,
231
- valueAxis: PropTypes.oneOfType([
232
- PropTypes.array,
233
- PropTypes.object
234
- ]),
235
- zoomAndPan: PropTypes.object
236
- };
237
- var AdaptiveLayout = /** @class */ (function (_super) {
238
- __extends(AdaptiveLayout, _super);
239
- function AdaptiveLayout() {
240
- return _super !== null && _super.apply(this, arguments) || this;
241
- }
242
- AdaptiveLayout.OptionName = "adaptiveLayout";
243
- return AdaptiveLayout;
244
- }(NestedOption));
245
- var Aggregation = /** @class */ (function (_super) {
246
- __extends(Aggregation, _super);
247
- function Aggregation() {
248
- return _super !== null && _super.apply(this, arguments) || this;
249
- }
250
- Aggregation.OptionName = "aggregation";
251
- return Aggregation;
252
- }(NestedOption));
253
- var AggregationInterval = /** @class */ (function (_super) {
254
- __extends(AggregationInterval, _super);
255
- function AggregationInterval() {
256
- return _super !== null && _super.apply(this, arguments) || this;
257
- }
258
- AggregationInterval.OptionName = "aggregationInterval";
259
- return AggregationInterval;
260
- }(NestedOption));
261
- var Animation = /** @class */ (function (_super) {
262
- __extends(Animation, _super);
263
- function Animation() {
264
- return _super !== null && _super.apply(this, arguments) || this;
265
- }
266
- Animation.OptionName = "animation";
267
- return Animation;
268
- }(NestedOption));
269
- var Annotation = /** @class */ (function (_super) {
270
- __extends(Annotation, _super);
271
- function Annotation() {
272
- return _super !== null && _super.apply(this, arguments) || this;
273
- }
274
- Annotation.OptionName = "annotations";
275
- Annotation.IsCollectionItem = true;
276
- Annotation.ExpectedChildren = {
31
+ var Chart = memo(forwardRef(function (props, ref) {
32
+ var baseRef = useRef(null);
33
+ useImperativeHandle(ref, function () { return ({
34
+ instance: function () {
35
+ var _a;
36
+ return (_a = baseRef.current) === null || _a === void 0 ? void 0 : _a.getInstance();
37
+ }
38
+ }); }, [baseRef.current]);
39
+ var subscribableOptions = useMemo(function () { return (["argumentAxis", "argumentAxis.categories", "argumentAxis.visualRange", "loadingIndicator", "loadingIndicator.show", "valueAxis", "valueAxis.categories", "valueAxis.visualRange"]); }, []);
40
+ var independentEvents = useMemo(function () { return (["onArgumentAxisClick", "onDisposing", "onDone", "onDrawn", "onExported", "onExporting", "onFileSaving", "onIncidentOccurred", "onInitialized", "onLegendClick", "onPointClick", "onSeriesClick", "onTooltipHidden", "onTooltipShown", "onZoomEnd", "onZoomStart"]); }, []);
41
+ var defaults = useMemo(function () { return ({
42
+ defaultArgumentAxis: "argumentAxis",
43
+ defaultLoadingIndicator: "loadingIndicator",
44
+ defaultValueAxis: "valueAxis",
45
+ }); }, []);
46
+ var expectedChildren = useMemo(function () { return ({
47
+ adaptiveLayout: { optionName: "adaptiveLayout", isCollectionItem: false },
48
+ animation: { optionName: "animation", isCollectionItem: false },
49
+ annotation: { optionName: "annotations", isCollectionItem: true },
50
+ argumentAxis: { optionName: "argumentAxis", isCollectionItem: false },
51
+ chartTitle: { optionName: "title", isCollectionItem: false },
52
+ commonAnnotationSettings: { optionName: "commonAnnotationSettings", isCollectionItem: false },
53
+ commonAxisSettings: { optionName: "commonAxisSettings", isCollectionItem: false },
54
+ commonPaneSettings: { optionName: "commonPaneSettings", isCollectionItem: false },
55
+ commonSeriesSettings: { optionName: "commonSeriesSettings", isCollectionItem: false },
56
+ crosshair: { optionName: "crosshair", isCollectionItem: false },
57
+ dataPrepareSettings: { optionName: "dataPrepareSettings", isCollectionItem: false },
58
+ export: { optionName: "export", isCollectionItem: false },
59
+ legend: { optionName: "legend", isCollectionItem: false },
60
+ loadingIndicator: { optionName: "loadingIndicator", isCollectionItem: false },
61
+ margin: { optionName: "margin", isCollectionItem: false },
62
+ pane: { optionName: "panes", isCollectionItem: true },
63
+ scrollBar: { optionName: "scrollBar", isCollectionItem: false },
64
+ series: { optionName: "series", isCollectionItem: true },
65
+ seriesTemplate: { optionName: "seriesTemplate", isCollectionItem: false },
66
+ size: { optionName: "size", isCollectionItem: false },
67
+ title: { optionName: "title", isCollectionItem: false },
68
+ tooltip: { optionName: "tooltip", isCollectionItem: false },
69
+ valueAxis: { optionName: "valueAxis", isCollectionItem: true },
70
+ zoomAndPan: { optionName: "zoomAndPan", isCollectionItem: false }
71
+ }); }, []);
72
+ return (React.createElement((BaseComponent), __assign({ WidgetClass: dxChart, ref: baseRef, useRequestAnimationFrameFlag: true, subscribableOptions: subscribableOptions, independentEvents: independentEvents, defaults: defaults, expectedChildren: expectedChildren }, props)));
73
+ }));
74
+ var _componentAdaptiveLayout = memo(function (props) {
75
+ return React.createElement((NestedOption), __assign({}, props));
76
+ });
77
+ var AdaptiveLayout = Object.assign(_componentAdaptiveLayout, {
78
+ OptionName: "adaptiveLayout",
79
+ });
80
+ var _componentAggregation = memo(function (props) {
81
+ return React.createElement((NestedOption), __assign({}, props));
82
+ });
83
+ var Aggregation = Object.assign(_componentAggregation, {
84
+ OptionName: "aggregation",
85
+ });
86
+ var _componentAggregationInterval = memo(function (props) {
87
+ return React.createElement((NestedOption), __assign({}, props));
88
+ });
89
+ var AggregationInterval = Object.assign(_componentAggregationInterval, {
90
+ OptionName: "aggregationInterval",
91
+ });
92
+ var _componentAnimation = memo(function (props) {
93
+ return React.createElement((NestedOption), __assign({}, props));
94
+ });
95
+ var Animation = Object.assign(_componentAnimation, {
96
+ OptionName: "animation",
97
+ });
98
+ var _componentAnnotation = memo(function (props) {
99
+ return React.createElement((NestedOption), __assign({}, props));
100
+ });
101
+ var Annotation = Object.assign(_componentAnnotation, {
102
+ OptionName: "annotations",
103
+ IsCollectionItem: true,
104
+ ExpectedChildren: {
277
105
  annotationBorder: { optionName: "border", isCollectionItem: false },
278
106
  annotationImage: { optionName: "image", isCollectionItem: false },
279
107
  border: { optionName: "border", isCollectionItem: false },
280
108
  font: { optionName: "font", isCollectionItem: false },
281
109
  image: { optionName: "image", isCollectionItem: false },
282
110
  shadow: { optionName: "shadow", isCollectionItem: false }
283
- };
284
- Annotation.TemplateProps = [{
111
+ },
112
+ TemplateProps: [{
285
113
  tmplOption: "template",
286
114
  render: "render",
287
- component: "component",
288
- keyFn: "keyFn"
115
+ component: "component"
289
116
  }, {
290
117
  tmplOption: "tooltipTemplate",
291
118
  render: "tooltipRender",
292
- component: "tooltipComponent",
293
- keyFn: "tooltipKeyFn"
294
- }];
295
- return Annotation;
296
- }(NestedOption));
297
- var AnnotationBorder = /** @class */ (function (_super) {
298
- __extends(AnnotationBorder, _super);
299
- function AnnotationBorder() {
300
- return _super !== null && _super.apply(this, arguments) || this;
301
- }
302
- AnnotationBorder.OptionName = "border";
303
- return AnnotationBorder;
304
- }(NestedOption));
305
- var AnnotationImage = /** @class */ (function (_super) {
306
- __extends(AnnotationImage, _super);
307
- function AnnotationImage() {
308
- return _super !== null && _super.apply(this, arguments) || this;
309
- }
310
- AnnotationImage.OptionName = "image";
311
- return AnnotationImage;
312
- }(NestedOption));
313
- var ArgumentAxis = /** @class */ (function (_super) {
314
- __extends(ArgumentAxis, _super);
315
- function ArgumentAxis() {
316
- return _super !== null && _super.apply(this, arguments) || this;
317
- }
318
- ArgumentAxis.OptionName = "argumentAxis";
319
- ArgumentAxis.DefaultsProps = {
119
+ component: "tooltipComponent"
120
+ }],
121
+ });
122
+ var _componentAnnotationBorder = memo(function (props) {
123
+ return React.createElement((NestedOption), __assign({}, props));
124
+ });
125
+ var AnnotationBorder = Object.assign(_componentAnnotationBorder, {
126
+ OptionName: "border",
127
+ });
128
+ var _componentAnnotationImage = memo(function (props) {
129
+ return React.createElement((NestedOption), __assign({}, props));
130
+ });
131
+ var AnnotationImage = Object.assign(_componentAnnotationImage, {
132
+ OptionName: "image",
133
+ });
134
+ var _componentArgumentAxis = memo(function (props) {
135
+ return React.createElement((NestedOption), __assign({}, props));
136
+ });
137
+ var ArgumentAxis = Object.assign(_componentArgumentAxis, {
138
+ OptionName: "argumentAxis",
139
+ DefaultsProps: {
320
140
  defaultCategories: "categories",
321
141
  defaultVisualRange: "visualRange"
322
- };
323
- ArgumentAxis.ExpectedChildren = {
142
+ },
143
+ ExpectedChildren: {
324
144
  aggregationInterval: { optionName: "aggregationInterval", isCollectionItem: false },
325
145
  axisConstantLineStyle: { optionName: "constantLineStyle", isCollectionItem: false },
326
146
  axisLabel: { optionName: "label", isCollectionItem: false },
@@ -342,218 +162,174 @@ var ArgumentAxis = /** @class */ (function (_super) {
342
162
  title: { optionName: "title", isCollectionItem: false },
343
163
  visualRange: { optionName: "visualRange", isCollectionItem: false },
344
164
  wholeRange: { optionName: "wholeRange", isCollectionItem: false }
345
- };
346
- return ArgumentAxis;
347
- }(NestedOption));
348
- var ArgumentFormat = /** @class */ (function (_super) {
349
- __extends(ArgumentFormat, _super);
350
- function ArgumentFormat() {
351
- return _super !== null && _super.apply(this, arguments) || this;
352
- }
353
- ArgumentFormat.OptionName = "argumentFormat";
354
- return ArgumentFormat;
355
- }(NestedOption));
356
- var AxisConstantLineStyle = /** @class */ (function (_super) {
357
- __extends(AxisConstantLineStyle, _super);
358
- function AxisConstantLineStyle() {
359
- return _super !== null && _super.apply(this, arguments) || this;
360
- }
361
- AxisConstantLineStyle.OptionName = "constantLineStyle";
362
- return AxisConstantLineStyle;
363
- }(NestedOption));
364
- var AxisConstantLineStyleLabel = /** @class */ (function (_super) {
365
- __extends(AxisConstantLineStyleLabel, _super);
366
- function AxisConstantLineStyleLabel() {
367
- return _super !== null && _super.apply(this, arguments) || this;
368
- }
369
- AxisConstantLineStyleLabel.OptionName = "label";
370
- return AxisConstantLineStyleLabel;
371
- }(NestedOption));
372
- var AxisLabel = /** @class */ (function (_super) {
373
- __extends(AxisLabel, _super);
374
- function AxisLabel() {
375
- return _super !== null && _super.apply(this, arguments) || this;
376
- }
377
- AxisLabel.OptionName = "label";
378
- AxisLabel.TemplateProps = [{
165
+ },
166
+ });
167
+ var _componentArgumentFormat = memo(function (props) {
168
+ return React.createElement((NestedOption), __assign({}, props));
169
+ });
170
+ var ArgumentFormat = Object.assign(_componentArgumentFormat, {
171
+ OptionName: "argumentFormat",
172
+ });
173
+ var _componentAxisConstantLineStyle = memo(function (props) {
174
+ return React.createElement((NestedOption), __assign({}, props));
175
+ });
176
+ var AxisConstantLineStyle = Object.assign(_componentAxisConstantLineStyle, {
177
+ OptionName: "constantLineStyle",
178
+ });
179
+ var _componentAxisConstantLineStyleLabel = memo(function (props) {
180
+ return React.createElement((NestedOption), __assign({}, props));
181
+ });
182
+ var AxisConstantLineStyleLabel = Object.assign(_componentAxisConstantLineStyleLabel, {
183
+ OptionName: "label",
184
+ });
185
+ var _componentAxisLabel = memo(function (props) {
186
+ return React.createElement((NestedOption), __assign({}, props));
187
+ });
188
+ var AxisLabel = Object.assign(_componentAxisLabel, {
189
+ OptionName: "label",
190
+ TemplateProps: [{
379
191
  tmplOption: "template",
380
192
  render: "render",
381
- component: "component",
382
- keyFn: "keyFn"
383
- }];
384
- return AxisLabel;
385
- }(NestedOption));
386
- var AxisTitle = /** @class */ (function (_super) {
387
- __extends(AxisTitle, _super);
388
- function AxisTitle() {
389
- return _super !== null && _super.apply(this, arguments) || this;
390
- }
391
- AxisTitle.OptionName = "title";
392
- return AxisTitle;
393
- }(NestedOption));
394
- var BackgroundColor = /** @class */ (function (_super) {
395
- __extends(BackgroundColor, _super);
396
- function BackgroundColor() {
397
- return _super !== null && _super.apply(this, arguments) || this;
398
- }
399
- BackgroundColor.OptionName = "backgroundColor";
400
- return BackgroundColor;
401
- }(NestedOption));
402
- var Border = /** @class */ (function (_super) {
403
- __extends(Border, _super);
404
- function Border() {
405
- return _super !== null && _super.apply(this, arguments) || this;
406
- }
407
- Border.OptionName = "border";
408
- return Border;
409
- }(NestedOption));
410
- var Break = /** @class */ (function (_super) {
411
- __extends(Break, _super);
412
- function Break() {
413
- return _super !== null && _super.apply(this, arguments) || this;
414
- }
415
- Break.OptionName = "breaks";
416
- Break.IsCollectionItem = true;
417
- return Break;
418
- }(NestedOption));
419
- var BreakStyle = /** @class */ (function (_super) {
420
- __extends(BreakStyle, _super);
421
- function BreakStyle() {
422
- return _super !== null && _super.apply(this, arguments) || this;
423
- }
424
- BreakStyle.OptionName = "breakStyle";
425
- return BreakStyle;
426
- }(NestedOption));
427
- var ChartTitle = /** @class */ (function (_super) {
428
- __extends(ChartTitle, _super);
429
- function ChartTitle() {
430
- return _super !== null && _super.apply(this, arguments) || this;
431
- }
432
- ChartTitle.OptionName = "title";
433
- ChartTitle.ExpectedChildren = {
193
+ component: "component"
194
+ }],
195
+ });
196
+ var _componentAxisTitle = memo(function (props) {
197
+ return React.createElement((NestedOption), __assign({}, props));
198
+ });
199
+ var AxisTitle = Object.assign(_componentAxisTitle, {
200
+ OptionName: "title",
201
+ });
202
+ var _componentBackgroundColor = memo(function (props) {
203
+ return React.createElement((NestedOption), __assign({}, props));
204
+ });
205
+ var BackgroundColor = Object.assign(_componentBackgroundColor, {
206
+ OptionName: "backgroundColor",
207
+ });
208
+ var _componentBorder = memo(function (props) {
209
+ return React.createElement((NestedOption), __assign({}, props));
210
+ });
211
+ var Border = Object.assign(_componentBorder, {
212
+ OptionName: "border",
213
+ });
214
+ var _componentBreak = memo(function (props) {
215
+ return React.createElement((NestedOption), __assign({}, props));
216
+ });
217
+ var Break = Object.assign(_componentBreak, {
218
+ OptionName: "breaks",
219
+ IsCollectionItem: true,
220
+ });
221
+ var _componentBreakStyle = memo(function (props) {
222
+ return React.createElement((NestedOption), __assign({}, props));
223
+ });
224
+ var BreakStyle = Object.assign(_componentBreakStyle, {
225
+ OptionName: "breakStyle",
226
+ });
227
+ var _componentChartTitle = memo(function (props) {
228
+ return React.createElement((NestedOption), __assign({}, props));
229
+ });
230
+ var ChartTitle = Object.assign(_componentChartTitle, {
231
+ OptionName: "title",
232
+ ExpectedChildren: {
434
233
  chartTitleSubtitle: { optionName: "subtitle", isCollectionItem: false },
435
234
  font: { optionName: "font", isCollectionItem: false },
436
235
  margin: { optionName: "margin", isCollectionItem: false },
437
236
  subtitle: { optionName: "subtitle", isCollectionItem: false }
438
- };
439
- return ChartTitle;
440
- }(NestedOption));
441
- var ChartTitleSubtitle = /** @class */ (function (_super) {
442
- __extends(ChartTitleSubtitle, _super);
443
- function ChartTitleSubtitle() {
444
- return _super !== null && _super.apply(this, arguments) || this;
445
- }
446
- ChartTitleSubtitle.OptionName = "subtitle";
447
- ChartTitleSubtitle.ExpectedChildren = {
237
+ },
238
+ });
239
+ var _componentChartTitleSubtitle = memo(function (props) {
240
+ return React.createElement((NestedOption), __assign({}, props));
241
+ });
242
+ var ChartTitleSubtitle = Object.assign(_componentChartTitleSubtitle, {
243
+ OptionName: "subtitle",
244
+ ExpectedChildren: {
448
245
  font: { optionName: "font", isCollectionItem: false }
449
- };
450
- return ChartTitleSubtitle;
451
- }(NestedOption));
452
- var Color = /** @class */ (function (_super) {
453
- __extends(Color, _super);
454
- function Color() {
455
- return _super !== null && _super.apply(this, arguments) || this;
456
- }
457
- Color.OptionName = "color";
458
- return Color;
459
- }(NestedOption));
460
- var CommonAnnotationSettings = /** @class */ (function (_super) {
461
- __extends(CommonAnnotationSettings, _super);
462
- function CommonAnnotationSettings() {
463
- return _super !== null && _super.apply(this, arguments) || this;
464
- }
465
- CommonAnnotationSettings.OptionName = "commonAnnotationSettings";
466
- CommonAnnotationSettings.TemplateProps = [{
246
+ },
247
+ });
248
+ var _componentColor = memo(function (props) {
249
+ return React.createElement((NestedOption), __assign({}, props));
250
+ });
251
+ var Color = Object.assign(_componentColor, {
252
+ OptionName: "color",
253
+ });
254
+ var _componentCommonAnnotationSettings = memo(function (props) {
255
+ return React.createElement((NestedOption), __assign({}, props));
256
+ });
257
+ var CommonAnnotationSettings = Object.assign(_componentCommonAnnotationSettings, {
258
+ OptionName: "commonAnnotationSettings",
259
+ TemplateProps: [{
467
260
  tmplOption: "template",
468
261
  render: "render",
469
- component: "component",
470
- keyFn: "keyFn"
262
+ component: "component"
471
263
  }, {
472
264
  tmplOption: "tooltipTemplate",
473
265
  render: "tooltipRender",
474
- component: "tooltipComponent",
475
- keyFn: "tooltipKeyFn"
476
- }];
477
- return CommonAnnotationSettings;
478
- }(NestedOption));
479
- var CommonAxisSettings = /** @class */ (function (_super) {
480
- __extends(CommonAxisSettings, _super);
481
- function CommonAxisSettings() {
482
- return _super !== null && _super.apply(this, arguments) || this;
483
- }
484
- CommonAxisSettings.OptionName = "commonAxisSettings";
485
- CommonAxisSettings.ExpectedChildren = {
266
+ component: "tooltipComponent"
267
+ }],
268
+ });
269
+ var _componentCommonAxisSettings = memo(function (props) {
270
+ return React.createElement((NestedOption), __assign({}, props));
271
+ });
272
+ var CommonAxisSettings = Object.assign(_componentCommonAxisSettings, {
273
+ OptionName: "commonAxisSettings",
274
+ ExpectedChildren: {
486
275
  commonAxisSettingsConstantLineStyle: { optionName: "constantLineStyle", isCollectionItem: false },
487
276
  commonAxisSettingsLabel: { optionName: "label", isCollectionItem: false },
488
277
  commonAxisSettingsTitle: { optionName: "title", isCollectionItem: false },
489
278
  constantLineStyle: { optionName: "constantLineStyle", isCollectionItem: false },
490
279
  label: { optionName: "label", isCollectionItem: false },
491
280
  title: { optionName: "title", isCollectionItem: false }
492
- };
493
- return CommonAxisSettings;
494
- }(NestedOption));
495
- var CommonAxisSettingsConstantLineStyle = /** @class */ (function (_super) {
496
- __extends(CommonAxisSettingsConstantLineStyle, _super);
497
- function CommonAxisSettingsConstantLineStyle() {
498
- return _super !== null && _super.apply(this, arguments) || this;
499
- }
500
- CommonAxisSettingsConstantLineStyle.OptionName = "constantLineStyle";
501
- CommonAxisSettingsConstantLineStyle.ExpectedChildren = {
281
+ },
282
+ });
283
+ var _componentCommonAxisSettingsConstantLineStyle = memo(function (props) {
284
+ return React.createElement((NestedOption), __assign({}, props));
285
+ });
286
+ var CommonAxisSettingsConstantLineStyle = Object.assign(_componentCommonAxisSettingsConstantLineStyle, {
287
+ OptionName: "constantLineStyle",
288
+ ExpectedChildren: {
502
289
  commonAxisSettingsConstantLineStyleLabel: { optionName: "label", isCollectionItem: false },
503
290
  label: { optionName: "label", isCollectionItem: false }
504
- };
505
- return CommonAxisSettingsConstantLineStyle;
506
- }(NestedOption));
507
- var CommonAxisSettingsConstantLineStyleLabel = /** @class */ (function (_super) {
508
- __extends(CommonAxisSettingsConstantLineStyleLabel, _super);
509
- function CommonAxisSettingsConstantLineStyleLabel() {
510
- return _super !== null && _super.apply(this, arguments) || this;
511
- }
512
- CommonAxisSettingsConstantLineStyleLabel.OptionName = "label";
513
- return CommonAxisSettingsConstantLineStyleLabel;
514
- }(NestedOption));
515
- var CommonAxisSettingsLabel = /** @class */ (function (_super) {
516
- __extends(CommonAxisSettingsLabel, _super);
517
- function CommonAxisSettingsLabel() {
518
- return _super !== null && _super.apply(this, arguments) || this;
519
- }
520
- CommonAxisSettingsLabel.OptionName = "label";
521
- CommonAxisSettingsLabel.TemplateProps = [{
291
+ },
292
+ });
293
+ var _componentCommonAxisSettingsConstantLineStyleLabel = memo(function (props) {
294
+ return React.createElement((NestedOption), __assign({}, props));
295
+ });
296
+ var CommonAxisSettingsConstantLineStyleLabel = Object.assign(_componentCommonAxisSettingsConstantLineStyleLabel, {
297
+ OptionName: "label",
298
+ });
299
+ var _componentCommonAxisSettingsLabel = memo(function (props) {
300
+ return React.createElement((NestedOption), __assign({}, props));
301
+ });
302
+ var CommonAxisSettingsLabel = Object.assign(_componentCommonAxisSettingsLabel, {
303
+ OptionName: "label",
304
+ TemplateProps: [{
522
305
  tmplOption: "template",
523
306
  render: "render",
524
- component: "component",
525
- keyFn: "keyFn"
526
- }];
527
- return CommonAxisSettingsLabel;
528
- }(NestedOption));
529
- var CommonAxisSettingsTitle = /** @class */ (function (_super) {
530
- __extends(CommonAxisSettingsTitle, _super);
531
- function CommonAxisSettingsTitle() {
532
- return _super !== null && _super.apply(this, arguments) || this;
533
- }
534
- CommonAxisSettingsTitle.OptionName = "title";
535
- return CommonAxisSettingsTitle;
536
- }(NestedOption));
537
- var CommonPaneSettings = /** @class */ (function (_super) {
538
- __extends(CommonPaneSettings, _super);
539
- function CommonPaneSettings() {
540
- return _super !== null && _super.apply(this, arguments) || this;
541
- }
542
- CommonPaneSettings.OptionName = "commonPaneSettings";
543
- CommonPaneSettings.ExpectedChildren = {
307
+ component: "component"
308
+ }],
309
+ });
310
+ var _componentCommonAxisSettingsTitle = memo(function (props) {
311
+ return React.createElement((NestedOption), __assign({}, props));
312
+ });
313
+ var CommonAxisSettingsTitle = Object.assign(_componentCommonAxisSettingsTitle, {
314
+ OptionName: "title",
315
+ });
316
+ var _componentCommonPaneSettings = memo(function (props) {
317
+ return React.createElement((NestedOption), __assign({}, props));
318
+ });
319
+ var CommonPaneSettings = Object.assign(_componentCommonPaneSettings, {
320
+ OptionName: "commonPaneSettings",
321
+ ExpectedChildren: {
544
322
  backgroundColor: { optionName: "backgroundColor", isCollectionItem: false },
545
323
  border: { optionName: "border", isCollectionItem: false },
546
324
  paneBorder: { optionName: "border", isCollectionItem: false }
547
- };
548
- return CommonPaneSettings;
549
- }(NestedOption));
550
- var CommonSeriesSettings = /** @class */ (function (_super) {
551
- __extends(CommonSeriesSettings, _super);
552
- function CommonSeriesSettings() {
553
- return _super !== null && _super.apply(this, arguments) || this;
554
- }
555
- CommonSeriesSettings.OptionName = "commonSeriesSettings";
556
- CommonSeriesSettings.ExpectedChildren = {
325
+ },
326
+ });
327
+ var _componentCommonSeriesSettings = memo(function (props) {
328
+ return React.createElement((NestedOption), __assign({}, props));
329
+ });
330
+ var CommonSeriesSettings = Object.assign(_componentCommonSeriesSettings, {
331
+ OptionName: "commonSeriesSettings",
332
+ ExpectedChildren: {
557
333
  aggregation: { optionName: "aggregation", isCollectionItem: false },
558
334
  border: { optionName: "border", isCollectionItem: false },
559
335
  color: { optionName: "color", isCollectionItem: false },
@@ -567,347 +343,277 @@ var CommonSeriesSettings = /** @class */ (function (_super) {
567
343
  selectionStyle: { optionName: "selectionStyle", isCollectionItem: false },
568
344
  seriesBorder: { optionName: "border", isCollectionItem: false },
569
345
  valueErrorBar: { optionName: "valueErrorBar", isCollectionItem: false }
570
- };
571
- return CommonSeriesSettings;
572
- }(NestedOption));
573
- var CommonSeriesSettingsHoverStyle = /** @class */ (function (_super) {
574
- __extends(CommonSeriesSettingsHoverStyle, _super);
575
- function CommonSeriesSettingsHoverStyle() {
576
- return _super !== null && _super.apply(this, arguments) || this;
577
- }
578
- CommonSeriesSettingsHoverStyle.OptionName = "hoverStyle";
579
- CommonSeriesSettingsHoverStyle.ExpectedChildren = {
346
+ },
347
+ });
348
+ var _componentCommonSeriesSettingsHoverStyle = memo(function (props) {
349
+ return React.createElement((NestedOption), __assign({}, props));
350
+ });
351
+ var CommonSeriesSettingsHoverStyle = Object.assign(_componentCommonSeriesSettingsHoverStyle, {
352
+ OptionName: "hoverStyle",
353
+ ExpectedChildren: {
580
354
  border: { optionName: "border", isCollectionItem: false },
581
355
  color: { optionName: "color", isCollectionItem: false },
582
356
  hatching: { optionName: "hatching", isCollectionItem: false },
583
357
  seriesBorder: { optionName: "border", isCollectionItem: false }
584
- };
585
- return CommonSeriesSettingsHoverStyle;
586
- }(NestedOption));
587
- var CommonSeriesSettingsLabel = /** @class */ (function (_super) {
588
- __extends(CommonSeriesSettingsLabel, _super);
589
- function CommonSeriesSettingsLabel() {
590
- return _super !== null && _super.apply(this, arguments) || this;
591
- }
592
- CommonSeriesSettingsLabel.OptionName = "label";
593
- CommonSeriesSettingsLabel.ExpectedChildren = {
358
+ },
359
+ });
360
+ var _componentCommonSeriesSettingsLabel = memo(function (props) {
361
+ return React.createElement((NestedOption), __assign({}, props));
362
+ });
363
+ var CommonSeriesSettingsLabel = Object.assign(_componentCommonSeriesSettingsLabel, {
364
+ OptionName: "label",
365
+ ExpectedChildren: {
594
366
  argumentFormat: { optionName: "argumentFormat", isCollectionItem: false },
595
367
  border: { optionName: "border", isCollectionItem: false },
596
368
  connector: { optionName: "connector", isCollectionItem: false },
597
369
  font: { optionName: "font", isCollectionItem: false },
598
370
  format: { optionName: "format", isCollectionItem: false },
599
371
  seriesBorder: { optionName: "border", isCollectionItem: false }
600
- };
601
- return CommonSeriesSettingsLabel;
602
- }(NestedOption));
603
- var CommonSeriesSettingsSelectionStyle = /** @class */ (function (_super) {
604
- __extends(CommonSeriesSettingsSelectionStyle, _super);
605
- function CommonSeriesSettingsSelectionStyle() {
606
- return _super !== null && _super.apply(this, arguments) || this;
607
- }
608
- CommonSeriesSettingsSelectionStyle.OptionName = "selectionStyle";
609
- CommonSeriesSettingsSelectionStyle.ExpectedChildren = {
372
+ },
373
+ });
374
+ var _componentCommonSeriesSettingsSelectionStyle = memo(function (props) {
375
+ return React.createElement((NestedOption), __assign({}, props));
376
+ });
377
+ var CommonSeriesSettingsSelectionStyle = Object.assign(_componentCommonSeriesSettingsSelectionStyle, {
378
+ OptionName: "selectionStyle",
379
+ ExpectedChildren: {
610
380
  border: { optionName: "border", isCollectionItem: false },
611
381
  color: { optionName: "color", isCollectionItem: false },
612
382
  hatching: { optionName: "hatching", isCollectionItem: false },
613
383
  seriesBorder: { optionName: "border", isCollectionItem: false }
614
- };
615
- return CommonSeriesSettingsSelectionStyle;
616
- }(NestedOption));
617
- var Connector = /** @class */ (function (_super) {
618
- __extends(Connector, _super);
619
- function Connector() {
620
- return _super !== null && _super.apply(this, arguments) || this;
621
- }
622
- Connector.OptionName = "connector";
623
- return Connector;
624
- }(NestedOption));
625
- var ConstantLine = /** @class */ (function (_super) {
626
- __extends(ConstantLine, _super);
627
- function ConstantLine() {
628
- return _super !== null && _super.apply(this, arguments) || this;
629
- }
630
- ConstantLine.OptionName = "constantLines";
631
- ConstantLine.IsCollectionItem = true;
632
- return ConstantLine;
633
- }(NestedOption));
634
- var ConstantLineLabel = /** @class */ (function (_super) {
635
- __extends(ConstantLineLabel, _super);
636
- function ConstantLineLabel() {
637
- return _super !== null && _super.apply(this, arguments) || this;
638
- }
639
- ConstantLineLabel.OptionName = "label";
640
- return ConstantLineLabel;
641
- }(NestedOption));
642
- var ConstantLineStyle = /** @class */ (function (_super) {
643
- __extends(ConstantLineStyle, _super);
644
- function ConstantLineStyle() {
645
- return _super !== null && _super.apply(this, arguments) || this;
646
- }
647
- ConstantLineStyle.OptionName = "constantLineStyle";
648
- return ConstantLineStyle;
649
- }(NestedOption));
650
- var Crosshair = /** @class */ (function (_super) {
651
- __extends(Crosshair, _super);
652
- function Crosshair() {
653
- return _super !== null && _super.apply(this, arguments) || this;
654
- }
655
- Crosshair.OptionName = "crosshair";
656
- Crosshair.ExpectedChildren = {
384
+ },
385
+ });
386
+ var _componentConnector = memo(function (props) {
387
+ return React.createElement((NestedOption), __assign({}, props));
388
+ });
389
+ var Connector = Object.assign(_componentConnector, {
390
+ OptionName: "connector",
391
+ });
392
+ var _componentConstantLine = memo(function (props) {
393
+ return React.createElement((NestedOption), __assign({}, props));
394
+ });
395
+ var ConstantLine = Object.assign(_componentConstantLine, {
396
+ OptionName: "constantLines",
397
+ IsCollectionItem: true,
398
+ });
399
+ var _componentConstantLineLabel = memo(function (props) {
400
+ return React.createElement((NestedOption), __assign({}, props));
401
+ });
402
+ var ConstantLineLabel = Object.assign(_componentConstantLineLabel, {
403
+ OptionName: "label",
404
+ });
405
+ var _componentConstantLineStyle = memo(function (props) {
406
+ return React.createElement((NestedOption), __assign({}, props));
407
+ });
408
+ var ConstantLineStyle = Object.assign(_componentConstantLineStyle, {
409
+ OptionName: "constantLineStyle",
410
+ });
411
+ var _componentCrosshair = memo(function (props) {
412
+ return React.createElement((NestedOption), __assign({}, props));
413
+ });
414
+ var Crosshair = Object.assign(_componentCrosshair, {
415
+ OptionName: "crosshair",
416
+ ExpectedChildren: {
657
417
  horizontalLine: { optionName: "horizontalLine", isCollectionItem: false },
658
418
  horizontalLineLabel: { optionName: "label", isCollectionItem: false },
659
419
  label: { optionName: "label", isCollectionItem: false },
660
420
  verticalLine: { optionName: "verticalLine", isCollectionItem: false }
661
- };
662
- return Crosshair;
663
- }(NestedOption));
664
- var DataPrepareSettings = /** @class */ (function (_super) {
665
- __extends(DataPrepareSettings, _super);
666
- function DataPrepareSettings() {
667
- return _super !== null && _super.apply(this, arguments) || this;
668
- }
669
- DataPrepareSettings.OptionName = "dataPrepareSettings";
670
- return DataPrepareSettings;
671
- }(NestedOption));
672
- var DragBoxStyle = /** @class */ (function (_super) {
673
- __extends(DragBoxStyle, _super);
674
- function DragBoxStyle() {
675
- return _super !== null && _super.apply(this, arguments) || this;
676
- }
677
- DragBoxStyle.OptionName = "dragBoxStyle";
678
- return DragBoxStyle;
679
- }(NestedOption));
680
- var Export = /** @class */ (function (_super) {
681
- __extends(Export, _super);
682
- function Export() {
683
- return _super !== null && _super.apply(this, arguments) || this;
684
- }
685
- Export.OptionName = "export";
686
- return Export;
687
- }(NestedOption));
688
- var Font = /** @class */ (function (_super) {
689
- __extends(Font, _super);
690
- function Font() {
691
- return _super !== null && _super.apply(this, arguments) || this;
692
- }
693
- Font.OptionName = "font";
694
- return Font;
695
- }(NestedOption));
696
- var Format = /** @class */ (function (_super) {
697
- __extends(Format, _super);
698
- function Format() {
699
- return _super !== null && _super.apply(this, arguments) || this;
700
- }
701
- Format.OptionName = "format";
702
- return Format;
703
- }(NestedOption));
704
- var Grid = /** @class */ (function (_super) {
705
- __extends(Grid, _super);
706
- function Grid() {
707
- return _super !== null && _super.apply(this, arguments) || this;
708
- }
709
- Grid.OptionName = "grid";
710
- return Grid;
711
- }(NestedOption));
712
- var Hatching = /** @class */ (function (_super) {
713
- __extends(Hatching, _super);
714
- function Hatching() {
715
- return _super !== null && _super.apply(this, arguments) || this;
716
- }
717
- Hatching.OptionName = "hatching";
718
- return Hatching;
719
- }(NestedOption));
720
- var Height = /** @class */ (function (_super) {
721
- __extends(Height, _super);
722
- function Height() {
723
- return _super !== null && _super.apply(this, arguments) || this;
724
- }
725
- Height.OptionName = "height";
726
- return Height;
727
- }(NestedOption));
728
- var HorizontalLine = /** @class */ (function (_super) {
729
- __extends(HorizontalLine, _super);
730
- function HorizontalLine() {
731
- return _super !== null && _super.apply(this, arguments) || this;
732
- }
733
- HorizontalLine.OptionName = "horizontalLine";
734
- HorizontalLine.ExpectedChildren = {
421
+ },
422
+ });
423
+ var _componentDataPrepareSettings = memo(function (props) {
424
+ return React.createElement((NestedOption), __assign({}, props));
425
+ });
426
+ var DataPrepareSettings = Object.assign(_componentDataPrepareSettings, {
427
+ OptionName: "dataPrepareSettings",
428
+ });
429
+ var _componentDragBoxStyle = memo(function (props) {
430
+ return React.createElement((NestedOption), __assign({}, props));
431
+ });
432
+ var DragBoxStyle = Object.assign(_componentDragBoxStyle, {
433
+ OptionName: "dragBoxStyle",
434
+ });
435
+ var _componentExport = memo(function (props) {
436
+ return React.createElement((NestedOption), __assign({}, props));
437
+ });
438
+ var Export = Object.assign(_componentExport, {
439
+ OptionName: "export",
440
+ });
441
+ var _componentFont = memo(function (props) {
442
+ return React.createElement((NestedOption), __assign({}, props));
443
+ });
444
+ var Font = Object.assign(_componentFont, {
445
+ OptionName: "font",
446
+ });
447
+ var _componentFormat = memo(function (props) {
448
+ return React.createElement((NestedOption), __assign({}, props));
449
+ });
450
+ var Format = Object.assign(_componentFormat, {
451
+ OptionName: "format",
452
+ });
453
+ var _componentGrid = memo(function (props) {
454
+ return React.createElement((NestedOption), __assign({}, props));
455
+ });
456
+ var Grid = Object.assign(_componentGrid, {
457
+ OptionName: "grid",
458
+ });
459
+ var _componentHatching = memo(function (props) {
460
+ return React.createElement((NestedOption), __assign({}, props));
461
+ });
462
+ var Hatching = Object.assign(_componentHatching, {
463
+ OptionName: "hatching",
464
+ });
465
+ var _componentHeight = memo(function (props) {
466
+ return React.createElement((NestedOption), __assign({}, props));
467
+ });
468
+ var Height = Object.assign(_componentHeight, {
469
+ OptionName: "height",
470
+ });
471
+ var _componentHorizontalLine = memo(function (props) {
472
+ return React.createElement((NestedOption), __assign({}, props));
473
+ });
474
+ var HorizontalLine = Object.assign(_componentHorizontalLine, {
475
+ OptionName: "horizontalLine",
476
+ ExpectedChildren: {
735
477
  horizontalLineLabel: { optionName: "label", isCollectionItem: false },
736
478
  label: { optionName: "label", isCollectionItem: false }
737
- };
738
- return HorizontalLine;
739
- }(NestedOption));
740
- var HorizontalLineLabel = /** @class */ (function (_super) {
741
- __extends(HorizontalLineLabel, _super);
742
- function HorizontalLineLabel() {
743
- return _super !== null && _super.apply(this, arguments) || this;
744
- }
745
- HorizontalLineLabel.OptionName = "label";
746
- return HorizontalLineLabel;
747
- }(NestedOption));
748
- var HoverStyle = /** @class */ (function (_super) {
749
- __extends(HoverStyle, _super);
750
- function HoverStyle() {
751
- return _super !== null && _super.apply(this, arguments) || this;
752
- }
753
- HoverStyle.OptionName = "hoverStyle";
754
- return HoverStyle;
755
- }(NestedOption));
756
- var Image = /** @class */ (function (_super) {
757
- __extends(Image, _super);
758
- function Image() {
759
- return _super !== null && _super.apply(this, arguments) || this;
760
- }
761
- Image.OptionName = "image";
762
- return Image;
763
- }(NestedOption));
764
- var Label = /** @class */ (function (_super) {
765
- __extends(Label, _super);
766
- function Label() {
767
- return _super !== null && _super.apply(this, arguments) || this;
768
- }
769
- Label.OptionName = "label";
770
- Label.TemplateProps = [{
479
+ },
480
+ });
481
+ var _componentHorizontalLineLabel = memo(function (props) {
482
+ return React.createElement((NestedOption), __assign({}, props));
483
+ });
484
+ var HorizontalLineLabel = Object.assign(_componentHorizontalLineLabel, {
485
+ OptionName: "label",
486
+ });
487
+ var _componentHoverStyle = memo(function (props) {
488
+ return React.createElement((NestedOption), __assign({}, props));
489
+ });
490
+ var HoverStyle = Object.assign(_componentHoverStyle, {
491
+ OptionName: "hoverStyle",
492
+ });
493
+ var _componentImage = memo(function (props) {
494
+ return React.createElement((NestedOption), __assign({}, props));
495
+ });
496
+ var Image = Object.assign(_componentImage, {
497
+ OptionName: "image",
498
+ });
499
+ var _componentLabel = memo(function (props) {
500
+ return React.createElement((NestedOption), __assign({}, props));
501
+ });
502
+ var Label = Object.assign(_componentLabel, {
503
+ OptionName: "label",
504
+ TemplateProps: [{
771
505
  tmplOption: "template",
772
506
  render: "render",
773
- component: "component",
774
- keyFn: "keyFn"
775
- }];
776
- return Label;
777
- }(NestedOption));
778
- var Legend = /** @class */ (function (_super) {
779
- __extends(Legend, _super);
780
- function Legend() {
781
- return _super !== null && _super.apply(this, arguments) || this;
782
- }
783
- Legend.OptionName = "legend";
784
- Legend.ExpectedChildren = {
507
+ component: "component"
508
+ }],
509
+ });
510
+ var _componentLegend = memo(function (props) {
511
+ return React.createElement((NestedOption), __assign({}, props));
512
+ });
513
+ var Legend = Object.assign(_componentLegend, {
514
+ OptionName: "legend",
515
+ ExpectedChildren: {
785
516
  annotationBorder: { optionName: "border", isCollectionItem: false },
786
517
  border: { optionName: "border", isCollectionItem: false },
787
518
  font: { optionName: "font", isCollectionItem: false },
788
519
  legendTitle: { optionName: "title", isCollectionItem: false },
789
520
  margin: { optionName: "margin", isCollectionItem: false },
790
521
  title: { optionName: "title", isCollectionItem: false }
791
- };
792
- Legend.TemplateProps = [{
522
+ },
523
+ TemplateProps: [{
793
524
  tmplOption: "markerTemplate",
794
525
  render: "markerRender",
795
- component: "markerComponent",
796
- keyFn: "markerKeyFn"
797
- }];
798
- return Legend;
799
- }(NestedOption));
800
- var LegendTitle = /** @class */ (function (_super) {
801
- __extends(LegendTitle, _super);
802
- function LegendTitle() {
803
- return _super !== null && _super.apply(this, arguments) || this;
804
- }
805
- LegendTitle.OptionName = "title";
806
- LegendTitle.ExpectedChildren = {
526
+ component: "markerComponent"
527
+ }],
528
+ });
529
+ var _componentLegendTitle = memo(function (props) {
530
+ return React.createElement((NestedOption), __assign({}, props));
531
+ });
532
+ var LegendTitle = Object.assign(_componentLegendTitle, {
533
+ OptionName: "title",
534
+ ExpectedChildren: {
807
535
  font: { optionName: "font", isCollectionItem: false },
808
536
  legendTitleSubtitle: { optionName: "subtitle", isCollectionItem: false },
809
537
  margin: { optionName: "margin", isCollectionItem: false },
810
538
  subtitle: { optionName: "subtitle", isCollectionItem: false }
811
- };
812
- return LegendTitle;
813
- }(NestedOption));
814
- var LegendTitleSubtitle = /** @class */ (function (_super) {
815
- __extends(LegendTitleSubtitle, _super);
816
- function LegendTitleSubtitle() {
817
- return _super !== null && _super.apply(this, arguments) || this;
818
- }
819
- LegendTitleSubtitle.OptionName = "subtitle";
820
- LegendTitleSubtitle.ExpectedChildren = {
539
+ },
540
+ });
541
+ var _componentLegendTitleSubtitle = memo(function (props) {
542
+ return React.createElement((NestedOption), __assign({}, props));
543
+ });
544
+ var LegendTitleSubtitle = Object.assign(_componentLegendTitleSubtitle, {
545
+ OptionName: "subtitle",
546
+ ExpectedChildren: {
821
547
  font: { optionName: "font", isCollectionItem: false }
822
- };
823
- return LegendTitleSubtitle;
824
- }(NestedOption));
825
- var Length = /** @class */ (function (_super) {
826
- __extends(Length, _super);
827
- function Length() {
828
- return _super !== null && _super.apply(this, arguments) || this;
829
- }
830
- Length.OptionName = "length";
831
- return Length;
832
- }(NestedOption));
833
- var LoadingIndicator = /** @class */ (function (_super) {
834
- __extends(LoadingIndicator, _super);
835
- function LoadingIndicator() {
836
- return _super !== null && _super.apply(this, arguments) || this;
837
- }
838
- LoadingIndicator.OptionName = "loadingIndicator";
839
- LoadingIndicator.DefaultsProps = {
548
+ },
549
+ });
550
+ var _componentLength = memo(function (props) {
551
+ return React.createElement((NestedOption), __assign({}, props));
552
+ });
553
+ var Length = Object.assign(_componentLength, {
554
+ OptionName: "length",
555
+ });
556
+ var _componentLoadingIndicator = memo(function (props) {
557
+ return React.createElement((NestedOption), __assign({}, props));
558
+ });
559
+ var LoadingIndicator = Object.assign(_componentLoadingIndicator, {
560
+ OptionName: "loadingIndicator",
561
+ DefaultsProps: {
840
562
  defaultShow: "show"
841
- };
842
- LoadingIndicator.ExpectedChildren = {
563
+ },
564
+ ExpectedChildren: {
843
565
  font: { optionName: "font", isCollectionItem: false }
844
- };
845
- return LoadingIndicator;
846
- }(NestedOption));
847
- var Margin = /** @class */ (function (_super) {
848
- __extends(Margin, _super);
849
- function Margin() {
850
- return _super !== null && _super.apply(this, arguments) || this;
851
- }
852
- Margin.OptionName = "margin";
853
- return Margin;
854
- }(NestedOption));
855
- var MinorGrid = /** @class */ (function (_super) {
856
- __extends(MinorGrid, _super);
857
- function MinorGrid() {
858
- return _super !== null && _super.apply(this, arguments) || this;
859
- }
860
- MinorGrid.OptionName = "minorGrid";
861
- return MinorGrid;
862
- }(NestedOption));
863
- var MinorTick = /** @class */ (function (_super) {
864
- __extends(MinorTick, _super);
865
- function MinorTick() {
866
- return _super !== null && _super.apply(this, arguments) || this;
867
- }
868
- MinorTick.OptionName = "minorTick";
869
- return MinorTick;
870
- }(NestedOption));
871
- var MinorTickInterval = /** @class */ (function (_super) {
872
- __extends(MinorTickInterval, _super);
873
- function MinorTickInterval() {
874
- return _super !== null && _super.apply(this, arguments) || this;
875
- }
876
- MinorTickInterval.OptionName = "minorTickInterval";
877
- return MinorTickInterval;
878
- }(NestedOption));
879
- var MinVisualRangeLength = /** @class */ (function (_super) {
880
- __extends(MinVisualRangeLength, _super);
881
- function MinVisualRangeLength() {
882
- return _super !== null && _super.apply(this, arguments) || this;
883
- }
884
- MinVisualRangeLength.OptionName = "minVisualRangeLength";
885
- return MinVisualRangeLength;
886
- }(NestedOption));
887
- var Pane = /** @class */ (function (_super) {
888
- __extends(Pane, _super);
889
- function Pane() {
890
- return _super !== null && _super.apply(this, arguments) || this;
891
- }
892
- Pane.OptionName = "panes";
893
- Pane.IsCollectionItem = true;
894
- return Pane;
895
- }(NestedOption));
896
- var PaneBorder = /** @class */ (function (_super) {
897
- __extends(PaneBorder, _super);
898
- function PaneBorder() {
899
- return _super !== null && _super.apply(this, arguments) || this;
900
- }
901
- PaneBorder.OptionName = "border";
902
- return PaneBorder;
903
- }(NestedOption));
904
- var Point = /** @class */ (function (_super) {
905
- __extends(Point, _super);
906
- function Point() {
907
- return _super !== null && _super.apply(this, arguments) || this;
908
- }
909
- Point.OptionName = "point";
910
- Point.ExpectedChildren = {
566
+ },
567
+ });
568
+ var _componentMargin = memo(function (props) {
569
+ return React.createElement((NestedOption), __assign({}, props));
570
+ });
571
+ var Margin = Object.assign(_componentMargin, {
572
+ OptionName: "margin",
573
+ });
574
+ var _componentMinorGrid = memo(function (props) {
575
+ return React.createElement((NestedOption), __assign({}, props));
576
+ });
577
+ var MinorGrid = Object.assign(_componentMinorGrid, {
578
+ OptionName: "minorGrid",
579
+ });
580
+ var _componentMinorTick = memo(function (props) {
581
+ return React.createElement((NestedOption), __assign({}, props));
582
+ });
583
+ var MinorTick = Object.assign(_componentMinorTick, {
584
+ OptionName: "minorTick",
585
+ });
586
+ var _componentMinorTickInterval = memo(function (props) {
587
+ return React.createElement((NestedOption), __assign({}, props));
588
+ });
589
+ var MinorTickInterval = Object.assign(_componentMinorTickInterval, {
590
+ OptionName: "minorTickInterval",
591
+ });
592
+ var _componentMinVisualRangeLength = memo(function (props) {
593
+ return React.createElement((NestedOption), __assign({}, props));
594
+ });
595
+ var MinVisualRangeLength = Object.assign(_componentMinVisualRangeLength, {
596
+ OptionName: "minVisualRangeLength",
597
+ });
598
+ var _componentPane = memo(function (props) {
599
+ return React.createElement((NestedOption), __assign({}, props));
600
+ });
601
+ var Pane = Object.assign(_componentPane, {
602
+ OptionName: "panes",
603
+ IsCollectionItem: true,
604
+ });
605
+ var _componentPaneBorder = memo(function (props) {
606
+ return React.createElement((NestedOption), __assign({}, props));
607
+ });
608
+ var PaneBorder = Object.assign(_componentPaneBorder, {
609
+ OptionName: "border",
610
+ });
611
+ var _componentPoint = memo(function (props) {
612
+ return React.createElement((NestedOption), __assign({}, props));
613
+ });
614
+ var Point = Object.assign(_componentPoint, {
615
+ OptionName: "point",
616
+ ExpectedChildren: {
911
617
  border: { optionName: "border", isCollectionItem: false },
912
618
  color: { optionName: "color", isCollectionItem: false },
913
619
  hoverStyle: { optionName: "hoverStyle", isCollectionItem: false },
@@ -917,240 +623,191 @@ var Point = /** @class */ (function (_super) {
917
623
  pointImage: { optionName: "image", isCollectionItem: false },
918
624
  pointSelectionStyle: { optionName: "selectionStyle", isCollectionItem: false },
919
625
  selectionStyle: { optionName: "selectionStyle", isCollectionItem: false }
920
- };
921
- return Point;
922
- }(NestedOption));
923
- var PointBorder = /** @class */ (function (_super) {
924
- __extends(PointBorder, _super);
925
- function PointBorder() {
926
- return _super !== null && _super.apply(this, arguments) || this;
927
- }
928
- PointBorder.OptionName = "border";
929
- return PointBorder;
930
- }(NestedOption));
931
- var PointHoverStyle = /** @class */ (function (_super) {
932
- __extends(PointHoverStyle, _super);
933
- function PointHoverStyle() {
934
- return _super !== null && _super.apply(this, arguments) || this;
935
- }
936
- PointHoverStyle.OptionName = "hoverStyle";
937
- PointHoverStyle.ExpectedChildren = {
626
+ },
627
+ });
628
+ var _componentPointBorder = memo(function (props) {
629
+ return React.createElement((NestedOption), __assign({}, props));
630
+ });
631
+ var PointBorder = Object.assign(_componentPointBorder, {
632
+ OptionName: "border",
633
+ });
634
+ var _componentPointHoverStyle = memo(function (props) {
635
+ return React.createElement((NestedOption), __assign({}, props));
636
+ });
637
+ var PointHoverStyle = Object.assign(_componentPointHoverStyle, {
638
+ OptionName: "hoverStyle",
639
+ ExpectedChildren: {
938
640
  border: { optionName: "border", isCollectionItem: false },
939
641
  color: { optionName: "color", isCollectionItem: false },
940
642
  pointBorder: { optionName: "border", isCollectionItem: false }
941
- };
942
- return PointHoverStyle;
943
- }(NestedOption));
944
- var PointImage = /** @class */ (function (_super) {
945
- __extends(PointImage, _super);
946
- function PointImage() {
947
- return _super !== null && _super.apply(this, arguments) || this;
948
- }
949
- PointImage.OptionName = "image";
950
- PointImage.ExpectedChildren = {
643
+ },
644
+ });
645
+ var _componentPointImage = memo(function (props) {
646
+ return React.createElement((NestedOption), __assign({}, props));
647
+ });
648
+ var PointImage = Object.assign(_componentPointImage, {
649
+ OptionName: "image",
650
+ ExpectedChildren: {
951
651
  height: { optionName: "height", isCollectionItem: false },
952
652
  url: { optionName: "url", isCollectionItem: false },
953
653
  width: { optionName: "width", isCollectionItem: false }
954
- };
955
- return PointImage;
956
- }(NestedOption));
957
- var PointSelectionStyle = /** @class */ (function (_super) {
958
- __extends(PointSelectionStyle, _super);
959
- function PointSelectionStyle() {
960
- return _super !== null && _super.apply(this, arguments) || this;
961
- }
962
- PointSelectionStyle.OptionName = "selectionStyle";
963
- PointSelectionStyle.ExpectedChildren = {
654
+ },
655
+ });
656
+ var _componentPointSelectionStyle = memo(function (props) {
657
+ return React.createElement((NestedOption), __assign({}, props));
658
+ });
659
+ var PointSelectionStyle = Object.assign(_componentPointSelectionStyle, {
660
+ OptionName: "selectionStyle",
661
+ ExpectedChildren: {
964
662
  border: { optionName: "border", isCollectionItem: false },
965
663
  color: { optionName: "color", isCollectionItem: false },
966
664
  pointBorder: { optionName: "border", isCollectionItem: false }
967
- };
968
- return PointSelectionStyle;
969
- }(NestedOption));
970
- var Reduction = /** @class */ (function (_super) {
971
- __extends(Reduction, _super);
972
- function Reduction() {
973
- return _super !== null && _super.apply(this, arguments) || this;
974
- }
975
- Reduction.OptionName = "reduction";
976
- return Reduction;
977
- }(NestedOption));
978
- var ScrollBar = /** @class */ (function (_super) {
979
- __extends(ScrollBar, _super);
980
- function ScrollBar() {
981
- return _super !== null && _super.apply(this, arguments) || this;
982
- }
983
- ScrollBar.OptionName = "scrollBar";
984
- return ScrollBar;
985
- }(NestedOption));
986
- var SelectionStyle = /** @class */ (function (_super) {
987
- __extends(SelectionStyle, _super);
988
- function SelectionStyle() {
989
- return _super !== null && _super.apply(this, arguments) || this;
990
- }
991
- SelectionStyle.OptionName = "selectionStyle";
992
- return SelectionStyle;
993
- }(NestedOption));
994
- var Series = /** @class */ (function (_super) {
995
- __extends(Series, _super);
996
- function Series() {
997
- return _super !== null && _super.apply(this, arguments) || this;
998
- }
999
- Series.OptionName = "series";
1000
- Series.IsCollectionItem = true;
1001
- return Series;
1002
- }(NestedOption));
1003
- var SeriesBorder = /** @class */ (function (_super) {
1004
- __extends(SeriesBorder, _super);
1005
- function SeriesBorder() {
1006
- return _super !== null && _super.apply(this, arguments) || this;
1007
- }
1008
- SeriesBorder.OptionName = "border";
1009
- return SeriesBorder;
1010
- }(NestedOption));
1011
- var SeriesTemplate = /** @class */ (function (_super) {
1012
- __extends(SeriesTemplate, _super);
1013
- function SeriesTemplate() {
1014
- return _super !== null && _super.apply(this, arguments) || this;
1015
- }
1016
- SeriesTemplate.OptionName = "seriesTemplate";
1017
- return SeriesTemplate;
1018
- }(NestedOption));
1019
- var Shadow = /** @class */ (function (_super) {
1020
- __extends(Shadow, _super);
1021
- function Shadow() {
1022
- return _super !== null && _super.apply(this, arguments) || this;
1023
- }
1024
- Shadow.OptionName = "shadow";
1025
- return Shadow;
1026
- }(NestedOption));
1027
- var Size = /** @class */ (function (_super) {
1028
- __extends(Size, _super);
1029
- function Size() {
1030
- return _super !== null && _super.apply(this, arguments) || this;
1031
- }
1032
- Size.OptionName = "size";
1033
- return Size;
1034
- }(NestedOption));
1035
- var Strip = /** @class */ (function (_super) {
1036
- __extends(Strip, _super);
1037
- function Strip() {
1038
- return _super !== null && _super.apply(this, arguments) || this;
1039
- }
1040
- Strip.OptionName = "strips";
1041
- Strip.IsCollectionItem = true;
1042
- return Strip;
1043
- }(NestedOption));
1044
- var StripLabel = /** @class */ (function (_super) {
1045
- __extends(StripLabel, _super);
1046
- function StripLabel() {
1047
- return _super !== null && _super.apply(this, arguments) || this;
1048
- }
1049
- StripLabel.OptionName = "label";
1050
- return StripLabel;
1051
- }(NestedOption));
1052
- var StripStyle = /** @class */ (function (_super) {
1053
- __extends(StripStyle, _super);
1054
- function StripStyle() {
1055
- return _super !== null && _super.apply(this, arguments) || this;
1056
- }
1057
- StripStyle.OptionName = "stripStyle";
1058
- StripStyle.ExpectedChildren = {
665
+ },
666
+ });
667
+ var _componentReduction = memo(function (props) {
668
+ return React.createElement((NestedOption), __assign({}, props));
669
+ });
670
+ var Reduction = Object.assign(_componentReduction, {
671
+ OptionName: "reduction",
672
+ });
673
+ var _componentScrollBar = memo(function (props) {
674
+ return React.createElement((NestedOption), __assign({}, props));
675
+ });
676
+ var ScrollBar = Object.assign(_componentScrollBar, {
677
+ OptionName: "scrollBar",
678
+ });
679
+ var _componentSelectionStyle = memo(function (props) {
680
+ return React.createElement((NestedOption), __assign({}, props));
681
+ });
682
+ var SelectionStyle = Object.assign(_componentSelectionStyle, {
683
+ OptionName: "selectionStyle",
684
+ });
685
+ var _componentSeries = memo(function (props) {
686
+ return React.createElement((NestedOption), __assign({}, props));
687
+ });
688
+ var Series = Object.assign(_componentSeries, {
689
+ OptionName: "series",
690
+ IsCollectionItem: true,
691
+ });
692
+ var _componentSeriesBorder = memo(function (props) {
693
+ return React.createElement((NestedOption), __assign({}, props));
694
+ });
695
+ var SeriesBorder = Object.assign(_componentSeriesBorder, {
696
+ OptionName: "border",
697
+ });
698
+ var _componentSeriesTemplate = memo(function (props) {
699
+ return React.createElement((NestedOption), __assign({}, props));
700
+ });
701
+ var SeriesTemplate = Object.assign(_componentSeriesTemplate, {
702
+ OptionName: "seriesTemplate",
703
+ });
704
+ var _componentShadow = memo(function (props) {
705
+ return React.createElement((NestedOption), __assign({}, props));
706
+ });
707
+ var Shadow = Object.assign(_componentShadow, {
708
+ OptionName: "shadow",
709
+ });
710
+ var _componentSize = memo(function (props) {
711
+ return React.createElement((NestedOption), __assign({}, props));
712
+ });
713
+ var Size = Object.assign(_componentSize, {
714
+ OptionName: "size",
715
+ });
716
+ var _componentStrip = memo(function (props) {
717
+ return React.createElement((NestedOption), __assign({}, props));
718
+ });
719
+ var Strip = Object.assign(_componentStrip, {
720
+ OptionName: "strips",
721
+ IsCollectionItem: true,
722
+ });
723
+ var _componentStripLabel = memo(function (props) {
724
+ return React.createElement((NestedOption), __assign({}, props));
725
+ });
726
+ var StripLabel = Object.assign(_componentStripLabel, {
727
+ OptionName: "label",
728
+ });
729
+ var _componentStripStyle = memo(function (props) {
730
+ return React.createElement((NestedOption), __assign({}, props));
731
+ });
732
+ var StripStyle = Object.assign(_componentStripStyle, {
733
+ OptionName: "stripStyle",
734
+ ExpectedChildren: {
1059
735
  label: { optionName: "label", isCollectionItem: false },
1060
736
  stripStyleLabel: { optionName: "label", isCollectionItem: false }
1061
- };
1062
- return StripStyle;
1063
- }(NestedOption));
1064
- var StripStyleLabel = /** @class */ (function (_super) {
1065
- __extends(StripStyleLabel, _super);
1066
- function StripStyleLabel() {
1067
- return _super !== null && _super.apply(this, arguments) || this;
1068
- }
1069
- StripStyleLabel.OptionName = "label";
1070
- return StripStyleLabel;
1071
- }(NestedOption));
1072
- var Subtitle = /** @class */ (function (_super) {
1073
- __extends(Subtitle, _super);
1074
- function Subtitle() {
1075
- return _super !== null && _super.apply(this, arguments) || this;
1076
- }
1077
- Subtitle.OptionName = "subtitle";
1078
- return Subtitle;
1079
- }(NestedOption));
1080
- var Tick = /** @class */ (function (_super) {
1081
- __extends(Tick, _super);
1082
- function Tick() {
1083
- return _super !== null && _super.apply(this, arguments) || this;
1084
- }
1085
- Tick.OptionName = "tick";
1086
- return Tick;
1087
- }(NestedOption));
1088
- var TickInterval = /** @class */ (function (_super) {
1089
- __extends(TickInterval, _super);
1090
- function TickInterval() {
1091
- return _super !== null && _super.apply(this, arguments) || this;
1092
- }
1093
- TickInterval.OptionName = "tickInterval";
1094
- return TickInterval;
1095
- }(NestedOption));
1096
- var Title = /** @class */ (function (_super) {
1097
- __extends(Title, _super);
1098
- function Title() {
1099
- return _super !== null && _super.apply(this, arguments) || this;
1100
- }
1101
- Title.OptionName = "title";
1102
- return Title;
1103
- }(NestedOption));
1104
- var Tooltip = /** @class */ (function (_super) {
1105
- __extends(Tooltip, _super);
1106
- function Tooltip() {
1107
- return _super !== null && _super.apply(this, arguments) || this;
1108
- }
1109
- Tooltip.OptionName = "tooltip";
1110
- Tooltip.ExpectedChildren = {
737
+ },
738
+ });
739
+ var _componentStripStyleLabel = memo(function (props) {
740
+ return React.createElement((NestedOption), __assign({}, props));
741
+ });
742
+ var StripStyleLabel = Object.assign(_componentStripStyleLabel, {
743
+ OptionName: "label",
744
+ });
745
+ var _componentSubtitle = memo(function (props) {
746
+ return React.createElement((NestedOption), __assign({}, props));
747
+ });
748
+ var Subtitle = Object.assign(_componentSubtitle, {
749
+ OptionName: "subtitle",
750
+ });
751
+ var _componentTick = memo(function (props) {
752
+ return React.createElement((NestedOption), __assign({}, props));
753
+ });
754
+ var Tick = Object.assign(_componentTick, {
755
+ OptionName: "tick",
756
+ });
757
+ var _componentTickInterval = memo(function (props) {
758
+ return React.createElement((NestedOption), __assign({}, props));
759
+ });
760
+ var TickInterval = Object.assign(_componentTickInterval, {
761
+ OptionName: "tickInterval",
762
+ });
763
+ var _componentTitle = memo(function (props) {
764
+ return React.createElement((NestedOption), __assign({}, props));
765
+ });
766
+ var Title = Object.assign(_componentTitle, {
767
+ OptionName: "title",
768
+ });
769
+ var _componentTooltip = memo(function (props) {
770
+ return React.createElement((NestedOption), __assign({}, props));
771
+ });
772
+ var Tooltip = Object.assign(_componentTooltip, {
773
+ OptionName: "tooltip",
774
+ ExpectedChildren: {
1111
775
  argumentFormat: { optionName: "argumentFormat", isCollectionItem: false },
1112
776
  border: { optionName: "border", isCollectionItem: false },
1113
777
  font: { optionName: "font", isCollectionItem: false },
1114
778
  format: { optionName: "format", isCollectionItem: false },
1115
779
  shadow: { optionName: "shadow", isCollectionItem: false },
1116
780
  tooltipBorder: { optionName: "border", isCollectionItem: false }
1117
- };
1118
- Tooltip.TemplateProps = [{
781
+ },
782
+ TemplateProps: [{
1119
783
  tmplOption: "contentTemplate",
1120
784
  render: "contentRender",
1121
- component: "contentComponent",
1122
- keyFn: "contentKeyFn"
1123
- }];
1124
- return Tooltip;
1125
- }(NestedOption));
1126
- var TooltipBorder = /** @class */ (function (_super) {
1127
- __extends(TooltipBorder, _super);
1128
- function TooltipBorder() {
1129
- return _super !== null && _super.apply(this, arguments) || this;
1130
- }
1131
- TooltipBorder.OptionName = "border";
1132
- return TooltipBorder;
1133
- }(NestedOption));
1134
- var Url = /** @class */ (function (_super) {
1135
- __extends(Url, _super);
1136
- function Url() {
1137
- return _super !== null && _super.apply(this, arguments) || this;
1138
- }
1139
- Url.OptionName = "url";
1140
- return Url;
1141
- }(NestedOption));
1142
- var ValueAxis = /** @class */ (function (_super) {
1143
- __extends(ValueAxis, _super);
1144
- function ValueAxis() {
1145
- return _super !== null && _super.apply(this, arguments) || this;
1146
- }
1147
- ValueAxis.OptionName = "valueAxis";
1148
- ValueAxis.IsCollectionItem = true;
1149
- ValueAxis.DefaultsProps = {
785
+ component: "contentComponent"
786
+ }],
787
+ });
788
+ var _componentTooltipBorder = memo(function (props) {
789
+ return React.createElement((NestedOption), __assign({}, props));
790
+ });
791
+ var TooltipBorder = Object.assign(_componentTooltipBorder, {
792
+ OptionName: "border",
793
+ });
794
+ var _componentUrl = memo(function (props) {
795
+ return React.createElement((NestedOption), __assign({}, props));
796
+ });
797
+ var Url = Object.assign(_componentUrl, {
798
+ OptionName: "url",
799
+ });
800
+ var _componentValueAxis = memo(function (props) {
801
+ return React.createElement((NestedOption), __assign({}, props));
802
+ });
803
+ var ValueAxis = Object.assign(_componentValueAxis, {
804
+ OptionName: "valueAxis",
805
+ IsCollectionItem: true,
806
+ DefaultsProps: {
1150
807
  defaultCategories: "categories",
1151
808
  defaultVisualRange: "visualRange"
1152
- };
1153
- ValueAxis.ExpectedChildren = {
809
+ },
810
+ ExpectedChildren: {
1154
811
  axisConstantLineStyle: { optionName: "constantLineStyle", isCollectionItem: false },
1155
812
  axisLabel: { optionName: "label", isCollectionItem: false },
1156
813
  axisTitle: { optionName: "title", isCollectionItem: false },
@@ -1165,71 +822,58 @@ var ValueAxis = /** @class */ (function (_super) {
1165
822
  title: { optionName: "title", isCollectionItem: false },
1166
823
  visualRange: { optionName: "visualRange", isCollectionItem: false },
1167
824
  wholeRange: { optionName: "wholeRange", isCollectionItem: false }
1168
- };
1169
- return ValueAxis;
1170
- }(NestedOption));
1171
- var ValueErrorBar = /** @class */ (function (_super) {
1172
- __extends(ValueErrorBar, _super);
1173
- function ValueErrorBar() {
1174
- return _super !== null && _super.apply(this, arguments) || this;
1175
- }
1176
- ValueErrorBar.OptionName = "valueErrorBar";
1177
- return ValueErrorBar;
1178
- }(NestedOption));
1179
- var VerticalLine = /** @class */ (function (_super) {
1180
- __extends(VerticalLine, _super);
1181
- function VerticalLine() {
1182
- return _super !== null && _super.apply(this, arguments) || this;
1183
- }
1184
- VerticalLine.OptionName = "verticalLine";
1185
- VerticalLine.ExpectedChildren = {
825
+ },
826
+ });
827
+ var _componentValueErrorBar = memo(function (props) {
828
+ return React.createElement((NestedOption), __assign({}, props));
829
+ });
830
+ var ValueErrorBar = Object.assign(_componentValueErrorBar, {
831
+ OptionName: "valueErrorBar",
832
+ });
833
+ var _componentVerticalLine = memo(function (props) {
834
+ return React.createElement((NestedOption), __assign({}, props));
835
+ });
836
+ var VerticalLine = Object.assign(_componentVerticalLine, {
837
+ OptionName: "verticalLine",
838
+ ExpectedChildren: {
1186
839
  horizontalLineLabel: { optionName: "label", isCollectionItem: false },
1187
840
  label: { optionName: "label", isCollectionItem: false }
1188
- };
1189
- return VerticalLine;
1190
- }(NestedOption));
1191
- var VisualRange = /** @class */ (function (_super) {
1192
- __extends(VisualRange, _super);
1193
- function VisualRange() {
1194
- return _super !== null && _super.apply(this, arguments) || this;
1195
- }
1196
- VisualRange.OptionName = "visualRange";
1197
- VisualRange.DefaultsProps = {
841
+ },
842
+ });
843
+ var _componentVisualRange = memo(function (props) {
844
+ return React.createElement((NestedOption), __assign({}, props));
845
+ });
846
+ var VisualRange = Object.assign(_componentVisualRange, {
847
+ OptionName: "visualRange",
848
+ DefaultsProps: {
1198
849
  defaultEndValue: "endValue",
1199
850
  defaultStartValue: "startValue"
1200
- };
1201
- return VisualRange;
1202
- }(NestedOption));
1203
- var WholeRange = /** @class */ (function (_super) {
1204
- __extends(WholeRange, _super);
1205
- function WholeRange() {
1206
- return _super !== null && _super.apply(this, arguments) || this;
1207
- }
1208
- WholeRange.OptionName = "wholeRange";
1209
- WholeRange.DefaultsProps = {
851
+ },
852
+ });
853
+ var _componentWholeRange = memo(function (props) {
854
+ return React.createElement((NestedOption), __assign({}, props));
855
+ });
856
+ var WholeRange = Object.assign(_componentWholeRange, {
857
+ OptionName: "wholeRange",
858
+ DefaultsProps: {
1210
859
  defaultEndValue: "endValue",
1211
860
  defaultStartValue: "startValue"
1212
- };
1213
- return WholeRange;
1214
- }(NestedOption));
1215
- var Width = /** @class */ (function (_super) {
1216
- __extends(Width, _super);
1217
- function Width() {
1218
- return _super !== null && _super.apply(this, arguments) || this;
1219
- }
1220
- Width.OptionName = "width";
1221
- return Width;
1222
- }(NestedOption));
1223
- var ZoomAndPan = /** @class */ (function (_super) {
1224
- __extends(ZoomAndPan, _super);
1225
- function ZoomAndPan() {
1226
- return _super !== null && _super.apply(this, arguments) || this;
1227
- }
1228
- ZoomAndPan.OptionName = "zoomAndPan";
1229
- ZoomAndPan.ExpectedChildren = {
861
+ },
862
+ });
863
+ var _componentWidth = memo(function (props) {
864
+ return React.createElement((NestedOption), __assign({}, props));
865
+ });
866
+ var Width = Object.assign(_componentWidth, {
867
+ OptionName: "width",
868
+ });
869
+ var _componentZoomAndPan = memo(function (props) {
870
+ return React.createElement((NestedOption), __assign({}, props));
871
+ });
872
+ var ZoomAndPan = Object.assign(_componentZoomAndPan, {
873
+ OptionName: "zoomAndPan",
874
+ ExpectedChildren: {
1230
875
  dragBoxStyle: { optionName: "dragBoxStyle", isCollectionItem: false }
1231
- };
1232
- return ZoomAndPan;
1233
- }(NestedOption));
876
+ },
877
+ });
1234
878
  export default Chart;
1235
879
  export { Chart, AdaptiveLayout, Aggregation, AggregationInterval, Animation, Annotation, AnnotationBorder, AnnotationImage, ArgumentAxis, ArgumentFormat, AxisConstantLineStyle, AxisConstantLineStyleLabel, AxisLabel, AxisTitle, BackgroundColor, Border, Break, BreakStyle, ChartTitle, ChartTitleSubtitle, Color, CommonAnnotationSettings, CommonAxisSettings, CommonAxisSettingsConstantLineStyle, CommonAxisSettingsConstantLineStyleLabel, CommonAxisSettingsLabel, CommonAxisSettingsTitle, CommonPaneSettings, CommonSeriesSettings, CommonSeriesSettingsHoverStyle, CommonSeriesSettingsLabel, CommonSeriesSettingsSelectionStyle, Connector, ConstantLine, ConstantLineLabel, ConstantLineStyle, Crosshair, DataPrepareSettings, DragBoxStyle, Export, Font, Format, Grid, Hatching, Height, HorizontalLine, HorizontalLineLabel, HoverStyle, Image, Label, Legend, LegendTitle, LegendTitleSubtitle, Length, LoadingIndicator, Margin, MinorGrid, MinorTick, MinorTickInterval, MinVisualRangeLength, Pane, PaneBorder, Point, PointBorder, PointHoverStyle, PointImage, PointSelectionStyle, Reduction, ScrollBar, SelectionStyle, Series, SeriesBorder, SeriesTemplate, Shadow, Size, Strip, StripLabel, StripStyle, StripStyleLabel, Subtitle, Tick, TickInterval, Title, Tooltip, TooltipBorder, Url, ValueAxis, ValueErrorBar, VerticalLine, VisualRange, WholeRange, Width, ZoomAndPan };