@synnaxlabs/pluto 0.47.1 → 0.49.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 (509) hide show
  1. package/dist/{Animated-CUFx-eAB.js → Animated-38tdmPR0.js} +112 -116
  2. package/dist/{Animated-CEx4LoLs.js → Animated-Bp6IK3ct.js} +4 -4
  3. package/dist/Animated-D-pQ3CYh.cjs +1 -0
  4. package/dist/{Animated-NfnNvlbz.cjs → Animated-Dsn1pmhz.cjs} +1 -1
  5. package/dist/Box-4l6DWG-3.cjs +1 -0
  6. package/dist/{Box-D5Qv__kr.js → Box-BVyAHr2f.js} +17 -17
  7. package/dist/Button-CoOYEk1J.js +308 -0
  8. package/dist/Button-D5aoG3sV.cjs +1 -0
  9. package/dist/Dialog-JwJQD3xZ.cjs +1 -0
  10. package/dist/{Dialog-Bi1Sf3oc.js → Dialog-puVY-0Mt.js} +14 -14
  11. package/dist/Editable-DEbVpi5i.js +201 -0
  12. package/dist/Editable-DI0-D1K5.cjs +1 -0
  13. package/dist/Haul-9RVCn3cI.cjs +1 -0
  14. package/dist/{Haul-BuI0PZpo.js → Haul-Db9j45Fu.js} +53 -49
  15. package/dist/Items-BCG7kyaR.cjs +4 -0
  16. package/dist/{Items-Cmc6otoS.js → Items-BVKW0udb.js} +277 -215
  17. package/dist/Menu-BYca9tGe.cjs +1 -0
  18. package/dist/Menu-CQsrN_mP.js +134 -0
  19. package/dist/Provider-DBg-Li_7.cjs +5 -0
  20. package/dist/{Provider-D0P_lzCo.js → Provider-DQM7IBoi.js} +183 -178
  21. package/dist/Tags-B8l5Dvw-.js +919 -0
  22. package/dist/Tags-CQFa3kY-.cjs +1 -0
  23. package/dist/{Text-BnUGzpJq.js → Text-90J6p5Uj.js} +993 -926
  24. package/dist/Text-DeWvfrdF.cjs +1 -0
  25. package/dist/{Video-VlT7jSYk.cjs → Video-Bmg4gwom.cjs} +1 -1
  26. package/dist/{Video-CITi2j07.js → Video-CLpcYcKf.js} +2 -2
  27. package/dist/button.cjs +1 -1
  28. package/dist/button.js +1 -1
  29. package/dist/color.cjs +1 -1
  30. package/dist/color.js +1 -1
  31. package/dist/css-BVgFAmaj.cjs +8 -0
  32. package/dist/{css-D6ZBcSwh.js → css-bahPRiQI.js} +2128 -1593
  33. package/dist/css.cjs +1 -1
  34. package/dist/css.js +2 -2
  35. package/dist/dialog.cjs +1 -1
  36. package/dist/dialog.js +1 -1
  37. package/dist/dimensions-SDA3fM2T.cjs +1 -0
  38. package/dist/{dimensions-BFCMI7yN.js → dimensions-qcyzaTKI.js} +5 -5
  39. package/dist/eraser-Cbfc1frM.cjs +11 -0
  40. package/dist/{eraser-DvzR9kLf.js → eraser-Dz6nZuPp.js} +25 -25
  41. package/dist/ether.cjs +1 -1
  42. package/dist/ether.js +64 -62
  43. package/dist/{_commonjsHelpers-BH3jXuIh.cjs → event-BxvV3arE.cjs} +1 -1
  44. package/dist/{_commonjsHelpers-ByX85dGu.js → event-nNH_pXSr.js} +17 -14
  45. package/dist/{external-OzDazbiJ.js → external-04ve_X21.js} +105 -112
  46. package/dist/external-B3b7kdID.cjs +1 -0
  47. package/dist/{external-BcZE443U.cjs → external-Bixqkw5N.cjs} +1 -1
  48. package/dist/{external-CAcL3DJP.js → external-CB3VxPJp.js} +18 -19
  49. package/dist/external-CMs_BCc5.cjs +28 -0
  50. package/dist/{external-CtiE4JLk.js → external-CnWQzZlQ.js} +118 -116
  51. package/dist/{external-DGNBXSAj.js → external-CrXS1qj_.js} +16067 -15783
  52. package/dist/{external-OLyg-4Ab.cjs → external-CwYoEhB2.cjs} +1 -1
  53. package/dist/{external-Bo9Dyf8v.js → external-Cxojc4yT.js} +19 -19
  54. package/dist/external-D2deiHyL.js +69 -0
  55. package/dist/{external-CTrkvlmd.cjs → external-D2tzyCDs.cjs} +1 -1
  56. package/dist/external-DDHknds-.cjs +1 -0
  57. package/dist/{external-6RyUkYAB.js → external-DJWZ43k0.js} +2 -2
  58. package/dist/{external-BhOvtmPt.js → external-DP9FiRHq.js} +3 -3
  59. package/dist/{external-CSntN1is.cjs → external-DUVDOJfj.cjs} +1 -1
  60. package/dist/external-DcMOF1Je.cjs +1 -0
  61. package/dist/{external-Daiy-vZ3.js → external-Hhx8JoAS.js} +793 -815
  62. package/dist/external-JpvbclD8.cjs +79 -0
  63. package/dist/external-PA6ulZR9.cjs +1 -0
  64. package/dist/external-RkrrZXG5.cjs +1 -0
  65. package/dist/external-TI-6Umwm.js +92 -0
  66. package/dist/external-kwuGKgyL.cjs +1 -0
  67. package/dist/external-m-0q-0os.js +46 -0
  68. package/dist/{external-BTlfU938.js → external-xJ67ivgR.js} +3 -3
  69. package/dist/flex.cjs +1 -1
  70. package/dist/flex.js +1 -1
  71. package/dist/{fontString-yPlq8smc.cjs → fontString-62eEvw4b.cjs} +1 -1
  72. package/dist/{fontString-CGd4NYXa.js → fontString-qfWSw62X.js} +3 -3
  73. package/dist/header.cjs +1 -1
  74. package/dist/header.js +1 -1
  75. package/dist/hooks-CRSphXSb.cjs +1 -0
  76. package/dist/hooks-Dh0v1QWQ.js +73 -0
  77. package/dist/index.cjs +8 -40
  78. package/dist/index.js +23997 -23284
  79. package/dist/input.cjs +1 -1
  80. package/dist/input.js +1 -1
  81. package/dist/{jsx-runtime-OVHDjVDe.js → jsx-runtime-BbD0H88J.js} +108 -128
  82. package/dist/jsx-runtime-nZSsnGb7.cjs +6 -0
  83. package/dist/list.cjs +1 -1
  84. package/dist/list.js +1 -1
  85. package/dist/menu.cjs +1 -1
  86. package/dist/menu.js +1 -1
  87. package/dist/pluto.css +1 -1
  88. package/dist/{provider-C8In649C.js → provider-ClhgBr_F.js} +6582 -6310
  89. package/dist/provider-DHDqgF1B.cjs +76 -0
  90. package/dist/src/access/aether/external.d.ts +3 -0
  91. package/dist/src/access/aether/external.d.ts.map +1 -0
  92. package/dist/src/access/aether/index.d.ts +2 -0
  93. package/dist/src/access/aether/index.d.ts.map +1 -0
  94. package/dist/src/access/external.d.ts +4 -0
  95. package/dist/src/access/external.d.ts.map +1 -0
  96. package/dist/src/access/index.d.ts +2 -0
  97. package/dist/src/access/index.d.ts.map +1 -0
  98. package/dist/src/access/policy/CreateIcon.d.ts +3 -0
  99. package/dist/src/access/policy/CreateIcon.d.ts.map +1 -0
  100. package/dist/src/access/policy/Select.d.ts +12 -0
  101. package/dist/src/access/policy/Select.d.ts.map +1 -0
  102. package/dist/src/access/policy/aether/index.d.ts +2 -0
  103. package/dist/src/access/policy/aether/index.d.ts.map +1 -0
  104. package/dist/src/access/policy/aether/queries.d.ts +18 -0
  105. package/dist/src/access/policy/aether/queries.d.ts.map +1 -0
  106. package/dist/src/access/policy/external.d.ts +5 -0
  107. package/dist/src/access/policy/external.d.ts.map +1 -0
  108. package/dist/src/access/policy/index.d.ts +2 -0
  109. package/dist/src/access/policy/index.d.ts.map +1 -0
  110. package/dist/src/access/policy/queries.d.ts +102 -0
  111. package/dist/src/access/policy/queries.d.ts.map +1 -0
  112. package/dist/src/access/policy/queries.spec.d.ts.map +1 -0
  113. package/dist/src/access/policy/types.d.ts +2 -0
  114. package/dist/src/access/policy/types.d.ts.map +1 -0
  115. package/dist/src/access/queries.d.ts +36 -0
  116. package/dist/src/access/queries.d.ts.map +1 -0
  117. package/dist/src/access/queries.spec.d.ts.map +1 -0
  118. package/dist/src/access/role/CreateIcon.d.ts +3 -0
  119. package/dist/src/access/role/CreateIcon.d.ts.map +1 -0
  120. package/dist/src/access/role/Select.d.ts +9 -0
  121. package/dist/src/access/role/Select.d.ts.map +1 -0
  122. package/dist/src/access/role/aether/index.d.ts +2 -0
  123. package/dist/src/access/role/aether/index.d.ts.map +1 -0
  124. package/dist/src/access/role/aether/queries.d.ts +14 -0
  125. package/dist/src/access/role/aether/queries.d.ts.map +1 -0
  126. package/dist/src/access/role/external.d.ts +4 -0
  127. package/dist/src/access/role/external.d.ts.map +1 -0
  128. package/dist/src/access/role/index.d.ts +2 -0
  129. package/dist/src/access/role/index.d.ts.map +1 -0
  130. package/dist/src/access/role/queries.d.ts +57 -0
  131. package/dist/src/access/role/queries.d.ts.map +1 -0
  132. package/dist/src/access/role/queries.spec.d.ts.map +1 -0
  133. package/dist/src/aether/main.d.ts +0 -1
  134. package/dist/src/aether/main.d.ts.map +1 -1
  135. package/dist/src/alamos/Provider.d.ts +0 -5
  136. package/dist/src/alamos/Provider.d.ts.map +1 -1
  137. package/dist/src/alamos/aether/alamos.d.ts +4 -4
  138. package/dist/src/arc/queries.d.ts +6 -6
  139. package/dist/src/arc/queries.d.ts.map +1 -1
  140. package/dist/src/button/Button.d.ts +2 -1
  141. package/dist/src/button/Button.d.ts.map +1 -1
  142. package/dist/src/channel/LinePlot.d.ts +4 -1
  143. package/dist/src/channel/LinePlot.d.ts.map +1 -1
  144. package/dist/src/channel/Select.d.ts +2 -2
  145. package/dist/src/channel/Select.d.ts.map +1 -1
  146. package/dist/src/channel/queries.d.ts +25 -25
  147. package/dist/src/channel/queries.d.ts.map +1 -1
  148. package/dist/src/cluster/index.d.ts +2 -0
  149. package/dist/src/cluster/index.d.ts.map +1 -0
  150. package/dist/src/cluster/queries.d.ts +6 -0
  151. package/dist/src/cluster/queries.d.ts.map +1 -0
  152. package/dist/src/cluster/queries.spec.d.ts +2 -0
  153. package/dist/src/cluster/queries.spec.d.ts.map +1 -0
  154. package/dist/src/color/GradientPicker.d.ts.map +1 -1
  155. package/dist/src/color/Provider.d.ts +2 -1
  156. package/dist/src/color/Provider.d.ts.map +1 -1
  157. package/dist/src/context/context.d.ts +28 -0
  158. package/dist/src/context/context.d.ts.map +1 -0
  159. package/dist/src/context/context.spec.d.ts +2 -0
  160. package/dist/src/context/context.spec.d.ts.map +1 -0
  161. package/dist/src/context/index.d.ts +2 -0
  162. package/dist/src/context/index.d.ts.map +1 -0
  163. package/dist/src/{hardware/device → device}/Select.d.ts +3 -3
  164. package/dist/src/device/Select.d.ts.map +1 -0
  165. package/dist/src/{hardware/device → device}/StatusIndicator.d.ts +1 -1
  166. package/dist/src/device/StatusIndicator.d.ts.map +1 -0
  167. package/dist/src/device/external.d.ts.map +1 -0
  168. package/dist/src/device/index.d.ts.map +1 -0
  169. package/dist/src/{hardware/device → device}/queries.d.ts +10 -14
  170. package/dist/src/device/queries.d.ts.map +1 -0
  171. package/dist/src/device/queries.spec.d.ts +2 -0
  172. package/dist/src/device/queries.spec.d.ts.map +1 -0
  173. package/dist/src/dialog/Frame.d.ts +8 -7
  174. package/dist/src/dialog/Frame.d.ts.map +1 -1
  175. package/dist/src/flex/Box.d.ts +4 -4
  176. package/dist/src/flux/Provider.d.ts.map +1 -1
  177. package/dist/src/flux/core/client.d.ts.map +1 -1
  178. package/dist/src/flux/core/store.d.ts +7 -7
  179. package/dist/src/flux/core/store.d.ts.map +1 -1
  180. package/dist/src/flux/core/streamer.d.ts +2 -2
  181. package/dist/src/flux/core/streamer.d.ts.map +1 -1
  182. package/dist/src/flux/form.d.ts +2 -2
  183. package/dist/src/flux/form.d.ts.map +1 -1
  184. package/dist/src/flux/list.d.ts +3 -3
  185. package/dist/src/flux/list.d.ts.map +1 -1
  186. package/dist/src/flux/retrieve.d.ts +10 -9
  187. package/dist/src/flux/retrieve.d.ts.map +1 -1
  188. package/dist/src/flux/update.d.ts +27 -26
  189. package/dist/src/flux/update.d.ts.map +1 -1
  190. package/dist/src/form/Context.d.ts +4 -3
  191. package/dist/src/form/Context.d.ts.map +1 -1
  192. package/dist/src/form/Field.d.ts +2 -2
  193. package/dist/src/form/Field.d.ts.map +1 -1
  194. package/dist/src/form/use.d.ts.map +1 -1
  195. package/dist/src/form/useField.d.ts.map +1 -1
  196. package/dist/src/group/queries.d.ts +3 -3
  197. package/dist/src/group/queries.d.ts.map +1 -1
  198. package/dist/src/haul/Haul.d.ts +7 -7
  199. package/dist/src/haul/Haul.d.ts.map +1 -1
  200. package/dist/src/header/Header.d.ts +2 -1
  201. package/dist/src/header/Header.d.ts.map +1 -1
  202. package/dist/src/hooks/index.d.ts +0 -1
  203. package/dist/src/hooks/index.d.ts.map +1 -1
  204. package/dist/src/hooks/useAsyncEffect.d.ts +2 -2
  205. package/dist/src/hooks/useAsyncEffect.d.ts.map +1 -1
  206. package/dist/src/hooks/useDestructors.d.ts +2 -2
  207. package/dist/src/hooks/useDestructors.d.ts.map +1 -1
  208. package/dist/src/icon/registry.d.ts +16 -0
  209. package/dist/src/icon/registry.d.ts.map +1 -1
  210. package/dist/src/index.d.ts +6 -3
  211. package/dist/src/index.d.ts.map +1 -1
  212. package/dist/src/input/DateTime.d.ts.map +1 -1
  213. package/dist/src/input/DateTime.spec.d.ts +2 -0
  214. package/dist/src/input/DateTime.spec.d.ts.map +1 -0
  215. package/dist/src/input/Text.d.ts +1 -1
  216. package/dist/src/input/Text.d.ts.map +1 -1
  217. package/dist/src/label/Select.d.ts +3 -3
  218. package/dist/src/label/Select.d.ts.map +1 -1
  219. package/dist/src/label/queries.d.ts +6 -6
  220. package/dist/src/label/queries.d.ts.map +1 -1
  221. package/dist/src/lineplot/Legend.d.ts +2 -2
  222. package/dist/src/lineplot/Legend.d.ts.map +1 -1
  223. package/dist/src/lineplot/LinePlot.d.ts +5 -5
  224. package/dist/src/lineplot/LinePlot.d.ts.map +1 -1
  225. package/dist/src/lineplot/aether/LinePlot.d.ts +8 -8
  226. package/dist/src/lineplot/aether/XAxis.d.ts +26 -26
  227. package/dist/src/lineplot/aether/YAxis.d.ts +28 -28
  228. package/dist/src/lineplot/aether/axis.d.ts +13 -13
  229. package/dist/src/lineplot/queries.d.ts +3 -3
  230. package/dist/src/lineplot/queries.d.ts.map +1 -1
  231. package/dist/src/lineplot/range/aether/annotation.d.ts +4 -4
  232. package/dist/src/lineplot/range/aether/provider.d.ts +2 -2
  233. package/dist/src/lineplot/range/aether/provider.d.ts.map +1 -1
  234. package/dist/src/lineplot/tooltip/aether/tooltip.d.ts +26 -26
  235. package/dist/src/list/Frame.d.ts +2 -1
  236. package/dist/src/list/Frame.d.ts.map +1 -1
  237. package/dist/src/list/Items.d.ts.map +1 -1
  238. package/dist/src/log/Log.d.ts +2 -2
  239. package/dist/src/log/Log.d.ts.map +1 -1
  240. package/dist/src/log/aether/Log.d.ts +32 -32
  241. package/dist/src/log/aether/Log.d.ts.map +1 -1
  242. package/dist/src/log/queries.d.ts +3 -3
  243. package/dist/src/log/queries.d.ts.map +1 -1
  244. package/dist/src/menu/Divider.d.ts +3 -0
  245. package/dist/src/menu/Divider.d.ts.map +1 -0
  246. package/dist/src/menu/Item.d.ts.map +1 -1
  247. package/dist/src/menu/Menu.d.ts +2 -2
  248. package/dist/src/menu/Menu.d.ts.map +1 -1
  249. package/dist/src/menu/external.d.ts +1 -0
  250. package/dist/src/menu/external.d.ts.map +1 -1
  251. package/dist/src/mosaic/Mosaic.d.ts.map +1 -1
  252. package/dist/src/ontology/queries.d.ts +7 -7
  253. package/dist/src/ontology/queries.d.ts.map +1 -1
  254. package/dist/src/pluto/Pluto.d.ts +9 -5
  255. package/dist/src/pluto/Pluto.d.ts.map +1 -1
  256. package/dist/src/pluto/aether/pluto.d.ts.map +1 -1
  257. package/dist/src/{hardware/rack → rack}/Select.d.ts +4 -4
  258. package/dist/src/rack/Select.d.ts.map +1 -0
  259. package/dist/src/{hardware/rack → rack}/StatusIndicator.d.ts +1 -1
  260. package/dist/src/rack/StatusIndicator.d.ts.map +1 -0
  261. package/dist/src/rack/external.d.ts.map +1 -0
  262. package/dist/src/rack/index.d.ts.map +1 -0
  263. package/dist/src/{hardware/rack → rack}/queries.d.ts +7 -9
  264. package/dist/src/rack/queries.d.ts.map +1 -0
  265. package/dist/src/rack/queries.spec.d.ts +2 -0
  266. package/dist/src/rack/queries.spec.d.ts.map +1 -0
  267. package/dist/src/ranger/queries.d.ts +7 -7
  268. package/dist/src/ranger/queries.d.ts.map +1 -1
  269. package/dist/src/schematic/queries.d.ts +5 -5
  270. package/dist/src/schematic/queries.d.ts.map +1 -1
  271. package/dist/src/schematic/symbol/Primitives.d.ts +2 -2
  272. package/dist/src/schematic/symbol/Primitives.d.ts.map +1 -1
  273. package/dist/src/schematic/symbol/queries.d.ts +8 -8
  274. package/dist/src/schematic/symbol/queries.d.ts.map +1 -1
  275. package/dist/src/schematic/symbol/registry.d.ts +2 -2
  276. package/dist/src/select/Dialog.d.ts +2 -3
  277. package/dist/src/select/Dialog.d.ts.map +1 -1
  278. package/dist/src/select/Frame.d.ts.map +1 -1
  279. package/dist/src/select/Multiple.d.ts.map +1 -1
  280. package/dist/src/select/MultipleTrigger.d.ts.map +1 -1
  281. package/dist/src/select/Static.d.ts +2 -2
  282. package/dist/src/select/Static.d.ts.map +1 -1
  283. package/dist/src/select/use.d.ts +2 -2
  284. package/dist/src/select/use.d.ts.map +1 -1
  285. package/dist/src/showcase/InputShowcase.d.ts +7 -7
  286. package/dist/src/showcase/InputShowcase.d.ts.map +1 -1
  287. package/dist/src/showcase/TagShowcase.d.ts.map +1 -1
  288. package/dist/src/state/state.d.ts +2 -1
  289. package/dist/src/state/state.d.ts.map +1 -1
  290. package/dist/src/state/state.spec.d.ts +2 -0
  291. package/dist/src/state/state.spec.d.ts.map +1 -0
  292. package/dist/src/status/Select.d.ts +1 -1
  293. package/dist/src/status/Select.d.ts.map +1 -1
  294. package/dist/src/status/aether/errorHandler.d.ts.map +1 -1
  295. package/dist/src/status/core/Aggregator.d.ts +2 -2
  296. package/dist/src/status/core/Aggregator.d.ts.map +1 -1
  297. package/dist/src/status/core/Notification.d.ts.map +1 -1
  298. package/dist/src/status/queries.d.ts +24 -11
  299. package/dist/src/status/queries.d.ts.map +1 -1
  300. package/dist/src/store/store.d.ts +2 -2
  301. package/dist/src/store/store.d.ts.map +1 -1
  302. package/dist/src/synnax/Provider.d.ts +2 -2
  303. package/dist/src/synnax/Provider.d.ts.map +1 -1
  304. package/dist/src/synnax/aether/provider.d.ts +3 -3
  305. package/dist/src/synnax/aether/provider.d.ts.map +1 -1
  306. package/dist/src/table/Table.d.ts.map +1 -1
  307. package/dist/src/table/aether/Table.d.ts +12 -12
  308. package/dist/src/table/cells/Cells.d.ts +7 -7
  309. package/dist/src/table/queries.d.ts +3 -3
  310. package/dist/src/table/queries.d.ts.map +1 -1
  311. package/dist/src/tabs/useContext.d.ts +4 -4
  312. package/dist/src/tabs/useContext.d.ts.map +1 -1
  313. package/dist/src/tag/Tag.d.ts +2 -2
  314. package/dist/src/tag/Tag.d.ts.map +1 -1
  315. package/dist/src/task/index.d.ts.map +1 -0
  316. package/dist/src/{hardware/task → task}/queries.d.ts +14 -33
  317. package/dist/src/task/queries.d.ts.map +1 -0
  318. package/dist/src/task/queries.spec.d.ts +2 -0
  319. package/dist/src/task/queries.spec.d.ts.map +1 -0
  320. package/dist/src/telem/aether/context.d.ts +2 -2
  321. package/dist/src/telem/aether/context.d.ts.map +1 -1
  322. package/dist/src/telem/aether/pipeline.d.ts +2 -2
  323. package/dist/src/telem/aether/pipeline.d.ts.map +1 -1
  324. package/dist/src/telem/aether/remote.d.ts +4 -4
  325. package/dist/src/telem/aether/remote.d.ts.map +1 -1
  326. package/dist/src/telem/aether/static.d.ts +11 -11
  327. package/dist/src/telem/aether/telem.d.ts +2 -2
  328. package/dist/src/telem/aether/telem.d.ts.map +1 -1
  329. package/dist/src/telem/aether/transformers.d.ts +30 -30
  330. package/dist/src/telem/client/client.d.ts +4 -4
  331. package/dist/src/telem/client/client.d.ts.map +1 -1
  332. package/dist/src/telem/client/streamer.d.ts +2 -2
  333. package/dist/src/telem/client/streamer.d.ts.map +1 -1
  334. package/dist/src/telem/control/Controller.d.ts +2 -1
  335. package/dist/src/telem/control/Controller.d.ts.map +1 -1
  336. package/dist/src/telem/control/aether/chip.d.ts +10 -10
  337. package/dist/src/telem/control/aether/chip.d.ts.map +1 -1
  338. package/dist/src/telem/control/aether/controller.d.ts +3 -3
  339. package/dist/src/telem/control/aether/controller.d.ts.map +1 -1
  340. package/dist/src/telem/control/aether/indicator.d.ts +13 -13
  341. package/dist/src/telem/control/aether/legend.d.ts +4 -4
  342. package/dist/src/telem/control/aether/legend.d.ts.map +1 -1
  343. package/dist/src/telem/control/aether/state.d.ts +3 -3
  344. package/dist/src/telem/control/aether/state.d.ts.map +1 -1
  345. package/dist/src/testutil/Synnax.d.ts +0 -5
  346. package/dist/src/testutil/Synnax.d.ts.map +1 -1
  347. package/dist/src/text/Text.d.ts +2 -1
  348. package/dist/src/text/Text.d.ts.map +1 -1
  349. package/dist/src/text/core/types.d.ts +2 -2
  350. package/dist/src/theming/Provider.d.ts +2 -1
  351. package/dist/src/theming/Provider.d.ts.map +1 -1
  352. package/dist/src/theming/aether/provider.d.ts +141 -141
  353. package/dist/src/theming/core/theme.d.ts +135 -135
  354. package/dist/src/theming/core/theme.d.ts.map +1 -1
  355. package/dist/src/tooltip/Config.d.ts +4 -3
  356. package/dist/src/tooltip/Config.d.ts.map +1 -1
  357. package/dist/src/tree/Context.d.ts +2 -12
  358. package/dist/src/tree/Context.d.ts.map +1 -1
  359. package/dist/src/tree/Tree.d.ts.map +1 -1
  360. package/dist/src/triggers/Provider.d.ts +4 -3
  361. package/dist/src/triggers/Provider.d.ts.map +1 -1
  362. package/dist/src/triggers/triggers.d.ts +21 -21
  363. package/dist/src/user/Avatar.d.ts +7 -0
  364. package/dist/src/user/Avatar.d.ts.map +1 -0
  365. package/dist/src/user/CreateIcon.d.ts +3 -0
  366. package/dist/src/user/CreateIcon.d.ts.map +1 -0
  367. package/dist/src/user/external.d.ts +4 -0
  368. package/dist/src/user/external.d.ts.map +1 -0
  369. package/dist/src/user/index.d.ts +1 -1
  370. package/dist/src/user/index.d.ts.map +1 -1
  371. package/dist/src/user/queries.d.ts +7 -4
  372. package/dist/src/user/queries.d.ts.map +1 -1
  373. package/dist/src/viewport/use.d.ts +1 -1
  374. package/dist/src/vis/axis/axis.d.ts +5 -5
  375. package/dist/src/vis/axis/ticks.d.ts +2 -2
  376. package/dist/src/vis/button/aether/button.d.ts +8 -8
  377. package/dist/src/vis/canvas/aether/canvas.d.ts +4 -4
  378. package/dist/src/vis/diagram/Diagram.d.ts +2 -6
  379. package/dist/src/vis/diagram/Diagram.d.ts.map +1 -1
  380. package/dist/src/vis/diagram/aether/Diagram.d.ts +9 -9
  381. package/dist/src/vis/diagram/align.d.ts +7 -2
  382. package/dist/src/vis/diagram/align.d.ts.map +1 -1
  383. package/dist/src/vis/draw2d/canvas.d.ts +2 -2
  384. package/dist/src/vis/draw2d/canvas.d.ts.map +1 -1
  385. package/dist/src/vis/draw2d/index.d.ts +2 -1
  386. package/dist/src/vis/draw2d/index.d.ts.map +1 -1
  387. package/dist/src/vis/eraser/aether/eraser.d.ts +2 -2
  388. package/dist/src/vis/gauge/aether/gauge.d.ts +60 -60
  389. package/dist/src/vis/gauge/use.d.ts +18 -18
  390. package/dist/src/vis/legend/Container.d.ts +3 -29
  391. package/dist/src/vis/legend/Container.d.ts.map +1 -1
  392. package/dist/src/vis/legend/Entries.d.ts +2 -2
  393. package/dist/src/vis/legend/Entries.d.ts.map +1 -1
  394. package/dist/src/vis/legend/Simple.d.ts +2 -2
  395. package/dist/src/vis/legend/Simple.d.ts.map +1 -1
  396. package/dist/src/vis/light/aether/light.d.ts +6 -6
  397. package/dist/src/vis/light/aether/light.d.ts.map +1 -1
  398. package/dist/src/vis/line/Line.d.ts +2 -2
  399. package/dist/src/vis/line/Line.d.ts.map +1 -1
  400. package/dist/src/vis/line/aether/line.d.ts +5 -5
  401. package/dist/src/vis/line/aether/line.d.ts.map +1 -1
  402. package/dist/src/vis/measure/Measure.d.ts +4 -1
  403. package/dist/src/vis/measure/Measure.d.ts.map +1 -1
  404. package/dist/src/vis/measure/aether/measure.d.ts +51 -25
  405. package/dist/src/vis/measure/aether/measure.d.ts.map +1 -1
  406. package/dist/src/vis/render/GLProgram.d.ts +2 -2
  407. package/dist/src/vis/render/GLProgram.d.ts.map +1 -1
  408. package/dist/src/vis/render/context.d.ts +2 -2
  409. package/dist/src/vis/render/context.d.ts.map +1 -1
  410. package/dist/src/vis/render/performance.d.ts +2 -2
  411. package/dist/src/vis/render/performance.d.ts.map +1 -1
  412. package/dist/src/vis/rule/aether/aether.d.ts +6 -6
  413. package/dist/src/vis/setpoint/aether/setpoint.d.ts +10 -10
  414. package/dist/src/vis/setpoint/aether/setpoint.d.ts.map +1 -1
  415. package/dist/src/vis/toggle/aether/toggle.d.ts +10 -10
  416. package/dist/src/vis/toggle/aether/toggle.d.ts.map +1 -1
  417. package/dist/src/vis/value/aether/value.d.ts +75 -75
  418. package/dist/src/vis/value/use.d.ts +23 -23
  419. package/dist/src/worker/Context.d.ts +2 -0
  420. package/dist/src/worker/Context.d.ts.map +1 -1
  421. package/dist/src/workspace/queries.d.ts +10 -8
  422. package/dist/src/workspace/queries.d.ts.map +1 -1
  423. package/dist/tabs.cjs +1 -1
  424. package/dist/tabs.js +1 -1
  425. package/dist/text.cjs +1 -1
  426. package/dist/text.js +2 -2
  427. package/dist/theming.cjs +1 -1
  428. package/dist/theming.js +2 -2
  429. package/dist/tree.cjs +1 -1
  430. package/dist/tree.js +1 -1
  431. package/dist/triggers.cjs +1 -1
  432. package/dist/triggers.js +1 -1
  433. package/dist/types-8-Mr79SF.cjs +1 -0
  434. package/dist/types-DGaZ_JZb.js +82 -0
  435. package/dist/{units-BqIfn6VX.js → units-CgMHbHoA.js} +1 -1
  436. package/dist/units-InoNiVrK.cjs +1 -0
  437. package/dist/{value-ChGMEPP3.js → value-CzFrd9p6.js} +3006 -2776
  438. package/dist/value-QHhF9WPA.cjs +53 -0
  439. package/dist/video.cjs +1 -1
  440. package/dist/video.js +1 -1
  441. package/package.json +24 -22
  442. package/dist/Animated-Bq6z2XkH.cjs +0 -1
  443. package/dist/Box-BvqALodh.cjs +0 -1
  444. package/dist/Button-BMeq9Z2I.cjs +0 -1
  445. package/dist/Button-CMRdj9Ti.js +0 -305
  446. package/dist/Dialog-BnPvG5WQ.cjs +0 -1
  447. package/dist/Editable-BXFY3-UW.cjs +0 -1
  448. package/dist/Editable-CxgdRDPb.js +0 -193
  449. package/dist/Haul-2Xa_nMgc.cjs +0 -1
  450. package/dist/Items-CHAbP2ZL.cjs +0 -4
  451. package/dist/Menu-BImhHf24.cjs +0 -1
  452. package/dist/Menu-CQ_GMgB9.js +0 -156
  453. package/dist/Provider-BV7nN39a.cjs +0 -5
  454. package/dist/Tags-6IUFBvU-.js +0 -604
  455. package/dist/Tags-DtnStTuF.cjs +0 -1
  456. package/dist/Text-DY08sSZe.cjs +0 -1
  457. package/dist/css-HnNQMUzV.cjs +0 -8
  458. package/dist/debounce-CW9Q-DsR.js +0 -17
  459. package/dist/debounce-heEWeOqL.cjs +0 -1
  460. package/dist/deep-DRVLw7iw.js +0 -349
  461. package/dist/deep-DtdcJG4q.cjs +0 -1
  462. package/dist/dimensions-CGLhBwVq.cjs +0 -1
  463. package/dist/eraser-Dm5Du4PL.cjs +0 -11
  464. package/dist/external-6vmyay3h.js +0 -46
  465. package/dist/external-BSjAne2q.js +0 -88
  466. package/dist/external-BrQU-ZN8.cjs +0 -1
  467. package/dist/external-CMBnwYR4.cjs +0 -1
  468. package/dist/external-CTsR6bs9.cjs +0 -46
  469. package/dist/external-Clec0nDH.cjs +0 -1
  470. package/dist/external-D7EEjQaR.js +0 -44
  471. package/dist/external-DDzR-j7b.cjs +0 -1
  472. package/dist/external-Ddn3rc_Q.cjs +0 -85
  473. package/dist/external-Dl0l3iHN.cjs +0 -1
  474. package/dist/external-Eaj0hgzm.cjs +0 -1
  475. package/dist/hooks-Bvv-S6WC.js +0 -74
  476. package/dist/hooks-CoF3Fkrn.cjs +0 -1
  477. package/dist/jsx-runtime-Dszzpdy0.cjs +0 -22
  478. package/dist/provider-lNhTlIWj.cjs +0 -72
  479. package/dist/src/hardware/device/Select.d.ts.map +0 -1
  480. package/dist/src/hardware/device/StatusIndicator.d.ts.map +0 -1
  481. package/dist/src/hardware/device/external.d.ts.map +0 -1
  482. package/dist/src/hardware/device/index.d.ts.map +0 -1
  483. package/dist/src/hardware/device/queries.d.ts.map +0 -1
  484. package/dist/src/hardware/device/queries.spec.d.ts.map +0 -1
  485. package/dist/src/hardware/rack/Select.d.ts.map +0 -1
  486. package/dist/src/hardware/rack/StatusIndicator.d.ts.map +0 -1
  487. package/dist/src/hardware/rack/external.d.ts.map +0 -1
  488. package/dist/src/hardware/rack/index.d.ts.map +0 -1
  489. package/dist/src/hardware/rack/queries.d.ts.map +0 -1
  490. package/dist/src/hardware/rack/queries.spec.d.ts.map +0 -1
  491. package/dist/src/hardware/task/index.d.ts.map +0 -1
  492. package/dist/src/hardware/task/queries.d.ts.map +0 -1
  493. package/dist/src/hardware/task/queries.spec.d.ts.map +0 -1
  494. package/dist/src/hooks/useRequiredContext.d.ts +0 -2
  495. package/dist/src/hooks/useRequiredContext.d.ts.map +0 -1
  496. package/dist/src/hooks/useRequiredContext.spec.d.ts +0 -2
  497. package/dist/src/hooks/useRequiredContext.spec.d.ts.map +0 -1
  498. package/dist/types-BNX_Jj6k.js +0 -80
  499. package/dist/types-D-yz1qsT.cjs +0 -1
  500. package/dist/units-DCifOxd9.cjs +0 -1
  501. package/dist/value-B3LTg1lE.cjs +0 -53
  502. /package/dist/src/{hardware/device → access/policy}/queries.spec.d.ts +0 -0
  503. /package/dist/src/{hardware/rack → access}/queries.spec.d.ts +0 -0
  504. /package/dist/src/{hardware/task → access/role}/queries.spec.d.ts +0 -0
  505. /package/dist/src/{hardware/device → device}/external.d.ts +0 -0
  506. /package/dist/src/{hardware/device → device}/index.d.ts +0 -0
  507. /package/dist/src/{hardware/rack → rack}/external.d.ts +0 -0
  508. /package/dist/src/{hardware/rack → rack}/index.d.ts +0 -0
  509. /package/dist/src/{hardware/task → task}/index.d.ts +0 -0
package/dist/css.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./css-HnNQMUzV.cjs"),t=require("./units-DCifOxd9.cjs");exports.CSS=e.CSS;exports.newBEM=e.newBEM;exports.createHexOpacityVariants=t.createHexOpacityVariants;exports.unitProperty=t.unitProperty;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./css-BVgFAmaj.cjs"),t=require("./units-InoNiVrK.cjs");exports.CSS=e.CSS;exports.newBEM=e.newBEM;exports.createHexOpacityVariants=t.createHexOpacityVariants;exports.unitProperty=t.unitProperty;
package/dist/css.js CHANGED
@@ -1,5 +1,5 @@
1
- import { C as e, n as t } from "./css-D6ZBcSwh.js";
2
- import { c as s, u as n } from "./units-BqIfn6VX.js";
1
+ import { C as e, n as t } from "./css-bahPRiQI.js";
2
+ import { c as s, u as n } from "./units-CgMHbHoA.js";
3
3
  export {
4
4
  e as CSS,
5
5
  s as createHexOpacityVariants,
package/dist/dialog.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-BcZE443U.cjs");exports.Dialog=e.external;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-Bixqkw5N.cjs");exports.Dialog=e.external;
package/dist/dialog.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e } from "./external-6vmyay3h.js";
1
+ import { e } from "./external-m-0q-0os.js";
2
2
  export {
3
3
  e as Dialog
4
4
  };
@@ -0,0 +1 @@
1
+ "use strict";const i=require("./css-BVgFAmaj.cjs");let e=null;const u=()=>(e??=document.createElement("canvas"),e),c=(t,a,n)=>{if(i.tl.RUNTIME==="node")return{width:0,height:0};n??=u().getContext("2d"),n.font=a;const o=n.measureText(t);return s(o)},s=t=>({width:Math.trunc(Math.abs(t.actualBoundingBoxLeft)+Math.abs(t.actualBoundingBoxRight)),height:Math.trunc(Math.abs(t.actualBoundingBoxAscent)+Math.abs(t.actualBoundingBoxDescent))});exports.dimensions=c;exports.dimensionsFromMetrics=s;
@@ -1,9 +1,9 @@
1
- import { S as s } from "./css-D6ZBcSwh.js";
2
- let a = null;
3
- const u = () => (a ??= document.createElement("canvas"), a), h = (t, e, n) => {
1
+ import { t as s } from "./css-bahPRiQI.js";
2
+ let n = null;
3
+ const u = () => (n ??= document.createElement("canvas"), n), h = (t, e, a) => {
4
4
  if (s.RUNTIME === "node") return { width: 0, height: 0 };
5
- n ??= u().getContext("2d"), n.font = e;
6
- const o = n.measureText(t);
5
+ a ??= u().getContext("2d"), a.font = e;
6
+ const o = a.measureText(t);
7
7
  return i(o);
8
8
  }, i = (t) => ({
9
9
  width: Math.trunc(
@@ -0,0 +1,11 @@
1
+ "use strict";const a=require("./css-BVgFAmaj.cjs"),_=require("zod"),d=require("./provider-DHDqgF1B.cjs"),F=require("./dimensions-SDA3fM2T.cjs"),I=_.z.object({include:_.z.string().array().optional(),exclude:_.z.string().array().optional(),level:_.z.enum(d.g.LOG_LEVELS).default("info")}),R="alamos-provider";class E extends d.Composite{static TYPE="alamos.Provider";schema=I;afterUpdate(t){if(t.getOptional(R)!=null)return;const s=[],{include:i,exclude:r,level:n}=this.state;(i!=null||r!=null)&&s.push(d.g.logLevelKeyFiler({include:i,exclude:r})),n!=null&&s.push(d.g.logThresholdFilter(n)),s.length===0&&s.push(()=>!1),this.internal.ins=new d.g.Instrumentation({key:"aether",logger:new d.g.Logger({filters:s})}),t.set(R,this.internal.ins)}}const B=(l,t)=>{const e=l.get(R);if(e==null)throw new Error("No instrumentation provider");return t==null?e:e.child(t)},U={[E.TYPE]:E},y=(l,t)=>a.vu.construct(a.vu.left(l)-t.x,a.vu.top(l)-t.y,a.vu.width(l)+t.x*2,a.vu.height(l)+t.y*2);class C{scale_;wrapped;atlasRegistry;cachedFont=null;cachedFillStyle=null;cachedStrokeStyle=null;cachedLineWidth=null;cachedGlobalAlpha=null;cachedTextAlign=null;cachedTextBaseline=null;cachedLineCap=null;cachedLineJoin=null;cachedMiterLimit=null;dpr;constructor(t,e,s,i=a.Au.XY.IDENTITY){this.wrapped=t,this.scale_=i,this.atlasRegistry=e,this.dpr=s}get fontStretch(){return this.wrapped.fontStretch}set fontStretch(t){this.wrapped.fontStretch=t}get fontVariantCaps(){return this.wrapped.fontVariantCaps}set fontVariantCaps(t){this.wrapped.fontVariantCaps=t}isContextLost(){return this.wrapped.isContextLost()}get wordSpacing(){return this.wrapped.wordSpacing}set wordSpacing(t){this.wrapped.wordSpacing=t}get letterSpacing(){return this.wrapped.letterSpacing}set letterSpacing(t){this.wrapped.letterSpacing=t}get textRendering(){return this.wrapped.textRendering}set textRendering(t){this.wrapped.textRendering=t}checkAtlasFillStyle(t=!1){return t&&typeof this.fillStyle=="string"?[!0,this.fillStyle]:(t&&console.warn("attempted to use a text atlas with a gradient fill style. This is not supported. Falling back to default canvas fill."),[!1,null])}reset(){this.wrapped.reset()}applyScale(t){return new C(this,this.atlasRegistry,this.dpr,t)}get canvas(){return this.wrapped.canvas}get miterLimit(){return this.cachedMiterLimit??this.wrapped.miterLimit}set miterLimit(t){const e=this.scale_.x.dim(t);e!==this.cachedMiterLimit&&(this.cachedMiterLimit=e,this.wrapped.miterLimit=e)}get globalAlpha(){return this.cachedGlobalAlpha??this.wrapped.globalAlpha}set globalAlpha(t){t!==this.cachedGlobalAlpha&&(this.cachedGlobalAlpha=t,this.wrapped.globalAlpha=t)}get globalCompositeOperation(){return this.wrapped.globalCompositeOperation}set globalCompositeOperation(t){this.wrapped.globalCompositeOperation=t}get fillStyle(){return this.cachedFillStyle??this.wrapped.fillStyle}set fillStyle(t){t!==this.cachedFillStyle&&(this.cachedFillStyle=t,this.wrapped.fillStyle=t)}get strokeStyle(){return this.cachedStrokeStyle??this.wrapped.strokeStyle}set strokeStyle(t){t!==this.cachedStrokeStyle&&(this.cachedStrokeStyle=t,this.wrapped.strokeStyle=t)}drawImage(t,e,s,i,r,n,h,o,p){this.wrapped.drawImage(t,e,s,i,r,n!=null?this.scale_.x.pos(n):n,h!=null?this.scale_.y.pos(h):h,o!=null?this.scale_.x.dim(o):o,p!=null?this.scale_.y.dim(p):p)}beginPath(){this.wrapped.beginPath()}clip(t,e){this.wrapped.clip(t,e)}fill(t,e){if(t==null)return this.wrapped.fill();this.wrapped.fill(t,e)}isPointInPath(t,e,s,i){return this.wrapped.isPointInPath(t,e,s,i)}isPointInStroke(t,e,s){return this.wrapped.isPointInStroke(t,e,s)}stroke(t){if(t==null)return this.wrapped.stroke();this.wrapped.stroke(t)}createConicGradient(t,e,s){return this.wrapped.createConicGradient(t,e,s)}createLinearGradient(t,e,s,i){return this.wrapped.createLinearGradient(t,e,s,i)}createPattern(t,e){return this.wrapped.createPattern(t,e)}createRadialGradient(t,e,s,i,r,n){return this.wrapped.createRadialGradient(t,e,s,i,r,n)}get filter(){return this.wrapped.filter}set filter(t){this.wrapped.filter=t}createImageData(t,e,s){return this.wrapped.createImageData(t,e,s)}getImageData(t,e,s,i,r){return this.wrapped.getImageData(t,e,s,i,r)}putImageData(t,e,s,i,r,n,h){this.wrapped.putImageData(t,e,s,i,r,n,h)}get imageSmoothingEnabled(){return this.wrapped.imageSmoothingEnabled}set imageSmoothingEnabled(t){this.wrapped.imageSmoothingEnabled=t}get imageSmoothingQuality(){return this.wrapped.imageSmoothingQuality}set imageSmoothingQuality(t){this.wrapped.imageSmoothingQuality=t}arc(t,e,s,i,r,n){this.wrapped.arc(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.dim(s),i,r,n)}arcTo(t,e,s,i,r){this.wrapped.arcTo(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.pos(s),this.scale_.y.pos(i),this.scale_.x.dim(r))}bezierCurveTo(t,e,s,i,r,n){this.wrapped.bezierCurveTo(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.pos(s),this.scale_.y.pos(i),this.scale_.x.pos(r),this.scale_.y.pos(n))}closePath(){this.wrapped.closePath()}ellipse(t,e,s,i,r,n,h,o){this.wrapped.ellipse(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.dim(s),this.scale_.y.dim(i),r,n,h,o)}lineTo(t,e){this.wrapped.lineTo(this.scale_.x.pos(t),this.scale_.y.pos(e))}moveTo(t,e){this.wrapped.moveTo(this.scale_.x.pos(t),this.scale_.y.pos(e))}quadraticCurveTo(t,e,s,i){this.wrapped.quadraticCurveTo(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.pos(s),this.scale_.y.pos(i))}rect(t,e,s,i){this.wrapped.rect(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.dim(s),this.scale_.y.dim(i))}roundRect(t,e,s,i,r){this.wrapped.roundRect(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.dim(s),this.scale_.y.dim(i),typeof r=="number"?this.scale_.x.dim(r):r)}get lineCap(){return this.cachedLineCap??this.wrapped.lineCap}set lineCap(t){t!==this.cachedLineCap&&(this.cachedLineCap=t,this.wrapped.lineCap=t)}get lineDashOffset(){return this.wrapped.lineDashOffset}set lineDashOffset(t){this.wrapped.lineDashOffset=this.scale_.x.dim(t)}get lineJoin(){return this.cachedLineJoin??this.wrapped.lineJoin}set lineJoin(t){t!==this.cachedLineJoin&&(this.cachedLineJoin=t,this.wrapped.lineJoin=t)}get lineWidth(){return this.cachedLineWidth??this.wrapped.lineWidth}set lineWidth(t){const e=this.scale_.x.dim(t);e!==this.cachedLineWidth&&(this.cachedLineWidth=e,this.wrapped.lineWidth=e)}getLineDash(){return this.wrapped.getLineDash()}setLineDash(t){const e=Array.from(t).map(s=>this.scale_.x.dim(s));this.wrapped.setLineDash(e)}clearRect(t,e,s,i){this.wrapped.clearRect(t,e,s,i)}fillRect(t,e,s,i){this.wrapped.fillRect(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.dim(s),this.scale_.y.dim(i))}strokeRect(t,e,s,i){this.wrapped.strokeRect(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.dim(s),this.scale_.y.dim(i))}get shadowBlur(){return this.wrapped.shadowBlur}set shadowBlur(t){this.wrapped.shadowBlur=t}get shadowColor(){return this.wrapped.shadowColor}set shadowColor(t){this.wrapped.shadowColor=t}get shadowOffsetX(){return this.wrapped.shadowOffsetX}set shadowOffsetX(t){this.wrapped.shadowOffsetX=t}get shadowOffsetY(){return this.wrapped.shadowOffsetY}restore(){this.cachedFillStyle=null,this.cachedStrokeStyle=null,this.cachedLineWidth=null,this.cachedGlobalAlpha=null,this.cachedTextAlign=null,this.cachedTextBaseline=null,this.cachedLineCap=null,this.cachedLineJoin=null,this.cachedMiterLimit=null,this.cachedFont=null,this.wrapped.restore()}save(){this.wrapped.save()}fillText(t,e,s,i,r={}){const[n,h]=this.checkAtlasFillStyle(r.useAtlas);if(n){this.atlasRegistry.get({font:this.font,textColor:h}).fillText(this,t,e,s);return}this.wrapped.fillText(t,this.scale_.x.pos(e),this.scale_.y.pos(s),i!=null?this.scale_.x.dim(i):void 0)}measureText(t){return this.wrapped.measureText(t)}textDimensions(t,e={}){const[s,i]=this.checkAtlasFillStyle(e.useAtlas);return s?this.atlasRegistry.get({font:this.font,textColor:i}).measureText(t):F.dimensionsFromMetrics(this.measureText(t))}strokeText(t,e,s,i){this.wrapped.strokeText(t,this.scale_.x.pos(e),this.scale_.y.pos(s),i!=null?this.scale_.x.dim(i):void 0)}get direction(){return this.wrapped.direction}set direction(t){this.wrapped.direction=t}get font(){return this.cachedFont!=null?this.cachedFont:this.wrapped.font}set font(t){t!==this.cachedFont&&(this.cachedFont=t,this.wrapped.font=this.cachedFont)}get fontKerning(){return this.wrapped.fontKerning}set fontKerning(t){this.wrapped.fontKerning=t}get textAlign(){return this.cachedTextAlign??this.wrapped.textAlign}set textAlign(t){t!==this.cachedTextAlign&&(this.cachedTextAlign=t,this.wrapped.textAlign=t)}get textBaseline(){return this.cachedTextBaseline??this.wrapped.textBaseline}set textBaseline(t){t!==this.cachedTextBaseline&&(this.cachedTextBaseline=t,this.wrapped.textBaseline=t)}getTransform(){return this.wrapped.getTransform()}resetTransform(){this.wrapped.resetTransform()}rotate(t){this.wrapped.rotate(t)}scale(t,e){this.wrapped.scale(t,e),this.dpr=t}scissor(t,e=a.Nu.ZERO){const s=new X(this.scale_);return t=y(t,e),s.rect(...a.Nu.couple(a.vu.topLeft(t)),...a.Mu.couple(a.vu.dims(t))),this.save(),this.clip(s.getPath()),()=>this.restore()}setTransform(t,e,s,i,r,n){this.wrapped.setTransform(t,e,s,i,r,n)}transform(t,e,s,i,r,n){this.wrapped.transform(t,e,s,i,r,n)}translate(t,e){this.wrapped.translate(t,e)}}class X{scale_;path;constructor(t=a.Au.XY.IDENTITY,e){this.scale_=t,e instanceof Path2D||typeof e=="string"?this.path=new Path2D(e):this.path=new Path2D}addPath(t,e){this.path.addPath(t,e)}arc(t,e,s,i,r,n){this.path.arc(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.dim(s),i,r,n)}arcTo(t,e,s,i,r){this.path.arcTo(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.pos(s),this.scale_.y.pos(i),this.scale_.x.dim(r))}bezierCurveTo(t,e,s,i,r,n){this.path.bezierCurveTo(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.pos(s),this.scale_.y.pos(i),this.scale_.x.pos(r),this.scale_.y.pos(n))}closePath(){this.path.closePath()}ellipse(t,e,s,i,r,n,h,o){this.path.ellipse(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.dim(s),this.scale_.y.dim(i),r,n,h,o)}lineTo(t,e){this.path.lineTo(this.scale_.x.pos(t),this.scale_.y.pos(e))}moveTo(t,e){this.path.moveTo(this.scale_.x.pos(t),this.scale_.y.pos(e))}quadraticCurveTo(t,e,s,i){this.path.quadraticCurveTo(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.pos(s),this.scale_.y.pos(i))}rect(t,e,s,i){this.path.rect(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.dim(s),this.scale_.y.dim(i))}roundRect(t,e,s,i,r){const n=this.scaleRadii(r);this.path.roundRect(this.scale_.x.pos(t),this.scale_.y.pos(e),this.scale_.x.dim(s),this.scale_.y.dim(i),n)}scaleRadii(t){return t==null?t:typeof t=="number"?this.scale_.x.dim(t):Array.isArray(t)?t.map(e=>this.scaleRadius(e)):this.scaleRadius(t)}scaleRadius(t){return typeof t=="number"?this.scale_.x.dim(t):{x:this.scale_.x.dim(t.x??0),y:this.scale_.y.dim(t.y??0)}}getPath(){return this.path}}const K=`precision mediump float;
2
+
3
+ void main(void) {
4
+ gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);
5
+ }
6
+ `,W=`attribute vec4 a_position;
7
+
8
+ void main(void) {
9
+ gl_Position = a_position;
10
+ }
11
+ `,b=l=>new Error(`failed to compile webgl program: ${l}`),Z=new Error("null shader encountered");let k=class{renderCtx;prog;vertShader;fragShader;uniformLocCache=new Map;constructor(t,e,s){this.renderCtx=t;const i=t.gl.createProgram();if(i==null)throw b("failed to create program");this.prog=i,this.vertShader=e,this.fragShader=s,this.compile()}setAsActive(){return this.renderCtx.gl.useProgram(this.prog),()=>this.renderCtx.gl.useProgram(null)}uniformXY(t,e){this.renderCtx.gl.uniform2fv(this.getUniformLoc(t),a.Nu.couple(e))}uniformColor(t,e){this.renderCtx.gl.uniform4fv(this.getUniformLoc(t),a.Pu.rgba1(e))}getUniformLoc(t){const e=this.uniformLocCache.get(t);if(e!=null)return e;const s=this.renderCtx.gl.getUniformLocation(this.prog,t);if(s==null)throw new Error(`unexpected missing uniform ${t}`);return this.uniformLocCache.set(t,s),s}compile(){const t=this.renderCtx.gl;this.compileShader(this.vertShader,t.VERTEX_SHADER),this.compileShader(this.fragShader,t.FRAGMENT_SHADER),t.linkProgram(this.prog)}compileShader(t,e){const s=this.renderCtx.gl,i=s.createShader(e);if(i==null)throw Z;if(s.shaderSource(i,t),s.compileShader(i),!s.getShaderParameter(i,s.COMPILE_STATUS)){const n=s.getShaderInfoLog(i);throw s.deleteShader(i),b(n??"unknown")}s.attachShader(this.prog,i)}};const H=new Float32Array([0,0,0,0,0,0]);class V extends k{positionBuffer;constructor(t){super(t,W,K);const e=t.gl.createBuffer();if(e==null)throw new d.Ut("webgl: failed to create buffer");this.positionBuffer=e,t.gl.bindBuffer(t.gl.ARRAY_BUFFER,this.positionBuffer),t.gl.bufferData(t.gl.ARRAY_BUFFER,H,t.gl.STATIC_DRAW)}exec(){const{gl:t}=this.renderCtx,e=t.getAttribLocation(this.prog,"a_position");t.bindBuffer(t.ARRAY_BUFFER,this.positionBuffer);const s=t.createVertexArray();t.bindVertexArray(s),t.enableVertexAttribArray(e),t.vertexAttribPointer(e,2,t.FLOAT,!1,0,0),this.setAsActive(),t.drawArrays(t.TRIANGLES,0,3)}}const O={high:1,low:0};class G{requests=new Map;cleanup=new Map;afterRender;instrumentation;handleError;constructor({afterRender:t,instrumentation:e=d.g.Instrumentation.NOOP,handleError:s}){this.afterRender=t,this.instrumentation=e,this.handleError=s,this.start()}set(t){const e=this.requests.get(t.key);if(e==null)this.requests.set(t.key,t);else{const s=O[t.priority]>=O[e.priority],i=t.canvases.length>=e.canvases.length;s&&i&&this.requests.set(t.key,t)}}render(){const{requests:t}=this;t.size!==0&&(this.runCleanupsSync(),this.renderSync(),this.requests.clear(),this.afterRender?.())}runCleanupsSync(){const{cleanup:t,requests:e}=this;t.forEach((s,i)=>{const r=e.get(i);r!=null&&(s(r),t.delete(i))})}renderSync(){const{requests:t}=this;t.forEach(e=>{try{const s=e.render();s!=null&&this.cleanup.set(e.key,s)}catch(s){this.handleError(s,"render loop failed")}})}start(){const t=()=>{try{this.render()}catch(e){this.handleError(e,"render loop failed")}requestAnimationFrame(t)};requestAnimationFrame(t)}}const x=2,g=2;class A{atlas;charDims;charMap;static DEFAULT_CHARS="0123456789.:-µmsNa∞ᴇABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz%";constructor(t){const{font:e,characters:s=A.DEFAULT_CHARS,textColor:i}=t;this.charMap=new Map;const r=a.yu.unique(Array.from(s)),h=new OffscreenCanvas(1,1).getContext("2d");h.font=e;const o=h.measureText("0");this.charDims=F.dimensionsFromMetrics(o),this.charDims.width+=x,this.charDims.height+=x;const p=r.length,u=this.charDims.width,m=this.charDims.height,c=Math.ceil(Math.sqrt(p)),S=Math.ceil(p/c);this.atlas=new OffscreenCanvas(u*c*g,m*(S+1)*g);const w=this.atlas.getContext("2d");w.scale(g,g),w.font=e,w.textBaseline="alphabetic",w.textAlign="left",w.fillStyle=a.Pu.hex(i),w.clearRect(0,0,this.atlas.width,this.atlas.height),r.forEach((L,T)=>{const N=T%c,Y=Math.floor(T/c),z=N*u,q=(Y+1)*m;w.fillText(L,z,q),this.charMap.set(L,T)})}fillText(t,e,s,i){const{width:r,height:n}=this.charDims,h=Math.ceil(Math.sqrt(this.charMap.size));t.textAlign==="center"&&(s-=r*e.length/2),t.textBaseline==="middle"&&(i+=n/2);for(let o=0;o<e.length;o++){const p=e[o],u=this.charMap.get(p);if(u===void 0)continue;const m=u%h,c=Math.floor(u/h);t.drawImage(this.atlas,m*r*g,c*n*g+x,r*g,n*g,s+o*r,i-n-x/g,r,n)}}measureText(t){return{width:t.length*this.charDims.width,height:this.charDims.height}}}class J{atlases;constructor(){this.atlases=new Map}get(t){const e=`${t.font}-${a.Pu.hex(t.textColor)}-${t.characters}`;if(this.atlases.has(e))return this.atlases.get(e);const s=new A(t);return this.atlases.set(e,s),s}}const P=l=>(l.textRendering="optimizeSpeed",l.imageSmoothingEnabled=!1,l);class f{glCanvas;upper2dCanvas;lower2dCanvas;gl;lower2d;upper2d;region;dpr;loop;clearProgram;os;static CONTEXT_KEY=a.CSS.B("render-context");instrumentation;static create(t,e,s,i,r){const n=B(t,"render_context"),h=new f(e,s,i,r,n,d.useAdder(t),d.useErrorHandler(t));return t.set(f.CONTEXT_KEY,h),h}constructor(t,e,s,i,r,n,h){this.upper2dCanvas=s,this.lower2dCanvas=e,this.glCanvas=t,this.os=i,this.instrumentation=r,this.dpr=1;const o=this.lower2dCanvas.getContext("2d");if(o==null)throw new Error("Could not get 2D context");const p=new J;this.lower2d=P(new C(o,p,this.dpr));const u=this.upper2dCanvas.getContext("2d");if(u==null)throw new Error("Could not get 2D context");this.upper2d=P(new C(u,p,this.dpr));const m={preserveDrawingBuffer:!0,powerPreference:"high-performance",stencil:!1,depth:!1},c=this.glCanvas.getContext("webgl2",m);if(c==null)throw new Error("Could not get WebGL context");c.disable(c.DEPTH_TEST),c.disable(c.STENCIL_TEST),c.disable(c.CULL_FACE),c.disable(c.DITHER),this.gl=c,this.glCanvas.oncontextlost=()=>n({variant:"error",message:"WebGL context lost"});const S=()=>{this.gl.flush(),this.gl.finish()};this.loop=new G({afterRender:S,instrumentation:this.instrumentation,handleError:h}),this.region=a.vu.ZERO,this.os==="Windows"&&(this.clearProgram=new V(this))}static useOptional(t){return t.getOptional(f.CONTEXT_KEY)}static use(t){return t.get(f.CONTEXT_KEY)}update(t){t.set(f.CONTEXT_KEY,this)}resize(t,e){a.vu.equals(this.region,t)&&this.dpr===e||(this.region=t,this.dpr=e,this.resizeCanvas(this.glCanvas),this.resizeCanvas(this.upper2dCanvas),this.resizeCanvas(this.lower2dCanvas),this.lower2d.scale(this.dpr,this.dpr),this.upper2d.scale(this.dpr,this.dpr),this.gl.viewport(0,0,a.vu.width(t)*e,a.vu.height(t)*e))}resizeCanvas(t){t.width=a.vu.width(this.region)*this.dpr,t.height=a.vu.height(this.region)*this.dpr}get aspect(){return a.vu.aspect(this.region)}scaleRegion(t){return new a.Au.XY(a.Au.Scale.scale(0,1).scale(a.vu.width(t)).translate(a.vu.left(t)).reBound(a.vu.width(this.region)).scale(-1,1),a.Au.Scale.scale(0,1).scale(a.vu.height(t)).invert().translate(a.vu.top(t)).reBound(a.vu.height(this.region)).scale(-1,1).invert())}scissor(t,e=a.Nu.ZERO,s){const i=[];return s.includes("upper2d")&&i.push(this.upper2d.scissor(t,e)),s.includes("lower2d")&&i.push(this.lower2d.scissor(t,e)),s.includes("gl")&&i.push(this.scissorGL(t,e)),()=>i.forEach(r=>r())}scissorGL(t,e=a.Nu.ZERO){return this.gl.enable(this.gl.SCISSOR_TEST),t=y(t,e),this.gl.scissor(a.vu.left(t)*this.dpr,(a.vu.height(this.region)-a.vu.bottom(t))*this.dpr,a.vu.width(t)*this.dpr,a.vu.height(t)*this.dpr),()=>this.gl.disable(this.gl.SCISSOR_TEST)}erase(t,e=a.Nu.ZERO,...s){e=a.Nu.construct(e),s.length===0&&(s=["upper2d","lower2d","gl"]),s.includes("upper2d")&&this.eraseCanvas(this.upper2d,t,e),s.includes("lower2d")&&this.eraseCanvas(this.lower2d,t,e),s.includes("gl")&&this.eraseGL(t,e)}eraseGL(t,e=a.Nu.ZERO){const{gl:s}=this,i=this.scissorGL(y(t,e));s.clearColor(...a.Pu.rgba1(a.Pu.ZERO)),s.clear(s.COLOR_BUFFER_BIT),this.os==="Windows"&&this.clearProgram?.exec(),i()}eraseCanvas(t,e,s=a.Nu.ZERO){const i=y(e,s);t.clearRect(...a.Nu.couple(a.vu.topLeft(i)),...a.Mu.couple(a.vu.dims(i)))}}const M=_.z.object({region:a.vu.box,enabled:_.z.boolean().default(!1)}),D=["gl","lower2d","upper2d"];class v extends d.Leaf{static TYPE="eraser";schema=M;afterUpdate(t){this.deleted||(this.internal.renderCtx=f.use(t),this.renderOnLifecycleChange())}afterDelete(){this.renderOnLifecycleChange()}renderOnLifecycleChange(){this.internal.renderCtx.loop.set({key:`${this.type}-${this.key}`,render:this.render.bind(this),priority:"high",canvases:D})}render(){this.deleted||!this.state.enabled||this.internal.renderCtx.erase(this.state.region,a.Nu.construct(0),...D)}}const $={[v.TYPE]:v};exports.Context=f;exports.Eraser=v;exports.GLProgram=k;exports.Loop=G;exports.Provider=E;exports.REGISTRY=$;exports.REGISTRY$1=U;exports.eraserStateZ=M;exports.providerStateZ=I;exports.useInstrumentation=B;
@@ -1,11 +1,11 @@
1
- import { j as h, i as C, Q as d, o as k, L as y, c as U, C as q } from "./css-D6ZBcSwh.js";
1
+ import { v as h, A as y, N as d, M as k, P as C, y as X, C as q } from "./css-bahPRiQI.js";
2
2
  import { z as _ } from "zod";
3
- import { j as x, C as z, B as K, k as W, l as H, L as V } from "./provider-C8In649C.js";
4
- import { a as G } from "./dimensions-BFCMI7yN.js";
3
+ import { g as x, C as z, U as K, h as W, j as H, L as V } from "./provider-ClhgBr_F.js";
4
+ import { a as G } from "./dimensions-qcyzaTKI.js";
5
5
  const Z = _.object({
6
6
  include: _.string().array().optional(),
7
7
  exclude: _.string().array().optional(),
8
- level: _.enum(x.LOG_LEVELS).optional().default("info")
8
+ level: _.enum(x.LOG_LEVELS).default("info")
9
9
  }), L = "alamos-provider";
10
10
  class v extends z {
11
11
  static TYPE = "alamos.Provider";
@@ -46,7 +46,7 @@ class R {
46
46
  cachedLineJoin = null;
47
47
  cachedMiterLimit = null;
48
48
  dpr;
49
- constructor(t, e, s, i = C.XY.IDENTITY) {
49
+ constructor(t, e, s, i = y.XY.IDENTITY) {
50
50
  this.wrapped = t, this.scale_ = i, this.atlasRegistry = e, this.dpr = s;
51
51
  }
52
52
  get fontStretch() {
@@ -453,7 +453,7 @@ class R {
453
453
  class $ {
454
454
  scale_;
455
455
  path;
456
- constructor(t = C.XY.IDENTITY, e) {
456
+ constructor(t = y.XY.IDENTITY, e) {
457
457
  this.scale_ = t, e instanceof Path2D || typeof e == "string" ? this.path = new Path2D(e) : this.path = new Path2D();
458
458
  }
459
459
  addPath(t, e) {
@@ -548,17 +548,17 @@ class $ {
548
548
  return this.path;
549
549
  }
550
550
  }
551
- const j = `precision mediump float;
551
+ const Q = `precision mediump float;
552
552
 
553
553
  void main(void) {
554
554
  gl_FragColor = vec4(0.0, 0.0, 0.0, 0.0);
555
555
  }
556
- `, Q = `attribute vec4 a_position;
556
+ `, j = `attribute vec4 a_position;
557
557
 
558
558
  void main(void) {
559
559
  gl_Position = a_position;
560
560
  }
561
- `, D = (l) => new Error(`failed to compile webgl program: ${l}`), tt = new Error("null shader encountered");
561
+ `, P = (l) => new Error(`failed to compile webgl program: ${l}`), tt = new Error("null shader encountered");
562
562
  let et = class {
563
563
  /** The render context used by this program. */
564
564
  renderCtx;
@@ -580,7 +580,7 @@ let et = class {
580
580
  constructor(t, e, s) {
581
581
  this.renderCtx = t;
582
582
  const i = t.gl.createProgram();
583
- if (i == null) throw D("failed to create program");
583
+ if (i == null) throw P("failed to create program");
584
584
  this.prog = i, this.vertShader = e, this.fragShader = s, this.compile();
585
585
  }
586
586
  /** Sets the current program as the active program used by the context. */
@@ -603,7 +603,7 @@ let et = class {
603
603
  * @param value - The value to set.
604
604
  */
605
605
  uniformColor(t, e) {
606
- this.renderCtx.gl.uniform4fv(this.getUniformLoc(t), y.rgba1(e));
606
+ this.renderCtx.gl.uniform4fv(this.getUniformLoc(t), C.rgba1(e));
607
607
  }
608
608
  getUniformLoc(t) {
609
609
  const e = this.uniformLocCache.get(t);
@@ -621,7 +621,7 @@ let et = class {
621
621
  if (i == null) throw tt;
622
622
  if (s.shaderSource(i, t), s.compileShader(i), !s.getShaderParameter(i, s.COMPILE_STATUS)) {
623
623
  const a = s.getShaderInfoLog(i);
624
- throw s.deleteShader(i), D(a ?? "unknown");
624
+ throw s.deleteShader(i), P(a ?? "unknown");
625
625
  }
626
626
  s.attachShader(this.prog, i);
627
627
  }
@@ -630,7 +630,7 @@ const st = new Float32Array([0, 0, 0, 0, 0, 0]);
630
630
  class it extends et {
631
631
  positionBuffer;
632
632
  constructor(t) {
633
- super(t, Q, j);
633
+ super(t, j, Q);
634
634
  const e = t.gl.createBuffer();
635
635
  if (e == null) throw new K("webgl: failed to create buffer");
636
636
  this.positionBuffer = e, t.gl.bindBuffer(t.gl.ARRAY_BUFFER, this.positionBuffer), t.gl.bufferData(t.gl.ARRAY_BUFFER, st, t.gl.STATIC_DRAW);
@@ -642,7 +642,7 @@ class it extends et {
642
642
  t.bindVertexArray(s), t.enableVertexAttribArray(e), t.vertexAttribPointer(e, 2, t.FLOAT, !1, 0, 0), this.setAsActive(), t.drawArrays(t.TRIANGLES, 0, 3);
643
643
  }
644
644
  }
645
- const P = { high: 1, low: 0 };
645
+ const D = { high: 1, low: 0 };
646
646
  class rt {
647
647
  /** Stores the current requests for rendering. */
648
648
  requests = /* @__PURE__ */ new Map();
@@ -675,7 +675,7 @@ class rt {
675
675
  const e = this.requests.get(t.key);
676
676
  if (e == null) this.requests.set(t.key, t);
677
677
  else {
678
- const s = P[t.priority] >= P[e.priority], i = t.canvases.length >= e.canvases.length;
678
+ const s = D[t.priority] >= D[e.priority], i = t.canvases.length >= e.canvases.length;
679
679
  s && i && this.requests.set(t.key, t);
680
680
  }
681
681
  }
@@ -728,7 +728,7 @@ class b {
728
728
  constructor(t) {
729
729
  const { font: e, characters: s = b.DEFAULT_CHARS, textColor: i } = t;
730
730
  this.charMap = /* @__PURE__ */ new Map();
731
- const r = U.unique(Array.from(s)), n = new OffscreenCanvas(1, 1).getContext("2d");
731
+ const r = X.unique(Array.from(s)), n = new OffscreenCanvas(1, 1).getContext("2d");
732
732
  n.font = e;
733
733
  const o = n.measureText("0");
734
734
  this.charDims = G(o), this.charDims.width += S, this.charDims.height += S;
@@ -738,9 +738,9 @@ class b {
738
738
  m * (E + 1) * g
739
739
  );
740
740
  const f = this.atlas.getContext("2d");
741
- f.scale(g, g), f.font = e, f.textBaseline = "alphabetic", f.textAlign = "left", f.fillStyle = y.hex(i), f.clearRect(0, 0, this.atlas.width, this.atlas.height), r.forEach((O, A) => {
742
- const M = A % c, Y = Math.floor(A / c), N = M * u, X = (Y + 1) * m;
743
- f.fillText(O, N, X), this.charMap.set(O, A);
741
+ f.scale(g, g), f.font = e, f.textBaseline = "alphabetic", f.textAlign = "left", f.fillStyle = C.hex(i), f.clearRect(0, 0, this.atlas.width, this.atlas.height), r.forEach((O, A) => {
742
+ const M = A % c, Y = Math.floor(A / c), N = M * u, U = (Y + 1) * m;
743
+ f.fillText(O, N, U), this.charMap.set(O, A);
744
744
  });
745
745
  }
746
746
  fillText(t, e, s, i) {
@@ -777,7 +777,7 @@ class at {
777
777
  * atlas does not exist in the registry, it is created and added to the registry.
778
778
  */
779
779
  get(t) {
780
- const e = `${t.font}-${y.hex(t.textColor)}-${t.characters}`;
780
+ const e = `${t.font}-${C.hex(t.textColor)}-${t.characters}`;
781
781
  if (this.atlases.has(e)) return this.atlases.get(e);
782
782
  const s = new b(t);
783
783
  return this.atlases.set(e, s), s;
@@ -882,11 +882,11 @@ class w {
882
882
  * in the canvas.
883
883
  */
884
884
  scaleRegion(t) {
885
- return new C.XY(
885
+ return new y.XY(
886
886
  // Accept a value in decimal.
887
- C.Scale.scale(0, 1).scale(h.width(t)).translate(h.left(t)).reBound(h.width(this.region)).scale(-1, 1),
887
+ y.Scale.scale(0, 1).scale(h.width(t)).translate(h.left(t)).reBound(h.width(this.region)).scale(-1, 1),
888
888
  // Accept a value in decimal.
889
- C.Scale.scale(0, 1).scale(h.height(t)).invert().translate(h.top(t)).reBound(h.height(this.region)).scale(-1, 1).invert()
889
+ y.Scale.scale(0, 1).scale(h.height(t)).invert().translate(h.top(t)).reBound(h.height(this.region)).scale(-1, 1).invert()
890
890
  );
891
891
  }
892
892
  scissor(t, e = d.ZERO, s) {
@@ -906,7 +906,7 @@ class w {
906
906
  }
907
907
  eraseGL(t, e = d.ZERO) {
908
908
  const { gl: s } = this, i = this.scissorGL(T(t, e));
909
- s.clearColor(...y.rgba1(y.ZERO)), s.clear(s.COLOR_BUFFER_BIT), this.os === "Windows" && this.clearProgram?.exec(), i();
909
+ s.clearColor(...C.rgba1(C.ZERO)), s.clear(s.COLOR_BUFFER_BIT), this.os === "Windows" && this.clearProgram?.exec(), i();
910
910
  }
911
911
  eraseCanvas(t, e, s = d.ZERO) {
912
912
  const i = T(e, s);
@@ -915,7 +915,7 @@ class w {
915
915
  }
916
916
  const ht = _.object({
917
917
  region: h.box,
918
- enabled: _.boolean().optional().default(!1)
918
+ enabled: _.boolean().default(!1)
919
919
  }), I = ["gl", "lower2d", "upper2d"];
920
920
  class B extends V {
921
921
  static TYPE = "eraser";
package/dist/ether.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./provider-lNhTlIWj.cjs"),e=require("./value-B3LTg1lE.cjs");require("./css-HnNQMUzV.cjs");const r=require("./eraser-Dm5Du4PL.cjs");require("react");require("./types-D-yz1qsT.cjs");const i=require("./fontString-yPlq8smc.cjs"),s=Object.freeze(Object.defineProperty({__proto__:null,Provider:t.Provider,REGISTRY:t.REGISTRY,SYNNAX_DARK:t.SYNNAX_DARK,SYNNAX_LIGHT:t.SYNNAX_LIGHT,SYNNAX_THEMES:t.SYNNAX_THEMES,fontSpecZ:t.fontSpecZ,fontString:i.fontString,themeZ:t.themeZ,use:t.use},Symbol.toStringTag,{value:"Module"})),u=Object.freeze(Object.defineProperty({__proto__:null,Context:r.Context,GLProgram:r.GLProgram,Loop:r.Loop,control:e.control,request:e.request,useOptionalRequestor:e.useOptionalRequestor,useRequestor:e.useRequestor},Symbol.toStringTag,{value:"Module"})),l=Object.freeze(Object.defineProperty({__proto__:null,BoundQuerier:e.BoundQuerier,LinePlot:e.LinePlot,REGISTRY:e.REGISTRY,XAxis:e.XAxis,YAxis:e.YAxis,boundQuerierStateZ:e.boundQuerierStateZ,linePlotStateZ:e.linePlotStateZ,xAxisStateZ:e.xAxisStateZ,yAxisStateZ:e.yAxisStateZ},Symbol.toStringTag,{value:"Module"})),a={[e.FLUX_STORE_KEY]:e.FLUX_STORE_CONFIG,[e.RELATIONSHIPS_FLUX_STORE_KEY]:e.RELATIONSHIP_FLUX_STORE_CONFIG,[e.RESOURCES_FLUX_STORE_KEY]:e.RESOURCE_FLUX_STORE_CONFIG},E=()=>{const o=new t.d((S,n)=>postMessage(S,n));onmessage=o.handle.bind(o);const R={...r.REGISTRY$1,...e.REGISTRY$19,...e.REGISTRY$18,...e.REGISTRY$17,...e.REGISTRY$16,...r.REGISTRY,...e.REGISTRY$15,...e.REGISTRY$14,...e.REGISTRY$13,...e.REGISTRY,...e.REGISTRY$12,...e.REGISTRY$11,...e.REGISTRY$10,...e.REGISTRY$9,...t.REGISTRY$1,...e.REGISTRY$8,...e.REGISTRY$7,...t.REGISTRY,...e.REGISTRY$6,...e.REGISTRY$5,...e.REGISTRY$4,...e.REGISTRY$3,...e.REGISTRY$2,...e.REGISTRY$1,...e.createRegistry({storeConfig:a})};t.render({comms:o.route("vis"),registry:R,instrumentation:new t.O({logger:new t._({filters:[t.be("info")]})})})},T=Object.freeze(Object.defineProperty({__proto__:null,render:E},Symbol.toStringTag,{value:"Module"}));exports.aether=t.aether;exports.canvas=e.canvas;exports.diagram=e.Diagram;exports.measure=e.measure;exports.rule=e.aether;exports.synnax=e.provider;exports.telem=e.external;exports.tooltip=e.tooltip;exports.value=e.value;exports.lineplot=l;exports.pluto=T;exports.render=u;exports.theming=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./provider-DHDqgF1B.cjs"),e=require("./value-QHhF9WPA.cjs"),i=require("./css-BVgFAmaj.cjs"),r=require("./eraser-Cbfc1frM.cjs");require("react");require("./types-8-Mr79SF.cjs");const s=require("./fontString-62eEvw4b.cjs"),E=Object.freeze(Object.defineProperty({__proto__:null,Provider:t.Provider,REGISTRY:t.REGISTRY,SYNNAX_DARK:t.SYNNAX_DARK,SYNNAX_LIGHT:t.SYNNAX_LIGHT,SYNNAX_THEMES:t.SYNNAX_THEMES,fontSpecZ:t.fontSpecZ,fontString:s.fontString,themeZ:t.themeZ,use:t.use},Symbol.toStringTag,{value:"Module"})),l=Object.freeze(Object.defineProperty({__proto__:null,Context:r.Context,GLProgram:r.GLProgram,Loop:r.Loop,control:e.control,request:e.request,useOptionalRequestor:e.useOptionalRequestor,useRequestor:e.useRequestor},Symbol.toStringTag,{value:"Module"})),u=Object.freeze(Object.defineProperty({__proto__:null,BoundQuerier:e.BoundQuerier,LinePlot:e.LinePlot,REGISTRY:e.REGISTRY,XAxis:e.XAxis,YAxis:e.YAxis,boundQuerierStateZ:e.boundQuerierStateZ,linePlotStateZ:e.linePlotStateZ,xAxisStateZ:e.xAxisStateZ,yAxisStateZ:e.yAxisStateZ},Symbol.toStringTag,{value:"Module"})),T={[e.FLUX_STORE_KEY$2]:e.FLUX_STORE_CONFIG$2,[e.RELATIONSHIPS_FLUX_STORE_KEY]:e.RELATIONSHIP_FLUX_STORE_CONFIG,[e.RESOURCES_FLUX_STORE_KEY]:e.RESOURCE_FLUX_STORE_CONFIG,[e.FLUX_STORE_KEY$1]:e.FLUX_STORE_CONFIG$1,[e.FLUX_STORE_KEY]:e.FLUX_STORE_CONFIG},a=()=>{const o=new i.ln((S,n)=>postMessage(S,n));onmessage=o.handle.bind(o);const R={...r.REGISTRY$1,...e.REGISTRY$19,...e.REGISTRY$18,...e.REGISTRY$17,...e.REGISTRY$16,...r.REGISTRY,...e.REGISTRY$15,...e.REGISTRY$14,...e.REGISTRY$13,...e.REGISTRY,...e.REGISTRY$12,...e.REGISTRY$11,...e.REGISTRY$10,...e.REGISTRY$9,...t.REGISTRY$1,...e.REGISTRY$8,...e.REGISTRY$7,...t.REGISTRY,...e.REGISTRY$6,...e.REGISTRY$5,...e.REGISTRY$4,...e.REGISTRY$3,...e.REGISTRY$2,...e.REGISTRY$1,...e.createRegistry({storeConfig:T})};t.render({comms:o.route("vis"),registry:R,instrumentation:new t.O({logger:new t._({filters:[t.be("info")]})})})},_=Object.freeze(Object.defineProperty({__proto__:null,render:a},Symbol.toStringTag,{value:"Module"}));exports.aether=t.aether;exports.canvas=e.canvas;exports.diagram=e.Diagram;exports.measure=e.measure;exports.rule=e.aether;exports.synnax=e.provider;exports.telem=e.external;exports.tooltip=e.tooltip;exports.value=e.value;exports.lineplot=u;exports.pluto=_;exports.render=l;exports.theming=E;
package/dist/ether.js CHANGED
@@ -1,100 +1,102 @@
1
- import { P as R, R as a, S, a as n, b as E, f as i, t as T, u as l, d as _, c as I, r as G, O as Y, _ as m, e as u } from "./provider-C8In649C.js";
2
- import { g as ge } from "./provider-C8In649C.js";
3
- import { c as $, r as p, u as O, a as c, B as f, L as g, R as s, X as d, Y as b, b as L, l as x, x as y, y as N, d as P, e as A, f as F, g as X, h as j, i as v, j as C, k as U, m as M, n as h, o as Z, p as w, q as z, s as H, t as K, v as q, w as Q, z as k, A as B, C as D, D as J, E as V, F as W, G as ee, H as ae, I as se } from "./value-ChGMEPP3.js";
4
- import { N as be, O as Le, P as xe, Q as ye, K as Ne, M as Pe, J as Ae, S as Fe } from "./value-ChGMEPP3.js";
5
- import "./css-D6ZBcSwh.js";
6
- import { C as te, G as oe, L as re, R as Re, a as Se } from "./eraser-DvzR9kLf.js";
1
+ import { P as R, R as a, S, a as n, b as E, f as T, t as _, u as i, c as l, r as I, O as G, _ as Y, d as O } from "./provider-ClhgBr_F.js";
2
+ import { e as Fe } from "./provider-ClhgBr_F.js";
3
+ import { c as $, r as m, u, a as p, B as c, L as f, R as s, X as g, Y as d, b as L, l as b, x as F, y as N, d as X, e as x, f as y, g as P, h as U, i as C, j as A, k as j, m as v, n as K, o as M, p as h, q as Z, s as w, t as z, v as H, w as q, z as Q, A as k, C as B, F as D, D as J, E as V, G as W, H as ee, I as ae, J as se, K as te, M as oe, N as re } from "./value-CzFrd9p6.js";
4
+ import { S as Xe, T as xe, U as ye, V as Pe, P as Ue, Q as Ce, O as Ae, W as je } from "./value-CzFrd9p6.js";
5
+ import { l as Re } from "./css-bahPRiQI.js";
6
+ import { C as Se, G as ne, L as Ee, R as Te, a as _e } from "./eraser-Dz6nZuPp.js";
7
7
  import "react";
8
- import "./types-BNX_Jj6k.js";
9
- import { f as ne } from "./fontString-CGd4NYXa.js";
10
- const ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8
+ import "./types-DGaZ_JZb.js";
9
+ import { f as ie } from "./fontString-qfWSw62X.js";
10
+ const ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11
11
  __proto__: null,
12
12
  Provider: R,
13
13
  REGISTRY: a,
14
14
  SYNNAX_DARK: S,
15
15
  SYNNAX_LIGHT: n,
16
16
  SYNNAX_THEMES: E,
17
- fontSpecZ: i,
18
- fontString: ne,
19
- themeZ: T,
20
- use: l
21
- }, Symbol.toStringTag, { value: "Module" })), $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17
+ fontSpecZ: T,
18
+ fontString: ie,
19
+ themeZ: _,
20
+ use: i
21
+ }, Symbol.toStringTag, { value: "Module" })), fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22
22
  __proto__: null,
23
- Context: te,
24
- GLProgram: oe,
25
- Loop: re,
23
+ Context: Se,
24
+ GLProgram: ne,
25
+ Loop: Ee,
26
26
  control: $,
27
- request: p,
28
- useOptionalRequestor: O,
29
- useRequestor: c
30
- }, Symbol.toStringTag, { value: "Module" })), pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27
+ request: m,
28
+ useOptionalRequestor: u,
29
+ useRequestor: p
30
+ }, Symbol.toStringTag, { value: "Module" })), ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31
31
  __proto__: null,
32
- BoundQuerier: f,
33
- LinePlot: g,
32
+ BoundQuerier: c,
33
+ LinePlot: f,
34
34
  REGISTRY: s,
35
- XAxis: d,
36
- YAxis: b,
35
+ XAxis: g,
36
+ YAxis: d,
37
37
  boundQuerierStateZ: L,
38
- linePlotStateZ: x,
39
- xAxisStateZ: y,
38
+ linePlotStateZ: b,
39
+ xAxisStateZ: F,
40
40
  yAxisStateZ: N
41
- }, Symbol.toStringTag, { value: "Module" })), Ee = {
42
- [se]: W,
43
- [ae]: V,
44
- [ee]: J
45
- }, ie = () => {
46
- const e = new _((o, r) => postMessage(o, r));
41
+ }, Symbol.toStringTag, { value: "Module" })), le = {
42
+ [re]: ee,
43
+ [oe]: W,
44
+ [te]: V,
45
+ [se]: J,
46
+ [ae]: D
47
+ }, Ie = () => {
48
+ const e = new Re((o, r) => postMessage(o, r));
47
49
  onmessage = e.handle.bind(e);
48
50
  const t = {
49
- ...Se,
50
- ...B,
51
+ ..._e,
51
52
  ...k,
52
53
  ...Q,
53
54
  ...q,
54
- ...Re,
55
- ...K,
56
55
  ...H,
56
+ ...Te,
57
57
  ...z,
58
- ...s,
59
58
  ...w,
60
59
  ...Z,
60
+ ...s,
61
61
  ...h,
62
62
  ...M,
63
- ...I,
64
- ...U,
65
- ...C,
66
- ...a,
63
+ ...K,
67
64
  ...v,
65
+ ...l,
68
66
  ...j,
69
- ...X,
70
- ...F,
71
67
  ...A,
68
+ ...a,
69
+ ...C,
70
+ ...U,
72
71
  ...P,
73
- ...D({ storeConfig: Ee })
72
+ ...y,
73
+ ...x,
74
+ ...X,
75
+ ...B({ storeConfig: le })
74
76
  };
75
- G({
77
+ I({
76
78
  comms: e.route("vis"),
77
79
  registry: t,
78
- instrumentation: new Y({
79
- logger: new m({ filters: [u("info")] })
80
+ instrumentation: new G({
81
+ logger: new Y({ filters: [O("info")] })
80
82
  })
81
83
  });
82
- }, Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
84
+ }, de = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
83
85
  __proto__: null,
84
- render: ie
86
+ render: Ie
85
87
  }, Symbol.toStringTag, { value: "Module" }));
86
88
  export {
87
- ge as aether,
88
- be as canvas,
89
- Le as diagram,
90
- pe as lineplot,
91
- xe as measure,
92
- Oe as pluto,
93
- $e as render,
94
- ye as rule,
95
- Ne as synnax,
96
- Pe as telem,
97
- ue as theming,
89
+ Fe as aether,
90
+ Xe as canvas,
91
+ xe as diagram,
92
+ ge as lineplot,
93
+ ye as measure,
94
+ de as pluto,
95
+ fe as render,
96
+ Pe as rule,
97
+ Ue as synnax,
98
+ Ce as telem,
99
+ ce as theming,
98
100
  Ae as tooltip,
99
- Fe as value
101
+ je as value
100
102
  };
@@ -1 +1 @@
1
- "use strict";var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var n=e.default;if(typeof n=="function"){var t=function o(){var r=!1;try{r=this instanceof o}catch{}return r?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),t}exports.commonjsGlobal=u;exports.getAugmentedNamespace=l;exports.getDefaultExportFromCjs=f;
1
+ "use strict";var a=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function u(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function s(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var n=e.default;if(typeof n=="function"){var t=function o(){var r=!1;try{r=this instanceof o}catch{}return r?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),t}const f=e=>e.preventDefault(),l=e=>e.stopPropagation();exports.commonjsGlobal=a;exports.getAugmentedNamespace=s;exports.getDefaultExportFromCjs=u;exports.preventDefault=f;exports.stopPropagation=l;
@@ -1,33 +1,36 @@
1
- var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function a(e) {
1
+ var a = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function s(e) {
3
3
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
4
  }
5
- function f(e) {
5
+ function u(e) {
6
6
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
7
7
  var n = e.default;
8
8
  if (typeof n == "function") {
9
- var t = function r() {
10
- var o = !1;
9
+ var t = function o() {
10
+ var r = !1;
11
11
  try {
12
- o = this instanceof r;
12
+ r = this instanceof o;
13
13
  } catch {
14
14
  }
15
- return o ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
15
+ return r ? Reflect.construct(n, arguments, this.constructor) : n.apply(this, arguments);
16
16
  };
17
17
  t.prototype = n.prototype;
18
18
  } else t = {};
19
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
20
- var o = Object.getOwnPropertyDescriptor(e, r);
21
- Object.defineProperty(t, r, o.get ? o : {
19
+ return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
20
+ var r = Object.getOwnPropertyDescriptor(e, o);
21
+ Object.defineProperty(t, o, r.get ? r : {
22
22
  enumerable: !0,
23
23
  get: function() {
24
- return e[r];
24
+ return e[o];
25
25
  }
26
26
  });
27
27
  }), t;
28
28
  }
29
+ const f = (e) => e.preventDefault(), l = (e) => e.stopPropagation();
29
30
  export {
30
- f as a,
31
- u as c,
32
- a as g
31
+ u as a,
32
+ a as c,
33
+ s as g,
34
+ f as p,
35
+ l as s
33
36
  };