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,117 @@
1
+ import { RekeElement as e } from "../../shared/base-element.js";
2
+ import { __decorate as t } from "../../_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js";
3
+ import { install as n } from "../../node_modules/echarts/lib/chart/pie/install.js";
4
+ import { init as r } from "../../node_modules/echarts/lib/core/echarts.js";
5
+ import { use as i } from "../../node_modules/echarts/lib/extension.js";
6
+ import { install as a } from "../../node_modules/echarts/lib/component/tooltip/install.js";
7
+ import { install as o } from "../../node_modules/echarts/lib/component/legend/install.js";
8
+ import { install as s } from "../../node_modules/echarts/lib/renderer/installCanvasRenderer.js";
9
+ import { styles as c } from "./reke-pie-chart.styles.js";
10
+ import { html as l } from "lit";
11
+ import { customElement as u, property as d } from "lit/decorators.js";
12
+ //#region src/components/reke-pie-chart/reke-pie-chart.ts
13
+ i([
14
+ n,
15
+ a,
16
+ o,
17
+ s
18
+ ]);
19
+ var f = [
20
+ "#22C55E",
21
+ "#3B82F6",
22
+ "#F59E0B",
23
+ "#EF4444",
24
+ "#A855F7",
25
+ "#14B8A6"
26
+ ], p = class extends e {
27
+ constructor(...e) {
28
+ super(...e), this.data = [], this.variant = "donut", this.label = "Pie chart", this.showLegend = !1, this.loading = !1;
29
+ }
30
+ static {
31
+ this.styles = c;
32
+ }
33
+ readToken(e, t) {
34
+ return getComputedStyle(this).getPropertyValue(e).trim() || t;
35
+ }
36
+ resolvePalette() {
37
+ return this.palette?.length ? this.palette : f.map((e, t) => this.readToken(`--reke-chart-${t + 1}`, e));
38
+ }
39
+ firstUpdated() {
40
+ let e = this.renderRoot.querySelector(".chart");
41
+ this.chart = r(e), this.chart.setOption(this.buildOption()), this.applyLoading(), this.chart.on("click", (e) => {
42
+ this.emit("reke-pie-chart-select", {
43
+ name: String(e.name),
44
+ value: Number(e.value),
45
+ percent: Number(e.percent ?? 0)
46
+ });
47
+ }), this.observer = new ResizeObserver(() => this.chart?.resize()), this.observer.observe(e);
48
+ }
49
+ updated(e) {
50
+ this.chart && ((e.has("data") || e.has("variant") || e.has("showLegend") || e.has("palette")) && this.chart.setOption(this.buildOption(), !0), e.has("loading") && this.applyLoading());
51
+ }
52
+ applyLoading() {
53
+ this.loading ? this.chart?.showLoading("default", {
54
+ text: "",
55
+ color: this.readToken("--reke-color-primary", "#22C55E"),
56
+ maskColor: "rgba(10, 10, 11, 0.4)"
57
+ }) : this.chart?.hideLoading();
58
+ }
59
+ disconnectedCallback() {
60
+ super.disconnectedCallback(), this.observer?.disconnect(), this.chart?.dispose(), this.chart = void 0;
61
+ }
62
+ get total() {
63
+ return this.data.reduce((e, t) => e + t.value, 0) || 1;
64
+ }
65
+ get chartAriaLabel() {
66
+ let e = this.data.map((e) => `${e.name} ${Math.round(e.value / this.total * 100)}%`);
67
+ return `${this.label}. ${e.join(", ")}`;
68
+ }
69
+ buildOption() {
70
+ return {
71
+ color: this.resolvePalette(),
72
+ aria: { enabled: !0 },
73
+ tooltip: {
74
+ trigger: "item",
75
+ formatter: "{b}: {c} ({d}%)"
76
+ },
77
+ legend: this.showLegend ? { bottom: 0 } : void 0,
78
+ series: [{
79
+ type: "pie",
80
+ radius: this.variant === "donut" ? ["55%", "75%"] : "75%",
81
+ center: ["50%", this.showLegend ? "45%" : "50%"],
82
+ avoidLabelOverlap: !0,
83
+ label: { show: this.variant === "pie" },
84
+ data: this.data.map((e) => ({
85
+ name: e.name,
86
+ value: e.value,
87
+ itemStyle: e.color ? { color: e.color } : void 0
88
+ }))
89
+ }]
90
+ };
91
+ }
92
+ render() {
93
+ let e = this.size ? `${this.size}px` : "100%";
94
+ return l`
95
+ <div
96
+ part="chart"
97
+ class="chart"
98
+ role="img"
99
+ aria-label=${this.chartAriaLabel}
100
+ style="width:${e};height:${this.size ? `${this.size}px` : "240px"};"
101
+ ></div>
102
+ <ul class="sr-only">
103
+ ${this.data.map((e) => l`<li>${e.name}: ${Math.round(e.value / this.total * 100)}%</li>`)}
104
+ </ul>
105
+ `;
106
+ }
107
+ };
108
+ t([d({ attribute: !1 })], p.prototype, "data", void 0), t([d({ reflect: !0 })], p.prototype, "variant", void 0), t([d()], p.prototype, "label", void 0), t([d({ type: Number })], p.prototype, "size", void 0), t([d({
109
+ type: Boolean,
110
+ attribute: "show-legend",
111
+ reflect: !0
112
+ })], p.prototype, "showLegend", void 0), t([d({
113
+ type: Boolean,
114
+ reflect: !0
115
+ })], p.prototype, "loading", void 0), t([d({ attribute: !1 })], p.prototype, "palette", void 0), p = t([u("reke-pie-chart")], p);
116
+ //#endregion
117
+ export { p as RekePieChart };
@@ -0,0 +1,2 @@
1
+ export declare const styles: import("lit").CSSResult[];
2
+ //# sourceMappingURL=reke-pie-chart.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reke-pie-chart.styles.d.ts","sourceRoot":"","sources":["../../../src/components/reke-pie-chart/reke-pie-chart.styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,2BAyBlB,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { tailwindStyles as e } from "../../shared/tailwind-styles.js";
2
+ import { css as t } from "lit";
3
+ //#region src/components/reke-pie-chart/reke-pie-chart.styles.ts
4
+ var n = [e, t`
5
+ :host {
6
+ display: block;
7
+ width: 100%;
8
+ }
9
+
10
+ .chart {
11
+ box-sizing: border-box;
12
+ }
13
+
14
+ /* Visually hidden but readable by screen readers — canvas is opaque to AT. */
15
+ .sr-only {
16
+ position: absolute;
17
+ width: 1px;
18
+ height: 1px;
19
+ padding: 0;
20
+ margin: -1px;
21
+ overflow: hidden;
22
+ clip: rect(0, 0, 0, 0);
23
+ white-space: nowrap;
24
+ border: 0;
25
+ }
26
+ `];
27
+ //#endregion
28
+ export { n as styles };
@@ -28,6 +28,15 @@ export type GetRowKey = (row: TableRow, index: number) => RowKey;
28
28
  * @tag reke-table
29
29
  * @summary A data table with custom cell rendering, framework-agnostic expandable rows, and toolbar/footer slots.
30
30
  *
31
+ * Virtualization: opt-in via `virtualized`, off by default. When on, only the
32
+ * rows intersecting the viewport are rendered and spacer rows carry the scroll
33
+ * height of the rest. Requires `rowHeight` and `maxHeight`. Expandable rows are
34
+ * supported: their height is measured with a ResizeObserver and folded into the
35
+ * row offsets, which is affordable because only a handful of rows are ever open
36
+ * at once. Rows are never recycled across keys — a row key keeps its host
37
+ * element and its cleanup contract even while scrolled out of the window.
38
+ * See README-DOC.md.
39
+ *
31
40
  * @slot toolbar - Toolbar area above the table (search, filters, title).
32
41
  * @slot footer - Footer area below the table (pagination, record count).
33
42
  * @slot empty - Custom empty state content (replaces default "No data").
@@ -63,6 +72,7 @@ export type GetRowKey = (row: TableRow, index: number) => RowKey;
63
72
  * - `expandOnRowClick` (attribute `expand-on-row-click`): Opt-in boolean (default `false`). When `true`, clicking anywhere on a row calls `toggleExpand(key)` internally. `reke-row-click` is STILL emitted on every row click. The chevron button calls `stopPropagation()` so chevron clicks do NOT double-toggle. Consumers MUST use EITHER this prop OR their own `reke-row-click` → `toggleExpand` handler, not both. For keyboard / screen-reader users, pair with `expandable`.
64
73
  */
65
74
  export declare class RekeTable extends RekeElement {
75
+ static shadowRootOptions: ShadowRootInit;
66
76
  static styles: import("lit").CSSResult[];
67
77
  columns: TableColumn[];
68
78
  rows: TableRow[];
@@ -105,6 +115,43 @@ export declare class RekeTable extends RekeElement {
105
115
  * toggle).
106
116
  */
107
117
  expandOnRowClick: boolean;
118
+ /**
119
+ * Opt-in row windowing: only the rows intersecting the viewport are rendered,
120
+ * with spacer rows standing in for the rest.
121
+ *
122
+ * This is NOT a transparent optimization — it changes the layout contract.
123
+ * A virtualized table needs a bounded scroll container, so `maxHeight` and
124
+ * `rowHeight` are both REQUIRED when this is `true` (dev error otherwise), and
125
+ * the table switches to `table-layout: fixed` so column widths stop depending
126
+ * on whichever rows happen to be rendered. That is also why this is a prop and
127
+ * not an automatic row-count threshold: silently changing a consumer's layout
128
+ * because their dataset grew past some boundary is worse than being slow.
129
+ *
130
+ * Not yet compatible with `expandedRowElement` — see the class JSDoc.
131
+ */
132
+ virtualized: boolean;
133
+ /**
134
+ * Height in px of a single COLLAPSED row, declared by the consumer. Required
135
+ * when `virtualized` is `true`.
136
+ *
137
+ * Declared rather than measured on purpose: it makes row offsets pure
138
+ * arithmetic (`index * rowHeight`) available on the very first frame, with no
139
+ * measure-then-render pass. The tradeoff is yours to honor — if your cell
140
+ * content is taller than this, rows will overlap. Keep it in sync with the
141
+ * `dense` modifier if you use it.
142
+ */
143
+ rowHeight: number;
144
+ /**
145
+ * CSS length capping the scroll container height (e.g. `'600px'`, `'70vh'`).
146
+ * Required when `virtualized` is `true` — without a bounded height there is
147
+ * no viewport to window against.
148
+ */
149
+ maxHeight: string;
150
+ /**
151
+ * Extra rows rendered above and below the viewport, absorbing fast scrolls
152
+ * before blank space can appear. Higher costs more per frame.
153
+ */
154
+ overscan: number;
108
155
  sortKey: string;
109
156
  sortDirection: 'asc' | 'desc';
110
157
  /**
@@ -144,7 +191,13 @@ export declare class RekeTable extends RekeElement {
144
191
  private _warnedNumericTarget;
145
192
  /** Track which keys are currently mounted in the DOM, to honor the contract that mount happens after `updated()` reconciles. */
146
193
  private _mountedKeys;
147
- /** Keys currently animating their collapse. Cleanup is deferred until transitionend. */
194
+ /**
195
+ * Keys currently animating their collapse. The row stays rendered while the
196
+ * key is here; teardown runs when the collapse settles (see
197
+ * `_scheduleCollapseTeardown`). A key is NEVER in both this set and
198
+ * `expandedRows` — collapse removes it from `expandedRows` immediately, which
199
+ * is what makes a re-entrant toggle read as a genuine re-expand.
200
+ */
148
201
  private _collapsingKeys;
149
202
  /**
150
203
  * Keys newly expanded this tick. They render collapsed (0fr) for the first
@@ -153,14 +206,140 @@ export declare class RekeTable extends RekeElement {
153
206
  * expand row starts at 1fr and pops open with no animation.
154
207
  */
155
208
  private _enteringKeys;
156
- /** transitionend handlers keyed by row key, for cleanup on collapse animation end. */
157
- private _collapseEndHandlers;
209
+ /**
210
+ * Generation token per collapsing key. A pending settle only tears the key
211
+ * down when its token is still the current one, so cancelling a collapse
212
+ * (re-expand, row removal, disconnect) is a single map delete.
213
+ */
214
+ private _collapseTokens;
215
+ private _collapseSeq;
158
216
  /** Latest resolved row map: key → row. Filled during render so callbacks can look up rows. */
159
217
  private _keyToRow;
218
+ /** Latest resolved index map: key → absolute index into `rows`. */
219
+ private _keyToIndex;
220
+ /**
221
+ * Measured height in px of each rendered expand row, keyed by row key.
222
+ *
223
+ * This is the whole reason expand and virtualization can coexist. A collapsed
224
+ * row's height is declared (`rowHeight`); an expanded row's is not knowable in
225
+ * advance, because the consumer mounts arbitrary content into the host. So we
226
+ * measure it — and that is affordable precisely because the set is tiny: no
227
+ * one has ten thousand rows open at once. Offsets stay
228
+ * `index * rowHeight + sum(extra heights of expanded rows above)`.
229
+ *
230
+ * Entries survive an expanded row scrolling out of the window (the height is
231
+ * still needed for the math) and are dropped only on teardown.
232
+ */
233
+ private _expandedHeights;
234
+ private _expandRowElements;
235
+ private _expandRowKeys;
236
+ private _expandRowRefs;
237
+ private _expandObserver;
238
+ /** Window rendered on the last pass, for scroll anchoring and focus rescue. */
239
+ private _windowStart;
240
+ private _windowEnd;
241
+ private _previousWindowStart;
242
+ private _previousWindowEnd;
243
+ /**
244
+ * Which record focus was last placed on, as an `aria-rowindex`. Scrolling a
245
+ * virtualized table does not usually destroy the focused control — Lit reuses
246
+ * the row's DOM positionally and rebinds it to a different record — so the
247
+ * thing to detect is not "focus disappeared" but "focus is now on a different
248
+ * row than the user put it on".
249
+ */
250
+ private _focusInsideRows;
251
+ private _focusedRowIndex;
252
+ private _onRowsFocusIn;
253
+ /** The `aria-rowindex` of the row containing a node, if any. */
254
+ private _rowIndexOf;
255
+ private _clearRowFocusTracking;
160
256
  /** Stable ref callback per row key. One closure per key, reused across renders. */
161
257
  private _refCallbacks;
162
258
  private _hasToolbar;
163
259
  private _hasFooter;
260
+ /** Live scroll offset of the scroll container, in px. Virtualized mode only. */
261
+ private _scrollTop;
262
+ /** Measured height of the scroll container, in px. Virtualized mode only. */
263
+ private _viewportHeight;
264
+ private _scrollContainer;
265
+ private _viewportObserver;
266
+ private _scrollFrame;
267
+ /**
268
+ * Coalesce scroll into one update per frame. A trackpad fires scroll events
269
+ * far faster than the browser paints, and each one would otherwise queue a
270
+ * full window recompute.
271
+ */
272
+ private _onScroll;
273
+ /**
274
+ * Bind the scroll container. Called by lit's `ref` on every render, so it must
275
+ * be cheap and idempotent — it rebinds only when the element actually changes.
276
+ */
277
+ private _bindScrollContainer;
278
+ /**
279
+ * Expanded rows that add height, as `{ index, extra }` sorted by index.
280
+ * Small by construction — this is the set of rows the user has open.
281
+ */
282
+ private _extraHeights;
283
+ /** Distance in px from the top of the dataset to the top of row `index`. */
284
+ private _offsetOf;
285
+ /**
286
+ * Inverse of `_offsetOf`: the row index sitting at a given scroll offset.
287
+ * Walks the (short) list of expanded rows to find which linear segment the
288
+ * offset falls in, then divides within that segment.
289
+ */
290
+ private _indexAtOffset;
291
+ /**
292
+ * The slice of `rows` to render plus the spacer heights standing in for the
293
+ * rows outside it. `end` is exclusive.
294
+ *
295
+ * Expanded rows INSIDE the window render at their real height, so their extra
296
+ * height is deliberately excluded from the spacers — only rows above and below
297
+ * the window contribute.
298
+ */
299
+ private _computeWindow;
300
+ /**
301
+ * Observe an expand row so its height feeds the window math. Measuring is what
302
+ * lets expanded rows coexist with windowing; the observer also fires
303
+ * continuously while the row animates open, so the offsets track the
304
+ * transition instead of jumping at the end.
305
+ */
306
+ private _expandRowRef;
307
+ /**
308
+ * Hand focus back to the scroll container when a window change moved it off
309
+ * the record the user chose.
310
+ *
311
+ * Two things can happen when the window slides under a focused control. Lit
312
+ * usually reuses the row's DOM and rebinds it, so focus silently ends up on a
313
+ * DIFFERENT record with nothing announced — the user believes they are on row
314
+ * 5 while they are on row 505. Less often the node is destroyed outright and
315
+ * focus falls to the document body, after which arrow keys scroll the page
316
+ * instead of the table. Both are resolved by parking focus on the scroll
317
+ * container, which is a place the user can reason about.
318
+ *
319
+ * Guarded so a normal Tab-away or an unrelated re-render is never hijacked:
320
+ * it acts only when the window actually moved and focus is still inside this
321
+ * component.
322
+ */
323
+ private _rescueFocusAfterWindowChange;
324
+ /**
325
+ * Keep the tracked scroll offset in agreement with the container after the
326
+ * dataset changes size.
327
+ *
328
+ * Filtering 10.000 rows down to 10 while parked near the bottom leaves the
329
+ * offset past the end of the new content. The browser silently clamps its own
330
+ * `scrollTop` when that happens but emits no scroll event, so `_scrollTop`
331
+ * would keep describing a position that no longer exists and the window math
332
+ * would render a slice of nothing. Clamp explicitly, then resync either way.
333
+ */
334
+ private _clampScrollToContent;
335
+ private _ensureExpandObserver;
336
+ /**
337
+ * A zero-content row standing in for the rows outside the window, holding the
338
+ * scroll height they would have occupied. `<tr>` height is honored as a
339
+ * minimum, and the cell is stripped of padding and borders so it contributes
340
+ * nothing beyond `height`.
341
+ */
342
+ private _renderSpacerRow;
164
343
  private _resolveKey;
165
344
  private handleHeaderClick;
166
345
  private handleRowClick;
@@ -199,7 +378,27 @@ export declare class RekeTable extends RekeElement {
199
378
  private _renderRow;
200
379
  willUpdate(_changed: PropertyValues): void;
201
380
  private _warnedLegacyApi;
381
+ private _warnedVirtualConfig;
202
382
  updated(_changed: PropertyValues): void;
383
+ /**
384
+ * Wait for a collapsing row to finish animating, then tear it down.
385
+ *
386
+ * The wait resolves off `getAnimations()`, not `transitionend`: that event is
387
+ * never guaranteed (reduced motion, `display: none`, a backgrounded tab, a
388
+ * zero-duration override, the row being unmounted mid-flight), and when it
389
+ * failed to arrive the key stayed in `_collapsingKeys` forever, which in turn
390
+ * disabled the purge in `updated()`. If there is no animation at all,
391
+ * `Promise.allSettled([])` settles on the next microtask and teardown is
392
+ * immediate. `COLLAPSE_TEARDOWN_FALLBACK_MS` is the last resort for an
393
+ * animation that never finishes.
394
+ */
395
+ private _scheduleCollapseTeardown;
396
+ /**
397
+ * Release every resource held for a row key. Idempotent and safe to call at
398
+ * any point in the lifecycle — each step is a delete, and `_safeCleanup`
399
+ * drops its entry after running.
400
+ */
401
+ private _teardownKey;
203
402
  /**
204
403
  * Invoke the cached cleanup for a key, swallowing consumer errors so our own state
205
404
  * mutation (`expandedRows`, host/cleanup/ref maps) and `emit` stay consistent even if
@@ -1 +1 @@
1
- {"version":3,"file":"reke-table.d.ts","sourceRoot":"","sources":["../../../src/components/reke-table/reke-table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAI9E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,qEAAqE;IACrE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sFAAsF;IACtF,MAAM,CAAC,EAAE,CACP,KAAK,EAAE,OAAO,EACd,GAAG,EAAE,QAAQ,EACb,KAAK,EAAE,MAAM,KACV,cAAc,GAAG,MAAM,GAAG,WAAW,GAAG,IAAI,CAAC;CACnD;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE/C,mCAAmC;AACnC,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAErC,yDAAyD;AACzD,MAAM,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC;AAEjC;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAC;AAEnG,yEAAyE;AACzE,MAAM,MAAM,SAAS,GAAG,CAAC,GAAG,EAAE,Q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