react-cheminfo 0.11.0 → 0.12.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 (2175) hide show
  1. package/README.md +25 -22
  2. package/bin/check-deploy.mjs +132 -0
  3. package/bin/check-tokens.mjs +16 -29
  4. package/bin/cli.mjs +43 -0
  5. package/lib/about/core/about.d.ts +27 -0
  6. package/lib/about/core/about.d.ts.map +1 -1
  7. package/lib/about/core/about.js +3 -0
  8. package/lib/about/core/about.js.map +1 -1
  9. package/lib/about/core/index.d.ts +3 -1
  10. package/lib/about/core/index.d.ts.map +1 -1
  11. package/lib/about/core/index.js +1 -0
  12. package/lib/about/core/index.js.map +1 -1
  13. package/lib/about/core/providers.d.ts +31 -0
  14. package/lib/about/core/providers.d.ts.map +1 -0
  15. package/lib/about/core/providers.js +28 -0
  16. package/lib/about/core/providers.js.map +1 -0
  17. package/lib/about/ui/AboutCitations.d.ts +4 -2
  18. package/lib/about/ui/AboutCitations.d.ts.map +1 -1
  19. package/lib/about/ui/AboutCitations.js +6 -20
  20. package/lib/about/ui/AboutCitations.js.map +1 -1
  21. package/lib/about/ui/AboutPage.d.ts +11 -3
  22. package/lib/about/ui/AboutPage.d.ts.map +1 -1
  23. package/lib/about/ui/AboutPage.js +15 -5
  24. package/lib/about/ui/AboutPage.js.map +1 -1
  25. package/lib/about/ui/AboutProvidedBy.d.ts +18 -0
  26. package/lib/about/ui/AboutProvidedBy.d.ts.map +1 -0
  27. package/lib/about/ui/AboutProvidedBy.js +81 -0
  28. package/lib/about/ui/AboutProvidedBy.js.map +1 -0
  29. package/lib/about/ui/index.d.ts +2 -0
  30. package/lib/about/ui/index.d.ts.map +1 -1
  31. package/lib/about/ui/index.js +1 -0
  32. package/lib/about/ui/index.js.map +1 -1
  33. package/lib/capsule/ui/CapsuleFilter.d.ts +48 -8
  34. package/lib/capsule/ui/CapsuleFilter.d.ts.map +1 -1
  35. package/lib/capsule/ui/CapsuleFilter.js +43 -12
  36. package/lib/capsule/ui/CapsuleFilter.js.map +1 -1
  37. package/lib/capsule/ui/index.d.ts +1 -1
  38. package/lib/capsule/ui/index.d.ts.map +1 -1
  39. package/lib/capsule/ui/index.js.map +1 -1
  40. package/lib/chart/core/chartAxisPair.d.ts +33 -0
  41. package/lib/chart/core/chartAxisPair.d.ts.map +1 -0
  42. package/lib/chart/core/chartAxisPair.js +35 -0
  43. package/lib/chart/core/chartAxisPair.js.map +1 -0
  44. package/lib/chart/core/chartAxisScale.d.ts.map +1 -1
  45. package/lib/chart/core/chartAxisScale.js +4 -9
  46. package/lib/chart/core/chartAxisScale.js.map +1 -1
  47. package/lib/chart/core/chartBins.d.ts.map +1 -1
  48. package/lib/chart/core/chartBins.js +2 -9
  49. package/lib/chart/core/chartBins.js.map +1 -1
  50. package/lib/chart/core/chartGroups.d.ts +16 -0
  51. package/lib/chart/core/chartGroups.d.ts.map +1 -0
  52. package/lib/chart/core/chartGroups.js +22 -0
  53. package/lib/chart/core/chartGroups.js.map +1 -0
  54. package/lib/chart/core/chartLabels.d.ts.map +1 -1
  55. package/lib/chart/core/chartLabels.js +3 -8
  56. package/lib/chart/core/chartLabels.js.map +1 -1
  57. package/lib/chart/core/chartPalette.d.ts +2 -2
  58. package/lib/chart/core/chartPalette.d.ts.map +1 -1
  59. package/lib/chart/core/chartPalette.js +4 -4
  60. package/lib/chart/core/chartPalette.js.map +1 -1
  61. package/lib/chart/core/chartScale.d.ts +12 -0
  62. package/lib/chart/core/chartScale.d.ts.map +1 -1
  63. package/lib/chart/core/chartScale.js +15 -0
  64. package/lib/chart/core/chartScale.js.map +1 -1
  65. package/lib/chart/core/matrix.d.ts +9 -0
  66. package/lib/chart/core/matrix.d.ts.map +1 -1
  67. package/lib/chart/core/matrix.js +23 -0
  68. package/lib/chart/core/matrix.js.map +1 -1
  69. package/lib/chart/ui/ChartAxis.js +3 -3
  70. package/lib/chart/ui/ChartAxis.js.map +1 -1
  71. package/lib/chart/ui/ChartFrame.d.ts +12 -0
  72. package/lib/chart/ui/ChartFrame.d.ts.map +1 -1
  73. package/lib/chart/ui/ChartFrame.js +9 -26
  74. package/lib/chart/ui/ChartFrame.js.map +1 -1
  75. package/lib/chart/ui/ChartSeriesMarks.d.ts.map +1 -1
  76. package/lib/chart/ui/ChartSeriesMarks.js +6 -6
  77. package/lib/chart/ui/ChartSeriesMarks.js.map +1 -1
  78. package/lib/chart/ui/ChartTrackingLayer.d.ts.map +1 -1
  79. package/lib/chart/ui/ChartTrackingLayer.js +2 -2
  80. package/lib/chart/ui/ChartTrackingLayer.js.map +1 -1
  81. package/lib/chart/ui/TrackedLineChart.d.ts +6 -1
  82. package/lib/chart/ui/TrackedLineChart.d.ts.map +1 -1
  83. package/lib/chart/ui/TrackedLineChart.js +2 -2
  84. package/lib/chart/ui/TrackedLineChart.js.map +1 -1
  85. package/lib/chart/ui/TrackedStickChart.d.ts +5 -1
  86. package/lib/chart/ui/TrackedStickChart.d.ts.map +1 -1
  87. package/lib/chart/ui/TrackedStickChart.js +2 -2
  88. package/lib/chart/ui/TrackedStickChart.js.map +1 -1
  89. package/lib/chart/ui/chartFrameGeometry.d.ts +19 -0
  90. package/lib/chart/ui/chartFrameGeometry.d.ts.map +1 -0
  91. package/lib/chart/ui/chartFrameGeometry.js +41 -0
  92. package/lib/chart/ui/chartFrameGeometry.js.map +1 -0
  93. package/lib/chart/ui/index.d.ts +3 -1
  94. package/lib/chart/ui/index.d.ts.map +1 -1
  95. package/lib/chart/ui/index.js +1 -0
  96. package/lib/chart/ui/index.js.map +1 -1
  97. package/lib/chart/ui/stickChartModel.d.ts +3 -12
  98. package/lib/chart/ui/stickChartModel.d.ts.map +1 -1
  99. package/lib/chart/ui/stickChartModel.js +19 -21
  100. package/lib/chart/ui/stickChartModel.js.map +1 -1
  101. package/lib/chart/ui/useWheelZoom.d.ts +2 -1
  102. package/lib/chart/ui/useWheelZoom.d.ts.map +1 -1
  103. package/lib/chart/ui/useWheelZoom.js +26 -45
  104. package/lib/chart/ui/useWheelZoom.js.map +1 -1
  105. package/lib/chart/ui/wheelDwell.d.ts +77 -0
  106. package/lib/chart/ui/wheelDwell.d.ts.map +1 -0
  107. package/lib/chart/ui/wheelDwell.js +85 -0
  108. package/lib/chart/ui/wheelDwell.js.map +1 -0
  109. package/lib/chrome/ui/NavLink.d.ts.map +1 -1
  110. package/lib/chrome/ui/NavLink.js +5 -2
  111. package/lib/chrome/ui/NavLink.js.map +1 -1
  112. package/lib/chrome/ui/NavMenuButton.d.ts +6 -0
  113. package/lib/chrome/ui/NavMenuButton.d.ts.map +1 -1
  114. package/lib/chrome/ui/NavMenuButton.js +10 -3
  115. package/lib/chrome/ui/NavMenuButton.js.map +1 -1
  116. package/lib/chrome/ui/SiteHeader.d.ts +10 -0
  117. package/lib/chrome/ui/SiteHeader.d.ts.map +1 -1
  118. package/lib/chrome/ui/SiteHeader.js +7 -2
  119. package/lib/chrome/ui/SiteHeader.js.map +1 -1
  120. package/lib/chrome/ui/navItem.d.ts +5 -3
  121. package/lib/chrome/ui/navItem.d.ts.map +1 -1
  122. package/lib/chrome/ui/navItem.js.map +1 -1
  123. package/lib/citation/core/index.d.ts +1 -0
  124. package/lib/citation/core/index.d.ts.map +1 -1
  125. package/lib/citation/core/index.js +1 -0
  126. package/lib/citation/core/index.js.map +1 -1
  127. package/lib/citation/core/openchemlibPaper.d.ts +10 -0
  128. package/lib/citation/core/openchemlibPaper.d.ts.map +1 -0
  129. package/lib/citation/core/openchemlibPaper.js +29 -0
  130. package/lib/citation/core/openchemlibPaper.js.map +1 -0
  131. package/lib/citation/core/platformPaper.d.ts +2 -2
  132. package/lib/citation/core/platformPaper.js +2 -2
  133. package/lib/clipboard/core/clipboardItem.d.ts +13 -0
  134. package/lib/clipboard/core/clipboardItem.d.ts.map +1 -0
  135. package/lib/clipboard/core/clipboardItem.js +26 -0
  136. package/lib/clipboard/core/clipboardItem.js.map +1 -0
  137. package/lib/clipboard/core/index.d.ts +3 -0
  138. package/lib/clipboard/core/index.d.ts.map +1 -1
  139. package/lib/clipboard/core/index.js +1 -0
  140. package/lib/clipboard/core/index.js.map +1 -1
  141. package/lib/clipboard/core/writeBlobToClipboard.d.ts +23 -0
  142. package/lib/clipboard/core/writeBlobToClipboard.d.ts.map +1 -0
  143. package/lib/clipboard/core/writeBlobToClipboard.js +29 -0
  144. package/lib/clipboard/core/writeBlobToClipboard.js.map +1 -0
  145. package/lib/clipboard/core/writeToClipboard.d.ts +22 -7
  146. package/lib/clipboard/core/writeToClipboard.d.ts.map +1 -1
  147. package/lib/clipboard/core/writeToClipboard.js +20 -7
  148. package/lib/clipboard/core/writeToClipboard.js.map +1 -1
  149. package/lib/clipboard/ui/CodeBlock.d.ts +1 -0
  150. package/lib/clipboard/ui/CodeBlock.d.ts.map +1 -1
  151. package/lib/clipboard/ui/CodeBlock.js +5 -11
  152. package/lib/clipboard/ui/CodeBlock.js.map +1 -1
  153. package/lib/clipboard/ui/CopyButton.d.ts +8 -1
  154. package/lib/clipboard/ui/CopyButton.d.ts.map +1 -1
  155. package/lib/clipboard/ui/CopyButton.js +31 -8
  156. package/lib/clipboard/ui/CopyButton.js.map +1 -1
  157. package/lib/clipboard/ui/CopyableValue.d.ts +51 -0
  158. package/lib/clipboard/ui/CopyableValue.d.ts.map +1 -0
  159. package/lib/clipboard/ui/CopyableValue.js +51 -0
  160. package/lib/clipboard/ui/CopyableValue.js.map +1 -0
  161. package/lib/clipboard/ui/copyFeedback.d.ts +38 -0
  162. package/lib/clipboard/ui/copyFeedback.d.ts.map +1 -0
  163. package/lib/clipboard/ui/copyFeedback.js +40 -0
  164. package/lib/clipboard/ui/copyFeedback.js.map +1 -0
  165. package/lib/clipboard/ui/index.d.ts +3 -1
  166. package/lib/clipboard/ui/index.d.ts.map +1 -1
  167. package/lib/clipboard/ui/index.js +1 -0
  168. package/lib/clipboard/ui/index.js.map +1 -1
  169. package/lib/clipboard/ui/useCopyToClipboard.d.ts +23 -7
  170. package/lib/clipboard/ui/useCopyToClipboard.d.ts.map +1 -1
  171. package/lib/clipboard/ui/useCopyToClipboard.js +33 -20
  172. package/lib/clipboard/ui/useCopyToClipboard.js.map +1 -1
  173. package/lib/color/core/hex.d.ts +10 -0
  174. package/lib/color/core/hex.d.ts.map +1 -1
  175. package/lib/color/core/hex.js +19 -3
  176. package/lib/color/core/hex.js.map +1 -1
  177. package/lib/color/core/hsv.d.ts.map +1 -1
  178. package/lib/color/core/hsv.js +4 -10
  179. package/lib/color/core/hsv.js.map +1 -1
  180. package/lib/color/core/index.d.ts +2 -2
  181. package/lib/color/core/index.d.ts.map +1 -1
  182. package/lib/color/core/index.js +2 -2
  183. package/lib/color/core/index.js.map +1 -1
  184. package/lib/color/core/interpolate.d.ts.map +1 -1
  185. package/lib/color/core/interpolate.js +2 -6
  186. package/lib/color/core/interpolate.js.map +1 -1
  187. package/lib/color/core/scale.d.ts +0 -28
  188. package/lib/color/core/scale.d.ts.map +1 -1
  189. package/lib/color/core/scale.js +3 -38
  190. package/lib/color/core/scale.js.map +1 -1
  191. package/lib/color/core/scaleText.d.ts.map +1 -1
  192. package/lib/color/core/scaleText.js +4 -5
  193. package/lib/color/core/scaleText.js.map +1 -1
  194. package/lib/color/ui/ColorScaleBar.d.ts +5 -0
  195. package/lib/color/ui/ColorScaleBar.d.ts.map +1 -1
  196. package/lib/color/ui/ColorScaleBar.js +2 -2
  197. package/lib/color/ui/ColorScaleBar.js.map +1 -1
  198. package/lib/color/ui/ColorScaleEditor.d.ts +5 -0
  199. package/lib/color/ui/ColorScaleEditor.d.ts.map +1 -1
  200. package/lib/color/ui/ColorScaleEditor.js +9 -13
  201. package/lib/color/ui/ColorScaleEditor.js.map +1 -1
  202. package/lib/color/ui/ColorScaleEntry.d.ts +28 -0
  203. package/lib/color/ui/ColorScaleEntry.d.ts.map +1 -0
  204. package/lib/color/ui/ColorScaleEntry.js +28 -0
  205. package/lib/color/ui/ColorScaleEntry.js.map +1 -0
  206. package/lib/color/ui/ColorScaleLegend.d.ts +14 -3
  207. package/lib/color/ui/ColorScaleLegend.d.ts.map +1 -1
  208. package/lib/color/ui/ColorScaleLegend.js +46 -16
  209. package/lib/color/ui/ColorScaleLegend.js.map +1 -1
  210. package/lib/color/ui/ColorScaleSelect.d.ts +5 -0
  211. package/lib/color/ui/ColorScaleSelect.d.ts.map +1 -1
  212. package/lib/color/ui/ColorScaleSelect.js +7 -36
  213. package/lib/color/ui/ColorScaleSelect.js.map +1 -1
  214. package/lib/confirm/ui/ConfirmButton.d.ts +34 -0
  215. package/lib/confirm/ui/ConfirmButton.d.ts.map +1 -0
  216. package/lib/confirm/ui/ConfirmButton.js +32 -0
  217. package/lib/confirm/ui/ConfirmButton.js.map +1 -0
  218. package/lib/confirm/ui/index.d.ts +3 -0
  219. package/lib/confirm/ui/index.d.ts.map +1 -0
  220. package/lib/confirm/ui/index.js +2 -0
  221. package/lib/confirm/ui/index.js.map +1 -0
  222. package/lib/core.d.ts +3 -1
  223. package/lib/core.d.ts.map +1 -1
  224. package/lib/core.js +5 -1
  225. package/lib/core.js.map +1 -1
  226. package/lib/credits/core/credits.d.ts +8 -3
  227. package/lib/credits/core/credits.d.ts.map +1 -1
  228. package/lib/credits/core/credits.js +9 -3
  229. package/lib/credits/core/credits.js.map +1 -1
  230. package/lib/credits/ui/CreditsList.d.ts.map +1 -1
  231. package/lib/credits/ui/CreditsList.js +4 -2
  232. package/lib/credits/ui/CreditsList.js.map +1 -1
  233. package/lib/delimited/core/index.d.ts +2 -4
  234. package/lib/delimited/core/index.d.ts.map +1 -1
  235. package/lib/delimited/core/index.js +2 -3
  236. package/lib/delimited/core/index.js.map +1 -1
  237. package/lib/delimited/ui/DelimitedTextDialog.d.ts.map +1 -1
  238. package/lib/delimited/ui/DelimitedTextDialog.js +2 -2
  239. package/lib/delimited/ui/DelimitedTextDialog.js.map +1 -1
  240. package/lib/delimited/ui/DelimitedTextPanel.d.ts +5 -0
  241. package/lib/delimited/ui/DelimitedTextPanel.d.ts.map +1 -1
  242. package/lib/delimited/ui/DelimitedTextPanel.js +10 -6
  243. package/lib/delimited/ui/DelimitedTextPanel.js.map +1 -1
  244. package/lib/deploy/core/checkDeploy.d.ts +20 -0
  245. package/lib/deploy/core/checkDeploy.d.ts.map +1 -0
  246. package/lib/deploy/core/checkDeploy.js +74 -0
  247. package/lib/deploy/core/checkDeploy.js.map +1 -0
  248. package/lib/deploy/core/composeDocument.d.ts +40 -0
  249. package/lib/deploy/core/composeDocument.d.ts.map +1 -0
  250. package/lib/deploy/core/composeDocument.js +125 -0
  251. package/lib/deploy/core/composeDocument.js.map +1 -0
  252. package/lib/deploy/core/composeFile.d.ts +25 -0
  253. package/lib/deploy/core/composeFile.d.ts.map +1 -0
  254. package/lib/deploy/core/composeFile.js +138 -0
  255. package/lib/deploy/core/composeFile.js.map +1 -0
  256. package/lib/deploy/core/envExample.d.ts +10 -0
  257. package/lib/deploy/core/envExample.d.ts.map +1 -0
  258. package/lib/deploy/core/envExample.js +36 -0
  259. package/lib/deploy/core/envExample.js.map +1 -0
  260. package/lib/deploy/core/index.d.ts +4 -0
  261. package/lib/deploy/core/index.d.ts.map +1 -0
  262. package/lib/deploy/core/index.js +3 -0
  263. package/lib/deploy/core/index.js.map +1 -0
  264. package/lib/deploy/core/markers.d.ts +10 -0
  265. package/lib/deploy/core/markers.d.ts.map +1 -0
  266. package/lib/deploy/core/markers.js +21 -0
  267. package/lib/deploy/core/markers.js.map +1 -0
  268. package/lib/deploy/core/types.d.ts +70 -0
  269. package/lib/deploy/core/types.d.ts.map +1 -0
  270. package/lib/deploy/core/types.js +10 -0
  271. package/lib/deploy/core/types.js.map +1 -0
  272. package/lib/disclosure/ui/CollapsibleSection.d.ts.map +1 -1
  273. package/lib/disclosure/ui/CollapsibleSection.js +2 -3
  274. package/lib/disclosure/ui/CollapsibleSection.js.map +1 -1
  275. package/lib/download/ui/FigureDownloadPanel.d.ts +6 -0
  276. package/lib/download/ui/FigureDownloadPanel.d.ts.map +1 -1
  277. package/lib/download/ui/FigureDownloadPanel.js +8 -4
  278. package/lib/download/ui/FigureDownloadPanel.js.map +1 -1
  279. package/lib/ecosystem/core/groups.d.ts +30 -0
  280. package/lib/ecosystem/core/groups.d.ts.map +1 -0
  281. package/lib/ecosystem/core/groups.js +42 -0
  282. package/lib/ecosystem/core/groups.js.map +1 -0
  283. package/lib/ecosystem/core/index.d.ts +7 -3
  284. package/lib/ecosystem/core/index.d.ts.map +1 -1
  285. package/lib/ecosystem/core/index.js +4 -3
  286. package/lib/ecosystem/core/index.js.map +1 -1
  287. package/lib/ecosystem/core/lookup.d.ts +21 -0
  288. package/lib/ecosystem/core/lookup.d.ts.map +1 -1
  289. package/lib/ecosystem/core/lookup.js +29 -0
  290. package/lib/ecosystem/core/lookup.js.map +1 -1
  291. package/lib/ecosystem/core/nameColors.d.ts +33 -0
  292. package/lib/ecosystem/core/nameColors.d.ts.map +1 -0
  293. package/lib/ecosystem/core/nameColors.js +23 -0
  294. package/lib/ecosystem/core/nameColors.js.map +1 -0
  295. package/lib/ecosystem/core/sites.d.ts +2 -47
  296. package/lib/ecosystem/core/sites.d.ts.map +1 -1
  297. package/lib/ecosystem/core/sites.js +34 -4
  298. package/lib/ecosystem/core/sites.js.map +1 -1
  299. package/lib/ecosystem/core/tokens.d.ts +0 -8
  300. package/lib/ecosystem/core/tokens.d.ts.map +1 -1
  301. package/lib/ecosystem/core/tokens.js +0 -10
  302. package/lib/ecosystem/core/tokens.js.map +1 -1
  303. package/lib/ecosystem/core/types.d.ts +71 -0
  304. package/lib/ecosystem/core/types.d.ts.map +1 -0
  305. package/lib/ecosystem/core/types.js +2 -0
  306. package/lib/ecosystem/core/types.js.map +1 -0
  307. package/lib/ecosystem/ui/EcosystemButton.d.ts +6 -0
  308. package/lib/ecosystem/ui/EcosystemButton.d.ts.map +1 -1
  309. package/lib/ecosystem/ui/EcosystemButton.js +3 -2
  310. package/lib/ecosystem/ui/EcosystemButton.js.map +1 -1
  311. package/lib/ecosystem/ui/EcosystemLinks.d.ts +12 -6
  312. package/lib/ecosystem/ui/EcosystemLinks.d.ts.map +1 -1
  313. package/lib/ecosystem/ui/EcosystemLinks.js +27 -21
  314. package/lib/ecosystem/ui/EcosystemLinks.js.map +1 -1
  315. package/lib/ecosystem/ui/EcosystemMenu.d.ts +15 -5
  316. package/lib/ecosystem/ui/EcosystemMenu.d.ts.map +1 -1
  317. package/lib/ecosystem/ui/EcosystemMenu.js +19 -24
  318. package/lib/ecosystem/ui/EcosystemMenu.js.map +1 -1
  319. package/lib/ecosystem/ui/SiteGroupGrid.d.ts +30 -0
  320. package/lib/ecosystem/ui/SiteGroupGrid.d.ts.map +1 -0
  321. package/lib/ecosystem/ui/SiteGroupGrid.js +23 -0
  322. package/lib/ecosystem/ui/SiteGroupGrid.js.map +1 -0
  323. package/lib/ecosystem/ui/SiteGroupSection.d.ts +20 -0
  324. package/lib/ecosystem/ui/SiteGroupSection.d.ts.map +1 -0
  325. package/lib/ecosystem/ui/SiteGroupSection.js +44 -0
  326. package/lib/ecosystem/ui/SiteGroupSection.js.map +1 -0
  327. package/lib/ecosystem/ui/SiteTheme.d.ts +1 -0
  328. package/lib/ecosystem/ui/SiteTheme.d.ts.map +1 -1
  329. package/lib/ecosystem/ui/SiteTheme.js.map +1 -1
  330. package/lib/ecosystem/ui/SiteTile.d.ts +6 -0
  331. package/lib/ecosystem/ui/SiteTile.d.ts.map +1 -1
  332. package/lib/ecosystem/ui/SiteTile.js +14 -8
  333. package/lib/ecosystem/ui/SiteTile.js.map +1 -1
  334. package/lib/ecosystem/ui/Wordmark.d.ts +1 -0
  335. package/lib/ecosystem/ui/Wordmark.d.ts.map +1 -1
  336. package/lib/ecosystem/ui/Wordmark.js +5 -5
  337. package/lib/ecosystem/ui/Wordmark.js.map +1 -1
  338. package/lib/ecosystem/ui/ecosystemStyles.d.ts +4 -0
  339. package/lib/ecosystem/ui/ecosystemStyles.d.ts.map +1 -0
  340. package/lib/ecosystem/ui/ecosystemStyles.js +9 -0
  341. package/lib/ecosystem/ui/ecosystemStyles.js.map +1 -0
  342. package/lib/ecosystem/ui/glyphs.d.ts.map +1 -1
  343. package/lib/ecosystem/ui/glyphs.js +7 -3
  344. package/lib/ecosystem/ui/glyphs.js.map +1 -1
  345. package/lib/ecosystem/ui/marks.d.ts +6 -0
  346. package/lib/ecosystem/ui/marks.d.ts.map +1 -1
  347. package/lib/ecosystem/ui/marks.js +2 -2
  348. package/lib/ecosystem/ui/marks.js.map +1 -1
  349. package/lib/error/core/index.d.ts +2 -0
  350. package/lib/error/core/index.d.ts.map +1 -0
  351. package/lib/error/core/index.js +2 -0
  352. package/lib/error/core/index.js.map +1 -0
  353. package/lib/error/core/toError.d.ts +18 -0
  354. package/lib/error/core/toError.d.ts.map +1 -0
  355. package/lib/error/{ui → core}/toError.js +12 -3
  356. package/lib/error/core/toError.js.map +1 -0
  357. package/lib/error/ui/ErrorBoundary.d.ts.map +1 -1
  358. package/lib/error/ui/ErrorBoundary.js +1 -1
  359. package/lib/error/ui/ErrorBoundary.js.map +1 -1
  360. package/lib/error/ui/index.d.ts +1 -1
  361. package/lib/error/ui/index.d.ts.map +1 -1
  362. package/lib/error/ui/index.js.map +1 -1
  363. package/lib/format/core/clamp.d.ts +15 -0
  364. package/lib/format/core/clamp.d.ts.map +1 -0
  365. package/lib/format/core/clamp.js +23 -0
  366. package/lib/format/core/clamp.js.map +1 -0
  367. package/lib/format/core/index.d.ts +8 -1
  368. package/lib/format/core/index.d.ts.map +1 -1
  369. package/lib/format/core/index.js +5 -1
  370. package/lib/format/core/index.js.map +1 -1
  371. package/lib/format/core/numbers.d.ts +25 -8
  372. package/lib/format/core/numbers.d.ts.map +1 -1
  373. package/lib/format/core/numbers.js +35 -13
  374. package/lib/format/core/numbers.js.map +1 -1
  375. package/lib/format/core/relativeTime.d.ts +29 -0
  376. package/lib/format/core/relativeTime.d.ts.map +1 -0
  377. package/lib/format/core/relativeTime.js +52 -0
  378. package/lib/format/core/relativeTime.js.map +1 -0
  379. package/lib/format/core/roundTo.d.ts +12 -0
  380. package/lib/format/core/roundTo.d.ts.map +1 -0
  381. package/lib/format/core/roundTo.js +25 -0
  382. package/lib/format/core/roundTo.js.map +1 -0
  383. package/lib/format/core/superscript.d.ts +12 -0
  384. package/lib/format/core/superscript.d.ts.map +1 -0
  385. package/lib/format/core/superscript.js +23 -0
  386. package/lib/format/core/superscript.js.map +1 -0
  387. package/lib/format/core/units.d.ts +22 -2
  388. package/lib/format/core/units.d.ts.map +1 -1
  389. package/lib/format/core/units.js +25 -6
  390. package/lib/format/core/units.js.map +1 -1
  391. package/lib/help/ui/HelpBody.d.ts +18 -7
  392. package/lib/help/ui/HelpBody.d.ts.map +1 -1
  393. package/lib/help/ui/HelpBody.js +24 -2
  394. package/lib/help/ui/HelpBody.js.map +1 -1
  395. package/lib/help/ui/HelpIcon.d.ts +16 -2
  396. package/lib/help/ui/HelpIcon.d.ts.map +1 -1
  397. package/lib/help/ui/HelpIcon.js +4 -2
  398. package/lib/help/ui/HelpIcon.js.map +1 -1
  399. package/lib/help/ui/HelpToolbarButton.d.ts.map +1 -1
  400. package/lib/help/ui/HelpToolbarButton.js +2 -1
  401. package/lib/help/ui/HelpToolbarButton.js.map +1 -1
  402. package/lib/help/ui/HelpTooltip.d.ts +5 -0
  403. package/lib/help/ui/HelpTooltip.d.ts.map +1 -1
  404. package/lib/help/ui/HelpTooltip.js +2 -2
  405. package/lib/help/ui/HelpTooltip.js.map +1 -1
  406. package/lib/help/ui/helpName.d.ts +9 -0
  407. package/lib/help/ui/helpName.d.ts.map +1 -0
  408. package/lib/help/ui/helpName.js +10 -0
  409. package/lib/help/ui/helpName.js.map +1 -0
  410. package/lib/hooks/ui/activationKey.d.ts +34 -0
  411. package/lib/hooks/ui/activationKey.d.ts.map +1 -0
  412. package/lib/hooks/ui/activationKey.js +39 -0
  413. package/lib/hooks/ui/activationKey.js.map +1 -0
  414. package/lib/hooks/ui/activeHeading.d.ts +21 -0
  415. package/lib/hooks/ui/activeHeading.d.ts.map +1 -0
  416. package/lib/hooks/ui/activeHeading.js +24 -0
  417. package/lib/hooks/ui/activeHeading.js.map +1 -0
  418. package/lib/hooks/ui/asyncState.d.ts +31 -0
  419. package/lib/hooks/ui/asyncState.d.ts.map +1 -0
  420. package/lib/hooks/ui/asyncState.js +28 -0
  421. package/lib/hooks/ui/asyncState.js.map +1 -0
  422. package/lib/hooks/ui/documentListNavigation.d.ts +54 -0
  423. package/lib/hooks/ui/documentListNavigation.d.ts.map +1 -0
  424. package/lib/hooks/ui/documentListNavigation.js +41 -0
  425. package/lib/hooks/ui/documentListNavigation.js.map +1 -0
  426. package/lib/hooks/ui/elementTarget.d.ts +14 -0
  427. package/lib/hooks/ui/elementTarget.d.ts.map +1 -0
  428. package/lib/hooks/ui/elementTarget.js +11 -0
  429. package/lib/hooks/ui/elementTarget.js.map +1 -0
  430. package/lib/hooks/ui/index.d.ts +15 -0
  431. package/lib/hooks/ui/index.d.ts.map +1 -1
  432. package/lib/hooks/ui/index.js +6 -0
  433. package/lib/hooks/ui/index.js.map +1 -1
  434. package/lib/hooks/ui/keyTargets.d.ts +17 -0
  435. package/lib/hooks/ui/keyTargets.d.ts.map +1 -0
  436. package/lib/hooks/ui/keyTargets.js +59 -0
  437. package/lib/hooks/ui/keyTargets.js.map +1 -0
  438. package/lib/hooks/ui/listNavigation.d.ts +2 -3
  439. package/lib/hooks/ui/listNavigation.d.ts.map +1 -1
  440. package/lib/hooks/ui/listNavigation.js +8 -13
  441. package/lib/hooks/ui/listNavigation.js.map +1 -1
  442. package/lib/hooks/ui/pollingController.d.ts +63 -0
  443. package/lib/hooks/ui/pollingController.d.ts.map +1 -0
  444. package/lib/hooks/ui/pollingController.js +86 -0
  445. package/lib/hooks/ui/pollingController.js.map +1 -0
  446. package/lib/hooks/ui/useActiveHeading.d.ts +29 -0
  447. package/lib/hooks/ui/useActiveHeading.d.ts.map +1 -0
  448. package/lib/hooks/ui/useActiveHeading.js +50 -0
  449. package/lib/hooks/ui/useActiveHeading.js.map +1 -0
  450. package/lib/hooks/ui/useAsync.d.ts +19 -0
  451. package/lib/hooks/ui/useAsync.d.ts.map +1 -0
  452. package/lib/hooks/ui/useAsync.js +36 -0
  453. package/lib/hooks/ui/useAsync.js.map +1 -0
  454. package/lib/hooks/ui/useDocumentListNavigation.d.ts +28 -0
  455. package/lib/hooks/ui/useDocumentListNavigation.d.ts.map +1 -0
  456. package/lib/hooks/ui/useDocumentListNavigation.js +53 -0
  457. package/lib/hooks/ui/useDocumentListNavigation.js.map +1 -0
  458. package/lib/hooks/ui/usePolling.d.ts +30 -0
  459. package/lib/hooks/ui/usePolling.d.ts.map +1 -0
  460. package/lib/hooks/ui/usePolling.js +52 -0
  461. package/lib/hooks/ui/usePolling.js.map +1 -0
  462. package/lib/hooks/ui/useResizeObserver.d.ts +5 -3
  463. package/lib/hooks/ui/useResizeObserver.d.ts.map +1 -1
  464. package/lib/hooks/ui/useResizeObserver.js +7 -4
  465. package/lib/hooks/ui/useResizeObserver.js.map +1 -1
  466. package/lib/molecule3d/core/exportImage.d.ts +29 -0
  467. package/lib/molecule3d/core/exportImage.d.ts.map +1 -0
  468. package/lib/molecule3d/core/exportImage.js +42 -0
  469. package/lib/molecule3d/core/exportImage.js.map +1 -0
  470. package/lib/molecule3d/core/gestures.d.ts +17 -0
  471. package/lib/molecule3d/core/gestures.d.ts.map +1 -0
  472. package/lib/molecule3d/core/gestures.js +23 -0
  473. package/lib/molecule3d/core/gestures.js.map +1 -0
  474. package/lib/molecule3d/core/index.d.ts +9 -0
  475. package/lib/molecule3d/core/index.d.ts.map +1 -0
  476. package/lib/molecule3d/core/index.js +5 -0
  477. package/lib/molecule3d/core/index.js.map +1 -0
  478. package/lib/molecule3d/core/measurement.d.ts +30 -0
  479. package/lib/molecule3d/core/measurement.d.ts.map +1 -0
  480. package/lib/molecule3d/core/measurement.js +24 -0
  481. package/lib/molecule3d/core/measurement.js.map +1 -0
  482. package/lib/molecule3d/core/settings.d.ts +120 -0
  483. package/lib/molecule3d/core/settings.d.ts.map +1 -0
  484. package/lib/molecule3d/core/settings.js +133 -0
  485. package/lib/molecule3d/core/settings.js.map +1 -0
  486. package/lib/molecule3d/ui/Molecule3DExport.d.ts +21 -0
  487. package/lib/molecule3d/ui/Molecule3DExport.d.ts.map +1 -0
  488. package/lib/molecule3d/ui/Molecule3DExport.js +32 -0
  489. package/lib/molecule3d/ui/Molecule3DExport.js.map +1 -0
  490. package/lib/molecule3d/ui/Molecule3DHelp.d.ts +11 -0
  491. package/lib/molecule3d/ui/Molecule3DHelp.d.ts.map +1 -0
  492. package/lib/molecule3d/ui/Molecule3DHelp.js +43 -0
  493. package/lib/molecule3d/ui/Molecule3DHelp.js.map +1 -0
  494. package/lib/molecule3d/ui/Molecule3DOptions.d.ts +21 -0
  495. package/lib/molecule3d/ui/Molecule3DOptions.d.ts.map +1 -0
  496. package/lib/molecule3d/ui/Molecule3DOptions.js +65 -0
  497. package/lib/molecule3d/ui/Molecule3DOptions.js.map +1 -0
  498. package/lib/molecule3d/ui/Molecule3DSurfaceColors.d.ts +21 -0
  499. package/lib/molecule3d/ui/Molecule3DSurfaceColors.d.ts.map +1 -0
  500. package/lib/molecule3d/ui/Molecule3DSurfaceColors.js +69 -0
  501. package/lib/molecule3d/ui/Molecule3DSurfaceColors.js.map +1 -0
  502. package/lib/molecule3d/ui/Molecule3DToolbar.d.ts +33 -0
  503. package/lib/molecule3d/ui/Molecule3DToolbar.d.ts.map +1 -0
  504. package/lib/molecule3d/ui/Molecule3DToolbar.js +57 -0
  505. package/lib/molecule3d/ui/Molecule3DToolbar.js.map +1 -0
  506. package/lib/molecule3d/ui/MoleculeCanvas3D.d.ts +20 -0
  507. package/lib/molecule3d/ui/MoleculeCanvas3D.d.ts.map +1 -0
  508. package/lib/molecule3d/ui/MoleculeCanvas3D.js +132 -0
  509. package/lib/molecule3d/ui/MoleculeCanvas3D.js.map +1 -0
  510. package/lib/molecule3d/ui/MoleculeViewer3D.d.ts +26 -0
  511. package/lib/molecule3d/ui/MoleculeViewer3D.d.ts.map +1 -0
  512. package/lib/molecule3d/ui/MoleculeViewer3D.js +56 -0
  513. package/lib/molecule3d/ui/MoleculeViewer3D.js.map +1 -0
  514. package/lib/molecule3d/ui/camera.d.ts +29 -0
  515. package/lib/molecule3d/ui/camera.d.ts.map +1 -0
  516. package/lib/molecule3d/ui/camera.js +58 -0
  517. package/lib/molecule3d/ui/camera.js.map +1 -0
  518. package/lib/molecule3d/ui/drawScene.d.ts +15 -0
  519. package/lib/molecule3d/ui/drawScene.d.ts.map +1 -0
  520. package/lib/molecule3d/ui/drawScene.js +34 -0
  521. package/lib/molecule3d/ui/drawScene.js.map +1 -0
  522. package/lib/molecule3d/ui/exportMoleculeImage.d.ts +21 -0
  523. package/lib/molecule3d/ui/exportMoleculeImage.d.ts.map +1 -0
  524. package/lib/molecule3d/ui/exportMoleculeImage.js +26 -0
  525. package/lib/molecule3d/ui/exportMoleculeImage.js.map +1 -0
  526. package/lib/molecule3d/ui/index.d.ts +11 -0
  527. package/lib/molecule3d/ui/index.d.ts.map +1 -0
  528. package/lib/molecule3d/ui/index.js +10 -0
  529. package/lib/molecule3d/ui/index.js.map +1 -0
  530. package/lib/molecule3d/ui/measurements.d.ts +46 -0
  531. package/lib/molecule3d/ui/measurements.d.ts.map +1 -0
  532. package/lib/molecule3d/ui/measurements.js +148 -0
  533. package/lib/molecule3d/ui/measurements.js.map +1 -0
  534. package/lib/molecule3d/ui/molecule3dIcons.d.ts +29 -0
  535. package/lib/molecule3d/ui/molecule3dIcons.d.ts.map +1 -0
  536. package/lib/molecule3d/ui/molecule3dIcons.js +47 -0
  537. package/lib/molecule3d/ui/molecule3dIcons.js.map +1 -0
  538. package/lib/molecule3d/ui/moleculeViewer3DProps.d.ts +93 -0
  539. package/lib/molecule3d/ui/moleculeViewer3DProps.d.ts.map +1 -0
  540. package/lib/molecule3d/ui/moleculeViewer3DProps.js +2 -0
  541. package/lib/molecule3d/ui/moleculeViewer3DProps.js.map +1 -0
  542. package/lib/molecule3d/ui/polarityColorTheme.d.ts +20 -0
  543. package/lib/molecule3d/ui/polarityColorTheme.d.ts.map +1 -0
  544. package/lib/molecule3d/ui/polarityColorTheme.js +105 -0
  545. package/lib/molecule3d/ui/polarityColorTheme.js.map +1 -0
  546. package/lib/molecule3d/ui/renderMolecule.d.ts +38 -0
  547. package/lib/molecule3d/ui/renderMolecule.d.ts.map +1 -0
  548. package/lib/molecule3d/ui/renderMolecule.js +135 -0
  549. package/lib/molecule3d/ui/renderMolecule.js.map +1 -0
  550. package/lib/molecule3d/ui/renderSurface.d.ts +22 -0
  551. package/lib/molecule3d/ui/renderSurface.d.ts.map +1 -0
  552. package/lib/molecule3d/ui/renderSurface.js +69 -0
  553. package/lib/molecule3d/ui/renderSurface.js.map +1 -0
  554. package/lib/molecule3d/ui/useControlledState.d.ts +11 -0
  555. package/lib/molecule3d/ui/useControlledState.d.ts.map +1 -0
  556. package/lib/molecule3d/ui/useControlledState.js +25 -0
  557. package/lib/molecule3d/ui/useControlledState.js.map +1 -0
  558. package/lib/molecule3d/ui/useImageExport.d.ts +20 -0
  559. package/lib/molecule3d/ui/useImageExport.d.ts.map +1 -0
  560. package/lib/molecule3d/ui/useImageExport.js +29 -0
  561. package/lib/molecule3d/ui/useImageExport.js.map +1 -0
  562. package/lib/molecule3d/ui/usePolarSurfaceArea.d.ts +11 -0
  563. package/lib/molecule3d/ui/usePolarSurfaceArea.d.ts.map +1 -0
  564. package/lib/molecule3d/ui/usePolarSurfaceArea.js +37 -0
  565. package/lib/molecule3d/ui/usePolarSurfaceArea.js.map +1 -0
  566. package/lib/molecule3d/ui/viewer.d.ts +99 -0
  567. package/lib/molecule3d/ui/viewer.d.ts.map +1 -0
  568. package/lib/molecule3d/ui/viewer.js +203 -0
  569. package/lib/molecule3d/ui/viewer.js.map +1 -0
  570. package/lib/molecule3d/ui/viewerTypes.d.ts +57 -0
  571. package/lib/molecule3d/ui/viewerTypes.d.ts.map +1 -0
  572. package/lib/molecule3d/ui/viewerTypes.js +6 -0
  573. package/lib/molecule3d/ui/viewerTypes.js.map +1 -0
  574. package/lib/molecule3d.d.ts +11 -0
  575. package/lib/molecule3d.d.ts.map +1 -0
  576. package/lib/molecule3d.js +11 -0
  577. package/lib/molecule3d.js.map +1 -0
  578. package/lib/orbital/core/atomicGrid.d.ts +3 -2
  579. package/lib/orbital/core/atomicGrid.d.ts.map +1 -1
  580. package/lib/orbital/core/atomicGrid.js +3 -2
  581. package/lib/orbital/core/atomicGrid.js.map +1 -1
  582. package/lib/orbital/core/atomicOrbitals.d.ts +1 -8
  583. package/lib/orbital/core/atomicOrbitals.d.ts.map +1 -1
  584. package/lib/orbital/core/atomicOrbitals.js +1 -1
  585. package/lib/orbital/core/atomicOrbitals.js.map +1 -1
  586. package/lib/orbital/core/constants.d.ts +3 -0
  587. package/lib/orbital/core/constants.d.ts.map +1 -1
  588. package/lib/orbital/core/electronConfiguration.d.ts +4 -12
  589. package/lib/orbital/core/electronConfiguration.d.ts.map +1 -1
  590. package/lib/orbital/core/electronConfiguration.js +26 -38
  591. package/lib/orbital/core/electronConfiguration.js.map +1 -1
  592. package/lib/orbital/core/grid.d.ts +3 -0
  593. package/lib/orbital/core/grid.d.ts.map +1 -1
  594. package/lib/orbital/core/grid.js.map +1 -1
  595. package/lib/orbital/core/index.d.ts +2 -0
  596. package/lib/orbital/core/index.d.ts.map +1 -1
  597. package/lib/orbital/core/index.js +1 -0
  598. package/lib/orbital/core/index.js.map +1 -1
  599. package/lib/orbital/core/isovalue.d.ts +3 -2
  600. package/lib/orbital/core/isovalue.d.ts.map +1 -1
  601. package/lib/orbital/core/isovalue.js +3 -2
  602. package/lib/orbital/core/isovalue.js.map +1 -1
  603. package/lib/orbital/core/occupancy.d.ts.map +1 -1
  604. package/lib/orbital/core/occupancy.js +2 -3
  605. package/lib/orbital/core/occupancy.js.map +1 -1
  606. package/lib/orbital/core/palette.d.ts +8 -4
  607. package/lib/orbital/core/palette.d.ts.map +1 -1
  608. package/lib/orbital/core/palette.js +3 -3
  609. package/lib/orbital/core/palette.js.map +1 -1
  610. package/lib/orbital/core/radialDistribution.d.ts +51 -0
  611. package/lib/orbital/core/radialDistribution.d.ts.map +1 -0
  612. package/lib/orbital/core/radialDistribution.js +47 -0
  613. package/lib/orbital/core/radialDistribution.js.map +1 -0
  614. package/lib/orbital/core/realHarmonics.d.ts +3 -3
  615. package/lib/orbital/core/realHarmonics.js +3 -3
  616. package/lib/orbital/ui/AtomicOrbitalCanvas.d.ts +5 -3
  617. package/lib/orbital/ui/AtomicOrbitalCanvas.d.ts.map +1 -1
  618. package/lib/orbital/ui/AtomicOrbitalCanvas.js +27 -85
  619. package/lib/orbital/ui/AtomicOrbitalCanvas.js.map +1 -1
  620. package/lib/orbital/ui/AtomicOrbitalControls.d.ts +23 -0
  621. package/lib/orbital/ui/AtomicOrbitalControls.d.ts.map +1 -0
  622. package/lib/orbital/ui/AtomicOrbitalControls.js +40 -0
  623. package/lib/orbital/ui/AtomicOrbitalControls.js.map +1 -0
  624. package/lib/orbital/ui/AtomicOrbitalViewer.d.ts +6 -0
  625. package/lib/orbital/ui/AtomicOrbitalViewer.d.ts.map +1 -1
  626. package/lib/orbital/ui/AtomicOrbitalViewer.js +23 -14
  627. package/lib/orbital/ui/AtomicOrbitalViewer.js.map +1 -1
  628. package/lib/orbital/ui/RadialPlot.d.ts +79 -0
  629. package/lib/orbital/ui/RadialPlot.d.ts.map +1 -0
  630. package/lib/orbital/ui/RadialPlot.js +59 -0
  631. package/lib/orbital/ui/RadialPlot.js.map +1 -0
  632. package/lib/orbital/ui/RadialPlotMarks.d.ts +31 -0
  633. package/lib/orbital/ui/RadialPlotMarks.d.ts.map +1 -0
  634. package/lib/orbital/ui/RadialPlotMarks.js +22 -0
  635. package/lib/orbital/ui/RadialPlotMarks.js.map +1 -0
  636. package/lib/orbital/ui/camera.d.ts +0 -6
  637. package/lib/orbital/ui/camera.d.ts.map +1 -1
  638. package/lib/orbital/ui/camera.js +1 -1
  639. package/lib/orbital/ui/camera.js.map +1 -1
  640. package/lib/orbital/ui/index.d.ts +3 -1
  641. package/lib/orbital/ui/index.d.ts.map +1 -1
  642. package/lib/orbital/ui/index.js +1 -0
  643. package/lib/orbital/ui/index.js.map +1 -1
  644. package/lib/orbital/ui/orbitalCanvasHelpers.d.ts +24 -0
  645. package/lib/orbital/ui/orbitalCanvasHelpers.d.ts.map +1 -0
  646. package/lib/orbital/ui/orbitalCanvasHelpers.js +34 -0
  647. package/lib/orbital/ui/orbitalCanvasHelpers.js.map +1 -0
  648. package/lib/orbital/ui/orbitalPluginSpec.d.ts +20 -0
  649. package/lib/orbital/ui/orbitalPluginSpec.d.ts.map +1 -0
  650. package/lib/orbital/ui/orbitalPluginSpec.js +34 -0
  651. package/lib/orbital/ui/orbitalPluginSpec.js.map +1 -0
  652. package/lib/orbital/ui/radialPlotGeometry.d.ts +41 -0
  653. package/lib/orbital/ui/radialPlotGeometry.d.ts.map +1 -0
  654. package/lib/orbital/ui/radialPlotGeometry.js +80 -0
  655. package/lib/orbital/ui/radialPlotGeometry.js.map +1 -0
  656. package/lib/orbital/ui/renderAxes.d.ts +2 -2
  657. package/lib/orbital/ui/renderAxes.d.ts.map +1 -1
  658. package/lib/orbital/ui/renderAxes.js +11 -11
  659. package/lib/orbital/ui/renderAxes.js.map +1 -1
  660. package/lib/orbital/ui/renderVolume.d.ts +2 -2
  661. package/lib/orbital/ui/renderVolume.d.ts.map +1 -1
  662. package/lib/orbital/ui/renderVolume.js +9 -9
  663. package/lib/orbital/ui/renderVolume.js.map +1 -1
  664. package/lib/orbital/ui/serial.d.ts +2 -1
  665. package/lib/orbital/ui/serial.d.ts.map +1 -1
  666. package/lib/orbital/ui/viewer.d.ts +4 -11
  667. package/lib/orbital/ui/viewer.d.ts.map +1 -1
  668. package/lib/orbital/ui/viewer.js +5 -27
  669. package/lib/orbital/ui/viewer.js.map +1 -1
  670. package/lib/orbital.d.ts +5 -4
  671. package/lib/orbital.d.ts.map +1 -1
  672. package/lib/orbital.js +5 -4
  673. package/lib/orbital.js.map +1 -1
  674. package/lib/overlay/core/index.d.ts +2 -1
  675. package/lib/overlay/core/index.d.ts.map +1 -1
  676. package/lib/overlay/core/index.js +1 -1
  677. package/lib/overlay/core/index.js.map +1 -1
  678. package/lib/overlay/core/overlayCollapse.d.ts +25 -0
  679. package/lib/overlay/core/overlayCollapse.d.ts.map +1 -1
  680. package/lib/overlay/core/overlayCollapse.js +17 -0
  681. package/lib/overlay/core/overlayCollapse.js.map +1 -1
  682. package/lib/overlay/core/placeOverlayCard.d.ts.map +1 -1
  683. package/lib/overlay/core/placeOverlayCard.js +2 -4
  684. package/lib/overlay/core/placeOverlayCard.js.map +1 -1
  685. package/lib/overlay/ui/OverlayBar.d.ts +3 -6
  686. package/lib/overlay/ui/OverlayBar.d.ts.map +1 -1
  687. package/lib/overlay/ui/OverlayBar.js +2 -3
  688. package/lib/overlay/ui/OverlayBar.js.map +1 -1
  689. package/lib/overlay/ui/OverlayBarButton.d.ts +2 -1
  690. package/lib/overlay/ui/OverlayBarButton.d.ts.map +1 -1
  691. package/lib/overlay/ui/OverlayBarButton.js.map +1 -1
  692. package/lib/overlay/ui/OverlayBarCard.d.ts +2 -1
  693. package/lib/overlay/ui/OverlayBarCard.d.ts.map +1 -1
  694. package/lib/overlay/ui/OverlayChip.d.ts.map +1 -1
  695. package/lib/overlay/ui/OverlayChip.js +3 -3
  696. package/lib/overlay/ui/OverlayChip.js.map +1 -1
  697. package/lib/overlay/ui/OverlayIconButton.d.ts +2 -1
  698. package/lib/overlay/ui/OverlayIconButton.d.ts.map +1 -1
  699. package/lib/overlay/ui/OverlayIconButton.js +5 -4
  700. package/lib/overlay/ui/OverlayIconButton.js.map +1 -1
  701. package/lib/overlay/ui/OverlayLayer.d.ts.map +1 -1
  702. package/lib/overlay/ui/OverlayLayer.js +2 -1
  703. package/lib/overlay/ui/OverlayLayer.js.map +1 -1
  704. package/lib/overlay/ui/OverlayLegend.d.ts.map +1 -1
  705. package/lib/overlay/ui/OverlayLegend.js +2 -1
  706. package/lib/overlay/ui/OverlayLegend.js.map +1 -1
  707. package/lib/overlay/ui/OverlayNumber.d.ts.map +1 -1
  708. package/lib/overlay/ui/OverlayNumber.js +9 -11
  709. package/lib/overlay/ui/OverlayNumber.js.map +1 -1
  710. package/lib/overlay/ui/OverlayPanel.d.ts.map +1 -1
  711. package/lib/overlay/ui/OverlayPanel.js +4 -3
  712. package/lib/overlay/ui/OverlayPanel.js.map +1 -1
  713. package/lib/overlay/ui/OverlayRow.d.ts +2 -2
  714. package/lib/overlay/ui/OverlayRow.d.ts.map +1 -1
  715. package/lib/overlay/ui/OverlayRow.js +2 -2
  716. package/lib/overlay/ui/OverlayRow.js.map +1 -1
  717. package/lib/overlay/ui/OverlayToggle.d.ts.map +1 -1
  718. package/lib/overlay/ui/OverlayToggle.js.map +1 -1
  719. package/lib/overlay/ui/OverlayValueButton.d.ts +2 -3
  720. package/lib/overlay/ui/OverlayValueButton.d.ts.map +1 -1
  721. package/lib/overlay/ui/OverlayValueButton.js +5 -7
  722. package/lib/overlay/ui/OverlayValueButton.js.map +1 -1
  723. package/lib/overlay/ui/overlayBarShape.d.ts +1 -34
  724. package/lib/overlay/ui/overlayBarShape.d.ts.map +1 -1
  725. package/lib/overlay/ui/overlayBarShape.js +2 -40
  726. package/lib/overlay/ui/overlayBarShape.js.map +1 -1
  727. package/lib/overlay/ui/overlayControlStyles.d.ts +9 -2
  728. package/lib/overlay/ui/overlayControlStyles.d.ts.map +1 -1
  729. package/lib/overlay/ui/overlayControlStyles.js +4 -1
  730. package/lib/overlay/ui/overlayControlStyles.js.map +1 -1
  731. package/lib/overlay/ui/overlayPanelContext.d.ts.map +1 -1
  732. package/lib/overlay/ui/overlayPanelContext.js.map +1 -1
  733. package/lib/overlay/ui/overlayPanelStyles.d.ts +11 -4
  734. package/lib/overlay/ui/overlayPanelStyles.d.ts.map +1 -1
  735. package/lib/overlay/ui/overlayPanelStyles.js +9 -3
  736. package/lib/overlay/ui/overlayPanelStyles.js.map +1 -1
  737. package/lib/overlay/ui/overlayPillStyles.d.ts +2 -1
  738. package/lib/overlay/ui/overlayPillStyles.d.ts.map +1 -1
  739. package/lib/overlay/ui/overlayRowStyles.d.ts +2 -10
  740. package/lib/overlay/ui/overlayRowStyles.d.ts.map +1 -1
  741. package/lib/overlay/ui/overlayRowStyles.js +1 -1
  742. package/lib/overlay/ui/overlayRowStyles.js.map +1 -1
  743. package/lib/overlay/ui/overlaySurface.d.ts.map +1 -1
  744. package/lib/overlay/ui/overlaySurface.js.map +1 -1
  745. package/lib/overlay/ui/overlaySwitchStyles.d.ts +2 -1
  746. package/lib/overlay/ui/overlaySwitchStyles.d.ts.map +1 -1
  747. package/lib/overlay/ui/overlayValueStyles.d.ts +19 -7
  748. package/lib/overlay/ui/overlayValueStyles.d.ts.map +1 -1
  749. package/lib/overlay/ui/overlayValueStyles.js +45 -52
  750. package/lib/overlay/ui/overlayValueStyles.js.map +1 -1
  751. package/lib/overlay/ui/useOverlayInteraction.d.ts +31 -0
  752. package/lib/overlay/ui/useOverlayInteraction.d.ts.map +1 -0
  753. package/lib/overlay/ui/useOverlayInteraction.js +21 -0
  754. package/lib/overlay/ui/useOverlayInteraction.js.map +1 -0
  755. package/lib/pedagogy/core/bucketProgressStore.d.ts +51 -0
  756. package/lib/pedagogy/core/bucketProgressStore.d.ts.map +1 -0
  757. package/lib/pedagogy/core/bucketProgressStore.js +42 -0
  758. package/lib/pedagogy/core/bucketProgressStore.js.map +1 -0
  759. package/lib/pedagogy/core/glossary.d.ts +31 -9
  760. package/lib/pedagogy/core/glossary.d.ts.map +1 -1
  761. package/lib/pedagogy/core/glossary.js +12 -4
  762. package/lib/pedagogy/core/glossary.js.map +1 -1
  763. package/lib/pedagogy/core/glossarySearch.d.ts +23 -0
  764. package/lib/pedagogy/core/glossarySearch.d.ts.map +1 -0
  765. package/lib/pedagogy/core/glossarySearch.js +52 -0
  766. package/lib/pedagogy/core/glossarySearch.js.map +1 -0
  767. package/lib/pedagogy/core/index.d.ts +8 -2
  768. package/lib/pedagogy/core/index.d.ts.map +1 -1
  769. package/lib/pedagogy/core/index.js +5 -2
  770. package/lib/pedagogy/core/index.js.map +1 -1
  771. package/lib/pedagogy/core/inlineMarks.d.ts +57 -0
  772. package/lib/pedagogy/core/inlineMarks.d.ts.map +1 -0
  773. package/lib/pedagogy/core/inlineMarks.js +78 -0
  774. package/lib/pedagogy/core/inlineMarks.js.map +1 -0
  775. package/lib/pedagogy/core/progress.d.ts +18 -18
  776. package/lib/pedagogy/core/progress.d.ts.map +1 -1
  777. package/lib/pedagogy/core/progress.js +25 -51
  778. package/lib/pedagogy/core/progress.js.map +1 -1
  779. package/lib/pedagogy/core/types.d.ts +4 -0
  780. package/lib/pedagogy/core/types.d.ts.map +1 -1
  781. package/lib/pedagogy/core/validation.d.ts +3 -0
  782. package/lib/pedagogy/core/validation.d.ts.map +1 -1
  783. package/lib/pedagogy/core/validation.js.map +1 -1
  784. package/lib/pedagogy/ui/ExerciseActions.d.ts +1 -0
  785. package/lib/pedagogy/ui/ExerciseActions.d.ts.map +1 -1
  786. package/lib/pedagogy/ui/ExerciseActions.js.map +1 -1
  787. package/lib/pedagogy/ui/ExerciseProgressHeader.d.ts +1 -0
  788. package/lib/pedagogy/ui/ExerciseProgressHeader.d.ts.map +1 -1
  789. package/lib/pedagogy/ui/ExerciseProgressHeader.js +2 -1
  790. package/lib/pedagogy/ui/ExerciseProgressHeader.js.map +1 -1
  791. package/lib/pedagogy/ui/ExerciseTags.d.ts +14 -0
  792. package/lib/pedagogy/ui/ExerciseTags.d.ts.map +1 -1
  793. package/lib/pedagogy/ui/ExerciseTags.js +4 -4
  794. package/lib/pedagogy/ui/ExerciseTags.js.map +1 -1
  795. package/lib/pedagogy/ui/GlossaryDefinition.d.ts +39 -0
  796. package/lib/pedagogy/ui/GlossaryDefinition.d.ts.map +1 -0
  797. package/lib/pedagogy/ui/GlossaryDefinition.js +59 -0
  798. package/lib/pedagogy/ui/GlossaryDefinition.js.map +1 -0
  799. package/lib/pedagogy/ui/GlossaryIndex.d.ts +59 -0
  800. package/lib/pedagogy/ui/GlossaryIndex.d.ts.map +1 -0
  801. package/lib/pedagogy/ui/GlossaryIndex.js +63 -0
  802. package/lib/pedagogy/ui/GlossaryIndex.js.map +1 -0
  803. package/lib/pedagogy/ui/GlossaryProvider.d.ts +22 -6
  804. package/lib/pedagogy/ui/GlossaryProvider.d.ts.map +1 -1
  805. package/lib/pedagogy/ui/GlossaryProvider.js +12 -4
  806. package/lib/pedagogy/ui/GlossaryProvider.js.map +1 -1
  807. package/lib/pedagogy/ui/GlossaryText.d.ts +22 -21
  808. package/lib/pedagogy/ui/GlossaryText.d.ts.map +1 -1
  809. package/lib/pedagogy/ui/GlossaryText.js +21 -61
  810. package/lib/pedagogy/ui/GlossaryText.js.map +1 -1
  811. package/lib/pedagogy/ui/HintLadder.d.ts +6 -0
  812. package/lib/pedagogy/ui/HintLadder.d.ts.map +1 -1
  813. package/lib/pedagogy/ui/HintLadder.js +4 -5
  814. package/lib/pedagogy/ui/HintLadder.js.map +1 -1
  815. package/lib/pedagogy/ui/InlineText.d.ts +28 -0
  816. package/lib/pedagogy/ui/InlineText.d.ts.map +1 -0
  817. package/lib/pedagogy/ui/InlineText.js +19 -0
  818. package/lib/pedagogy/ui/InlineText.js.map +1 -0
  819. package/lib/pedagogy/ui/ReferenceGrid.d.ts +1 -0
  820. package/lib/pedagogy/ui/ReferenceGrid.d.ts.map +1 -1
  821. package/lib/pedagogy/ui/ReferenceGrid.js +2 -3
  822. package/lib/pedagogy/ui/ReferenceGrid.js.map +1 -1
  823. package/lib/pedagogy/ui/ReferenceSectionBlock.d.ts +4 -0
  824. package/lib/pedagogy/ui/ReferenceSectionBlock.d.ts.map +1 -1
  825. package/lib/pedagogy/ui/ReferenceSectionBlock.js +10 -15
  826. package/lib/pedagogy/ui/ReferenceSectionBlock.js.map +1 -1
  827. package/lib/pedagogy/ui/SyntaxTooltip.d.ts +15 -16
  828. package/lib/pedagogy/ui/SyntaxTooltip.d.ts.map +1 -1
  829. package/lib/pedagogy/ui/SyntaxTooltip.js +16 -12
  830. package/lib/pedagogy/ui/SyntaxTooltip.js.map +1 -1
  831. package/lib/pedagogy/ui/TestCaseList.d.ts +1 -0
  832. package/lib/pedagogy/ui/TestCaseList.d.ts.map +1 -1
  833. package/lib/pedagogy/ui/TestCaseList.js +4 -3
  834. package/lib/pedagogy/ui/TestCaseList.js.map +1 -1
  835. package/lib/pedagogy/ui/TutorialStepStrip.d.ts +3 -0
  836. package/lib/pedagogy/ui/TutorialStepStrip.d.ts.map +1 -1
  837. package/lib/pedagogy/ui/TutorialStepStrip.js +11 -10
  838. package/lib/pedagogy/ui/TutorialStepStrip.js.map +1 -1
  839. package/lib/pedagogy/ui/exampleText.d.ts +12 -0
  840. package/lib/pedagogy/ui/exampleText.d.ts.map +1 -0
  841. package/lib/pedagogy/ui/exampleText.js +17 -0
  842. package/lib/pedagogy/ui/exampleText.js.map +1 -0
  843. package/lib/pedagogy/ui/glossaryContext.d.ts +23 -6
  844. package/lib/pedagogy/ui/glossaryContext.d.ts.map +1 -1
  845. package/lib/pedagogy/ui/glossaryContext.js +8 -5
  846. package/lib/pedagogy/ui/glossaryContext.js.map +1 -1
  847. package/lib/pedagogy/ui/index.d.ts +9 -1
  848. package/lib/pedagogy/ui/index.d.ts.map +1 -1
  849. package/lib/pedagogy/ui/index.js +4 -1
  850. package/lib/pedagogy/ui/index.js.map +1 -1
  851. package/lib/pedagogy/ui/inlineSegments.d.ts +27 -0
  852. package/lib/pedagogy/ui/inlineSegments.d.ts.map +1 -0
  853. package/lib/pedagogy/ui/inlineSegments.js +42 -0
  854. package/lib/pedagogy/ui/inlineSegments.js.map +1 -0
  855. package/lib/pedagogy/ui/pedagogyStyle.d.ts +31 -0
  856. package/lib/pedagogy/ui/pedagogyStyle.d.ts.map +1 -0
  857. package/lib/pedagogy/ui/pedagogyStyle.js +33 -0
  858. package/lib/pedagogy/ui/pedagogyStyle.js.map +1 -0
  859. package/lib/periodic/core/categories.d.ts +1 -1
  860. package/lib/periodic/core/categories.d.ts.map +1 -1
  861. package/lib/periodic/core/elements.d.ts +2 -0
  862. package/lib/periodic/core/elements.d.ts.map +1 -1
  863. package/lib/periodic/core/elements.js.map +1 -1
  864. package/lib/periodic/core/layout.d.ts +4 -0
  865. package/lib/periodic/core/layout.d.ts.map +1 -1
  866. package/lib/periodic/core/layout.js +9 -9
  867. package/lib/periodic/core/layout.js.map +1 -1
  868. package/lib/periodic/ui/CategoryLegend.d.ts +5 -0
  869. package/lib/periodic/ui/CategoryLegend.d.ts.map +1 -1
  870. package/lib/periodic/ui/CategoryLegend.js +4 -3
  871. package/lib/periodic/ui/CategoryLegend.js.map +1 -1
  872. package/lib/periodic/ui/ElementCell.d.ts +7 -1
  873. package/lib/periodic/ui/ElementCell.d.ts.map +1 -1
  874. package/lib/periodic/ui/ElementCell.js +2 -2
  875. package/lib/periodic/ui/ElementCell.js.map +1 -1
  876. package/lib/periodic/ui/PeriodicTable.d.ts +8 -2
  877. package/lib/periodic/ui/PeriodicTable.d.ts.map +1 -1
  878. package/lib/periodic/ui/PeriodicTable.js +2 -2
  879. package/lib/periodic/ui/PeriodicTable.js.map +1 -1
  880. package/lib/periodic/ui/PeriodicTableChrome.d.ts +3 -2
  881. package/lib/periodic/ui/PeriodicTableChrome.d.ts.map +1 -1
  882. package/lib/periodic/ui/PeriodicTableChrome.js +4 -3
  883. package/lib/periodic/ui/PeriodicTableChrome.js.map +1 -1
  884. package/lib/projection/core/explainedShares.d.ts +1 -1
  885. package/lib/projection/core/explainedShares.d.ts.map +1 -1
  886. package/lib/projection/core/fillCopy.d.ts +12 -0
  887. package/lib/projection/core/fillCopy.d.ts.map +1 -0
  888. package/lib/projection/core/fillCopy.js +18 -0
  889. package/lib/projection/core/fillCopy.js.map +1 -0
  890. package/lib/projection/core/index.d.ts +7 -3
  891. package/lib/projection/core/index.d.ts.map +1 -1
  892. package/lib/projection/core/index.js +5 -2
  893. package/lib/projection/core/index.js.map +1 -1
  894. package/lib/projection/core/loadingProfiles.d.ts +7 -1
  895. package/lib/projection/core/loadingProfiles.d.ts.map +1 -1
  896. package/lib/projection/core/loadingProfiles.js +3 -4
  897. package/lib/projection/core/loadingProfiles.js.map +1 -1
  898. package/lib/projection/core/mergeProjectionCopy.d.ts +10 -0
  899. package/lib/projection/core/mergeProjectionCopy.d.ts.map +1 -0
  900. package/lib/projection/core/mergeProjectionCopy.js +30 -0
  901. package/lib/projection/core/mergeProjectionCopy.js.map +1 -0
  902. package/lib/projection/core/pcaColumns.d.ts +23 -0
  903. package/lib/projection/core/pcaColumns.d.ts.map +1 -0
  904. package/lib/projection/core/pcaColumns.js +73 -0
  905. package/lib/projection/core/pcaColumns.js.map +1 -0
  906. package/lib/projection/core/pcaLike.d.ts +29 -4
  907. package/lib/projection/core/pcaLike.d.ts.map +1 -1
  908. package/lib/projection/core/pcaResult.d.ts +8 -5
  909. package/lib/projection/core/pcaResult.d.ts.map +1 -1
  910. package/lib/projection/core/pcaResult.js +10 -35
  911. package/lib/projection/core/pcaResult.js.map +1 -1
  912. package/lib/projection/core/projectionCopy.d.ts +26 -20
  913. package/lib/projection/core/projectionCopy.d.ts.map +1 -1
  914. package/lib/projection/core/projectionCopy.js +12 -45
  915. package/lib/projection/core/projectionCopy.js.map +1 -1
  916. package/lib/projection/core/projectionOptions.d.ts +0 -15
  917. package/lib/projection/core/projectionOptions.d.ts.map +1 -1
  918. package/lib/projection/core/projectionOptions.js +0 -88
  919. package/lib/projection/core/projectionOptions.js.map +1 -1
  920. package/lib/projection/core/projectionPanelWords.d.ts +91 -0
  921. package/lib/projection/core/projectionPanelWords.d.ts.map +1 -0
  922. package/lib/projection/core/projectionPanelWords.js +56 -0
  923. package/lib/projection/core/projectionPanelWords.js.map +1 -0
  924. package/lib/projection/core/projectionResult.d.ts +1 -1
  925. package/lib/projection/core/projectionResult.d.ts.map +1 -1
  926. package/lib/projection/core/projectionStrings.d.ts +0 -30
  927. package/lib/projection/core/projectionStrings.d.ts.map +1 -1
  928. package/lib/projection/core/projectionStrings.js +0 -50
  929. package/lib/projection/core/projectionStrings.js.map +1 -1
  930. package/lib/projection/core/resolveProjectionOptions.d.ts +17 -0
  931. package/lib/projection/core/resolveProjectionOptions.d.ts.map +1 -0
  932. package/lib/projection/core/resolveProjectionOptions.js +79 -0
  933. package/lib/projection/core/resolveProjectionOptions.js.map +1 -0
  934. package/lib/projection/core/variableAxis.d.ts.map +1 -1
  935. package/lib/projection/core/variableAxis.js +4 -17
  936. package/lib/projection/core/variableAxis.js.map +1 -1
  937. package/lib/projection/ui/ProjectionBar.d.ts +2 -1
  938. package/lib/projection/ui/ProjectionBar.d.ts.map +1 -1
  939. package/lib/projection/ui/ProjectionBar.js +2 -2
  940. package/lib/projection/ui/ProjectionMapCaption.d.ts +2 -1
  941. package/lib/projection/ui/ProjectionMapCaption.d.ts.map +1 -1
  942. package/lib/projection/ui/ProjectionMapControls.d.ts.map +1 -1
  943. package/lib/projection/ui/ProjectionMapControls.js +6 -24
  944. package/lib/projection/ui/ProjectionMapControls.js.map +1 -1
  945. package/lib/projection/ui/ProjectionMapLegend.d.ts +2 -1
  946. package/lib/projection/ui/ProjectionMapLegend.d.ts.map +1 -1
  947. package/lib/projection/ui/ProjectionMapMore.d.ts +2 -1
  948. package/lib/projection/ui/ProjectionMapMore.d.ts.map +1 -1
  949. package/lib/projection/ui/ProjectionMapMore.js +4 -37
  950. package/lib/projection/ui/ProjectionMapMore.js.map +1 -1
  951. package/lib/projection/ui/ProjectionMapTab.d.ts +3 -2
  952. package/lib/projection/ui/ProjectionMapTab.d.ts.map +1 -1
  953. package/lib/projection/ui/ProjectionPairsControls.d.ts +2 -1
  954. package/lib/projection/ui/ProjectionPairsControls.d.ts.map +1 -1
  955. package/lib/projection/ui/ProjectionPairsMore.d.ts +2 -1
  956. package/lib/projection/ui/ProjectionPairsMore.d.ts.map +1 -1
  957. package/lib/projection/ui/ProjectionPairsMore.js +2 -3
  958. package/lib/projection/ui/ProjectionPairsMore.js.map +1 -1
  959. package/lib/projection/ui/ProjectionPairsTab.d.ts +2 -1
  960. package/lib/projection/ui/ProjectionPairsTab.d.ts.map +1 -1
  961. package/lib/projection/ui/ProjectionPairsTab.js +2 -1
  962. package/lib/projection/ui/ProjectionPairsTab.js.map +1 -1
  963. package/lib/projection/ui/ProjectionPanel.d.ts +3 -2
  964. package/lib/projection/ui/ProjectionPanel.d.ts.map +1 -1
  965. package/lib/projection/ui/ProjectionPanel.js.map +1 -1
  966. package/lib/projection/ui/ProjectionReadout.d.ts +2 -1
  967. package/lib/projection/ui/ProjectionReadout.d.ts.map +1 -1
  968. package/lib/projection/ui/ProjectionSharesAxis.d.ts +25 -0
  969. package/lib/projection/ui/ProjectionSharesAxis.d.ts.map +1 -0
  970. package/lib/projection/ui/ProjectionSharesAxis.js +20 -0
  971. package/lib/projection/ui/ProjectionSharesAxis.js.map +1 -0
  972. package/lib/projection/ui/ProjectionSharesMarks.d.ts +5 -22
  973. package/lib/projection/ui/ProjectionSharesMarks.d.ts.map +1 -1
  974. package/lib/projection/ui/ProjectionSharesMarks.js +27 -29
  975. package/lib/projection/ui/ProjectionSharesMarks.js.map +1 -1
  976. package/lib/projection/ui/ProjectionSharesMore.d.ts +2 -1
  977. package/lib/projection/ui/ProjectionSharesMore.d.ts.map +1 -1
  978. package/lib/projection/ui/ProjectionSharesMore.js +2 -3
  979. package/lib/projection/ui/ProjectionSharesMore.js.map +1 -1
  980. package/lib/projection/ui/ProjectionSharesTab.d.ts +2 -1
  981. package/lib/projection/ui/ProjectionSharesTab.d.ts.map +1 -1
  982. package/lib/projection/ui/ProjectionSharesTab.js +3 -2
  983. package/lib/projection/ui/ProjectionSharesTab.js.map +1 -1
  984. package/lib/projection/ui/ProjectionSpaceControls.d.ts.map +1 -1
  985. package/lib/projection/ui/ProjectionSpaceControls.js +8 -25
  986. package/lib/projection/ui/ProjectionSpaceControls.js.map +1 -1
  987. package/lib/projection/ui/ProjectionSpaceMore.d.ts +2 -1
  988. package/lib/projection/ui/ProjectionSpaceMore.d.ts.map +1 -1
  989. package/lib/projection/ui/ProjectionSpaceMore.js +4 -31
  990. package/lib/projection/ui/ProjectionSpaceMore.js.map +1 -1
  991. package/lib/projection/ui/ProjectionSpaceTab.d.ts +3 -2
  992. package/lib/projection/ui/ProjectionSpaceTab.d.ts.map +1 -1
  993. package/lib/projection/ui/ProjectionSurface.d.ts +2 -1
  994. package/lib/projection/ui/ProjectionSurface.d.ts.map +1 -1
  995. package/lib/projection/ui/ProjectionTabStrip.d.ts +2 -1
  996. package/lib/projection/ui/ProjectionTabStrip.d.ts.map +1 -1
  997. package/lib/projection/ui/ProjectionTabStrip.js +15 -5
  998. package/lib/projection/ui/ProjectionTabStrip.js.map +1 -1
  999. package/lib/projection/ui/ProjectionVariablesControls.d.ts +2 -1
  1000. package/lib/projection/ui/ProjectionVariablesControls.d.ts.map +1 -1
  1001. package/lib/projection/ui/ProjectionVariablesMore.d.ts +2 -1
  1002. package/lib/projection/ui/ProjectionVariablesMore.d.ts.map +1 -1
  1003. package/lib/projection/ui/ProjectionVariablesMore.js +4 -15
  1004. package/lib/projection/ui/ProjectionVariablesMore.js.map +1 -1
  1005. package/lib/projection/ui/ProjectionVariablesTab.d.ts +3 -3
  1006. package/lib/projection/ui/ProjectionVariablesTab.d.ts.map +1 -1
  1007. package/lib/projection/ui/ProjectionVariablesTab.js +1 -1
  1008. package/lib/projection/ui/ProjectionVariablesTab.js.map +1 -1
  1009. package/lib/projection/ui/ProjectionViewer.d.ts +2 -6
  1010. package/lib/projection/ui/ProjectionViewer.d.ts.map +1 -1
  1011. package/lib/projection/ui/ProjectionViewer.js +6 -6
  1012. package/lib/projection/ui/ProjectionViewer.js.map +1 -1
  1013. package/lib/projection/ui/projectionAxisChoices.d.ts +12 -0
  1014. package/lib/projection/ui/projectionAxisChoices.d.ts.map +1 -0
  1015. package/lib/projection/ui/projectionAxisChoices.js +26 -0
  1016. package/lib/projection/ui/projectionAxisChoices.js.map +1 -0
  1017. package/lib/projection/ui/projectionBarReadings.d.ts +10 -1
  1018. package/lib/projection/ui/projectionBarReadings.d.ts.map +1 -1
  1019. package/lib/projection/ui/projectionBarReadings.js +25 -8
  1020. package/lib/projection/ui/projectionBarReadings.js.map +1 -1
  1021. package/lib/projection/ui/projectionBarSlots.d.ts +3 -2
  1022. package/lib/projection/ui/projectionBarSlots.d.ts.map +1 -1
  1023. package/lib/projection/ui/projectionBarStyles.d.ts +2 -2
  1024. package/lib/projection/ui/projectionBarStyles.js +2 -2
  1025. package/lib/projection/ui/projectionEllipse.d.ts +21 -7
  1026. package/lib/projection/ui/projectionEllipse.d.ts.map +1 -1
  1027. package/lib/projection/ui/projectionEllipse.js +45 -18
  1028. package/lib/projection/ui/projectionEllipse.js.map +1 -1
  1029. package/lib/projection/ui/projectionFormat.d.ts.map +1 -1
  1030. package/lib/projection/ui/projectionFormat.js +2 -1
  1031. package/lib/projection/ui/projectionFormat.js.map +1 -1
  1032. package/lib/projection/ui/projectionMapChoices.d.ts +4 -2
  1033. package/lib/projection/ui/projectionMapChoices.d.ts.map +1 -1
  1034. package/lib/projection/ui/projectionMapChoices.js +5 -4
  1035. package/lib/projection/ui/projectionMapChoices.js.map +1 -1
  1036. package/lib/projection/ui/projectionMapChrome.d.ts +2 -1
  1037. package/lib/projection/ui/projectionMapChrome.d.ts.map +1 -1
  1038. package/lib/projection/ui/projectionMapChrome.js +17 -19
  1039. package/lib/projection/ui/projectionMapChrome.js.map +1 -1
  1040. package/lib/projection/ui/projectionMapModel.d.ts +2 -1
  1041. package/lib/projection/ui/projectionMapModel.d.ts.map +1 -1
  1042. package/lib/projection/ui/projectionMapModel.js.map +1 -1
  1043. package/lib/projection/ui/projectionMapView.d.ts +2 -1
  1044. package/lib/projection/ui/projectionMapView.d.ts.map +1 -1
  1045. package/lib/projection/ui/projectionPairsCeiling.d.ts +2 -1
  1046. package/lib/projection/ui/projectionPairsCeiling.d.ts.map +1 -1
  1047. package/lib/projection/ui/projectionTabInfo.d.ts +5 -17
  1048. package/lib/projection/ui/projectionTabInfo.d.ts.map +1 -1
  1049. package/lib/projection/ui/projectionTabInfo.js +7 -8
  1050. package/lib/projection/ui/projectionTabInfo.js.map +1 -1
  1051. package/lib/projection/ui/projectionTabModels.d.ts +5 -1
  1052. package/lib/projection/ui/projectionTabModels.d.ts.map +1 -1
  1053. package/lib/projection/ui/projectionTabModels.js +4 -2
  1054. package/lib/projection/ui/projectionTabModels.js.map +1 -1
  1055. package/lib/projection/ui/projectionVariablesModel.d.ts +3 -3
  1056. package/lib/projection/ui/projectionVariablesModel.d.ts.map +1 -1
  1057. package/lib/projection/ui/projectionVariablesModel.js +3 -2
  1058. package/lib/projection/ui/projectionVariablesModel.js.map +1 -1
  1059. package/lib/projection/ui/projectionVariablesWords.d.ts.map +1 -1
  1060. package/lib/projection/ui/projectionVariablesWords.js +1 -1
  1061. package/lib/projection/ui/projectionVariablesWords.js.map +1 -1
  1062. package/lib/projection/ui/projectionViewChoices.d.ts.map +1 -1
  1063. package/lib/projection/ui/projectionViewChoices.js +4 -7
  1064. package/lib/projection/ui/projectionViewChoices.js.map +1 -1
  1065. package/lib/projection/ui/projectionViewerProps.d.ts +1 -1
  1066. package/lib/projection/ui/projectionViewerProps.d.ts.map +1 -1
  1067. package/lib/projection/ui/projectionWordChoices.d.ts +31 -0
  1068. package/lib/projection/ui/projectionWordChoices.d.ts.map +1 -0
  1069. package/lib/projection/ui/projectionWordChoices.js +48 -0
  1070. package/lib/projection/ui/projectionWordChoices.js.map +1 -0
  1071. package/lib/projection/ui/useProjectionState.d.ts +2 -1
  1072. package/lib/projection/ui/useProjectionState.d.ts.map +1 -1
  1073. package/lib/projection/ui/useProjectionState.js +1 -1
  1074. package/lib/projection/ui/useProjectionState.js.map +1 -1
  1075. package/lib/router/core/address.d.ts +15 -6
  1076. package/lib/router/core/address.d.ts.map +1 -1
  1077. package/lib/router/core/address.js +20 -7
  1078. package/lib/router/core/address.js.map +1 -1
  1079. package/lib/router/core/basePath.d.ts.map +1 -1
  1080. package/lib/router/core/basePath.js +3 -3
  1081. package/lib/router/core/basePath.js.map +1 -1
  1082. package/lib/router/core/history.d.ts +69 -0
  1083. package/lib/router/core/history.d.ts.map +1 -0
  1084. package/lib/router/core/history.js +122 -0
  1085. package/lib/router/core/history.js.map +1 -0
  1086. package/lib/router/core/index.d.ts +7 -2
  1087. package/lib/router/core/index.d.ts.map +1 -1
  1088. package/lib/router/core/index.js +4 -1
  1089. package/lib/router/core/index.js.map +1 -1
  1090. package/lib/router/core/query.d.ts +36 -6
  1091. package/lib/router/core/query.d.ts.map +1 -1
  1092. package/lib/router/core/query.js +67 -19
  1093. package/lib/router/core/query.js.map +1 -1
  1094. package/lib/router/core/siteAddresses.d.ts +49 -0
  1095. package/lib/router/core/siteAddresses.d.ts.map +1 -0
  1096. package/lib/router/core/siteAddresses.js +47 -0
  1097. package/lib/router/core/siteAddresses.js.map +1 -0
  1098. package/lib/router/core/tabRouter.d.ts +9 -0
  1099. package/lib/router/core/tabRouter.d.ts.map +1 -1
  1100. package/lib/router/core/tabRouter.js +15 -6
  1101. package/lib/router/core/tabRouter.js.map +1 -1
  1102. package/lib/router/ui/index.d.ts +2 -0
  1103. package/lib/router/ui/index.d.ts.map +1 -0
  1104. package/lib/router/ui/index.js +2 -0
  1105. package/lib/router/ui/index.js.map +1 -0
  1106. package/lib/router/ui/useTabRoute.d.ts +12 -0
  1107. package/lib/router/ui/useTabRoute.d.ts.map +1 -0
  1108. package/lib/router/ui/useTabRoute.js +20 -0
  1109. package/lib/router/ui/useTabRoute.js.map +1 -0
  1110. package/lib/scatter/core/confidenceEllipse.d.ts +26 -19
  1111. package/lib/scatter/core/confidenceEllipse.d.ts.map +1 -1
  1112. package/lib/scatter/core/confidenceEllipse.js +63 -85
  1113. package/lib/scatter/core/confidenceEllipse.js.map +1 -1
  1114. package/lib/scatter/core/ellipseAxes.d.ts +40 -0
  1115. package/lib/scatter/core/ellipseAxes.d.ts.map +1 -0
  1116. package/lib/scatter/core/ellipseAxes.js +57 -0
  1117. package/lib/scatter/core/ellipseAxes.js.map +1 -0
  1118. package/lib/scatter/core/ellipseProjection.js +1 -1
  1119. package/lib/scatter/core/ellipseProjection.js.map +1 -1
  1120. package/lib/scatter/core/index.d.ts +7 -2
  1121. package/lib/scatter/core/index.d.ts.map +1 -1
  1122. package/lib/scatter/core/index.js +3 -1
  1123. package/lib/scatter/core/index.js.map +1 -1
  1124. package/lib/scatter/core/lassoPath.d.ts.map +1 -1
  1125. package/lib/scatter/core/lassoPath.js +2 -3
  1126. package/lib/scatter/core/lassoPath.js.map +1 -1
  1127. package/lib/scatter/core/scatterGroupMoments.d.ts +42 -0
  1128. package/lib/scatter/core/scatterGroupMoments.d.ts.map +1 -0
  1129. package/lib/scatter/core/scatterGroupMoments.js +101 -0
  1130. package/lib/scatter/core/scatterGroupMoments.js.map +1 -0
  1131. package/lib/scatter/{ui → core}/scatterGroupSpread.d.ts +17 -15
  1132. package/lib/scatter/core/scatterGroupSpread.d.ts.map +1 -0
  1133. package/lib/scatter/core/scatterGroupSpread.js +79 -0
  1134. package/lib/scatter/core/scatterGroupSpread.js.map +1 -0
  1135. package/lib/scatter/core/screenPoints.d.ts +13 -0
  1136. package/lib/scatter/core/screenPoints.d.ts.map +1 -1
  1137. package/lib/scatter/core/screenPoints.js +34 -1
  1138. package/lib/scatter/core/screenPoints.js.map +1 -1
  1139. package/lib/scatter/ui/ScatterEllipseLayer.d.ts +3 -9
  1140. package/lib/scatter/ui/ScatterEllipseLayer.d.ts.map +1 -1
  1141. package/lib/scatter/ui/ScatterEllipseLayer.js +17 -49
  1142. package/lib/scatter/ui/ScatterEllipseLayer.js.map +1 -1
  1143. package/lib/scatter/ui/ScatterLabelLayer.d.ts.map +1 -1
  1144. package/lib/scatter/ui/ScatterLabelLayer.js +3 -7
  1145. package/lib/scatter/ui/ScatterLabelLayer.js.map +1 -1
  1146. package/lib/scatter/ui/ScatterMarkLayer.d.ts +0 -1
  1147. package/lib/scatter/ui/ScatterMarkLayer.d.ts.map +1 -1
  1148. package/lib/scatter/ui/ScatterMarkLayer.js +5 -28
  1149. package/lib/scatter/ui/ScatterMarkLayer.js.map +1 -1
  1150. package/lib/scatter/ui/ScatterMatrix.d.ts +0 -1
  1151. package/lib/scatter/ui/ScatterMatrix.d.ts.map +1 -1
  1152. package/lib/scatter/ui/ScatterMatrix.js +5 -10
  1153. package/lib/scatter/ui/ScatterMatrix.js.map +1 -1
  1154. package/lib/scatter/ui/ScatterMatrixCell.js +1 -1
  1155. package/lib/scatter/ui/ScatterMatrixCell.js.map +1 -1
  1156. package/lib/scatter/ui/ScatterMatrixDiagonal.d.ts +1 -1
  1157. package/lib/scatter/ui/ScatterMatrixDiagonal.d.ts.map +1 -1
  1158. package/lib/scatter/ui/ScatterMatrixDiagonal.js +2 -1
  1159. package/lib/scatter/ui/ScatterMatrixDiagonal.js.map +1 -1
  1160. package/lib/scatter/ui/ScatterOverlayLayers.d.ts +22 -0
  1161. package/lib/scatter/ui/ScatterOverlayLayers.d.ts.map +1 -0
  1162. package/lib/scatter/ui/ScatterOverlayLayers.js +16 -0
  1163. package/lib/scatter/ui/ScatterOverlayLayers.js.map +1 -0
  1164. package/lib/scatter/ui/ScatterPlot.d.ts +0 -1
  1165. package/lib/scatter/ui/ScatterPlot.d.ts.map +1 -1
  1166. package/lib/scatter/ui/ScatterPlot.js +29 -53
  1167. package/lib/scatter/ui/ScatterPlot.js.map +1 -1
  1168. package/lib/scatter/ui/ScatterPointLayer.d.ts +12 -0
  1169. package/lib/scatter/ui/ScatterPointLayer.d.ts.map +1 -1
  1170. package/lib/scatter/ui/ScatterPointLayer.js +13 -13
  1171. package/lib/scatter/ui/ScatterPointLayer.js.map +1 -1
  1172. package/lib/scatter/ui/index.d.ts +7 -6
  1173. package/lib/scatter/ui/index.d.ts.map +1 -1
  1174. package/lib/scatter/ui/index.js +0 -1
  1175. package/lib/scatter/ui/index.js.map +1 -1
  1176. package/lib/scatter/ui/scatterFigureProps.d.ts +185 -0
  1177. package/lib/scatter/ui/scatterFigureProps.d.ts.map +1 -0
  1178. package/lib/scatter/ui/scatterFigureProps.js +10 -0
  1179. package/lib/scatter/ui/scatterFigureProps.js.map +1 -0
  1180. package/lib/scatter/ui/scatterInteractionTypes.d.ts +117 -0
  1181. package/lib/scatter/ui/scatterInteractionTypes.d.ts.map +1 -0
  1182. package/lib/scatter/ui/scatterInteractionTypes.js +6 -0
  1183. package/lib/scatter/ui/scatterInteractionTypes.js.map +1 -0
  1184. package/lib/scatter/ui/scatterLabels.d.ts.map +1 -1
  1185. package/lib/scatter/ui/scatterLabels.js +4 -17
  1186. package/lib/scatter/ui/scatterLabels.js.map +1 -1
  1187. package/lib/scatter/ui/scatterMarkGlyph.d.ts.map +1 -1
  1188. package/lib/scatter/ui/scatterMarkGlyph.js +6 -6
  1189. package/lib/scatter/ui/scatterMarkGlyph.js.map +1 -1
  1190. package/lib/scatter/ui/scatterMatrixDots.d.ts.map +1 -1
  1191. package/lib/scatter/ui/scatterMatrixDots.js +21 -16
  1192. package/lib/scatter/ui/scatterMatrixDots.js.map +1 -1
  1193. package/lib/scatter/ui/scatterMatrixLayout.d.ts +1 -1
  1194. package/lib/scatter/ui/scatterMatrixLayout.js +1 -1
  1195. package/lib/scatter/ui/scatterMatrixOutlines.d.ts.map +1 -1
  1196. package/lib/scatter/ui/scatterMatrixOutlines.js +1 -1
  1197. package/lib/scatter/ui/scatterMatrixOutlines.js.map +1 -1
  1198. package/lib/scatter/ui/scatterMatrixProps.d.ts +7 -2
  1199. package/lib/scatter/ui/scatterMatrixProps.d.ts.map +1 -1
  1200. package/lib/scatter/ui/scatterOutlineShape.d.ts.map +1 -1
  1201. package/lib/scatter/ui/scatterOutlineShape.js +5 -5
  1202. package/lib/scatter/ui/scatterOutlineShape.js.map +1 -1
  1203. package/lib/scatter/ui/scatterPlotModel.d.ts +25 -8
  1204. package/lib/scatter/ui/scatterPlotModel.d.ts.map +1 -1
  1205. package/lib/scatter/ui/scatterPlotModel.js +36 -23
  1206. package/lib/scatter/ui/scatterPlotModel.js.map +1 -1
  1207. package/lib/scatter/ui/scatterPlotProps.d.ts +9 -174
  1208. package/lib/scatter/ui/scatterPlotProps.d.ts.map +1 -1
  1209. package/lib/scatter/ui/scatterPlotProps.js +4 -4
  1210. package/lib/scatter/ui/useCapturedPointer.d.ts +60 -0
  1211. package/lib/scatter/ui/useCapturedPointer.d.ts.map +1 -0
  1212. package/lib/scatter/ui/useCapturedPointer.js +87 -0
  1213. package/lib/scatter/ui/useCapturedPointer.js.map +1 -0
  1214. package/lib/scatter/ui/useLassoGesture.d.ts +4 -9
  1215. package/lib/scatter/ui/useLassoGesture.d.ts.map +1 -1
  1216. package/lib/scatter/ui/useLassoGesture.js +39 -83
  1217. package/lib/scatter/ui/useLassoGesture.js.map +1 -1
  1218. package/lib/scatter/ui/useScatterFrame.d.ts.map +1 -1
  1219. package/lib/scatter/ui/useScatterFrame.js +2 -16
  1220. package/lib/scatter/ui/useScatterFrame.js.map +1 -1
  1221. package/lib/scatter/ui/useScatterInteraction.d.ts +1 -94
  1222. package/lib/scatter/ui/useScatterInteraction.d.ts.map +1 -1
  1223. package/lib/scatter/ui/useScatterInteraction.js +26 -4
  1224. package/lib/scatter/ui/useScatterInteraction.js.map +1 -1
  1225. package/lib/scatter/ui/useScatterLabels.d.ts +45 -0
  1226. package/lib/scatter/ui/useScatterLabels.d.ts.map +1 -0
  1227. package/lib/scatter/ui/useScatterLabels.js +32 -0
  1228. package/lib/scatter/ui/useScatterLabels.js.map +1 -0
  1229. package/lib/scatter3d/core/confidenceEllipsoid.d.ts +4 -5
  1230. package/lib/scatter3d/core/confidenceEllipsoid.d.ts.map +1 -1
  1231. package/lib/scatter3d/core/confidenceEllipsoid.js +33 -68
  1232. package/lib/scatter3d/core/confidenceEllipsoid.js.map +1 -1
  1233. package/lib/scatter3d/core/ellipsoidSilhouette.d.ts +4 -5
  1234. package/lib/scatter3d/core/ellipsoidSilhouette.d.ts.map +1 -1
  1235. package/lib/scatter3d/core/ellipsoidSilhouette.js +8 -14
  1236. package/lib/scatter3d/core/ellipsoidSilhouette.js.map +1 -1
  1237. package/lib/scatter3d/core/index.d.ts +4 -4
  1238. package/lib/scatter3d/core/index.js +4 -4
  1239. package/lib/scatter3d/ui/CloudFrameLayer.js +3 -1
  1240. package/lib/scatter3d/ui/CloudFrameLayer.js.map +1 -1
  1241. package/lib/scatter3d/ui/CloudShellLayer.d.ts +5 -6
  1242. package/lib/scatter3d/ui/CloudShellLayer.d.ts.map +1 -1
  1243. package/lib/scatter3d/ui/CloudShellLayer.js +5 -6
  1244. package/lib/scatter3d/ui/CloudShellLayer.js.map +1 -1
  1245. package/lib/scatter3d/ui/ScatterCloud.d.ts +6 -7
  1246. package/lib/scatter3d/ui/ScatterCloud.d.ts.map +1 -1
  1247. package/lib/scatter3d/ui/ScatterCloud.js +38 -76
  1248. package/lib/scatter3d/ui/ScatterCloud.js.map +1 -1
  1249. package/lib/scatter3d/ui/cloudGeometry.d.ts +16 -5
  1250. package/lib/scatter3d/ui/cloudGeometry.d.ts.map +1 -1
  1251. package/lib/scatter3d/ui/cloudGeometry.js +38 -20
  1252. package/lib/scatter3d/ui/cloudGeometry.js.map +1 -1
  1253. package/lib/scatter3d/ui/cloudShellStyles.d.ts +3 -5
  1254. package/lib/scatter3d/ui/cloudShellStyles.d.ts.map +1 -1
  1255. package/lib/scatter3d/ui/cloudShellStyles.js +9 -10
  1256. package/lib/scatter3d/ui/cloudShellStyles.js.map +1 -1
  1257. package/lib/scatter3d/ui/cloudZoom.d.ts.map +1 -1
  1258. package/lib/scatter3d/ui/cloudZoom.js +2 -3
  1259. package/lib/scatter3d/ui/cloudZoom.js.map +1 -1
  1260. package/lib/scatter3d/ui/index.d.ts +1 -3
  1261. package/lib/scatter3d/ui/index.d.ts.map +1 -1
  1262. package/lib/scatter3d/ui/index.js +0 -1
  1263. package/lib/scatter3d/ui/index.js.map +1 -1
  1264. package/lib/scatter3d/ui/orbitDragTrack.d.ts +83 -0
  1265. package/lib/scatter3d/ui/orbitDragTrack.d.ts.map +1 -0
  1266. package/lib/scatter3d/ui/orbitDragTrack.js +91 -0
  1267. package/lib/scatter3d/ui/orbitDragTrack.js.map +1 -0
  1268. package/lib/scatter3d/ui/scatterCloudModel.d.ts +3 -3
  1269. package/lib/scatter3d/ui/scatterCloudModel.d.ts.map +1 -1
  1270. package/lib/scatter3d/ui/scatterCloudModel.js +5 -4
  1271. package/lib/scatter3d/ui/scatterCloudModel.js.map +1 -1
  1272. package/lib/scatter3d/ui/scatterCloudProps.d.ts +7 -106
  1273. package/lib/scatter3d/ui/scatterCloudProps.d.ts.map +1 -1
  1274. package/lib/scatter3d/ui/scatterCloudProps.js +3 -3
  1275. package/lib/scatter3d/ui/useOrbitDrag.d.ts +5 -5
  1276. package/lib/scatter3d/ui/useOrbitDrag.d.ts.map +1 -1
  1277. package/lib/scatter3d/ui/useOrbitDrag.js +41 -98
  1278. package/lib/scatter3d/ui/useOrbitDrag.js.map +1 -1
  1279. package/lib/seo/core/documentMeta.d.ts.map +1 -1
  1280. package/lib/seo/core/documentMeta.js +2 -5
  1281. package/lib/seo/core/documentMeta.js.map +1 -1
  1282. package/lib/seo/core/index.d.ts +5 -2
  1283. package/lib/seo/core/index.d.ts.map +1 -1
  1284. package/lib/seo/core/index.js +4 -2
  1285. package/lib/seo/core/index.js.map +1 -1
  1286. package/lib/seo/core/noscript.js +1 -1
  1287. package/lib/seo/core/noscript.js.map +1 -1
  1288. package/lib/seo/core/plainDescription.d.ts +37 -0
  1289. package/lib/seo/core/plainDescription.d.ts.map +1 -0
  1290. package/lib/seo/core/plainDescription.js +80 -0
  1291. package/lib/seo/core/plainDescription.js.map +1 -0
  1292. package/lib/seo/core/routes.d.ts +9 -17
  1293. package/lib/seo/core/routes.d.ts.map +1 -1
  1294. package/lib/seo/core/routes.js +30 -27
  1295. package/lib/seo/core/routes.js.map +1 -1
  1296. package/lib/seo/core/siteFiles.d.ts.map +1 -1
  1297. package/lib/seo/core/siteFiles.js +1 -1
  1298. package/lib/seo/core/siteFiles.js.map +1 -1
  1299. package/lib/seo/core/startDocumentMeta.d.ts +3 -4
  1300. package/lib/seo/core/startDocumentMeta.d.ts.map +1 -1
  1301. package/lib/seo/core/startDocumentMeta.js +3 -4
  1302. package/lib/seo/core/startDocumentMeta.js.map +1 -1
  1303. package/lib/seo/core/trackingScript.d.ts +15 -0
  1304. package/lib/seo/core/trackingScript.d.ts.map +1 -0
  1305. package/lib/seo/core/trackingScript.js +24 -0
  1306. package/lib/seo/core/trackingScript.js.map +1 -0
  1307. package/lib/seo/vite/ogCard.d.ts.map +1 -1
  1308. package/lib/seo/vite/ogCard.js +11 -8
  1309. package/lib/seo/vite/ogCard.js.map +1 -1
  1310. package/lib/seo/vite/prerender.d.ts.map +1 -1
  1311. package/lib/seo/vite/prerender.js +2 -1
  1312. package/lib/seo/vite/prerender.js.map +1 -1
  1313. package/lib/share/core/config.d.ts +10 -1
  1314. package/lib/share/core/config.d.ts.map +1 -1
  1315. package/lib/share/core/config.js +19 -1
  1316. package/lib/share/core/config.js.map +1 -1
  1317. package/lib/share/core/index.d.ts +7 -3
  1318. package/lib/share/core/index.d.ts.map +1 -1
  1319. package/lib/share/core/index.js +4 -2
  1320. package/lib/share/core/index.js.map +1 -1
  1321. package/lib/share/core/params.d.ts +27 -0
  1322. package/lib/share/core/params.d.ts.map +1 -1
  1323. package/lib/share/core/params.js +37 -0
  1324. package/lib/share/core/params.js.map +1 -1
  1325. package/lib/share/core/preferences.d.ts +107 -0
  1326. package/lib/share/core/preferences.d.ts.map +1 -0
  1327. package/lib/share/core/preferences.js +130 -0
  1328. package/lib/share/core/preferences.js.map +1 -0
  1329. package/lib/share/core/presets.d.ts +50 -0
  1330. package/lib/share/core/presets.d.ts.map +1 -0
  1331. package/lib/share/core/presets.js +39 -0
  1332. package/lib/share/core/presets.js.map +1 -0
  1333. package/lib/share/core/vocabulary.d.ts +8 -0
  1334. package/lib/share/core/vocabulary.d.ts.map +1 -1
  1335. package/lib/share/ui/ShareButton.d.ts.map +1 -1
  1336. package/lib/share/ui/ShareButton.js +3 -1
  1337. package/lib/share/ui/ShareButton.js.map +1 -1
  1338. package/lib/share/ui/ShareConfigOptions.d.ts +21 -0
  1339. package/lib/share/ui/ShareConfigOptions.d.ts.map +1 -0
  1340. package/lib/share/ui/ShareConfigOptions.js +22 -0
  1341. package/lib/share/ui/ShareConfigOptions.js.map +1 -0
  1342. package/lib/share/ui/ShareDialog.d.ts +15 -1
  1343. package/lib/share/ui/ShareDialog.d.ts.map +1 -1
  1344. package/lib/share/ui/ShareDialog.js +4 -1
  1345. package/lib/share/ui/ShareDialog.js.map +1 -1
  1346. package/lib/share/ui/ShareDialogContent.d.ts.map +1 -1
  1347. package/lib/share/ui/ShareDialogContent.js +37 -18
  1348. package/lib/share/ui/ShareDialogContent.js.map +1 -1
  1349. package/lib/share/ui/SharePresetTabs.d.ts +20 -0
  1350. package/lib/share/ui/SharePresetTabs.d.ts.map +1 -0
  1351. package/lib/share/ui/SharePresetTabs.js +25 -0
  1352. package/lib/share/ui/SharePresetTabs.js.map +1 -0
  1353. package/lib/shared/ui/MenuButton.d.ts +1 -0
  1354. package/lib/shared/ui/MenuButton.d.ts.map +1 -1
  1355. package/lib/shared/ui/MenuButton.js.map +1 -1
  1356. package/lib/shared/ui/joinClassNames.d.ts +12 -0
  1357. package/lib/shared/ui/joinClassNames.d.ts.map +1 -0
  1358. package/lib/shared/ui/joinClassNames.js +20 -0
  1359. package/lib/shared/ui/joinClassNames.js.map +1 -0
  1360. package/lib/slides/core/familyFrame.d.ts +19 -0
  1361. package/lib/slides/core/familyFrame.d.ts.map +1 -0
  1362. package/lib/slides/core/familyFrame.js +44 -0
  1363. package/lib/slides/core/familyFrame.js.map +1 -0
  1364. package/lib/slides/core/index.d.ts +1 -1
  1365. package/lib/slides/core/index.d.ts.map +1 -1
  1366. package/lib/slides/core/index.js +1 -1
  1367. package/lib/slides/core/index.js.map +1 -1
  1368. package/lib/slides/ui/BackToSlides.d.ts +5 -0
  1369. package/lib/slides/ui/BackToSlides.d.ts.map +1 -1
  1370. package/lib/slides/ui/BackToSlides.js +3 -2
  1371. package/lib/slides/ui/BackToSlides.js.map +1 -1
  1372. package/lib/slides/ui/EmbedSlide.d.ts.map +1 -1
  1373. package/lib/slides/ui/EmbedSlide.js +1 -13
  1374. package/lib/slides/ui/EmbedSlide.js.map +1 -1
  1375. package/lib/slides/ui/SlideBody.d.ts +5 -3
  1376. package/lib/slides/ui/SlideBody.d.ts.map +1 -1
  1377. package/lib/slides/ui/SlideBody.js +14 -4
  1378. package/lib/slides/ui/SlideBody.js.map +1 -1
  1379. package/lib/slides/ui/Slideshow.d.ts +2 -6
  1380. package/lib/slides/ui/Slideshow.d.ts.map +1 -1
  1381. package/lib/slides/ui/Slideshow.js +7 -37
  1382. package/lib/slides/ui/Slideshow.js.map +1 -1
  1383. package/lib/slides/ui/SlideshowBar.d.ts +1 -1
  1384. package/lib/slides/ui/SlideshowBar.d.ts.map +1 -1
  1385. package/lib/slides/ui/SlideshowBar.js +3 -3
  1386. package/lib/slides/ui/SlideshowBar.js.map +1 -1
  1387. package/lib/slides/ui/TalkList.d.ts +5 -0
  1388. package/lib/slides/ui/TalkList.d.ts.map +1 -1
  1389. package/lib/slides/ui/TalkList.js +3 -2
  1390. package/lib/slides/ui/TalkList.js.map +1 -1
  1391. package/lib/slides/ui/index.d.ts +1 -0
  1392. package/lib/slides/ui/index.d.ts.map +1 -1
  1393. package/lib/slides/ui/slideSanitizeSchema.d.ts +11 -0
  1394. package/lib/slides/ui/slideSanitizeSchema.d.ts.map +1 -0
  1395. package/lib/slides/ui/slideSanitizeSchema.js +28 -0
  1396. package/lib/slides/ui/slideSanitizeSchema.js.map +1 -0
  1397. package/lib/slides/ui/useSlideshowFullscreen.d.ts +26 -0
  1398. package/lib/slides/ui/useSlideshowFullscreen.d.ts.map +1 -0
  1399. package/lib/slides/ui/useSlideshowFullscreen.js +39 -0
  1400. package/lib/slides/ui/useSlideshowFullscreen.js.map +1 -0
  1401. package/lib/spectra/core/axisEntries.d.ts +15 -0
  1402. package/lib/spectra/core/axisEntries.d.ts.map +1 -1
  1403. package/lib/spectra/core/axisEntries.js +15 -0
  1404. package/lib/spectra/core/axisEntries.js.map +1 -1
  1405. package/lib/spectra/core/chainProblems.d.ts.map +1 -1
  1406. package/lib/spectra/core/chainProblems.js +57 -23
  1407. package/lib/spectra/core/chainProblems.js.map +1 -1
  1408. package/lib/spectra/core/filterCatalog.d.ts +4 -5
  1409. package/lib/spectra/core/filterCatalog.d.ts.map +1 -1
  1410. package/lib/spectra/core/filterCatalog.js +4 -5
  1411. package/lib/spectra/core/filterCatalog.js.map +1 -1
  1412. package/lib/spectra/core/filterChain.d.ts +43 -9
  1413. package/lib/spectra/core/filterChain.d.ts.map +1 -1
  1414. package/lib/spectra/core/filterChain.js +41 -27
  1415. package/lib/spectra/core/filterChain.js.map +1 -1
  1416. package/lib/spectra/core/filterEntries.d.ts +14 -1
  1417. package/lib/spectra/core/filterEntries.d.ts.map +1 -1
  1418. package/lib/spectra/core/filterEntries.js +20 -6
  1419. package/lib/spectra/core/filterEntries.js.map +1 -1
  1420. package/lib/spectra/core/index.d.ts +6 -3
  1421. package/lib/spectra/core/index.d.ts.map +1 -1
  1422. package/lib/spectra/core/index.js +2 -1
  1423. package/lib/spectra/core/index.js.map +1 -1
  1424. package/lib/spectra/core/matrixCatalog.d.ts +64 -0
  1425. package/lib/spectra/core/matrixCatalog.d.ts.map +1 -0
  1426. package/lib/spectra/core/matrixCatalog.js +76 -0
  1427. package/lib/spectra/core/matrixCatalog.js.map +1 -0
  1428. package/lib/spectra/core/principalComponents.d.ts.map +1 -1
  1429. package/lib/spectra/core/principalComponents.js +6 -24
  1430. package/lib/spectra/core/principalComponents.js.map +1 -1
  1431. package/lib/spectra/core/problems.d.ts +25 -4
  1432. package/lib/spectra/core/problems.d.ts.map +1 -1
  1433. package/lib/spectra/core/problems.js +16 -5
  1434. package/lib/spectra/core/problems.js.map +1 -1
  1435. package/lib/spectra/core/settings.d.ts +12 -14
  1436. package/lib/spectra/core/settings.d.ts.map +1 -1
  1437. package/lib/spectra/core/settings.js +4 -4
  1438. package/lib/spectra/core/settings.js.map +1 -1
  1439. package/lib/spectra/core/settingsProblems.d.ts +1 -5
  1440. package/lib/spectra/core/settingsProblems.d.ts.map +1 -1
  1441. package/lib/spectra/core/settingsProblems.js +45 -50
  1442. package/lib/spectra/core/settingsProblems.js.map +1 -1
  1443. package/lib/spectra/core/stepProblems.d.ts +3 -3
  1444. package/lib/spectra/core/stepProblems.d.ts.map +1 -1
  1445. package/lib/spectra/core/stepProblems.js +29 -44
  1446. package/lib/spectra/core/stepProblems.js.map +1 -1
  1447. package/lib/spectra/core/zones.d.ts +35 -0
  1448. package/lib/spectra/core/zones.d.ts.map +1 -0
  1449. package/lib/spectra/core/zones.js +49 -0
  1450. package/lib/spectra/core/zones.js.map +1 -0
  1451. package/lib/spectra/ui/CalculationRows.d.ts +2 -1
  1452. package/lib/spectra/ui/CalculationRows.d.ts.map +1 -1
  1453. package/lib/spectra/ui/CalculationRows.js +29 -63
  1454. package/lib/spectra/ui/CalculationRows.js.map +1 -1
  1455. package/lib/spectra/ui/EditableRows.d.ts +47 -0
  1456. package/lib/spectra/ui/EditableRows.d.ts.map +1 -0
  1457. package/lib/spectra/ui/EditableRows.js +30 -0
  1458. package/lib/spectra/ui/EditableRows.js.map +1 -0
  1459. package/lib/spectra/ui/FilterChainEditor.d.ts +5 -0
  1460. package/lib/spectra/ui/FilterChainEditor.d.ts.map +1 -1
  1461. package/lib/spectra/ui/FilterChainEditor.js +19 -34
  1462. package/lib/spectra/ui/FilterChainEditor.js.map +1 -1
  1463. package/lib/spectra/ui/FilterChoiceControl.d.ts +2 -1
  1464. package/lib/spectra/ui/FilterChoiceControl.d.ts.map +1 -1
  1465. package/lib/spectra/ui/FilterChoiceControl.js +3 -30
  1466. package/lib/spectra/ui/FilterChoiceControl.js.map +1 -1
  1467. package/lib/spectra/ui/FilterFieldControl.d.ts +5 -2
  1468. package/lib/spectra/ui/FilterFieldControl.d.ts.map +1 -1
  1469. package/lib/spectra/ui/FilterFieldControl.js +5 -37
  1470. package/lib/spectra/ui/FilterFieldControl.js.map +1 -1
  1471. package/lib/spectra/ui/FilterRow.d.ts +2 -1
  1472. package/lib/spectra/ui/FilterRow.d.ts.map +1 -1
  1473. package/lib/spectra/ui/FilterRow.js +8 -10
  1474. package/lib/spectra/ui/FilterRow.js.map +1 -1
  1475. package/lib/spectra/ui/MatrixFilterRows.d.ts +2 -1
  1476. package/lib/spectra/ui/MatrixFilterRows.d.ts.map +1 -1
  1477. package/lib/spectra/ui/MatrixFilterRows.js +27 -36
  1478. package/lib/spectra/ui/MatrixFilterRows.js.map +1 -1
  1479. package/lib/spectra/ui/NormalizationEditor.d.ts +2 -1
  1480. package/lib/spectra/ui/NormalizationEditor.d.ts.map +1 -1
  1481. package/lib/spectra/ui/NormalizationEditor.js +9 -18
  1482. package/lib/spectra/ui/NormalizationEditor.js.map +1 -1
  1483. package/lib/spectra/ui/NumberField.d.ts +2 -1
  1484. package/lib/spectra/ui/NumberField.d.ts.map +1 -1
  1485. package/lib/spectra/ui/NumberField.js +2 -16
  1486. package/lib/spectra/ui/NumberField.js.map +1 -1
  1487. package/lib/spectra/ui/PostProcessingEditor.d.ts +2 -1
  1488. package/lib/spectra/ui/PostProcessingEditor.d.ts.map +1 -1
  1489. package/lib/spectra/ui/PostProcessingEditor.js +4 -4
  1490. package/lib/spectra/ui/PostProcessingEditor.js.map +1 -1
  1491. package/lib/spectra/ui/PrincipalComponentSelect.d.ts +5 -0
  1492. package/lib/spectra/ui/PrincipalComponentSelect.d.ts.map +1 -1
  1493. package/lib/spectra/ui/PrincipalComponentSelect.js +7 -30
  1494. package/lib/spectra/ui/PrincipalComponentSelect.js.map +1 -1
  1495. package/lib/spectra/ui/ProblemList.d.ts +7 -1
  1496. package/lib/spectra/ui/ProblemList.d.ts.map +1 -1
  1497. package/lib/spectra/ui/ProblemList.js +6 -4
  1498. package/lib/spectra/ui/ProblemList.js.map +1 -1
  1499. package/lib/spectra/ui/RangeRows.d.ts +2 -1
  1500. package/lib/spectra/ui/RangeRows.d.ts.map +1 -1
  1501. package/lib/spectra/ui/RangeRows.js +31 -60
  1502. package/lib/spectra/ui/RangeRows.js.map +1 -1
  1503. package/lib/spectra/ui/ScaleFields.d.ts +2 -1
  1504. package/lib/spectra/ui/ScaleFields.d.ts.map +1 -1
  1505. package/lib/spectra/ui/ScaleFields.js +6 -35
  1506. package/lib/spectra/ui/ScaleFields.js.map +1 -1
  1507. package/lib/spectra/ui/SettingsPart.d.ts +2 -1
  1508. package/lib/spectra/ui/SettingsPart.d.ts.map +1 -1
  1509. package/lib/spectra/ui/SettingsPart.js +6 -9
  1510. package/lib/spectra/ui/SettingsPart.js.map +1 -1
  1511. package/lib/spectra/ui/SpectraSettingsEditor.d.ts +5 -0
  1512. package/lib/spectra/ui/SpectraSettingsEditor.d.ts.map +1 -1
  1513. package/lib/spectra/ui/SpectraSettingsEditor.js +2 -2
  1514. package/lib/spectra/ui/SpectraSettingsEditor.js.map +1 -1
  1515. package/lib/spectra/ui/SpectrumSelection.d.ts +2 -1
  1516. package/lib/spectra/ui/SpectrumSelection.d.ts.map +1 -1
  1517. package/lib/spectra/ui/SpectrumSelection.js +2 -19
  1518. package/lib/spectra/ui/SpectrumSelection.js.map +1 -1
  1519. package/lib/spectra/ui/XWindowFields.d.ts +26 -0
  1520. package/lib/spectra/ui/XWindowFields.d.ts.map +1 -0
  1521. package/lib/spectra/ui/XWindowFields.js +24 -0
  1522. package/lib/spectra/ui/XWindowFields.js.map +1 -0
  1523. package/lib/spectra/ui/ZoneRows.d.ts +10 -15
  1524. package/lib/spectra/ui/ZoneRows.d.ts.map +1 -1
  1525. package/lib/spectra/ui/ZoneRows.js +23 -57
  1526. package/lib/spectra/ui/ZoneRows.js.map +1 -1
  1527. package/lib/spectra/ui/fieldStyles.d.ts +54 -0
  1528. package/lib/spectra/ui/fieldStyles.d.ts.map +1 -0
  1529. package/lib/spectra/ui/fieldStyles.js +61 -0
  1530. package/lib/spectra/ui/fieldStyles.js.map +1 -0
  1531. package/lib/spectra/ui/problemsAbout.d.ts +8 -8
  1532. package/lib/spectra/ui/problemsAbout.d.ts.map +1 -1
  1533. package/lib/spectra/ui/problemsAbout.js +8 -8
  1534. package/lib/spectra/ui/problemsAbout.js.map +1 -1
  1535. package/lib/spectra/ui/rowKeys.d.ts +24 -10
  1536. package/lib/spectra/ui/rowKeys.d.ts.map +1 -1
  1537. package/lib/spectra/ui/rowKeys.js +32 -16
  1538. package/lib/spectra/ui/rowKeys.js.map +1 -1
  1539. package/lib/spectra/ui/scaleOptions.d.ts +5 -0
  1540. package/lib/spectra/ui/scaleOptions.d.ts.map +1 -1
  1541. package/lib/spectra/ui/scaleOptions.js +11 -10
  1542. package/lib/spectra/ui/scaleOptions.js.map +1 -1
  1543. package/lib/spectra.d.ts +13 -0
  1544. package/lib/spectra.d.ts.map +1 -0
  1545. package/lib/spectra.js +13 -0
  1546. package/lib/spectra.js.map +1 -0
  1547. package/lib/state/core/index.d.ts +5 -0
  1548. package/lib/state/core/index.d.ts.map +1 -0
  1549. package/lib/state/core/index.js +3 -0
  1550. package/lib/state/core/index.js.map +1 -0
  1551. package/lib/state/core/mergeStored.d.ts.map +1 -0
  1552. package/lib/state/core/mergeStored.js.map +1 -0
  1553. package/lib/state/core/persistBucket.d.ts.map +1 -0
  1554. package/lib/state/core/persistBucket.js +36 -0
  1555. package/lib/state/core/persistBucket.js.map +1 -0
  1556. package/lib/state/core/persistSignalBucket.d.ts +51 -0
  1557. package/lib/state/core/persistSignalBucket.d.ts.map +1 -0
  1558. package/lib/state/core/persistSignalBucket.js +79 -0
  1559. package/lib/state/core/persistSignalBucket.js.map +1 -0
  1560. package/lib/state/core/storageEntry.d.ts +36 -0
  1561. package/lib/state/core/storageEntry.d.ts.map +1 -0
  1562. package/lib/state/core/storageEntry.js +93 -0
  1563. package/lib/state/core/storageEntry.js.map +1 -0
  1564. package/lib/structure/core/atomLabels.d.ts +41 -0
  1565. package/lib/structure/core/atomLabels.d.ts.map +1 -0
  1566. package/lib/structure/core/atomLabels.js +43 -0
  1567. package/lib/structure/core/atomLabels.js.map +1 -0
  1568. package/lib/structure/core/editorValue.d.ts +5 -1
  1569. package/lib/structure/core/editorValue.d.ts.map +1 -1
  1570. package/lib/structure/core/editorValue.js.map +1 -1
  1571. package/lib/structure/core/index.d.ts +7 -2
  1572. package/lib/structure/core/index.d.ts.map +1 -1
  1573. package/lib/structure/core/index.js +4 -2
  1574. package/lib/structure/core/index.js.map +1 -1
  1575. package/lib/structure/core/readStructure.d.ts +1 -0
  1576. package/lib/structure/core/readStructure.d.ts.map +1 -1
  1577. package/lib/structure/core/readStructure.js.map +1 -1
  1578. package/lib/structure/core/structureError.d.ts +25 -0
  1579. package/lib/structure/core/structureError.d.ts.map +1 -0
  1580. package/lib/structure/core/structureError.js +47 -0
  1581. package/lib/structure/core/structureError.js.map +1 -0
  1582. package/lib/structure/core/structureSource.d.ts +20 -5
  1583. package/lib/structure/core/structureSource.d.ts.map +1 -1
  1584. package/lib/structure/core/structureSource.js.map +1 -1
  1585. package/lib/structure/ui/EditorCanvas.d.ts +2 -1
  1586. package/lib/structure/ui/EditorCanvas.d.ts.map +1 -1
  1587. package/lib/structure/ui/Structure.d.ts +32 -0
  1588. package/lib/structure/ui/Structure.d.ts.map +1 -1
  1589. package/lib/structure/ui/Structure.js +2 -2
  1590. package/lib/structure/ui/Structure.js.map +1 -1
  1591. package/lib/structure/ui/StructureEditor.d.ts +9 -2
  1592. package/lib/structure/ui/StructureEditor.d.ts.map +1 -1
  1593. package/lib/structure/ui/StructureEditor.js +3 -2
  1594. package/lib/structure/ui/StructureEditor.js.map +1 -1
  1595. package/lib/structure/ui/StructurePlaceholder.d.ts +2 -1
  1596. package/lib/structure/ui/StructurePlaceholder.d.ts.map +1 -1
  1597. package/lib/structure/ui/StructurePlaceholder.js +2 -1
  1598. package/lib/structure/ui/StructurePlaceholder.js.map +1 -1
  1599. package/lib/structure/ui/StructureSvg.d.ts +27 -6
  1600. package/lib/structure/ui/StructureSvg.d.ts.map +1 -1
  1601. package/lib/structure/ui/StructureSvg.js +60 -19
  1602. package/lib/structure/ui/StructureSvg.js.map +1 -1
  1603. package/lib/structure/ui/useToolbarFloor.d.ts +1 -0
  1604. package/lib/structure/ui/useToolbarFloor.d.ts.map +1 -1
  1605. package/lib/structure/ui/useToolbarFloor.js.map +1 -1
  1606. package/lib/tokens/core/checkTokens.d.ts +12 -4
  1607. package/lib/tokens/core/checkTokens.d.ts.map +1 -1
  1608. package/lib/tokens/core/checkTokens.js +29 -43
  1609. package/lib/tokens/core/checkTokens.js.map +1 -1
  1610. package/lib/tokens/core/colors.d.ts +2 -1
  1611. package/lib/tokens/core/colors.d.ts.map +1 -1
  1612. package/lib/tokens/core/cssReading.d.ts +62 -0
  1613. package/lib/tokens/core/cssReading.d.ts.map +1 -0
  1614. package/lib/tokens/core/cssReading.js +129 -0
  1615. package/lib/tokens/core/cssReading.js.map +1 -0
  1616. package/lib/tokens/core/familyTokens.d.ts +60 -0
  1617. package/lib/tokens/core/familyTokens.d.ts.map +1 -0
  1618. package/lib/tokens/core/familyTokens.js +63 -0
  1619. package/lib/tokens/core/familyTokens.js.map +1 -0
  1620. package/lib/tokens/core/index.d.ts +4 -1
  1621. package/lib/tokens/core/index.d.ts.map +1 -1
  1622. package/lib/tokens/core/index.js +1 -0
  1623. package/lib/tokens/core/index.js.map +1 -1
  1624. package/lib/tokens/core/rules.d.ts +3 -2
  1625. package/lib/tokens/core/rules.d.ts.map +1 -1
  1626. package/lib/tokens/core/types.d.ts +3 -0
  1627. package/lib/tokens/core/types.d.ts.map +1 -0
  1628. package/lib/tokens/core/types.js +2 -0
  1629. package/lib/tokens/core/types.js.map +1 -0
  1630. package/lib/ui.d.ts +4 -2
  1631. package/lib/ui.d.ts.map +1 -1
  1632. package/lib/ui.js +3 -2
  1633. package/lib/ui.js.map +1 -1
  1634. package/lib/worker/core/chunks.d.ts +58 -0
  1635. package/lib/worker/core/chunks.d.ts.map +1 -0
  1636. package/lib/worker/core/chunks.js +77 -0
  1637. package/lib/worker/core/chunks.js.map +1 -0
  1638. package/lib/worker/core/index.d.ts +6 -2
  1639. package/lib/worker/core/index.d.ts.map +1 -1
  1640. package/lib/worker/core/index.js +2 -0
  1641. package/lib/worker/core/index.js.map +1 -1
  1642. package/lib/worker/core/messages.d.ts +46 -4
  1643. package/lib/worker/core/messages.d.ts.map +1 -1
  1644. package/lib/worker/core/messages.js +42 -1
  1645. package/lib/worker/core/messages.js.map +1 -1
  1646. package/lib/worker/core/serveWorkerRequests.d.ts +45 -0
  1647. package/lib/worker/core/serveWorkerRequests.d.ts.map +1 -0
  1648. package/lib/worker/core/serveWorkerRequests.js +88 -0
  1649. package/lib/worker/core/serveWorkerRequests.js.map +1 -0
  1650. package/lib/worker/core/workerChannel.d.ts +12 -61
  1651. package/lib/worker/core/workerChannel.d.ts.map +1 -1
  1652. package/lib/worker/core/workerChannel.js +175 -88
  1653. package/lib/worker/core/workerChannel.js.map +1 -1
  1654. package/lib/worker/core/workerChannelParts.d.ts +105 -0
  1655. package/lib/worker/core/workerChannelParts.d.ts.map +1 -0
  1656. package/lib/worker/core/workerChannelParts.js +93 -0
  1657. package/lib/worker/core/workerChannelParts.js.map +1 -0
  1658. package/lib/worker/core/workerChannelTypes.d.ts +118 -0
  1659. package/lib/worker/core/workerChannelTypes.d.ts.map +1 -0
  1660. package/lib/worker/core/workerChannelTypes.js +2 -0
  1661. package/lib/worker/core/workerChannelTypes.js.map +1 -0
  1662. package/package.json +15 -6
  1663. package/src/about/core/about.ts +32 -0
  1664. package/src/about/core/index.ts +3 -1
  1665. package/src/about/core/providers.ts +45 -0
  1666. package/src/about/ui/AboutCitations.tsx +10 -36
  1667. package/src/about/ui/AboutPage.tsx +37 -8
  1668. package/src/about/ui/AboutProvidedBy.tsx +165 -0
  1669. package/src/about/ui/index.ts +2 -0
  1670. package/src/capsule/ui/CapsuleFilter.tsx +167 -42
  1671. package/src/capsule/ui/index.ts +8 -1
  1672. package/src/chart/core/chartAxisPair.ts +47 -0
  1673. package/src/chart/core/chartAxisScale.ts +4 -8
  1674. package/src/chart/core/chartBins.ts +2 -6
  1675. package/src/chart/core/chartGroups.ts +24 -0
  1676. package/src/chart/core/chartLabels.ts +4 -8
  1677. package/src/chart/core/chartPalette.ts +7 -7
  1678. package/src/chart/core/chartScale.ts +17 -0
  1679. package/src/chart/core/matrix.ts +24 -0
  1680. package/src/chart/ui/ChartAxis.tsx +5 -2
  1681. package/src/chart/ui/ChartFrame.tsx +22 -31
  1682. package/src/chart/ui/ChartSeriesMarks.tsx +6 -7
  1683. package/src/chart/ui/ChartTrackingLayer.tsx +2 -3
  1684. package/src/chart/ui/TrackedLineChart.tsx +17 -2
  1685. package/src/chart/ui/TrackedStickChart.tsx +8 -3
  1686. package/src/chart/ui/chartFrameGeometry.ts +53 -0
  1687. package/src/chart/ui/index.ts +3 -4
  1688. package/src/chart/ui/stickChartModel.ts +20 -23
  1689. package/src/chart/ui/useWheelZoom.ts +29 -43
  1690. package/src/chart/ui/wheelDwell.ts +123 -0
  1691. package/src/chrome/ui/NavLink.tsx +19 -3
  1692. package/src/chrome/ui/NavMenuButton.tsx +25 -4
  1693. package/src/chrome/ui/SiteHeader.tsx +23 -0
  1694. package/src/chrome/ui/navItem.ts +5 -3
  1695. package/src/citation/core/index.ts +1 -0
  1696. package/src/citation/core/openchemlibPaper.ts +33 -0
  1697. package/src/citation/core/platformPaper.ts +2 -2
  1698. package/src/clipboard/core/clipboardItem.ts +28 -0
  1699. package/src/clipboard/core/index.ts +3 -0
  1700. package/src/clipboard/core/writeBlobToClipboard.ts +43 -0
  1701. package/src/clipboard/core/writeToClipboard.ts +39 -7
  1702. package/src/clipboard/ui/CodeBlock.tsx +14 -10
  1703. package/src/clipboard/ui/CopyButton.tsx +53 -13
  1704. package/src/clipboard/ui/CopyableValue.tsx +138 -0
  1705. package/src/clipboard/ui/copyFeedback.ts +68 -0
  1706. package/src/clipboard/ui/index.ts +3 -1
  1707. package/src/clipboard/ui/useCopyToClipboard.ts +54 -26
  1708. package/src/color/core/hex.ts +19 -3
  1709. package/src/color/core/hsv.ts +5 -9
  1710. package/src/color/core/index.ts +2 -7
  1711. package/src/color/core/interpolate.ts +3 -6
  1712. package/src/color/core/scale.ts +5 -52
  1713. package/src/color/core/scaleText.ts +5 -4
  1714. package/src/color/ui/ColorScaleBar.tsx +7 -0
  1715. package/src/color/ui/ColorScaleEditor.tsx +17 -15
  1716. package/src/color/ui/ColorScaleEntry.tsx +67 -0
  1717. package/src/color/ui/ColorScaleLegend.tsx +86 -31
  1718. package/src/color/ui/ColorScaleSelect.tsx +19 -66
  1719. package/src/confirm/ui/ConfirmButton.tsx +83 -0
  1720. package/src/confirm/ui/index.ts +2 -0
  1721. package/src/core.ts +5 -1
  1722. package/src/credits/core/credits.ts +10 -3
  1723. package/src/credits/ui/CreditsList.tsx +4 -4
  1724. package/src/delimited/core/index.ts +6 -7
  1725. package/src/delimited/ui/DelimitedTextDialog.tsx +8 -1
  1726. package/src/delimited/ui/DelimitedTextPanel.tsx +15 -5
  1727. package/src/deploy/core/checkDeploy.ts +84 -0
  1728. package/src/deploy/core/composeDocument.ts +181 -0
  1729. package/src/deploy/core/composeFile.ts +195 -0
  1730. package/src/deploy/core/envExample.ts +46 -0
  1731. package/src/deploy/core/index.ts +8 -0
  1732. package/src/deploy/core/markers.ts +21 -0
  1733. package/src/deploy/core/types.ts +87 -0
  1734. package/src/disclosure/ui/CollapsibleSection.tsx +3 -5
  1735. package/src/download/ui/FigureDownloadPanel.tsx +14 -3
  1736. package/src/ecosystem/core/groups.ts +59 -0
  1737. package/src/ecosystem/core/index.ts +12 -3
  1738. package/src/ecosystem/core/lookup.ts +38 -0
  1739. package/src/ecosystem/core/nameColors.ts +50 -0
  1740. package/src/ecosystem/core/sites.ts +41 -72
  1741. package/src/ecosystem/core/tokens.ts +0 -11
  1742. package/src/ecosystem/core/types.ts +94 -0
  1743. package/src/ecosystem/ui/EcosystemButton.tsx +9 -2
  1744. package/src/ecosystem/ui/EcosystemLinks.tsx +67 -49
  1745. package/src/ecosystem/ui/EcosystemMenu.tsx +30 -37
  1746. package/src/ecosystem/ui/SiteGroupGrid.tsx +65 -0
  1747. package/src/ecosystem/ui/SiteGroupSection.tsx +64 -0
  1748. package/src/ecosystem/ui/SiteTheme.tsx +1 -0
  1749. package/src/ecosystem/ui/SiteTile.tsx +29 -9
  1750. package/src/ecosystem/ui/Wordmark.tsx +12 -12
  1751. package/src/ecosystem/ui/ecosystemStyles.ts +11 -0
  1752. package/src/ecosystem/ui/glyphs.tsx +29 -10
  1753. package/src/ecosystem/ui/marks.tsx +15 -1
  1754. package/src/error/core/index.ts +1 -0
  1755. package/src/error/{ui → core}/toError.ts +13 -3
  1756. package/src/error/ui/ErrorBoundary.tsx +2 -1
  1757. package/src/error/ui/index.ts +4 -1
  1758. package/src/format/core/clamp.ts +24 -0
  1759. package/src/format/core/index.ts +8 -0
  1760. package/src/format/core/numbers.ts +51 -13
  1761. package/src/format/core/relativeTime.ts +80 -0
  1762. package/src/format/core/roundTo.ts +27 -0
  1763. package/src/format/core/superscript.ts +22 -0
  1764. package/src/format/core/units.ts +53 -6
  1765. package/src/help/ui/HelpBody.tsx +55 -19
  1766. package/src/help/ui/HelpIcon.tsx +30 -8
  1767. package/src/help/ui/HelpToolbarButton.tsx +2 -1
  1768. package/src/help/ui/HelpTooltip.tsx +7 -0
  1769. package/src/help/ui/helpName.ts +11 -0
  1770. package/src/hooks/ui/activationKey.ts +58 -0
  1771. package/src/hooks/ui/activeHeading.ts +30 -0
  1772. package/src/hooks/ui/asyncState.ts +38 -0
  1773. package/src/hooks/ui/documentListNavigation.ts +87 -0
  1774. package/src/hooks/ui/elementTarget.ts +18 -0
  1775. package/src/hooks/ui/index.ts +22 -0
  1776. package/src/hooks/ui/keyTargets.ts +73 -0
  1777. package/src/hooks/ui/listNavigation.ts +10 -16
  1778. package/src/hooks/ui/pollingController.ts +139 -0
  1779. package/src/hooks/ui/useActiveHeading.ts +73 -0
  1780. package/src/hooks/ui/useAsync.ts +44 -0
  1781. package/src/hooks/ui/useDocumentListNavigation.ts +70 -0
  1782. package/src/hooks/ui/usePolling.ts +97 -0
  1783. package/src/hooks/ui/useResizeObserver.ts +9 -5
  1784. package/src/molecule3d/core/exportImage.ts +50 -0
  1785. package/src/molecule3d/core/gestures.ts +35 -0
  1786. package/src/molecule3d/core/index.ts +35 -0
  1787. package/src/molecule3d/core/measurement.ts +43 -0
  1788. package/src/molecule3d/core/settings.ts +214 -0
  1789. package/src/molecule3d/ui/Molecule3DExport.tsx +65 -0
  1790. package/src/molecule3d/ui/Molecule3DHelp.tsx +77 -0
  1791. package/src/molecule3d/ui/Molecule3DOptions.tsx +168 -0
  1792. package/src/molecule3d/ui/Molecule3DSurfaceColors.tsx +150 -0
  1793. package/src/molecule3d/ui/Molecule3DToolbar.tsx +190 -0
  1794. package/src/molecule3d/ui/MoleculeCanvas3D.tsx +235 -0
  1795. package/src/molecule3d/ui/MoleculeViewer3D.tsx +84 -0
  1796. package/src/molecule3d/ui/camera.ts +76 -0
  1797. package/src/molecule3d/ui/drawScene.ts +43 -0
  1798. package/src/molecule3d/ui/exportMoleculeImage.ts +49 -0
  1799. package/src/molecule3d/ui/index.ts +11 -0
  1800. package/src/molecule3d/ui/measurements.ts +178 -0
  1801. package/src/molecule3d/ui/molecule3dIcons.tsx +108 -0
  1802. package/src/molecule3d/ui/moleculeViewer3DProps.ts +98 -0
  1803. package/src/molecule3d/ui/polarityColorTheme.ts +125 -0
  1804. package/src/molecule3d/ui/renderMolecule.ts +179 -0
  1805. package/src/molecule3d/ui/renderSurface.ts +88 -0
  1806. package/src/molecule3d/ui/useControlledState.ts +31 -0
  1807. package/src/molecule3d/ui/useImageExport.ts +50 -0
  1808. package/src/molecule3d/ui/usePolarSurfaceArea.ts +47 -0
  1809. package/src/molecule3d/ui/viewer.ts +240 -0
  1810. package/src/molecule3d/ui/viewerTypes.ts +60 -0
  1811. package/src/molecule3d.ts +11 -0
  1812. package/src/orbital/core/atomicGrid.ts +3 -2
  1813. package/src/orbital/core/atomicOrbitals.ts +2 -5
  1814. package/src/orbital/core/constants.ts +3 -0
  1815. package/src/orbital/core/electronConfiguration.ts +29 -40
  1816. package/src/orbital/core/grid.ts +3 -0
  1817. package/src/orbital/core/index.ts +5 -0
  1818. package/src/orbital/core/isovalue.ts +3 -2
  1819. package/src/orbital/core/occupancy.ts +2 -4
  1820. package/src/orbital/core/palette.ts +10 -6
  1821. package/src/orbital/core/radialDistribution.ts +97 -0
  1822. package/src/orbital/core/realHarmonics.ts +3 -3
  1823. package/src/orbital/ui/AtomicOrbitalCanvas.tsx +35 -112
  1824. package/src/orbital/ui/AtomicOrbitalControls.tsx +81 -0
  1825. package/src/orbital/ui/AtomicOrbitalViewer.tsx +22 -22
  1826. package/src/orbital/ui/RadialPlot.tsx +183 -0
  1827. package/src/orbital/ui/RadialPlotMarks.tsx +129 -0
  1828. package/src/orbital/ui/camera.ts +1 -1
  1829. package/src/orbital/ui/index.ts +3 -1
  1830. package/src/orbital/ui/orbitalCanvasHelpers.ts +42 -0
  1831. package/src/orbital/ui/orbitalPluginSpec.ts +47 -0
  1832. package/src/orbital/ui/radialPlotGeometry.ts +131 -0
  1833. package/src/orbital/ui/renderAxes.ts +14 -14
  1834. package/src/orbital/ui/renderVolume.ts +13 -13
  1835. package/src/orbital/ui/serial.ts +1 -1
  1836. package/src/orbital/ui/viewer.ts +6 -36
  1837. package/src/orbital.ts +5 -4
  1838. package/src/overlay/core/index.ts +2 -1
  1839. package/src/overlay/core/overlayCollapse.ts +32 -0
  1840. package/src/overlay/core/placeOverlayCard.ts +3 -3
  1841. package/src/overlay/ui/OverlayBar.tsx +6 -12
  1842. package/src/overlay/ui/OverlayBarButton.tsx +2 -1
  1843. package/src/overlay/ui/OverlayBarCard.tsx +1 -1
  1844. package/src/overlay/ui/OverlayChip.tsx +3 -6
  1845. package/src/overlay/ui/OverlayIconButton.tsx +6 -8
  1846. package/src/overlay/ui/OverlayLayer.tsx +2 -3
  1847. package/src/overlay/ui/OverlayLegend.tsx +2 -1
  1848. package/src/overlay/ui/OverlayNumber.tsx +13 -9
  1849. package/src/overlay/ui/OverlayPanel.tsx +8 -7
  1850. package/src/overlay/ui/OverlayRow.tsx +6 -2
  1851. package/src/overlay/ui/OverlayToggle.tsx +1 -0
  1852. package/src/overlay/ui/OverlayValueButton.tsx +5 -10
  1853. package/src/overlay/ui/overlayBarShape.ts +1 -60
  1854. package/src/overlay/ui/overlayControlStyles.ts +13 -3
  1855. package/src/overlay/ui/overlayPanelContext.ts +3 -0
  1856. package/src/overlay/ui/overlayPanelStyles.ts +10 -4
  1857. package/src/overlay/ui/overlayPillStyles.ts +1 -1
  1858. package/src/overlay/ui/overlayRowStyles.ts +2 -2
  1859. package/src/overlay/ui/overlaySurface.ts +2 -0
  1860. package/src/overlay/ui/overlaySwitchStyles.ts +1 -1
  1861. package/src/overlay/ui/overlayValueStyles.ts +68 -54
  1862. package/src/overlay/ui/useOverlayInteraction.ts +46 -0
  1863. package/src/pedagogy/core/bucketProgressStore.ts +83 -0
  1864. package/src/pedagogy/core/glossary.ts +40 -16
  1865. package/src/pedagogy/core/glossarySearch.ts +67 -0
  1866. package/src/pedagogy/core/index.ts +16 -2
  1867. package/src/pedagogy/core/inlineMarks.ts +117 -0
  1868. package/src/pedagogy/core/progress.ts +48 -57
  1869. package/src/pedagogy/core/types.ts +4 -0
  1870. package/src/pedagogy/core/validation.ts +3 -0
  1871. package/src/pedagogy/ui/ExerciseActions.tsx +1 -0
  1872. package/src/pedagogy/ui/ExerciseProgressHeader.tsx +3 -1
  1873. package/src/pedagogy/ui/ExerciseTags.tsx +18 -2
  1874. package/src/pedagogy/ui/GlossaryDefinition.tsx +136 -0
  1875. package/src/pedagogy/ui/GlossaryIndex.tsx +171 -0
  1876. package/src/pedagogy/ui/GlossaryProvider.tsx +36 -8
  1877. package/src/pedagogy/ui/GlossaryText.tsx +62 -113
  1878. package/src/pedagogy/ui/HintLadder.tsx +11 -3
  1879. package/src/pedagogy/ui/InlineText.tsx +39 -0
  1880. package/src/pedagogy/ui/ReferenceGrid.tsx +4 -5
  1881. package/src/pedagogy/ui/ReferenceSectionBlock.tsx +19 -17
  1882. package/src/pedagogy/ui/SyntaxTooltip.tsx +32 -28
  1883. package/src/pedagogy/ui/TestCaseList.tsx +5 -3
  1884. package/src/pedagogy/ui/TutorialStepStrip.tsx +14 -10
  1885. package/src/pedagogy/ui/exampleText.ts +18 -0
  1886. package/src/pedagogy/ui/glossaryContext.ts +26 -6
  1887. package/src/pedagogy/ui/index.ts +14 -1
  1888. package/src/pedagogy/ui/inlineSegments.tsx +69 -0
  1889. package/src/pedagogy/ui/pedagogyStyle.ts +53 -0
  1890. package/src/periodic/core/categories.ts +1 -1
  1891. package/src/periodic/core/elements.ts +2 -0
  1892. package/src/periodic/core/layout.ts +16 -10
  1893. package/src/periodic/ui/CategoryLegend.tsx +9 -3
  1894. package/src/periodic/ui/ElementCell.tsx +9 -1
  1895. package/src/periodic/ui/PeriodicTable.tsx +10 -3
  1896. package/src/periodic/ui/PeriodicTableChrome.tsx +6 -5
  1897. package/src/projection/core/explainedShares.ts +1 -1
  1898. package/src/projection/core/fillCopy.ts +21 -0
  1899. package/src/projection/core/index.ts +12 -10
  1900. package/src/projection/core/loadingProfiles.ts +10 -4
  1901. package/src/projection/core/mergeProjectionCopy.ts +39 -0
  1902. package/src/projection/core/pcaColumns.ts +84 -0
  1903. package/src/projection/core/pcaLike.ts +30 -4
  1904. package/src/projection/core/pcaResult.ts +17 -45
  1905. package/src/projection/core/projectionCopy.ts +50 -65
  1906. package/src/projection/core/projectionOptions.ts +0 -131
  1907. package/src/projection/core/projectionPanelWords.ts +152 -0
  1908. package/src/projection/core/projectionResult.ts +1 -1
  1909. package/src/projection/core/projectionStrings.ts +0 -52
  1910. package/src/projection/core/resolveProjectionOptions.ts +132 -0
  1911. package/src/projection/core/variableAxis.ts +5 -14
  1912. package/src/projection/ui/ProjectionBar.tsx +3 -3
  1913. package/src/projection/ui/ProjectionMapCaption.tsx +1 -1
  1914. package/src/projection/ui/ProjectionMapControls.tsx +8 -32
  1915. package/src/projection/ui/ProjectionMapLegend.tsx +1 -1
  1916. package/src/projection/ui/ProjectionMapMore.tsx +23 -55
  1917. package/src/projection/ui/ProjectionMapTab.tsx +2 -2
  1918. package/src/projection/ui/ProjectionPairsControls.tsx +1 -1
  1919. package/src/projection/ui/ProjectionPairsMore.tsx +5 -6
  1920. package/src/projection/ui/ProjectionPairsTab.tsx +5 -4
  1921. package/src/projection/ui/ProjectionPanel.tsx +3 -3
  1922. package/src/projection/ui/ProjectionReadout.tsx +1 -1
  1923. package/src/projection/ui/ProjectionSharesAxis.tsx +67 -0
  1924. package/src/projection/ui/ProjectionSharesMarks.tsx +36 -78
  1925. package/src/projection/ui/ProjectionSharesMore.tsx +3 -7
  1926. package/src/projection/ui/ProjectionSharesTab.tsx +4 -2
  1927. package/src/projection/ui/ProjectionSpaceControls.tsx +18 -34
  1928. package/src/projection/ui/ProjectionSpaceMore.tsx +34 -57
  1929. package/src/projection/ui/ProjectionSpaceTab.tsx +2 -2
  1930. package/src/projection/ui/ProjectionSurface.tsx +1 -1
  1931. package/src/projection/ui/ProjectionTabStrip.tsx +40 -7
  1932. package/src/projection/ui/ProjectionVariablesControls.tsx +1 -1
  1933. package/src/projection/ui/ProjectionVariablesMore.tsx +12 -30
  1934. package/src/projection/ui/ProjectionVariablesTab.tsx +2 -4
  1935. package/src/projection/ui/ProjectionViewer.tsx +6 -13
  1936. package/src/projection/ui/projectionAxisChoices.ts +31 -0
  1937. package/src/projection/ui/projectionBarReadings.ts +31 -10
  1938. package/src/projection/ui/projectionBarSlots.tsx +2 -2
  1939. package/src/projection/ui/projectionBarStyles.ts +2 -2
  1940. package/src/projection/ui/projectionEllipse.ts +57 -17
  1941. package/src/projection/ui/projectionFormat.ts +3 -1
  1942. package/src/projection/ui/projectionMapChoices.ts +6 -4
  1943. package/src/projection/ui/projectionMapChrome.ts +18 -23
  1944. package/src/projection/ui/projectionMapModel.ts +2 -4
  1945. package/src/projection/ui/projectionMapView.ts +1 -1
  1946. package/src/projection/ui/projectionPairsCeiling.ts +1 -1
  1947. package/src/projection/ui/projectionTabInfo.ts +7 -8
  1948. package/src/projection/ui/projectionTabModels.ts +8 -3
  1949. package/src/projection/ui/projectionVariablesModel.ts +6 -5
  1950. package/src/projection/ui/projectionVariablesWords.ts +1 -1
  1951. package/src/projection/ui/projectionViewChoices.ts +4 -9
  1952. package/src/projection/ui/projectionViewerProps.ts +2 -1
  1953. package/src/projection/ui/projectionWordChoices.ts +66 -0
  1954. package/src/projection/ui/useProjectionState.ts +2 -2
  1955. package/src/router/core/address.ts +24 -8
  1956. package/src/router/core/basePath.ts +4 -2
  1957. package/src/router/core/history.ts +160 -0
  1958. package/src/router/core/index.ts +18 -6
  1959. package/src/router/core/query.ts +77 -20
  1960. package/src/router/core/siteAddresses.ts +98 -0
  1961. package/src/router/core/tabRouter.ts +23 -6
  1962. package/src/router/ui/index.ts +1 -0
  1963. package/src/router/ui/useTabRoute.ts +35 -0
  1964. package/src/scatter/core/confidenceEllipse.ts +80 -109
  1965. package/src/scatter/core/ellipseAxes.ts +85 -0
  1966. package/src/scatter/core/ellipseProjection.ts +1 -1
  1967. package/src/scatter/core/index.ts +12 -2
  1968. package/src/scatter/core/lassoPath.ts +3 -2
  1969. package/src/scatter/core/scatterGroupMoments.ts +127 -0
  1970. package/src/scatter/core/scatterGroupSpread.ts +131 -0
  1971. package/src/scatter/core/screenPoints.ts +38 -1
  1972. package/src/scatter/ui/ScatterEllipseLayer.tsx +24 -68
  1973. package/src/scatter/ui/ScatterLabelLayer.tsx +8 -12
  1974. package/src/scatter/ui/ScatterMarkLayer.tsx +7 -35
  1975. package/src/scatter/ui/ScatterMatrix.tsx +9 -17
  1976. package/src/scatter/ui/ScatterMatrixCell.tsx +1 -1
  1977. package/src/scatter/ui/ScatterMatrixDiagonal.tsx +3 -2
  1978. package/src/scatter/ui/ScatterOverlayLayers.tsx +40 -0
  1979. package/src/scatter/ui/ScatterPlot.tsx +35 -126
  1980. package/src/scatter/ui/ScatterPointLayer.tsx +28 -15
  1981. package/src/scatter/ui/index.ts +11 -17
  1982. package/src/scatter/ui/scatterFigureProps.ts +191 -0
  1983. package/src/scatter/ui/scatterInteractionTypes.ts +127 -0
  1984. package/src/scatter/ui/scatterLabels.ts +4 -15
  1985. package/src/scatter/ui/scatterMarkGlyph.tsx +7 -8
  1986. package/src/scatter/ui/scatterMatrixDots.tsx +20 -16
  1987. package/src/scatter/ui/scatterMatrixLayout.ts +1 -1
  1988. package/src/scatter/ui/scatterMatrixOutlines.tsx +1 -1
  1989. package/src/scatter/ui/scatterMatrixProps.ts +8 -2
  1990. package/src/scatter/ui/scatterOutlineShape.tsx +12 -13
  1991. package/src/scatter/ui/scatterPlotModel.ts +59 -35
  1992. package/src/scatter/ui/scatterPlotProps.ts +13 -177
  1993. package/src/scatter/ui/useCapturedPointer.ts +157 -0
  1994. package/src/scatter/ui/useLassoGesture.ts +58 -118
  1995. package/src/scatter/ui/useScatterFrame.ts +5 -24
  1996. package/src/scatter/ui/useScatterInteraction.ts +35 -101
  1997. package/src/scatter/ui/useScatterLabels.ts +88 -0
  1998. package/src/scatter3d/core/confidenceEllipsoid.ts +35 -73
  1999. package/src/scatter3d/core/ellipsoidSilhouette.ts +9 -15
  2000. package/src/scatter3d/core/index.ts +4 -4
  2001. package/src/scatter3d/ui/CloudFrameLayer.tsx +6 -1
  2002. package/src/scatter3d/ui/CloudShellLayer.tsx +5 -6
  2003. package/src/scatter3d/ui/ScatterCloud.tsx +52 -117
  2004. package/src/scatter3d/ui/cloudGeometry.ts +44 -21
  2005. package/src/scatter3d/ui/cloudShellStyles.ts +9 -10
  2006. package/src/scatter3d/ui/cloudZoom.ts +3 -2
  2007. package/src/scatter3d/ui/index.ts +1 -3
  2008. package/src/scatter3d/ui/orbitDragTrack.ts +133 -0
  2009. package/src/scatter3d/ui/scatterCloudModel.ts +6 -5
  2010. package/src/scatter3d/ui/scatterCloudProps.ts +10 -110
  2011. package/src/scatter3d/ui/useOrbitDrag.ts +63 -125
  2012. package/src/seo/core/documentMeta.ts +3 -6
  2013. package/src/seo/core/index.ts +5 -12
  2014. package/src/seo/core/noscript.ts +4 -2
  2015. package/src/seo/core/plainDescription.ts +107 -0
  2016. package/src/seo/core/routes.ts +34 -29
  2017. package/src/seo/core/siteFiles.ts +1 -1
  2018. package/src/seo/core/startDocumentMeta.ts +3 -4
  2019. package/src/seo/core/trackingScript.ts +25 -0
  2020. package/src/seo/vite/ogCard.ts +11 -9
  2021. package/src/seo/vite/prerender.ts +2 -1
  2022. package/src/share/core/config.ts +24 -1
  2023. package/src/share/core/index.ts +17 -0
  2024. package/src/share/core/params.ts +54 -0
  2025. package/src/share/core/preferences.ts +211 -0
  2026. package/src/share/core/presets.ts +89 -0
  2027. package/src/share/core/vocabulary.ts +8 -0
  2028. package/src/share/ui/ShareButton.tsx +8 -2
  2029. package/src/share/ui/ShareConfigOptions.tsx +68 -0
  2030. package/src/share/ui/ShareDialog.tsx +19 -1
  2031. package/src/share/ui/ShareDialogContent.tsx +64 -39
  2032. package/src/share/ui/SharePresetTabs.tsx +70 -0
  2033. package/src/shared/ui/MenuButton.tsx +1 -0
  2034. package/src/shared/ui/joinClassNames.ts +20 -0
  2035. package/src/slides/core/familyFrame.ts +44 -0
  2036. package/src/slides/core/index.ts +1 -6
  2037. package/src/slides/ui/BackToSlides.tsx +8 -2
  2038. package/src/slides/ui/EmbedSlide.tsx +1 -13
  2039. package/src/slides/ui/SlideBody.tsx +21 -4
  2040. package/src/slides/ui/Slideshow.tsx +13 -50
  2041. package/src/slides/ui/SlideshowBar.tsx +4 -4
  2042. package/src/slides/ui/TalkList.tsx +8 -1
  2043. package/src/slides/ui/index.ts +1 -0
  2044. package/src/slides/ui/slideSanitizeSchema.ts +29 -0
  2045. package/src/slides/ui/useSlideshowFullscreen.ts +59 -0
  2046. package/src/spectra/core/axisEntries.ts +17 -0
  2047. package/src/spectra/core/chainProblems.ts +89 -50
  2048. package/src/spectra/core/filterCatalog.ts +4 -5
  2049. package/src/spectra/core/filterChain.ts +88 -23
  2050. package/src/spectra/core/filterEntries.ts +22 -7
  2051. package/src/spectra/core/index.ts +9 -8
  2052. package/src/spectra/core/matrixCatalog.ts +111 -0
  2053. package/src/spectra/core/principalComponents.ts +7 -21
  2054. package/src/spectra/core/problems.ts +43 -6
  2055. package/src/spectra/core/settings.ts +19 -16
  2056. package/src/spectra/core/settingsProblems.ts +64 -55
  2057. package/src/spectra/core/stepProblems.ts +34 -50
  2058. package/src/spectra/core/zones.ts +64 -0
  2059. package/src/spectra/ui/CalculationRows.tsx +45 -99
  2060. package/src/spectra/ui/EditableRows.tsx +118 -0
  2061. package/src/spectra/ui/FilterChainEditor.tsx +26 -55
  2062. package/src/spectra/ui/FilterChoiceControl.tsx +12 -36
  2063. package/src/spectra/ui/FilterFieldControl.tsx +6 -39
  2064. package/src/spectra/ui/FilterRow.tsx +10 -21
  2065. package/src/spectra/ui/MatrixFilterRows.tsx +40 -50
  2066. package/src/spectra/ui/NormalizationEditor.tsx +13 -35
  2067. package/src/spectra/ui/NumberField.tsx +5 -20
  2068. package/src/spectra/ui/PostProcessingEditor.tsx +5 -5
  2069. package/src/spectra/ui/PrincipalComponentSelect.tsx +18 -33
  2070. package/src/spectra/ui/ProblemList.tsx +22 -8
  2071. package/src/spectra/ui/RangeRows.tsx +46 -125
  2072. package/src/spectra/ui/ScaleFields.tsx +16 -67
  2073. package/src/spectra/ui/SettingsPart.tsx +8 -13
  2074. package/src/spectra/ui/SpectraSettingsEditor.tsx +8 -2
  2075. package/src/spectra/ui/SpectrumSelection.tsx +10 -25
  2076. package/src/spectra/ui/XWindowFields.tsx +73 -0
  2077. package/src/spectra/ui/ZoneRows.tsx +41 -106
  2078. package/src/spectra/ui/fieldStyles.ts +72 -0
  2079. package/src/spectra/ui/problemsAbout.ts +9 -11
  2080. package/src/spectra/ui/rowKeys.ts +51 -20
  2081. package/src/spectra/ui/scaleOptions.ts +16 -10
  2082. package/src/spectra.ts +13 -0
  2083. package/src/state/core/index.ts +11 -0
  2084. package/src/state/{ui → core}/persistBucket.ts +13 -62
  2085. package/src/state/core/persistSignalBucket.ts +118 -0
  2086. package/src/state/core/storageEntry.ts +93 -0
  2087. package/src/structure/core/atomLabels.ts +63 -0
  2088. package/src/structure/core/editorValue.ts +5 -1
  2089. package/src/structure/core/index.ts +11 -2
  2090. package/src/structure/core/readStructure.ts +1 -0
  2091. package/src/structure/core/structureError.ts +58 -0
  2092. package/src/structure/core/structureSource.ts +20 -5
  2093. package/src/structure/ui/EditorCanvas.tsx +1 -1
  2094. package/src/structure/ui/Structure.tsx +41 -0
  2095. package/src/structure/ui/StructureEditor.tsx +13 -4
  2096. package/src/structure/ui/StructurePlaceholder.tsx +4 -2
  2097. package/src/structure/ui/StructureSvg.tsx +118 -42
  2098. package/src/structure/ui/useToolbarFloor.ts +1 -0
  2099. package/src/tokens/core/checkTokens.ts +48 -51
  2100. package/src/tokens/core/colors.ts +1 -1
  2101. package/src/tokens/core/cssReading.ts +166 -0
  2102. package/src/tokens/core/familyTokens.ts +69 -0
  2103. package/src/tokens/core/index.ts +9 -5
  2104. package/src/tokens/core/rules.ts +2 -2
  2105. package/src/tokens/core/types.ts +7 -0
  2106. package/src/ui.ts +8 -2
  2107. package/src/worker/core/chunks.ts +126 -0
  2108. package/src/worker/core/index.ts +20 -3
  2109. package/src/worker/core/messages.ts +79 -4
  2110. package/src/worker/core/serveWorkerRequests.ts +144 -0
  2111. package/src/worker/core/workerChannel.ts +209 -177
  2112. package/src/worker/core/workerChannelParts.ts +183 -0
  2113. package/src/worker/core/workerChannelTypes.ts +129 -0
  2114. package/styles/chrome.css +82 -0
  2115. package/lib/delimited/core/rowsToDelimited.d.ts +0 -59
  2116. package/lib/delimited/core/rowsToDelimited.d.ts.map +0 -1
  2117. package/lib/delimited/core/rowsToDelimited.js +0 -87
  2118. package/lib/delimited/core/rowsToDelimited.js.map +0 -1
  2119. package/lib/ecosystem/core/links.d.ts +0 -11
  2120. package/lib/ecosystem/core/links.d.ts.map +0 -1
  2121. package/lib/ecosystem/core/links.js +0 -28
  2122. package/lib/ecosystem/core/links.js.map +0 -1
  2123. package/lib/error/ui/toError.d.ts +0 -11
  2124. package/lib/error/ui/toError.d.ts.map +0 -1
  2125. package/lib/error/ui/toError.js.map +0 -1
  2126. package/lib/pedagogy/core/jsonStorage.d.ts +0 -21
  2127. package/lib/pedagogy/core/jsonStorage.d.ts.map +0 -1
  2128. package/lib/pedagogy/core/jsonStorage.js +0 -55
  2129. package/lib/pedagogy/core/jsonStorage.js.map +0 -1
  2130. package/lib/projection/ui/projectionCloudChoices.d.ts +0 -18
  2131. package/lib/projection/ui/projectionCloudChoices.d.ts.map +0 -1
  2132. package/lib/projection/ui/projectionCloudChoices.js +0 -19
  2133. package/lib/projection/ui/projectionCloudChoices.js.map +0 -1
  2134. package/lib/projection/ui/projectionEllipsoid.d.ts +0 -38
  2135. package/lib/projection/ui/projectionEllipsoid.d.ts.map +0 -1
  2136. package/lib/projection/ui/projectionEllipsoid.js +0 -71
  2137. package/lib/projection/ui/projectionEllipsoid.js.map +0 -1
  2138. package/lib/router/core/pageAddresses.d.ts +0 -50
  2139. package/lib/router/core/pageAddresses.d.ts.map +0 -1
  2140. package/lib/router/core/pageAddresses.js +0 -56
  2141. package/lib/router/core/pageAddresses.js.map +0 -1
  2142. package/lib/scatter/ui/scatterGroupSpread.d.ts.map +0 -1
  2143. package/lib/scatter/ui/scatterGroupSpread.js +0 -147
  2144. package/lib/scatter/ui/scatterGroupSpread.js.map +0 -1
  2145. package/lib/scatter3d/ui/CloudPointLayer.d.ts +0 -62
  2146. package/lib/scatter3d/ui/CloudPointLayer.d.ts.map +0 -1
  2147. package/lib/scatter3d/ui/CloudPointLayer.js +0 -67
  2148. package/lib/scatter3d/ui/CloudPointLayer.js.map +0 -1
  2149. package/lib/spectra/ui/matrixSteps.d.ts +0 -61
  2150. package/lib/spectra/ui/matrixSteps.d.ts.map +0 -1
  2151. package/lib/spectra/ui/matrixSteps.js +0 -92
  2152. package/lib/spectra/ui/matrixSteps.js.map +0 -1
  2153. package/lib/state/ui/index.d.ts +0 -3
  2154. package/lib/state/ui/index.d.ts.map +0 -1
  2155. package/lib/state/ui/index.js +0 -2
  2156. package/lib/state/ui/index.js.map +0 -1
  2157. package/lib/state/ui/mergeStored.d.ts.map +0 -1
  2158. package/lib/state/ui/mergeStored.js.map +0 -1
  2159. package/lib/state/ui/persistBucket.d.ts.map +0 -1
  2160. package/lib/state/ui/persistBucket.js +0 -90
  2161. package/lib/state/ui/persistBucket.js.map +0 -1
  2162. package/src/delimited/core/rowsToDelimited.ts +0 -135
  2163. package/src/ecosystem/core/links.ts +0 -29
  2164. package/src/pedagogy/core/jsonStorage.ts +0 -51
  2165. package/src/projection/ui/projectionCloudChoices.ts +0 -23
  2166. package/src/projection/ui/projectionEllipsoid.ts +0 -78
  2167. package/src/router/core/pageAddresses.ts +0 -106
  2168. package/src/scatter/ui/scatterGroupSpread.ts +0 -206
  2169. package/src/scatter3d/ui/CloudPointLayer.tsx +0 -132
  2170. package/src/spectra/ui/matrixSteps.ts +0 -128
  2171. package/src/state/ui/index.ts +0 -6
  2172. /package/lib/state/{ui → core}/mergeStored.d.ts +0 -0
  2173. /package/lib/state/{ui → core}/mergeStored.js +0 -0
  2174. /package/lib/state/{ui → core}/persistBucket.d.ts +0 -0
  2175. /package/src/state/{ui → core}/mergeStored.ts +0 -0
@@ -1,71 +0,0 @@
1
- /**
2
- * How large a group's shell is, in the words the cloud writes.
3
- *
4
- * It is the flat map's `projectionEllipse` with one dimension more, and the
5
- * two cannot share an implementation for the one reason worth having a second
6
- * module for: the same share is a different distance in three dimensions than
7
- * in two. A shell drawn where the map's 95 % outline is drawn holds about 74 %
8
- * of its group, so a cloud quoting the map's number promises a fifth of the
9
- * samples it does not contain.
10
- */
11
- import { coverageForStandardDeviations3 } from "../../scatter3d/core/ellipsoidCoverage.js";
12
- import { ellipseKey } from "./projectionEllipse.js";
13
- const WHOLE_SHARE = 100;
14
- /**
15
- * How much of a group its shell holds, written the way a sentence wants it.
16
- * @param size - How large the shells are, or `null` for none.
17
- * @returns The share, e.g. `95%`; the empty string when nothing is shelled.
18
- */
19
- export function ellipsoidCoverageText(size) {
20
- if (size === null)
21
- return '';
22
- const share = size.kind === 'coverage'
23
- ? size.probability
24
- : coverageForStandardDeviations3(size.standardDeviations);
25
- return `${Math.round(share * WHOLE_SHARE)}%`;
26
- }
27
- /**
28
- * What one choice of the cloud's shell picker reads.
29
- * @param size - The size that choice stands for, or `null` for no shells.
30
- * @returns The label, e.g. `95% of samples`, or `2 SD (about 74%)`.
31
- */
32
- export function ellipsoidSizeLabel(size) {
33
- if (size === null)
34
- return NO_SHELLS_LABEL;
35
- const share = ellipsoidCoverageText(size);
36
- if (size.kind === 'coverage')
37
- return `${share} of samples`;
38
- return `${size.standardDeviations} SD (about ${share})`;
39
- }
40
- /**
41
- * The sizes the cloud's picker offers, with the current one kept in the list.
42
- *
43
- * The same shares the map offers, because a share means the same thing in both
44
- * pictures — it is the distance it comes out at that differs, and that is the
45
- * geometry's business rather than the reader's. A size given in standard
46
- * deviations is the one place the difference shows, and it is written here
47
- * with the share a shell at that distance actually holds: two of them cover
48
- * 86 % of a flat group and 74 % of a solid one.
49
- * @param current - The size the cloud is drawn at, or `null` for no shells.
50
- * @returns The choices, in the order they are offered.
51
- */
52
- export function ellipsoidChoices(current) {
53
- const choices = [
54
- { value: ellipseKey(null), label: ellipsoidSizeLabel(null) },
55
- ];
56
- for (const probability of SHELL_SHARES) {
57
- const size = { kind: 'coverage', probability };
58
- choices.push({ value: ellipseKey(size), label: ellipsoidSizeLabel(size) });
59
- }
60
- const key = ellipseKey(current);
61
- for (const choice of choices) {
62
- if (choice.value === key)
63
- return choices;
64
- }
65
- choices.splice(1, 0, { value: key, label: ellipsoidSizeLabel(current) });
66
- return choices;
67
- }
68
- /* The same four the map offers, so the two pictures are set the same way. */
69
- const SHELL_SHARES = [0.5, 0.9, 0.95, 0.99];
70
- const NO_SHELLS_LABEL = 'No shells';
71
- //# sourceMappingURL=projectionEllipsoid.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"projectionEllipsoid.js","sourceRoot":"","sources":["../../../src/projection/ui/projectionEllipsoid.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2CAA2C,CAAC;AAE3F,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEpD,MAAM,WAAW,GAAG,GAAG,CAAC;AAExB;;;;GAIG;AACH,MAAM,UAAU,qBAAqB,CAAC,IAAwB;IAC5D,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,EAAE,CAAC;IAC7B,MAAM,KAAK,GACT,IAAI,CAAC,IAAI,KAAK,UAAU;QACtB,CAAC,CAAC,IAAI,CAAC,WAAW;QAClB,CAAC,CAAC,8BAA8B,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IAC9D,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,WAAW,CAAC,GAAG,CAAC;AAC/C,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAAC,IAAwB;IACzD,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,eAAe,CAAC;IAC1C,MAAM,KAAK,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;IAC1C,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU;QAAE,OAAO,GAAG,KAAK,aAAa,CAAC;IAC3D,OAAO,GAAG,IAAI,CAAC,kBAAkB,cAAc,KAAK,GAAG,CAAC;AAC1D,CAAC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,gBAAgB,CAAC,OAA2B;IAC1D,MAAM,OAAO,GAAoB;QAC/B,EAAE,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE;KAC7D,CAAC;IACF,KAAK,MAAM,WAAW,IAAI,YAAY,EAAE,CAAC;QACvC,MAAM,IAAI,GAAgB,EAAE,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC;QAC5D,OAAO,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,kBAAkB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,MAAM,GAAG,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IAChC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,IAAI,MAAM,CAAC,KAAK,KAAK,GAAG;YAAE,OAAO,OAAO,CAAC;IAC3C,CAAC;IACD,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,kBAAkB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IACzE,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,6EAA6E;AAC7E,MAAM,YAAY,GAAsB,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAE/D,MAAM,eAAe,GAAG,WAAW,CAAC"}
@@ -1,50 +0,0 @@
1
- /**
2
- * The table of everything the site answers, read by the three things that must
3
- * agree on it: the build, which writes one HTML file per entry and the sitemap
4
- * listing them; the server or the entrypoint, which titles the page it hands
5
- * out; and the running app, which retitles the tab after an in-app move.
6
- *
7
- * Pure and DOM-free, so the prerender script imports the same table under Node
8
- * that the browser imports at run time. A page missing from it is a page a
9
- * search engine only ever sees as the home page.
10
- * @param options - The pages, in the order the site presents them.
11
- * @returns The three lookups the build and the app share.
12
- */
13
- export declare function createPageAddresses<Page extends PageWithPath>(options: PageAddressesOptions<Page>): PageAddresses<Page>;
14
- /** The one thing a page must carry: the address it is reachable at. */
15
- export interface PageWithPath {
16
- /** Address from the site's own root, e.g. `/exercises`. */
17
- path: string;
18
- }
19
- /** How a site's pages are turned into addresses. */
20
- export interface PageAddressesOptions<Page extends PageWithPath> {
21
- /**
22
- * Every page, deep addresses included. The first is the home page, and is
23
- * what an address the site does not know opens.
24
- */
25
- pages: readonly Page[];
26
- /**
27
- * The path the site is served under: nothing on a host of its own, `/surge`
28
- * as one tool among several on a shared one.
29
- * @default ''
30
- */
31
- basePath?: string;
32
- }
33
- /** The lookups a site's pages answer. */
34
- export interface PageAddresses<Page extends PageWithPath> {
35
- /** Every page, in the order given: what the sitemap lists and the build writes. */
36
- everyPage: () => readonly Page[];
37
- /**
38
- * The address a page is indexed under, mount path included and query string
39
- * dropped — a structure being edited and a share configuration are not pages.
40
- */
41
- canonicalPathOf: (page: Page) => string;
42
- /**
43
- * The page an address opens. An address below a page it does not list is that
44
- * page — a link written before an exercise was renamed still opens, and is
45
- * indexed as the exercises — and an address it knows nothing about is the
46
- * home page.
47
- */
48
- pageAt: (address: string) => Page;
49
- }
50
- //# sourceMappingURL=pageAddresses.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pageAddresses.d.ts","sourceRoot":"","sources":["../../../src/router/core/pageAddresses.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,SAAS,YAAY,EAC3D,OAAO,EAAE,oBAAoB,CAAC,IAAI,CAAC,GAClC,aAAa,CAAC,IAAI,CAAC,CAgCrB;AAED,uEAAuE;AACvE,MAAM,WAAW,YAAY;IAC3B,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;CACd;AAED,oDAAoD;AACpD,MAAM,WAAW,oBAAoB,CAAC,IAAI,SAAS,YAAY;IAC7D;;;OAGG;IACH,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,yCAAyC;AACzC,MAAM,WAAW,aAAa,CAAC,IAAI,SAAS,YAAY;IACtD,mFAAmF;IACnF,SAAS,EAAE,MAAM,SAAS,IAAI,EAAE,CAAC;IACjC;;;OAGG;IACH,eAAe,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;IACxC;;;;;OAKG;IACH,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC"}
@@ -1,56 +0,0 @@
1
- import { normalizePath, splitAddress } from "./address.js";
2
- import { joinBasePath, normalizeBasePath, stripBasePath } from "./basePath.js";
3
- /**
4
- * The table of everything the site answers, read by the three things that must
5
- * agree on it: the build, which writes one HTML file per entry and the sitemap
6
- * listing them; the server or the entrypoint, which titles the page it hands
7
- * out; and the running app, which retitles the tab after an in-app move.
8
- *
9
- * Pure and DOM-free, so the prerender script imports the same table under Node
10
- * that the browser imports at run time. A page missing from it is a page a
11
- * search engine only ever sees as the home page.
12
- * @param options - The pages, in the order the site presents them.
13
- * @returns The three lookups the build and the app share.
14
- */
15
- export function createPageAddresses(options) {
16
- const pages = options.pages;
17
- const first = pages[0];
18
- if (first === undefined) {
19
- throw new Error('createPageAddresses needs at least one page');
20
- }
21
- const home = first;
22
- const basePath = normalizeBasePath(options.basePath ?? '');
23
- const byPath = new Map();
24
- for (const page of pages) {
25
- byPath.set(normalizePath(page.path), page);
26
- }
27
- function everyPage() {
28
- return pages;
29
- }
30
- function canonicalPathOf(page) {
31
- return joinBasePath(basePath, normalizePath(page.path));
32
- }
33
- function pageAt(address) {
34
- const path = normalizePath(stripBasePath(basePath, splitAddress(address).path));
35
- const exact = byPath.get(path);
36
- if (exact !== undefined)
37
- return exact;
38
- return deepestPageUnder(pages, path) ?? home;
39
- }
40
- return { everyPage, canonicalPathOf, pageAt };
41
- }
42
- function deepestPageUnder(pages, path) {
43
- let deepest;
44
- let depth = 0;
45
- for (const page of pages) {
46
- const candidate = normalizePath(page.path);
47
- if (candidate === '/' || candidate.length <= depth)
48
- continue;
49
- if (path.startsWith(`${candidate}/`)) {
50
- deepest = page;
51
- depth = candidate.length;
52
- }
53
- }
54
- return deepest;
55
- }
56
- //# sourceMappingURL=pageAddresses.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pageAddresses.js","sourceRoot":"","sources":["../../../src/router/core/pageAddresses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE/E;;;;;;;;;;;GAWG;AACH,MAAM,UAAU,mBAAmB,CACjC,OAAmC;IAEnC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;IAC5B,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IACvB,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAC;IACjE,CAAC;IACD,MAAM,IAAI,GAAS,KAAK,CAAC;IACzB,MAAM,QAAQ,GAAG,iBAAiB,CAAC,OAAO,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC;IAE3D,MAAM,MAAM,GAAG,IAAI,GAAG,EAAgB,CAAC;IACvC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC;IAC7C,CAAC;IAED,SAAS,SAAS;QAChB,OAAO,KAAK,CAAC;IACf,CAAC;IAED,SAAS,eAAe,CAAC,IAAU;QACjC,OAAO,YAAY,CAAC,QAAQ,EAAE,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1D,CAAC;IAED,SAAS,MAAM,CAAC,OAAe;QAC7B,MAAM,IAAI,GAAG,aAAa,CACxB,aAAa,CAAC,QAAQ,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CACpD,CAAC;QACF,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC/B,IAAI,KAAK,KAAK,SAAS;YAAE,OAAO,KAAK,CAAC;QACtC,OAAO,gBAAgB,CAAC,KAAK,EAAE,IAAI,CAAC,IAAI,IAAI,CAAC;IAC/C,CAAC;IAED,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC;AAChD,CAAC;AAyCD,SAAS,gBAAgB,CACvB,KAAsB,EACtB,IAAY;IAEZ,IAAI,OAAyB,CAAC;IAC9B,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,MAAM,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC3C,IAAI,SAAS,KAAK,GAAG,IAAI,SAAS,CAAC,MAAM,IAAI,KAAK;YAAE,SAAS;QAC7D,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,SAAS,GAAG,CAAC,EAAE,CAAC;YACrC,OAAO,GAAG,IAAI,CAAC;YACf,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC;QAC3B,CAAC;IACH,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"scatterGroupSpread.d.ts","sourceRoot":"","sources":["../../../src/scatter/ui/scatterGroupSpread.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,EACV,iBAAiB,EAEjB,WAAW,EACZ,MAAM,8BAA8B,CAAC;AAMtC,+DAA+D;AAC/D,MAAM,WAAW,kBAAkB;IACjC,+CAA+C;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,gCAAgC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,MAAM,EAAE,UAAU,CAAC;IACnB,sEAAsE;IACtE,KAAK,EAAE,YAAY,CAAC;IACpB;;;OAGG;IACH,WAAW,EAAE,YAAY,CAAC;IAC1B,+DAA+D;IAC/D,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gEAAgE;IAChE,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,0DAA0D;AAC1D,MAAM,WAAW,yBAAyB;IACxC,+EAA+E;IAC/E,MAAM,EAAE,UAAU,CAAC;IACnB,4EAA4E;IAC5E,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAC3B,iCAAiC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,yBAAyB,GACjC,kBAAkB,CAgEpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,kBAAkB,EAC1B,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,GACZ,iBAAiB,GAAG,IAAI,CAqB1B"}
@@ -1,147 +0,0 @@
1
- /**
2
- * Every group's outline over every pair of axes, measured once.
3
- *
4
- * A pair grid asks the same question of a group thirty-six times, and calling
5
- * `confidenceEllipse` per cell would gather that group's points into a fresh
6
- * array of objects each time — n² allocations to draw n axes, over the same
7
- * samples. The averages and the pairwise covariances say everything an outline
8
- * needs, they come out of two passes over the scores read where they stand,
9
- * and a cell then reads four numbers out of the block.
10
- */
11
- import { ellipseAxes, ellipseStandardDeviations, } from "../core/confidenceEllipse.js";
12
- /**
13
- * Measure every group over every laid-out axis, in two passes.
14
- *
15
- * A row missing a value in any one of the axes is left out of the group
16
- * altogether rather than only out of the cells that use that axis: an outline
17
- * that quietly covered a different set of samples in each cell would make the
18
- * grid disagree with itself, and a reader comparing two cells has no way to
19
- * see it. The spread uses the `n - 1` divisor, as `confidenceEllipse` does, so
20
- * a group outlined here and the same group outlined on the map come out the
21
- * same size.
22
- * @param options - See {@link ScatterGroupSpreadOptions}.
23
- * @returns The block, whose `counts` are what a caller reports as too small to outline.
24
- */
25
- export function scatterGroupSpread(options) {
26
- const { scores, groupOf, size = DEFAULT_SIZE, minimumPoints = 3 } = options;
27
- const groups = Math.max(0, Math.trunc(options.groups));
28
- const axes = Math.max(0, Math.min(Math.trunc(options.axes), scores.columns));
29
- const counts = new Int32Array(groups);
30
- const means = new Float64Array(groups * axes);
31
- const covariances = new Float64Array(groups * axes * axes);
32
- const spread = {
33
- axes,
34
- groups,
35
- counts,
36
- means,
37
- covariances,
38
- standardDeviations: ellipseStandardDeviations(size),
39
- minimumPoints,
40
- };
41
- if (groups === 0 || axes === 0)
42
- return spread;
43
- for (let row = 0; row < scores.rows; row++) {
44
- const group = groupAt(groupOf, row, groups);
45
- if (group < 0 || !finiteRow(scores, row, axes))
46
- continue;
47
- counts[group] = (counts[group] ?? 0) + 1;
48
- const base = group * axes;
49
- for (let axis = 0; axis < axes; axis++) {
50
- means[base + axis] = (means[base + axis] ?? 0) + scores.get(row, axis);
51
- }
52
- }
53
- for (let group = 0; group < groups; group++) {
54
- const count = counts[group] ?? 0;
55
- if (count === 0)
56
- continue;
57
- const base = group * axes;
58
- for (let axis = 0; axis < axes; axis++) {
59
- means[base + axis] = (means[base + axis] ?? 0) / count;
60
- }
61
- }
62
- // One scratch row of deviations, reused for every sample: the alternative is
63
- // reading each value twice per pair, which is axes² reads instead of axes.
64
- const away = new Float64Array(axes);
65
- for (let row = 0; row < scores.rows; row++) {
66
- const group = groupAt(groupOf, row, groups);
67
- if (group < 0 || !finiteRow(scores, row, axes))
68
- continue;
69
- const base = group * axes;
70
- for (let axis = 0; axis < axes; axis++) {
71
- away[axis] = scores.get(row, axis) - (means[base + axis] ?? 0);
72
- }
73
- const block = group * axes * axes;
74
- for (let a = 0; a < axes; a++) {
75
- const first = away[a] ?? 0;
76
- for (let b = 0; b < axes; b++) {
77
- const cell = block + a * axes + b;
78
- covariances[cell] = (covariances[cell] ?? 0) + first * (away[b] ?? 0);
79
- }
80
- }
81
- }
82
- for (let group = 0; group < groups; group++) {
83
- const divisor = (counts[group] ?? 0) - 1;
84
- if (divisor < 1)
85
- continue;
86
- const block = group * axes * axes;
87
- for (let cell = 0; cell < axes * axes; cell++) {
88
- covariances[block + cell] = (covariances[block + cell] ?? 0) / divisor;
89
- }
90
- }
91
- return spread;
92
- }
93
- /**
94
- * One group's outline for one pair of axes, in data units.
95
- *
96
- * The two-by-two block cut out of the covariances is a covariance in its own
97
- * right — that is what makes the grid affordable — so it decomposes into
98
- * radii and a tilt exactly as a pair measured on its own would.
99
- * @param spread - The block, from {@link scatterGroupSpread}.
100
- * @param group - Which group.
101
- * @param xAxis - The axis along the foot of the cell.
102
- * @param yAxis - The axis up its side.
103
- * @returns The outline, or `null` when the group is too small to have a shape, when either axis is outside the block, or when the requested size is unbounded.
104
- */
105
- export function scatterPairEllipse(spread, group, xAxis, yAxis) {
106
- const { axes, groups, counts, means, covariances } = spread;
107
- const { minimumPoints, standardDeviations } = spread;
108
- if (group < 0 || group >= groups)
109
- return null;
110
- if (xAxis < 0 || yAxis < 0 || xAxis >= axes || yAxis >= axes)
111
- return null;
112
- const count = counts[group] ?? 0;
113
- if (count < Math.max(2, minimumPoints))
114
- return null;
115
- const base = group * axes;
116
- const block = group * axes * axes;
117
- const covariance = {
118
- xx: covariances[block + xAxis * axes + xAxis] ?? 0,
119
- xy: covariances[block + xAxis * axes + yAxis] ?? 0,
120
- yy: covariances[block + yAxis * axes + yAxis] ?? 0,
121
- };
122
- const { rx, ry, angle } = ellipseAxes(covariance, standardDeviations);
123
- const cx = means[base + xAxis] ?? 0;
124
- const cy = means[base + yAxis] ?? 0;
125
- if (!Number.isFinite(rx) || !Number.isFinite(ry))
126
- return null;
127
- if (!Number.isFinite(cx) || !Number.isFinite(cy))
128
- return null;
129
- return { cx, cy, rx, ry, angle, count, covariance };
130
- }
131
- /** What a group is outlined at when the caller says nothing. */
132
- const DEFAULT_SIZE = { kind: 'coverage', probability: 0.95 };
133
- function groupAt(groupOf, row, groups) {
134
- const raw = groupOf[row];
135
- if (raw === undefined || !Number.isFinite(raw))
136
- return -1;
137
- const group = Math.trunc(raw);
138
- return group < 0 || group >= groups ? -1 : group;
139
- }
140
- function finiteRow(scores, row, axes) {
141
- for (let axis = 0; axis < axes; axis++) {
142
- if (!Number.isFinite(scores.get(row, axis)))
143
- return false;
144
- }
145
- return true;
146
- }
147
- //# sourceMappingURL=scatterGroupSpread.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"scatterGroupSpread.js","sourceRoot":"","sources":["../../../src/scatter/ui/scatterGroupSpread.ts"],"names":[],"mappings":"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"}
@@ -1,62 +0,0 @@
1
- import type { ReactElement } from 'react';
2
- import type { ScreenPoints } from '../../scatter/core/screenPoints.ts';
3
- /** What {@link CloudPointLayer} draws. */
4
- export interface CloudPointLayerProps {
5
- /** Where every sample sits, in the figure's pixels. */
6
- points: ScreenPoints;
7
- /** How far towards the reader each one is, in cube units. */
8
- depths: Float64Array;
9
- /** The rows, furthest first, which is the order they are painted in. */
10
- order: Uint32Array;
11
- /**
12
- * Which group each sample belongs to, as an index into `colors`. An entry of
13
- * `-1`, or one outside the range, is a sample in no group.
14
- * @default undefined — every sample is one crowd
15
- */
16
- groupOf?: ArrayLike<number>;
17
- /**
18
- * The colour of each group, in group order.
19
- * @default undefined — every sample takes `fallbackColor`
20
- */
21
- colors?: readonly string[];
22
- /**
23
- * How strongly each group is drawn, in the same order.
24
- * @default undefined — every group is drawn at full strength
25
- */
26
- opacities?: readonly number[];
27
- /**
28
- * Colour of a sample belonging to no group.
29
- * @default 'var(--text-faint)'
30
- */
31
- fallbackColor?: string;
32
- /**
33
- * Radius of a dot at the middle of the cube, in pixels. A dot at the front
34
- * is drawn larger and one at the back smaller, about this.
35
- * @default 3.5
36
- */
37
- radius?: number;
38
- /**
39
- * The index from which samples are drawn as outlines rather than filled,
40
- * which is how one the model was fitted on is told from one placed into it
41
- * afterwards.
42
- * @default undefined — every sample is filled
43
- */
44
- outlinedFrom?: number;
45
- }
46
- /**
47
- * Every sample as one dot, painted from the back of the box forwards.
48
- *
49
- * Two things carry the depth, and neither costs an event handler: the order,
50
- * so a dot in front covers one behind it, and the size, so a dot at the front
51
- * of the box is a fifth larger than the same dot at the back. Both are read
52
- * from the projection rather than from the data, so a turn changes them and a
53
- * filter does not.
54
- *
55
- * Like the flat cloud's own layer, this one carries no handler and no closure
56
- * per dot: every gesture lands on one transparent rectangle above it and is
57
- * answered from a coordinate array.
58
- * @param props - See {@link CloudPointLayerProps}.
59
- * @returns The cloud.
60
- */
61
- export declare const CloudPointLayer: import("react").MemoExoticComponent<(props: CloudPointLayerProps) => ReactElement>;
62
- //# sourceMappingURL=CloudPointLayer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CloudPointLayer.d.ts","sourceRoot":"","sources":["../../../src/scatter3d/ui/CloudPointLayer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAGvE,0CAA0C;AAC1C,MAAM,WAAW,oBAAoB;IACnC,uDAAuD;IACvD,MAAM,EAAE,YAAY,CAAC;IACrB,6DAA6D;IAC7D,MAAM,EAAE,YAAY,CAAC;IACrB,wEAAwE;IACxE,KAAK,EAAE,WAAW,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IAC5B;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC9B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,eAAe,8CACnB,oBAAoB,KAC1B,YAAY,CAoCb,CAAC"}
@@ -1,67 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { memo } from 'react';
3
- import { depthFraction } from "../core/orbitCamera.js";
4
- /**
5
- * Every sample as one dot, painted from the back of the box forwards.
6
- *
7
- * Two things carry the depth, and neither costs an event handler: the order,
8
- * so a dot in front covers one behind it, and the size, so a dot at the front
9
- * of the box is a fifth larger than the same dot at the back. Both are read
10
- * from the projection rather than from the data, so a turn changes them and a
11
- * filter does not.
12
- *
13
- * Like the flat cloud's own layer, this one carries no handler and no closure
14
- * per dot: every gesture lands on one transparent rectangle above it and is
15
- * answered from a coordinate array.
16
- * @param props - See {@link CloudPointLayerProps}.
17
- * @returns The cloud.
18
- */
19
- export const CloudPointLayer = memo(function CloudPointLayer(props) {
20
- const { points, depths, order, groupOf, colors, opacities } = props;
21
- const { fallbackColor = 'var(--text-faint)', radius = 3.5 } = props;
22
- const { outlinedFrom } = props;
23
- const xs = points.x;
24
- const ys = points.y;
25
- const count = Math.min(xs.length, ys.length, order.length);
26
- const hollowFrom = outlineStart(outlinedFrom, count);
27
- const dots = [];
28
- for (let step = 0; step < count; step++) {
29
- const index = order[step];
30
- const x = xs[index];
31
- const y = ys[index];
32
- if (x === undefined || y === undefined)
33
- continue;
34
- if (!Number.isFinite(x) || !Number.isFinite(y))
35
- continue;
36
- const group = groupOf?.[index] ?? -1;
37
- const color = colors?.[group] ?? fallbackColor;
38
- const alpha = opacities?.[group] ?? 1;
39
- const hollow = index >= hollowFrom;
40
- dots.push(_jsx("circle", { cx: round(x), cy: round(y), r: round(radius * depthScale(depths[index])), fill: hollow ? 'none' : color, stroke: hollow ? color : undefined, strokeWidth: hollow ? OUTLINE_WIDTH : undefined, opacity: alpha === 1 ? undefined : alpha }, index));
41
- }
42
- return _jsx("g", { "data-layer": "points", children: dots });
43
- });
44
- /**
45
- * How much larger a dot is drawn for sitting near the front of the box.
46
- *
47
- * A fifth from back to front. Enough that the eye reads it as depth when it is
48
- * looking for depth, and little enough that nobody mistakes it for a value:
49
- * a dot size that carried a measurement would be a fourth dimension nothing
50
- * labelled.
51
- * @param depth - How far towards the reader the sample is, in cube units.
52
- * @returns The factor to draw its radius at.
53
- */
54
- function depthScale(depth) {
55
- return 0.9 + DEPTH_RANGE * depthFraction(depth);
56
- }
57
- function outlineStart(outlinedFrom, count) {
58
- if (outlinedFrom === undefined || !Number.isFinite(outlinedFrom)) {
59
- return count;
60
- }
61
- return Math.max(0, Math.floor(outlinedFrom));
62
- }
63
- const DEPTH_RANGE = 0.4;
64
- /** The same weight the flat cloud draws a hollow dot at, so the two read alike. */
65
- const OUTLINE_WIDTH = 1.5;
66
- const round = (value) => Math.round(value * 100) / 100;
67
- //# sourceMappingURL=CloudPointLayer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CloudPointLayer.js","sourceRoot":"","sources":["../../../src/scatter3d/ui/CloudPointLayer.tsx"],"names":[],"mappings":"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"}
@@ -1,61 +0,0 @@
1
- import type { MatrixFilter, MatrixFilterName } from '../core/settings.ts';
2
- /** One editable option of a matrix step. */
3
- export interface MatrixOptionField {
4
- /** Which key it sits under in the step's options. */
5
- key: string;
6
- /** What the field is called. */
7
- label: string;
8
- /**
9
- * What upstream does when it is left empty.
10
- * @default undefined — the field carries no placeholder
11
- */
12
- placeholder?: string;
13
- }
14
- /** What the editor knows about one matrix step. */
15
- export interface MatrixStep {
16
- /** What it is called in the list. */
17
- label: string;
18
- /** One line saying what it does to the matrix. */
19
- summary: string;
20
- /** Its editable options, empty when it takes none. */
21
- fields: readonly MatrixOptionField[];
22
- }
23
- /**
24
- * What the editor knows about the three steps the matrix stage dispatches.
25
- *
26
- * Keyed by the name rather than listed, so a name the processor's own switch
27
- * does not match cannot reach the menu: an unknown name is the one way this
28
- * stage throws.
29
- */
30
- export declare const MATRIX_STEPS: Readonly<Record<MatrixFilterName, MatrixStep>>;
31
- /** The add menu: the empty prompt, then the only three names that run. */
32
- export declare const MATRIX_ADD_OPTIONS: ReadonlyArray<{
33
- value: string;
34
- label: string;
35
- }>;
36
- /**
37
- * What the editor knows about a step, when it knows it at all.
38
- * @param name - The name the settings hold.
39
- * @returns Its entry, or undefined for a name the processor would throw on.
40
- */
41
- export declare function matrixStep(name: string | undefined): MatrixStep | undefined;
42
- /**
43
- * What one option of a step is set to.
44
- * @param step - The step.
45
- * @param key - Which option to read.
46
- * @returns The number, or undefined when the step leaves it to upstream.
47
- */
48
- export declare function readMatrixOption(step: MatrixFilter, key: string): number | undefined;
49
- /**
50
- * The step with one option set, or dropped when the box was emptied.
51
- *
52
- * Dropping rather than writing `undefined` is what lets a cleared box mean
53
- * "whatever upstream does", which is the only way back to the default once a
54
- * reader has typed over it.
55
- * @param step - The step.
56
- * @param key - Which option to write.
57
- * @param value - What to set it to, or undefined to clear it.
58
- * @returns A new step.
59
- */
60
- export declare function writeMatrixOption(step: MatrixFilter, key: string, value: number | undefined): MatrixFilter;
61
- //# sourceMappingURL=matrixSteps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"matrixSteps.d.ts","sourceRoot":"","sources":["../../../src/spectra/ui/matrixSteps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG1E,4CAA4C;AAC5C,MAAM,WAAW,iBAAiB;IAChC,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAC;IACZ,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,mDAAmD;AACnD,MAAM,WAAW,UAAU;IACzB,qCAAqC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,OAAO,EAAE,MAAM,CAAC;IAChB,sDAAsD;IACtD,MAAM,EAAE,SAAS,iBAAiB,EAAE,CAAC;CACtC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,MAAM,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAwBvE,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,kBAAkB,EAAE,aAAa,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAMA,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAK3E;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,YAAY,EAClB,GAAG,EAAE,MAAM,GACV,MAAM,GAAG,SAAS,CAKpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,YAAY,EAClB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,MAAM,GAAG,SAAS,GACxB,YAAY,CAad"}
@@ -1,92 +0,0 @@
1
- import { MATRIX_FILTER_NAMES } from "../core/settingsProblems.js";
2
- /**
3
- * What the editor knows about the three steps the matrix stage dispatches.
4
- *
5
- * Keyed by the name rather than listed, so a name the processor's own switch
6
- * does not match cannot reach the menu: an unknown name is the one way this
7
- * stage throws.
8
- */
9
- export const MATRIX_STEPS = {
10
- pqn: {
11
- label: 'Probabilistic quotient normalization',
12
- summary: 'Divides every spectrum by its own dilution factor, read against the median spectrum. Min is declared upstream but never read.',
13
- fields: [
14
- { key: 'min', label: 'Min' },
15
- { key: 'max', label: 'Max', placeholder: '100' },
16
- ],
17
- },
18
- centerMean: {
19
- label: 'Centre on the mean',
20
- summary: 'Subtracts the mean of every column. It takes no options: anything set here is ignored.',
21
- fields: [],
22
- },
23
- rescale: {
24
- label: 'Rescale',
25
- summary: 'Brings the whole matrix between two values.',
26
- fields: [
27
- { key: 'min', label: 'Min', placeholder: '0' },
28
- { key: 'max', label: 'Max', placeholder: '1' },
29
- ],
30
- },
31
- };
32
- /** The add menu: the empty prompt, then the only three names that run. */
33
- export const MATRIX_ADD_OPTIONS = [
34
- { value: '', label: 'Add a matrix step…' },
35
- ...MATRIX_FILTER_NAMES.map((name) => ({
36
- value: name,
37
- label: MATRIX_STEPS[name].label,
38
- })),
39
- ];
40
- /**
41
- * What the editor knows about a step, when it knows it at all.
42
- * @param name - The name the settings hold.
43
- * @returns Its entry, or undefined for a name the processor would throw on.
44
- */
45
- export function matrixStep(name) {
46
- if (name === undefined)
47
- return undefined;
48
- return Object.hasOwn(MATRIX_STEPS, name)
49
- ? MATRIX_STEPS[name]
50
- : undefined;
51
- }
52
- /**
53
- * What one option of a step is set to.
54
- * @param step - The step.
55
- * @param key - Which option to read.
56
- * @returns The number, or undefined when the step leaves it to upstream.
57
- */
58
- export function readMatrixOption(step, key) {
59
- const options = step.options;
60
- if (typeof options !== 'object' || options === null)
61
- return undefined;
62
- const held = options[key];
63
- return typeof held === 'number' ? held : undefined;
64
- }
65
- /**
66
- * The step with one option set, or dropped when the box was emptied.
67
- *
68
- * Dropping rather than writing `undefined` is what lets a cleared box mean
69
- * "whatever upstream does", which is the only way back to the default once a
70
- * reader has typed over it.
71
- * @param step - The step.
72
- * @param key - Which option to write.
73
- * @param value - What to set it to, or undefined to clear it.
74
- * @returns A new step.
75
- */
76
- export function writeMatrixOption(step, key, value) {
77
- const held = step.options;
78
- const source = typeof held === 'object' && held !== null
79
- ? held
80
- : {};
81
- const options = {};
82
- for (const [name, option] of Object.entries(source)) {
83
- if (name !== key)
84
- options[name] = option;
85
- }
86
- if (value !== undefined)
87
- options[key] = value;
88
- if (Object.keys(options).length === 0)
89
- return { name: step.name };
90
- return { name: step.name, options };
91
- }
92
- //# sourceMappingURL=matrixSteps.js.map