@synnaxlabs/pluto 0.34.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/dist/{Animated-CnvOerW9.js → Animated-C7JTBH0T.js} +6 -6
  2. package/dist/{Animated-Ck87AGOu.cjs → Animated-D4IT49PS.cjs} +1 -1
  3. package/dist/{Item--wCat2DH.js → Item-4yG7GmwK.js} +23 -23
  4. package/dist/{Item-DuNQFmgk.cjs → Item-DuYEON-n.cjs} +1 -1
  5. package/dist/{Keyboard-DPs95Etp.cjs → Keyboard-BPoxRive.cjs} +1 -1
  6. package/dist/{Keyboard-Dh_Fhwg4.js → Keyboard-Csje8Cyn.js} +2 -2
  7. package/dist/LinePlot-DbXPZbQH.cjs +34 -0
  8. package/dist/{LinePlot-6KHKqa-2.js → LinePlot-DqoSTxNs.js} +2630 -2365
  9. package/dist/{Link-BHtl4aby.cjs → Link-BRv9hhIc.cjs} +1 -1
  10. package/dist/{Link-CDG2-g6A.js → Link-Crud0q_J.js} +1 -1
  11. package/dist/{List-BjimX8fM.js → List-Cuz80sgI.js} +6 -6
  12. package/dist/{List-C8vXIE2j.cjs → List-Pyj0u9YT.cjs} +1 -1
  13. package/dist/{Pack-D6eMgf33.js → Pack-BzCJQZ58.js} +1 -1
  14. package/dist/{Pack-DijAGcm_.cjs → Pack-Dvf8sQVK.cjs} +1 -1
  15. package/dist/Text-BJ2Pml4B.cjs +1 -0
  16. package/dist/{Text-CzgVM_22.js → Text-DMMYBs-R.js} +12 -12
  17. package/dist/{Toggle-Cdu7WaiC.js → Toggle-CLkPIiQK.js} +10438 -10080
  18. package/dist/Toggle-DnW_7Wr_.cjs +143 -0
  19. package/dist/{Video-DYSz9XOF.js → Video-BGyV37o3.js} +1 -1
  20. package/dist/{Video-BgDjKMJx.cjs → Video-CGe5Hscl.cjs} +1 -1
  21. package/dist/{aggregator-DzdAnRwI.js → aggregator-23mu0FOF.js} +2322 -2177
  22. package/dist/aggregator-y-jNJhKX.cjs +67 -0
  23. package/dist/align.cjs +1 -1
  24. package/dist/align.js +1 -1
  25. package/dist/button.cjs +1 -1
  26. package/dist/button.js +1 -1
  27. package/dist/color.cjs +1 -1
  28. package/dist/color.js +1 -1
  29. package/dist/css-BghghSL0.cjs +1 -0
  30. package/dist/css-DJCM-h5_.js +1178 -0
  31. package/dist/css.cjs +1 -1
  32. package/dist/css.js +2 -2
  33. package/dist/dropdown.cjs +1 -1
  34. package/dist/dropdown.js +1 -1
  35. package/dist/ether.cjs +1 -1
  36. package/dist/ether.js +75 -62
  37. package/dist/{external-k3Jbrj0m.js → external-0a9KHHwz.js} +13 -13
  38. package/dist/external-3DAfrFCZ.cjs +1 -0
  39. package/dist/{external-eI1p10Vf.cjs → external-B7Vpq1ol.cjs} +1 -1
  40. package/dist/{external-DRHWURjA.cjs → external-BV_9eXZJ.cjs} +1 -1
  41. package/dist/{external-lgZ2Gmbx.js → external-BZwFy-XX.js} +16 -16
  42. package/dist/{external-CoQwrjWl.js → external-CIH3tMhP.js} +29 -29
  43. package/dist/{external-BOIjtEGO.js → external-Cf5a9Ia8.js} +2 -2
  44. package/dist/{external-FVIwMFDr.js → external-CgpiH-10.js} +102 -102
  45. package/dist/{external-DcMAC_pY.js → external-Cgq0p0a8.js} +133 -126
  46. package/dist/{external-D9Q5Xjko.js → external-Ci-UP3Vu.js} +2 -2
  47. package/dist/external-CqLAQBcO.cjs +1 -0
  48. package/dist/{external-Cc9o20Al.cjs → external-Ctvxtwfh.cjs} +1 -1
  49. package/dist/{external-CAIE4G3V.cjs → external-D-PsJ1E5.cjs} +1 -1
  50. package/dist/external-D7FmaiqY.js +248 -0
  51. package/dist/{external-DvRQ7lJU.js → external-DAbicix6.js} +2 -2
  52. package/dist/external-DVF3ZJ4z.js +32 -0
  53. package/dist/external-De9tKPlO.js +76 -0
  54. package/dist/{external-CYsmC4uZ.cjs → external-Dk1cXh1i.cjs} +1 -1
  55. package/dist/{external-mtlL4Z3a.cjs → external-DtnrBHvV.cjs} +1 -1
  56. package/dist/external-ZxIaRZdb.cjs +1 -0
  57. package/dist/{external-BbS4QDTb.cjs → external-iiNZw96o.cjs} +1 -1
  58. package/dist/{external-DsKRFJxV.cjs → external-t43feeRt.cjs} +1 -1
  59. package/dist/{external-mE-a2ecU.js → external-xhGCeglf.js} +1 -1
  60. package/dist/{external-CjmMj11F.cjs → external-xtDHiIUX.cjs} +1 -1
  61. package/dist/header.cjs +1 -1
  62. package/dist/header.js +1 -1
  63. package/dist/index.cjs +7 -7
  64. package/dist/index.js +8292 -7208
  65. package/dist/input.cjs +1 -1
  66. package/dist/input.js +1 -1
  67. package/dist/list.cjs +1 -1
  68. package/dist/list.js +1 -1
  69. package/dist/menu.cjs +1 -1
  70. package/dist/menu.js +1 -1
  71. package/dist/src/breadcrumb/Breadcrumb.d.ts +10 -2
  72. package/dist/src/breadcrumb/Breadcrumb.d.ts.map +1 -1
  73. package/dist/src/button/Button.d.ts +2 -0
  74. package/dist/src/button/Button.d.ts.map +1 -1
  75. package/dist/src/button/Icon.d.ts +2 -0
  76. package/dist/src/button/Icon.d.ts.map +1 -1
  77. package/dist/src/color/GradientPicker.d.ts +10 -0
  78. package/dist/src/color/GradientPicker.d.ts.map +1 -0
  79. package/dist/src/color/Picker.d.ts +9 -0
  80. package/dist/src/color/Picker.d.ts.map +1 -0
  81. package/dist/src/color/Provider.d.ts +139 -0
  82. package/dist/src/color/Provider.d.ts.map +1 -0
  83. package/dist/src/color/Swatch.d.ts +13 -0
  84. package/dist/src/color/Swatch.d.ts.map +1 -0
  85. package/dist/src/color/core/external.d.ts +4 -0
  86. package/dist/src/color/core/external.d.ts.map +1 -0
  87. package/dist/src/color/core/gradient.d.ts +58 -0
  88. package/dist/src/color/core/gradient.d.ts.map +1 -0
  89. package/dist/src/color/core/index.d.ts +1 -2
  90. package/dist/src/color/core/index.d.ts.map +1 -1
  91. package/dist/src/color/core/palette.d.ts +74 -0
  92. package/dist/src/color/core/palette.d.ts.map +1 -0
  93. package/dist/src/color/external.d.ts +4 -1
  94. package/dist/src/color/external.d.ts.map +1 -1
  95. package/dist/src/haul/Haul.d.ts +0 -1
  96. package/dist/src/haul/Haul.d.ts.map +1 -1
  97. package/dist/src/hooks/index.d.ts +1 -0
  98. package/dist/src/hooks/index.d.ts.map +1 -1
  99. package/dist/src/hooks/useDelayedState.d.ts +11 -0
  100. package/dist/src/hooks/useDelayedState.d.ts.map +1 -0
  101. package/dist/src/index.d.ts +2 -0
  102. package/dist/src/index.d.ts.map +1 -1
  103. package/dist/src/input/Text.d.ts.map +1 -1
  104. package/dist/src/nav/Drawer.d.ts.map +1 -1
  105. package/dist/src/notation/Select.d.ts +8 -0
  106. package/dist/src/notation/Select.d.ts.map +1 -0
  107. package/dist/src/notation/external.d.ts +3 -0
  108. package/dist/src/notation/external.d.ts.map +1 -0
  109. package/dist/src/notation/index.d.ts +2 -0
  110. package/dist/src/notation/index.d.ts.map +1 -0
  111. package/dist/src/notation/notation.d.ts.map +1 -1
  112. package/dist/src/pluto/Pluto.d.ts +3 -1
  113. package/dist/src/pluto/Pluto.d.ts.map +1 -1
  114. package/dist/src/pluto/aether/pluto.d.ts.map +1 -1
  115. package/dist/src/select/Button.d.ts +5 -3
  116. package/dist/src/select/Button.d.ts.map +1 -1
  117. package/dist/src/select/Direction.d.ts +2 -1
  118. package/dist/src/select/Direction.d.ts.map +1 -1
  119. package/dist/src/select/Single.d.ts +1 -1
  120. package/dist/src/select/Single.d.ts.map +1 -1
  121. package/dist/src/status/Circle.d.ts +1 -1
  122. package/dist/src/status/Circle.d.ts.map +1 -1
  123. package/dist/src/table/Table.d.ts +30 -0
  124. package/dist/src/table/Table.d.ts.map +1 -0
  125. package/dist/src/table/aether/Table.d.ts +493 -0
  126. package/dist/src/table/aether/Table.d.ts.map +1 -0
  127. package/dist/src/table/aether/index.d.ts +2 -0
  128. package/dist/src/table/aether/index.d.ts.map +1 -0
  129. package/dist/src/table/cells/Cells.d.ts +191 -0
  130. package/dist/src/table/cells/Cells.d.ts.map +1 -0
  131. package/dist/src/table/cells/Forms.d.ts +7 -0
  132. package/dist/src/table/cells/Forms.d.ts.map +1 -0
  133. package/dist/src/table/cells/index.d.ts +2 -0
  134. package/dist/src/table/cells/index.d.ts.map +1 -0
  135. package/dist/src/table/cells/registry.d.ts +17 -0
  136. package/dist/src/table/cells/registry.d.ts.map +1 -0
  137. package/dist/src/table/external.d.ts +2 -0
  138. package/dist/src/table/external.d.ts.map +1 -0
  139. package/dist/src/table/index.d.ts +2 -0
  140. package/dist/src/table/index.d.ts.map +1 -0
  141. package/dist/src/telem/aether/pipeline.d.ts +35 -24
  142. package/dist/src/telem/aether/pipeline.d.ts.map +1 -1
  143. package/dist/src/telem/aether/provider.d.ts +7 -6
  144. package/dist/src/telem/aether/provider.d.ts.map +1 -1
  145. package/dist/src/telem/aether/static.d.ts +22 -1
  146. package/dist/src/telem/aether/static.d.ts.map +1 -1
  147. package/dist/src/telem/aether/transformers.d.ts +217 -2
  148. package/dist/src/telem/aether/transformers.d.ts.map +1 -1
  149. package/dist/src/telem/control/aether/controller.d.ts.map +1 -1
  150. package/dist/src/text/Editable.d.ts +2 -1
  151. package/dist/src/text/Editable.d.ts.map +1 -1
  152. package/dist/src/text/Select.d.ts +19 -0
  153. package/dist/src/text/Select.d.ts.map +1 -0
  154. package/dist/src/text/core/types.d.ts +2 -1
  155. package/dist/src/text/core/types.d.ts.map +1 -1
  156. package/dist/src/text/external.d.ts +1 -1
  157. package/dist/src/text/external.d.ts.map +1 -1
  158. package/dist/src/theming/Provider.d.ts.map +1 -1
  159. package/dist/src/theming/aether/provider.d.ts +375 -0
  160. package/dist/src/theming/aether/provider.d.ts.map +1 -1
  161. package/dist/src/theming/core/theme.d.ts +127 -0
  162. package/dist/src/theming/core/theme.d.ts.map +1 -1
  163. package/dist/src/tree/core.d.ts +3 -1
  164. package/dist/src/tree/core.d.ts.map +1 -1
  165. package/dist/src/vis/axis/canvas.d.ts +11 -0
  166. package/dist/src/vis/axis/canvas.d.ts.map +1 -1
  167. package/dist/src/vis/canvas/Canvas.d.ts.map +1 -1
  168. package/dist/src/vis/diagram/Diagram.d.ts +2 -1
  169. package/dist/src/vis/diagram/Diagram.d.ts.map +1 -1
  170. package/dist/src/vis/diagram/aether/types.d.ts +17 -0
  171. package/dist/src/vis/diagram/aether/types.d.ts.map +1 -1
  172. package/dist/src/vis/diagram/edge/Edge.d.ts +3 -2
  173. package/dist/src/vis/diagram/edge/Edge.d.ts.map +1 -1
  174. package/dist/src/vis/diagram/edge/paths.d.ts +20 -0
  175. package/dist/src/vis/diagram/edge/paths.d.ts.map +1 -0
  176. package/dist/src/vis/diagram/external.d.ts +1 -0
  177. package/dist/src/vis/diagram/external.d.ts.map +1 -1
  178. package/dist/src/vis/draw2d/canvas.d.ts +19 -0
  179. package/dist/src/vis/draw2d/canvas.d.ts.map +1 -1
  180. package/dist/src/vis/legend/Container.d.ts.map +1 -1
  181. package/dist/src/vis/line/aether/line.d.ts.map +1 -1
  182. package/dist/src/vis/lineplot/aether/YAxis.d.ts.map +1 -1
  183. package/dist/src/vis/render/context.d.ts.map +1 -1
  184. package/dist/src/vis/schematic/Forms.d.ts +1 -0
  185. package/dist/src/vis/schematic/Forms.d.ts.map +1 -1
  186. package/dist/src/vis/schematic/Grid.d.ts +16 -0
  187. package/dist/src/vis/schematic/Grid.d.ts.map +1 -0
  188. package/dist/src/vis/schematic/Symbols.d.ts +248 -371
  189. package/dist/src/vis/schematic/Symbols.d.ts.map +1 -1
  190. package/dist/src/vis/schematic/primitives/Primitives.d.ts +39 -0
  191. package/dist/src/vis/schematic/primitives/Primitives.d.ts.map +1 -1
  192. package/dist/src/vis/schematic/registry.d.ts +2 -2
  193. package/dist/src/vis/schematic/registry.d.ts.map +1 -1
  194. package/dist/src/vis/value/Form.d.ts +9 -0
  195. package/dist/src/vis/value/Form.d.ts.map +1 -0
  196. package/dist/src/vis/value/aether/value.d.ts +167 -0
  197. package/dist/src/vis/value/aether/value.d.ts.map +1 -1
  198. package/dist/src/vis/value/external.d.ts +1 -0
  199. package/dist/src/vis/value/external.d.ts.map +1 -1
  200. package/dist/src/vis/value/use.d.ts +56 -1
  201. package/dist/src/vis/value/use.d.ts.map +1 -1
  202. package/dist/src/workMain.d.ts +2 -0
  203. package/dist/src/workMain.d.ts.map +1 -0
  204. package/dist/style.css +1 -1
  205. package/dist/tabs.cjs +1 -1
  206. package/dist/tabs.js +1 -1
  207. package/dist/text.cjs +1 -1
  208. package/dist/text.js +2 -2
  209. package/dist/theming.cjs +1 -1
  210. package/dist/theming.js +2 -2
  211. package/dist/tree.cjs +1 -1
  212. package/dist/tree.js +1 -1
  213. package/dist/triggers.cjs +1 -1
  214. package/dist/triggers.js +1 -1
  215. package/dist/{units-CR-P9eLW.cjs → units-9h1yAbxY.cjs} +1 -1
  216. package/dist/{units-rb5QAWjs.js → units-D19WggGS.js} +1 -1
  217. package/dist/video.cjs +1 -1
  218. package/dist/video.js +1 -1
  219. package/package.json +6 -5
  220. package/dist/LinePlot--yLT9nkT.cjs +0 -34
  221. package/dist/Text-Cg0q7seY.cjs +0 -1
  222. package/dist/Toggle-CP9KtybX.cjs +0 -143
  223. package/dist/aggregator-C0Ab25_o.cjs +0 -67
  224. package/dist/css-B4FcyECk.js +0 -1112
  225. package/dist/css-Dh7n0EGs.cjs +0 -1
  226. package/dist/external-B72rRj4o.js +0 -76
  227. package/dist/external-CsqyDUsJ.js +0 -96
  228. package/dist/external-CsrLjLOh.cjs +0 -1
  229. package/dist/external-Dm2-owlq.cjs +0 -1
  230. package/dist/external-Yf8Lv9AU.js +0 -248
  231. package/dist/external-gz4sf3pG.cjs +0 -1
  232. package/dist/src/color/Picker/Picker.d.ts +0 -7
  233. package/dist/src/color/Picker/Picker.d.ts.map +0 -1
  234. package/dist/src/color/Picker/index.d.ts +0 -2
  235. package/dist/src/color/Picker/index.d.ts.map +0 -1
  236. package/dist/src/color/Swatch/Swatch.d.ts +0 -10
  237. package/dist/src/color/Swatch/Swatch.d.ts.map +0 -1
  238. package/dist/src/color/Swatch/index.d.ts +0 -2
  239. package/dist/src/color/Swatch/index.d.ts.map +0 -1
  240. package/dist/src/notation/SelectNotation.d.ts +0 -12
  241. package/dist/src/notation/SelectNotation.d.ts.map +0 -1
  242. package/dist/src/text/SelectLevel.d.ts +0 -12
  243. package/dist/src/text/SelectLevel.d.ts.map +0 -1
  244. package/dist/src/vis/schematic/Labeled.d.ts +0 -17
  245. package/dist/src/vis/schematic/Labeled.d.ts.map +0 -1
@@ -1,11 +1,11 @@
1
- import { a1 as fe, au as Pe, ak as ke, ab as ve, av as Te, a5 as Ce, l as Fe, aa as Ne, aw as $e, ax as je, a6 as De, ay as Ke, az as Ye, aA as We, aB as ze, aC as He, ac as Be, aD as Ve, aE as Ue, a0 as Ge, aF as Je, aG as Qe, aH as Xe } from "./Toggle-Cdu7WaiC.js";
1
+ import { a9 as fe, aF as Pe, av as ke, ak as ve, aG as Te, ae as Ce, m as Ne, aj as Fe, aH as $e, aI as je, af as De, aJ as Ke, aK as Ye, aL as We, aM as ze, aN as He, am as Ve, aO as Be, aP as Ue, a8 as Ge, aQ as Je, aR as Qe, aS as Xe } from "./Toggle-CLkPIiQK.js";
2
2
  import { j as Ze } from "./jsx-runtime-B6kdoens.js";
3
3
  import { useCallback as qe } from "react";
4
- import { w as et, p as tt } from "./aggregator-DzdAnRwI.js";
5
- import "./css-B4FcyECk.js";
6
- import "./Pack-D6eMgf33.js";
7
- import { L as st } from "./List-BjimX8fM.js";
8
- const de = Symbol(), q = Symbol(), v = "a", N = "w";
4
+ import { q as et, p as tt } from "./aggregator-23mu0FOF.js";
5
+ import "./css-DJCM-h5_.js";
6
+ import "./Pack-BzCJQZ58.js";
7
+ import { L as st } from "./List-Cuz80sgI.js";
8
+ const de = Symbol(), q = Symbol(), v = "a", F = "w";
9
9
  let rt = (t, e) => new Proxy(t, e);
10
10
  const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) => t && (ne.has(t) ? ne.get(t) : H(t) === Object.prototype || H(t) === Array.prototype), ie = (t) => typeof t == "object" && t !== null, ce = /* @__PURE__ */ new WeakMap(), ge = (t) => t[q] || t, pe = (t, e, s) => {
11
11
  if (!ee(t)) return t;
@@ -17,13 +17,13 @@ const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) =>
17
17
  const l = (f, g) => {
18
18
  if (!h) {
19
19
  let p = a[v].get(c);
20
- if (p || (p = {}, a[v].set(c, p)), f === N) p[N] = !0;
20
+ if (p || (p = {}, a[v].set(c, p)), f === F) p[F] = !0;
21
21
  else {
22
22
  let m = p[f];
23
23
  m || (m = /* @__PURE__ */ new Set(), p[f] = m), m.add(g);
24
24
  }
25
25
  }
26
- }, u = { get: (f, g) => g === q ? c : (l("k", g), pe(Reflect.get(f, g), a[v], a.c)), has: (f, g) => g === de ? (h = !0, a[v].delete(c), !0) : (l("h", g), Reflect.has(f, g)), getOwnPropertyDescriptor: (f, g) => (l("o", g), Reflect.getOwnPropertyDescriptor(f, g)), ownKeys: (f) => (l(N), Reflect.ownKeys(f)) };
26
+ }, u = { get: (f, g) => g === q ? c : (l("k", g), pe(Reflect.get(f, g), a[v], a.c)), has: (f, g) => g === de ? (h = !0, a[v].delete(c), !0) : (l("h", g), Reflect.has(f, g)), getOwnPropertyDescriptor: (f, g) => (l("o", g), Reflect.getOwnPropertyDescriptor(f, g)), ownKeys: (f) => (l(F), Reflect.ownKeys(f)) };
27
27
  return o && (u.set = u.deleteProperty = () => !1), [u, a];
28
28
  })(r, i), n[1].p = rt(i ? ((c) => {
29
29
  let o = ce.get(c);
@@ -52,7 +52,7 @@ const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) =>
52
52
  let n = null;
53
53
  try {
54
54
  for (const c of i.h || []) if (n = Reflect.has(t, c) !== Reflect.has(e, c), n) return n;
55
- if (i[N] === !0) {
55
+ if (i[F] === !0) {
56
56
  if (n = ((c, o) => {
57
57
  const a = Reflect.ownKeys(c), h = Reflect.ownKeys(o);
58
58
  return a.length !== h.length || a.some((l, u) => l !== h[u]);
@@ -63,23 +63,23 @@ const H = Object.getPrototypeOf, ne = /* @__PURE__ */ new WeakMap(), ee = (t) =>
63
63
  } finally {
64
64
  r && r.set(t, { n: e, g: n });
65
65
  }
66
- }, nt = (t) => !!ee(t) && de in t, ye = (t) => ee(t) && t[q] || null, it = "h", ct = "w", ot = "o", at = "k", B = (t) => typeof t == "object" && t !== null, Me = (t, e) => {
67
- if (!B(t)) return t;
68
- const s = ye(t);
66
+ }, nt = (t) => !!ee(t) && de in t, Me = (t) => ee(t) && t[q] || null, it = "h", ct = "w", ot = "o", at = "k", V = (t) => typeof t == "object" && t !== null, ye = (t, e) => {
67
+ if (!V(t)) return t;
68
+ const s = Me(t);
69
69
  return s !== null ? (nt(t), s) : (e.has(t) || (e.add(t), Object.entries(t).forEach(([r, i]) => {
70
- const n = Me(i, e);
70
+ const n = ye(i, e);
71
71
  Object.is(n, i) || (t[r] = n);
72
72
  })), t);
73
- }, V = (t, e, s) => {
73
+ }, B = (t, e, s) => {
74
74
  var r, i, n;
75
- if (!B(t) || !B(e)) return;
76
- const c = s.get(ye(e) || e);
75
+ if (!V(t) || !V(e)) return;
76
+ const c = s.get(Me(e) || e);
77
77
  c && ((r = c[it]) == null || r.forEach((o) => {
78
78
  Reflect.has(t, o);
79
79
  }), c[ct] === !0 && Reflect.ownKeys(t), (i = c[ot]) == null || i.forEach((o) => {
80
80
  Reflect.getOwnPropertyDescriptor(t, o);
81
81
  }), (n = c[at]) == null || n.forEach((o) => {
82
- V(t[o], e[o], s);
82
+ B(t[o], e[o], s);
83
83
  }));
84
84
  }, K = "o", Y = "r", W = "a";
85
85
  function lt(t, e) {
@@ -94,10 +94,10 @@ function lt(t, e) {
94
94
  const m = n[(r + p) % i];
95
95
  if (!m) break;
96
96
  if (!me(m[K], a, m[W], /* @__PURE__ */ new WeakMap()))
97
- return V(a, m[K], m[W]), c == null || c.set(a, m), m[Y];
97
+ return B(a, m[K], m[W]), c == null || c.set(a, m), m[Y];
98
98
  }
99
- const l = /* @__PURE__ */ new WeakMap(), u = pe(a, l), f = Me(t(u), /* @__PURE__ */ new Set());
100
- V(a, a, l);
99
+ const l = /* @__PURE__ */ new WeakMap(), u = pe(a, l), f = ye(t(u), /* @__PURE__ */ new Set());
100
+ B(a, a, l);
101
101
  const g = {
102
102
  [K]: a,
103
103
  [Y]: f,
@@ -135,7 +135,7 @@ function _e(t) {
135
135
  function pt(t) {
136
136
  return _e(t) && t !== null;
137
137
  }
138
- function y(t) {
138
+ function M(t) {
139
139
  return t != null;
140
140
  }
141
141
  function z(t) {
@@ -144,7 +144,7 @@ function z(t) {
144
144
  function Se(t) {
145
145
  return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(t);
146
146
  }
147
- const mt = "Incorrect 'index' type", yt = (t) => `Invalid value for key ${t}`, Mt = (t) => `Pattern length exceeds max of ${t}.`, Et = (t) => `Missing ${t} property in key`, _t = (t) => `Property 'weight' in key '${t}' must be a positive integer`, oe = Object.prototype.hasOwnProperty;
147
+ const mt = "Incorrect 'index' type", Mt = (t) => `Invalid value for key ${t}`, yt = (t) => `Pattern length exceeds max of ${t}.`, Et = (t) => `Missing ${t} property in key`, _t = (t) => `Property 'weight' in key '${t}' must be a positive integer`, oe = Object.prototype.hasOwnProperty;
148
148
  class St {
149
149
  constructor(e) {
150
150
  this._keys = [], this._keyMap = {};
@@ -189,13 +189,13 @@ function U(t) {
189
189
  function xt(t, e) {
190
190
  let s = [], r = !1;
191
191
  const i = (n, c, o) => {
192
- if (y(n))
192
+ if (M(n))
193
193
  if (!c[o])
194
194
  s.push(n);
195
195
  else {
196
196
  let a = c[o];
197
197
  const h = n[a];
198
- if (!y(h))
198
+ if (!M(h))
199
199
  return;
200
200
  if (o === c.length - 1 && (_(h) || Ee(h) || gt(h)))
201
201
  s.push(dt(h));
@@ -218,7 +218,7 @@ const Rt = {
218
218
  findAllMatches: !1,
219
219
  // Minimum number of characters that must be matched before a result is considered a match
220
220
  minMatchCharLength: 1
221
- }, wt = {
221
+ }, Ot = {
222
222
  // When `true`, the algorithm continues searching to the end of the input even if a perfect
223
223
  // match is found before the end of the same input.
224
224
  isCaseSensitive: !1,
@@ -230,7 +230,7 @@ const Rt = {
230
230
  shouldSort: !0,
231
231
  // Default sort function: sort by ascending score, ascending index
232
232
  sortFn: (t, e) => t.score === e.score ? t.idx < e.idx ? -1 : 1 : t.score < e.score ? -1 : 1
233
- }, Ot = {
233
+ }, wt = {
234
234
  // Approximately where in the text is the pattern expected to be found?
235
235
  location: 0,
236
236
  // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match
@@ -242,7 +242,7 @@ const Rt = {
242
242
  // the exact location specified, a threshold of '1000' would require a perfect match
243
243
  // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.
244
244
  distance: 100
245
- }, At = {
245
+ }, It = {
246
246
  // When `true`, it enables the use of unix-like search commands
247
247
  useExtendedSearch: !1,
248
248
  // The get function to use when fetching an object's properties.
@@ -260,17 +260,17 @@ const Rt = {
260
260
  fieldNormWeight: 1
261
261
  };
262
262
  var d = {
263
- ...wt,
264
- ...Rt,
265
263
  ...Ot,
266
- ...At
264
+ ...Rt,
265
+ ...wt,
266
+ ...It
267
267
  };
268
- const It = /[^ ]+/g;
268
+ const At = /[^ ]+/g;
269
269
  function bt(t = 1, e = 3) {
270
270
  const s = /* @__PURE__ */ new Map(), r = Math.pow(10, e);
271
271
  return {
272
272
  get(i) {
273
- const n = i.match(It).length;
273
+ const n = i.match(At).length;
274
274
  if (s.has(n))
275
275
  return s.get(n);
276
276
  const c = 1 / Math.pow(n, 0.5 * t), o = parseFloat(Math.round(c * r) / r);
@@ -324,7 +324,7 @@ class te {
324
324
  return this.records.length;
325
325
  }
326
326
  _addString(e, s) {
327
- if (!y(e) || z(e))
327
+ if (!M(e) || z(e))
328
328
  return;
329
329
  let r = {
330
330
  v: e,
@@ -337,13 +337,13 @@ class te {
337
337
  let r = { i: s, $: {} };
338
338
  this.keys.forEach((i, n) => {
339
339
  let c = i.getFn ? i.getFn(e) : this.getFn(e, i.path);
340
- if (y(c)) {
340
+ if (M(c)) {
341
341
  if (x(c)) {
342
342
  let o = [];
343
343
  const a = [{ nestedArrIndex: -1, value: c }];
344
344
  for (; a.length; ) {
345
345
  const { nestedArrIndex: h, value: l } = a.pop();
346
- if (y(l))
346
+ if (M(l))
347
347
  if (_(l) && !z(l)) {
348
348
  let u = {
349
349
  v: l,
@@ -384,7 +384,7 @@ function Lt(t, { getFn: e = d.getFn, fieldNormWeight: s = d.fieldNormWeight } =
384
384
  const { keys: r, records: i } = t, n = new te({ getFn: e, fieldNormWeight: s });
385
385
  return n.setKeys(r), n.setIndexRecords(i), n;
386
386
  }
387
- function F(t, {
387
+ function N(t, {
388
388
  errors: e = 0,
389
389
  currentLocation: s = 0,
390
390
  expectedLocation: r = 0,
@@ -416,56 +416,56 @@ function kt(t, e, s, {
416
416
  ignoreLocation: h = d.ignoreLocation
417
417
  } = {}) {
418
418
  if (e.length > b)
419
- throw new Error(Mt(b));
419
+ throw new Error(yt(b));
420
420
  const l = e.length, u = t.length, f = Math.max(0, Math.min(r, u));
421
421
  let g = n, p = f;
422
- const m = o > 1 || a, A = m ? Array(u) : [];
422
+ const m = o > 1 || a, I = m ? Array(u) : [];
423
423
  let S;
424
424
  for (; (S = t.indexOf(e, p)) > -1; ) {
425
- let M = F(e, {
425
+ let y = N(e, {
426
426
  currentLocation: S,
427
427
  expectedLocation: f,
428
428
  distance: i,
429
429
  ignoreLocation: h
430
430
  });
431
- if (g = Math.min(M, g), p = S + l, m) {
431
+ if (g = Math.min(y, g), p = S + l, m) {
432
432
  let R = 0;
433
433
  for (; R < l; )
434
- A[S + R] = 1, R += 1;
434
+ I[S + R] = 1, R += 1;
435
435
  }
436
436
  }
437
437
  p = -1;
438
- let L = [], I = 1, T = l + u;
438
+ let L = [], A = 1, T = l + u;
439
439
  const Le = 1 << l - 1;
440
- for (let M = 0; M < l; M += 1) {
441
- let R = 0, w = T;
442
- for (; R < w; )
443
- F(e, {
444
- errors: M,
445
- currentLocation: f + w,
440
+ for (let y = 0; y < l; y += 1) {
441
+ let R = 0, O = T;
442
+ for (; R < O; )
443
+ N(e, {
444
+ errors: y,
445
+ currentLocation: f + O,
446
446
  expectedLocation: f,
447
447
  distance: i,
448
448
  ignoreLocation: h
449
- }) <= g ? R = w : T = w, w = Math.floor((T - R) / 2 + R);
450
- T = w;
451
- let se = Math.max(1, f - w + 1), D = c ? u : Math.min(f + w, u) + l, P = Array(D + 2);
452
- P[D + 1] = (1 << M) - 1;
449
+ }) <= g ? R = O : T = O, O = Math.floor((T - R) / 2 + R);
450
+ T = O;
451
+ let se = Math.max(1, f - O + 1), D = c ? u : Math.min(f + O, u) + l, P = Array(D + 2);
452
+ P[D + 1] = (1 << y) - 1;
453
453
  for (let E = D; E >= se; E -= 1) {
454
454
  let C = E - 1, re = s[t.charAt(C)];
455
- if (m && (A[C] = +!!re), P[E] = (P[E + 1] << 1 | 1) & re, M && (P[E] |= (L[E + 1] | L[E]) << 1 | 1 | L[E + 1]), P[E] & Le && (I = F(e, {
456
- errors: M,
455
+ if (m && (I[C] = +!!re), P[E] = (P[E + 1] << 1 | 1) & re, y && (P[E] |= (L[E + 1] | L[E]) << 1 | 1 | L[E + 1]), P[E] & Le && (A = N(e, {
456
+ errors: y,
457
457
  currentLocation: C,
458
458
  expectedLocation: f,
459
459
  distance: i,
460
460
  ignoreLocation: h
461
- }), I <= g)) {
462
- if (g = I, p = C, p <= f)
461
+ }), A <= g)) {
462
+ if (g = A, p = C, p <= f)
463
463
  break;
464
464
  se = Math.max(1, 2 * f - p);
465
465
  }
466
466
  }
467
- if (F(e, {
468
- errors: M + 1,
467
+ if (N(e, {
468
+ errors: y + 1,
469
469
  currentLocation: f,
470
470
  expectedLocation: f,
471
471
  distance: i,
@@ -477,11 +477,11 @@ function kt(t, e, s, {
477
477
  const j = {
478
478
  isMatch: p >= 0,
479
479
  // Count exact matches (those with a score of 0) to be "almost" exact
480
- score: Math.max(1e-3, I)
480
+ score: Math.max(1e-3, A)
481
481
  };
482
482
  if (m) {
483
- const M = Pt(A, o);
484
- M.length ? a && (j.indices = M) : j.isMatch = !1;
483
+ const y = Pt(I, o);
484
+ y.length ? a && (j.indices = y) : j.isMatch = !1;
485
485
  }
486
486
  return j;
487
487
  }
@@ -493,7 +493,7 @@ function vt(t) {
493
493
  }
494
494
  return e;
495
495
  }
496
- class we {
496
+ class Oe {
497
497
  constructor(e, {
498
498
  location: s = d.location,
499
499
  threshold: r = d.threshold,
@@ -552,9 +552,9 @@ class we {
552
552
  ignoreLocation: h
553
553
  } = this.options;
554
554
  let l = [], u = 0, f = !1;
555
- this.chunks.forEach(({ pattern: p, alphabet: m, startIndex: A }) => {
556
- const { isMatch: S, score: L, indices: I } = kt(e, p, m, {
557
- location: i + A,
555
+ this.chunks.forEach(({ pattern: p, alphabet: m, startIndex: I }) => {
556
+ const { isMatch: S, score: L, indices: A } = kt(e, p, m, {
557
+ location: i + I,
558
558
  distance: n,
559
559
  threshold: c,
560
560
  findAllMatches: o,
@@ -562,7 +562,7 @@ class we {
562
562
  includeMatches: r,
563
563
  ignoreLocation: h
564
564
  });
565
- S && (f = !0), u += L, S && I && (l = [...l, ...I]);
565
+ S && (f = !0), u += L, S && A && (l = [...l, ...A]);
566
566
  });
567
567
  let g = {
568
568
  isMatch: f,
@@ -571,7 +571,7 @@ class we {
571
571
  return f && r && (g.indices = l), g;
572
572
  }
573
573
  }
574
- class O {
574
+ class w {
575
575
  constructor(e) {
576
576
  this.pattern = e;
577
577
  }
@@ -588,7 +588,7 @@ function le(t, e) {
588
588
  const s = t.match(e);
589
589
  return s ? s[1] : null;
590
590
  }
591
- class Tt extends O {
591
+ class Tt extends w {
592
592
  constructor(e) {
593
593
  super(e);
594
594
  }
@@ -610,7 +610,7 @@ class Tt extends O {
610
610
  };
611
611
  }
612
612
  }
613
- class Ct extends O {
613
+ class Ct extends w {
614
614
  constructor(e) {
615
615
  super(e);
616
616
  }
@@ -632,7 +632,7 @@ class Ct extends O {
632
632
  };
633
633
  }
634
634
  }
635
- class Ft extends O {
635
+ class Nt extends w {
636
636
  constructor(e) {
637
637
  super(e);
638
638
  }
@@ -654,7 +654,7 @@ class Ft extends O {
654
654
  };
655
655
  }
656
656
  }
657
- class Nt extends O {
657
+ class Ft extends w {
658
658
  constructor(e) {
659
659
  super(e);
660
660
  }
@@ -676,7 +676,7 @@ class Nt extends O {
676
676
  };
677
677
  }
678
678
  }
679
- class $t extends O {
679
+ class $t extends w {
680
680
  constructor(e) {
681
681
  super(e);
682
682
  }
@@ -698,7 +698,7 @@ class $t extends O {
698
698
  };
699
699
  }
700
700
  }
701
- class jt extends O {
701
+ class jt extends w {
702
702
  constructor(e) {
703
703
  super(e);
704
704
  }
@@ -720,7 +720,7 @@ class jt extends O {
720
720
  };
721
721
  }
722
722
  }
723
- class Oe extends O {
723
+ class we extends w {
724
724
  constructor(e, {
725
725
  location: s = d.location,
726
726
  threshold: r = d.threshold,
@@ -731,7 +731,7 @@ class Oe extends O {
731
731
  isCaseSensitive: a = d.isCaseSensitive,
732
732
  ignoreLocation: h = d.ignoreLocation
733
733
  } = {}) {
734
- super(e), this._bitapSearch = new we(e, {
734
+ super(e), this._bitapSearch = new Oe(e, {
735
735
  location: s,
736
736
  threshold: r,
737
737
  distance: i,
@@ -755,7 +755,7 @@ class Oe extends O {
755
755
  return this._bitapSearch.searchIn(e);
756
756
  }
757
757
  }
758
- class Ae extends O {
758
+ class Ie extends w {
759
759
  constructor(e) {
760
760
  super(e);
761
761
  }
@@ -783,13 +783,13 @@ class Ae extends O {
783
783
  }
784
784
  const G = [
785
785
  Tt,
786
- Ae,
787
- Ft,
786
+ Ie,
788
787
  Nt,
788
+ Ft,
789
789
  jt,
790
790
  $t,
791
791
  Ct,
792
- Oe
792
+ we
793
793
  ], he = G.length, Dt = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, Kt = "|";
794
794
  function Yt(t, e = {}) {
795
795
  return t.split(Kt).map((s) => {
@@ -815,7 +815,7 @@ function Yt(t, e = {}) {
815
815
  return i;
816
816
  });
817
817
  }
818
- const Wt = /* @__PURE__ */ new Set([Oe.type, Ae.type]);
818
+ const Wt = /* @__PURE__ */ new Set([we.type, Ie.type]);
819
819
  class zt {
820
820
  constructor(e, {
821
821
  isCaseSensitive: s = d.isCaseSensitive,
@@ -855,9 +855,9 @@ class zt {
855
855
  const l = s[a];
856
856
  c.length = 0, n = 0;
857
857
  for (let u = 0, f = l.length; u < f; u += 1) {
858
- const g = l[u], { isMatch: p, indices: m, score: A } = g.search(e);
858
+ const g = l[u], { isMatch: p, indices: m, score: I } = g.search(e);
859
859
  if (p) {
860
- if (n += 1, o += A, r) {
860
+ if (n += 1, o += I, r) {
861
861
  const S = g.constructor.type;
862
862
  Wt.has(S) ? c = [...c, ...m] : c.push(m);
863
863
  }
@@ -890,7 +890,7 @@ function Q(t, e) {
890
890
  if (i.condition(t, e))
891
891
  return new i(t, e);
892
892
  }
893
- return new we(t, e);
893
+ return new Oe(t, e);
894
894
  }
895
895
  const $ = {
896
896
  AND: "$and",
@@ -898,21 +898,21 @@ const $ = {
898
898
  }, X = {
899
899
  PATH: "$path",
900
900
  PATTERN: "$val"
901
- }, Z = (t) => !!(t[$.AND] || t[$.OR]), Bt = (t) => !!t[X.PATH], Vt = (t) => !x(t) && _e(t) && !Z(t), ue = (t) => ({
901
+ }, Z = (t) => !!(t[$.AND] || t[$.OR]), Vt = (t) => !!t[X.PATH], Bt = (t) => !x(t) && _e(t) && !Z(t), ue = (t) => ({
902
902
  [$.AND]: Object.keys(t).map((e) => ({
903
903
  [e]: t[e]
904
904
  }))
905
905
  });
906
- function Ie(t, e, { auto: s = !0 } = {}) {
906
+ function Ae(t, e, { auto: s = !0 } = {}) {
907
907
  const r = (i) => {
908
908
  let n = Object.keys(i);
909
- const c = Bt(i);
909
+ const c = Vt(i);
910
910
  if (!c && n.length > 1 && !Z(i))
911
911
  return r(ue(i));
912
- if (Vt(i)) {
912
+ if (Bt(i)) {
913
913
  const a = c ? i[X.PATH] : n[0], h = c ? i[X.PATTERN] : i[a];
914
914
  if (!_(h))
915
- throw new Error(yt(a));
915
+ throw new Error(Mt(a));
916
916
  const l = {
917
917
  keyId: U(a),
918
918
  pattern: h
@@ -946,8 +946,8 @@ function Ut(t, { ignoreFieldNorm: e = d.ignoreFieldNorm }) {
946
946
  }
947
947
  function Gt(t, e) {
948
948
  const s = t.matches;
949
- e.matches = [], y(s) && s.forEach((r) => {
950
- if (!y(r.indices) || !r.indices.length)
949
+ e.matches = [], M(s) && s.forEach((r) => {
950
+ if (!M(r.indices) || !r.indices.length)
951
951
  return;
952
952
  const { indices: i, value: n } = r;
953
953
  let c = {
@@ -988,7 +988,7 @@ class k {
988
988
  });
989
989
  }
990
990
  add(e) {
991
- y(e) && (this._docs.push(e), this._myIndex.add(e));
991
+ M(e) && (this._docs.push(e), this._myIndex.add(e));
992
992
  }
993
993
  remove(e = () => !1) {
994
994
  const s = [];
@@ -1021,7 +1021,7 @@ class k {
1021
1021
  _searchStringList(e) {
1022
1022
  const s = Q(e, this.options), { records: r } = this._myIndex, i = [];
1023
1023
  return r.forEach(({ v: n, i: c, n: o }) => {
1024
- if (!y(n))
1024
+ if (!M(n))
1025
1025
  return;
1026
1026
  const { isMatch: a, score: h, indices: l } = s.searchIn(n);
1027
1027
  a && i.push({
@@ -1032,7 +1032,7 @@ class k {
1032
1032
  }), i;
1033
1033
  }
1034
1034
  _searchLogical(e) {
1035
- const s = Ie(e, this.options), r = (o, a, h) => {
1035
+ const s = Ae(e, this.options), r = (o, a, h) => {
1036
1036
  if (!o.children) {
1037
1037
  const { keyId: u, searcher: f } = o, g = this._findMatches({
1038
1038
  key: this._keyStore.get(u),
@@ -1058,7 +1058,7 @@ class k {
1058
1058
  return l;
1059
1059
  }, i = this._myIndex.records, n = {}, c = [];
1060
1060
  return i.forEach(({ $: o, i: a }) => {
1061
- if (y(o)) {
1061
+ if (M(o)) {
1062
1062
  let h = r(s, o, a);
1063
1063
  h.length && (n[a] || (n[a] = { idx: a, item: o, matches: [] }, c.push(n[a])), h.forEach(({ matches: l }) => {
1064
1064
  n[a].matches.push(...l);
@@ -1069,7 +1069,7 @@ class k {
1069
1069
  _searchObjectList(e) {
1070
1070
  const s = Q(e, this.options), { keys: r, records: i } = this._myIndex, n = [];
1071
1071
  return i.forEach(({ $: c, i: o }) => {
1072
- if (!y(c))
1072
+ if (!M(c))
1073
1073
  return;
1074
1074
  let a = [];
1075
1075
  r.forEach((h, l) => {
@@ -1088,12 +1088,12 @@ class k {
1088
1088
  }), n;
1089
1089
  }
1090
1090
  _findMatches({ key: e, value: s, searcher: r }) {
1091
- if (!y(s))
1091
+ if (!M(s))
1092
1092
  return [];
1093
1093
  let i = [];
1094
1094
  if (x(s))
1095
1095
  s.forEach(({ v: n, i: c, n: o }) => {
1096
- if (!y(n))
1096
+ if (!M(n))
1097
1097
  return;
1098
1098
  const { isMatch: a, score: h, indices: l } = r.searchIn(n);
1099
1099
  a && i.push({
@@ -1116,7 +1116,7 @@ k.version = "7.0.0";
1116
1116
  k.createIndex = Re;
1117
1117
  k.parseIndex = Lt;
1118
1118
  k.config = d;
1119
- k.parseQuery = Ie;
1119
+ k.parseQuery = Ae;
1120
1120
  Ht(zt);
1121
1121
  const Xt = {
1122
1122
  threshold: 0.3
@@ -1160,9 +1160,9 @@ const Xt = {
1160
1160
  Column: ve,
1161
1161
  ColumnContext: Te,
1162
1162
  Core: Ce,
1163
- DataProvider: Fe,
1163
+ DataProvider: Ne,
1164
1164
  Filter: ts,
1165
- Hover: Ne,
1165
+ Hover: Fe,
1166
1166
  ItemFrame: $e,
1167
1167
  List: st,
1168
1168
  Search: je,
@@ -1174,8 +1174,8 @@ const Xt = {
1174
1174
  useGetTransformedData: We,
1175
1175
  useHoverContext: ze,
1176
1176
  useSearch: He,
1177
- useSelect: Be,
1178
- useSelection: Ve,
1177
+ useSelect: Ve,
1178
+ useSelection: Be,
1179
1179
  useSelectionContext: Ue,
1180
1180
  useSelectionUtils: Ge,
1181
1181
  useSetSourceData: Je,