@synnaxlabs/pluto 0.26.0 → 0.27.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 (407) hide show
  1. package/dist/{Animated-zwHonFIj.cjs → Animated-CZ63NC05.cjs} +1 -1
  2. package/dist/{Animated-DNVDjbp5.js → Animated-CqT7-gZp.js} +2 -2
  3. package/dist/{Keyboard-CK96wQ5G.cjs → Keyboard-BIXxwSvF.cjs} +1 -1
  4. package/dist/{Keyboard-DIqjeZSO.js → Keyboard-fZbH7UAB.js} +2 -2
  5. package/dist/LinePlot-C6UR06-e.cjs +66 -0
  6. package/dist/{LinePlot-Cvi3y24D.js → LinePlot-Cc3CIgai.js} +1814 -1803
  7. package/dist/Link-BDA_zOS7.js +10 -0
  8. package/dist/Link-CYHWDE13.cjs +1 -0
  9. package/dist/{List-B6hlZNwe.js → List-DS2DLWjR.js} +2 -2
  10. package/dist/{List-CBMm9BLf.cjs → List-qhbpsD-f.cjs} +1 -1
  11. package/dist/{Pack-BM_LmeO7.cjs → Pack--3w90epp.cjs} +1 -1
  12. package/dist/{Pack-E_3LSkGG.js → Pack-B7_4Xpi5.js} +1 -1
  13. package/dist/{Toggle-_SGawcap.js → Toggle-0_fgC0fe.js} +8127 -8097
  14. package/dist/Toggle-DBbZoe_A.cjs +143 -0
  15. package/dist/{Video-Ct4BfJzt.js → Video-Breqk8IV.js} +1 -1
  16. package/dist/{Video-A2NddcPS.cjs → Video-yUL4iEVD.cjs} +1 -1
  17. package/dist/{aggregator-DaNTqAB0.js → aggregator-BQAqJzjZ.js} +4110 -3820
  18. package/dist/aggregator-Bs9fTewE.cjs +51 -0
  19. package/dist/align.cjs +1 -1
  20. package/dist/align.js +1 -1
  21. package/dist/button.cjs +1 -1
  22. package/dist/button.js +1 -1
  23. package/dist/color.cjs +1 -1
  24. package/dist/color.js +1 -1
  25. package/dist/{css-DY1Oedjj.cjs → css-B7TifAVb.cjs} +1 -1
  26. package/dist/{css-DEMSADUS.js → css-Dic6npsA.js} +1 -1
  27. package/dist/css.cjs +1 -1
  28. package/dist/css.js +2 -2
  29. package/dist/dropdown.cjs +1 -1
  30. package/dist/dropdown.js +1 -1
  31. package/dist/ether.cjs +1 -1
  32. package/dist/ether.js +5 -5
  33. package/dist/external-3Q2dzLIL.cjs +1 -0
  34. package/dist/{external-CS2UIUPR.js → external-69Ao7j7k.js} +13 -13
  35. package/dist/{external-Cja9j84T.cjs → external-B4OSNdH_.cjs} +1 -1
  36. package/dist/{external-C86d--c3.js → external-BUFyYRiR.js} +4 -4
  37. package/dist/{external-D23hMpey.js → external-BWE1zUh9.js} +14 -13
  38. package/dist/{external-CJOE_TDI.js → external-BjLjce7d.js} +2 -2
  39. package/dist/{external-9st6X3mL.cjs → external-BnJhvG1t.cjs} +1 -1
  40. package/dist/{external-DfwQACwH.js → external-By-puR46.js} +3 -3
  41. package/dist/{external-DOZ21f-5.cjs → external-C3c1BoRE.cjs} +1 -1
  42. package/dist/external-CAS1RuN6.cjs +1 -0
  43. package/dist/{external-DG3L9UDo.cjs → external-CHYxZzhb.cjs} +1 -1
  44. package/dist/{external-ChYLNmOM.js → external-CNTzwgmW.js} +16 -16
  45. package/dist/{external-D_dAdIZX.js → external-CPUf0VYV.js} +2 -2
  46. package/dist/{external-C4w_40JS.js → external-CVzm1emB.js} +4 -4
  47. package/dist/{external-ChI4-3Am.cjs → external-CpUUO6Ja.cjs} +1 -1
  48. package/dist/{external-CsAw5Bqm.js → external-DA_ZnqPs.js} +126 -120
  49. package/dist/{external-DlkO8mh4.js → external-DH3sAQ0c.js} +1 -1
  50. package/dist/{external-CE4wgFJ7.cjs → external-DR0u7Ium.cjs} +1 -1
  51. package/dist/{external-r0ozQhkY.cjs → external-DddErJ4X.cjs} +1 -1
  52. package/dist/{external-BxUqbUsk.js → external-DeMvP0U_.js} +6 -6
  53. package/dist/{external-BAw0sDOf.cjs → external-DrJrhKqG.cjs} +1 -1
  54. package/dist/{external-DZohHxSv.cjs → external-mBw4Opva.cjs} +1 -1
  55. package/dist/{external-rzy59VM1.cjs → external-o0TYQr9r.cjs} +1 -1
  56. package/dist/external-vJteyGA3.js +241 -0
  57. package/dist/header.cjs +1 -1
  58. package/dist/header.js +1 -1
  59. package/dist/index.cjs +1 -1
  60. package/dist/index.js +5008 -4536
  61. package/dist/input.cjs +1 -1
  62. package/dist/input.js +1 -1
  63. package/dist/list.cjs +1 -1
  64. package/dist/list.js +1 -1
  65. package/dist/menu.cjs +1 -1
  66. package/dist/menu.js +1 -1
  67. package/dist/src/accordion/Accordion.d.ts +0 -1
  68. package/dist/src/aether/aether/aether.d.ts +0 -1
  69. package/dist/src/aether/aether/worker.spec.d.ts +0 -1
  70. package/dist/src/aether/main.d.ts +0 -1
  71. package/dist/src/aether/main.spec.d.ts +0 -1
  72. package/dist/src/aether/test/test.d.ts +0 -1
  73. package/dist/src/alamos/Provider.d.ts +0 -1
  74. package/dist/src/alamos/aether/alamos.d.ts +0 -1
  75. package/dist/src/align/Center.d.ts +0 -1
  76. package/dist/src/align/Pack.d.ts +0 -1
  77. package/dist/src/align/Space.d.ts +0 -1
  78. package/dist/src/button/Button.d.ts +0 -1
  79. package/dist/src/button/Icon.d.ts +0 -1
  80. package/dist/src/button/Link.d.ts +0 -1
  81. package/dist/src/button/Toggle.d.ts +0 -1
  82. package/dist/src/button/color.d.ts +0 -1
  83. package/dist/src/caret/Animated.d.ts +0 -1
  84. package/dist/src/caret/Animated.d.ts.map +1 -1
  85. package/dist/src/caret/index.d.ts.map +1 -1
  86. package/dist/src/channel/AliasProvider.d.ts +0 -1
  87. package/dist/src/channel/LinePlot.d.ts +0 -1
  88. package/dist/src/channel/Select.d.ts +0 -1
  89. package/dist/src/color/Picker/Picker.d.ts +0 -1
  90. package/dist/src/color/Swatch/Swatch.d.ts +0 -1
  91. package/dist/src/color/Swatch/Swatch.d.ts.map +1 -1
  92. package/dist/src/color/core/color.d.ts +0 -1
  93. package/dist/src/css/bem.d.ts +0 -1
  94. package/dist/src/css/color.d.ts +0 -1
  95. package/dist/src/css/css.d.ts +1 -1
  96. package/dist/src/css/css.d.ts.map +1 -1
  97. package/dist/src/css/grid.d.ts +0 -1
  98. package/dist/src/cursor/cursor.d.ts +0 -1
  99. package/dist/src/dialog/use.d.ts +5 -1
  100. package/dist/src/dialog/use.d.ts.map +1 -1
  101. package/dist/src/divider/Divider.d.ts +0 -1
  102. package/dist/src/dropdown/Dropdown.d.ts +4 -3
  103. package/dist/src/dropdown/Dropdown.d.ts.map +1 -1
  104. package/dist/src/form/Field.d.ts +0 -1
  105. package/dist/src/form/Field.d.ts.map +1 -1
  106. package/dist/src/form/Form.d.ts +25 -4
  107. package/dist/src/form/Form.d.ts.map +1 -1
  108. package/dist/src/form/external.d.ts +1 -0
  109. package/dist/src/form/external.d.ts.map +1 -1
  110. package/dist/src/form/synced.d.ts +25 -0
  111. package/dist/src/form/synced.d.ts.map +1 -0
  112. package/dist/src/generic/Generic.d.ts +0 -1
  113. package/dist/src/hardware/device/Select.d.ts +0 -1
  114. package/dist/src/haul/Haul.d.ts +0 -1
  115. package/dist/src/header/Actions.d.ts +0 -1
  116. package/dist/src/header/ButtonTitle.d.ts +0 -1
  117. package/dist/src/header/Header.d.ts +0 -1
  118. package/dist/src/header/Title.d.ts +0 -1
  119. package/dist/src/hooks/effect.d.ts +0 -1
  120. package/dist/src/hooks/ref.d.ts +0 -1
  121. package/dist/src/hooks/useClickOutside.d.ts +1 -2
  122. package/dist/src/hooks/useClickOutside.d.ts.map +1 -1
  123. package/dist/src/hooks/useCursorDrag/types.d.ts +0 -1
  124. package/dist/src/hooks/useCursorDrag/useCursorDrag.d.ts +0 -1
  125. package/dist/src/hooks/useCursorDrag/useVirtualCursorDragWebKit.d.ts +0 -1
  126. package/dist/src/hooks/useCursorDrag/useVirtualCursorDragWebView.d.ts +0 -1
  127. package/dist/src/hooks/useDebouncedCallback.d.ts +0 -1
  128. package/dist/src/hooks/useFilter.d.ts +0 -1
  129. package/dist/src/hooks/useResize.d.ts +0 -1
  130. package/dist/src/hooks/useTransforms.d.ts +0 -1
  131. package/dist/src/icon/Icon.d.ts +0 -1
  132. package/dist/src/icon/Icon.d.ts.map +1 -1
  133. package/dist/src/icon/index.d.ts.map +1 -1
  134. package/dist/src/index.d.ts +2 -0
  135. package/dist/src/index.d.ts.map +1 -1
  136. package/dist/src/input/Date.d.ts +0 -1
  137. package/dist/src/input/DateTime.d.ts +0 -1
  138. package/dist/src/input/DragButton.d.ts +0 -1
  139. package/dist/src/input/HelpText.d.ts +0 -1
  140. package/dist/src/input/Item.d.ts +0 -1
  141. package/dist/src/input/Label.d.ts +0 -1
  142. package/dist/src/input/Numeric.d.ts +0 -1
  143. package/dist/src/input/Switch.d.ts +0 -1
  144. package/dist/src/input/Switch.d.ts.map +1 -1
  145. package/dist/src/input/Text.d.ts +4 -1
  146. package/dist/src/input/Text.d.ts.map +1 -1
  147. package/dist/src/input/TextArea.d.ts +0 -1
  148. package/dist/src/input/Time.d.ts +0 -1
  149. package/dist/src/input/types.d.ts +0 -1
  150. package/dist/src/label/Select.d.ts +11 -0
  151. package/dist/src/label/Select.d.ts.map +1 -0
  152. package/dist/src/label/external.d.ts +3 -0
  153. package/dist/src/label/external.d.ts.map +1 -0
  154. package/dist/src/label/index.d.ts +2 -0
  155. package/dist/src/label/index.d.ts.map +1 -0
  156. package/dist/src/label/types.d.ts +2 -0
  157. package/dist/src/label/types.d.ts.map +1 -0
  158. package/dist/src/list/Column.d.ts +1 -1
  159. package/dist/src/list/Column.d.ts.map +1 -1
  160. package/dist/src/list/Core.d.ts +0 -1
  161. package/dist/src/list/Data.d.ts +0 -1
  162. package/dist/src/list/Filter.d.ts +0 -1
  163. package/dist/src/list/Hover.d.ts +0 -1
  164. package/dist/src/list/Infinite.d.ts +0 -1
  165. package/dist/src/list/Item.d.ts +2 -2
  166. package/dist/src/list/Item.d.ts.map +1 -1
  167. package/dist/src/list/List.d.ts +0 -1
  168. package/dist/src/list/Search.d.ts +2 -2
  169. package/dist/src/list/Search.d.ts.map +1 -1
  170. package/dist/src/list/Selector.d.ts +0 -1
  171. package/dist/src/list/types.d.ts +0 -1
  172. package/dist/src/list/useSelect.d.ts +0 -1
  173. package/dist/src/memo/proxyMemo.d.ts +0 -1
  174. package/dist/src/memo/useMemoCompare.d.ts +2 -2
  175. package/dist/src/memo/useMemoCompare.d.ts.map +1 -1
  176. package/dist/src/menu/ContextMenu.d.ts +0 -1
  177. package/dist/src/menu/ContextMenu.d.ts.map +1 -1
  178. package/dist/src/menu/Item.d.ts +0 -1
  179. package/dist/src/menu/Menu.d.ts +0 -1
  180. package/dist/src/mock/MockGLBufferController.d.ts +5 -6
  181. package/dist/src/mock/MockGLBufferController.d.ts.map +1 -1
  182. package/dist/src/modal/Modal.d.ts +1 -2
  183. package/dist/src/modal/Modal.d.ts.map +1 -1
  184. package/dist/src/mosaic/Mosaic.d.ts +0 -1
  185. package/dist/src/mosaic/tree.d.ts +1 -1
  186. package/dist/src/mosaic/tree.d.ts.map +1 -1
  187. package/dist/src/mosaic/types.d.ts +0 -1
  188. package/dist/src/mosaic/use.d.ts +0 -1
  189. package/dist/src/nav/Bar.d.ts +0 -1
  190. package/dist/src/nav/Drawer.d.ts +0 -1
  191. package/dist/src/note/Note.d.ts +0 -1
  192. package/dist/src/observe/index.d.ts.map +1 -1
  193. package/dist/src/observe/use.d.ts +6 -10
  194. package/dist/src/observe/use.d.ts.map +1 -1
  195. package/dist/src/os/Controls/Controls.d.ts +0 -1
  196. package/dist/src/os/Controls/Mac.d.ts +0 -1
  197. package/dist/src/os/Controls/Windows.d.ts +0 -1
  198. package/dist/src/os/Controls/types.d.ts +0 -1
  199. package/dist/src/os/use.d.ts +0 -1
  200. package/dist/src/pluto/Pluto.d.ts +0 -1
  201. package/dist/src/progress/Progress.d.ts +0 -1
  202. package/dist/src/ranger/Select.d.ts +11 -0
  203. package/dist/src/ranger/Select.d.ts.map +1 -0
  204. package/dist/src/ranger/SelectLabel.d.ts +0 -1
  205. package/dist/src/ranger/TimeRangeChip.d.ts +3 -3
  206. package/dist/src/ranger/TimeRangeChip.d.ts.map +1 -1
  207. package/dist/src/ranger/external.d.ts +1 -0
  208. package/dist/src/ranger/external.d.ts.map +1 -1
  209. package/dist/src/ranger/types.d.ts +2 -0
  210. package/dist/src/ranger/types.d.ts.map +1 -0
  211. package/dist/src/resize/Core.d.ts +0 -1
  212. package/dist/src/resize/Multiple.d.ts +0 -1
  213. package/dist/src/resize/Single.d.ts +0 -1
  214. package/dist/src/select/Button.d.ts +1 -2
  215. package/dist/src/select/Button.d.ts.map +1 -1
  216. package/dist/src/select/ClearButton.d.ts +0 -1
  217. package/dist/src/select/DataType.d.ts +0 -1
  218. package/dist/src/select/Direction.d.ts +0 -1
  219. package/dist/src/select/List.d.ts +5 -4
  220. package/dist/src/select/List.d.ts.map +1 -1
  221. package/dist/src/select/Modal.d.ts +1 -0
  222. package/dist/src/select/Modal.d.ts.map +1 -0
  223. package/dist/src/select/Multiple.d.ts +5 -3
  224. package/dist/src/select/Multiple.d.ts.map +1 -1
  225. package/dist/src/select/Select.spec.d.ts +0 -1
  226. package/dist/src/select/Single.d.ts +10 -4
  227. package/dist/src/select/Single.d.ts.map +1 -1
  228. package/dist/src/state/state.d.ts +0 -1
  229. package/dist/src/status/Aggregator.d.ts +0 -1
  230. package/dist/src/status/Aggregator.d.ts.map +1 -1
  231. package/dist/src/status/Circle.d.ts +0 -1
  232. package/dist/src/status/Notification.d.ts +0 -1
  233. package/dist/src/status/Text.d.ts +0 -1
  234. package/dist/src/status/aether/aggregator.d.ts +0 -1
  235. package/dist/src/status/aether/types.d.ts +0 -1
  236. package/dist/src/status/colors.d.ts +0 -1
  237. package/dist/src/steps/Steps.d.ts +0 -1
  238. package/dist/src/synnax/Provider.d.ts +0 -1
  239. package/dist/src/synnax/aether/provider.d.ts +30 -31
  240. package/dist/src/tabs/Selector.d.ts +0 -1
  241. package/dist/src/tabs/Tabs.d.ts +0 -1
  242. package/dist/src/tabs/types.d.ts +0 -1
  243. package/dist/src/tag/Tag.d.ts +2 -2
  244. package/dist/src/tag/Tag.d.ts.map +1 -1
  245. package/dist/src/telem/Pipeline.d.ts +0 -1
  246. package/dist/src/telem/Provider.d.ts +0 -1
  247. package/dist/src/telem/aether/context.d.ts +0 -1
  248. package/dist/src/telem/aether/convertSeries.d.ts +0 -1
  249. package/dist/src/telem/aether/factory.d.ts +0 -1
  250. package/dist/src/telem/aether/noop.d.ts +0 -1
  251. package/dist/src/telem/aether/pipeline.d.ts +0 -1
  252. package/dist/src/telem/aether/provider.d.ts +0 -1
  253. package/dist/src/telem/aether/remote.d.ts +0 -1
  254. package/dist/src/telem/aether/static.d.ts +0 -1
  255. package/dist/src/telem/aether/telem.d.ts +0 -1
  256. package/dist/src/telem/aether/transformers.d.ts +0 -1
  257. package/dist/src/telem/client/cache/cache.d.ts +0 -1
  258. package/dist/src/telem/client/cache/dynamic.d.ts +0 -1
  259. package/dist/src/telem/client/cache/static.d.ts +0 -1
  260. package/dist/src/telem/client/cache/unary.d.ts +0 -1
  261. package/dist/src/telem/client/client.d.ts +0 -1
  262. package/dist/src/telem/client/reader.d.ts +0 -1
  263. package/dist/src/telem/client/streamer.d.ts +0 -1
  264. package/dist/src/telem/client/types.d.ts +0 -1
  265. package/dist/src/telem/control/Chip.d.ts +0 -1
  266. package/dist/src/telem/control/Controller.d.ts +0 -1
  267. package/dist/src/telem/control/Indicator.d.ts +0 -1
  268. package/dist/src/telem/control/Legend.d.ts +0 -1
  269. package/dist/src/telem/control/StateProvider.d.ts +0 -1
  270. package/dist/src/telem/control/aether/chip.d.ts +0 -1
  271. package/dist/src/telem/control/aether/controller.d.ts +0 -1
  272. package/dist/src/telem/control/aether/indicator.d.ts +0 -1
  273. package/dist/src/telem/control/aether/legend.d.ts +0 -1
  274. package/dist/src/telem/control/aether/registry.d.ts +0 -1
  275. package/dist/src/telem/control/aether/state.d.ts +0 -1
  276. package/dist/src/telem/test/mock.d.ts +0 -1
  277. package/dist/src/testutil/dom.d.ts +1 -2
  278. package/dist/src/testutil/dom.d.ts.map +1 -1
  279. package/dist/src/text/DateTime.d.ts +0 -1
  280. package/dist/src/text/Editable.d.ts +0 -1
  281. package/dist/src/text/Keyboard.d.ts +0 -1
  282. package/dist/src/text/Link.d.ts +0 -1
  283. package/dist/src/text/SelectLevel.d.ts +0 -1
  284. package/dist/src/text/Text.d.ts +0 -1
  285. package/dist/src/text/WithIcon.d.ts +0 -1
  286. package/dist/src/text/core/types.d.ts +0 -1
  287. package/dist/src/text/dimensions.d.ts +0 -1
  288. package/dist/src/text/index.d.ts +0 -1
  289. package/dist/src/text/symbols.d.ts +0 -1
  290. package/dist/src/theming/Provider.d.ts +0 -1
  291. package/dist/src/theming/aether/provider.d.ts +0 -1
  292. package/dist/src/theming/core/fontString.d.ts +0 -1
  293. package/dist/src/theming/core/theme.d.ts +0 -1
  294. package/dist/src/theming/css.d.ts +0 -1
  295. package/dist/src/theming/font.d.ts +0 -1
  296. package/dist/src/theming/index.d.ts +0 -1
  297. package/dist/src/tooltip/Config.d.ts +0 -1
  298. package/dist/src/tooltip/Dialog.d.ts +0 -1
  299. package/dist/src/tooltip/Dialog.d.ts.map +1 -1
  300. package/dist/src/tooltip/wrap.d.ts +0 -1
  301. package/dist/src/tree/Tree.d.ts +0 -1
  302. package/dist/src/tree/core.d.ts +1 -1
  303. package/dist/src/tree/core.d.ts.map +1 -1
  304. package/dist/src/triggers/Provider.d.ts +0 -1
  305. package/dist/src/triggers/Status.d.ts +0 -1
  306. package/dist/src/triggers/Text.d.ts +0 -1
  307. package/dist/src/triggers/hooks.d.ts +0 -1
  308. package/dist/src/triggers/triggers.d.ts +0 -1
  309. package/dist/src/triggers/useDrag.d.ts +0 -1
  310. package/dist/src/util/children.d.ts +0 -1
  311. package/dist/src/util/component.d.ts +0 -1
  312. package/dist/src/util/renderProp.d.ts +0 -1
  313. package/dist/src/util/zod.d.ts +0 -1
  314. package/dist/src/video/Video.d.ts +0 -1
  315. package/dist/src/viewport/Mask.d.ts +0 -1
  316. package/dist/src/viewport/SelectMode.d.ts +0 -1
  317. package/dist/src/viewport/use.d.ts +0 -1
  318. package/dist/src/vis/axis/axis.d.ts +0 -1
  319. package/dist/src/vis/axis/canvas.d.ts +0 -1
  320. package/dist/src/vis/axis/ticks.d.ts +0 -1
  321. package/dist/src/vis/button/aether/button.d.ts +0 -1
  322. package/dist/src/vis/button/use.d.ts +0 -1
  323. package/dist/src/vis/canvas/Canvas.d.ts +0 -1
  324. package/dist/src/vis/canvas/aether/canvas.d.ts +0 -1
  325. package/dist/src/vis/diagram/Diagram.d.ts +0 -1
  326. package/dist/src/vis/diagram/aether/Diagram.d.ts +0 -1
  327. package/dist/src/vis/diagram/align.d.ts +0 -1
  328. package/dist/src/vis/diagram/edge/Edge.d.ts +0 -1
  329. package/dist/src/vis/diagram/edge/connector/connector.d.ts +0 -1
  330. package/dist/src/vis/diagram/util.d.ts +0 -1
  331. package/dist/src/vis/draw2d/canvas.d.ts +0 -1
  332. package/dist/src/vis/draw2d/index.d.ts +0 -1
  333. package/dist/src/vis/eraser/aether/eraser.d.ts +0 -1
  334. package/dist/src/vis/eraser/use.d.ts +0 -1
  335. package/dist/src/vis/legend/Container.d.ts +0 -1
  336. package/dist/src/vis/legend/Simple.d.ts +0 -1
  337. package/dist/src/vis/legend/Simple.d.ts.map +1 -1
  338. package/dist/src/vis/line/Line.d.ts +0 -1
  339. package/dist/src/vis/line/aether/line.d.ts +0 -1
  340. package/dist/src/vis/lineplot/Axis.d.ts +0 -1
  341. package/dist/src/vis/lineplot/Legend.d.ts +0 -1
  342. package/dist/src/vis/lineplot/Line.d.ts +0 -1
  343. package/dist/src/vis/lineplot/LinePlot.d.ts +0 -1
  344. package/dist/src/vis/lineplot/Title.d.ts +0 -1
  345. package/dist/src/vis/lineplot/Viewport.d.ts +0 -1
  346. package/dist/src/vis/lineplot/aether/LinePlot.d.ts +0 -1
  347. package/dist/src/vis/lineplot/aether/XAxis.d.ts +0 -1
  348. package/dist/src/vis/lineplot/aether/YAxis.d.ts +0 -1
  349. package/dist/src/vis/lineplot/aether/axis.d.ts +0 -1
  350. package/dist/src/vis/lineplot/aether/grid.d.ts +0 -1
  351. package/dist/src/vis/lineplot/range/Annotation.d.ts +0 -1
  352. package/dist/src/vis/lineplot/range/Provider.d.ts +0 -1
  353. package/dist/src/vis/lineplot/range/aether/annotation.d.ts +0 -1
  354. package/dist/src/vis/lineplot/range/aether/external.d.ts +0 -1
  355. package/dist/src/vis/lineplot/range/aether/provider.d.ts +0 -1
  356. package/dist/src/vis/lineplot/range/aether/provider.d.ts.map +1 -1
  357. package/dist/src/vis/lineplot/tooltip/Tooltip.d.ts +0 -1
  358. package/dist/src/vis/lineplot/tooltip/aether/tooltip.d.ts +0 -1
  359. package/dist/src/vis/measure/aether/measure.d.ts +0 -1
  360. package/dist/src/vis/render/GLProgram.d.ts +0 -1
  361. package/dist/src/vis/render/clear/program.d.ts +0 -1
  362. package/dist/src/vis/render/context.d.ts +0 -1
  363. package/dist/src/vis/render/controller.d.ts +0 -1
  364. package/dist/src/vis/render/eraser.d.ts +0 -1
  365. package/dist/src/vis/render/loop.d.ts +0 -1
  366. package/dist/src/vis/render/performance.d.ts +0 -1
  367. package/dist/src/vis/render/performance.d.ts.map +1 -1
  368. package/dist/src/vis/render/util.d.ts +0 -1
  369. package/dist/src/vis/rule/Rule.d.ts +0 -1
  370. package/dist/src/vis/rule/aether/aether.d.ts +0 -1
  371. package/dist/src/vis/schematic/Forms.d.ts +0 -1
  372. package/dist/src/vis/schematic/Labeled.d.ts +0 -1
  373. package/dist/src/vis/schematic/SelectOrientation.d.ts +0 -1
  374. package/dist/src/vis/schematic/Symbols.d.ts +0 -1
  375. package/dist/src/vis/schematic/primitives/Primitives.d.ts +0 -1
  376. package/dist/src/vis/schematic/registry.d.ts +0 -1
  377. package/dist/src/vis/setpoint/aether/setpoint.d.ts +0 -1
  378. package/dist/src/vis/setpoint/use.d.ts +0 -1
  379. package/dist/src/vis/toggle/aether/toggle.d.ts +0 -1
  380. package/dist/src/vis/toggle/use.d.ts +0 -1
  381. package/dist/src/vis/value/aether/value.d.ts +0 -1
  382. package/dist/src/vis/value/use.d.ts +0 -1
  383. package/dist/src/worker/Context.d.ts +0 -1
  384. package/dist/style.css +1 -1
  385. package/dist/tabs.cjs +1 -1
  386. package/dist/tabs.js +1 -1
  387. package/dist/text.cjs +1 -1
  388. package/dist/text.js +2 -2
  389. package/dist/theming.cjs +1 -1
  390. package/dist/theming.js +2 -2
  391. package/dist/tree.cjs +1 -1
  392. package/dist/tree.js +1 -1
  393. package/dist/triggers.cjs +1 -1
  394. package/dist/triggers.js +1 -1
  395. package/dist/{units-DNx3byGw.cjs → units-Bq69s424.cjs} +1 -1
  396. package/dist/{units-BREWRknL.js → units-BynnjwvA.js} +1 -1
  397. package/dist/video.cjs +1 -1
  398. package/dist/video.js +1 -1
  399. package/package.json +14 -14
  400. package/dist/LinePlot-Cm6T-Agy.cjs +0 -66
  401. package/dist/Link-CRvZcIvR.cjs +0 -1
  402. package/dist/Link-CfU1takx.js +0 -10
  403. package/dist/Toggle-YiHP9pVf.cjs +0 -143
  404. package/dist/aggregator-D9ExX_tt.cjs +0 -51
  405. package/dist/external-BgW4t-2y.cjs +0 -1
  406. package/dist/external-DSc2y4PB.cjs +0 -1
  407. package/dist/external-TgztmPvP.js +0 -231
@@ -1,5 +1,5 @@
1
- import { S as e, a as t, b as a, t as r } from "./aggregator-DaNTqAB0.js";
2
- import { P as s, S as o, t as S, u, a as i, b as n, c as m } from "./Toggle-_SGawcap.js";
1
+ import { S as e, a as t, b as a, t as r } from "./aggregator-BQAqJzjZ.js";
2
+ import { P as s, S as o, t as S, u, a as i, b as n, c as m } from "./Toggle-0_fgC0fe.js";
3
3
  const p = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4
4
  __proto__: null,
5
5
  Provider: s,
@@ -1,9 +1,9 @@
1
1
  import { j as a } from "./jsx-runtime-B6kdoens.js";
2
- import { A as u, g as d } from "./aggregator-DaNTqAB0.js";
2
+ import { A as u, g as d } from "./aggregator-BQAqJzjZ.js";
3
3
  import { createContext as v, useContext as j, isValidElement as f, Fragment as h } from "react";
4
- import { S as m } from "./Pack-E_3LSkGG.js";
5
- import { I as B, p as C, B as S, W as b } from "./Toggle-_SGawcap.js";
6
- import { C as n } from "./css-DEMSADUS.js";
4
+ import { S as m } from "./Pack-B7_4Xpi5.js";
5
+ import { I as B, p as C, B as S, W as b } from "./Toggle-0_fgC0fe.js";
6
+ import { C as n } from "./css-Dic6npsA.js";
7
7
  const x = v({
8
8
  divided: !1,
9
9
  level: "h1"
@@ -1 +1 @@
1
- "use strict";const t=require("./Toggle-YiHP9pVf.cjs"),C=require("./jsx-runtime-Cek9Ww4S.cjs"),v=require("./Link-CRvZcIvR.cjs"),x=require("./css-DY1Oedjj.cjs"),u=require("react"),a=u.createContext({onClick:()=>{},selected:""}),E=()=>u.useContext(a),O=({children:i,onChange:e,level:c,iconSpacing:o,value:r=""})=>{const n=u.useCallback(s=>{typeof e=="function"?e(s):e&&s in e&&e[s](s)},[e]),l=u.useMemo(()=>({onClick:n,selected:r,level:c,iconSpacing:o}),[r,n,c,o]);return C.jsxRuntimeExports.jsx(a.Provider,{value:l,children:i})},R=()=>C.jsxRuntimeExports.jsx(t.Divider,{direction:"x",padded:!0}),m=(i,e)=>c=>{const{itemKey:o,className:r,onClick:n,size:l,...s}={...e,...c},{onClick:S,selected:j,level:p,iconSpacing:M}=E(),_=k=>{S(o),n==null||n(k)},I=j===o;return C.jsxRuntimeExports.jsx(i,{level:p,...s,onClick:_,variant:"text",className:x.CSS(x.CSS.B("menu-item"),x.CSS.selected(I),r),size:l??M})},d=m(t.Button,{noWrap:!0}),f=m(t.Icon),L=m(v.Link,{noWrap:!0}),T=d;T.Icon=f;T.Link=L;const N=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_SELECTED:t.CONTEXT_SELECTED,CONTEXT_TARGET:t.CONTEXT_TARGET,ContextMenu:t.ContextMenu,CoreItem:d,Divider:R,Item:T,Menu:O,MenuContext:a,useContextMenu:t.useContextMenu,useMenuContext:E},Symbol.toStringTag,{value:"Module"}));exports.external=N;
1
+ "use strict";const t=require("./Toggle-DBbZoe_A.cjs"),C=require("./jsx-runtime-Cek9Ww4S.cjs"),v=require("./Link-CYHWDE13.cjs"),x=require("./css-B7TifAVb.cjs"),u=require("react"),a=u.createContext({onClick:()=>{},selected:""}),E=()=>u.useContext(a),O=({children:i,onChange:e,level:c,iconSpacing:o,value:r=""})=>{const n=u.useCallback(s=>{typeof e=="function"?e(s):e&&s in e&&e[s](s)},[e]),l=u.useMemo(()=>({onClick:n,selected:r,level:c,iconSpacing:o}),[r,n,c,o]);return C.jsxRuntimeExports.jsx(a.Provider,{value:l,children:i})},R=()=>C.jsxRuntimeExports.jsx(t.Divider,{direction:"x",padded:!0}),m=(i,e)=>c=>{const{itemKey:o,className:r,onClick:n,size:l,...s}={...e,...c},{onClick:S,selected:j,level:p,iconSpacing:M}=E(),_=k=>{S(o),n==null||n(k)},I=j===o;return C.jsxRuntimeExports.jsx(i,{level:p,...s,onClick:_,variant:"text",className:x.CSS(x.CSS.B("menu-item"),x.CSS.selected(I),r),size:l??M})},d=m(t.Button,{noWrap:!0}),f=m(t.Icon),L=m(v.Link,{noWrap:!0}),T=d;T.Icon=f;T.Link=L;const N=Object.freeze(Object.defineProperty({__proto__:null,CONTEXT_SELECTED:t.CONTEXT_SELECTED,CONTEXT_TARGET:t.CONTEXT_TARGET,ContextMenu:t.ContextMenu,CoreItem:d,Divider:R,Item:T,Menu:O,MenuContext:a,useContextMenu:t.useContextMenu,useMenuContext:E},Symbol.toStringTag,{value:"Module"}));exports.external=N;
@@ -1,175 +1,180 @@
1
- import { E as te, A as k, e as ne, n as re } from "./aggregator-DaNTqAB0.js";
1
+ import { E as ne, A as H, e as re, n as se } from "./aggregator-BQAqJzjZ.js";
2
2
  import { j as N } from "./jsx-runtime-B6kdoens.js";
3
- import { v as se, w as ae, k as le, n as oe, q as ie, C as ce, M as de, x as fe, y as ue, z as he, B as pe, A as W, E as me, F as ge, G as xe, H as ye } from "./Toggle-_SGawcap.js";
4
- import { memo as Ce, useState as Ee, useCallback as b, useMemo as Ne } from "react";
5
- import { L as be } from "./Link-CfU1takx.js";
6
- import { A as ve } from "./Animated-DNVDjbp5.js";
7
- import { C as u } from "./css-DEMSADUS.js";
8
- import "./Pack-E_3LSkGG.js";
9
- import { L as Te } from "./List-B6hlZNwe.js";
10
- const X = (e, t) => t.includes(e.key), H = (e, t) => {
11
- t && e.sort((n, r) => te.stringsWithNumbers(n.name, r.name));
12
- let s = !1;
3
+ import { v as ae, w as le, j as oe, n as ie, q as ce, C as de, M as fe, x as ue, y as he, z as pe, B as me, A as W, E as ge, F as xe, G as ye, H as Ce } from "./Toggle-0_fgC0fe.js";
4
+ import { memo as Ee, useState as Ne, useCallback as b, useMemo as be } from "react";
5
+ import { L as ve } from "./Link-BDA_zOS7.js";
6
+ import { A as Te } from "./Animated-CqT7-gZp.js";
7
+ import { C as u } from "./css-Dic6npsA.js";
8
+ import "./Pack-B7_4Xpi5.js";
9
+ import { L as _e } from "./List-DS2DLWjR.js";
10
+ const X = (e, t) => t.includes(e.key), k = (e, t) => {
11
+ t && e.sort((n, s) => ne.stringsWithNumbers(n.name, s.name));
12
+ let r = !1;
13
13
  for (let n = 0; n < e.length; n++) {
14
- const r = e[n];
15
- r.forcePosition != null && n !== r.forcePosition && (s = !0, e.splice(n, 1), e.splice(r.forcePosition, 0, r));
14
+ const s = e[n];
15
+ s.forcePosition != null && n !== s.forcePosition && (r = !0, e.splice(n, 1), e.splice(s.forcePosition, 0, s));
16
16
  }
17
- return s ? H(e, !1) : e;
17
+ return r ? k(e, !1) : e;
18
18
  }, G = ({
19
19
  nodes: e,
20
20
  expanded: t,
21
- depth: s = 0,
21
+ depth: r = 0,
22
22
  sort: n = !0
23
23
  }) => {
24
- s === 0 && n && (e = e.sort((a, l) => a.name.localeCompare(l.name)));
25
- const r = [];
24
+ r === 0 && n && (e = e.sort((a, l) => a.name.localeCompare(l.name)));
25
+ const s = [];
26
26
  return e.forEach((a, l) => {
27
27
  const i = X(a, t);
28
- r.push({ ...a, depth: s, expanded: i, index: l }), i && a.children != null && (a.children = H(a.children, n), r.push(
29
- ...G({ nodes: a.children, expanded: t, depth: s + 1, sort: n })
28
+ s.push({ ...a, depth: r, expanded: i, index: l }), i && a.children != null && (a.children = k(a.children, n), s.push(
29
+ ...G({ nodes: a.children, expanded: t, depth: r + 1, sort: n })
30
30
  ));
31
- }), r;
32
- }, _e = ({ tree: e, destination: t, keys: s }) => (s = k(s), s.forEach((n) => {
33
- const r = v({ tree: e, key: n });
34
- r != null && (Y({ tree: e, keys: n }), q({ tree: e, destination: t, additions: r }));
31
+ }), s;
32
+ }, je = ({ tree: e, destination: t, keys: r }) => (r = H(r), r.forEach((n) => {
33
+ const s = v({ tree: e, key: n });
34
+ s != null && (Y({ tree: e, keys: n }), q({ tree: e, destination: t, additions: s }));
35
35
  }), e), Y = ({ tree: e, keys: t }) => {
36
- t = k(t);
37
- const s = e.map((n) => n.key);
36
+ t = H(t);
37
+ const r = e.map((n) => n.key);
38
38
  return t.forEach((n) => {
39
39
  var a;
40
- const r = s.indexOf(n);
41
- if (r !== -1) e.splice(r, 1);
40
+ const s = r.indexOf(n);
41
+ if (s !== -1) e.splice(s, 1);
42
42
  else {
43
43
  const l = $({ tree: e, key: n });
44
44
  l != null && (l.children = (a = l.children) == null ? void 0 : a.filter((i) => i.key !== n));
45
45
  }
46
46
  }), e;
47
- }, q = ({ tree: e, destination: t, additions: s }) => {
48
- s = k(s);
47
+ }, q = ({ tree: e, destination: t, additions: r }) => {
48
+ r = H(r);
49
49
  const n = v({ tree: e, key: t });
50
50
  if (n == null) throw new Error(`Could not find node with key ${t}`);
51
51
  n.children == null && (n.children = []);
52
- const r = s.map((a) => a.key);
52
+ const s = r.map((a) => a.key);
53
53
  return n.children = [
54
- ...s,
55
- ...n.children.filter((a) => !r.includes(a.key))
54
+ ...r,
55
+ ...n.children.filter((a) => !s.includes(a.key))
56
56
  ], e;
57
57
  }, we = ({
58
58
  tree: e,
59
59
  key: t,
60
- updater: s,
60
+ updater: r,
61
61
  throwOnMissing: n = !0
62
62
  }) => {
63
63
  var l, i;
64
- const r = v({ tree: e, key: t });
65
- if (r == null) {
64
+ const s = v({ tree: e, key: t });
65
+ if (s == null) {
66
66
  if (n) throw new Error(`Could not find node with key ${t}`);
67
67
  return e;
68
68
  }
69
69
  const a = $({ tree: e, key: t });
70
70
  if (a != null) {
71
71
  const o = (l = a.children) == null ? void 0 : l.findIndex((x) => x.key === t);
72
- o != null && o !== -1 && ((i = a.children) == null || i.splice(o, 1, s(r)));
72
+ o != null && o !== -1 && ((i = a.children) == null || i.splice(o, 1, r(s)));
73
73
  } else
74
74
  e.splice(
75
75
  e.findIndex((o) => o.key === t),
76
76
  1,
77
- s(r)
77
+ r(s)
78
78
  );
79
79
  return e;
80
80
  }, Ie = ({
81
81
  tree: e,
82
82
  parent: t,
83
- updater: s,
83
+ updater: r,
84
84
  throwOnMissing: n = !0
85
85
  }) => {
86
- const r = v({ tree: e, key: t });
87
- if (r == null) {
86
+ const s = v({ tree: e, key: t });
87
+ if (s == null) {
88
88
  if (n) throw new Error(`Could not find node with key ${t}`);
89
89
  return e;
90
90
  }
91
- return r.children = s(r.children ?? []), e;
91
+ return s.children = r(s.children ?? []), e;
92
92
  }, v = ({
93
93
  tree: e,
94
94
  key: t,
95
- depth: s = 0
95
+ depth: r = 0
96
96
  }) => {
97
97
  for (let n = 0; n < e.length; n++) {
98
- const r = e[n];
99
- if (r.key === t) {
100
- const a = r;
101
- return a.depth = s, a.position = n, a;
98
+ const s = e[n];
99
+ if (s.key === t) {
100
+ const a = s;
101
+ return a.depth = r, a.position = n, a;
102
102
  }
103
- if (r.children != null) {
104
- const a = v({ tree: r.children, key: t, depth: s + 1 });
103
+ if (s.children != null) {
104
+ const a = v({ tree: s.children, key: t, depth: r + 1 });
105
105
  if (a != null) return a;
106
106
  }
107
107
  }
108
108
  return null;
109
109
  }, Se = ({ tree: e, keys: t }) => {
110
- const s = [];
110
+ const r = [];
111
111
  for (const n of t) {
112
- const r = v({ tree: e, key: n });
113
- r != null && s.push(r);
112
+ const s = v({ tree: e, key: n });
113
+ s != null && r.push(s);
114
114
  }
115
- return s;
115
+ return r;
116
116
  }, $ = ({ tree: e, key: t }) => {
117
- for (const s of e)
118
- if (s.children != null) {
119
- if (s.children.some((r) => r.key === t)) return s;
120
- const n = $({ tree: s.children, key: t });
117
+ for (const r of e)
118
+ if (r.children != null) {
119
+ if (r.children.some((s) => s.key === t)) return r;
120
+ const n = $({ tree: r.children, key: t });
121
121
  if (n != null) return n;
122
122
  }
123
123
  return null;
124
- }, V = (e) => e.map((t) => ({ ...t, children: V(t.children ?? []) })), B = "tree-item", Le = [["Shift"]], je = (e) => {
124
+ }, V = (e) => e.map((t) => ({ ...t, children: V(t.children ?? []) })), J = (...e) => {
125
+ const t = [];
126
+ return e.forEach((r) => {
127
+ t.push(r), r.children != null && t.push(...J(...r.children));
128
+ }), t;
129
+ }, B = "tree-item", Le = [["Shift"]], Pe = (e) => {
125
130
  const {
126
131
  onExpand: t,
127
- nodes: s,
132
+ nodes: r,
128
133
  initialExpanded: n = [],
129
- sort: r = !0,
134
+ sort: s = !0,
130
135
  selected: a,
131
136
  onSelectedChange: l
132
- } = e ?? {}, [i, o, x] = fe(n), [c, T] = ne({
137
+ } = e ?? {}, [i, o, x] = ue(n), [c, T] = re({
133
138
  initial: [],
134
139
  value: a,
135
140
  onChange: l
136
- }), _ = Ne(() => G({ nodes: s, expanded: i, sort: r }), [s, i, r]), w = ue(_), L = he({ triggers: Le }), R = b(
141
+ }), _ = be(() => G({ nodes: r, expanded: i, sort: s }), [r, i, s]), j = he(_), S = pe({ triggers: Le }), R = b(
137
142
  (f, { clicked: d }) => {
138
143
  T(f);
139
- const g = w.current.find((E) => E.key === d);
140
- if ((g == null ? void 0 : g.hasChildren) === !1 || d == null || L.current.held) return;
141
- const y = x.current, S = y.some((E) => E === d) ? "contract" : "expand";
144
+ const g = j.current.find((E) => E.key === d);
145
+ if ((g == null ? void 0 : g.hasChildren) === !1 || d == null || S.current.held) return;
146
+ const y = x.current, I = y.some((E) => E === d) ? "contract" : "expand";
142
147
  let C = y;
143
- S === "contract" ? C = y.filter((E) => E !== d) : C = [...y, d], o(C), t == null || t({ current: C, action: S, clicked: d });
148
+ I === "contract" ? C = y.filter((E) => E !== d) : C = [...y, d], o(C), t == null || t({ current: C, action: I, clicked: d });
144
149
  },
145
- [t, w, o, T]
150
+ [t, j, o, T]
146
151
  ), h = b(
147
152
  (f) => {
148
- o((d) => re([...d, f])), t == null || t({ current: i, action: "expand", clicked: f });
153
+ o((d) => se([...d, f])), t == null || t({ current: i, action: "expand", clicked: f });
149
154
  },
150
155
  [o]
151
- ), j = b(
156
+ ), L = b(
152
157
  (f) => {
153
158
  o((d) => d.filter((g) => g !== f)), t == null || t({ current: i, action: "contract", clicked: f });
154
159
  },
155
160
  [o]
156
- ), I = b(() => o([]), [o]);
161
+ ), w = b(() => o([]), [o]);
157
162
  return {
158
163
  onSelect: R,
159
164
  selected: c,
160
165
  expanded: i,
161
- contract: j,
166
+ contract: L,
162
167
  expand: h,
163
168
  nodes: _,
164
- clearExpanded: I
169
+ clearExpanded: w
165
170
  };
166
- }, K = Ce(
171
+ }, K = Ee(
167
172
  ({
168
173
  entry: e,
169
174
  selected: t,
170
- onSelect: s,
175
+ onSelect: r,
171
176
  onDrop: n,
172
- onRename: r,
177
+ onRename: s,
173
178
  onSuccessfulDrop: a,
174
179
  onDoubleClick: l,
175
180
  loading: i = !1,
@@ -180,20 +185,20 @@ const X = (e, t) => t.includes(e.key), H = (e, t) => {
180
185
  key: c,
181
186
  hasChildren: T = !1,
182
187
  allowRename: _ = !1,
183
- children: w,
184
- icon: L,
188
+ children: j,
189
+ icon: S,
185
190
  name: R,
186
191
  depth: h,
187
- expanded: j,
188
- href: I,
192
+ expanded: L,
193
+ href: w,
189
194
  haulItems: f = []
190
- } = e, { getSelected: d } = se(), { getSourceData: g } = ae(), y = T || w != null && w.length > 0, S = [];
191
- y && S.push(
192
- /* @__PURE__ */ N.jsx(ve, { enabled: j, enabledLoc: "bottom", disabledLoc: "right" })
193
- ), L != null && S.push(L);
195
+ } = e, { getSelected: d } = ae(), { getSourceData: g } = le(), y = T || j != null && j.length > 0, I = [];
196
+ y && I.push(
197
+ /* @__PURE__ */ N.jsx(Te, { enabled: L, enabledLoc: "bottom", disabledLoc: "right" })
198
+ ), S != null && I.push(S);
194
199
  const C = [];
195
- i && C.push(/* @__PURE__ */ N.jsx(le.Loading, { className: u.B("loading-indicator") }));
196
- const [E, A] = Ee(!1), { startDrag: U, ...J } = oe({
200
+ i && C.push(/* @__PURE__ */ N.jsx(oe.Loading, { className: u.B("loading-indicator") }));
201
+ const [E, A] = Ne(!1), { startDrag: U, ...Q } = ie({
197
202
  type: "Tree.Item",
198
203
  key: c,
199
204
  canDrop: b(({ items: p, source: M }) => {
@@ -202,7 +207,7 @@ const X = (e, t) => t.includes(e.key), H = (e, t) => {
202
207
  }, []),
203
208
  onDrop: b((p) => (n == null ? void 0 : n(c, p)) ?? [], [c, n]),
204
209
  onDragOver: b(() => A(!0), [])
205
- }), Q = () => {
210
+ }), Z = () => {
206
211
  const p = d(), M = g().filter(
207
212
  (m) => p.includes(m.key)
208
213
  );
@@ -223,79 +228,79 @@ const X = (e, t) => t.includes(e.key), H = (e, t) => {
223
228
  ],
224
229
  (m) => a == null ? void 0 : a(c, m)
225
230
  );
226
- }, Z = o ? "marginLeft" : "paddingLeft", D = {
231
+ }, D = o ? "marginLeft" : "paddingLeft", ee = {
227
232
  id: c,
228
233
  variant: "text",
229
234
  draggable: f.length > 0,
230
235
  className: u(
231
236
  u.BE("list", "item"),
232
- ie,
237
+ ce,
233
238
  E && u.M("dragging-over"),
234
- t && ce,
239
+ t && de,
235
240
  u.selected(t),
236
241
  y && u.M("has-children"),
237
242
  u.BM("depth", h.toString())
238
243
  ),
239
244
  onDragLeave: () => A(!1),
240
- onDragStart: Q,
241
- onClick: () => s == null ? void 0 : s(c),
245
+ onDragStart: Z,
246
+ onClick: () => r == null ? void 0 : r(c),
242
247
  style: {
243
248
  border: "none",
244
249
  position: x != null ? "absolute" : "relative",
245
250
  transform: `translateY(${x}px)`,
246
- [Z]: `${h * 1.5 + 1.5}rem`,
251
+ [D]: `${h * 1.5 + 1.5}rem`,
247
252
  // @ts-expect-error - CSS variable
248
253
  "--pluto-tree-indicator-offset": `${h * 1.5 + (h === 0 ? 0 : 0.5)}rem`
249
254
  },
250
- startIcon: S,
255
+ startIcon: I,
251
256
  iconSpacing: "small",
252
257
  noWrap: !0,
253
258
  endIcon: C,
254
259
  onDoubleClick: (p) => l == null ? void 0 : l(c, p),
255
- href: I,
256
- ...J
257
- }, ee = I != null ? be : pe;
258
- return /* @__PURE__ */ N.jsx(ee, { className: u.BE("list", "item"), ...D, children: /* @__PURE__ */ N.jsx(
259
- de,
260
+ href: w,
261
+ ...Q
262
+ }, te = w != null ? ve : me;
263
+ return /* @__PURE__ */ N.jsx(te, { className: u.BE("list", "item"), ...ee, children: /* @__PURE__ */ N.jsx(
264
+ fe,
260
265
  {
261
266
  id: `text-${c}`,
262
267
  level: "p",
263
268
  allowDoubleClick: !1,
264
269
  value: R,
265
270
  disabled: !_,
266
- onChange: (p) => r == null ? void 0 : r(c, p)
271
+ onChange: (p) => s == null ? void 0 : s(c, p)
267
272
  }
268
273
  ) });
269
274
  }
270
275
  );
271
276
  K.displayName = "Tree.Item";
272
- const Pe = ye(K), Re = ({
277
+ const Re = Ce(K), $e = ({
273
278
  nodes: e,
274
279
  selected: t = [],
275
- onSelect: s,
280
+ onSelect: r,
276
281
  onDrop: n,
277
- onRename: r,
282
+ onRename: s,
278
283
  onSuccessfulDrop: a,
279
284
  onDoubleClick: l,
280
285
  className: i,
281
- children: o = Pe,
286
+ children: o = Re,
282
287
  itemHeight: x = 27,
283
288
  useMargin: c = !1,
284
289
  showRules: T = !1,
285
290
  virtual: _ = !0,
286
- clearExpanded: w,
287
- expand: L,
291
+ clearExpanded: j,
292
+ expand: S,
288
293
  contract: R,
289
294
  emptyContent: h,
290
- loading: j,
291
- ...I
295
+ loading: L,
296
+ ...w
292
297
  }) => {
293
298
  const f = _ ? W.Virtual : W;
294
- return /* @__PURE__ */ N.jsx(Te, { data: e, emptyContent: h, children: /* @__PURE__ */ N.jsx(
295
- me,
299
+ return /* @__PURE__ */ N.jsx(_e, { data: e, emptyContent: h, children: /* @__PURE__ */ N.jsx(
300
+ ge,
296
301
  {
297
302
  value: t,
298
- onChange: s,
303
+ onChange: r,
299
304
  allowMultiple: !0,
300
305
  replaceOnSingle: !0,
301
306
  children: /* @__PURE__ */ N.jsx(
@@ -303,14 +308,14 @@ const Pe = ye(K), Re = ({
303
308
  {
304
309
  itemHeight: x,
305
310
  className: u(i, u.B("tree"), T && u.M("rules")),
306
- ...I,
311
+ ...w,
307
312
  children: ({ key: d, ...g }) => o({
308
313
  ...g,
309
314
  key: d,
310
- loading: j === d,
315
+ loading: L === d,
311
316
  useMargin: c,
312
317
  onDrop: n,
313
- onRename: r,
318
+ onRename: s,
314
319
  onSuccessfulDrop: a,
315
320
  onDoubleClick: l
316
321
  })
@@ -318,27 +323,28 @@ const Pe = ye(K), Re = ({
318
323
  )
319
324
  }
320
325
  ) });
321
- }, $e = (e, t) => ge(`text-${e}`, t), Ae = (e) => xe(`text-${e}`), Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
326
+ }, Ae = (e, t) => xe(`text-${e}`, t), Me = (e) => ye(`text-${e}`), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
322
327
  __proto__: null,
323
328
  DefaultItem: K,
324
329
  HAUL_TYPE: B,
325
- Tree: Re,
326
- asyncRename: Ae,
330
+ Tree: $e,
331
+ asyncRename: Me,
327
332
  deepCopy: V,
328
333
  findNode: v,
329
334
  findNodeParent: $,
330
335
  findNodes: Se,
331
336
  flatten: G,
332
- moveNode: _e,
337
+ getDescendants: J,
338
+ moveNode: je,
333
339
  removeNode: Y,
334
340
  setNode: q,
335
341
  shouldExpand: X,
336
- sortAndSplice: H,
337
- startRenaming: $e,
342
+ sortAndSplice: k,
343
+ startRenaming: Ae,
338
344
  updateNode: we,
339
345
  updateNodeChildren: Ie,
340
- use: je
346
+ use: Pe
341
347
  }, Symbol.toStringTag, { value: "Module" }));
342
348
  export {
343
- Fe as e
349
+ We as e
344
350
  };
@@ -1,4 +1,4 @@
1
- import { A as e, C as a, a as r, J as o, P as s, S as t, s as l } from "./Pack-E_3LSkGG.js";
1
+ import { A as e, C as a, a as r, J as o, P as s, S as t, s as l } from "./Pack-B7_4Xpi5.js";
2
2
  const S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  ALIGNMENTS: e,
@@ -1 +1 @@
1
- "use strict";const r=require("./aggregator-D9ExX_tt.cjs"),e=require("./Toggle-YiHP9pVf.cjs"),t=Object.freeze(Object.defineProperty({__proto__:null,Provider:e.Provider,SYNNAX_DARK:r.SYNNAX_DARK,SYNNAX_LIGHT:r.SYNNAX_LIGHT,SYNNAX_THEMES:r.SYNNAX_THEMES,Switch:e.Switch,get Theming(){return t},themeZ:r.themeZ,toCSSVars:e.toCSSVars,use:e.use,useContext:e.useContext,useProvider:e.useProvider,useTypography:e.useTypography},Symbol.toStringTag,{value:"Module"}));exports.external=t;
1
+ "use strict";const r=require("./aggregator-Bs9fTewE.cjs"),e=require("./Toggle-DBbZoe_A.cjs"),t=Object.freeze(Object.defineProperty({__proto__:null,Provider:e.Provider,SYNNAX_DARK:r.SYNNAX_DARK,SYNNAX_LIGHT:r.SYNNAX_LIGHT,SYNNAX_THEMES:r.SYNNAX_THEMES,Switch:e.Switch,get Theming(){return t},themeZ:r.themeZ,toCSSVars:e.toCSSVars,use:e.use,useContext:e.useContext,useProvider:e.useProvider,useTypography:e.useTypography},Symbol.toStringTag,{value:"Module"}));exports.external=t;
@@ -1 +1 @@
1
- "use strict";const m=require("./Toggle-YiHP9pVf.cjs"),ke=require("./jsx-runtime-Cek9Ww4S.cjs"),$e=require("react"),he=require("./aggregator-D9ExX_tt.cjs");require("./css-DY1Oedjj.cjs");require("./Pack-BM_LmeO7.cjs");const ve=require("./List-CBMm9BLf.cjs"),W=Symbol(),ue=Symbol(),X=Symbol();let je=(t,e)=>new Proxy(t,e);const z=Object.getPrototypeOf,se=new WeakMap,J=t=>t&&(se.has(t)?se.get(t):z(t)===Object.prototype||z(t)===Array.prototype),re=t=>typeof t=="object"&&t!==null,ne=new WeakMap,fe=t=>t[X]||t,de=(t,e,s)=>{if(!J(t))return t;const r=fe(t),n=(c=>Object.isFrozen(c)||Object.values(Object.getOwnPropertyDescriptors(c)).some(o=>!o.writable))(r);let i=s&&s.get(r);return i&&i[1].f===n||(i=((c,o)=>{const a={f:o};let h=!1;const l=(d,g)=>{if(!h){let p=a.a.get(c);p||(p=new Set,a.a.set(c,p)),g&&p.has(W)||p.add(d)}},u={get:(d,g)=>g===X?c:(l(g),de(d[g],a.a,a.c)),has:(d,g)=>g===ue?(h=!0,a.a.delete(c),!0):(l(g),g in d),getOwnPropertyDescriptor:(d,g)=>(l(g,!0),Object.getOwnPropertyDescriptor(d,g)),ownKeys:d=>(l(W),Reflect.ownKeys(d))};return o&&(u.set=u.deleteProperty=()=>!1),[u,a]})(r,n),i[1].p=je(n?(c=>{let o=ne.get(c);if(!o){if(Array.isArray(c))o=Array.from(c);else{const a=Object.getOwnPropertyDescriptors(c);Object.values(a).forEach(h=>{h.configurable=!0}),o=Object.create(z(c),a)}ne.set(c,o)}return o})(r):r,i[0]),s&&s.set(r,i)),i[1].a=e,i[1].c=s,i[1].p},Te=(t,e)=>{const s=Reflect.ownKeys(t),r=Reflect.ownKeys(e);return s.length!==r.length||s.some((n,i)=>n!==r[i])},ge=(t,e,s,r)=>{if(Object.is(t,e))return!1;if(!re(t)||!re(e))return!0;const n=s.get(fe(t));if(!n)return!0;if(r){const c=r.get(t);if(c&&c.n===e)return c.g;r.set(t,{n:e,g:!1})}let i=null;for(const c of n){const o=c===W?Te(t,e):ge(t[c],e[c],s,r);if(o!==!0&&o!==!1||(i=o),i)break}return i===null&&(i=!0),r&&r.set(t,{n:e,g:i}),i},Fe=t=>!!J(t)&&ue in t,Z=t=>J(t)&&t[X]||null,H=t=>typeof t=="object"&&t!==null,pe=(t,e)=>{if(!H(t))return t;const s=Z(t);return s!==null?(Fe(t),s):(e.has(t)||(e.add(t),Object.entries(t).forEach(([r,n])=>{const i=pe(n,e);Object.is(i,n)||(t[r]=i)})),t)},F=(t,e,s)=>{if(!H(t)||!H(e))return;const r=s.get(Z(e)||e);r&&r.forEach(n=>{F(t[n],e[n],s)})},Ne=(t,e)=>{var s;let r=0;const n=(s=e==null?void 0:e.size)!=null?s:1,i=[],c=new WeakMap,o=new WeakMap;return a=>{const h=Z(a)||a,l=c.get(h);if(l)return F(a,l.o,l.a),l.r;for(let M=0;M<n;M+=1){const y=i[(r+M)%n];if(!y)break;if(!ge(y.o,a,y.a,new WeakMap))return c.set(h,y),F(a,y.o,y.a),y.r}const u=new WeakMap,d=de(a,u,o),g=pe(t(d),new Set);F(a,a,u);const p={o:a,r:g,a:u};return r=(r-1+n)%n,i[r]=p,c.set(h,p),g}},me=(t,e)=>he.w$1.RUNTIME==="browser"?Ne(t,e):t;function I(t){return Array.isArray?Array.isArray(t):xe(t)==="[object Array]"}const De=1/0;function Pe(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-De?"-0":e}function Ke(t){return t==null?"":Pe(t)}function _(t){return typeof t=="string"}function Me(t){return typeof t=="number"}function We(t){return t===!0||t===!1||ze(t)&&xe(t)=="[object Boolean]"}function ye(t){return typeof t=="object"}function ze(t){return ye(t)&&t!==null}function x(t){return t!=null}function K(t){return!t.trim().length}function xe(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const He="Incorrect 'index' type",Ue=t=>`Invalid value for key ${t}`,Ve=t=>`Pattern length exceeds max of ${t}.`,Be=t=>`Missing ${t} property in key`,Ge=t=>`Property 'weight' in key '${t}' must be a positive integer`,ie=Object.prototype.hasOwnProperty;class Ye{constructor(e){this._keys=[],this._keyMap={};let s=0;e.forEach(r=>{let n=Se(r);this._keys.push(n),this._keyMap[n.id]=n,s+=n.weight}),this._keys.forEach(r=>{r.weight/=s})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Se(t){let e=null,s=null,r=null,n=1,i=null;if(_(t)||I(t))r=t,e=ce(t),s=U(t);else{if(!ie.call(t,"name"))throw new Error(Be("name"));const c=t.name;if(r=c,ie.call(t,"weight")&&(n=t.weight,n<=0))throw new Error(Ge(c));e=ce(c),s=U(c),i=t.getFn}return{path:e,id:s,weight:n,src:r,getFn:i}}function ce(t){return I(t)?t:t.split(".")}function U(t){return I(t)?t.join("."):t}function Qe(t,e){let s=[],r=!1;const n=(i,c,o)=>{if(x(i))if(!c[o])s.push(i);else{let a=c[o];const h=i[a];if(!x(h))return;if(o===c.length-1&&(_(h)||Me(h)||We(h)))s.push(Ke(h));else if(I(h)){r=!0;for(let l=0,u=h.length;l<u;l+=1)n(h[l],c,o+1)}else c.length&&n(h,c,o+1)}};return n(t,_(e)?e.split("."):e,0),r?s:s[0]}const Xe={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Je={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},Ze={location:0,threshold:.6,distance:100},qe={useExtendedSearch:!1,getFn:Qe,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var f={...Je,...Xe,...Ze,...qe};const et=/[^ ]+/g;function tt(t=1,e=3){const s=new Map,r=Math.pow(10,e);return{get(n){const i=n.match(et).length;if(s.has(i))return s.get(i);const c=1/Math.pow(i,.5*t),o=parseFloat(Math.round(c*r)/r);return s.set(i,o),o},clear(){s.clear()}}}class q{constructor({getFn:e=f.getFn,fieldNormWeight:s=f.fieldNormWeight}={}){this.norm=tt(s,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((s,r)=>{this._keysMap[s.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,_(this.docs[0])?this.docs.forEach((e,s)=>{this._addString(e,s)}):this.docs.forEach((e,s)=>{this._addObject(e,s)}),this.norm.clear())}add(e){const s=this.size();_(e)?this._addString(e,s):this._addObject(e,s)}removeAt(e){this.records.splice(e,1);for(let s=e,r=this.size();s<r;s+=1)this.records[s].i-=1}getValueForItemAtKeyId(e,s){return e[this._keysMap[s]]}size(){return this.records.length}_addString(e,s){if(!x(e)||K(e))return;let r={v:e,i:s,n:this.norm.get(e)};this.records.push(r)}_addObject(e,s){let r={i:s,$:{}};this.keys.forEach((n,i)=>{let c=n.getFn?n.getFn(e):this.getFn(e,n.path);if(x(c)){if(I(c)){let o=[];const a=[{nestedArrIndex:-1,value:c}];for(;a.length;){const{nestedArrIndex:h,value:l}=a.pop();if(x(l))if(_(l)&&!K(l)){let u={v:l,i:h,n:this.norm.get(l)};o.push(u)}else I(l)&&l.forEach((u,d)=>{a.push({nestedArrIndex:d,value:u})})}r.$[i]=o}else if(_(c)&&!K(c)){let o={v:c,n:this.norm.get(c)};r.$[i]=o}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Ee(t,e,{getFn:s=f.getFn,fieldNormWeight:r=f.fieldNormWeight}={}){const n=new q({getFn:s,fieldNormWeight:r});return n.setKeys(t.map(Se)),n.setSources(e),n.create(),n}function st(t,{getFn:e=f.getFn,fieldNormWeight:s=f.fieldNormWeight}={}){const{keys:r,records:n}=t,i=new q({getFn:e,fieldNormWeight:s});return i.setKeys(r),i.setIndexRecords(n),i}function T(t,{errors:e=0,currentLocation:s=0,expectedLocation:r=0,distance:n=f.distance,ignoreLocation:i=f.ignoreLocation}={}){const c=e/t.length;if(i)return c;const o=Math.abs(r-s);return n?c+o/n:o?1:c}function rt(t=[],e=f.minMatchCharLength){let s=[],r=-1,n=-1,i=0;for(let c=t.length;i<c;i+=1){let o=t[i];o&&r===-1?r=i:!o&&r!==-1&&(n=i-1,n-r+1>=e&&s.push([r,n]),r=-1)}return t[i-1]&&i-r>=e&&s.push([r,i-1]),s}const L=32;function nt(t,e,s,{location:r=f.location,distance:n=f.distance,threshold:i=f.threshold,findAllMatches:c=f.findAllMatches,minMatchCharLength:o=f.minMatchCharLength,includeMatches:a=f.includeMatches,ignoreLocation:h=f.ignoreLocation}={}){if(e.length>L)throw new Error(Ve(L));const l=e.length,u=t.length,d=Math.max(0,Math.min(r,u));let g=i,p=d;const M=o>1||a,y=M?Array(u):[];let b;for(;(b=t.indexOf(e,p))>-1;){let S=T(e,{currentLocation:b,expectedLocation:d,distance:n,ignoreLocation:h});if(g=Math.min(S,g),p=b+l,M){let w=0;for(;w<l;)y[b+w]=1,w+=1}}p=-1;let R=[],C=1,v=l+u;const Re=1<<l-1;for(let S=0;S<l;S+=1){let w=0,A=v;for(;w<A;)T(e,{errors:S,currentLocation:d+A,expectedLocation:d,distance:n,ignoreLocation:h})<=g?w=A:v=A,A=Math.floor((v-w)/2+w);v=A;let ee=Math.max(1,d-A+1),P=c?u:Math.min(d+A,u)+l,k=Array(P+2);k[P+1]=(1<<S)-1;for(let E=P;E>=ee;E-=1){let j=E-1,te=s[t.charAt(j)];if(M&&(y[j]=+!!te),k[E]=(k[E+1]<<1|1)&te,S&&(k[E]|=(R[E+1]|R[E])<<1|1|R[E+1]),k[E]&Re&&(C=T(e,{errors:S,currentLocation:j,expectedLocation:d,distance:n,ignoreLocation:h}),C<=g)){if(g=C,p=j,p<=d)break;ee=Math.max(1,2*d-p)}}if(T(e,{errors:S+1,currentLocation:d,expectedLocation:d,distance:n,ignoreLocation:h})>g)break;R=k}const D={isMatch:p>=0,score:Math.max(.001,C)};if(M){const S=rt(y,o);S.length?a&&(D.indices=S):D.isMatch=!1}return D}function it(t){let e={};for(let s=0,r=t.length;s<r;s+=1){const n=t.charAt(s);e[n]=(e[n]||0)|1<<r-s-1}return e}class _e{constructor(e,{location:s=f.location,threshold:r=f.threshold,distance:n=f.distance,includeMatches:i=f.includeMatches,findAllMatches:c=f.findAllMatches,minMatchCharLength:o=f.minMatchCharLength,isCaseSensitive:a=f.isCaseSensitive,ignoreLocation:h=f.ignoreLocation}={}){if(this.options={location:s,threshold:r,distance:n,includeMatches:i,findAllMatches:c,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:h},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const l=(d,g)=>{this.chunks.push({pattern:d,alphabet:it(d),startIndex:g})},u=this.pattern.length;if(u>L){let d=0;const g=u%L,p=u-g;for(;d<p;)l(this.pattern.substr(d,L),d),d+=L;if(g){const M=u-L;l(this.pattern.substr(M),M)}}else l(this.pattern,0)}searchIn(e){const{isCaseSensitive:s,includeMatches:r}=this.options;if(s||(e=e.toLowerCase()),this.pattern===e){let p={isMatch:!0,score:0};return r&&(p.indices=[[0,e.length-1]]),p}const{location:n,distance:i,threshold:c,findAllMatches:o,minMatchCharLength:a,ignoreLocation:h}=this.options;let l=[],u=0,d=!1;this.chunks.forEach(({pattern:p,alphabet:M,startIndex:y})=>{const{isMatch:b,score:R,indices:C}=nt(e,p,M,{location:n+y,distance:i,threshold:c,findAllMatches:o,minMatchCharLength:a,includeMatches:r,ignoreLocation:h});b&&(d=!0),u+=R,b&&C&&(l=[...l,...C])});let g={isMatch:d,score:d?u/this.chunks.length:1};return d&&r&&(g.indices=l),g}}class O{constructor(e){this.pattern=e}static isMultiMatch(e){return oe(e,this.multiRegex)}static isSingleMatch(e){return oe(e,this.singleRegex)}search(){}}function oe(t,e){const s=t.match(e);return s?s[1]:null}class ct extends O{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const s=e===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class ot extends O{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const r=e.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class at extends O{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const s=e.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class lt extends O{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const s=!e.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class ht extends O{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const s=e.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class ut extends O{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const s=!e.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class be extends O{constructor(e,{location:s=f.location,threshold:r=f.threshold,distance:n=f.distance,includeMatches:i=f.includeMatches,findAllMatches:c=f.findAllMatches,minMatchCharLength:o=f.minMatchCharLength,isCaseSensitive:a=f.isCaseSensitive,ignoreLocation:h=f.ignoreLocation}={}){super(e),this._bitapSearch=new _e(e,{location:s,threshold:r,distance:n,includeMatches:i,findAllMatches:c,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ie extends O{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let s=0,r;const n=[],i=this.pattern.length;for(;(r=e.indexOf(this.pattern,s))>-1;)s=r+i,n.push([r,s-1]);const c=!!n.length;return{isMatch:c,score:c?0:1,indices:n}}}const V=[ct,Ie,at,lt,ut,ht,ot,be],ae=V.length,ft=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,dt="|";function gt(t,e={}){return t.split(dt).map(s=>{let r=s.trim().split(ft).filter(i=>i&&!!i.trim()),n=[];for(let i=0,c=r.length;i<c;i+=1){const o=r[i];let a=!1,h=-1;for(;!a&&++h<ae;){const l=V[h];let u=l.isMultiMatch(o);u&&(n.push(new l(u,e)),a=!0)}if(!a)for(h=-1;++h<ae;){const l=V[h];let u=l.isSingleMatch(o);if(u){n.push(new l(u,e));break}}}return n})}const pt=new Set([be.type,Ie.type]);class mt{constructor(e,{isCaseSensitive:s=f.isCaseSensitive,includeMatches:r=f.includeMatches,minMatchCharLength:n=f.minMatchCharLength,ignoreLocation:i=f.ignoreLocation,findAllMatches:c=f.findAllMatches,location:o=f.location,threshold:a=f.threshold,distance:h=f.distance}={}){this.query=null,this.options={isCaseSensitive:s,includeMatches:r,minMatchCharLength:n,findAllMatches:c,ignoreLocation:i,location:o,threshold:a,distance:h},this.pattern=s?e:e.toLowerCase(),this.query=gt(this.pattern,this.options)}static condition(e,s){return s.useExtendedSearch}searchIn(e){const s=this.query;if(!s)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:n}=this.options;e=n?e:e.toLowerCase();let i=0,c=[],o=0;for(let a=0,h=s.length;a<h;a+=1){const l=s[a];c.length=0,i=0;for(let u=0,d=l.length;u<d;u+=1){const g=l[u],{isMatch:p,indices:M,score:y}=g.search(e);if(p){if(i+=1,o+=y,r){const b=g.constructor.type;pt.has(b)?c=[...c,...M]:c.push(M)}}else{o=0,i=0,c.length=0;break}}if(i){let u={isMatch:!0,score:o/i};return r&&(u.indices=c),u}}return{isMatch:!1,score:1}}}const B=[];function Mt(...t){B.push(...t)}function G(t,e){for(let s=0,r=B.length;s<r;s+=1){let n=B[s];if(n.condition(t,e))return new n(t,e)}return new _e(t,e)}const N={AND:"$and",OR:"$or"},Y={PATH:"$path",PATTERN:"$val"},Q=t=>!!(t[N.AND]||t[N.OR]),yt=t=>!!t[Y.PATH],xt=t=>!I(t)&&ye(t)&&!Q(t),le=t=>({[N.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function we(t,e,{auto:s=!0}={}){const r=n=>{let i=Object.keys(n);const c=yt(n);if(!c&&i.length>1&&!Q(n))return r(le(n));if(xt(n)){const a=c?n[Y.PATH]:i[0],h=c?n[Y.PATTERN]:n[a];if(!_(h))throw new Error(Ue(a));const l={keyId:U(a),pattern:h};return s&&(l.searcher=G(h,e)),l}let o={children:[],operator:i[0]};return i.forEach(a=>{const h=n[a];I(h)&&h.forEach(l=>{o.children.push(r(l))})}),o};return Q(t)||(t=le(t)),r(t)}function St(t,{ignoreFieldNorm:e=f.ignoreFieldNorm}){t.forEach(s=>{let r=1;s.matches.forEach(({key:n,norm:i,score:c})=>{const o=n?n.weight:null;r*=Math.pow(c===0&&o?Number.EPSILON:c,(o||1)*(e?1:i))}),s.score=r})}function Et(t,e){const s=t.matches;e.matches=[],x(s)&&s.forEach(r=>{if(!x(r.indices)||!r.indices.length)return;const{indices:n,value:i}=r;let c={indices:n,value:i};r.key&&(c.key=r.key.src),r.idx>-1&&(c.refIndex=r.idx),e.matches.push(c)})}function _t(t,e){e.score=t.score}function bt(t,e,{includeMatches:s=f.includeMatches,includeScore:r=f.includeScore}={}){const n=[];return s&&n.push(Et),r&&n.push(_t),t.map(i=>{const{idx:c}=i,o={item:e[c],refIndex:c};return n.length&&n.forEach(a=>{a(i,o)}),o})}class ${constructor(e,s={},r){this.options={...f,...s},this.options.useExtendedSearch,this._keyStore=new Ye(this.options.keys),this.setCollection(e,r)}setCollection(e,s){if(this._docs=e,s&&!(s instanceof q))throw new Error(He);this._myIndex=s||Ee(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){x(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const s=[];for(let r=0,n=this._docs.length;r<n;r+=1){const i=this._docs[r];e(i,r)&&(this.removeAt(r),r-=1,n-=1,s.push(i))}return s}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:s=-1}={}){const{includeMatches:r,includeScore:n,shouldSort:i,sortFn:c,ignoreFieldNorm:o}=this.options;let a=_(e)?_(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return St(a,{ignoreFieldNorm:o}),i&&a.sort(c),Me(s)&&s>-1&&(a=a.slice(0,s)),bt(a,this._docs,{includeMatches:r,includeScore:n})}_searchStringList(e){const s=G(e,this.options),{records:r}=this._myIndex,n=[];return r.forEach(({v:i,i:c,n:o})=>{if(!x(i))return;const{isMatch:a,score:h,indices:l}=s.searchIn(i);a&&n.push({item:i,idx:c,matches:[{score:h,value:i,norm:o,indices:l}]})}),n}_searchLogical(e){const s=we(e,this.options),r=(o,a,h)=>{if(!o.children){const{keyId:u,searcher:d}=o,g=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(a,u),searcher:d});return g&&g.length?[{idx:h,item:a,matches:g}]:[]}const l=[];for(let u=0,d=o.children.length;u<d;u+=1){const g=o.children[u],p=r(g,a,h);if(p.length)l.push(...p);else if(o.operator===N.AND)return[]}return l},n=this._myIndex.records,i={},c=[];return n.forEach(({$:o,i:a})=>{if(x(o)){let h=r(s,o,a);h.length&&(i[a]||(i[a]={idx:a,item:o,matches:[]},c.push(i[a])),h.forEach(({matches:l})=>{i[a].matches.push(...l)}))}}),c}_searchObjectList(e){const s=G(e,this.options),{keys:r,records:n}=this._myIndex,i=[];return n.forEach(({$:c,i:o})=>{if(!x(c))return;let a=[];r.forEach((h,l)=>{a.push(...this._findMatches({key:h,value:c[l],searcher:s}))}),a.length&&i.push({idx:o,item:c,matches:a})}),i}_findMatches({key:e,value:s,searcher:r}){if(!x(s))return[];let n=[];if(I(s))s.forEach(({v:i,i:c,n:o})=>{if(!x(i))return;const{isMatch:a,score:h,indices:l}=r.searchIn(i);a&&n.push({score:h,key:e,value:i,idx:c,norm:o,indices:l})});else{const{v:i,n:c}=s,{isMatch:o,score:a,indices:h}=r.searchIn(i);o&&n.push({score:a,key:e,value:i,norm:c,indices:h})}return n}}$.version="7.0.0";$.createIndex=Ee;$.parseIndex=st;$.config=f;$.parseQuery=we;Mt(mt);const It={threshold:.3},Ae=t=>e=>{const s=new $(e,{keys:Object.keys(e[0]),...It,...t});return{type:"fuse",page:(r,n)=>e.slice(r*n,(r+1)*n),search:r=>s.search(r).map(({item:n})=>n),retrieve:r=>e.filter(n=>r.includes(n.key))}},wt=Ae(),Oe=({term:t,searcher:e=wt})=>me(({data:s})=>typeof e=="function"?t.length===0||(s==null?void 0:s.length)===0?{data:s,transformed:!1}:{data:e(s).search(t),transformed:!0}:{data:e.search(t),transformed:!0}),Ce=({debounce:t=250,value:e,onChange:s,transformBefore:r})=>{const[n,i]=he.usePurePassthrough({onChange:s,value:e,initial:""}),{setTransform:c,deleteTransform:o}=m.useDataUtilContext(),a=m.useDebouncedCallback(c,t,[]),h=$e.useCallback(l=>{i(l),l.length===0?o("filter"):(r!=null&&(l=r(l)),a("filter",Oe({term:l})))},[i,r]);return{value:n,onChange:h}},Le=({children:t=s=>ke.jsxRuntimeExports.jsx(m.Text$1,{...s}),...e})=>t(Ce(e)),At=Object.freeze(Object.defineProperty({__proto__:null,Column:m.Column,ColumnContext:m.ColumnContext,Core:m.Core,DataProvider:m.DataProvider,Filter:Le,Hover:m.Hover,ItemFrame:m.ItemFrame,List:ve.List,Search:m.Search,Selector:m.Selector,selectValueIsZero:m.selectValueIsZero,useDataContext:m.useDataContext,useDataUtilContext:m.useDataUtilContext,useFilter:Ce,useGetTransformedData:m.useGetTransformedData,useHoverContext:m.useHoverContext,useSearch:m.useSearch,useSelect:m.useSelect,useSelection:m.useSelection,useSelectionContext:m.useSelectionContext,useSelectionUtils:m.useSelectionUtils,useSetSourceData:m.useSetSourceData,useSourceData:m.useSourceData,useTransformedData:m.useTransformedData},Symbol.toStringTag,{value:"Module"}));exports.Filter=Le;exports.createFilterTransform=Oe;exports.external=At;exports.fuseFilter=Ae;exports.proxyMemo=me;
1
+ "use strict";const m=require("./Toggle-DBbZoe_A.cjs"),ke=require("./jsx-runtime-Cek9Ww4S.cjs"),$e=require("react"),he=require("./aggregator-Bs9fTewE.cjs");require("./css-B7TifAVb.cjs");require("./Pack--3w90epp.cjs");const ve=require("./List-qhbpsD-f.cjs"),W=Symbol(),ue=Symbol(),X=Symbol();let je=(t,e)=>new Proxy(t,e);const z=Object.getPrototypeOf,se=new WeakMap,J=t=>t&&(se.has(t)?se.get(t):z(t)===Object.prototype||z(t)===Array.prototype),re=t=>typeof t=="object"&&t!==null,ne=new WeakMap,fe=t=>t[X]||t,de=(t,e,s)=>{if(!J(t))return t;const r=fe(t),n=(c=>Object.isFrozen(c)||Object.values(Object.getOwnPropertyDescriptors(c)).some(o=>!o.writable))(r);let i=s&&s.get(r);return i&&i[1].f===n||(i=((c,o)=>{const a={f:o};let h=!1;const l=(d,g)=>{if(!h){let p=a.a.get(c);p||(p=new Set,a.a.set(c,p)),g&&p.has(W)||p.add(d)}},u={get:(d,g)=>g===X?c:(l(g),de(d[g],a.a,a.c)),has:(d,g)=>g===ue?(h=!0,a.a.delete(c),!0):(l(g),g in d),getOwnPropertyDescriptor:(d,g)=>(l(g,!0),Object.getOwnPropertyDescriptor(d,g)),ownKeys:d=>(l(W),Reflect.ownKeys(d))};return o&&(u.set=u.deleteProperty=()=>!1),[u,a]})(r,n),i[1].p=je(n?(c=>{let o=ne.get(c);if(!o){if(Array.isArray(c))o=Array.from(c);else{const a=Object.getOwnPropertyDescriptors(c);Object.values(a).forEach(h=>{h.configurable=!0}),o=Object.create(z(c),a)}ne.set(c,o)}return o})(r):r,i[0]),s&&s.set(r,i)),i[1].a=e,i[1].c=s,i[1].p},Te=(t,e)=>{const s=Reflect.ownKeys(t),r=Reflect.ownKeys(e);return s.length!==r.length||s.some((n,i)=>n!==r[i])},ge=(t,e,s,r)=>{if(Object.is(t,e))return!1;if(!re(t)||!re(e))return!0;const n=s.get(fe(t));if(!n)return!0;if(r){const c=r.get(t);if(c&&c.n===e)return c.g;r.set(t,{n:e,g:!1})}let i=null;for(const c of n){const o=c===W?Te(t,e):ge(t[c],e[c],s,r);if(o!==!0&&o!==!1||(i=o),i)break}return i===null&&(i=!0),r&&r.set(t,{n:e,g:i}),i},Fe=t=>!!J(t)&&ue in t,Z=t=>J(t)&&t[X]||null,H=t=>typeof t=="object"&&t!==null,pe=(t,e)=>{if(!H(t))return t;const s=Z(t);return s!==null?(Fe(t),s):(e.has(t)||(e.add(t),Object.entries(t).forEach(([r,n])=>{const i=pe(n,e);Object.is(i,n)||(t[r]=i)})),t)},F=(t,e,s)=>{if(!H(t)||!H(e))return;const r=s.get(Z(e)||e);r&&r.forEach(n=>{F(t[n],e[n],s)})},Ne=(t,e)=>{var s;let r=0;const n=(s=e==null?void 0:e.size)!=null?s:1,i=[],c=new WeakMap,o=new WeakMap;return a=>{const h=Z(a)||a,l=c.get(h);if(l)return F(a,l.o,l.a),l.r;for(let M=0;M<n;M+=1){const y=i[(r+M)%n];if(!y)break;if(!ge(y.o,a,y.a,new WeakMap))return c.set(h,y),F(a,y.o,y.a),y.r}const u=new WeakMap,d=de(a,u,o),g=pe(t(d),new Set);F(a,a,u);const p={o:a,r:g,a:u};return r=(r-1+n)%n,i[r]=p,c.set(h,p),g}},me=(t,e)=>he.w$1.RUNTIME==="browser"?Ne(t,e):t;function I(t){return Array.isArray?Array.isArray(t):xe(t)==="[object Array]"}const De=1/0;function Pe(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-De?"-0":e}function Ke(t){return t==null?"":Pe(t)}function _(t){return typeof t=="string"}function Me(t){return typeof t=="number"}function We(t){return t===!0||t===!1||ze(t)&&xe(t)=="[object Boolean]"}function ye(t){return typeof t=="object"}function ze(t){return ye(t)&&t!==null}function x(t){return t!=null}function K(t){return!t.trim().length}function xe(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const He="Incorrect 'index' type",Ue=t=>`Invalid value for key ${t}`,Ve=t=>`Pattern length exceeds max of ${t}.`,Be=t=>`Missing ${t} property in key`,Ge=t=>`Property 'weight' in key '${t}' must be a positive integer`,ie=Object.prototype.hasOwnProperty;class Ye{constructor(e){this._keys=[],this._keyMap={};let s=0;e.forEach(r=>{let n=Se(r);this._keys.push(n),this._keyMap[n.id]=n,s+=n.weight}),this._keys.forEach(r=>{r.weight/=s})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Se(t){let e=null,s=null,r=null,n=1,i=null;if(_(t)||I(t))r=t,e=ce(t),s=U(t);else{if(!ie.call(t,"name"))throw new Error(Be("name"));const c=t.name;if(r=c,ie.call(t,"weight")&&(n=t.weight,n<=0))throw new Error(Ge(c));e=ce(c),s=U(c),i=t.getFn}return{path:e,id:s,weight:n,src:r,getFn:i}}function ce(t){return I(t)?t:t.split(".")}function U(t){return I(t)?t.join("."):t}function Qe(t,e){let s=[],r=!1;const n=(i,c,o)=>{if(x(i))if(!c[o])s.push(i);else{let a=c[o];const h=i[a];if(!x(h))return;if(o===c.length-1&&(_(h)||Me(h)||We(h)))s.push(Ke(h));else if(I(h)){r=!0;for(let l=0,u=h.length;l<u;l+=1)n(h[l],c,o+1)}else c.length&&n(h,c,o+1)}};return n(t,_(e)?e.split("."):e,0),r?s:s[0]}const Xe={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Je={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},Ze={location:0,threshold:.6,distance:100},qe={useExtendedSearch:!1,getFn:Qe,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var f={...Je,...Xe,...Ze,...qe};const et=/[^ ]+/g;function tt(t=1,e=3){const s=new Map,r=Math.pow(10,e);return{get(n){const i=n.match(et).length;if(s.has(i))return s.get(i);const c=1/Math.pow(i,.5*t),o=parseFloat(Math.round(c*r)/r);return s.set(i,o),o},clear(){s.clear()}}}class q{constructor({getFn:e=f.getFn,fieldNormWeight:s=f.fieldNormWeight}={}){this.norm=tt(s,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((s,r)=>{this._keysMap[s.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,_(this.docs[0])?this.docs.forEach((e,s)=>{this._addString(e,s)}):this.docs.forEach((e,s)=>{this._addObject(e,s)}),this.norm.clear())}add(e){const s=this.size();_(e)?this._addString(e,s):this._addObject(e,s)}removeAt(e){this.records.splice(e,1);for(let s=e,r=this.size();s<r;s+=1)this.records[s].i-=1}getValueForItemAtKeyId(e,s){return e[this._keysMap[s]]}size(){return this.records.length}_addString(e,s){if(!x(e)||K(e))return;let r={v:e,i:s,n:this.norm.get(e)};this.records.push(r)}_addObject(e,s){let r={i:s,$:{}};this.keys.forEach((n,i)=>{let c=n.getFn?n.getFn(e):this.getFn(e,n.path);if(x(c)){if(I(c)){let o=[];const a=[{nestedArrIndex:-1,value:c}];for(;a.length;){const{nestedArrIndex:h,value:l}=a.pop();if(x(l))if(_(l)&&!K(l)){let u={v:l,i:h,n:this.norm.get(l)};o.push(u)}else I(l)&&l.forEach((u,d)=>{a.push({nestedArrIndex:d,value:u})})}r.$[i]=o}else if(_(c)&&!K(c)){let o={v:c,n:this.norm.get(c)};r.$[i]=o}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Ee(t,e,{getFn:s=f.getFn,fieldNormWeight:r=f.fieldNormWeight}={}){const n=new q({getFn:s,fieldNormWeight:r});return n.setKeys(t.map(Se)),n.setSources(e),n.create(),n}function st(t,{getFn:e=f.getFn,fieldNormWeight:s=f.fieldNormWeight}={}){const{keys:r,records:n}=t,i=new q({getFn:e,fieldNormWeight:s});return i.setKeys(r),i.setIndexRecords(n),i}function T(t,{errors:e=0,currentLocation:s=0,expectedLocation:r=0,distance:n=f.distance,ignoreLocation:i=f.ignoreLocation}={}){const c=e/t.length;if(i)return c;const o=Math.abs(r-s);return n?c+o/n:o?1:c}function rt(t=[],e=f.minMatchCharLength){let s=[],r=-1,n=-1,i=0;for(let c=t.length;i<c;i+=1){let o=t[i];o&&r===-1?r=i:!o&&r!==-1&&(n=i-1,n-r+1>=e&&s.push([r,n]),r=-1)}return t[i-1]&&i-r>=e&&s.push([r,i-1]),s}const L=32;function nt(t,e,s,{location:r=f.location,distance:n=f.distance,threshold:i=f.threshold,findAllMatches:c=f.findAllMatches,minMatchCharLength:o=f.minMatchCharLength,includeMatches:a=f.includeMatches,ignoreLocation:h=f.ignoreLocation}={}){if(e.length>L)throw new Error(Ve(L));const l=e.length,u=t.length,d=Math.max(0,Math.min(r,u));let g=i,p=d;const M=o>1||a,y=M?Array(u):[];let b;for(;(b=t.indexOf(e,p))>-1;){let S=T(e,{currentLocation:b,expectedLocation:d,distance:n,ignoreLocation:h});if(g=Math.min(S,g),p=b+l,M){let w=0;for(;w<l;)y[b+w]=1,w+=1}}p=-1;let R=[],C=1,v=l+u;const Re=1<<l-1;for(let S=0;S<l;S+=1){let w=0,A=v;for(;w<A;)T(e,{errors:S,currentLocation:d+A,expectedLocation:d,distance:n,ignoreLocation:h})<=g?w=A:v=A,A=Math.floor((v-w)/2+w);v=A;let ee=Math.max(1,d-A+1),P=c?u:Math.min(d+A,u)+l,k=Array(P+2);k[P+1]=(1<<S)-1;for(let E=P;E>=ee;E-=1){let j=E-1,te=s[t.charAt(j)];if(M&&(y[j]=+!!te),k[E]=(k[E+1]<<1|1)&te,S&&(k[E]|=(R[E+1]|R[E])<<1|1|R[E+1]),k[E]&Re&&(C=T(e,{errors:S,currentLocation:j,expectedLocation:d,distance:n,ignoreLocation:h}),C<=g)){if(g=C,p=j,p<=d)break;ee=Math.max(1,2*d-p)}}if(T(e,{errors:S+1,currentLocation:d,expectedLocation:d,distance:n,ignoreLocation:h})>g)break;R=k}const D={isMatch:p>=0,score:Math.max(.001,C)};if(M){const S=rt(y,o);S.length?a&&(D.indices=S):D.isMatch=!1}return D}function it(t){let e={};for(let s=0,r=t.length;s<r;s+=1){const n=t.charAt(s);e[n]=(e[n]||0)|1<<r-s-1}return e}class _e{constructor(e,{location:s=f.location,threshold:r=f.threshold,distance:n=f.distance,includeMatches:i=f.includeMatches,findAllMatches:c=f.findAllMatches,minMatchCharLength:o=f.minMatchCharLength,isCaseSensitive:a=f.isCaseSensitive,ignoreLocation:h=f.ignoreLocation}={}){if(this.options={location:s,threshold:r,distance:n,includeMatches:i,findAllMatches:c,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:h},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const l=(d,g)=>{this.chunks.push({pattern:d,alphabet:it(d),startIndex:g})},u=this.pattern.length;if(u>L){let d=0;const g=u%L,p=u-g;for(;d<p;)l(this.pattern.substr(d,L),d),d+=L;if(g){const M=u-L;l(this.pattern.substr(M),M)}}else l(this.pattern,0)}searchIn(e){const{isCaseSensitive:s,includeMatches:r}=this.options;if(s||(e=e.toLowerCase()),this.pattern===e){let p={isMatch:!0,score:0};return r&&(p.indices=[[0,e.length-1]]),p}const{location:n,distance:i,threshold:c,findAllMatches:o,minMatchCharLength:a,ignoreLocation:h}=this.options;let l=[],u=0,d=!1;this.chunks.forEach(({pattern:p,alphabet:M,startIndex:y})=>{const{isMatch:b,score:R,indices:C}=nt(e,p,M,{location:n+y,distance:i,threshold:c,findAllMatches:o,minMatchCharLength:a,includeMatches:r,ignoreLocation:h});b&&(d=!0),u+=R,b&&C&&(l=[...l,...C])});let g={isMatch:d,score:d?u/this.chunks.length:1};return d&&r&&(g.indices=l),g}}class O{constructor(e){this.pattern=e}static isMultiMatch(e){return oe(e,this.multiRegex)}static isSingleMatch(e){return oe(e,this.singleRegex)}search(){}}function oe(t,e){const s=t.match(e);return s?s[1]:null}class ct extends O{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const s=e===this.pattern;return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class ot extends O{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const r=e.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class at extends O{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const s=e.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,this.pattern.length-1]}}}class lt extends O{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const s=!e.startsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class ht extends O{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const s=e.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class ut extends O{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const s=!e.endsWith(this.pattern);return{isMatch:s,score:s?0:1,indices:[0,e.length-1]}}}class be extends O{constructor(e,{location:s=f.location,threshold:r=f.threshold,distance:n=f.distance,includeMatches:i=f.includeMatches,findAllMatches:c=f.findAllMatches,minMatchCharLength:o=f.minMatchCharLength,isCaseSensitive:a=f.isCaseSensitive,ignoreLocation:h=f.ignoreLocation}={}){super(e),this._bitapSearch=new _e(e,{location:s,threshold:r,distance:n,includeMatches:i,findAllMatches:c,minMatchCharLength:o,isCaseSensitive:a,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ie extends O{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let s=0,r;const n=[],i=this.pattern.length;for(;(r=e.indexOf(this.pattern,s))>-1;)s=r+i,n.push([r,s-1]);const c=!!n.length;return{isMatch:c,score:c?0:1,indices:n}}}const V=[ct,Ie,at,lt,ut,ht,ot,be],ae=V.length,ft=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,dt="|";function gt(t,e={}){return t.split(dt).map(s=>{let r=s.trim().split(ft).filter(i=>i&&!!i.trim()),n=[];for(let i=0,c=r.length;i<c;i+=1){const o=r[i];let a=!1,h=-1;for(;!a&&++h<ae;){const l=V[h];let u=l.isMultiMatch(o);u&&(n.push(new l(u,e)),a=!0)}if(!a)for(h=-1;++h<ae;){const l=V[h];let u=l.isSingleMatch(o);if(u){n.push(new l(u,e));break}}}return n})}const pt=new Set([be.type,Ie.type]);class mt{constructor(e,{isCaseSensitive:s=f.isCaseSensitive,includeMatches:r=f.includeMatches,minMatchCharLength:n=f.minMatchCharLength,ignoreLocation:i=f.ignoreLocation,findAllMatches:c=f.findAllMatches,location:o=f.location,threshold:a=f.threshold,distance:h=f.distance}={}){this.query=null,this.options={isCaseSensitive:s,includeMatches:r,minMatchCharLength:n,findAllMatches:c,ignoreLocation:i,location:o,threshold:a,distance:h},this.pattern=s?e:e.toLowerCase(),this.query=gt(this.pattern,this.options)}static condition(e,s){return s.useExtendedSearch}searchIn(e){const s=this.query;if(!s)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:n}=this.options;e=n?e:e.toLowerCase();let i=0,c=[],o=0;for(let a=0,h=s.length;a<h;a+=1){const l=s[a];c.length=0,i=0;for(let u=0,d=l.length;u<d;u+=1){const g=l[u],{isMatch:p,indices:M,score:y}=g.search(e);if(p){if(i+=1,o+=y,r){const b=g.constructor.type;pt.has(b)?c=[...c,...M]:c.push(M)}}else{o=0,i=0,c.length=0;break}}if(i){let u={isMatch:!0,score:o/i};return r&&(u.indices=c),u}}return{isMatch:!1,score:1}}}const B=[];function Mt(...t){B.push(...t)}function G(t,e){for(let s=0,r=B.length;s<r;s+=1){let n=B[s];if(n.condition(t,e))return new n(t,e)}return new _e(t,e)}const N={AND:"$and",OR:"$or"},Y={PATH:"$path",PATTERN:"$val"},Q=t=>!!(t[N.AND]||t[N.OR]),yt=t=>!!t[Y.PATH],xt=t=>!I(t)&&ye(t)&&!Q(t),le=t=>({[N.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function we(t,e,{auto:s=!0}={}){const r=n=>{let i=Object.keys(n);const c=yt(n);if(!c&&i.length>1&&!Q(n))return r(le(n));if(xt(n)){const a=c?n[Y.PATH]:i[0],h=c?n[Y.PATTERN]:n[a];if(!_(h))throw new Error(Ue(a));const l={keyId:U(a),pattern:h};return s&&(l.searcher=G(h,e)),l}let o={children:[],operator:i[0]};return i.forEach(a=>{const h=n[a];I(h)&&h.forEach(l=>{o.children.push(r(l))})}),o};return Q(t)||(t=le(t)),r(t)}function St(t,{ignoreFieldNorm:e=f.ignoreFieldNorm}){t.forEach(s=>{let r=1;s.matches.forEach(({key:n,norm:i,score:c})=>{const o=n?n.weight:null;r*=Math.pow(c===0&&o?Number.EPSILON:c,(o||1)*(e?1:i))}),s.score=r})}function Et(t,e){const s=t.matches;e.matches=[],x(s)&&s.forEach(r=>{if(!x(r.indices)||!r.indices.length)return;const{indices:n,value:i}=r;let c={indices:n,value:i};r.key&&(c.key=r.key.src),r.idx>-1&&(c.refIndex=r.idx),e.matches.push(c)})}function _t(t,e){e.score=t.score}function bt(t,e,{includeMatches:s=f.includeMatches,includeScore:r=f.includeScore}={}){const n=[];return s&&n.push(Et),r&&n.push(_t),t.map(i=>{const{idx:c}=i,o={item:e[c],refIndex:c};return n.length&&n.forEach(a=>{a(i,o)}),o})}class ${constructor(e,s={},r){this.options={...f,...s},this.options.useExtendedSearch,this._keyStore=new Ye(this.options.keys),this.setCollection(e,r)}setCollection(e,s){if(this._docs=e,s&&!(s instanceof q))throw new Error(He);this._myIndex=s||Ee(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){x(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const s=[];for(let r=0,n=this._docs.length;r<n;r+=1){const i=this._docs[r];e(i,r)&&(this.removeAt(r),r-=1,n-=1,s.push(i))}return s}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:s=-1}={}){const{includeMatches:r,includeScore:n,shouldSort:i,sortFn:c,ignoreFieldNorm:o}=this.options;let a=_(e)?_(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return St(a,{ignoreFieldNorm:o}),i&&a.sort(c),Me(s)&&s>-1&&(a=a.slice(0,s)),bt(a,this._docs,{includeMatches:r,includeScore:n})}_searchStringList(e){const s=G(e,this.options),{records:r}=this._myIndex,n=[];return r.forEach(({v:i,i:c,n:o})=>{if(!x(i))return;const{isMatch:a,score:h,indices:l}=s.searchIn(i);a&&n.push({item:i,idx:c,matches:[{score:h,value:i,norm:o,indices:l}]})}),n}_searchLogical(e){const s=we(e,this.options),r=(o,a,h)=>{if(!o.children){const{keyId:u,searcher:d}=o,g=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(a,u),searcher:d});return g&&g.length?[{idx:h,item:a,matches:g}]:[]}const l=[];for(let u=0,d=o.children.length;u<d;u+=1){const g=o.children[u],p=r(g,a,h);if(p.length)l.push(...p);else if(o.operator===N.AND)return[]}return l},n=this._myIndex.records,i={},c=[];return n.forEach(({$:o,i:a})=>{if(x(o)){let h=r(s,o,a);h.length&&(i[a]||(i[a]={idx:a,item:o,matches:[]},c.push(i[a])),h.forEach(({matches:l})=>{i[a].matches.push(...l)}))}}),c}_searchObjectList(e){const s=G(e,this.options),{keys:r,records:n}=this._myIndex,i=[];return n.forEach(({$:c,i:o})=>{if(!x(c))return;let a=[];r.forEach((h,l)=>{a.push(...this._findMatches({key:h,value:c[l],searcher:s}))}),a.length&&i.push({idx:o,item:c,matches:a})}),i}_findMatches({key:e,value:s,searcher:r}){if(!x(s))return[];let n=[];if(I(s))s.forEach(({v:i,i:c,n:o})=>{if(!x(i))return;const{isMatch:a,score:h,indices:l}=r.searchIn(i);a&&n.push({score:h,key:e,value:i,idx:c,norm:o,indices:l})});else{const{v:i,n:c}=s,{isMatch:o,score:a,indices:h}=r.searchIn(i);o&&n.push({score:a,key:e,value:i,norm:c,indices:h})}return n}}$.version="7.0.0";$.createIndex=Ee;$.parseIndex=st;$.config=f;$.parseQuery=we;Mt(mt);const It={threshold:.3},Ae=t=>e=>{const s=new $(e,{keys:Object.keys(e[0]),...It,...t});return{type:"fuse",page:(r,n)=>e.slice(r*n,(r+1)*n),search:r=>s.search(r).map(({item:n})=>n),retrieve:r=>e.filter(n=>r.includes(n.key))}},wt=Ae(),Oe=({term:t,searcher:e=wt})=>me(({data:s})=>typeof e=="function"?t.length===0||(s==null?void 0:s.length)===0?{data:s,transformed:!1}:{data:e(s).search(t),transformed:!0}:{data:e.search(t),transformed:!0}),Ce=({debounce:t=250,value:e,onChange:s,transformBefore:r})=>{const[n,i]=he.usePurePassthrough({onChange:s,value:e,initial:""}),{setTransform:c,deleteTransform:o}=m.useDataUtilContext(),a=m.useDebouncedCallback(c,t,[]),h=$e.useCallback(l=>{i(l),l.length===0?o("filter"):(r!=null&&(l=r(l)),a("filter",Oe({term:l})))},[i,r]);return{value:n,onChange:h}},Le=({children:t=s=>ke.jsxRuntimeExports.jsx(m.Text$1,{placeholder:"Filter",...s}),...e})=>t(Ce(e)),At=Object.freeze(Object.defineProperty({__proto__:null,Column:m.Column,ColumnContext:m.ColumnContext,Core:m.Core,DataProvider:m.DataProvider,Filter:Le,Hover:m.Hover,ItemFrame:m.ItemFrame,List:ve.List,Search:m.Search,Selector:m.Selector,selectValueIsZero:m.selectValueIsZero,useDataContext:m.useDataContext,useDataUtilContext:m.useDataUtilContext,useFilter:Ce,useGetTransformedData:m.useGetTransformedData,useHoverContext:m.useHoverContext,useSearch:m.useSearch,useSelect:m.useSelect,useSelection:m.useSelection,useSelectionContext:m.useSelectionContext,useSelectionUtils:m.useSelectionUtils,useSetSourceData:m.useSetSourceData,useSourceData:m.useSourceData,useTransformedData:m.useTransformedData},Symbol.toStringTag,{value:"Module"}));exports.Filter=Le;exports.createFilterTransform=Oe;exports.external=At;exports.fuseFilter=Ae;exports.proxyMemo=me;
@@ -1,10 +1,10 @@
1
- import { w as he, au as Ae, ak as Oe, K as ke, av as Le, A as Re, h as Ce, J as je, aw as ve, ax as $e, E as Ne, ay as Fe, az as Te, aA as Pe, aB as De, aC as Ke, L as We, aD as ze, aE as He, v as Ve, aF as Be, aG as Ge, aH as Ue } from "./Toggle-_SGawcap.js";
1
+ import { w as he, au as Ae, ak as Oe, K as ke, av as Le, A as Re, h as Ce, J as je, aw as ve, ax as $e, E as Ne, ay as Fe, az as Te, aA as Pe, aB as De, aC as Ke, L as We, aD as ze, aE as He, v as Ve, aF as Be, aG as Ge, aH as Ue } from "./Toggle-0_fgC0fe.js";
2
2
  import { j as Ye } from "./jsx-runtime-B6kdoens.js";
3
3
  import { useCallback as Je } from "react";
4
- import { k as Qe, j as Xe } from "./aggregator-DaNTqAB0.js";
5
- import "./css-DEMSADUS.js";
6
- import "./Pack-E_3LSkGG.js";
7
- import { L as Ze } from "./List-B6hlZNwe.js";
4
+ import { k as Qe, j as Xe } from "./aggregator-BQAqJzjZ.js";
5
+ import "./css-Dic6npsA.js";
6
+ import "./Pack-B7_4Xpi5.js";
7
+ import { L as Ze } from "./List-DS2DLWjR.js";
8
8
  const K = Symbol(), le = Symbol(), J = Symbol();
9
9
  let qe = (t, e) => new Proxy(t, e);
10
10
  const W = Object.getPrototypeOf, te = /* @__PURE__ */ new WeakMap(), Q = (t) => t && (te.has(t) ? te.get(t) : W(t) === Object.prototype || W(t) === Array.prototype), se = (t) => typeof t == "object" && t !== null, re = /* @__PURE__ */ new WeakMap(), ue = (t) => t[J] || t, fe = (t, e, s) => {
@@ -1131,7 +1131,7 @@ const Vt = {
1131
1131
  );
1132
1132
  return { value: n, onChange: l };
1133
1133
  }, Yt = ({
1134
- children: t = (s) => /* @__PURE__ */ Ye.jsx(Oe, { ...s }),
1134
+ children: t = (s) => /* @__PURE__ */ Ye.jsx(Oe, { placeholder: "Filter", ...s }),
1135
1135
  ...e
1136
1136
  }) => t(we(e)), rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1137
1137
  __proto__: null,
@@ -1 +1 @@
1
- "use strict";const e=require("./Pack-BM_LmeO7.cjs"),r=Object.freeze(Object.defineProperty({__proto__:null,ALIGNMENTS:e.ALIGNMENTS,Center:e.Center,CoreCenter:e.CoreCenter,JUSTIFICATIONS:e.JUSTIFICATIONS,Pack:e.Pack,Space:e.Space,shouldReverse:e.shouldReverse},Symbol.toStringTag,{value:"Module"}));exports.external=r;
1
+ "use strict";const e=require("./Pack--3w90epp.cjs"),r=Object.freeze(Object.defineProperty({__proto__:null,ALIGNMENTS:e.ALIGNMENTS,Center:e.Center,CoreCenter:e.CoreCenter,JUSTIFICATIONS:e.JUSTIFICATIONS,Pack:e.Pack,Space:e.Space,shouldReverse:e.shouldReverse},Symbol.toStringTag,{value:"Module"}));exports.external=r;