reke-ui 0.3.0 → 0.4.1

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/README.md +6 -0
  2. package/custom-elements.json +1888 -445
  3. package/dist/_virtual/_rolldown/runtime.js +11 -0
  4. package/dist/components/reke-chip/reke-chip.d.ts +7 -0
  5. package/dist/components/reke-chip/reke-chip.d.ts.map +1 -1
  6. package/dist/components/reke-chip/reke-chip.js +8 -2
  7. package/dist/components/reke-chip/reke-chip.styles.d.ts.map +1 -1
  8. package/dist/components/reke-chip/reke-chip.styles.js +32 -0
  9. package/dist/components/reke-combobox/reke-combobox.d.ts +21 -1
  10. package/dist/components/reke-combobox/reke-combobox.d.ts.map +1 -1
  11. package/dist/components/reke-combobox/reke-combobox.js +76 -16
  12. package/dist/components/reke-combobox/reke-combobox.styles.d.ts.map +1 -1
  13. package/dist/components/reke-combobox/reke-combobox.styles.js +128 -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 +202 -3
  38. package/dist/components/reke-table/reke-table.d.ts.map +1 -1
  39. package/dist/components/reke-table/reke-table.js +244 -64
  40. package/dist/components/reke-table/reke-table.styles.d.ts.map +1 -1
  41. package/dist/components/reke-table/reke-table.styles.js +29 -0
  42. package/dist/index.d.ts +5 -0
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.js +10 -7
  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 +8 -0
  255. package/dist/react.d.ts.map +1 -1
  256. package/dist/react.js +58 -46
  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 +15 -1
@@ -0,0 +1,26 @@
1
+ import { keys as e } from "../../../zrender/lib/core/util.js";
2
+ e({
3
+ needTransform: 1,
4
+ normalize: 1,
5
+ scale: 1,
6
+ transformIn: 1,
7
+ transformOut: 1,
8
+ contain: 1,
9
+ getExtent: 1,
10
+ getExtentUnsafe: 1,
11
+ setExtent: 1,
12
+ setExtent2: 1,
13
+ getFilter: 1,
14
+ sanitize: 1,
15
+ getDefaultStartValue: 1,
16
+ freeze: 1
17
+ });
18
+ function t(e, t) {
19
+ return e.getExtentUnsafe(1, t) || e.getExtentUnsafe(0, t);
20
+ }
21
+ function n(e) {
22
+ var n = t(e, 3);
23
+ return n[1] - n[0];
24
+ }
25
+ //#endregion
26
+ export { n as getScaleLinearSpanForMapping };
@@ -0,0 +1,159 @@
1
+ import e from "../visual/tokens.js";
2
+ //#region node_modules/echarts/lib/theme/dark.js
3
+ var t = e.darkColor, n = t.background, r = function() {
4
+ return {
5
+ axisLine: { lineStyle: { color: t.axisLine } },
6
+ splitLine: { lineStyle: { color: t.axisSplitLine } },
7
+ splitArea: { areaStyle: { color: [t.backgroundTint, t.backgroundTransparent] } },
8
+ minorSplitLine: { lineStyle: { color: t.axisMinorSplitLine } },
9
+ axisLabel: { color: t.axisLabel },
10
+ axisName: {}
11
+ };
12
+ }, i = {
13
+ label: { color: t.secondary },
14
+ itemStyle: { borderColor: t.borderTint },
15
+ dividerLineStyle: { color: t.border }
16
+ }, a = {
17
+ darkMode: !0,
18
+ color: t.theme,
19
+ backgroundColor: n,
20
+ axisPointer: {
21
+ lineStyle: { color: t.border },
22
+ crossStyle: { color: t.borderShade },
23
+ label: { color: t.tertiary }
24
+ },
25
+ legend: {
26
+ textStyle: { color: t.secondary },
27
+ pageTextStyle: { color: t.tertiary }
28
+ },
29
+ textStyle: { color: t.secondary },
30
+ title: {
31
+ textStyle: { color: t.primary },
32
+ subtextStyle: { color: t.quaternary }
33
+ },
34
+ toolbox: {
35
+ iconStyle: { borderColor: t.accent50 },
36
+ feature: { dataView: {
37
+ backgroundColor: n,
38
+ textColor: t.primary,
39
+ textareaColor: t.background,
40
+ textareaBorderColor: t.border,
41
+ buttonColor: t.accent50,
42
+ buttonTextColor: t.neutral00
43
+ } }
44
+ },
45
+ tooltip: {
46
+ backgroundColor: t.neutral20,
47
+ defaultBorderColor: t.border,
48
+ textStyle: { color: t.tertiary }
49
+ },
50
+ dataZoom: {
51
+ borderColor: t.accent10,
52
+ textStyle: { color: t.tertiary },
53
+ brushStyle: { color: t.backgroundTint },
54
+ handleStyle: {
55
+ color: t.neutral00,
56
+ borderColor: t.accent20
57
+ },
58
+ moveHandleStyle: { color: t.accent40 },
59
+ emphasis: { handleStyle: { borderColor: t.accent50 } },
60
+ dataBackground: {
61
+ lineStyle: { color: t.accent30 },
62
+ areaStyle: { color: t.accent20 }
63
+ },
64
+ selectedDataBackground: {
65
+ lineStyle: { color: t.accent50 },
66
+ areaStyle: { color: t.accent30 }
67
+ }
68
+ },
69
+ visualMap: {
70
+ textStyle: { color: t.secondary },
71
+ handleStyle: { borderColor: t.neutral30 }
72
+ },
73
+ timeline: {
74
+ lineStyle: { color: t.accent10 },
75
+ label: { color: t.tertiary },
76
+ controlStyle: {
77
+ color: t.accent30,
78
+ borderColor: t.accent30
79
+ }
80
+ },
81
+ calendar: {
82
+ itemStyle: {
83
+ color: t.neutral00,
84
+ borderColor: t.neutral20
85
+ },
86
+ dayLabel: { color: t.tertiary },
87
+ monthLabel: { color: t.secondary },
88
+ yearLabel: { color: t.secondary }
89
+ },
90
+ matrix: {
91
+ x: i,
92
+ y: i,
93
+ backgroundColor: { borderColor: t.axisLine },
94
+ body: { itemStyle: { borderColor: t.borderTint } }
95
+ },
96
+ timeAxis: r(),
97
+ logAxis: r(),
98
+ valueAxis: r(),
99
+ categoryAxis: r(),
100
+ line: { symbol: "circle" },
101
+ graph: { color: t.theme },
102
+ gauge: {
103
+ title: { color: t.secondary },
104
+ axisLine: { lineStyle: { color: [[1, t.neutral05]] } },
105
+ axisLabel: { color: t.axisLabel },
106
+ detail: { color: t.primary }
107
+ },
108
+ candlestick: { itemStyle: {
109
+ color: "#f64e56",
110
+ color0: "#54ea92",
111
+ borderColor: "#f64e56",
112
+ borderColor0: "#54ea92"
113
+ } },
114
+ funnel: { itemStyle: { borderColor: t.background } },
115
+ radar: function() {
116
+ var e = r();
117
+ return e.axisName = { color: t.axisLabel }, e.axisLine.lineStyle.color = t.neutral20, e;
118
+ }(),
119
+ treemap: { breadcrumb: {
120
+ itemStyle: {
121
+ color: t.neutral20,
122
+ textStyle: { color: t.secondary }
123
+ },
124
+ emphasis: { itemStyle: { color: t.neutral30 } }
125
+ } },
126
+ sunburst: { itemStyle: { borderColor: t.background } },
127
+ map: {
128
+ itemStyle: {
129
+ borderColor: t.border,
130
+ areaColor: t.neutral10
131
+ },
132
+ label: { color: t.tertiary },
133
+ emphasis: {
134
+ label: { color: t.primary },
135
+ itemStyle: { areaColor: t.highlight }
136
+ },
137
+ select: {
138
+ label: { color: t.primary },
139
+ itemStyle: { areaColor: t.highlight }
140
+ }
141
+ },
142
+ geo: {
143
+ itemStyle: {
144
+ borderColor: t.border,
145
+ areaColor: t.neutral10
146
+ },
147
+ emphasis: {
148
+ label: { color: t.primary },
149
+ itemStyle: { areaColor: t.highlight }
150
+ },
151
+ select: {
152
+ label: { color: t.primary },
153
+ itemStyle: { color: t.highlight }
154
+ }
155
+ }
156
+ };
157
+ a.categoryAxis.splitLine.show = !1;
158
+ //#endregion
159
+ export { a as default };
@@ -0,0 +1,52 @@
1
+ import { each as e, isString as t } from "../../../zrender/lib/core/util.js";
2
+ import { parseClassType as n } from "./clazz.js";
3
+ //#region node_modules/echarts/lib/util/ECEventProcessor.js
4
+ var r = function() {
5
+ function r() {}
6
+ return r.prototype.normalizeQuery = function(r) {
7
+ var i = {}, a = {}, o = {};
8
+ if (t(r)) {
9
+ var s = n(r);
10
+ i.mainType = s.main || null, i.subType = s.sub || null;
11
+ } else {
12
+ var c = [
13
+ "Index",
14
+ "Name",
15
+ "Id"
16
+ ], l = {
17
+ name: 1,
18
+ dataIndex: 1,
19
+ dataType: 1
20
+ };
21
+ e(r, function(e, t) {
22
+ for (var n = !1, r = 0; r < c.length; r++) {
23
+ var s = c[r], u = t.lastIndexOf(s);
24
+ if (u > 0 && u === t.length - s.length) {
25
+ var d = t.slice(0, u);
26
+ d !== "data" && (i.mainType = d, i[s.toLowerCase()] = e, n = !0);
27
+ }
28
+ }
29
+ l.hasOwnProperty(t) && (a[t] = e, n = !0), n || (o[t] = e);
30
+ });
31
+ }
32
+ return {
33
+ cptQuery: i,
34
+ dataQuery: a,
35
+ otherQuery: o
36
+ };
37
+ }, r.prototype.filter = function(e, t) {
38
+ var n = this.eventInfo;
39
+ if (!n) return !0;
40
+ var r = n.targetEl, i = n.packedEvent, a = n.model, o = n.view;
41
+ if (!a || !o) return !0;
42
+ var s = t.cptQuery, c = t.dataQuery;
43
+ return l(s, a, "mainType") && l(s, a, "subType") && l(s, a, "index", "componentIndex") && l(s, a, "name") && l(s, a, "id") && l(c, i, "name") && l(c, i, "dataIndex") && l(c, i, "dataType") && (!o.filterForExposedEvent || o.filterForExposedEvent(e, t.otherQuery, r, i));
44
+ function l(e, t, n, r) {
45
+ return e[n] == null || t[r || n] === e[n];
46
+ }
47
+ }, r.prototype.afterTrigger = function() {
48
+ this.eventInfo = null;
49
+ }, r;
50
+ }();
51
+ //#endregion
52
+ export { r as ECEventProcessor };
@@ -0,0 +1,99 @@
1
+ import { assert as e, each as t, extend as n, inherits as r, isFunction as i } from "../../../zrender/lib/core/util.js";
2
+ import { __extends as a } from "../../node_modules/tslib/tslib.es6.js";
3
+ //#region node_modules/echarts/lib/util/clazz.js
4
+ var o = ".", s = "___EC__COMPONENT__CONTAINER___", c = "___EC__EXTENDED_CLASS___";
5
+ function l(e) {
6
+ var t = {
7
+ main: "",
8
+ sub: ""
9
+ };
10
+ if (e) {
11
+ var n = e.split(o);
12
+ t.main = n[0] || "", t.sub = n[1] || "";
13
+ }
14
+ return t;
15
+ }
16
+ function u(t) {
17
+ e(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t), "componentType \"" + t + "\" illegal");
18
+ }
19
+ function d(e) {
20
+ return !!(e && e[c]);
21
+ }
22
+ function f(e, i) {
23
+ e.$constructor = e, e.extend = function(e) {
24
+ process.env.NODE_ENV !== "production" && t(i, function(t) {
25
+ e[t] || console.warn("Method `" + t + "` should be implemented" + (e.type ? " in " + e.type : "") + ".");
26
+ });
27
+ var o = this, s;
28
+ return p(o) ? s = function(e) {
29
+ a(t, e);
30
+ function t() {
31
+ return e.apply(this, arguments) || this;
32
+ }
33
+ return t;
34
+ }(o) : (s = function() {
35
+ (e.$constructor || o).apply(this, arguments);
36
+ }, r(s, this)), n(s.prototype, e), s[c] = !0, s.extend = this.extend, s.superCall = _, s.superApply = v, s.superClass = o, s;
37
+ };
38
+ }
39
+ function p(e) {
40
+ return i(e) && /^class\s/.test(Function.prototype.toString.call(e));
41
+ }
42
+ function m(e, t) {
43
+ e.extend = t.extend;
44
+ }
45
+ var h = Math.round(Math.random() * 10);
46
+ function g(t) {
47
+ var n = ["__\0is_clz", h++].join("_");
48
+ t.prototype[n] = !0, process.env.NODE_ENV !== "production" && e(!t.isInstance, "The method \"is\" can not be defined."), t.isInstance = function(e) {
49
+ return !!(e && e[n]);
50
+ };
51
+ }
52
+ function _(e, t) {
53
+ var n = [...arguments].slice(2);
54
+ return this.superClass.prototype[t].apply(e, n);
55
+ }
56
+ function v(e, t, n) {
57
+ return this.superClass.prototype[t].apply(e, n);
58
+ }
59
+ function y(e) {
60
+ var n = {};
61
+ e.registerClass = function(e) {
62
+ var t = e.type || e.prototype.type;
63
+ if (t) {
64
+ u(t), e.prototype.type = t;
65
+ var i = l(t);
66
+ if (!i.sub) process.env.NODE_ENV !== "production" && n[i.main] && console.warn(i.main + " exists."), n[i.main] = e;
67
+ else if (i.sub !== s) {
68
+ var a = r(i);
69
+ a[i.sub] = e;
70
+ }
71
+ }
72
+ return e;
73
+ }, e.getClass = function(e, t, r) {
74
+ var i = n[e];
75
+ if (i && i[s] && (i = t ? i[t] : null), r && !i) throw Error(t ? "Component " + e + "." + (t || "") + " is used but not imported." : e + ".type should be specified.");
76
+ return i;
77
+ }, e.getClassesByMainType = function(e) {
78
+ var r = l(e), i = [], a = n[r.main];
79
+ return a && a[s] ? t(a, function(e, t) {
80
+ t !== s && i.push(e);
81
+ }) : i.push(a), i;
82
+ }, e.hasClass = function(e) {
83
+ return !!n[l(e).main];
84
+ }, e.getAllClassMainTypes = function() {
85
+ var e = [];
86
+ return t(n, function(t, n) {
87
+ e.push(n);
88
+ }), e;
89
+ }, e.hasSubTypes = function(e) {
90
+ var t = n[l(e).main];
91
+ return t && t[s];
92
+ };
93
+ function r(e) {
94
+ var t = n[e.main];
95
+ return (!t || !t[s]) && (t = n[e.main] = {}, t[s] = !0), t;
96
+ }
97
+ }
98
+ //#endregion
99
+ export { g as enableClassCheck, f as enableClassExtend, y as enableClassManagement, d as isExtendedClass, m as mountExtend, l as parseClassType };
@@ -0,0 +1,75 @@
1
+ import { each as e, indexOf as t, merge as n } from "../../../zrender/lib/core/util.js";
2
+ import { makePrintable as r } from "./log.js";
3
+ import { parseClassType as i } from "./clazz.js";
4
+ //#region node_modules/echarts/lib/util/component.js
5
+ var a = Math.round(Math.random() * 10);
6
+ function o(e) {
7
+ return [e || "", a++].join("_");
8
+ }
9
+ function s(e) {
10
+ var t = {};
11
+ e.registerSubTypeDefaulter = function(e, n) {
12
+ var r = i(e);
13
+ t[r.main] = n;
14
+ }, e.determineSubType = function(n, r) {
15
+ var a = r.type;
16
+ if (!a) {
17
+ var o = i(n).main;
18
+ e.hasSubTypes(n) && t[o] && (a = t[o](r));
19
+ }
20
+ return a;
21
+ };
22
+ }
23
+ function c(n, i) {
24
+ n.topologicalTravel = function(t, n, i, o) {
25
+ if (!t.length) return;
26
+ var s = a(n), c = s.graph, l = s.noEntryList, u = {};
27
+ for (e(t, function(e) {
28
+ u[e] = !0;
29
+ }); l.length;) {
30
+ var d = l.pop(), f = c[d], p = !!u[d];
31
+ p && (i.call(o, d, f.originalDeps.slice()), delete u[d]), e(f.successor, p ? h : m);
32
+ }
33
+ e(u, function() {
34
+ var e = "";
35
+ throw process.env.NODE_ENV !== "production" && (e = r("Circular dependency may exists: ", u, t, n)), Error(e);
36
+ });
37
+ function m(e) {
38
+ c[e].entryCount--, c[e].entryCount === 0 && l.push(e);
39
+ }
40
+ function h(e) {
41
+ u[e] = !0, m(e);
42
+ }
43
+ };
44
+ function a(n) {
45
+ var r = {}, a = [];
46
+ return e(n, function(c) {
47
+ var l = o(r, c), u = s(l.originalDeps = i(c), n);
48
+ l.entryCount = u.length, l.entryCount === 0 && a.push(c), e(u, function(e) {
49
+ t(l.predecessor, e) < 0 && l.predecessor.push(e);
50
+ var n = o(r, e);
51
+ t(n.successor, e) < 0 && n.successor.push(c);
52
+ });
53
+ }), {
54
+ graph: r,
55
+ noEntryList: a
56
+ };
57
+ }
58
+ function o(e, t) {
59
+ return e[t] || (e[t] = {
60
+ predecessor: [],
61
+ successor: []
62
+ }), e[t];
63
+ }
64
+ function s(n, r) {
65
+ var i = [];
66
+ return e(n, function(e) {
67
+ t(r, e) >= 0 && i.push(e);
68
+ }), i;
69
+ }
70
+ }
71
+ function l(e, t) {
72
+ return n(n({}, e, !0), t, !0);
73
+ }
74
+ //#endregion
75
+ export { s as enableSubTypeDefaulter, c as enableTopologicalTravel, o as getUID, l as inheritDefaultOption };
@@ -0,0 +1,14 @@
1
+ import { makeInner as e } from "./model.js";
2
+ //#region node_modules/echarts/lib/util/cycleCache.js
3
+ var t = e();
4
+ function n(e) {
5
+ t(e).prepare = {};
6
+ }
7
+ function r(e) {
8
+ t(e).fullUpdate = {};
9
+ }
10
+ function i(e) {
11
+ return t(e).fullUpdate;
12
+ }
13
+ //#endregion
14
+ export { i as getCachePerECFullUpdate, r as resetCachePerECFullUpdate, n as resetCachePerECPrepare };
@@ -0,0 +1,162 @@
1
+ import { platformApi as e } from "../../../zrender/lib/core/platform.js";
2
+ import { defaults as t, isArray as n, isNumber as r, isString as i, map as a } from "../../../zrender/lib/core/util.js";
3
+ import { getLeastCommonMultiple as o } from "./number.js";
4
+ import s from "../../../zrender/lib/core/LRU.js";
5
+ import { createSymbol as c } from "./symbol.js";
6
+ import l from "../../../zrender/lib/core/WeakMap.js";
7
+ import { brushSingle as u } from "../../../zrender/lib/canvas/graphic.js";
8
+ //#region node_modules/echarts/lib/util/decal.js
9
+ var d = new l(), f = new s(100), p = [
10
+ "symbol",
11
+ "symbolSize",
12
+ "symbolKeepAspect",
13
+ "color",
14
+ "backgroundColor",
15
+ "dashArrayX",
16
+ "dashArrayY",
17
+ "maxTileWidth",
18
+ "maxTileHeight"
19
+ ];
20
+ function m(a, s) {
21
+ if (a === "none") return null;
22
+ var l = s.getDevicePixelRatio(), m = s.getZr(), b = m.painter.type === "svg";
23
+ a.dirty && d.delete(a);
24
+ var x = d.get(a);
25
+ if (x) return x;
26
+ var S = t(a, {
27
+ symbol: "rect",
28
+ symbolSize: 1,
29
+ symbolKeepAspect: !0,
30
+ color: "rgba(0, 0, 0, 0.2)",
31
+ backgroundColor: null,
32
+ dashArrayX: 5,
33
+ dashArrayY: 5,
34
+ rotation: 0,
35
+ maxTileWidth: 512,
36
+ maxTileHeight: 512
37
+ });
38
+ S.backgroundColor === "none" && (S.backgroundColor = null);
39
+ var C = { repeat: "repeat" };
40
+ return w(C), C.rotation = S.rotation, C.scaleX = C.scaleY = b ? 1 : 1 / l, d.set(a, C), a.dirty = !1, C;
41
+ function w(t) {
42
+ for (var a = [l], s = !0, d = 0; d < p.length; ++d) {
43
+ var x = S[p[d]];
44
+ if (x != null && !n(x) && !i(x) && !r(x) && typeof x != "boolean") {
45
+ s = !1;
46
+ break;
47
+ }
48
+ a.push(x);
49
+ }
50
+ var C;
51
+ if (s) {
52
+ C = a.join(",") + (b ? "-svg" : "");
53
+ var w = f.get(C);
54
+ w && (b ? t.svgElement = w : t.image = w);
55
+ }
56
+ var T = g(S.dashArrayX), E = _(S.dashArrayY), D = h(S.symbol), O = v(T), k = y(E), A = !b && e.createCanvas(), j = b && {
57
+ tag: "g",
58
+ attrs: {},
59
+ key: "dcl",
60
+ children: []
61
+ }, M = P(), N;
62
+ A && (A.width = M.width * l, A.height = M.height * l, N = A.getContext("2d")), F(), s && f.put(C, A || j), t.image = A, t.svgElement = j, t.svgWidth = M.width, t.svgHeight = M.height;
63
+ function P() {
64
+ for (var e = 1, t = 0, n = O.length; t < n; ++t) e = o(e, O[t]);
65
+ for (var r = 1, t = 0, n = D.length; t < n; ++t) r = o(r, D[t].length);
66
+ e *= r;
67
+ var i = k * O.length * D.length;
68
+ if (process.env.NODE_ENV !== "production") {
69
+ var a = function(e) {
70
+ console.warn("Calculated decal size is greater than " + e + " due to decal option settings so " + e + " is used for the decal size. Please consider changing the decal option to make a smaller decal or set " + e + " to be larger to avoid incontinuity.");
71
+ };
72
+ e > S.maxTileWidth && a("maxTileWidth"), i > S.maxTileHeight && a("maxTileHeight");
73
+ }
74
+ return {
75
+ width: Math.max(1, Math.min(e, S.maxTileWidth)),
76
+ height: Math.max(1, Math.min(i, S.maxTileHeight))
77
+ };
78
+ }
79
+ function F() {
80
+ N && (N.clearRect(0, 0, A.width, A.height), S.backgroundColor && (N.fillStyle = S.backgroundColor, N.fillRect(0, 0, A.width, A.height)));
81
+ for (var e = 0, t = 0; t < E.length; ++t) e += E[t];
82
+ if (e <= 0) return;
83
+ for (var n = -k, r = 0, i = 0, a = 0; n < M.height;) {
84
+ if (r % 2 == 0) {
85
+ for (var o = i / 2 % D.length, s = 0, d = 0, f = 0; s < M.width * 2;) {
86
+ for (var p = 0, t = 0; t < T[a].length; ++t) p += T[a][t];
87
+ if (p <= 0) break;
88
+ if (d % 2 == 0) {
89
+ var h = (1 - S.symbolSize) * .5, g = s + T[a][d] * h, _ = n + E[r] * h, v = T[a][d] * S.symbolSize, y = E[r] * S.symbolSize, x = f / 2 % D[o].length;
90
+ C(g, _, v, y, D[o][x]);
91
+ }
92
+ s += T[a][d], ++f, ++d, d === T[a].length && (d = 0);
93
+ }
94
+ ++a, a === T.length && (a = 0);
95
+ }
96
+ n += E[r], ++i, ++r, r === E.length && (r = 0);
97
+ }
98
+ function C(e, t, n, r, i) {
99
+ var a = b ? 1 : l, o = c(i, e * a, t * a, n * a, r * a, S.color, S.symbolKeepAspect);
100
+ if (b) {
101
+ var s = m.painter.renderOneToVNode(o);
102
+ s && j.children.push(s);
103
+ } else u(N, o);
104
+ }
105
+ }
106
+ }
107
+ }
108
+ function h(e) {
109
+ if (!e || e.length === 0) return [["rect"]];
110
+ if (i(e)) return [[e]];
111
+ for (var t = !0, n = 0; n < e.length; ++n) if (!i(e[n])) {
112
+ t = !1;
113
+ break;
114
+ }
115
+ if (t) return h([e]);
116
+ for (var r = [], n = 0; n < e.length; ++n) i(e[n]) ? r.push([e[n]]) : r.push(e[n]);
117
+ return r;
118
+ }
119
+ function g(e) {
120
+ if (!e || e.length === 0) return [[0, 0]];
121
+ if (r(e)) {
122
+ var t = Math.ceil(e);
123
+ return [[t, t]];
124
+ }
125
+ for (var n = !0, i = 0; i < e.length; ++i) if (!r(e[i])) {
126
+ n = !1;
127
+ break;
128
+ }
129
+ if (n) return g([e]);
130
+ for (var o = [], i = 0; i < e.length; ++i) if (r(e[i])) {
131
+ var t = Math.ceil(e[i]);
132
+ o.push([t, t]);
133
+ } else {
134
+ var t = a(e[i], function(e) {
135
+ return Math.ceil(e);
136
+ });
137
+ t.length % 2 == 1 ? o.push(t.concat(t)) : o.push(t);
138
+ }
139
+ return o;
140
+ }
141
+ function _(e) {
142
+ if (!e || typeof e == "object" && e.length === 0) return [0, 0];
143
+ if (r(e)) {
144
+ var t = Math.ceil(e);
145
+ return [t, t];
146
+ }
147
+ var n = a(e, function(e) {
148
+ return Math.ceil(e);
149
+ });
150
+ return e.length % 2 ? n.concat(n) : n;
151
+ }
152
+ function v(e) {
153
+ return a(e, function(e) {
154
+ return y(e);
155
+ });
156
+ }
157
+ function y(e) {
158
+ for (var t = 0, n = 0; n < e.length; ++n) t += e[n];
159
+ return e.length % 2 == 1 ? t * 2 : t;
160
+ }
161
+ //#endregion
162
+ export { m as createOrUpdatePatternFromDecal };
@@ -0,0 +1,7 @@
1
+ //#region node_modules/echarts/lib/util/event.js
2
+ function e(e, t, n) {
3
+ for (var r; e && !(t(e) && (r = e, n));) e = e.__hostTarget || e.parent;
4
+ return r;
5
+ }
6
+ //#endregion
7
+ export { e as findEventDispatcher };
@@ -0,0 +1,87 @@
1
+ import { isArray as e, isNumber as t, isObject as n, isString as r, isStringSafe as i, normalizeCssArray as a, trim as o } from "../../../zrender/lib/core/util.js";
2
+ import { isNullableNumberFinite as s, isNumeric as c, numericToNumber as l, parseDate as u } from "./number.js";
3
+ import { encodeHTML as d } from "../../../zrender/lib/core/dom.js";
4
+ import { format as f } from "./time.js";
5
+ //#region node_modules/echarts/lib/util/format.js
6
+ function p(e) {
7
+ if (!c(e)) return r(e) ? e : "-";
8
+ var t = (e + "").split(".");
9
+ return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g, "$1,") + (t.length > 1 ? "." + t[1] : "");
10
+ }
11
+ function m(e, t) {
12
+ return e = (e || "").toLowerCase().replace(/-(.)/g, function(e, t) {
13
+ return t.toUpperCase();
14
+ }), t && e && (e = e.charAt(0).toUpperCase() + e.slice(1)), e;
15
+ }
16
+ var h = a;
17
+ function g(e, n, r) {
18
+ var a = "{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";
19
+ function c(e) {
20
+ return e && o(e) ? e : "-";
21
+ }
22
+ function d(e) {
23
+ return s(e);
24
+ }
25
+ var m = n === "time", h = e instanceof Date;
26
+ if (m || h) {
27
+ var g = m ? u(e) : e;
28
+ if (!isNaN(+g)) return f(g, a, r);
29
+ if (h) return "-";
30
+ }
31
+ if (n === "ordinal") return i(e) ? c(e) : t(e) && d(e) ? e + "" : "-";
32
+ var _ = l(e);
33
+ return d(_) ? p(_) : i(e) ? c(e) : typeof e == "boolean" ? e + "" : "-";
34
+ }
35
+ var _ = [
36
+ "a",
37
+ "b",
38
+ "c",
39
+ "d",
40
+ "e",
41
+ "f",
42
+ "g"
43
+ ], v = function(e, t) {
44
+ return "{" + e + (t ?? "") + "}";
45
+ };
46
+ function y(t, n, r) {
47
+ e(n) || (n = [n]);
48
+ var i = n.length;
49
+ if (!i) return "";
50
+ for (var a = n[0].$vars || [], o = 0; o < a.length; o++) {
51
+ var s = _[o];
52
+ t = t.replace(v(s), v(s, 0));
53
+ }
54
+ for (var c = 0; c < i; c++) for (var l = 0; l < a.length; l++) {
55
+ var u = n[c][a[l]];
56
+ t = t.replace(v(_[l], c), r ? d(u) : u);
57
+ }
58
+ return t;
59
+ }
60
+ function b(e, t) {
61
+ var n = r(e) ? {
62
+ color: e,
63
+ extraCssText: t
64
+ } : e || {}, i = n.color, a = n.type;
65
+ t = n.extraCssText;
66
+ var o = n.renderMode || "html";
67
+ return i ? o === "html" ? a === "subItem" ? "<span style=\"display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:" + d(i) + ";" + (t || "") + "\"></span>" : "<span style=\"display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:" + d(i) + ";" + (t || "") + "\"></span>" : {
68
+ renderMode: o,
69
+ content: "{" + (n.markerId || "markerX") + "|} ",
70
+ style: a === "subItem" ? {
71
+ width: 4,
72
+ height: 4,
73
+ borderRadius: 2,
74
+ backgroundColor: i
75
+ } : {
76
+ width: 10,
77
+ height: 10,
78
+ borderRadius: 5,
79
+ backgroundColor: i
80
+ }
81
+ } : "";
82
+ }
83
+ function x(e, t) {
84
+ return t ||= "transparent", r(e) ? e : n(e) && e.colorStops && (e.colorStops[0] || {}).color || t;
85
+ }
86
+ //#endregion
87
+ export { x as convertToColorString, y as formatTpl, b as getTooltipMarker, g as makeValueReadable, h as normalizeCssArray, m as toCamelCase };