reke-ui 0.2.1 → 0.4.0

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 (262) hide show
  1. package/custom-elements.json +1873 -499
  2. package/dist/_virtual/_rolldown/runtime.js +11 -0
  3. package/dist/components/reke-chip/reke-chip.d.ts +7 -0
  4. package/dist/components/reke-chip/reke-chip.d.ts.map +1 -1
  5. package/dist/components/reke-chip/reke-chip.js +8 -2
  6. package/dist/components/reke-chip/reke-chip.styles.d.ts.map +1 -1
  7. package/dist/components/reke-chip/reke-chip.styles.js +32 -0
  8. package/dist/components/reke-combobox/reke-combobox.d.ts +90 -0
  9. package/dist/components/reke-combobox/reke-combobox.d.ts.map +1 -0
  10. package/dist/components/reke-combobox/reke-combobox.js +206 -0
  11. package/dist/components/reke-combobox/reke-combobox.styles.d.ts +2 -0
  12. package/dist/components/reke-combobox/reke-combobox.styles.d.ts.map +1 -0
  13. package/dist/components/reke-combobox/reke-combobox.styles.js +290 -0
  14. package/dist/components/reke-input/reke-input.d.ts +14 -0
  15. package/dist/components/reke-input/reke-input.d.ts.map +1 -1
  16. package/dist/components/reke-input/reke-input.js +41 -22
  17. package/dist/components/reke-input/reke-input.styles.d.ts.map +1 -1
  18. package/dist/components/reke-input/reke-input.styles.js +44 -16
  19. package/dist/components/reke-menu/reke-menu.d.ts +51 -0
  20. package/dist/components/reke-menu/reke-menu.d.ts.map +1 -0
  21. package/dist/components/reke-menu/reke-menu.js +106 -0
  22. package/dist/components/reke-menu/reke-menu.styles.d.ts +2 -0
  23. package/dist/components/reke-menu/reke-menu.styles.d.ts.map +1 -0
  24. package/dist/components/reke-menu/reke-menu.styles.js +25 -0
  25. package/dist/components/reke-menu-item/reke-menu-item.d.ts +32 -0
  26. package/dist/components/reke-menu-item/reke-menu-item.d.ts.map +1 -0
  27. package/dist/components/reke-menu-item/reke-menu-item.js +49 -0
  28. package/dist/components/reke-menu-item/reke-menu-item.styles.d.ts +2 -0
  29. package/dist/components/reke-menu-item/reke-menu-item.styles.d.ts.map +1 -0
  30. package/dist/components/reke-menu-item/reke-menu-item.styles.js +53 -0
  31. package/dist/components/reke-pie-chart/reke-pie-chart.d.ts +59 -0
  32. package/dist/components/reke-pie-chart/reke-pie-chart.d.ts.map +1 -0
  33. package/dist/components/reke-pie-chart/reke-pie-chart.js +117 -0
  34. package/dist/components/reke-pie-chart/reke-pie-chart.styles.d.ts +2 -0
  35. package/dist/components/reke-pie-chart/reke-pie-chart.styles.d.ts.map +1 -0
  36. package/dist/components/reke-pie-chart/reke-pie-chart.styles.js +28 -0
  37. package/dist/components/reke-table/reke-table.d.ts +12 -0
  38. package/dist/components/reke-table/reke-table.d.ts.map +1 -1
  39. package/dist/components/reke-table/reke-table.js +45 -7
  40. package/dist/components/reke-table/reke-table.styles.d.ts.map +1 -1
  41. package/dist/components/reke-table/reke-table.styles.js +28 -0
  42. package/dist/index.d.ts +7 -0
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.js +15 -11
  45. package/dist/node_modules/echarts/lib/animation/basicTransition.js +70 -0
  46. package/dist/node_modules/echarts/lib/chart/custom/customSeriesRegister.js +7 -0
  47. package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +11 -0
  48. package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +11 -0
  49. package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +19 -0
  50. package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +112 -0
  51. package/dist/node_modules/echarts/lib/chart/pie/PieView.js +119 -0
  52. package/dist/node_modules/echarts/lib/chart/pie/install.js +12 -0
  53. package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +190 -0
  54. package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +72 -0
  55. package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +554 -0
  56. package/dist/node_modules/echarts/lib/component/axis/AxisView.js +36 -0
  57. package/dist/node_modules/echarts/lib/component/axis/axisAction.js +4 -0
  58. package/dist/node_modules/echarts/lib/component/axis/axisBreakHelper.js +5 -0
  59. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +57 -0
  60. package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +28 -0
  61. package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +174 -0
  62. package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +65 -0
  63. package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +189 -0
  64. package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +27 -0
  65. package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +56 -0
  66. package/dist/node_modules/echarts/lib/component/axisPointer/install.js +25 -0
  67. package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +117 -0
  68. package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +103 -0
  69. package/dist/node_modules/echarts/lib/component/helper/listComponent.js +20 -0
  70. package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +184 -0
  71. package/dist/node_modules/echarts/lib/component/legend/LegendView.js +227 -0
  72. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +45 -0
  73. package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +145 -0
  74. package/dist/node_modules/echarts/lib/component/legend/install.js +9 -0
  75. package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +12 -0
  76. package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +11 -0
  77. package/dist/node_modules/echarts/lib/component/legend/legendAction.js +38 -0
  78. package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +12 -0
  79. package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +15 -0
  80. package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +170 -0
  81. package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +55 -0
  82. package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +102 -0
  83. package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +367 -0
  84. package/dist/node_modules/echarts/lib/component/tooltip/helper.js +37 -0
  85. package/dist/node_modules/echarts/lib/component/tooltip/install.js +19 -0
  86. package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +56 -0
  87. package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +173 -0
  88. package/dist/node_modules/echarts/lib/coord/axisBand.js +31 -0
  89. package/dist/node_modules/echarts/lib/coord/axisHelper.js +21 -0
  90. package/dist/node_modules/echarts/lib/coord/axisStatistics.js +38 -0
  91. package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +14 -0
  92. package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +31 -0
  93. package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +50 -0
  94. package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +32 -0
  95. package/dist/node_modules/echarts/lib/core/Scheduler.js +203 -0
  96. package/dist/node_modules/echarts/lib/core/echarts.js +986 -0
  97. package/dist/node_modules/echarts/lib/core/impl.js +11 -0
  98. package/dist/node_modules/echarts/lib/core/lifecycle.js +5 -0
  99. package/dist/node_modules/echarts/lib/core/locale.js +27 -0
  100. package/dist/node_modules/echarts/lib/core/task.js +81 -0
  101. package/dist/node_modules/echarts/lib/data/DataDiffer.js +68 -0
  102. package/dist/node_modules/echarts/lib/data/DataStore.js +359 -0
  103. package/dist/node_modules/echarts/lib/data/SeriesData.js +328 -0
  104. package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +10 -0
  105. package/dist/node_modules/echarts/lib/data/Source.js +132 -0
  106. package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +80 -0
  107. package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +105 -0
  108. package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +155 -0
  109. package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +87 -0
  110. package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +50 -0
  111. package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +98 -0
  112. package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +115 -0
  113. package/dist/node_modules/echarts/lib/data/helper/transform.js +145 -0
  114. package/dist/node_modules/echarts/lib/extension.js +62 -0
  115. package/dist/node_modules/echarts/lib/i18n/langEN.js +148 -0
  116. package/dist/node_modules/echarts/lib/i18n/langZH.js +148 -0
  117. package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +106 -0
  118. package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +152 -0
  119. package/dist/node_modules/echarts/lib/label/labelStyle.js +190 -0
  120. package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +53 -0
  121. package/dist/node_modules/echarts/lib/loading/default.js +85 -0
  122. package/dist/node_modules/echarts/lib/model/Component.js +64 -0
  123. package/dist/node_modules/echarts/lib/model/Global.js +320 -0
  124. package/dist/node_modules/echarts/lib/model/Model.js +50 -0
  125. package/dist/node_modules/echarts/lib/model/OptionManager.js +78 -0
  126. package/dist/node_modules/echarts/lib/model/Series.js +216 -0
  127. package/dist/node_modules/echarts/lib/model/globalDefault.js +94 -0
  128. package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +14 -0
  129. package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +16 -0
  130. package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +63 -0
  131. package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +24 -0
  132. package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +23 -0
  133. package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +17 -0
  134. package/dist/node_modules/echarts/lib/model/mixin/palette.js +32 -0
  135. package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +36 -0
  136. package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +89 -0
  137. package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +118 -0
  138. package/dist/node_modules/echarts/lib/processor/dataFilter.js +18 -0
  139. package/dist/node_modules/echarts/lib/processor/dataStack.js +52 -0
  140. package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +16 -0
  141. package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +7 -0
  142. package/dist/node_modules/echarts/lib/scale/break.js +9 -0
  143. package/dist/node_modules/echarts/lib/scale/helper.js +9 -0
  144. package/dist/node_modules/echarts/lib/scale/scaleMapper.js +26 -0
  145. package/dist/node_modules/echarts/lib/theme/dark.js +159 -0
  146. package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +52 -0
  147. package/dist/node_modules/echarts/lib/util/clazz.js +99 -0
  148. package/dist/node_modules/echarts/lib/util/component.js +75 -0
  149. package/dist/node_modules/echarts/lib/util/cycleCache.js +14 -0
  150. package/dist/node_modules/echarts/lib/util/decal.js +162 -0
  151. package/dist/node_modules/echarts/lib/util/event.js +7 -0
  152. package/dist/node_modules/echarts/lib/util/format.js +87 -0
  153. package/dist/node_modules/echarts/lib/util/graphic.js +361 -0
  154. package/dist/node_modules/echarts/lib/util/innerStore.js +13 -0
  155. package/dist/node_modules/echarts/lib/util/layout.js +174 -0
  156. package/dist/node_modules/echarts/lib/util/log.js +54 -0
  157. package/dist/node_modules/echarts/lib/util/model.js +296 -0
  158. package/dist/node_modules/echarts/lib/util/number.js +132 -0
  159. package/dist/node_modules/echarts/lib/util/states.js +323 -0
  160. package/dist/node_modules/echarts/lib/util/symbol.js +146 -0
  161. package/dist/node_modules/echarts/lib/util/throttle.js +37 -0
  162. package/dist/node_modules/echarts/lib/util/time.js +43 -0
  163. package/dist/node_modules/echarts/lib/util/types.js +13 -0
  164. package/dist/node_modules/echarts/lib/view/Chart.js +81 -0
  165. package/dist/node_modules/echarts/lib/view/Component.js +16 -0
  166. package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +18 -0
  167. package/dist/node_modules/echarts/lib/visual/decal.js +25 -0
  168. package/dist/node_modules/echarts/lib/visual/helper.js +23 -0
  169. package/dist/node_modules/echarts/lib/visual/style.js +79 -0
  170. package/dist/node_modules/echarts/lib/visual/symbol.js +47 -0
  171. package/dist/node_modules/echarts/lib/visual/tokens.js +108 -0
  172. package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js +18 -0
  173. package/dist/node_modules/zrender/lib/Element.js +442 -0
  174. package/dist/node_modules/zrender/lib/Handler.js +167 -0
  175. package/dist/node_modules/zrender/lib/Storage.js +68 -0
  176. package/dist/node_modules/zrender/lib/animation/Animation.js +65 -0
  177. package/dist/node_modules/zrender/lib/animation/Animator.js +348 -0
  178. package/dist/node_modules/zrender/lib/animation/Clip.js +31 -0
  179. package/dist/node_modules/zrender/lib/animation/cubicEasing.js +17 -0
  180. package/dist/node_modules/zrender/lib/animation/easing.js +104 -0
  181. package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +7 -0
  182. package/dist/node_modules/zrender/lib/canvas/Layer.js +135 -0
  183. package/dist/node_modules/zrender/lib/canvas/Painter.js +352 -0
  184. package/dist/node_modules/zrender/lib/canvas/dashStyle.js +17 -0
  185. package/dist/node_modules/zrender/lib/canvas/graphic.js +199 -0
  186. package/dist/node_modules/zrender/lib/canvas/helper.js +33 -0
  187. package/dist/node_modules/zrender/lib/config.js +7 -0
  188. package/dist/node_modules/zrender/lib/contain/arc.js +20 -0
  189. package/dist/node_modules/zrender/lib/contain/cubic.js +9 -0
  190. package/dist/node_modules/zrender/lib/contain/line.js +12 -0
  191. package/dist/node_modules/zrender/lib/contain/path.js +133 -0
  192. package/dist/node_modules/zrender/lib/contain/quadratic.js +9 -0
  193. package/dist/node_modules/zrender/lib/contain/text.js +106 -0
  194. package/dist/node_modules/zrender/lib/contain/util.js +7 -0
  195. package/dist/node_modules/zrender/lib/contain/windingLine.js +10 -0
  196. package/dist/node_modules/zrender/lib/core/BoundingRect.js +111 -0
  197. package/dist/node_modules/zrender/lib/core/Eventful.js +82 -0
  198. package/dist/node_modules/zrender/lib/core/GestureMgr.js +56 -0
  199. package/dist/node_modules/zrender/lib/core/LRU.js +49 -0
  200. package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +41 -0
  201. package/dist/node_modules/zrender/lib/core/PathProxy.js +288 -0
  202. package/dist/node_modules/zrender/lib/core/Point.js +72 -0
  203. package/dist/node_modules/zrender/lib/core/Transformable.js +96 -0
  204. package/dist/node_modules/zrender/lib/core/WeakMap.js +25 -0
  205. package/dist/node_modules/zrender/lib/core/bbox.js +40 -0
  206. package/dist/node_modules/zrender/lib/core/curve.js +142 -0
  207. package/dist/node_modules/zrender/lib/core/dom.js +74 -0
  208. package/dist/node_modules/zrender/lib/core/env.js +22 -0
  209. package/dist/node_modules/zrender/lib/core/event.js +58 -0
  210. package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +109 -0
  211. package/dist/node_modules/zrender/lib/core/matrix.js +39 -0
  212. package/dist/node_modules/zrender/lib/core/platform.js +42 -0
  213. package/dist/node_modules/zrender/lib/core/timsort.js +246 -0
  214. package/dist/node_modules/zrender/lib/core/util.js +314 -0
  215. package/dist/node_modules/zrender/lib/core/vector.js +52 -0
  216. package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +190 -0
  217. package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +25 -0
  218. package/dist/node_modules/zrender/lib/graphic/Displayable.js +133 -0
  219. package/dist/node_modules/zrender/lib/graphic/Gradient.js +14 -0
  220. package/dist/node_modules/zrender/lib/graphic/Group.js +86 -0
  221. package/dist/node_modules/zrender/lib/graphic/Image.js +49 -0
  222. package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +65 -0
  223. package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +13 -0
  224. package/dist/node_modules/zrender/lib/graphic/Path.js +200 -0
  225. package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +13 -0
  226. package/dist/node_modules/zrender/lib/graphic/TSpan.js +39 -0
  227. package/dist/node_modules/zrender/lib/graphic/Text.js +216 -0
  228. package/dist/node_modules/zrender/lib/graphic/helper/image.js +39 -0
  229. package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +226 -0
  230. package/dist/node_modules/zrender/lib/graphic/helper/poly.js +21 -0
  231. package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +9 -0
  232. package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +85 -0
  233. package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +26 -0
  234. package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +25 -0
  235. package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +28 -0
  236. package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +40 -0
  237. package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +22 -0
  238. package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +23 -0
  239. package/dist/node_modules/zrender/lib/graphic/shape/Line.js +37 -0
  240. package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +23 -0
  241. package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +28 -0
  242. package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +31 -0
  243. package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +23 -0
  244. package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +25 -0
  245. package/dist/node_modules/zrender/lib/mixin/Draggable.js +28 -0
  246. package/dist/node_modules/zrender/lib/svg/helper.js +19 -0
  247. package/dist/node_modules/zrender/lib/tool/color.js +1039 -0
  248. package/dist/node_modules/zrender/lib/tool/path.js +153 -0
  249. package/dist/node_modules/zrender/lib/tool/transformPath.js +41 -0
  250. package/dist/node_modules/zrender/lib/zrender.js +124 -0
  251. package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js +18 -0
  252. package/dist/react-bridge/table.d.ts.map +1 -1
  253. package/dist/react-bridge/table.js +36 -21
  254. package/dist/react.d.ts +17 -0
  255. package/dist/react.d.ts.map +1 -1
  256. package/dist/react.js +73 -52
  257. package/dist/shared/base-element.d.ts +1 -0
  258. package/dist/shared/base-element.d.ts.map +1 -1
  259. package/dist/shared/base-element.js +6 -0
  260. package/dist/shared/tailwind.js +1 -1
  261. package/dist/tokens/reke-tokens.css +15 -0
  262. package/package.json +18 -1
@@ -0,0 +1,11 @@
1
+ import { error as e } from "../util/log.js";
2
+ //#region node_modules/echarts/lib/core/impl.js
3
+ var t = {};
4
+ function n(n, r) {
5
+ process.env.NODE_ENV !== "production" && t[n] && e("Already has an implementation of " + n + "."), t[n] = r;
6
+ }
7
+ function r(n) {
8
+ return process.env.NODE_ENV !== "production" && (t[n] || e("Implementation of " + n + " doesn't exists.")), t[n];
9
+ }
10
+ //#endregion
11
+ export { r as getImpl, n as registerImpl };
@@ -0,0 +1,5 @@
1
+ import e from "../../../zrender/lib/core/Eventful.js";
2
+ //#region node_modules/echarts/lib/core/lifecycle.js
3
+ var t = new e();
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,27 @@
1
+ import { clone as e, isString as t, merge as n } from "../../../zrender/lib/core/util.js";
2
+ import r from "../../../zrender/lib/core/env.js";
3
+ import i from "../model/Model.js";
4
+ import a from "../i18n/langEN.js";
5
+ import o from "../i18n/langZH.js";
6
+ //#region node_modules/echarts/lib/core/locale.js
7
+ var s = "ZH", c = "EN", l = c, u = {}, d = {}, f = r.domSupported ? function() {
8
+ return (document.documentElement.lang || navigator.language || navigator.browserLanguage || l).toUpperCase().indexOf(s) > -1 ? s : l;
9
+ }() : l;
10
+ function p(e, t) {
11
+ e = e.toUpperCase(), d[e] = new i(t), u[e] = t;
12
+ }
13
+ function m(r) {
14
+ if (t(r)) {
15
+ var i = u[r.toUpperCase()] || {};
16
+ return r === s || r === c ? e(i) : n(e(i), e(u[l]), !1);
17
+ } else return n(e(r), e(u[l]), !1);
18
+ }
19
+ function h(e) {
20
+ return d[e];
21
+ }
22
+ function g() {
23
+ return d[l];
24
+ }
25
+ p(c, a), p(s, o);
26
+ //#endregion
27
+ export { f as SYSTEM_LANG, m as createLocaleObject, g as getDefaultLocaleModel, h as getLocaleModel, p as registerLocale };
@@ -0,0 +1,81 @@
1
+ import { assert as e, isArray as t } from "../../../zrender/lib/core/util.js";
2
+ //#region node_modules/echarts/lib/core/task.js
3
+ function n(e) {
4
+ return new r(e);
5
+ }
6
+ var r = function() {
7
+ function n(e) {
8
+ e ||= {}, this._reset = e.reset, this._plan = e.plan, this._count = e.count, this._onDirty = e.onDirty, this._dirty = !0;
9
+ }
10
+ return n.prototype.perform = function(n) {
11
+ var r = this._upstream, i = n && n.skip;
12
+ if (this._dirty && r) {
13
+ var a = this.context;
14
+ a.data = a.outputData = r.context.outputData;
15
+ }
16
+ this.__pipeline && (this.__pipeline.currentTask = this);
17
+ var o;
18
+ this._plan && !i && (o = this._plan(this.context));
19
+ var s = d(this._modBy), c = this._modDataCount || 0, l = d(n && n.modBy), u = n && n.modDataCount || 0;
20
+ (s !== l || c !== u) && (o = "reset");
21
+ function d(e) {
22
+ return !(e >= 1) && (e = 1), e;
23
+ }
24
+ var f;
25
+ (this._dirty || o === "reset") && (this._dirty = !1, f = this._doReset(i)), this._modBy = l, this._modDataCount = u;
26
+ var p = n && n.step;
27
+ if (r ? (process.env.NODE_ENV !== "production" && e(r._outputDueEnd != null), this._dueEnd = r._outputDueEnd) : (process.env.NODE_ENV !== "production" && e(!this._progress || this._count), this._dueEnd = this._count ? this._count(this.context) : Infinity), this._progress) {
28
+ var m = this._dueIndex, h = Math.min(p == null ? Infinity : this._dueIndex + p, this._dueEnd);
29
+ if (!i && (f || m < h)) {
30
+ var g = this._progress;
31
+ if (t(g)) for (var _ = 0; _ < g.length; _++) this._doProgress(g[_], m, h, l, u);
32
+ else this._doProgress(g, m, h, l, u);
33
+ }
34
+ this._dueIndex = h;
35
+ var v = this._settedOutputEnd == null ? h : this._settedOutputEnd;
36
+ process.env.NODE_ENV !== "production" && e(v >= this._outputDueEnd), this._outputDueEnd = v;
37
+ } else this._dueIndex = this._outputDueEnd = this._settedOutputEnd == null ? this._dueEnd : this._settedOutputEnd;
38
+ return this.unfinished();
39
+ }, n.prototype.dirty = function() {
40
+ this._dirty = !0, this._onDirty && this._onDirty(this.context);
41
+ }, n.prototype._doProgress = function(e, t, n, r, a) {
42
+ i.reset(t, n, r, a), this._callingProgress = e, this._callingProgress({
43
+ start: t,
44
+ end: n,
45
+ count: n - t,
46
+ next: i.next
47
+ }, this.context);
48
+ }, n.prototype._doReset = function(e) {
49
+ this._dueIndex = this._outputDueEnd = this._dueEnd = 0, this._settedOutputEnd = null;
50
+ var n, r;
51
+ !e && this._reset && (n = this._reset(this.context), n && n.progress && (r = n.forceFirstProgress, n = n.progress), t(n) && !n.length && (n = null)), this._progress = n, this._modBy = this._modDataCount = null;
52
+ var i = this._downstream;
53
+ return i && i.dirty(), r;
54
+ }, n.prototype.unfinished = function() {
55
+ return this._progress && this._dueIndex < this._dueEnd;
56
+ }, n.prototype.pipe = function(t) {
57
+ process.env.NODE_ENV !== "production" && e(t && !t._disposed && t !== this), (this._downstream !== t || this._dirty) && (this._downstream = t, t._upstream = this, t.dirty());
58
+ }, n.prototype.dispose = function() {
59
+ this._disposed ||= (this._upstream && (this._upstream._downstream = null), this._downstream && (this._downstream._upstream = null), this._dirty = !1, !0);
60
+ }, n.prototype.getUpstream = function() {
61
+ return this._upstream;
62
+ }, n.prototype.getDownstream = function() {
63
+ return this._downstream;
64
+ }, n.prototype.setOutputEnd = function(e) {
65
+ this._outputDueEnd = this._settedOutputEnd = e;
66
+ }, n;
67
+ }(), i = function() {
68
+ var e, t, n, r, i, a = { reset: function(c, l, u, d) {
69
+ t = c, e = l, n = u, r = d, i = Math.ceil(r / n), a.next = n > 1 && r > 0 ? s : o;
70
+ } };
71
+ return a;
72
+ function o() {
73
+ return t < e ? t++ : null;
74
+ }
75
+ function s() {
76
+ var a = t % i * n + Math.ceil(t / i), o = t >= e ? null : a < r ? a : t;
77
+ return t++, o;
78
+ }
79
+ }();
80
+ //#endregion
81
+ export { n as createTask };
@@ -0,0 +1,68 @@
1
+ //#region node_modules/echarts/lib/data/DataDiffer.js
2
+ function e(e) {
3
+ return e == null ? 0 : e.length || 1;
4
+ }
5
+ function t(e) {
6
+ return e;
7
+ }
8
+ var n = function() {
9
+ function n(e, n, r, i, a, o) {
10
+ this._old = e, this._new = n, this._oldKeyGetter = r || t, this._newKeyGetter = i || t, this.context = a, this._diffModeMultiple = o === "multiple";
11
+ }
12
+ return n.prototype.add = function(e) {
13
+ return this._add = e, this;
14
+ }, n.prototype.update = function(e) {
15
+ return this._update = e, this;
16
+ }, n.prototype.updateManyToOne = function(e) {
17
+ return this._updateManyToOne = e, this;
18
+ }, n.prototype.updateOneToMany = function(e) {
19
+ return this._updateOneToMany = e, this;
20
+ }, n.prototype.updateManyToMany = function(e) {
21
+ return this._updateManyToMany = e, this;
22
+ }, n.prototype.remove = function(e) {
23
+ return this._remove = e, this;
24
+ }, n.prototype.execute = function() {
25
+ this[this._diffModeMultiple ? "_executeMultiple" : "_executeOneToOne"]();
26
+ }, n.prototype._executeOneToOne = function() {
27
+ var t = this._old, n = this._new, r = {}, i = Array(t.length), a = Array(n.length);
28
+ this._initIndexMap(t, null, i, "_oldKeyGetter"), this._initIndexMap(n, r, a, "_newKeyGetter");
29
+ for (var o = 0; o < t.length; o++) {
30
+ var s = i[o], c = r[s], l = e(c);
31
+ if (l > 1) {
32
+ var u = c.shift();
33
+ c.length === 1 && (r[s] = c[0]), this._update && this._update(u, o);
34
+ } else l === 1 ? (r[s] = null, this._update && this._update(c, o)) : this._remove && this._remove(o);
35
+ }
36
+ this._performRestAdd(a, r);
37
+ }, n.prototype._executeMultiple = function() {
38
+ var t = this._old, n = this._new, r = {}, i = {}, a = [], o = [];
39
+ this._initIndexMap(t, r, a, "_oldKeyGetter"), this._initIndexMap(n, i, o, "_newKeyGetter");
40
+ for (var s = 0; s < a.length; s++) {
41
+ var c = a[s], l = r[c], u = i[c], d = e(l), f = e(u);
42
+ if (d > 1 && f === 1) this._updateManyToOne && this._updateManyToOne(u, l), i[c] = null;
43
+ else if (d === 1 && f > 1) this._updateOneToMany && this._updateOneToMany(u, l), i[c] = null;
44
+ else if (d === 1 && f === 1) this._update && this._update(u, l), i[c] = null;
45
+ else if (d > 1 && f > 1) this._updateManyToMany && this._updateManyToMany(u, l), i[c] = null;
46
+ else if (d > 1) for (var p = 0; p < d; p++) this._remove && this._remove(l[p]);
47
+ else this._remove && this._remove(l);
48
+ }
49
+ this._performRestAdd(o, i);
50
+ }, n.prototype._performRestAdd = function(t, n) {
51
+ for (var r = 0; r < t.length; r++) {
52
+ var i = t[r], a = n[i], o = e(a);
53
+ if (o > 1) for (var s = 0; s < o; s++) this._add && this._add(a[s]);
54
+ else o === 1 && this._add && this._add(a);
55
+ n[i] = null;
56
+ }
57
+ }, n.prototype._initIndexMap = function(t, n, r, i) {
58
+ for (var a = this._diffModeMultiple, o = 0; o < t.length; o++) {
59
+ var s = "_ec_" + this[i](t[o], o);
60
+ if (a || (r[o] = s), n) {
61
+ var c = n[s], l = e(c);
62
+ l === 0 ? (n[s] = o, a && r.push(s)) : l === 1 ? n[s] = [c, o] : c.push(o);
63
+ }
64
+ }
65
+ }, n;
66
+ }();
67
+ //#endregion
68
+ export { n as default };
@@ -0,0 +1,359 @@
1
+ import { assert as e, clone as t, createHashMap as n, isFunction as r, keys as i, map as a, reduce as o } from "../../../zrender/lib/core/util.js";
2
+ import { asc as s } from "../util/number.js";
3
+ import { initExtentForUnion as c } from "../util/model.js";
4
+ import "../util/types.js";
5
+ import { shouldRetrieveDataByName as l } from "./Source.js";
6
+ import { parseDataValue as u, parseSanitizationFilter as d, passesSanitizationFilter as f } from "./helper/dataValueHelper.js";
7
+ //#region node_modules/echarts/lib/data/DataStore.js
8
+ var p = typeof Uint32Array > "u" ? Array : Uint32Array, m = typeof Uint16Array > "u" ? Array : Uint16Array, h = typeof Int32Array > "u" ? Array : Int32Array, g = typeof Float64Array > "u" ? Array : Float64Array, _ = {
9
+ float: g,
10
+ int: h,
11
+ ordinal: Array,
12
+ number: Array,
13
+ time: g
14
+ }, v;
15
+ function y(e) {
16
+ return e > 65535 ? p : m;
17
+ }
18
+ function b(e) {
19
+ var t = e.constructor;
20
+ return t === Array ? e.slice() : new t(e);
21
+ }
22
+ function x(e, t, n, r, i) {
23
+ var a = _[n || "float"];
24
+ if (i) {
25
+ var o = e[t], s = o && o.length;
26
+ if (s !== r) {
27
+ for (var c = new a(r), l = 0; l < s; l++) c[l] = o[l];
28
+ e[t] = c;
29
+ }
30
+ } else e[t] = new a(r);
31
+ }
32
+ var S = function() {
33
+ function p() {
34
+ this._chunks = [], this._rawExtent = [], this._extent = [], this._count = 0, this._rawCount = 0, this._calcDimNameToIdx = n();
35
+ }
36
+ return p.prototype.initData = function(t, n, i) {
37
+ process.env.NODE_ENV !== "production" && e(r(t.getItem) && r(t.count), "Invalid data provider."), this._provider = t, this._chunks = [], this._indices = null, this.getRawIndex = this._getRawIdxIdentity;
38
+ var o = t.getSource(), s = this.defaultDimValueGetter = v[o.sourceFormat];
39
+ this._dimValueGetter = i || s, this._rawExtent = [];
40
+ var c = l(o);
41
+ this._dimensions = a(n, function(t) {
42
+ return process.env.NODE_ENV !== "production" && c && e(t.property != null), {
43
+ type: t.type,
44
+ property: t.property
45
+ };
46
+ }), this._initDataFromProvider(0, t.count());
47
+ }, p.prototype.getProvider = function() {
48
+ return this._provider;
49
+ }, p.prototype.getSource = function() {
50
+ return this._provider.getSource();
51
+ }, p.prototype.ensureCalculationDimension = function(e, t) {
52
+ var n = this._calcDimNameToIdx, r = this._dimensions, i = n.get(e);
53
+ if (i != null) {
54
+ if (r[i].type === t) return i;
55
+ } else i = r.length;
56
+ return r[i] = { type: t }, n.set(e, i), this._chunks[i] = new _[t || "float"](this._rawCount), this._rawExtent[i] = c(), i;
57
+ }, p.prototype.collectOrdinalMeta = function(e, t) {
58
+ var n = this._chunks[e], r = this._dimensions[e], i = this._rawExtent, a = r.ordinalOffset || 0, o = n.length;
59
+ a === 0 && (i[e] = c());
60
+ for (var s = i[e], l = a; l < o; l++) {
61
+ var u = n[l] = t.parseAndCollect(n[l]);
62
+ isNaN(u) || (s[0] = Math.min(u, s[0]), s[1] = Math.max(u, s[1]));
63
+ }
64
+ r.ordinalMeta = t, r.ordinalOffset = o, r.type = "ordinal";
65
+ }, p.prototype.getOrdinalMeta = function(e) {
66
+ return this._dimensions[e].ordinalMeta;
67
+ }, p.prototype.getDimensionProperty = function(e) {
68
+ var t = this._dimensions[e];
69
+ return t && t.property;
70
+ }, p.prototype.appendData = function(t) {
71
+ process.env.NODE_ENV !== "production" && e(!this._indices, "appendData can only be called on raw data.");
72
+ var n = this._provider, r = this.count();
73
+ n.appendData(t);
74
+ var i = n.count();
75
+ return n.persistent || (i += r), r < i && this._initDataFromProvider(r, i, !0), [r, i];
76
+ }, p.prototype.appendValues = function(e, t) {
77
+ for (var n = this._chunks, r = this._dimensions, i = r.length, a = this._rawExtent, o = this.count(), s = o + Math.max(e.length, t || 0), c = 0; c < i; c++) {
78
+ var l = r[c];
79
+ x(n, c, l.type, s, !0);
80
+ }
81
+ for (var u = [], d = o; d < s; d++) for (var f = d - o, p = 0; p < i; p++) {
82
+ var l = r[p], m = v.arrayRows.call(this, e[f] || u, l.property, f, p);
83
+ n[p][d] = m;
84
+ var h = a[p];
85
+ m < h[0] && (h[0] = m), m > h[1] && (h[1] = m);
86
+ }
87
+ return this._rawCount = this._count = s, {
88
+ start: o,
89
+ end: s
90
+ };
91
+ }, p.prototype._initDataFromProvider = function(e, t, n) {
92
+ for (var r = this._provider, i = this._chunks, o = this._dimensions, s = o.length, l = this._rawExtent, u = a(o, function(e) {
93
+ return e.property;
94
+ }), d = 0; d < s; d++) {
95
+ var f = o[d];
96
+ l[d] || (l[d] = c()), x(i, d, f.type, t, n);
97
+ }
98
+ if (r.fillStorage) r.fillStorage(e, t, i, l);
99
+ else for (var p = [], m = e; m < t; m++) {
100
+ p = r.getItem(m, p);
101
+ for (var h = 0; h < s; h++) {
102
+ var g = i[h], _ = this._dimValueGetter(p, u[h], m, h);
103
+ g[m] = _;
104
+ var v = l[h];
105
+ _ < v[0] && (v[0] = _), _ > v[1] && (v[1] = _);
106
+ }
107
+ }
108
+ !r.persistent && r.clean && r.clean(), this._rawCount = this._count = t, this._extent = [];
109
+ }, p.prototype.count = function() {
110
+ return this._count;
111
+ }, p.prototype.get = function(e, t) {
112
+ if (!(t >= 0 && t < this._count)) return NaN;
113
+ var n = this._chunks[e];
114
+ return n ? n[this.getRawIndex(t)] : NaN;
115
+ }, p.prototype.getValues = function(e, t) {
116
+ var n = [], r = [];
117
+ if (t == null) {
118
+ t = e, e = [];
119
+ for (var i = 0; i < this._dimensions.length; i++) r.push(i);
120
+ } else r = e;
121
+ for (var i = 0, a = r.length; i < a; i++) n.push(this.get(r[i], t));
122
+ return n;
123
+ }, p.prototype.getByRawIndex = function(e, t) {
124
+ if (!(t >= 0 && t < this._rawCount)) return NaN;
125
+ var n = this._chunks[e];
126
+ return n ? n[t] : NaN;
127
+ }, p.prototype.getSum = function(e) {
128
+ var t = this._chunks[e], n = 0;
129
+ if (t) for (var r = 0, i = this.count(); r < i; r++) {
130
+ var a = this.get(e, r);
131
+ isNaN(a) || (n += a);
132
+ }
133
+ return n;
134
+ }, p.prototype.getMedian = function(e) {
135
+ var t = [];
136
+ this.each([e], function(e) {
137
+ isNaN(e) || t.push(e);
138
+ }), s(t);
139
+ var n = this.count();
140
+ return n === 0 ? 0 : n % 2 == 1 ? t[(n - 1) / 2] : (t[n / 2] + t[n / 2 - 1]) / 2;
141
+ }, p.prototype.indexOfRawIndex = function(e) {
142
+ if (e >= this._rawCount || e < 0) return -1;
143
+ if (!this._indices) return e;
144
+ var t = this._indices, n = t[e];
145
+ if (n != null && n < this._count && n === e) return e;
146
+ for (var r = 0, i = this._count - 1; r <= i;) {
147
+ var a = (r + i) / 2 | 0;
148
+ if (t[a] < e) r = a + 1;
149
+ else if (t[a] > e) i = a - 1;
150
+ else return a;
151
+ }
152
+ return -1;
153
+ }, p.prototype.getIndices = function() {
154
+ var e, t = this._indices;
155
+ if (t) {
156
+ var n = t.constructor, r = this._count;
157
+ if (n === Array) {
158
+ e = new n(r);
159
+ for (var i = 0; i < r; i++) e[i] = t[i];
160
+ } else e = new n(t.buffer, 0, r);
161
+ } else {
162
+ var n = y(this._rawCount);
163
+ e = new n(this.count());
164
+ for (var i = 0; i < e.length; i++) e[i] = i;
165
+ }
166
+ return e;
167
+ }, p.prototype.filter = function(e, t) {
168
+ if (!this._count) return this;
169
+ for (var n = this.clone(), r = n.count(), i = new (y(n._rawCount))(r), a = [], o = e.length, s = 0, c = e[0], l = n._chunks, u = 0; u < r; u++) {
170
+ var d = void 0, f = n.getRawIndex(u);
171
+ if (o === 0) d = t(u);
172
+ else if (o === 1) {
173
+ var p = l[c][f];
174
+ d = t(p, u);
175
+ } else {
176
+ for (var m = 0; m < o; m++) a[m] = l[e[m]][f];
177
+ a[m] = u, d = t.apply(null, a);
178
+ }
179
+ d && (i[s++] = f);
180
+ }
181
+ return s < r && (n._indices = i), n._count = s, n._extent = [], n._updateGetRawIdx(), n;
182
+ }, p.prototype.selectRange = function(e) {
183
+ var t = this.clone(), n = t._count;
184
+ if (!n) return this;
185
+ var r = i(e), a = r.length;
186
+ if (!a) return this;
187
+ var o = t.count(), s = new (y(t._rawCount))(o), c = 0, l = r[0], u = e[l][0], d = e[l][1], f = t._chunks, p = !1;
188
+ if (!t._indices) {
189
+ var m = 0;
190
+ if (a === 1) {
191
+ for (var h = f[r[0]], g = 0; g < n; g++) {
192
+ var _ = h[g];
193
+ (_ >= u && _ <= d || isNaN(_)) && (s[c++] = m), m++;
194
+ }
195
+ p = !0;
196
+ } else if (a === 2) {
197
+ for (var h = f[r[0]], v = f[r[1]], b = e[r[1]][0], x = e[r[1]][1], g = 0; g < n; g++) {
198
+ var _ = h[g], S = v[g];
199
+ (_ >= u && _ <= d || isNaN(_)) && (S >= b && S <= x || isNaN(S)) && (s[c++] = m), m++;
200
+ }
201
+ p = !0;
202
+ }
203
+ }
204
+ if (!p) if (a === 1) for (var g = 0; g < o; g++) {
205
+ var C = t.getRawIndex(g), _ = f[r[0]][C];
206
+ (_ >= u && _ <= d || isNaN(_)) && (s[c++] = C);
207
+ }
208
+ else for (var g = 0; g < o; g++) {
209
+ for (var w = !0, C = t.getRawIndex(g), T = 0; T < a; T++) {
210
+ var E = r[T], _ = f[E][C];
211
+ (_ < e[E][0] || _ > e[E][1]) && (w = !1);
212
+ }
213
+ w && (s[c++] = t.getRawIndex(g));
214
+ }
215
+ return c < o && (t._indices = s), t._count = c, t._extent = [], t._updateGetRawIdx(), t;
216
+ }, p.prototype.map = function(e, t) {
217
+ var n = this.clone(e);
218
+ return this._updateDims(n, e, t), n;
219
+ }, p.prototype.modify = function(e, t) {
220
+ this._updateDims(this, e, t);
221
+ }, p.prototype._updateDims = function(e, t, n) {
222
+ for (var r = e._chunks, i = [], a = t.length, o = e.count(), s = [], l = e._rawExtent, u = 0; u < t.length; u++) l[t[u]] = c();
223
+ for (var d = 0; d < o; d++) {
224
+ for (var f = e.getRawIndex(d), p = 0; p < a; p++) s[p] = r[t[p]][f];
225
+ s[a] = d;
226
+ var m = n && n.apply(null, s);
227
+ if (m != null) {
228
+ typeof m != "object" && (i[0] = m, m = i);
229
+ for (var u = 0; u < m.length; u++) {
230
+ var h = t[u], g = m[u], _ = l[h], v = r[h];
231
+ v && (v[f] = g), g < _[0] && (_[0] = g), g > _[1] && (_[1] = g);
232
+ }
233
+ }
234
+ }
235
+ }, p.prototype.lttbDownSample = function(e, t) {
236
+ var n = this.clone([e], !0), r = n._chunks[e], i = this.count(), a = 0, o = Math.floor(1 / t), s = this.getRawIndex(0), c, l, u, d = new (y(this._rawCount))(Math.min((Math.ceil(i / o) + 2) * 2, i));
237
+ d[a++] = s;
238
+ for (var f = 1; f < i - 1; f += o) {
239
+ for (var p = Math.min(f + o, i - 1), m = Math.min(f + o * 2, i), h = (m + p) / 2, g = 0, _ = p; _ < m; _++) {
240
+ var v = this.getRawIndex(_), b = r[v];
241
+ isNaN(b) || (g += b);
242
+ }
243
+ g /= m - p;
244
+ var x = f, S = Math.min(f + o, i), C = f - 1, w = r[s];
245
+ c = -1, u = x;
246
+ for (var T = -1, E = 0, _ = x; _ < S; _++) {
247
+ var v = this.getRawIndex(_), b = r[v];
248
+ if (isNaN(b)) {
249
+ E++, T < 0 && (T = v);
250
+ continue;
251
+ }
252
+ l = Math.abs((C - h) * (b - w) - (C - _) * (g - w)), l > c && (c = l, u = v);
253
+ }
254
+ E > 0 && E < S - x && (d[a++] = Math.min(T, u), u = Math.max(T, u)), d[a++] = u, s = u;
255
+ }
256
+ return d[a++] = this.getRawIndex(i - 1), n._count = a, n._indices = d, n.getRawIndex = this._getRawIdx, n;
257
+ }, p.prototype.minmaxDownSample = function(e, t) {
258
+ for (var n = this.clone([e], !0), r = n._chunks, i = Math.floor(1 / t), a = r[e], o = this.count(), s = new (y(this._rawCount))(Math.ceil(o / i) * 2), c = 0, l = 0; l < o; l += i) {
259
+ var u = l, d = a[this.getRawIndex(u)], f = l, p = a[this.getRawIndex(f)], m = i;
260
+ l + i > o && (m = o - l);
261
+ for (var h = 0; h < m; h++) {
262
+ var g = a[this.getRawIndex(l + h)];
263
+ g < d && (d = g, u = l + h), g > p && (p = g, f = l + h);
264
+ }
265
+ var _ = this.getRawIndex(u), v = this.getRawIndex(f);
266
+ u < f ? (s[c++] = _, s[c++] = v) : (s[c++] = v, s[c++] = _);
267
+ }
268
+ return n._count = c, n._indices = s, n._updateGetRawIdx(), n;
269
+ }, p.prototype.downSample = function(e, t, n, r) {
270
+ for (var i = this.clone([e], !0), a = i._chunks, o = [], s = Math.floor(1 / t), l = a[e], u = this.count(), d = i._rawExtent[e] = c(), f = new (y(this._rawCount))(Math.ceil(u / s)), p = 0, m = 0; m < u; m += s) {
271
+ s > u - m && (s = u - m, o.length = s);
272
+ for (var h = 0; h < s; h++) o[h] = l[this.getRawIndex(m + h)];
273
+ var g = n(o), _ = this.getRawIndex(Math.min(m + r(o, g) || 0, u - 1));
274
+ l[_] = g, g < d[0] && (d[0] = g), g > d[1] && (d[1] = g), f[p++] = _;
275
+ }
276
+ return i._count = p, i._indices = f, i._updateGetRawIdx(), i;
277
+ }, p.prototype.each = function(e, t) {
278
+ if (this._count) for (var n = e.length, r = this._chunks, i = 0, a = this.count(); i < a; i++) {
279
+ var o = this.getRawIndex(i);
280
+ switch (n) {
281
+ case 0:
282
+ t(i);
283
+ break;
284
+ case 1:
285
+ t(r[e[0]][o], i);
286
+ break;
287
+ case 2:
288
+ t(r[e[0]][o], r[e[1]][o], i);
289
+ break;
290
+ default:
291
+ for (var s = 0, c = []; s < n; s++) c[s] = r[e[s]][o];
292
+ c[s] = i, t.apply(null, c);
293
+ }
294
+ }
295
+ }, p.prototype.getDataExtent = function(e, t) {
296
+ var n = this._chunks[e], r = c();
297
+ if (!n) return r;
298
+ var i = this.count();
299
+ if (!this._indices && !t) return this._rawExtent[e].slice();
300
+ var a = this._extent, o = a[e] || (a[e] = {}), s = d(t), l = s.key, u = o[l];
301
+ if (u) return u.slice();
302
+ for (var p = r[0], m = r[1], h = 0; h < i; h++) {
303
+ var g = n[this.getRawIndex(h)];
304
+ (!t || f(s, g)) && (g < p && (p = g), g > m && (m = g));
305
+ }
306
+ return o[l] = [p, m];
307
+ }, p.prototype.getRawDataItem = function(e) {
308
+ var t = this.getRawIndex(e);
309
+ if (this._provider.persistent) return this._provider.getItem(t);
310
+ for (var n = [], r = this._chunks, i = 0; i < r.length; i++) n.push(r[i][t]);
311
+ return n;
312
+ }, p.prototype.clone = function(e, t) {
313
+ var n = new p(), r = this._chunks, i = e && o(e, function(e, t) {
314
+ return e[t] = !0, e;
315
+ }, {});
316
+ if (i) for (var a = 0; a < r.length; a++) n._chunks[a] = i[a] ? b(r[a]) : r[a];
317
+ else n._chunks = r;
318
+ return this._copyCommonProps(n), t || (n._indices = this._cloneIndices()), n._updateGetRawIdx(), n;
319
+ }, p.prototype._copyCommonProps = function(e) {
320
+ e._count = this._count, e._rawCount = this._rawCount, e._provider = this._provider, e._dimensions = this._dimensions, e._extent = t(this._extent), e._rawExtent = t(this._rawExtent);
321
+ }, p.prototype._cloneIndices = function() {
322
+ if (this._indices) {
323
+ var e = this._indices.constructor, t = void 0;
324
+ if (e === Array) {
325
+ var n = this._indices.length;
326
+ t = new e(n);
327
+ for (var r = 0; r < n; r++) t[r] = this._indices[r];
328
+ } else t = new e(this._indices);
329
+ return t;
330
+ }
331
+ return null;
332
+ }, p.prototype._getRawIdxIdentity = function(e) {
333
+ return e;
334
+ }, p.prototype._getRawIdx = function(e) {
335
+ return e < this._count && e >= 0 ? this._indices[e] : -1;
336
+ }, p.prototype._updateGetRawIdx = function() {
337
+ this.getRawIndex = this._indices ? this._getRawIdx : this._getRawIdxIdentity;
338
+ }, p.internalField = function() {
339
+ function e(e, t, n, r) {
340
+ return u(e[r], this._dimensions[r]);
341
+ }
342
+ v = {
343
+ arrayRows: e,
344
+ objectRows: function(e, t, n, r) {
345
+ return u(e[t], this._dimensions[r]);
346
+ },
347
+ keyedColumns: e,
348
+ original: function(e, t, n, r) {
349
+ var i = e && (e.value == null ? e : e.value);
350
+ return u(i instanceof Array ? i[r] : i, this._dimensions[r]);
351
+ },
352
+ typedArray: function(e, t, n, r) {
353
+ return e[r];
354
+ }
355
+ };
356
+ }(), p;
357
+ }();
358
+ //#endregion
359
+ export { h as CtorInt32Array, S as default };