@burdenoff/microfe-timecampus 2026.703.4 → 2026.703.5

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 (953) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +20 -0
  2. package/dist/generated/wspace-operations.js +1947 -1143
  3. package/dist/generated/wspace-operations.js.map +1 -1
  4. package/dist/generated/wspace-types.js +18 -8
  5. package/dist/generated/wspace-types.js.map +1 -1
  6. package/dist/index.js +4 -4
  7. package/dist/node_modules/d3-array/src/ascending.js +8 -0
  8. package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
  9. package/dist/node_modules/d3-array/src/bisect.js +10 -0
  10. package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
  11. package/dist/node_modules/d3-array/src/bisector.js +43 -0
  12. package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
  13. package/dist/node_modules/d3-array/src/descending.js +8 -0
  14. package/dist/node_modules/d3-array/src/descending.js.map +1 -0
  15. package/dist/node_modules/d3-array/src/max.js +14 -0
  16. package/dist/node_modules/d3-array/src/max.js.map +1 -0
  17. package/dist/node_modules/d3-array/src/min.js +14 -0
  18. package/dist/node_modules/d3-array/src/min.js.map +1 -0
  19. package/dist/node_modules/d3-array/src/number.js +15 -0
  20. package/dist/node_modules/d3-array/src/number.js.map +1 -0
  21. package/dist/node_modules/d3-array/src/quantile.js +25 -0
  22. package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
  23. package/dist/node_modules/d3-array/src/quickselect.js +26 -0
  24. package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
  25. package/dist/node_modules/d3-array/src/range.js +10 -0
  26. package/dist/node_modules/d3-array/src/range.js.map +1 -0
  27. package/dist/node_modules/d3-array/src/sort.js +17 -0
  28. package/dist/node_modules/d3-array/src/sort.js.map +1 -0
  29. package/dist/node_modules/d3-array/src/ticks.js +34 -0
  30. package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
  31. package/dist/node_modules/d3-color/src/color.js +291 -0
  32. package/dist/node_modules/d3-color/src/color.js.map +1 -0
  33. package/dist/node_modules/d3-color/src/define.js +13 -0
  34. package/dist/node_modules/d3-color/src/define.js.map +1 -0
  35. package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
  36. package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
  37. package/dist/node_modules/d3-format/src/exponent.js +9 -0
  38. package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
  39. package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
  40. package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
  41. package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
  42. package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
  43. package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
  44. package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
  45. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
  46. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
  47. package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
  48. package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
  49. package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
  50. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
  51. package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
  52. package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
  53. package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
  54. package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
  55. package/dist/node_modules/d3-format/src/identity.js +8 -0
  56. package/dist/node_modules/d3-format/src/identity.js.map +1 -0
  57. package/dist/node_modules/d3-format/src/locale.js +86 -0
  58. package/dist/node_modules/d3-format/src/locale.js.map +1 -0
  59. package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
  60. package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
  61. package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
  62. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
  63. package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
  64. package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
  65. package/dist/node_modules/d3-interpolate/src/array.js +15 -0
  66. package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
  67. package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
  68. package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
  69. package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
  70. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
  71. package/dist/node_modules/d3-interpolate/src/color.js +25 -0
  72. package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
  73. package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
  74. package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
  75. package/dist/node_modules/d3-interpolate/src/date.js +11 -0
  76. package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
  77. package/dist/node_modules/d3-interpolate/src/number.js +10 -0
  78. package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
  79. package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
  80. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
  81. package/dist/node_modules/d3-interpolate/src/object.js +14 -0
  82. package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
  83. package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
  84. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
  85. package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
  86. package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
  87. package/dist/node_modules/d3-interpolate/src/round.js +10 -0
  88. package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
  89. package/dist/node_modules/d3-interpolate/src/string.js +28 -0
  90. package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
  91. package/dist/node_modules/d3-interpolate/src/value.js +18 -0
  92. package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
  93. package/dist/node_modules/d3-path/src/path.js +65 -0
  94. package/dist/node_modules/d3-path/src/path.js.map +1 -0
  95. package/dist/node_modules/d3-scale/src/band.js +52 -0
  96. package/dist/node_modules/d3-scale/src/band.js.map +1 -0
  97. package/dist/node_modules/d3-scale/src/constant.js +10 -0
  98. package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
  99. package/dist/node_modules/d3-scale/src/continuous.js +73 -0
  100. package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
  101. package/dist/node_modules/d3-scale/src/diverging.js +82 -0
  102. package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
  103. package/dist/node_modules/d3-scale/src/identity.js +20 -0
  104. package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
  105. package/dist/node_modules/d3-scale/src/init.js +29 -0
  106. package/dist/node_modules/d3-scale/src/init.js.map +1 -0
  107. package/dist/node_modules/d3-scale/src/linear.js +36 -0
  108. package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
  109. package/dist/node_modules/d3-scale/src/log.js +77 -0
  110. package/dist/node_modules/d3-scale/src/log.js.map +1 -0
  111. package/dist/node_modules/d3-scale/src/nice.js +10 -0
  112. package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
  113. package/dist/node_modules/d3-scale/src/number.js +8 -0
  114. package/dist/node_modules/d3-scale/src/number.js.map +1 -0
  115. package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
  116. package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
  117. package/dist/node_modules/d3-scale/src/pow.js +37 -0
  118. package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
  119. package/dist/node_modules/d3-scale/src/quantile.js +37 -0
  120. package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
  121. package/dist/node_modules/d3-scale/src/quantize.js +33 -0
  122. package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
  123. package/dist/node_modules/d3-scale/src/radial.js +39 -0
  124. package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
  125. package/dist/node_modules/d3-scale/src/sequential.js +67 -0
  126. package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
  127. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
  128. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
  129. package/dist/node_modules/d3-scale/src/symlog.js +30 -0
  130. package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
  131. package/dist/node_modules/d3-scale/src/threshold.js +25 -0
  132. package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
  133. package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
  134. package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
  135. package/dist/node_modules/d3-scale/src/time.js +47 -0
  136. package/dist/node_modules/d3-scale/src/time.js.map +1 -0
  137. package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
  138. package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
  139. package/dist/node_modules/d3-shape/src/area.js +55 -0
  140. package/dist/node_modules/d3-shape/src/area.js.map +1 -0
  141. package/dist/node_modules/d3-shape/src/array.js +8 -0
  142. package/dist/node_modules/d3-shape/src/array.js.map +1 -0
  143. package/dist/node_modules/d3-shape/src/constant.js +10 -0
  144. package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
  145. package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
  146. package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
  147. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
  148. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
  149. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
  150. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
  151. package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
  152. package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
  153. package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
  154. package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
  155. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
  156. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
  157. package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
  158. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
  159. package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
  160. package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
  161. package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
  162. package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
  163. package/dist/node_modules/d3-shape/src/line.js +30 -0
  164. package/dist/node_modules/d3-shape/src/line.js.map +1 -0
  165. package/dist/node_modules/d3-shape/src/math.js +8 -0
  166. package/dist/node_modules/d3-shape/src/math.js.map +1 -0
  167. package/dist/node_modules/d3-shape/src/noop.js +6 -0
  168. package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
  169. package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
  170. package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
  171. package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
  172. package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
  173. package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
  174. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
  175. package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
  176. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
  177. package/dist/node_modules/d3-shape/src/order/none.js +9 -0
  178. package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
  179. package/dist/node_modules/d3-shape/src/path.js +19 -0
  180. package/dist/node_modules/d3-shape/src/path.js.map +1 -0
  181. package/dist/node_modules/d3-shape/src/point.js +11 -0
  182. package/dist/node_modules/d3-shape/src/point.js.map +1 -0
  183. package/dist/node_modules/d3-shape/src/stack.js +34 -0
  184. package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
  185. package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
  186. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
  187. package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
  188. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
  189. package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
  190. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
  191. package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
  192. package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
  193. package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
  194. package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
  195. package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
  196. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
  197. package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
  198. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
  199. package/dist/node_modules/d3-shape/src/symbol.js +23 -0
  200. package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
  201. package/dist/node_modules/d3-time/src/day.js +21 -0
  202. package/dist/node_modules/d3-time/src/day.js.map +1 -0
  203. package/dist/node_modules/d3-time/src/duration.js +6 -0
  204. package/dist/node_modules/d3-time/src/duration.js.map +1 -0
  205. package/dist/node_modules/d3-time/src/hour.js +19 -0
  206. package/dist/node_modules/d3-time/src/hour.js.map +1 -0
  207. package/dist/node_modules/d3-time/src/interval.js +28 -0
  208. package/dist/node_modules/d3-time/src/interval.js.map +1 -0
  209. package/dist/node_modules/d3-time/src/millisecond.js +14 -0
  210. package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
  211. package/dist/node_modules/d3-time/src/minute.js +19 -0
  212. package/dist/node_modules/d3-time/src/minute.js.map +1 -0
  213. package/dist/node_modules/d3-time/src/month.js +18 -0
  214. package/dist/node_modules/d3-time/src/month.js.map +1 -0
  215. package/dist/node_modules/d3-time/src/second.js +13 -0
  216. package/dist/node_modules/d3-time/src/second.js.map +1 -0
  217. package/dist/node_modules/d3-time/src/ticks.js +125 -0
  218. package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
  219. package/dist/node_modules/d3-time/src/week.js +25 -0
  220. package/dist/node_modules/d3-time/src/week.js.map +1 -0
  221. package/dist/node_modules/d3-time/src/year.js +26 -0
  222. package/dist/node_modules/d3-time/src/year.js.map +1 -0
  223. package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
  224. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
  225. package/dist/node_modules/d3-time-format/src/locale.js +490 -0
  226. package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
  227. package/dist/node_modules/decimal.js-light/decimal.js +378 -0
  228. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
  229. package/dist/node_modules/eventemitter3/index.js +95 -0
  230. package/dist/node_modules/eventemitter3/index.js.map +1 -0
  231. package/dist/node_modules/fast-equals/dist/es/index.js +267 -0
  232. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
  233. package/dist/node_modules/internmap/src/index.js +40 -0
  234. package/dist/node_modules/internmap/src/index.js.map +1 -0
  235. package/dist/node_modules/lodash/_DataView.js +12 -0
  236. package/dist/node_modules/lodash/_DataView.js.map +1 -0
  237. package/dist/node_modules/lodash/_Hash.js +23 -0
  238. package/dist/node_modules/lodash/_Hash.js.map +1 -0
  239. package/dist/node_modules/lodash/_ListCache.js +23 -0
  240. package/dist/node_modules/lodash/_ListCache.js.map +1 -0
  241. package/dist/node_modules/lodash/_Map.js +12 -0
  242. package/dist/node_modules/lodash/_Map.js.map +1 -0
  243. package/dist/node_modules/lodash/_MapCache.js +23 -0
  244. package/dist/node_modules/lodash/_MapCache.js.map +1 -0
  245. package/dist/node_modules/lodash/_Promise.js +12 -0
  246. package/dist/node_modules/lodash/_Promise.js.map +1 -0
  247. package/dist/node_modules/lodash/_Set.js +12 -0
  248. package/dist/node_modules/lodash/_Set.js.map +1 -0
  249. package/dist/node_modules/lodash/_SetCache.js +18 -0
  250. package/dist/node_modules/lodash/_SetCache.js.map +1 -0
  251. package/dist/node_modules/lodash/_Stack.js +20 -0
  252. package/dist/node_modules/lodash/_Stack.js.map +1 -0
  253. package/dist/node_modules/lodash/_Symbol.js +11 -0
  254. package/dist/node_modules/lodash/_Symbol.js.map +1 -0
  255. package/dist/node_modules/lodash/_Uint8Array.js +11 -0
  256. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
  257. package/dist/node_modules/lodash/_WeakMap.js +12 -0
  258. package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
  259. package/dist/node_modules/lodash/_apply.js +19 -0
  260. package/dist/node_modules/lodash/_apply.js.map +1 -0
  261. package/dist/node_modules/lodash/_arrayEvery.js +14 -0
  262. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -0
  263. package/dist/node_modules/lodash/_arrayFilter.js +17 -0
  264. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
  265. package/dist/node_modules/lodash/_arrayIncludes.js +15 -0
  266. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
  267. package/dist/node_modules/lodash/_arrayIncludesWith.js +14 -0
  268. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
  269. package/dist/node_modules/lodash/_arrayLikeKeys.js +22 -0
  270. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
  271. package/dist/node_modules/lodash/_arrayMap.js +14 -0
  272. package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
  273. package/dist/node_modules/lodash/_arrayPush.js +14 -0
  274. package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
  275. package/dist/node_modules/lodash/_arraySome.js +14 -0
  276. package/dist/node_modules/lodash/_arraySome.js.map +1 -0
  277. package/dist/node_modules/lodash/_asciiToArray.js +13 -0
  278. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -0
  279. package/dist/node_modules/lodash/_assocIndexOf.js +16 -0
  280. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
  281. package/dist/node_modules/lodash/_baseAssignValue.js +20 -0
  282. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -0
  283. package/dist/node_modules/lodash/_baseEach.js +13 -0
  284. package/dist/node_modules/lodash/_baseEach.js.map +1 -0
  285. package/dist/node_modules/lodash/_baseEvery.js +18 -0
  286. package/dist/node_modules/lodash/_baseEvery.js.map +1 -0
  287. package/dist/node_modules/lodash/_baseExtremum.js +19 -0
  288. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -0
  289. package/dist/node_modules/lodash/_baseFindIndex.js +14 -0
  290. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
  291. package/dist/node_modules/lodash/_baseFlatten.js +21 -0
  292. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
  293. package/dist/node_modules/lodash/_baseFor.js +11 -0
  294. package/dist/node_modules/lodash/_baseFor.js.map +1 -0
  295. package/dist/node_modules/lodash/_baseForOwn.js +16 -0
  296. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -0
  297. package/dist/node_modules/lodash/_baseGet.js +18 -0
  298. package/dist/node_modules/lodash/_baseGet.js.map +1 -0
  299. package/dist/node_modules/lodash/_baseGetAllKeys.js +17 -0
  300. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
  301. package/dist/node_modules/lodash/_baseGetTag.js +17 -0
  302. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
  303. package/dist/node_modules/lodash/_baseGt.js +13 -0
  304. package/dist/node_modules/lodash/_baseGt.js.map +1 -0
  305. package/dist/node_modules/lodash/_baseHasIn.js +13 -0
  306. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
  307. package/dist/node_modules/lodash/_baseIndexOf.js +17 -0
  308. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
  309. package/dist/node_modules/lodash/_baseIsArguments.js +16 -0
  310. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
  311. package/dist/node_modules/lodash/_baseIsEqual.js +16 -0
  312. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
  313. package/dist/node_modules/lodash/_baseIsEqualDeep.js +37 -0
  314. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
  315. package/dist/node_modules/lodash/_baseIsMatch.js +33 -0
  316. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
  317. package/dist/node_modules/lodash/_baseIsNaN.js +13 -0
  318. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
  319. package/dist/node_modules/lodash/_baseIsNative.js +18 -0
  320. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
  321. package/dist/node_modules/lodash/_baseIsTypedArray.js +18 -0
  322. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
  323. package/dist/node_modules/lodash/_baseIteratee.js +19 -0
  324. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
  325. package/dist/node_modules/lodash/_baseKeys.js +19 -0
  326. package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
  327. package/dist/node_modules/lodash/_baseLt.js +13 -0
  328. package/dist/node_modules/lodash/_baseLt.js.map +1 -0
  329. package/dist/node_modules/lodash/_baseMap.js +19 -0
  330. package/dist/node_modules/lodash/_baseMap.js.map +1 -0
  331. package/dist/node_modules/lodash/_baseMatches.js +20 -0
  332. package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
  333. package/dist/node_modules/lodash/_baseMatchesProperty.js +24 -0
  334. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
  335. package/dist/node_modules/lodash/_baseOrderBy.js +39 -0
  336. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -0
  337. package/dist/node_modules/lodash/_baseProperty.js +15 -0
  338. package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
  339. package/dist/node_modules/lodash/_basePropertyDeep.js +17 -0
  340. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
  341. package/dist/node_modules/lodash/_baseRange.js +15 -0
  342. package/dist/node_modules/lodash/_baseRange.js.map +1 -0
  343. package/dist/node_modules/lodash/_baseRest.js +17 -0
  344. package/dist/node_modules/lodash/_baseRest.js.map +1 -0
  345. package/dist/node_modules/lodash/_baseSetToString.js +21 -0
  346. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -0
  347. package/dist/node_modules/lodash/_baseSlice.js +16 -0
  348. package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
  349. package/dist/node_modules/lodash/_baseSome.js +18 -0
  350. package/dist/node_modules/lodash/_baseSome.js.map +1 -0
  351. package/dist/node_modules/lodash/_baseSortBy.js +15 -0
  352. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -0
  353. package/dist/node_modules/lodash/_baseTimes.js +14 -0
  354. package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
  355. package/dist/node_modules/lodash/_baseToString.js +22 -0
  356. package/dist/node_modules/lodash/_baseToString.js.map +1 -0
  357. package/dist/node_modules/lodash/_baseTrim.js +15 -0
  358. package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
  359. package/dist/node_modules/lodash/_baseUnary.js +15 -0
  360. package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
  361. package/dist/node_modules/lodash/_baseUniq.js +34 -0
  362. package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
  363. package/dist/node_modules/lodash/_cacheHas.js +13 -0
  364. package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
  365. package/dist/node_modules/lodash/_castPath.js +18 -0
  366. package/dist/node_modules/lodash/_castPath.js.map +1 -0
  367. package/dist/node_modules/lodash/_castSlice.js +16 -0
  368. package/dist/node_modules/lodash/_castSlice.js.map +1 -0
  369. package/dist/node_modules/lodash/_compareAscending.js +20 -0
  370. package/dist/node_modules/lodash/_compareAscending.js.map +1 -0
  371. package/dist/node_modules/lodash/_compareMultiple.js +19 -0
  372. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -0
  373. package/dist/node_modules/lodash/_coreJsData.js +11 -0
  374. package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
  375. package/dist/node_modules/lodash/_createBaseEach.js +20 -0
  376. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -0
  377. package/dist/node_modules/lodash/_createBaseFor.js +19 -0
  378. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -0
  379. package/dist/node_modules/lodash/_createCaseFirst.js +22 -0
  380. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -0
  381. package/dist/node_modules/lodash/_createFind.js +27 -0
  382. package/dist/node_modules/lodash/_createFind.js.map +1 -0
  383. package/dist/node_modules/lodash/_createRange.js +19 -0
  384. package/dist/node_modules/lodash/_createRange.js.map +1 -0
  385. package/dist/node_modules/lodash/_createSet.js +16 -0
  386. package/dist/node_modules/lodash/_createSet.js.map +1 -0
  387. package/dist/node_modules/lodash/_defineProperty.js +17 -0
  388. package/dist/node_modules/lodash/_defineProperty.js.map +1 -0
  389. package/dist/node_modules/lodash/_equalArrays.js +42 -0
  390. package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
  391. package/dist/node_modules/lodash/_equalByTag.js +42 -0
  392. package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
  393. package/dist/node_modules/lodash/_equalObjects.js +39 -0
  394. package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
  395. package/dist/node_modules/lodash/_freeGlobal.js +10 -0
  396. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
  397. package/dist/node_modules/lodash/_getAllKeys.js +17 -0
  398. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
  399. package/dist/node_modules/lodash/_getMapData.js +16 -0
  400. package/dist/node_modules/lodash/_getMapData.js.map +1 -0
  401. package/dist/node_modules/lodash/_getMatchData.js +24 -0
  402. package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
  403. package/dist/node_modules/lodash/_getNative.js +17 -0
  404. package/dist/node_modules/lodash/_getNative.js.map +1 -0
  405. package/dist/node_modules/lodash/_getPrototype.js +11 -0
  406. package/dist/node_modules/lodash/_getPrototype.js.map +1 -0
  407. package/dist/node_modules/lodash/_getRawTag.js +21 -0
  408. package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
  409. package/dist/node_modules/lodash/_getSymbols.js +17 -0
  410. package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
  411. package/dist/node_modules/lodash/_getTag.js +28 -0
  412. package/dist/node_modules/lodash/_getTag.js.map +1 -0
  413. package/dist/node_modules/lodash/_getValue.js +13 -0
  414. package/dist/node_modules/lodash/_getValue.js.map +1 -0
  415. package/dist/node_modules/lodash/_hasPath.js +26 -0
  416. package/dist/node_modules/lodash/_hasPath.js.map +1 -0
  417. package/dist/node_modules/lodash/_hasUnicode.js +14 -0
  418. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -0
  419. package/dist/node_modules/lodash/_hashClear.js +15 -0
  420. package/dist/node_modules/lodash/_hashClear.js.map +1 -0
  421. package/dist/node_modules/lodash/_hashDelete.js +14 -0
  422. package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
  423. package/dist/node_modules/lodash/_hashGet.js +20 -0
  424. package/dist/node_modules/lodash/_hashGet.js.map +1 -0
  425. package/dist/node_modules/lodash/_hashHas.js +16 -0
  426. package/dist/node_modules/lodash/_hashHas.js.map +1 -0
  427. package/dist/node_modules/lodash/_hashSet.js +16 -0
  428. package/dist/node_modules/lodash/_hashSet.js.map +1 -0
  429. package/dist/node_modules/lodash/_isFlattenable.js +17 -0
  430. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
  431. package/dist/node_modules/lodash/_isIndex.js +15 -0
  432. package/dist/node_modules/lodash/_isIndex.js.map +1 -0
  433. package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
  434. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
  435. package/dist/node_modules/lodash/_isKey.js +18 -0
  436. package/dist/node_modules/lodash/_isKey.js.map +1 -0
  437. package/dist/node_modules/lodash/_isKeyable.js +14 -0
  438. package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
  439. package/dist/node_modules/lodash/_isMasked.js +18 -0
  440. package/dist/node_modules/lodash/_isMasked.js.map +1 -0
  441. package/dist/node_modules/lodash/_isPrototype.js +15 -0
  442. package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
  443. package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
  444. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
  445. package/dist/node_modules/lodash/_listCacheClear.js +13 -0
  446. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
  447. package/dist/node_modules/lodash/_listCacheDelete.js +16 -0
  448. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
  449. package/dist/node_modules/lodash/_listCacheGet.js +16 -0
  450. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
  451. package/dist/node_modules/lodash/_listCacheHas.js +15 -0
  452. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
  453. package/dist/node_modules/lodash/_listCacheSet.js +16 -0
  454. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
  455. package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
  456. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
  457. package/dist/node_modules/lodash/_mapCacheDelete.js +16 -0
  458. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
  459. package/dist/node_modules/lodash/_mapCacheGet.js +15 -0
  460. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
  461. package/dist/node_modules/lodash/_mapCacheHas.js +15 -0
  462. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
  463. package/dist/node_modules/lodash/_mapCacheSet.js +16 -0
  464. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
  465. package/dist/node_modules/lodash/_mapToArray.js +16 -0
  466. package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
  467. package/dist/node_modules/lodash/_matchesStrictComparable.js +15 -0
  468. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
  469. package/dist/node_modules/lodash/_memoizeCapped.js +18 -0
  470. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
  471. package/dist/node_modules/lodash/_nativeCreate.js +11 -0
  472. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
  473. package/dist/node_modules/lodash/_nativeKeys.js +11 -0
  474. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
  475. package/dist/node_modules/lodash/_nodeUtil.js +16 -0
  476. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
  477. package/dist/node_modules/lodash/_objectToString.js +14 -0
  478. package/dist/node_modules/lodash/_objectToString.js.map +1 -0
  479. package/dist/node_modules/lodash/_overArg.js +15 -0
  480. package/dist/node_modules/lodash/_overArg.js.map +1 -0
  481. package/dist/node_modules/lodash/_overRest.js +20 -0
  482. package/dist/node_modules/lodash/_overRest.js.map +1 -0
  483. package/dist/node_modules/lodash/_root.js +12 -0
  484. package/dist/node_modules/lodash/_root.js.map +1 -0
  485. package/dist/node_modules/lodash/_setCacheAdd.js +14 -0
  486. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
  487. package/dist/node_modules/lodash/_setCacheHas.js +13 -0
  488. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
  489. package/dist/node_modules/lodash/_setToArray.js +16 -0
  490. package/dist/node_modules/lodash/_setToArray.js.map +1 -0
  491. package/dist/node_modules/lodash/_setToString.js +13 -0
  492. package/dist/node_modules/lodash/_setToString.js.map +1 -0
  493. package/dist/node_modules/lodash/_shortOut.js +21 -0
  494. package/dist/node_modules/lodash/_shortOut.js.map +1 -0
  495. package/dist/node_modules/lodash/_stackClear.js +15 -0
  496. package/dist/node_modules/lodash/_stackClear.js.map +1 -0
  497. package/dist/node_modules/lodash/_stackDelete.js +14 -0
  498. package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
  499. package/dist/node_modules/lodash/_stackGet.js +13 -0
  500. package/dist/node_modules/lodash/_stackGet.js.map +1 -0
  501. package/dist/node_modules/lodash/_stackHas.js +13 -0
  502. package/dist/node_modules/lodash/_stackHas.js.map +1 -0
  503. package/dist/node_modules/lodash/_stackSet.js +23 -0
  504. package/dist/node_modules/lodash/_stackSet.js.map +1 -0
  505. package/dist/node_modules/lodash/_strictIndexOf.js +14 -0
  506. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
  507. package/dist/node_modules/lodash/_stringToArray.js +17 -0
  508. package/dist/node_modules/lodash/_stringToArray.js.map +1 -0
  509. package/dist/node_modules/lodash/_stringToPath.js +17 -0
  510. package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
  511. package/dist/node_modules/lodash/_toKey.js +17 -0
  512. package/dist/node_modules/lodash/_toKey.js.map +1 -0
  513. package/dist/node_modules/lodash/_toSource.js +22 -0
  514. package/dist/node_modules/lodash/_toSource.js.map +1 -0
  515. package/dist/node_modules/lodash/_trimmedEndIndex.js +15 -0
  516. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
  517. package/dist/node_modules/lodash/_unicodeToArray.js +24 -0
  518. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -0
  519. package/dist/node_modules/lodash/constant.js +15 -0
  520. package/dist/node_modules/lodash/constant.js.map +1 -0
  521. package/dist/node_modules/lodash/debounce.js +57 -0
  522. package/dist/node_modules/lodash/debounce.js.map +1 -0
  523. package/dist/node_modules/lodash/eq.js +13 -0
  524. package/dist/node_modules/lodash/eq.js.map +1 -0
  525. package/dist/node_modules/lodash/every.js +20 -0
  526. package/dist/node_modules/lodash/every.js.map +1 -0
  527. package/dist/node_modules/lodash/find.js +12 -0
  528. package/dist/node_modules/lodash/find.js.map +1 -0
  529. package/dist/node_modules/lodash/findIndex.js +20 -0
  530. package/dist/node_modules/lodash/findIndex.js.map +1 -0
  531. package/dist/node_modules/lodash/first.js +11 -0
  532. package/dist/node_modules/lodash/first.js.map +1 -0
  533. package/dist/node_modules/lodash/flatMap.js +16 -0
  534. package/dist/node_modules/lodash/flatMap.js.map +1 -0
  535. package/dist/node_modules/lodash/get.js +16 -0
  536. package/dist/node_modules/lodash/get.js.map +1 -0
  537. package/dist/node_modules/lodash/hasIn.js +16 -0
  538. package/dist/node_modules/lodash/hasIn.js.map +1 -0
  539. package/dist/node_modules/lodash/head.js +13 -0
  540. package/dist/node_modules/lodash/head.js.map +1 -0
  541. package/dist/node_modules/lodash/identity.js +13 -0
  542. package/dist/node_modules/lodash/identity.js.map +1 -0
  543. package/dist/node_modules/lodash/isArguments.js +17 -0
  544. package/dist/node_modules/lodash/isArguments.js.map +1 -0
  545. package/dist/node_modules/lodash/isArray.js +10 -0
  546. package/dist/node_modules/lodash/isArray.js.map +1 -0
  547. package/dist/node_modules/lodash/isArrayLike.js +16 -0
  548. package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
  549. package/dist/node_modules/lodash/isBoolean.js +16 -0
  550. package/dist/node_modules/lodash/isBoolean.js.map +1 -0
  551. package/dist/node_modules/lodash/isBuffer.js +13 -0
  552. package/dist/node_modules/lodash/isBuffer.js.map +1 -0
  553. package/dist/node_modules/lodash/isEqual.js +15 -0
  554. package/dist/node_modules/lodash/isEqual.js.map +1 -0
  555. package/dist/node_modules/lodash/isFunction.js +18 -0
  556. package/dist/node_modules/lodash/isFunction.js.map +1 -0
  557. package/dist/node_modules/lodash/isLength.js +14 -0
  558. package/dist/node_modules/lodash/isLength.js.map +1 -0
  559. package/dist/node_modules/lodash/isNaN.js +15 -0
  560. package/dist/node_modules/lodash/isNaN.js.map +1 -0
  561. package/dist/node_modules/lodash/isNil.js +13 -0
  562. package/dist/node_modules/lodash/isNil.js.map +1 -0
  563. package/dist/node_modules/lodash/isNumber.js +16 -0
  564. package/dist/node_modules/lodash/isNumber.js.map +1 -0
  565. package/dist/node_modules/lodash/isObject.js +14 -0
  566. package/dist/node_modules/lodash/isObject.js.map +1 -0
  567. package/dist/node_modules/lodash/isObjectLike.js +13 -0
  568. package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
  569. package/dist/node_modules/lodash/isPlainObject.js +21 -0
  570. package/dist/node_modules/lodash/isPlainObject.js.map +1 -0
  571. package/dist/node_modules/lodash/isString.js +17 -0
  572. package/dist/node_modules/lodash/isString.js.map +1 -0
  573. package/dist/node_modules/lodash/isSymbol.js +16 -0
  574. package/dist/node_modules/lodash/isSymbol.js.map +1 -0
  575. package/dist/node_modules/lodash/isTypedArray.js +14 -0
  576. package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
  577. package/dist/node_modules/lodash/keys.js +17 -0
  578. package/dist/node_modules/lodash/keys.js.map +1 -0
  579. package/dist/node_modules/lodash/last.js +14 -0
  580. package/dist/node_modules/lodash/last.js.map +1 -0
  581. package/dist/node_modules/lodash/map.js +18 -0
  582. package/dist/node_modules/lodash/map.js.map +1 -0
  583. package/dist/node_modules/lodash/mapValues.js +20 -0
  584. package/dist/node_modules/lodash/mapValues.js.map +1 -0
  585. package/dist/node_modules/lodash/max.js +17 -0
  586. package/dist/node_modules/lodash/max.js.map +1 -0
  587. package/dist/node_modules/lodash/maxBy.js +17 -0
  588. package/dist/node_modules/lodash/maxBy.js.map +1 -0
  589. package/dist/node_modules/lodash/memoize.js +22 -0
  590. package/dist/node_modules/lodash/memoize.js.map +1 -0
  591. package/dist/node_modules/lodash/min.js +17 -0
  592. package/dist/node_modules/lodash/min.js.map +1 -0
  593. package/dist/node_modules/lodash/minBy.js +17 -0
  594. package/dist/node_modules/lodash/minBy.js.map +1 -0
  595. package/dist/node_modules/lodash/noop.js +11 -0
  596. package/dist/node_modules/lodash/noop.js.map +1 -0
  597. package/dist/node_modules/lodash/now.js +14 -0
  598. package/dist/node_modules/lodash/now.js.map +1 -0
  599. package/dist/node_modules/lodash/property.js +18 -0
  600. package/dist/node_modules/lodash/property.js.map +1 -0
  601. package/dist/node_modules/lodash/range.js +11 -0
  602. package/dist/node_modules/lodash/range.js.map +1 -0
  603. package/dist/node_modules/lodash/some.js +20 -0
  604. package/dist/node_modules/lodash/some.js.map +1 -0
  605. package/dist/node_modules/lodash/sortBy.js +19 -0
  606. package/dist/node_modules/lodash/sortBy.js.map +1 -0
  607. package/dist/node_modules/lodash/stubArray.js +13 -0
  608. package/dist/node_modules/lodash/stubArray.js.map +1 -0
  609. package/dist/node_modules/lodash/stubFalse.js +13 -0
  610. package/dist/node_modules/lodash/stubFalse.js.map +1 -0
  611. package/dist/node_modules/lodash/throttle.js +22 -0
  612. package/dist/node_modules/lodash/throttle.js.map +1 -0
  613. package/dist/node_modules/lodash/toFinite.js +15 -0
  614. package/dist/node_modules/lodash/toFinite.js.map +1 -0
  615. package/dist/node_modules/lodash/toInteger.js +16 -0
  616. package/dist/node_modules/lodash/toInteger.js.map +1 -0
  617. package/dist/node_modules/lodash/toNumber.js +26 -0
  618. package/dist/node_modules/lodash/toNumber.js.map +1 -0
  619. package/dist/node_modules/lodash/toString.js +15 -0
  620. package/dist/node_modules/lodash/toString.js.map +1 -0
  621. package/dist/node_modules/lodash/uniqBy.js +16 -0
  622. package/dist/node_modules/lodash/uniqBy.js.map +1 -0
  623. package/dist/node_modules/lodash/upperFirst.js +11 -0
  624. package/dist/node_modules/lodash/upperFirst.js.map +1 -0
  625. package/dist/node_modules/object-assign/index.js +41 -0
  626. package/dist/node_modules/object-assign/index.js.map +1 -0
  627. package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
  628. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
  629. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
  630. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  631. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
  632. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  633. package/dist/node_modules/prop-types/index.js +16 -0
  634. package/dist/node_modules/prop-types/index.js.map +1 -0
  635. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
  636. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  637. package/dist/node_modules/prop-types/lib/has.js +10 -0
  638. package/dist/node_modules/prop-types/lib/has.js.map +1 -0
  639. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +84 -0
  640. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  641. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +64 -0
  642. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  643. package/dist/node_modules/prop-types/node_modules/react-is/index.js +12 -0
  644. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
  645. package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
  646. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  647. package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
  648. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  649. package/dist/node_modules/react-is/index.js +12 -0
  650. package/dist/node_modules/react-is/index.js.map +1 -0
  651. package/dist/node_modules/react-smooth/es6/Animate.js +374 -0
  652. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -0
  653. package/dist/node_modules/react-smooth/es6/AnimateManager.js +73 -0
  654. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -0
  655. package/dist/node_modules/react-smooth/es6/configUpdate.js +173 -0
  656. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -0
  657. package/dist/node_modules/react-smooth/es6/easing.js +152 -0
  658. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -0
  659. package/dist/node_modules/react-smooth/es6/index.js +9 -0
  660. package/dist/node_modules/react-smooth/es6/index.js.map +1 -0
  661. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +14 -0
  662. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -0
  663. package/dist/node_modules/react-smooth/es6/util.js +92 -0
  664. package/dist/node_modules/react-smooth/es6/util.js.map +1 -0
  665. package/dist/node_modules/recharts/es6/cartesian/Area.js +435 -0
  666. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -0
  667. package/dist/node_modules/recharts/es6/cartesian/Bar.js +387 -0
  668. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
  669. package/dist/node_modules/recharts/es6/cartesian/Brush.js +499 -0
  670. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -0
  671. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +338 -0
  672. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
  673. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +305 -0
  674. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -0
  675. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +243 -0
  676. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -0
  677. package/dist/node_modules/recharts/es6/cartesian/Line.js +473 -0
  678. package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -0
  679. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +173 -0
  680. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -0
  681. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +178 -0
  682. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -0
  683. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +254 -0
  684. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -0
  685. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +144 -0
  686. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
  687. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +143 -0
  688. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
  689. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +18 -0
  690. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
  691. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +121 -0
  692. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
  693. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +101 -0
  694. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -0
  695. package/dist/node_modules/recharts/es6/chart/AreaChart.js +22 -0
  696. package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -0
  697. package/dist/node_modules/recharts/es6/chart/BarChart.js +24 -0
  698. package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -0
  699. package/dist/node_modules/recharts/es6/chart/LineChart.js +22 -0
  700. package/dist/node_modules/recharts/es6/chart/LineChart.js.map +1 -0
  701. package/dist/node_modules/recharts/es6/chart/PieChart.js +34 -0
  702. package/dist/node_modules/recharts/es6/chart/PieChart.js.map +1 -0
  703. package/dist/node_modules/recharts/es6/chart/RadarChart.js +31 -0
  704. package/dist/node_modules/recharts/es6/chart/RadarChart.js.map +1 -0
  705. package/dist/node_modules/recharts/es6/chart/RadialBarChart.js +34 -0
  706. package/dist/node_modules/recharts/es6/chart/RadialBarChart.js.map +1 -0
  707. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1245 -0
  708. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -0
  709. package/dist/node_modules/recharts/es6/component/Cell.js +9 -0
  710. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
  711. package/dist/node_modules/recharts/es6/component/Cursor.js +93 -0
  712. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
  713. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +237 -0
  714. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
  715. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
  716. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
  717. package/dist/node_modules/recharts/es6/component/Label.js +353 -0
  718. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
  719. package/dist/node_modules/recharts/es6/component/LabelList.js +166 -0
  720. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
  721. package/dist/node_modules/recharts/es6/component/Legend.js +234 -0
  722. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
  723. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +187 -0
  724. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
  725. package/dist/node_modules/recharts/es6/component/Text.js +225 -0
  726. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
  727. package/dist/node_modules/recharts/es6/component/Tooltip.js +182 -0
  728. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
  729. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +198 -0
  730. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
  731. package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
  732. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
  733. package/dist/node_modules/recharts/es6/container/Surface.js +60 -0
  734. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
  735. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +57 -0
  736. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
  737. package/dist/node_modules/recharts/es6/polar/Pie.js +435 -0
  738. package/dist/node_modules/recharts/es6/polar/Pie.js.map +1 -0
  739. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +215 -0
  740. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js.map +1 -0
  741. package/dist/node_modules/recharts/es6/polar/PolarGrid.js +162 -0
  742. package/dist/node_modules/recharts/es6/polar/PolarGrid.js.map +1 -0
  743. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +268 -0
  744. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js.map +1 -0
  745. package/dist/node_modules/recharts/es6/polar/Radar.js +317 -0
  746. package/dist/node_modules/recharts/es6/polar/Radar.js.map +1 -0
  747. package/dist/node_modules/recharts/es6/polar/RadialBar.js +342 -0
  748. package/dist/node_modules/recharts/es6/polar/RadialBar.js.map +1 -0
  749. package/dist/node_modules/recharts/es6/shape/Cross.js +112 -0
  750. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
  751. package/dist/node_modules/recharts/es6/shape/Curve.js +136 -0
  752. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
  753. package/dist/node_modules/recharts/es6/shape/Dot.js +27 -0
  754. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
  755. package/dist/node_modules/recharts/es6/shape/Polygon.js +112 -0
  756. package/dist/node_modules/recharts/es6/shape/Polygon.js.map +1 -0
  757. package/dist/node_modules/recharts/es6/shape/Rectangle.js +205 -0
  758. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
  759. package/dist/node_modules/recharts/es6/shape/Sector.js +192 -0
  760. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
  761. package/dist/node_modules/recharts/es6/shape/Symbols.js +143 -0
  762. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
  763. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +175 -0
  764. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -0
  765. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +181 -0
  766. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
  767. package/dist/node_modules/recharts/es6/util/BarUtils.js +112 -0
  768. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
  769. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +234 -0
  770. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
  771. package/dist/node_modules/recharts/es6/util/ChartUtils.js +562 -0
  772. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
  773. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +70 -0
  774. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -0
  775. package/dist/node_modules/recharts/es6/util/DOMUtils.js +108 -0
  776. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
  777. package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
  778. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
  779. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +58 -0
  780. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -0
  781. package/dist/node_modules/recharts/es6/util/Events.js +7 -0
  782. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
  783. package/dist/node_modules/recharts/es6/util/Global.js +21 -0
  784. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
  785. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +9 -0
  786. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -0
  787. package/dist/node_modules/recharts/es6/util/LogUtils.js +15 -0
  788. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
  789. package/dist/node_modules/recharts/es6/util/PolarUtils.js +198 -0
  790. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
  791. package/dist/node_modules/recharts/es6/util/RadialBarUtils.js +83 -0
  792. package/dist/node_modules/recharts/es6/util/RadialBarUtils.js.map +1 -0
  793. package/dist/node_modules/recharts/es6/util/ReactUtils.js +137 -0
  794. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
  795. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +181 -0
  796. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
  797. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +10 -0
  798. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -0
  799. package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
  800. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
  801. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +25 -0
  802. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -0
  803. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +23 -0
  804. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
  805. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
  806. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
  807. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
  808. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
  809. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +12 -0
  810. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -0
  811. package/dist/node_modules/recharts/es6/util/getLegendProps.js +88 -0
  812. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -0
  813. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +13 -0
  814. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
  815. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +12 -0
  816. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
  817. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +87 -0
  818. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
  819. package/dist/node_modules/recharts/es6/util/types.js +43 -0
  820. package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
  821. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +132 -0
  822. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -0
  823. package/dist/node_modules/recharts-scale/es6/index.js +1 -0
  824. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +32 -0
  825. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -0
  826. package/dist/node_modules/recharts-scale/es6/util/utils.js +79 -0
  827. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -0
  828. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
  829. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
  830. package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
  831. package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
  832. package/dist/timecampus/TimeCampusRoot.js +136 -78
  833. package/dist/timecampus/TimeCampusRoot.js.map +1 -1
  834. package/dist/timecampus/TimeCampusRoutes.js +146 -114
  835. package/dist/timecampus/TimeCampusRoutes.js.map +1 -1
  836. package/dist/timecampus/components/ChartCard.js +41 -0
  837. package/dist/timecampus/components/ChartCard.js.map +1 -0
  838. package/dist/timecampus/components/DataTable.js +4 -0
  839. package/dist/timecampus/components/FilterBar.js +3 -0
  840. package/dist/timecampus/components/Toast.js +1 -1
  841. package/dist/timecampus/components/charts/BalanceWheel.js +123 -0
  842. package/dist/timecampus/components/charts/BalanceWheel.js.map +1 -0
  843. package/dist/timecampus/components/charts/BarsChart.js +133 -0
  844. package/dist/timecampus/components/charts/BarsChart.js.map +1 -0
  845. package/dist/timecampus/components/charts/ChartParts.js +104 -0
  846. package/dist/timecampus/components/charts/ChartParts.js.map +1 -0
  847. package/dist/timecampus/components/charts/DonutChart.js +116 -0
  848. package/dist/timecampus/components/charts/DonutChart.js.map +1 -0
  849. package/dist/timecampus/components/charts/Heatmap.js +111 -0
  850. package/dist/timecampus/components/charts/Heatmap.js.map +1 -0
  851. package/dist/timecampus/components/charts/ProgressMeter.js +49 -0
  852. package/dist/timecampus/components/charts/ProgressMeter.js.map +1 -0
  853. package/dist/timecampus/components/charts/RadialGauge.js +66 -0
  854. package/dist/timecampus/components/charts/RadialGauge.js.map +1 -0
  855. package/dist/timecampus/components/charts/Sparkline.js +3 -0
  856. package/dist/timecampus/components/charts/TrendChart.js +161 -0
  857. package/dist/timecampus/components/charts/TrendChart.js.map +1 -0
  858. package/dist/timecampus/components/charts/WeeksGrid.js +62 -0
  859. package/dist/timecampus/components/charts/WeeksGrid.js.map +1 -0
  860. package/dist/timecampus/components/charts/chartTheme.js +65 -0
  861. package/dist/timecampus/components/charts/chartTheme.js.map +1 -0
  862. package/dist/timecampus/components/charts/index.js +11 -0
  863. package/dist/timecampus/components/index.js +22 -0
  864. package/dist/timecampus/pages/applets/AppletStorePage.js +142 -50
  865. package/dist/timecampus/pages/applets/AppletStorePage.js.map +1 -1
  866. package/dist/timecampus/pages/applets/InstalledAppletsPage.js +134 -73
  867. package/dist/timecampus/pages/applets/InstalledAppletsPage.js.map +1 -1
  868. package/dist/timecampus/pages/application-usage/ApplicationUsagePage.js +326 -224
  869. package/dist/timecampus/pages/application-usage/ApplicationUsagePage.js.map +1 -1
  870. package/dist/timecampus/pages/channels/ChannelsPage.js +144 -87
  871. package/dist/timecampus/pages/channels/ChannelsPage.js.map +1 -1
  872. package/dist/timecampus/pages/client-portal/ClientPortalPage.js +336 -244
  873. package/dist/timecampus/pages/client-portal/ClientPortalPage.js.map +1 -1
  874. package/dist/timecampus/pages/dashboard/AnalyticsPage.js +252 -89
  875. package/dist/timecampus/pages/dashboard/AnalyticsPage.js.map +1 -1
  876. package/dist/timecampus/pages/dashboard/ReportsPage.js +218 -83
  877. package/dist/timecampus/pages/dashboard/ReportsPage.js.map +1 -1
  878. package/dist/timecampus/pages/email-tracking/EmailAnalyticsPage.js +100 -48
  879. package/dist/timecampus/pages/email-tracking/EmailAnalyticsPage.js.map +1 -1
  880. package/dist/timecampus/pages/email-tracking/EmailTrackingPage.js +160 -152
  881. package/dist/timecampus/pages/email-tracking/EmailTrackingPage.js.map +1 -1
  882. package/dist/timecampus/pages/expense-tracking/ExpenseTrackingPage.js +355 -315
  883. package/dist/timecampus/pages/expense-tracking/ExpenseTrackingPage.js.map +1 -1
  884. package/dist/timecampus/pages/focus-score/FocusScorePage.js +158 -98
  885. package/dist/timecampus/pages/focus-score/FocusScorePage.js.map +1 -1
  886. package/dist/timecampus/pages/geofencing/GeofencingPage.js +368 -180
  887. package/dist/timecampus/pages/geofencing/GeofencingPage.js.map +1 -1
  888. package/dist/timecampus/pages/lifetime/DeadTimeRadarPage.js +241 -0
  889. package/dist/timecampus/pages/lifetime/DeadTimeRadarPage.js.map +1 -0
  890. package/dist/timecampus/pages/lifetime/FiniteLifePage.js +332 -0
  891. package/dist/timecampus/pages/lifetime/FiniteLifePage.js.map +1 -0
  892. package/dist/timecampus/pages/lifetime/LifeBalancePage.js +402 -0
  893. package/dist/timecampus/pages/lifetime/LifeBalancePage.js.map +1 -0
  894. package/dist/timecampus/pages/lifetime/LifeTimelinePage.js +439 -0
  895. package/dist/timecampus/pages/lifetime/LifeTimelinePage.js.map +1 -0
  896. package/dist/timecampus/pages/lifetime/PersonalCorporatePage.js +459 -0
  897. package/dist/timecampus/pages/lifetime/PersonalCorporatePage.js.map +1 -0
  898. package/dist/timecampus/pages/lifetime/RecommendationsPage.js +422 -0
  899. package/dist/timecampus/pages/lifetime/RecommendationsPage.js.map +1 -0
  900. package/dist/timecampus/pages/lifetime/TimeWellSpentPage.js +285 -0
  901. package/dist/timecampus/pages/lifetime/TimeWellSpentPage.js.map +1 -0
  902. package/dist/timecampus/pages/lifetime/ValuesGoalsPage.js +715 -0
  903. package/dist/timecampus/pages/lifetime/ValuesGoalsPage.js.map +1 -0
  904. package/dist/timecampus/pages/lifetime/domains.js +56 -0
  905. package/dist/timecampus/pages/lifetime/domains.js.map +1 -0
  906. package/dist/timecampus/pages/location-tracking/LocationPrivacySettingsPage.js +169 -90
  907. package/dist/timecampus/pages/location-tracking/LocationPrivacySettingsPage.js.map +1 -1
  908. package/dist/timecampus/pages/location-tracking/LocationTrackingPage.js +236 -159
  909. package/dist/timecampus/pages/location-tracking/LocationTrackingPage.js.map +1 -1
  910. package/dist/timecampus/pages/meetings/ActionItemFormModal.js +8 -8
  911. package/dist/timecampus/pages/meetings/MeetingAnalyticsPage.js +189 -69
  912. package/dist/timecampus/pages/meetings/MeetingAnalyticsPage.js.map +1 -1
  913. package/dist/timecampus/pages/meetings/MeetingDetailPage.js +139 -117
  914. package/dist/timecampus/pages/meetings/MeetingDetailPage.js.map +1 -1
  915. package/dist/timecampus/pages/meetings/MeetingFormModal.js +11 -11
  916. package/dist/timecampus/pages/meetings/MeetingsPage.js +223 -135
  917. package/dist/timecampus/pages/meetings/MeetingsPage.js.map +1 -1
  918. package/dist/timecampus/pages/meetings/ParticipantFormModal.js +11 -11
  919. package/dist/timecampus/pages/pomodoro/PomodoroAnalyticsPage.js +216 -81
  920. package/dist/timecampus/pages/pomodoro/PomodoroAnalyticsPage.js.map +1 -1
  921. package/dist/timecampus/pages/pomodoro/PomodoroPage.js +81 -81
  922. package/dist/timecampus/pages/pomodoro/PomodoroPage.js.map +1 -1
  923. package/dist/timecampus/pages/projects/ProjectDetailPage.js +288 -189
  924. package/dist/timecampus/pages/projects/ProjectDetailPage.js.map +1 -1
  925. package/dist/timecampus/pages/resource-planning/ResourcePlanningPage.js +437 -319
  926. package/dist/timecampus/pages/resource-planning/ResourcePlanningPage.js.map +1 -1
  927. package/dist/timecampus/pages/team/TeamAnalyticsPage.js +188 -65
  928. package/dist/timecampus/pages/team/TeamAnalyticsPage.js.map +1 -1
  929. package/dist/timecampus/pages/team/TeamMembersPage.js +151 -90
  930. package/dist/timecampus/pages/team/TeamMembersPage.js.map +1 -1
  931. package/dist/timecampus/pages/team/TeamPage.js +123 -66
  932. package/dist/timecampus/pages/team/TeamPage.js.map +1 -1
  933. package/dist/timecampus/pages/team-activity/TeamActivityPage.js +187 -81
  934. package/dist/timecampus/pages/team-activity/TeamActivityPage.js.map +1 -1
  935. package/dist/timecampus/pages/templates/TemplatesPage.js +162 -55
  936. package/dist/timecampus/pages/templates/TemplatesPage.js.map +1 -1
  937. package/dist/timecampus/pages/time/TimeEntriesPage.js +203 -194
  938. package/dist/timecampus/pages/time/TimeEntriesPage.js.map +1 -1
  939. package/dist/timecampus/pages/time/TimeTrackingPage.js +261 -153
  940. package/dist/timecampus/pages/time/TimeTrackingPage.js.map +1 -1
  941. package/dist/timecampus/pages/time/TimerPage.js +138 -122
  942. package/dist/timecampus/pages/time/TimerPage.js.map +1 -1
  943. package/dist/timecampus/pages/time-approval/TimeApprovalPage.js +297 -200
  944. package/dist/timecampus/pages/time-approval/TimeApprovalPage.js.map +1 -1
  945. package/dist/timecampus/pages/widgets/WidgetsPage.js +203 -119
  946. package/dist/timecampus/pages/widgets/WidgetsPage.js.map +1 -1
  947. package/dist/timecampus/pages/work-patterns/WorkPatternsPage.js +241 -70
  948. package/dist/timecampus/pages/work-patterns/WorkPatternsPage.js.map +1 -1
  949. package/dist/timecampus/pages/workflows/WorkflowsPage.js +202 -132
  950. package/dist/timecampus/pages/workflows/WorkflowsPage.js.map +1 -1
  951. package/dist/timecampus/utils/helpers.js +10 -7
  952. package/dist/timecampus/utils/helpers.js.map +1 -1
  953. package/package.json +1 -1
@@ -0,0 +1,111 @@
1
+ import { chartTokens as e, formatNumber as t, renderValue as n } from "./chartTheme.js";
2
+ import { ChartEmpty as r, ChartFigure as i, srOnlyStyle as a } from "./ChartParts.js";
3
+ import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
4
+ //#region src/timecampus/components/charts/Heatmap.tsx
5
+ var l = (e) => Math.min(1, Math.max(0, e));
6
+ function u(t) {
7
+ if (t < 0 || t === 0) return e.track;
8
+ let n = Math.max(8, Math.round(l(t) * 100));
9
+ return `color-mix(in oklab, ${e.brand} ${n}%, ${e.track})`;
10
+ }
11
+ var d = [
12
+ 0,
13
+ .25,
14
+ .5,
15
+ .75,
16
+ 1
17
+ ];
18
+ function f({ data: e, rowLabels: l, columnLabels: f, max: m, rowsLabel: h = "Row", valueFormat: g = t, legendLabels: _ = ["Less", "More"], showLegend: v = !0, height: y = 260, emptyLabel: b, ariaLabel: x, className: S }) {
19
+ let C = l.length, w = f.length, T = (t, n) => {
20
+ let r = e[t]?.[n];
21
+ return typeof r == "number" && Number.isFinite(r) ? r : null;
22
+ }, E = m ?? 0;
23
+ if (m === void 0) for (let e = 0; e < C; e += 1) for (let t = 0; t < w; t += 1) {
24
+ let n = T(e, t);
25
+ n !== null && n > E && (E = n);
26
+ }
27
+ let D = x ?? `Heatmap of ${l.join(", ")} by ${f.join(", ")}`;
28
+ if (C === 0 || w === 0 || E <= 0) return /* @__PURE__ */ s(r, {
29
+ height: y,
30
+ label: b,
31
+ className: S
32
+ });
33
+ let O = (e) => e === null ? -1 : e / E, k = `auto repeat(${w}, minmax(1.5rem, 1fr))`, A = `auto repeat(${C}, minmax(1.25rem, 1fr))`;
34
+ return /* @__PURE__ */ s(i, {
35
+ ariaLabel: D,
36
+ height: y,
37
+ className: S,
38
+ a11y: /* @__PURE__ */ c(o, { children: [v ? /* @__PURE__ */ c("div", {
39
+ className: "mt-3 flex items-center justify-end gap-1.5 text-xs text-text-secondary",
40
+ children: [
41
+ /* @__PURE__ */ s("span", { children: _[0] }),
42
+ d.map((e) => /* @__PURE__ */ s("span", {
43
+ "aria-hidden": "true",
44
+ className: "h-2.5 w-2.5 rounded-[3px]",
45
+ style: { backgroundColor: u(e) }
46
+ }, e)),
47
+ /* @__PURE__ */ s("span", { children: _[1] })
48
+ ]
49
+ }) : null, /* @__PURE__ */ c("table", {
50
+ style: a,
51
+ children: [
52
+ /* @__PURE__ */ s("caption", { children: D }),
53
+ /* @__PURE__ */ s("thead", { children: /* @__PURE__ */ c("tr", { children: [/* @__PURE__ */ s("th", {
54
+ scope: "col",
55
+ children: h
56
+ }), f.map((e, t) => /* @__PURE__ */ s("th", {
57
+ scope: "col",
58
+ children: e
59
+ }, `${e}-${t}`))] }) }),
60
+ /* @__PURE__ */ s("tbody", { children: l.map((e, t) => /* @__PURE__ */ c("tr", { children: [/* @__PURE__ */ s("th", {
61
+ scope: "row",
62
+ children: e
63
+ }), f.map((e, r) => /* @__PURE__ */ s("td", { children: n(T(t, r), g) }, `${e}-${r}`))] }, `${e}-${t}`)) })
64
+ ]
65
+ })] }),
66
+ children: /* @__PURE__ */ s("div", {
67
+ className: "h-full w-full overflow-x-auto",
68
+ children: /* @__PURE__ */ c("div", {
69
+ className: "grid h-full min-w-full gap-1",
70
+ style: {
71
+ gridTemplateColumns: k,
72
+ gridTemplateRows: A
73
+ },
74
+ children: [
75
+ /* @__PURE__ */ s("span", { "aria-hidden": "true" }),
76
+ f.map((e, t) => /* @__PURE__ */ s("span", {
77
+ className: "truncate px-0.5 text-center text-[10px] leading-none text-text-muted",
78
+ children: e
79
+ }, `col-${e}-${t}`)),
80
+ l.map((e, t) => /* @__PURE__ */ s(p, {
81
+ rowLabel: e,
82
+ cells: f.map((r, i) => {
83
+ let a = T(t, i);
84
+ return {
85
+ key: `${r}-${i}`,
86
+ value: a,
87
+ intensity: O(a),
88
+ title: `${e} · ${r}: ${n(a, g)}`
89
+ };
90
+ })
91
+ }, `row-${e}-${t}`))
92
+ ]
93
+ })
94
+ })
95
+ });
96
+ }
97
+ function p({ rowLabel: e, cells: t }) {
98
+ return /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s("span", {
99
+ className: "flex items-center justify-end pr-1.5 text-[10px] leading-none text-text-muted",
100
+ children: e
101
+ }), t.map((e) => /* @__PURE__ */ s("div", {
102
+ title: e.title,
103
+ "aria-hidden": "true",
104
+ className: "min-h-0 min-w-0 rounded-[3px] motion-safe:transition-colors",
105
+ style: { backgroundColor: u(e.intensity) }
106
+ }, e.key))] });
107
+ }
108
+ //#endregion
109
+ export { f as Heatmap };
110
+
111
+ //# sourceMappingURL=Heatmap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Heatmap.js","names":[],"sources":["../../../../src/timecampus/components/charts/Heatmap.tsx"],"sourcesContent":["import {\n chartTokens,\n formatNumber,\n renderValue,\n type ValueFormatter,\n} from \"./chartTheme\";\nimport { ChartEmpty, ChartFigure, srOnlyStyle } from \"./ChartParts\";\n\n/** A single heatmap value: a number, or `null`/`undefined` for a no-data cell. */\nexport type HeatmapValue = number | null | undefined;\n\nexport interface HeatmapProps {\n /**\n * Row-major matrix of values — one inner array per row (e.g. day), each entry\n * a column (e.g. hour or bucket). Ragged rows are tolerated: missing entries\n * read as no-data cells. `null`/`undefined` render as an empty track cell.\n */\n data: HeatmapValue[][];\n /** Row labels, top → bottom (e.g. `['Mon', … 'Sun']`). Drives the row count. */\n rowLabels: string[];\n /** Column labels, left → right (e.g. hours or buckets). Drives the column count. */\n columnLabels: string[];\n /**\n * Value mapped to full intensity. Defaults to the largest finite value in\n * `data`. Cells scale linearly from the track (0) to the brand token (`max`).\n */\n max?: number;\n /** Header for the row axis — used in the sr-only table's corner cell. Default `Row`. */\n rowsLabel?: string;\n /** Formats a cell value in the native tooltip + sr-only table. Default grouped integer. */\n valueFormat?: ValueFormatter;\n /** Low → high captions bracketing the intensity legend. Default `['Less', 'More']`. */\n legendLabels?: [string, string];\n /** Show the intensity legend under the grid. Default true. */\n showLegend?: boolean;\n /** Pixel height of the grid area. Cells size to the grid — never fixed px. Default 260. */\n height?: number;\n /** Message shown when there is nothing to plot. */\n emptyLabel?: string;\n /** Accessible name for the figure. Default derived from the axis labels. */\n ariaLabel?: string;\n className?: string;\n}\n\nconst clamp01 = (value: number): number => Math.min(1, Math.max(0, value));\n\n/**\n * Blend the brand token into the sunken track by `intensity` (0–1) using\n * `color-mix` — both operands are live design-system tokens, so the ramp is\n * theme-aware and never a raw colour. A no-data cell (`intensity < 0`) stays on\n * the bare track; any positive value gets a visible floor so faint counts read.\n */\nfunction cellBackground(intensity: number): string {\n if (intensity < 0 || intensity === 0) return chartTokens.track;\n const pct = Math.max(8, Math.round(clamp01(intensity) * 100));\n return `color-mix(in oklab, ${chartTokens.brand} ${pct}%, ${chartTokens.track})`;\n}\n\nconst LEGEND_STOPS = [0, 0.25, 0.5, 0.75, 1] as const;\n\n/**\n * Heatmap — a token-only matrix of intensity cells (e.g. activity by day × hour\n * for the Work Patterns page). Cell colour blends the brand token into the\n * sunken track by value, so it recolours with the theme and never carries a raw\n * colour. Cells are sized entirely by CSS grid (no fixed px) and the grid scrolls\n * horizontally when there are many columns. Ships a legend, a native per-cell\n * tooltip, an empty state and a screen-reader data table, wrapped in a\n * `ChartFigure` for a single accessible name — matching the other primitives.\n */\nexport function Heatmap({\n data,\n rowLabels,\n columnLabels,\n max,\n rowsLabel = \"Row\",\n valueFormat = formatNumber,\n legendLabels = [\"Less\", \"More\"],\n showLegend = true,\n height = 260,\n emptyLabel,\n ariaLabel,\n className,\n}: HeatmapProps) {\n const rows = rowLabels.length;\n const cols = columnLabels.length;\n\n const valueAt = (r: number, c: number): number | null => {\n const cell = data[r]?.[c];\n return typeof cell === \"number\" && Number.isFinite(cell) ? cell : null;\n };\n\n let resolvedMax = max ?? 0;\n if (max === undefined) {\n for (let r = 0; r < rows; r += 1) {\n for (let c = 0; c < cols; c += 1) {\n const value = valueAt(r, c);\n if (value !== null && value > resolvedMax) resolvedMax = value;\n }\n }\n }\n\n const label =\n ariaLabel ??\n `Heatmap of ${rowLabels.join(\", \")} by ${columnLabels.join(\", \")}`;\n\n if (rows === 0 || cols === 0 || resolvedMax <= 0) {\n return (\n <ChartEmpty height={height} label={emptyLabel} className={className} />\n );\n }\n\n const intensityOf = (value: number | null): number =>\n value === null ? -1 : value / resolvedMax;\n\n const gridTemplateColumns = `auto repeat(${cols}, minmax(1.5rem, 1fr))`;\n const gridTemplateRows = `auto repeat(${rows}, minmax(1.25rem, 1fr))`;\n\n const a11y = (\n <>\n {showLegend ? (\n <div className=\"mt-3 flex items-center justify-end gap-1.5 text-xs text-text-secondary\">\n <span>{legendLabels[0]}</span>\n {LEGEND_STOPS.map((stop) => (\n <span\n key={stop}\n aria-hidden=\"true\"\n className=\"h-2.5 w-2.5 rounded-[3px]\"\n style={{ backgroundColor: cellBackground(stop) }}\n />\n ))}\n <span>{legendLabels[1]}</span>\n </div>\n ) : null}\n\n <table style={srOnlyStyle}>\n <caption>{label}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{rowsLabel}</th>\n {columnLabels.map((columnLabel, c) => (\n <th scope=\"col\" key={`${columnLabel}-${c}`}>\n {columnLabel}\n </th>\n ))}\n </tr>\n </thead>\n <tbody>\n {rowLabels.map((rowLabel, r) => (\n <tr key={`${rowLabel}-${r}`}>\n <th scope=\"row\">{rowLabel}</th>\n {columnLabels.map((columnLabel, c) => (\n <td key={`${columnLabel}-${c}`}>\n {renderValue(valueAt(r, c), valueFormat)}\n </td>\n ))}\n </tr>\n ))}\n </tbody>\n </table>\n </>\n );\n\n return (\n <ChartFigure\n ariaLabel={label}\n height={height}\n className={className}\n a11y={a11y}\n >\n <div className=\"h-full w-full overflow-x-auto\">\n <div\n className=\"grid h-full min-w-full gap-1\"\n style={{ gridTemplateColumns, gridTemplateRows }}\n >\n {/* Header row: empty corner + column labels. */}\n <span aria-hidden=\"true\" />\n {columnLabels.map((columnLabel, c) => (\n <span\n key={`col-${columnLabel}-${c}`}\n className=\"truncate px-0.5 text-center text-[10px] leading-none text-text-muted\"\n >\n {columnLabel}\n </span>\n ))}\n\n {/* Body rows: row label + its cells. */}\n {rowLabels.map((rowLabel, r) => (\n <FragmentRow\n key={`row-${rowLabel}-${r}`}\n rowLabel={rowLabel}\n cells={columnLabels.map((columnLabel, c) => {\n const value = valueAt(r, c);\n return {\n key: `${columnLabel}-${c}`,\n value,\n intensity: intensityOf(value),\n title: `${rowLabel} · ${columnLabel}: ${renderValue(value, valueFormat)}`,\n };\n })}\n />\n ))}\n </div>\n </div>\n </ChartFigure>\n );\n}\n\ninterface HeatmapRowCell {\n key: string;\n value: number | null;\n intensity: number;\n title: string;\n}\n\ninterface FragmentRowProps {\n rowLabel: string;\n cells: HeatmapRowCell[];\n}\n\n/** One grid row: a right-aligned row label followed by its intensity cells. */\nfunction FragmentRow({ rowLabel, cells }: FragmentRowProps) {\n return (\n <>\n <span className=\"flex items-center justify-end pr-1.5 text-[10px] leading-none text-text-muted\">\n {rowLabel}\n </span>\n {cells.map((cell) => (\n <div\n key={cell.key}\n title={cell.title}\n aria-hidden=\"true\"\n className=\"min-h-0 min-w-0 rounded-[3px] motion-safe:transition-colors\"\n style={{ backgroundColor: cellBackground(cell.intensity) }}\n />\n ))}\n </>\n );\n}\n"],"mappings":";;;;AA4CA,IAAM,KAAW,MAA0B,KAAK,IAAI,GAAG,KAAK,IAAI,GAAG,EAAM,CAAC;AAQ1E,SAAS,EAAe,GAA2B;AACjD,KAAI,IAAY,KAAK,MAAc,EAAG,QAAO,EAAY;CACzD,IAAM,IAAM,KAAK,IAAI,GAAG,KAAK,MAAM,EAAQ,EAAU,GAAG,IAAI,CAAC;AAC7D,QAAO,uBAAuB,EAAY,MAAM,GAAG,EAAI,KAAK,EAAY,MAAM;;AAGhF,IAAM,IAAe;CAAC;CAAG;CAAM;CAAK;CAAM;CAAE;AAW5C,SAAgB,EAAQ,EACtB,SACA,cACA,iBACA,QACA,eAAY,OACZ,iBAAc,GACd,kBAAe,CAAC,QAAQ,OAAO,EAC/B,gBAAa,IACb,YAAS,KACT,eACA,cACA,gBACe;CACf,IAAM,IAAO,EAAU,QACjB,IAAO,EAAa,QAEpB,KAAW,GAAW,MAA6B;EACvD,IAAM,IAAO,EAAK,KAAK;AACvB,SAAO,OAAO,KAAS,YAAY,OAAO,SAAS,EAAK,GAAG,IAAO;IAGhE,IAAc,KAAO;AACzB,KAAI,MAAQ,KAAA,EACV,MAAK,IAAI,IAAI,GAAG,IAAI,GAAM,KAAK,EAC7B,MAAK,IAAI,IAAI,GAAG,IAAI,GAAM,KAAK,GAAG;EAChC,IAAM,IAAQ,EAAQ,GAAG,EAAE;AAC3B,EAAI,MAAU,QAAQ,IAAQ,MAAa,IAAc;;CAK/D,IAAM,IACJ,KACA,cAAc,EAAU,KAAK,KAAK,CAAC,MAAM,EAAa,KAAK,KAAK;AAElE,KAAI,MAAS,KAAK,MAAS,KAAK,KAAe,EAC7C,QACE,kBAAC,GAAD;EAAoB;EAAQ,OAAO;EAAuB;EAAa,CAAA;CAI3E,IAAM,KAAe,MACnB,MAAU,OAAO,KAAK,IAAQ,GAE1B,IAAsB,eAAe,EAAK,yBAC1C,IAAmB,eAAe,EAAK;AA+C7C,QACE,kBAAC,GAAD;EACE,WAAW;EACH;EACG;EACL,MAjDR,kBAAA,GAAA,EAAA,UAAA,CACG,IACC,kBAAC,OAAD;GAAK,WAAU;aAAf;IACE,kBAAC,QAAD,EAAA,UAAO,EAAa,IAAU,CAAA;IAC7B,EAAa,KAAK,MACjB,kBAAC,QAAD;KAEE,eAAY;KACZ,WAAU;KACV,OAAO,EAAE,iBAAiB,EAAe,EAAK,EAAE;KAChD,EAJK,EAIL,CACF;IACF,kBAAC,QAAD,EAAA,UAAO,EAAa,IAAU,CAAA;IAC1B;OACJ,MAEJ,kBAAC,SAAD;GAAO,OAAO;aAAd;IACE,kBAAC,WAAD,EAAA,UAAU,GAAgB,CAAA;IAC1B,kBAAC,SAAD,EAAA,UACE,kBAAC,MAAD,EAAA,UAAA,CACE,kBAAC,MAAD;KAAI,OAAM;eAAO;KAAe,CAAA,EAC/B,EAAa,KAAK,GAAa,MAC9B,kBAAC,MAAD;KAAI,OAAM;eACP;KACE,EAFgB,GAAG,EAAY,GAAG,IAElC,CACL,CACC,EAAA,CAAA,EACC,CAAA;IACR,kBAAC,SAAD,EAAA,UACG,EAAU,KAAK,GAAU,MACxB,kBAAC,MAAD,EAAA,UAAA,CACE,kBAAC,MAAD;KAAI,OAAM;eAAO;KAAc,CAAA,EAC9B,EAAa,KAAK,GAAa,MAC9B,kBAAC,MAAD,EAAA,UACG,EAAY,EAAQ,GAAG,EAAE,EAAE,EAAY,EACrC,EAFI,GAAG,EAAY,GAAG,IAEtB,CACL,CACC,EAAA,EAPI,GAAG,EAAS,GAAG,IAOnB,CACL,EACI,CAAA;IACF;KACP,EAAA,CAAA;YAUD,kBAAC,OAAD;GAAK,WAAU;aACb,kBAAC,OAAD;IACE,WAAU;IACV,OAAO;KAAE;KAAqB;KAAkB;cAFlD;KAKE,kBAAC,QAAD,EAAM,eAAY,QAAS,CAAA;KAC1B,EAAa,KAAK,GAAa,MAC9B,kBAAC,QAAD;MAEE,WAAU;gBAET;MACI,EAJA,OAAO,EAAY,GAAG,IAItB,CACP;KAGD,EAAU,KAAK,GAAU,MACxB,kBAAC,GAAD;MAEY;MACV,OAAO,EAAa,KAAK,GAAa,MAAM;OAC1C,IAAM,IAAQ,EAAQ,GAAG,EAAE;AAC3B,cAAO;QACL,KAAK,GAAG,EAAY,GAAG;QACvB;QACA,WAAW,EAAY,EAAM;QAC7B,OAAO,GAAG,EAAS,KAAK,EAAY,IAAI,EAAY,GAAO,EAAY;QACxE;QACD;MACF,EAXK,OAAO,EAAS,GAAG,IAWxB,CACF;KACE;;GACF,CAAA;EACM,CAAA;;AAiBlB,SAAS,EAAY,EAAE,aAAU,YAA2B;AAC1D,QACE,kBAAA,GAAA,EAAA,UAAA,CACE,kBAAC,QAAD;EAAM,WAAU;YACb;EACI,CAAA,EACN,EAAM,KAAK,MACV,kBAAC,OAAD;EAEE,OAAO,EAAK;EACZ,eAAY;EACZ,WAAU;EACV,OAAO,EAAE,iBAAiB,EAAe,EAAK,UAAU,EAAE;EAC1D,EALK,EAAK,IAKV,CACF,CACD,EAAA,CAAA"}
@@ -0,0 +1,49 @@
1
+ import { cn as e } from "../../utils/helpers.js";
2
+ import { toneColor as t } from "./chartTheme.js";
3
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ //#region src/timecampus/components/charts/ProgressMeter.tsx
5
+ var i = {
6
+ sm: "h-1.5",
7
+ md: "h-2.5",
8
+ lg: "h-3.5"
9
+ }, a = (e) => e.toLocaleString();
10
+ function o({ value: o, max: s = 100, label: c, thresholds: l = {
11
+ warning: .75,
12
+ danger: .9
13
+ }, higherIsWorse: u = !0, tone: d, showValue: f = !0, format: p = a, size: m = "md", className: h }) {
14
+ let g = Math.min(1, Math.max(0, o / (s > 0 ? s : 1))), _ = Math.round(g * 100), v = t(d ?? (u ? g >= l.danger ? "danger" : g >= l.warning ? "warning" : "success" : g >= l.warning ? "success" : g >= l.danger ? "warning" : "danger"));
15
+ return /* @__PURE__ */ r("div", {
16
+ className: e("w-full", h),
17
+ children: [c !== void 0 || f ? /* @__PURE__ */ r("div", {
18
+ className: "mb-1.5 flex items-center justify-between gap-3 text-sm",
19
+ children: [c === void 0 ? /* @__PURE__ */ n("span", {}) : /* @__PURE__ */ n("span", {
20
+ className: "min-w-0 truncate font-medium text-text-primary",
21
+ children: c
22
+ }), f ? /* @__PURE__ */ r("span", {
23
+ className: "shrink-0 tabular-nums text-text-secondary",
24
+ children: [p(o), /* @__PURE__ */ r("span", {
25
+ className: "text-text-muted",
26
+ children: [" / ", p(s)]
27
+ })]
28
+ }) : null]
29
+ }) : null, /* @__PURE__ */ n("div", {
30
+ className: e("w-full overflow-hidden rounded-full bg-bg-sunken", i[m]),
31
+ role: "progressbar",
32
+ "aria-valuenow": o,
33
+ "aria-valuemin": 0,
34
+ "aria-valuemax": s,
35
+ "aria-label": typeof c == "string" ? c : void 0,
36
+ children: /* @__PURE__ */ n("div", {
37
+ className: "h-full rounded-full motion-safe:transition-[width] motion-safe:duration-500",
38
+ style: {
39
+ width: `${_}%`,
40
+ backgroundColor: v
41
+ }
42
+ })
43
+ })]
44
+ });
45
+ }
46
+ //#endregion
47
+ export { o as ProgressMeter };
48
+
49
+ //# sourceMappingURL=ProgressMeter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProgressMeter.js","names":[],"sources":["../../../../src/timecampus/components/charts/ProgressMeter.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport { cn } from \"../../utils/helpers\";\nimport { toneColor, type MeterTone, type ValueFormatter } from \"./chartTheme\";\n\nexport interface ProgressMeterProps {\n /** Current value. */\n value: number;\n /** Full-scale value. Default 100. */\n max?: number;\n /** Leading caption (e.g. \"Seats used\", \"Budget spent\"). */\n label?: ReactNode;\n /**\n * Severity thresholds as fractions of `max` (0–1). With the default\n * `higherIsWorse` a fraction ≥ `danger` turns the fill red, ≥ `warning` amber.\n * Default `{ warning: 0.75, danger: 0.9 }`.\n */\n thresholds?: { warning: number; danger: number };\n /** Whether a fuller meter is worse (usage/budget, default) or better (progress). */\n higherIsWorse?: boolean;\n /** Force a tone, bypassing thresholds. */\n tone?: MeterTone;\n /** Show the `value / max` readout on the right of the label row. Default true. */\n showValue?: boolean;\n /** Formats the value + max readout. Default grouped integer. */\n format?: ValueFormatter;\n /** Bar thickness. Default `md`. */\n size?: \"sm\" | \"md\" | \"lg\";\n className?: string;\n}\n\nconst TRACK_HEIGHT: Record<NonNullable<ProgressMeterProps[\"size\"]>, string> = {\n sm: \"h-1.5\",\n md: \"h-2.5\",\n lg: \"h-3.5\",\n};\n\nconst defaultFormat: ValueFormatter = (value) => value.toLocaleString();\n\n/**\n * ProgressMeter — a linear meter for a single ratio (seat usage, budget spent,\n * progress to target). The fill carries severity (good → warning → danger) via\n * reserved status tokens over a muted track; the width transition is gated\n * behind `motion-safe` so reduced-motion users get an instant fill. Token-only,\n * no raw colour.\n */\nexport function ProgressMeter({\n value,\n max = 100,\n label,\n thresholds = { warning: 0.75, danger: 0.9 },\n higherIsWorse = true,\n tone,\n showValue = true,\n format = defaultFormat,\n size = \"md\",\n className,\n}: ProgressMeterProps) {\n const safeMax = max > 0 ? max : 1;\n const fraction = Math.min(1, Math.max(0, value / safeMax));\n const pct = Math.round(fraction * 100);\n\n const resolvedTone: MeterTone =\n tone ??\n (higherIsWorse\n ? fraction >= thresholds.danger\n ? \"danger\"\n : fraction >= thresholds.warning\n ? \"warning\"\n : \"success\"\n : fraction >= thresholds.warning\n ? \"success\"\n : fraction >= thresholds.danger\n ? \"warning\"\n : \"danger\");\n\n const fillColor = toneColor(resolvedTone);\n\n return (\n <div className={cn(\"w-full\", className)}>\n {label !== undefined || showValue ? (\n <div className=\"mb-1.5 flex items-center justify-between gap-3 text-sm\">\n {label !== undefined ? (\n <span className=\"min-w-0 truncate font-medium text-text-primary\">\n {label}\n </span>\n ) : (\n <span />\n )}\n {showValue ? (\n <span className=\"shrink-0 tabular-nums text-text-secondary\">\n {format(value)}\n <span className=\"text-text-muted\"> / {format(max)}</span>\n </span>\n ) : null}\n </div>\n ) : null}\n\n <div\n className={cn(\n \"w-full overflow-hidden rounded-full bg-bg-sunken\",\n TRACK_HEIGHT[size],\n )}\n role=\"progressbar\"\n aria-valuenow={value}\n aria-valuemin={0}\n aria-valuemax={max}\n aria-label={typeof label === \"string\" ? label : undefined}\n >\n <div\n className=\"h-full rounded-full motion-safe:transition-[width] motion-safe:duration-500\"\n style={{ width: `${pct}%`, backgroundColor: fillColor }}\n />\n </div>\n </div>\n );\n}\n"],"mappings":";;;;AA8BA,IAAM,IAAwE;CAC5E,IAAI;CACJ,IAAI;CACJ,IAAI;CACL,EAEK,KAAiC,MAAU,EAAM,gBAAgB;AASvE,SAAgB,EAAc,EAC5B,UACA,SAAM,KACN,UACA,gBAAa;CAAE,SAAS;CAAM,QAAQ;CAAK,EAC3C,mBAAgB,IAChB,SACA,eAAY,IACZ,YAAS,GACT,UAAO,MACP,gBACqB;CAErB,IAAM,IAAW,KAAK,IAAI,GAAG,KAAK,IAAI,GAAG,KADzB,IAAM,IAAI,IAAM,GACyB,CAAC,EACpD,IAAM,KAAK,MAAM,IAAW,IAAI,EAgBhC,IAAY,EAbhB,MACC,IACG,KAAY,EAAW,SACrB,WACA,KAAY,EAAW,UACrB,YACA,YACJ,KAAY,EAAW,UACrB,YACA,KAAY,EAAW,SACrB,YACA,UAE+B;AAEzC,QACE,kBAAC,OAAD;EAAK,WAAW,EAAG,UAAU,EAAU;YAAvC,CACG,MAAU,KAAA,KAAa,IACtB,kBAAC,OAAD;GAAK,WAAU;aAAf,CACG,MAAU,KAAA,IAKT,kBAAC,QAAD,EAAQ,CAAA,GAJR,kBAAC,QAAD;IAAM,WAAU;cACb;IACI,CAAA,EAIR,IACC,kBAAC,QAAD;IAAM,WAAU;cAAhB,CACG,EAAO,EAAM,EACd,kBAAC,QAAD;KAAM,WAAU;eAAhB,CAAkC,OAAI,EAAO,EAAI,CAAQ;OACpD;QACL,KACA;OACJ,MAEJ,kBAAC,OAAD;GACE,WAAW,EACT,oDACA,EAAa,GACd;GACD,MAAK;GACL,iBAAe;GACf,iBAAe;GACf,iBAAe;GACf,cAAY,OAAO,KAAU,WAAW,IAAQ,KAAA;aAEhD,kBAAC,OAAD;IACE,WAAU;IACV,OAAO;KAAE,OAAO,GAAG,EAAI;KAAI,iBAAiB;KAAW;IACvD,CAAA;GACE,CAAA,CACF"}
@@ -0,0 +1,66 @@
1
+ import { cn as e } from "../../utils/helpers.js";
2
+ import { ResponsiveContainer as t } from "../../../node_modules/recharts/es6/component/ResponsiveContainer.js";
3
+ import { PolarAngleAxis as n } from "../../../node_modules/recharts/es6/polar/PolarAngleAxis.js";
4
+ import { RadialBar as r } from "../../../node_modules/recharts/es6/polar/RadialBar.js";
5
+ import { RadialBarChart as i } from "../../../node_modules/recharts/es6/chart/RadialBarChart.js";
6
+ import { chartTokens as a, toneColor as o, usePrefersReducedMotion as s } from "./chartTheme.js";
7
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
+ //#region src/timecampus/components/charts/RadialGauge.tsx
9
+ var u = (e, t, n) => Math.min(n, Math.max(t, e));
10
+ function d({ value: d, min: f = 0, max: p = 100, label: m, sublabel: h, thresholds: g, higherIsBetter: _ = !0, tone: v, color: y, height: b = 200, format: x = (e) => Math.round(e).toString(), ariaLabel: S, className: C }) {
11
+ let w = s(), T = p - f || 1, E = u(d, f, p), D = g?.warning ?? (_ ? f + T * .8 : f + T * .5), O = g?.danger ?? (_ ? f + T * .5 : f + T * .8), k = y ?? o(v ?? (_ ? d >= D ? "success" : d >= O ? "warning" : "danger" : d <= D ? "success" : d <= O ? "warning" : "danger")), A = [{
12
+ name: m ?? "value",
13
+ value: E
14
+ }];
15
+ return /* @__PURE__ */ l("figure", {
16
+ role: "img",
17
+ "aria-label": S ?? `${m ? `${m}: ` : ""}${x(d)}`,
18
+ className: e("relative w-full", C),
19
+ style: { height: b },
20
+ children: [/* @__PURE__ */ c(t, {
21
+ width: "100%",
22
+ height: "100%",
23
+ children: /* @__PURE__ */ l(i, {
24
+ data: A,
25
+ innerRadius: "72%",
26
+ outerRadius: "100%",
27
+ barSize: 14,
28
+ startAngle: 225,
29
+ endAngle: -45,
30
+ children: [/* @__PURE__ */ c(n, {
31
+ type: "number",
32
+ domain: [f, p],
33
+ angleAxisId: 0,
34
+ tick: !1
35
+ }), /* @__PURE__ */ c(r, {
36
+ dataKey: "value",
37
+ angleAxisId: 0,
38
+ background: { fill: a.track },
39
+ cornerRadius: 999,
40
+ fill: k,
41
+ isAnimationActive: !w
42
+ })]
43
+ })
44
+ }), /* @__PURE__ */ l("div", {
45
+ className: "pointer-events-none absolute inset-0 flex flex-col items-center justify-center text-center",
46
+ children: [
47
+ /* @__PURE__ */ c("span", {
48
+ className: "text-3xl font-bold leading-none text-text-primary",
49
+ children: x(d)
50
+ }),
51
+ m ? /* @__PURE__ */ c("span", {
52
+ className: "mt-1 text-sm font-medium text-text-secondary",
53
+ children: m
54
+ }) : null,
55
+ h ? /* @__PURE__ */ c("span", {
56
+ className: "text-xs text-text-muted",
57
+ children: h
58
+ }) : null
59
+ ]
60
+ })]
61
+ });
62
+ }
63
+ //#endregion
64
+ export { d as RadialGauge };
65
+
66
+ //# sourceMappingURL=RadialGauge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadialGauge.js","names":[],"sources":["../../../../src/timecampus/components/charts/RadialGauge.tsx"],"sourcesContent":["import {\n PolarAngleAxis,\n RadialBar,\n RadialBarChart,\n ResponsiveContainer,\n} from \"recharts\";\nimport { cn } from \"../../utils/helpers\";\nimport {\n chartTokens,\n toneColor,\n usePrefersReducedMotion,\n type MeterTone,\n type ValueFormatter,\n} from \"./chartTheme\";\n\nexport interface RadialGaugeProps {\n /** The measured value. */\n value: number;\n /** Scale minimum. Default 0. */\n min?: number;\n /** Scale maximum. Default 100. */\n max?: number;\n /** Big centre caption (e.g. \"Compliance\"). */\n label?: string;\n /** Small caption under the value. */\n sublabel?: string;\n /**\n * Severity thresholds in value units. With `higherIsBetter` (default) pass\n * `warning > danger` (e.g. `{ warning: 80, danger: 50 }` → ≥80 good, 50–79\n * warning, <50 danger). Defaults derive from the range.\n */\n thresholds?: { warning: number; danger: number };\n /** Whether a higher value is better (compliance/health) or worse (risk). Default true. */\n higherIsBetter?: boolean;\n /** Force a tone, bypassing threshold logic. */\n tone?: MeterTone;\n /** Force an explicit colour, bypassing tone + thresholds. */\n color?: string;\n /** Pixel height. Default 200. */\n height?: number;\n /** Formats the centre value. Default rounds to an integer. */\n format?: ValueFormatter;\n /** Accessible name. Default derived from label + value. */\n ariaLabel?: string;\n className?: string;\n}\n\nconst clamp = (value: number, min: number, max: number): number =>\n Math.min(max, Math.max(min, value));\n\n/**\n * RadialGauge — a single value on a 270° arc (compliance score, asset health,\n * risk). The arc colour follows severity thresholds (good → warning → danger)\n * using reserved status tokens, over a muted track. Center shows the value and\n * label; respects `prefers-reduced-motion`.\n */\nexport function RadialGauge({\n value,\n min = 0,\n max = 100,\n label,\n sublabel,\n thresholds,\n higherIsBetter = true,\n tone,\n color,\n height = 200,\n format = (v) => Math.round(v).toString(),\n ariaLabel,\n className,\n}: RadialGaugeProps) {\n const reducedMotion = usePrefersReducedMotion();\n const range = max - min || 1;\n const clamped = clamp(value, min, max);\n\n const warning =\n thresholds?.warning ??\n (higherIsBetter ? min + range * 0.8 : min + range * 0.5);\n const danger =\n thresholds?.danger ??\n (higherIsBetter ? min + range * 0.5 : min + range * 0.8);\n\n const resolvedTone: MeterTone =\n tone ??\n (higherIsBetter\n ? value >= warning\n ? \"success\"\n : value >= danger\n ? \"warning\"\n : \"danger\"\n : value <= warning\n ? \"success\"\n : value <= danger\n ? \"warning\"\n : \"danger\");\n\n const arcColor = color ?? toneColor(resolvedTone);\n const data = [{ name: label ?? \"value\", value: clamped }];\n const accessibleName =\n ariaLabel ?? `${label ? `${label}: ` : \"\"}${format(value)}`;\n\n return (\n <figure\n role=\"img\"\n aria-label={accessibleName}\n className={cn(\"relative w-full\", className)}\n style={{ height }}\n >\n <ResponsiveContainer width=\"100%\" height=\"100%\">\n <RadialBarChart\n data={data}\n innerRadius=\"72%\"\n outerRadius=\"100%\"\n barSize={14}\n startAngle={225}\n endAngle={-45}\n >\n <PolarAngleAxis\n type=\"number\"\n domain={[min, max]}\n angleAxisId={0}\n tick={false}\n />\n <RadialBar\n dataKey=\"value\"\n angleAxisId={0}\n background={{ fill: chartTokens.track }}\n cornerRadius={999}\n fill={arcColor}\n isAnimationActive={!reducedMotion}\n />\n </RadialBarChart>\n </ResponsiveContainer>\n\n <div className=\"pointer-events-none absolute inset-0 flex flex-col items-center justify-center text-center\">\n <span className=\"text-3xl font-bold leading-none text-text-primary\">\n {format(value)}\n </span>\n {label ? (\n <span className=\"mt-1 text-sm font-medium text-text-secondary\">\n {label}\n </span>\n ) : null}\n {sublabel ? (\n <span className=\"text-xs text-text-muted\">{sublabel}</span>\n ) : null}\n </div>\n </figure>\n );\n}\n"],"mappings":";;;;;;;;AA+CA,IAAM,KAAS,GAAe,GAAa,MACzC,KAAK,IAAI,GAAK,KAAK,IAAI,GAAK,EAAM,CAAC;AAQrC,SAAgB,EAAY,EAC1B,UACA,SAAM,GACN,SAAM,KACN,UACA,aACA,eACA,oBAAiB,IACjB,SACA,UACA,YAAS,KACT,aAAU,MAAM,KAAK,MAAM,EAAE,CAAC,UAAU,EACxC,cACA,gBACmB;CACnB,IAAM,IAAgB,GAAyB,EACzC,IAAQ,IAAM,KAAO,GACrB,IAAU,EAAM,GAAO,GAAK,EAAI,EAEhC,IACJ,GAAY,YACX,IAAiB,IAAM,IAAQ,KAAM,IAAM,IAAQ,KAChD,IACJ,GAAY,WACX,IAAiB,IAAM,IAAQ,KAAM,IAAM,IAAQ,KAgBhD,IAAW,KAAS,EAbxB,MACC,IACG,KAAS,IACP,YACA,KAAS,IACP,YACA,WACJ,KAAS,IACP,YACA,KAAS,IACP,YACA,UAEuC,EAC3C,IAAO,CAAC;EAAE,MAAM,KAAS;EAAS,OAAO;EAAS,CAAC;AAIzD,QACE,kBAAC,UAAD;EACE,MAAK;EACL,cALF,KAAa,GAAG,IAAQ,GAAG,EAAM,MAAM,KAAK,EAAO,EAAM;EAMvD,WAAW,EAAG,mBAAmB,EAAU;EAC3C,OAAO,EAAE,WAAQ;YAJnB,CAME,kBAAC,GAAD;GAAqB,OAAM;GAAO,QAAO;aACvC,kBAAC,GAAD;IACQ;IACN,aAAY;IACZ,aAAY;IACZ,SAAS;IACT,YAAY;IACZ,UAAU;cANZ,CAQE,kBAAC,GAAD;KACE,MAAK;KACL,QAAQ,CAAC,GAAK,EAAI;KAClB,aAAa;KACb,MAAM;KACN,CAAA,EACF,kBAAC,GAAD;KACE,SAAQ;KACR,aAAa;KACb,YAAY,EAAE,MAAM,EAAY,OAAO;KACvC,cAAc;KACd,MAAM;KACN,mBAAmB,CAAC;KACpB,CAAA,CACa;;GACG,CAAA,EAEtB,kBAAC,OAAD;GAAK,WAAU;aAAf;IACE,kBAAC,QAAD;KAAM,WAAU;eACb,EAAO,EAAM;KACT,CAAA;IACN,IACC,kBAAC,QAAD;KAAM,WAAU;eACb;KACI,CAAA,GACL;IACH,IACC,kBAAC,QAAD;KAAM,WAAU;eAA2B;KAAgB,CAAA,GACzD;IACA;KACC"}
@@ -0,0 +1,3 @@
1
+ import "./chartTheme.js";
2
+ import "react";
3
+ import "react/jsx-runtime";
@@ -0,0 +1,161 @@
1
+ import { Legend as e } from "../../../node_modules/recharts/es6/component/Legend.js";
2
+ import { Tooltip as t } from "../../../node_modules/recharts/es6/component/Tooltip.js";
3
+ import { ResponsiveContainer as n } from "../../../node_modules/recharts/es6/component/ResponsiveContainer.js";
4
+ import { ReferenceDot as r } from "../../../node_modules/recharts/es6/cartesian/ReferenceDot.js";
5
+ import { CartesianGrid as i } from "../../../node_modules/recharts/es6/cartesian/CartesianGrid.js";
6
+ import { Line as a } from "../../../node_modules/recharts/es6/cartesian/Line.js";
7
+ import { Area as o } from "../../../node_modules/recharts/es6/cartesian/Area.js";
8
+ import { XAxis as s } from "../../../node_modules/recharts/es6/cartesian/XAxis.js";
9
+ import { YAxis as c } from "../../../node_modules/recharts/es6/cartesian/YAxis.js";
10
+ import { LineChart as l } from "../../../node_modules/recharts/es6/chart/LineChart.js";
11
+ import { AreaChart as u } from "../../../node_modules/recharts/es6/chart/AreaChart.js";
12
+ import { chartTokens as d, defaultSeriesColor as f, formatNumber as p, usePrefersReducedMotion as m } from "./chartTheme.js";
13
+ import { ChartDataTable as h, ChartEmpty as g, ChartFigure as _, ChartLegend as v, ChartTooltip as y } from "./ChartParts.js";
14
+ import { useId as b } from "react";
15
+ import { jsx as x, jsxs as S } from "react/jsx-runtime";
16
+ //#region src/timecampus/components/charts/TrendChart.tsx
17
+ function C({ data: C, xKey: w, series: T, type: E = "area", height: D = 260, valueFormat: O = p, xTickFormat: k, showGrid: A = !0, showLegend: j, showEndDots: M = !0, emptyLabel: N, ariaLabel: P, className: F }) {
18
+ let I = b(), L = m(), R = T.map((e, t) => ({
19
+ ...e,
20
+ label: e.label ?? e.key,
21
+ color: e.color ?? f(t, T.length)
22
+ })), z = P ?? `Trend of ${R.map((e) => e.label).join(", ")}`;
23
+ if (C.length === 0) return /* @__PURE__ */ x(g, {
24
+ height: D,
25
+ label: N,
26
+ className: F
27
+ });
28
+ let B = j ?? R.length > 1, V = {
29
+ fill: d.textMuted,
30
+ fontSize: 12
31
+ }, H = (e) => {
32
+ for (let t = C.length - 1; t >= 0; --t) {
33
+ let n = C[t][e];
34
+ if (typeof n == "number" && Number.isFinite(n)) return t;
35
+ }
36
+ return -1;
37
+ };
38
+ return /* @__PURE__ */ x(_, {
39
+ ariaLabel: z,
40
+ height: D,
41
+ className: F,
42
+ a11y: /* @__PURE__ */ x(h, {
43
+ caption: z,
44
+ xLabel: w,
45
+ xKey: w,
46
+ data: C,
47
+ series: R,
48
+ valueFormat: O
49
+ }),
50
+ children: /* @__PURE__ */ x(n, {
51
+ width: "100%",
52
+ height: "100%",
53
+ children: /* @__PURE__ */ S(E === "area" ? u : l, {
54
+ data: C,
55
+ margin: {
56
+ top: 12,
57
+ right: 16,
58
+ bottom: 4,
59
+ left: 4
60
+ },
61
+ children: [
62
+ /* @__PURE__ */ x("defs", { children: R.map((e, t) => /* @__PURE__ */ S("linearGradient", {
63
+ id: `${I}-${t}`,
64
+ x1: "0",
65
+ y1: "0",
66
+ x2: "0",
67
+ y2: "1",
68
+ children: [/* @__PURE__ */ x("stop", {
69
+ offset: "0%",
70
+ stopColor: e.color,
71
+ stopOpacity: .24
72
+ }), /* @__PURE__ */ x("stop", {
73
+ offset: "95%",
74
+ stopColor: e.color,
75
+ stopOpacity: .02
76
+ })]
77
+ }, e.key)) }),
78
+ A ? /* @__PURE__ */ x(i, {
79
+ vertical: !1,
80
+ stroke: d.grid,
81
+ strokeWidth: 1
82
+ }) : null,
83
+ /* @__PURE__ */ x(s, {
84
+ dataKey: w,
85
+ tickLine: !1,
86
+ axisLine: !1,
87
+ tick: V,
88
+ tickMargin: 8,
89
+ minTickGap: 16,
90
+ tickFormatter: k ? (e) => k(e) : void 0
91
+ }),
92
+ /* @__PURE__ */ x(c, {
93
+ tickLine: !1,
94
+ axisLine: !1,
95
+ tick: V,
96
+ width: 48,
97
+ tickFormatter: (e) => O(Number(e))
98
+ }),
99
+ /* @__PURE__ */ x(t, {
100
+ cursor: {
101
+ stroke: d.axis,
102
+ strokeWidth: 1
103
+ },
104
+ content: /* @__PURE__ */ x(y, {
105
+ valueFormat: O,
106
+ labelFormat: k,
107
+ hideLabel: !1
108
+ })
109
+ }),
110
+ B ? /* @__PURE__ */ x(e, { content: /* @__PURE__ */ x(v, {}) }) : null,
111
+ R.map((e, t) => E === "area" ? /* @__PURE__ */ x(o, {
112
+ type: "monotone",
113
+ dataKey: e.key,
114
+ name: e.label,
115
+ stroke: e.color,
116
+ strokeWidth: 2,
117
+ fill: `url(#${I}-${t})`,
118
+ isAnimationActive: !L,
119
+ dot: !1,
120
+ activeDot: {
121
+ r: 4,
122
+ strokeWidth: 2,
123
+ stroke: d.surface,
124
+ fill: e.color
125
+ }
126
+ }, e.key) : /* @__PURE__ */ x(a, {
127
+ type: "monotone",
128
+ dataKey: e.key,
129
+ name: e.label,
130
+ stroke: e.color,
131
+ strokeWidth: 2,
132
+ isAnimationActive: !L,
133
+ dot: !1,
134
+ activeDot: {
135
+ r: 4,
136
+ strokeWidth: 2,
137
+ stroke: d.surface,
138
+ fill: e.color
139
+ }
140
+ }, e.key)),
141
+ M ? R.map((e) => {
142
+ let t = H(e.key);
143
+ return t < 0 ? null : /* @__PURE__ */ x(r, {
144
+ x: C[t][w],
145
+ y: C[t][e.key],
146
+ r: 4,
147
+ fill: e.color,
148
+ stroke: d.surface,
149
+ strokeWidth: 2,
150
+ isFront: !0
151
+ }, `end-${e.key}`);
152
+ }) : null
153
+ ]
154
+ })
155
+ })
156
+ });
157
+ }
158
+ //#endregion
159
+ export { C as TrendChart };
160
+
161
+ //# sourceMappingURL=TrendChart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TrendChart.js","names":[],"sources":["../../../../src/timecampus/components/charts/TrendChart.tsx"],"sourcesContent":["import { useId } from \"react\";\nimport {\n Area,\n AreaChart,\n CartesianGrid,\n Legend,\n Line,\n LineChart,\n ReferenceDot,\n ResponsiveContainer,\n Tooltip,\n XAxis,\n YAxis,\n} from \"recharts\";\nimport {\n chartTokens,\n defaultSeriesColor,\n formatNumber,\n usePrefersReducedMotion,\n type ChartDatum,\n type ChartSeries,\n type ValueFormatter,\n} from \"./chartTheme\";\nimport {\n ChartDataTable,\n ChartEmpty,\n ChartFigure,\n ChartLegend,\n ChartTooltip,\n} from \"./ChartParts\";\n\nexport interface TrendChartProps {\n /** Rows of `{ [xKey]: label, [series.key]: number }`. */\n data: ChartDatum[];\n /** Field holding the x-axis category/time value. */\n xKey: string;\n /** One or more numeric series. Single series reads on-brand. */\n series: ChartSeries[];\n /** Line, or gradient-filled area. Default `area`. */\n type?: \"line\" | \"area\";\n /** Pixel height of the plot. Default 260. */\n height?: number;\n /** Formats y values in the axis and tooltip. Default grouped integer. */\n valueFormat?: ValueFormatter;\n /** Formats x tick + tooltip header. */\n xTickFormat?: (value: string | number) => string;\n /** Show the horizontal grid. Default true. */\n showGrid?: boolean;\n /** Force the legend on/off. Default: on when there are ≥ 2 series. */\n showLegend?: boolean;\n /** Emphasise each series' final point with a ringed dot. Default true. */\n showEndDots?: boolean;\n /** Message shown when `data` is empty — never fabricate a shape. */\n emptyLabel?: string;\n /** Accessible name for the figure. Default derived from the series labels. */\n ariaLabel?: string;\n className?: string;\n}\n\n/**\n * TrendChart — value-over-time as a line or gradient area (asset value,\n * emissions, depreciation). Theme-aware tokens, a hairline grid, a crosshair\n * tooltip, emphasised endpoints, a legend for multi-series, an empty state and\n * a screen-reader data table. Respects `prefers-reduced-motion`.\n */\nexport function TrendChart({\n data,\n xKey,\n series,\n type = \"area\",\n height = 260,\n valueFormat = formatNumber,\n xTickFormat,\n showGrid = true,\n showLegend,\n showEndDots = true,\n emptyLabel,\n ariaLabel,\n className,\n}: TrendChartProps) {\n const gradientBase = useId();\n const reducedMotion = usePrefersReducedMotion();\n\n const resolved = series.map((s, index) => ({\n ...s,\n label: s.label ?? s.key,\n color: s.color ?? defaultSeriesColor(index, series.length),\n }));\n const label =\n ariaLabel ?? `Trend of ${resolved.map((s) => s.label).join(\", \")}`;\n\n if (data.length === 0) {\n return (\n <ChartEmpty height={height} label={emptyLabel} className={className} />\n );\n }\n\n const withLegend = showLegend ?? resolved.length > 1;\n const axisTick = { fill: chartTokens.textMuted, fontSize: 12 };\n\n const lastFiniteIndex = (key: string): number => {\n for (let i = data.length - 1; i >= 0; i -= 1) {\n const value = data[i][key];\n if (typeof value === \"number\" && Number.isFinite(value)) return i;\n }\n return -1;\n };\n\n const Chart = type === \"area\" ? AreaChart : LineChart;\n\n return (\n <ChartFigure\n ariaLabel={label}\n height={height}\n className={className}\n a11y={\n <ChartDataTable\n caption={label}\n xLabel={xKey}\n xKey={xKey}\n data={data}\n series={resolved}\n valueFormat={valueFormat}\n />\n }\n >\n <ResponsiveContainer width=\"100%\" height=\"100%\">\n <Chart data={data} margin={{ top: 12, right: 16, bottom: 4, left: 4 }}>\n <defs>\n {resolved.map((s, index) => (\n <linearGradient\n key={s.key}\n id={`${gradientBase}-${index}`}\n x1=\"0\"\n y1=\"0\"\n x2=\"0\"\n y2=\"1\"\n >\n <stop offset=\"0%\" stopColor={s.color} stopOpacity={0.24} />\n <stop offset=\"95%\" stopColor={s.color} stopOpacity={0.02} />\n </linearGradient>\n ))}\n </defs>\n\n {showGrid ? (\n <CartesianGrid\n vertical={false}\n stroke={chartTokens.grid}\n strokeWidth={1}\n />\n ) : null}\n\n <XAxis\n dataKey={xKey}\n tickLine={false}\n axisLine={false}\n tick={axisTick}\n tickMargin={8}\n minTickGap={16}\n tickFormatter={\n xTickFormat\n ? (value) => xTickFormat(value as string | number)\n : undefined\n }\n />\n <YAxis\n tickLine={false}\n axisLine={false}\n tick={axisTick}\n width={48}\n tickFormatter={(value) => valueFormat(Number(value))}\n />\n\n <Tooltip\n cursor={{ stroke: chartTokens.axis, strokeWidth: 1 }}\n content={\n <ChartTooltip\n valueFormat={valueFormat}\n labelFormat={xTickFormat}\n hideLabel={false}\n />\n }\n />\n\n {withLegend ? <Legend content={<ChartLegend />} /> : null}\n\n {resolved.map((s, index) =>\n type === \"area\" ? (\n <Area\n key={s.key}\n type=\"monotone\"\n dataKey={s.key}\n name={s.label}\n stroke={s.color}\n strokeWidth={2}\n fill={`url(#${gradientBase}-${index})`}\n isAnimationActive={!reducedMotion}\n dot={false}\n activeDot={{\n r: 4,\n strokeWidth: 2,\n stroke: chartTokens.surface,\n fill: s.color,\n }}\n />\n ) : (\n <Line\n key={s.key}\n type=\"monotone\"\n dataKey={s.key}\n name={s.label}\n stroke={s.color}\n strokeWidth={2}\n isAnimationActive={!reducedMotion}\n dot={false}\n activeDot={{\n r: 4,\n strokeWidth: 2,\n stroke: chartTokens.surface,\n fill: s.color,\n }}\n />\n ),\n )}\n\n {showEndDots\n ? resolved.map((s) => {\n const index = lastFiniteIndex(s.key);\n if (index < 0) return null;\n return (\n <ReferenceDot\n key={`end-${s.key}`}\n x={data[index][xKey] as string | number}\n y={data[index][s.key] as number}\n r={4}\n fill={s.color}\n stroke={chartTokens.surface}\n strokeWidth={2}\n isFront\n />\n );\n })\n : null}\n </Chart>\n </ResponsiveContainer>\n </ChartFigure>\n );\n}\n"],"mappings":"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"}
@@ -0,0 +1,62 @@
1
+ import { chartTokens as e } from "./chartTheme.js";
2
+ import { useMemo as t } from "react";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ //#region src/timecampus/components/charts/WeeksGrid.tsx
5
+ function r({ weeksLived: r, totalWeeks: i, weeksPerRow: a = 52, horizonRowsWhenOpen: o = 12, ariaLabel: s, className: c }) {
6
+ let l = r != null && r >= 0 ? Math.floor(r) : 0, u = t(() => i != null && i > 0 ? Math.floor(i) : l + Math.max(1, o) * a, [
7
+ i,
8
+ l,
9
+ o,
10
+ a
11
+ ]), d = Math.max(1, a), f = Math.max(1, Math.ceil(u / d)), p = d * 13 - 3, m = f * 13 - 3, h = t(() => {
12
+ let e = [];
13
+ for (let t = 0; t < u; t++) {
14
+ let n = t < l ? "lived" : t === l ? "current" : "future";
15
+ e.push({
16
+ i: t,
17
+ x: t % d * 13,
18
+ y: Math.floor(t / d) * 13,
19
+ state: n
20
+ });
21
+ }
22
+ return e;
23
+ }, [
24
+ u,
25
+ l,
26
+ d,
27
+ 13
28
+ ]);
29
+ return /* @__PURE__ */ n("figure", {
30
+ role: "img",
31
+ "aria-label": s ?? (i == null ? `Your life in weeks: ${l} weeks lived so far` : `Your life in weeks: ${l} of ${Math.floor(i)} weeks lived`),
32
+ className: c,
33
+ children: /* @__PURE__ */ n("div", {
34
+ className: "w-full overflow-x-auto",
35
+ children: /* @__PURE__ */ n("svg", {
36
+ viewBox: `0 0 ${p} ${m}`,
37
+ width: "100%",
38
+ preserveAspectRatio: "xMinYMin meet",
39
+ className: "min-w-[520px]",
40
+ role: "presentation",
41
+ children: h.map((t) => {
42
+ let r = t.state === "lived", i = t.state === "current";
43
+ return /* @__PURE__ */ n("rect", {
44
+ x: t.x,
45
+ y: t.y,
46
+ width: 10,
47
+ height: 10,
48
+ rx: 2,
49
+ ry: 2,
50
+ fill: r ? e.brand : i ? e.surface : "transparent",
51
+ stroke: i ? e.brand : r ? "transparent" : e.border,
52
+ strokeWidth: i ? 1.5 : 1
53
+ }, t.i);
54
+ })
55
+ })
56
+ })
57
+ });
58
+ }
59
+ //#endregion
60
+ export { r as WeeksGrid };
61
+
62
+ //# sourceMappingURL=WeeksGrid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WeeksGrid.js","names":[],"sources":["../../../../src/timecampus/components/charts/WeeksGrid.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport { chartTokens } from \"./chartTheme\";\n\nexport interface WeeksGridProps {\n /** Whole weeks lived so far. Null when the user has not given a birth date. */\n weeksLived: number | null;\n /** Total weeks in the expected lifespan. Null when no expectancy is given. */\n totalWeeks: number | null;\n /** Columns per row. Default 52 (one year per row). */\n weeksPerRow?: number;\n /**\n * When there is no expectancy, how many future rows of hollow cells to show\n * as a horizon beyond the weeks lived. Default 12 (about a decade of context).\n */\n horizonRowsWhenOpen?: number;\n ariaLabel?: string;\n className?: string;\n}\n\n/**\n * WeeksGrid — the finite-life \"your life in weeks\" memento. Each cell is one\n * week: weeks lived are filled with the brand token, the current week is ringed,\n * and future weeks are hollow. It is honest by construction — it renders only\n * what the user's own (optional, private) birth date and expectancy imply, never\n * a guessed age or an invented mortality date. Drawn as a single SVG so even a\n * ~90-year grid (≈ 4,700 cells) stays light, and it scales responsively via a\n * viewBox inside a horizontally-scrollable frame.\n */\nexport function WeeksGrid({\n weeksLived,\n totalWeeks,\n weeksPerRow = 52,\n horizonRowsWhenOpen = 12,\n ariaLabel,\n className,\n}: WeeksGridProps) {\n const lived = weeksLived != null && weeksLived >= 0 ? Math.floor(weeksLived) : 0;\n\n const totalCells = useMemo(() => {\n if (totalWeeks != null && totalWeeks > 0) return Math.floor(totalWeeks);\n // No expectancy: show the weeks lived plus a modest hollow horizon.\n return lived + Math.max(1, horizonRowsWhenOpen) * weeksPerRow;\n }, [totalWeeks, lived, horizonRowsWhenOpen, weeksPerRow]);\n\n const cols = Math.max(1, weeksPerRow);\n const rows = Math.max(1, Math.ceil(totalCells / cols));\n\n // Geometry in SVG user units; the viewBox lets it scale to any width.\n const cell = 10;\n const gap = 3;\n const step = cell + gap;\n const width = cols * step - gap;\n const heightUnits = rows * step - gap;\n\n const cells = useMemo(() => {\n const out: {\n i: number;\n x: number;\n y: number;\n state: \"lived\" | \"current\" | \"future\";\n }[] = [];\n for (let i = 0; i < totalCells; i++) {\n const state = i < lived ? \"lived\" : i === lived ? \"current\" : \"future\";\n out.push({\n i,\n x: (i % cols) * step,\n y: Math.floor(i / cols) * step,\n state,\n });\n }\n return out;\n }, [totalCells, lived, cols, step]);\n\n const label =\n ariaLabel ??\n (totalWeeks != null\n ? `Your life in weeks: ${lived} of ${Math.floor(totalWeeks)} weeks lived`\n : `Your life in weeks: ${lived} weeks lived so far`);\n\n return (\n <figure role=\"img\" aria-label={label} className={className}>\n <div className=\"w-full overflow-x-auto\">\n <svg\n viewBox={`0 0 ${width} ${heightUnits}`}\n width=\"100%\"\n preserveAspectRatio=\"xMinYMin meet\"\n className=\"min-w-[520px]\"\n role=\"presentation\"\n >\n {cells.map((c) => {\n const isLived = c.state === \"lived\";\n const isCurrent = c.state === \"current\";\n return (\n <rect\n key={c.i}\n x={c.x}\n y={c.y}\n width={cell}\n height={cell}\n rx={2}\n ry={2}\n fill={\n isLived\n ? chartTokens.brand\n : isCurrent\n ? chartTokens.surface\n : \"transparent\"\n }\n stroke={\n isCurrent\n ? chartTokens.brand\n : isLived\n ? \"transparent\"\n : chartTokens.border\n }\n strokeWidth={isCurrent ? 1.5 : 1}\n />\n );\n })}\n </svg>\n </div>\n </figure>\n );\n}\n"],"mappings":";;;;AA4BA,SAAgB,EAAU,EACxB,eACA,eACA,iBAAc,IACd,yBAAsB,IACtB,cACA,gBACiB;CACjB,IAAM,IAAQ,KAAc,QAAQ,KAAc,IAAI,KAAK,MAAM,EAAW,GAAG,GAEzE,IAAa,QACb,KAAc,QAAQ,IAAa,IAAU,KAAK,MAAM,EAAW,GAEhE,IAAQ,KAAK,IAAI,GAAG,EAAoB,GAAG,GACjD;EAAC;EAAY;EAAO;EAAqB;EAAY,CAAC,EAEnD,IAAO,KAAK,IAAI,GAAG,EAAY,EAC/B,IAAO,KAAK,IAAI,GAAG,KAAK,KAAK,IAAa,EAAK,CAAC,EAMhD,IAAQ,IAAO,KAAO,GACtB,IAAc,IAAO,KAAO,GAE5B,IAAQ,QAAc;EAC1B,IAAM,IAKA,EAAE;AACR,OAAK,IAAI,IAAI,GAAG,IAAI,GAAY,KAAK;GACnC,IAAM,IAAQ,IAAI,IAAQ,UAAU,MAAM,IAAQ,YAAY;AAC9D,KAAI,KAAK;IACP;IACA,GAAI,IAAI,IAAQ;IAChB,GAAG,KAAK,MAAM,IAAI,EAAK,GAAG;IAC1B;IACD,CAAC;;AAEJ,SAAO;IACN;EAAC;EAAY;EAAO;EAAM;EAAK,CAAC;AAQnC,QACE,kBAAC,UAAD;EAAQ,MAAK;EAAM,cANnB,MACC,KAAc,OAEX,uBAAuB,EAAM,uBAD7B,uBAAuB,EAAM,MAAM,KAAK,MAAM,EAAW,CAAC;EAIb;YAC/C,kBAAC,OAAD;GAAK,WAAU;aACb,kBAAC,OAAD;IACE,SAAS,OAAO,EAAM,GAAG;IACzB,OAAM;IACN,qBAAoB;IACpB,WAAU;IACV,MAAK;cAEJ,EAAM,KAAK,MAAM;KAChB,IAAM,IAAU,EAAE,UAAU,SACtB,IAAY,EAAE,UAAU;AAC9B,YACE,kBAAC,QAAD;MAEE,GAAG,EAAE;MACL,GAAG,EAAE;MACL,OAAO;MACP,QAAQ;MACR,IAAI;MACJ,IAAI;MACJ,MACE,IACI,EAAY,QACZ,IACE,EAAY,UACZ;MAER,QACE,IACI,EAAY,QACZ,IACE,gBACA,EAAY;MAEpB,aAAa,IAAY,MAAM;MAC/B,EAtBK,EAAE,EAsBP;MAEJ;IACE,CAAA;GACF,CAAA;EACC,CAAA"}
@@ -0,0 +1,65 @@
1
+ import { useSyncExternalStore as e } from "react";
2
+ //#region src/timecampus/components/charts/chartTheme.ts
3
+ var t = {
4
+ series: [
5
+ "var(--color-chart-1)",
6
+ "var(--color-chart-2)",
7
+ "var(--color-chart-3)",
8
+ "var(--color-chart-4)",
9
+ "var(--color-chart-5)",
10
+ "var(--color-chart-6)",
11
+ "var(--color-chart-7)",
12
+ "var(--color-chart-8)",
13
+ "var(--color-chart-9)",
14
+ "var(--color-chart-10)",
15
+ "var(--color-chart-11)",
16
+ "var(--color-chart-12)"
17
+ ],
18
+ brand: "var(--color-accent-primary)",
19
+ positive: "var(--color-chart-positive)",
20
+ negative: "var(--color-chart-negative)",
21
+ status: {
22
+ success: "var(--color-status-success-bg)",
23
+ warning: "var(--color-status-warning-bg)",
24
+ danger: "var(--color-status-error-bg)",
25
+ info: "var(--color-status-info-bg)"
26
+ },
27
+ grid: "var(--color-chart-grid)",
28
+ axis: "var(--color-chart-axis)",
29
+ surface: "var(--color-bg-surface)",
30
+ track: "var(--color-bg-sunken)",
31
+ border: "var(--color-border-seam)",
32
+ textPrimary: "var(--color-text-primary)",
33
+ textSecondary: "var(--color-text-secondary)",
34
+ textMuted: "var(--color-text-muted)"
35
+ };
36
+ function n(e) {
37
+ let n = t.series;
38
+ return e <= 0 ? n[0] : e < n.length ? n[e] : n[n.length - 1];
39
+ }
40
+ function r(e) {
41
+ return t.status[e];
42
+ }
43
+ function i(e, r) {
44
+ return r <= 1 ? t.brand : n(e);
45
+ }
46
+ var a = (e) => e.toLocaleString();
47
+ function o(e, t = a) {
48
+ return e == null ? "—" : typeof e == "number" ? Number.isFinite(e) ? t(e) : "—" : String(e);
49
+ }
50
+ var s = "(prefers-reduced-motion: reduce)";
51
+ function c(e) {
52
+ if (typeof window > "u" || typeof window.matchMedia != "function") return () => {};
53
+ let t = window.matchMedia(s);
54
+ return t.addEventListener("change", e), () => t.removeEventListener("change", e);
55
+ }
56
+ function l() {
57
+ return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia(s).matches;
58
+ }
59
+ function u() {
60
+ return e(c, l, () => !1);
61
+ }
62
+ //#endregion
63
+ export { t as chartTokens, i as defaultSeriesColor, a as formatNumber, o as renderValue, n as seriesColor, r as toneColor, u as usePrefersReducedMotion };
64
+
65
+ //# sourceMappingURL=chartTheme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chartTheme.js","names":[],"sources":["../../../../src/timecampus/components/charts/chartTheme.ts"],"sourcesContent":["import { useSyncExternalStore } from \"react\";\n\n/**\n * chartTheme — the single source of truth that maps every chart mark to a live\n * semantic CSS custom property from the Boff UI 2.0 design system\n * (`@burdenoff/fe-libs/shared/tokens`).\n *\n * Because every value is a `var(--color-*)` reference rather than a baked hex,\n * the charts are theme-aware for free: they recolour instantly on a light/dark\n * switch and pick up the TimeCampus brand (which the host shell writes\n * into `--color-accent-primary`) with zero JS re-resolution. Nothing here is a\n * raw colour — the design system owns the palette; these components only\n * reference it.\n *\n * Palette provenance: the categorical ramp is the design system's validated\n * 12-step `--color-chart-*` scale. It is CVD-safe (worst adjacent Machado-2009\n * ΔE ≈ 35 in light / ≈ 52 in dark, well above the ≥ 12 target). Slots are\n * assigned in fixed order and NEVER cycled — a series index past the ramp folds\n * onto the last slot rather than repainting an existing hue (see `seriesColor`).\n */\nexport const chartTokens = {\n /** Categorical identity ramp — fixed order, assigned in sequence, never cycled. */\n series: [\n \"var(--color-chart-1)\",\n \"var(--color-chart-2)\",\n \"var(--color-chart-3)\",\n \"var(--color-chart-4)\",\n \"var(--color-chart-5)\",\n \"var(--color-chart-6)\",\n \"var(--color-chart-7)\",\n \"var(--color-chart-8)\",\n \"var(--color-chart-9)\",\n \"var(--color-chart-10)\",\n \"var(--color-chart-11)\",\n \"var(--color-chart-12)\",\n ],\n /** Brand accent (the TimeCampus brand) — the default for a single series. */\n brand: \"var(--color-accent-primary)\",\n /** Value polarity. */\n positive: \"var(--color-chart-positive)\",\n negative: \"var(--color-chart-negative)\",\n /** Reserved status scale — always paired with an icon + label at the call site. */\n status: {\n success: \"var(--color-status-success-bg)\",\n warning: \"var(--color-status-warning-bg)\",\n danger: \"var(--color-status-error-bg)\",\n info: \"var(--color-status-info-bg)\",\n },\n /** Recessive chrome. */\n grid: \"var(--color-chart-grid)\",\n axis: \"var(--color-chart-axis)\",\n surface: \"var(--color-bg-surface)\",\n track: \"var(--color-bg-sunken)\",\n border: \"var(--color-border-seam)\",\n /** Ink — marks never wear these; labels, axes and legends do. */\n textPrimary: \"var(--color-text-primary)\",\n textSecondary: \"var(--color-text-secondary)\",\n textMuted: \"var(--color-text-muted)\",\n} as const;\n\n/** A named data series drawn by TrendChart / BarsChart. */\nexport interface ChartSeries {\n /** Key into each datum object. */\n key: string;\n /** Human label (legend + tooltip). Falls back to `key`. */\n label?: string;\n /** Explicit mark colour (a CSS colour, typically a `var(--color-*)`). */\n color?: string;\n}\n\n/** A single datum row: an x-value plus one or more numeric series values. */\nexport type ChartDatum = Record<string, string | number | null | undefined>;\n\n/** A slice for DonutChart. */\nexport interface DonutSlice {\n name: string;\n value: number;\n color?: string;\n}\n\n/** Severity tone shared by meters and gauges. */\nexport type MeterTone = \"success\" | \"warning\" | \"danger\";\n\n/**\n * Pick the categorical hue for slot `i`, clamped to the ramp — it NEVER cycles.\n * A count beyond the ramp folds onto the last slot (callers that need more\n * distinct categories should aggregate the tail into \"Other\").\n */\nexport function seriesColor(i: number): string {\n const ramp = chartTokens.series;\n if (i <= 0) return ramp[0];\n return i < ramp.length ? ramp[i] : ramp[ramp.length - 1];\n}\n\n/** Resolve a severity tone to its reserved status token. */\nexport function toneColor(tone: MeterTone): string {\n return chartTokens.status[tone];\n}\n\n/**\n * Resolve the default colour for series slot `i` in an N-series chart: a single\n * series reads on-brand; multiple series take the categorical ramp.\n */\nexport function defaultSeriesColor(index: number, total: number): string {\n return total <= 1 ? chartTokens.brand : seriesColor(index);\n}\n\n/* -------------------------------------------------------------------------- */\n/* Number formatting */\n/* -------------------------------------------------------------------------- */\n\n/** A value formatter: `(value) => label`. Passed to every chart's `valueFormat`. */\nexport type ValueFormatter = (value: number) => string;\n\n/** Plain grouped integer/decimal, e.g. `17,960`. Default everywhere. */\nexport const formatNumber: ValueFormatter = (value) => value.toLocaleString();\n\n/** Compact notation, e.g. `12.9K`, `4.2M` — for axis ticks and dense KPIs. */\nexport const formatCompact: ValueFormatter = (value) =>\n new Intl.NumberFormat(undefined, {\n notation: \"compact\",\n maximumFractionDigits: 1,\n }).format(value);\n\n/** Compact currency, e.g. `$4.2M`. */\nexport function formatCurrencyCompact(currency = \"USD\"): ValueFormatter {\n return (value) =>\n new Intl.NumberFormat(undefined, {\n style: \"currency\",\n currency,\n notation: \"compact\",\n maximumFractionDigits: 1,\n }).format(value);\n}\n\n/** Percent with a fixed number of fraction digits, e.g. `68%`. */\nexport function formatPercent(fractionDigits = 0): ValueFormatter {\n return (value) => `${value.toFixed(fractionDigits)}%`;\n}\n\n/** Render an unknown cell value through a formatter, tolerant of strings/null. */\nexport function renderValue(\n value: number | string | null | undefined,\n formatter: ValueFormatter = formatNumber,\n): string {\n if (value === null || value === undefined) return \"—\";\n if (typeof value === \"number\")\n return Number.isFinite(value) ? formatter(value) : \"—\";\n return String(value);\n}\n\n/* -------------------------------------------------------------------------- */\n/* Motion */\n/* -------------------------------------------------------------------------- */\n\nconst REDUCED_MOTION_QUERY = \"(prefers-reduced-motion: reduce)\";\n\nfunction subscribeReducedMotion(onChange: () => void): () => void {\n if (\n typeof window === \"undefined\" ||\n typeof window.matchMedia !== \"function\"\n ) {\n return () => {};\n }\n const query = window.matchMedia(REDUCED_MOTION_QUERY);\n query.addEventListener(\"change\", onChange);\n return () => query.removeEventListener(\"change\", onChange);\n}\n\nfunction getReducedMotionSnapshot(): boolean {\n if (typeof window === \"undefined\" || typeof window.matchMedia !== \"function\")\n return false;\n return window.matchMedia(REDUCED_MOTION_QUERY).matches;\n}\n\n/**\n * Tracks the user's `prefers-reduced-motion` setting so charts can disable\n * recharts' enter animation. Subscribes to the media query via\n * `useSyncExternalStore` (SSR-safe — defaults to \"not reduced\" on the server).\n */\nexport function usePrefersReducedMotion(): boolean {\n return useSyncExternalStore(\n subscribeReducedMotion,\n getReducedMotionSnapshot,\n () => false,\n );\n}\n"],"mappings":";;AAoBA,IAAa,IAAc;CAEzB,QAAQ;EACN;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD;CAED,OAAO;CAEP,UAAU;CACV,UAAU;CAEV,QAAQ;EACN,SAAS;EACT,SAAS;EACT,QAAQ;EACR,MAAM;EACP;CAED,MAAM;CACN,MAAM;CACN,SAAS;CACT,OAAO;CACP,QAAQ;CAER,aAAa;CACb,eAAe;CACf,WAAW;CACZ;AA8BD,SAAgB,EAAY,GAAmB;CAC7C,IAAM,IAAO,EAAY;AAEzB,QADI,KAAK,IAAU,EAAK,KACjB,IAAI,EAAK,SAAS,EAAK,KAAK,EAAK,EAAK,SAAS;;AAIxD,SAAgB,EAAU,GAAyB;AACjD,QAAO,EAAY,OAAO;;AAO5B,SAAgB,EAAmB,GAAe,GAAuB;AACvE,QAAO,KAAS,IAAI,EAAY,QAAQ,EAAY,EAAM;;AAW5D,IAAa,KAAgC,MAAU,EAAM,gBAAgB;AA0B7E,SAAgB,EACd,GACA,IAA4B,GACpB;AAIR,QAHI,KAAU,OAAoC,MAC9C,OAAO,KAAU,WACZ,OAAO,SAAS,EAAM,GAAG,EAAU,EAAM,GAAG,MAC9C,OAAO,EAAM;;AAOtB,IAAM,IAAuB;AAE7B,SAAS,EAAuB,GAAkC;AAChE,KACE,OAAO,SAAW,OAClB,OAAO,OAAO,cAAe,WAE7B,cAAa;CAEf,IAAM,IAAQ,OAAO,WAAW,EAAqB;AAErD,QADA,EAAM,iBAAiB,UAAU,EAAS,QAC7B,EAAM,oBAAoB,UAAU,EAAS;;AAG5D,SAAS,IAAoC;AAG3C,QAFI,OAAO,SAAW,OAAe,OAAO,OAAO,cAAe,aACzD,KACF,OAAO,WAAW,EAAqB,CAAC;;AAQjD,SAAgB,IAAmC;AACjD,QAAO,EACL,GACA,SACM,GACP"}