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